From 873328cb56f58b909b0dc9f0411f8c8407196001 Mon Sep 17 00:00:00 2001 From: Daniele Cinti <daniele.cinti@xcally.com> Date: Wed, 29 Jun 2016 16:49:34 +0200 Subject: [PATCH] Built motion from commit 04e699b.|0.0.114 --- public/app/0c5ac224.app.js | 81 -------------------- public/app/8d8964d3.app.js | 81 ++++++++++++++++++++ public/assets/languages/locale-en_EN.json | 3 +- public/assets/languages/locale-it.json | 3 +- 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 +- release-notes/changelog_0.0.114.txt | 6 +- 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/ami/ami.ami.js | 2 +- server/api/ami/ami.controller.js | 2 +- server/api/ami/ami.events.js | 2 +- server/api/ami/ami.socket.js | 2 +- server/api/ami/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 +- .../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_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/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/index.js | 2 +- server/config/ami/action.js | 2 +- server/config/ami/acw.js | 2 +- server/config/ami/agent.js | 2 +- server/config/ami/call.js | 2 +- server/config/ami/dial.js | 2 +- server/config/ami/fax.js | 2 +- server/config/ami/index.js | 2 +- server/config/ami/member.js | 2 +- server/config/ami/network.js | 2 +- server/config/ami/queue_caller.js | 2 +- server/config/ami/queue_member.js | 2 +- server/config/ami/recording.js | 2 +- server/config/ami/socket.js | 2 +- server/config/ami/transfer.js | 2 +- server/config/ami/trunk.js | 2 +- server/config/ami/user.js | 2 +- server/config/ami/voice_context.js | 2 +- server/config/analytics.js | 2 +- server/config/autodialer/index.js | 2 +- server/config/autodialer/process.js | 2 +- server/config/automations/fax.js | 2 +- server/config/automations/mail.js | 2 +- server/config/express.js | 2 +- server/config/fax.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/integration.js | 2 +- server/config/integrations/index.js | 2 +- server/config/integrations/motionbar.js | 2 +- server/config/integrations/salesforce.js | 2 +- server/config/integrations/zendesk.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/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/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/index.js | 2 +- server/config/tools/interval.js | 2 +- server/config/tools/queueParameters.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/index.js | 2 +- server/config/triggers/jscripty.js | 2 +- server/config/triggers/mail.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 +- server/migrations/20160404155902-motion.js | 2 +- server/migrations/20160405155748-motion.js | 2 +- server/migrations/20160407153439-template.js | 2 +- server/migrations/20160407154803-template.js | 2 +- server/migrations/20160407163943-trunks.js | 2 +- server/migrations/20160411164717-mail-accounts.js | 2 +- server/migrations/20160411182439-chat_website.js | 2 +- .../20160412152558-report_chat_session.js | 2 +- .../20160412152741-report_chat_session_history.js | 2 +- server/migrations/20160412174555-companies.js | 2 +- server/migrations/20160413115611-mail-rooms.js | 2 +- server/migrations/20160413120157-chat-rooms.js | 2 +- .../migrations/20160414100530-voice_extension.js | 2 +- .../20160414113954-int_salesforce_fields.js | 2 +- server/migrations/20160414162957-sms_account.js | 2 +- server/migrations/20160414164310-cm_contacts.js | 2 +- server/migrations/20160418114658-mail-rooms.js | 2 +- server/migrations/20160419112635-modules.js | 2 +- .../migrations/20160419152538-user_has_modules.js | 2 +- server/migrations/20160419162305-sms_message.js | 2 +- server/migrations/20160419172859-sms_room.js | 2 +- .../20160420123742-report_integration.js | 2 +- .../20160420124115-report_integration_history.js | 2 +- server/migrations/20160421121826-modules.js | 2 +- server/migrations/20160426111419-mail-messages.js | 2 +- server/migrations/20160427103718-history.js | 2 +- .../migrations/20160428124018-voice_extensions.js | 2 +- .../migrations/20160428180149-extracted_reports.js | 2 +- server/migrations/20160428182219-chat-messages.js | 2 +- server/migrations/20160429151542-trunks.js | 2 +- server/migrations/20160429190622-chat-rooms.js | 2 +- server/migrations/20160502172532-sms_messages.js | 2 +- .../20160503105145-report_jscripty_sessions.js | 2 +- .../20160503155507-report_integration.js | 2 +- server/migrations/20160503181159-fax_account.js | 2 +- .../20160505122220-report_square_detail.js | 2 +- .../20160506111910-report_square_details.js | 2 +- .../20160506142105-report_integration_history.js | 2 +- .../migrations/20160506171353-fax_applications.js | 2 +- .../migrations/20160506181017-voice_extensions.js | 2 +- .../migrations/20160508105043-voice_extensions.js | 2 +- server/migrations/20160509102203-fax_accounts.js | 2 +- server/migrations/20160509130347-trunks.js | 2 +- server/migrations/20160509145940-report_fields.js | 2 +- server/migrations/20160509160659-mail-server.js | 2 +- .../migrations/20160510114030-voice_recordings.js | 2 +- server/migrations/20160510140808-phone-bar.js | 2 +- server/migrations/20160511115852-users.js | 2 +- server/migrations/20160511162334-mail-rooms.js | 2 +- server/migrations/20160511182718-fax_rooms.js | 2 +- server/migrations/20160512094501-fax_messages.js | 2 +- .../migrations/20160512123554-report_mail_room.js | 2 +- server/migrations/20160512131153-chat_rooms.js | 2 +- .../20160512182519-report_fax_and_sms.js | 2 +- .../20160513153038-report_jscripty_sessions.js | 2 +- .../20160514095244-report_jscripty_questions.js | 2 +- server/migrations/20160515123238-report_call.js | 2 +- server/migrations/20160517180411-fax_rooms.js | 2 +- server/migrations/20160517180628-report_mail.js | 2 +- .../20160518133136-report_jscripty_questions.js | 2 +- server/migrations/20160519141054-sms_rooms.js | 2 +- server/migrations/20160520121915-report_sms.js | 2 +- server/migrations/20160520131839-chat_room.js | 2 +- server/migrations/20160520135050-mail-rooms.js | 2 +- server/migrations/20160520155633-report_fax.js | 2 +- server/migrations/20160523145045-chat_rooms.js | 2 +- server/migrations/20160523154501-mail-messages.js | 2 +- server/migrations/20160524085528-chat_websites.js | 2 +- server/migrations/20160524110213-sms_accounts.js | 2 +- server/migrations/20160526151853-mail-rooms.js | 2 +- server/migrations/20160526163744-chat_websites.js | 2 +- server/migrations/20160528192017-fax_accounts.js | 2 +- server/migrations/20160531181837-fax_messages.js | 2 +- server/migrations/20160601110210-mail.js | 2 +- .../migrations/20160603105451-extracted_reports.js | 2 +- server/migrations/20160603150828-sms_rooms.js | 2 +- server/migrations/20160603163035-fax_messages.js | 2 +- server/migrations/20160603223141-mail_messages.js | 2 +- .../migrations/20160605163008-tools_schedules.js | 2 +- server/migrations/20160606121612-sms_messages.js | 2 +- server/migrations/20160607163101-chat_enquiries.js | 2 +- server/migrations/20160608154914-mail_messages.js | 2 +- server/migrations/20160608162645-sms_messages.js | 2 +- server/migrations/20160609104619-report-call.js | 2 +- server/migrations/20160610154142-report_agent.js | 2 +- .../migrations/20160612224247-fax_attachements.js | 2 +- .../migrations/20160614081228-tools_schedules.js | 2 +- .../20160614102923-int_zendesk_accounts.js | 2 +- .../migrations/20160614150604-user-mail-queues.js | 2 +- server/migrations/20160614155945-sms_account.js | 2 +- server/migrations/20160614163656-mail-queues.js | 2 +- server/migrations/20160614164019-queues.js | 2 +- server/migrations/20160615154357-square_details.js | 2 +- .../20160616132209-square_details_history.js | 2 +- server/migrations/20160617094255-users.js | 2 +- .../migrations/20160617162414-mail-applications.js | 2 +- .../20160620152743-int_salesforce_accounts.js | 2 +- .../migrations/20160621101837-fax_applications.js | 2 +- server/migrations/20160622100722-users.js | 2 +- .../migrations/20160622123133-sms-applications.js | 2 +- server/migrations/20160622150457-tools_schedule.js | 2 +- server/migrations/20160622171421-report_chat.js | 2 +- .../migrations/20160622172701-chat-applications.js | 2 +- .../20160622173540-report_chat_session.js | 2 +- server/migrations/20160624082341-report_member.js | 2 +- server/migrations/20160624101352-report_member.js | 2 +- server/migrations/20160624151127-report_field.js | 2 +- server/migrations/20160624162443-tools-schedule.js | 2 +- server/migrations/20160627094746-mail-rooms.js | 2 +- server/migrations/20160627105511-report_dial.js | 2 +- .../migrations/20160627124640-voice_recording.js | 2 +- server/migrations/20160627135055-report_dial.js | 2 +- server/migrations/20160627151351-users.js | 2 +- server/migrations/20160627171658-integrations.js | 2 +- server/migrations/20160628090256-settings.js | 2 +- server/migrations/20160628131611-settings.js | 2 +- .../20160629103911-settings_and_websites.js | 2 +- server/migrations/20160629120423-mail.js | 2 +- server/routes.js | 2 +- server/utils/report_build.js | 2 +- server/utils/report_extraction.js | 2 +- server/utils/voice_extension.js | 2 +- 764 files changed, 846 insertions(+), 846 deletions(-) delete mode 100644 public/app/0c5ac224.app.js create mode 100644 public/app/8d8964d3.app.js diff --git a/public/app/0c5ac224.app.js b/public/app/0c5ac224.app.js deleted file mode 100644 index cdc3bcb..0000000 --- a/public/app/0c5ac224.app.js +++ /dev/null @@ -1,81 +0,0 @@ -"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","ngLetterAvatar","vAccordion","btford.socket-io","chart.js","checklist-model","colorpicker.module","frapontillo.bootstrap-switch","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","remoteValidation","smart-table","sprintf","timer","toastr","permission","ui-notification","ui.bootstrap.modal","ui.bootstrap.dropdown","ui.bootstrap.popover","ui.bootstrap.timepicker","ui.bootstrap.tooltip","ui.bootstrap.tpls","ui.bootstrap.accordion","ui.bootstrap.progressbar","ui.bootstrap.buttons","ui.bootstrap.typeahead","ui.grid","ui.grid.autoResize","ui.grid.draggable-rows","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.grid.selection","ui.grid.exporter","ui.grid.resizeColumns","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons","angularSpinner","builder","builder.components","validator","angular-clipboard","ng-code-mirror","angularMoment","jsonFormatter","ui.bootstrap-slider","ui.bootstrap.datepicker","prettyBytes","bootstrapLightbox","rzModule","ckeditor","ngTagsInput"]).constant("CKEDITOR_BASEPATH","assets/plugins/ckeditor/").config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider","tagsInputConfigProvider",function(a,b,c,d,e,f,g,h,i){i.setActiveInterpolation("tagsInput",{placeholder:!0}),b.otherwise(function(a){var b=a.get("$state");b.go("landing")}),e.useStaticFilesLoader({prefix:"assets/languages/locale-",suffix:".json"}),e.preferredLanguage("en_EN"),e.useLocalStorage(),e.useSanitizeValueStrategy(null),c.html5Mode(!0),d.interceptors.push("authInterceptor"),g.structure("4-4-4",{rows:[{columns:[{styleClass:"col-md-4"},{styleClass:"col-md-4"},{styleClass:"col-md-4"}]}]}).structure("3-3-3-3",{rows:[{columns:[{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"}]}]}),f.setPrefix("motion"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("authInterceptor",["$rootScope","$q","$cookieStore","$location",function(a,b,c,d){return{request:function(a){return a.headers=a.headers||{},c.get("token")?a.headers.Authorization="Bearer "+c.get("token"):d.path("/login"),a}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore","localStorageService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.$state=c,a.$stateParams=d,i.bs3.inputClass="input-sm",i.bs3.buttonsClass="btn-xs",j.theme="bs3",a.$on("$stateChangeStart",function(a,c){g.isLoggedInAsync(function(a){c.authenticate&&!a&&b.path("/login")})}),a.updateTableConfig=function(a,b){var c=_.find(a,{name:"All"});c&&(c.value=b)},a.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:n.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},k.get().$promise.then(function(b){a.license=b.license,a.settings.soundPath=b.soundPath||"/var/opt/motion/server/files/sounds/converted",a.settings.logo=b.logo,a.settings.defaultLogo=b.defaultLogo,a.settings.loginLogo=b.loginLogo,a.settings.defaultLoginLogo=b.defaultLoginLogo,m.definePermission("hasCm",function(){return a.license.cm}),m.definePermission("hasChat",function(){return a.license.chat}),m.definePermission("hasMail",function(){return a.license.mail}),m.definePermission("hasFax",function(){return a.license.fax}),m.definePermission("hasSms",function(){return a.license.messaging}),m.definePermission("hasDialer",function(){return a.license.dialer}),m.definePermission("hasJscripty",function(){return a.license.jscripty}),m.definePermission("hasUpdate",function(){return a.license.update}),m.definePermission("hasCustom",function(){return a.license.custom})})["catch"](function(a){console.log(a)}),m.definePermission("agent",function(){return g.isAgent()}),m.definePermission("admin",function(){return g.isAdmin()}),m.definePermission("user",function(a,b){var c=f.defer(),d=g.getCurrentUser().$promise;return d?d.then(function(a){_.includes(_.map(a.Modules,"id"),b.toState.data.permissions.id)&&"user"===a.role?c.resolve():c.reject()})["catch"](function(){c.reject()}):c.resolve(),c.promise})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics",{url:"/analytics",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:17}}})}]),angular.module("xCallyShuttleApp").factory("Extracted",["$resource",function(a){return a("/api/analytics/extracted/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted",{url:"/extracted",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticExtractedListCtrl",["$scope","$translate","gridOptions","Extracted","uiGridConstants",function(a,b,c,d,e){a.moment=moment,a.Extracted=d,a.initView=function(){var b={exporterCsvFilename:"ExtractedReports.csv",columnDefs:[{name:"name"},{name:"startDate",displayName:"APPLICATION_START_DATE",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"endDate",displayName:"APPLICATION_END_DATE",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"createdAt",displayName:"APPLICATION_RUN_DATE",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"output"},{name:"type"},{name:"status"},{name:"action",width:140,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{directive:"<motion-file-download data-ng-show=\"row.entity.status == 'completed'\" resource=\"grid.appScope.Extracted\" params=\"{id:row.entity.id,controller:'download'}\" mimetype=\"'application/'+row.entity.output.toLowerCase()\" filename=\"row.entity.name+'_'+row.entity.startDate.toString()+'_'+row.entity.endDate.toString()+'.'+row.entity.output.toLowerCase()\"></motion-file-download>"}]}]};a.gridOptions=c.gridOptions(d,b,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted.list",{url:"/list",templateUrl:"app/analytic/extracted/list/list.html",controller:"AnalyticExtractedListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("DefaultMetric",["$resource",function(a){return a("/api/analytics/metrics/default/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance","Metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.forms={dashboard:void 0},a.item={},a.tables=f.tables,a.ok=function(){return c.save(a.item).$promise.then(function(){b.close()})["catch"](function(a){d.show(e.instant(a.translatedMessage||a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCtrl",["$scope","xAlert","Modal","$uibModal","$log","gridOptions","Metric","DefaultMetric","$translate",function(a,b,c,d,e,f,g,h,i){a.$translate=i,a.initView=function(){var b={exporterCsvFilename:"Metrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"<div style=\"padding:5px\">{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}</div>"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/analytics/metrics/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]},c={exporterCsvFilename:"defaultMetrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"<div style=\"padding:5px\">{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}</div>"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",name:"view",onClick:"grid.appScope.showMetric(row.entity)"},{"class":"purple",name:"clone",onClick:"grid.appScope.cloneMetric(row.entity.id)"}]}]};a.gridOptionsDefault=f.gridOptions(h,c,a,null,null,"Default"),a.gridOptions=f.gridOptions(g,b,a)},a.showMetric=function(a){d.open({animation:!0,templateUrl:"app/analytic/metric/list/view.modal.html",controller:"AnalyticMetricListViewModalCtrl",resolve:{metric:a}})},a.cloneMetric=function(c){return h.get({id:c,controller:"clone"}).$promise.then(function(){b.show(i.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){b.error(a)})},a.create=function(){var c=d.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"});c.result.then(function(){b.show(i.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridOptions.getPage()},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.list",{url:"/list",templateUrl:"app/analytic/metric/list/list.html",controller:"AnalyticMetricListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListViewModalCtrl",["$scope","$uibModalInstance","metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.item=c,a.tables=f.tables,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("Metric",["$resource",function(a){return a("/api/analytics/metrics/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics",{url:"/metrics",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Metric","report",function(a,b,c,d,e,f,g){a.tables=g.tables,a.getMetric=function(){return f.get({id:d.id}).$promise.then(function(b){a.metric=b})["catch"](function(a){e.path("/analytics/metrics/list")})},a.updateMetric=function(){return f.update({id:d.id},a.metric).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(c.instant(a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.view",{url:"/view/:id",templateUrl:"app/analytic/metric/view/view.html",controller:"AnalyticMetricViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.metrics.view.settings",{url:"/settings",templateUrl:"app/analytic/metric/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("CustomReport",["$resource",function(a){return a("/api/analytics/reports/custom/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("DefaultReport",["$resource",function(a){return a("/api/analytics/reports/default/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ReportListCopyModalCtrl",["$scope","$uibModalInstance","$log","customTreeData",function(a,b,c,d){a.customTreeData=d,a.forms={dashboard:void 0},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){c.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0}},a.ac=function(){return!0},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.open_all()},a.ok=function(){a.customTree.get_selected(!0).length?b.close({parent:a.customTree.get_selected(!0).pop().id}):a.showAlert=!0},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListCreateModalCtrl",["$scope","$uibModalInstance","path",function(a,b,c){a.path=c,a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListExtractModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.daily=!1,a.dailySwitch={onText:c.instant("APPLICATION_TODAY"),offText:c.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").startOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD"),a.extract=function(c){var d={startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily,action:c};b.close(d)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","xAlert","$translate","$location","$log","Modal","$uibModal","FileSaver","Blob","gridOptions","CustomReport","DefaultReport","ReportTree",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(b,c){var d={parent:c.id};a.selectedNode=b?a.defaultTree.get_path(c," / "):a.customTree.get_path(c," / "),a.gridOptions?a.gridOptions.getPage({parent:c.id},b?l:k):a.gridOptions=j.gridOptions(b?l:k,o,a,d)}var o={exporterCsvFilename:"reports.csv",columnDefs:[{name:"name"},{name:"description"},{name:"manage",width:120,buttons:[{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'blue-hoki'}}",href:"/analytics/reports/view/{{row.entity.id}}/settings",icon:"icon-settings",title:c.instant("APPLICATION_SETTINGS")},{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'red-sunglo'}}",icon:"fa fa-trash-o",title:c.instant("APPLICATION_DELETE"),onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green",icon:"fa fa-files-o",title:c.instant("APPLICATION_COPY"),onClick:"grid.appScope.copy(row.entity.id)"},{"class":"purple",icon:"fa fa-download",title:c.instant("APPLICATION_EXPORT"),onClick:"grid.appScope.export(row.entity.id)"}]},{name:"actions",buttons:[{"class":"yellow",name:"preview",onClick:"grid.appScope.preview(row.entity.id)"},{"class":"green-turquoise",name:"run",onClick:"grid.appScope.extract(row.entity.id)"}]}]};a.searchField="",a.ac=function(){return!0},a.initDefaultScopeTree=function(){a.defaultTree=a.defaultTreeInstance.jstree(!0),a.defaultTree.deselect_all(),a.defaultTree.close_all(),a.defaultTree.open_node({id:1}),a.defaultTreeReady=!0,a.defaultTreeActive=!0,a.previousDefaultNode=""},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.close_all(),a.customTree.open_node({id:1}),a.customTreeReady=!0,a.previousCustomNode=""},a.$watchGroup(["defaultTreeReady","customTreeReady"],function(b,c,d){b[0]&&b[1]&&a.defaultTree.select_node({id:"1"})}),a.updateCustomTree=function(){var d={tree:angular.toJson(a.customTree.get_json("#",{flat:!0}))};return m.update({id:2},d).$promise.then(function(a){console.log("Custom Tree Updated")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.configTrees=function(){a.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["search"]},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["contextmenu","dnd","search"],contextmenu:{items:function(b,d){var e={create:{label:c.instant("APPLICATION_CREATE"),action:function(c){a.customTree.create_node(b),a.customTree.open_node(b)}},rename:{label:c.instant("APPLICATION_RENAME"),action:function(c){a.customTree.edit(b)}},remove:{label:c.instant("APPLICATION_REMOVE"),action:function(c){console.log(b),a.deleteNode(b.text,b)}}};return"#"===b.parent&&(delete e.rename,delete e.remove),d(e),e}}}},a.deleteNode=f.confirm["delete"](function(b){a.customTree.delete_node(b),a.previousCustomNode==b.id&&a.customTree.select_node({id:b.parent})}),a.searchTrees=function(){a.defaultTree.search(a.searchField),a.customTree.search(a.searchField)},a.selectDefaultNode=function(){if(a.customTreeReady){a.previousCustomNode="";var b=a.defaultTree.get_selected(!0),c=b.pop();if(a.defaultTree.deselect_node(b[0],!0),a.customTree.deselect_all(),a.defaultTree.select_node(c,!0),c.id===a.previousDefaultNode)return void console.log("def");a.previousDefaultNode=c.id,a.defaultTreeActive=!0,n(!0,c)}},a.selectCustomNode=function(){if(a.defaultTreeReady){a.previousDefaultNode="";var b=a.customTree.get_selected(!0),c=b.pop();if(a.customTree.deselect_node(b[0],!0),a.defaultTree.deselect_all(),a.customTree.select_node(c,!0),c.id===a.previousCustomNode)return void console.log("cus");a.previousCustomNode=c.id,a.defaultTreeActive=!1,n(!1,c)}},a.getTrees=function(){return m.query().$promise.then(function(b){a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),a.configTrees()})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.create=function(){var c=g.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return a.selectedNode}}});c.result.then(function(c){return c.parent=a.previousCustomNode,k.save(c).$promise.then(function(a){d.path("/analytics/reports/view/"+a.id+"/settings")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a.copy=function(d){var f=a.defaultTreeActive?l:k,h=g.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return a.customTree.get_json("#",{flat:!0})}}});h.result.then(function(e){return f.save({id:d,controller:"copy"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a["export"]=function(c){var d=a.defaultTreeActive?l:k;return d.get({id:c,controller:"export"}).$promise.then(function(a){var b=new i([angular.toJson(a)],{type:"application/json;charset=utf-8"});h.saveAs(b,a.name+".json")})["catch"](function(a){console.error(data),b.show(a.message,"danger")})},a["import"]=function(d){var e=JSON.parse(d);e.parent=a.previousCustomNode;var f=e.name&&e.parent?!0:!1,g=!0;return _.forEach(e.Fields,function(a){a.field&&a.alias||(g=!1)}),f&&g?k.save({controller:"import"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")}):void b.show(c.instant("MESSAGE_INVALID_JSON"),"danger")},a.preview=function(b){g.open({animation:!0,templateUrl:"app/analytic/report/list/preview.modal.html",controller:"ReportListPreviewModalCtrl",size:"full",resolve:{report:function(){return{id:b,tree:a.defaultTreeActive?"default":"custom"}}}})},a.extract=function(d){var f=g.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"md",resolve:{report:function(){return{id:d,tree:a.defaultTreeActive?"default":"custom"}}}});f.result.then(function(e){e.daily||delete e.daily;var f=a.defaultTreeActive?l:k;return f.get(_.merge({id:d,controller:"extract"},e)).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.list",{url:"/list",templateUrl:"app/analytic/report/list/list.html",controller:"AnalyticReportListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ReportListPreviewModalCtrl",["$scope","$uibModalInstance","report","xAlert","$translate","$timeout","CustomReport","DefaultReport",function(a,b,c,d,e,f,g,h){a.daily=!1,a.dailySwitch={onText:e.instant("APPLICATION_TODAY"),offText:e.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").startOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD");var i={offset:0,limit:25,sort:null,where:{},order:{}};a.gridOptions={paginationPageSizes:[10,25,50],paginationPageSize:25,useExternalPagination:!0,enableSorting:!1,enableFiltering:!0,useExternalFiltering:!0,enableGrouping:!1,enableColumnMenus:!1,treeRowHeaderAlwaysVisible:!1,gridMenuShowHideColumns:!1,enableGridMenu:!1,onRegisterApi:function(b){a.gridApi=b,b.pagination.on.paginationChanged(a,function(b,c){i.offset=(b-1)*c,i.limit=c,a.getPage()}),b.core.on.filterChanged(a,function(){var b=this.grid,c={};b.columns.forEach(function(a){a.filters[0].term&&(c[a.field]=a.filters[0].term)}),i.where=c,a.getPage()})}},a.getPage=function(){var b={offset:i.offset,limit:i.limit,startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily};_.forOwn(i.where,function(a,c){b[c]=a});var e="custom"===c.tree?g:h;return e.get(_.merge({id:c.id,controller:"preview"},b)).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.paginationPageSizes[3]=b.count,a.gridOptions.data=b.rows,a.showResult=!0})["catch"](function(a){d.error(a)})},a.cancel=function(){b.dismiss("cancel")},f(function(){a.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports",{url:"/reports",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ReportAgent",["$resource",function(a){return a("/api/report/agents/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportIntegration",["$resource",function(a){return a("/api/report/integrations/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMember",["$resource",function(a){return a("/api/report/members/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportTree",["$resource",function(a){return a("/api/analytics/reports/trees/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","ReportAgent","ReportCall","ReportMailSession","ReportSmsSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","DefaultReport","CustomReport","Metric","report",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){function r(c){var d=_.find(a.tables,{value:c}).resource;d.get({controller:"describe"}).$promise.then(function(b){a.tableFields=_.map(b,function(a,b){return"$promise"!==b&&"$resolved"!==b?{name:b,value:b}:void 0})})["catch"](function(a){b.error(a)})["finally"](function(){s(c)})}function s(c){return p.get({controller:"table",table:c}).$promise.then(function(b){_.forEach(b.rows,function(b){a.tableFields.push({name:"<strong>Metric.</strong>"+b.name,alias:b.name,value:b.metric,MetricId:b.id})})})["catch"](function(a){b.error(a)})}function t(a){return String(a).replace(/</g,"<").replace(/>/g,">")}function u(a){if(!a)return"";for(var b="(",c=0;c<a.rules.length;c++)if(c>0&&(b+=" <strong>"+a.operator+"</strong> "),a.rules[c].group)b+=u(a.rules[c].group);else switch(b+=a.rules[c].field,a.rules[c].condition){case"IS NULL":case"IS NOT NULL":b+=" "+t(a.rules[c].condition);break;case"IS EMPTY":b+=" = ''";break;case"IS NOT EMPTY":b+=" != ''";break;default:b+=" "+t(a.rules[c].condition)+" "+a.rules[c].value}return b+")"}a.$translate=c,a.tempReport={},a.tables=q.tables;var v={group:{operator:"AND",rules:[]}};a.getReport=function(){return a.firstLoad=!0,o.get({id:d.id}).$promise.then(function(b){a.report=b,_.forEach(a.report.Fields,function(a){delete a.id}),a.report.conditions=a.report.conditions?JSON.parse(a.report.conditions):_.clone(v,!0),a.report.Fields.length&&a.getPreview()})["catch"](function(a){console.error(a),e.path("/analytics/reports/list")})},a.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},a.$watch("report.table",function(b,c){b&&(r(b),c&&(a.tempReport[c]={conditions:a.report.conditions,fields:a.report.Fields}),a.firstLoad?a.firstLoad=!1:a.tempReport[b]?(a.report.Fields=a.tempReport[b].fields,a.report.conditions=a.tempReport[b].conditions):(a.report.Fields=[],a.report.conditions=_.clone(v,!0)))},!0),a.setMetricId=function(b,c){a.report.Fields[c].MetricId=b.MetricId?b.MetricId:null,a.report.Fields[c].alias=b.MetricId?b.alias:b.name},a.groupByField=[{name:"APPLICATION_YES",value:!0},{name:"APPLICATION_NO",value:!1}],a.functions=[{name:"Sum",value:"SUM"},{name:"Count",value:"COUNT"},{name:"Count Distinct",value:"COUNT DISTINCT"},{name:"Maximum",value:"MAX"},{name:"Minimum",value:"MIN"},{name:"Average",value:"AVG"},{name:"Group Concat",value:"GROUP_CONCAT"},{name:"Group Concat(asc)",value:"GROUP_CONCAT ASC"},{name:"Group Concat(desc)",value:"GROUP_CONCAT DESC"}],a.formatFunctions=[{name:"Sec To Time",value:"SEC_TO_TIME"},{name:"Date",value:"DATE"},{name:"Hour",value:"HOUR"},{name:"Round",value:"ROUND"},{name:"Unix TimeStamp",value:"UNIX_TIMESTAMP"}],a.addField=function(){a.report.Fields.push({groupBy:!1,custom:!1})},a.removeField=function(b){a.report.Fields.splice(b,1)},a.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},a.toggleCustom=function(b){b.custom=!b.custom,b.custom||_.find(a.tableFields,{value:b.field})||(b.field=null)},a.updateReport=function(){if(a.report.Fields.length){var e=angular.copy(a.report);return console.log(e.conditions),e.conditions=angular.toJson(e.conditions),_.forEach(e.Fields,function(a){a.custom&&delete a.MetricId}),o.update({id:d.id},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),a.getPreview()})["catch"](function(a){b.error(a)})}b.show(c.instant("MESSAGE_SELECT_A_FIELD"),"danger")},a.$watch("report.conditions",function(b){a.output=b?u(b.group):"()"},!0),a.getPreview=function(){return a.gridOptions=null,o.get({id:d.id,controller:"preview",limit:20}).$promise.then(function(b){a.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0,data:b.rows}})["catch"](function(a){console.log(a),b.show(c.instant(a.message||"MESSAGE_QUERY_NOT_VALID"),"warning")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.view",{url:"/view/:id",templateUrl:"app/analytic/report/view/view.html",controller:"AnalyticReportViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.reports.view.settings",{url:"/settings",templateUrl:"app/analytic/report/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels",{url:"/channels",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat",{url:"/chat",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ChatEnquiry",["$resource",function(a){return a("/api/chat/enquiries/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatMessage",["$resource",function(a){return a("/api/chat/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatReport",["$resource",function(a){return a("/api/report/chats/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatVisitor",["$resource",function(a){return a("/api/chat/visitors/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatRoom",["$resource",function(a){return a("/api/chat/rooms/:id/:controller",{id:"@id"},{me:{method:"GET",isArray:!0,params:{id:"me"}},users:{method:"GET",params:{id:"users"}},externals:{method:"GET",isArray:!0,params:{id:"type",controller:"external"}},groups:{method:"GET",isArray:!0,params:{id:"groups"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatEnquiry","gridOptions","uiGridConstants",function(a,b,c,d){a.initView=function(){var e={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"username",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"ChatWebsite.name",displayName:"Website",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>',field:"createdAt",sort:{direction:d.DESC,priority:0}},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}",name:"detail" -},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.list",{url:"/list",templateUrl:"app/channels/chat/offline/list/list.html",controller:"ChatOfflineListCtrl"})}]),angular.module("xCallyShuttleApp").directive("enquiryMessage",["$rootScope","$translate","MailMessage","List","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/chat/offline/message/message.directive.html",link:function(c){c.openContact=function(f){return c.listId?d.save({listId:c.listId,controller:"contacts"},{email:f}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})})["catch"](function(a){e.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline",{url:"/offline",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineViewCtrl",["$scope","$stateParams","$translate","$rootScope","ChatEnquiry","List","xAlert",function(a,b,c,d,e,f,g){a.initView=function(){return e.get({id:b.id}).$promise.then(function(b){a.enquiry=b})["catch"](function(a){g.error(a)})},a.openContact=function(b){return a.enquiry.ChatWebsite.ListId?f.save({listId:a.enquiry.ChatWebsite.ListId,controller:"contacts"},{email:b}).$promise.then(function(a){var b=_.find(d.$root.workspaces,{contactID:a.id});b?b.active=!0:d.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a.id,name:a.email,type:"contact"})})["catch"](function(a){g.error(a)}):void g.show(c.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineListCtrl",["$scope","ChatRoom","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_online_messages.csv",columnDefs:[{name:"ChatVisitor.fullname",displayName:"APPLICATION_FULLNAME",cellClass:"text-center"},{name:"ChatVisitor.email",displayName:"APPLICATION_EMAIL",cellClass:"text-center"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/online/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{id:"online"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.list",{url:"/list",templateUrl:"app/channels/chat/online/list/list.html",controller:"ChatOnlineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online",{url:"/online",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineViewCtrl",["$scope","$stateParams","ChatRoom",function(a,b,c){a.initView=function(){return a.config={autoHideScrollbar:!1,theme:"light",advanced:{updateOnContentResize:!0},setHeight:400,scrollInertia:0},c.get({id:b.id}).$promise.then(function(b){a.chatRoom=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.view",{url:"/view/:id",templateUrl:"app/channels/chat/online/view/view.html",controller:"ChatOnlineViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.online.view.detail",{url:"/detail",templateUrl:"app/channels/chat/online/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("PreviewCtrl",["$scope",function(a){a.message="Hello"}]),angular.module("xCallyShuttleApp").directive("preview",["$rootScope",function(a){return{templateUrl:"app/channels/chat/preview/preview.html",restrict:"EA",link:function(a,b,c){}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("preview",{url:"/preview",templateUrl:"app/channels/chat/preview/preview.html",controller:"PreviewCtrl",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatQueue",["$resource",function(a){return a("/api/chat/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","ChatQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"chat_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/chat/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/chat/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/chat/queue/list/list.create.modal.html",controller:"ChatQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","ChatQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.list",{url:"/list",templateUrl:"app/channels/chat/queue/list/list.html",controller:"ChatQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","ChatQueue","Team","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){b.get("/api/chat/queues/"+e.id).success(function(b){b.penalty=0,a.queue=b}).error(function(a){console.error(a)})},a.updateChatQueue=function(){var f=angular.copy(a.queue);b.put("/api/chat/queues/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){a.queue=f,b.errors.forEach(function(a){c.show(a.message,"danger")})})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindChatQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasChatQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.view",{url:"/view/:id",templateUrl:"app/channels/chat/queue/view/view.html",controller:"ChatQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.queues.view.settings",{url:"/settings",templateUrl:"app/channels/chat/queue/view/view.settings.html"}).state("main.channels.chat.queues.view.agents",{url:"/agents",templateUrl:"app/channels/chat/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","ChatQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.chatPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_chat_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PChatQueues,"id"),b.ChatQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.ChatQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_chat_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.ChatQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.chatPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.ChatQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.chatQueues=b.rows,e.syncUpdates("chat_queue",a.chatQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.chatQueues=[];var t={controller:"realtime",controller1:"chat",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"chatPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.chatQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_chat_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/queue.modal.add.html",controller:"ChatRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.chatQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.chatQueues,function(a){return _.includes(b.queues,a.id)}),channel:"chat",data1:e,data3:b.queues.join(","),data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"chat",data1:a,data3:b,data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/agent.modal.info.html",controller:"ChatRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/chat/realtime/view/agent/agent.html",controller:"ChatRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportChatSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_chat_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_chat_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.abandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_chat_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/chat/realtime/view/application/application.html",controller:"ChatRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"Queues",link:"main.chat.realtime.view.agent.queues"},{name:"Timeline",link:"main.chat.realtime.view.agent.timeline"}],a.sessions=[{name:"Sessions",link:"main.chat.realtime.view.sessions"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view",{url:"/view",templateUrl:"app/channels/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportChatSession",["$resource",function(a){return a("/api/report/chat/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external",{url:"/external",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomExternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService","Tag","$uibModal","uibButtonConfig",function(a,b,c,d,e,f,g,h,i){function j(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.openChat=function(b){return e.get({id:b.id}).$promise.then(function(b){var c=_.find(a.workspaces,{id:b.id,type:"chatRoom"});c?c.active=!0:a.workspaces.push({id:b.id,name:b.ChatVisitor.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){i.activeClass="green-haze",a.id=[],a.query={status:"OPEN",tags:[]},a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div> <ng-letter-avatar height="20" width="20" fontsize="12" data="{{row.entity.ChatVisitor.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #EA4C61" shape="round"></ng-letter-avatar> </div>',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span style="padding-left: 5px;" class="pull-left">{{row.entity.ChatVisitor.fullname}}</span></div>',enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'<div><a class="btn btn-xs green-meadow" href="#" data-ng-click="grid.appScope.openChat(row.entity)">{{\'APPLICATION_CHAT\' | translate}}</a></div>',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(),j()},a.tagItems=function(){h.open({animation:!0,templateUrl:"app/channels/chat/room/view.tags.modal.html",controller:"ChatRoomViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return f.spin("spinner-grid"),e.get(_.merge({id:"externals"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external.list",{url:"/list",templateUrl:"app/channels/chat/room/external/list/list.html",controller:"ChatRoomExternalListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group",{url:"/group",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomGroupListCtrl",["$scope","$timeout","Auth","ChatRoom","usSpinnerService","Tag","uibButtonConfig",function(a,b,c,d,e,f,g){function h(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,c.getCurrentUser().fullname).join(", ")},a.openChat=function(b){return d.get({id:b.id}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,data:b,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){g.activeClass="green-haze",a.query={status:"OPEN",tags:[]},a.currentUser=c.getCurrentUser(),a.gridOptions={enableGridMenu:!1,enableColumnResizing:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div> <ng-letter-avatar data-ng-if="row.entity.ChatVisitor" height="20" width="20" fontsize="12" data="{{row.entity.ChatVisitor.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #EA4C61" shape="round"></ng-letter-avatar> <ng-letter-avatar data-ng-repeat="user in row.entity.Users | filter:{ id: \'!\' + grid.appScope.currentUser.id} track by user.id" style="margin-right: 3px;" height="20" width="20" fontsize="12" data="{{user.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #3399CC" shape="round"></ng-letter-avatar> </div>',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"Users",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{grid.appScope.getFullnames(row.entity)}}</div>",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'<div><a class="btn btn-xs green-meadow" href="#" data-ng-click="grid.appScope.openChat(row.entity)">{{\'APPLICATION_CHAT\' | translate}}</a></div>',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},a.getPage(),h()},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return e.spin("spinner-grid"),d.get(_.merge({id:"groups"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){e.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group.list",{url:"/list",templateUrl:"app/channels/chat/room/group/list/list.html",controller:"ChatRoomGroupListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal",{url:"/internal",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomInternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService",function(a,b,c,d,e,f){a.openChat=function(b){return e.users({users:[d.getCurrentUser().id,b.id]}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,name:b.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div> <ng-letter-avatar height="20" width="20" fontsize="12" data="{{row.entity.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #3399CC" shape="round"></ng-letter-avatar> </div>',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'<div><a class="btn btn-xs green-meadow" href="#" data-ng-click="grid.appScope.openChat(row.entity)">{{\'APPLICATION_CHAT\' | translate}}</a></div>',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},c.socket.on("user:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{id:b.id})}),c.socket.on("agent:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{ -id:b.id})}),e.get({id:"agents"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal.list",{url:"/list",templateUrl:"app/channels/chat/room/internal/list/list.html",controller:"ChatRoomInternalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRoomAddCtrl",["$scope","$uibModalInstance","Agent","items",function(a,b,c,d){a.items=d,a.agents=c.get(function(b){a.agents=b,a.items.forEach(function(b){_.remove(a.agents.rows,{id:b.id})})}),a.selected={items:[]},a.ok=function(){b.close(_.union(_.map(a.selected.items,"id"),_.map(a.items,"id")))},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("ChatRoomCloseCtrl",["$scope","$uibModalInstance","closed","ChatWebsite","websiteId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},a.initDisposition=function(){return d.get({websiteId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").directive("chatRoom",["$interval","$rootScope","$uibModal","$notification","$window","socket","Auth","ChatRoom","ngAudio","xAlert","Tag","CannedAnswer","List","$translate",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(a){a.user=g.getCurrentUser(),a.message={body:""},a.openContact=function(c){return a.chatRoom.ChatWebsite.List?m.save({listId:a.chatRoom.ChatWebsite.List.id,controller:"contacts"},{email:c}).$promise.then(function(a){var c=_.find(b.$root.workspaces,{contactID:a.id});c?c.active=!0:b.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a.id,name:a.email,type:"contact"})})["catch"](function(a){console.error(a)}):void j.show(n.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.form={},a.panelLeft="col-md-4",a.panelRight="col-md-8",a.onSelect=function(){a.message.body=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-4",a.panelRight="col-md-8")},a.options={link:!0,linkTarget:"_blank",pdf:{embed:!0},image:{embed:!0},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!0},a.getAnswers=function(a){return l.get({key:a}).$promise.then(function(a){return console.log(a),_.map(a.rows,"value")})},a.isMyRoom=function(b){return _.find(b,{id:a.user.id})?!0:!1},h.get({id:a.workspace.id}).$promise.then(function(c){a.chatRoom=c,a.form.tags=c.tags,a.chatRoom.ChatVisitor&&(a.chatRoom.ChatVisitors=[],a.chatRoom.ChatVisitors.push(a.chatRoom.ChatVisitor)),f.socket.on("chat_room:save",function(b){a.chatRoom.id===b.id&&_.merge(a.chatRoom,b)}),f.socket.on("user_has_chat_room:save",function(b){return b.UserId!=a.user.id&&b.ChatRoomId==a.chatRoom.id?h.get({id:"agents",controller:b.UserId}).$promise.then(function(b){var c=_.map(a.chatRoom.Users,"fullname");a.chatRoom.ChatVisitor&&c.unshift(a.chatRoom.ChatVisitor.fullname),a.chatRoom.Users.push(b),a.workspace.name=_.without(c,g.getCurrentUser().fullname).join(", ")})["catch"](function(a){console.error(a)}):void 0}),f.socket.on("chat_message:save",function(c){a.chatRoom.id==c.ChatRoomId&&(a.user.id!=c.UserId&&a.chatRoom.ChatMessages.push(c),!b.settings.layout.onFocus&&e.Notification&&d("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Chat Message!",delay:5e3}),a.workspace.active||(i.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),a.workspace.unread++))})})["catch"](function(a){console.error(a)}),k.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/chat/room/room.close.html",controller:"ChatRoomCloseCtrl",resolve:{closed:function(){return"CLOSED"===a.chatRoom.status},websiteId:function(){return a.chatRoom.ChatWebsiteId}}}).result.then(function(a){var c={id:b,status:"CLOSED",completeReason:"agent"};return a.disposition&&(c.disposition=a.disposition),h.update(c).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.onChanged=function(b){return h.update({id:b},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.addAgent=function(b){c.open({animation:!0,templateUrl:"app/channels/chat/room/room.add.html",controller:"ChatRoomAddCtrl",resolve:{items:function(){return _.map(a.chatRoom.Users||[],function(a){return{id:a.id,fullname:a.fullname}})}}}).result.then(function(a){return h.update({id:b,controller:"users"},{users:a}).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.sendMessage=function(){var b={body:angular.copy(a.message.body),createdAt:moment(),UserId:a.user.id,User:{fullname:a.user.fullname}};return a.message.body.trim().length?(a.chatRoom.ChatMessages.push(b),a.message.body="",h.save({id:a.chatRoom.id,controller:"messages"},{body:b.body}).$promise["catch"](function(a){console.error(a)})):void 0}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room",{url:"/room",templateUrl:"app/channels/chat/room/room.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:8}},resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatRoomViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","ChatRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("ChatVisitorListCtrl",["$scope","ChatVisitor","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"chat_visitors.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"origin",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/visitors/view/{{row.entity.id}}/profile",name:"profile"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.list",{url:"/list",templateUrl:"app/channels/chat/visitor/list/list.html",controller:"ChatVisitorListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatVisitorViewCtrl",["$scope","$stateParams","ChatVisitor",function(a,b,c){a.initView=function(){return c.get({id:b.id}).$promise.then(function(b){a.chatVisitor=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.view",{url:"/view/:id",templateUrl:"app/channels/chat/visitor/view/view.html",controller:"ChatVisitorViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.visitors.view.profile",{url:"/profile",templateUrl:"app/channels/chat/visitor/view/view.profile.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors",{url:"/visitors",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatApplication",["$resource",function(a){return a("/api/chat/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatWebsite",["$resource",function(a){return a("/api/chat/websites/:websiteId/:controller/:id",{id:"@websiteId"},{update:{method:"PUT"},updateFields:{method:"PUT",isArray:!0}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","gridOptions","ChatWebsite",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.id}}/embedding/view",name:"embedding"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.list",{url:"/list",templateUrl:"app/channels/chat/website/list/list.html",controller:"ChatWebsiteListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"chat_applications.csv",columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.ChatQueue ? row.entity.ChatQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.ChatWebsiteId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/channels/chat/website/view/action/list/list.html",controller:"ChatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatWebsite","ChatQueue","Agent","Interval","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],k.get({websiteId:c.websiteId,controller:"applications",id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getQueues=function(){return l.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getAgents=function(){return m.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return n.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(j[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?j[1]="*":j[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?j[2]="*":j[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?j[3]="*":j[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=j.join(","),delete a.application.IntervalId}return k.update({websiteId:c.websiteId,controller:"applications",id:c.actionId},a.application).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/chat/websites/view/"+c.websiteId+"/actions/list")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/chat/website/view/action/view/view.html",controller:"ChatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionWizardCtrl",["$scope","$http","Agent","Interval","ChatQueue","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatWebsite","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={app:"queue",intType:"always",alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return e.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return d.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(m[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?m[1]="*":m[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?m[2]="*":m[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?m[3]="*":m[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=m.join(","),delete a.application.IntervalId}return n.save({websiteId:f.websiteId,controller:"applications"},a.application).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/chat/websites/view/"+f.websiteId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/view/action/wizard/wizard.html",controller:"ChatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ChatDisposition",["$resource",function(a){return a("/api/chat/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewModalDispositionAddCtrl",["$scope","$uibModalInstance","ChatWebsite","id","xAlert","$translate",function(a,b,c,d,e,f){a.ok=function(){return c.save({websiteId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({websiteId:b.websiteId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({websiteId:b.websiteId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({websiteId:b.websiteId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/chat/website/view/disposition/modal/add.modal.html",controller:"ChatWebsiteViewModalDispositionAddCtrl",resolve:{id:function(){return b.websiteId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.dispositions",{url:"/dispositions",controller:"ChatWebsiteDispositionViewCtrl",templateUrl:"app/channels/chat/website/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding",{url:"/embedding",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewEmbeddingViewCtrl",["$scope","$stateParams","$translate","clipboard","xAlert","ChatWebsite",function(a,b,c,d,e,f){a.initView=function(){return f.get({websiteId:b.websiteId,controller:"snippet"}).$promise.then(function(b){a.snippetCode=b.html})["catch"](function(a){e.show(a.message||a.data.message,"danger")})},a.copyToClipboard=function(){d.copyText(a.snippetCode),e.show(c.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding.view",{url:"/view",templateUrl:"app/channels/chat/website/view/embedding/view/view.html",controller:"ChatWebsiteViewEmbeddingViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form",{url:"/forms",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewFormViewCtrl",["$scope","$builder","$validator","$stateParams","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f,g){a.saveForm=function(a){var c=angular.copy(b.forms[a]);return c.length>3?g.show("You can insert at least 3 input elements","danger"):(_.forEach(c,function(a){delete a.id}),f.updateFields({websiteId:d.websiteId,controller:"fields",id:a},c).$promise.then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message||a.data.message,"danger")}))},a.getChatWebsiteFields=function(a){return f.query({websiteId:d.websiteId,controller:"fields",id:a}).$promise.then(function(c){_.forEach(c,function(c){b.addFormObject(a,c)})})["catch"](function(a){g.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form.view",{url:"/view",templateUrl:"app/channels/chat/website/view/form/view/view.html",controller:"ChatWebsiteViewFormViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewProactiveListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","$uibModal",function(a,b,c,d,e,f,g){a.initProactiveActions=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"name"},{name:"type"},{name:"action",width:125,buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"proactive"})},a.createItem=function(b){var c=g.open({animation:!0,templateUrl:"app/channels/chat/website/view/proactive/list/list.create.modal.html",controller:"ChatWebsiteProactiveListCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteProactiveListCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","ChatWebsite","xAlert","item",function(a,b,c,d,e,f,g){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_PROACTIVE_ACTION"):b.instant("APPLICATION_NEW_PROACTIVE_ACTION"),a.possibleType=[{type:"mouseOver",title:"Mouse Over"},{type:"timeout",title:"Timeout"}],a.save=function(){return g?e.update({websiteId:d.websiteId,controller:"proactive",id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")}):e.save({websiteId:d.websiteId,controller:"proactive"},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive.list",{url:"/list",templateUrl:"app/channels/chat/website/view/proactive/list/list.html",controller:"ChatWebsiteViewProactiveListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive",{url:"/proactive",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteSettingViewCtrl",["$scope","$stateParams","$translate","$location","$timeout","socket","xAlert","ChatWebsite","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)})},a.updateItemChatWebsite=function(){return h.update({id:b.websiteId},{ListId:a.chatWebsite.ListId}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.settings",{url:"/settings",controller:"ChatWebsiteSettingViewCtrl",templateUrl:"app/channels/chat/website/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet",{url:"/snippet",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewSnippetViewCtrl",["$scope","$http","$stateParams","$translate","Template","$rootScope","FileUploader","$cookieStore","xAlert","ChatWebsite",function(a,b,c,d,e,f,g,h,i,j){a.$translate=d,a.statePreview={state:"online"},a.radioSwitch={isActive:f.license.custom?!0:!1,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var k=a.uploader=new g({url:"api/chat/websites/"+c.websiteId+"/logo",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+h.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(b,c){a.chatWebsite.logo=c.logo,i.show(d.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.enquirySwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.fidelitySwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"<strong>We're not online.</strong><br/>It doesn't mean we're not there to help - leave your message below and we'll be in touch as soon as possible.",EnquiryMessagePlaceholder:"Your message...",EnquiryButtonText:"Leave message",EnquirySubmitSuccess:"Your message was sucessfully submitted - we will contact you as soon as possible.",OperatorComposing:"{fullname} is typing...",FirstMessageText:"",ExitChatButtonText:"Exit Chat",ExitChatQuestionText:"Are you sure?",ExitChatButtonConfirmText:"Yes",ExitChatButtonCancelText:"No",MessagePlaceholderText:"Your message...",MessageSendButtonText:"Send",ValidationEmailRequired:"Please enter your email address",ValidationEmailInvalid:"Please enter a valid email address",ValidationEmailMaxLength:"The email address may not exceed 85 characters",ValidationUsernameRequired:"Please enter your name",ValidationUsernameMaxLength:"The name may not exceed 45 characters",ValidationEnquiryRequired:"Please enter your enquiry",ValidationEnquiryMaxLength:"The enquiry may not exceed 1500 characters",ValidationMessageRequired:"Please enter your message",ValidationMessageMaxLength:"The message may not exceed 750 characters"},a.initView=function(){return j.get({id:c.websiteId}).$promise.then(function(b){return a.chatWebsite=b,e.get().$promise}).then(function(b){a.templates=b.rows})["catch"](function(a){i.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/channels/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler","ChatApplication","ChatWebsite",function(a,b,c,d,e,f,g,h,i){a.initApplication=function(){a.forms={},a.application={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.deleteItem=function(a){return h["delete"]({id:a}).$promise.then(function(){b.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.initView=function(){return i.get({id:e.websiteId}).$promise.then(function(b){a.chatWebsite=b})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.updateItem=function(){return i.update({id:a.chatWebsite.id},a.chatWebsite).$promise.then(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")})["catch"](function(a){b.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/channels/chat/website/view/view.html",controller:"ChatWebsiteViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites",{url:"/websites",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","ChatWebsite",function(a,b,c,d,e,f,g){a.$translate=d,a.forms={formSetting:void 0,formAppearance:void 0,formLabel:void 0,formFunctionality:void 0},a.next=function(){e.wizard().next()},a.exitValidation=function(a){return a},a.item={},a.createItem=function(){return g.save(a.item).$promise.then(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),c.path("/channels/chat/websites/list")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts",{url:"/accounts",template:"<div ui-view></div>", -"abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$uibModal","gridOptions","FaxAccount",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"localstationid"},{name:"TrunkName",displayName:"APPLICATION_TRUNK"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/fax/account/list/list.create.modal.html",controller:"FaxAccountListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxAccount","Trunk",function(a,b,c,d,e,f){a.initWizard=function(){return a.form={},a.item={},a.trunks=[],f.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){d.error(a)})},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.list",{url:"/list",templateUrl:"app/channels/fax/account/list/list.html",controller:"FaxAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionListCtrl",["$scope","gridOptions","FaxAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"fax_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.FaxQueue ? row.entity.FaxQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.FaxAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/fax/account/view/action/list/list.html",controller:"FaxAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","FaxQueue","FaxAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],n.get({accountId:c.accountId,controller:"applications",id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(j[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?j[1]="*":j[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?j[2]="*":j[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?j[3]="*":j[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=j.join(","),delete a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},a.application).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/fax/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/fax/account/view/action/view/view.html",controller:"FaxAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionWizardCtrl",["$scope","$http","Agent","FaxQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","FaxAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(m[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?m[1]="*":m[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?m[2]="*":m[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?m[3]="*":m[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=m.join(","),delete a.application.IntervalId}return n.save({accountId:f.accountId,controller:"applications"},a.application).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/fax/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/view/action/wizard/wizard.html",controller:"FaxAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("FaxDisposition",["$resource",function(a){return a("/api/fax/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","FaxAccount","id","xAlert",function(a,b,c,d,e){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","FaxAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){f.error(a)})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){f.error(a)})},a.deleteDisposition=function(c){return e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){f.error(a)})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/fax/account/view/disposition/modal/add.modal.html",controller:"FaxInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.dispositions",{url:"/dispositions",controller:"FaxAccountDispositionViewCtrl",templateUrl:"app/channels/fax/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountSettingViewCtrl",["$scope","$stateParams","$translate","FaxAccount","List","Trunk","xAlert",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){return a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],f.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){g.error(a)}),e.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){g.error(a)}),d.get({id:b.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){g.error(a)})},a.updateItemFaxAccount=function(){return d.update({id:b.accountId},a.account).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.settings",{url:"/settings",controller:"FaxAccountSettingViewCtrl",templateUrl:"app/channels/fax/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){return j.get({id:c.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/fax/account/view/view.html",controller:"FaxAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","Trunk","FaxAccount",function(a,b,c,d,e,f,g,h){a.translate=d,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){return a.$translate=d,a.forms={},a.item={},a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],a.item.headerinfo="xCALLY Motion Fax",a.item.ecm="yes",a.item.minrate="4800",a.item.maxrate="14400",a.item.modem="v17,v27,v29",a.item.gateway="no",a.item.faxdetect="no",a.item.t38timeout=5e3,a.item.tech="SIP",g.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){e.error(a)})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return h.save(a.item).$promise.then(function(a){e.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.path("/channels/fax/accounts/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax",{url:"/fax",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("FaxAccount",["$resource",function(a){return a("/api/fax/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxAttachment",["$resource",function(a){return a("/api/fax/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("FaxMessage",["$resource",function(a){return a("/api/fax/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxReport",["$resource",function(a){return a("/api/report/faxs/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxRoom",["$resource",function(a){return a("/api/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox",{url:"/inbox",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").directive("faxMessage",["$rootScope","$translate","FaxMessage","List","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html",link:function(f){f.openContact=function(c){return f.listId?d.save({listId:f.listId,controller:"contacts"},{fax:c}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.fax,type:"contact"})})["catch"](function(a){e.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},f.retry=function(a){return c.update({id:a,status:"SENDING"}).$promise["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("faxNote",["$translate","Modal","Auth","FaxMessage","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html",link:function(f){f.Auth=c,f.deleteNote=b.confirm["delete"](function(){return d.remove({id:f.message.id}).$promise.then(function(){e.show(a.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.error(a)})})}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","FaxRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("faxRoom",["$cookieStore","$translate","$uibModal","$timeout","FaxAccount","FaxRoom","FaxMessage","FileUploader","xAlert","usSpinnerService","socket","Tag","Auth","FaxAttachment",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/fax/inbox/room/room.directive.html",link:function(o){function p(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}o.$on("$destroy",function(){k.unsyncUpdates("fax_message")});var q=[];o.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},o.panelLeft=null,o.panelRight="col-md-12",o.forms={},o.form={from:"",to:o.workspace.data&&o.workspace.data.to?o.workspace.data.to:"",disabled:!1},k.socket.on("fax_message:remove",function(a){_.remove(o.faxRoom.FaxMessages,{id:a.id})}),k.socket.on("fax_message:save",function(a){return o.workspace.id&&a.FaxRoomId==o.workspace.id?(o.workspace.active||o.workspace.unread++,g.get({id:a.id}).$promise.then(function(a){o.faxRoom||(o.faxRoom={FaxMessages:[]});var b=_.findIndex(o.faxRoom.FaxMessages,{id:a.id});b>-1?_.merge(o.faxRoom.FaxMessages[b],a):o.faxRoom.FaxMessages.unshift(a),o.panelLeft="col-md-6",o.panelRight="col-md-6"})["catch"](function(a){console.error(a)})):void 0});var r=o.uploader=new h({url:"api/fax/attachments",autoUpload:!0,withCredentials:!0,queueLimit:1,headers:{Authorization:"Bearer "+a.get("token")}});return r.filters.push({name:"uploadFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|tiff|tif".indexOf(b)}}),r.onWhenAddingFileFailed=function(a,c){switch(c.name){case"queueLimit":i.show(b.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"uploadFilter":i.show(b.instant("MESSAGE_WRONG_FILE_FORMAT"),"danger");break;default:i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}},r.removeFromQueue=function(a){var c=this;return n["delete"]({id:a.basename}).$promise.then(function(){var b=c.getIndexOfItem(a),d=c.queue[b];d.isUploading&&d.cancel(),c.queue.splice(b,1),d._destroy(),c.progress=c._getTotalProgress(),q=_.reject(q,{basename:a.basename})})["catch"](function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.onSuccessItem=function(a,b){var c={path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,c),q.push(c)},o.getMessageMailId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.togglePanelLeft=function(){o.panelLeft?(o.panelLeft=null,o.panelRight="col-md-12"):(o.panelLeft="col-md-6",o.panelRight="col-md-6")},o.closeRoom=function(){return c.open({animation:!0,templateUrl:"app/channels/fax/inbox/status/status.modal.html",controller:"FaxInboxStatusModalCtrl",resolve:{status:function(){return o.faxRoom.status},accountId:function(){return o.faxRoom.FaxAccount.id}}}).result.then(function(a){return f.update({id:o.workspace.id},a).$promise["catch"](function(a){i.error(a)})})},o.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:function(){return o.workspace.id}}})},o.cancel=function(){o.form.disabled=!1,o.form.from="",o.form.to=""},o.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/note/note.modal.html",controller:"FaxInboxViewModalNoteCtrl",resolve:{id:function(){return o.workspace.id}}})},o.getMessageFaxId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.getMessageRoomAvatar=function(a,b,c,e){d(function(){var d=b?"#imgFaxUserId"+b:"#imgFaxVisitorId";d+=o.faxRoom.id.toString()+a.toString(),angular.element(d).avatar({useGravatar:!1,initials:e?[]:p(c),fallbackImage:e?"api/users/avatar/"+e:"api/users/avatar/unknown_avatar"})})},o.onChanged=function(){return f.update({id:o.workspace.id},{tags:o.form.tags}).$promise["catch"](function(a){i.error(a)})},o.sendFax=function(){j.spin("spinner-grid"),o.form.disabled=!0;var a={from:o.form.from,to:o.form.to||"",status:"SENDING",FaxAttachments:q};return o.faxRoom?f.save({id:o.workspace.id,controller:"messages"},a).$promise.then(function(){r.queue=[],q=[],i.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1}):g.save(a).$promise.then(function(a){return i.show(b.instant("MESSAGE_FAX_MESSAGE_SEND_SUCCESS"),"success"),f.get({id:"messages",controller:a.id}).$promise}).then(function(a){r.queue=[],q=[],o.workspace.id=a.id,o.workspace.name=a.from,o.faxRoom=a})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})},l.get().$promise.then(function(a){o.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),e.get().$promise.then(function(a){o.faxAccounts=a.rows})["catch"](function(a){console.error(a)}),o.workspace.id?(o.panelLeft="col-md-6",o.panelRight="col-md-6",f.get({id:o.workspace.id}).$promise.then(function(a){o.faxRoom=a,o.workspace.name=a.from||"No number",o.form.from=a.FaxAccount.localstationid,o.form.tags=a.tags;var b=_.findLast(a.FaxMessages,{status:"RECEIVED"});return b&&(o.form.to=b.from),k.socket.on("fax_room:save",function(a){a.id===o.workspace.id&&_.merge(o.faxRoom,a)}),a}).then(function(a){return m.isAgent()&&"CLOSED"!==a.status?f.update({id:o.workspace.id},{status:"OPEN"}):void 0}).then(function(){return m.isAgent()?f.update({id:o.workspace.id,controller:"agents"},{agents:[m.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})):(o.panelLeft=null,o.panelRight="col-md-12",j.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxStatusModalCtrl",["$scope","$uibModalInstance","FaxAccount","status","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_FAX"},a.initDisposition=function(){return a.item={disposition:null,status:"CLOSED"},c.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","FaxAccount","FaxRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","localStorageService","uibButtonConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){a.openRoom=function(b){var c=_.find(a.workspaces,{id:b,type:"faxRoom"});c?c.active=!0:a.workspaces.push({id:b,type:"faxRoom","class":"icon-paper-plane",active:!0})},a.getPage=function(){h.spin("spinner-grid");var b={accountId:e.id,controller:"rooms"};return a.query&&_.merge(b,a.query),j.query(b).$promise.then(function(b){q.set("faxAccountId",e.id),a.gridOptions.data=b,i.unsyncUpdates("fax_room"),i.socket.on("fax_room:save",function(b){if(b.FaxAccountId==e.id){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status!==b.status?_.remove(a.gridOptions.data,{id:b.id}):_.merge(c,b))}}),i.socket.on("fax_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})})["catch"](function(a){p.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.initView=function(){r.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("faxStatus")?q.get("faxStatus"):"UNMANAGED",tags:q.get("faxTags")?q.get("faxTags"):[]},a.$watch("query.status",function(){q.set("faxStatus",a.query.status),a.getPage(a.query)},!0),j.get().$promise.then(function(b){a.faxAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"fax_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div> <span data-ng-class=\"{'icon-arrow-up font-green': row.entity.lastEvent === 'SENT', 'icon-arrow-up font-yellow': row.entity.lastEvent === 'SENDING', 'icon-arrow-down font-green': row.entity.lastEvent === 'RECEIVED', 'icon-close font-red': row.entity.lastEvent === 'FAILED', 'icon-question': !row.entity.lastEvent}\"> </span> </div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-xs green" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.from)"><i class="icon-paper-plane" aria-hidden="true"></i></a> <a class="btn btn-xs btn-primary" data-ng-click="grid.appScope.loadAgents(row.entity.id)"><i class="fa fa-user-plus" aria-hidden="true"></i></a> <a class="btn btn-xs btn-danger" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id, row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(a.query)},a.onChanged=function(){q.set("faxTags",a.query.tags),a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.tags.modal.html",controller:"FaxInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return k.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/fax/inbox/view/account/list/list.html",controller:"FaxInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","FaxRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents", -agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewCtrl",["$scope","$timeout","$location","FaxAccount","xAlert",function(a,b,c,d,e){a.initView=function(){return d.get().$promise.then(function(b){var d=null;a.faxAccounts=b.rows,a.faxAccounts.length&&(d="/channels/fax/inbox/view/account/"+a.faxAccounts[0].id+"/list"),d&&c.path(d)})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view",{url:"/view",templateUrl:"app/channels/fax/inbox/view/view.html",controller:"FaxInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalStatusCtrl",["$scope","$uibModalInstance","$translate","$stateParams","$location","FaxRoom","xAlert","id","status",function(a,b,c,d,e,f,g,h,i){a.initModal=function(){a.modal={dismissable:!0,title:"APPLICATION_STATUS",html:"<p>"+c.instant("MESSAGE_CHANGE_STATUS")+"<strong> "+i+"</strong>?</p>",status:i,buttons:[{classes:"btn btn-success",text:"APPLICATION_CONFIRM",click:function(a){return f.update({id:h},{status:i}).$promise.then(function(){g.show(c.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),b.close(a)})["catch"](function(a){g.error(a)})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","FaxRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").factory("FaxQueue",["$resource",function(a){return a("/api/fax/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","FaxQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"fax_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/fax/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/fax/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/fax/queue/list/list.create.modal.html",controller:"FaxQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.list",{url:"/list",templateUrl:"app/channels/fax/queue/list/list.html",controller:"FaxQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","FaxQueue","Team","Auth","strategies",function(a,b,c,d,e,f,g,h,i){a.Auth=h,a.strategies=i;var j=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return f.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){e.show(a.message,"danger")})},a.updateFaxQueue=function(){return f.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasFaxQueue.penalty}}),j)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.view",{url:"/view/:id",templateUrl:"app/channels/fax/queue/view/view.html",controller:"FaxQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.fax.queues.view.settings",{url:"/settings",templateUrl:"app/channels/fax/queue/view/view.settings.html"}).state("main.channels.fax.queues.view.agents",{url:"/agents",templateUrl:"app/channels/fax/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","FaxQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.faxPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_fax_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PFaxQueues,"id"),b.FaxQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.FaxQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_fax_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.FaxQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.faxPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.FaxQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.faxQueues=b.rows,e.syncUpdates("fax_queue",a.faxQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.faxQueues=[];var t={controller:"realtime",controller1:"fax",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"faxPause",width:300,displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.faxQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_fax_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/queue.modal.add.html",controller:"FaxRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.faxQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.faxQueues,function(a){return _.includes(b.queues,a.id)}),channel:"fax",data1:e,data3:b.queues.join(","),data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"fax",data1:a,data3:b,data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/agent.modal.info.html",controller:"FaxRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/fax/realtime/view/agent/agent.html",controller:"FaxRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportFaxSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_fax_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_fax_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_fax_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/fax/realtime/view/application/application.html",controller:"FaxRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view",{url:"/view",templateUrl:"app/channels/fax/realtime/view/view.html",controller:"FaxRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportFaxSession",["$resource",function(a){return a("/api/report/fax/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(a){return a("/api/mail/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts",{url:"/accounts",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$stateParams","gridOptions","MailAccount","socket",function(a,b,c,d,e){a.$on("$destroy",function(){e.unsyncUpdates("mail_server_in")}),a.initView=function(){e.socket.on("mail_server_in:save",function(b){var c=_.find(a.gridOptions.data,{id:b.MailAccountId});c&&(c.MailServerIn.state=b.state,c.MailServerIn.source=JSON.parse(b.source))});var f={exporterCsvFilename:"mail_accounts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"MailServerIn.state",width:100,cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span class=\"label label-sm\" data-ng-class=\"row.entity.MailServerIn.state === 'CONNECTED' ? 'label-success' : 'label-danger'\">{{row.entity.MailServerIn.state}}</span></div>",displayName:"IMAP",enableSorting:!1,enableFiltering:!1},{name:"MailServerOut.state",width:110,cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span class=\"label label-sm\" data-ng-class=\"row.entity.MailServerOut.state === 'CONNECTED' ? 'label-success' : 'label-danger'\">{{row.entity.MailServerOut.state}}</span></div>",displayName:"SMTP",enableSorting:!1,enableFiltering:!1},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,f,a,{accountId:b.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.list",{url:"/list",templateUrl:"app/channels/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailServerIn",["$resource",function(a){return a("/api/mail/servers/in/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailServerOut",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"},{update:{method:"PUT"},test:{method:"GET"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","gridOptions","MailAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"mail_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.MailQueue ? row.entity.MailQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center",cellTemplate:"<div><span>{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}</span></div>"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.MailAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","MailQueue","MailAccount","Template",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"ReplyMail",value:"replyMail"}],a.types=[{key:"APPLICATION_REPLY",value:"reply"},{key:"APPLICATION_REPLY_TO_ALL",value:"replyAll"}],b.get("/api/mail/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return n.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var e=["*","*","*","*"],g=angular.copy(a.application);switch(g.intType){case"always":g.interval=e.join(","),delete g.IntervalId;break;case"custom":g.alwaysTime||(e[0]=g.alwaysTime?"*":g.t_from_hm+"-"+g.t_to_hm),g.wd_from&&g.wd_to&&"always"===g.wd_from&&"always"===g.wd_to?e[1]="*":e[1]=g.wd_from&&g.wd_to?g.wd_from+"-"+g.wd_to:"*",g.md_from&&g.md_to&&"always"===g.md_from&&"always"===g.md_to?e[2]="*":e[2]=g.md_from&&g.md_to?g.md_from+"-"+g.md_to:"*",g.m_from&&g.m_to&&"always"===g.m_from&&"always"===g.m_to?e[3]="*":e[3]=g.m_from&&g.m_to?g.m_from+"-"+g.m_to:"*",g.interval=e.join(","),delete g.IntervalId}b.put("/api/mail/applications/"+c.actionId,g).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","Agent","Template","MailQueue","MailAccount","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"ReplyMail",value:"replyMail"}],a.types=[{key:"APPLICATION_REPLY",value:"reply"},{key:"APPLICATION_REPLY_TO_ALL",value:"replyAll"}],a.$application=n.application,a.$stateParams=h,a.$interval=o.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return e.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return d.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return f.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return g.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(o[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?o[1]="*":o[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?o[2]="*":o[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?o[3]="*":o[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=o.join(","),delete a.application.IntervalId}return f.save({accountId:h.accountId,controller:"applications"},a.application).$promise.then(function(){j.path("/channels/mail/accounts/view/"+h.accountId+"/actions/list")})["catch"](function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){l.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailDisposition",["$resource",function(a){return a("/api/mail/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","MailAccount","id","xAlert","$translate",function(a,b,c,d,e,f){a.ok=function(){ -return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","MailAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/account/view/disposition/modal/add.modal.html",controller:"MailInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.dispositions",{url:"/dispositions",controller:"MailAccountDispositionViewCtrl",templateUrl:"app/channels/mail/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountSettingViewCtrl",["$scope","$http","$stateParams","$translate","$location","$timeout","socket","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut","usSpinnerService","List","Template",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a.imapDisabled=!1,a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.$on("$destroy",function(){g.socket.removeAllListeners("mail_message:sent"),g.socket.removeAllListeners("mail_message:failed")}),a.initView=function(){return g.socket.on("mail_message:sent",function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success"),m.stop("spinner-grid")}),g.socket.on("mail_message:failed",function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),m.stop("spinner-grid")}),n.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)}),i.get({id:c.accountId}).$promise.then(function(b){a.account=b,a.account.MailServerIn.source=JSON.parse(a.account.MailServerIn.source),a.account.MailServerOut.source=JSON.parse(a.account.MailServerOut.source),g.socket.on("mail_server_in:state",function(b){if(b.id===a.account.MailServerIn.id)switch(a.account.MailServerIn.state=b.state,a.account.MailServerIn.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.imapDisabled=!1}}),g.socket.on("mail_server_out:state",function(b){if(b.id===a.account.MailServerOut.id)switch(a.account.MailServerOut.state=b.state,a.account.MailServerOut.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.smtpDisabled=!1}})})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailAccount=function(){return i.update({id:c.accountId},{name:a.account.name,description:a.account.description,address:a.account.address,fidelity:a.account.fidelity,timeout:a.account.timeout,ListId:a.account.ListId,TemplateId:a.account.TemplateId}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerIn=function(){var b=angular.copy(a.account.MailServerIn);return delete b.source,m.spin("spinner-grid"),a.imapDisabled=!0,k.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerOut=function(){var b=angular.copy(a.account.MailServerOut);return delete b.source,m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:a.account.MailServerOut.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.settings",{url:"/settings",controller:"MailAccountSettingViewCtrl",templateUrl:"app/channels/mail/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$stateParams","MailAccount",function(a,b,c){a.initView=function(){return c.get({id:b.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view",{url:"/view/:accountId",controller:"MailAccountViewCtrl",templateUrl:"app/channels/mail/account/view/view.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","MailAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={MailServerIn:{port:993,ssl:!0,"delete":!1,protocol:"IMAP",filter:"UNSEEN",mailbox:"INBOX",keepalive:!0,authTimeout:5,connTimeout:10},MailServerOut:{port:465,ssl:!0}}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/channels/mail/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox",{url:"/inbox",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","uniqueId","ReportSquare",function(a,b,c,d,e,f,g){a.data=null,a.initInfo=function(){g.get({controller:"show",uniqueid:f}).$promise.then(function(b){a.data={id:b.id,channel:b.channel,uniqueid:b.uniqueid,callerid:b.callerid,calleridname:b.calleridname,project_name:b.project_name,extension:b.extension}})["catch"](function(b){switch(b.status){case 404:a.data=null;break;default:e.error(b)}})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").directive("mailMessage",["$rootScope","$translate","MailMessage","List","xAlert","Lightbox","$uibModal",function(a,b,c,d,e,f,g){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(h){h.openPreview=function(a){f.openModal(["api/mail/attachments/"+a],0)},h.openContact=function(c){return h.listId?d.save({listId:h.listId,controller:"contacts"},{email:c}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})})["catch"](function(a){console.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},h.info=function(a){g.open({animation:!0,templateUrl:"app/channels/mail/inbox/message/info.modal.html",controller:"MailInboxInfoModalCtrl",resolve:{uniqueId:function(){return a}}})},h.retry=function(a){return c.update({id:a,status:"SENDING"}).$promise["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",["$translate","Modal","Auth","MailMessage","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html",link:function(f){f.Auth=c,f.deleteNote=b.confirm["delete"](function(){return d.remove({id:f.message.id}).$promise.then(function(){e.show(a.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})})}}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","MailRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages",controller2:"send"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("mailRoom",["$rootScope","$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","List","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(e){function r(a){return a?"<br><blockquote>"+a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"<br>")+"</blockquote>":void 0}e.$on("$destroy",function(){console.log("mailRoom directive $destroy"),p.unsyncUpdates("mail_message"),p.unsyncUpdates("mail_room")});var s=[];e.user=q.getCurrentUser(),e.getContacts=function(a){return e.listId?i.get({listId:e.listId,controller:"contacts",email:a}).$promise.then(function(a){return a.rows})["catch"](function(a){console.error(a)}):[]},e.setList=function(a){e.listId=a},e.options={language:a.language,allowedContent:!0,entities:!1,skin:"office2013",extraPlugins:"autogrow",autoGrow_minHeight:600,autoGrow_maxHeight:600,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]}]},e.expanded=!0,e.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},e.panelLeft=null,e.panelRight="col-md-12",e.forms={},e.form={from:[],to:e.workspace.data&&e.workspace.data.to?[e.workspace.data.to]:[],cc:[],bcc:[],tags:[],html:"",disabled:!1},p.socket.on("mail_message:remove",function(a){_.remove(e.mailRoom.MailMessages,{id:a.id})}),p.socket.on("mail_message:save",function(a){return e.workspace.id&&a.MailRoomId==e.workspace.id?(e.workspace.active||e.workspace.unread++,l.get({id:a.id}).$promise.then(function(a){e.mailRoom||(e.mailRoom={MailMessages:[]});var b=_.findIndex(e.mailRoom.MailMessages,{id:a.id});b>-1?_.merge(e.mailRoom.MailMessages[b],a):e.mailRoom.MailMessages.unshift(a),e.panelLeft="col-md-6",e.panelRight="col-md-6"})["catch"](function(a){console.error(a)})):void 0});var t=e.uploader=new m({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+b.get("token")}});return t.onErrorItem=function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},t.removeFromQueue=function(a){var b=this;return h["delete"]({id:a.basename}).$promise.then(function(){var c=b.getIndexOfItem(a),d=b.queue[c];d.isUploading&&d.cancel(),b.queue.splice(c,1),d._destroy(),b.progress=b._getTotalProgress(),s=_.reject(s,{basename:a.basename})})["catch"](function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.onSuccessItem=function(a,b){var c={size:b.size,path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,c),s.push(c)},e.openRoom=function(b){var c=_.find(a.workspaces,{id:b,type:"mailRoom"});c?c.active=!0:a.workspaces.push({id:b,type:"mailRoom","class":"icon-envelope",active:!0})},e.togglePanelLeft=function(){e.panelLeft?(e.panelLeft=null,e.panelRight="col-md-12"):(e.panelLeft="col-md-6",e.panelRight="col-md-6")},e.onSelectAnswer=function(){e.form.html=e.modelOptions.selectedAnswer+e.form.html,delete e.modelOptions.selectedAnswer},e.getAnswers=function(a){return g.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},e.loadTemplate=function(){return d.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.templates.modal.html",controller:"MailInboxViewModalTemplateCtrl"}).result.then(function(a){e.form.subject=a.template.subject,e.form.html=a.template.html})},e.closeRoom=function(){return d.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return e.mailRoom.status},accountId:function(){return e.mailRoom.MailAccount.id}}}).result.then(function(a){return console.log(a),k.update({id:e.workspace.id,controller:"status"},a).$promise["catch"](function(a){n.show(a.data.message,"danger")})})},e.loadNote=function(){return d.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return e.workspace.id}}})},e.onChanged=function(){return k.update({id:e.workspace.id},{tags:e.form.tags}).$promise["catch"](function(a){console.error(a)})},e.sendMail=function(){o.spin("spinner-grid"),e.form.disabled=!0;var a={},b={subject:e.form.subject||(e.mailRoom?e.mailRoom.subject:null),from:e.form.from,to:_.map(e.form.to,"email"),cc:_.map(e.form.cc,"email"),bcc:_.map(e.form.bcc,"email"),html:e.form.html||null,text:e.form.text||null,inReplyTo:a.messageId||null,status:"SENDING",MailAttachments:s};return e.mailRoom?(a=_.last(e.mailRoom.MailMessages,{status:"RECEIVED"}),b.inReplyTo=a.messageId||null,k.save({id:e.workspace.id,controller:"messages",controller2:"send"},b).$promise.then(function(){e.form.html="",t.queue=[],s=[],n.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){o.stop("spinner-grid"),e.form.disabled=!1})):l.save(b).$promise.then(function(a){return n.show(c.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),k.get({id:"messages",controller:a.id}).$promise}).then(function(a){e.form.html="",t.queue=[],s=[],e.workspace.id=a.id,e.workspace.name=a.subject,e.mailRoom=a,e.listId=a.MailAccount.ListId,e.expanded=!1})["catch"](function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){o.stop("spinner-grid"),e.form.disabled=!1})},f.get().$promise.then(function(a){e.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),j.get().$promise.then(function(a){e.mailAccounts=a.rows})["catch"](function(a){console.error(a)}),e.workspace.id?(e.panelLeft="col-md-6",e.panelRight="col-md-6",k.get({id:e.workspace.id}).$promise.then(function(a){e.mailRoom=a,e.expanded=!1,e.listId=a.MailAccount.ListId,e.workspace.name=a.subject||"No subject",e.form.from.push(a.MailAccount.address),e.form.tags=a.tags;var b=_.findLast(e.mailRoom.MailMessages,{status:"RECEIVED"});return b&&(e.form.to=_.map(_.union(b.from,b.to),function(a){return{email:a}}),e.form.to=_.remove(e.form.to,function(b){return b.email!==a.MailAccount.address}),e.form.cc=_.map(b.cc,function(a){return{email:a}}),e.form.bcc=_.map(b.bcc,function(a){return{email:a}}),e.form.subject="Re: "+(b.subject||"No subject"),e.form.html=r(b.text)),p.socket.on("mail_room:save",function(a){a.id===e.workspace.id&&_.merge(e.mailRoom,a)}),a}).then(function(a){return q.isAgent()&&"CLOSED"!==a.status?k.update({id:e.workspace.id},{status:"OPEN"}):void 0}).then(function(){return q.isAgent()?k.update({id:e.workspace.id,controller:"agents"},{agents:[q.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){console.error(a)})["finally"](function(){o.stop("spinner-grid"),e.form.disabled=!1})):(e.panelLeft=null,e.panelRight="col-md-12",o.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").controller("MailInboxStatusModalCtrl",["$scope","$uibModalInstance","MailAccount","status","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_MAIL"},a.initDisposition=function(){return a.item={disposition:null,status:"CLOSED"},c.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","uibButtonConfig","usSpinnerService","socket","MailAccount","MailRoom","uiGridConstants","Auth","Modal","xAlert","localStorageService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"mailRoom"});return d&&b?d.active=!0:a.workspaces.push({id:b,subject:c,type:"mailRoom","class":"icon-envelope",active:!0}),b&&"agent"===n.getCurrentUser().role&&"CLOSED"!==a.query.status?l.update({id:b,controller:"status"},{status:"OPEN"}).$promise["catch"](function(a){console.error(a)}):void 0},a.getPage=function(){i.spin("spinner-grid");var b={accountId:e.id,controller:"rooms"};return a.query&&_.merge(b,a.query),k.query(b).$promise.then(function(b){q.set("mailAccountId",e.id),a.gridOptions.data=b,j.unsyncUpdates("mail_room"),j.socket.on("mail_room:save",function(b){if(console.log(b.MailAccountId,e.id),b.MailAccountId==e.id){var c=_.find(a.gridOptions.data,{id:b.id});c?c.status!==b.status?_.remove(a.gridOptions.data,{id:b.id}):_.merge(c,b):a.query.status===b.status&&a.gridOptions.data.push(b)}}),j.socket.on("mail_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})})["catch"](function(a){console.error(a)})["finally"](function(){i.stop("spinner-grid")})},a.initView=function(){h.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("mailStatus")?q.get("mailStatus"):"NEW",tags:q.get("mailTags")?q.get("mailTags"):[]},a.$watch("query.status",function(){q.set("mailStatus",a.query.status),a.getPage()},!0),k.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div> <span data-ng-class=\"{'icon-arrow-up font-green': row.entity.lastEvent === 'SENT', 'icon-arrow-up font-yellow': row.entity.lastEvent === 'SENDING', 'icon-arrow-down font-green': row.entity.lastEvent === 'RECEIVED', 'icon-close font-red': row.entity.lastEvent === 'FAILED', 'icon-question': !row.entity.lastEvent}\"> </span> </div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"attachment",displayName:"",headerCellTemplate:'<i class="icon-paper-clip" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.attachment ? 'icon-paper-clip' : ''\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"subject"},{name:"from",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-icon-only font-green" data-ng-hide="row.entity.waiting" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.subject)"><i class="fa fa-envelope" aria-hidden="true"></i></a> <a class="btn btn-icon-only font-red" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id, row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i></a> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:70,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(a.query)},a.onChanged=function(){q.set("mailTags",a.query.tags),a.getPage(a.query)},a.tagItems=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.tags.modal.html",controller:"MailInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return l.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return l["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/mail/inbox/view/account/list/list.html",controller:"MailInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","Auth","MailRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h,i){var j=[];a.initModal=function(){return a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){for(var c=0;c<b.rows.length;c++)a.agents.push(b.rows[c]);return g.query({id:i,controller:"agents"}).$promise}).then(function(b){for(var c=0;c<b.length;c++)f.isAgent()||a.item.agents.push(b[c]),j.push(b[c].id)})["catch"](function(a){console.error(a)})},a.ok=function(){return j=f.isAgent()?_.union(j,a.item.agents):angular.copy(a.item.agents),g.update({id:i,controller:"agents",agents:j}).$promise.then(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewCtrl",["$scope","$timeout","$location","localStorageService","MailAccount",function(a,b,c,d,e){a.initView=function(){return e.get().$promise.then(function(b){var e=null;a.mailAccounts=b.rows,a.mailAccounts.length&&(e="/channels/mail/inbox/view/account/"+(d.get("mailAccountId")||a.mailAccounts[0].id)+"/list"),e&&c.path(e)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view",{url:"/view",templateUrl:"app/channels/mail/inbox/view/view.html",controller:"MailInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","MailRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(a,b,c){a.initModal=function(){return a.item={},c.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail",{url:"/mail",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MailAttachment",["$resource",function(a){return a("/api/mail/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("MailMessage",["$resource",function(a){return a("/api/mail/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailReport",["$resource",function(a){return a("/api/report/mails/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(a){return a("/api/mail/rooms/:id/:controller/:controller2",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").controller("MailQueueListCtrl",["$scope","MailQueue","gridOptions","$uibModal","Auth",function(a,b,c,d,e){a.initView=function(){a.Auth=e;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/mail/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/mail/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===e.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/mail/queue/list/list.create.modal.html",controller:"MailQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("MailQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","MailQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.list",{url:"/list",templateUrl:"app/channels/mail/queue/list/list.html",controller:"MailQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(a){return a("/api/mail/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/scripts/components-dropdowns.js"]})}]},data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","MailQueue","Auth","strategies",function(a,b,c,d,e,f,g,h,i){a.Auth=h,a.strategies=i;var j=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateMailQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasMailQueue.penalty}}),j)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.view",{url:"/view/:id",templateUrl:"app/channels/mail/queue/view/view.html",controller:"MailQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.mail.queues.view.settings",{ -url:"/settings",templateUrl:"app/channels/mail/queue/view/view.settings.html"}).state("main.channels.mail.queues.view.agents",{url:"/agents",templateUrl:"app/channels/mail/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","MailQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.mailPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_mail_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PMailQueues,"id"),b.MailQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.MailQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_mail_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.MailQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.mailPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.MailQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.mailQueues=b.rows,e.syncUpdates("mail_queue",a.mailQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.mailQueues=[];var t={controller:"realtime",controller1:"mail",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"mailPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.mailQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_mail_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/queue.modal.add.html",controller:"MailRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.mailQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.mailQueues,function(a){return _.includes(b.queues,a.id)}),channel:"mail",data1:e,data3:b.queues.join(","),data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"mail",data1:a,data3:b,data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/agent.modal.info.html",controller:"MailRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/mail/realtime/view/agent/agent.html",controller:"MailRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportMailSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_mail_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_mail_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_mail_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/mail/realtime/view/application/application.html",controller:"MailRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view",{url:"/view",templateUrl:"app/channels/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportMailSession",["$resource",function(a){return a("/api/report/mail/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelAccount",["$resource",function(a){return a("/api/openchannel/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts",{url:"/accounts",template:"<div ui-view></div>"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountListCtrl",["$scope","OpenChannelAccount","gridOptions","$stateParams","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var e={exporterCsvFilename:"openchannel_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/openchannel/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a,{accountId:d.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.list",{url:"/list",templateUrl:"app/channels/openchannel/account/list/list.html",controller:"OpenChannelAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("OpenChannelApplication",["$resource",function(a){return a("/api/openchannel/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionListCtrl",["$scope","gridOptions","OpenChannelAccount","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e,f,g){c.get({accountId:f.accountId,controller:"applications"}).$promise.then(function(a){console.log("apps",a)})["catch"](function(a){g.show(a.message,"danger")}),a.initActions=function(){var d={draggable:!0,exporterCsvFilename:"openchannel_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.OpenchannelQueue ? row.entity.OpenchannelQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/openchannel/accounts/view/{{row.entity.OpenchannelAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/openchannel/account/view/action/list/list.html",controller:"OpenChannelAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","OpenChannelQueue","OpenChannelApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],b.get("/api/openchannel/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var b=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,OpenchannelAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.OpenchannelQueueId=a.application.OpenchannelQueueId}switch(a.application.intType){case"always":g.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=b.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.IntervalId}return n.update({id:c.actionId},g).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/openchannel/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/openchannel/account/view/action/view/view.html",controller:"OpenChannelAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionWizardCtrl",["$scope","$http","Agent","OpenChannelQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","OpenChannelApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){console.log(b),a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var b=["*","*","*","*"];console.log(a.application);var c={app:a.application.app,timeout:a.application.timeout,OpenchannelAccountId:f.accountId};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.OpenchannelQueueId=a.application.OpenchannelQueueId}switch(a.application.intType){case"always":c.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",c.interval=b.join(","),delete a.application.IntervalId;break;case"list":c.IntervalId=a.application.IntervalId}return console.log(c),n.save(c).$promise.then(function(){h.path("/channels/openchannel/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.show(a.data.message,"danger")})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/openchannel/account/view/action/wizard/wizard.html",controller:"OpenChannelAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountApiViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){a.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},a.initView=function(){b.get({id:d.accountId}).$promise.then(function(b){a.account=b,a.receiveurl=a.account.remote+"/api/openchannel/accounts/"+a.account.id+"/receive"})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.api",{url:"/api",controller:"OpenChannelAccountApiViewCtrl",templateUrl:"app/channels/openchannel/account/view/api/view/view.html"})}]),angular.module("xCallyShuttleApp").factory("OpenChannelDisposition",["$resource",function(a){return a("/api/openchannel/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","OpenChannelAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","OpenChannelAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/openchannel/account/view/disposition/modal/add.modal.html",controller:"OpenChannelInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.dispositions",{url:"/dispositions",controller:"OpenChannelAccountDispositionViewCtrl",templateUrl:"app/channels/openchannel/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountHooksViewCtrl",["$scope","OpenChannelAccount","Pause","$http","$stateParams","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){a.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.actions=[{value:"",name:"-- None --"},{name:"Pause",value:"pause"}],a.account={},a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.initView=function(){c.get().$promise.then(function(b){a.pauses=b.rows})["catch"](function(a){h.error(a)}),b.get({id:e.accountId}).$promise.then(function(b){a.account=b,a.account.actions.length<1&&a.account.actions.push({action:"pause",enabled:!1})})["catch"](function(a){h.show(a.message,"danger")})},a.resetActionData=function(a){a.type=null},a.updateItem=function(){return console.log(a.account),b.update({id:e.accountId},a.account).$promise.then(function(){h.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.hooks",{url:"/hooks",controller:"OpenChannelAccountHooksViewCtrl",templateUrl:"app/channels/openchannel/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountSettingViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.account={},a.initView=function(){i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),b.get({id:d.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){return b.update({id:d.accountId},a.account).$promise.then(function(){h.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.settings",{url:"/settings",controller:"OpenChannelAccountSettingViewCtrl",templateUrl:"app/channels/openchannel/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return a.account={},b.get({id:d.accountId}).$promise.then(function(b){a.account=b,console.log(b)})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/openchannel/account/view/view.html",controller:"OpenChannelAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","OpenChannelAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/channels/openchannel/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/openchannel/account/wizard/wizard.html",controller:"OpenChannelAccountWizardCtrl" -})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox",{url:"/inbox",template:"<div ui-view></div>"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","data",function(a,b,c,d,e,f){a.data=null,a.initInfo=function(){f&&(console.log(f),a.data=_.isEmpty(JSON.parse(f))?null:JSON.parse(f))},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").directive("message",["$rootScope","OpenChannelMessage","List","xAlert","$translate","$uibModal",function(a,b,c,d,e,f){return{restrict:"E",scope:{Message:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/openchannel/inbox/message/message.html",link:function(b){b.openContact=function(f){return b.listId?c.save({listId:b.listId,controller:"contacts"}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.phone,type:"contact"})})["catch"](function(a){console.error(a)}):void d.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},b.info=function(a){f.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/message/info.modal.html",controller:"OpenChannelInboxInfoModalCtrl",resolve:{data:function(){return a}}})}}}}]),angular.module("xCallyShuttleApp").directive("openchannelRoom",["OpenChannelReport","$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","OpenChannelAccount","OpenChannelRoom","OpenChannelMessage","xAlert","usSpinnerService","socket","$stateParams","$rootScope",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/openchannel/inbox/room/room.directive.html",link:function(a){a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.panelLeft=null,a.panelRight="col-md-12",a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-6",a.panelRight="col-md-6")},a.form={disabled:!1,from:"",to:a.workspace.data&&a.workspace.data.to?a.workspace.data.to:"",body:""},n.socket.on("openchannel_message:save",function(b){return a.workspace.id&&b.OpenchannelRoomId==a.workspace.id?k.get({id:b.id}).$promise.then(function(b){a.Room||(a.Room={OpenchannelMessages:[]});var c=_.findIndex(a.Room.OpenchannelMessages,{id:b.id});c>-1?_.merge(a.Room.OpenchannelMessages[c],b):a.Room.OpenchannelMessages.unshift(b),a.panelLeft="col-md-6",a.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0}),n.socket.on("openchannel_message:update",function(b){if(a.Room&&b.OpenchannelRoomId==a.workspace.id){var c=_.find(a.Room.OpenchannelMessages,{id:b.id});c&&_.merge(c,b)}}),n.socket.on("openchannel_room:update",function(b){a.Room&&b.id==a.workspace.id&&(a.Room.status=b.status,a.Room.disposition=b.disposition)}),a.closeRoom=function(b){return d.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.status.modal.html",controller:"OpenChannelInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===a.Room.status},accountId:function(){return a.Room.OpenchannelAccountId}}}).result.then(function(a){var c={id:b,status:"CLOSED"};return a.disposition&&(c.disposition=a.disposition),j.update(c).$promise["catch"](function(a){l.show(a.data.message,"danger")})})},a.openRoom=function(a,b){var c=_.find(p.workspaces,{id:a,type:"openchannelRoom"});c?c.active=!0:p.workspaces.push({id:a,name:b,type:"openchannelRoom","class":"icon-globe",active:!0})},f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),i.get().$promise.then(function(b){a.Accounts=b.rows})["catch"](function(a){console.error(a)}),a.workspace.id?(a.panelLeft="col-md-6",a.panelRight="col-md-6",j.get({id:a.workspace.id}).$promise.then(function(b){return a.Room=b,a.form.from=a.Room.OpenchannelAccount.name,a.form.to=a.Room.from,a.form.tags=a.Room.tags,"NEW"==a.Room.status||"UNMANAGED"==a.Room.status?j.update({id:a.Room.id,status:"OPEN"}):void 0}).then(function(b){if(b){var c=[];return c[0]=h.getCurrentUser().id,j.update({id:a.Room.id,controller:"agents",agents:c})}})["catch"](function(a){console.error(a)})["finally"](function(){m.stop("spinner-grid"),a.form.disabled=!1})):m.stop("spinner-grid"),a.onSelect=function(){a.form.body+=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.onSelectAnswer=function(b){a.form.body+=b,a.selectedAnswer=""},a.getAnswers=function(a){return g.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},a.loadAgents=function(){d.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.agents.modal.html",controller:"OpenChannelInboxViewModalAgentCtrl",resolve:{roomId:function(){return a.workspace.id}}})},a.onChanged=function(){return j.patch({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.sendMessage=function(){m.spin("spinner-grid");var b=_.find(a.Accounts,{name:a.form.from}).id;if(b){var d={from:a.form.from,to:a.form.to,body:a.form.body,OpenchannelRoomId:a.Room?a.Room.id:null};return i.save({accountId:b,controller:"send"},d).$promise.then(function(b){return l.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.Room?a.Room:j.get({id:"messages",controller:b.id}).$promise}).then(function(b){b&&(a.form.body="",a.workspace.id=b.id,a.workspace.name=b.from,a.Room=b,a.panelLeft="col-md-6",a.panelRight="col-md-6")})["catch"](function(a){l.error(a)})["finally"](function(){m.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","OpenChannelAccount","OpenChannelRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","uibButtonConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.agents.modal.html",controller:"OpenChannelInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.initView=function(){q.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"openchannel_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"disposition",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-xs green" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.from)"><i class="glyphicon glyphicon-comment" aria-hidden="true"></i></a> <a class="btn btn-xs btn-primary" data-ng-click="grid.appScope.loadAgents(row.entity.id)"><i class="fa fa-user-plus" aria-hidden="true"></i></a> <a class="btn btn-xs btn-danger" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id,row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("openchannel_room:remove",function(b){_.remove(a.workspaces,{id:b.id,type:"openchannelRoom"}),_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)},a.onChanged=function(){a.getPage(a.query)},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.tags.modal.html",controller:"OpenChannelInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[],a.getPage()})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"openchannelRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"openchannelRoom","class":"icon-globe",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return console.log(c),k["delete"](c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/openchannel/inbox/view/account/list/list.html",controller:"OpenChannelInboxViewAccountListCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","OpenChannelRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","OpenChannelRoom","OpenChannelAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){j.get().$promise.then(function(c){var d=null;a.Accounts=c.rows,a.Accounts.length&&(d="/channels/openchannel/inbox/view/account/"+a.Accounts[0].id+"/list"),d&&b.path(d)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox.view",{url:"/view",templateUrl:"app/channels/openchannel/inbox/view/view.html",controller:"OpenChannelInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","OpenChannelAccount","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE"},a.initDisposition=function(){return d.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","OpenChannelRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel",{url:"/openchannel",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("OpenChannelReport",["$resource",function(a){return a("/api/report/openchannel/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelRoom",["$resource",function(a){return a("/api/openchannel/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelMessage",["$resource",function(a){return a("/api/openchannel/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueListCtrl",["$scope","OpenChannelQueue","gridOptions","$uibModal","xAlert","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var d={exporterCsvFilename:"openchanel_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/openchannel/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/openchannel/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/openchannel/queue/list/list.create.modal.html",controller:"OpenChannelQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","OpenChannelQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return console.log(a.item),e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.queues.list",{url:"/list",templateUrl:"app/channels/openchannel/queue/list/list.html",controller:"OpenChannelQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("OpenChannelQueue",["$resource",function(a){return a("/api/openchannel/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.queues",{url:"/queues",template:"<div ui-view></div>",data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","OpenChannelQueue","strategies",function(a,b,c,d,e,f,g,h){a.strategies=h;var i=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(b){console.log("sel",b),a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(b){console.log("desel",b),a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,console.log(b.rows),g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){console.log(b),ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasOpenchannelQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.queues.view",{url:"/view/:id",templateUrl:"app/channels/openchannel/queue/view/view.html",controller:"OpenChannelQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.openchannel.queues.view.settings",{url:"/settings",templateUrl:"app/channels/openchannel/queue/view/view.settings.html"}).state("main.channels.openchannel.queues.view.agents",{url:"/agents",templateUrl:"app/channels/openchannel/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("ReportOpenChannelSession",["$resource",function(a){return a("/api/report/openchannel/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:12}}})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){return j.spin("spinner-grid"),g.get(p).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&n(),j.stop("spinner-grid")})}function n(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&_.merge(c,b)}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}function o(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}var p={controller:"realtime",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.name}} <{{row.entity.internal}}></div>"},{name:"online",displayName:"APPLICATION_ONLINE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"pauseStatus",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span class="left-margin"><i data-ng-if="row.entity.voicePause || row.entity.mailPause || row.entity.chatPause || row.entity.faxPause || row.entity.smsPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,null)" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i> <i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.id,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i></span><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.id,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select><span data-ng-if="row.entity.voicePause || row.entity.mailPause || row.entity.chatPause || row.entity.faxPause || row.entity.smsPause"> [{{row.entity.pauseType}}]<timer start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000"> [{{hhours}}:{{mminutes}}:{{sseconds}}]</timer></span></div>'},{name:"voicePause",displayName:"APPLICATION_VOICE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.voicePause}"><span class="left-margin"><i data-ng-if="row.entity.voicePause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'voice\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"mailPause",displayName:"APPLICATION_MAIL",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.mailPause}"><span class="left-margin"><i data-ng-if="row.entity.mailPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'mail\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"chatPause",displayName:"APPLICATION_CHAT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.chatPause}"><span class="left-margin"><i data-ng-if="row.entity.chatPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'chat\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"faxPause",displayName:"APPLICATION_FAX",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.faxPause}"><span class="left-margin"><i data-ng-if="row.entity.faxPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'fax\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"smsPause",displayName:"APPLICATION_SMS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.smsPause}"><span class="left-margin"><i data-ng-if="row.entity.smsPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'sms\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?p.order=null:p.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){p.offset=(a-1)*b,p.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?p[a.name]=a.filters[0].term:delete p[a.name]}),m()})}},m(!0),o()};var q=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent")}),a.pause=function(b,c,e,g){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:g||"all"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/realtime/view/agent/agent.html",controller:"RealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view",{url:"/view",templateUrl:"app/channels/realtime/view/view.html",controller:"RealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("ReportCall",["$resource",function(a){return a("/api/report/calls/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportDial",["$resource",function(a){return a("/api/report/dials/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsAccount",["$resource",function(a){return a("/api/sms/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts",{url:"/accounts",template:"<div ui-view></div>",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountListCtrl",["$scope","SmsAccount","gridOptions","$stateParams","xAlert","$translate",function(a,b,c,d,e,f){a.message="Hello",a.initView=function(){var e={exporterCsvFilename:"sms_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"type",displayName:"APPLICATION_ACCOUNT_TYPE"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a,{accountId:d.accountId})},a.checkAccount=function(a){return b.get({accountId:a,controller:"check"}).$promise.then(function(){e.show(f.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){e.show(f.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.list",{url:"/list",templateUrl:"app/channels/sms/account/list/list.html",controller:"SmsAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsApplication",["$resource",function(a){return a("/api/sms/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionListCtrl",["$scope","gridOptions","SmsAccount","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e,f,g){console.log("SmsAccountViewActionListCtrl"),c.get({accountId:f.accountId,controller:"applications"}).$promise.then(function(a){console.log("apps",a)})["catch"](function(a){ -g.show(a.message,"danger")}),a.initActions=function(){var d={draggable:!0,exporterCsvFilename:"sms_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.SmsQueue ? row.entity.SmsQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.SmsAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/sms/account/view/action/list/list.html",controller:"SmsAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","SmsQueue","SmsAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],b.get("/api/sms/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.getSmsAccounts=function(){return n.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(j[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?j[1]="*":j[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?j[2]="*":j[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?j[3]="*":j[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=j.join(","),delete a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},a.application).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/sms/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/sms/account/view/action/view/view.html",controller:"SmsAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionWizardCtrl",["$scope","$http","Agent","SmsQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","SmsAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){console.log(b),a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.getSmsAccounts=function(){return n.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(m[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?m[1]="*":m[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?m[2]="*":m[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?m[3]="*":m[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=m.join(","),delete a.application.IntervalId}return n.save({accountId:f.accountId,controller:"applications"},a.application).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/sms/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountApiViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){a.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},a.initView=function(){b.get({id:d.accountId}).$promise.then(function(b){a.account=b,a.deliveryurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/messageStatus",a.receiveurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/receive"})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.api",{url:"/api",controller:"SmsAccountApiViewCtrl",templateUrl:"app/channels/sms/account/view/api/view/view.html"})}]),angular.module("xCallyShuttleApp").factory("SmsDisposition",["$resource",function(a){return a("/api/sms/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","SmsAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","SmsAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/sms/account/view/disposition/modal/add.modal.html",controller:"SmsInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.dispositions",{url:"/dispositions",controller:"SmsAccountDispositionViewCtrl",templateUrl:"app/channels/sms/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountHooksViewCtrl",["$scope","SmsAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i,j){a.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.actions=[{value:"",name:"-- None --"},{name:"Pause",value:"pause"}],a.account={},a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.initView=function(){c.get().$promise.then(function(b){a.pauses=b.rows})["catch"](function(a){i.error(a)}),b.get({id:e.accountId}).$promise.then(function(b){a.account=b,a.account.actions.length<1&&a.account.actions.push({action:"pause",enabled:!1})})["catch"](function(a){i.show(a.message,"danger")})},a.resetActionData=function(a){a.type=null},a.updateItemSmsAccount=function(){return console.log(a.account),b.update({id:e.accountId},a.account).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.hooks",{url:"/hooks",controller:"SmsAccountHooksViewCtrl",templateUrl:"app/channels/sms/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountSettingViewCtrl",["$scope","SmsAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i,j){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.account={},a.initView=function(){j.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),b.get({id:e.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){i.show(a.message,"danger")})},a.updateItemSmsAccount=function(){return b.update({id:e.accountId},a.account).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.settings",{url:"/settings",controller:"SmsAccountSettingViewCtrl",templateUrl:"app/channels/sms/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return a.account={},b.get({id:d.accountId}).$promise.then(function(b){a.account=b,console.log(b)})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","SmsAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return console.log(a.item),g.save(a.item).$promise.then(function(){c.path("/channels/sms/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/wizard/wizard.html",controller:"SmsAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox",{url:"/inbox",template:"<div ui-view></div>",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams","$rootScope",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/sms/inbox/room/room.directive.html",link:function(a){a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.panelLeft=null,a.panelRight="col-md-12",a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-6",a.panelRight="col-md-6")},a.form={disabled:!1,from:"",to:a.workspace.data&&a.workspace.data.to?a.workspace.data.to:"",body:""},m.socket.on("sms_message:save",function(b){return a.workspace.id&&b.SmsRoomId==a.workspace.id?j.get({id:b.id}).$promise.then(function(b){a.SmsRoom||(a.SmsRoom={SmsMessages:[]});var c=_.findIndex(a.SmsRoom.SmsMessages,{id:b.id});c>-1?_.merge(a.SmsRoom.SmsMessages[c],b):a.SmsRoom.SmsMessages.unshift(b),a.panelLeft="col-md-6",a.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0}),m.socket.on("sms_message:update",function(b){if(console.log("sms_message:update",b),a.SmsRoom&&b.SmsRoomId==a.workspace.id){var c=_.find(a.SmsRoom.SmsMessages,{id:b.id});c&&_.merge(c,b)}}),m.socket.on("sms_room:update",function(b){a.SmsRoom&&b.id==a.workspace.id&&(a.SmsRoom.status=b.status,a.SmsRoom.disposition=b.disposition)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===a.SmsRoom.status},accountId:function(){return a.SmsRoom.SmsAccountId}}}).result.then(function(a){var c={id:b,status:"CLOSED"};return a.disposition&&(c.disposition=a.disposition),i.update(c).$promise["catch"](function(a){k.show(a.data.message,"danger")})})},a.openRoom=function(a,b){var c=_.find(o.workspaces,{id:a,type:"smsRoom"});c?c.active=!0:o.workspaces.push({id:a,name:b,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)}),a.workspace.id?(a.panelLeft="col-md-6",a.panelRight="col-md-6",i.get({id:a.workspace.id}).$promise.then(function(b){return a.SmsRoom=b,a.form.from=a.SmsRoom.SmsAccount.phone,a.form.to=a.SmsRoom.from,a.form.tags=a.SmsRoom.tags,"NEW"==a.SmsRoom.status||"UNMANAGED"==a.SmsRoom.status?i.update({id:a.SmsRoom.id,status:"OPEN"}):void 0}).then(function(b){if(b){var c=[];return c[0]=g.getCurrentUser().id,i.update({id:a.SmsRoom.id,controller:"agents",agents:c})}})["catch"](function(a){console.error(a)})["finally"](function(){l.stop("spinner-grid"),a.form.disabled=!1})):l.stop("spinner-grid"),a.onSelect=function(){a.form.body+=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.onSelectAnswer=function(b){a.form.body+=b,a.selectedAnswer=""},a.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},a.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:function(){return a.workspace.id}}})},a.onChanged=function(){return i.patch({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.sendSMS=function(){l.spin("spinner-grid");var c=_.find(a.smsAccounts,{phone:a.form.from}).id;if(c){var d={from:a.form.from,to:a.form.to,body:a.form.body,SmsRoomId:a.SmsRoom?a.SmsRoom.id:null};return h.save({accountId:c,controller:"send"},d).$promise.then(function(c){return k.show(b.instant("MESSAGE_WELL_DONE"),"success"),a.SmsRoom?a.SmsRoom:i.get({id:"messages",controller:c.id}).$promise}).then(function(b){console.log(b),b&&(a.form.body="",a.workspace.id=b.id,a.workspace.name=b.from,a.SmsRoom=b,a.panelLeft="col-md-6",a.panelRight="col-md-6")})["catch"](function(a){k.error(a)})["finally"](function(){l.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").controller("SmsInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","data","uniqueId","ReportSquare",function(a,b,c,d,e,f,g,h){a.data=null,a.initInfo=function(){f&&(a.data=_.isEmpty(JSON.parse(f))?null:JSON.parse(f)),g&&h.get({controller:"show",uniqueid:g}).$promise.then(function(b){a.data={id:b.id,channel:b.channel,uniqueid:b.uniqueid,callerid:b.callerid,calleridname:b.calleridname,project_name:b.project_name,extension:b.extension}})["catch"](function(b){switch(b.status){case 404:a.data=null;break;default:e.error(b)}})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").directive("sms",["$rootScope","SmsMessage","List","xAlert","$translate","$uibModal",function(a,b,c,d,e,f){return{restrict:"E",scope:{smsMessage:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/sms/inbox/sms/sms.html",link:function(b){b.openContact=function(f){return b.listId?c.save({listId:b.listId,controller:"contacts"},{mobile:f}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.phone,type:"contact"})})["catch"](function(a){console.error(a)}):void d.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},b.info=function(a,b){f.open({animation:!0,templateUrl:"app/channels/sms/inbox/sms/info.modal.html",controller:"SmsInboxInfoModalCtrl",resolve:{data:function(){return b},uniqueId:function(){return a}}})}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","SmsAccount","SmsRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","uibButtonConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.initView=function(){q.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"sms_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"voiceSource",displayName:"",headerCellTemplate:'<i class="fa fa-superscript" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.voiceSource ? 'fa fa-superscript' : ''\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"disposition",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-xs green" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.from)"><i class="glyphicon glyphicon-comment" aria-hidden="true"></i></a> <a class="btn btn-xs btn-primary" data-ng-click="grid.appScope.loadAgents(row.entity.id)"><i class="fa fa-user-plus" aria-hidden="true"></i></a> <a class="btn btn-xs btn-danger" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id,row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("sms_room:remove",function(b){_.remove(a.workspaces,{id:b.id,type:"smsRoom"}),_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)},a.onChanged=function(){a.getPage(a.query)},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.tags.modal.html",controller:"SmsInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[],a.getPage()})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"smsRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return console.log(c),k["delete"](c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/sms/inbox/view/account/list/list.html",controller:"SmsInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","SmsRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","SmsRoom","SmsAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){j.get().$promise.then(function(c){var d=null;a.smsAccounts=c.rows,a.smsAccounts.length&&(d="/channels/sms/inbox/view/account/"+a.smsAccounts[0].id+"/list"),d&&b.path(d)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view",{url:"/view",templateUrl:"app/channels/sms/inbox/view/view.html",controller:"SmsInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","SmsAccount","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_SMS"},a.initDisposition=function(){return d.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","SmsRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(a,b,c){a.initModal=function(){return a.item={},c.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCtrl",["$scope","SmsQueue","gridOptions","$uibModal","xAlert","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/sms/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/sms/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/sms/queue/list/list.create.modal.html",controller:"SmsQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage(); -})}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","SmsQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return console.log(a.item),e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.list",{url:"/list",templateUrl:"app/channels/sms/queue/list/list.html",controller:"SmsQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues",{url:"/queues",template:"<div ui-view></div>",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","SmsQueue","strategies",function(a,b,c,d,e,f,g,h){a.strategies=h;var i=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(b){console.log("sel",b),a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(b){console.log("desel",b),a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateSmsQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,console.log(b.rows),g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){console.log(b),ComponentsDropdowns.bindSmsQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasSmsQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.view",{url:"/view/:id",templateUrl:"app/channels/sms/queue/view/view.html",controller:"SmsQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.sms.queues.view.settings",{url:"/settings",templateUrl:"app/channels/sms/queue/view/view.settings.html"}).state("main.channels.sms.queues.view.agents",{url:"/agents",templateUrl:"app/channels/sms/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","SmsQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){return k.spin("spinner-grid"),g.get(s).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){p(a)})})["catch"](function(a){f.error(a)})["finally"](function(){k.stop("spinner-grid")})}function o(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.smsPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_sms_queue:save",function(b){console.log("new queue",b);var c=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),d=a.gridOptions.data.indexOf(c);a.gridOptions.data.splice(d+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.SmsQueueId,agent:b.membername,online:c.online})}),e.socket.on("user_has_sms_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.SmsQueueId})})}function p(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.smsPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.SmsQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function q(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.error(a)})}function r(){return j.get().$promise.then(function(b){a.smsQueues=b.rows,e.syncUpdates("sms_queue",a.smsQueues)})["catch"](function(a){f.error(a)})}a.smsQueues=[];var s={controller:"realtime",controller1:"sms",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"smsPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause" class="left-margin">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.smsQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?s.order=null:s.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),n()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){s.offset=(a-1)*b,s.limit=b,n()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?s[a.name]=a.filters[0].term:delete s[a.name]}),n()})}},n(),q(),r(),o()};var t=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_sms_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/queue.modal.add.html",controller:"SmsRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.smsQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.smsQueues,function(a){return _.includes(b.queues,a.id)}),channel:"sms",data1:e,data3:b.queues.join(","),data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"sms",data1:a,data3:b,data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/agent.modal.info.html",controller:"SmsRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/sms/realtime/view/agent/agent.html",controller:"SmsRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSmsSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_sms_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_sms_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_sms_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/sms/realtime/view/application/application.html",controller:"SmsRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view",{url:"/view",templateUrl:"app/channels/sms/realtime/view/view.html",controller:"SmsRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportSmsSession",["$resource",function(a){return a("/api/report/sms/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms",{url:"/sms",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsReport",["$resource",function(a){return a("/api/report/sms/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsMessage",["$resource",function(a){return a("/api/sms/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsRoom",["$resource",function(a){return a("/api/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("ChanSpy",["$resource",function(a){return a("/api/chanspy/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy",{url:"/chanspy",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCtrl",["$scope","$uibModal","ChanSpy","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chanspy.csv",columnDefs:[{name:"name"},{name:"prefix"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/channels/voice/chanspy/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/voice/chanspy/list/list.create.modal.html",controller:"ChanSpyListCreateCtrl"});c.result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCreateCtrl",["$scope","$translate","$uibModalInstance","ChanSpy","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.save=function(){return a.item.options=a.item.options.join(""),d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.list",{url:"/list",templateUrl:"app/channels/voice/chanspy/list/list.html",controller:"ChanSpyListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChanSpyViewCtrl",["$scope","$translate","$stateParams","xAlert","ChanSpy",function(a,b,c,d,e){a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.getChanSpy=function(){return e.get({id:c.id}).$promise.then(function(b){b.options=b.options.split(""),a.chanspy=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateChanSpy=function(){var f=angular.copy(a.chanspy);return f.options=f.options.join(""),e.update({id:c.id},f).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.view",{url:"/view/:id",templateUrl:"app/channels/voice/chanspy/view/view.html",controller:"ChanSpyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.chanspy.view.settings",{url:"/settings",templateUrl:"app/channels/voice/chanspy/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceContext",["$resource",function(a){return a("/api/voice/contexts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts",{url:"/contexts",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","VoiceContext","gridOptions","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:170,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/channels/voice/contexts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var c=d.open({animation:!0,templateUrl:"app/channels/voice/context/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});c.result.then(function(c){return b.save(c).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.list",{url:"/list",templateUrl:"app/channels/voice/context/list/list.html",controller:"VoiceContextListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getContext=function(){b.get("/api/voice/contexts/"+e.id).success(function(b){a.context=b}).error(function(a){console.error(a),f.path("/voice/contexts/list")})},a.updateVoiceContext=function(){var f=angular.copy(a.context);b.put("/api/voice/contexts/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.context=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.view",{url:"/view/:id",templateUrl:"app/channels/voice/context/view/view.html",controller:"VoiceContextViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.contexts.view.settings",{url:"/settings",templateUrl:"app/channels/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.dispositions",{url:"/dispositions",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListCtrl",["$scope","$stateParams","$uibModal","$translate","VoiceDisposition","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get().$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,b){return e.update({id:a},{name:b}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(b){return e.remove({id:b}).$promise.then(function(){_.remove(a.dispositions,{id:b}),f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/voice/disposition/list/modal/add.modal.html",controller:"VoiceDispositionListModalDispositionAddCtrl"}).result.then(function(b){b&&(a.dispositions.push(b),f.show(d.instant("MESSAGE_WELL_DONE")+"!","success"))})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.dispositions.list",{url:"/list",templateUrl:"app/channels/voice/disposition/list/list.html",controller:"VoiceDispositionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListModalDispositionAddCtrl",["$scope","$uibModalInstance","VoiceDisposition","xAlert","$translate",function(a,b,c,d,e){a.ok=function(){return c.save({name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("VoiceDisposition",["$resource",function(a){return a("/api/voice/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","gridOptions","VoiceMoh","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_mohs.csv",columnDefs:[{name:"name"},{name:"directory"},{name:"sort"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/mohs/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/voice/moh/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});b.result.then(function(b){return c.save(b).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.list",{url:"/list",templateUrl:"app/channels/voice/moh/list/list.html",controller:"VoiceMohListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceMoh",["$resource",function(a){return a("/api/voice/musiconholds/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs",{url:"/mohs",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","VoiceMoh","$stateParams","socket","Modal","$sce","$location","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=d,a.audioSources={},a.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],a.getMoh=function(){return e.get({id:f.id}).$promise.then(function(b){delete b.stamp,a.moh=b})["catch"](function(a){c.show(a.message,"danger")})},a.updateVoiceMoh=function(){return console.log("update"),e.update({id:f.id},a.moh).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.message,"danger")})},a.addMohs=function(){return e.save({id:f.id,controller:"files"},a.item).$promise.then(function(){j.path("/channels/voice/mohs/view/"+f.id+"/audios")})["catch"](function(a){c.show(a.message,"danger")})},a.getAudioFiles=function(){return e.get({id:f.id,controller:"files"}).$promise.then(function(b){a.audioFiles=b.files,a.mohPath=b.path,a.audioFiles.forEach(function(a){l(a)})})["catch"](function(a){c.show(a.message,"danger")})},a.getSecureSrc=function(a){return i.trustAsResourceUrl(a)},a.getSounds=function(){return a.item={sounds:[]},k.get().$promise.then(function(b){a.soundList=b.rows})["catch"](function(a){c.show(a.message,"danger")})};var l=function(c){b.get("/api/voice/musiconholds/stream",{params:{path:encodeURI(a.mohPath+"/"+c)}}).success(function(b){a.audioSources[c]="data:audio/ogg;base64,"+b}).error(function(a){console.error(a)})};a.deleteItem=h.confirm["delete"](function(e){b["delete"]("/api/voice/musiconholds/"+f.id+"/files",{params:{filename:e}}).success(function(){_.remove(a.audioFiles,function(a){return a===e}),c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){c.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.view",{url:"/view/:id",templateUrl:"app/channels/voice/moh/view/view.html",controller:"VoiceMohViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/channels/voice/moh/view/view.settings.html"}).state("main.channels.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/channels/voice/moh/view/view.audios.html",cache:!1}).state("main.channels.voice.mohs.view.add",{url:"/add",templateUrl:"app/channels/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$rootScope","$uibModal","VoiceQueue","gridOptions","Auth",function(a,b,c,d,e,f){a.initView=function(){ -a.Auth=f;var b={exporterCsvFilename:"voice_queues.csv",primaryKey:"name",columnDefs:[{name:"name"},{name:"strategy"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/voice/queues/view/{{row.entity.name}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/voice/queues/view/{{row.entity.name}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/channels/voice/queue/list/list.create.modal.html",controller:"VoiceQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","VoiceQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.list",{url:"/list",templateUrl:"app/channels/voice/queue/list/list.html",controller:"VoiceQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").factory("ReportQueue",["$resource",function(a){return a("/api/report/queues/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","VoiceQueue","VoiceContext","Team","Auth",function(a,b,c,d,e,f,g,h,i,j,k){a.penalty=0,a.Auth=k,a.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.monitorFormats=[{name:"wav",value:"wav"},{name:"gsm",value:"gsm"},{name:"Inactive",value:""}],a.queueAnnounces=[{display_name:"Default",value:null},{display_name:"Disabled",value:""}];var l=function(){return{select:function(b){return h.save({id:a.queue.name,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return h["delete"]({id:a.queue.name,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){return h.get({id:e.id}).$promise.then(function(b){b.joinempty=""===b.joinempty?[]:b.joinempty.split(","),b.leavewhenempty=""===b.leavewhenempty?[]:b.leavewhenempty.split(","),b.periodic_announce=""===b.periodic_announce?[]:b.periodic_announce.split(","),b.penalty=0,a.queue=b})["catch"](function(a){g.path("/channels/voice/queues/list")})},a.updateVoiceQueue=function(){var b=angular.copy(a.queue);return b.joinempty=b.joinempty.join(","),b.leavewhenempty=b.leavewhenempty.join(","),b.periodic_announce=b.periodic_announce.join(","),b.context||(b.context=null),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(d.instant(a.data.message),"danger")})},a.getTeams=function(){return j.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,h.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasVoiceQueue.penalty}}),l)})["catch"](function(a){console.error(a)})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(d.instant(data.message),"danger")})},a.getMohs=function(){b.get("/api/voice/musiconholds").success(function(b){a.voiceMohs=b.rows,f.syncUpdates("voice_musiconhold",a.voiceMohs)}).error(function(a){c.show(a.message,"danger")})},a.getSounds=function(){b.get("/api/sounds").success(function(b){a.queueAnnounces=a.queueAnnounces.concat(b),a.periodicAnnounces=angular.copy(b.rows),b.rows.unshift({display_name:"None",converted_path:null,value:""}),a.sounds=b.rows,f.syncUpdates("sound",a.sounds)}).error(function(a){console.error(a)})},a.returnAnnouncePath=function(a){return a.converted_path?a.converted_path+"/"+a.save_name:null===a.value?null:a.value}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.view",{url:"/view/:id",templateUrl:"app/channels/voice/queue/view/view.html",controller:"VoiceQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.queues.view.settings",{url:"/settings",templateUrl:"app/channels/voice/queue/view/view.settings.html"}).state("main.channels.voice.queues.view.agents",{url:"/agents",templateUrl:"app/channels/voice/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","VoiceQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.voicePause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.status=b.status,c.statusAt=b.statusAt,c.queueStatus=b.queueStatus,c.queueStatusAt=b.queueStatusAt,c.lastQueue=b.lastQueue,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_voice_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PVoiceQueues,"name"),b.queue)||n.isAdmin(),d=_.find(a.gridOptions.data,{agentId:b.UserId,queue:b.queue});if(!d&&b.logged&&c){var e=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),f=a.gridOptions.data.indexOf(e);a.gridOptions.data.splice(f+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,agent:b.membername,callstaken:b.callstaken?b.callstaken:0,online:e.online})}else d&&!b.logged?_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue}):d&&b.logged&&c&&(d.callstaken=b.callstaken?b.callstaken:0)}),e.socket.on("user_has_voice_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.voicePause,pauseType:b.pauseType,status:b.status||"UNKNOWN",statusAt:b.statusAt,queueStatus:b.queueStatus||"READY",queueStatusAt:b.queueStatusAt,lastQueue:b.lastQueue,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.VoiceQueues.forEach(function(c){c.UserHasVoiceQueue.logged&&a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,agent:b.name,callstaken:c.UserHasVoiceQueue.callstaken?c.UserHasVoiceQueue.callstaken:0,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.voiceQueues=b.rows,e.syncUpdates("voice_queue",a.voiceQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.voiceQueues=[];var t={controller:"realtime",controller1:"voice",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div data-ng-if=\"row.entity.isAgent\">{{'APPLICATION_'+row.entity.status | translate}} <span data-ng-if=\"row.entity.statusAt && (row.entity.status === 'BUSY' || row.entity.status === 'ONHOLD' || row.entity.status === 'INUSE')\">(<timer start-time=\"grid.appScope.moment(row.entity.statusAt).unix()*1000\">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></span></div>",filter:{type:m.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"queueStatus",displayName:"APPLICATION_QUEUE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><span class="left-margin"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i></span><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select><span> {{\'APPLICATION_\'+row.entity.queueStatus.toUpperCase() | translate}}</span><span data-ng-if="(row.entity.queueStatus!==\'complete\' && (row.entity.queueStatus!==\'paused\' || row.entity.pauseType === \'ACW\'))"> [{{row.entity.lastQueue}}]</span><span data-ng-if="row.entity.pause"> [{{row.entity.pauseType}}]</span><timer data-ng-if="row.entity.queueStatusAt && row.entity.queueStatus!==\'complete\'" start-time="grid.appScope.moment(row.entity.queueStatusAt).unix()*1000"> [{{hhours}}:{{mminutes}}:{{sseconds}}]</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"paused",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_CONNECT")},{value:"complete",label:d.instant("APPLICATION_COMPLETE")},{value:"called",label:d.instant("APPLICATION_CALLED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"callstaken",displayName:"APPLICATION_CALLS_TAKEN",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.callstaken !== null">{{row.entity.callstaken}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1,width:100},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queue" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queue)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.voiceQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_voice_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.voiceQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(a){return i.save({name:"QueueAdd",agent:e,queues:a.queues,channel:"voice",data1:e,data3:a.queues.join(","),data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queue:b,channel:"voice",data1:a,data3:b,data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/agent.modal.info.html",controller:"VoiceRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/voice/realtime/view/agent/agent.html",controller:"VoiceRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","agent",function(a,b,c){a.agent=c,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewOutboundCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportDial","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return j.spin("spinner-grid"),g.get({controller:"waiting",controller2:"calls"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){p(),j.stop("spinner-grid")})}function p(){e.socket.on("report_dial:save",function(b){a.gridOptions.data.unshift(b)}),e.socket.on("report_dial:update",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(_.merge(c,b),!b.endtime||b.answertime&&b.answertime==b.endtime||m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4))})}a.moment=moment,a.initDials=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate",cellClass:"text-center"},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.channel.split('/')[1].split('-')[0]}}</div>"},{name:"calleridnum",displayName:"APPLICATION_CALLERID",headerCellFilter:"translate",cellClass:"text-center"},{name:"dialstring",cellClass:"text-center"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.endtime && !row.entity.answertime">{{\'APPLICATION_RINGING\' | translate}}</span><span data-ng-if="row.entity.answertime && row.entity.answertime == row.entity.endtime">{{\'APPLICATION_TALKING\' | translate}}</span><span data-ng-if="row.entity.answertime && row.entity.answertime != row.entity.endtime">{{\'APPLICATION_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.endtime && !row.entity.answertime">{{\'APPLICATION_\'+row.entity.dialstatus | translate}}</span><span data-ng-if="(!row.entity.endtime && !row.entity.answertime) || (row.entity.answertime && row.entity.answertime == row.entity.endtime)"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridOptions.data.length)})}},o()};var q=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_dial")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.outbound",{url:"/outbound",templateUrl:"app/channels/voice/realtime/view/outbound/outbound.html",controller:"VoiceRealtimeViewOutboundCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewParameterCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){h.stop("spinner-grid")})}function l(){e.socket.on("voice_queue:save",function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.push({abandoned:0,active:0,answered:0,holdtime:"00:00:00",name:b.name,talktime:"00:00:00",totalcalls:0,unmanaged:0,waiting:0})}),e.socket.on("voice_queue:remove",function(b){_.remove(a.gridOptions.data,{name:b.name})}),e.socket.on("report_queue:parameters",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&_.merge(c,b)})}var m={offset:0,limit:10,controller:"parameters"};a.moment=moment,a.initParameters=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalFiltering:!0,useExternalSorting:!0,columnDefs:[{name:"name",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"waiting",displayName:"APPLICATION_WAITING",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"active",displayName:"APPLICATION_ACTIVE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"answered",displayName:"APPLICATION_ANSWERED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:j.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"abandoned",displayName:"APPLICATION_ABANDONED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"unmanaged",displayName:"APPLICATION_UNMANAGED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"holdtime",displayName:"APPLICATION_HOLDTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"talktime",displayName:"APPLICATION_TALKTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"totalcalls",displayName:"APPLICATION_TOTAL_CALLS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){if(a.filters.length>1){a.filters.forEach(function(b){b.term?64===b.condition?m[a.name+"_uiFrom"]=b.term:256===b.condition&&(m[a.name+"_uiTo"]=b.term):64===b.condition?delete m[a.name+"_uiFrom"]:256===b.condition&&delete m[a.name+"_uiTo"]})}else a.filters.length&&a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(),l()};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("voice_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.parameters",{url:"/parameters",templateUrl:"app/channels/voice/realtime/view/parameter/parameter.html",controller:"VoiceRealtimeViewParameterCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return j.spin("spinner-grid"),g.get({controller:"waiting",controller2:"calls"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){p(),j.stop("spinner-grid")})}function p(){e.socket.on("report_queue:save",function(b){a.gridOptions.data.push(b)}),e.socket.on("report_queue:update",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(_.merge(c,b),(b.queuecallerabandon||b.queuecallercomplete)&&m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4))})}a.moment=moment,a.initQueues=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.queuecallerleaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && !row.entity.queuecallerabandon && !row.entity.queuecallercomplete">{{\'APPLICATION_ACTIVE\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallerabandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallercomplete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="!row.entity.queuecallercomplete && !row.entity.queuecallerabandon"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}</div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.connectedlinenum || ''}} {{row.entity.connectedlinename || ''}}</div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridOptions.data.length)})}},o()};var q=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.queues",{url:"/queues",templateUrl:"app/channels/voice/realtime/view/queue/queue.html",controller:"VoiceRealtimeViewQueueCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Telephone","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(){return j.spin("spinner-grid"),g.get(o).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){j.stop("spinner-grid")})}function n(){e.socket.on("telephone:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status=b.status,c.statusAt=b.statusAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal)}),e.socket.on("telephone:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}var o={offset:0,limit:10};a.moment=moment,a.initTelephones=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_TELEPHONE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.name}} <{{row.entity.internal}}></div>"},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{'APPLICATION_'+row.entity.status | translate}} <span data-ng-if=\"row.entity.statusAt && (row.entity.status === 'BUSY' || row.entity.status === 'ONHOLD' || row.entity.status === 'INUSE')\">(<timer start-time=\"grid.appScope.moment(row.entity.statusAt).unix()*1000\">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></span></div>",filter:{type:l.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise; -},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){p(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){o.offset=(a-1)*b,o.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name]}),m()})}},m(),n()};var p=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("telephone")}),a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/telephone/telephone.modal.info.html",controller:"VoiceRealtimeViewTelephoneInfoModalCtrl",resolve:{telephone:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.telephones",{url:"/telephones",templateUrl:"app/channels/voice/realtime/view/telephone/telephone.html",controller:"VoiceRealtimeViewTelephoneCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneInfoModalCtrl",["$scope","$uibModalInstance","$http","telephone",function(a,b,c,d){a.telephone=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope","Auth",function(a,b){a.Auth=b}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view",{url:"/view",templateUrl:"app/channels/voice/realtime/view/view.html",controller:"VoiceRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRecordingListCtrl",["$scope","$translate","$sce","Recording","gridOptions","xAlert","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h){a.Recording=d;a.updateRating=function(a,c){return d.update({id:a,rating:c}).$promise.then(function(){f.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.initView=function(){var b=[{directive:'<motion-file-download params="{id:row.entity.uniqueid,controller:\'stream\'}" resource="grid.appScope.Recording" mimetype="audio/wav" btnclass="btn btn-xs blue-hoki" filename="row.entity.uniqueid+\'.wav\'"></motion-file-download>'}];h.isAdmin()&&b.push({"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.uniqueid)"});var c={exporterCsvFilename:"recordings.csv",rowHeight:30,primaryKey:"uniqueid",columnDefs:[{name:"uniqueid"},{name:"calleridnum"},{name:"membername"},{name:"type",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"{'icon-call-in font-green':row.entity.type === 'inbound','icon-call-out font-red':row.entity.type === 'outbound','icon-question':row.entity.type === 'unknown','icon-earphones font-purple':row.entity.type === 'internal'}\"></i></div>",filter:{type:g.filter.SELECT,selectOptions:[{value:"inbound",label:"Inbound"},{value:"outbound",label:"Outbound"}]}},{name:"queue"},{name:"createdAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:g.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:g.filter.LESS_THAN_OR_EQUAL}]},{name:"rating",filter:{type:g.filter.SELECT,selectOptions:[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}]},cellClass:"ui-grid-vcenter",width:"100",cellTemplate:'<div><uib-rating data-ng-model="row.entity.rating" data-ng-click="grid.appScope.updateRating(row.entity.uniqueid, row.entity.rating)" aria-labelledby="default-rating"></uib-rating></div>'},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:'<audio-file-download params="{id:row.entity.uniqueid,controller:\'stream\'}" resource="grid.appScope.Recording"></audio-file-download>'}]},{name:"action",width:150,buttons:b}]};a.gridOptions=e.gridOptions(d,c,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings.list",{url:"/list",templateUrl:"app/channels/voice/recording/list/list.html",controller:"VoiceRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Recording",["$resource",function(a){return a("/api/voice/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings",{url:"/recordings",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound",{url:"/inbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$location","$translate",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"inbound",appdata:"Inbound Call",context:"from-voip-provider"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),f.path("/channels/voice/routes/inbound/view/"+a.id+"/applications")})["catch"](function(a){console.log(a),e.show(g.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.Applications.length"><span data-ng-repeat="app in row.entity.Applications | limitTo:2">{{app.app}}({{app.appdata[0]}}), </span>...</div><div data-ng-if="!row.entity.Applications.length">{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/inbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"inbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/inbound/list/create.modal.html",controller:"VoiceRouteInboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.list",{url:"/list",templateUrl:"app/channels/voice/route/inbound/list/list.html",controller:"VoiceRouteInboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.selectedRows=[],a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="icon-settings"></i></a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteApp(row.entity.app+\' application\', grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="fa fa-trash"></i></a></div>'}],onRegisterApi:function(b){b.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.selectedRows.push(b.entity):_.pull(a.selectedRows,b.entity)}),b.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.selectedRows=_.map(b,"entity"):a.selectedRows=[]}),b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}};var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.route.Applications[a.selectedApp].appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/inbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/inbound/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/inbound/view/"+c.id+"/"+d)})["catch"](function(a){console.log(a),h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.deleteItems=g.confirm["delete"](function(){_.remove(a.route.Applications,function(b){return _.includes(a.selectedRows,b)}),a.selectedRows=[],a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/inbound/view/view.html",controller:"VoiceRouteInboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/inbound/view/view.settings.html"}).state("main.channels.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/inbound/view/view.applications.html"}).state("main.channels.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.inbound.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal",{url:"/internal",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCreateCtrl",["$scope","$uibModalInstance","Route","application","$location","$translate","xAlert",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"internal",appdata:"Internal Call",context:"from-sip"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),e.path("/channels/voice/routes/internal/view/"+a.id+"/applications")})["catch"](function(a){g.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InternalRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.Applications.length"><span data-ng-repeat="app in row.entity.Applications | limitTo:2">{{app.app}}({{app.appdata[0]}}),</span>...</div><div data-ng-if="!row.entity.Applications.length">{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/internal/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"internal"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/internal/list/create.modal.html",controller:"VoiceRouteInternalListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.list",{url:"/list",templateUrl:"app/channels/voice/route/internal/list/list.html",controller:"VoiceRouteInternalListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.selectedRows=[],a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="icon-settings"></i></a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteApp(row.entity.app+\' application\', grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="fa fa-trash"></i></a></div>'}],onRegisterApi:function(b){b.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.selectedRows.push(b.entity):_.pull(a.selectedRows,b.entity)}),b.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.selectedRows=_.map(b,"entity"):a.selectedRows=[]}),b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}},a.deleteItems=g.confirm["delete"](function(){_.remove(a.route.Applications,function(b){return _.includes(a.selectedRows,b)}),a.selectedRows=[],a.updateRoute()});var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/internal/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/internal/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/internal/view/"+c.id+"/"+d)})["catch"](function(a){h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/internal/view/view.html",controller:"VoiceRouteInternalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/internal/view/view.settings.html"}).state("main.channels.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/internal/view/view.applications.html"}).state("main.channels.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.internal.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$translate","$location","Tag",function(a,b,c,d,e,f,g,h){a.$application=d.application,a.forms={route:void 0},a.item={type:"outbound",appdata:"Outbound Call",context:"from-sip"},a.getTags=function(){return h.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),g.path("/channels/voice/routes/outbound/view/"+a.id+"/routes")})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"OutboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_DESTINATION_PATTERN"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.Applications.length"><span data-ng-repeat="app in row.entity.Applications | limitTo:2">{{app.app}}({{app.appdata[0]}}),</span>...</div><div data-ng-if="!row.entity.Applications.length">{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/outbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"outbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/outbound/list/create.modal.html",controller:"VoiceRouteOutboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.list",{url:"/list",templateUrl:"app/channels/voice/route/outbound/list/list.html",controller:"VoiceRouteOutboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound",{url:"/outbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval","Route","Trunk","VoiceContext","Interval","Tag",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){function p(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{ -id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function q(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=c,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.selectedRows=[],a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',columnDefs:[{name:"app",displayName:"APPLICATION_APPLICATION",cellClass:"ui-grid-vcenter",cellTemplate:"<div><span data-ng-if=\"row.entity.appType === 'externalDial'\">Default</span><span data-ng-if=\"row.entity.appType !== 'externalDial'\">{{row.entity.app}}</span></div>",headerCellFilter:"translate",enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,enableColumnMenu:!1,cellClass:"ui-grid-vcenter",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="icon-settings"></i></a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteApp(row.entity.app+\' application\', grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="fa fa-trash"></i></a></div>'}],onRegisterApi:function(b){b.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.selectedRows.push(b.entity):_.pull(a.selectedRows,b.entity)}),b.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.selectedRows=_.map(b,"entity"):a.selectedRows=[]}),b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){r(a.gridOptions.data.length)})}},a.deleteItems=h.confirm["delete"](function(){_.remove(a.route.Applications,function(b){return _.includes(a.selectedRows,b)}),a.selectedRows=[],a.updateRoute()});var r=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={info:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""},a.applications=[{name:"Default",value:"Dial",type:"outboundDial"},{name:"Custom",value:"custom",type:"custom"}]},a.$watch("interval",function(a){a&&p(a)},!0),a.$watch("main.app",function(d){if(d){var e,f;switch(void 0===a.selectedApp&&(a.application={appType:d.type,app:d.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),d.value){case"Dial":e=l;break;default:e=null,f=null}if(e)return e.get().$promise.then(function(b){a.items=b.rows}).then(function(){return f?f.get().$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){b.show(c.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,f.path(b)},a.getIntervals=function(){return n.get().$promise.then(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:d.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,r(a.gridOptions.data.length)})["catch"](function(a){f.path("/channels/voice/routes/outbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)f.path("/channels/voice/routes/outbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.applications,{type:a.route.Applications[a.selectedApp].appType});else{a.main.app=_.find(a.applications,{type:"custom"});var b=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[b],a.route.Applications[a.selectedApp].appType="custom"}q()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,f.path("/channels/voice/routes/outbound/view/"+d.id+"/routes/settings")},a.updateRoute=function(e){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(g){a.selectedApp=void 0,b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),e&&f.path("/channels/voice/routes/outbound/view/"+d.id+"/"+e)})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return m.get().$promise.then(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTags=function(){return o.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.deleteApp=h.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("routes")},a.goNext=function(){g.wizard().next()},a.previous=function(){g.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){e.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/outbound/view/view.html",controller:"VoiceRouteOutboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.settings.html"}).state("main.channels.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/channels/voice/route/outbound/view/view.routes.html"}).state("main.channels.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/channels/voice/route/outbound/view/view.route.html"}).state("main.channels.voice.routes.outbound.view.routes.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.routeSettings.html"})}]),angular.module("xCallyShuttleApp").factory("Route",["$resource",function(a){return a("/api/voice/extensions/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes",{url:"/routes",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice",{url:"/voice",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:7}}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","VoiceMail","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"voice_mails.csv",primaryKey:"uniqueid",columnDefs:[{name:"mailbox"},{name:"fullname"},{name:"email"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/voicemails/view/{{row.entity.uniqueid}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.mailbox, row.entity.uniqueid)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.list",{url:"/list",templateUrl:"app/channels/voice/voicemail/list/list.html",controller:"VoiceVoicemailListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailViewCtrl",["$scope","VoiceMail","VoiceMailMessage","VoiceContext","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){var b={exporterCsvFilename:"voice_mail_messages.csv",primaryKey:"id",columnDefs:[{name:"callerid"},{name:"stamp",displayName:"APPLICATION_DATE",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{grid.appScope.moment(row.entity.stamp).format('YYYY-MM-DD HH:mm:ss')}}</div>"},{name:"duration",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.duration*1000 | date:'mm:ss'}}</div>"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:'<audio-file-download params="{id:row.entity.id,controller:\'download\'}" resource="grid.appScope.VoiceMailMessage"></audio-file-download>'}]},{name:"action",width:150,buttons:[{directive:'<motion-file-download params="{id:row.entity.id,controller:\'download\'}" resource="grid.appScope.VoiceMailMessage" mimetype="audio/wav" btnclass="btn btn-xs blue-hoki" filename="row.entity.msg_id+\'.wav\'"></motion-file-download>'},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)"}]}]};a.gridOptions=m.gridOptions(c,b,a,{mailbox:a.voicemail.mailbox,context:a.voicemail.context})}a.moment=moment,a.VoiceMailMessage=c,a.getVoicemail=function(){return b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b})["catch"](function(a){l.path("/voice/voicemails/list")})},a.updateVoiceVoicemail=function(){return b.update({id:h.uniqueid},a.voicemail).$promise.then(function(){f.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(g.instant(a.message),"danger")})},a.getContexts=function(){return d.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){f.show(a.message,"danger")})},a.getMessages=function(){return a.voicemail?void n():b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b,n()})["catch"](function(a){l.path("/voice/voicemails/view/"+h.uniqueid+"/settings")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/channels/voice/voicemail/view/view.html",controller:"VoiceVoicemailViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/channels/voice/voicemail/view/view.settings.html"}).state("main.channels.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/channels/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceMail",["$resource",function(a){return a("/api/voice/voicemails/:id/:controller",{uniqueid:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails",{url:"/voicemails",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").factory("VoiceMailMessage",["$resource",function(a){return a("/api/voice/voicemails/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","VoiceMail","xAlert","WizardHandler","$location","Setting",function(a,b,c,d,e,f){a.initWizard=function(){a.form={},a.item={context:"from-voicemail"}},a.next=function(){d.wizard().next()},a.previous=function(){d.wizard().previous()},a.exitValidation=function(a){return a},a.getFirstFreeMailbox=function(){f.get({controller:"mailbox"}).$promise.then(function(b){a.item.mailbox=b.value})["catch"](function(a){c.show(a.data.message,"danger")})},a.createItem=function(){return a.item.customer_id=a.item.mailbox,b.save(a.item).$promise.then(function(){e.path("/channels/voice/voicemails/list")})["catch"](function(a){c.show(data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/channels/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Company",["$resource",function(a){return a("/api/contactmanager/companies/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies",{url:"/companies",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("CompanyListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyListCtrl",["$scope","$translate","xAlert","Modal","$uibModal","$log","Company","gridOptions","$location",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Companies.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"profile",href:"/contactmanager/companies/view/{{row.entity.id}}/settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({companyId:{{row.entity.id}}})"}]}]};a.gridOptions=h.gridOptions(g,b,a)},a.create=function(){var a=e.open({animation:!0,size:"lg",templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"});a.result.then(function(a){return g.save(a).$promise.then(function(a){i.path("/contactmanager/companies/view/"+a.id+"/settings")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.list",{url:"/list",templateUrl:"app/contactmanager/company/list/list.html",controller:"ContactManagerCompanyListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Company",function(a,b,c,d,e,f){a.getCompany=function(){return f.get({id:d.id}).$promise.then(function(b){a.company=b})["catch"](function(a){e.path("/contactmanager/companies/list")})},a.updateCompany=function(){return f.update({id:d.id},a.company).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.view",{url:"/view/:id",templateUrl:"app/contactmanager/company/view/view.html",controller:"ContactManagerCompanyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.companies.view.settings",{url:"/settings",templateUrl:"app/contactmanager/company/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Contact",["$resource",function(a){return a("/api/contactmanager/contacts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts",{url:"/contacts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","List","Contact","$translate",function(a,b,c,d,e,f,g,h,i){function j(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);for(var c,f=[],g=b;b+200>g&&g<a.csvLength;g++)c={},_.forOwn(a.item,function(b,e){switch(e){case"tags":c.tags=[],a.item.tags.forEach(function(a){""!==d[g][a]&&c.tags.push(d[g][a])});break;default:c[e]=d[g][b]}}),c.tags=c.tags?c.tags.join(","):void 0,c.ListId=a.item.ListId,c.CompanyId=a.item.CompanyId||null,f.push(c);return h.save({controller:"bulk"},{contacts:f}).$promise.then(function(b){a["import"].success+=b.ok*a.addingQuote,a["import"].succeeded+=b.ok,a["import"].fail+=b.ko*a.addingQuote,a["import"].failed+=b.ko,j(g)})["catch"](function(b){a.stopped=!0,e.error(b),j(g)})}a.indexes=c,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=d.length,a.addingQuote=100/a.csvLength,a.forms={csv:void 0},a.item={},a.start=function(){a.importing=!0,a.submitted=!0,j(0)},a.getLists=function(){return g.get().$promise.then(function(b){a.lists=b.rows,a.item.ListId=1,a.getCustomFields()})["catch"](function(a){e.show(i.instant(a.message)+"!","danger")})},a.getCustomFields=function(){return g.get({listId:a.item.ListId,controller:"customfields"}).$promise.then(function(b){b.rows.forEach(function(a){a.values=JSON.parse(a.values)}),a.customFields=b.rows,f.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),f.socket.on("custom_field:save",function(b){if(b.ListId===a.item.ListId){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}})})["catch"](function(a){console.error(a),e.show(a.message,"danger")})},a.close=function(){b.close()},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("ContactManagerContactListCtrl",["$scope","$translate","Modal","FileUploader","Papa","$uibModal","$log","Contact","gridOptions","List","uiGridConstants","xAlert","socket","$stateParams","Auth","Company",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.Auth=o,a.initView=function(){var c;return j.get().$promise.then(function(b){return a.lists=[],a.customFields=[],b.rows.forEach(function(b,c){_.forEach(b.CustomFields,function(b){a.customFields.push({name:b.name,alias:b.alias})}),a.lists.push({value:b.id,label:b.name})}),p.get().$promise}).then(function(b){a.companies=[],b.rows.forEach(function(b,c){a.companies.push({value:b.id,label:b.name})})}).then(function(){var b=[{"class":"blue-hoki",name:"profile",onClick:"grid.appScope.openContactTab(row.entity)"}];o.isAgent()||b.push({"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}),c={exporterCsvFilename:"Contacts.csv",columnDefs:[{name:"firstName"},{name:"lastName"},{name:"phone"},{name:"email"},{name:"ListId",displayName:"APPLICATION_LIST",field:"List.name",filter:{type:k.filter.SELECT,term:n.listId||null,selectOptions:a.lists}},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company.name",filter:{type:k.filter.SELECT,term:n.companyId||null,selectOptions:a.companies}},{name:"tags",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-12 col-md-offset-0 col-sm-12 col-sm-offset-0 col-xs-12 col-xs-offset-0"><div custom-grid-tags-filter-header></div></div></div>',filters:[{name:"tags"}],cellTemplate:"<div class=\"centered-uigrid-td\">{{row.entity.tags.join(',')}}</div>"}]},_.forEach(a.customFields,function(a){c.columnDefs.push({name:a.name,displayName:a.alias,visible:!1}),c.columnDefs.push({name:"action",width:125,buttons:b})}),a.gridOptions=i.gridOptions(h,c,a)})["catch"](function(a){l.show(b.instant(a.message)+"!","danger")})},d.FileSelect.prototype.isEmptyAfterSelection=function(){return!0};var q=a.uploader=new d({queueLimit:1,clearInputAfterAddedToQueue:!0});q.onAfterAddingFile=function(b){console.log("fileadded"),e.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){console.log(a)}})},a["import"]=function(b){var c=f.open({animation:!0,size:"lg",backdrop:"static",keyboard:!1,templateUrl:"app/contactmanager/contact/list/import.modal.html",controller:"ContactManagerListImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){a.gridOptions.getPage()},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts.list",{url:"/list",templateUrl:"app/contactmanager/contact/list/list.html",params:{listId:null,companyId:null},controller:"ContactManagerContactListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager",{url:"/contactmanager",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").factory("List",["$resource",function(a){return a("/api/contactmanager/lists/:listId/:controller/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists",{url:"/lists",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCtrl",["$scope","$http","$translate","Modal","xAlert","$uibModal","$log","List","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Lists.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"settings",href:"/contactmanager/lists/view/{{row.entity.id}}/settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({listId:{{row.entity.id}}})"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var d=f.open({animation:!0,templateUrl:"app/contactmanager/list/list/create.modal.html",controller:"ContactManagerListListCreateModalCtrl"});d.result.then(function(d){b.post("/api/contactmanager/lists/",d).then(function(b){a.gridOptions.getPage(),e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.list",{url:"/list",templateUrl:"app/contactmanager/list/list/list.html",controller:"ContactManagerListListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListCustomFieldViewCreateModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.$translate=c,a.forms={dashboard:void 0},a.item={},a.choices=[{value:""}],a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)},a.types=[{name:"APPLICATION_TEXT",value:"text"},{name:"APPLICATION_SELECT",value:"select"}],a.ok=function(){"select"===a.item.type&&(a.item.values=angular.toJson(a.choices)),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","$uibModal","$log","Modal","List","Team","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l){var m=function(){return{select:function(b){return j.save({listId:a.list.id,controller:"agents"},{agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return j["delete"]({listId:a.list.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getList=function(){return j.get({listId:d.id}).$promise.then(function(b){a.list=b})["catch"](function(a){f.path("/contactmanager/lists/list")})},a.updateList=function(){return j.update({id:d.id},a.list).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTeams=function(){return k.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,a.list?void 0:a.getList()}).then(function(){return a.list.defaultEntry&&f.path("/contactmanager/lists/list"),j.get({listId:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id}}),m)})["catch"](function(a){console.error(a)})},a.initCustomFields=function(){var b={exporterCsvFilename:"customfields.csv",primaryKey:"id",columnDefs:[{name:"alias",displayName:"APPLICATION_NAME"},{name:"name",displayName:"APPLICATION_FIELD"},{name:"type"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/contactmanager/lists/view/{{grid.appScope.$stateParams.id}}/customfields/settings/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",name:"delete"}]}]};a.gridOptions=l.gridOptions(j,b,a,{listId:d.id,controller:"customfields"})},a.create=function(){var e=g.open({animation:!0,templateUrl:"app/contactmanager/list/view/create.modal.html",controller:"ContactManagerListCustomFieldViewCreateModalCtrl"});e.result.then(function(e){return j.save({listId:d.id,controller:"customfields"},e).$promise.then(function(d){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a.getCustomField=function(){return j.get({listId:d.id,controller:"customfields",id:d.cfId}).$promise.then(function(b){console.log(b),a.customField=b,"select"===a.customField.type&&(a.choices=JSON.parse(a.customField.values))})["catch"](function(a){console.error(a)})},a.updateCustomField=function(){var e=angular.copy(a.customField);return"select"===e.type&&(e.values=angular.toJson(a.choices)),j.update({listId:d.id,controller:"customfields",id:d.cfId},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.view",{url:"/view/:id",templateUrl:"app/contactmanager/list/view/view.html",controller:"ContactManagerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.lists.view.settings",{url:"/settings",templateUrl:"app/contactmanager/list/view/view.settings.html"}).state("main.contactmanager.lists.view.agents",{url:"/agents",templateUrl:"app/contactmanager/list/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.contactmanager.lists.view.customfields",{url:"/customfields",templateUrl:"app/contactmanager/list/view/view.customFields.html"}).state("main.contactmanager.lists.view.customfields.settings",{url:"/settings/:cfId",templateUrl:"app/contactmanager/list/view/view.customFieldSettings.html",controller:"ContactManagerListViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("DashboardChatCtrl",["$scope","Auth","ChatRoom","socket","Agent","$q","$translate","ReportChatSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment;var j=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasChatQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS", -headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.abandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=f.defer();return b.resolve(g.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"chat",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_chat_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.ChatQueueId})||a.table1.data.push({id:c.ChatQueueId,UserHasChatQueue:c})}),d.socket.on("user_has_chat_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.ChatQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_chat_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_chat_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("chat_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(a,b,c){a.Auth=c,a.modules=_.map(c.getCurrentUser().Modules,"id"),a.isAvailableModule=function(b){return _.includes(a.modules,b)}}]),angular.module("xCallyShuttleApp").factory("Dashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.dashboard",{"abstract":!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:1}}}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.chat",{url:"/chat",controller:"DashboardChatCtrl",templateUrl:"app/dashboard/chat/chat.html",data:{permissions:{redirectTo:"landing",id:8}}}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html",data:{permissions:{redirectTo:"landing",id:9}}}).state("main.dashboard.fax",{url:"/fax",controller:"DashboardFaxCtrl",templateUrl:"app/dashboard/fax/fax.html",data:{permissions:{redirectTo:"landing",id:10}}}).state("main.dashboard.sms",{url:"/sms",controller:"DashboardSmsCtrl",templateUrl:"app/dashboard/sms/sms.html",data:{permissions:{redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("DashboardFaxCtrl",["$scope","Auth","FaxRoom","socket","Agent","$translate","$q","ReportFaxSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasFaxQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"fax",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_fax_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.FaxQueueId})||a.table1.data.push({id:c.FaxQueueId,UserHasFaxQueue:c})}),d.socket.on("user_has_fax_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.FaxQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_fax_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_fax_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return console.log("asdasd"),c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("fax_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","MailRoom","socket","Agent","$translate","$q","ReportMailSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasMailQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){reSize(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"mail",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_mail_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.MailQueueId})||a.table1.data.push({id:c.MailQueueId,UserHasMailQueue:c})}),d.socket.on("user_has_mail_queue:remove",function(c){console.log(c),c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.MailQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_mail_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_mail_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("mail_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","SmsRoom","socket","Agent","$translate","$q","ReportSmsSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasSmsQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"sms",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_sms_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.SmsQueueId})||a.table1.data.push({id:c.SmsQueueId,UserHasSmsQueue:c})}),d.socket.on("user_has_sms_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.SmsQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_sms_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_sms_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("sms_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","Auth","ReportQueue","ReportCall","Agent","socket","$timeout",function(a,b,c,d,e,f,g){a.Auth=b,a.moment=moment;var h=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasVoiceQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"},{name:"UserHasVoiceQueue.loggedAt",displayName:"logged At",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.UserHasVoiceQueue.loggedAt"></span></div>'},{name:"UserHasVoiceQueue.lastcall",headerCellFilter:"translate",displayName:"APPLICATION_LAST_CALL",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.UserHasVoiceQueue.lastcall"></span></div>'},{name:"UserHasVoiceQueue.callstaken",headerCellFilter:"translate",displayName:"APPLICATION_CALLS_TAKEN",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){h(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!1,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.queuecallerleaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && !row.entity.queuecallerabandon && !row.entity.queuecallercomplete">{{\'APPLICATION_ACTIVE\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallerabandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallercomplete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="!row.entity.queuecallercomplete && !row.entity.queuecallerabandon"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}</span></div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.connectedlinenum || ''}} {{row.entity.connectedlinename || ''}}</span></div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],onRegisterApi:function(b){a.gridApi1=b,a.gridApi1.grid.registerDataChangeCallback(function(){h(a.gridApi1.core.getVisibleRows(a.gridApi1.grid).length)})}},e.get({id:b.getCurrentUser().id,controller:"voice",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){f.socket.on("user_has_voice_queue:save",function(c){if(c.UserId===b.getCurrentUser().id){var d=_.findIndex(a.table1.data,{name:c.queue});d>-1?(a.table1.data[d].UserHasVoiceQueue.loggedAt=c.loggedAt,a.table1.data[d].UserHasVoiceQueue.lastcall=c.lastcall,a.table1.data[d].UserHasVoiceQueue.callstaken=c.callstaken):(c.callstaken=0,a.table1.data.push({name:c.queue,UserHasVoiceQueue:c}))}}),f.socket.on("user_has_voice_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{name:c.queue})})})["catch"](function(a){console.error(a)}),c.get({id:"waiting",controller:"calls"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){f.socket.on("report_queue:save",function(b){a.table2.data.push(b)}),f.socket.on("report_queue:update",function(c){var d=_.find(a.table2.data,{id:c.id});d&&(_.merge(d,c),(c.queuecallerabandon||c.queuecallercomplete||c.connectedlinename!==b.getCurrentUser().fullname)&&g(function(){_.remove(a.table2.data,{id:c.id})},1e4))})})["catch"](function(a){console.error(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,f.socket.on("dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk",{url:"/desk",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("DeskAccount",["$resource",function(a){return a("/api/desk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("DeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedDeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedDeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("desk_account"),b.url="/api/desk/accounts",h.getPage(b).then(function(d){a.displayedDeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedDeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedDeskAccounts.length)}),f.socket.on("desk_account:save",function(){a.initList(b)}),f.socket.on("desk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/desk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/desk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/desk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.list",{url:"/list",templateUrl:"app/desk/list/list.html",controller:"DeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("DeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","desk_com",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){f.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){g.unsyncUpdates("desk_configuration"),g.unsyncUpdates("desk_field")}),a.initView=function(){b.get("/api/desk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){h.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/desk/accounts/"+c.id,a.account).success(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/desk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,g.socket.on("desk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.deleteConfiguration=i.confirm["delete"](function(a){b["delete"]("api/desk/configurations/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/desk/configurations",a.configuration).success(function(a){e.path("desk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){h.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/desk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=j.fields.concat(b)}).error(function(a){h.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/desk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,g.socket.on("desk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){h.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/desk/fields/"+a.id).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/desk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/desk/fields/"+a.id,a).success(function(){}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(b.customField=_.result(c,"custom",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.data.choices?c.data.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.view",{url:"/view/:id",templateUrl:"app/desk/view/view.html",controller:"DeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.desk.view.account",{url:"/account",templateUrl:"app/desk/view/view.account.html"}).state("main.desk.view.configurations",{url:"/configurations",templateUrl:"app/desk/view/view.configurations.html"}).state("main.desk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/desk/view/view.configurationSettings.html",controller:"DeskViewCtrl"}).state("main.desk.view.configuration",{url:"/configuration",templateUrl:"app/desk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("DeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/desk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/desk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.wizard",{url:"/wizard",templateUrl:"app/desk/wizard/wizard.html",controller:"DeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk",{url:"/freshdesk",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("FreshdeskAccount",["$resource",function(a){return a("/api/freshdesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedFreshdeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedFreshdeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("freshdesk_account"),b.url="/api/freshdesk/accounts",h.getPage(b).then(function(d){a.displayedFreshdeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedFreshdeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedFreshdeskAccounts.length)}),f.socket.on("freshdesk_account:save",function(){a.initList(b)}),f.socket.on("freshdesk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/freshdesk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/freshdesk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/freshdesk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.list",{url:"/list",templateUrl:"app/freshdesk/list/list.html",controller:"FreshdeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("freshdesk_configuration"),h.unsyncUpdates("freshdesk_field")}),a.initView=function(){b.get("/api/freshdesk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/freshdesk/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/freshdesk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("freshdesk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/freshdesk/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/freshdesk/configurations",a.configuration).success(function(a){e.path("freshdesk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/freshdesk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=[],b=f("freshdesk")(b),_.forEach(b,function(b){a.accountFields.push(b.ticket_field)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/freshdesk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("freshdesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows; -}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/freshdesk/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/freshdesk/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"name",b.idField);c&&(b.customField=!_.result(c,"default",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.choices.length>0?c.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.view",{url:"/view/:id",templateUrl:"app/freshdesk/view/view.html",controller:"FreshdeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.freshdesk.view.account",{url:"/account",templateUrl:"app/freshdesk/view/view.account.html"}).state("main.freshdesk.view.configurations",{url:"/configurations",templateUrl:"app/freshdesk/view/view.configurations.html"}).state("main.freshdesk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/freshdesk/view/view.configurationSettings.html",controller:"FreshdeskViewCtrl"}).state("main.freshdesk.view.configuration",{url:"/configuration",templateUrl:"app/freshdesk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/freshdesk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/freshdesk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.wizard",{url:"/wizard",templateUrl:"app/freshdesk/wizard/wizard.html",controller:"FreshdeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.iframe",{url:"/iframe",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("IframeViewCtrl",["$scope","Auth","Integration","xAlert","$translate","$sce",function(a,b,c,d,e,f){a.Auth=b,a.initView=function(){return c.get({state:"iframe"}).$promise.then(function(b){a.iframe=_.first(b.rows),a.iframe.remoteUri&&(a.url=f.trustAsResourceUrl(a.iframe.remoteUri))})["catch"](function(a){d.error(a)})},a.updateItem=function(){return b.isAgent()?void 0:c.update({id:a.iframe.id},a.iframe).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){d.error(a)})},a.getSrc=function(){return f.trustAsResourceUrl(a.iframe.remoteUri)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.iframe.view",{url:"/view",templateUrl:"app/iframe/view/view.html",controller:"IframeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(a){return a("/api/integrations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations",{url:"/integrations",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").controller("IntegrationListCtrl",["$scope","Modal","socket","FileUploader","Integration","xAlert",function(a,b,c,d,e,f){a.integrationsByPage=10;var g=a.uploader=new d({url:"api/integrations",autoUpload:!0,removeAfterUpload:!0});g.filters.push({name:"zipFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|zip|".indexOf(b)}}),g.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),f.show(b.name,"success")},g.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),b.errors.forEach(function(a){f.show(a.message,"danger")})},a.deleteItem=b.confirm["delete"](function(a){e["delete"]({id:a},function(){f.show("Integration Removed","success")},function(a){f.show(a.data.errors,"danger")})}),a.initList=function(){a.integrations=e.query({},function(a){c.syncUpdates("integration",a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations.list",{url:"/list",templateUrl:"app/integration/list/list.html",controller:"IntegrationListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty",{url:"/jscripty",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("JscriptyProject",["$resource",function(a){return a("/api/jscripty/projects/:id/:controller/:action/:action2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCtrl",["$scope","$uibModal","JscriptyProject","gridOptions","Auth",function(a,b,c,d,e){a.isAdmin=e.isAdmin(),a.initView=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{"class":"blue-hoki",icon:"icon-settings",href:"/jscripty/projects/view/{{row.entity.id}}",hide:!e.isAdmin()},{"class":" green-turquoise",icon:"fa fa-play",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{"class":"purple",icon:"icon-book-open",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",hide:!e.isAdmin()},{"class":"red-sunglo",icon:"fa fa-trash",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",hide:!e.isAdmin()}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/jscripty/project/list/list.create.modal.html",controller:"JscriptyProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","JscriptyProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){console.log(a),e.show(b.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.list",{url:"/list",templateUrl:"app/jscripty/project/list/list.html",controller:"JscriptyProjectListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects",{url:"/projects",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectReportCtrl",["$scope","uiGridConstants","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope","gridOptions","JscriptyProject","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.projectStats={started:0,incomplete:0,completed:0},a.projectId=e.id,a.initView=function(){m.get({id:e.id}).$promise.then(function(b){a.project=b})["catch"](function(a){i.show(a.message,"danger")}),m.get({id:e.id,controller:"sessions"}).$promise.then(function(b){var c=_.groupBy(b.rows,"status");a.projectStats.started=c.started?c.started.length:0,a.projectStats.completed=c.completed?c.completed.length:0,a.projectStats.incomplete=c.incomplete?c.incomplete.length:0})["catch"](function(a){i.show(a.message,"danger")})},a.pdf=function(a,b){var c=[];if(a){var d=html2canvas(document.getElementById(a)),e=d.parse(),f=d.render(e),g=f.toDataURL("image/png");c.push({image:g,width:500,style:"img"})}b.length&&_.forEach(b,function(a){var b=html2canvas(document.getElementById(a.question_id)),d=b.parse(),e=b.render(d),f=e.toDataURL("image/png");c.push({image:f,width:500,style:"img"})});var h={content:c};pdfMake.createPdf(h).download("Project_summary.pdf")},a.getProjectSessions=function(){var c={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"queue",displayName:"APPLICATION_QUEUE"},{name:"membername",displayName:"APPLICATION_AGENT"},{name:"calleridnum",displayName:"APPLICATION_CALLERIDNUM"},{name:"createdAt",displayName:"APPLICATION_STARTEDAT",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:b.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:b.filter.LESS_THAN_OR_EQUAL}]},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:b.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:b.filter.LESS_THAN_OR_EQUAL}]},{name:"status",displayName:"APPLICATION_STATUS"},{name:"last_question_id",displayName:"APPLICATION_LASTQUESTIONID"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/{{row.entity.projectId}}/session/{{row.entity.session_id}}",name:"Detail"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteSession(row.entity.session_id)"}]}]};a.gridOptions=l.gridOptions(m,c,a,{id:e.id,controller:"sessions"})},a.deleteSession=function(b){m["delete"]({id:e.id,controller:"sessions",action:b}).$promise.then(function(b){a.gridOptions.getPage(),a.initView(),i.show(j.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})},a.getSessionDetails=function(){m.get({id:e.id,controller:"sessions",action:e.sessionId}).$promise.then(function(b){a.session=b,a.sessionQuestions=b.ReportJscriptyQuestions})["catch"](function(a){i.show(a.message,"danger")})},a.getQuestionSummary=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"question_id",displayName:"APPLICATION_QUESTIONID"},{name:"question_type",displayName:"APPLICATION_QUESTIONTYPE"},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL"},{name:"question_text",displayName:"APPLICATION_QUESTION"},{name:"count",displayName:"APPLICATION_COUNT",enableFiltering:!1},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/"+e.id+"/detail/{{row.entity.question_id}}",name:"Detail"}]}]};a.gridOptions=l.gridOptions(m,b,a,{id:e.id,controller:"questions",action:"summary"})},a.getQuestionInputs=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"question_id",displayName:"APPLICATION_QUESTIONID",enableFiltering:!1},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL",enableFiltering:!1},{name:"question_text",displayName:"APPLICATION_QUESTION",enableFiltering:!1},{name:"input_label",displayName:"APPLICATION_INPUTLABEL",enableFiltering:!1},{name:"input_value",cellTemplate:'<div uib-tooltip="{{row.entity.input_value}}">{{row.entity.input_value}}</div>',displayName:"APPLICATION_INPUTVALUE",enableFiltering:!1}]};a.gridOptions=l.gridOptions(m,b,a,{id:e.id,controller:"inputs"})},a.getProjectDetail=function(){a.projectDetail=[],m.query({id:e.id,controller:"questions",action:"detail"}).$promise.then(function(b){console.log(e.questionId),e.questionId?a.projectDetail.push(_.find(b,function(a){return a.question_id==parseInt(e.questionId)})):a.projectDetail=b,console.log(a.projectDetail)})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.report",{url:"/report/:id",templateUrl:"app/jscripty/project/report/report.html",controller:"JscriptyProjectReportCtrl"}).state("main.jscripty.projects.report.sessions",{url:"/sessions",templateUrl:"app/jscripty/project/report/report.sessions.html"}).state("main.jscripty.projects.report.summary",{url:"/summary",templateUrl:"app/jscripty/project/report/report.summary.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/detail/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectViewCtrl",["$scope","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(a,b,c,d,e,f,g,h,i,j){a.jscriptyProject={},a.getProject=function(){b.get("/api/jscripty/projects/"+d.id).success(function(b){a.jscriptyProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!=a&&-1!=a.indexOf("Script error."));else{var d=new Image;d.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(e){}},b.token=f.getToken();var a=new EditorUi(new Editor);a.openString(b.draft,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}}),e.syncUpdates("jscripty_project",[b],function(a,c,d){c.id===b.id})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.view",{url:"/view/:id",templateUrl:"app/jscripty/project/view/view.html",controller:"JscriptyProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/jscripty/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/jscripty/js/Editor.js","assets/plugins/jscripty/js/Graph.js","assets/plugins/jscripty/js/EditorUi.js","assets/plugins/jscripty/js/Actions.js","assets/plugins/jscripty/js/Menus.js","assets/plugins/jscripty/js/Sidebar.js","assets/plugins/jscripty/js/Toolbar.js","assets/plugins/jscripty/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LandingCtrl",["$scope","$location","$window","$timeout","Auth",function(a,b,c,d,e){a.initLanding=function(){var c,f,g;return(g=e.getCurrentUser().$promise)?g.then(function(e){switch(f=e,f.role){case"user":for(var g=0;g<f.Modules.length&&!(c=f.Modules[g].path);g++);break;case"admin":case"agent":c="/dashboard/voice"}c||(a.message="MESSAGE_NO_AVAILABLE_MODULES"),d(function(){b.path(c)},500)})["catch"](function(a){console.error(a),b.path("/login")}):void b.path("/login")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("landing",{url:"/landing",templateUrl:"app/landing/landing.html",controller:"LandingCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css","assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LoginCtrl",["$scope","Auth","$location","$window","$rootScope",function(a,b,c,d,e){a.year=moment().year(),a.userLogin={},a.userSignUp={},a.loginSubmitted=!1,a.signupSubmitted=!1,a.errorLogin=!1,a.errorSignup=!1,a.errorLog="",a.flagLogin1=!1,a.toogleLogin=function(){a.flagLogin1=!a.flagLogin1},e.bodyLayout="login",a.$on("$viewContentLoaded",function(){Metronic.init(),Layout.init()}),a.login=function(d){a.loginSubmitted=!0,d.$valid?b.login({name:a.userLogin.name,password:a.userLogin.password,remember:a.userLogin.remember}).then(function(){c.path("/landing")})["catch"](function(b){a.errorLog=b.message||"error",a.errorLogin=!0}):a.errorLogin=!0},a.signup=function(c){a.signupSubmitted=!0,c.$valid?b.createUser({email:a.userSignUp.email,fullname:a.userSignUp.fullname,name:a.userSignUp.name,password:a.userSignUp.password,role:a.userSignUp.role,online:!0})["catch"](function(b){a.errorLog=b.message||"error",a.errorSignup=!0}):a.errorSignup=!0},a.loginOauth=function(a){d.location.href="/auth/"+a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("login",{url:"/login",templateUrl:"app/login/login.html",controller:"LoginCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Action",["$resource",function(a){return a("/api/actions/:name/:controller",{name:"@name"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").directive("actionBuilderTemplate",["$compile","xAlert","$http","$timeout","Template","$translate",function(a,b,c,d,e,f){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderTemplate.html",compile:function(c,g){var h,i;return h=c.contents().remove(),function(c,g,j){function k(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=k(),d(function(){return e.get().$promise.then(function(a){c.templates=a.rows})["catch"](function(a){b.show(f.instant(a.message),"danger")})}),i||(i=a(h)),g.append(i(c,function(a){return a}))}}}}]).directive("actionBuilderIntegration",["$compile","xAlert","$http","$timeout","Integration","$translate","ZendeskAccount","DeskAccount","SalesforceAccount","FreshdeskAccount","SugarcrmAccount",function(a,b,c,d,e,f,g,h,i,j,k){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderIntegration.html",compile:function(c,l){var m,n;return m=c.contents().remove(),function(c,l,o){function p(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=p(),d(function(){return e.get({active:1}).$promise.then(function(a){c.integrations=a.rows,c.element.data1&&q()})["catch"](function(a){b.show(f.instant(a.message),"danger")})});var q=function(){var a;switch(c.element.data1){case"zendesk":a=g;break;case"desk":a=h;break;case"salesforce":a=i;break;case"freshdesk":a=j;break;case"sugarcrm":a=k}return a.get().$promise.then(function(a){c.accounts=a.rows,c.element.data2&&r()})["catch"](function(a){b.show(f.instant(a.message),"danger")})},r=function(){c.configurations=_.find(c.accounts,{id:Number(c.element.data2)}).Configurations};c.changeIntegration=function(){c.element.data2="",q()},c.changeAccount=function(){c.element.data3="",r()},n||(n=a(m)),l.append(n(c,function(a){return a}))}}}}]).directive("actionBuilderStatus",["$compile","xAlert","$http","$timeout","$translate",function(a,b,c,d,e){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderStatus.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){function g(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}b.randomName=g(),b.states=[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]).directive("actionBuilderJscripty",["$compile","xAlert","$http","$timeout","Template","$translate","JscriptyProject",function(a,b,c,d,e,f,g){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderJscripty.html",compile:function(c,e){var h,i;return h=c.contents().remove(),function(c,e,j){function k(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=k(),console.log(c.randomName),d(function(){return g.get().$promise.then(function(a){console.log(a),c.projects=a.rows})["catch"](function(a){b.show(f.instant(a.message),"danger")})}),i||(i=a(h)),e.append(i(c,function(a){return a}))}}}}]).directive("actionBuilderMotionBar",["$compile","xAlert","$http","$timeout","Template","$translate",function(a,b,c,d,e,f){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderMotionBar.html",compile:function(c,g){var h,i;return h=c.contents().remove(),function(c,g,j){function k(){return e.get().$promise.then(function(a){c.templates=a.rows})["catch"](function(a){b.show(f.instant(a.message),"danger")})}function l(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=l(),console.log(c.randomName),c.motionActions=[{name:"Popup",value:"0"},{name:"URL",value:"1"},{name:"Windows App",value:"2"}],c.changeMode=function(){c.element.data2="",c.element.data3="",k()},d(function(){return k()}),i||(i=a(h)),g.append(i(c,function(a){return a}))}}}}]).directive("actionBuilderUrlForward",["$compile","xAlert","$http","$timeout","$translate",function(a,b,c,d,e){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderUrlForward.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){function g(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}b.randomName=g(),b.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]),angular.module("xCallyShuttleApp").factory("Ami",["$resource",function(a){return a("/api/ami/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChooseContactModalCtrl",["$scope","$uibModalInstance","data","xAlert","$translate","Contact",function(a,b,c,d,e,f){function g(){return f.get({id:c.eventId,controller:"checkevent"}).$promise.then(function(b){a.contacts=b.rows})["catch"](function(a){d.show(e.instant(a.message)+"!","danger")})}function h(){return delete c.type,f.get(c).$promise.then(function(b){a.contacts=b.rows})["catch"](function(a){d.show(e.instant(a.message)+"!","danger")})}a.open=function(a){b.close(a)},a.getContacts=function(){switch(c.type){case"event":g();break;case"detail":h();break;default:b.dismiss("cancel")}},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("CloseEditedTabModalCtrl",["$scope","$uibModalInstance",function(a,b){a.close=function(){b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("CloseEditedTabModalJscriptyCtrl",["$scope","$uibModalInstance","project","JscriptyProject","xAlert",function(a,b,c,d,e){a.init=function(){a.project=c},a.close=function(){d.update({id:a.project.projectId,controller:"sessions",action:a.project.sessionId},{status:"incomplete",completedAt:Date(),last_question_id:a.project.lastQuestionId}).$promise.then(function(a){e.show("Project Ended","success")}),b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerSetDisposition",["$scope","$uibModalInstance","VoiceDisposition",function(a,b,c){a.initDisposition=function(){return c.get().$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("customGridDateFilterModalCtrl",["$scope","$rootScope","$log","$uibModalInstance","term",function(a,b,c,d,e){e&&(a.filterDate=moment(e)),a.setFilterDate=function(a){d.close(a)},a.cancelDateFilter=function(){d.dismiss()}}]),angular.module("xCallyShuttleApp").controller("customGridTagsModalCtrl",["$scope","$rootScope","$log","$uibModalInstance","term","Tag","xAlert",function(a,b,c,d,e,f,g){a.initModal=function(){return a.item={},f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name"),a.item.myTags=e})["catch"](function(a){console.log("error retrieving tags"),g.error(a),d.dismiss()})},a.setFilterTags=function(){d.close(a.item.myTags)},a.cancelTagsFilter=function(){d.dismiss()}}]),angular.module("xCallyShuttleApp").factory("templateVariable",["$translate",function(a){return[{id:"voice",label:a.instant("APPLICATION_VOICE"),title:a.instant("APPLICATION_VOICE"),groups:[{label:a.instant("APPLICATION_QUEUE"),values:[{value:"{{uniqueid}}",label:a.instant("APPLICATION_UNIQUEID"),description:a.instant("APPLICATION_UNIQUEID")},{value:"{{calleridnum}}",label:a.instant("APPLICATION_CALLERIDNUM"),description:a.instant("APPLICATION_CALLERIDNUM")},{value:"{{calleridname}}",label:a.instant("APPLICATION_CALLERIDNAME"),description:a.instant("APPLICATION_CALLERIDNAME")},{value:"{{queue}}",label:a.instant("APPLICATION_QUEUE"),description:a.instant("APPLICATION_QUEUE")},{value:"{{interface}}",label:a.instant("APPLICATION_INTERFACE"),description:a.instant("APPLICATION_INTERFACE")},{value:"{{membername}}",label:a.instant("APPLICATION_MEMBERNAME"),description:a.instant("APPLICATION_MEMBERNAME")},{value:"{{holdtime}}",label:a.instant("APPLICATION_HOLDTIME"),description:a.instant("APPLICATION_HOLDTIME")},{value:"{{talktime}}",label:a.instant("APPLICATION_TALKTIME"),description:a.instant("APPLICATION_TALKTIME")},{value:"{{connectedlinenum}}",label:a.instant("APPLICATION_CONNECTEDLINENUM"),description:a.instant("APPLICATION_CONNECTEDLINENUM")},{value:"{{connectedlinename}}",label:a.instant("APPLICATION_CONNECTEDLINENAME"),description:a.instant("APPLICATION_CONNECTEDLINENAME")},{value:"{{agentconnectAt}}",label:a.instant("APPLICATION_CONNECTED_AT"),description:a.instant("APPLICATION_CONNECTED_AT")},{value:"{{agentcalledAt}}",label:a.instant("APPLICATION_CALLED_AT"),description:a.instant("APPLICATION_CALLED_AT")},{value:"{{agentcompleteAt}}",label:a.instant("APPLICATION_COMPLETED_AT"),description:a.instant("APPLICATION_AGENT_CALLED_AT")},{value:"{{reason}}",label:a.instant("APPLICATION_REASON"),description:a.instant("APPLICATION_REASON")},{value:"{{lastevent}}",label:a.instant("APPLICATION_LAST_EVENT"),description:a.instant("APPLICATION_LAST_EVENT")},{value:"{{channel}}",label:a.instant("APPLICATION_CHANNEL"),description:a.instant("APPLICATION_CHANNEL")}]}]},{id:"chat",label:a.instant("APPLICATION_CHAT"),title:a.instant("APPLICATION_CHAT"),groups:[{label:a.instant("APPLICATION_VARIABLES"),values:[{value:"{{username}}",label:a.instant("APPLICATION_USERNAME"),description:a.instant("APPLICATION_USERNAME")},{value:"{{email}}",label:a.instant("APPLICATION_MAIL"),description:a.instant("APPLICATION_MAIL")},{value:"{{text}}",label:a.instant("APPLICATION_TEXT"),description:a.instant("APPLICATION_TEXT")},{value:"{{chatWebsite}}",label:a.instant("APPLICATION_WEBSITE"),description:a.instant("APPLICATION_WEBSITE")}]}]},{id:"mail",label:a.instant("APPLICATION_MAIL"),title:a.instant("APPLICATION_MAIL"),groups:[{label:a.instant("APPLICATION_INTERACTION"),values:[{value:"{{interactionId}}",label:a.instant("APPLICATION_INTERACTION_ID"),description:a.instant("APPLICATION_INTERACTION_ID")},{value:"{{subject}}",label:a.instant("APPLICATION_SUBJECT"),description:a.instant("APPLICATION_SUBJECT")},{value:"{{{body}}}",label:a.instant("APPLICATION_MESSAGE"),description:a.instant("APPLICATION_MESSAGE")},{value:"{{accountName}}",label:a.instant("APPLICATION_ACCOUNT"),description:a.instant("APPLICATION_ACCOUNT")},{value:"{{from}}",label:"From",description:"From"},{value:"{{to}}",label:"To",description:"To"},{value:"{{cc}}",label:"Cc",description:"Cc"},{value:"{{agentName}}",label:a.instant("APPLICATION_AGENT_NAME"),description:a.instant("APPLICATION_AGENT_NAME")},{value:"{{agentEmail}}",label:a.instant("APPLICATION_AGENT_EMAIL"),description:a.instant("APPLICATION_AGENT_EMAIL")},{value:"{{createdAt}}",label:a.instant("APPLICATION_CREATED_AT"),description:a.instant("APPLICATION_CREATED_AT")}]}]}]}]),angular.module("xCallyShuttleApp").controller("gridDatePickerFilterCtrl",["$scope","$timeout","$uibModal","uiGridConstants",function(a,b,c,d){b(function(){a.col.colDef.name;a.openDatePicker=function(b){var d=c.open({templateUrl:"app/main/customDateFilter.modal.html",controller:"customGridDateFilterModalCtrl",size:"md",windowClass:"custom-date-filter-modal",resolve:{term:[function(){return b.term||null}]}});d.result.then(function(b){console.log("date",b),a.colFilter.listTerm=[],console.log(typeof b),console.log(b instanceof Date),a.colFilter.term=moment(b).format("YYYY-MM-DD"),console.log(a.colFilter)})}})}]),angular.module("xCallyShuttleApp").factory("gridOptions",["Modal","xAlert","$translate","$interval","$q","usSpinnerService",function(a,b,c,d,e,f){return{gridOptions:function(d,g,h,i,j,k,l){function m(a,b){a.filter&&a.filter.term&&b&&(o[a.name]=a.filter.term),a.filters&&(a.filters.length>1?a.filters.forEach(function(b){b.term?64===b.condition?o[a.name+"_uiFrom"]=b.term:256===b.condition&&(o[a.name+"_uiTo"]=b.term):64===b.condition?delete o[a.name+"_uiFrom"]:256===b.condition&&delete o[a.name+"_uiTo"]}):a.filters.length&&a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name])}h.id=[];var n=k?"gridOptions"+k:"gridOptions",o={offset:0,limit:10};g.draggable&&(g.rowTemplate='<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',g.useExternalPagination=!1,g.enablePaginationControls=!1, -g.showGridFooter=!1);var p=function(a){var b=a?30*a+120:177,c=angular.element(document.getElementsByName(n)).length?angular.element(document.getElementsByName(n)[0]):angular.element(document.getElementsByClassName("ui-grid")[0]);c.css("height",b+"px")},q=function(a,b){return h[n].enablePaginationControls||(delete o.offset,delete o.limit),f.spin("spinner-grid"),i=a||i,d=b||d,d.get(i?_.merge(o,i):o).$promise.then(function(a){h[n].totalItems=a.count,h[n].data=a.rows,p(a.rows.length),l&&l()})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})};return h.deleteItem=a.confirm["delete"](function(a){var e=i?angular.copy(i):{};return _.merge(e,{id:a}),d.remove(e).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),h.deleteItems=a.confirm["delete"](function(){var a=i?angular.copy(i):{};return _.merge(a,{ids:h.id}),d["delete"](a).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),g.columnDefs.forEach(function(a){m(a,!0),a.hasOwnProperty("displayName")||(a.displayName="APPLICATION_"+a.name.toUpperCase()),a.headerCellFilter="translate",a.hasOwnProperty("buttons")&&(a.displayName="",a.cellClass="ui-grid-vcenter",a.enableSorting=!1,a.enableFiltering=!1,a.enableColumnMenu=!1,a.cellTemplate="<div>",a.buttons.forEach(function(b){if(b.directive)a.cellTemplate+=b.directive;else{if(a.cellTemplate+="<a",a.cellTemplate+=b.hide?' data-ng-hide="'+b.hide+'" ':" ",a.cellTemplate+=b["class"]?' class="btn btn-xs '+b["class"]+'" ':" ",a.cellTemplate+=b.href?' data-ng-href="'+b.href+'" ':" ",a.cellTemplate+=b.uisref?' ui-sref="'+b.uisref+'" ':" ",a.cellTemplate+=b.onClick?' data-ng-click="'+b.onClick+'" ':" ",a.cellTemplate+=b.title?' title="'+b.title+'"':"",a.cellTemplate+=">",a.cellTemplate+=b.icon?'<i class="'+b.icon+'"></i>':"",b.name)switch(b.name){case"delete":a.cellTemplate+='<i class="fa fa-trash"></i>';break;case"profile":case"settings":case"detail":case"embedding":a.cellTemplate+='<i class="icon-settings"></i>';break;case"agents":a.cellTemplate+='<i class="icon-people"></i>';break;case"run":a.cellTemplate+='<i class="fa fa-cogs"></i>';break;case"mailRoom":a.cellTemplate+='<i class="fa fa-envelope"></i>';break;case"chatRoom":a.cellTemplate+='<i class="fa fa-users"></i>';break;case"faxRoom":a.cellTemplate+='<i class="icon-paper-plane"></i>';break;case"smsRoom":a.cellTemplate+='<i class="glyphicon glyphicon-comment"></i>';break;case"check":a.cellTemplate+='<i class="fa fa-check"></i>';break;default:a.cellTemplate+="{{'APPLICATION_"+b.name.toUpperCase()+"' | translate}}"}else a.cellTemplate+=b.displayName?"{{'"+b.displayName+"' | translate}}":"";a.cellTemplate+="</a> "}}),a.cellTemplate+="<div>",delete a.buttons)}),_.merge({enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableRowSelection:!0,enableSelectAll:!0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,getPage:q,gridMenuTitleFilter:function(a){var b=e.defer();return b.resolve(c.instant(a)),b.promise},onRegisterApi:function(a){h.gridApi=a,h.gridApi.selection&&(h.gridApi.selection.on.rowSelectionChanged(h,function(a){a.isSelected?h.id.push(h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id):_.pull(h.id,h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id)}),h.gridApi.selection.on.rowSelectionChangedBatch(h,function(a){a[0].isSelected?h.id=_.union(h.id,_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id")):_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id").forEach(function(a){_.pull(h.id,a)})})),h.gridApi.core.on.sortChanged(h,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),q()});for(var e=0;e<h.gridOptions.columnDefs.length;e++)if(h.gridOptions.columnDefs[e].hasOwnProperty("sort")){o.order=h.gridOptions.columnDefs[e].name+" "+h.gridOptions.columnDefs[e].sort.direction.toUpperCase();break}h.gridApi.pagination.on.paginationChanged(h,function(a,b){o.offset=(a-1)*b,o.limit=b,q()}),h.gridApi.core.on.filterChanged(h,function(){var a=this.grid;a.columns.forEach(function(a){m(a)}),q()}),h.gridApi.draggableRows&&h.gridApi.draggableRows.on.rowDropped(h,function(a){a.fromIndex!==a.toIndex&&d.update(i,h[n].data).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message,"danger")})}),j||q()}},g)}}}]),angular.module("xCallyShuttleApp").controller("gridTagsFilterCtrl",["$scope","$timeout","$uibModal","uiGridConstants",function(a,b,c,d){b(function(){a.col.colDef.name;a.openTags=function(b){var d=c.open({templateUrl:"app/main/customTagsFilter.modal.html",controller:"customGridTagsModalCtrl",size:"md",resolve:{term:[function(){if(b.term){var a=b.term.split(";");return a.pop(),a}return[]}]}});d.result.then(function(b){a.colFilter.listTerm=[],b.length&&(a.colFilter.term=b.join(";")+";")})}})}]),angular.module("xCallyShuttleApp").controller("MainCtrl",["$scope","$rootScope","$translate","$timeout","socket","Auth","xAlert","$uibModal","$log","$state","Contact","$window",function(a,b,c,d,e,f,g,h,i,j,k,l){a.awesomeThings=[],b.workspaces=[],a.select=function(a){switch(a.type){case"chatRoom":case"mailRoom":case"faxRoom":a.unread=0}},a.deselect=function(){},a.isAdmin=f.isAdmin,a.isLoggedIn=f.isLoggedIn,a.getCurrentUser=f.getCurrentUser,a.CurrentUser=f.getCurrentUser(),e.socket.on("user_has_voice_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_chat_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_mail_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_fax_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_sms_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),a.mainTab={active:!0},a.closeJscriptyTab=function(a){if(b.workspaces[a].edited){var c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.jscripty.html",controller:"CloseEditedTabModalJscriptyCtrl",resolve:{project:b.workspaces[a]}});c.result.then(function(){b.workspaces.splice(a,1)})}else b.workspaces.splice(a,1)},a.closeTab=function(a){var c;b.workspaces[a].edited?"jscripty"===b.workspaces[a].type?b.workspaces[a].end():(c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.html",controller:"CloseEditedTabModalCtrl"}),c.result.then(function(){b.workspaces.splice(a,1)},function(){i.info("Modal dismissed at: "+new Date)})):b.workspaces.splice(a,1)},a.createContact=function(d,e){return e.CompanyId||delete e.CompanyId,k.save(e).$promise.then(function(e){b.workspaces.splice(d,1);var f=e.firstName;e.lastName&&(f+=" "+e.lastName),a.openContactTab({firstName:e.firstName,lastName:e.lastName,id:e.id}),g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(a.message,"danger")})};var m=function(b){var c=h.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{data:function(){return{type:"event",eventId:b.id}}}});c.result.then(function(c){c?a.openContactTab(c,b):a.newContact(b)},function(){i.info("Modal dismissed at: "+new Date)})};a.updateContact=function(a,d){var e=angular.copy(d);return e.CompanyId||(e.CompanyId=null),k.update({id:e.id},e).$promise.then(function(){b.workspaces[a].edited=!1,g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(c.instant(a.message)+"!","danger")})},e.socket.on("report_integration:contactmanager",function(a){console.log("choosecontact"),m(a)}),e.socket.on("report_integration:jscripty",function(b){a.openJscriptyTab({name:"Jscripty",id:b.projectId,calleridnum:b.calleridnum,calleridname:b.calleridname,queue:b.queue,membername:b.membername})}),e.socket.on("report_integration:salesforce",function(a){l.open(a.url,"_blank")}),a.openContactTab=function(a,c){var d=_.find(b.workspaces,{contactID:a.id});if(d)d.active=!0;else{var e=a.firstName;a.lastName&&(e+=" "+a.lastName),b.workspaces.push({name:e,type:"contact",contactID:a.id,"class":"icon-user",active:!0,data:c||null})}},a.openJscriptyTab=function(a){b.workspaces.push({name:a.name,type:"jscripty",active:!0,data:a})},a.newContact=function(a){b.workspaces.push({name:"New Contact",type:"newContact","class":"icon-user",active:!0,data:a||null})},a.$on("$viewContentLoaded",function(){Metronic.init()}),b.language=c.use(),a.changeLanguage=function(a){return c.use(a).then(function(a){b.language=a,-1!==["main.jscripty.projects.view","main.square.projects.view"].indexOf(j.current.name)&&l.location.reload()})["catch"](function(a){console.error(a)})},a.$on("$destroy",function(){console.log("main $destroy"),e.unsyncUpdates("user_has_voice_queue_permit"),e.unsyncUpdates("user_has_chat_queue_permit"),e.unsyncUpdates("user_has_mail_queue_permit"),e.unsyncUpdates("user_has_fax_queue_permit"),e.unsyncUpdates("user_has_sms_queue_permit")})}]),angular.module("xCallyShuttleApp").directive("ngSpinnerBar",["$rootScope",function(a){return{link:function(b,c){c.addClass("hide"),a.$on("$stateChangeStart",function(){"spinner-page"===c[0].id&&c.removeClass("hide")}),a.$on("$stateChangeSuccess",function(){"spinner-page"===c[0].id&&(c.addClass("hide"),$("body").removeClass("page-on-load"),Layout.setSidebarMenuActiveLink("match"),setTimeout(function(){Metronic.scrollTop()},1e3))}),a.$on("$spinnerStart",function(){"spinner-request"===c[0].id&&c.removeClass("hide")}),a.$on("$spinnerStop",function(){"spinner-request"===c[0].id&&c.addClass("hide")}),a.$on("$stateNotFound",function(){"spinner-page"===c[0].id&&c.addClass("hide")}),a.$on("$stateChangeError",function(){"spinner-page"===c[0].id&&c.addClass("hide")})}}}]).directive("a",function(){return{restrict:"E",link:function(a,b,c){(c.ngClick||""===c.href||"#"===c.href)&&b.on("click",function(a){a.preventDefault()})}}}).directive("nxEqual",function(){return{require:"ngModel",link:function(a,b,c,d){return c.nxEqual?(a.$watch(c.nxEqual,function(a){d.$setValidity("nxEqual",a===d.$viewValue)}),void d.$parsers.push(function(b){var e=b===a.$eval(c.nxEqual);return d.$setValidity("nxEqual",e),e?b:void 0})):void console.error("nxEqual expects a model as an argument!")}}}).directive("ngEnter",function(){return function(a,b,c){b.bind("keydown keypress",function(b){13===b.which&&(a.$apply(function(){a.$eval(c.ngEnter)}),b.preventDefault())})}}).directive("dropdownMenuHover",function(){return{link:function(a,b){b.dropdownHover()}}}).directive("uiSelectRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.uiSelectRequired=function(a){return a&&a.length}}}}).directive("rpattern",function(){return{restrict:"A",require:"ngModel",link:function(a,b,c,d){function e(a,b){return null==b||""===b||!h||a.test(b)?(d.$setValidity("pattern",!0),b):void d.$setValidity("pattern",!1)}var f,g=c.rpattern,h=!0;g&&(g.match(/^\/(.*)\/$/)?(g=new RegExp(g.substr(1,g.length-2)),f=function(a){return e(g,a)}):f=function(b){var c=a.$eval(g);if(!c||!c.test)throw new Error("Expected "+g+" to be a RegExp but was "+c);return e(c,b)}),d.$formatters.push(f),d.$parsers.push(f),c.$observe("required",function(a){h=a,f(d.$viewValue)})}}}).directive("conditionBuilder",["$compile","xAlert","$timeout",function(a,b,c){return{restrict:"E",scope:{element:"=",serviceindex:"=",service:"=",form:"="},templateUrl:"app/main/template/template.conditionBuilder.html",compile:function(d,e){var f,g;return f=d.contents().remove(),function(d,e,h){function i(a){var c=_.find(d.service.services[d.serviceindex].conditions,{value:a});if(c)if(d.elementType=c.type,c.arr)d.values=c.arr;else if(c.resource)return c.resource.get(c.params||{}).$promise.then(function(a){d.values=_.map(a.rows,function(a){return{name:a[c.resName||c.resValue],value:a[c.resValue]}})})["catch"](function(a){b.show($translate.instant(a.message),"danger")})}function j(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}d._=_,d.randomName=j(),c(function(){d.element.field&&i(d.element.field)}),d.checkCondition=function(a){d.element.value="",d.element.operator="",i(a)},g||(g=a(f)),e.append(g(d,function(a){return a}))}}}}]).directive("newContact",["$compile","xAlert","socket","$translate","$timeout","List","Tag","Company","ReportCall","$uibModal","$rootScope",function(a,b,c,d,e,f,g,h,i,j,k){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,l){return function(a,l,m){function n(){a.$watch("contact",function(b,c){angular.equals(b,c)||(a.workspace.edited=!0)},!0)}a.license=k.license,a.forms={general:{}},a.firstLoad=!0,a.detail={tab:"main"},a.contact={CompanyId:"",disposed:!1},a.submitButtonLabel=d.instant("APPLICATION_CONFIRM"),a.dispose=function(){return j.open({animation:!0,templateUrl:"app/main/cm.disposition.html",controller:"ContactManagerSetDisposition"}).result.then(function(c){return i.update({id:a.workspace.data.uniqueid},c).$promise.then(function(){a.contact.disposed=!0,b.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.error(a)})})},a.init=function(){a.workspace.data&&(a.contact.firstName=a.workspace.data.calleridname?a.workspace.data.calleridname:a.workspace.data.messageId?a.workspace.data.messageId:a.workspace.data.uniqueid?a.workspace.data.uniqueid:"",a.workspace.data.calleridnum&&(a.contact.phone=a.workspace.data.calleridnum),a.workspace.data.from&&(a.contact.email=a.workspace.data.from)),a.getTags(),a.getCompanies(),a.getLists()},a.getLists=function(){return f.get().$promise.then(function(b){a.lists=b.rows,c.syncUpdates("list",a.lists),a.contact.ListId=a.lists[0]?a.lists[0].id:null,a.getCustomFields()})["catch"](function(a){b.show(d.instant(a.message)+"!","danger")})},a.getCustomFields=function(){return f.get({listId:a.contact.ListId,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===a.contact.ListId){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}}),!a.firstLoad||a.workspace.data?(a.workspace.edited=!0,a.firstLoad=!1):(a.firstLoad=!1,n())})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return h.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},e(function(){a.init()})}}}}]).directive("contact",["$compile","xAlert","socket","$timeout","List","Tag","Company","Contact","$translate","gridOptions","$uibModal","ReportCall","$rootScope","usSpinnerService","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,j){return function(a,j,p){function q(b){var c=[],d={};_.forEach(a.columns[a.log[b].show][a.log[b].detail].indexes,function(e,f){d={name:e,displayName:a.columns[a.log[b].show][a.log[b].detail].header[f],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},"createdAt"===e&&(d.cellTemplate="<div class=\"centered-uigrid-td\">{{row.entity.createdAt | date:'dd/MM/yyyy HH:mm:ss'}}</div>",d.filterHeaderTemplate='<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',d.filters=[{name:"From",condition:o.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:o.filter.LESS_THAN_OR_EQUAL}]),c.push(d)}),a.columns[a.log[b].show][a.log[b].detail].actions&&c.push(a.columns[a.log[b].show][a.log[b].detail].actions),c.forEach(function(a){r(a,b,!0),a.hasOwnProperty("displayName")||(a.displayName="APPLICATION_"+a.name.toUpperCase()),a.headerCellFilter="translate",a.hasOwnProperty("buttons")&&(a.displayName="",a.cellClass="ui-grid-vcenter",a.enableSorting=!1,a.enableFiltering=!1,a.enableColumnMenu=!1,a.cellTemplate="<div>",a.buttons.forEach(function(b){if(b.directive)a.cellTemplate+=b.directive;else{if(a.cellTemplate+="<a",a.cellTemplate+=b.hide?' data-ng-hide="'+b.hide+'" ':" ",a.cellTemplate+=b["class"]?' class="btn btn-xs '+b["class"]+'" ':" ",a.cellTemplate+=b.href?' data-ng-href="'+b.href+'" ':" ",a.cellTemplate+=b.uisref?' ui-sref="'+b.uisref+'" ':" ",a.cellTemplate+=b.onClick?' data-ng-click="'+b.onClick+'" ':" ",a.cellTemplate+=b.title?' title="'+b.title+'"':"",a.cellTemplate+=">",a.cellTemplate+=b.icon?'<i class="'+b.icon+'"></i>':"",b.name)switch(b.name){case"delete":a.cellTemplate+='<i class="fa fa-trash"></i>';break;case"profile":case"settings":case"detail":case"embedding":a.cellTemplate+='<i class="icon-settings"></i>';break;case"agents":a.cellTemplate+='<i class="icon-people"></i>';break;case"run":a.cellTemplate+='<i class="fa fa-cogs"></i>';break;case"mailRoom":a.cellTemplate+='<i class="fa fa-envelope"></i>';break;case"chatRoom":a.cellTemplate+='<i class="fa fa-users"></i>';break;case"faxRoom":a.cellTemplate+='<i class="icon-paper-plane"></i>';break;case"smsRoom":a.cellTemplate+='<i class="glyphicon glyphicon-comment"></i>';break;default:a.cellTemplate+="{{'APPLICATION_"+b.name.toUpperCase()+"' | translate}}"}else a.cellTemplate+=b.displayName?"{{'"+b.displayName+"' | translate}}":"";a.cellTemplate+="</a> "}}),a.cellTemplate+="<div>",delete a.buttons)});var e={enablePaginationControls:!0,exporterCsvFilename:b+".csv",columnDefs:c,enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,data:[],gridMenuTitleFilter:function(a){var b=$q.defer();return b.resolve(i.instant(a)),b.promise},onRegisterApi:function(c){a.gridApi=c,a.gridApi.grid.registerDataChangeCallback(function(){}),a.gridApi.core.on.sortChanged(a,function(a,c){0===c.length?s.order=null:s.order=c[0].name+" "+c[0].sort.direction.toUpperCase(),t(b)}),a.gridApi.pagination.on.paginationChanged(a,function(a,c){s.offset=(a-1)*c,s.limit=c,t(b)}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){r(a,b)}),t(b)})}};t(b,e)}function r(a,b,c){a.filter&&a.filter.term&&c&&(s[b][a.name]=a.filter.term),a.filters&&(a.filters.length>1?a.filters.forEach(function(c){c.term?64===c.condition?s[b][a.name+"_uiFrom"]=c.term:256===c.condition&&(s[b][a.name+"_uiTo"]=c.term):64===c.condition?delete s[b][a.name+"_uiFrom"]:256===c.condition&&delete s[b][a.name+"_uiTo"]}):a.filters.length&&a.filters[0].term?s[b][a.name]=a.filters[0].term:delete s[b][a.name])}a.moment=moment,a.license=m.license,a.submitButtonLabel=i.instant("APPLICATION_UPDATE"),a.forms={general:{}},a.detail={tab:"main"},a.log={daily:{show:"phone",type:"inbound",detail:"general"},history:{show:"phone",type:"inbound",detail:"general"}},a.columns={phone:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["source","destination","disposition","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","accountaddress","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"mailRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'mailRoom')"}]}}},chat:{general:{header:["APPLICATION_WEBSITE","APPLICATION_VISITOR","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["websitename","visitoremail","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"chatRoom",onClick:"grid.appScope.openRoom(row.entity.roomid, 'chatRoom')"}]}}},fax:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","account","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"faxRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'faxRoom')"}]}}},sms:{general:{header:["APPLICATION_FROM","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"smsRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'smsRoom')"}]}}}},a.dispose=function(){return k.open({animation:!0,templateUrl:"app/main/cm.disposition.html",controller:"ContactManagerSetDisposition"}).result.then(function(c){return l.update({id:a.workspace.data.uniqueid},c).$promise.then(function(){a.contact.disposed=!0,b.show(i.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.data.message,"danger")})})},a.companyInfo=function(b){k.open({animation:!0,size:"lg",templateUrl:"app/main/company.info.html",controller:["$scope","$uibModalInstance","company",function(a,b,c){a.company=c,a.close=function(){b.dismiss("cancel")}}],resolve:{company:_.find(a.companies,{id:b})}})},a.updateLog=function(b,c,d,e){c&&(a.log[b].show=c),d&&(a.log[b].detail=d),e&&(a.log[b].type=e),q(b)},a.openRoom=function(a,b,c){var d=_.find(m.workspaces,{id:a,type:b});if(d)d.active=!0;else{var e;switch(b){case"mailRoom":e="icon-envelope";break;case"chatRoom":e="fa fa-users";break;case"faxRoom":e="icon-paper-plane";break;case"smsRoom":e="glyphicon glyphicon-comment"}m.workspaces.push({id:a,type:b,"class":e,active:!0,data:c})}};var s={daily:{offset:0,limit:10},history:{offset:0,limit:10}},t=function(b,c){return n.spin("spinner-grid"),h.get(_.merge(_.merge({id:a.workspace.contactID,controller:"log",logType:b,order:"createdAt DESC"},a.log[b]),s[b])).$promise.then(function(d){c&&(a["gridOptions"+b]=c),a["gridOptions"+b].totalItems=d.count,a["gridOptions"+b].data=d.rows,u("gridOptions"+b,d.rows.length)})["catch"](function(a){console.error(a)})["finally"](function(){n.stop("spinner-grid")})},u=function(a,b){var c=b?30*b+120:177;angular.element(document.getElementsByName(a)[0]).css("height",c+"px")};a.getContact=function(){return h.get({id:a.workspace.contactID}).$promise.then(function(b){a.contact=b,a.contact.CompanyId||(a.contact.CompanyId=""),a.getCustomFields(b.ListId),a.updateLog("daily"),a.updateLog("history")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return g.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(d){return e.get({listId:d,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===d){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}})})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},d(function(){a.getTags(),a.getCompanies(),a.getContact()})}}}}]).directive("jscripty",["$compile","xAlert","$http","socket","JscriptyProject",function(a,b,c,d,e){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.jscriptyTab.html",compile:function(a,d){return function(a,d,f){a.count=0,a.questions=[];var g,h=a.workspace.data.id;c.get("/api/jscripty/projects/"+h+"/download").success(function(b){b?c.post("/api/jscripty/projects/"+h+"/sessions",{projectId:h,status:"started",queue:a.workspace.data.queue,calleridnum:a.workspace.data.calleridnum,callername:a.workspace.data.callername,membername:a.workspace.data.membername}).success(function(c){g=c.session_id,a.workspace.edited=!0,a.workspace.sessionId=g,a.workspace.projectId=h;var d=mxUtils.parseXml(b),e=new mxCodec(d);a.decObj=e.decode(d.documentElement);var f=_.find(a.decObj.cells,function(a){return a.vertex&&"start"==a.value.nodeName});if("OFF"==f.getAttribute("state")){var j=_.find(f.edges,function(a){return a.source.id==f.id}).target;a.questions[a.count]=a.currentQuestion=i(j)}else a.questions[a.count]=a.currentQuestion=f;a.saveQuestions()}):(console.log("No project published!"),alert("No project published!"),a.submit({index:a.index}))}),a.next=function(b,c){switch(a.currentQuestion.answer&&a.currentQuestion.answer!=c&&(a.questions=_.take(a.questions,a.count+1)),a.currentQuestion.answer=c,b.value.nodeName){case"question":b=i(b)}a.questions[a.count]=a.currentQuestion,a.currentQuestion=b,a.count++,a.questions[a.count]=b,a.saveQuestions()};var i=function(a){var b=[];return a.options=[],_.forEach(a.edges,function(c,d){if(c.source.id==a.id&&c.value){var e=String(c.value).split(",");e.length>1?(_.forEach(e,function(b,d){var e=Object.create(c);e.setValue(b),a.edges.push(e),a.options.push(b)}),b.push(c)):a.options.push(e[0])}}),_.forEach(b,function(b){_.remove(a.edges,function(a){return a.value==b.value&&a.id==b.id})}),a};a.end=function(){a.saveQuestions(),a.workspace.lastQuestionId=a.questions[a.questions.length-1].id,"end"==a.questions[a.questions.length-1].value.nodeName&&(a.workspace.edited=!1,e.update({id:h,controller:"sessions",action:g},{status:"completed",completedAt:Date(),last_question_id:a.questions[a.questions.length-1].id}).$promise.then(function(a){b.show("Project Ended","success")})),a.submit({index:a.index})},a.workspace.end=a.end,a.back=function(){a.count--,a.currentQuestion=a.questions[a.count]},a.setCurrentQuestion=function(b){a.count=b,a.currentQuestion=a.questions[a.count]},a.saveQuestions=function(){for(var c=[],d=[],f=0;f<a.questions.length;f++){if(a.questions[f].children)for(var i=a.questions[f].children,j=0;j<i.length;j++)d[j]={input_id:i[j].id,input_type:i[j].getAttribute("type"),input_label:i[j].getAttribute("label"),input_value:"checkbox"!=i[j].getAttribute("type")||i[j].answer?i[j].answer:!1};c[f]={sessionId:g,projectId:h,question_id:a.questions[f].id,question_type:a.questions[f].value.nodeName,question_label:a.questions[f].getAttribute("label"),question_text:a.questions[f].getAttribute("question")||a.questions[f].getAttribute("text"),question_other_label:a.questions[f].getAttribute("other"),question_other_answer:a.questions[f].otheranswer,question_answer:a.questions[f].answer,question_options:a.questions[f].options?JSON.stringify({options:a.questions[f].options}):null,index:f,ReportJscriptyInputs:d},d=[]}e.save({id:h,controller:"sessions",action:g,action2:"questions"},c).$promise.then(function(a){})["catch"](function(a){b.show(a.message,"danger")})}}}}}]).directive("reportBuilder",["$compile",function(a){return{restrict:"E",scope:{group:"=",fields:"=",forms:"=",firstCall:"="},templateUrl:"app/main/template/template.reportBuilderView.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){b.operators=[{name:"AND"},{name:"OR"}],b.conditions=[{name:"="},{name:"!="},{name:"<"},{name:"<="},{name:">"},{name:">="},{name:"LIKE"},{name:"IS NULL"},{name:"IS NOT NULL"},{name:"IS EMPTY"},{name:"IS NOT EMPTY"}],b.inputIsRequired=function(a){if(a.condition)switch(a.condition){case"IS NULL":case"IS NOT NULL":case"IS EMPTY":case"IS NOT EMPTY":a.required=!1;break;default:a.required=!0}},b.addCondition=function(){b.group.rules.push({condition:"=",field:"",value:""})},b.removeCondition=function(a){b.group.rules.splice(a,1)},b.addGroup=function(){b.group.rules.push({group:{operator:"AND",rules:[{condition:"=",field:"",value:""}]}})},b.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},b.removeGroup=function(){b.$parent.group&&b.$parent.group.rules.splice(b.$parent.$index,1)},e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]).directive("dynamicName",["$compile",function(a){return{restrict:"A",terminal:!0,priority:1e3,link:function(b,c,d){c.attr("name",b.$eval(d.dynamicName)),c.removeAttr("dynamic-name"),a(c)(b)}}}]).directive("onReadFile",["$parse",function(a){return{restrict:"A",scope:!1,link:function(b,c,d){var e=a(d.onReadFile);c.on("change",function(a){var c=new FileReader;c.onload=function(a){b.$apply(function(){e(b,{$fileContent:a.target.result})})},c.readAsText((a.srcElement||a.target).files[0])})}}}]).directive("motionFileDownload",["xAlert","$translate","$timeout","$location","FileSaver","$compile",function(a,b,c,d,e,f){return{restrict:"E",template:'<a uib-tooltip=\'{{tooltiptext}}\' class="{{btnclass || \'btn default btn-xs blue-hoki\'}}" href="" data-ng-click="download()" ><i class="icon-cloud-download"></i>{{btncontent || \'\'}}</a>',scope:{mimetype:"=",filename:"=",resource:"=",params:"=",btnclass:"@",btncontent:"@",tooltiptext:"@"},link:function(c,d,f){var g=d.children()[0];c.$on("download-start",function(){$(g).attr("disabled","disabled")}),c.$on("downloaded",function(a,b){var d=base64ToBlob(b,c.mimetype);e.saveAs(d,c.filename),$(g).attr("disabled",!1)}),c.download=function(){return c.$emit("download-start"),c.resource.get(c.params).$promise.then(function(a){c.$emit("downloaded",a.downloadString)})["catch"](function(d){a.show(b.instant(d.translatedMessage||d.data.translatedMessage||d.message||d.data.message),"danger"),c.download=function(){}})}}}}]).directive("audioFileDownload",["xAlert","$translate","$sce",function(a,b,c){return{restrict:"E",template:'<button type="button" class="btn default btn-xs blue-hoki" data-ng-click="download()"><i class="fa fa-play"></i> {{ \'APPLICATION_PREVIEW\' | translate}}</button>',scope:{resource:"=",params:"="},link:function(d,e,f){var g=e.children()[0];d.$on("download-start",function(a,b){$(g).attr("disabled","disabled").html('<i class="icon-refresh"></i> Loading...')}),d.$on("downloaded",function(a,b){var d=new Audio(c.trustAsResourceUrl("data:audio/ogg;base64,"+b));d.controls=!0,$(g).remove(),e.append(d),d.play()}),d.$on("error",function(a,b){$(g).removeClass("blue-stripe").addClass("red-stripe").html('<i class="icon-ban"></i> Error!')}),d.download=function(){return d.$emit("download-start"),d.resource.get(d.params).$promise.then(function(a){d.$emit("downloaded",a.downloadString)})["catch"](function(c){a.show(b.instant(c.translatedMessage||c.data.translatedMessage||c.message||c.data.message),"danger")})}}}}]).directive("uiRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.required=function(a,b){return!(b&&0===b.length&&"true"===c.uiRequired)},c.$observe("uiRequired",function(){d.$setValidity("required",!("true"===c.uiRequired&&d.$viewValue&&0===d.$viewValue.length)); -})}}}).directive("schrollBottom",function(){return{scope:{schrollBottom:"="},link:function(a,b){a.$watchCollection("schrollBottom",function(a){a&&$(b).scrollTop($(b)[0].scrollHeight)})}}}).directive("customGridDateFilterHeader",function(){return{templateUrl:"app/main/customDateFilterHeader.html",controller:"gridDatePickerFilterCtrl"}}).directive("customGridTagsFilterHeader",function(){return{templateUrl:"app/main/customTagsFilterHeader.html",controller:"gridTagsFilterCtrl"}}).directive("infiniteScroll",["$window",function(a){return{link:function(a,b,c){var d=parseInt(c.threshold)||0,e=b[0];b.bind("scroll",function(){a.$eval(c.canLoad)&&e.scrollTop+e.offsetHeight>=e.scrollHeight-d&&a.$apply(c.infiniteScroll)})}}}]),angular.module("xCallyShuttleApp").filter("propsFilter",function(){return function(a,b){var c=[];return angular.isArray(a)?a.forEach(function(a){for(var d=!1,e=Object.keys(b),f=0;f<e.length;f++){var g=e[f],h=b[g].toLowerCase();if(-1!==a[g].toString().toLowerCase().indexOf(h)){d=!0;break}}d&&c.push(a)}):c=a,c}}).filter("capitalize",function(){return function(a){return a?a.replace(/([^\W_]+[^\s-]*) */g,function(a){return a.charAt(0).toUpperCase()+a.substr(1).toLowerCase()}):""}}).filter("salesforce",function(){var a=["CallDisposition","CallDurationInSeconds","CallObject","CallType","IsArchived","Priority","Status","Type"];return function(b){return _.remove(b,function(b){return b.custom===!1&&a.indexOf(b.name)<0}),b}}).filter("sugarcrm",function(){var a=["account_id","account_name","account_name1","assigned_user_name","assigned_user_id","case_number","created_by","created_by_name","date_entered","date_modified","deleted","description","id","modified_by_name","modified_user_id","name"];return function(b){return _.remove(b,function(b){return a.indexOf(b.name)>=0}),b}}).filter("freshdesk",function(){var a=["requester","subject","agent","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.ticket_field.name)>=0}),b}}).filter("zendesk",function(){var a=["subject","assignee","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.type)>=0}),b}}).filter("slice",function(){return function(a,b,c){return a?a.slice(b,c):void 0}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main",{"abstract":!0,templateUrl:"app/main/main.html",controller:"MainCtrl",resolve:{authorization:["$q","Auth","$state","$timeout","$location",function(a,b,c,d,e){return b.getToken()?a.when():(d(function(){e.path("/login")}),a.reject())}],deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/ckeditor/ckeditor.js"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification",function(a,b){return{show:function(c,d){switch(d){case"success":b.success({message:c,title:'<i class="glyphicon glyphicon-ok"></i> <strong>'+a.instant("MESSAGE_SUCCESS")+"!</strong>",delay:5e3});break;case"info":b.info({message:c,title:'<i class="glyphicon glyphicon-info-sign"></i> <strong>'+a.instant("MESSAGE_INFO")+"!</strong>",delay:5e3});break;case"danger":b.error({message:c,title:'<i class="glyphicon glyphicon-exclamation-sign"></i> <strong>'+a.instant("MESSAGE_ERROR")+"!</strong>",delay:1e4});break;case"warning":b.warning({message:c,title:'<i class="glyphicon glyphicon-warning-sign"></i> <strong>'+a.instant("MESSAGE_WARNING")+"!</strong>",delay:1e4});break;default:b.info(c)}},error:function(c){var d;d=c?c.data?c.data.translatedMessage||c.data.message||"Generic Error":c.translatedMessage||c.message||"Generic Error":"Generic Error",b.error({message:a.instant(d),title:'<i class="glyphicon glyphicon-exclamation-sign"></i> <strong>'+a.instant("MESSAGE_ERROR")+"!</strong>",delay:1e4})}}}]).factory("stResource",["$q","$filter","$timeout","$rootScope","$http","$translate","xAlert",function(a,b,c,d,e,f,g){return{getPage:function(b){var c={page:Math.ceil(b.pagination.start/b.pagination.number),per_page:b.pagination.number};b.sort.predicate&&(c.sort_by=b.sort.predicate,c.sort_order=b.sort.reverse?"DESC":"ASC"),_.forIn(b.search.predicateObject,function(a,b){c[b]=a}),b.search.params&&(c.clientQuery={},_.forIn(b.search.params,function(a,b){c.clientQuery[b]=a})),d.$broadcast("$spinnerStart"),e.get(b.url,{params:c}).success(function(a){h.resolve(a),d.$broadcast("$spinnerStop")}).error(function(a){g.show(f.instant(a.message),"danger"),d.$broadcast("$spinnerStop")});var h=a.defer();return h.promise}}}]).factory("xNotification",["$translate","Notification","$rootScope",function(a,b,c){return{show:function(d,e,f,g,h,i){var j=c.$new(),k={message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j};switch(j.acceptBtn=a.instant("APPLICATION_ACCEPT"),j.rejectBtn=a.instant("APPLICATION_REJECT"),j.nAccept=h,j.nReject=i,f){case"chat":j["class"]="alert-info",j.icon="icon-bubble";break;case"mail":j["class"]="alert-success",j.icon="icon-envelope";break;case"fax":j["class"]="alert-warning",j.icon="icon-paper-plane";break;case"sms":j["class"]="alert-danger",j.icon="glyphicon glyphicon-comment";break;case"openchannel":j["class"]="alert-danger",j.icon="icon-globe";break;default:j["class"]="alert-info"}return new b(k)}}}]),angular.module("xCallyShuttleApp").factory("Widget",["$resource",function(a){return a("/api/widgets/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MarketCtrl",["$scope","$http","$translate","socket","xAlert","Modal","$timeout","Integration",function(a,b,c,d,e,f,g,h){function i(a,b){return Math.floor(Math.random()*(b-a+1))+a}a.initView=function(){return h.get().$promise.then(function(b){a.integrations=b.rows,a.groupedIntegration=_.chunk(a.integrations,4),d.syncUpdates("integration",a.integrations,function(){a.groupedIntegration=_.chunk(a.integrations,4)})})["catch"](function(a){e.error(a,"danger")})},a.isProgressing=!1,a.$on("$destroy",function(){d.unsyncUpdates("integration")}),a.installIntegration=function(b){return navigator.onLine?(a.status="Downloading",a.percentage=i(1,50),a.isProgressing=!0,b.downloading=!0,h.update({id:b.id},{active:!0}).$promise.then(function(){g(function(){a.percentage=i(51,99),a.status="Installing"},2500),g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",b.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)})["catch"](function(){b.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})):void e.show(c.instant("MESSAGE_NO_INTERNET_CONNECTION")+".","danger")},a.uninstallIntegration=function(b){return navigator.onLine?(a.status="Uninstalling",a.percentage=i(1,99),a.isProgressing=!0,b.downloading=!0,h.update({id:b.id},{active:!1}).$promise.then(function(){g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",b.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)})["catch"](function(){b.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})):void e.show(c.instant("MESSAGE_NO_INTERNET_CONNECTION")+".","danger")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.market",{url:"/market",templateUrl:"app/market/market.html",controller:"MarketCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","$window","$location","Auth",function(a,b,c,d,e,f){console.log(b),b.token&&b.userId&&b.role&&b.redirectTo?(f.loginWithToken(b.token,b.userId,b.role),d.location.href=decodeURIComponent(b.redirectTo)):e.path("/login")}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("motionbar",{url:"/motionbar?redirectTo&token&userId&role",template:"<div ui-view></div>",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist",{url:"/blacklist",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerBlackList","uiGridConstants",function(a,b,c,d,e,f,g){a.initView=function(){a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"phone"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteItem(row.entity.phone, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/blacklist/list/list.create.modal.html",controller:"MotionDialerBlackListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerBlackList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist.list",{url:"/list",templateUrl:"app/motiondialer/blacklist/list/list.html",controller:"MotionDialerBlackListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerBlackList",["$resource",function(a){return a("/api/rest/blacklist/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info",{url:"/info",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSystem",["$resource",function(a){return a("/api/rest/system/:controller",null,{properties:{method:"POST",params:{controller:"properties"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerInfoViewCtrl",["$scope","xAlert","MotionDialerSystem",function(a,b,c){a.getProperties=function(){return c.properties().$promise.then(function(c){console.log(c),c.status>0?a.properties=c.response.RMI:b.show(c.message||"Please, check your connection!","danger")})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info.view",{url:"/view",templateUrl:"app/motiondialer/info/view/view.html",controller:"MotionDialerInfoViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.info.view.about",{url:"/about",templateUrl:"app/motiondialer/info/view/view.about.html"}).state("main.motiondialer.info.view.details",{url:"/details",templateUrl:"app/motiondialer/info/view/view.details.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists",{url:"/lists",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerList","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs blue-hoki" href="/motiondialer/lists/view/{{row.entity.id}}/settings">{{\'APPLICATION_SETTINGS\' | translate}}</a> <a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteItem(row.entity.name, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/list/list/list.create.modal.html",controller:"MotionDialerListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.list",{url:"/list",templateUrl:"app/motiondialer/list/list/list.html",controller:"MotionDialerListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerContact",["$resource",function(a){return a("/api/rest/contact/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerList",["$resource",function(a){return a("/api/rest/list/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewContactCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerContact","xAlert","MotionDialerTimezone",function(a,b,c,d,e,f,g){a.form={},a.item={},a.timezones=g.list(),a.save=function(){return console.log(a.item),e.insert({id_list:parseInt(d.id),name:a.item.name,phones:a.item.phones.trim().split(","),description:a.item.description||""}).$promise.then(function(a){console.log(a),a.status>0?(f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):f.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListContactImportModalCtrl",["$scope","$uibModalInstance","$stateParams","indexes","csv","xAlert","MotionDialerContact","MotionDialerTimezone",function(a,b,c,d,e,f,g,h){function i(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);var d={id_list:parseInt(c.id),name:"",phones:[],description:""};return _.forOwn(a.item,function(a,c){"phones"===c?d[c].push(e[b][a]):d[c]=e[b][a]}),g.insert(d).$promise.then(function(b){b.status>0?(a["import"].success+=j,a["import"].succeeded++,k.push(b.response.RMI)):(console.log(b),a["import"].fail+=j,a["import"].failed++)})["catch"](function(b){console.log(b),a["import"].fail+=j,a["import"].failed++})["finally"](function(){i(b+1)})}a.form={},a.item={},a.timezones=h.list(),console.log(d),console.log(e),a.indexes=d,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=e.length;var j=100/a.csvLength,k=[];a.start=function(){a.importing=!0,a.submitted=!0,i(0)},a.close=function(){b.close(k)},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerList","MotionDialerContact","Modal","FileUploader","Papa",function(a,b,c,d,e,f,g,h,i,j,k,l){a.getList=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){b.status>0?a.list=b.response.RMI:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.updateList=function(){return h.update({id:a.list.id,name:a.list.name,description:a.list.description}).$promise.then(function(a){a.status>0?e.show(b.instant("MESSAGE_WELL_DONE"),"success"):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getContacts=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"name"},{name:"phones"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:f.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteContact(row.entity.name, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_list:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteContact=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.createContact=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/list/view/view.contact.create.modal.html",controller:"MotionDialerViewContactCreateCtrl"});b.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})};var m=a.uploader=new k({queueLimit:1,clearInputAfterAddedToQueue:!0});m.onAfterAddingFile=function(b){l.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){e.show(a,"danger")}})},a["import"]=function(b){var c=d.open({animation:!0,backdrop:"static",keyboard:!1,templateUrl:"app/motiondialer/list/view/view.contact.import.modal.html",controller:"MotionDialerListContactImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){console.log(b),a.gridOptions.data=a.gridOptions.data.concat(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.view",{url:"/view/:id",templateUrl:"app/motiondialer/list/view/view.html",controller:"MotionDialerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.lists.view.settings",{url:"/settings",templateUrl:"app/motiondialer/list/view/view.settings.html"}).state("main.motiondialer.lists.view.contacts",{url:"/contacts",templateUrl:"app/motiondialer/list/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").factory("MotionDialerTimezone",function(){return{list:function(){return[{group:"US (Common)",zones:[{value:"America/Puerto_Rico",name:"Puerto Rico (Atlantic)"},{value:"America/New_York",name:"New York (Eastern)"},{value:"America/Chicago",name:"Chicago (Central)"},{value:"America/Denver",name:"Denver (Mountain)"},{value:"America/Phoenix",name:"Phoenix (MST)"},{value:"America/Los_Angeles",name:"Los Angeles (Pacific)"},{value:"America/Anchorage",name:"Anchorage (Alaska)"},{value:"Pacific/Honolulu",name:"Honolulu (Hawaii)"}]},{group:"America",zones:[{value:"America/Adak",name:"Adak"},{value:"America/Anchorage",name:"Anchorage"},{value:"America/Anguilla",name:"Anguilla"},{value:"America/Antigua",name:"Antigua"},{value:"America/Araguaina",name:"Araguaina"},{value:"America/Argentina/Buenos_Aires",name:"Argentina - Buenos Aires"},{value:"America/Argentina/Catamarca",name:"Argentina - Catamarca"},{value:"America/Argentina/ComodRivadavia",name:"Argentina - ComodRivadavia"},{value:"America/Argentina/Cordoba",name:"Argentina - Cordoba"},{value:"America/Argentina/Jujuy",name:"Argentina - Jujuy"},{value:"America/Argentina/La_Rioja",name:"Argentina - La Rioja"},{value:"America/Argentina/Mendoza",name:"Argentina - Mendoza"},{value:"America/Argentina/Rio_Gallegos",name:"Argentina - Rio Gallegos"},{value:"America/Argentina/Salta",name:"Argentina - Salta"},{value:"America/Argentina/San_Juan",name:"Argentina - San Juan"},{value:"America/Argentina/San_Luis",name:"Argentina - San Luis"},{value:"America/Argentina/Tucuman",name:"Argentina - Tucuman"},{value:"America/Argentina/Ushuaia",name:"Argentina - Ushuaia"},{value:"America/Aruba",name:"Aruba"},{value:"America/Asuncion",name:"Asuncion"},{value:"America/Atikokan",name:"Atikokan"},{value:"America/Atka",name:"Atka"},{value:"America/Bahia",name:"Bahia"},{value:"America/Barbados",name:"Barbados"},{value:"America/Belem",name:"Belem"},{value:"America/Belize",name:"Belize"},{value:"America/Blanc-Sablon",name:"Blanc-Sablon"},{value:"America/Boa_Vista",name:"Boa Vista"},{value:"America/Bogota",name:"Bogota"},{value:"America/Boise",name:"Boise"},{value:"America/Buenos_Aires",name:"Buenos Aires"},{value:"America/Cambridge_Bay",name:"Cambridge Bay"},{value:"America/Campo_Grande",name:"Campo Grande"},{value:"America/Cancun",name:"Cancun"},{value:"America/Caracas",name:"Caracas"},{value:"America/Catamarca",name:"Catamarca"},{value:"America/Cayenne",name:"Cayenne"},{value:"America/Cayman",name:"Cayman"},{value:"America/Chicago",name:"Chicago"},{value:"America/Chihuahua",name:"Chihuahua"},{value:"America/Coral_Harbour",name:"Coral Harbour"},{value:"America/Cordoba",name:"Cordoba"},{value:"America/Costa_Rica",name:"Costa Rica"},{value:"America/Cuiaba",name:"Cuiaba"},{value:"America/Curacao",name:"Curacao"},{value:"America/Danmarkshavn",name:"Danmarkshavn"},{value:"America/Dawson",name:"Dawson"},{value:"America/Dawson_Creek",name:"Dawson Creek"},{value:"America/Denver",name:"Denver"},{value:"America/Detroit",name:"Detroit"},{value:"America/Dominica",name:"Dominica"},{value:"America/Edmonton",name:"Edmonton"},{value:"America/Eirunepe",name:"Eirunepe"},{value:"America/El_Salvador",name:"El Salvador"},{value:"America/Ensenada",name:"Ensenada"},{value:"America/Fortaleza",name:"Fortaleza"},{value:"America/Fort_Wayne",name:"Fort Wayne"},{value:"America/Glace_Bay",name:"Glace Bay"},{value:"America/Godthab",name:"Godthab"},{value:"America/Goose_Bay",name:"Goose Bay"},{value:"America/Grand_Turk",name:"Grand Turk"},{value:"America/Grenada",name:"Grenada"},{value:"America/Guadeloupe",name:"Guadeloupe"},{value:"America/Guatemala",name:"Guatemala"},{value:"America/Guayaquil",name:"Guayaquil"},{value:"America/Guyana",name:"Guyana"},{value:"America/Halifax",name:"Halifax"},{value:"America/Havana",name:"Havana"},{value:"America/Hermosillo",name:"Hermosillo"},{value:"America/Indiana/Indianapolis",name:"Indiana - Indianapolis"},{value:"America/Indiana/Knox",name:"Indiana - Knox"},{value:"America/Indiana/Marengo",name:"Indiana - Marengo"},{value:"America/Indiana/Petersburg",name:"Indiana - Petersburg"},{value:"America/Indiana/Tell_City",name:"Indiana - Tell City"},{value:"America/Indiana/Vevay",name:"Indiana - Vevay"},{value:"America/Indiana/Vincennes",name:"Indiana - Vincennes"},{value:"America/Indiana/Winamac",name:"Indiana - Winamac"},{value:"America/Indianapolis",name:"Indianapolis"},{value:"America/Inuvik",name:"Inuvik"},{value:"America/Iqaluit",name:"Iqaluit"},{value:"America/Jamaica",name:"Jamaica"},{value:"America/Jujuy",name:"Jujuy"},{value:"America/Juneau",name:"Juneau"},{value:"America/Kentucky/Louisville",name:"Kentucky - Louisville"},{value:"America/Kentucky/Monticello",name:"Kentucky - Monticello"},{value:"America/Knox_IN",name:"Knox IN"},{value:"America/La_Paz",name:"La Paz"},{value:"America/Lima",name:"Lima"},{value:"America/Los_Angeles",name:"Los Angeles"},{value:"America/Louisville",name:"Louisville"},{value:"America/Maceio",name:"Maceio"},{value:"America/Managua",name:"Managua"},{value:"America/Manaus",name:"Manaus"},{value:"America/Marigot",name:"Marigot"},{value:"America/Martinique",name:"Martinique"},{value:"America/Matamoros",name:"Matamoros"},{value:"America/Mazatlan",name:"Mazatlan"},{value:"America/Mendoza",name:"Mendoza"},{value:"America/Menominee",name:"Menominee"},{value:"America/Merida",name:"Merida"},{value:"America/Mexico_City",name:"Mexico City"},{value:"America/Miquelon",name:"Miquelon"},{value:"America/Moncton",name:"Moncton"},{value:"America/Monterrey",name:"Monterrey"},{value:"America/Montevideo",name:"Montevideo"},{value:"America/Montreal",name:"Montreal"},{value:"America/Montserrat",name:"Montserrat"},{value:"America/Nassau",name:"Nassau"},{value:"America/New_York",name:"New York"},{value:"America/Nipigon",name:"Nipigon"},{value:"America/Nome",name:"Nome"},{value:"America/Noronha",name:"Noronha"},{value:"America/North_Dakota/Center",name:"North Dakota - Center"},{value:"America/North_Dakota/New_Salem",name:"North Dakota - New Salem"},{value:"America/Ojinaga",name:"Ojinaga"},{value:"America/Panama",name:"Panama"},{value:"America/Pangnirtung",name:"Pangnirtung"},{value:"America/Paramaribo",name:"Paramaribo"},{value:"America/Phoenix",name:"Phoenix"},{value:"America/Port-au-Prince",name:"Port-au-Prince"},{value:"America/Porto_Acre",name:"Porto Acre"},{value:"America/Port_of_Spain",name:"Port of Spain"},{value:"America/Porto_Velho",name:"Porto Velho"},{value:"America/Puerto_Rico",name:"Puerto Rico"},{value:"America/Rainy_River",name:"Rainy River"},{value:"America/Rankin_Inlet",name:"Rankin Inlet"},{value:"America/Recife",name:"Recife"},{value:"America/Regina",name:"Regina"},{value:"America/Resolute",name:"Resolute"},{value:"America/Rio_Branco",name:"Rio Branco"},{value:"America/Rosario",name:"Rosario"},{value:"America/Santa_Isabel",name:"Santa Isabel"},{value:"America/Santarem",name:"Santarem"},{value:"America/Santiago",name:"Santiago"},{value:"America/Santo_Domingo",name:"Santo Domingo"},{value:"America/Sao_Paulo",name:"Sao Paulo"},{value:"America/Scoresbysund",name:"Scoresbysund"},{value:"America/Shiprock",name:"Shiprock"},{value:"America/St_Barthelemy",name:"St Barthelemy"},{value:"America/St_Johns",name:"St Johns"},{value:"America/St_Kitts",name:"St Kitts"},{value:"America/St_Lucia",name:"St Lucia"},{value:"America/St_Thomas",name:"St Thomas"},{value:"America/St_Vincent",name:"St Vincent"},{value:"America/Swift_Current",name:"Swift Current"},{value:"America/Tegucigalpa",name:"Tegucigalpa"},{value:"America/Thule",name:"Thule"},{value:"America/Thunder_Bay",name:"Thunder Bay"},{value:"America/Tijuana",name:"Tijuana"},{value:"America/Toronto",name:"Toronto"},{value:"America/Tortola",name:"Tortola"},{value:"America/Vancouver",name:"Vancouver"},{value:"America/Virgin",name:"Virgin"},{value:"America/Whitehorse",name:"Whitehorse"},{value:"America/Winnipeg",name:"Winnipeg"},{value:"America/Yakutat",name:"Yakutat"},{value:"America/Yellowknife",name:"Yellowknife"}]},{group:"Europe",zones:[{value:"Europe/Amsterdam",name:"Amsterdam"},{value:"Europe/Andorra",name:"Andorra"},{value:"Europe/Athens",name:"Athens"},{value:"Europe/Belfast",name:"Belfast"},{value:"Europe/Belgrade",name:"Belgrade"},{value:"Europe/Berlin",name:"Berlin"},{value:"Europe/Bratislava",name:"Bratislava"},{value:"Europe/Brussels",name:"Brussels"},{value:"Europe/Bucharest",name:"Bucharest"},{value:"Europe/Budapest",name:"Budapest"},{value:"Europe/Chisinau",name:"Chisinau"},{value:"Europe/Copenhagen",name:"Copenhagen"},{value:"Europe/Dublin",name:"Dublin"},{value:"Europe/Gibraltar",name:"Gibraltar"},{value:"Europe/Guernsey",name:"Guernsey"},{value:"Europe/Helsinki",name:"Helsinki"},{value:"Europe/Isle_of_Man",name:"Isle of Man"},{value:"Europe/Istanbul",name:"Istanbul"},{value:"Europe/Jersey",name:"Jersey"},{value:"Europe/Kaliningrad",name:"Kaliningrad"},{value:"Europe/Kiev",name:"Kiev"},{value:"Europe/Lisbon",name:"Lisbon"},{value:"Europe/Ljubljana",name:"Ljubljana"},{value:"Europe/London",name:"London"},{value:"Europe/Luxembourg",name:"Luxembourg"},{value:"Europe/Madrid",name:"Madrid"},{value:"Europe/Malta",name:"Malta"},{value:"Europe/Mariehamn",name:"Mariehamn"},{value:"Europe/Minsk",name:"Minsk"},{value:"Europe/Monaco",name:"Monaco"},{value:"Europe/Moscow",name:"Moscow"},{value:"Europe/Nicosia",name:"Nicosia"},{value:"Europe/Oslo",name:"Oslo"},{value:"Europe/Paris",name:"Paris"},{value:"Europe/Podgorica",name:"Podgorica"},{value:"Europe/Prague",name:"Prague"},{value:"Europe/Riga",name:"Riga"},{value:"Europe/Rome",name:"Rome"},{value:"Europe/Samara",name:"Samara"},{value:"Europe/San_Marino",name:"San Marino"},{value:"Europe/Sarajevo",name:"Sarajevo"},{value:"Europe/Simferopol",name:"Simferopol"},{value:"Europe/Skopje",name:"Skopje"},{value:"Europe/Sofia",name:"Sofia"},{value:"Europe/Stockholm",name:"Stockholm"},{value:"Europe/Tallinn",name:"Tallinn"},{value:"Europe/Tirane",name:"Tirane"},{value:"Europe/Tiraspol",name:"Tiraspol"},{value:"Europe/Uzhgorod",name:"Uzhgorod"},{value:"Europe/Vaduz",name:"Vaduz"},{value:"Europe/Vatican",name:"Vatican"},{value:"Europe/Vienna",name:"Vienna"},{value:"Europe/Vilnius",name:"Vilnius"},{value:"Europe/Volgograd",name:"Volgograd"},{value:"Europe/Warsaw",name:"Warsaw"},{value:"Europe/Zagreb",name:"Zagreb"},{value:"Europe/Zaporozhye",name:"Zaporozhye"},{value:"Europe/Zurich",name:"Zurich"}]},{group:"Asia",zones:[{value:"Asia/Aden",name:"Aden"},{value:"Asia/Almaty",name:"Almaty"},{value:"Asia/Amman",name:"Amman"},{value:"Asia/Anadyr",name:"Anadyr"},{value:"Asia/Aqtau",name:"Aqtau"},{value:"Asia/Aqtobe",name:"Aqtobe"},{value:"Asia/Ashgabat",name:"Ashgabat"},{value:"Asia/Ashkhabad",name:"Ashkhabad"},{value:"Asia/Baghdad",name:"Baghdad"},{value:"Asia/Bahrain",name:"Bahrain" -},{value:"Asia/Baku",name:"Baku"},{value:"Asia/Bangkok",name:"Bangkok"},{value:"Asia/Beirut",name:"Beirut"},{value:"Asia/Bishkek",name:"Bishkek"},{value:"Asia/Brunei",name:"Brunei"},{value:"Asia/Calcutta",name:"Calcutta"},{value:"Asia/Choibalsan",name:"Choibalsan"},{value:"Asia/Chongqing",name:"Chongqing"},{value:"Asia/Chungking",name:"Chungking"},{value:"Asia/Colombo",name:"Colombo"},{value:"Asia/Dacca",name:"Dacca"},{value:"Asia/Damascus",name:"Damascus"},{value:"Asia/Dhaka",name:"Dhaka"},{value:"Asia/Dili",name:"Dili"},{value:"Asia/Dubai",name:"Dubai"},{value:"Asia/Dushanbe",name:"Dushanbe"},{value:"Asia/Gaza",name:"Gaza"},{value:"Asia/Harbin",name:"Harbin"},{value:"Asia/Ho_Chi_Minh",name:"Ho Chi Minh"},{value:"Asia/Hong_Kong",name:"Hong Kong"},{value:"Asia/Hovd",name:"Hovd"},{value:"Asia/Irkutsk",name:"Irkutsk"},{value:"Asia/Istanbul",name:"Istanbul"},{value:"Asia/Jakarta",name:"Jakarta"},{value:"Asia/Jayapura",name:"Jayapura"},{value:"Asia/Jerusalem",name:"Jerusalem"},{value:"Asia/Kabul",name:"Kabul"},{value:"Asia/Kamchatka",name:"Kamchatka"},{value:"Asia/Karachi",name:"Karachi"},{value:"Asia/Kashgar",name:"Kashgar"},{value:"Asia/Kathmandu",name:"Kathmandu"},{value:"Asia/Katmandu",name:"Katmandu"},{value:"Asia/Kolkata",name:"Kolkata"},{value:"Asia/Krasnoyarsk",name:"Krasnoyarsk"},{value:"Asia/Kuala_Lumpur",name:"Kuala Lumpur"},{value:"Asia/Kuching",name:"Kuching"},{value:"Asia/Kuwait",name:"Kuwait"},{value:"Asia/Macao",name:"Macao"},{value:"Asia/Macau",name:"Macau"},{value:"Asia/Magadan",name:"Magadan"},{value:"Asia/Makassar",name:"Makassar"},{value:"Asia/Manila",name:"Manila"},{value:"Asia/Muscat",name:"Muscat"},{value:"Asia/Nicosia",name:"Nicosia"},{value:"Asia/Novokuznetsk",name:"Novokuznetsk"},{value:"Asia/Novosibirsk",name:"Novosibirsk"},{value:"Asia/Omsk",name:"Omsk"},{value:"Asia/Oral",name:"Oral"},{value:"Asia/Phnom_Penh",name:"Phnom Penh"},{value:"Asia/Pontianak",name:"Pontianak"},{value:"Asia/Pyongyang",name:"Pyongyang"},{value:"Asia/Qatar",name:"Qatar"},{value:"Asia/Qyzylorda",name:"Qyzylorda"},{value:"Asia/Rangoon",name:"Rangoon"},{value:"Asia/Riyadh",name:"Riyadh"},{value:"Asia/Saigon",name:"Saigon"},{value:"Asia/Sakhalin",name:"Sakhalin"},{value:"Asia/Samarkand",name:"Samarkand"},{value:"Asia/Seoul",name:"Seoul"},{value:"Asia/Shanghai",name:"Shanghai"},{value:"Asia/Singapore",name:"Singapore"},{value:"Asia/Taipei",name:"Taipei"},{value:"Asia/Tashkent",name:"Tashkent"},{value:"Asia/Tbilisi",name:"Tbilisi"},{value:"Asia/Tehran",name:"Tehran"},{value:"Asia/Tel_Aviv",name:"Tel Aviv"},{value:"Asia/Thimbu",name:"Thimbu"},{value:"Asia/Thimphu",name:"Thimphu"},{value:"Asia/Tokyo",name:"Tokyo"},{value:"Asia/Ujung_Pandang",name:"Ujung Pandang"},{value:"Asia/Ulaanbaatar",name:"Ulaanbaatar"},{value:"Asia/Ulan_Bator",name:"Ulan Bator"},{value:"Asia/Urumqi",name:"Urumqi"},{value:"Asia/Vientiane",name:"Vientiane"},{value:"Asia/Vladivostok",name:"Vladivostok"},{value:"Asia/Yakutsk",name:"Yakutsk"},{value:"Asia/Yekaterinburg",name:"Yekaterinburg"},{value:"Asia/Yerevan",name:"Yerevan"}]},{group:"Africa",zones:[{value:"Africa/Abidjan",name:"Abidjan"},{value:"Africa/Accra",name:"Accra"},{value:"Africa/Addis_Ababa",name:"Addis Ababa"},{value:"Africa/Algiers",name:"Algiers"},{value:"Africa/Asmara",name:"Asmara"},{value:"Africa/Asmera",name:"Asmera"},{value:"Africa/Bamako",name:"Bamako"},{value:"Africa/Bangui",name:"Bangui"},{value:"Africa/Banjul",name:"Banjul"},{value:"Africa/Bissau",name:"Bissau"},{value:"Africa/Blantyre",name:"Blantyre"},{value:"Africa/Brazzaville",name:"Brazzaville"},{value:"Africa/Bujumbura",name:"Bujumbura"},{value:"Africa/Cairo",name:"Cairo"},{value:"Africa/Casablanca",name:"Casablanca"},{value:"Africa/Ceuta",name:"Ceuta"},{value:"Africa/Conakry",name:"Conakry"},{value:"Africa/Dakar",name:"Dakar"},{value:"Africa/Dar_es_Salaam",name:"Dar es Salaam"},{value:"Africa/Djibouti",name:"Djibouti"},{value:"Africa/Douala",name:"Douala"},{value:"Africa/El_Aaiun",name:"El Aaiun"},{value:"Africa/Freetown",name:"Freetown"},{value:"Africa/Gaborone",name:"Gaborone"},{value:"Africa/Harare",name:"Harare"},{value:"Africa/Johannesburg",name:"Johannesburg"},{value:"Africa/Kampala",name:"Kampala"},{value:"Africa/Khartoum",name:"Khartoum"},{value:"Africa/Kigali",name:"Kigali"},{value:"Africa/Kinshasa",name:"Kinshasa"},{value:"Africa/Lagos",name:"Lagos"},{value:"Africa/Libreville",name:"Libreville"},{value:"Africa/Lome",name:"Lome"},{value:"Africa/Luanda",name:"Luanda"},{value:"Africa/Lubumbashi",name:"Lubumbashi"},{value:"Africa/Lusaka",name:"Lusaka"},{value:"Africa/Malabo",name:"Malabo"},{value:"Africa/Maputo",name:"Maputo"},{value:"Africa/Maseru",name:"Maseru"},{value:"Africa/Mbabane",name:"Mbabane"},{value:"Africa/Mogadishu",name:"Mogadishu"},{value:"Africa/Monrovia",name:"Monrovia"},{value:"Africa/Nairobi",name:"Nairobi"},{value:"Africa/Ndjamena",name:"Ndjamena"},{value:"Africa/Niamey",name:"Niamey"},{value:"Africa/Nouakchott",name:"Nouakchott"},{value:"Africa/Ouagadougou",name:"Ouagadougou"},{value:"Africa/Porto-Novo",name:"Porto-Novo"},{value:"Africa/Sao_Tome",name:"Sao Tome"},{value:"Africa/Timbuktu",name:"Timbuktu"},{value:"Africa/Tripoli",name:"Tripoli"},{value:"Africa/Tunis",name:"Tunis"},{value:"Africa/Windhoek",name:"Windhoek"}]},{group:"Australia",zones:[{value:"Australia/ACT",name:"ACT"},{value:"Australia/Adelaide",name:"Adelaide"},{value:"Australia/Brisbane",name:"Brisbane"},{value:"Australia/Broken_Hill",name:"Broken Hill"},{value:"Australia/Canberra",name:"Canberra"},{value:"Australia/Currie",name:"Currie"},{value:"Australia/Darwin",name:"Darwin"},{value:"Australia/Eucla",name:"Eucla"},{value:"Australia/Hobart",name:"Hobart"},{value:"Australia/LHI",name:"LHI"},{value:"Australia/Lindeman",name:"Lindeman"},{value:"Australia/Lord_Howe",name:"Lord Howe"},{value:"Australia/Melbourne",name:"Melbourne"},{value:"Australia/North",name:"North"},{value:"Australia/NSW",name:"NSW"},{value:"Australia/Perth",name:"Perth"},{value:"Australia/Queensland",name:"Queensland"},{value:"Australia/South",name:"South"},{value:"Australia/Sydney",name:"Sydney"},{value:"Australia/Tasmania",name:"Tasmania"},{value:"Australia/Victoria",name:"Victoria"},{value:"Australia/West",name:"West"},{value:"Australia/Yancowinna",name:"Yancowinna"}]},{group:"Indian",zones:[{value:"Indian/Antananarivo",name:"Antananarivo"},{value:"Indian/Chagos",name:"Chagos"},{value:"Indian/Christmas",name:"Christmas"},{value:"Indian/Cocos",name:"Cocos"},{value:"Indian/Comoro",name:"Comoro"},{value:"Indian/Kerguelen",name:"Kerguelen"},{value:"Indian/Mahe",name:"Mahe"},{value:"Indian/Maldives",name:"Maldives"},{value:"Indian/Mauritius",name:"Mauritius"},{value:"Indian/Mayotte",name:"Mayotte"},{value:"Indian/Reunion",name:"Reunion"}]},{group:"Atlantic",zones:[{value:"Atlantic/Azores",name:"Azores"},{value:"Atlantic/Bermuda",name:"Bermuda"},{value:"Atlantic/Canary",name:"Canary"},{value:"Atlantic/Cape_Verde",name:"Cape Verde"},{value:"Atlantic/Faeroe",name:"Faeroe"},{value:"Atlantic/Faroe",name:"Faroe"},{value:"Atlantic/Jan_Mayen",name:"Jan Mayen"},{value:"Atlantic/Madeira",name:"Madeira"},{value:"Atlantic/Reykjavik",name:"Reykjavik"},{value:"Atlantic/South_Georgia",name:"South Georgia"},{value:"Atlantic/Stanley",name:"Stanley"},{value:"Atlantic/St_Helena",name:"St Helena"}]},{group:"Pacific",zones:[{value:"Pacific/Apia",name:"Apia"},{value:"Pacific/Auckland",name:"Auckland"},{value:"Pacific/Chatham",name:"Chatham"},{value:"Pacific/Easter",name:"Easter"},{value:"Pacific/Efate",name:"Efate"},{value:"Pacific/Enderbury",name:"Enderbury"},{value:"Pacific/Fakaofo",name:"Fakaofo"},{value:"Pacific/Fiji",name:"Fiji"},{value:"Pacific/Funafuti",name:"Funafuti"},{value:"Pacific/Galapagos",name:"Galapagos"},{value:"Pacific/Gambier",name:"Gambier"},{value:"Pacific/Guadalcanal",name:"Guadalcanal"},{value:"Pacific/Guam",name:"Guam"},{value:"Pacific/Honolulu",name:"Honolulu"},{value:"Pacific/Johnston",name:"Johnston"},{value:"Pacific/Kiritimati",name:"Kiritimati"},{value:"Pacific/Kosrae",name:"Kosrae"},{value:"Pacific/Kwajalein",name:"Kwajalein"},{value:"Pacific/Majuro",name:"Majuro"},{value:"Pacific/Marquesas",name:"Marquesas"},{value:"Pacific/Midway",name:"Midway"},{value:"Pacific/Nauru",name:"Nauru"},{value:"Pacific/Niue",name:"Niue"},{value:"Pacific/Norfolk",name:"Norfolk"},{value:"Pacific/Noumea",name:"Noumea"},{value:"Pacific/Pago_Pago",name:"Pago Pago"},{value:"Pacific/Palau",name:"Palau"},{value:"Pacific/Pitcairn",name:"Pitcairn"},{value:"Pacific/Ponape",name:"Ponape"},{value:"Pacific/Port_Moresby",name:"Port Moresby"},{value:"Pacific/Rarotonga",name:"Rarotonga"},{value:"Pacific/Saipan",name:"Saipan"},{value:"Pacific/Samoa",name:"Samoa"},{value:"Pacific/Tahiti",name:"Tahiti"},{value:"Pacific/Tarawa",name:"Tarawa"},{value:"Pacific/Tongatapu",name:"Tongatapu"},{value:"Pacific/Truk",name:"Truk"},{value:"Pacific/Wake",name:"Wake"},{value:"Pacific/Wallis",name:"Wallis"},{value:"Pacific/Yap",name:"Yap"}]},{group:"Antarctica",zones:[{value:"Antarctica/Casey",name:"Casey"},{value:"Antarctica/Davis",name:"Davis"},{value:"Antarctica/DumontDUrville",name:"DumontDUrville"},{value:"Antarctica/Macquarie",name:"Macquarie"},{value:"Antarctica/Mawson",name:"Mawson"},{value:"Antarctica/McMurdo",name:"McMurdo"},{value:"Antarctica/Palmer",name:"Palmer"},{value:"Antarctica/Rothera",name:"Rothera"},{value:"Antarctica/South_Pole",name:"South Pole"},{value:"Antarctica/Syowa",name:"Syowa"},{value:"Antarctica/Vostok",name:"Vostok"}]},{group:"Arctic",zones:[{value:"Arctic/Longyearbyen",name:"Longyearbyen"}]},{group:"UTC",zones:[{value:"UTC",name:"UTC"}]},{group:"Manual Offsets",zones:[{value:"UTC-12",name:"UTC-12"},{value:"UTC-11",name:"UTC-11"},{value:"UTC-10",name:"UTC-10"},{value:"UTC-9",name:"UTC-9"},{value:"UTC-8",name:"UTC-8"},{value:"UTC-7",name:"UTC-7"},{value:"UTC-6",name:"UTC-6"},{value:"UTC-5",name:"UTC-5"},{value:"UTC-4",name:"UTC-4"},{value:"UTC-3",name:"UTC-3"},{value:"UTC-2",name:"UTC-2"},{value:"UTC-1",name:"UTC-1"},{value:"UTC+0",name:"UTC+0"},{value:"UTC+1",name:"UTC+1"},{value:"UTC+2",name:"UTC+2"},{value:"UTC+3",name:"UTC+3"},{value:"UTC+4",name:"UTC+4"},{value:"UTC+5",name:"UTC+5"},{value:"UTC+6",name:"UTC+6"},{value:"UTC+7",name:"UTC+7"},{value:"UTC+8",name:"UTC+8"},{value:"UTC+9",name:"UTC+9"},{value:"UTC+10",name:"UTC+10"},{value:"UTC+11",name:"UTC+11"},{value:"UTC+12",name:"UTC+12"},{value:"UTC+13",name:"UTC+13"},{value:"UTC+14",name:"UTC+14"}]}]}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer",{url:"/motiondialer",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:16}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerProcess","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"queue",enableSorting:!1},{name:"extension",enableSorting:!1},{name:"id_list",enableSorting:!1,cellTemplate:'<div><a class="btn btn-xs grey-cascade" href="/motiondialer/lists/view/{{row.entity.id_list}}/settings">{{row.entity.id_list}}</a></div>',cellClass:"ui-grid-vcenter"},{name:"status",cellTemplate:"<div><a class=\"btn btn-xs\" data-ng-class=\"row.entity.status == 'STOP' ? 'red-sunglo' : 'green-meadow'\" data-ng-href=\"#\">{{ (row.entity.status === 'RUN') ? 'RUNNING' : 'STOPPED'}}</a></div>",cellClass:"ui-grid-vcenter",filter:{type:g.filter.SELECT,selectOptions:[{value:"RUN",label:"RUNNING"},{value:"STOP",label:"STOPPED"}]}},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs blue-hoki" href="/motiondialer/processes/view/{{row.entity.id}}/overview">{{\'APPLICATION_SETTINGS\' | translate}}</a> <a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteItem(row.entity.name, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){console.log(b),b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createProcessQueue=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.queue.modal.html",controller:"MotionDialerProcessListCreateQueueCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.createProcessSquare=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.square.modal.html",controller:"MotionDialerProcessListCreateSquareCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateQueueCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","Trunk","VoiceQueue","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC",timeout:3},a.initModal=function(){return g.get().$promise.then(function(b){return a.queues={},b&&(a.queues=b.rows),f.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_queue_"+a.item.queue.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Queue"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["CDR(type)=tigerdial"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["QUEUE_PRIO=99"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:[a.item.queue.name,"","","",a.item.timeout],app:"Queue",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:a.item.queue.name,device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateSquareCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","SquareProject","Trunk","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC"},a.initModal=function(){return f.get().$promise.then(function(b){return a.projects={},b&&(a.projects=b.rows),g.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_square_"+a.item.project.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Square"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["CDR(type)=tigerdial"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["agi://127.0.0.1/square",a.item.project.name],app:"AGI",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:"none",device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,channel_limit:15,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.list",{url:"/list",templateUrl:"app/motiondialer/process/list/list.html",controller:"MotionDialerProcessListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerProcess",["$resource",function(a){return a("/api/rest/process/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSpooler",["$resource",function(a){return a("/api/rest/spooler/:controller/:retrieve/:peer",null,{list:{method:"POST",params:{controller:"list"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},summary:{method:"POST",params:{controller:"summary"}},close:{method:"POST",params:{controller:"retrieve",retrieve:"close"}},open:{method:"POST",params:{controller:"retrieve",retrieve:"open"}},blacklist:{method:"POST",params:{controller:"retrieve",retrieve:"blacklist"}},planning:{method:"POST",params:{controller:"retrieve",retrieve:"planning"}},planningpeer:{method:"POST",params:{controller:"retrieve",retrieve:"planning",peer:"peer"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes",{url:"/processes",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerProcess","MotionDialerSpooler","Modal","VoiceQueue",function(a,b,c,d,e,f,g,h,i,j,k){a.process={},a.techs=["SIP","IAX","LOCAL","KHOMP"],a.dialFormats=["tech/device/number","tech/number@device"],a.checkDuplicates=["ALWAYS","IFOPEN","NO"],a.codecs=["g729","ilbc","gsm","ulaw","alaw"],a.getProcess=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){console.log(b),b.status>0?(b.response.RMI.codecs=b.response.RMI.codecs.split(","),a.process=b.response.RMI):e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSummary=function(){return i.summary({id_process:parseInt(c.id)}).$promise.then(function(b){if(b.status>0){a.summary=b.response.RMI.totals,a.total=0;for(var c=0;c<a.summary.length;c++)a.total+=a.summary[c][1]}else e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.updateProcess=function(){var c=_.clone(a.process);return delete c.updatedtime,delete c.id_list,delete c.createdtime,delete c.runtime,delete c.fetch_sort,c.codecs=c.codecs.join(","),""===c.timezone&&delete c.timezone,h.update(c).$promise.then(function(c){c.status>0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSpooler=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,headerCellFilter:"translate",columnDefs:[{name:"name"},{name:"phones"},{name:"retrieve",filter:{type:f.filter.SELECT,selectOptions:[{value:"PLANNED_PEER",label:"PLANNED PEER"},{value:"PLANNED",label:"PLANNED"},{value:"BLACK_LIST",label:"BLACKLIST"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"MAX_ATTEMPTS",label:"MAX ATTEMPTS"},{value:"COUNTER_BLOCK",label:"COUNTER BLOCK"},{value:"PLANNED_REQUEST",label:"PLANNED REQUEST"},{value:"DELETE",label:"DELETE"}]}},{name:"counter",enableFiltering:!1},{name:"planningtime",cellTemplate:"<div>{{row.entity.planningtime | date:'yyyy-MM-dd HH:mm'}}</div>",cellClass:"ui-grid-vcenter",enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs green" data-ng-click="grid.appScope.historySpooler(row.entity.history)"><i class="icon-info"></i></a> <a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.editSpooler(row.entity)"><i class="icon-settings"></i></a> <a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteSpooler(row.entity.phones.join(), row.entity.id)"><i class="fa fa-trash"></i></a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_process:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteSpooler=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.historySpooler=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.history.modal.html",controller:"MotionDialerViewSpoolerHistoryCtrl",resolve:{historySpooler:function(){return b}}});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.editSpooler=function(a){var b=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.edit.modal.html",controller:"MotionDialerViewSpoolerEditCtrl",resolve:{entitySpooler:function(){return a}}});b.result.then(function(){})},a.initSettings=function(){return a.queues=null,k.get().$promise.then(function(b){b&&(a.queues=b.rows,a.process.queue&&"none"!==a.process.queue&&(a.queue=_.find(b.rows,{name:a.process.queue})))})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.createInterval=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return b?"8:00-20:00|MON-FRI|*|*":"00:01-07:59|SAT-SUN|*|*"}}});c.result.then(function(b){a.process=b})},a.editInterval=function(b,c){var e=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return c}}});e.result.then(function(b){a.process=b})},a.deleteInterval=j.confirm["delete"](function(c,d){var f={id:a.process.id};return d?(f.intervals=[],f.intervals=f.intervals.concat(a.process.intervals),f.intervals.splice(c,1)):(f.not_intervals=[],f.not_intervals=f.not_intervals.concat(a.process.not_intervals),f.not_intervals.splice(c,1)),h.update(f).$promise.then(function(c){c.status>0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.runOrStop=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.run.process.modal.html",controller:"MotionDialerViewRunProcessCtrl",resolve:{statusProcess:function(){return a.process.status}}});b.result.then(function(b){a.process.status=b.status})}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewCreateIntervalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerProcess","xAlert","objectProcess","intervalType","intervalValue","interval",function(a,b,c,d,e,f,g,h,i,j){function k(a){var b,c=a.split("|"),d={};return c.forEach(function(a,c){switch(c){case 0:"*"!==a?(b=a.split("-"),d.t_from=moment(b[0],"HH:mm"),d.t_to=moment(b[1],"HH:mm"),d.alwaysTime=!1):(d.t_from=moment(new Date),d.t_to=moment(new Date),d.alwaysTime=!0);break;case 1:"*"!==a?(b=a.split("-"),d.wd_from=b[0].toLowerCase(),d.wd_to=b[1]?b[1].toLowerCase():"always"):(d.wd_from="always",d.wd_to="always");break;case 2:"*"!==a?(b=a.split("-"),d.md_from=b[0],d.md_to=b[1]?b[1]:"always"):(d.md_from="always",d.md_to="always");break;case 3:"*"!==a?(b=a.split("-"),d.m_from=b[0],d.m_to=b[1]?b[1]:"always"):(d.m_from="always",d.m_to="always")}}),d}function l(a){var b,c,d,e;return b=a.t_from&&a.t_to&&!a.alwaysTime?moment(a.t_from).format("HH:mm")+"-"+moment(a.t_to).format("HH:mm"):"*",a.wd_from&&"always"!==a.wd_from?(c=a.wd_from.toUpperCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toUpperCase())):c="*",a.md_from&&"always"!==a.md_from?(d=a.md_from,a.md_to&&"always"!==a.md_to&&(d+="-"+a.md_to)):d="*",a.m_from&&"always"!==a.m_from?(e=a.m_from,a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to)):e="*",b+"|"+c+"|"+d+"|"+e}a.form={},a.$interval=j.interval,a.splittedInterval=k(i),a.save=function(){var d=l(a.splittedInterval);console.log(d);var i={id:g.id};return h?(i.intervals=[],i.intervals=i.intervals.concat(g.intervals),i.intervals.push(d)):(i.not_intervals=[],i.not_intervals=i.not_intervals.concat(g.not_intervals),i.not_intervals.push(d)),console.log(i),e.update(i).$promise.then(function(a){a.status>0?(a.response.RMI.codecs=a.response.RMI.codecs.split(","),f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):a.response.RMI.errors.forEach(function(a){a?f.show(a.field+": "+a.error,"danger"):f.show("Please, check your connection!","danger")})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.view",{url:"/view/:id",templateUrl:"app/motiondialer/process/view/view.html",controller:"MotionDialerProcessViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.processes.view.overview",{url:"/overview",templateUrl:"app/motiondialer/process/view/view.overview.html"}).state("main.motiondialer.processes.view.settings",{url:"/settings",templateUrl:"app/motiondialer/process/view/view.settings.html"}).state("main.motiondialer.processes.view.intervals",{url:"/intervals",templateUrl:"app/motiondialer/process/view/view.intervals.html"}).state("main.motiondialer.processes.view.spooler",{url:"/spooler",templateUrl:"app/motiondialer/process/view/view.spooler.html"})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewRunProcessCtrl",["$scope","$stateParams","$uibModalInstance","$translate","statusProcess","MotionDialerProcess","xAlert",function(a,b,c,d,e,f,g){a.status="RUN"===e?"STOP":"RUN",a.yes=function(){f.update({id:parseInt(b.id),status:a.status}).$promise.then(function(a){a.status>0?(g.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):g.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){g.show(a.message?a.message:a.data.message,"danger")})},a.no=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerEditCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","entitySpooler","Agent",function(a,b,c,d,e,f,g,h){a.initModal=function(){return h.get().$promise.then(function(b){a.agents=[],b&&b.rows.forEach(function(b){a.agents.push("SIP/"+b.name)})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.entitySpooler=g,a.save=function(){var d;switch(a.entitySpooler.retrieve){case"CLOSED":d=e.close({id:parseInt(a.entitySpooler.id)});break;case"OPEN":d=e.open({id:parseInt(a.entitySpooler.id)});break;case"BLACK_LIST":d=e.blacklist({id:parseInt(a.entitySpooler.id)});break;case"PLANNED":d=e.planning({id:parseInt(a.entitySpooler.id),date:moment(a.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm")});break;case"PLANNED_PEER":d=e.planningpeer({id:parseInt(a.entitySpooler.id),date:moment(a.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm"),peer:a.entitySpooler.planningpeer})}d?d.$promise.then(function(a){console.log(a),a.status>0?(f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close()):a.response.RMI.errors.forEach(function(a){a?f.show(a.field+": "+a.error,"danger"):f.show("Please, check your connection!","danger")})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")}):f.show("RETRIEVE NOT FOUND","danger")},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerHistoryCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","historySpooler",function(a,b,c,d,e,f,g){a.historySpooler=g,a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$scope","SalesforceAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"salesforce_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.list",{url:"/list",templateUrl:"app/salesforce/list/list.html",controller:"SalesforceListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("SalesforceAccount",["$resource",function(a){return a("/api/salesforce/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("SalesforceConfiguration",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT" -}})}]).factory("SalesforceField",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce",{url:"/salesforce",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations",{url:"/configurations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","SalesforceConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"salesforce_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/salesforce/view/configuration/list/create.modal.html",controller:"SalesforceCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SalesforceCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","SalesforceConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.list",{url:"/list",templateUrl:"app/salesforce/view/configuration/list/list.html",controller:"SalesforceViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","SalesforceAccount","SalesforceConfiguration","SalesforceField","Variable",function(a,b,c,d,e,f,g,h,i,j,k){a.$on("$destroy",function(){e.unsyncUpdates("salesforce_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.variables=f},a.getConfiguration=function(){return i.get({accountId:c.id,id:c.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,e.socket.on("salesforce_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return k.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return h.fields({id:c.id}).$promise.then(function(c){a.accountFields=_.sortByOrder(b("salesforce")(c),"name","asc"),console.log(a.accountFields)})["catch"](function(a){g.error(a)})},a.addItem=function(b){var d={};switch(b){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return i.save({accountId:c.id,id:c.configurationId,controller:b},d).$promise.then(function(c){switch(b){case"subject":a.subjectConfig.push(c);break;case"description":a.descriptionConfig.push(c);break;case"field":a.fieldConfig.push(c)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return j.update({accountId:c.id,configurationId:c.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return j["delete"]({accountId:c.id,configurationId:c.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);if(c)switch(c.type){case"picklist":return c.picklistValues;default:return}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/salesforce/view/configuration/view/view.html",controller:"SalesforceViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter","SalesforceAccount",function(a,b,c,d,e,f,g,h,i,j,k){a.initView=function(){return k.get({id:c.id}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItem=function(){return k.update({id:c.id},a.account).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view",{url:"/view/:id",templateUrl:"app/salesforce/view/view.html",controller:"SalesforceViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.salesforce.view.account",{url:"/account",templateUrl:"app/salesforce/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("SalesforceWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/salesforce/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/salesforce/list")}).error(function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.wizard",{url:"/wizard",templateUrl:"app/salesforce/wizard/wizard.html",controller:"SalesforceWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.customization",{url:"/customization",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("CustomizationGeneralViewCtrl",["$scope","gridOptions","$uibModal","FileUploader","$cookieStore","xAlert","$translate","Setting","$rootScope",function(a,b,c,d,e,f,g,h,i){a.radioSwitch={isActive:i.license.custom?!0:!1,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var j=a.uploader=new d({url:"api/settings/logo/main",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}});j.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),j.onSuccessItem=function(a,b){i.settings.logo=b.logo,f.show(g.instant("MESSAGE_WELL_DONE"),"success")},j.onErrorItem=function(){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},j.onCompleteAll=function(){j.clearQueue()};var k=a.uploader2=new d({url:"api/settings/logo/login",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(a,b){f.show(g.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.initView=function(){return h.get({id:1}).$promise.then(function(b){a.settings={defaultLogo:b.defaultLogo,defaultLoginLogo:b.defaultLoginLogo}})["catch"](function(a){f.error(a)})},a.update=function(){return h.update({id:1},a.settings).$promise.then(function(b){_.merge(i.settings,a.settings),f.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.customization.view.general",{url:"/general",templateUrl:"app/setting/customization/view/general/general.html",controller:"CustomizationGeneralViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("CustomizationViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.customization.view",{url:"/view",templateUrl:"app/setting/customization/view/view.html",controller:"CustomizationViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("License",["$resource",function(a){return a("/api/licenses/:id/:controller",{id:"@id"},{request:{method:"POST",params:{id:"request"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license",{url:"/license",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("LicenseUpdateCtrl",["$scope","$translate","$uibModalInstance","xAlert","Setting",function(a,b,c,d,e){a.form={},a.item={},a.getLicense=function(){return e.get({id:1}).$promise.then(function(b){a.item.license=b.license})["catch"](function(a){d.error(a)})},a.update=function(){return e.update({id:1},a.item).$promise.then(function(a){d.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){d.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert","$window","$uibModal",function(a,b,c,d,e,f,g){a.initView=function(){return d.get(function(b){a.item=b.license})},a.submitRequest=function(){return d.request(a.item,function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")},function(a){switch(a.status){case 304:e.show(a.statusText,"info");break;default:e.show(a.statusText,"danger")}})},a.updateLicense=function(){var a=g.open({animation:!0,templateUrl:"app/setting/license/view/update.modal.html",controller:"LicenseUpdateCtrl"});a.result.then(function(){f.location.reload()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license.view",{url:"/view",templateUrl:"app/setting/license/view/view.html",controller:"LicenseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/pricing-tables.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Externip",["$resource",function(a){return a("/api/network/externips/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Localnet",["$resource",function(a){return a("/api/network/localnets/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network",{url:"/network",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ExternipCtrl",["$scope","$uibModal","gridOptions","Externip",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"network_externip.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(c){var d=b.open({animation:!0,templateUrl:"app/setting/network/view/externip/externip.create.modal.html",controller:"ExternipCreateCtrl",resolve:{item:c}});d.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ExternipCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Externip","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_EXTERNIP"):b.instant("APPLICATION_NEW_EXTERNIP")},a.save=function(){return g?e.update({id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.externip",{url:"/externip",templateUrl:"app/setting/network/view/externip/externip.html",controller:"ExternipCtrl"})}]),angular.module("xCallyShuttleApp").controller("LocalnetCtrl",["$scope","gridOptions","Localnet","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(b){var c=d.open({animation:!0,templateUrl:"app/setting/network/view/localnet/localnet.create.modal.html",controller:"LocalnetCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("LocalnetCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Localnet","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){if(a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_LOCALNET"):b.instant("APPLICATION_NEW_LOCALNET"),g&&g.value){var c=a.item.value.split("/");c.length>1&&(a.item.address=c[0],a.item.mask=c[1])}},a.save=function(){var d=a.item.address+"/"+a.item.mask;return g?e.update({id:a.item.id},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.localnet",{url:"/localnet",templateUrl:"app/setting/network/view/localnet/localnet.html",controller:"LocalnetCtrl"})}]),angular.module("xCallyShuttleApp").controller("NetworkViewCtrl",function(){}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view",{url:"/view",templateUrl:"app/setting/network/view/view.html",controller:"NetworkViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting",{url:"/setting",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:18}}})}]),angular.module("xCallyShuttleApp").factory("Setting",["$resource",function(a){return a("/api/settings/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Smtp",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp",{url:"/smtp",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","socket","MailServerOut","Setting","MailAccount","xAlert","usSpinnerService",function(a,b,c,d,e,f,g,h,i){a.initMailAccounts=function(){return e.get().$promise.then(function(b){a.servers=b.rows})["catch"](function(a){h.show(a.message,"danger")})},a.initView=function(){a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.item={type:"custom",account:{ssl:!1}},e.get({id:"service"}).$promise.then(function(b){b&&(a.item.account=b,d.socket.on("mail_server_out:state",function(b){if(b.id===a.item.account.id)switch(a.item.account.state=b.state,a.item.account.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:i.stop("spinner-grid"),a.smtpDisabled=!1}}),a.item.account.MailAccountId?a.item.type="account":(a.item.type="custom",a.item.account.ssl=!1))})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){return a.item.account.service=!0,a.item.account.id?f.update({id:"smtp",controller:a.item.account.id},a.item.account).$promise.then(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")}):f.save({id:"smtp"},a.item.account).$promise.then(function(b){a.item.account=b,h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return i.spin("spinner-grid"),a.smtpDisabled=!0,e.update({id:a.item.account.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})["finally"](function(){i.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp.view",{url:"/view",templateUrl:"app/setting/smtp/view/view.html",controller:"SmtpViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.system",{url:"/system",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SystemViewCtrl",["$scope","$stateParams","$translate","socket","Setting","xAlert","usSpinnerService",function(a,b,c,d,e,f,g){function h(b){a.system.memory={labels:_.keys(b.memory.details),values:_.values(_.map(b.memory.details,function(a){return Math.round(a/1024)})),Total:Math.round(b.memory.Total/1024)},g.stop("memory-spinner"),a.system.disks=[],_.forEach(b.disks,function(b){a.system.disks.push({mount:b.mount,size:Number((b.size/1048576).toFixed(2)),values:_.values(_.map(b.details,function(a){return Number((a/1048576).toFixed(2))})),labels:_.keys(b.details)})}),a.system.mount=a.system.disks[0],g.stop("disk-spinner"),a.system.cpu={motion:Math.round(b.cpu.motion),cores:[]},_.forEach(b.cpu.cores,function(b){delete b.nice,delete b.irq,a.system.cpu.cores.push({labels:_.keys(b),values:_.values(b),colours:["#803690","#DCDCDC","#00ADF9"]})}),g.stop("cpu-spinner")}a.system={mount:void 0},a.initView=function(){return g.spin("memory-spinner"),g.spin("disk-spinner"),g.spin("cpu-spinner"),e.get({controller:"system"}).$promise.then(function(a){h(a)})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.system.view",{url:"/view",templateUrl:"app/setting/system/view/view.html",controller:"SystemViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","gridOptions","$uibModal","$location","Update",function(a,b,c,d,e){a.initCounter=function(){a.$on("timer-stopped",function(a,b){console.log("Timer Stopped - data = ",b),d.path("/dashboard/voice")})},a.initView=function(){var c={exporterCsvFilename:"updates.csv",enableFiltering:!1,enableSorting:!1,enablePaginationControls:!1,enableSelectAll:!1,columnDefs:[{name:"message"},{width:125,name:"version",cellClass:"text-center ui-grid-vcenter"},{width:125,name:"createdAt",displayName:"APPLICATION_UPDATED_AT",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>'}]};a.gridOptions=b.gridOptions(e,c,a)},a.pull=function(){c.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:"UpdateListPullCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl"}).state("main.setting.updates.landing",{url:"/landing",templateUrl:"app/setting/update/list/landing.html",controller:"UpdateListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListPullCtrl",["$scope","$uibModalInstance","$translate","$location","Update",function(a,b,c,d,e){a.modal={dismissable:!0,title:"Confirm Checkout",html:"Are you sure you want to checkout?",buttons:[{classes:"btn btn-success",text:"Checkout",click:function(){return e.pull().$promise["finally"](function(){b.dismiss("close"),d.path("/setting/updates/landing")})}},{classes:"btn default",text:"Cancel",click:function(){b.dismiss("cancel")}}]}}]),angular.module("xCallyShuttleApp").factory("Update",["$resource",function(a){return a("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates",{url:"/updates",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["hasUpdate"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$uibModal","$translate","SquareOdbc","gridOptions","xAlert",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"odbc.csv",columnDefs:[{name:"name"},{name:"dsn",displayName:"APPLICATION_ODBC"},{name:"description"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/square/odbc/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkConnection(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/odbc/list/list.create.modal.html",controller:"SquareOdbcListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})},a.checkConnection=function(a){return d.get({id:a,controller:"check"}).$promise.then(function(){f.show(c.instant("MESSAGE_CONNECTION_VERIFIED"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_CONNECTION_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareOdbc","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.item.dsn||(a.item.dsn="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion"),a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc",{url:"/odbc",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareOdbc",["$resource",function(a){return a("/api/square/odbc/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$translate","$stateParams","SquareOdbc","xAlert",function(a,b,c,d,e){a.odbc={},a.getOdbc=function(){return d.get({id:c.id}).$promise.then(function(b){a.odbc=b})["catch"](function(a){e.show(a.data.message,"danger")})},a.updateOdbc=function(){var f=angular.copy(a.odbc);return d.update({id:c.id},f).$promise.then(function(){e.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.view",{url:"/view/:id",templateUrl:"app/square/odbc/view/view.html",controller:"SquareOdbcViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.square.odbc.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$uibModal","SquareProject","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"projects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/square/projects/view/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/project/list/list.create.modal.html",controller:"SquareProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.list",{url:"/list",templateUrl:"app/square/project/list/list.html",controller:"SquareProjectListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects",{url:"/projects",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareProject",["$resource",function(a){return a("/api/square/projects/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$stateParams","Auth","xAlert","SquareProject",function(a,b,c,d,e){a.squareProject={},a.getProject=function(){return e.get({id:b.id}).$promise.then(function(b){a.squareProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!==a&&-1!==a.indexOf("Script error."));else{var e=new Image;e.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(f){d.show(f,"danger")}},b.token=c.getToken();var a=new EditorUi(new Editor);a.openString(b.preproduction,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}})})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.view",{url:"/view/:id",templateUrl:"app/square/project/view/view.html",controller:"SquareProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/square/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/square/js/Editor.js","assets/plugins/square/js/Graph.js","assets/plugins/square/js/EditorUi.js","assets/plugins/square/js/Actions.js","assets/plugins/square/js/Menus.js","assets/plugins/square/js/Sidebar.js","assets/plugins/square/js/Toolbar.js","assets/plugins/square/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("ReportSquare",["$resource",function(a){return a("/api/report/square/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSquareDetail",["$resource",function(a){return a("/api/report/square/details/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewGeneralCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSquare","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(b){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&l(),h.stop("spinner-grid")})}function l(){e.socket.on("report_square:save",function(b){if(b.leaveAt){var c=_.remove(a.gridOptions.data,{id:b.id});c&&k()}else{var d=_.find(a.gridOptions.data,{id:b.id});if(!d&&a.gridOptions.data.length<m.limit){var e=_.clone(m);if(_.forEach(["offset","limit","controller","order"],function(a){delete e[a]}),_.isEmpty(e))a.gridOptions.data.push(b);else{var f=!0;_.forOwn(e,function(a,c){_.includes(b[c],a)||(f=!1)}),f&&a.gridOptions.data.push(b)}}}})}var m={controller:"realtime",offset:0,limit:25};a.moment=moment,a.init=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:25,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"uniqueid"},{name:"callerid"},{name:"extension"},{name:"project_name",displayName:"APPLICATION_PROJECT",headerCellFilter:"translate"},{name:"joinAt",displayName:"APPLICATION_ELAPSED_TIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><timer start-time="grid.appScope.moment(row.entity.joinAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){ -0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(!0)};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_square")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view.general",{url:"/general",templateUrl:"app/square/realtime/view/general/general.html",controller:"SquareRealtimeViewGeneralCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view",{url:"/view",templateUrl:"app/square/realtime/view/view.html",controller:"SquareRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SquareRecordingListCtrl",["$scope","SquareRecording","gridOptions",function(a,b,c){a.SquareRecording=b;a.initView=function(){var d={exporterCsvFilename:"recordings.csv",rowHeight:30,columnDefs:[{name:"uniqueid"},{name:"callerid",displayName:"APPLICATION_CALLERIDNUM"},{name:"filename"},{name:"extension"},{name:"projectName",displayName:"APPLICATION_PROJECT"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:'<audio-file-download params="{id:row.entity.id,controller:\'stream\'}" resource="grid.appScope.SquareRecording"></audio-file-download>'}]},{name:"action",width:150,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.filename || row.entity.uniqueid, row.entity.id)"},{directive:'<motion-file-download params="{id:row.entity.id,controller:\'stream\'}" resource="grid.appScope.SquareRecording" mimetype="audio/wav" btnclass="btn btn-xs blue-hoki" filename="(row.entity.filename || row.entity.uniqueid)+\'.wav\'"></motion-file-download>'}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings.list",{url:"/list",templateUrl:"app/square/recording/list/list.html",controller:"SquareRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings",{url:"/recordings",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareRecording",["$resource",function(a){return a("/api/square/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square",{url:"/square",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(a){return a("/api/agents/:id/:controller/:controller1",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents",{url:"/agents",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$timeout","Agent","Auth","gridOptions",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var b={exporterCsvFilename:"agents.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/agents/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.list",{url:"/list",templateUrl:"app/staff/agent/list/list.html",controller:"AgentListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","Agent","FileUploader","Auth","User",function(a,b,c,d,e,f,g,h,i,j){a.Auth=i,a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.updatePassword=function(){var b={newPassword:a.agent.newPwd};return i.isAdmin()?b.id=e.id:b.oldPassword=a.agent.currentPwd,j.changePassword(b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})};var k=a.uploader=new h({url:"api/users/"+e.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(b,e){a.agent.userpic=e.userpic,a.agent.id===i.getCurrentUser().id&&(i.getCurrentUser().userpic=e.userpic),c.show(d.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.initView=function(){return g.get({id:e.id}).$promise.then(function(b){a.agent=b,a.agent.transport=a.agent.transport?a.agent.transport.split(","):[],a.agent.allow=a.agent.allow?a.agent.allow.split(";"):[],a.agent.nat=a.agent.nat?a.agent.nat.split(","):[]})["catch"](function(a){c.show(a.message,"danger")})},a.patchItem=function(){return g.update({id:e.id},{chatCapacity:a.agent.chatCapacity,mailCapacity:a.agent.mailCapacity,faxCapacity:a.agent.faxCapacity,smsCapacity:a.agent.smsCapacity,openchannelCapacity:a.agent.openchannelCapacity}).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.agent);return delete b.password,delete b.md5secret,b.transport=b.transport.join(","),b.allow=b.allow.join(";"),b.nat=b.nat.join(","),g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.view",{url:"/view/:id",templateUrl:"app/staff/agent/view/view.html",controller:"AgentViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]},data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.account",{url:"/account",templateUrl:"app/staff/agent/view/view.account.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}},resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.agents.view.voice",{url:"/voice",templateUrl:"app/staff/agent/view/view.voice.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.chat",{url:"/chat",templateUrl:"app/staff/agent/view/view.chat.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.mail",{url:"/mail",templateUrl:"app/staff/agent/view/view.mail.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.fax",{url:"/fax",templateUrl:"app/staff/agent/view/view.fax.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.sms",{url:"/sms",templateUrl:"app/staff/agent/view/view.sms.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.openchannel",{url:"/openchannel",templateUrl:"app/staff/agent/view/view.openchannel.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.motionbar",{url:"/motionbar",templateUrl:"app/staff/agent/view/view.motionbar.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$rootScope","Agent","Setting","xAlert","$location","$translate","$http","WizardHandler",function(a,b,c,d,e,f,g,h,i){a.forms={info:void 0,voice:void 0},a.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){i.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return d.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),c.save(b).$promise.then(function(){f.path("/staff/agents/list")})["catch"](function(a){console.log(a),e.show(a.message||a.data.message,"danger")})},a.createItems=function(){var b=[];a.item.transport&&(a.item.transport=a.item.transport.join(",")),a.item.allow&&(a.item.allow=a.item.allow.join(";"));for(var d=0;d<a.item.amount;d++){var g=angular.copy(a.item);g.internal+=d,g.name=g.name+d,g.fullname=g.fullname+d,g.email=g.email.split("@")[0]+d+"@"+g.email.split("@")[1],b.push(g)}return c.save({id:"bulk"},b).$promise.then(function(){f.path("/staff/agents/list")})["catch"](function(a){console.log(a),e.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.wizard",{url:"/wizard",templateUrl:"app/staff/agent/wizard/wizard.html",controller:"AgentWizardCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.agents.bulk",{url:"/bulk",templateUrl:"app/staff/agent/wizard/wizard-bulk.html",controller:"AgentWizardCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff",{url:"/staff",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TeamCreateCtrl",["$scope","$uibModalInstance","Team","xAlert",function(a,b,c,d){a.form={},a.item={},a.ok=function(){return c.save(a.item).$promise.then(function(){b.close(a.item)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","Team","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"teams.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/staff/teams/view/{{row.entity.id}}/settings",name:"profile"},{"class":"{{row.entity.defaultEntry ? 'green-turquoise disabled' : 'green-turquoise'}}",name:"agents",href:"/staff/teams/view/{{row.entity.id}}/agents"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){d.open({animation:!0,templateUrl:"app/staff/team/list/create.modal.html",controller:"TeamCreateCtrl"}).result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.list",{url:"/list",templateUrl:"app/staff/team/list/list.html",controller:"TeamListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Team",["$resource",function(a){return a("/api/teams/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams",{url:"/teams",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","Team","Agent","xAlert",function(a,b,c,d,e,f,g){var h=function(){return{select:function(b){return console.log("agents",b),e.save({id:a.team.id,controller:"agents"},{agents:b})},deselect:function(b){return e["delete"]({id:a.team.id,controller:"agents",agents:b})}}};a.initView=function(){return e.get({id:c.id}).$promise.then(function(b){a.team=b})["catch"](function(a){g.show(a.message,"danger")})},a.initAgents=function(){return f.get().$promise.then(function(b){return a.agents=b.rows,e.get({id:c.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindTeam(_.map(b.rows,"id"),_.map(a.agents,function(a){return{id:a.id,name:a.name,fullname:a.fullname,internal:a.internal}}),h)})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.team);return e.update({id:c.id},b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.view",{url:"/view/:id",templateUrl:"app/staff/team/view/view.html",controller:"TeamViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.teams.view.agents",{url:"/agents",templateUrl:"app/staff/team/view/view.agents.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]}])}]}}).state("main.staff.teams.view.settings",{url:"/settings",templateUrl:"app/staff/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TelephoneListCtrl",["$scope","Telephone","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"fullname"},{name:"name"},{name:"internal"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/telephones/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.list",{url:"/list",templateUrl:"app/staff/telephone/list/list.html",controller:"TelephoneListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Telephone",["$resource",function(a){return a("/api/telephones/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones",{url:"/telephones",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneViewCtrl",["$scope","$http","$stateParams","$translate","$cookieStore","Auth","xAlert","Telephone",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.Auth=f,a.forms={},h.get({id:c.id}).$promise.then(function(b){delete b.password,a.item=b,a.item.transport=a.item.transport?a.item.transport.split(","):[],a.item.allow=a.item.allow?a.item.allow.split(";"):[]})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.item);return b.transport=b.transport.join(","),b.allow=b.allow.join(";"),h.update(b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.view",{url:"/view/:id",templateUrl:"app/staff/telephone/view/view.html",controller:"TelephoneViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.telephones.view.account",{url:"/account",templateUrl:"app/staff/telephone/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.telephones.view.voice",{url:"/voice",templateUrl:"app/staff/telephone/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate","Telephone","Setting",function(a,b,c,d,e,f,g,h){a.forms={},a.item={allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return h.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),g.save(b).$promise.then(function(){c.path("/staff/telephones/list")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.wizard",{url:"/wizard",templateUrl:"app/staff/telephone/wizard/wizard.html",controller:"TelephoneWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$timeout","User","Auth","gridOptions",function(a,b,c,d,e){function f(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}a.getUserAvatar=function(a,c,d){b(function(){angular.element("#userImg"+a).avatar({useGravatar:!1,initials:d?[]:f(c),fallbackImage:"api/users/avatar/"+d,size:80})})},a.isAdmin=function(a){return"admin"===a},a.initView=function(){var b={exporterCsvFilename:"users.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/staff/users/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-meadow",href:"/staff/users/view/{{row.entity.id}}/permit/voice",name:"permits",hide:"grid.appScope.isAdmin(row.entity.role)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.list",{url:"/list",templateUrl:"app/staff/user/list/list.html",controller:"UserListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Module",["$resource",function(a){return a("/api/modules/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(a){return a("/api/users/:id/:controller/:controller2/:controller3",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users",{url:"/users",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$stateParams","$cookieStore","$translate","FileUploader","User","Auth","xAlert","MailQueue","VoiceQueue","ChatQueue","FaxQueue","SmsQueue","Team","Module","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(b){var c=_.find(a.modules,{id:b.ModuleId});if(b.status===!0)c.status=!0;else{var d=_.filter(a.modules,{ModuleId:b.ModuleId,status:!0});d.length||(c.status=!1)}c.ModuleId&&q(c)}function r(b,c){b.forEach(function(b){b.status=c;var d=_.filter(a.modules,{ModuleId:b.id});d.length&&r(d,c)})}a.Auth=g,a._=_,a.moduleSwitch={onText:"On",offText:"Off",isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initVoiceQueues=function(){var a={},c={};return j.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"voice",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"voice",b.id,f)})["catch"](function(a){console.error(a)})},a.initChatQueues=function(){var a={},c={};return k.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"chat",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"chat",b.id,f)})["catch"](function(a){console.error(a)})},a.initMailQueues=function(){var a={},c={};return i.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"mail",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"mail",b.id,f)})["catch"](function(a){console.error(a)})},a.initSmsQueues=function(){var a={},c={};return m.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),m.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"sms",controller3:"queues"}).$promise}).then(function(a){console.log("permits",a),c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"sms",b.id,f)})["catch"](function(a){console.error(a)})},a.initFaxQueues=function(){var a={},c={};return l.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"fax",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"fax",b.id,f)})["catch"](function(a){console.error(a)})},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.user=b,a.user.transport=a.user.transport?a.user.transport.split(","):[],a.user.allow=a.user.allow?a.user.allow.split(";"):[]})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){var c=angular.copy(a.user);return delete c.password,delete c.md5secret,c.transport=c.transport.join(","),c.allow=c.allow.join(";"),f.update({id:b.id},c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updatePassword=function(){var c={newPassword:a.user.newPwd};return g.isAdmin()?c.id=b.id:c.oldPassword=a.user.currentPwd,f.changePassword(c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})};var s=a.uploader=new e({url:"api/users/"+b.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+c.get("token")}});s.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),a.getModules=function(){return a.associatedModules=[],o.get().$promise.then(function(c){return a.modules=c.rows,f.query({id:b.id,controller:"allowed",controller2:"modules"}).$promise}).then(function(b){a.modules.forEach(function(a){_.find(b,{id:a.id})?a.status=!0:a.status=!1})})["catch"](function(a){h.show(a.message,"danger")})},a.updatePermissions=function(c){c.ModuleId&&q(c);var e=_.filter(a.modules,{ModuleId:c.id});return e&&r(e,c.status),f.save({id:b.id,controller:"allowed",controller2:"modules"},{modules:_.map(_.filter(a.modules,{status:!0}),"id")}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.error(a)})},s.onSuccessItem=function(b,c){a.user.userpic=c.userpic,a.user.id===g.getCurrentUser().id&&(g.getCurrentUser().userpic=c.userpic),h.show(d.instant("MESSAGE_WELL_DONE"),"success")},s.onErrorItem=function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},s.onCompleteAll=function(){s.clearQueue()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.view",{url:"/view/:id",templateUrl:"app/staff/user/view/view.html",controller:"UserViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.users.view.account",{url:"/account",templateUrl:"app/staff/user/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.users.view.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit",{url:"/permit",templateUrl:"app/staff/user/view/view.permit.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}},cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.staff.users.view.permit.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.permit.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit.chat",{url:"/chat",templateUrl:"app/staff/user/view/view.permit.chat.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.chat"}}}).state("main.staff.users.view.permit.mail",{url:"/mail",templateUrl:"app/staff/user/view/view.permit.mail.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.mail"}}}).state("main.staff.users.view.permit.fax",{url:"/fax",templateUrl:"app/staff/user/view/view.permit.fax.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.fax"}}}).state("main.staff.users.view.permit.sms",{url:"/sms",templateUrl:"app/staff/user/view/view.permit.sms.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.sms"}}}).state("main.staff.users.view.permit.modules",{url:"/modules",templateUrl:"app/staff/user/view/view.permit.modules.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("UserWizardCtrl",["$scope","$location","WizardHandler","xAlert","$translate","User","Setting",function(a,b,c,d,e,f,g){a.forms={info:void 0,voice:void 0},a.item={role:"user",host:"dynamic",context:"from-sip"},a.next=function(){c.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return g.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){d.show(a.data.message,"danger")})},a.createItem=function(){return f.save(a.item).$promise.then(function(){b.path("/staff/users/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.wizard",{url:"/wizard",templateUrl:"app/staff/user/wizard/wizard.html",controller:"UserWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmListCtrl",["$scope","SugarcrmAccount","gridOptions","xAlert","$translate","Modal",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"sugarcrm_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_REMOTE_ADDRESS"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/sugarcrm/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.get({id:a,controller:"check"}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.list",{url:"/list",templateUrl:"app/sugarcrm/list/list.html",controller:"SugarcrmListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm",{url:"/sugarcrm",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmAccount",["$resource",function(a){return a("/api/sugarcrm/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmConfiguration",["$resource",function(a){return a("/api/sugarcrm/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmField",["$resource",function(a){return a("/api/sugarcrm/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){ -a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("sugarcrm_configuration"),h.unsyncUpdates("sugarcrm_field")}),a.initView=function(){b.get("/api/sugarcrm/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/sugarcrm/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/sugarcrm/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("sugarcrm_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/sugarcrm/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/sugarcrm/configurations",a.configuration).success(function(a){e.path("sugarcrm/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/sugarcrm/accounts/"+c.id+"/fields").success(function(b){a.accountFields=_.sortByOrder(f("sugarcrm")(_.toArray(b)),"name","asc"),_.forEach(b,function(a){a.options=_.toArray(a.options)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/sugarcrm/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("sugarcrm_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/sugarcrm/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/sugarcrm/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){b.content="",a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.options.length>0?c.options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.view",{url:"/view/:id",templateUrl:"app/sugarcrm/view/view.html",controller:"SugarcrmViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.sugarcrm.view.account",{url:"/account",templateUrl:"app/sugarcrm/view/view.account.html"}).state("main.sugarcrm.view.configurations",{url:"/configurations",templateUrl:"app/sugarcrm/view/view.configurations.html"}).state("main.sugarcrm.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/sugarcrm/view/view.configurationSettings.html",controller:"SugarcrmViewCtrl"}).state("main.sugarcrm.view.configuration",{url:"/configuration",templateUrl:"app/sugarcrm/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmkWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/sugarcrm/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/sugarcrm/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.wizard",{url:"/wizard",templateUrl:"app/sugarcrm/wizard/wizard.html",controller:"SugarcrmkWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("CannedAnswer",["$resource",function(a){return a("/api/answers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers",{url:"/answers",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AnswerListCtrl",["$scope","$uibModal","CannedAnswer","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"answers.csv",columnDefs:[{name:"key",displayName:"APPLICATION_NAME"},{name:"value"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/answers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.key, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){b.open({animation:!0,templateUrl:"app/tools/answer/list/list.create.modal.html",controller:"AnswerListCreateCtrl"}).result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("AnswerListCreateCtrl",["$scope","$translate","$uibModalInstance","CannedAnswer","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.list",{url:"/list",templateUrl:"app/tools/answer/list/list.html",controller:"AnswerListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AnswerViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","CannedAnswer",function(a,b,c,d,e,f,g){a.getAnswer=function(){return g.get({id:e.id}).$promise.then(function(b){a.answer=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateAnswer=function(){var b=angular.copy(a.answer);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.view",{url:"/view/:id",templateUrl:"app/tools/answer/view/view.html",controller:"AnswerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.answers.view.settings",{url:"/settings",templateUrl:"app/tools/answer/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Automation",["$resource",function(a){return a("/api/automations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","xAlert","Automation","gridOptions",function(a,b,c,d,e,f){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Automations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.status" type="checkbox" switch-active="{{ grid.appScope.isActive }}" switch-on-text="{{ grid.appScope.onText }}" switch-off-text="{{ grid.appScope.offText }}" switch-on-color="{{ grid.appScope.onColor }}" switch-off-color="{{ grid.appScope.offColor }}" switch-animate="{{ grid.appScope.animate }}" switch-size="{{ grid.appScope.size }}" switch-label="{{ grid.appScope.label }}" switch-icon="{{ grid.appScope.icon }}" switch-radio-off="{{ grid.appScope.radioOff }}" switch-label-width="{{ grid.appScope.labelWidth }}" switch-handle-width="{{ grid.appScope.handleWidth }}"></div>',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/automations/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.updateItem=function(a){return e.update({id:a.id},a).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.list",{url:"/list",templateUrl:"app/tools/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations","Automation","$location",function(a,b,c,d,e,f,g,h){a.$automations=f,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.automation[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.automation[b].splice(c,1)},a.addAction=function(){a.automation.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.automation.Actions.splice(b,1)},a.initView=function(){return g.get({id:b.id}).$promise.then(function(b){a.automation=b})["catch"](function(a){e.show(a.message,"danger"),h.path("/tools/automations/list")})},a.updateAutomation=function(){return g.update({id:b.id},a.automation).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.automation.All.length||a.automation.Any.length)&&a.automation.Actions.length),b&&(a.automation.All.length||a.automation.Any.length)&&a.automation.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.view",{url:"/view/:id",templateUrl:"app/tools/automation/view/view.html",controller:"AutomationViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.automations.view.settings",{url:"/settings",templateUrl:"app/tools/automation/view/view.settings.html"}).state("main.tools.automations.view.routes",{url:"/routes",templateUrl:"app/tools/automation/view/view.routes.html"}).state("main.tools.automations.view.application",{url:"/application",templateUrl:"app/tools/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler","Automation",function(a,b,c,d,e,f,g){a.$automations=e,a.statusSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="mail",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/automations/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return b&&(a.item.All.length||a.item.Any.length)&&a.item.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.wizard",{url:"/wizard",templateUrl:"app/tools/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("Interval",["$resource",function(a){return a("/api/intervals/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals",{url:"/intervals",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$uibModal","Interval","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"intervals.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/intervals/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/interval/list/list.create.modal.html",controller:"IntervalListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("IntervalListCreateCtrl",["$scope","$translate","$uibModalInstance","Interval","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(b.instant(a.data.message),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.list",{url:"/list",templateUrl:"app/tools/interval/list/list.html",controller:"IntervalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(a,b,c,d,e,f,g,h,i,j){function k(b){console.log(b);var c,d,e,f;c=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(d=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(d+="-"+b.wd_to)):d="*",b.md_from&&"always"!==b.md_from?(e=b.md_from,b.md_to&&"always"!==b.md_to&&(e+="-"+b.md_to)):e="*",b.m_from&&"always"!==b.m_from?(f=b.m_from,b.m_to&&"always"!==b.m_to&&(f+="-"+b.m_to)):f="*",void 0!==a.selectedSubInterval?a.interval.SubIntervals[a.selectedSubInterval].interval=c+","+d+","+e+","+f:a.subinterval.interval=c+","+d+","+e+","+f}a.$translate=d,a.$interval=j.interval,a.selectedSubInterval=void 0,a.gridOptions={columnDefs:[{name:"name",displayName:"APPLICATION_NAME",headerCellFilter:"translate"},{name:"interval",displayName:"APPLICATION_INTERVAL",headerCellFilter:"translate"},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openSubInterval(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteSubInterval(row.entity.name+\' interval\', gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_DELETE\' | translate}}</a>'}]},a.forms={subinterval:void 0,general:void 0},a.initSubInterval=function(b){b&&(a.selectedSubInterval=void 0),a.subinterval={},a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0}},a.next=function(){h.wizard().next()},a.previous=function(){h.wizard().previous()},a.exitValidation=function(a){return a},a.deselectAndRedirect=function(b){a.selectedSubInterval=void 0,g.path(b)},a.getInterval=function(){b.get("/api/intervals/"+e.id).success(function(b){a.interval=b,a.gridOptions.data=b.SubIntervals}).error(function(a){console.error(a),g.path("/tools/intervals/list")})},a.openSubInterval=function(b){a.selectedSubInterval=b,g.path("/tools/intervals/view/"+e.id+"/subintervals/settings")},a.updateInterval=function(f){a.selectedSubInterval=void 0,b.put("/api/intervals/"+e.id,a.interval).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),f&&g.path("/tools/intervals/view/"+e.id+"/"+f)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getSubInterval=function(){void 0===a.selectedSubInterval&&g.path("/tools/intervals/list"),a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)};var b,c=a.interval.SubIntervals[a.selectedSubInterval]?a.interval.SubIntervals[a.selectedSubInterval].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.splittedInterval.t_from=moment(b[0],"HH:mm"),a.splittedInterval.t_to=moment(b[1],"HH:mm"),a.splittedInterval.alwaysTime=!1):(a.splittedInterval.t_from=moment(new Date),a.splittedInterval.t_to=moment(new Date),a.splittedInterval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.splittedInterval.wd_from=b[0],a.splittedInterval.wd_to=b[1]?b[1]:"always"):(a.splittedInterval.wd_from="always",a.splittedInterval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.splittedInterval.md_from=b[0],a.splittedInterval.md_to=b[1]?b[1]:"always"):(a.splittedInterval.md_from="always",a.splittedInterval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.splittedInterval.m_from=b[0],a.splittedInterval.m_to=b[1]?b[1]:"always"):(a.splittedInterval.m_from="always",a.splittedInterval.m_to="always")}})},a.$watch("splittedInterval",function(a){a&&k(a)},!0),a.addSubInterval=function(){a.interval.SubIntervals.push(a.subinterval),a.updateInterval("subintervals")},a.deleteSubInterval=i.confirm["delete"](function(b){a.interval.SubIntervals.splice(b,1),a.updateInterval()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.view",{url:"/view/:id",templateUrl:"app/tools/interval/view/view.html",controller:"IntervalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.intervals.view.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.settings.html"}).state("main.tools.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/tools/interval/view/view.subintervals.html"}).state("main.tools.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/tools/interval/view/view.subinterval.html"}).state("main.tools.intervals.view.subintervals.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.subintervalSettings.html"})}]),angular.module("xCallyShuttleApp").controller("PauseListCtrl",["$scope","$log","$uibModal","$translate","Pause","gridOptions",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"pauses.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/pauses/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/tools/pause/list/list.create.modal.html",controller:"PauseListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("PauseListCreateCtrl",["$scope","$translate","$uibModalInstance","Pause","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.list",{url:"/list",templateUrl:"app/tools/pause/list/list.html",controller:"PauseListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Pause",["$resource",function(a){return a("/api/pauses/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses",{url:"/pauses",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("PauseViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Pause",function(a,b,c,d,e,f,g){a.getPause=function(){return g.get({id:e.id}).$promise.then(function(b){a.pause=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updatePause=function(){var b=angular.copy(a.pause);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.view",{url:"/view/:id",templateUrl:"app/tools/pause/view/view.html",controller:"PauseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.pauses.view.settings",{url:"/settings",templateUrl:"app/tools/pause/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SchedulerListCtrl",["$scope","Scheduler","gridOptions","xAlert","$translate","socket",function(a,b,c,d,e,f){a._=_,a.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"},{name:"APPLICATION_HISTORY_MOVE",value:"history"},{name:"APPLICATION_DB_BACKUP",value:"backup"}],a.initView=function(){var d={exporterCsvFilename:"Schedules.csv",columnDefs:[{name:"name"},{name:"type"},{name:"description",cellTemplate:'<div class="centered-uigrid-td">{{grid.appScope._.find(grid.appScope.scheduleTypes,{value:row.entity.type}).name | translate}}</div>'},{name:"active",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.active" type="checkbox" switch-active="{{ grid.appScope.switches.isActive }}" switch-on-text="{{ \'APPLICATION_YES\' | translate }}" switch-off-text="{{ \'APPLICATION_NO\' | translate }}" switch-on-color="{{ grid.appScope.switches.onColor }}" switch-off-color="{{ grid.appScope.switches.offColor }}" switch-animate="{{ grid.appScope.switches.animate }}" switch-size="{{ grid.appScope.switches.size }}" switch-label="{{ grid.appScope.switches.label }}" switch-icon="{{ grid.appScope.switches.icon }}" switch-radio-off="{{ grid.appScope.switches.radioOff }}" switch-label-width="{{ grid.appScope.switches.labelWidth }}" switch-handle-width="{{ grid.appScope.switches.handleWidth }}"></div>',enableFiltering:!1,enableSorting:!1},{name:"sendMail",displayName:"APPLICATION_SEND_MAIL",cellTemplate:'<div data-ng-if="row.entity.type == \'report\'" class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.sendMail" type="checkbox" switch-active="{{ grid.appScope.switches.isActive }}" switch-on-text="{{ \'APPLICATION_YES\' | translate }}" switch-off-text="{{ \'APPLICATION_NO\' | translate }}" switch-on-color="{{ grid.appScope.switches.onColor }}" switch-off-color="{{ grid.appScope.switches.offColor }}" switch-animate="{{ grid.appScope.switches.animate }}" switch-size="{{ grid.appScope.switches.size }}" switch-label="{{ grid.appScope.switches.label }}" switch-icon="{{ grid.appScope.switches.icon }}" switch-radio-off="{{ grid.appScope.switches.radioOff }}" switch-label-width="{{ grid.appScope.switches.labelWidth }}" switch-handle-width="{{ grid.appScope.switches.handleWidth }}"></div>',enableFiltering:!1,enableSorting:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/scheduler/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-turquoise",name:"run",onClick:"grid.appScope.runSchedule(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.updateItem=function(a){return b.update({id:a.id},a).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.runSchedule=function(a){return b.get({id:a,controller:"run"}).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler.list",{url:"/list",templateUrl:"app/tools/scheduler/list/list.html",controller:"SchedulerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Scheduler",["$resource",function(a){return a("/api/scheduler/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler",{url:"/scheduler",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("SchedulerViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","ReportTree","Scheduler","DefaultReport","CustomReport","$timeout","MailServerOut",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){var c;switch(b.cronType){case"daily":a.rangeExec.hour=Number(b.cron.split(" ")[1]),a.rangeExec.type=b.cronType;break;case"weekly":c=b.cron.split(" "),a.rangeExec.hour=Number(c[1]),c[4].split(",").forEach(function(b){a.rangeExec.weekDays.push(Number(b))}),a.rangeExec.type=b.cronType;break;case"monthly":c=b.cron.split(" "),a.rangeExec.hour=Number(c[1]),a.rangeExec.monthDay=Number(c[2]),a.rangeExec.type=b.cronType;break;case"currentDay":a.switchValues.today=!0}a.$watch("rangeExec",function(b){a.switchValues.today||n()},!0)}function n(){switch(a.schedule.cronType=a.rangeExec.type,a.rangeExec.type){case"daily":a.schedule.cron="* "+a.rangeExec.hour+" * * *";break;case"weekly":a.schedule.cron="* "+a.rangeExec.hour+" * * "+a.rangeExec.weekDays.join(",");break;case"monthly":a.schedule.cron="* "+a.rangeExec.hour+" "+a.rangeExec.monthDay+" * *"}}a.forms={},a.rangeExec={weekDays:[],monthDay:null,hour:0,type:null},a.initReports=function(){return a.reports=[],a.tempTodayCron=null,g.query().$promise.then(function(b){return a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),i.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Default - "+_.find(a.defaultTreeData,{id:b.parent}).text,b.type="default"}),a.reports=a.reports.concat(b.rows)),j.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Custom - "+_.find(a.customTreeData,{id:b.parent}).text,b.type="custom"}),a.reports=a.reports.concat(b.rows)),l.get().$promise}).then(function(b){a.mailServers=b.rows})["catch"](function(a){b.error(a)})},a.initView=function(){return h.get({id:d.id}).$promise.then(function(b){a.schedule=b,m(b)}).then(function(){e.socket.on("schedule:update",function(b){a.schedule.id===b.id&&(a.schedule.active=b.active,a.schedule.sendMail=b.sendMail)})})["catch"](function(a){console.error(a),f.path("/tools/scheduler/list")})},a.refreshSlider=function(){k(function(){a.$broadcast("rzSliderForceRender"),a.refreshSlider=null})},a.monthDays=function(){for(var a=[],b=1;31>=b;b++)a.push(b);return a}(),a.hours=function(){for(var a=[],b=0;23>=b;b++)a.push(b);return a}(),a.setReportTree=function(b){a.schedule.reportType=b.type},a.validitySlider={ceil:24,floor:0,showTicks:!0},a.switchValues={today:!1},a.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"}],a.todayCron=[{name:"15 min",value:"*/15 * * * *"},{name:"30 min",value:"*/30 * * * *"},{name:"1 h",value:"0 * * * *"}],a.reportRanges=[{name:"APPLICATION_PREVIOUS_DAY",value:"yesterday"},{name:"APPLICATION_LAST_SEVEN_DAYS",value:"last7"},{name:"APPLICATION_LAST_THIRTY_DAYS",value:"last30"},{name:"APPLICATION_LAST_MONTH",value:"lastMonth"}],a.cronTypes=[{name:"APPLICATION_DAY",value:"daily"},{name:"APPLICATION_WEEK",value:"weekly"},{name:"APPLICATION_MONTH",value:"monthly"}],a.weekDays=[{name:"APPLICATION_MONDAY",value:1},{name:"APPLICATION_TUESDAY",value:2},{name:"APPLICATION_WEDNESDAY",value:3},{name:"APPLICATION_THURSDAY",value:4},{name:"APPLICATION_FRIDAY",value:5},{name:"APPLICATION_SATURDAY",value:6},{name:"APPLICATION_SUNDAY",value:0}],a.checkToday=function(){a.switchValues.today?(a.schedule.cron=angular.copy(a.tempTodayCron),a.schedule.cronType="currentDay"):(a.tempTodayCron=angular.copy(a.schedule.cron), -a.schedule.cron=void 0,n())},a.updateSchedule=function(){return h.update({id:a.schedule.id},a.schedule).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler.view",{url:"/view/:id",templateUrl:"app/tools/scheduler/view/view.html",controller:"SchedulerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.scheduler.view.settings",{url:"/settings",templateUrl:"app/tools/scheduler/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SchedulerWizardCtrl",["$scope","WizardHandler","$location","xAlert","Scheduler","ReportTree","$translate","DefaultReport","CustomReport","MailServerOut",function(a,b,c,d,e,f,g,h,i,j){function k(){switch(a.item.cronType=a.rangeExec.type,a.rangeExec.type){case"daily":a.item.cron="* "+a.rangeExec.hour+" * * *";break;case"weekly":a.item.cron="* "+a.rangeExec.hour+" * * "+a.rangeExec.weekDays.join(",");break;case"monthly":a.item.cron="* "+a.rangeExec.hour+" "+a.rangeExec.monthDay+" * *"}}a.forms={},a.item={validityStart:8,validityEnd:16},a.initReports=function(){return a.reports=[],f.query().$promise.then(function(b){return a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),h.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Default - "+_.find(a.defaultTreeData,{id:b.parent}).text,b.type="default"}),a.reports=a.reports.concat(b.rows)),i.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Custom - "+_.find(a.customTreeData,{id:b.parent}).text,b.type="custom"}),a.reports=a.reports.concat(b.rows)),j.get().$promise}).then(function(b){a.mailServers=b.rows})["catch"](function(a){d.error(a)})},a.setReportTree=function(b){a.item.reportType=b.type},a.validitySlider={ceil:24,floor:0,showTicks:!0},a.switchValues={today:!1},a.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"}],a.todayCron=[{name:"15 min",value:"*/15 * * * *"},{name:"30 min",value:"*/30 * * * *"},{name:"1 h",value:"0 * * * *"}],a.reportRanges=[{name:"APPLICATION_PREVIOUS_DAY",value:"yesterday"},{name:"APPLICATION_LAST_SEVEN_DAYS",value:"last7"},{name:"APPLICATION_LAST_THIRTY_DAYS",value:"last30"},{name:"APPLICATION_LAST_MONTH",value:"lastMonth"}],a.cronTypes=[{name:"APPLICATION_DAY",value:"daily"},{name:"APPLICATION_WEEK",value:"weekly"},{name:"APPLICATION_MONTH",value:"monthly"}],a.weekDays=[{name:"APPLICATION_MONDAY",value:1},{name:"APPLICATION_TUESDAY",value:2},{name:"APPLICATION_WEDNESDAY",value:3},{name:"APPLICATION_THURSDAY",value:4},{name:"APPLICATION_FRIDAY",value:5},{name:"APPLICATION_SATURDAY",value:6},{name:"APPLICATION_SUNDAY",value:0}],a.tempTodayCron=null,a.checkToday=function(){a.switchValues.today?(a.item.cron=angular.copy(a.tempTodayCron),a.item.cronType="currentDay"):(a.tempTodayCron=angular.copy(a.item.cron),a.item.cron=void 0,k())},a.monthDays=function(){for(var a=[],b=1;31>=b;b++)a.push(b);return a}(),a.hours=function(){for(var a=[],b=0;23>=b;b++)a.push(b);return a}(),a.rangeExec={weekDays:[],monthDay:null,hour:0,type:null},a.$watch("rangeExec",function(b){a.switchValues.today||k()},!0),a.next=function(){b.wizard().next()},a.previous=function(){b.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return e.save(a.item).$promise.then(function(){c.path("/tools/scheduler/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler.wizard",{url:"/wizard",templateUrl:"app/tools/scheduler/wizard/wizard.html",controller:"SchedulerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.Sound=k,a.isCollapsed=!0,a.downloadButtonClass="btn btn-xs blue-hoki",a["delete"]=d.confirm["delete"](function(a){b["delete"]("/api/sounds/"+a).success(function(a){}).error(function(a){console.log(a)})}),a.updateAudio=function(a,c){var d=e.defer();return b.put("/api/sounds/"+a,c).success(function(a){d.resolve()}).error(function(a){console.log(a.message),d.reject(a.message)}),d.promise},a.$on("$destroy",function(){c.unsyncUpdates("sound")}),a.initList=function(){b.get("/api/sounds").success(function(b){a.sounds=b.rows,b.rows.length||(a.isCollapsed=!1),c.syncUpdates("sound",a.sounds,function(){a.sounds.length||(a.isCollapsed=!1)})}).error(function(a){})};var l=a.uploader=new f({url:"/api/sounds",withCredentials:!0,headers:{Authorization:"Bearer "+i.get("token")}});l.filters.push({name:"customFilter",fn:function(a,b){return this.queue.length<10}}),l.onWhenAddingFileFailed=function(a,b,c){console.info("onWhenAddingFileFailed",a,b,c)},l.onAfterAddingFile=function(a){console.info("onAfterAddingFile",a)},l.onAfterAddingAll=function(a){console.info("onAfterAddingAll",a)},l.onBeforeUploadItem=function(a){console.info("onBeforeUploadItem",a)},l.onProgressItem=function(a,b){console.info("onProgressItem",a,b),a.isUploading=!0},l.onProgressAll=function(a){console.info("onProgressAll",a)},l.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),a.isUploading=!1},l.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),a.responseMessage=b,a.isUploading=!1},l.onCancelItem=function(a,b,c,d){console.info("onCancelItem",a,b,c,d),a.isUploading=!1},l.onCompleteItem=function(a,b,c,d){console.info("onCompleteItem",a,b,c,d),a.isUploading=!1},l.onCompleteAll=function(){console.info("onCompleteAll")},console.info("uploader",l)}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds.list",{url:"/list",templateUrl:"app/tools/sound/list/list.html",controller:"SoundListCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("Sound",["$resource",function(a){return a("/api/sounds/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds",{url:"/sounds",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagListCtrl",["$scope","$uibModal","Tag","gridOptions","$rootScope",function(a,b,c,d,e){a.initView=function(){var b={exporterCsvFilename:"tag.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/tags/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/tag/list/list.create.modal.html",controller:"TagListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("TagListCreateCtrl",["$scope","$translate","$uibModalInstance","Tag","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.list",{url:"/list",templateUrl:"app/tools/tag/list/list.html",controller:"TagListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Tag",["$resource",function(a){return a("/api/tags/:id/:controller/:tag",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags",{url:"/tags",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Tag","gridOptions","List","Company","Contact","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){m.stop("spinner-grid"),a.readyGrid=!0}a.getTag=function(){return g.get({id:e.id}).$promise.then(function(b){a.tag=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateTag=function(){var b=angular.copy(a.tag);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})},a.initChat=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagChat.csv",columnDefs:[{name:"type"},{name:"status"},{name:"ChatWebsite.name",displayName:"APPLICATION_WEBSITE"},{name:"ChatVisitor.email",displayName:"APPLICATION_VISITOR"},{name:"action",width:40,buttons:[{"class":"green",name:"chatRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'chatRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"chat",tag:a.tag.name},null,null,n())},a.initMail=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagMail.csv",columnDefs:[{name:"subject"},{name:"from"},{name:"account"},{name:"status"},{name:"action",width:40,buttons:[{"class":"green",name:"mailRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'mailRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"mail",tag:a.tag.name},null,null,n())},a.initFax=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagFax.csv",columnDefs:[{name:"from"},{name:"account"},{name:"status"},{name:"action",width:40,buttons:[{"class":"green",name:"faxRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'faxRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"fax",tag:a.tag.name},null,null,n())},a.initSms=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagSms.csv",columnDefs:[{name:"from"},{name:"status"},{name:"action",width:40,buttons:[{"class":"green",name:"smsRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'smsRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"sms",tag:a.tag.name},null,null,n())},a.initContacts=function(){a.readyGrid=!1,m.spin("spinner-grid");var b;return i.get().$promise.then(function(b){return a.lists=[],b.rows.forEach(function(b,c){a.lists.push({value:b.id,label:b.name})}),j.get().$promise}).then(function(b){a.companies=[],b.rows.forEach(function(b,c){a.companies.push({value:b.id,label:b.name})})}).then(function(){b={enableRowSelection:!1,exporterCsvFilename:"tagContacts.csv",columnDefs:[{name:"firstName"},{name:"lastName"},{name:"phone"},{name:"email"},{name:"ListId",displayName:"APPLICATION_LIST",field:"List.name",filter:{type:l.filter.SELECT,selectOptions:a.lists}},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company.name",filter:{type:l.filter.SELECT,term:e.companyId||null,selectOptions:a.companies}},{name:"action",width:40,buttons:[{"class":"blue-hoki",name:"profile",onClick:"grid.appScope.openContactTab(row.entity)"}]}]},a.gridOptions=h.gridOptions(g,b,a,{controller:"contacts",tag:a.tag.name},null,null,n())})["catch"](function(a){c.show(d.instant(a.message)+"!","danger")})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:c});if(d)d.active=!0;else{var e;switch(c){case"mailRoom":e="icon-envelope";break;case"chatRoom":e="fa fa-users";break;case"faxRoom":e="icon-paper-plane";break;case"smsRoom":e="glyphicon glyphicon-comment"}a.workspaces.push({id:b,type:c,"class":e,active:!0})}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.view",{url:"/view/:id",templateUrl:"app/tools/tag/view/view.html",controller:"TagViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.tags.view.settings",{url:"/settings",templateUrl:"app/tools/tag/view/view.settings.html"}).state("main.tools.tags.view.chat",{url:"/chat",templateUrl:"app/tools/tag/view/view.chat.html"}).state("main.tools.tags.view.mail",{url:"/mail",templateUrl:"app/tools/tag/view/view.mail.html"}).state("main.tools.tags.view.fax",{url:"/fax",templateUrl:"app/tools/tag/view/view.fax.html"}).state("main.tools.tags.view.sms",{url:"/sms",templateUrl:"app/tools/tag/view/view.sms.html"}).state("main.tools.tags.view.contacts",{url:"/contacts",templateUrl:"app/tools/tag/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateListCtrl",["$scope","Template","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"templates.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/tools/templates/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.list",{url:"/list",templateUrl:"app/tools/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(a){return a("/api/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates",{url:"/templates",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TemplateViewCtrl",["$scope","$rootScope","$http","$translate","$stateParams","xAlert","Template","templateVariable","Variable",function(a,b,c,d,e,f,g,h,i){a.initItem=function(){CKEDITOR.plugins.addExternal("richparams","/assets/plugins/ckeditor-richparams/"),a.options={language:b.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"richparams,autogrow",autoGrow_minHeight:450,richparams:h,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail"]}]},a.form={},a.item={},a.item=g.get({id:e.id})},a.updateItem=function(){return g.update(a.item).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.view",{url:"/view/:id",templateUrl:"app/tools/template/view/view.html",controller:"TemplateViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.templates.view.settings",{url:"/settings",templateUrl:"app/tools/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$rootScope","$location","$http","WizardHandler","xAlert","Template","templateVariable",function(a,b,c,d,e,f,g,h){a.initWizard=function(){CKEDITOR.plugins.addExternal("richparams","/assets/plugins/ckeditor-richparams/"),a.options={language:b.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"richparams,autogrow",autoGrow_minHeight:450,disableNativeSpellChecker:!1,richparams:h,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail"]}]},a.item={},a.form={}},a.exitValidation=function(a){return a},a.createItem=function(){return g.save({name:a.item.name,description:a.item.description,subject:a.item.subject||null,html:a.item.html||null,text:a.item.text||null}).$promise.then(function(){c.path("/tools/templates/list")})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.wizard",{url:"/wizard",templateUrl:"app/tools/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools",{url:"/tools",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","Modal","xAlert","Trigger","gridOptions",function(a,b,c,d,e,f,g){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Triggers.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.status" type="checkbox" switch-active="{{ grid.appScope.isActive }}" switch-on-text="{{ grid.appScope.onText }}" switch-off-text="{{ grid.appScope.offText }}" switch-on-color="{{ grid.appScope.onColor }}" switch-off-color="{{ grid.appScope.offColor }}" switch-animate="{{ grid.appScope.animate }}" switch-size="{{ grid.appScope.size }}" switch-label="{{ grid.appScope.label }}" switch-icon="{{ grid.appScope.icon }}" switch-radio-off="{{ grid.appScope.radioOff }}" switch-label-width="{{ grid.appScope.labelWidth }}" switch-handle-width="{{ grid.appScope.handleWidth }}"></div>',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/triggers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=g.gridOptions(f,b,a)},a.updateItem=function(a){return f.update({id:a.id},a).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.list",{url:"/list",templateUrl:"app/tools/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trigger",["$resource",function(a){return a("/api/triggers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers",{url:"/triggers",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$translate","xAlert","triggers","Trigger","$location",function(a,b,c,d,e,f,g){a.$triggers=e,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.trigger[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.trigger[b].splice(c,1)},a.addAction=function(){a.trigger.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.trigger.Actions.splice(b,1)},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.trigger=b})["catch"](function(a){d.show(a.message,"danger"),g.path("/tools/triggers/list")})},a.updateTrigger=function(){return f.update({id:b.id},a.trigger).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.trigger.All.length||a.trigger.Any.length)&&a.trigger.Actions.length),b&&(a.trigger.All.length||a.trigger.Any.length)&&a.trigger.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.view",{url:"/view/:id",templateUrl:"app/tools/trigger/view/view.html",controller:"TriggerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.triggers.view.settings",{url:"/settings",templateUrl:"app/tools/trigger/view/view.settings.html"}).state("main.tools.triggers.view.routes",{url:"/routes",templateUrl:"app/tools/trigger/view/view.routes.html"}).state("main.tools.triggers.view.application",{url:"/application",templateUrl:"app/tools/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler","Trigger",function(a,b,c,d,e,f,g){a.$triggers=e,a.statusSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="voice",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/triggers/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return b&&(a.item.All.length||a.item.Any.length)&&a.item.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.wizard",{url:"/wizard",templateUrl:"app/tools/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","Trunk","gridOptions","xAlert","$translate","socket",function(a,b,c,d,e,f){function g(){f.socket.on("trunk:update",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&(c.status=b.status,c.peerstatus=b.peerstatus)})}a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var d={exporterCsvFilename:"Trunks.csv",columnDefs:[{name:"name"},{name:"active",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.active" type="checkbox" switch-active="{{ grid.appScope.isActive }}" switch-on-text="{{ \'APPLICATION_YES\' | translate }}" switch-off-text="{{ \'APPLICATION_NO\' | translate }}" switch-on-color="{{ grid.appScope.onColor }}" switch-off-color="{{ grid.appScope.offColor }}" switch-animate="{{ grid.appScope.animate }}" switch-size="{{ grid.appScope.size }}" switch-label="{{ grid.appScope.label }}" switch-icon="{{ grid.appScope.icon }}" switch-radio-off="{{ grid.appScope.radioOff }}" switch-label-width="{{ grid.appScope.labelWidth }}" switch-handle-width="{{ grid.appScope.handleWidth }}"></div>'},{name:"host"},{name:"description"},{name:"status",cellTemplate:'<div class="centered-uigrid-td" data-ng-if="row.entity.active && row.entity.registry && row.entity.status">{{row.entity.status}}</div>'},{name:"peerstatus",cellTemplate:'<div class="centered-uigrid-td" data-ng-if="row.entity.active && row.entity.peerstatus">{{row.entity.peerstatus}}</div>'},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/trunks/view/{{row.entity.name}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=c.gridOptions(b,d,a,null,null,null,g)},a.updateItem=function(a){return b.update({id:a.name},a).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.list",{url:"/list",templateUrl:"app/tools/trunk/list/list.html",controller:"TrunkListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trunk",["$resource",function(a){return a("/api/trunks/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks",{url:"/trunks",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","Trunk","VoiceContext",function(a,b,c,d,e,f,g,h,i){a.activeSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initView=function(){return h.get({id:e.id}).$promise.then(function(b){b.nat=b.nat?b.nat.split(","):[],b.allow=b.allow?b.allow.split(";"):[],b.insecure=b.insecure?b.insecure.split(","):[],b.transport=b.transport?b.transport.split(","):[],a.trunk=b}).then(function(){f.socket.on("trunk:update",function(b){a.trunk.name===b.name&&(a.trunk.status=b.status)})})["catch"](function(a){console.error(a),g.path("/tools/trunks/list")})},a.updateTrunk=function(){""===a.trunk.password&&delete a.trunk.password;var b=angular.copy(a.trunk);return b.nat=b.nat.join(","),b.allow=b.allow.join(";"),b.insecure=b.insecure.join(","),b.transport=b.transport.join(","),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.data.message,"danger")})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.view",{url:"/view/:id",templateUrl:"app/tools/trunk/view/view.html",controller:"TrunkViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.trunks.view.settings",{url:"/settings",templateUrl:"app/tools/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","WizardHandler","$location","xAlert","Trunk",function(a,b,c,d,e){a.initWizard=function(){a.forms={},a.item={context:"from-voip-provider"}},a.next=function(){b.wizard().next()},a.previous=function(){b.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return a.item.fromuser=a.item.defaultuser,a.item.fromdomain=a.item.host,e.save(a.item).$promise.then(function(){c.path("/tools/trunks/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.wizard",{url:"/wizard",templateUrl:"app/tools/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCtrl",["$scope","$uibModal","Variable","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"variables.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/variables/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/variable/list/list.create.modal.html",controller:"VariableListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VariableListCreateCtrl",["$scope","$translate","$uibModalInstance","Variable","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.list",{url:"/list",templateUrl:"app/tools/variable/list/list.html",controller:"VariableListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Variable",["$resource",function(a){return a("/api/variables/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables",{url:"/variables",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$translate","$stateParams","xAlert","Variable",function(a,b,c,d,e){a.getVariable=function(){return e.get({id:c.id}).$promise.then(function(b){a.variable=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateVariable=function(){return e.update({id:c.id},a.variable).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.view",{url:"/view/:id",templateUrl:"app/tools/variable/view/view.html",controller:"VariableViewCtrl", -resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.variables.view.settings",{url:"/settings",templateUrl:"app/tools/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCloneModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCtrl",["$scope","$http","$translate","xAlert","Modal","$uibModal","$log","YourDashboard","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:220,buttons:[{"class":"green",href:"/tools/yourdashboards/show/{{row.entity.id}}",name:"view"},{"class":"blue-hoki",href:"/tools/yourdashboards/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"purple",name:"clone",onClick:"grid.appScope.clone(row.entity.id)"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var b=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"});b.result.then(function(b){return h.save(b).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})},a.clone=function(b){var e=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/clone.modal.html",controller:"YourdashboardListCloneModalCtrl"});e.result.then(function(e){return h.save({id:b,controller:"clone"},e).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.list",{url:"/list",templateUrl:"app/tools/yourdashboard/list/list.html",controller:"YourdashboardListCtrl"})}]),angular.module("xCallyShuttleApp").controller("LeaveEditedDashboardModalCtrl",["$scope","$uibModalInstance",function(a,b){a.close=function(){b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","$rootScope","localStorageService","xAlert","$translate","Auth","$stateParams","$location","$uibModal","$log","YourDashboard",function(a,b,c,d,e,f,g,h,i,j,k){a.Auth=f,a.editMode=!1,a.getDashboard=function(){return k.get({id:g.id}).$promise.then(function(b){var c={name:"dashboard",structure:"4-8",enableconfirmdelete:!0,maximizable:!0,collapsible:!0};b.model=JSON.parse(b.model||'{"title":"Dashboard"}'),b.editable=f.isAdmin()&&b.editable?!0:!1,a.dashboard=_.merge(c,b)})["catch"](function(a){h.path("/tools/yourdashboards/list")})},a.$on("$locationChangeStart",function(b,c,d){if(a.editMode){b.preventDefault();var e=i.open({animation:!0,templateUrl:"app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",controller:"LeaveEditedDashboardModalCtrl"});e.result.then(function(b){a.editMode=!1;var d=location.protocol+"//"+location.host;h.path(c.replace(d,""))},function(){j.info("Modal dismissed at: "+new Date)})}});var l=function(b,c,f){var h=angular.copy(a.dashboard);return h.name=a.dashboard.model.title,h.model=JSON.stringify(h.model),k.update({id:g.id},h).$promise.then(function(){d.show(e.instant("MESSAGE_DASHBOARD_SAVED")+"!","success"),a.editMode=!1})["catch"](function(b){d.show(b.message,"danger"),h.model=JSON.parse(h.model),h.name="dashboard",a.dashboard=h})};a.$on("adfDashboardChanged",l),a.$on("adfIsEditMode",function(){a.editMode=!0}),a.$on("destroy",function(){console.log("main dashboard")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.show",{url:"/show/:id",templateUrl:"app/tools/yourdashboard/show/show.html",controller:"YourdashboardShowCtrl"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.getDashboard=function(){b.get("/api/dashboards/"+e.id).success(function(b){delete b.model,a.dashboard=b}).error(function(a){f.path("/tools/yourdashboards/list")})},a.updateDashboard=function(){var f=angular.copy(a.dashboard);b.put("/api/dashboards/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.dashboard=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.view",{url:"/view/:id",templateUrl:"app/tools/yourdashboard/view/view.html",controller:"YourdashboardViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.yourdashboards.view.settings",{url:"/settings",templateUrl:"app/tools/yourdashboard/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("YourDashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards",{url:"/yourdashboards",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:2}}})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$scope","ZendeskAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"zendesk_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.list",{url:"/list",templateUrl:"app/zendesk/list/list.html",controller:"ZendeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations",{url:"/configurations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","ZendeskConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"zendesk_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/zendesk/view/configuration/list/create.modal.html",controller:"ZendeskCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ZendeskCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","ZendeskConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.list",{url:"/list",templateUrl:"app/zendesk/view/configuration/list/list.html",controller:"ZendeskViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationViewCtrl",["$scope","$stateParams","$filter","$translate","socket","ZendeskConfiguration","xAlert","variable","Variable","ZendeskAccount","Tag","ZendeskField",function(a,b,c,d,e,f,g,h,i,j,k,l){a.$on("$destroy",function(){e.unsyncUpdates("zendesk_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.selectedTags={tags:[]},a.variables=h},a.getConfiguration=function(){return f.get({accountId:b.id,id:b.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,a.selectedTags={tags:_.map(b.Tags,function(a){return a.id})},e.socket.on("zendesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return i.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return j.fields({id:b.id}).$promise.then(function(b){a.accountFields=c("zendesk")(b)})["catch"](function(a){g.error(a)})},a.getTags=function(){return k.get().$promise.then(function(b){a.tags=b.rows})["catch"](function(a){g.error(a)})},a.addItem=function(c){var d={};switch(c){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return f.save({accountId:b.id,id:b.configurationId,controller:c},d).$promise.then(function(b){switch(c){case"subject":a.subjectConfig.push(b);break;case"description":a.descriptionConfig.push(b);break;case"field":a.fieldConfig.push(b)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return l.update({accountId:b.id,configurationId:b.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return l["delete"]({accountId:b.id,configurationId:b.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.variableName="",b.nameField="",b.VariableId=null,b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(c.system_field_options?(b.customField=!1,b.nameField=c.title.toLowerCase()):b.customField=!0)}a.updateField(b)},a.updateTags=function(){return f.update({accountId:b.id,id:b.configurationId,controller:"tags"},a.selectedTags.tags).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){g.error(a)})},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.system_field_options?c.system_field_options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/zendesk/view/configuration/view/view.html",controller:"ZendeskViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewCtrl",["$scope","$stateParams","$translate","xAlert","Modal","ZendeskAccount",function(a,b,c,d,e,f){a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.account=b})["catch"](function(a){d.error(a)})},a.updateItem=function(){return f.update({id:b.id},a.account).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){d.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view",{url:"/view/:id",templateUrl:"app/zendesk/view/view.html",controller:"ZendeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.zendesk.view.account",{url:"/account",templateUrl:"app/zendesk/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","ZendeskAccount",function(a,b,c,d,e,f,g){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={},a.item.authType="password"},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/zendesk/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.wizard",{url:"/wizard",templateUrl:"app/zendesk/wizard/wizard.html",controller:"ZendeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ZendeskAccount",["$resource",function(a){return a("/api/zendesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("ZendeskConfiguration",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("ZendeskField",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk",{url:"/zendesk",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("Auth",["$location","$rootScope","$http","User","$cookieStore","$q",function(a,b,c,d,e,f){var g={};return e.get("token")&&(g=d.me()),{login:function(a,h){var i=h||angular.noop,j=f.defer();return c.post("/auth/local",{name:a.name,password:a.password,remember:a.remember}).success(function(a){return e.put("role",a.role),e.put("token",a.token),e.put("userId",a.userId),g=d.me({},function(){b.$broadcast("login")}),j.resolve(a),i()}).error(function(a){return this.logout(),j.reject(a),i(a)}.bind(this)),j.promise},loginWithToken:function(a,c,f){e.put("role",f),e.put("token",a),e.put("userId",c),g=d.me({},function(){b.$broadcast("login")})},logout:function(){c.put("/api/users/"+g.id,{online:!1}).success(function(){e.remove("role"),e.remove("token"),e.remove("userId"),g={},b.$broadcast("logout")}).error(function(a){return a})},createUser:function(a,b){var c=b||angular.noop;return d.save(a,function(b){return e.put("token",b.token),g=d.me(),c(a)},function(a){return this.logout(),c(a)}.bind(this)).$promise},changePassword:function(a,b,c){var e=c||angular.noop;return d.changePassword({id:g.id},{oldPassword:a,newPassword:b},function(a){return e(null,a)},function(a){return e(a)}).$promise},getCurrentUser:function(){return g},isLoggedIn:function(){return g.hasOwnProperty("role")},isLoggedInAsync:function(a){g.hasOwnProperty("$promise")?g.$promise.then(function(){a(!0)})["catch"](function(){a(!1)}):a(g.hasOwnProperty("role")?!0:!1)},isAdmin:function(){return"admin"===(e.get("role")||g.role)},isUser:function(){return"user"===(e.get("role")||g.role)},isAgent:function(){return"agent"===(e.get("role")||g.role)},getRole:function(){return g.role},getToken:function(){return e.get("token")}}}]),angular.module("xCallyShuttleApp").controller("FooterController",["$scope","$http",function(a,b){a.year=moment().year(),a.$on("$includeContentLoaded",function(){Layout.initFooter()}),a.initFooter=function(){return b.get("/api/settings/info").success(function(b){a.info=b}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("HeaderController",["$scope","$rootScope","$location","$state","$http","$notification","Auth","xAlert","socket","toastr","localStorageService","Agent","SmsReport","MailReport","OpenChannelReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport","List","MailAccount","ChatWebsite","FaxAccount","SmsAccount","OpenChannelAccount","ReportAgent","$uibModal","$log","ReportDial",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I){function J(a,b,c){return null===b&&(b=50),null===c&&(c="..."),a&&a.length>b?a.substring(0,b-c.length)+c:a}function K(b){var c,d="reason";switch(b){case"mail":c=n;break;case"chat":c=p;break;case"fax":c=y;break;case"sms":c=m;break;case"agent":c=F,d="lastevent";break;case"dial":c=I,d="dialstatus";break;default:return}return c.get({limit:10,order:"updatedAt DESC"}).$promise.then(function(c){_.forEach(c.rows,function(a){if(a[d])switch(a[d].toLowerCase()){case"answer":case"connect":case"complete":a.status="taken";break;case"answered_elsewhere":a.status="taken_elsewhere";break;case"called":a.status="lost";break;case"busy":a.status="busy";break;case"rejected":a.status="rejected";break;case"cancel":case"abandoned":a.status="abandoned"}}),a.agentNotifications[b].rows=c.rows,i.socket.on("report_"+b+":save",function(c){c.status="none",a.agentNotifications[b].rows.unshift(c),"agent"!==b&&"dial"!==b&&(a.agentNotifications[b].timeout[c.id]=setTimeout(function(){clearTimeout(a.agentNotifications[b].timeout[c.id]),_.find(a.agentNotifications[b].rows,{id:c.id}).status="lost",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications[b]["new"]++,delete a.agentNotifications[b].timeout[c.id]},1e3*c.timeslot))}),i.socket.on("report_"+b+":update",function(c){var e=_.find(a.agentNotifications[b].rows,{id:c.id});if(e&&("agent"!==b&&"dial"!==b&&a.agentNotifications[b].timeout[c.id]&&(clearTimeout(a.agentNotifications[b].timeout[c.id]),delete a.agentNotifications[b].timeout[c.id]),c[d])){switch(c[d].toLowerCase()){case"answer":case"connect":case"complete":c.status="taken";break;case"answered_elsewhere":c.status="taken_elsewhere",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications.chat["new"]++;break;case"busy":c.status="busy",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications[b]["new"]++;break;case"rejected":c.status="rejected";break;case"cancel":case"abandoned":c.status="abandoned",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications[b]["new"]++}_.merge(e,c)}})})["catch"](function(a){h.error(a)})}function L(){return a.headerAgent=g.getCurrentUser(),a.readyTimer=1e3*moment().unix(),w.get().$promise.then(function(b){a.headerPauses=b.rows,i.syncUpdates("pause",a.headerPauses)})["finally"](function(){i.socket.on("agent:save",function(b){a.headerAgent.id===b.id&&(_.merge(a.headerAgent,b),b.voicePause&&b.mailPause&&b.chatPause&&b.faxPause&&b.smsPause||(a.readyTimer=1e3*moment().unix()))})})["catch"](function(a){console.log("Error synchronizing agent status:",a)})}a.moment=moment,$(document).on("click",".tabbed-dropdown",function(a){a.stopPropagation()}),a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:c});if(d)d.active=!0;else{var e;switch(c){case"mailRoom":e="icon-envelope";break;case"chatRoom":e="fa fa-users";break;case"faxRoom":e="icon-paper-plane";break;case"smsRoom":e="glyphicon glyphicon-comment"}a.workspaces.push({id:b,type:c,"class":e,active:!0})}},a.chooseContact=function(b){var c=G.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{data:function(){return{type:"detail",phone:b,mobile:b}}}});c.result.then(function(c){c?a.openContactTab(c):a.newContact({calleridnum:b})},function(){H.info("Modal dismissed at: "+new Date)})},a.loadNotifications=function(b){if(!a.busyLoad[b].end){a.busyLoad[b].busy=!0;var c,d="reason";switch(b){case"mail":c=n;break;case"chat":c=p;break;case"fax":c=y;break;case"sms":c=m;break;case"agent":c=F,d="lastevent";break;case"dial":c=I,d="dialstatus";break;default:return}return c.get({limit:10,offset:a.agentNotifications[b].rows.length,order:"updatedAt DESC"}).$promise.then(function(c){c.rows.length?(_.forEach(c.rows,function(a){if(a[d])switch(a[d].toLowerCase()){case"answer":case"connect":case"complete":a.status="taken";break;case"answered_elsewhere":a.status="taken_elsewhere";break;case"called":a.status="lost";break;case"busy":a.status="busy";break;case"rejected":a.status="rejected";break;case"abandoned":a.status="abandoned"}}),a.agentNotifications[b].rows=a.agentNotifications[b].rows.concat(c.rows)):a.busyLoad[b].end=!0,a.busyLoad[b].busy=!1})["catch"](function(a){h.error(a)})}},a.headerPause=function(b,c,d){return x.save({name:b,agent:a.headerAgent.id,type:c||"DEFAULT PAUSE",data4:c||"DEFAULT PAUSE",channel:d||"all"}).$promise.then(function(){h.show(t.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(t.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},"agent"===g.getCurrentUser().role&&(L(),a.agentNotifications={mail:{rows:[],"new":0,timeout:{}},chat:{rows:[],"new":0,timeout:{}},fax:{rows:[],"new":0,timeout:{}},sms:{rows:[],"new":0,timeout:{}},agent:{rows:[],"new":0},dial:{rows:[],"new":0}},a.busyLoad={mail:{busy:!1,end:!1},chat:{busy:!1,end:!1},fax:{busy:!1,end:!1},sms:{busy:!1,end:!1},agent:{busy:!1,end:!1},dial:{busy:!1,end:!1}},K("agent"),K("dial"),a.license.mail&&K("mail"),a.license.chat&&K("chat"),a.license.fax&&K("fax"),a.license.messaging&&K("sms")),i.socket.on("report_chat:save",function(a){u.Notification&&f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot});var b="<b>"+t.instant("APPLICATION_FROM")+"</b>: "+a.visitorname+"<br><b>"+t.instant("APPLICATION_EMAIL")+"</b>: "+a.visitoremail;"queue"===a.application&&(b+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+a.queuename),r.show(t.instant("APPLICATION_NEW_CHAT_REQUEST"),b,"chat",1e3*a.timeslot,function(){return p.get({id:a.id,controller1:"accept",controller2:a.uniqueid}).$promise.then(function(){h.show("Chat properly assigned","success")})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return p.get({id:a.id,controller1:"reject"}).$promise.then(function(){h.show("Chat properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})})}),i.socket.on("user_has_chat_room:save",function(b){var c;return q.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b;var d=_.find(a.workspaces,{id:Number(c.id),type:"chatRoom"});d?d.name=a.getFullnames(c):a.workspaces.push({id:c.id,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}),i.socket.on("chat_message:save",function(b){var c;if(b.UserId!==g.getCurrentUser().id){var d=_.find(a.workspaces,{id:Number(b.ChatRoomId),type:"chatRoom"});if(!d)return q.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b,a.workspaces.push({id:c.id,name:a.getFullnames(b),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}});var M=function(){return u.Notification},N=function(){b.settings.layout.onFocus=!0},O=function(){b.settings.layout.onFocus=!1};u.onfocus=N,u.onblur=O,a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,g.getCurrentUser().fullname).join(", ")},a.openContact=function(b,c,d){if(d&&"<unknown>"!==d){var e,f;switch(b){case"mail":e=A,f={email:d};break;case"chat":e=B,f={email:d};break;case"fax":e=C,f={fax:d};break;case"sms":e=D,f={mobile:d};break;default:return}return e.get({id:c}).$promise.then(function(a){return a.ListId?z.save({listId:a.ListId,controller:"contacts"},f).$promise:null}).then(function(b){if(b){var c=_.find(a.workspaces,{contactID:b.id});c?c.active=!0:a.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})}else h.show(t.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")})["catch"](function(a){console.error(a)})}},a.initHeader=function(){"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(c){var d=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});if(!d){var e="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+t.instant("APPLICATION_FROM")+"</b>: "+c.from+"<br> <b>"+t.instant("APPLICATION_SUBJECT")+"</b>: "+(J(c.subject,30,"...")||"No subject");"queue"===c.application&&(e+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),r.show(t.instant("APPLICATION_NEW_MAIL_REQUEST"),e,"mail",1e3*c.timeslot,function(){return n.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.subject||"No subject",type:"mailRoom","class":"icon-envelope",active:!0,unread:0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return n.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.show(a.data.message,"danger")})}),M&&!b.settings.layout.onFocus?f("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}}),i.socket.on("report_sms:save",function(b){var c="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+b.accountname+"<br> <b>"+t.instant("APPLICATION_FROM")+"</b>: "+b.from;"queue"===b.application&&(c+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+b.queuename),r.show(t.instant("APPLICATION_NEW_SMS_REQUEST"),c,"sms",1e3*b.timeslot,function(){return m.get({id:b.id,controller1:"accept",controller2:b.uniqueid}).$promise.then(function(){var c=_.find(a.workspaces,{id:b.roomid,type:"smsRoom"});c?c.active=!0:a.workspaces.push({id:b.roomid,name:b.from,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_SMS_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return m.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("SMS properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),M?f("SMS CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming SMS Message!",delay:1e3*b.timeslot}):console.log("Notification API not supported in your browser")}),i.socket.on("report_openchannel:save",function(b){console.log(b);var c="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+b.accountname+"<br> <b>"+t.instant("APPLICATION_FROM")+"</b>: "+b.from;"queue"===b.application&&(c+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+b.queuename),r.show(t.instant("APPLICATION_NEW_MESSAGE"),c,"openchannel",1e3*b.timeslot,function(){return o.get({id:b.id,controller1:"accept",controller2:b.uniqueid}).$promise.then(function(){var c=_.find(a.workspaces,{id:b.roomid,type:"openchannelRoom"});c?c.active=!0:a.workspaces.push({id:b.roomid,name:b.from,type:"openchannelRoom","class":"glyphicon glyphicon-comment",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return o.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("Message properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),M?f("OPEN CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Message!",delay:1e3*b.timeslot}):console.log("Notification API not supported in your browser")}),i.socket.on("report_fax:save",function(c){var d=_.find(a.workspaces,{id:c.roomid,type:"faxRoom"});if(!d){var e="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+t.instant("APPLICATION_PHONE")+"</b>: "+c.from;"queue"===c.application&&(e+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),r.show(t.instant("APPLICATION_NEW_FAX_REQUEST"),e,"fax",1e3*c.timeslot,function(){return y.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"faxRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.from,type:"faxRoom","class":"icon-paper-plane",active:!0,unread:0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return y.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.err(a)})}),M&&!b.settings.layout.onFocus?f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}}))},a.logout=function(){return e.get("/auth/local/logout").success(function(){g.logout(),c.path("/login")}).error(function(a){console.error(a)})},a.isActive=function(a){return a===c.path()},a.$on("$destroy",function(){console.log("header $destroy"),i.unsyncUpdates("pause"),i.unsyncUpdates("agent"),i.unsyncUpdates("report_chat"),i.unsyncUpdates("report_mail"),i.unsyncUpdates("report_fax"),i.unsyncUpdates("report_sms"),i.unsyncUpdates("user_has_chat_room"),i.unsyncUpdates("chat_message")})}]),angular.module("xCallyShuttleApp").factory("Modal",["$rootScope","$uibModal",function(a,b){function c(c,d){var e=a.$new();return c=c||{},d=d||"modal-default",angular.extend(e,c),b.open({templateUrl:"components/modal/delete.html",windowClass:d,scope:e})}return{confirm:{"delete":function(a){return a=a||angular.noop,function(){var b,d=Array.prototype.slice.call(arguments),e=d.shift();b=c({modal:{dismissable:!0,title:"Confirm Delete",html:"<p>Are you sure you want to delete"+(e?"<strong> "+e+"</strong>":" selected items")+"?</p>", -buttons:[{classes:"btn red",text:"Delete",click:function(a){b.close(a)}},{classes:"btn default",text:"Cancel",click:function(a){b.dismiss(a)}}]}},"over-topbar center"),b.result.then(function(b){a.apply(b,d)})}}}}}]),angular.module("xCallyShuttleApp").service("application",function(){var a={applications:[{type:null,name:"APPLICATION_QUEUE",value:"Queue"},{type:null,name:"APPLICATION_PLAYBACK",value:"Playback"},{type:null,name:"Dial",value:"Dial"},{type:"internalDial",name:"APPLICATION_INTERNAL_DIAL",value:"Dial"},{type:"externalDial",name:"APPLICATION_EXTERNAL_DIAL",value:"Dial"},{type:null,name:"Cally-Square Project",value:"AGI"},{type:null,name:"GoTo",value:"Goto"},{type:null,name:"Hangup",value:"Hangup"},{type:null,name:"Set",value:"Set"},{type:"custom",name:"Custom",value:"custom"},{type:null,name:"APPLICATION_VOICEMAIL",value:"Voicemail"}],queueOptions:[{value:"C",name:"APPLICATION_QUEUE_OPTION_C"},{value:"c",name:"APPLICATION_QUEUE_OPTION_c"},{value:"d",name:"APPLICATION_QUEUE_OPTION_d"},{value:"F",name:"APPLICATION_QUEUE_OPTION_F"},{value:"h",name:"APPLICATION_QUEUE_OPTION_h"},{value:"H",name:"APPLICATION_QUEUE_OPTION_H"},{value:"n",name:"APPLICATION_QUEUE_OPTION_n"},{value:"i",name:"APPLICATION_QUEUE_OPTION_i"},{value:"I",name:"APPLICATION_QUEUE_OPTION_I"},{value:"r",name:"APPLICATION_QUEUE_OPTION_r"},{value:"R",name:"APPLICATION_QUEUE_OPTION_R"},{value:"t",name:"APPLICATION_QUEUE_OPTION_t"},{value:"T",name:"APPLICATION_QUEUE_OPTION_T"},{value:"w",name:"APPLICATION_QUEUE_OPTION_w"},{value:"W",name:"APPLICATION_QUEUE_OPTION_W"},{value:"k",name:"APPLICATION_QUEUE_OPTION_k"},{value:"K",name:"APPLICATION_QUEUE_OPTION_K"},{value:"x",name:"APPLICATION_QUEUE_OPTION_x"},{value:"X",name:"APPLICATION_QUEUE_OPTION_X"}],audioOptions:[{value:"skip",name:"APPLICATION_PLAYBACK_OPTION_SKIP"},{value:"noanswer",name:"APPLICATION_PLAYBACK_OPTION_NOANSWER"},{value:"j",name:"APPLICATION_PLAYBACK_OPTION_J"},{value:"say",name:"APPLICATION_PLAYBACK_OPTION_SAY"}],hangupCauses:[{value:"",name:"--"},{value:"1",name:"APPLICATION_HANGUP_CAUSE_1"},{value:"16",name:"APPLICATION_HANGUP_CAUSE_16"},{value:"17",name:"APPLICATION_HANGUP_CAUSE_17"},{value:"18",name:"APPLICATION_HANGUP_CAUSE_18"},{value:"21",name:"APPLICATION_HANGUP_CAUSE_21"},{value:"22",name:"APPLICATION_HANGUP_CAUSE_22"},{value:"27",name:"APPLICATION_HANGUP_CAUSE_27"},{value:"38",name:"APPLICATION_HANGUP_CAUSE_38"},{value:"41",name:"APPLICATION_HANGUP_CAUSE_41"}],intTypes:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"custom",name:"APPLICATION_CUSTOM"},{value:"list",name:"APPLICATION_FROM_LIST"}],checkUnderscore:function(a){return 0===a.indexOf("_")?a:"_"+a}};return{application:a}}),angular.module("xCallyShuttleApp").service("automations",function(){var a={mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]}},b=["mail","fax"];return{services:a,channels:b}}),angular.module("xCallyShuttleApp").service("channel",function(){var a=[{name:"Voice",value:"voice"}];return a}),angular.module("xCallyShuttleApp").service("desk_com",function(){var a=[{id:"priority",label:"Priority",custom:!1,data:{choices:[1,2,3,4,5,6,7,8,9,10]}},{id:"status",label:"Status",custom:!1,data:{choices:["new","open","pending","resolved","closed"]}},{id:"type",label:"Type",custom:!1,data:{choices:["chat","twitter","email","qna","facebook","phone"]}}];return{fields:a}}),angular.module("xCallyShuttleApp").service("interval",function(){var a={months:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"jan",name:"APPLICATION_JANUARY"},{value:"feb",name:"APPLICATION_FEBRUARY"},{value:"mar",name:"APPLICATION_MARCH"},{value:"apr",name:"APPLICATION_APRIL"},{value:"may",name:"APPLICATION_MAY"},{value:"jun",name:"APPLICATION_JUNE"},{value:"jul",name:"APPLICATION_JULY"},{value:"aug",name:"APPLICATION_AUGUST"},{value:"sep",name:"APPLICATION_SEPTEMBER"},{value:"oct",name:"APPLICATION_OCTOBER"},{value:"nov",name:"APPLICATION_NOVEMBER"},{value:"dec",name:"APPLICATION_DECEMBER"}],monthsNumber:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"1",name:"APPLICATION_JANUARY"},{value:"2",name:"APPLICATION_FEBRUARY"},{value:"3",name:"APPLICATION_MARCH"},{value:"4",name:"APPLICATION_APRIL"},{value:"5",name:"APPLICATION_MAY"},{value:"6",name:"APPLICATION_JUNE"},{value:"7",name:"APPLICATION_JULY"},{value:"8",name:"APPLICATION_AUGUST"},{value:"9",name:"APPLICATION_SEPTEMBER"},{value:"10",name:"APPLICATION_OCTOBER"},{value:"11",name:"APPLICATION_NOVEMBER"},{value:"12",name:"APPLICATION_DECEMBER"}],daysOfWeek:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"mon",name:"APPLICATION_MONDAY"},{value:"tue",name:"APPLICATION_TUESDAY"},{value:"wed",name:"APPLICATION_WEDNESDAY"},{value:"thu",name:"APPLICATION_THURSDAY"},{value:"fri",name:"APPLICATION_FRIDAY"},{value:"sat",name:"APPLICATION_SATURDAY"},{value:"sun",name:"APPLICATION_SUNDAY"}],daysOfMonth:["always",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]};return{interval:a}}),angular.module("xCallyShuttleApp").service("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare","ReportSquareDetail","User",function(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=[{value:"report_agent_history",resource:a},{value:"report_call_history",resource:b},{value:"report_mail_session_history",resource:c},{value:"report_member_history",resource:d},{value:"report_queue_history",resource:e},{value:"report_integration_history",resource:f},{value:"report_chat_session_history",resource:g},{value:"report_sms_session_history",resource:h},{value:"cm_contacts",resource:i},{value:"voice_recordings",resource:j},{value:"report_square_history",resource:k},{value:"report_square_details_history",resource:l},{value:"users",resource:m}];return{tables:n}}]),angular.module("xCallyShuttleApp").service("strategies",function(){return["beepall","roundrobin","rrmemory"]}),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue","Route",function(a,b){var c={voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",type:"select",resource:a,resValue:"name",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_CALL_STATUS",value:"lastevent",type:"select",arr:[{name:"ringing",value:"called"},{name:"up",value:"connect"},{name:"hangup",value:"complete"},{name:"rejected",value:"rejected"},{name:"abandoned",value:"abandoned"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_OUTBOUND_ROUTE",value:"routeId",type:"select",resource:b,resValue:"id",resName:"exten",params:{type:"outbound"},operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select"},{name:"APPLICATION_MOTION_BAR",value:"motionbar",propertyField:"select"},{name:"APPLICATION_JSCRIPTY",value:"jscripty",propertyField:"select"},{name:"APPLICATION_URL_FORWARD",value:"urlForward"}]}},d=["voice"];return{services:c,channels:d}}]),angular.module("xCallyShuttleApp").service("variable",function(){var a=[{title:"Unique ID",name:"uniqueid",group:"voice_queue"},{title:"Caller Number",name:"calleridnum",group:"voice_queue"},{title:"Caller Name",name:"calleridname",group:"voice_queue"},{title:"Queue",name:"queue",group:"voice_queue"},{title:"Called Number",name:"destcalleridnum",group:"voice_queue"},{title:"Called Name",name:"destcalleridname",group:"voice_queue"},{title:"Hold Time",name:"holdtime",group:"voice_queue"},{title:"Talk Time",name:"talktime",group:"voice_queue"},{title:"Connected Time",name:"agentconnectAt",group:"voice_queue"},{title:"Called Time",name:"agentcalledAt",group:"voice_queue"},{title:"DNID",name:"destexten",group:"voice_queue"},{title:"Complete Time",name:"agentcompleteAt",group:"voice_queue"},{title:"No Answer Time",name:"agentringnoanswerAt",group:"voice_queue"},{title:"Recording URL",name:"recordingURL",group:"voice_queue"}];return a}),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","Dashboard","Integration","xAlert","$stateParams","socket",function(a,b,c,d,e,f,g,h,i,j){a.Auth=e,a.userModules={},a.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),a.initSidebar=function(){e.getCurrentUser().Modules.forEach(function(b){a.userModules[b.id]=!0})},a.getSidebarDashboards=function(){return f.get().$promise.then(function(b){a.dashboards=b.rows,j.syncUpdates("dashboard",a.dashboards)})["catch"](function(){h.show("Error loading your dashboards","danger")})},a.getSidebarIntegrations=function(){return e.isAdmin()||e.isAgent()||a.userModules[19]?g.get().$promise.then(function(b){a.integrations=b.rows,j.syncUpdates("integration",a.integrations)})["catch"](function(a){h.show(a.message,"danger")}):void 0},a.$on("sidebar $destroy",function(){console.log("destroy"),j.unsyncUpdates("dashboard"),j.unsyncUpdates("integration")})}]),angular.module("xCallyShuttleApp").factory("socket",["$rootScope","$window","socketFactory","Auth",function(a,b,c,d){var e=d.getCurrentUser(),f=io("",{query:"token="+d.getToken()+"&userId="+e.id+"&name="+e.name+"&role="+(e.role||"agent")+"&source=browser",path:"/socket.io-client"}),g=c({ioSocket:f});return a.$on("logout",function(){g&&(g.disconnect(!0),b.location.reload())}),{socket:g,syncUpdates:function(a,b,c){c=c||angular.noop,g.on(a+":save",function(a){var d=_.find(b,{id:a.id}),e=b.indexOf(d),f="created";d?(_.merge(b[e],a),f="updated"):b.unshift(a),c(f,a,b)}),g.on(a+":remove",function(a){var d="deleted";_.remove(b,{id:a.id}),c(d,a,b)})},unsyncUpdates:function(a){g.removeAllListeners(a+":save"),g.removeAllListeners(a+":remove")},syncUpdatesByAttributes:function(a,b,c,d){d=d||angular.noop,g.on(a+":save",function(a){var e=!0;if(_.forIn(b,function(b,c){return a[c]&&a[c]===b?!0:e=!1}),e){var f=_.find(c,{id:a.id}),g=c.indexOf(f),h="created";f?(_.merge(c[g],a),h="updated"):c.unshift(a),d(h,a,c)}}),g.on(a+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},syncMailMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncMailMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")},syncFaxMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncFaxMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")}}}]),function(a,b){angular.module("adf.widget.counter",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("counter",{title:"Single Value",description:"Single Value for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["Widget",function(a){return{get:function(b){return a.get({select:b.select,condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),controller:"counter"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiwidgetCounterEditCtrl",["$scope","report",function(a,b){a.config.reportTables=b.tables,a.config.colors=[{name:"Grey",value:"grey"},{name:"Grey 2",value:"grey-cascade"},{name:"Grey 3",value:"grey-silver"},{name:"Grey 4",value:"grey-steel"},{name:"Grey 5",value:"grey-carrara"},{name:"Grey 6",value:"grey-gallery"},{name:"Blue",value:"blue"},{name:"Blue 2",value:"blue-hoki"},{name:"Blue 3",value:"blue-steel"},{name:"Blue 4",value:"blue-madison"},{name:"Blue 5",value:"blue-chambray"},{name:"Blue 6",value:"blue-ebonyclay"},{name:"Red",value:"red"},{name:"Red 2",value:"red-pink"},{name:"Red 3",value:"red-sunglo"},{name:"Red 4",value:"red-intense"},{name:"Red 5",value:"red-thunderbird"},{name:"Red 6",value:"red-flamingo"},{name:"Green",value:"green"},{name:"Green 2",value:"green-meadow"},{name:"Green 3",value:"green-seagreen"},{name:"Green 4",value:"green-turquoise"},{name:"Green 5",value:"green-haze"},{name:"Green 6",value:"green-jungle"},{name:"Purple",value:"purple"},{name:"Purple 2",value:"purple-plum"},{name:"Purple 3",value:"purple-medium"},{name:"Purple 4",value:"purple-studio"},{name:"Purple 5",value:"purple-wisteria"},{name:"Purple 6",value:"purple-seance"},{name:"Yellow",value:"yellow"},{name:"Yellow 2",value:"yellow-gold"},{name:"Yellow 3",value:"yellow-casablanca"},{name:"Yellow 4",value:"yellow-crusta"},{name:"Yellow 5",value:"yellow-lemon"},{name:"Yellow 6",value:"yellow-saffron"}],a.config.icons=[{name:"Talk bubbles",value:"fa-comments"},{name:"Bar Chart",value:"fa-bar-chart"},{name:"Shopping Cart",value:"fa-shopping-cart"},{name:"Globe",value:"fa-globe"},{name:"Volume Control Phone",value:"fa-volume-control-phone"},{name:"Comments",value:"fa-comments-o"},{name:"Commenting",value:"fa-commenting-o"},{name:"Coffee",value:"fa-coffee"},{name:"Clock",value:"fa-clock-o"},{name:"Envelope",value:"fa-envelope-o"},{name:"Hourglass",value:"fa-hourglass-half"},{name:"Percent",value:"fa-percent"}],a.config.select=a.config.select?a.config.select:"COUNT(*)",a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE"}]).controller("apiwidgetCounterViewCtrl",["$scope","$interval","apiServiceCounter",function(a,b,c){a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.config.condition=a.config.condition?a.config.condition:null,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE",a.counterApiCall=function(){a.config.report&&c.get(a.config).then(function(b){b?b.result&&b.result.length>1||_.keys(b.result[0]).length>1?(a.tooManyResults=!0,a.result=null):(a.tooManyResults=!1,null!==_.values(b.result[0])[0]?a.result=_.values(b.result[0])[0].toString():a.result="--"):a.result=null})},a.counterApiCall();var d=b(function(){a.counterApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.counter").run(["$templateCache",function(a){a.put("{widgetsPath}/counter/src/edit.html","<form role=form><div class=form-group><label for=select>Select</label> <input type=text class=form-control id=condition ng-model=config.select placeholder=Select></div><div class=form-group><label class=control-label>From</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder=From>{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}</ui-select-match><ui-select-choices repeat=\"table.value as table in config.reportTables | filter: $select.search\"><div ng-bind-html=\"'APPLICATION_'+table.value.toUpperCase() | translate | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label for=condition>Where</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder=Where></div><div class=form-group><label for=condition>{{'APPLICATION_REFRESH_TIMEOUT' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder=\"{{'APPLICATION_REFRESH_TIMEOUT' | translate}}\" min=5></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_COLOR' | translate}}</label><ui-select data-ng-model=config.color name=color theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_COLOR' | translate }}\"><div data-ng-class=\"'bg-'+$select.selected.value\"> </div></ui-select-match><ui-select-choices repeat=\"color.value as color in config.colors | filter: $select.search\"><div data-ng-class=\"'bg-'+color.value\"> </div></ui-select-choices></ui-select></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_ICON' | translate}}</label><ui-select data-ng-model=config.icon name=icon theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_ICON' | translate }}\"><i class=fa ng-class=$select.selected.value></i></ui-select-match><ui-select-choices repeat=\"icon.value as icon in config.icons | filter: $select.search\"><i class=fa ng-class=icon.value></i></ui-select-choices></ui-select></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_DETAILS' | translate}}</label> <input type=text class=form-control id=details ng-model=config.details maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_DETAILS' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK' | translate}}</label> <input type=text class=form-control id=link ng-model=config.link placeholder=http://yourlink></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}</label> <input type=text class=form-control id=linkText ng-model=config.linkText maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}\"></div></form>"),a.put("{widgetsPath}/counter/src/view.html",'<div class=dashboard-stat ng-class=config.color ng-if=result><div class=visual><i class=fa ng-class=config.icon></i></div><div class=details><div class=number>{{result}}</div><div class=desc>{{config.details}}</div></div><a class=more href={{config.link}}>{{config.linkText}} <i class="m-icon-swapright m-icon-white"></i></a></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=tooManyResults><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_TOO_MANY_RESULTS\' | translate}}</div><div class="alert alert-danger" role=alert ng-if="!result && !tooManyResults"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_QUERY_NOT_VALID\' | translate}}</div>')}])}(window),function(a,b){angular.module("adf.widget.pie-chart",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("pie-chart",{title:"Pie-Chart",description:"Display a pie-chart starting from DB values",templateUrl:"{widgetsPath}/pie-chart/src/view.html",controller:"apiWidgetPieChartViewCtrl",edit:{templateUrl:"{widgetsPath}/pie-chart/src/edit.html",controller:"apiWidgetPieChartEditCtrl"}})}]).service("apiServicePieChart",["Widget",function(a){return{get:function(b){return a.get({condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),fields:b.fields,controller:"piechart"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiWidgetPieChartEditCtrl",["$scope","report",function(a,b){function c(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=b.tables,a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){c().push({})},a.removeField=function(a){c().splice(a,1)}}]).controller("apiWidgetPieChartViewCtrl",["$scope","$interval","apiServicePieChart",function(a,b,c){a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.pieChartApiCall=function(){a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){if(b&&b.result&&1===b.result.length){a.labels=[],a.data=[];for(var c in b.result[0])a.labels.push(c),a.data.push(b.result[0][c])}else a.labels=[],a.data=[]})},a.pieChartApiCall();var d=b(function(){a.pieChartApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.pie-chart").run(["$templateCache",function(a){a.put("{widgetsPath}/pie-chart/src/edit.html","<form role=form><div class=form-group><label class=control-label>{{'APPLICATION_REPORT' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_REPORT' | translate }}\">{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}</ui-select-match><ui-select-choices repeat=\"table.value as table in config.reportTables | filter: $select.search\"><div ng-bind-html=\"'APPLICATION_'+table.value.toUpperCase() | translate | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{'APPLICATION_FIELDS' | translate}}</label></div><div class=padding-bottom ng-repeat=\"field in config.fields\"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if=\"config.fields.length>1\"><button class=\"btn btn-danger\" type=button data-ng-click=removeField($index)><i class=\"fa fa-times\"></i> {{'APPLICATION_REMOVE' | translate}}</button></span></div></div></div><button type=button class=\"btn btn-sm green mbottom20\" ng-click=addField()><i class=\"fa fa-plus\"></i> {{'APPLICATION_ADD_FIELD' | translate}}</button><div class=form-group><label for=condition>{{'APPLICATION_CONDITION' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder=\"{{'APPLICATION_CONDITION' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_REFRESH_TIMEOUT' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder=\"{{'APPLICATION_REFRESH_TIMEOUT' | translate}}\" min=5></div></form>"),a.put("{widgetsPath}/pie-chart/src/view.html",'<div ng-if=labels.length ng-style=config.style><canvas id=doughnut class="chart chart-doughnut" chart-data=data chart-labels=labels legend=true></canvas></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_METRIC_AND_CHECK_OTHER\' | translate}}</div>')}])}(window),function(a,b){angular.module("adf.widget.table",["adf.provider"]).value("apiServiceUrlTable","/api/widgets/table").config(["dashboardProvider",function(a){a.widget("table",{title:"Table",description:"Show tabbed results from db",templateUrl:"{widgetsPath}/table/src/view.html",controller:"apiWidgetTableViewCtrl",edit:{templateUrl:"{widgetsPath}/table/src/edit.html",controller:"apiWidgetTableEditCtrl"}})}]).service("apiServiceTable",["$q","$http","apiServiceUrlTable",function(a,b,c){return{get:function(d){var e=a.defer();return b.get(c,{params:{condition:encodeURIComponent(d.condition),table:d.report,fields:d.fields}}).success(function(a){a?e.resolve(a):e.reject()}).error(function(a){console.log(a),e.reject()}),e.promise}}}]).controller("apiWidgetTableEditCtrl",["$scope",function(a){function b(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=[{name:"Agents",value:"agent"},{name:"Calls",value:"call"},{name:"Dials",value:"dial"},{name:"Members",value:"member"},{name:"Queues",value:"queue"}],a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){b().push({})},a.removeField=function(a){b().splice(a,1)}}]).controller("apiWidgetTableViewCtrl",["$scope","$interval","apiServiceTable",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.style={"max-height":a.config.height+"px",overflow:"scroll"},a.tableApiCall=function(){a.config.condition&&a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){a.results=b})},a.tableApiCall();var d=b(function(){a.tableApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.table").run(["$templateCache",function(a){a.put("{widgetsPath}/table/src/edit.html",'<form role=form><div class=form-group><label class=control-label>{{\'APPLICATION_REPORT\' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat="report.value as report in config.reportTables | filter: $select.search"><div ng-bind-html="report.name | highlight: $select.search"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{\'APPLICATION_METRICS\' | translate}}</label></div><div class=padding-bottom ng-repeat="field in config.fields"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if="config.fields.length>1"><button class="btn btn-danger" type=button data-ng-click=removeField($index)><i class="fa fa-times"></i> {{\'APPLICATION_REMOVE\' | translate}}</button></span></div></div></div><button type=button class="btn btn-sm green mbottom20" ng-click=addField()><i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}</button><div class=form-group><label for=condition>{{\'APPLICATION_CONDITION\' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder="{{\'APPLICATION_CONDITION\' | translate}}"></div><div class=form-group><label for=condition>{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder="{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}" min=1></div><div class=form-group><label for=condition>{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}</label> <input type=number class=form-control id=height ng-model=config.height placeholder="{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}" min=350></div></form>'),a.put("{widgetsPath}/table/src/view.html",'<div ng-if=results ng-style=config.style><table st-table=results class="table table-striped table-bordered table-hover"><div class=table-responsive><thead><tr><th colspan={{config.fields.length}}><div class=row><div class=col-md-6></div><div class=col-md-6><div class="input-group input-medium pull-right"><input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class=form-control type=search> <span class=input-group-addon><i class="fa fa-search"></i></span></div></div></div></th></tr><tr><th ng-repeat="field in config.fields">{{field.alias}}</th></tr></thead><tbody><tr data-ng-repeat="result in results" class=animate-repeat><td ng-repeat="field in config.fields">{{result[field.alias]}}</td></tr><tr data-ng-hide=results.length><td colspan={{config.fields.length}} style=text-align:center;><i>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</i></td></tr></tbody><tfoot><tr><td colspan={{config.fields.length}} class=text-center><div st-pagination class=pagination st-items-by-page=10 st-displayed-pages=3></div></td></tr></tfoot></div></table></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_FIELD_AND_CHECK_OTHER\' | translate}}</div>')}])}(window);var Metronic=function(){var a,b=!1,c=!1,d=!1,e=!1,f=[],g="assets/",h="img/",i="plugins/",j="css/",k={blue:"#89C4F4",red:"#F3565D",green:"#1bbc9b",purple:"#9b59b6",grey:"#95a5a6",yellow:"#F8CB00"},l=function(){"rtl"===$("body").css("direction")&&(b=!0),c=!!navigator.userAgent.match(/MSIE 8.0/),d=!!navigator.userAgent.match(/MSIE 9.0/),e=!!navigator.userAgent.match(/MSIE 10.0/),e&&$("html").addClass("ie10"),(e||d||c)&&$("html").addClass("ie")},m=function(){for(var a=0;a<f.length;a++){var b=f[a];b.call()}},n=function(){var a;if(c){var b;$(window).resize(function(){b!=document.documentElement.clientHeight&&(a&&clearTimeout(a),a=setTimeout(function(){m()},50),b=document.documentElement.clientHeight)})}else $(window).resize(function(){a&&clearTimeout(a),a=setTimeout(function(){m()},50)})},o=function(){$("body").on("click",".portlet > .portlet-title > .tools > a.remove",function(a){a.preventDefault();var b=$(this).closest(".portlet");$("body").hasClass("page-portlet-fullscreen")&&$("body").removeClass("page-portlet-fullscreen"),b.find(".portlet-title .fullscreen").tooltip("destroy"),b.find(".portlet-title > .tools > .reload").tooltip("destroy"),b.find(".portlet-title > .tools > .remove").tooltip("destroy"),b.find(".portlet-title > .tools > .config").tooltip("destroy"), -b.find(".portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip("destroy"),b.remove()}),$("body").on("click",".portlet > .portlet-title .fullscreen",function(a){a.preventDefault();var b=$(this).closest(".portlet");if(b.hasClass("portlet-fullscreen"))$(this).removeClass("on"),b.removeClass("portlet-fullscreen"),$("body").removeClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height","auto");else{var c=Metronic.getViewPort().height-b.children(".portlet-title").outerHeight()-parseInt(b.children(".portlet-body").css("padding-top"))-parseInt(b.children(".portlet-body").css("padding-bottom"));$(this).addClass("on"),b.addClass("portlet-fullscreen"),$("body").addClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height",c)}}),$("body").on("click",".portlet > .portlet-title > .tools > a.reload",function(a){a.preventDefault();var b=$(this).closest(".portlet").children(".portlet-body"),c=$(this).attr("data-url"),d=$(this).attr("data-error-display");c?(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),$.ajax({type:"GET",cache:!1,url:c,dataType:"html",success:function(a){Metronic.unblockUI(b),b.html(a)},error:function(a,c,e){Metronic.unblockUI(b);var f="Error on reloading the content. Please check your connection and try again.";"toastr"==d&&toastr?toastr.error(f):"notific8"==d&&$.notific8?($.notific8("zindex",11500),$.notific8(f,{theme:"ruby",life:3e3})):alert(f)}})):(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),window.setTimeout(function(){Metronic.unblockUI(b)},1e3))}),$('.portlet .portlet-title a.reload[data-load="true"]').click(),$("body").on("click",".portlet > .portlet-title > .tools > .collapse, .portlet .portlet-title > .tools > .expand",function(a){a.preventDefault()})},p=function(){if($().uniform){var a=$("input[type=checkbox]:not(.toggle, .make-switch, .icheck), input[type=radio]:not(.toggle, .star, .make-switch, .icheck)");a.size()>0&&a.each(function(){0===$(this).parents(".checker").size()&&$(this).show()})}},q=function(){$().iCheck&&$(".icheck").each(function(){var a=$(this).attr("data-checkbox")?$(this).attr("data-checkbox"):"icheckbox_minimal-grey",b=$(this).attr("data-radio")?$(this).attr("data-radio"):"iradio_minimal-grey";a.indexOf("_line")>-1||b.indexOf("_line")>-1?$(this).iCheck({checkboxClass:a,radioClass:b,insert:'<div class="icheck_line-icon"></div>'+$(this).attr("data-label")}):$(this).iCheck({checkboxClass:a,radioClass:b})})},r=function(){$().bootstrapSwitch&&$(".make-switch").bootstrapSwitch()},s=function(){$().confirmation&&$("[data-toggle=confirmation]").confirmation({container:"body",btnOkClass:"btn-xs btn-success",btnCancelClass:"btn-xs btn-danger"})},t=function(){$("body").on("shown.bs.collapse",".accordion.scrollable",function(a){Metronic.scrollTo($(a.target))})},u=function(){if(location.hash){var a=location.hash.substr(1);$('a[href="#'+a+'"]').parents(".tab-pane:hidden").each(function(){var a=$(this).attr("id");$('a[href="#'+a+'"]').click()}),$('a[href="#'+a+'"]').click()}},v=function(){$("body").on("hide.bs.modal",function(){$(".modal:visible").size()>1&&$("html").hasClass("modal-open")===!1?$("html").addClass("modal-open"):$(".modal:visible").size()<=1&&$("html").removeClass("modal-open")}),$("body").on("show.bs.modal",".modal",function(){$(this).hasClass("modal-scroll")&&$("body").addClass("modal-open-noscroll")}),$("body").on("hide.bs.modal",".modal",function(){$("body").removeClass("modal-open-noscroll")}),$("body").on("hidden.bs.modal",".modal:not(.modal-cached)",function(){$(this).removeData("bs.modal")})},w=function(){$(".tooltips").tooltip(),$(".portlet > .portlet-title .fullscreen").tooltip({container:"body",title:"Fullscreen"}),$(".portlet > .portlet-title > .tools > .reload").tooltip({container:"body",title:"Reload"}),$(".portlet > .portlet-title > .tools > .remove").tooltip({container:"body",title:"Remove"}),$(".portlet > .portlet-title > .tools > .config").tooltip({container:"body",title:"Settings"}),$(".portlet > .portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip({container:"body",title:"Collapse/Expand"})},x=function(){$("body").on("click",".dropdown-menu.hold-on-click",function(a){a.stopPropagation()})},y=function(){$("body").on("click",'[data-close="alert"]',function(a){$(this).parent(".alert").hide(),$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-close="note"]',function(a){$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-remove="note"]',function(a){$(this).closest(".note").remove(),a.preventDefault()})},z=function(){$('[data-hover="dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")})},A=function(){$(".popovers").popover(),$(document).on("click.bs.popover.data-api",function(b){a&&a.popover("hide")})},B=function(){Metronic.initSlimScroll(".scroller")},C=function(){jQuery.fancybox&&$(".fancybox-button").size()>0&&$(".fancybox-button").fancybox({groupAttr:"data-rel",prevEffect:"none",nextEffect:"none",closeBtn:!0,helpers:{title:{type:"inside"}}})},D=function(){(c||d)&&$("input[placeholder]:not(.placeholder-no-fix), textarea[placeholder]:not(.placeholder-no-fix)").each(function(){var a=$(this);""===a.val()&&""!==a.attr("placeholder")&&a.addClass("placeholder").val(a.attr("placeholder")),a.focus(function(){a.val()==a.attr("placeholder")&&a.val("")}),a.blur(function(){(""===a.val()||a.val()==a.attr("placeholder"))&&a.val(a.attr("placeholder"))})})},E=function(){$().select2&&$(".select2me").select2({placeholder:"Select"})};return{init:function(){l(),n(),p(),q(),r(),B(),C(),E(),o(),y(),x(),u(),w(),A(),t(),v(),s(),D()},initAjax:function(){p(),q(),r(),z(),B(),E(),C(),x(),w(),A(),t(),s()},initComponents:function(){this.initAjax()},setLastPopedPopover:function(b){a=b},addResizeHandler:function(a){f.push(a)},runResizeHandlers:function(){m()},scrollTo:function(a,b){var c=a&&a.size()>0?a.offset().top:0;a&&($("body").hasClass("page-header-fixed")&&(c-=$(".page-header").height()),c+=b?b:-1*a.height()),$("html,body").animate({scrollTop:c},"slow")},initSlimScroll:function(a){$(a).each(function(){if(!$(this).attr("data-initialized")){var a;a=$(this).attr("data-height")?$(this).attr("data-height"):$(this).css("height"),$(this).slimScroll({allowPageScroll:!0,size:"7px",color:$(this).attr("data-handle-color")?$(this).attr("data-handle-color"):"#bbb",wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",railColor:$(this).attr("data-rail-color")?$(this).attr("data-rail-color"):"#eaeaea",position:b?"left":"right",height:a,alwaysVisible:"1"==$(this).attr("data-always-visible")?!0:!1,railVisible:"1"==$(this).attr("data-rail-visible")?!0:!1,disableFadeOut:!0}),$(this).attr("data-initialized","1")}})},destroySlimScroll:function(a){$(a).each(function(){if("1"===$(this).attr("data-initialized")){$(this).removeAttr("data-initialized"),$(this).removeAttr("style");var a={};$(this).attr("data-handle-color")&&(a["data-handle-color"]=$(this).attr("data-handle-color")),$(this).attr("data-wrapper-class")&&(a["data-wrapper-class"]=$(this).attr("data-wrapper-class")),$(this).attr("data-rail-color")&&(a["data-rail-color"]=$(this).attr("data-rail-color")),$(this).attr("data-always-visible")&&(a["data-always-visible"]=$(this).attr("data-always-visible")),$(this).attr("data-rail-visible")&&(a["data-rail-visible"]=$(this).attr("data-rail-visible")),$(this).slimScroll({wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",destroy:!0});var b=$(this);$.each(a,function(a,c){b.attr(a,c)})}})},scrollTop:function(){Metronic.scrollTo()},blockUI:function(a){a=$.extend(!0,{},a);var b="";if(b=a.animate?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><div class="block-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div>':a.iconOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""></div>':a.textOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><span> '+(a.message?a.message:"LOADING...")+"</span></div>":'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""><span> '+(a.message?a.message:"LOADING...")+"</span></div>",a.target){var c=$(a.target);c.height()<=$(window).height()&&(a.cenrerY=!0),c.block({message:b,baseZ:a.zIndex?a.zIndex:1e3,centerY:void 0!==a.cenrerY?a.cenrerY:!1,css:{top:"10%",border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})}else $.blockUI({message:b,baseZ:a.zIndex?a.zIndex:1e3,css:{border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})},unblockUI:function(a){a?$(a).unblock({onUnblock:function(){$(a).css("position",""),$(a).css("zoom","")}}):$.unblockUI()},startPageLoading:function(a){a&&a.animate?($(".page-spinner-bar").remove(),$("body").append('<div class="page-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>')):($(".page-loading").remove(),$("body").append('<div class="page-loading"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif"/> <span>'+(a&&a.message?a.message:"Loading...")+"</span></div>"))},stopPageLoading:function(){$(".page-loading, .page-spinner-bar").remove()},alert:function(a){a=$.extend(!0,{container:"",place:"append",type:"success",message:"",close:!0,reset:!0,focus:!0,closeInSeconds:0,icon:""},a);var b=Metronic.getUniqueID("Metronic_alert"),c='<div id="'+b+'" class="Metronic-alerts alert alert-'+a.type+' fade in">'+(a.close?'<button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button>':"")+(""!==a.icon?'<i class="fa-lg fa fa-'+a.icon+'"></i> ':"")+a.message+"</div>";return a.reset&&$(".Metronic-alerts").remove(),a.container?"append"==a.place?$(a.container).append(c):$(a.container).prepend(c):$("body").hasClass("page-container-bg-solid")?$(".page-title").after(c):$(".page-bar").size()>0?$(".page-bar").after(c):$(".page-breadcrumb").after(c),a.focus&&Metronic.scrollTo($("#"+b)),a.closeInSeconds>0&&setTimeout(function(){$("#"+b).remove()},1e3*a.closeInSeconds),b},initUniform:function(a){a?$(a).each(function(){0===$(this).parents(".checker").size()&&($(this).show(),$(this).uniform())}):p()},updateUniform:function(a){$.uniform.update(a)},initFancybox:function(){C()},getActualVal:function(a){return a=$(a),a.val()===a.attr("placeholder")?"":a.val()},getURLParameter:function(a){var b,c,d=window.location.search.substring(1),e=d.split("&");for(b=0;b<e.length;b++)if(c=e[b].split("="),c[0]==a)return unescape(c[1]);return null},isTouchDevice:function(){try{return document.createEvent("TouchEvent"),!0}catch(a){return!1}},getViewPort:function(){var a=window,b="inner";return"innerWidth"in window||(b="client",a=document.documentElement||document.body),{width:a[b+"Width"],height:a[b+"Height"]}},getUniqueID:function(a){return"prefix_"+Math.floor(Math.random()*(new Date).getTime())},isIE8:function(){return c},isIE9:function(){return d},isRTL:function(){return b},isAngularJsApp:function(){return"undefined"==typeof angular?!1:!0},getAssetsPath:function(){return g},setAssetsPath:function(a){g=a},setGlobalImgPath:function(a){h=a},getGlobalImgPath:function(){return g+h},setGlobalPluginsPath:function(a){i=a},getGlobalPluginsPath:function(){return g+i},getGlobalCssPath:function(){return g+j},getBrandColor:function(a){return k[a]?k[a]:""},getResponsiveBreakpoint:function(a){var b={xs:480,sm:768,md:900,lg:1200};return b[a]?b[a]:0}}}(),Layout=function(){var a="img/",b="css/",c=Metronic.getResponsiveBreakpoint("md"),d=function(){var a,b=$(".page-content"),d=$(".page-sidebar"),e=$("body");if(e.hasClass("page-footer-fixed")===!0&&e.hasClass("page-sidebar-fixed")===!1){var f=Metronic.getViewPort().height-$(".page-footer").outerHeight()-$(".page-header").outerHeight();b.height()<f&&b.attr("style","min-height:"+f+"px")}else{if(e.hasClass("page-sidebar-fixed"))a=g(),e.hasClass("page-footer-fixed")===!1&&(a-=$(".page-footer").outerHeight());else{var h=$(".page-header").outerHeight(),i=$(".page-footer").outerHeight();a=Metronic.getViewPort().width<c?Metronic.getViewPort().height-h-i:d.height()+20,a+h+i<=Metronic.getViewPort().height&&(a=Metronic.getViewPort().height-h-i)}b.attr("style","min-height:"+a+"px")}},e=function(a,b){var d=location.hash.toLowerCase(),e=$(".page-sidebar-menu");if("click"===a||"set"===a?b=$(b):"match"===a&&e.find("li > a").each(function(){var a=$(this).attr("href").toLowerCase();return a.length>1&&d.substr(1,a.length-1)==a.substr(1)?void(b=$(this)):void 0}),b&&0!=b.size()&&"javascript:;"!==b.attr("href").toLowerCase()&&"#"!==b.attr("href").toLowerCase()){parseInt(e.data("slide-speed")),e.data("keep-expanded");e.find("li.active").removeClass("active"),e.find("li > a > .selected").remove(),e.hasClass("page-sidebar-menu-hover-submenu")===!1?e.find("li.open").each(function(){0===$(this).children(".sub-menu").size()&&($(this).removeClass("open"),$(this).find("> a > .arrow.open").removeClass("open"))}):e.find("li.open").removeClass("open"),b.parents("li").each(function(){$(this).addClass("active"),$(this).find("> a > span.arrow").addClass("open"),1===$(this).parent("ul.page-sidebar-menu").size()&&$(this).find("> a").append('<span class="selected"></span>'),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===a&&Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click()}},f=function(){jQuery(".page-sidebar").on("click","li > a",function(a){var b=$(this).next().hasClass("sub-menu");if(!(Metronic.getViewPort().width>=c&&1===$(this).parents(".page-sidebar-menu-hover-submenu").size())){if(b===!1)return void(Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click());if(!$(this).next().hasClass("sub-menu always-open")){var e=$(this).parent().parent(),f=$(this),g=$(".page-sidebar-menu"),h=jQuery(this).next(),i=g.data("auto-scroll"),j=parseInt(g.data("slide-speed")),k=g.data("keep-expanded");k!==!0&&(e.children("li.open").children("a").children(".arrow").removeClass("open"),e.children("li.open").children(".sub-menu:not(.always-open)").slideUp(j),e.children("li.open").removeClass("open"));var l=-200;h.is(":visible")?(jQuery(".arrow",jQuery(this)).removeClass("open"),jQuery(this).parent().removeClass("open"),h.slideUp(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})):b&&(jQuery(".arrow",jQuery(this)).addClass("open"),jQuery(this).parent().addClass("open"),h.slideDown(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})),a.preventDefault()}}}),jQuery(".page-sidebar").on("click"," li > a.ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=jQuery(".page-sidebar ul"),e=($(".page-content"),$(".page-content .page-content-body"));d.children("li.active").removeClass("active"),d.children("arrow.open").removeClass("open"),$(this).parents("li").each(function(){$(this).addClass("active"),$(this).children("a > span.arrow").addClass("open")}),$(this).parents("li").addClass("active"),Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),Metronic.startPageLoading();var f=$(this);$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){0===f.parents("li.open").size()&&$(".page-sidebar-menu > li.open > a").click(),Metronic.stopPageLoading(),e.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){Metronic.stopPageLoading(),e.html("<h4>Could not load the requested content.</h4>")}})}),jQuery(".page-content").on("click",".ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=($(".page-content"),$(".page-content .page-content-body"));Metronic.startPageLoading(),Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){Metronic.stopPageLoading(),d.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){d.html("<h4>Could not load the requested content.</h4>"),Metronic.stopPageLoading()}})}),i(),$(".page-sidebar").on("click",".sidebar-search .remove",function(a){a.preventDefault(),$(".sidebar-search").removeClass("open")}),$(".page-sidebar .sidebar-search").on("keypress","input.form-control",function(a){return 13==a.which?($(".sidebar-search").submit(),!1):void 0}),0!==$(".sidebar-search").size()&&($(".sidebar-search .input-group").on("click",function(a){a.stopPropagation()}),$("body").on("click",function(){$(".sidebar-search").hasClass("open")&&$(".sidebar-search").removeClass("open")}))},g=function(){var a=Metronic.getViewPort().height-$(".page-header").outerHeight();return $("body").hasClass("page-footer-fixed")&&(a-=$(".page-footer").outerHeight()),a},h=function(){var a=$(".page-sidebar-menu");return Metronic.destroySlimScroll(a),0===$(".page-sidebar-fixed").size()?void d():void(Metronic.getViewPort().width>=c&&(a.attr("data-height",g()),Metronic.initSlimScroll(a),d()))},i=function(){var a=$("body");a.hasClass("page-sidebar-fixed")&&$(".page-sidebar").on("mouseenter",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").removeClass("page-sidebar-menu-closed")}).on("mouseleave",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").addClass("page-sidebar-menu-closed")})},j=function(){$("body");$.cookie&&"1"===$.cookie("sidebar_closed")&&Metronic.getViewPort().width>=c?($("body").addClass("page-sidebar-closed"),$(".page-sidebar-menu").addClass("page-sidebar-menu-closed")):$.cookie&&$.cookie("sidebar_closed","0")},k=function(){$(".page-header").on("click",'.hor-menu a[data-toggle="tab"]',function(a){a.preventDefault();var b=$(".hor-menu .nav"),c=b.find("li.current");$("li.active",c).removeClass("active"),$(".selected",c).remove();var d=$(this).parents("li").last();d.addClass("current"),d.find("a:first").append('<span class="selected"></span>')}),$(".page-header").on("click",".search-form",function(a){$(this).addClass("open"),$(this).find(".form-control").focus(),$(".page-header .search-form .form-control").on("blur",function(a){$(this).closest(".search-form").removeClass("open"),$(this).unbind("blur")})}),$(".page-header").on("keypress",".hor-menu .search-form .form-control",function(a){return 13==a.which?($(this).closest(".search-form").submit(),!1):void 0}),$(".page-header").on("mousedown",".search-form.open .submit",function(a){a.preventDefault(),a.stopPropagation(),$(this).closest(".search-form").submit()}),$('[data-hover="megamenu-dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")}),$(document).on("click",".mega-menu-dropdown .dropdown-menu",function(a){a.stopPropagation()})},l=function(){$("body").on("shown.bs.tab",'a[data-toggle="tab"]',function(){d()})},m=function(){var a=300,b=500;navigator.userAgent.match(/iPhone|iPad|iPod/i)?$(window).bind("touchend touchcancel touchleave",function(c){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}):$(window).scroll(function(){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}),$(".scroll-to-top").click(function(a){return a.preventDefault(),$("html, body").animate({scrollTop:0},b),!1})},n=function(){var a,b=$(".full-height-content");if(a=Metronic.getViewPort().height-$(".page-header").outerHeight(!0)-$(".page-footer").outerHeight(!0)-$(".page-title").outerHeight(!0)-$(".page-bar").outerHeight(!0),b.hasClass("portlet")){var d=b.find(".portlet-body");if(Metronic.getViewPort().width<c)return void Metronic.destroySlimScroll(d.find(".full-height-content-body"));a=a-b.find(".portlet-title").outerHeight(!0)-parseInt(b.find(".portlet-body").css("padding-top"))-parseInt(b.find(".portlet-body").css("padding-bottom"))-2,b.hasClass("full-height-content-scrollable")?(a-=35,d.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(d.find(".full-height-content-body"))):d.css("min-height",a)}else{if(Metronic.getViewPort().width<c)return void Metronic.destroySlimScroll(b.find(".full-height-content-body"));b.hasClass("full-height-content-scrollable")?(a-=35,b.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(b.find(".full-height-content-body"))):b.css("min-height",a)}};return{initHeader:function(){k()},setSidebarMenuActiveLink:function(a,b){e(a,b)},initSidebar:function(){h(),f(),j(),Metronic.isAngularJsApp()&&e("match"),Metronic.addResizeHandler(h)},initContent:function(){n(),l(),Metronic.addResizeHandler(d),Metronic.addResizeHandler(n)},initFooter:function(){m()},init:function(){this.initHeader(),this.initSidebar(),this.initContent(),this.initFooter()},fixContentHeight:function(){d()},initFixedSidebarHoverEffect:function(){i()},initFixedSidebar:function(){h()},getLayoutImgPath:function(){return Metronic.getAssetsPath()+a},getLayoutCssPath:function(){return Metronic.getAssetsPath()+b}}}();angular.module("xCallyShuttleApp").run(["$templateCache",function(a){a.put("app/analytic/extracted/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-file-pdf-o"></i>\n <a href="/analytics/extracted/list">{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-file-pdf-o font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_METRIC\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.metric" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.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="(forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.table" name="table" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE-->\n\n <!-- START METRIC -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$invalid}">\n <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="item.metric" required/></textarea>\n <span data-ng-show="(forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END METRIC -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.metric.$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/analytic/metric/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-calculator"></i>\n <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-calculator font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DEFAULT_METRICS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptionsDefault" data-ng-if="gridOptionsDefault" name="gridOptionsDefault" 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 <div class="watermark" ng-show="!gridOptionsDefault.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n <div class="portlet-title margin-top20">\n <div class="caption font-green-sharp">\n <i class="icon-calculator font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_METRICS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_METRIC\' | translate }}\n </button>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" data-ng-if="gridOptions" name="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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/list/view.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_METRIC\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.metric" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}</label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required readonly/>\n <span data-ng-show="(forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}</label>\n <ui-select data-ng-model="item.table" name="table" theme="bootstrap" required data-ng-disabled="true">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE-->\n\n <!-- START METRIC -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$invalid}">\n <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}</label>\n <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="item.metric" required readonly/></textarea>\n <span data-ng-show="(forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END METRIC -->\n\n <!-- START DESCRIPTION -->\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" readonly></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'), -a.put("app/analytic/metric/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getMetric()">\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-eye"></i>\n <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n <i data-ng-show="metric" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="metric">\n <a href="#">{{metric.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/metric.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{metric.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.analytics.metrics.view.settings\')}">\n <a data-ng-href="/analytics/metrics/view/{{metric.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateMetric()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="metric.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="metric.table" name="table" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE-->\n\n <!-- START METRIC -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$invalid}">\n <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="metric.metric" required/></textarea>\n <span data-ng-show="(forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END METRIC -->\n\n <!-- START DESCRIPTION -->\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="metric.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/analytic/report/list/copy.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_COPY_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp" style="padding-left:10px;">\n <i class="icon-folder font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_COPY_TO\' | translate }} </span>\n </div>\n </div>\n <div class="portlet-body">\n <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;"></div>\n </div>\n </div>\n <div class="has-error">\n <span data-ng-show="showAlert" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_SELECT_FOLDER\' | translate}}.\n </span>\n </div>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.report" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.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="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_PATH\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_PATH\' | translate}}" class="form-control" data-ng-model="path" disabled/>\n <span data-ng-show="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.report.$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/analytic/report/list/extract.modal.html",'<div class="modal-header">\n <button type="button" ng-click="cancel()" class="close">×</button>\n <h4 class="modal-title">{{ \'APPLICATION_EXTRACT_REPORT\' | translate }}</h4>\n</div>\n<div class="modal-body" style="text-align:center;">\n <form name="forms.report" class="form-inline mbottom20" novalidate>\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="daterange" onkeydown="return false" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" max-date="{{yesterday}}" data-ng-required="!daily" data-ng-disabled="daily" data-ng-class="{\'disabled-invisible\':daily}" style="cursor:pointer;" readonly/>\n <input\n bs-switch\n class="form-control"\n ng-model="daily"\n type="checkbox"\n name="auth"\n switch-active="{{ dailySwitch.isActive }}"\n switch-on-text="{{ dailySwitch.onText }}"\n switch-off-text="{{ dailySwitch.offText }}"\n switch-on-color="{{ dailySwitch.onColor }}"\n switch-off-color="{{ dailySwitch.offColor }}"\n switch-animate="{{ dailySwitch.animate }}"\n switch-size="{{ dailySwitch.size }}"\n switch-label="{{ dailySwitch.label }}"\n switch-icon="{{ dailySwitch.icon }}"\n switch-radio-off="{{ dailySwitch.radioOff }}"\n switch-label-width="{{ dailySwitch.labelWidth }}"\n switch-handle-width="{{ dailySwitch.handleWidth }}">\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn default green-jungle" type="button" data-ng-click="extract(\'csv\')"><i class="fa fa-file-excel-o"></i> {{ \'APPLICATION_SAVE_AS_CSV\' | translate }}</button>\n <button class="btn default red-intense" type="button" data-ng-click="extract(\'pdf\')"><i class="fa fa-file-pdf-o"></i> {{ \'APPLICATION_SAVE_AS_PDF\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getTrees()">\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-book-open"></i>\n <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <div class="col-fixed">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp" style="padding-left:10px;">\n <i class="icon-folder font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_FOLDERS\' | translate }} </span>\n </div>\n <div class="inputs">\n <div class="portlet-input input-inline input-small">\n <div class="input-icon right">\n <i class="icon-magnifier"></i>\n <input type="text" data-ng-model="searchField" data-ng-change="searchTrees()" class="form-control input-circle" placeholder="search...">\n </div>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div js-tree="defaultTreeConfig" ng-model="defaultTreeData" should-apply="ac()" tree="defaultTreeInstance" tree-events="ready:initDefaultScopeTree;select_node:selectDefaultNode;"></div>\n <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;select_node:selectCustomNode;rename_node:updateCustomTree;delete_node:updateCustomTree;move_node:updateCustomTree;create_node:updateCustomTree;"></div>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n <div class="row tree-row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\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_REPORTS\' | translate }}<span data-ng-if="selectedNode"> - {{selectedNode}}</span></span>\n </div>\n <div data-ng-if="!defaultTreeActive" class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <span class="btn default btn-file">\n <span class="fileinput-new">\n <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}</span>\n <input type="file" on-read-file="import($fileContent)"/>\n </span>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_REPORT\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div ng-slide-down="gridOptions" lazy-render duration="1">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/list/preview.modal.html",'<div class="modal-header">\n <button type="button" ng-click="cancel()" class="close">×</button>\n <h4 class="modal-title">{{ \'APPLICATION_REPORT_PREVIEW\' | translate }}</h4>\n</div>\n<div class="modal-body" style="text-align:center;">\n <form name="forms.report" class="form-inline mbottom20" novalidate>\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="daterange" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" data-ng-change="getPage()" max-date="{{yesterday}}" data-ng-required="!daily" data-ng-disabled="daily" data-ng-class="{\'disabled-invisible\':daily}" style="cursor:pointer;" readonly/>\n <!-- START STATUS -->\n <input\n bs-switch\n class="form-control"\n ng-model="daily"\n type="checkbox"\n name="auth"\n data-ng-change="getPage()"\n switch-active="{{ dailySwitch.isActive }}"\n switch-on-text="{{ dailySwitch.onText }}"\n switch-off-text="{{ dailySwitch.offText }}"\n switch-on-color="{{ dailySwitch.onColor }}"\n switch-off-color="{{ dailySwitch.offColor }}"\n switch-animate="{{ dailySwitch.animate }}"\n switch-size="{{ dailySwitch.size }}"\n switch-label="{{ dailySwitch.label }}"\n switch-icon="{{ dailySwitch.icon }}"\n switch-radio-off="{{ dailySwitch.radioOff }}"\n switch-label-width="{{ dailySwitch.labelWidth }}"\n switch-handle-width="{{ dailySwitch.handleWidth }}">\n </div>\n </form>\n <div ng-slide-down="showResult" lazy-render duration="1">\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="grid extract-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n</div>\n<div class="modal-footer">\n<button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getReport()">\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-book-open"></i>\n <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n <i data-ng-show="report" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="report">\n <a href="#">{{report.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/report.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{report.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.analytics.reports.view.settings\')}">\n <a data-ng-href="/analytics/reports/view/{{report.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li>\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li class="active">\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_BUILD\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab" data-ng-click="showResult = true">{{ \'APPLICATION_TEST_PREVIEW\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="report.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="report.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TABLE INPUT -->\n\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n\n </div>\n <!-- END GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_2">\n <form name="forms.report" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n <div class="form-group" data-ng-class="{\'has-error\': (forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="report.table" name="table" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n </span>\n <span data-ng-show="(forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE INPUT-->\n <div data-ng-if="report.table" class="mbottom20 pbottom20">\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_FIELDS\' | translate}} </span>\n </div>\n </div>\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}</th>\n <th style="min-width:167px;">{{ \'APPLICATION_ALIAS\' | translate }}</th>\n <th>{{ \'APPLICATION_FUNCTION\' | translate }}</th>\n <th>{{ \'APPLICATION_FORMAT\' | translate }}</th>\n <th>{{ \'APPLICATION_GROUP_BY\' | translate }}</th>\n <th>{{ \'APPLICATION_ORDER_BY\' | translate }}</th>\n <th></th>\n <th style="min-width:66px;"></th>\n </tr>\n </thead>\n <tbody ui-sortable="sortableOptions" data-ng-model="report.Fields">\n <tr data-ng-repeat="field in report.Fields">\n <td>\n <!-- START FIELD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.field}">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <div class="input-group">\n <ui-select data-ng-if="!field.custom" data-ng-model="field.field" dynamic-name="randomName()" theme="bootstrap" on-select="setMetricId($item,$index)" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}"><span ng-bind-html="$select.selected.name"></span></ui-select-match>\n <ui-select-choices repeat="tableField.value as tableField in tableFields | filter: $select.search">\n <div ng-bind-html="tableField.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <input data-ng-if="field.custom" type="text" dynamic-name="randomName()" placeholder="{{\'APPLICATION_CUSTOM\' | translate}}" class="form-control" data-ng-model="field.field" required/>\n <span class="input-group-btn">\n <button type="button" data-ng-click="toggleCustom(field)" class="btn btn-default">\n <span class="icon-pencil" data-ng-class="{\'font-blue\':field.custom}"></span>\n </button>\n </span>\n </div>\n <span data-ng-show="forms.report.$submitted && !field.field" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FIELD-->\n </td>\n <td>\n <!-- START ALIAS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.alias}">\n <!-- <label class="control-label">{{\'APPLICATION_ALIAS\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <input type="text" dynamic-name="randomName()" placeholder="{{\'APPLICATION_ALIAS\' | translate}}" class="form-control" data-ng-model="field.alias" data-ng-pattern="\'[A-Za-z0-9 <>=,.%_\\\\+*!\\\\-\\\\[\\\\]]+\'" required/>\n <span data-ng-show="forms.report.$submitted && !field.alias" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="forms.report.$submitted && !field.alias" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END ALIAS -->\n </td>\n <td>\n <!-- START FUNCTION -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.function" name="function" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_FUNCTION\' | translate}}" allow-clear>{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="function.value as function in functions | filter: $select.search">\n <div ng-bind-html="function.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END FUNCTION-->\n </td>\n <td>\n <!-- START FORMAT -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.format" name="format" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_FORMAT\' | translate}}" allow-clear>{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="format.value as format in formatFunctions | filter: $select.search">\n <div ng-bind-html="format.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END FORMAT-->\n </td>\n <td>\n <!-- START GROUP_BY -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.groupBy" name="groupBy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_GROUP_BY\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="groupBy.value as groupBy in groupByField | filter: $select.search">\n {{$translate.instant(groupBy.name)}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END GROUP_BY-->\n </td>\n <td>\n <!-- START ORDER_BY -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.orderBy" name="orderBy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_ORDER_BY\' | translate}}" allow-clear>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="orderBy in [\'ASC\',\'DESC\'] | filter: $select.search">\n <div ng-bind-html="orderBy | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TABLE INPUT-->\n </td>\n <td class="report-field-remove">\n <button class="btn red" type="button" data-ng-click="removeField($index)"><i class="fa fa-times"></i></button>\n </td>\n <td class="report-field-handle">\n <!-- <img data-ng-src="assets/images/move.png" class="img-responsive"> -->\n </td>\n </tr>\n <tr data-ng-hide="report.Fields.length" class="unsortable">\n <td colspan="8" style="text-align:center;">\n <i>{{ \'MESSAGE_ADD_A_FIELD\' | translate }}</i>\n </td>\n </tr>\n </tbody>\n </table>\n <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}\n </button>\n <!-- END TABLE -->\n </div>\n <div data-ng-if="report.Fields.length" class="mbottom20 pbottom20">\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_CONDITIONS\' | translate}} </span>\n </div>\n </div>\n <div class="alert alert-info">\n <strong>Output</strong><br>\n <span ng-bind-html="output"></span>\n </div>\n\n <report-builder group="report.conditions.group" fields="tableFields" forms="forms" firstCall=\'true\'></report-builder>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <div class="tab-pane" id="tab_1_3">\n <div ng-slide-down="showResult" lazy-render duration="0.5">\n <div ui-grid="gridOptions" data-ng-if="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-move-columns class="grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/chat/offline/list/list.html",'<div class="row">\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/offline/list">{{ \'APPLICATION_OFFLINE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-question font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_OFFLINE_MESSAGES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/offline/message/message.directive.html",'<div class="message">\n <div class="row">\n <div class="col-md-12">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="openContact(message.email)">{{message.email}}</a>]\n </div>\n </div>\n <br>\n <span class="todo-tasklist-date">\n <i class="icon-calendar"></i> {{message.createdAt | date:\'medium\'}} (<span am-time-ago="message.createdAt"></span>)\n </span>\n <hr>\n <div class="body text-left message-body" data-ng-bind="message.text"></div>\n <h5 data-ng-hide="message.text" class="media-heading"><i>{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}</i></h5>\n</div>\n'),a.put("app/channels/chat/offline/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/offline/list">Offline</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-user"></i>\n <a href="#">{{enquiry.username}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE CONTENT -->\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <span data-ng-if="enquiry.ChatWebsite" class="caption-subject font-green-sharp bold uppercase">{{enquiry.ChatWebsite.name}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="row">\n <div class="col-md-4">\n <!-- Visitor Information -->\n <div class="portlet">\n <div class="portlet-body">\n <v-accordion class="vAccordion--default">\n <v-pane expanded="true">\n <v-pane-header>\n <ng-letter-avatar data-ng-if="enquiry.ChatVisitor" height="40" width="40" data="{{enquiry.ChatVisitor.fullname}}" fontsize="25" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #EA4C61" shape="round"></ng-letter-avatar>\n </v-pane-header>\n <v-pane-content>\n {{\'APPLICATION_NAME\' | translate}}:<p>{{enquiry.ChatVisitor.fullname}}</p>\n {{\'APPLICATION_EMAIL\' | translate}}:<p><a data-ng-click="openContact(enquiry.ChatVisitor.email)" href="">{{enquiry.ChatVisitor.email}}</a></p>\n <span data-ng-if="enquiry.ChatVisitor.labelOfflineData1">{{enquiry.ChatVisitor.labelOfflineData1}}: <p>{{enquiry.ChatVisitor.offlineData1}}</p></span>\n <span data-ng-if="enquiry.ChatVisitor.labelOfflineData2">{{enquiry.ChatVisitor.labelOfflineData2}}: <p>{{enquiry.ChatVisitor.offlineData2}}</p></span>\n <span data-ng-if="enquiry.ChatVisitor.labelOfflineData3">{{enquiry.ChatVisitor.labelOfflineData3}}: <p>{{enquiry.ChatVisitor.offlineData3}}</p></span>\n {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}:<p>{{enquiry.ChatVisitor.remote_address}}</p>\n {{\'APPLICATION_BROWSER\' | translate}}:<p>{{enquiry.ChatVisitor.browser}}</p>\n {{\'APPLICATION_REFERER\' | translate}}:<p>{{enquiry.ChatVisitor.referer}} - {{enquiry.ChatWebsite.name}}</p>\n {{\'APPLICATION_OS\' | translate}}:<p>{{enquiry.ChatVisitor.os}}</p>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <!-- Offline message -->\n <div id="mail-box">\n <ul class="chats">\n <li class="in">\n <enquiry-message message="enquiry" list-id="enquiry.ChatWebsite.ListId"></enquiry-message>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/online/list/list.html",'<div class="row">\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/online/list">{{ \'APPLICATION_ONLINE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-question font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/online/view/view.detail.html",'<div class="row">\n <div class="col-md-12">\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_DETAIL\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body row" data-ng-init="initView()">\n <div class="col-md-6">\n <div class="news-blocks">\n <h3>\n <a href="#" class="inactive-link">{{\'APPLICATION_MESSAGES\' | translate}}</a>\n <!-- <a href="#" data-ng-click="export()" data-ng-show="chatRoom.ChatMessages.length" class="btn btn-sm blue pull-right"><i class="icon-cloud-download"></i> {{\'APPLICATION_EXPORT\' | translate}} CSV </a> -->\n <a href="api/chat/rooms/{{chatRoom.id}}/export" target="_blank" data-ng-show="chatRoom.ChatMessages.length" class="btn btn-sm blue pull-right"><i class="icon-cloud-download"></i> {{\'APPLICATION_EXPORT\' | translate}} CSV </a>\n <hr>\n </h3>\n <div class="news-block-tags">\n <em am-time-ago="chatRoom.ChatVisitor.ChatEnquiry.createdAt"></em>\n </div>\n <p>\n <div ng-scrollbars ng-scrollbars-config="config">\n <ul class="chats">\n <li data-ng-class="{\'out\': message.User, \'in\':message.ChatVisitor}" data-ng-repeat="message in chatRoom.ChatMessages | orderBy:\'createdAt\'">\n <img class="avatar" data-ng-src="api/users/avatar/{{message.User.userpic || \'unknown_avatar\'}}">\n <div class="message">\n <span class="arrow">\n </span>\n <a href="#" class="name">\n {{message.User ? message.User.fullname : message.ChatVisitor.fullname}}\n </a>\n <span class="datetime">\n at {{message.createdAt | date: \'medium\'}}\n </span>\n <span class="body">\n {{message.body}}\n </span>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="col-md-6">\n <div class="news-blocks">\n <h3>\n <a href="#" class="inactive-link">{{\'APPLICATION_VISITOR\' | translate}}</a>\n <hr>\n </h3>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-user"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.fullname}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-envelope"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.email}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-globe"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.remote_address}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-home"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.referer}} - {{chatRoom.ChatVisitor.ChatWebsite.name}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-cursor"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.browser}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-screen-desktop"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.os}}</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n'),a.put("app/channels/chat/online/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/online/list">Online</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/enquiry.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- START USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chatRoom.ChatVisitor.email}}\n </div>\n <div class="profile-usertitle-job">\n {{chatRoom.ChatVisitor.fullname}}\n </div>\n </div>\n <!-- END USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.chat.online.view.detail\')}">\n <a data-ng-href="/channels/chat/online/view/{{chatRoom.id}}/detail">\n <i class="icon-tag"></i>\n {{ \'APPLICATION_DETAIL\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/preview/preview.html",'<style>\n.xc_header_logo\n{\n display:block;\n background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/motion_logo.png);\n width:40px;\n height:40px;\n float:left;;\n margin-left: 10px !important;\n margin-top: 6px !important;\n}\n.xc_rating {\n text-align: center;\n}\n.xc_rating_label > input{ /* HIDE RADIO */\n display:none;\n}\n.xc_rating_label > input + img{ /* IMAGE STYLES */\n cursor:pointer;\n border:2px solid transparent;\n}\n.xc_rating_label > input:checked + img{ /* (CHECKED) IMAGE STYLES */\n /*border:2px solid #f00;*/\n background-color: #efefef;\n}\n\n.xc_label {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n.xc_online_message,\n.xc_offline_message,\n.xc_rating_message\n{\n text-align: center;\n}\n\n.xc_div_group {\n margin: 10px 0 10px 0;\n}\n.xc_footer\n{\n text-align: center;\n padding-bottom: 5px;\n}\n\n.xc_powered\n{\n color: grey;\n font: 10px/16px "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;\n padding-bottom: 5px;\n}\n\n.xc_chat_container\n{\n //width:379px;\n //position:fixed;\n //bottom:0;\n //right:50px;\n z-index:9999;\n background-color:transparent;\n}\n\n.xc_chat_container *\n{\n font-family:Arial,Helvetica,sans-serif;\n font-size:13px;\n margin:0;\n padding:0;\n}\n\n.xc_chat_container p\n{\n margin:5px 0;\n}\n\n.xc_signup_wrapper\n{\n max-height:375px;\n}\n\n.xc_conversation_container\n{\n max-height:375px;\n list-style:none;\n overflow:auto;\n margin:0;\n padding:20px 10px;\n}\n\n.xc_conversation_container a\n{\n color:#036;\n}\n\n.xc_conversation_container a.xc_btn_style\n{\n color:#fff;\n}\n\ndiv.xc_chat_head\n{\n color:#fff;\n background:{{chatWebsite.color}};\n //border-radius: 20px 20px 0px 0px !important;\n height:52px;\n line-height:55px;\n cursor:pointer;\n}\n\ndiv.xc_chat_head.rounded\n{\n border-radius: 20px 20px 0px 0px !important;\n}\n\ndiv.xc_chat_head.squared\n{\n //border-radius: 20px 20px 0px 0px !important;\n}\n\n.xc_chat_head-title\n{\n margin:5px 0 0 15px;\n color: #fff;\n}\n\n.xc_header_icon\n{\n display:block;\n background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/iconVisitorchat.png);\n width:21px;\n height:16px;\n float:right;\n margin:20px 20px 0 0;\n}\n\n.xc_header_icon span.xc_notification_badge span\n{\n display:block;\n height:16px;\n width:15px;\n text-align:center;\n font-size:9px;\n color:#555;\n position:relative;\n top:-20px;\n left:4px;\n margin:0;\n padding:0;\n}\n\n.xc_sub-head-spacer\n{\n padding:1px;\n}\n\n.xc_conversation\n{\n display:none;\n margin:0 12px 0 11px;\n}\n\n.xc_chat_toggle_container\n{\n /*background:mediumslateblue center 52px;*/\n background: white;\n border-style: solid;\n border-width: 1px;\n border-color: {{chatWebsite.color}};\n //display:none;\n}\n\n.xc_signup_wrapper,.xc_notifications_wrapper,.xc_enquiry_wrapper,.xc_rating_wrapper\n{\n //display:none;\n display:block;\n overflow:auto;\n line-height:1;\n padding:25px;\n}\n\n.xc_exit_chat_container\n{\n text-align:right;\n width:95%;\n margin:0 auto;\n padding:5px 1px 0 0;\n}\n\n.xc_exit_chat_container span,.xc_exit_chat_container a\n{\n font-size:80%;\n color:#666;\n text-decoration:none;\n}\n\n.xc_exit_chat_container a:hover\n{\n color:#333;\n}\n\na.xc_btn_exit_chat_confirm:hover\n{\n color:red;\n}\n\na.xc_btn_exit_chat_cancel:hover\n{\n color:#0c0;\n}\n\nform.xc_form_reply\n{\n position:relative;\n}\n\n.xc_form_reply\n{\n /*background-color:#e3e3e3;*/\n text-align:center;\n /*border-top:1px solid #d3d3d3;*/\n}\n\n.xc_input_message\n{\n height:100px;\n margin:10px auto 5px;\n}\n\n.xc_input_enquiry_message,\n.xc_input_rating_message\n{\n height:100px;\n}\n\n.xc_form_signup,.xc_form_enquiry,.xc_form_rating\n{\n /*text-align:center;*/\n}\n\n.xc_chat_container textarea,.xc_chat_container input[type=text]\n{\n width:95%;\n min-width:95%;\n max-width:95%;\n -webkit-box-sizing:border-box;\n -moz-box-sizing:border-box;\n box-sizing:border-box;\n background-color:#fff;\n border:1px solid #ccc;\n -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n -webkit-transition:border linear .2s, box-shadow linear .2s;\n -moz-transition:border linear .2s, box-shadow linear .2s;\n -o-transition:border linear .2s, box-shadow linear .2s;\n transition:border linear .2s, box-shadow linear .2s;\n display:inline-block;\n font-size:14px;\n line-height:20px;\n color:#555;\n -webkit-border-radius:4px;\n -moz-border-radius:4px;\n border-radius:4px;\n vertical-align:middle;\n margin:3px 0;\n padding:4px 6px;\n resize: none;\n}\n\n.xc_chat_container textarea:focus,.xc_chat_container input[type=text]:focus\n{\n outline: {{chatWebsite.color_focus}} auto 5px;\n}\n\n.xc_chat_container input[type=text]\n{\n height: 30px;\n}\n\n.xc_message_sending textarea, .xc_enquiry_sending textarea\n{\n background: #fff url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/loading.gif) 98% 5px no-repeat;\n}\n\n.xc_chatrow\n{\n display:block;\n border-top:1px dashed #e3e3e3;\n margin:5px 0;\n clear: both;\n}\n\n.xc_chatrow p\n{\n color:#444;\n word-wrap:break-word;\n}\n\n.xc_time\n{\n float:right;\n font-size:80%;\n color:#ccc;\n padding-left:12px;\n margin:3px;\n}\n\n.xc_submission_pending\n{\n background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_clock.png) left center norepeat;\n}\n\n.xc_submission_confirmed\n{\n background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_tick.png) left center norepeat;\n}\n\n.xc_fullname\n{\n font-weight:700;\n}\n\n.xc_fullname:after\n{\n content:":";\n}\n\n.xc_avatar\n{\n float: left;\n margin: 0 5px 5px 0;\n display: inline-block;\n width: 40px;\n height: 40px;\n border-radius: 5px;\n -moz-border-radius: 5px;\n -webkit-border-radius: 5px;\n}\n\n.xc_smilie\n{\n background-repeat:no-repeat;\n display:inline-block;\n width:18px;\n height:18px;\n text-indent:-9999px;\n white-space:nowrap;\n}\n\n.xc_btn_load_more\n{\n width:100%!important;\n}\n\n.xc_notifications_wrapper\n{\n text-shadow:0 1px 0 rgba(255,255,255,0.5);\n}\n\n.xc_notification_success\n{\n color:#468847;\n}\n\n.xc_notification_error\n{\n color:#b94a48;\n}\n\n.xc_errorlist\n{\n margin:0 0 0 25px;\n padding:0;\n}\n\ni.xc_btn_notifications_close\n{\n float:right;\n font-weight:700;\n font-size:20px;\n color:#ccc;\n cursor:pointer;\n margin:-15px 0 0;\n padding:0;\n}\n\n.xc_btn_style\n{\n width:95%;\n text-align:center;\n line-height:1.2;\n font-size:90%;\n -moz-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n -webkit-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n background:0;\n background-color:{{chatWebsite.color_button}};\n -moz-border-radius:4px;\n -webkit-border-radius:4px;\n border-radius:4px;\n border:1px solid {{chatWebsite.color_button}};\n display:inline-block;\n color:#fff;\n font-weight:700;\n text-decoration:none;\n text-shadow:1px 1px 0 #000c17;\n margin:0 auto 5px;\n padding:2px 0;\n}\n\n.xc_btn_style:hover\n{\n background:0;\n background-color:{{chatWebsite.color_button}};\n color: #fff;\n text-decoration: none;\n}\n\n.xc_btn_style:active\n{\n position:relative;\n top:1px;\n}\n\n.xc_composing_container\n{\n display: none;\n width: 95%;\n margin: 0 auto;\n background: transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_pencil.png) 6px center no-repeat;\n padding-left: 19px;\n font-style: italic;\n}\n\n@media only screen and (max-height: 620px) {\n .xc_conversation_container\n {\n max-height:300px!important;\n }\n}\n\n@media only screen and (max-height: 545px) {\n .xc_conversation_container\n {\n max-height:200px!important;\n }\n}\n\n@media only screen and (max-height: 445px) {\n .xc_conversation_container\n {\n max-height:150px!important;\n }\n}\n\n@media only screen and (max-width: 480px) {\n .xc_chat_container\n {\n width:95%!important;\n right:auto!important;\n -webkit-border-top-left-radius:15px;\n -webkit-border-top-right-radius:15px;\n -moz-border-radius-topleft:15px;\n -moz-border-radius-topright:15px;\n border-top-left-radius:15px;\n border-top-right-radius:15px;\n box-shadow:0 0 5px rgba(0,0,0,.5);\n -webkit-box-shadow:0 0 5px rgba(0,0,0,.5);\n -moz-box-shadow:0 0 5px rgba(0,0,0,.5);\n }\n\n div.xc_chat_head\n {\n background-color:#036;\n background-image:none;\n line-height:25px;\n height:auto;\n -webkit-border-top-left-radius:15px;\n -webkit-border-top-right-radius:15px;\n -moz-border-radius-topleft:15px;\n -moz-border-radius-topright:15px;\n border-top-left-radius:15px;\n border-top-right-radius:15px;\n padding:10px;\n }\n\n .xc_chat_toggle_container\n {\n background-color:#fff;\n background-image:none;\n border-color:#036;\n border-style:solid;\n border-width:0 1px;\n }\n\n .xc_header_icon\n {\n background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/icon_visitorchat.png);\n margin:0;\n }\n\n .xc_header_icon span.xc_notification_badge span\n {\n top:-5px;\n left:5px;\n }\n\n .xc_notification_success\n {\n background-color:#dff0d8;\n border:1px solid #d6e9c6;\n }\n\n .xc_conversation_container\n {\n max-height:375px;\n border-color:#036;\n }\n\n .xc_notification_error\n {\n background-color:#f2dede;\n border:1px solid #eed3d7;\n }\n\n .xc_sub-head-spacer\n {\n display:none;\n padding:0;\n }\n\n .xc_chat_head-title,.xc_conversation\n {\n margin:0;\n }\n}\n</style>\n<div class="xc_chat_container">\n <div class="xc_chat_head {{chatWebsite.header_shape}}">\n <i class="xc_header_icon">\n <span class="xc_notification_badge">\n <span class="xc_notification_badge_number"></span>\n </span>\n </i>\n <i class="xc_header_logo" style="background-image:url(/api/xchatty/assets?resource=images/{{(chatWebsite.defaultLogo || !license.custom) ? \'motionLogo.png\' : (!chatWebsite.defaultLogo && chatWebsite.logo && license.custom) ? chatWebsite.logo+\'&uploaded\' : \'motionLogo.png\'}});background-size:contain;"></i>\n </a>\n <span class="xc_chat_head-title">{{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}</span>\n </div>\n <div class="xc_chat_toggle_container">\n <div class="xc_sub-head-spacer"></div>\n <!-- <div class="xc_notifications_wrapper">\n <ul class="xc_errorlist"></ul>\n </div> -->\n <div class="xc_enquiry_wrapper" data-ng-show=\'statePreview.state == "offline"\'>\n <form class="xc_form_enquiry" accept-charset="UTF-8">\n <p class="xc_offline_message" ng-bind-html=\'chatWebsite.offline_message\'></p>\n <br>\n <div ng-if="chatWebsite.enquiry_enable">\n <div class="xc_div_group">\n <label for="enquiryFullname" class="xc_label">{{chatWebsite.name_title}} *</label>\n <input id="enquiryFullname" maxlength="45" data-label="Name" type="text" name="data[Enquiry][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_enquiry_fullname" required/>\n </div>\n <br>\n <div class="xc_div_group">\n <label for="enquiryEmail" class="xc_label">{{chatWebsite.email_title}} *</label>\n <input id="enquiryEmail" maxlength="85" type="text" data-label="Email Address" name="data[Enquiry][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_enquiry_email" required/>\n </div>\n <br>\n <div class="xc_div_group">\n <label for="enquiryMessage" class="xc_label">{{chatWebsite.message_title}} *</label>\n <textarea id="enquiryMessage" data-label="Message" maxlength="1500" placeholder="{{chatWebsite.enquiry_message_placeholder}}" name="data[Enquiry][message]" class="xc_input_enquiry_message" required></textarea>\n </div>\n <br>\n <button type="submit" class="xc_btn_enquiry xc_btn_style">{{chatWebsite.enquiry_button}}</button>\n </div>\n </form>\n </div>\n <div class="xc_signup_wrapper" data-ng-show=\'statePreview.state == "online"\'>\n <form class="xc_form_signup" accept-charset="UTF-8">\n <p class="xc_online_message" ng-bind-html=\'chatWebsite.online_message\'></p>\n <br>\n <div class="xc_div_group">\n <label for="dataFullname" class="xc_label">{{chatWebsite.name_title}} *</label>\n <input maxlength="45" id="dataFullname" data-label="Fullname" type="text" name="data[Discussion][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_fullname" required/>\n </div>\n <br>\n <div class="xc_div_group">\n <label for="dataEmail" class="xc_label">{{chatWebsite.email_title}} *</label>\n <input maxlength="85" id="dataEmail" data-label="Email Address" type="text" name="data[Discussion][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_email" required/>\n </div>\n <br>\n <input type="hidden" class="xc_input_visitor_time" name="data[Discussion][visitor_time]" />\n <button type="submit" class="xc_btn_signup xc_btn_style">{{chatWebsite.start_chat_button}}</button>\n </form>\n </div>\n <div class="xc_rating_wrapper" data-ng-show=\'statePreview.state == "rating"\'>\n <form class="xc_form_rating" accept-charset="UTF-8">\n <p class="xc_rating_message">{{chatWebsite.rating_message}}</p>\n <br>\n <div class="xc_rating">\n <label class="xc_rating_label" style="padding:30px;">\n <input type="radio" name="data[Rating][rating]" value="good" />\n <img src="{{chatWebsite.remote}}/api/xchatty/assets?resource=images/like.png" alt="Good" height="50"/>\n </label>\n <label class="xc_rating_label" style="padding:30px;">\n <input type="radio" name="data[Rating][rating]" value="bad"/>\n <img src="{{chatWebsite.remote}}/api/xchatty/assets?resource=images/dislike.png" alt="Good" height="50"/>\n </label>\n </div>\n <div class="xc_div_group">\n <label for="ratingMessage" class="xc_label">Message</label>\n <textarea id="ratingMessage" data-label="Message" maxlength="1500" name="data[Rating][message]" class="xc_input_rating_message"></textarea>\n </div>\n <button type="submit" class="xc_button_rating xc_btn_style">{{chatWebsite.rating_send}}</button>\n <button type="button" class="xc_button_skip_rating xc_btn_style">{{chatWebsite.rating_skip}}</button>\n </form>\n </div>\n <div class="xc_footer">\n <div data-ng-if="chatWebsite.defaultWhiteLabel || !license.custom" class="xc_powered"><a>Powered by xCALLY</a></div>\n <div data-ng-if="!chatWebsite.defaultWhiteLabel && license.custom" data-ng-bind-html="chatWebsite.whiteLabel"></div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/chat/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'beepall\',\'roundrobin\',\'rrmemory\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/queue/list/list.html",'<div class="row">\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-puzzle"></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="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-bubble"></i>\n <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.chat.queues.view.settings\')}">\n <a data-ng-href="/channels/chat/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.chat.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/chat/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateChatQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'beepall\',\'roundrobin\',\'rrmemory\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}} {{\'APPLICATION_TIMEOUT\' | translate}}</label>\n <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></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="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.chat.realtime.view.agents\')}">\n <a href="/channels/chat/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.chat.realtime.view.applications\')}">\n <a href="/channels/chat/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/external/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n <div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n </div>\n</div>\n<div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n</div>\n<div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-selection ui-grid-pagination class="ui-grid">\n <div class="watermark" data-ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/group/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n <div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n </div>\n</div>\n<div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n</div>\n<div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination class="ui-grid">\n <div class="watermark" data-ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/internal/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initView()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination class="ui-grid">\n <div class="watermark" data-ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/room.add.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 class="modal-title">{{\'APPLICATION_NEW_GROUP\' | translate}}</h4>\n</div>\n\n<div class="modal-body">\n <div class="portlet box blue">\n <div class="portlet-title">\n <div class="caption">\n <i class="icon-people"></i>{{\'APPLICATION_AGENTS\' | translate}}\n </div>\n </div>\n <div class="portlet-body">\n <ul>\n <li data-ng-repeat="item in items">\n {{item.fullname}}\n </li>\n <li data-ng-repeat="item in selected.items">\n {{item.fullname}}\n </li>\n </ul>\n </div>\n </div>\n\n <ui-select multiple name="items" ng-model="selected.items" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SELECTED_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="{id: agent.id, fullname: agent.fullname} as agent in agents.rows | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n</div>\n\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="selected.items.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/room/room.close.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),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 <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 <!-- START TAGS -->\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 <!-- END TAGS -->\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 href="#" class="name">{{message.User.fullname || message.ChatVisitor.fullname}} </a>\n <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",'<!-- BEGIN PAGE CONTENT-->\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-puzzle"></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="/channels/chat/websites/list">{{ \'APPLICATION_ROOMS\' | 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<!-- END PAGE CONTENT-->\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<!-- <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> -->\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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/chat/visitor/list/list.html",'<div class="row">\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-puzzle"></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="icon-question"></i>\n <a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-question font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/visitor/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></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="icon-question"></i>\n <a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="chatVisitor">\n <a href="#">{{chatVisitor.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/visitor.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chatVisitor.fullname}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.chat.visitors.view.profile\')}">\n <a data-ng-href="/channels/chat/visitors/view/{{chatVisitor.id}}/profile">\n <i class="icon-tag"></i>\n {{ \'APPLICATION_PROFILE\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/visitor/view/view.profile.html",'<div class="row">\n <div class="col-md-12">\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_PROFILE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div>\n <h4 class="profile-desc-title">{{chatVisitor.email}}</h4>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-magnifier"></i>\n <a href="#" class="inactive-link">{{chatVisitor.origin}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-globe"></i>\n <a href="#" class="inactive-link">{{chatVisitor.remote_address}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-user"></i>\n <a href="#" class="inactive-link">{{chatVisitor.user_agent | truncate: 50: \'...\'}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-flag"></i>\n <a href="#" class="inactive-link">{{chatVisitor.visitor_language}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-home"></i>\n <a href="#" class="inactive-link">{{chatVisitor.referer}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-cursor"></i>\n <a href="#" class="inactive-link">{{chatVisitor.browser}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-screen-desktop"></i>\n <a href="#" class="inactive-link">{{chatVisitor.os}}</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/list/list.html",'<div class="row">\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-puzzle"></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="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_WEB_SITES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/chat/websites/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_WEB_SITE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/website/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/chat/websites/view/{{chatWebsite.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.FaxQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/chat/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.settings.from.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.mail.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/chat/website/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.ChatQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/chat/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/website/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/website/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/view/embedding/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\n <div class="portlet light">\n <div class="portlet-title">\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_EMBEDDING\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="copyToClipboard();">\n <i class="fa fa-clipboard"></i> {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div class="row">\n <div class="col-md-12">\n <h3>{{\'APPLICATION_EMBED_SNIPPET\' | translate}}</h3>\n <p>\n {{\'MESSAGE_EMBED_SNIPPET\' | translate}}\n </p>\n <div class="form-body">\n <div class="form-group">\n <div class="col-md-12">\n <code-mirror lang="html" model="snippetCode"></code-mirror>\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/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/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START TYPE -->\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 <!-- END TYPE -->\n\n <!-- START SELECTOR -->\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 <!-- END SELECTOR -->\n\n <!-- START TIMEOUT -->\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 <!-- END TIMEOUT -->\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 <div class="col-md-12">\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_PROACTIVE_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROACTIVE_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/chat/website/view/setting/view/view.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemChatWebsite()" novalidate>\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="chatWebsite.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="chatWebsite.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/view/snippet/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_SNIPPET\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_APPEARANCE\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_FORMS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_LABELS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_SETTINGS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_5" 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-8">\n <div class="tab-content">\n\n <!-- APPEARANCE TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formAppearance" data-ng-submit="forms.formAppearance.$valid && updateItem()" novalidate>\n\n <!-- START MAIN COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{chatWebsite.color}}" class="form-control" data-ng-model="chatWebsite.color" required/>\n <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAIN COLOR -->\n\n <!-- START FOCUS COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{chatWebsite.color_focus}}" class="form-control" data-ng-model="chatWebsite.color_focus" required/>\n <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FOCUS COLOR -->\n\n <!-- START BUTTON COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{chatWebsite.color_button}}" class="form-control" data-ng-model="chatWebsite.color_button" required/>\n <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END BUTTON COLOR -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_SHAPE\' | translate}}</label>\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n <ui-select data-ng-model="chatWebsite.header_shape" name="headerShape" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END HEADER SHAPE -->\n\n <!-- START ANIMATION TOGGLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label></br>\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.animation"\n type="checkbox"\n switch-active="{{ true }}"\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 <!-- END ANIMATION TOGGLE -->\n\n <div class="portlet-title tabbable-line margin-top20">\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_WHITE_LABEL\' | translate}}</span>\n </div>\n </div>\n\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.defaultWhiteLabel"\n data-ng-init="chatWebsite.defaultWhiteLabel = license.custom ? chatWebsite.defaultWhiteLabel : true"\n type="checkbox"\n name="defaultWhitelabel"\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 <!-- END DEFAULT -->\n <!-- START LABEL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.whiteLabel.$touched || forms.formAppearance.$submitted) && forms.formAppearance.whiteLabel.$invalid}">\n <label class="control-label">{{\'APPLICATION_WHITE_LABEL\' | translate}}<span data-ng-if="!chatWebsite.defaultWhiteLabel" class="required" aria-required="true">*</span></label>\n <textarea type="password" name="whiteLabel" placeholder="{{\'APPLICATION_WHITE_LABEL\' | translate}}" class="form-control" data-ng-model="chatWebsite.whiteLabel" data-ng-disabled="chatWebsite.defaultWhiteLabel || !license.custom" data-ng-required="!chatWebsite.defaultWhiteLabel && license.custom"/></textarea>\n <span data-ng-show="(forms.formAppearance.whiteLabel.$touched || forms.formAppearance.$submitted) && forms.formAppearance.whiteLabel.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END LABEL -->\n\n <div class="portlet-title tabbable-line margin-top20">\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_LOGO\' | translate}}</span>\n </div>\n </div>\n <div class="row">\n\n <div class="form-group col-md-6 col-sm-6">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.defaultLogo"\n data-ng-init="chatWebsite.defaultLogo = license.custom ? chatWebsite.defaultLogo : true"\n type="checkbox"\n name="defaultLogo"\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 <!-- END STATUS -->\n <div class="form-group col-md-6 col-sm-6" data-ng-if="!chatWebsite.defaultLogo && license.custom">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader"/><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n <!-- </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button> -->\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="uploader.queue[0] && uploader.queue[0].upload()" data-ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END APPEARANCE TAB -->\n\n <!-- FORMS TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.formFunctionality" data-ng-submit="forms.formFunctionality.$valid && updateItem()" novalidate>\n\n <!-- START DOWNLOAD TRANSCRIPT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n </br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.download_transcript"\n type="checkbox"\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 <!-- END DOWNLOAD TRANSCRIPT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END FORMS TAB -->\n\n <!-- STRINGS TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.formLabel" data-ng-submit="forms.formLabel.$valid && updateItem()" novalidate>\n\n <h4 class="block" data-ng-show="statePreview.state == \'online\'">{{\'APPLICATION_ONLINE_STATE\' | translate}}</h4>\n\n <!-- START HEADER ONLINE -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_online"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START ONLINE MESSAGE-->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.online_message"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START USERNAME TITLE -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.nameTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.nameTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_TITLE\' | translate}}</label>\n <input type="text" name="nameTitle" placeholder="{{\'APPLICATION_USERNAME_TITLE\' | translate}}" class="form-control" data-ng-model="chatWebsite.name_title"/>\n </div>\n <!-- END USERNAME TITLE -->\n\n <!-- START USERNAME PLACEHOLDER -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.username_placeholder"/>\n </div>\n <!-- END USERNAME PLACEHOLDER -->\n\n <!-- START EMAIL TITLE -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.emailTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.emailTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_TITLE\' | translate}}</label>\n <input type="text" name="emailTitle" placeholder="{{\'APPLICATION_EMAIL_TITLE\' | translate}}" class="form-control" data-ng-model="chatWebsite.email_title"/>\n </div>\n <!-- END EMAIL TITLE -->\n\n <!-- START EMAIL PLACEHOLDER -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.email_placeholder"/>\n </div>\n <!-- END EMAIL PLACEHOLDER -->\n\n <!-- START START CHAT BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.start_chat_button"/>\n </div>\n <!-- END START CHAT BUTTON -->\n\n <h4 class="block" data-ng-show="statePreview.state == \'rating\'">{{\'APPLICATION_RATING_STATE\' | translate}}</h4>\n\n <!-- START RATING MESSAGE -->\n <div class="form-group" data-ng-show="statePreview.state == \'rating\'" data-ng-class="{\'has-error\': (forms.formLabel.ratingMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_MESSAGE\' | translate}}</label>\n <input type="text" name="ratingMessage" placeholder="{{\'APPLICATION_RATING_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.rating_message"/>\n </div>\n <!-- END RATING MESSAGE -->\n\n <!-- START RATING SEND BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'rating\'" data-ng-class="{\'has-error\': (forms.formLabel.ratingSend.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSend.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSend" placeholder="{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.rating_send"/>\n </div>\n <!-- END RATING SEND BUTTON -->\n\n <!-- START RATING SKIP BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'rating\'" data-ng-class="{\'has-error\': (forms.formLabel.ratingSkip.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSkip.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSkip" placeholder="{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.rating_skip"/>\n </div>\n <!-- END RATING SKIP BUTTON -->\n\n <h4 class="block" data-ng-show="statePreview.state == \'offline\'">{{\'APPLICATION_OFFLINE_STATE\' | translate}}</h4>\n\n <!-- START HEADER OFFLINE -->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_offline"/>\n </div>\n <!-- END HEADER OFFLINE -->\n\n <!-- START OFFLINE MESSAGE-->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.offlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.offline_message"/>\n </div>\n <!-- END OFFLINE MESSAGE -->\n\n <!-- START ENQUIRY MESSAGE TITLE-->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessageTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryMessageTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}</label>\n <input type="text" name="enquiryMessageTitle" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}" class="form-control" data-ng-model="chatWebsite.message_title"/>\n </div>\n <!-- END ENQUIRY MESSAGE TITLE -->\n\n <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryMessagePlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_message_placeholder"/>\n </div>\n <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n <!-- START ENQUIRY BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_button"/>\n </div>\n <!-- END ENQUIRY BUTTON -->\n\n <!-- START AGENTS BUSY BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.agentsBusy.$touched || forms.formLabel.$submitted) && forms.formLabel.agentsBusy.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENTS_BUSY\' | translate}}</label>\n <input type="text" name="agentsBusy" placeholder="{{\'APPLICATION_AGENTS_BUSY\' | translate}}" class="form-control" data-ng-model="chatWebsite.agents_busy"/>\n </div>\n <!-- END AGENTS BUSY BUTTON -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END STRINGS TAB -->\n\n <!-- SETTINGS TAB -->\n <div class="tab-pane" id="tab_1_4">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.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="chatWebsite.name" required/>\n <span data-ng-show="(forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSettings.name.$invalid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.address" required/>\n <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.remote" required/>\n <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="chatWebsite.fidelity"\n type="checkbox"\n switch-active="{{ fidelitySwitch.isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ fidelitySwitch.onColor }}"\n switch-off-color="{{ fidelitySwitch.offColor }}"\n switch-animate="{{ fidelitySwitch.animate }}"\n switch-size="{{ fidelitySwitch.size }}"\n switch-label="{{ fidelitySwitch.label }}"\n switch-icon="{{ fidelitySwitch.icon }}"\n switch-radio-off="{{ fidelitySwitch.radioOff }}"\n switch-label-width="{{ fidelitySwitch.labelWidth }}"\n switch-handle-width="{{ fidelitySwitch.handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="chatWebsite.fidelity" data-ng-class="{\'has-error\': (forms.formSetting.timeout.$touched || forms.formSetting.$submitted) && forms.formSetting.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="chatWebsite.timeout" required/>\n <span data-ng-show="(forms.formSetting.timeout.$touched || forms.formSetting.$submitted) && forms.formSetting.timeout.$invalid && forms.formSetting.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="(forms.formSetting.timeout.$touched || forms.formSetting.$submitted) && forms.formSetting.timeout.$invalid && forms.formSetting.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.description.$touched || forms.formSetting.$submitted) && forms.formSetting.description.$invalid}">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="chatWebsite.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END SETTINGS TAB -->\n\n <!-- OFFLINE TAB -->\n <div class="tab-pane" id="tab_1_5">\n <form name="forms.formOffline" data-ng-submit="forms.formOffline.$valid && updateItem()" novalidate>\n\n <!-- START ENQUIRY ENABLE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_ENABLED\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.enquiry_enable"\n type="checkbox"\n switch-active="{{ enquirySwitch.isActive }}"\n switch-on-text="{{ enquirySwitch.onText }}"\n switch-off-text="{{ enquirySwitch.offText }}"\n switch-on-color="{{ enquirySwitch.onColor }}"\n switch-off-color="{{ enquirySwitch.offColor }}"\n switch-animate="{{ enquirySwitch.animate }}"\n switch-size="{{ enquirySwitch.size }}"\n switch-label="{{ enquirySwitch.label }}"\n switch-icon="{{ enquirySwitch.icon }}"\n switch-radio-off="{{ enquirySwitch.radioOff }}"\n switch-label-width="{{ enquirySwitch.labelWidth }}"\n switch-handle-width="{{ enquirySwitch.handleWidth }}">\n </div>\n <!-- END ENQUIRY ENABLE -->\n\n <!-- START ENQUIRY FORWARDING -->\n <div class="form-group" data-ng-if="chatWebsite.enquiry_enable">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_FORWARDING\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.enquiry_forwarding"\n type="checkbox"\n switch-active="{{ enquirySwitch.isActive }}"\n switch-on-text="{{ enquirySwitch.onText }}"\n switch-off-text="{{ enquirySwitch.offText }}"\n switch-on-color="{{ enquirySwitch.onColor }}"\n switch-off-color="{{ enquirySwitch.offColor }}"\n switch-animate="{{ enquirySwitch.animate }}"\n switch-size="{{ enquirySwitch.size }}"\n switch-label="{{ enquirySwitch.label }}"\n switch-icon="{{ enquirySwitch.icon }}"\n switch-radio-off="{{ enquirySwitch.radioOff }}"\n switch-label-width="{{ enquirySwitch.labelWidth }}"\n switch-handle-width="{{ enquirySwitch.handleWidth }}">\n <span class="help-block col-md-12">{{\'MESSAGE_REMEMBER_SMTP_SERVICE_ACCOUNT\' | translate}}.</span>\n </div>\n <!-- END ENQUIRY FORWARDING -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-if="chatWebsite.enquiry_enable && chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formSetting.forwardingAddress.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_FORWARDING_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="forwardingAddress" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_forwarding_address" required/>\n <span data-ng-show="(forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formOffline.forwardingAddress.$invalid && forms.formOffline.forwardingAddress.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-if="chatWebsite.enquiry_enable && chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="chatWebsite.OfflineTemplateId" name="OfflineTemplateId" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid && forms.formOffline.OfflineTemplateId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HEADER SHAPE -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END OFFLINE TAB -->\n </div>\n </div>\n <div class="col-md-4">\n <!-- START STATE -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label> -->\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n <ui-select data-ng-model="statePreview.state" name="statePreview" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="statePreview in [\'online\',\'rating\',\'offline\'] | filter: $select.search">\n <div ng-bind-html="statePreview | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STATE -->\n <preview></preview>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/chat/website/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-puzzle"></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="icon-globe"></i>\n <a href="/channels/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{chatWebsite.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/website.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chatWebsite.name}}\n </div>\n <div class="profile-usertitle-job">\n {{chatWebsite.address}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.embedding\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/embedding/view">\n <i class="fa fa-code"></i>\n {{ \'APPLICATION_EMBEDDING\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.snippet\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/snippet/view">\n <i class="icon-note"></i>\n {{ \'APPLICATION_SNIPPET\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.form\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/forms/view">\n <i class="icon-list"></i>\n {{ \'APPLICATION_FORMS\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.proactive\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/proactive/list">\n <i class="icon-target"></i>\n {{ \'APPLICATION_PROACTIVE_ACTIONS\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.actions\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/actions/list">\n <i class="icon-directions"></i>\n {{ \'APPLICATION_ACTIONS\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.dispositions\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/dispositions">\n <i class="icon-target"></i>\n {{ \'APPLICATION_DISPOSITIONS\' | translate }} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.chat.websites.view.settings\')}">\n <a href="/channels/chat/websites/view/{{chatWebsite.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/website/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-bubble"></i>\n <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="/channels/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_WEB_SITE_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.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="forms.formSetting.name.$touched && !forms.formSettings.name.$valid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.address" required/>\n <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.form.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_WEB_SITE_APPEARANCE\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n <form name="forms.formAppearance" novalidate>\n\n <!-- START MAIN COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{item.color}}" class="form-control" data-ng-model="item.color" required/>\n <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAIN COLOR -->\n\n <!-- START FOCUS COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{item.color_focus}}" class="form-control" data-ng-model="item.color_focus" required/>\n <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FOCUS COLOR -->\n\n <!-- START BUTTON COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{item.color_button}}" class="form-control" data-ng-model="item.color_button" required/>\n <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END BUTTON COLOR -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_SHAPE\' | translate}}</label>\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="item.animation" required/> -->\n <ui-select data-ng-model="item.header_shape" name="headerShape" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END HEADER SHAPE -->\n\n <!-- START ANIMATION TOGGLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n <ui-select data-ng-model="item.animation" name="animationToggle" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n <ui-select-choices repeat="filter in [true,false] | filter: $select.search">\n <div ng-bind-html="filter ? \'On\' : \'Off\' | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END ANIMATION TOGGLE -->\n\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_LABELS\' | translate}}" canexit="exitValidation(forms.formLabel.$valid)">\n <form name="forms.formLabel" novalidate>\n\n <!-- START HEADER ONLINE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="item.header_online"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START ONLINE MESSAGE-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.online_message"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START USERNAME TITLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.usernameTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.usernameTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_TITLE\' | translate}}</label>\n <input type="text" name="usernameTitle" placeholder="{{\'APPLICATION_USERNAME_TITLE\' | translate}}" class="form-control" data-ng-model="item.username_title"/>\n </div>\n <!-- END USERNAME TITLE -->\n\n <!-- START USERNAME PLACEHOLDER -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.username_placeholder"/>\n </div>\n <!-- END USERNAME PLACEHOLDER -->\n\n <!-- START EMAIL TITLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.emailTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.emailTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="emailTitle" placeholder="{{\'APPLICATION_EMAIL_TITLE\' | translate}}" class="form-control" data-ng-model="item.email_title"/>\n </div>\n <!-- END EMAIL TITLE -->\n\n <!-- START EMAIL PLACEHOLDER -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.email_placeholder"/>\n </div>\n <!-- END EMAIL PLACEHOLDER -->\n\n <!-- START START CHAT BUTTON -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="item.start_chat_button"/>\n </div>\n <!-- END START CHAT BUTTON -->\n\n <!-- START RATING MESSAGE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.ratingMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_MESSAGE\' | translate}}</label>\n <input type="text" name="ratingMessage" placeholder="{{\'APPLICATION_RATING_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.rating_message"/>\n </div>\n <!-- END RATING MESSAGE -->\n\n <!-- START RATING START TEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.ratingSend.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSend.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSend" placeholder="{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}" class="form-control" data-ng-model="item.rating_send"/>\n </div>\n <!-- END RATING START TEXT -->\n\n <!-- START RATING MESSAGE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.ratingSkip.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSkip.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSkip" placeholder="{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}" class="form-control" data-ng-model="item.rating_skip"/>\n </div>\n <!-- END RATING MESSAGE -->\n\n <!-- START HEADER OFFLINE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="item.header_offline"/>\n </div>\n <!-- END HEADER OFFLINE -->\n\n <!-- START OFFLINE MESSAGE-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.offline_message"/>\n </div>\n <!-- END OFFLINE MESSAGE -->\n\n <!-- START ENQUIRY MESSAGE TITLE-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessageTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryMessageTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}</label>\n <input type="text" name="enquiryMessageTitle" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}" class="form-control" data-ng-model="item.message_title"/>\n </div>\n <!-- END ENQUIRY MESSAGE TITLE -->\n\n <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.enquiry_message_placeholder"/>\n </div>\n <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n <!-- START ENQUIRY BUTTON -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="item.enquiry_button"/>\n </div>\n <!-- END ENQUIRY BUTTON -->\n\n <!-- START AGENTS BUSY BUTTON -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.agentsBusy.$touched || forms.formLabel.$submitted) && forms.formLabel.agentsBusy.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENTS_BUSY\' | translate}}</label>\n <input type="text" name="agentsBusy" placeholder="{{\'APPLICATION_AGENTS_BUSY\' | translate}}" class="form-control" data-ng-model="item.agents_busy"/>\n </div>\n <!-- END AGENTS BUSY BUTTON -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_FORMS\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n <form name="forms.formFunctionality" novalidate>\n\n <!-- START DOWNLOAD TRANSCRIPT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n <ui-select data-ng-model="item.download_transcript" name="downloadTranscript" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n <ui-select-choices repeat="downloadTranscript in [true, false] | filter: $select.search">\n <div ng-bind-html="downloadTranscript ? \'On\' : \'Off\' | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END DOWNLOAD TRANSCRIPT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_FAX_ACCOUNT\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initWizard();">\n <form name="form" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.$submitted || form.name.$touched) && 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.$error.required && (form.$submitted || form.name.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TRUNKS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.$submitted || form.trunk.$touched) && form.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.TrunkName" name="trunk" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in trunks | filter: $select.search">\n <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="trunks.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="form.trunk.$error.required && (form.$submitted || form.trunk.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TRUNKS -->\n\n <!-- START LOCALSTATIONID -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.$submitted || form.localstationid.$touched) && form.localstationid.$invalid}">\n <label class="control-label">{{\'APPLICATION_LOCALSTATIONID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="localstationid" placeholder="{{\'APPLICATION_LOCALSTATIONID\' | translate}}" class="form-control" data-ng-model="item.localstationid" required/>\n <span data-ng-show="form.localstationid.$error.required && (form.$submitted || form.localstationid.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n </span>\n </div>\n <!-- END LOCALSTATIONID -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/fax/account/list/list.html",'<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button type="button" class="btn green-jungle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="true" aria-expanded="true">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n </button>\n <ul class="dropdown-menu" role="menu">\n <li>\n <a href="/channels/fax/accounts/wizard">\n {{ \'APPLICATION_STANDARD\' | translate }}\n </a>\n </li>\n <li>\n <a href="#" data-ng-click="createItem()">\n {{ \'APPLICATION_QUICK\' | translate }}\n </a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/fax/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/fax/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.FaxQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/fax/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.settings.from.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.mail.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="intervals.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/intervals/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.FaxQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/fax/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="intervals.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/intervals/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/fax/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <!-- <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" data-ng-pattern="/^[a-zA-Z0-9]*$/" required/> -->\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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.form.$touched && form.form.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PATTERN\' | translate}}.\n </span> -->\n </div>\n <!-- <div class="help-block">\n {{\'MESSAGE_ALLOWED_NUMBERS_AND_LETTERS\' | translate}}\n </div> -->\n </div>\n <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/fax/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/account/view/setting/view/view.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateItemFaxAccount()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.name.$touched) && forms.general.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="account.name" required/>\n <span data-ng-show="forms.general.name.$error.required && (forms.general.$submitted || forms.general.name.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START HEADERINFO -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.headerinfo.$touched) && forms.general.headerinfo.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADERINFO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="headerinfo" placeholder="{{\'APPLICATION_HEADERINFO\' | translate}}" class="form-control" data-ng-model="account.headerinfo" required/>\n <span data-ng-show="forms.general.headerinfo.$error.required && (forms.general.$submitted || forms.general.headerinfo.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_HEADERINFO\' | translate}}.\n </span>\n </div>\n <!-- END HEADERINFO -->\n\n <!-- START TRUNKS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.trunk.$touched) && forms.general.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.TrunkName" name="trunk" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in trunks | filter: $select.search">\n <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="trunks.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="forms.general.trunk.$error.required && (forms.general.$submitted || forms.general.trunk.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TRUNKS -->\n\n <!-- START LOCALSTATIONID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.localstationid.$touched) && forms.general.localstationid.$invalid}">\n <label class="control-label">{{\'APPLICATION_LOCALSTATIONID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="localstationid" placeholder="{{\'APPLICATION_LOCALSTATIONID\' | translate}}" class="form-control" data-ng-model="account.localstationid" required/>\n <span data-ng-show="forms.general.localstationid.$error.required && (forms.general.$submitted || forms.general.localstationid.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n </span>\n </div>\n <!-- END LOCALSTATIONID -->\n\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.timeout.$touched) && forms.general.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.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="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.advanced" data-ng-submit="forms.advanced.$valid && updateItemFaxAccount()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START ECM -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n <input\n bs-switch\n ng-model="account.ecm"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}"\n ng-true-value="\'yes\'"\n ng-false-value="\'no\'">\n <span class="help-block">\n {{\'DESCRIPTION_ECM\' | translate}}.\n </span>\n </div>\n <!-- END ECM -->\n\n <!-- START MINRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.minrate.$touched) && forms.advanced.minrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.minrate" name="minrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MINRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="minrate in rate | filter: $select.search">\n <div data-ng-bind="minrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MINRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.advanced.minrate.$error.required && (forms.advanced.$submitted || forms.advanced.minrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MINRATE -->\n\n <!-- START MAXRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.maxrate.$touched) && forms.advanced.maxrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.maxrate" name="maxrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="maxrate in rate | filter: $select.search">\n <div data-ng-bind="maxrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MAXRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.advanced.maxrate.$error.required && (forms.advanced.$submitted || forms.advanced.maxrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MAXRATE -->\n\n <!-- START MODEM -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.modem.$touched) && forms.advanced.modem.$invalid}">\n <label class="control-label">{{\'APPLICATION_MODEM\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="modem" placeholder="{{\'APPLICATION_MODEM\' | translate}}" class="form-control" data-ng-model="account.modem" required/>\n <span class="help-block">\n {{\'DESCRIPTION_MODEM\' | translate}}.\n </span>\n <span data-ng-show="forms.advanced.modem.$error.required && (forms.advanced.$submitted || forms.advanced.modem.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MODEM -->\n </div>\n <div class="col-md-6">\n <!-- START GATEWAY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.gateway.$touched) && forms.advanced.gateway.$invalid}">\n <label class="control-label">{{\'APPLICATION_GATEWAY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="gateway" placeholder="{{\'APPLICATION_GATEWAY\' | translate}}" class="form-control" data-ng-model="account.gateway" required data-ng-pattern="settings.patternGateway"/>\n <span class="help-block">\n {{\'DESCRIPTION_GATEWAY\' | translate}}.\n </span>\n <span data-ng-show="(forms.advanced.gateway.$touched || forms.advanced.$submitted) && forms.advanced.gateway.$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="(forms.advanced.gateway.$touched || forms.advanced.$submitted) && forms.advanced.gateway.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n </span>\n </div>\n <!-- END GATEWAY -->\n\n <!-- START FAXDETECT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.faxdetect.$touched) && forms.advanced.faxdetect.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAXDETECT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="faxdetect" placeholder="{{\'APPLICATION_FAXDETECT\' | translate}}" class="form-control" data-ng-model="account.faxdetect" required data-ng-pattern="settings.patternFaxdetect"/>\n <span class="help-block">\n {{\'DESCRIPTION_FAXDETECT\' | translate}}.\n </span>\n <span data-ng-show="(forms.advanced.faxdetect.$touched || forms.advanced.$submitted) && forms.advanced.faxdetect.$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="(forms.advanced.faxdetect.$touched || forms.advanced.$submitted) && forms.advanced.faxdetect.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n </span>\n </div>\n <!-- END FAXDETECT -->\n\n <!-- START T38TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.t38timeout.$touched) && forms.advanced.t38timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_T38TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="number" name="t38timeout" placeholder="{{\'APPLICATION_T38TIMEOUT\' | translate}}" class="form-control" data-ng-model="account.t38timeout" required min="1000"/>\n <span class="help-block">\n {{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n </span>\n <span data-ng-show="(forms.advanced.t38timeout.$touched || forms.advanced.$submitted) && forms.advanced.t38timeout.$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="(forms.advanced.t38timeout.$touched || forms.advanced.$submitted) && forms.advanced.t38timeout.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n </span>\n </div>\n <!-- END T38TIMEOUT -->\n\n <!-- START TECH -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.tech.$touched) && forms.advanced.tech.$invalid}">\n <label class="control-label">{{\'APPLICATION_TECHNOLOGY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.tech" name="tech" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TECHNOLOGY\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="tech in techs | filter: $select.search">\n <div data-ng-bind="tech | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.advanced.tech.$touched || forms.advanced.$submitted) && forms.advanced.tech.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TECH -->\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.name || account.description }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.name || account.description }}\n </div>\n <div class="profile-usertitle-job">\n {{ account.phone }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.fax.accounts.view.settings\')}">\n <a href="/channels/fax/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.fax.accounts.view.dispositions\')}">\n <a href="/channels/fax/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.fax.accounts.view.actions\')}">\n <a href="/channels/fax/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.formGeneral.$valid)">\n <form name="forms.formGeneral" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.name.$touched) && forms.formGeneral.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="forms.formGeneral.name.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.name.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START HEADERINFO -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.headerinfo.$touched) && forms.formGeneral.headerinfo.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADERINFO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="headerinfo" placeholder="{{\'APPLICATION_HEADERINFO\' | translate}}" class="form-control" data-ng-model="item.headerinfo" required/>\n <span data-ng-show="forms.formGeneral.headerinfo.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.headerinfo.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_HEADERINFO\' | translate}}.\n </span>\n </div>\n <!-- END HEADERINFO -->\n\n <!-- START TRUNKS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.trunk.$touched) && forms.formGeneral.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.TrunkName" name="trunk" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in trunks | filter: $select.search">\n <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="trunks.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="forms.formGeneral.trunk.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.trunk.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TRUNKS -->\n\n <!-- START LOCALSTATIONID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.localstationid.$touched) && forms.formGeneral.localstationid.$invalid}">\n <label class="control-label">{{\'APPLICATION_LOCALSTATIONID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="localstationid" placeholder="{{\'APPLICATION_LOCALSTATIONID\' | translate}}" class="form-control" data-ng-model="item.localstationid" required/>\n <span data-ng-show="forms.formGeneral.localstationid.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.localstationid.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n </span>\n </div>\n <!-- END LOCALSTATIONID -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_ADVANCED\' | translate}}" canexit="exitValidation(forms.formAdvanced.$valid)">\n <form name="forms.formAdvanced" novalidate>\n\n <!-- START ECM -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n <input\n bs-switch\n ng-model="item.ecm"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}"\n ng-true-value="\'yes\'"\n ng-false-value="\'no\'">\n <span class="help-block">\n {{\'DESCRIPTION_ECM\' | translate}}.\n </span>\n </div>\n <!-- END ECM -->\n\n <!-- START MINRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.minrate.$touched) && forms.formAdvanced.minrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.minrate" name="minrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MINRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="minrate in rate | filter: $select.search">\n <div data-ng-bind="minrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MINRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.formAdvanced.minrate.$error.required && (forms.formAdvanced.$submitted || forms.formAdvanced.minrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MINRATE -->\n\n <!-- START MAXRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.maxrate.$touched) && forms.formAdvanced.maxrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.maxrate" name="maxrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="maxrate in rate | filter: $select.search">\n <div data-ng-bind="maxrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MAXRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.formAdvanced.maxrate.$error.required && (forms.formAdvanced.$submitted || forms.formAdvanced.maxrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MAXRATE -->\n\n <!-- START MODEM -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.modem.$touched) && forms.formAdvanced.modem.$invalid}">\n <label class="control-label">{{\'APPLICATION_MODEM\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="modem" placeholder="{{\'APPLICATION_MODEM\' | translate}}" class="form-control" data-ng-model="item.modem" required/>\n <span class="help-block">\n {{\'DESCRIPTION_MODEM\' | translate}}.\n </span>\n <span data-ng-show="forms.formAdvanced.modem.$error.required && (forms.formAdvanced.$submitted || forms.formAdvanced.modem.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MODEM -->\n\n <!-- START GATEWAY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.gateway.$touched) && forms.formAdvanced.gateway.$invalid}">\n <label class="control-label">{{\'APPLICATION_GATEWAY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="gateway" placeholder="{{\'APPLICATION_GATEWAY\' | translate}}" class="form-control" data-ng-model="item.gateway" required data-ng-pattern="settings.patternGateway"/>\n <span class="help-block">\n {{\'DESCRIPTION_GATEWAY\' | translate}}.\n </span>\n <span data-ng-show="(forms.formAdvanced.gateway.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.gateway.$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="(forms.formAdvanced.gateway.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.gateway.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n </span>\n </div>\n <!-- END GATEWAY -->\n\n <!-- START FAXDETECT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.faxdetect.$touched) && forms.formAdvanced.faxdetect.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAXDETECT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="faxdetect" placeholder="{{\'APPLICATION_FAXDETECT\' | translate}}" class="form-control" data-ng-model="item.faxdetect" required data-ng-pattern="settings.patternFaxdetect"/>\n <span class="help-block">\n {{\'DESCRIPTION_FAXDETECT\' | translate}}.\n </span>\n <span data-ng-show="(forms.formAdvanced.faxdetect.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.faxdetect.$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="(forms.formAdvanced.faxdetect.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.faxdetect.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n </span>\n </div>\n <!-- END FAXDETECT -->\n\n <!-- START T38TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.t38timeout.$touched) && forms.formAdvanced.t38timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_T38TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="number" name="t38timeout" placeholder="{{\'APPLICATION_T38TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.t38timeout" required min="1000"/>\n <span class="help-block">\n {{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n </span>\n <span data-ng-show="(forms.formAdvanced.t38timeout.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.t38timeout.$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="(forms.formAdvanced.t38timeout.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.t38timeout.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n </span>\n </div>\n <!-- END T38TIMEOUT -->\n\n <!-- START TECH -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.tech.$touched) && forms.formAdvanced.tech.$invalid}">\n <label class="control-label">{{\'APPLICATION_TECHNOLOGY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.tech" name="tech" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TECHNOLOGY\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="tech in techs | filter: $select.search">\n <div data-ng-bind="tech | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.formAdvanced.tech.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.tech.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TECH -->\n\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/fax/inbox/message/message.directive.html",'<div class="message">\n <div class="row">\n <div class="col-md-6">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="openContact(message.from)">{{message.from}}</a>]\n <br>\n <span class="bold">To: </span>\n [<a href="" data-ng-click="openContact(message.to)">{{message.to}}</a>]\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="message.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n </div>\n </div>\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-if="message.status!==\'RECEIVED\'" data-ng-switch="message.status" uib-tooltip="{{\'APPLICATION_PAGE_TRANSFERRED\' | translate}}: {{message.pagestransferred}} - {{\'APPLICATION_RETRY\' | translate}}: {{message.retry}}">\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe"> {{message.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="retry(message.id)"> {{message.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n </span>\n <span class="pull-right" data-ng-if="message.status===\'RECEIVED\'" uib-tooltip="{{\'APPLICATION_PAGE_TRANSFERRED\' | translate}}: {{message.pagestransferred}}">\n <a href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n </span>\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </span>\n <hr data-ng-if="message.FaxAttachments.length">\n <div data-ng-repeat="faxAttachment in message.FaxAttachments">\n <strong>{{faxAttachment.name}}</strong>\n <a target="_self" download="{{faxAttachment.name}}" href="api/fax/attachments/{{faxAttachment.id}}">\n <i class="icon-cloud-download"></i>\n </a>\n </div>\n</div>\n'),a.put("app/channels/fax/inbox/note/note.directive.html",'<div class="note">\n <div class="row">\n <div class="col-md-6">\n <a type="button" name="button" data-ng-if="::(Auth.getCurrentUser().id == message.UserId)" data-ng-click="deleteNote()">\n <i class="fa fa-trash-o" style="color: red;"></i>\n </a>\n\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="message.User">{{\'APPLICATION_ADD_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n </div>\n </div>\n <hr>\n <span class="body text-left" data-ng-bind-html="message.text" style="white-space: pre-wrap;"></span>\n</div>\n'),a.put("app/channels/fax/inbox/note/note.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_NOTES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <div class="form-group">\n <textarea data-ng-model="item.text" name="text" rows="10" style="resize: none; width: 100%;"></textarea>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/fax/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <button class="btn btn-sm btn-default green-meadow" data-ng-disabled="faxRoom.status == \'CLOSED\' || !uploader.queue.length" data-ng-click="sendFax()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-if="faxRoom && faxRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-if="faxRoom" class="label label-default"> #{{faxRoom.id}} {{faxRoom.status}}</span>\n <span data-ng-if="faxRoom"> | </span>\n <span data-ng-if="faxRoom" class="caption-subject font-green-sharp bold">{{faxRoom.from}}</span>\n </div>\n <div class="actions" data-ng-switch="faxRoom.status">\n <button class="btn btn-icon-only yellow" data-ng-if="faxRoom" data-ng-click="loadNote()" data-ng-disabled="faxRoom.status == \'CLOSED\'" title="{{\'APPLICATION_NOTES\' | translate}}">\n <i class="fa fa-sticky-note"></i>\n </button>\n <button href="#" class="btn btn-icon-only btn-primary" data-ng-if="faxRoom" data-ng-click="loadAgents();" data-ng-disabled="faxRoom.status == \'CLOSED\'" title="{{\'APPLICATION_AGENTS\' | translate}}">\n <i class="fa fa-user-plus"></i>\n </button>\n <button class="file-upload" data-ng-disabled="faxRoom.status == \'CLOSED\'">\n <i class="fa fa-paperclip"></i> <input type="file" data-ng-if="uploader" data-ng-disabled="faxRoom.status == \'CLOSED\'" nv-file-select uploader="uploader" multiple class="file-input" title="{{\'APPLICATION_ATTACHMENTS\' | translate}}">\n </button>\n <!-- UPDATE SECTION START -->\n <button data-ng-class="faxRoom.status == \'CLOSED\' ? \'grey-cascade\' : \'btn-success\'" class="btn btn-icon-only" data-ng-disabled="faxRoom.status == \'CLOSED\' && faxRoom.disposition" data-ng-if="faxRoom" data-ng-click="closeRoom()" title="{{\'APPLICATION_STATUS\' | translate}}">\n <i data-ng-class="faxRoom.status == \'CLOSED\' ? \'icon-target\' : \'fa fa-upload\'"></i>\n </button>\n <!-- UPDATE SECTION END -->\n <button class="btn default btn-icon-only" data-ng-if="faxRoom && faxRoom.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-show="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="faxRoom.status !== \'CLOSED\'">\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($item, $model)" on-remove="onChanged($item, $model)" data-ng-disabled="faxRoom.status == \'CLOSED\'">\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 <!-- END TAGS -->\n </div>\n\n <hr data-ng-if="faxRoom && faxRoom.status !== \'CLOSED\'">\n\n <!-- END TAGS -->\n\n <div id="mail-box">\n <ul class="chats">\n <li\n data-ng-switch="faxMessage.status"\n data-ng-class="{\'in\': faxMessage.status == \'RECEIVED\', \'out\': faxMessage.status == \'SENT\' || faxMessage.status == \'SENDING\' || faxMessage.status == \'FAILED\' || faxMessage.status == \'NOTE\'}"\n data-ng-repeat="faxMessage in faxRoom.FaxMessages | orderBy:\'-createdAt\'">\n <div class="avatar" data-ng-class="faxMessage.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="faxMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{faxMessage.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="!faxMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{faxMessage.from}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <fax-note message="faxMessage" ng-switch-when="NOTE"></fax-note>\n <fax-message message="faxMessage" list-id="faxRoom.FaxAccount.ListId" ng-switch-default></fax-message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n <div class="note note-info" data-ng-if="faxRoom && faxRoom.status == \'CLOSED\'">\n <h4 class="block"><i class="icon-info"></i> {{\'MESSAGE_FAX_ROOM_CLOSED\' | translate}}!</h4>\n <p>\n <strong>{{\'MESSAGE_FAX_ROOM_CLOSED_DETAILS\' | translate}}.</strong>\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{faxRoom.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{faxRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="faxRoom.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="sendFax()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}" data-ng-if="faxRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-model="form.from" theme="bootstrap" name="from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="faxAccount.localstationid as faxAccount in faxAccounts | filter: $select.search">\n <div data-ng-bind-html="faxAccount.name | highlight: $select.search"></div>\n <small data-ng-bind-html="faxAccount.localstationid | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.compose.from.$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 </div>\n </div>\n <!-- END FROM -->\n\n <!-- START TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}" data-ng-if="faxRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="to" class="form-control" placeholder="To..." data-ng-model="form.to" required>\n <span data-ng-show="forms.compose.to.$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 </div>\n </div>\n <!-- END TO -->\n\n <!-- START ATTACH -->\n <div class="form-group" data-ng-if="uploader && (faxRoom.status !== \'CLOSED\')">\n <div class="col-md-12">\n <hr ng-if="uploader.queue.length">\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\n <td style="border-top:none"><strong>{{ item.file.name | truncate: 5: \'...\': true}}</strong></td>\n <td style="border-top:none" ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n <td style="border-top:none" ng-show="uploader.isHTML5">\n <div class="progress" style="margin-bottom: 0;">\n <div class="progress-bar" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td style="border-top-style:none" class="text-center">\n <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>\n <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>\n </td>\n <td style="border-top-style:none" nowrap>\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n <div>\n </div>\n </div>\n </div>\n <!-- END ATTACH -->\n\n <!-- <div class="form-group">\n <div class="col-md-12">\n <div class="form-actions right todo-form-actions" style="border-top: none;">\n <input type="submit" value="{{ \'APPLICATION_SEND\' | translate }}" class="btn btn-sm green-meadow" data-ng-disabled="form.disabled || !uploader.queue.length" data-ng-if="faxRoom.status !== \'CLOSED\'">\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()" data-ng-if="faxRoom.status !== \'CLOSED\'">\n </div>\n </div>\n </div> -->\n\n </div>\n </form>\n </div>\n </div>\n</div>\n</div>\n</div>\n<!-- END TODO CONTENT -->\n'),a.put("app/channels/fax/inbox/status/status.modal.html",'<div class="modal-header">\n <button data-ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 data-ng-if="modal.title" data-ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="disposition" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-if="dispositions.length < 1">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/fax/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid" data-ng-show="!isAgent">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'UNMANAGED\'" uib-uncheckable>UNMANAGED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <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-inbox">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'),a.put("app/channels/fax/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_AGENTS\' | translate}}</a>\n </p>\n </div>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/fax/inbox/view/view.html",'<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="#">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == faxAccount.id}" data-ng-repeat="faxAccount in faxAccounts">\n <a href="/channels/fax/inbox/view/account/{{faxAccount.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{faxAccount.name}}\n </a>\n <b></b>\n </li>\n </ul>\n <div class="note note-warning" data-ng-hide="faxAccounts.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_ACCOUNTS\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/fax/accounts/list">{{\'APPLICATION_ACCOUNTS\' | translate}}</a>\n </p>\n </div>\n </div>\n\n <div class="col-md-9" data-ng-init="initView()">\n <!-- BEGIN PROFILE CONTENT -->\n <div class="room-content">\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n'),a.put("app/channels/fax/inbox/view/view.status.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ modal.title | translate }}</h3>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text" data-ng-bind="modal.text"></p>\n <div data-ng-if="modal.html" data-ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n <button data-ng-repeat="button in modal.buttons"\n data-ng-class="button.classes"\n data-ng-click="button.click($event)"\n data-ng-bind="button.text | translate" class="btn"></button>\n</div>\n'),a.put("app/channels/fax/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/fax/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/fax/queue/list/list.html",'<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/fax/queues/lis">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/fax/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.fax.queues.view.settings\')}">\n <a data-ng-href="/channels/fax/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.fax.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/fax/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/fax/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateFaxQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}</label>\n <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/fax/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/fax/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.fax.realtime.view.agents\')}">\n <a href="/channels/fax/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.fax.realtime.view.applications\')}">\n <a href="/channels/fax/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/account/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="#">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/mail/accounts/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/account/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/mail/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/mail/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n\n <div class="app-settings" ng-slide-down="application.app === \'replyMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START REPLYMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data1" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.key | translate }}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.key | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPLYMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/mail/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/mail/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'replyMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START REPLYMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data1" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.key | translate }}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.key | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPLYMAIL -->\n </div>\n\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <!-- <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" data-ng-pattern="/^[a-zA-Z0-9]*$/" required/> -->\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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.form.$touched && form.form.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PATTERN\' | translate}}.\n </span> -->\n </div>\n <!-- <div class="help-block">\n {{\'MESSAGE_ALLOWED_NUMBERS_AND_LETTERS\' | translate}}\n </div> -->\n </div>\n <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/account/view/setting/view/view.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">IMAP</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">SMTP</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="mail-spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemMailAccount()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_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="account.address" required/>\n <span data-ng-show="(forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid && forms.info.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n\n <!-- START TEMPLATE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.TemplateId" name="template" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_TEMPLATE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.TemplateId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END TEMPLATE -->\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n <!-- IMAP TAB -->\n <div class="tab-pane" id="tab_1_2">\n <div class="note note-danger" data-ng-show="account.MailServerIn.state === \'DISCONNECTED\' || account.MailServerIn.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="account.MailServerIn.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="account.MailServerIn.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="account.MailServerIn.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n\n <form name="forms.formIn" data-ng-submit="forms.formIn.$valid && updateItemMailServerIn()" novalidate>\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.host" required/>\n <span data-ng-show="(forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid && forms.formIn.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.username" required/>\n <span data-ng-show="(forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid && forms.formIn.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.password" required/>\n <span data-ng-show="(forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid && forms.formIn.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.port" required/>\n <span data-ng-show="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$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="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START MAILBOX -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.mailbox"/>\n </div>\n <!-- END MAILBOX -->\n\n <!-- START SEARCH FILTER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n <ui-select data-ng-model="account.MailServerIn.filter" name="filter" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n <div ng-bind-html="filter | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- START SEARCH FILTER -->\n\n <!-- START connTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="connTimeout" placeholder="{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.connTimeout" required/>\n <span data-ng-show="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$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="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END connTimeout -->\n\n <!-- START authTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="authTimeout" placeholder="{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.authTimeout" required/>\n <span data-ng-show="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$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="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END authTimeout -->\n\n <!-- START DELETE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerIn.delete"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END DELETE -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerIn.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <!-- START Keepalive -->\n <div class="form-group">\n <label class="control-label">Keepalive</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerIn.keepalive"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END Keepalive -->\n\n <input data-ng-disabled="imapDisabled" class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END IMAP TAB -->\n\n <!-- SMTP TAB -->\n <div class="tab-pane" id="tab_1_3">\n\n <div class="note note-danger" data-ng-show="account.MailServerOut.state === \'DISCONNECTED\' || account.MailServerOut.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="account.MailServerOut.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="account.MailServerOut.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="account.MailServerOut.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n\n <form name="forms.formOut" data-ng-submit="forms.formOut.$valid && updateItemMailServerOut()" novalidate>\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.host" required/>\n <span data-ng-show="(forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid && forms.formOut.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.username" required/>\n <span data-ng-show="(forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid && forms.formOut.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.password" required/>\n <span data-ng-show="(forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid && forms.formOut.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.port.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.port" required/>\n <span data-ng-show="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$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="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerOut.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <input data-ng-disabled="smtpDisabled" class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n <input data-ng-disabled="smtpDisabled" class="btn blue-madison" type="button" value="Test" data-ng-click="test()"/>\n </form>\n </div>\n <!-- END SMTP TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/mail/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.description || account.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar" data-ng-init="initView()">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.description || account.name }}\n </div>\n <div class="profile-usertitle-job">\n {{account.email}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-class="{active: $state.is(\'main.channels.mail.accounts.view.settings\')}">\n <a href="/channels/mail/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.mail.accounts.view.dispositions\')}">\n <a href="/channels/mail/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.mail.accounts.view.actions\')}">\n <a href="/channels/mail/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/channels/mail/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_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/>\n <span data-ng-show="(forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid && forms.info.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="IMAP" canexit="formValidation(forms.in.$valid)">\n <form name="forms.in" novalidate>\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_INCOMING_MAIL_SERVER\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.host" required/>\n <span data-ng-show="(forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid && forms.in.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.username" name="username" required/>\n <span data-ng-show="(forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid && forms.in.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.password" required/>\n <span data-ng-show="(forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid && forms.in.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.port" required/>\n <span data-ng-show="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$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="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START MAILBOX -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.mailbox"/>\n </div>\n <!-- END MAILBOX -->\n\n <!-- START SEARCH FILTER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n <ui-select data-ng-model="item.MailServerIn.filter" name="filter" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n <div data-ng-bind="filter | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- START SEARCH FILTER -->\n\n <!-- START connTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="connTimeout" placeholder="{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.connTimeout" required/>\n <span data-ng-show="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$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="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END connTimeout -->\n\n <!-- START authTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="authTimeout" placeholder="{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.authTimeout" required/>\n <span data-ng-show="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$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="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END authTimeout -->\n\n <!-- START DELETE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerIn.delete"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END DELETE -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerIn.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <!-- START Keepalive -->\n <div class="form-group">\n <label class="control-label">Keepalive</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerIn.keepalive"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END Keepalive -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="SMTP" canexit="formValidation(forms.out.$valid)">\n <form name="forms.out" novalidate>\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_OUTGOING_MAIL_SERVER\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.host" required/>\n <span data-ng-show="(forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid && forms.out.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.username" required/>\n <span data-ng-show="(forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid && forms.out.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.password" required/>\n <span data-ng-show="(forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid && forms.out.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.port.$touched || forms.out.$submitted) && forms.out.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.port" required/>\n <span data-ng-show="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$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="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerOut.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/inbox/message/info.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initInfo()">\n <div class="form-group" ng-if="data">\n <json-formatter json="data" open="1"></json-formatter>\n </div>\n <div class="note note-warning" data-ng-hide="data">\n <h4 class="block"></h4>\n <p>\n {{ \'MESSAGE_NO_INFO_AVAILABLE\' | translate }}\n </p>\n </div>\n\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/inbox/message/message.directive.html",'<div class="message">\n <div class="row">\n <div class="col-md-12">\n <span class="bold">From: </span>\n <a href="" data-ng-click="openContact(message.from[0])">{{message.from[0]}} </a>\n <br>\n <span class="bold">To: </span>\n <a href="" data-ng-click="openContact(to)" data-ng-repeat="to in message.to">{{to}}<span data-ng-if="!$last">, </span></a>\n <br>\n <span data-ng-if="message.cc.length" class="bold">Cc: </span>\n <a href="" data-ng-click="openContact(cc)" data-ng-repeat="cc in message.cc">{{cc}}<span data-ng-if="!$last">, </span></a>\n <br>\n <span data-ng-if="message.bcc.length" class="bold">Bcc: </span>\n <a href="" data-ng-click="openContact(bcc)" data-ng-repeat="cc in message.bcc">{{bcc}}<span data-ng-if="!$last">, </span></a>\n </div>\n <div class="row">\n <div class="col-md-12">\n <span class="pull-right" data-ng-if="message.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n <span class="pull-right" data-ng-if="message.voiceSource">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>Cally ²</strong>\n <a ng-click="info(message.voiceSource)"><i class="icon-info font-blue"></i>\n </a>\n </span>\n </div>\n </div>\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-switch="message.status" data-ng-if="message.status!==\'RECEIVED\'" uib-tooltip="{{\'APPLICATION_RETRY\' | translate}}: {{message.retry}}">\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe"> {{message.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="retry(message.id)"> {{message.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n </span>\n <span class="pull-right" data-ng-if="message.status===\'RECEIVED\'">\n <a href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n </span>\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </span>\n <hr>\n <div class="body text-left message-body" data-ng-bind="message.text"></div>\n <h5 data-ng-hide="message.text" class="media-heading"><i>{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}</i></h5>\n <hr data-ng-if="message.MailAttachments.length">\n <div data-ng-repeat="mailAttachment in message.MailAttachments">\n <strong>{{mailAttachment.name}}</strong>\n <span>\n ({{mailAttachment.size | prettyBytes}})\n </span>\n <a target="_self" download="{{mailAttachment.name}}" href="api/mail/attachments/{{mailAttachment.id}}">\n <i class="icon-cloud-download"></i>\n </a>\n <a ng-if="::(mailAttachment.type.indexOf(\'image\') > -1)" ng-click="openPreview(mailAttachment.id)">\n <i class="icon-picture"></i>\n </a>\n </div>\n</div>\n'),a.put("app/channels/mail/inbox/note/note.directive.html",'<div class="note">\n <div class="row">\n <div class="col-md-6">\n <a type="button" name="button" data-ng-if="::(Auth.getCurrentUser().id == message.UserId)" data-ng-click="deleteNote()">\n <i class="fa fa-trash-o" style="color: red;"></i>\n </a>\n\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="message.User">{{\'APPLICATION_ADD_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n </div>\n </div>\n <hr>\n <span class="body text-left" data-ng-bind-html="message.text" style="white-space: pre-wrap;"></span>\n</div>\n'),a.put("app/channels/mail/inbox/note/note.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_NOTES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <div class="form-group">\n <textarea data-ng-model="item.text" name="text" rows="10" style="resize: none; width: 100%;"></textarea>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/mail/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <button data-ng-if="(form.from.length && form.to.length) && mailRoom.status !== \'CLOSED\'" class="btn btn-sm btn-default green-meadow" data-ng-click="sendMail()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-if="(form.from.length && form.to.length) && mailRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-if="mailRoom" class="label label-default"> #{{mailRoom.id}} {{mailRoom.status}}</span>\n <span data-ng-if="mailRoom"> | </span>\n <span data-ng-if="mailRoom && mailRoom.ParentId" class="label label-warning"> Ref: <a data-ng-click="openRoom(mailRoom.ParentId)">#{{mailRoom.ParentId}}</a></span>\n <span data-ng-if="mailRoom && mailRoom.ParentId"> | </span>\n <span data-ng-if="mailRoom" class="caption-subject font-green-sharp bold uppercase">{{mailRoom.subject || \'No subject\' | truncate: 25: \'...\': true}}</span>\n </div>\n <div class="actions">\n <button class="btn btn-icon-only yellow" data-ng-if="mailRoom" data-ng-click="loadNote()" data-ng-disabled="mailRoom.status == \'CLOSED\'" title="{{\'APPLICATION_NOTES\' | translate}}">\n <i class="fa fa-sticky-note"></i>\n </button>\n <button class="file-upload" data-ng-disabled="mailRoom.status == \'CLOSED\'">\n <i class="fa fa-paperclip"></i> <input type="file" data-ng-if="uploader" data-ng-disabled="mailRoom.status == \'CLOSED\'" nv-file-select uploader="uploader" multiple class="file-input" title="{{\'APPLICATION_ATTACHMENTS\' | translate}}">\n </button>\n <!-- UPDATE SECTION START -->\n <button data-ng-class="mailRoom.status == \'CLOSED\' ? \'grey-cascade\' : \'btn-success\'" class="btn btn-icon-only" data-ng-if="user.role === \'agent\'" data-ng-disabled="mailRoom.status == \'CLOSED\' && mailRoom.disposition" data-ng-if="mailRoom" data-ng-click="closeRoom()" title="{{\'APPLICATION_STATUS\' | translate}}">\n <i data-ng-class="mailRoom.status == \'CLOSED\' ? \'icon-target\' : \'fa fa-upload\'"></i>\n </button>\n <!-- UPDATE SECTION END -->\n <button class="btn default btn-icon-only" data-ng-if="mailRoom && mailRoom.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-if="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\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($item, $model)" on-remove="onChanged($item, $model)" data-ng-disabled="mailRoom.status == \'CLOSED\'">\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 <!-- END TAGS -->\n </div>\n\n <hr data-ng-if="mailRoom && mailRoom.status !== \'CLOSED\'">\n\n <!-- END TAGS -->\n <div id="mail-box">\n <ul class="chats">\n <li\n data-ng-switch="mailMessage.status"\n data-ng-class="{\'in\': mailMessage.status == \'RECEIVED\', \'out\': mailMessage.status == \'SENT\' || mailMessage.status == \'SENDING\' || mailMessage.status == \'FAILED\' || mailMessage.status == \'NOTE\'}"\n data-ng-repeat="mailMessage in mailRoom.MailMessages | orderBy:\'-createdAt\'">\n <div class="avatar" data-ng-class="message.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="mailMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{mailMessage.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="!mailMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{mailMessage.from[0]}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <mail-note message="mailMessage" ng-switch-when="NOTE"></mail-note>\n <mail-message message="mailMessage" list-id="mailRoom.MailAccount.ListId" ng-switch-default></mail-message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n <div class="note note-info" data-ng-if="mailRoom && mailRoom.status == \'CLOSED\'">\n <h4 class="block"><i class="icon-info"></i> {{\'MESSAGE_MAIL_ROOM_CLOSED\' | translate}}!</h4>\n <p>\n <strong>{{\'MESSAGE_MAIL_ROOM_CLOSED_DETAILS\' | translate}}.</strong>\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{mailRoom.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{mailRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="mailRoom.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="sendMail()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n <v-accordion class="vAccordion--default" ng-if="mailRoom.status !== \'CLOSED\'">\n <v-pane expanded="expanded">\n <v-pane-header>\n <i class="icon-people"></i> From: {{form.from[0]}}, To: {{form.to[0].email}} <span ng-if="form.to.length > 1">(+{{form.to.length - 1}})</span>\n </v-pane-header>\n <v-pane-content>\n <!-- START FROM -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-model="form.from[0]" data-ng-change="setList($select.selected.ListId)" theme="bootstrap" name="from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="mailAccount.address as mailAccount in mailAccounts | filter: $select.search">\n <div data-ng-bind-html="mailAccount.name | highlight: $select.search"></div>\n <small data-ng-bind-html="mailAccount.address | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n </div>\n </div>\n <!-- END FROM -->\n\n <!-- MAIL TO -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <tags-input ng-model="form.to" type="email" display-property="email">\n <auto-complete source="getContacts($query)"></auto-complete>\n </tags-input>\n </div>\n </div>\n </div>\n </div>\n <!-- END TO -->\n\n <!-- START CC -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">Cc:</label>\n </div>\n <div class="col-md-11">\n <tags-input ng-model="form.cc" type="email" display-property="email">\n <auto-complete source="getContacts($query)"></auto-complete>\n </tags-input>\n </div>\n </div>\n </div>\n </div>\n <!-- END CC -->\n\n <!-- START BCC -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">Bcc:</label>\n </div>\n <div class="col-md-11">\n <tags-input ng-model="form.bcc" type="email" display-property="email">\n <auto-complete source="getContacts($query)"></auto-complete>\n </tags-input>\n </div>\n </div>\n </div>\n </div>\n <!-- END BCC -->\n\n <!-- START SUBJECT -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">Subj:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="Subject..." rows="8" data-ng-model="form.subject">\n <span data-ng-if="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 </div>\n </div>\n <!-- END SUJBECT -->\n </v-pane-content>\n </v-pane>\n </v-accordion>\n\n <!-- START ATTACH -->\n <div class="form-group" data-ng-if="uploader && (mailRoom.status !== \'CLOSED\')">\n <div class="col-md-12">\n <hr ng-if="uploader.queue.length">\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\n <td style="border-top:none" rowspan="{{uploader.queue.length}}" ng-if="(!$index)">\n {{\'APPLICATION_ATTACHMENTS\' | translate}}:\n </td>\n <td style="border-top:none"><strong>{{ item.file.name }}</strong></td>\n <td style="border-top:none" ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n <td style="border-top:none" ng-show="uploader.isHTML5">\n <div class="progress" style="margin-bottom: 0;">\n <div class="progress-bar" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td style="border-top-style:none" class="text-center">\n <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>\n <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>\n </td>\n <td style="border-top-style:none" nowrap>\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n <div>\n </div>\n </div>\n </div>\n <!-- END ATTACH -->\n\n <!-- START CANNED -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\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="onSelectAnswer($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-if="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 </div>\n </div>\n <!-- END CANNED -->\n\n <!-- START HTML -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.text.$invalid && forms.compose.$submitted}" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div ckeditor="options" ng-model="form.html"></div>\n <span data-ng-if="forms.compose.text.$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 <!-- END HTML -->\n\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n</div>\n<!-- END TODO CONTENT -->\n"), -a.put("app/channels/mail/inbox/status/status.modal.html",'<div class="modal-header">\n <button data-ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 data-ng-if="modal.title" data-ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="disposition" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-if="dispositions.length < 1">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/mail/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'PENDING\'" uib-uncheckable>PENDING</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <div ui-grid="gridOptions" class="myGrid" ui-grid-auto-resize ui-grid-pagination ui-grid-selection>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'),a.put("app/channels/mail/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/mail/inbox/view/view.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="#">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == mailAccount.id}" data-ng-repeat="mailAccount in mailAccounts">\n <a href="/channels/mail/inbox/view/account/{{mailAccount.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{mailAccount.name}}\n </a>\n <b></b>\n </li>\n </ul>\n </div>\n\n <div class="col-md-9" data-ng-init="initView()">\n <!-- BEGIN PROFILE CONTENT -->\n <div class="room-content">\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n\n</div>\n'),a.put("app/channels/mail/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/mail/inbox/view/view.templates.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_TEMPLATES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="note note-info" data-ng-show="!templates.length">\n <h4 class="block">Info!</h4>\n <p>\n {{\'MESSAGE_NO_TEMPLATES_AVAILABLE\' | translate}}\n </p>\n </div>\n <form name="form" data-ng-show="templates.length" novalidate>\n <div class="form-group">\n <ui-select data-ng-model="item.template" theme="bootstrap">\n <ui-select-match placeholder="Select a template in the list or search his name...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template in templates | propsFilter: {name: $select.search}">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n <small data-ng-show="template.description">\n {{\'APPLICATION_DESCRIPTION\' | translate}}: {{template.description}}\n </small>\n </ui-select-choices>\n </ui-select>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="templates.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/mail/queue/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/mail/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.mail.queues.view.settings\')}">\n <a data-ng-href="/channels/mail/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.mail.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/mail/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateMailQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">Agent Timeout</label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/mail/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.mail.realtime.view.agents\')}">\n <a href="/channels/mail/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.mail.realtime.view.applications\')}">\n <a href="/channels/mail/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/realtime/view/view.queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div id="grid1" ui-grid="gridOptions" ui-grid-resize-columns ui-grid-tree-view class="grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/openchannel/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/openchannel/accounts/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/view/action/list/list.html",'<div class="row" data-ng-init="initActions()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/openchannel/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/openchannel/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.OpenchannelQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.OpenchannelQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/view/api/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_API\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <div class="tab-pane active" id="tab_1_1">\n <!-- START API -->\n <div class="row" >\n <div class="col-md-12">\n <label class="control-label">Receive URL</label>\n </div>\n </div>\n <div class="row" >\n <div class="col-md-11">\n <code-mirror model="receiveurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(receiveurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END API -->\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/openchannel/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/account/view/hooks/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_HOOKS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SEND\' | translate}}</a>\n </li>\n <li >\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_ACCEPT\' | translate}}</a>\n </li>\n <li >\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_REJECT\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- ACCEPT TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItem()" novalidate>\n <!-- START REJECT URL -->\n <!-- START REPLY HOOK -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.replyMethod" name="method" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search" >\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid && forms.info.method.$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-8" data-ng-class="{\'has-error\': (forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.replyUrl" ng-required="account.replyMethod"/>\n <span data-ng-show="(forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid && forms.info.url.$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 <!-- START REPLY HOOK -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.accept" data-ng-submit="forms.accept.$valid && updateItem()" novalidate>\n <!-- START ACCEPT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.acceptMethod" name="method" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.acceptUrl" ng-required="account.acceptMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END ACCEPT URL-->\n <!-- START ACTIONS-->\n\n <div class="row" ng-repeat = "action in account.actions">\n <div ng-if="action.action==\'pause\'" class="form-group col-md-4">\n <label class="control-label">{{\'APPLICATION_PAUSE\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-change="resetActionData(action)"\n data-ng-model="action.enabled"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <div ng-if="action.action==\'pause\' && action.enabled" class="form-group col-md-8">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <ui-select name="action" data-ng-model="action.type" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat=" pause.name as pause in pauses | filter: $select.search">\n <div ng-bind-html="pause.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n\n <!-- END ACTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n <!-- START REJECT TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.reject" data-ng-submit="forms.reject.$valid && updateItem()" novalidate>\n <!-- START REJECT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.rejectMethod" name="method" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.rejectUrl" ng-required="account.rejectMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n\n <!-- END REJECT URL -->\n <!-- START REJECT ACTION -->\n\n <!-- <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_ACTION\' | translate}}</label>\n <ui-select multiple name="action" data-ng-model="account.rejectaction" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_ACTION\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="action.value as action in actions | filter: $select.search">\n <div ng-bind-html="action.name | highlight: $select.search | uppercase" ></div>\n {{actions}}\n </ui-select-choices>\n </ui-select>\n </div> -->\n <!-- END REJECT ACTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/openchannel/account/view/setting/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItem()" novalidate>\n <!-- START ID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_ID\' | translate}}<span class="required" aria-required="true">*</span>\n </label>\n <input type="text" name="id" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.id" ng-disabled="true" required/>\n </div>\n <!-- END ID-->\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START CUSTOM -->\n <!-- <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REPLY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.reply"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div> -->\n <!-- START REPLY HOOK -->\n <!-- <div ng-if= "account.reply" class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.replyMethod" name="method" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search" >\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid && forms.info.method.$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-8" data-ng-class="{\'has-error\': (forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.replyUrl" required/>\n <span data-ng-show="(forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid && forms.info.url.$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 <!-- START REPLY HOOK -->\n <!-- END CUSTOM -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/openchannel/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.description || account.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.description || account.name }}\n </div>\n <div class="profile-usertitle-job">\n {{account.email}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.settings\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.api\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/api">\n <i class="fa fa-external-link"></i>\n {{\'APPLICATION_API\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.hooks\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/hooks">\n <i class="fa fa-code"></i>\n {{\'APPLICATION_HOOKS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.dispositions\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.openchannel.accounts.view.actions\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/channels/openchannel/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/openchannel/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/inbox/message/info.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initInfo()">\n <div class="form-group" ng-if="data">\n <json-formatter json="data" open="1"></json-formatter>\n </div>\n <div class="note note-warning" data-ng-hide="data">\n <p>\n {{ \'MESSAGE_NO_INFO_AVAILABLE\' | translate }}\n </p>\n </div>\n\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/openchannel/inbox/message/message.html",'<div class="message">\n <div class="row">\n <div class="col-md-6">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="">{{Message.from}}</a>]\n <br>\n <span class="bold">To: </span>\n [<a href="" data-ng-click="">{{Message.to}}</a>]\n <!-- [<a href="" data-ng-click="openContact(Message.to)">{{Message.to}}</a>] -->\n <br>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-if="Message.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{Message.User.fullname}}</strong></span>\n </div>\n </div>\n\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-switch="Message.status">\n <a ng-switch-when="RECEIVED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{Message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{Message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="DELIVERED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{Message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe" > {{Message.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="info(Message.res_data)"> {{Message.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n <a ng-switch-default href="#" class="btn default btn-xs"> {{Message.status | uppercase}}\n </a>\n <br>\n </span>\n\n <i class="icon-calendar"></i> <span am-time-ago="Message.updatedAt"></span>\n </span>\n <hr>\n <span class="body text-left" data-ng-bind-html="Message.body" style="white-space: pre-wrap;"></span>\n\n </div>\n'),a.put("app/channels/openchannel/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <!-- && Room.OpenchannelAccount.reply -->\n <button class="btn btn-sm btn-default green-meadow" data-ng-if="Room.status !== \'CLOSED\'" data-ng-disabled="!form.body || forms.compose.from.$invalid || forms.compose.to.$invalid" data-ng-click="sendMessage()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-show="Room && Room.status !== \'CLOSED\'"> | </span>\n <!-- <span data-ng-show="Room && Room.status !== \'CLOSED\' && Room.OpenchannelAccount.reply"> | </span> -->\n <span data-ng-show="Room" class="label label-default">#{{Room.id}} {{Room.status}}</span>\n <span data-ng-if="Room && Room.ParentId"> | </span>\n <span data-ng-if="Room && Room.ParentId" class="label label-warning"> Ref: <a data-ng-click="openRoom(Room.ParentId,Room.from)">#{{Room.ParentId}}</a></span>\n </div>\n <div class="actions" data-ng-switch="Room.status">\n <button class="btn btn-icon-only btn-primary" data-ng-show="Room" data-ng-click="loadAgents();" data-ng-disabled="Room.status === \'CLOSED\'">\n <i class="fa fa-user-plus"></i>\n </button>\n <button class="btn btn-icon-only" data-ng-show="Room" data-ng-class="{\'btn-success\':Room.status !== \'CLOSED\',\'grey-cascade\':Room.status === \'CLOSED\'}" data-ng-click="closeRoom(Room.id)" data-ng-disabled="Room.status === \'CLOSED\' && Room.disposition">\n <i data-ng-class="{\'fa fa-upload\':Room.status !== \'CLOSED\',\'icon-target\':Room.status === \'CLOSED\'}"></i>\n </button>\n <button class="btn default btn-icon-only" data-ng-if="Room && Room.status !== \'CLOSED\' && Room.OpenchannelAccount.reply" type="button" 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-show="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="Room.status !== \'CLOSED\' || (Room.status == \'CLOSED\' && form.tags.length)">\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 data-ng-disabled="Room.status == \'CLOSED\'" multiple data-ng-model="form.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\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 <!-- END TAGS -->\n </div>\n <hr data-ng-if="Room && Room.status !== \'CLOSED\'">\n\n <div ng-scrollbars ng-scrollbars-config="{\n autoHideScrollbar: false,\n theme: \'light\',\n advanced: {\n updateOnContentResize: true\n },\n setHeight: 781,\n scrollInertia: 0\n }">\n <ul class="chats">\n <li data-ng-switch="Room.status" data-ng-class="{\'in\': Message.status == \'RECEIVED\', \'out\': Message.status == \'SENT\' || Message.status == \'SENDING\' || Message.status == \'FAILED\' || Message.status == \'NOTE\' || Message.status == \'DELIVERED\' || Message.status == \'QUEUED\' || Message.status != \'RECEIVED\' }" data-ng-repeat="Message in Room.OpenchannelMessages | orderBy:\'-createdAt\'">\n <!-- <img class="avatar" alt="" data-ng-src="api/users/avatar/{{getCurrentUser().userpic && smsMessage.status === \'SENT\' ? getCurrentUser().userpic : \'unknown_avatar\'}}"> -->\n <!-- <note message="smsMessage" ng-switch-when="NOTE"></note> -->\n <div class="avatar" data-ng-class="Message.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="Message.UserId"\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.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{Message.from}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <message message="Message" list-id="Room.OpenchannelAccount.ListId" ng-switch-default></message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n\n <div class="note note-info" data-ng-if="Room && Room.status == \'CLOSED\'">\n <h4 class="block">Info! {{\'MESSAGE_ROOM_CLOSED\' | translate}}</h4>\n <p>\n {{\'MESSAGE_ROOM_CLOSED_DETAILS\' | translate}}.\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{Room.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{Room.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="Room.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="forms.compose.$valid" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}" data-ng-if="Room.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-disabled="Room" theme="bootstrap" name="from" data-ng-model="form.from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="Account.name as Account in Accounts | filter: $select.search">\n <div data-ng-bind-html="Account.name | highlight: $select.search"></div>\n <small data-ng-bind-html="Account.name | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.compose.from.$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 </div>\n </div>\n <!-- END FROM -->\n <!-- START TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}" data-ng-if="Room.status !== \'CLOSED\'">\n\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="to" class="form-control todo-taskbody-taskdesc" placeholder="To..." rows="8" data-ng-disabled="Room" data-ng-model="form.to" required>\n <span data-ng-show="forms.compose.to.$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 </div>\n </div>\n <!-- END TO -->\n <!-- START CANNED -->\n <div class="form-group" data-ng-if="Room.status !== \'CLOSED\'">\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 </div>\n </div>\n\n </div>\n <!-- END CANNED -->\n <!-- START message -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.body.$invalid && forms.compose.$submitted}" data-ng-if=" Room.status !== \'CLOSED\'">\n <div class="col-md-12">\n <textarea id="text" class="form-control maxlength-handler" rows="8" name="body" data-ng-model="form.body"></textarea>\n <span data-ng-show="forms.compose.body.$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 <!-- END message -->\n </div>\n </form>\n </div>\n </div>\n </div>\n </div>\n</div>\n<!-- END TODO CONTENT -->\n"),a.put("app/channels/openchannel/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid" data-ng-show="!isAgent">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'UNMANAGED\'" uib-uncheckable>UNMANAGED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <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-inbox">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'), -a.put("app/channels/openchannel/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/openchannel/inbox/view/view.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="/channels/openchannel/inbox/list">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox" data-ng-init="initView()">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == Account.id}" data-ng-repeat="Account in Accounts">\n <a href="/channels/openchannel/inbox/view/account/{{Account.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{Account.name}}\n </a>\n <b></b>\n </li>\n </ul>\n </div>\n\n <div class="col-md-9" >\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/inbox/view/view.status.modal.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),a.put("app/channels/openchannel/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/openchannel/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\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/openchannel/queue/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/openchannel/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.openchannel.queues.view.settings\')}">\n <a data-ng-href="/channels/openchannel/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.openchannel.queues.view.agents\')}">\n <a data-ng-href="/channels/openchannel/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">Timeout</label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END HEADER SHAPE -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="/channels/realtime/view/agents">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.realtime.view.agents\')}">\n <a href="/channels/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/account/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/sms/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/sms/accounts/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/account/view/action/list/list.html",'<div class="row" data-ng-init="initActions()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/sms/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.SmsQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/sms/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid && forms.settings.to.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1" data-ng-init="getSmsAccounts()">\n <!-- START SENDSms -->\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" required/>\n <span data-ng-show="(forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid && forms.settings.to.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in smsAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$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" data-ng-class="{\'has-error\': (forms.settings.text.$touched || forms.text.$submitted) && forms.settings.text.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea id="text" class="form-control maxlength-handler" maxlength="160" name="text" data-ng-model="application.data6" required></textarea>\n <span data-ng-show="(forms.settings.text.$touched || forms.settings.$submitted) && forms.settings.text.$invalid && forms.settings.text.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <!-- END SENDSms -->\n </div>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/sms/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/sms/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" required/>\n <span data-ng-show="(forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid && forms.action.to.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1" data-ng-init="getSmsAccounts()">\n <!-- START SENDSms -->\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" required/>\n <span data-ng-show="(forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid && forms.action.to.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in smsAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$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" data-ng-class="{\'has-error\': (forms.action.text.$touched || forms.action.$submitted) && forms.action.text.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea id="text" class="form-control maxlength-handler" maxlength="160" name="text" data-ng-model="application.data6" required></textarea>\n <span data-ng-show="(forms.action.text.$touched || forms.action.$submitted) && forms.action.text.$invalid && forms.action.text.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <!-- END SENDSms -->\n </div>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/account/view/api/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_API\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- CALLBACK TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- START CALLBACK URL -->\n <div class="row" >\n <div class="col-md-12">\n <label class="control-label">Receive URL</label>\n <p>\n Copy the following url and insert it into your {{account.type}} account settings to receive SMS.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </p>\n </div>\n </div>\n <div class="row" >\n <div class="col-md-11">\n <code-mirror model="receiveurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(receiveurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div><br>\n <!-- END CALLACK URL -->\n <!-- START DELIVERY CALLBACK URL -->\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-12">\n <label class="control-label">Delivery URL </label>\n <p>\n Copy the following url and insert it into your {{account.type}} account settings to receive delivery report.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </p>\n </div>\n </div>\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-11">\n <code-mirror class="control-label" model="deliveryurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(deliveryurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END DELIVERY CALLACK URL -->\n </div>\n <!-- END CALLBACK TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/hooks/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_HOOKS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_ACCEPT\' | translate}}</a>\n </li>\n <li >\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_REJECT\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- ACCEPT TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.accept" data-ng-submit="forms.accept.$valid && updateItemSmsAccount()" novalidate>\n <!-- START ACCEPT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.acceptMethod" name="method" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.acceptUrl" ng-required="account.acceptMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END ACCEPT URL-->\n <!-- START ACTIONS-->\n <!-- START PAUSE -->\n <div class="row" ng-repeat = "action in account.actions">\n <div ng-if="action.action==\'pause\'" class="form-group col-md-4">\n <label class="control-label">{{\'APPLICATION_PAUSE\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-change="resetActionData(action)"\n data-ng-model="action.enabled"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <div ng-if="action.action==\'pause\' && action.enabled" class="form-group col-md-8">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <ui-select name="action" data-ng-model="action.type" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat=" pause.name as pause in pauses | filter: $select.search">\n <div ng-bind-html="pause.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n\n <!-- END ACTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n <!-- START REJECT TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.reject" data-ng-submit="forms.reject.$valid && updateItemSmsAccount()" novalidate>\n <!-- START REJECT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.rejectMethod" name="method" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.rejectUrl" ng-required="account.rejectMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n\n <!-- END REJECT URL -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/sms/account/view/setting/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemSmsAccount()" novalidate>\n <!-- START ID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_ID\' | translate}}<span class="required" aria-required="true">*</span>\n </label>\n <input type="text" name="id" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.id" ng-disabled="true" required/>\n </div>\n <!-- END ID-->\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <!-- START TWILIO -->\n <!-- START PHONE -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START SID -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="sid" placeholder="{{\'APPLICATION_SID\' | translate}}" class="form-control" data-ng-model="account.sid" name="sid" required/>\n <span data-ng-show="(forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid && forms.info.sid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- START TOKEN -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid}">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" name="token" required/>\n <span data-ng-show="(forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid && forms.info.token.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- END TWILIO -->\n <!-- START SKEBBY -->\n <!-- START SKEBBY SMS TYPE -->\n <div ng-if= " account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.smstype" name="smstype" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'SMS_TYPE\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="smstype in [\'basic\',\'classic\',\'classic+\'] | filter: $select.search">\n <div data-ng-bind="smstype | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid && forms.info.smstype.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SKEBBY SMS TYPE -->\n <!-- START PHONE -->\n <div ng-if= "account.type == \'skebby\' " class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" ng-pattern="/^[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n <!-- START USERNAME -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" name="username" required/>\n <span data-ng-show="(forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid && forms.info.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n <!-- END SKEBBY -->\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/sms/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.description || account.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.description || account.name }}\n </div>\n <div class="profile-usertitle-job">\n {{account.email}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.settings\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.api\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/api">\n <i class="fa fa-external-link"></i>\n {{\'APPLICATION_API\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.hooks\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/hooks">\n <i class="fa fa-code"></i>\n {{\'APPLICATION_HOOKS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.dispositions\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.sms.accounts.view.actions\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/channels/sms/account/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemSmsAccount()" novalidate>\n <!-- START ID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_ID\' | translate}}<span class="required" aria-required="true">*</span>\n </label>\n <input type="text" name="id" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.id" ng-disabled="true" required/>\n </div>\n <!-- END ID-->\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="account.fidelity"\n type="checkbox"\n name="auth"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START PHONE FOR TWILLIO ACCOUNT -->\n\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n<!-- Format with a \'+\' and country code -->\n <!-- <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span> -->\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE FOR TWILLIO ACCOUNT -->\n\n <!-- START SID -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="sid" placeholder="{{\'APPLICATION_SID\' | translate}}" class="form-control" data-ng-model="account.sid" name="sid" required/>\n <span data-ng-show="(forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid && forms.info.sid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- START TOKEN -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid}">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" name="token" required/>\n <span data-ng-show="(forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid && forms.info.token.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n\n <!-- START SMS TYPE -->\n\n <div ng-if= " account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.smstype" name="smstype" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'SMS_TYPE\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="smstype in [\'basic\',\'classic\',\'classic+\'] | filter: $select.search">\n <div data-ng-bind="smstype | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid && forms.info.smstype.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n <!-- START PHONE FOR SKEBBY ACCOUNT -->\n <div ng-if= "account.type == \'skebby\' " class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" ng-pattern="/^[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n <!-- START USERNAME -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" name="username" required/>\n <span data-ng-show="(forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid && forms.info.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <!-- START CALLBACK URL -->\n <div ng-show="!forms.info.remote.$invalid" class="row" >\n <!-- <div class="row"> -->\n <div class="col-md-12">\n <label class="control-label">URL </label><br>\n <span ng-if= "account.type == \'twilio\' || account.type == \'skebby\'">\n Copy the following url and insert it into your {{account.type}} account settings to receive sms.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </span>\n </div>\n </div>\n <br>\n <div ng-show="!forms.info.remote.$invalid" class="row" >\n <div class="col-md-11">\n <code-mirror model="receiveurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(receiveurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END CALLACK URL -->\n <!-- START DELIVERY CALLBACK URL -->\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-12">\n <label class="control-label">Delivery URL </label><br>\n Copy the following url and insert it into your {{account.type}} account settings to receive delivery status.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </div>\n </div>\n <br>\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-11">\n <code-mirror class="control-label" model="deliveryurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(deliveryurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END DELIVERY CALLACK URL -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/sms/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/sms/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <!-- START APPLICATION TYPE -->\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.type.$touched || forms.info.$submitted) && forms.info.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}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type in [\'twilio\',\'skebby\'] | filter: $select.search">\n <div data-ng-bind="type | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.type.$touched || forms.info.$submitted) && forms.info.type.$invalid && forms.info.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n <!-- START PHONE FOR TWILLIO ACCOUNT -->\n <div ng-if= "item.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" name="phone" required/>\n <span data-ng-show="(forms.info.phone.$touched || forms.info.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE FOR TWILLIO ACCOUNT -->\n <!-- START SID -->\n <div ng-if= "item.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.sid.$touched ||forms.info.$submitted) && forms.info.sid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" placeholder="{{\'APPLICATION_SID\' | translate}}" class="form-control" data-ng-model="item.sid" name="sid" required/>\n <span data-ng-show="(forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid && forms.info.sid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- START TOKEN -->\n <div ng-if= "item.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid}">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" name="token" required/>\n <span data-ng-show="(forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid && forms.info.token.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n\n <!-- START SMS TYPE -->\n <div ng-if= " item.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.smstype" name="smstype" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'SMS_TYPE\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="smstype in [\'basic\',\'classic\',\'classic+\'] | filter: $select.search">\n <div data-ng-bind="smstype | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid && forms.info.smstype.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n <!-- START PHONE FOR SKEBBY ACCOUNT -->\n <div ng-if= "item.type == \'skebby\' " class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" ng-pattern="/^[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" name="phone" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\n <span data-ng-show="(forms.info.phone.$touched || forms.info.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n <!-- START USERNAME -->\n <div ng-if= "item.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" name="username" required/>\n <span data-ng-show="(forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid && forms.info.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n <!-- START PASSWORD -->\n <div ng-if= "item.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n <!-- START REMOTE IP -->\n <div ng-if= "item.type" class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <button class="btn btn-sm btn-default green-meadow" data-ng-if="SmsRoom.status !== \'CLOSED\'" data-ng-disabled="!form.body || forms.compose.from.$invalid || forms.compose.to.$invalid" data-ng-click="sendSMS()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-show="SmsRoom && SmsRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-show="SmsRoom" class="label label-default">#{{SmsRoom.id}} {{SmsRoom.status}}</span>\n <span data-ng-if="SmsRoom && SmsRoom.ParentId"> | </span>\n <span data-ng-if="SmsRoom && SmsRoom.ParentId" class="label label-warning"> Ref: <a data-ng-click="openRoom(SmsRoom.ParentId,SmsRoom.from)">#{{SmsRoom.ParentId}}</a></span>\n </div>\n <div class="actions" data-ng-switch="SmsRoom.status">\n <button class="btn btn-icon-only btn-primary" data-ng-show="SmsRoom" data-ng-click="loadAgents();" data-ng-disabled="SmsRoom.status === \'CLOSED\'">\n <i class="fa fa-user-plus"></i>\n </button>\n <button class="btn btn-icon-only" data-ng-show="SmsRoom" data-ng-class="{\'btn-success\':SmsRoom.status !== \'CLOSED\',\'grey-cascade\':SmsRoom.status === \'CLOSED\'}" data-ng-click="closeRoom(SmsRoom.id)" data-ng-disabled="SmsRoom.status === \'CLOSED\' && SmsRoom.disposition">\n <i data-ng-class="{\'fa fa-upload\':SmsRoom.status !== \'CLOSED\',\'icon-target\':SmsRoom.status === \'CLOSED\'}"></i>\n </button>\n <button class="btn default btn-icon-only" data-ng-if="SmsRoom && SmsRoom.status !== \'CLOSED\'" type="button" 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-show="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="SmsRoom.status !== \'CLOSED\' || (SmsRoom.status == \'CLOSED\' && form.tags.length)">\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 data-ng-disabled="SmsRoom.status == \'CLOSED\'" multiple data-ng-model="form.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\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 <!-- END TAGS -->\n </div>\n <hr data-ng-if="SmsRoom && SmsRoom.status !== \'CLOSED\'">\n\n <div ng-scrollbars ng-scrollbars-config="{\n autoHideScrollbar: false,\n theme: \'light\',\n advanced: {\n updateOnContentResize: true\n },\n setHeight: 781,\n scrollInertia: 0\n }">\n <ul class="chats">\n <li data-ng-switch="SmsRoom.status" data-ng-class="{\'in\': smsMessage.status == \'RECEIVED\', \'out\': smsMessage.status == \'SENT\' || smsMessage.status == \'SENDING\' || smsMessage.status == \'FAILED\' || smsMessage.status == \'NOTE\' || smsMessage.status == \'DELIVERED\' || smsMessage.status == \'QUEUED\' || smsMessage.status != \'RECEIVED\' }" data-ng-repeat="smsMessage in SmsRoom.SmsMessages | orderBy:\'-createdAt\'">\n <div class="avatar" data-ng-class="smsMessage.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="smsMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{smsMessage.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="!smsMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{smsMessage.from}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <sms message="smsMessage" list-id="SmsRoom.SmsAccount.ListId" accounttype=\'SmsRoom.SmsAccount.type\' ng-switch-default></sms>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n <div class="note note-info" data-ng-if="SmsRoom && SmsRoom.status == \'CLOSED\'">\n <h4 class="block">Info! {{\'MESSAGE_SMS_ROOM_CLOSED\' | translate}}</h4>\n <p>\n {{\'MESSAGE_SMS_ROOM_CLOSED_DETAILS\' | translate}}.\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{SmsRoom.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{SmsRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="SmsRoom.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="forms.compose.$valid && sendSMS()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}" data-ng-if="SmsRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-disabled="SmsRoom" theme="bootstrap" name="from" data-ng-model="form.from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="smsAccount.phone as smsAccount in smsAccounts | filter: $select.search">\n <div data-ng-bind-html="smsAccount.name | highlight: $select.search"></div>\n <small data-ng-bind-html="smsAccount.phone | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.compose.from.$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 </div>\n </div>\n <!-- END FROM -->\n <!-- START TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}" data-ng-if="SmsRoom.status !== \'CLOSED\'">\n\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" name="to" class="form-control todo-taskbody-taskdesc" placeholder="To..." rows="8" data-ng-disabled="SmsRoom" data-ng-model="form.to" required>\n <span data-ng-show="forms.compose.to.$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 </div>\n </div>\n <!-- END TO -->\n <!-- START CANNED -->\n <div class="form-group" data-ng-if="SmsRoom.status !== \'CLOSED\'">\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 </div>\n </div>\n\n </div>\n <!-- END CANNED -->\n <!-- START message -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.body.$invalid && forms.compose.$submitted}" data-ng-if="SmsRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <textarea id="text" class="form-control maxlength-handler" rows="8" maxlength="160" name="body" data-ng-model="form.body" ></textarea>\n <button id="btnPost" type="button" class="btn btn-success pull-right" ng-class="{\'btn-warning\': form.body.length >= 120, \'btn-danger\': form.body.length >= 141 }">{{ 160 - form.body.length }}</button>\n <span class="help-block"> Max 160 chars</span>\n <span data-ng-show="forms.compose.body.$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 <!-- END message -->\n </div>\n </form>\n </div>\n </div>\n </div>\n </div>\n</div>\n<!-- END TODO CONTENT -->\n"),a.put("app/channels/sms/inbox/sms/info.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initInfo()">\n <div class="form-group" ng-if="data">\n <json-formatter json="data" open="1"></json-formatter>\n </div>\n <div class="note note-warning" data-ng-hide="data">\n <p>\n {{ \'MESSAGE_NO_INFO_AVAILABLE\' | translate }}\n </p>\n </div>\n\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/inbox/sms/sms.html",'<div class="message">\n <div class="row">\n <div class="col-md-6">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="openContact(smsMessage.from)">{{smsMessage.from}}</a>]\n <br>\n <span class="bold">To: </span>\n [<a href="" data-ng-click="openContact(smsMessage.to)">{{smsMessage.to}}</a>]\n <br>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-if="smsMessage.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{smsMessage.User.fullname}}</strong></span>\n <span class="pull-right" data-ng-if="smsMessage.source">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>Cally ²</strong>\n <a ng-click="info(smsMessage.source)"><i class="icon-info font-blue"></i>\n </a>\n </div>\n </div>\n\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-switch="smsMessage.status">\n <a ng-switch-when="RECEIVED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{smsMessage.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{smsMessage.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="DELIVERED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{smsMessage.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe" > {{smsMessage.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="info(null,smsMessage.res_data)"> {{smsMessage.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n <a ng-switch-default href="#" class="btn default btn-xs"> {{smsMessage.status | uppercase}}\n </a>\n <br>\n <!-- <a ng-href="https://www.twilio.com/docs/errors/{{smsMessage.errorcode}}" target="_blank" ng-if="(smsMessage.errorcode) && (accounttype==\'twilio\')">Error Code:{{smsMessage.errorcode}}</a>\n <a ng-href="{{smsMessage.errorcode.length > 2 ? \'http://www.skebby.com/sms-api/sms-gateway/developers-docs/#receiveNotifySection\' : \'http://www.skebby.com/sms-api/sms-gateway/developers-docs/#errorCodesSection\'}}" target="_blank" ng-if="(smsMessage.errorcode != 1) && (smsMessage.errorcode) && (accounttype==\'skebby\')">Error Code:{{smsMessage.errorcode}}</a> -->\n </span>\n\n <i class="icon-calendar"></i> <span am-time-ago="smsMessage.updatedAt"></span>\n </span>\n <hr>\n <span class="body text-left" data-ng-bind-html="smsMessage.body" style="white-space: pre-wrap;"></span>\n\n </div>\n'),a.put("app/channels/sms/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid" data-ng-show="!isAgent">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'UNMANAGED\'" uib-uncheckable>UNMANAGED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <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-inbox">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'),a.put("app/channels/sms/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/sms/inbox/view/view.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="/channels/sms/inbox/list">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox" data-ng-init="initView()">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == smsAccount.id}" data-ng-repeat="smsAccount in smsAccounts">\n <a href="/channels/sms/inbox/view/account/{{smsAccount.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{smsAccount.name}}\n </a>\n <b></b>\n </li>\n </ul>\n </div>\n\n <div class="col-md-9" >\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/inbox/view/view.status.modal.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SMS_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'), -a.put("app/channels/sms/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/sms/inbox/view/view.templates.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_TEMPLATES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="note note-info" data-ng-show="!templates.length">\n <h4 class="block">Info!</h4>\n <p>\n {{\'MESSAGE_NO_TEMPLATES_AVAILABLE\' | translate}}\n </p>\n </div>\n <form name="form" data-ng-show="templates.length" novalidate>\n <div class="form-group">\n <ui-select data-ng-model="item.template" theme="bootstrap">\n <ui-select-match placeholder="Select a template in the list or search his name...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template in templates | propsFilter: {name: $select.search}">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n <small data-ng-show="template.description">\n {{\'APPLICATION_DESCRIPTION\' | translate}}: {{template.description}}\n </small>\n </ui-select-choices>\n </ui-select>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="templates.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/sms/queue/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/sms/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.sms.queues.view.settings\')}">\n <a data-ng-href="/channels/sms/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.sms.queues.view.agents\')}">\n <a data-ng-href="/channels/sms/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateSmsQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">Timeout</label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/sms/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.sms.realtime.view.agents\')}">\n <a href="/channels/sms/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.sms.realtime.view.applications\')}">\n <a href="/channels/sms/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/realtime/view/view.queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div id="grid1" ui-grid="gridOptions" ui-grid-resize-columns ui-grid-tree-view class="grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/chanspy/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_CHANSPY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.prefix.$touched || form.$submitted) && form.prefix.$invalid}">\n <label class="control-label">{{\'APPLICATION_PREFIX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="prefix" placeholder="{{\'APPLICATION_PREFIX\' | translate}}" class="form-control" data-ng-model="item.prefix" required/>\n <span data-ng-show="(form.prefix.$touched || form.$submitted) && form.prefix.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.options.$touched || form.$submitted) && form.options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="item.options" name="options" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.value}}: {{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="option.value as option in options | filter: $select.search">\n <div ng-bind-html="option.value + \': \' + (option.name | translate) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.options.$touched || form.$submitted) && form.options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START AUTH -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTH\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="item.auth"\n type="checkbox"\n name="auth"\n data-ng-init="item.auth = 0"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END AUTH -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.password.$touched || form.$submitted) && form.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span data-ng-show="item.auth" class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" data-ng-disabled="!item.auth" data-ng-required="item.auth"/>\n <span data-ng-show="(form.password.$touched || form.$submitted) && form.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/voice/chanspy/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-magnifier"></i>\n <a href="/channels/voice/chanspys/list">{{ \'APPLICATION_CHANSPY\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CHANSPY\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CHANSPY\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/chanspy/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getChanSpy()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-eye"></i>\n <a href="/channels/voice/chanspys/list">{{ \'APPLICATION_CHANSPY\' | translate }}</a>\n <i data-ng-show="chanspy" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="chanspy">\n <a href="#">{{chanspy.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/chanspy.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chanspy.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.chanspy.view.settings\')}">\n <a data-ng-href="/tools/chanspy/view/{{chanspy.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/chanspy/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_CHANSPY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateChanSpy()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="chanspy.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.general.prefix.$touched || form.general.$submitted) && form.general.prefix.$invalid}">\n <label class="control-label">{{\'APPLICATION_PREFIX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="prefix" placeholder="{{\'APPLICATION_PREFIX\' | translate}}" class="form-control" data-ng-model="chanspy.prefix" required/>\n <span data-ng-show="(form.general.prefix.$touched || form.general.$submitted) && form.general.prefix.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.general.options.$touched || form.general.$submitted) && form.general.options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="chanspy.options" name="options" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.value}}: {{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="option.value as option in options | filter: $select.search">\n <div ng-bind-html="option.value + \': \' + (option.name | translate) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.general.options.$touched || form.general.$submitted) && form.general.options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START AUTH -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTH\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chanspy.auth"\n type="checkbox"\n name="auth"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END AUTH -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.general.password.$touched || form.general.$submitted) && form.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" data-ng-show="chanspy.auth" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="chanspy.password" data-ng-disabled="!chanspy.auth" data-ng-required="chanspy.auth"/>\n <span data-ng-show="(form.general.password.$touched || form.general.$submitted) && form.general.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START DESCRIPTION -->\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="chanspy.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/voice/context/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_CONTEXT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/context/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_CONTEXTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONTEXTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTEXT\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/context/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getContext()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/voice/contexts/list">{{ \'APPLICATION_CONTEXTS\' | translate }}</a>\n <i data-ng-show="context" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="context">\n <a href="#">{{context.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/context.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{context.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.contexts.view.settings\')}">\n <a data-ng-href="/channels/voice/contexts/view/{{context.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/context/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_CONTEXT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceContext()" novalidate>\n\n <!-- START NAME -->\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="context.name" required readonly/>\n <span class="help-block">\n {{ \'DESCRIPTION_CANT_EDIT_NAME\' | translate }}\n </span>\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="context.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/disposition/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-target"></i>\n <a href="/channels/voice/dispositions/list">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/disposition/list/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/moh/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_MOH_CLASS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" 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/voice/moh/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-music-tone"></i>\n <a href="#">{{ \'APPLICATION_MOHS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-music-tone font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MOHS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_MOH_CLASS\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/moh/view/view.addFiles.html",'\n<div class="row" data-ng-init="getSounds()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MOH\' | translate }} {{ \'APPLICATION_ADD_FILES\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="note note-warning" data-ng-hide="soundList.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <form name="forms.general" data-ng-submit="(item.sounds.length > 0) && addMohs()" data-ng-show="soundList.length" novalidate>\n\n <!-- START SOUNDS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sounds.$touched || forms.general.$submitted) && item.sounds.length == 0}">\n <label class="control-label">{{\'APPLICATION_SOUNDS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="item.sounds" theme="bootstrap" name="sounds" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.display_name}}</ui-select-match>\n <ui-select-choices repeat="sound.id as sound in soundList | filter: $select.search">\n {{sound.display_name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.sounds.$touched || forms.general.$submitted) && item.sounds.length == 0" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <input type="submit" class="btn green-haze" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/moh/view/view.audios.html",'<div ui-view class="profile-content">\n<div class="row" data-ng-init="getAudioFiles()">\n <div class="col-md-12">\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_AUDIOS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="audioFiles">\n <a class="btn green-jungle " href="/channels/voice/mohs/view/{{moh.id}}/add" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_ADD_FILES\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div class="note note-warning" data-ng-hide="audioFiles">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_FOLDER_DOES_NOT_EXIST\' | translate }}\n </p>\n </div>\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover" data-ng-show="audioFiles">\n <thead>\n <tr>\n <th>{{ \'APPLICATION_NAME\' | translate }}</th>\n <th width="30%">{{ \'APPLICATION_PREVIEW\' | translate }}</th>\n <th width="10%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody data-ng-model="audioFiles">\n <tr data-ng-repeat="audiofile in audioFiles">\n <td>{{audiofile}}</td>\n <td>\n <audio controls ng-src="{{getSecureSrc(audioSources[audiofile])}}" preload="none">\n Your browser does not support the audio tag.\n </audio></td>\n <td>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(audiofile,audiofile)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="audioFiles.length">\n <td colspan="3" style="text-align:center;">\n <i>{{ \'MESSAGE_NO_AUDIOFILES_AVAILABLE\' | translate }}</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/moh/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getMoh()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-music-tone"></i>\n <a href="/channels/voice/mohs/list">{{ \'APPLICATION_MOH_CLASS\' | translate }}</a>\n <i data-ng-show="moh" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="moh">\n <a href="#">{{moh.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/moh.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{moh.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.mohs.view.settings\')}">\n <a data-ng-href="/channels/voice/mohs/view/{{moh.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.voice.mohs.view.audios\') || $state.is(\'main.channels.voice.mohs.view.add\')}">\n <a data-ng-href="/channels/voice/mohs/view/{{moh.id}}/audios">\n <i class="icon-list"></i>\n {{ \'APPLICATION_AUDIOS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/moh/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_MOH_CLASS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceMoh()" novalidate>\n\n <!-- START PATH -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_PATH\' | translate}}</label>\n <input type="text" name="path" class="form-control" data-ng-model="moh.directory" disabled/>\n </div>\n <!-- END PATH -->\n\n <!-- START SORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sort.$touched || forms.general.$submitted) && forms.general.sort.$invalid}">\n <label class="control-label">{{\'APPLICATION_SORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="moh.sort" theme="bootstrap" name="sort" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n <ui-select-choices repeat="sort.value as sort in sortOptions | filter: $select.search">\n {{$translate.instant(sort.name)}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.sort.$touched || forms.general.$submitted) && forms.general.sort.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SORT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.description.$invalid}">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <textarea type="text" name="description" class="form-control" data-ng-model="moh.description"/></textarea>\n <span data-ng-show="forms.general.$submitted && forms.general.description.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.queue.name.$touched || form.queue.$submitted) && form.queue.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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.queue.name.$touched || form.queue.$submitted) && form.queue.name.$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.queue.name.$touched || form.queue.$submitted) && form.queue.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.queue.strategy.$touched || form.queue.$submitted) && form.queue.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'ringall\', \'leastrecent\', \'fewestcalls\', \'random\', \'rrmemory\', \'linear\', \'wrandom\', \'rrordered\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n </span>\n <span data-ng-show="(form.queue.strategy.$touched || form.queue.$submitted) && form.queue.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/voice/queue/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4><p>{{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}</p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/voice/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/voice/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.queues.view.settings\')}">\n <a data-ng-href="/channels/voice/queues/view/{{queue.name}}/settings"> <i class="icon-settings"></i> {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.voice.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/voice/queues/view/{{queue.name}}/agents"><i class="icon-people"></i>{{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_QUEUE_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_PERIODIC_ANNOUNCE\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();getMohs();getSounds();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceQueue()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'ringall\', \'leastrecent\', \'fewestcalls\', \'random\', \'rrmemory\', \'linear\', \'wrandom\', \'rrordered\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START MOH -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.musiconhold.$touched || forms.general.$submitted) && forms.general.musiconhold.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOH\' | translate}}</label>\n <ui-select data-ng-model="queue.musiconhold" name="musiconhold" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="musiconhold.name as musiconhold in voiceMohs | filter: $select.search">\n <div ng-bind-html="musiconhold.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_VOICE_MOH\' | translate }}\n </span>\n <span data-ng-show="(forms.general.musiconhold.$touched || forms.general.$submitted) && forms.general.musiconhold.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MOH -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="queue.timeout" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_TIMEOUT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START MAXLEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.maxlen.$touched || forms.general.$submitted) && forms.general.maxlen.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAXLEN\' | translate}}</label>\n <input type="number" min="0" name="maxlen" placeholder="{{\'APPLICATION_MAXLEN\' | translate}}" class="form-control" data-ng-model="queue.maxlen" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MAXLEN\' | translate }}\n </span>\n <span data-ng-show="(forms.general.maxlen.$touched || forms.general.$submitted) && forms.general.maxlen.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAXLEN -->\n\n <!-- START RETRY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.retry.$touched || forms.general.$submitted) && forms.general.retry.$invalid}">\n <label class="control-label">{{\'APPLICATION_RETRY\' | translate}}</label>\n <input type="number" min="0" name="retry" placeholder="{{\'APPLICATION_RETRY\' | translate}}" class="form-control" data-ng-model="queue.retry" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_RETRY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.retry.$touched || forms.general.$submitted) && forms.general.retry.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RETRY -->\n\n </div>\n <div class="col-md-6">\n <!-- START WRAPUPTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.wrapuptime.$touched || forms.general.$submitted) && forms.general.wrapuptime.$invalid}">\n <label class="control-label">{{\'APPLICATION_WRAPUPTIME\' | translate}}</label>\n <input type="number" min="0" name="wrapuptime" placeholder="{{\'APPLICATION_WRAPUPTIME\' | translate}}" class="form-control" data-ng-model="queue.wrapuptime" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_WRAPUPTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.general.wrapuptime.$touched || forms.general.$submitted) && forms.general.wrapuptime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WRAPUPTIME -->\n\n <!-- START WEIGHT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.weight.$touched || forms.general.$submitted) && forms.general.weight.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEIGHT\' | translate}}</label>\n <input type="number" min="0" name="weight" placeholder="{{\'APPLICATION_WEIGHT\' | translate}}" class="form-control" data-ng-model="queue.weight" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_WEIGHT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.weight.$touched || forms.general.$submitted) && forms.general.weight.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEIGHT -->\n\n <!-- START JOINEMPTY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.joinempty.$touched || forms.general.$submitted) && forms.general.joinempty.$invalid}">\n <label class="control-label">{{\'APPLICATION_JOINEMPTY\' | translate}}</label>\n <ui-select multiple data-ng-model="queue.joinempty" name="joinempty" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'strict\',\'loose\',\'paused\',\'penalty\',\'inuse\',\'ringing\',\'unavailable\',\'invalid\',\'unknown\',\'wrapup\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_JOINEMPTY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.joinempty.$touched || forms.general.$submitted) && forms.general.joinempty.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END JOINEMPTY -->\n\n <!-- START LEAVEWHENEMPTY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.leavewhenempty.$touched || forms.general.$submitted) && forms.general.leavewhenempty.$invalid}">\n <label class="control-label">{{\'APPLICATION_LEAVEWHENEMPTY\' | translate}}</label>\n <ui-select multiple data-ng-model="queue.leavewhenempty" name="leavewhenempty" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'strict\',\'loose\',\'paused\',\'penalty\',\'inuse\',\'ringing\',\'unavailable\',\'invalid\',\'unknown\',\'wrapup\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_LEAVEWHENEMPTY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.leavewhenempty.$touched || forms.general.$submitted) && forms.general.leavewhenempty.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END LEAVEWHENEMPTY -->\n\n <!-- START ANNOUNCE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.announce.$touched || forms.general.$submitted) && forms.general.announce.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.announce" name="announce" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in sounds | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.announce.$touched || forms.general.$submitted) && forms.general.announce.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE -->\n </div>\n </div>\n <!-- START DESCRIPTION -->\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="queue.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.announce" data-ng-submit="forms.announce.$valid && updateVoiceQueue()" novalidate>\n <div class="row">\n <div class="col-md-12">\n <!-- START PERIODIC_ANNOUNCE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.periodic_announce.$touched || forms.announce.$submitted) && forms.announce.periodic_announce.$invalid}">\n <label class="control-label">{{\'APPLICATION_PERIODIC_ANNOUNCE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="queue.periodic_announce" name="periodic_announce" theme="bootstrap" data-ng-disabled="!periodicAnnounces.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in periodicAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="periodicAnnounces.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.periodic_announce.$touched || forms.announce.$submitted) && forms.announce.periodic_announce.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PERIODIC_ANNOUNCE -->\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <p><h3>{{\'APPLICATION_SETTINGS\' | translate}}</h3></p>\n <!-- START ANNOUNCE_FREQUENCY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_frequency.$touched || forms.announce.$submitted) && forms.announce.announce_frequency.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_FREQUENCY\' | translate}}</label>\n <input type="number" min="0" name="announce_frequency" placeholder="{{\'APPLICATION_ANNOUNCE_FREQUENCY\' | translate}}" class="form-control" data-ng-model="queue.announce_frequency" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_FREQUENCY\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_frequency.$touched || forms.announce.$submitted) && forms.announce.announce_frequency.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_FREQUENCY -->\n\n <!-- START MIN_ANNOUNCE_FREQUENCY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.min_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.min_announce_frequency.$invalid}">\n <label class="control-label">{{\'APPLICATION_MIN_ANNOUNCE_FREQUENCY\' | translate}}</label>\n <input type="number" min="0" name="min_announce_frequency" placeholder="{{\'APPLICATION_MIN_ANNOUNCE_FREQUENCY\' | translate}}" class="form-control" data-ng-model="queue.min_announce_frequency" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MIN_ANNOUNCE_FREQUENCY\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.min_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.min_announce_frequency.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MIN_ANNOUNCE_FREQUENCY -->\n\n <!-- START PERIODIC_ANNOUNCE_FREQUENCY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.periodic_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.periodic_announce_frequency.$invalid}">\n <label class="control-label">{{\'APPLICATION_PERIODIC_ANNOUNCE_FREQUENCY\' | translate}}</label>\n <input type="number" min="0" name="periodic_announce_frequency" placeholder="{{\'APPLICATION_PERIODIC_ANNOUNCE_FREQUENCY\' | translate}}" class="form-control" data-ng-model="queue.periodic_announce_frequency"/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE_FREQUENCY\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.periodic_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.periodic_announce_frequency.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PERIODIC_ANNOUNCE_FREQUENCY -->\n\n <!-- START RANDOM_PERIODIC_ANNOUNCE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.random_periodic_announce.$touched || forms.announce.$submitted) && forms.announce.random_periodic_announce.$invalid}">\n <label class="control-label">{{\'APPLICATION_RANDOM_PERIODIC_ANNOUNCE\' | translate}}</label>\n <ui-select data-ng-model="queue.random_periodic_announce" name="random_periodic_announce" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_RANDOM_PERIODIC_ANNOUNCE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.random_periodic_announce.$touched || forms.announce.$submitted) && forms.announce.random_periodic_announce.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RANDOM_PERIODIC_ANNOUNCE -->\n\n <!-- START ANNOUNCE_HOLDTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_holdtime.$touched || forms.announce.$submitted) && forms.announce.announce_holdtime.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_HOLDTIME\' | translate}}</label>\n <ui-select data-ng-model="queue.announce_holdtime" name="announce_holdtime" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'once\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_HOLDTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_holdtime.$touched || forms.announce.$submitted) && forms.announce.announce_holdtime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_HOLDTIME -->\n\n <!-- START ANNOUNCE_POSITION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_position.$touched || forms.announce.$submitted) && forms.announce.announce_position.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_POSITION\' | translate}}</label>\n <ui-select data-ng-model="queue.announce_position" name="announce_position" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'limit\',\'more\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_position.$touched || forms.announce.$submitted) && forms.announce.announce_position.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_POSITION -->\n\n <!-- START ANNOUNCE_POSITION_LIMIT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_position_limit.$touched || forms.announce.$submitted) && forms.announce.announce_position_limit.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_POSITION_LIMIT\' | translate}}</label>\n <input type="number" min="0" name="announce_position_limit" placeholder="{{\'APPLICATION_ANNOUNCE_POSITION_LIMIT\' | translate}}" class="form-control" data-ng-model="queue.announce_position_limit"/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION_LIMIT\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_position_limit.$touched || forms.announce.$submitted) && forms.announce.announce_position_limit.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_POSITION_LIMIT -->\n\n <!-- START REPORTHOLDTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.reportholdtime.$touched || forms.announce.$submitted) && forms.announce.reportholdtime.$invalid}">\n <label class="control-label">{{\'APPLICATION_REPORTHOLDTIME\' | translate}}</label>\n <ui-select data-ng-model="queue.reportholdtime" name="reportholdtime" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_REPORTHOLDTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.reportholdtime.$touched || forms.announce.$submitted) && forms.announce.reportholdtime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORTHOLDTIME -->\n\n </div>\n <div class="col-md-6">\n <p><h3>{{\'APPLICATION_SOUNDS\' | translate}}</h3></p>\n <!-- START QUEUE_REPORTHOLD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_reporthold.$touched || forms.announce.$submitted) && forms.announce.queue_reporthold.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_REPORTHOLD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_reporthold" name="queue_reporthold" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_REPORTHOLD\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_reporthold.$touched || forms.announce.$submitted) && forms.announce.queue_reporthold.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_REPORTHOLD -->\n\n <!-- START QUEUE_YOUARENEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_youarenext.$touched || forms.announce.$submitted) && forms.announce.queue_youarenext.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_YOUARENEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_youarenext" name="queue_youarenext" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_YOUARENEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_youarenext.$touched || forms.announce.$submitted) && forms.announce.queue_youarenext.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_YOUARENEXT -->\n\n <!-- START QUEUE_THEREARE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_thereare.$touched || forms.announce.$submitted) && forms.announce.queue_thereare.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_THEREARE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_thereare" name="queue_thereare" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_THEREARE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_thereare.$touched || forms.announce.$submitted) && forms.announce.queue_thereare.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_THEREARE -->\n\n <!-- START QUEUE_CALLSWAITING -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_callswaiting.$touched || forms.announce.$submitted) && forms.announce.queue_callswaiting.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_CALLSWAITING\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_callswaiting" name="queue_callswaiting" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_CALLSWAITING\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_callswaiting.$touched || forms.announce.$submitted) && forms.announce.queue_callswaiting.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_CALLSWAITING -->\n\n <!-- START QUEUE_HOLDTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_holdtime.$touched || forms.announce.$submitted) && forms.announce.queue_holdtime.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_HOLDTIME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_holdtime" name="queue_holdtime" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_HOLDTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_holdtime.$touched || forms.announce.$submitted) && forms.announce.queue_holdtime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_HOLDTIME -->\n\n <!-- START QUEUE_MINUTES -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_minutes.$touched || forms.announce.$submitted) && forms.announce.queue_minutes.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_MINUTES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_minutes" name="queue_minutes" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MINUTES\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_minutes.$touched || forms.announce.$submitted) && forms.announce.queue_minutes.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_MINUTES -->\n\n <!-- START QUEUE_MINUTE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_minute.$touched || forms.announce.$submitted) && forms.announce.queue_minute.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_MINUTE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_minute" name="queue_minute" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MINUTE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_minute.$touched || forms.announce.$submitted) && forms.announce.queue_minute.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_MINUTE -->\n\n <!-- START QUEUE_SECONDS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_seconds.$touched || forms.announce.$submitted) && forms.announce.queue_seconds.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_SECONDS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_seconds" name="queue_seconds" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_SECONDS\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_seconds.$touched || forms.announce.$submitted) && forms.announce.queue_seconds.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_SECONDS -->\n\n <!-- START QUEUE_THANKYOU -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_thankyou.$touched || forms.announce.$submitted) && forms.announce.queue_thankyou.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_THANKYOU\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_thankyou" name="QUEUE_THANKYOU" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_THANKYOU\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_thankyou.$touched || forms.announce.$submitted) && forms.announce.queue_thankyou.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_THANKYOU -->\n\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.advanced" data-ng-submit="forms.advanced.$valid && updateVoiceQueue()" novalidate>\n\n <div class="row">\n <div class="col-md-6">\n\n <!-- START AUTOPAUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.autopause.$touched || forms.advanced.$submitted) && forms.advanced.autopause.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTOPAUSE\' | translate}}</label>\n <ui-select data-ng-model="queue.autopause" name="autopause" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'all\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_AUTOPAUSE\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.autopause.$touched || forms.advanced.$submitted) && forms.advanced.autopause.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUTOPAUSE -->\n\n <!-- START RINGINUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.ringinuse.$touched || forms.advanced.$submitted) && forms.advanced.ringinuse.$invalid}">\n <label class="control-label">{{\'APPLICATION_RINGINUSE\' | translate}}</label>\n <ui-select data-ng-model="queue.ringinuse" name="ringinuse" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_RINGINUSE\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.ringinuse.$touched || forms.advanced.$submitted) && forms.advanced.ringinuse.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RINGINUSE -->\n\n <!-- START MEMBER_DELAY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.memberdelay.$touched || forms.advanced.$submitted) && forms.advanced.memberdelay.$invalid}">\n <label class="control-label">{{\'APPLICATION_MEMBER_DELAY\' | translate}}</label>\n <input type="number" min="0" name="memberdelay" placeholder="{{\'APPLICATION_MEMBER_DELAY\' | translate}}" class="form-control" data-ng-model="queue.memberdelay" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MEMBER_DELAY\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.memberdelay.$touched || forms.advanced.$submitted) && forms.advanced.memberdelay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MEMBER_DELAY -->\n\n <!-- START ACW -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.acw.$touched || forms.advanced.$submitted) && forms.advanced.acw.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACW\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="queue.acw"\n type="checkbox"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n <span class="help-block">\n {{ \'DESCRIPTION_ACW\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.acw.$touched || forms.advanced.$submitted) && forms.advanced.acw.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_ACW\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ACW -->\n\n </div>\n <div class="col-md-6">\n\n <!-- START TIMEOUTRESTART -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.timeoutrestart.$touched || forms.advanced.$submitted) && forms.advanced.timeoutrestart.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUTRESTART\' | translate}}</label>\n <ui-select data-ng-model="queue.timeoutrestart" name="timeoutrestart" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_TIMEOUTRESTART\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.timeoutrestart.$touched || forms.advanced.$submitted) && forms.advanced.timeoutrestart.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUTRESTART -->\n\n <!-- START MONITOR_FORMAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.monitor_format.$touched || forms.advanced.$submitted) && forms.advanced.monitor_format.$invalid}">\n <label class="control-label">{{\'APPLICATION_MONITOR_FORMAT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.monitor_format" name="monitor_format" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="monFormat.value as monFormat in monitorFormats | filter: $select.search">\n <div ng-bind-html="monFormat.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MONITOR_FORMAT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.monitor_format.$touched || forms.advanced.$submitted) && forms.advanced.monitor_format.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MONITOR_FORMAT -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.context.$touched || forms.advanced.$submitted) && forms.advanced.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}</label>\n <ui-select data-ng-model="queue.context" name="context" theme="bootstrap">\n <ui-select-match allow-clear placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.context.$touched || forms.advanced.$submitted) && forms.advanced.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START ACW_TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.acwTimeout.$touched || forms.advanced.$submitted) && forms.advanced.acwTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACW_TIMEOUT\' | translate}}</label>\n <input type="number" min="0" name="acwTimeout" placeholder="{{\'APPLICATION_ACW_TIMEOUT\' | translate}}" class="form-control" data-ng-model="queue.acwTimeout" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_ACW_TIMEOUT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.acwTimeout.$touched || forms.advanced.$submitted) && forms.advanced.acwTimeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ACW_TIMEOUT -->\n\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/voice/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/voice/realtime/view/outbound/outbound.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initDials()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/parameter/parameter.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initParameters()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/queue/queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initQueues()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/telephone/telephone.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initTelephones()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/telephone/telephone.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="telephone.ipaddr" class="well">\n <div>{{telephone.ipaddr}}:{{telephone.port}}</div>\n <div>{{telephone.fullcontact}}</div>\n <div>{{telephone.useragent}}</div>\n <div>{{telephone.lastms}}</div>\n</div>\n<div data-ng-if="!telephone.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="/channels/voice/realtime/view/agents">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.agents\')}">\n <a href="/channels/voice/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.telephones\')}" data-ng-show="Auth.isAdmin()">\n <a href="/channels/voice/realtime/view/telephones">\n {{\'APPLICATION_TELEPHONES\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.queues\')}">\n <a href="/channels/voice/realtime/view/queues">\n {{\'APPLICATION_QUEUES\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.parameters\')}">\n <a href="/channels/voice/realtime/view/parameters">\n {{\'APPLICATION_QUEUE_PARAMETERS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.outbound\')}">\n <a href="/channels/voice/realtime/view/outbound">\n {{\'APPLICATION_OUTBOUND\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/recording/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-play"></i>\n <a href="#">{{ \'APPLICATION_RECORDINGS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-play font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_RECORDINGS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/inbound/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_ROUTE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.extension" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$invalid || existRoute}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="item.exten" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="(forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.extension.$invalid || existRoute">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n<!-- <pre>\n {{item | json}}\n</pre> -->\n'),a.put("app/channels/voice/route/inbound/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-call-in"></i>\n <a href="/channels/voice/routes/inbound/list">{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="#" data-ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/inbound/view/view.applications.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="selectedRows.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/channels/voice/routes/inbound/view/{{route.id}}/application" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_APPLICATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="showGrid" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-selection ui-grid-draggable-rows ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/route/inbound/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getRoute()">\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-reload"></i>\n <a href="/channels/voice/routes/inbound/list">{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n <i data-ng-show="route" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="route">\n <a href="#">{{route.exten}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/inboundroute.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{route.exten}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.routes.inbound.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/channels/voice/routes/inbound/view/\'+route.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.channels.voice.routes.inbound.view.applications') || $state.is('main.channels.voice.routes.inbound.view.application') || $state.is('main.channels.voice.routes.inbound.view.applications.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/channels/voice/routes/inbound/view/'+route.id+'/applications')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_ACTIONS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/channels/voice/route/inbound/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_INBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts()">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START DESCRIPTION -->\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="route.description"/></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/route/internal/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_ROUTE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.extension" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$invalid || existRoute}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="item.exten" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="(forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.extension.$invalid || existRoute">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n<!-- <pre>\n {{item | json}}\n</pre> -->\n'),a.put("app/channels/voice/route/internal/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-reload"></i>\n <a href="/voice/routes/internal/list">{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="#" data-ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/internal/view/view.applications.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="selectedRows.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/channels/voice/routes/internal/view/{{route.id}}/application" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_APPLICATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="showGrid" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-selection ui-grid-draggable-rows ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/route/internal/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getRoute()">\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-reload"></i>\n <a href="/channels/voice/routes/internal/list">{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n <i data-ng-show="route" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="route">\n <a href="#">{{route.exten}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/internalroute.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{route.exten}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.routes.internal.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/channels/voice/routes/internal/view/\'+route.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.channels.voice.routes.internal.view.applications') || $state.is('main.channels.voice.routes.internal.view.application') || $state.is('main.channels.voice.routes.internal.view.applications.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/channels/voice/routes/internal/view/'+route.id+'/applications')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_ACTIONS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- <pre>\n {{route | json}}\n </pre> -->\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/channels/voice/route/internal/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_INTERNAL\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts()">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START DESCRIPTION -->\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="route.description"/></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/channels/voice/route/outbound/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_ROUTE\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="getTags()">\n <form name="forms.extension" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$invalid || existRoute}">\n <label class="control-label">{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}" class="form-control" data-ng-model="item.exten" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="(forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START TAG -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.tag.$touched || forms.extension.$submitted) && forms.extension.tag.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TAG\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.tag" name="tag" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_TAG\' | translate }}" data-ng-init="item.tag = \'--\'">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="tag.name as tag in tags | filter: $select.search">\n <div ng-bind-html="tag.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.extension.tag.$touched || forms.extension.$submitted) && forms.extension.tag.$invalid && forms.extension.tag.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TAG -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.extension.$invalid || existRoute">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n<!-- <pre>\n {{item | json}}\n</pre> -->\n'),a.put("app/channels/voice/route/outbound/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-call-out"></i>\n <a href="/channels/voice/routes/outbound/list">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="#" data-ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/outbound/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getRoute()">\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-call-out"></i>\n <a href="/channels/voice/routes/outbound/list">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n <i data-ng-show="route" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="route">\n <a href="#">{{route.exten}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/outboundroute.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{route.exten}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.routes.outbound.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/channels/voice/routes/outbound/view/\'+route.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.channels.voice.routes.outbound.view.routes') || $state.is('main.channels.voice.routes.outbound.view.route') || $state.is('main.channels.voice.routes.outbound.view.routes.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/channels/voice/routes/outbound/view/'+route.id+'/routes')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_ACTIONS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- <pre>\n {{route | json}}\n </pre> -->\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/channels/voice/route/outbound/view/view.route.html",'<div class="row" data-ng-init="initApplication(true);getIntervals();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_NEW_ROUTE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wizard on-finish="addApplication()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="main.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="app in applications | filter: $select.search">\n <div ng-bind-html="app.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid && forms.info.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'outboundDial\'" lazy-render duration="1">\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CALLERID\' | translate }}</label>\n <input type="text" name="callerID" pattern=\'^"[a-zA-Z0-9_.-]*" <[a-zA-Z0-9_.-]*>\' placeholder=\'"name" <number>\' class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }}\n </span>\n <span data-ng-show="(forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PREFIX\' | translate }}</label>\n <input type="text" name="prefix" placeholder="{{ \'APPLICATION_PREFIX\' | translate }}" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n </span>\n <span data-ng-show="(forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[4]" data-ng-init="application.appdata[4] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[5]" data-ng-init="application.appdata[5] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="application.app" data-ng-init="application.appdata[0] = null" required>\n <span data-ng-show="(forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid && forms.info.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{$translate.instant(intType.name)}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/outbound/view/view.routeSettings.html",'<div class="row" data-ng-init="initApplication();getApplication();getIntervals();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="updateRoute(\'routes\')">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'outboundDial\'" lazy-render duration="1">\n\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CALLERID\' | translate }}</label>\n <input type="text" name="callerID" pattern=\'^"[a-zA-Z0-9_.-]*" <[a-zA-Z0-9_.-]*>\' placeholder=\'"name" <number>\' class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n </span>\n <span data-ng-show="(forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PREFIX\' | translate }}</label>\n <input type="text" name="prefix" placeholder="{{ \'APPLICATION_PREFIX\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n </span>\n <span data-ng-show="(forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[4]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[5]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].app" required>\n <span data-ng-show="(forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid && forms.info.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]">\n <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{intType.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/channels/voice/route/outbound/view/view.routes.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="selectedRows.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/channels/voice/routes/outbound/view/{{route.id}}/route" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="showGrid" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-selection ui-grid-draggable-rows ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/route/outbound/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_OUTBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();getTags();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n <label class="control-label">{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START CUTDIGITS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CUTDIGITS\' | translate}}</label>\n <input type="text" pattern="[0-9]+" class="form-control" name="cutdigits" data-ng-model="route.cutdigits">\n <span class="help-block">\n </span>\n </div>\n <!-- END CUTDIGITS -->\n\n <!-- START TAG -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.tag.$touched || forms.general.$submitted) && forms.general.tag.$invalid}">\n <label class="control-label">{{\'APPLICATION_TAG\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.tag" name="tag" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="tag.name as tag in tags | filter: $select.search">\n <div ng-bind-html="tag.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.tag.$touched || forms.general.$submitted) && forms.general.tag.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TAG -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START RECORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.record.$touched || forms.general.$submitted) && forms.general.record.$invalid}">\n <label class="control-label">{{\'APPLICATION_RECORDING\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="route.record"\n type="checkbox"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n <span data-ng-show="(forms.general.record.$touched || forms.general.$submitted) && forms.general.record.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RECORD -->\n\n <!-- START DESCRIPTION -->\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="route.description"/></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/route/view.application.html",'\n<div class="row" data-ng-init="initApplication(true); getIntervals();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_NEW_APPLICATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="addApplication()">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="main.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="app in $application.applications| filter: $select.search">\n <div ng-bind-html="app.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div id="Queue" class="app-settings" ng-slide-down="main.app.value == \'Queue\'" lazy-render duration="1">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="queue" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in items | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}</label>\n <ui-select data-ng-model="application.appdata[3]" data-ng-init="application.appdata[3] = null" name="audiofile" theme="bootstrap" data-ng-disabled="!items2.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items2 | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items2.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[4]" data-ng-init="application.appdata[4] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n <div id="Playback" class="app-settings" ng-slide-down="main.app.value == \'Playback\'" lazy-render duration="1">\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="audiofile" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && !main.app.type" lazy-render duration="1">\n <!-- START INTERFACE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}/{{ \'APPLICATION_IDENTIFIER\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="interface" placeholder="SIP/0000" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" required>\n <span data-ng-show="(forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid && forms.settings.interface.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERFACE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="internalDial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'internalDial\'" lazy-render duration="1">\n <!-- START INTERNAL DIAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$invalid}">\n <label class="control-label">{{\'APPLICATION_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="user" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="user.internal as user in items | filter: $select.search">\n <div ng-bind-html="user.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL DIAL -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'externalDial\'" lazy-render duration="1">\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START PHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[1]" data-ng-init="application.appdata[1] = null" required>\n <span data-ng-show="(forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.phone.$invalid && forms.settings.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[4]" data-ng-init="application.appdata[4] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="AGI" class="app-settings" ng-slide-down="main.app.value == \'AGI\'" lazy-render duration="1">\n <!-- START PROJECT -->\n <input type="hidden" name="url" placeholder="{{ \'APPLICATION_URL\' | translate }}" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = \'agi://127.0.0.1/square\'">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$invalid}">\n <label class="control-label">{{\'APPLICATION_PROJECT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null" name="project" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="project.name as project in items | filter: $select.search">\n <div ng-bind-html="project.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_PROJECTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/square/projects/list">{{\'APPLICATION_PROJECTS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PROJECT -->\n\n </div>\n <div id="Goto" class="app-settings" ng-slide-down="main.app.value == \'Goto\'" lazy-render duration="1">\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in items | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START EXTENSION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXTENSION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="extension" placeholder="" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null" required>\n <span data-ng-show="(forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid && forms.settings.extension.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTENSION -->\n\n <!-- START PRIORITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PRIORITY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" pattern="[0-9]+" name="priority" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null" required>\n <span data-ng-show="(forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY -->\n </div>\n <div id="Hangup" class="app-settings" ng-slide-down="main.app.value == \'Hangup\'" lazy-render duration="1">\n <!-- START HANGUPCAUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$invalid}">\n <label class="control-label">{{\'APPLICATION_HANGUP_CAUSE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" theme="bootstrap" name="hangupCause" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="hangupCause.value as hangupCause in $application.hangupCauses | filter: $select.search">\n <div ng-bind-html="hangupCause.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HANGUPCAUSE -->\n </div>\n <div id="Set" class="app-settings" ng-slide-down="main.app.value == \'Set\'" lazy-render duration="1">\n <!-- START VARIABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VARIABLE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="variable" placeholder="" class="form-control" data-ng-model="application.variable" data-ng-init="application.appdata[0] = null" data-ng-change="updateSetAppdata()" required>\n <span data-ng-show="(forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid && forms.settings.variable.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARIABLE -->\n\n <!-- START VARVALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VALUE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="varvalue" placeholder="" class="form-control" data-ng-model="application.value" data-ng-change="updateSetAppdata()" required>\n <span data-ng-show="(forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid && forms.settings.varvalue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARVALUE -->\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="application.app" required>\n <span data-ng-show="(forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid && forms.settings.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null">\n <span data-ng-show="(forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid && forms.settings.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <div id="Voicemail" class="app-settings" ng-slide-down="main.app.value == \'Voicemail\'" lazy-render duration="1">\n <!-- START VOICEMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MAILBOX\' | translate }}@{{ \'APPLICATION_CONTEXT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" theme="bootstrap" name="voicemail" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.mailbox}}</ui-select-match>\n <ui-select-choices repeat="mailbox.mailbox+\'@\'+mailbox.context as mailbox in items | filter: $select.search">\n <div ng-bind-html="mailbox.mailbox | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_VOICEMAILS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/voicemails/list">{{\'APPLICATION_VOICEMAILS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid && forms.settings.voicemail.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VOICEMAIL -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n <div ng-bind-html="intType.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<!-- <pre>\n {{application | json}}\n</pre> -->\n<!-- <pre>\n {{interval | json}}\n</pre> -->\n'), -a.put("app/channels/voice/route/view.applicationSettings.html",'\n<div class="row" data-ng-init="initApplication();getIntervals();getApplication();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="updateRoute(\'applications\')">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <div id="Queue" class="app-settings" ng-slide-down="main.app.value == \'Queue\'" lazy-render duration="1">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="queue" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in items | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}</label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[3]" name="audiofile" theme="bootstrap" data-ng-disabled="!items2.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items2 | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items2.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[4]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n <div id="Playback" class="app-settings" ng-slide-down="main.app.value == \'Playback\'" lazy-render duration="1">\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="audiofile" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && !main.app.type" lazy-render duration="1">\n <!-- START INTERFACE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}/{{ \'APPLICATION_IDENTIFIER\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="interface" placeholder="SIP/0000" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]" required>\n <span data-ng-show="(forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid && forms.settings.interface.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERFACE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="internalDial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'internalDial\'" lazy-render duration="1">\n <!-- START INTERNAL DIAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$invalid}">\n <label class="control-label">{{\'APPLICATION_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="user" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="user.internal as user in items | filter: $select.search">\n <div ng-bind-html="user.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL DIAL -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'externalDial\'" lazy-render duration="1">\n\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START PHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.phone.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PHONE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" pattern="[0-9]+" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.phone.$invalid && forms.settings.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[4]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="AGI" class="app-settings" ng-slide-down="main.app.value == \'AGI\'" lazy-render duration="1">\n <!-- START PROJECT -->\n <input type="hidden" name="url" placeholder="{{ \'APPLICATION_URL\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]" data-ng-init="route.Applications[selectedApp].appdata[0] = \'agi://127.0.0.1/square\'">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$invalid}">\n <label class="control-label">{{\'APPLICATION_PROJECT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[1]" name="project" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="project.name as project in items | filter: $select.search">\n <div ng-bind-html="project.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_PROJECTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/square/projects/list">{{\'APPLICATION_PROJECTS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PROJECT -->\n\n <!-- START URL -->\n <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid}">\n <label class="control-label">{{ \'APPLICATION_URL\' | translate }}</label>\n <div class="input-group">\n <input type="text" name="url" placeholder="agi://127.0.0.1/square" class="form-control" data-ng-model="application.url" data-ng-disabled="!application.urlEnabled" data-ng-required="application.urlEnabled" rpattern="/^agi:\\/\\/(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\/square$/">\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="application.urlEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$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="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div> -->\n <!-- END URL -->\n\n </div>\n <div id="Goto" class="app-settings" ng-slide-down="main.app.value == \'Goto\'" lazy-render duration="1">\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in items | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START EXTENSION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXTENSION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="extension" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]" required>\n <span data-ng-show="(forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid && forms.settings.extension.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTENSION -->\n\n <!-- START PRIORITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PRIORITY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" pattern="[0-9]+" name="priority" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]" required>\n <span data-ng-show="(forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY -->\n </div>\n <div id="Hangup" class="app-settings" ng-slide-down="main.app.value == \'Hangup\'" lazy-render duration="1">\n <!-- START HANGUPCAUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$invalid}">\n <label class="control-label">{{\'APPLICATION_HANGUP_CAUSE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" theme="bootstrap" name="hangupCause" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="hangupCause.value as hangupCause in $application.hangupCauses | filter: $select.search">\n {{hangupCause.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HANGUPCAUSE -->\n </div>\n <div id="Set" class="app-settings" ng-slide-down="main.app.value == \'Set\'" lazy-render duration="1">\n <!-- START VARIABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VARIABLE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="variable" placeholder="" class="form-control" data-ng-model="application.variable" data-ng-change="updateSetAppdataSettings()" required>\n <span data-ng-show="(forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid && forms.settings.variable.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARIABLE -->\n\n <!-- START VARVALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VALUE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="varvalue" placeholder="" class="form-control" data-ng-model="application.value" data-ng-change="updateSetAppdataSettings()" required>\n <span data-ng-show="(forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid && forms.settings.varvalue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARVALUE -->\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].app" required>\n <span data-ng-show="(forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid && forms.settings.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]">\n <span data-ng-show="(forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid && forms.settings.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <div id="Voicemail" class="app-settings" ng-slide-down="main.app.value == \'Voicemail\'" lazy-render duration="1">\n <!-- START VOICEMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MAILBOX\' | translate }}@{{ \'APPLICATION_CONTEXT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" theme="bootstrap" name="voicemail" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.mailbox}}</ui-select-match>\n <ui-select-choices repeat="mailbox.mailbox+\'@\'+mailbox.context as mailbox in items | filter: $select.search">\n <div ng-bind-html="mailbox.mailbox | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_VOICEMAILS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/voicemails/list">{{\'APPLICATION_VOICEMAILS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid && forms.settings.voicemail.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VOICEMAIL -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{intType.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<!-- <pre>\n {{application | json}}\n</pre> -->\n'), -a.put("app/channels/voice/voicemail/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope-letter"></i>\n <a href="#">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-envelope-letter font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/channels/voice/voicemails/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_VOICEMAIL\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/voicemail/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getVoicemail()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope-letter"></i>\n <a href="/channels/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n <i data-ng-show="voicemail" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="voicemail">\n <a href="#">{{voicemail.mailbox}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/voicemail.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{voicemail.mailbox}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.voicemails.view.settings\')}">\n <a data-ng-href="/channels/voice/voicemails/view/{{voicemail.uniqueid}}/settings"><i class="icon-settings"></i>{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.voice.voicemails.view.messages\')}">\n <a data-ng-href="/channels/voice/voicemails/view/{{voicemail.uniqueid}}/messages"><i class="icon-speech"></i>{{ \'APPLICATION_MESSAGES\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/voicemail/view/view.messages.html",'<div class="row" data-ng-init="getMessages()">\n <div class="col-md-12">\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_MESSAGES\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns data-ng-if="gridOptions" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/voicemail/view/view.settings.html",'<div class="row" data-ng-init="getContexts()">\n <div class="col-md-12">\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_VOICEMAIL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <!-- <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li> -->\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceVoicemail()" novalidate>\n\n <!-- START FULLNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="voicemail.fullname" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.fullname.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FULLNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="voicemail.email" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.host.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}</label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="voicemail.password" />\n <span data-ng-show="forms.general.$submitted && forms.general.password.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONFIRM PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}</label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="voicemail.rpassword" nx-equal="voicemail.password"/>\n <span data-ng-show="forms.general.$submitted && (forms.general.rpassword.$invalid || forms.general.rpassword.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END CONFIRM PASSWORD -->\n\n <!-- START MAILBOX -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.mailbox.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="voicemail.mailbox" required readonly/>\n <span data-ng-show="forms.general.$submitted && forms.general.mailbox.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAILBOX -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="voicemail.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- ADVANCED TAB -->\n <!-- <div class="tab-pane" id="tab_1_2">\n <form name="forms.advanced" data-ng-submit="updateVoiceVoicemail()" novalidate>\n\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div> -->\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/voicemail/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard()">\n <!-- BEGIN PAGE HEADER-->\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope-letter"></i>\n <a href="/channels/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeMailbox()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-envelope-letter font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VOICEMAIL\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(form.general.$valid)">\n <form name="form.general" novalidate>\n\n <!-- START FULLNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="form.general.$submitted && form.general.fullname.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FULLNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required/>\n <span data-ng-show="form.general.$submitted && form.general.host.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="form.general.$submitted && form.general.password.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONFIRM PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="form.general.$submitted && (form.general.rpassword.$invalid || form.general.rpassword.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END CONFIRM PASSWORD -->\n\n <!-- START MAILBOX -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.mailbox.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="item.mailbox" required readonly/>\n <span data-ng-show="form.general.$submitted && form.general.mailbox.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAILBOX -->\n\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/contactmanager/company/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_COMPANY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.company" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.name.$touched || forms.company.$submitted) && forms.company.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="(forms.cmopany.name.$touched || forms.company.$submitted) && forms.company.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.vat.$touched || forms.company.$submitted) && forms.company.vat.$invalid}">\n <label class="control-label">{{\'APPLICATION_VAT\' | translate}}</label>\n <input type="text" name="vat" placeholder="{{\'APPLICATION_VAT\' | translate}}" class="form-control" data-ng-model="item.vat"/>\n <span data-ng-show="(forms.cmopany.vat.$touched || forms.company.$submitted) && forms.company.vat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VAT -->\n\n <!-- START COMPANYID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.companyId.$touched || forms.company.$submitted) && forms.company.companyId.$invalid}">\n <label class="control-label">{{\'APPLICATION_COMPANY_ID\' | translate}}</label>\n <input type="text" name="companyId" placeholder="{{\'APPLICATION_COMPANY_ID\' | translate}}" class="form-control" data-ng-model="item.companyId"/>\n <span data-ng-show="(forms.cmopany.companyId.$touched || forms.company.$submitted) && forms.company.companyId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COMPANYID -->\n\n <!-- START WEBSITE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.website.$touched || forms.company.$submitted) && forms.company.website.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEBSITE\' | translate}}</label>\n <input type="text" name="website" placeholder="{{\'APPLICATION_WEBSITE\' | translate}}" class="form-control" data-ng-model="item.website"/>\n <span data-ng-show="(forms.cmopany.website.$touched || forms.company.$submitted) && forms.company.website.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEBSITE -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.email.$touched || forms.company.$submitted) && forms.company.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email"/>\n <span data-ng-show="(forms.cmopany.email.$touched || forms.company.$submitted) && forms.company.email.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n </div>\n <div class="col-md-6">\n <!-- START PHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.phone.$touched || forms.company.$submitted) && forms.company.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone"/>\n <span data-ng-show="(forms.cmopany.phone.$touched || forms.company.$submitted) && forms.company.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START FAX -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.fax.$touched || forms.company.$submitted) && forms.company.fax.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n <input type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="item.fax"/>\n <span data-ng-show="(forms.cmopany.fax.$touched || forms.company.$submitted) && forms.company.fax.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FAX -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.type.$touched || forms.company.$submitted) && forms.company.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <input type="text" name="type" placeholder="{{\'APPLICATION_TYPE\' | translate}}" class="form-control" data-ng-model="item.type"/>\n <span data-ng-show="(forms.cmopany.type.$touched || forms.company.$submitted) && forms.company.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DOMAIN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.emailDomain.$touched || forms.company.$submitted) && forms.company.emailDomain.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}</label>\n <input type="text" name="domain" placeholder="{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}" class="form-control" data-ng-model="item.emailDomain"/>\n <span data-ng-show="(forms.cmopany.emailDomain.$touched || forms.company.$submitted) && forms.company.emailDomain.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DOMAIN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n </div>\n</div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.company.$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/company/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-briefcase"></i>\n <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-briefcase font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_COMPANIES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_COMPANY\' | translate }}\n </button>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getCompany()">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-briefcase"></i>\n <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n <i data-ng-show="company" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="company">\n <a href="#">{{company.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/company.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{company.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.contactmanager.companies.view.settings\')}">\n <a data-ng-href="/contactmanager/companies/view/{{company.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_COMPANY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADDRESS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_SHIPMENT_ADDRESS\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateCompany()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="company.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.vat.$touched || forms.general.$submitted) && forms.general.vat.$invalid}">\n <label class="control-label">{{\'APPLICATION_VAT\' | translate}}</label>\n <input type="text" name="vat" placeholder="{{\'APPLICATION_VAT\' | translate}}" class="form-control" data-ng-model="company.vat"/>\n <span data-ng-show="(forms.cmopany.vat.$touched || forms.general.$submitted) && forms.general.vat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VAT -->\n\n <!-- START COMPANYID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.companyId.$touched || forms.general.$submitted) && forms.general.companyId.$invalid}">\n <label class="control-label">{{\'APPLICATION_COMPANY_ID\' | translate}}</label>\n <input type="text" name="companyId" placeholder="{{\'APPLICATION_COMPANY_ID\' | translate}}" class="form-control" data-ng-model="company.companyId"/>\n <span data-ng-show="(forms.cmopany.companyId.$touched || forms.general.$submitted) && forms.general.companyId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COMPANYID -->\n\n <!-- START WEBSITE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.website.$touched || forms.general.$submitted) && forms.general.website.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEBSITE\' | translate}}</label>\n <input type="text" name="website" placeholder="{{\'APPLICATION_WEBSITE\' | translate}}" class="form-control" data-ng-model="company.website"/>\n <span data-ng-show="(forms.cmopany.website.$touched || forms.general.$submitted) && forms.general.website.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEBSITE -->\n\n <!-- START EMAIL -->\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 type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="company.email"/>\n <span data-ng-show="(forms.cmopany.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 <!-- END EMAIL -->\n </div>\n <div class="col-md-6">\n <!-- START PHONE -->\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 type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="company.phone"/>\n <span data-ng-show="(forms.cmopany.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 <!-- END PHONE -->\n\n <!-- START FAX -->\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 type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="company.fax"/>\n <span data-ng-show="(forms.cmopany.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 <!-- END FAX -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <input type="text" name="type" placeholder="{{\'APPLICATION_TYPE\' | translate}}" class="form-control" data-ng-model="company.type"/>\n <span data-ng-show="(forms.cmopany.type.$touched || forms.general.$submitted) && forms.general.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DOMAIN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.emailDomain.$touched || forms.general.$submitted) && forms.general.emailDomain.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}</label>\n <input type="text" name="domain" placeholder="{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}" class="form-control" data-ng-model="company.emailDomain"/>\n <span data-ng-show="(forms.cmopany.emailDomain.$touched || forms.general.$submitted) && forms.general.emailDomain.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DOMAIN -->\n\n <!-- START DESCRIPTION -->\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="company.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n </div>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.address" data-ng-submit="forms.address.$valid && updateCompany()" novalidate>\n <!-- START STREET -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.street.$touched || forms.address.$submitted) && forms.address.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="company.street"/>\n <span data-ng-show="(forms.address.street.$touched || forms.address.$submitted) && forms.address.street.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.postalCode.$touched || forms.address.$submitted) && forms.address.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="company.postalCode"/>\n <span data-ng-show="(forms.address.postalCode.$touched || forms.address.$submitted) && forms.address.postalCode.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.city.$touched || forms.address.$submitted) && forms.address.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="company.city"/>\n <span data-ng-show="(forms.address.city.$touched || forms.address.$submitted) && forms.address.city.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.country.$touched || forms.address.$submitted) && forms.address.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="company.country"/>\n <span data-ng-show="(forms.address.country.$touched || forms.address.$submitted) && forms.address.country.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COUNTRY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.shipmentAddress" data-ng-submit="forms.shipmentAddress.$valid && updateCompany()" novalidate>\n <!-- START STREET -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sStreet.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sStreet.$invalid}">\n <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n <input type="text" name="sStreet" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.sStreet"/>\n <span data-ng-show="(forms.shipmentAddress.sStreet.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sStreet.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sPostalCode.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sPostalCode.$invalid}">\n <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n <input type="text" name="sPostalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.sPostalCode"/>\n <span data-ng-show="(forms.shipmentAddress.sPostalCode.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sPostalCode.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sCity.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCity.$invalid}">\n <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n <input type="text" name="sCity" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.sCity"/>\n <span data-ng-show="(forms.shipmentAddress.sCity.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCity.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sCountry.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCountry.$invalid}">\n <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n <input type="text" name="sCountry" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.sCountry"/>\n <span data-ng-show="(forms.shipmentAddress.sCountry.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCountry.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COUNTRY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/contactmanager/contact/list/import.modal.html",'<div class="modal-header" data-ng-init="getLists()">\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 <!-- START LIST -->\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 <!-- END LIST -->\n\n <!-- START FIRSTNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.csv.firstName.$invalid && forms.csv.$submitted}">\n <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}</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.$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 <!-- END FIRSTNAME -->\n\n <!-- START LASTNAME -->\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 <!-- END LASTNAME -->\n\n <!-- START STREET -->\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 <!-- END STREET -->\n\n <!-- START POSTALCODE -->\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 <!-- END POSTALCODE -->\n\n <!-- START CITY -->\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 <!-- END CITY -->\n\n <!-- START PHONE -->\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 <!-- END PHONE -->\n\n <!-- START MOBILE -->\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 <!-- END MOBILE -->\n\n </div>\n <div class="col-md-6">\n\n <!-- START COUNTRY -->\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 <!-- END COUNTRY -->\n\n <!-- START DATEOFBIRTH -->\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 <!-- END DATEOFBIRTH -->\n\n <!-- START TAGS -->\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 <!-- END TAGS -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <!-- START FAX -->\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 <!-- END FAX -->\n\n <!-- START EMAIL -->\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 <!-- END EMAIL -->\n\n <!-- START COMPANY -->\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 <!-- END COMPANY -->\n\n </div>\n </div>\n\n <!-- START CUSTOMFIELDS -->\n <div data-ng-repeat="customField in customFields">\n <div class="form-group" data-ng-class="{\'has-error\': forms.csv[customField.name].$invalid && forms.csv.$submitted}">\n <label class="control-label">{{customField.alias}}</label>\n <ui-select data-ng-model="item[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\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].$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 </div>\n <!-- END CUSTOMFIELDS -->\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 </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="forms.csv.$invalid || !forms.csv.firstName || 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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-users"></i>\n <a href="/contactmanager/contacts/list">{{ \'APPLICATION_CONTACTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONTACTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length && !Auth.isAgent()">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle" data-ng-click="newContact();">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n <span class="btn default btn-file" data-ng-if="!Auth.isAgent()">\n <span class="fileinput-new">\n <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n <input type="file" accept=".csv" nv-file-select="" uploader="uploader"/>\n </span>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/list/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_LIST\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.list" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.list.name.$touched || forms.list.$submitted) && forms.list.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="(forms.list.name.$touched || forms.list.$submitted) && forms.list.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.list.$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/list/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-tty"></i>\n <a href="/contactmanager/lists/list">{{ \'APPLICATION_LISTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-tty font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LISTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_LIST\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/list/view/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START TYPE -->\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 <!-- END TYPE -->\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 <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/list/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/contactmanager/list/view/view.customFieldSettings.html",'<div class="row" data-ng-init="getCustomField()">\n <div class="col-md-12">\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_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- GENERAL TAB -->\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateCustomField()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="customField.alias" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <div ng-slide-down="customField.type == \'select\'" lazy-render duration="1" class="mbottom20">\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 <!-- START DESCRIPTION -->\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="customField.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/contactmanager/list/view/view.customFields.html",'<div ui-view class="profile-content">\n<div class="row" data-ng-init="initCustomFields()">\n <div class="col-md-12">\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_CUSTOM_FIELDS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'), -a.put("app/contactmanager/list/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getList()">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-tty"></i>\n <a href="/contactmanager/lists/list">{{ \'APPLICATION_LISTS\' | translate }}</a>\n <i data-ng-show="list" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="list">\n <a href="#">{{list.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/list.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{list.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.contactmanager.lists.view.settings\')}">\n <a data-ng-href="/contactmanager/lists/view/{{list.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-if="!list.defaultEntry" data-ng-class="{active: $state.is(\'main.contactmanager.lists.view.agents\')}">\n <a data-ng-href="/contactmanager/lists/view/{{list.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.contactmanager.lists.view.customfields\')}">\n <a data-ng-href="/contactmanager/lists/view/{{list.id}}/customfields">\n <i class="icon-pencil"></i>\n {{ \'APPLICATION_CUSTOM_FIELDS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/list/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateList()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="list.name" data-ng-disabled="list.defaultEntry" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="list.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\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" data-ng-init="initWidget(\'abandoned\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{abandoned || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ABANDONED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\n</div>\n'),a.put("app/dashboard/dashboard.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="navbar-header">\n <button type="button" class="navbar-toggle" data-ng-init="navCollapsed = true" data-ng-click="navCollapsed = !navCollapsed">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n </div>\n\n <!-- Collect the nav links, forms, and other content for toggling -->\n <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n <ul class="nav navbar-nav">\n <li data-ng-class="{active: $state.is(\'main.dashboard.voice\')}">\n <a href="/dashboard/voice">\n <b class=\'icon-earphones-alt\'></b>\n {{ \'APPLICATION_VOICE\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.chat\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(8)) && license.chat)">\n <a href="{{license.chat ? \'/dashboard/chat\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.chat}">\n <b class=\'icon-bubble\'></b>\n {{ \'APPLICATION_CHAT\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.mail\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(9)) && license.mail)">\n <a href="{{license.mail ? \'/dashboard/mail\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.mail}">\n <b class=\'icon-envelope\'></b>\n {{ \'APPLICATION_MAIL\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.fax\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(10)) && license.fax)">\n <a href="{{license.fax ? \'/dashboard/fax\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.fax}">\n <b class=\'icon-paper-plane\'></b>\n {{ \'APPLICATION_FAX\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.sms\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(11)) && license.messaging)">\n <a href="{{license.messaging ? \'/dashboard/sms\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.messaging}">\n <b class=\'glyphicon glyphicon-comment\'></b>\n {{ \'APPLICATION_SMS\' | translate }}\n </a>\n </li>\n </ul>\n </div>\n <!-- /.navbar-collapse -->\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\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="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\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" data-ng-init="initWidget(\'waiting\')">\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 {{waiting || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_WAITING\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'active\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="fa fa-play"></i>\n </div>\n <div class="details">\n <div class="number">\n {{active || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ACTIVE\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'answered\')">\n <div class="dashboard-stat green-haze">\n <div class="visual">\n <i class="icon-like"></i>\n </div>\n <div class="details">\n <div class="number">\n {{answered || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWERED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'abandoned\')">\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 {{abandoned || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ABANDONED\' | translate}}\n </div>\n </div>\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" data-ng-init="initWidget(\'avganswertime\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-clock"></i>\n </div>\n <div class="details">\n <div class="number">\n {{avganswertime || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_AVG_ANSWER_TIME\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'avgtalktime\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="icon-clock"></i>\n </div>\n <div class="details">\n <div class="number">\n {{avgtalktime || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_AVG_TALK_TIME\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'answerrate\')">\n <div class="dashboard-stat green-haze">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{answerrate || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWER_RATE\' | translate}} (%)\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'abandonrate\')">\n <div class="dashboard-stat red-intense">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{abandonrate || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ABANDON_RATE\' | translate}} (%)\n </div>\n </div>\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" data-ng-init="initWidget(\'totaloffered\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-info"></i>\n </div>\n <div class="details">\n <div class="number">\n {{totaloffered || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_TOTAL_OFFERED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="icon-info"></i>\n </div>\n <div class="details">\n <div class="number">\n {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\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" data-ng-init="initWidget(\'manualoutbound\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-call-out"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutbound || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_MANUAL_OUTBOUND\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'manualoutboundglobalduration\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="icon-clock"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundglobalduration || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_GLOBAL_DURATION\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'manualoutboundanswered\')">\n <div class="dashboard-stat green-haze">\n <div class="visual">\n <i class="icon-like"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundanswered || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWERED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'manualoutboundavgduration\')">\n <div class="dashboard-stat red-intense">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundavgduration || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_AVG_DURATION\' | translate}} (%)\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="row">\n <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" data-ng-init="initWidget(\'manualoutboundanswerrate\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundanswerrate || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWER_RATE\' | translate}} (%)\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </fieldset>\n </div>\n</div>\n'), -a.put("app/desk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-handbag"></i>\n <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-handbag font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DESK_COM\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="accounts.checked.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/desk/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'authType\',\'consumerKey\',\'consumerSecret\',\'token\',\'tokenSecret\',\'password\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Authentication Type\', \'Consumer Key\', \'Consumer Secret\', \'Token\', \'Token Secret\', \'Password\']" field-separator=";" filename="desk_accounts.csv">\n <i class="icon-cloud-download"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table st-table="displayedDeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n <div class="table-responsive">\n <thead>\n <tr>\n <th colspan="7">\n <div class="row">\n <div class="col-md-6">\n <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-6">\n <div class="input-group input-medium pull-right">\n <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n <span class="input-group-addon">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n </div>\n </th>\n </tr>\n <tr>\n <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="account in displayedDeskAccounts" class="animate-repeat">\n <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n <td>{{account.name}}</td>\n <td>{{account.username}}</td>\n <td>{{account.remoteUri}}</td>\n <td>{{account.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/account">\n {{ \'APPLICATION_EDIT\' | translate }}\n </a>\n <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n {{ \'APPLICATION_CHECK\' | translate }}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="displayedDeskAccounts.length">\n <td colspan="7" style="text-align:center;">\n <i>No account available</i>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td/>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td/>\n <td/>\n </tr>\n <tr>\n <td colspan="7" class="text-center">\n <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n </td>\n </tr>\n </tfoot>\n </div>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'basic\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONSUMER KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="account.consumerKey" required/>\n <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER KEY -->\n\n <!-- START CONSUMER SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="account.consumerSecret" required/>\n <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER SECRET -->\n\n <!-- START TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START TOKEN SECRET-->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="account.tokenSecret" required/>\n <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN SECRET-->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/desk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createConfiguration()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n <form name="formsConfiguration.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.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="configuration.name" required/>\n <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <!-- <pre>\n {{descriptionItem|json}}\n </pre> -->\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/desk/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n <div class="col-md-12">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/desk/view/{{account.id}}/configuration" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{\'APPLICATION_NAME\' | translate}}</th>\n <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="configuration in configurations">\n <td>{{configuration.name}}</td>\n <td>{{configuration.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="configurations.length">\n <td colspan="5" style="text-align:center;">\n <i>No configuration available</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/desk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-handbag"></i>\n <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/desk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.desk.view.account\')}">\n <a ng-href="/desk/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.desk.view.configurations\') || $state.is(\'main.desk.view.configuration\')}">\n <a ng-href="/desk/view/{{account.id}}/configurations">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/desk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-handbag"></i>\n <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <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 <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <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 <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <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 <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONSUMER KEY -->\n <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 <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="item.consumerKey" required/>\n <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER KEY -->\n\n <!-- START CONSUMER SECRET -->\n <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 <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="item.consumerSecret" required/>\n <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER SECRET -->\n\n <!-- START TOKEN -->\n <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 <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START TOKEN SECRET-->\n <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 <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="item.tokenSecret" required/>\n <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN SECRET-->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-handbag"></i>\n <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-handbag font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_FRESHDESK\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="accounts.checked.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/freshdesk/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'apiKey\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Api Key\']" field-separator=";" filename="freshdesk_accounts.csv">\n <i class="icon-cloud-download"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table st-table="displayedFreshdeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n <div class="table-responsive">\n <thead>\n <tr>\n <th colspan="7">\n <div class="row">\n <div class="col-md-6">\n <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-6">\n <div class="input-group input-medium pull-right">\n <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n <span class="input-group-addon">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n </div>\n </th>\n </tr>\n <tr>\n <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="account in displayedFreshdeskAccounts" class="animate-repeat">\n <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n <td>{{account.name}}</td>\n <td>{{account.username}}</td>\n <td>{{account.remoteUri}}</td>\n <td>{{account.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/freshdesk/view/{{account.id}}/account">\n {{ \'APPLICATION_EDIT\' | translate }}\n </a>\n <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n {{ \'APPLICATION_CHECK\' | translate }}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="displayedFreshdeskAccounts.length">\n <td colspan="7" style="text-align:center;">\n <i>No account available</i>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td/>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td/>\n <td/>\n </tr>\n <tr>\n <td colspan="7" class="text-center">\n <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n </td>\n </tr>\n </tfoot>\n </div>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START API KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n <label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="account.apiKey" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END API KEY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/freshdesk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createConfiguration()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n <form name="formsConfiguration.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.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="configuration.name" required/>\n <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <!-- <pre>\n {{descriptionItem|json}}\n </pre> -->\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected[0]}}</ui-select-match>\n <ui-select-choices repeat="item[0] as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item[0] | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/freshdesk/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n <div class="col-md-12">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/freshdesk/view/{{account.id}}/configuration" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{\'APPLICATION_NAME\' | translate}}</th>\n <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="configuration in configurations">\n <td>{{configuration.name}}</td>\n <td>{{configuration.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/freshdesk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="configurations.length">\n <td colspan="5" style="text-align:center;">\n <i>No configuration available</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/freshdesk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-handbag"></i>\n <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/freshdesk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.freshdesk.view.account\')}">\n <a ng-href="/freshdesk/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.freshdesk.view.configurations\') || $state.is(\'main.freshdesk.view.configuration\')}">\n <a ng-href="/freshdesk/view/{{account.id}}/configurations">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-handbag"></i>\n <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/freshdesk/accounts/validate/username"/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/freshdesk/accounts/validate/remoteUri"/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START API KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n <label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="item.apiKey" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END API KEY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/iframe/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-chrome"></i>\n <a href="#" data-ng-if="!Auth.isAgent()">{{ \'APPLICATION_IFRAME\' | translate }}</a>\n <a href="#" data-ng-if="Auth.isAgent()">{{ iframe.title }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar" data-ng-if="!Auth.isAgent()">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/iframe.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{iframe.title}}\n </div>\n <div class="profile-usertitle-job">\n {{ \'APPLICATION_IFRAME\' | translate }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div class="profile-content" data-ng-if="!Auth.isAgent()">\n <div class="row">\n <div class="col-md-12">\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_IFRAME\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="iframe.title" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="iframe.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n\n <div class="row" data-ng-if="Auth.isAgent()">\n <div class="col-md-12">\n <iframe ng-if="url" style="height: 600px" src="{{url}}" />\n </div>\n </div>\n\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/integration/list/list.html",'\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-game-controller"></i>\n <a href="/integrations/list">{{ \'APPLICATION_INTEGRATIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initList()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-eye font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INTEGRATIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <span class="btn green-jungle btn-file">\n <span> <i class="icon-plus"></i> New App </span>\n <input type="file" accept=".zip" nv-file-select="" uploader="uploader"/>\n </span>\n <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedIntegrations" filename="integrations.csv">\n <i class="icon-cloud-download"></i></a>\n <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table st-table="displayedIntegrations" st-safe-src="integrations" class="table table-striped table-bordered table-hover">\n <div class="table-responsive">\n <thead>\n <tr>\n <th colspan="6">\n <div class="row">\n <div class="col-md-6">\n <select class="form-control input-small select2me" data-ng-model="integrationsByPage">\n <option value="10">10</option>\n <option value="25">25</option>\n <option value="50">50</option>\n <option value="{{integrations.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n </select>\n </div>\n <div class="col-md-6">\n <div class="input-group input-medium pull-right">\n <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n <span class="input-group-addon">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n </div>\n </th>\n </tr>\n <tr>\n <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th>\n <th st-sort="fullname">{{ \'APPLICATION_NAME\' | translate }}</th>\n <th st-sort="name">{{ \'APPLICATION_FILENAME\' | translate }}</th>\n <th st-sort="name">{{ \'APPLICATION_VERSION\' | translate }}</th>\n <th st-sort="name">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="integration in displayedIntegrations">\n <td>{{integration.id}}</td>\n <td>{{integration.name}}</td>\n <td>{{integration.filename}}</td>\n <td>{{integration.version}}</td>\n <td>{{integration.description}}</td>\n <td>\n <span class="btn default btn-xs blue-stripe btn-file">\n <span> {{ \'APPLICATION_UPDATE\' | translate }} </span>\n <input type="file" accept=".zip" nv-file-select="" uploader="uploader"/>\n </span>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(integration.name, integration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="integrations.length">\n <td colspan="6" style="text-align:center;">\n <i>No integrations available</i>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="id" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="filename" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FILENAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n </td>\n <td>\n </td>\n <td>\n </td>\n </tr>\n <tr>\n <td colspan="6" class="text-center">\n <div st-pagination class="pagination" st-items-by-page="integrationsByPage" st-displayed-pages="7"></div>\n </td>\n </tr>\n </tfoot>\n </div>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/jscripty/project/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PROJECT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/jscripty/project/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-slack"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PROJECTS\' | translate }}</a> </span>\n </div>\n <div class="actions" ng-show="isAdmin">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROJECT\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n\n <!-- <div class="table-responsive"> -->\n\n\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/jscripty/project/report/report.detail.html",'<div class="portlet light bordered" data-ng-init="getProjectDetail();initView()">\n<div class="portlet-title">\n<div class="caption font-green-sharp">\n<i class="fa fa-list font-green-sharp"></i>\n<span class="caption-subject">{{ \'APPLICATION_SUMMARY\' | translate }}</a> </span>\n</div>\n<div class="actions">\n <div class="btn-group">\n <button class="btn btn-icon-only btn-primary" data-ng-click="pdf(\'header\',projectDetail)">\n <i class="fa fa-download"></i>\n </button>\n <!-- <button class="btn btn-icon-only btn-default" data-ng-click="accordion.expandAll()">\n <i class="fa fa-folder-open-o"></i>\n </button>\n <button class="btn btn-icon-only btn-default" data-ng-click="accordion.collapseAll()">\n <i class="fa fa-folder"></i>\n </button> -->\n </div>\n</div>\n</div>\n<div id=\'detail\' class="portlet-body">\n <div class="alert alert-success text-center" ng-show="!projectDetail.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div>\n <div class="row" ng-show="projectDetail.length">\n <div class="col-md-10 col-md-offset-1">\n <div id="header" class="panel panel-info">\n <div class="panel-heading">\n <strong>Project Name: </strong>{{project.name}}<br>\n <strong>Project Id: </strong>{{project.id}}<br>\n <strong>Completed: </strong>{{projectStats.completed}}<br>\n <strong>Incomplete: </strong>{{projectStats.incomplete}}<br>\n <strong>% Completed: </strong>{{projectStats.completed * 100 /(projectStats.completed + projectStats.incomplete) | number:2}}<br>\n </div>\n </div><br>\n <v-accordion class="vAccordion--default" multiple control="accordion">\n <v-pane id="{{question.question_id }}" ng-repeat="question in projectDetail" expanded="true">\n <v-pane-header>\n Question Id: {{question.question_id}}\n </v-pane-header>\n <v-pane-content>\n <div ng-class=" {{question.graphData.length > 0}} ? \'col-md-8\' : \'col-md-12\'">\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4><strong>{{question.question_label}}</strong> : {{question.question_text}}</h4>\n <br><br>\n <table ng-if="question.choices.length" class="table table-hover" style="table-layout: fixed; width: 100%">\n <thead>\n <tr>\n <th>Response</th>\n <th> #Response </th>\n <th> % </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-if="!choice.other_option" ng-repeat="choice in question.choices ">\n <td style="word-wrap: break-word">{{choice.value}}</td>\n <td>{{choice.count}}</td>\n <td>{{choice.percentage | number:2}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div class="row" ng-if="question.question_other_label">\n <!-- <div class="row" ng-if="choice.other_option" ng-repeat="choice in question.choices "> -->\n <!-- <div class="col-md-10 col-md-offset-1 ">\n <strong>{{choice.value}}</strong> <span class="badge">{{choice.count}}</span><br>\n </div> -->\n <!-- accordions can be nested :) -->\n <v-accordion >\n <v-pane >\n <!-- ng-repeat="subpane in pane.subpanes" ng-disabled="subpane.isDisabled" -->\n <v-pane-header>\n <strong>{{question.question_other_label}}</strong><br>\n </v-pane-header>\n <v-pane-content>\n <table ng-if="question.choices.length" class="table table-hover" style="table-layout: fixed; width: 100%">\n <thead>\n <tr>\n <th>Response</th>\n <th> #Response </th>\n <!-- <th> % </th> -->\n </tr>\n </thead>\n <tbody>\n\n <tr ng-if="choice.other_option" ng-repeat="choice in question.choices ">\n <td style="word-wrap: break-word">{{choice.value}}</td>\n <td>{{choice.count}}</td>\n <!-- <td>{{choice.percentage | number:2}}</td> -->\n </tr>\n </tbody>\n </table>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4> <strong>Total Respondents: {{question.total}}</strong></h4><br>\n </div>\n </div>\n </div>\n <div class=" col-md-4 pull-right " ng-if="question.graphType == \'bar\' && question.graphData">\n <canvas class="chart chart-bar" chart-data="question.graphData" chart-labels="question.graphLabels" chart-legend="true">\n </canvas>\n </div>\n <div class="col-md-4 pull-right " ng-if="question.graphType == \'pie\' && question.graphData">\n <canvas class="chart chart-pie" chart-data="question.graphData" chart-labels="question.graphLabels" chart-legend="true">\n </canvas>\n </div>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.html",'<div class="row">\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-edit"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_JSCRIPTY\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-book-open"></i>\n <a href="">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/report.png" class="img-responsive" >\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{project.name}}[{{project.id}}]\n </div>\n <div class="profile-usertitle-job">\n\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.sessions\')|| $state.is(\'main.jscripty.projects.report.sessionDetail\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/sessions\'>\n <i class="icon-settings"></i>\n Sessions</a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.summary\') || $state.is( \'main.jscripty.projects.report.questionDetail\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/summary\'>\n <i class="fa fa-bar-chart"></i>\n Questions</a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.detail\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/detail\'>\n <i class="fa fa-list"></i>\n Summary</a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.inputs\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/inputs\'>\n <i class="fa fa-edit"></i>\n Inputs</a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n\n </div>\n\n </div>\n\n <div class="profile-content margin-top-20">\n <div class="row">\n <div class="col-md-12">\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n <div class="dashboard-stat2">\n <div class="display">\n <div class="number">\n <h3 class="font-green-sharp">{{projectStats.started}}</h3>\n <small>Started</small>\n </div>\n <div class="icon">\n <i class="icon-pie-chart"></i>\n </div>\n </div>\n <div class="progress-info">\n <div class="progress">\n <span style="width: 100%;" class="progress-bar progress-bar-success green-sharp">\n </span>\n </div>\n <div class="status">\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n <div class="dashboard-stat2">\n <div class="display">\n <div class="number">\n <h3 class="font-red-haze">{{projectStats.incomplete}}</h3>\n <small>Incomplete</small>\n </div>\n <div class="icon">\n <i class="icon-chart"></i>\n </div>\n </div>\n <div class="progress-info">\n <div class="progress">\n <span style="width: 100%;" class="progress-bar progress-bar-success red-haze">\n </span>\n </div>\n <div class="status">\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n <div class="dashboard-stat2">\n <div class="display">\n <div class="number">\n <h3 class="font-blue-sharp">{{projectStats.completed}}</h3>\n <small>Completed</small>\n </div>\n <div class="icon">\n <i class="icon-like"></i>\n </div>\n </div>\n <div class="progress-info">\n <div class="progress">\n <span style="width: 100%;" class="progress-bar progress-bar-success blue-sharp">\n </span>\n </div>\n <div class="status">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="row">\n <div ui-view class="col-md-12">\n </div>\n </div>\n </div>\n </div>\n </div>\n'), -a.put("app/jscripty/project/report/report.inputs.html",'<div class="row">\n <div class="col-md-12">\n <div class="portlet light bordered" data-ng-init="getQuestionInputs()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-edit font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INPUTS\' | translate }}</a> </span>\n </div>\n <div class="tools">\n <!-- <a href="" class="fullscreen" data-original-title="" title="">\n </a> -->\n </div>\n </div>\n <div class="portlet-body" >\n <div ui-grid="gridOptions" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.question.detail.html",'<div class="row" data-ng-init="getDetail()">\n <div class="col-md-12">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-list font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DETAIL\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body" >\n <div class="alert alert-success text-center" ng-show="!questionDetail">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div>\n <div class="row margin-top-20" ng-show="questionDetail">\n <div class="col-md-10 col-md-offset-1">\n <div class="panel panel-info" >\n <div class="panel-heading">\n <h3 class="panel-title">\n\n <i class="fa-chart "></i>Question Id: {{questionDetail.question_id}}\n </div>\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h4><strong>{{questionDetail.question_label}}</strong></h4>\n </div>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <strong><h4>{{questionDetail.question_text}}</h4></strong><br>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <!-- <div class="alert alert-success text-center" ng-show="!questionDetail.choices.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div> -->\n <table ng-if="questionDetail.choices.length" class="table table-hover" style="table-layout: fixed; width: 100%">\n <thead>\n <tr>\n <th style="width=5%"> Value </th>\n <th style="width=5%"> Count </th>\n <th ng-if="question.graphType != \'PolarArea\'" style="width=5%"> % </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-if="!choice.other_option" ng-repeat="choice in questionDetail.choices ">\n <td style="word-wrap: break-word">{{choice.value}}</td>\n <td>{{choice.count}}</td>\n <td ng-if="question.graphType != \'PolarArea\'">{{choice.percentage | number:2}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div class="row" ng-if="choice.other_option" ng-repeat="choice in questionDetail.choices ">\n <div class="col-md-6 col-md-offset-3 ">\n <strong><a href="">{{choice.value}}</a> </strong> <span class="badge">{{choice.count}}</span><br>\n\n </div>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4> <strong>Total: {{questionDetail.total}}</strong></h4><br>\n </div>\n </div>\n </div>\n <div class="col-md-6 pull-right ">\n <canvas id="base" class="chart-base" chart-type="questionDetail.graphType"\n chart-data="questionDetail.graphData" chart-labels="questionDetail.graphLabels" chart-legend="true">\n </canvas>\n <!-- <button class="btn btn-success btn-sm pull-right" ng-click="toggle(questionDetail)">{{questionDetail.graphType}}</button> -->\n </div>\n </div>\n\n </div>\n\n </div>\n\n </div>\n </div>\n\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.session.detail.html",'\n\n<div class="row" data-ng-init="getSessionDetails()">\n <div class="col-md-12">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-list font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DETAIL\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn btn-icon-only btn-primary" data-ng-click="pdf(\'header\',sessionQuestions)">\n <i class="fa fa-download"></i>\n </button>\n <!-- <button class="btn btn-icon-only btn-default" data-ng-click="accordion.expandAll()">\n <i class="fa fa-plus-square-o"></i>\n </button>\n <button class="btn btn-icon-only btn-default" data-ng-click="accordion.collapseAll()">\n <i class="icon-collapse-alt"></i>\n </button> -->\n </div>\n </div>\n </div>\n <div class="portlet-body" style="height: auto;">\n <div class="row margin-top-20">\n <div class="col-md-10 col-md-offset-1">\n <div id = "header" class="panel panel-info">\n <div class="panel-heading">\n <strong>Project Name: </strong>{{project.name}}<br>\n <strong>Project Id: </strong>{{project.id}}<br>\n <strong>Session Id: </strong>{{session.session_id}}<br>\n <strong>Status: </strong>{{session.status}}<br>\n <strong>Started At: </strong>{{session.createdAt}}<br>\n <strong>Closed At: </strong>{{session.completedAt}}<br>\n </div>\n </div>\n <v-accordion class="vAccordion--default" multiple control="accordion">\n <v-pane id="{{question.question_id }}" ng-repeat=" question in sessionQuestions | orderBy:\'index\'"" expanded="true">\n <v-pane-header>\n Question Id: {{question.question_id}}\n </v-pane-header>\n <v-pane-content>\n <h4><strong>{{question.question_label}}</strong> : {{question.question_text}}</h4>\n <div ng-if="question.question_type == \'question\'">\n <h4><strong>Answer: </strong>{{question.question_answer}}</h4>\n </div>\n <div ng-if="question.question_other_label">\n <h4>\n <strong>{{question.question_other_label}}: </strong>\n {{question.question_other_answer || \'No Value\'}}\n </h4>\n </div>\n <table class="table table-hover" ng-if="question.ReportJscriptyInputs.length">\n <thead>\n <tr>\n <th > Label </th>\n <th >Answer </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="input in question.ReportJscriptyInputs |orderBy:\'id\'">\n <td>{{input.input_label}}</td>\n <td>{{input.input_value || \'No Value\'}}</td>\n </tr>\n </tbody>\n </table>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.sessions.html",'\n <div class="row" >\n <div class="col-md-12">\n <div class="portlet light bordered" data-ng-init="getProjectSessions()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-settings font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SESSIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();initView()">\n <i class="icon-reload"></i>\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body" >\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n'),a.put("app/jscripty/project/report/report.summary.html",'<div class="row">\n <div class="col-md-12">\n <div class="portlet light bordered" data-ng-init="getQuestionSummary()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-bar-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUESTIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <!-- <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();initView()">\n <i class="icon-reload"></i>\n </a> -->\n </div>\n </div>\n </div>\n <div class="portlet-body" >\n <div ui-grid="gridOptions" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/view/view.html",'<div class="row" data-ng-init="getProject()">\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-edit"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_JSCRIPTY\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a ng-href="/jscripty/projects/view/{{jscriptyProject.id}}">{{jscriptyProject.name}}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div id="geEditor" class="geEditor"></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<script>\n\n\n</script>\n'),a.put("app/landing/landing.html",'<!-- BEGIN LOGO -->\r\n<div class="logo">\r\n <a href="index.html">\r\n <img src="assets/images/logo-big.png" alt=""/>\r\n </a>\r\n</div>\r\n<!-- END LOGO -->\r\n\r\n<!-- BEGIN LANDING -->\r\n<div data-ng-init="initLanding()">\r\n <div data-ng-show="message" class="col-md-12 page-500" style="padding-bottom: 50px;">\r\n <div class="number">\r\n Oops!\r\n </div>\r\n <div class=" details" style="color: white;">\r\n <h3>{{message | translate}}.</h3>\r\n <p>\r\n Please contact your administrator.<br><br>\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n<!-- END LANDING -->\r\n\r\n<div class="copyright">\r\n xCALLY Motion | 2016 © Powered by Xenialab\r\n</div>\r\n'),a.put("app/login/login.html",'<!-- BEGIN LOGO -->\n<div class="logo">\n <a href="index.html">\n <img data-ng-if="settings.defaultLoginLogo || !license.custom" ng-src="assets/images/logo-big.png" alt="logo" />\n <img data-ng-if="!settings.defaultLoginLogo && license.custom" ng-src="api/settings/logo/login/{{settings.loginLogo ? settings.loginLogo : \'logo-big\'}}" alt="logo" class="custom-login-logo" />\n </a>\n</div>\n<!-- END LOGO -->\n<!-- BEGIN LOGIN -->\n<div class="content">\n <!-- BEGIN LOGIN FORM -->\n <form class="login-form" name="loginForm" data-ng-show="!flagLogin1" data-ng-submit="login(loginForm)" novalidate>\n <h3 class="form-title">Sign In</h3>\n <div class="alert alert-danger" data-ng-class="{\'display-hide\': !loginSubmitted || !errorLogin}">\n <button class="close" data-close="alert"></button>\n <span>{{ errorLog ? errorLog : \'Enter any username and password.\'}}</span>\n </div>\n <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.name.$invalid}">\n <label class="control-label">Username</label>\n <div class="input-icon">\n <i class="fa fa-user"></i>\n <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="name" ng-model="userLogin.name" required/>\n </div>\n <span data-ng-show="loginSubmitted && loginForm.name.$invalid" class="help-block">Username is required.</span>\n </div>\n <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.password.$invalid}">\n <label class="control-label">Password</label>\n <div class="input-icon">\n <i class="fa fa-lock"></i>\n <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" ng-model="userLogin.password" required/>\n </div>\n <span data-ng-show="loginSubmitted && loginForm.password.$invalid" class="help-block">Password is required.</span>\n </div>\n <div class="form-actions">\n <button type="submit" class="btn btn-success uppercase">Login</button>\n <label class="rememberme check">\n <input type="checkbox"> Remember me\n </label>\n <!-- <label class="rememberme check">\n <input type="checkbox" name="remember" value="1"/>Remember </label> -->\n <!-- <a href="javascript:;" id="forget-password" class="forget-password">Forgot Password?</a> -->\n </div>\n <div class="login-options">\n <h4>Follow Us on</h4>\n <ul class="social-icons">\n <li>\n <a class="social-icon-color facebook" data-original-title="facebook" href="https://www.facebook.com/xenialab"></a>\n </li>\n <li>\n <a class="social-icon-color twitter" data-original-title="Twitter" href="https://twitter.com/xenialab"></a>\n </li>\n <li>\n <a class="social-icon-color googleplus" data-original-title="Goole Plus" href="#"></a>\n </li>\n <li>\n <a class="social-icon-color linkedin" data-original-title="Linkedin" href="#"></a>\n </li>\n </ul>\n </div>\n </form>\n</div>\n<div class="copyright">\n xCALLY Motion | {{year}} - {{year + 1}} © Powered by Xenialab\n</div>\n<!-- END LOGIN -->\n'),a.put("app/main/chooseContact.modal.html",'<div class="modal-header" data-ng-init="getContacts()">\n <h3 class="modal-title">{{ \'APPLICATION_CHOOSE_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <table st-table="rowCollection" class="table table-striped">\n <tbody>\n <tr ng-repeat="contact in contacts">\n <td>{{contact.firstName}} {{contact.lastName || \'\'}}</td>\n <td>{{contact.List.name}}</td>\n <td>\n <button class="btn default btn-xs green-stripe" data-ng-click="open(contact)">\n {{ \'APPLICATION_OPEN\' | translate}}\n </button>\n </td>\n </tr>\n <tr data-ng-hide="contacts.length">\n <td colspan="3" style="text-align:center;">\n <i>{{ \'MESSAGE_NO_CONTACTS_AVAILABLE\' | translate }}</i>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="open()"><i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/closeEditedTab.modal.html",'<div class="modal-header" data-ng-init="getContacts()">\n <h3 class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <p>{{\'MESSAGE_CLOSE_EDITED_TAB\' | translate}}</p>\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/closeEditedTab.modal.jscripty.html",' <div class="modal-header" data-ng-init="init()">\n <h3 class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n <!-- <h3 ng-if="projectStatus == \'incomplete\'" class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3> -->\n\n</div>\n<div class="modal-body">\n<!-- <div ng-if="projectStatus == \'incomplete\'" class="modal-body"> -->\n <p>{{\'MESSAGE_CLOSE_INCOMPLETE\' | translate}}</p>\n</div>\n\n\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/cm.disposition.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()" data-ng-disabled="!item.disposition">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),a.put("app/main/company.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_COMPANY_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="row">\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_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADDRESS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_SHIPMENT_ADDRESS\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateCompany()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START NAME -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}</label>\n <input readonly type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="company.name" required/>\n </div>\n <!-- END NAME -->\n\n <!-- START VAT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VAT\' | translate}}</label>\n <input readonly type="text" name="vat" placeholder="{{\'APPLICATION_VAT\' | translate}}" class="form-control" data-ng-model="company.vat"/>\n </div>\n <!-- END VAT -->\n\n <!-- START COMPANYID -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_COMPANY_ID\' | translate}}</label>\n <input readonly type="text" name="companyId" placeholder="{{\'APPLICATION_COMPANY_ID\' | translate}}" class="form-control" data-ng-model="company.companyId"/>\n </div>\n <!-- END COMPANYID -->\n\n <!-- START WEBSITE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_WEBSITE\' | translate}}</label>\n <input readonly type="text" name="website" placeholder="{{\'APPLICATION_WEBSITE\' | translate}}" class="form-control" data-ng-model="company.website"/>\n </div>\n <!-- END WEBSITE -->\n\n <!-- START EMAIL -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n <input readonly type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="company.email"/>\n </div>\n <!-- END EMAIL -->\n </div>\n <div class="col-md-6">\n <!-- START PHONE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n <input readonly type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="company.phone"/>\n </div>\n <!-- END PHONE -->\n\n <!-- START FAX -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n <input readonly type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="company.fax"/>\n </div>\n <!-- END FAX -->\n\n <!-- START TYPE -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <input readonly type="text" name="type" placeholder="{{\'APPLICATION_TYPE\' | translate}}" class="form-control" data-ng-model="company.type"/>\n </div>\n <!-- END TYPE -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <textarea readonly type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="company.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n </div>\n </div>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.address" novalidate>\n <!-- START STREET -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n <input readonly type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.street"/>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n <input readonly type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.postalCode"/>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n <input readonly type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.city"/>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n <input readonly type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.country"/>\n </div>\n <!-- END COUNTRY -->\n </form>\n </div>\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.shipmentAddress" novalidate>\n <!-- START STREET -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n <input readonly type="text" name="sStreet" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.sStreet"/>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n <input readonly type="text" name="sPostalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.sPostalCode"/>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n <input readonly type="text" name="sCity" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.sCity"/>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n <input readonly type="text" name="sCountry" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.sCountry"/>\n </div>\n <!-- END COUNTRY -->\n </form>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/main/customDateFilter.modal.html",'<div class="modal-body">\n <uib-datepicker ng-model="filterDate"\n class="well well-sm">\n </uib-datepicker>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="setFilterDate(filterDate)">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancelDateFilter()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/customDateFilterHeader.html",'<input class="ui-grid-filter-input date-time-filter-buttons pointer-cursor" style="width:90%;padding:inherit;" data-ng-click="openDatePicker(colFilter)" placeholder="{{ colFilter.name }}" readonly value="{{colFilter.term | date:\'dd-MM-yyyy\'}}">\n<span role="button" class="ui-grid-filter-button-select cancel-custom-date-range-filter-button ng-scope" data-ng-click="removeFilter(colFilter, $index)" data-ng-if="!colFilter.disableCancelFilterButton" data-ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === \'\'" data-ng-show="colFilter.term !== undefined && colFilter.term != null" tabindex="0" aria-hidden="false" aria-disabled="false" style="right:22px;">\n <i class="ui-grid-icon-cancel cancel-custom-date-range-filter" ui-grid-one-bind-aria-label="aria.removeFilter" aria-label="Remove Filter"> </i>\n</span>\n'),a.put("app/main/customTagsFilter.modal.html",'<div class="modal-body" data-ng-init="initModal()">\n <!-- START TAGS -->\n<div class="form-group">\n <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n <ui-select multiple=\'true\' data-ng-model="item.myTags" 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<!-- END TAGS -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="setFilterTags()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancelTagsFilter()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/customTagsFilterHeader.html",'<input class="ui-grid-filter-input pointer-cursor" style="width:90%;padding:inherit;" data-ng-click="openTags(colFilter)" placeholder="{{ colFilter.name }}" readonly value="{{colFilter.term}}">\n<span role="button" class="ui-grid-filter-button-select cancel-custom-date-range-filter-button ng-scope" data-ng-click="removeFilter(colFilter, $index)" data-ng-if="!colFilter.disableCancelFilterButton" data-ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === \'\'" data-ng-show="colFilter.term !== undefined && colFilter.term != null" tabindex="0" aria-hidden="false" aria-disabled="false" style="right:5px;">\n <i class="ui-grid-icon-cancel cancel-custom-date-range-filter" ui-grid-one-bind-aria-label="aria.removeFilter" aria-label="Remove Filter"> </i>\n</span>\n'),a.put("app/main/main.html",'<!-- BEGIN HEADER -->\n<div data-ng-include="\'components/header/header.html\'" data-ng-controller="HeaderController" class="page-header navbar navbar-fixed-top">\n</div>\n<!-- END HEADER -->\n\n<div class="clearfix">\n</div>\n<!-- BEGIN CONTAINER -->\n<div class="page-container" data-ng-init="initMain()">\n\n <!-- BEGIN SIDEBAR -->\n <div data-ng-include="\'components/sidebar/sidebar.html\'" data-ng-controller="SidebarController" class="page-sidebar-wrapper">\n </div>\n <!-- END SIDEBAR -->\n\n <!-- BEGIN CONTENT -->\n <div class="page-content-wrapper">\n <div class="page-content" data-ng-class="{\'demo\': !license.expiration}">\n\n <!-- BEGIN PAGE CONTENT -->\n <uib-tabset>\n <uib-tab select="addWorkspace()" active="mainTab.active">\n <uib-tab-heading>\n Motion <i class="icon-rocket"></i>\n </uib-tab-heading>\n <div ui-view class=""></div>\n </uib-tab>\n <uib-tab class="motion-{{workspace.type}}-uib-tab" data-ng-repeat="workspace in workspaces" active="workspace.active" data-ng-switch="workspace.type" select="select(workspace)" deselect="deselect(workspace)">\n <uib-tab-heading>\n <i data-ng-if="workspace.class" class="prova" data-ng-class="workspace.class"></i> {{workspace.name | truncate: 25: \'...\': true}} <span class="badge badge-danger" data-ng-if="workspace.unread">{{workspace.unread}}</span> <i class="icon-close pointer-cursor" data-ng-click="closeTab($index)"></i>\n </uib-tab-heading>\n <div class="" data-ng-switch="workspace.type">\n <new-contact data-ng-switch-when="newContact" workspace="workspace" index="$index" on-submit="createContact(index,item)"></new-contact>\n <contact data-ng-switch-when="contact" workspace="workspace" index="$index" on-submit="updateContact(index,item)"></contact>\n <jscripty data-ng-switch-when="jscripty" workspace="workspace" index="$index" on-submit="closeJscriptyTab(index)"></jscripty>\n <!-- <jscripty data-ng-switch-when="jscripty" workspace="workspace" index="$index" on-submit="closeTab(index,item)"></jscripty> -->\n <chat-room data-ng-switch-when="chatRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></chat-room>\n <fax-room data-ng-switch-when="faxRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></fax-room>\n <mail-room data-ng-switch-when="mailRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></mail-room>\n <sms-room data-ng-switch-when="smsRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></sms-room>\n <openchannel-room data-ng-switch-when="openchannelRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></openchannel-room>\n </div>\n </uib-tab>\n </uib-tabset>\n <!-- END PAGE CONTENT -->\n\n </div>\n </div>\n <!-- END CONTENT -->\n\n</div>\n<!-- END CONTAINER -->\n\n<!-- BEGIN FOOTER -->\n<div data-ng-include="\'components/footer/footer.html\'" data-ng-controller="FooterController" class="page-footer">\n</div>\n<!-- END FOOTER -->\n\n<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->\n<!-- BEGIN CORE PLUGINS -->\n<!--[if lt IE 9]>\n<script src="../../assets/global/plugins/respond.min.js"></script>\n<script src="../../assets/global/plugins/excanvas.min.js"></script>\n<![endif]-->\n\n<!-- END JAVASCRIPTS -->\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/actionBuilder/template.actionBuilderMotionBar.html",'<!-- data1: 0 POPUP, 1 URL, 2 WINAPP -->\n<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 data-ng-change="changeMode();">\n <ui-select-match placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="motionAction.value as motionAction in motionActions | filter: $select.search">\n <div ng-bind-html="motionAction.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_TYPE\' | 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\n<!-- data1:0 data2:Template -->\n<div data-ng-if="randomName && element.data1==0" class="form-group col-md-6" 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" required>\n <ui-select-match placeholder="{{ \'APPLICATION_TEMPLATE\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_TEMPLATE\' | 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\n<!-- data1:1 data2:URL -->\n<div data-ng-if="randomName && element.data1==1" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="text" ng-model="element.data2" name="data2{{randomName}}" class="form-control" required placeholder="{{ \'APPLICATION_URL\' | translate }}"/>\n <span class="help-block">\n {{ \'APPLICATION_URL\' | 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\n<!-- data1:2 data2:Application data3:Arguments -->\n<div data-ng-if="randomName && element.data1==2" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="text" ng-model="element.data2" name="data2{{randomName}}" class="form-control" required placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}"/>\n <span class="help-block">\n {{ \'APPLICATION_APPLICATION\' | 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 data-ng-if="randomName && element.data1==2" class="form-group col-md-6">\n <input type="text" ng-model="element.data3" name="data3{{randomName}}" class="form-control" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}"/>\n <span class="help-block">\n {{ \'APPLICATION_ARGUMENTS\' | translate }}\n </span>\n</div>\n'),a.put("app/main/template/actionBuilder/template.actionBuilderStatus.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 | translate}}</ui-select-match>\n <ui-select-choices repeat="status.value as status in states | filter: $select.search">\n <div ng-bind-html="status.name | translate | 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/actionBuilder/template.actionBuilderTemplate.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="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.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<div data-ng-if="randomName" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="text" ng-model="element.data2" name="data2{{randomName}}" class="form-control" required/>\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="col-md-6">\n <input type="text" ng-model="element.data3" class="form-control"/>\n</div>\n'),a.put("app/main/template/actionBuilder/template.actionBuilderUrlForward.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 placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'APPLICATION_TYPE\' | 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 && randomName" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="url" ng-model="element.data2" placeholder="{{ \'APPLICATION_URL\' | translate }}" name="data2{{randomName}}" class="form-control" required/>\n <span class="help-block">\n {{\'APPLICATION_URL\' | 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"),a.put("app/main/template/template.conditionBuilder.html",'<div data-ng-if="randomName" class="form-group col-md-4" data-ng-class="{\'has-error\': (form[\'field\'+randomName].$touched || form.$submitted) && form[\'field\'+randomName].$invalid}">\n <ui-select data-ng-model="element.field" name="field{{randomName}}" theme="bootstrap" data-ng-change="checkCondition(element.field)" required>\n <ui-select-match>{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="condition.value as condition in service.services[serviceindex].conditions | filter: $select.search">\n <div ng-bind-html="condition.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form[\'field\'+randomName].$touched || form.$submitted) && form[\'field\'+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 data-ng-if="randomName && element.field" class="form-group col-md-4" data-ng-class="{\'has-error\': (form[\'operator\'+randomName].$touched || form.$submitted) && form[\'operator\'+randomName].$invalid}">\n <ui-select data-ng-model="element.operator" name="operator{{randomName}}" theme="bootstrap" required>\n <ui-select-match>{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="operator.value as operator in _.find(service.services[serviceindex].conditions,{value:element.field}).operators | filter: $select.search">\n <div ng-bind-html="operator.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form[\'operator\'+randomName].$touched || form.$submitted) && form[\'operator\'+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="col-md-4" data-ng-if="elementType === \'input\' && randomName && element.field" data-ng-class="{\'has-error\': (form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+randomName].$invalid}">\n <input type="text" ng-model="element.value" class="form-control" name="value{{randomName}}" required/>\n <span data-ng-show="(form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+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-4" data-ng-if="elementType === \'select\' && randomName && element.field" data-ng-class="{\'has-error\': (form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+randomName].$invalid}">\n <ui-select data-ng-model="element.value" name="value{{randomName}}" theme="bootstrap" required>\n <ui-select-match>{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="value.value as value in values| filter: $select.search">\n <div ng-bind-html="value.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+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})" novalidate>\n <!-- BEGIN PROFILE CONTENT -->\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 <!--end add-portfolio-->\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 grey-cascade" type="button" data-ng-click="dispose()" data-ng-disabled="contact.disposed">\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}\n </button>\n </div>\n </div>\n <!--end row-->\n <!-- BEGIN PORTLET -->\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 <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 <!-- START FIRSTNAME -->\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 <!-- END FIRSTNAME -->\n\n <!-- START LASTNAME -->\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 <!-- END LASTNAME -->\n\n <!-- START COMPANY -->\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>\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 <!-- END COMPANY -->\n </div>\n <div class="col-md-4">\n <!-- START PHONE -->\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">\n <!-- <button type="button" data-ng-click="callPhoneBar(contact.phone)" class="btn btn-default" data-ng-disabled="!contact.phone">\n <span class="icon-call-out" data-ng-class="{\'font-blue\':contact.phone}"></span>\n </button> -->\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 <!-- END PHONE -->\n <!-- START MOBILE -->\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">\n <!-- <button type="button" data-ng-click="callPhoneBar(contact.mobile)" class="btn btn-default" data-ng-disabled="!contact.mobile">\n <span class="icon-call-out" data-ng-class="{\'font-blue\':contact.mobile}"></span>\n </button> -->\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 <!-- END MOBILE -->\n <!-- START EMAIL -->\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 <!-- END EMAIL -->\n </div>\n <div class="col-md-4">\n <!-- START FAX -->\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="icon-paper-plane" 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 <!-- END FAX -->\n <!-- START TAGS -->\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 <!-- END TAGS -->\n <!-- START LIST -->\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 <!-- END LIST -->\n <!-- START LIST -->\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}}</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>\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 <!-- END LIST -->\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 <!-- START STREET -->\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 <!-- END STREET -->\n\n <!-- START POSTALCODE -->\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 <!-- END POSTALCODE -->\n\n <!-- START CITY -->\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 <!-- END CITY -->\n </div>\n <div class="col-md-4">\n <!-- START COUNTRY -->\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 <!-- END COUNTRY -->\n\n <!-- START DATEOFBIRTH -->\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 <!-- END DATEOFBIRTH -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n </div>\n <div class="col-md-4">\n <!-- START URL -->\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 <!-- END URL -->\n\n <!-- START CREATED_BY -->\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 <!-- END CREATED_BY -->\n </div>\n </div>\n </div>\n <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!contact.firstName || !contact.ListId">{{submitButtonLabel}}</button>\n </div>\n <!-- END PORTLET -->\n <!-- BEGIN PORTLET -->\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 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 type="text" name="{{customField.name}}" placeholder="{{customField.alias}}" class="form-control" data-ng-model="contact[customField.name]"/>\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 <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!contact.firstName || !contact.ListId">{{submitButtonLabel}}</button>\n </div>\n </div>\n <!-- END PORTLET -->\n </div>\n <div class="tab-pane fade" id="tab_1_2{{contact.id || \'\'}}">\n <!-- BEGIN PORTLET -->\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" data-toggle="tab">{{ \'APPLICATION_DAILY\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_2_2" data-toggle="tab">{{ \'APPLICATION_HISTORY\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <!--BEGIN TABS-->\n <div class="tab-content">\n <div class="tab-pane active" id="tab_2_1">\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">\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 <!--END TABS-->\n </div>\n </div>\n <!-- END PORTLET -->\n </div>\n <!-- END PROFILE CONTENT -->\n </form>\n</div>\n </div>\n</div>\n"), -a.put("app/main/template/template.jscriptyTab.html",'<div class="portlet light bordered">\n <!-- BEGIN PORTLET BODY -->\n <div class="portlet-body">\n <div class="row">\n <!-- BEGIN SIDEBAR -->\n <div class="profile-sidebar" style="width: 250px;">\n <!-- PORTLET MAIN -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-repeat= \'question in questions track by $index\' ng-class="{active: $index == count}">\n <a ng-click="setCurrentQuestion($index)" >\n <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 </li>\n </ul>\n </div>\n <!-- END SIDEBAR MENU -->\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END SIDEBAR -->\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 <div class="portlet-body form ">\n <div class="row">\n <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 <!-- Question -->\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 <!-- Buttons -->\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 <!-- Question Other Option -->\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 </div>\n <!-- Inputs -->\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 <!-- ng-true-value="\'Selected\'" ng-false-value="\'Not Selected\'" -->\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 <!-- actions -->\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 <!-- <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> -->\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 <!-- END PORTLET BODY -->\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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </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/market/market.html",'<div class="row">\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-handbag"></i>\n <a href="/market">Market Place</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\n <!-- Our Integration -->\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 <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 <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 <a href="https://wiki.xcallymotion.com/" class="btn btn-xs grey-cascade" target="_blank">More <i class="fa fa-link"></i></a>\n </div>\n </div>\n <div class="integration-info" data-ng-if="integration.downloading">\n <div>\n <uib-progressbar class="progress-striped active" value="percentage" type="success"><i style="color:black;">{{status}}</i></uib-progressbar>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!--/thumbnails-->\n <!-- //End Meer Our Team -->\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 <!-- START PHONE -->\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 <!-- END PHONE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-doc"></i>\n <a href="#">{{ \'APPLICATION_BLACKLIST\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-doc font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_BLACKLIST\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/motiondialer/info/view/view.about.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ABOUT\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form class="form-horizontal form-row-seperated">\n <div class="form-body">\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/motiondialer/info/view/view.details.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_DETAILS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form class="form-horizontal form-row-seperated">\n <div class="form-body">\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/motiondialer/info/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getProperties()">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-info"></i>\n <a href="/motiondialer/info/view/properties">{{ \'APPLICATION_INFO\' | translate }}</a>\n <i data-ng-show="variable" class="fa fa-angle-right"></i>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/template.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ \'APPLICATION_INFO\' | translate }}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.about\')}">\n <a data-ng-href="/motiondialer/info/view/about">\n <i class="icon-globe"></i>\n {{ \'APPLICATION_ABOUT\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.details\')}">\n <a data-ng-href="/motiondialer/info/view/details">\n <i class="icon-support"></i>\n {{ \'APPLICATION_DETAILS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/motiondialer/list/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_LIST\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/list/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_LISTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LISTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_LIST\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/motiondialer/list/view/view.contact.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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START PHONES -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.phones.$touched || form.$submitted) && form.phones.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="phones" placeholder="{{\'APPLICATION_PHONES\' | translate}}" class="form-control" data-ng-model="item.phones" required/>\n <span data-ng-show="(form.phones.$touched || form.$submitted) && form.phones.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n <p>Insert one or multiple phones separated by commas, for example:</p>\n <p>0123455678, 3456785673, 2345667899</p>\n </span>\n </div>\n <!-- END PHONES -->\n\n <!-- START TIMEZONE -->\n <div class="form-group">\n <label class="control-label">Timezone</label><br>\n <select ng-model="item.timezone">\n <option value="">--</option>\n <optgroup ng-repeat="timezone in timezones" label="{{timezone.group}}">\n <option ng-repeat="zone in timezone.zones" value="{{zone.value}}">{{zone.name}}</option>\n </optgroup>\n </select>\n </div>\n <!-- END TIMEZONE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/list/view/view.contact.import.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 <!-- START NAME -->\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}}</label>\n <ui-select data-ng-model="item.name" theme="bootstrap" name="name" data-ng-disabled="disabled">\n <ui-select-match allow-clear placeholder="{{ \'APPLICATION_NAME\' | 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 <!-- END NAME -->\n\n <!-- START PHONES -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.phones.$touched || form.$submitted) && form.phones.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.phones" theme="bootstrap" name="phones" 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 <span data-ng-show="(form.phones.$touched || form.$submitted) && form.phones.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONES -->\n\n <!-- START TIMEZONE -->\n <div class="form-group">\n <label class="control-label">Timezone</label><br>\n <select ng-model="item.timezone">\n <option value="">--</option>\n <optgroup ng-repeat="timezone in timezones" label="{{timezone.group}}">\n <option ng-repeat="zone in timezone.zones" value="{{zone.value}}">{{zone.name}}</option>\n </optgroup>\n </select>\n </div>\n <!-- END TIMEZONE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n <!-- START PROGRESS -->\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 <!-- END PROGRESS -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="form.$invalid || !form.phones || 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/list/view/view.contacts.html",'<div class="row" data-ng-init="getContacts()">\n <div class="col-md-12">\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_LIST\' | translate}} {{ \'APPLICATION_CONTACTS\' | translate}} </span>\n </div>\n </div>\n\n <div class="portlet-body">\n <div class="btn-group">\n <button class="btn green-jungle margin-bottom-10" ng-click="createContact()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n <span class="btn default btn-file">\n <span class="fileinput-new"><i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n <input type="file" nv-file-select="" uploader="uploader"/>\n </span>\n </div>\n\n <!-- <div class="btn-group">\n <button class="btn green-jungle" data-ng-click="newContact();">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n\n </div> -->\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/motiondialer/list/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getList()">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-doc"></i>\n <a href="/motiondialer/lists/list">{{ \'APPLICATION_LISTS\' | translate }}</a>\n <i data-ng-show="list.name" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="list.name">\n <a href="#">{{list.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/template.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{list.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.motiondialer.lists.view.settings\')}">\n <a data-ng-href="/motiondialer/lists/view/{{list.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.lists.view.contacts\')}">\n <a data-ng-href="/motiondialer/lists/view/{{list.id}}/contacts">\n <i class="icon-people"></i>\n {{ \'APPLICATION_CONTACTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/motiondialer/list/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_general" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- START GENERAL TAB -->\n <div class="tab-pane active" id="tab_general">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateList()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="list.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="list.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </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 <!-- START NAME -->\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 <!-- END NAME -->\n <!-- START LIST -->\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 <!-- END LIST -->\n <!-- START QUEUE -->\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 <!-- END QUEUE -->\n <!-- START TIMEOUT QUEUE -->\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 <!-- END MAX RETRIES -->\n <!-- START TRUNK -->\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 <!-- END TRUNK -->\n <!-- START FETCH SORT -->\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 <!-- END FETCH SORT-->\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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}}</h3>\n</div>\n<div class="modal-body">\n <form name="form" ng-init="initModal()" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n <!-- START LIST -->\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 <!-- END LIST -->\n <!-- START PROJECT -->\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 <!-- END PROJECT -->\n <!-- START TRUNK -->\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 <!-- END TRUNK -->\n <!-- START FETCH SORT -->\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 <!-- END FETCH SORT-->\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-settings"></i>\n <a href="#">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PROCESSES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn green-jungle dropdown-toggle" data-toggle="dropdown" data-close-others="true">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROCESS\' | translate }}\n </button>\n <ul class="dropdown-menu pull-right">\n <li>\n <a href="#" ng-click="createProcessQueue()">{{ \'APPLICATION_QUEUE\' | translate }}</a>\n </li>\n <li>\n <a href="#" ng-click="createProcessSquare()">{{ \'APPLICATION_CALLYSQUARE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START TIME -->\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 <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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 <!-- END MONTH -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getProcess()">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-settings"></i>\n <a href="/motiondialer/processes/list">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n <i data-ng-show="process.name" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="process.name">\n <a href="#">{{process.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{process.name}} ({{ (process.status === \'RUN\') ? \'RUNNING...\' : \'STOPPED\' }})\n </div>\n <div class="profile-usertitle-job">\n <a href="/motiondialer/lists/view/{{process.id_list}}/settings">{{ \'APPLICATION_LIST\' | translate}} #{{process.id_list}} ({{process.fetch_sort}})</a>\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <div class="profile-userbuttons">\n <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 <div class="profile-userbuttons">\n <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 <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 </div>\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.overview\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/overview">\n <i class="icon-home"></i>\n {{ \'APPLICATION_OVERVIEW\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.settings\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.intervals\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/intervals">\n <i class="icon-clock"></i>\n {{ \'APPLICATION_INTERVALS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.spooler\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/spooler">\n <i class="icon-options-vertical"></i>\n {{ \'APPLICATION_SPOOLER\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/motiondialer/process/view/view.intervals.html",'<div class="row" data-ng-init="initIntervals()">\n <div class="col-md-12">\n <div class="portlet light">\n <div class="portlet-title tabbable-line">\n <div class="caption caption-md">\n <i class="icon-clock theme-font"></i>\n <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_INTERVALS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_allow" data-toggle="tab">{{ \'APPLICATION_ALLOW\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_disallow" data-toggle="tab">{{ \'APPLICATION_DISALLOW\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- ALLOW TAB -->\n <div class="tab-pane active" id="tab_allow">\n <button class="btn green-jungle margin-bottom-10" ng-click="createInterval(true)">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_ALLOW\' | translate }})\n </button>\n <table class="table table-bordered table-hover">\n <thead>\n <tr role="row" class="heading">\n <th>\n {{ \'APPLICATION_VALUE\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_ACTIONS\' | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="interval in process.intervals track by $index">\n <td>\n {{interval}}\n </td>\n <td>\n <button href="javascript:;" data-ng-click="editInterval(true, interval)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n <button data-ng-click="deleteInterval(interval, $index, true)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n </td>\n </tr>\n <tr ng-show="!process.intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n </tbody>\n </table>\n </div>\n <!-- END ALLOW TAB -->\n <!-- DISALLOW TAB -->\n <div class="tab-pane" id="tab_disallow">\n <button class="btn green-jungle margin-bottom-10" ng-click="createInterval(false)">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_DISALLOW\' | translate }})\n </button>\n <table class="table table-bordered table-hover">\n <thead>\n <tr role="row" class="heading">\n <th>\n {{ \'APPLICATION_VALUE\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_ACTIONS\' | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="interval in process.not_intervals track by $index">\n <td>\n {{interval}}\n </td>\n <td>\n <button href="javascript:;" data-ng-click="editInterval(false, interval)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n <button href="javascript:;" data-ng-click="deleteInterval($index, interval, false)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n </td>\n </tr>\n <tr ng-show="!process.not_intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n </tbody>\n </table>\n\n </div>\n <!-- END DISALLOW TAB -->\n </div>\n </div>\n </div>\n </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 <!-- BEGIN PORTLET -->\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 <li class="active">\n <a href="#" data-target="#tab_summary" data-toggle="tab">{{ \'APPLICATION_SUMMARY\' | translate}}</a>\n </li>\n <li ng-show="process.runtime">\n <a href="#" data-target="#tab_advanced" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- START SUMMARY TAB -->\n <div class="tab-pane active" id="tab_summary">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- END SUMMARY TAB -->\n <!-- START SUMMARY TAB -->\n <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 <!-- END SUMMARY TAB -->\n </div>\n </div>\n </div>\n <!-- END PORTLET -->\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/motiondialer/process/view/view.settings.html",'<div class="row" data-ng-init="initSettings()">\n <div class="col-md-12">\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"></i>\n <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_general" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_channel" data-toggle="tab">{{ \'APPLICATION_CHANNEL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_advanced" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_status" data-toggle="tab">{{ \'APPLICATION_STATUS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_general">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n\n <!-- START NAME -->\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="process.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 <!-- END NAME -->\n <!-- START QUEUE -->\n <div data-ng-show="process.queue != \'none\'" 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="queue" ng-options="queue.name for queue in queues track by queue.name" 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 <!-- END QUEUE -->\n <!-- START MAX RETRIES -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.max_retries.$touched || form.$submitted) && form.max_retries.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAX_RETRIES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" max="10" name="max_retries" placeholder="{{\'APPLICATION_MAX_RETRIES\' | translate}}" class="form-control" data-ng-model="process.max_retries" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_MAX_RETRIES\' | translate}}</span>\n <span data-ng-show="(form.max_retries.$touched || form.$submitted) && form.max_retries.$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.max_retries.$error.max || form.max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END MAX RETRIES -->\n <!-- START RETRY TIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.retry_time.$touched || form.$submitted) && form.retry_time.$invalid}">\n <label class="control-label">{{\'APPLICATION_RETRY_TIME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="retry_time" placeholder="{{\'APPLICATION_RETRY_TIME\' | translate}}" class="form-control" data-ng-model="process.retry_time" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_RETRY_TIME\' | translate}}</span>\n <span data-ng-show="(form.retry_time.$touched || form.$submitted) && form.retry_time.$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.retry_time.$error.max || form.retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END RETRY TIME -->\n <!-- START RETRY TIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.wait_time.$touched || form.$submitted) && form.wait_time.$invalid}">\n <label class="control-label">{{\'APPLICATION_WAIT_TIME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1000" name="wait_time" placeholder="{{\'APPLICATION_WAIT_TIME\' | translate}}" class="form-control" data-ng-model="process.wait_time" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_WAIT_TIME\' | translate}}</span>\n <span data-ng-show="(form.wait_time.$touched || form.$submitted) && form.wait_time.$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.wait_time.$error.max || form.wait_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END WAIT TIME -->\n <!-- START AUTO CLOSED -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTO_CLOSED\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.auto_closed"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_AUTO_CLOSED\' | translate}}</span>\n </div>\n <!-- END AUTO CLOSED -->\n <!-- START WEIGHT -->\n <!-- END WEIGHT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTODIAL_LEVEL\' | translate}}</label></br>\n <slider ng-model="process.weight" min="0" step="1" max="50"></slider>\n <label>{{\'APPLICATION_VALUE\' | translate}}: {{process.weight}}</label>\n <span class="help-block">{{\'DESCRIPTION_TD_WEIGHT\' | translate}}</span>\n </div>\n <!-- START DESCRIPTION -->\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="process.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- CHANNEL TAB -->\n <div class="tab-pane" id="tab_channel">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.context.$touched || form.$submitted) && form.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="context" placeholder="{{\'APPLICATION_CONTEXT\' | translate}}" class="form-control" data-ng-model="process.context" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CONTEXT\' | translate}}</span>\n <span data-ng-show="(form.context.$touched || form.$submitted) && form.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n <!-- START EXTENSION -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.extension.$touched || form.$submitted) && form.extension.$invalid}">\n <label class="control-label">{{\'APPLICATION_EXTENSION\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="extension" placeholder="{{\'APPLICATION_EXTENSION\' | translate}}" class="form-control" data-ng-model="process.extension" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_EXTENSION\' | translate}}</span><a href="/channels/voice/routes/internal/list">Link {{\'APPLICATION_INTERNAL\' | translate}}</a>\n <span data-ng-show="(form.extension.$touched || form.$submitted) && form.extension.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTENSION -->\n <!-- START PRIORITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.priority.$touched || form.$submitted) && form.priority.$invalid}">\n <label class="control-label">{{\'APPLICATION_PRIORITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="priority" placeholder="{{\'APPLICATION_PRIORITY\' | translate}}" class="form-control" data-ng-model="process.priority" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_PRIORITY\' | translate}}</span>\n <span data-ng-show="(form.priority.$touched || form.$submitted) && form.priority.$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.priority.$error.max || form.priority.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY -->\n <!-- START PREFIX -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_PREFIX\' | translate}}</label>\n <input type="text" name="prefix_code" placeholder="{{\'APPLICATION_PREFIX\' | translate}}" class="form-control" data-ng-model="process.prefix_code"/>\n <span class="help-block">{{\'DESCRIPTION_TD_PREFIX\' | translate}}</span>\n </div>\n <!-- END PREFIX -->\n <!-- START TECHNOLOGY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TECHNOLOGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="tech" class="form-control" data-ng-model="process.tech" ng-options="tech for tech in techs" required>\n </select>\n <span class="help-block">{{\'DESCRIPTION_TD_TECHNOLOGY\' | translate}}</span>\n </div>\n <!-- END TECHNOLOGY -->\n <!-- START DEVICE -->\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 <input type="text" name="device" placeholder="{{\'APPLICATION_TRUNK\' | translate}}" class="form-control" data-ng-model="process.device" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_TRUNK\' | translate}}</span>\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 <!-- END DEVICE -->\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.callerid.$touched || form.$submitted) && form.callerid.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLERID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="callerid" placeholder="{{\'APPLICATION_CALLERID\' | translate}}" class="form-control" data-ng-model="process.callerid" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CALLERID\' | translate}}</span>\n <span data-ng-show="(form.callerid.$touched || form.$submitted) && form.callerid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple data-ng-model="process.codecs" name="codecs" theme="bootstrap" data-ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="codec in codecs">\n {{codec}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END CODEC -->\n <!-- START DIAL FORMAT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DIAL_FORMAT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="dial_format" class="form-control" data-ng-model="process.dial_format" ng-options="dial_format for dial_format in dialFormats" required>\n </select>\n <span class="help-block">{{\'DESCRIPTION_TD_DIAL_FORMAT\' | translate}}</span>\n </div>\n <!-- END DIAL FORMAT -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANNEL TAB -->\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_advanced">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n <!-- START CHECK DUPLICATE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHECK_DUPLICATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="check_duplicate" class="form-control" data-ng-model="process.check_duplicate" ng-options="check_duplicate for check_duplicate in checkDuplicates" required>\n </select>\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_DUPLICATE\' | translate}}</span>\n </div>\n <!-- END CHECK DUPLICATE -->\n <!-- START CHECK BLACKLIST -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHECK_BLACKLIST\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.check_blacklist"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_BLACKLIST\' | translate}}</span>\n </div>\n <!-- END CHECK BLACKLIST -->\n <!-- START CHECK PHONE LENGHT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.check_phone_length.$touched || form.$submitted) && form.check_phone_length.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHECK_PHONE_LENGHT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="check_phone_length" placeholder="{{\'APPLICATION_CHECK_PHONE_LENGHT\' | translate}}" class="form-control" data-ng-model="process.check_phone_length" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_PHONE_LENGHT\' | translate}}</span>\n <span data-ng-show="(form.check_phone_length.$touched || form.$submitted) && form.check_phone_length.$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.check_phone_length.$error.max || form.check_phone_length.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END CHECK PHONE LENGHT -->\n <!-- START TIME SLICE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.time_slice.$touched || form.$submitted) && form.time_slice.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIME_SLICE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="time_slice" placeholder="{{\'APPLICATION_TIME_SLICE\' | translate}}" class="form-control" data-ng-model="process.time_slice" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_TIME_SLICE\' | translate}}</span>\n <span data-ng-show="(form.time_slice.$touched || form.$submitted) && form.time_slice.$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.time_slice.$error.max || form.time_slice.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END TIME SLICE -->\n <!-- START MISSED -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHECK_MISSED\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.missed"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_MISSED\' | translate}}</span>\n </div>\n <!-- END MISSED -->\n <!-- START CHANNEL LIMIT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.channel_limit.$touched || form.$submitted) && form.channel_limit.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHANNEL_LIMIT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="channel_limit" placeholder="{{\'APPLICATION_CHANNEL_LIMIT\' | translate}}" class="form-control" data-ng-model="process.channel_limit" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CHANNEL_LIMIT\' | translate}}</span>\n <span data-ng-show="(form.channel_limit.$touched || form.$submitted) && form.channel_limit.$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.channel_limit.$error.max || form.channel_limit.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END CHANNEL LIMIT -->\n <!-- START CONTEXT FOR OTHER CALLS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CONTEXT_FOR_OTHER_CALLS\' | translate}}</label>\n <input type="text" name="context_for_other_calls" placeholder="{{\'APPLICATION_CONTEXT_FOR_OTHER_CALLS\' | translate}}" class="form-control" data-ng-model="process.context_for_other_calls"/>\n <span class="help-block">{{\'DESCRIPTION_TD_CONTEXT_FOR_OTHER_CALLS\' | translate}}</span>\n </div>\n <!-- END CONTEXT FOR OTHER CALLS -->\n <!-- START EXTENSION FOR OTHER CALLS-->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_EXTENSION_FOR_OTHER_CALLS\' | translate}}</label>\n <input type="text" name="extension_for_other_calls" placeholder="{{\'APPLICATION_EXTENSION_FOR_OTHER_CALLS\' | translate}}" class="form-control" data-ng-model="process.extension_for_other_calls"/>\n <span class="help-block">{{\'DESCRIPTION_TD_EXTENSION_FOR_OTHER_CALLS\' | translate}}</span>\n </div>\n <!-- END EXTENSION FOR OTHER CALLS-->\n <!-- START PRIORITY FOR OTHER CALLS-->\n <div class="form-group" data-ng-class="{\'has-error\': (form.priority_for_other_calls.$touched || form.$submitted) && form.priority_for_other_calls.$invalid}">\n <label class="control-label">{{\'APPLICATION_PRIORITY_FOR_OTHER_CALLS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="priority_for_other_calls" placeholder="{{\'APPLICATION_PRIORITY_FOR_OTHER_CALLS\' | translate}}" class="form-control" data-ng-model="process.priority_for_other_calls"/>\n <span class="help-block">{{\'DESCRIPTION_TD_PRIORITY_FOR_OTHER_CALLS\' | translate}}</span>\n <span data-ng-show="form.priority_for_other_calls.$error.max || form.priority_for_other_calls.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY FOR OTHER CALLS -->\n <!-- START TIMEZONE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_EXTENDED_TIME_INTERVAL\' | translate}}</label>\n <input type="text" name="timezone" placeholder="08:30-20:30" class="form-control" data-ng-model="process.timezone"/>\n <span class="help-block">{{\'DESCRIPTION_TD_EXTENDED_TIME_INTERVAL\' | translate}}</span>\n </div>\n <!-- END TIMEZONE -->\n\n <!-- START AUTO TIMEZONE MANAGEMENT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTO_TIMEZONE_MANAGEMENT\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.auto_timezone_management"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_AUTO_TIMEZONE_MANAGEMENT\' | translate}}</span>\n </div>\n <!-- END AUTO TIMEZONE MANAGEMENT -->\n <!-- START IGNORE STRINGS-->\n <!-- COMMENTED: BECAUSE IGNORE_STRINGS IS AN ARRAY NOT A STRING-->\n <!-- <div class="form-group">\n <label class="control-label">{{\'APPLICATION_IGNORE_STRINGS\' | translate}}</label>\n <input type="text" name="ignore_strings" placeholder="{{\'APPLICATION_IGNORE_STRINGS\' | translate}}" class="form-control" data-ng-model="process.ignore_strings"/>\n <span class="help-block">{{\'DESCRIPTION_TD_IGNORE_STRINGS\' | translate}}</span>\n </div> -->\n <!-- END IGNORE STRINGS-->\n <!-- START MIN OPERATOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.min_operator.$touched || form.$submitted) && form.min_operator.$invalid}">\n <label class="control-label">{{\'APPLICATION_MIN_OPERATOR\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="min_operator" placeholder="{{\'APPLICATION_MIN_OPERATOR\' | translate}}" class="form-control" data-ng-model="process.min_operator" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_MIN_OPERATOR\' | translate}}</span>\n <span data-ng-show="(form.min_operator.$touched || form.$submitted) && form.min_operator.$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.min_operator.$error.max || form.min_operator.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END MIN OPERATOR -->\n <!-- START ALERT MAX CALLS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.alert_max_calls.$touched || form.$submitted) && form.alert_max_calls.$invalid}">\n <label class="control-label">{{\'APPLICATION_ALERT_MAX_CALLS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="alert_max_calls" placeholder="{{\'APPLICATION_ALERT_MAX_CALLS\' | translate}}" class="form-control" data-ng-model="process.alert_max_calls" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_ALERT_MAX_CALLS\' | translate}}</span>\n <span data-ng-show="(form.alert_max_calls.$touched || form.$submitted) && form.alert_max_calls.$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.alert_max_calls.$error.max || form.alert_max_calls.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END ALERT MAX CALLS -->\n <!-- START ALERT TIME SLICE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.alert_time_slice.$touched || form.$submitted) && form.alert_time_slice.$invalid}">\n <label class="control-label">{{\'APPLICATION_ALERT_TIME_SLICE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="alert_time_slice" placeholder="{{\'APPLICATION_ALERT_TIME_SLICE\' | translate}}" class="form-control" data-ng-model="process.alert_time_slice" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_ALERT_TIME_SLICE\' | translate}}</span>\n <span data-ng-show="(form.alert_time_slice.$touched || form.$submitted) && form.alert_time_slice.$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.alert_time_slice.$error.max || form.alert_time_slice.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END ALERT TIME SLICE -->\n <!-- START DROP MAX COUNT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.drop_max_count.$touched || form.$submitted) && form.drop_max_count.$invalid}">\n <label class="control-label">{{\'APPLICATION_DROP_MAX_COUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="drop_max_count" placeholder="{{\'APPLICATION_DROP_MAX_COUNT\' | translate}}" class="form-control" data-ng-model="process.drop_max_count" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_DROP_MAX_COUNT\' | translate}}</span>\n <span data-ng-show="(form.drop_max_count.$touched || form.$submitted) && form.drop_max_count.$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.drop_max_count.$error.max || form.drop_max_count.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END DROP MAX COUNT -->\n <!-- START SUCCESS CALL SIZE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.success_call_size.$touched || form.$submitted) && form.success_call_size.$invalid}">\n <label class="control-label">{{\'APPLICATION_SUCCESS_CALL_SIZE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="success_call_size" placeholder="{{\'APPLICATION_SUCCESS_CALL_SIZE\' | translate}}" class="form-control" data-ng-model="process.success_call_size" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_SUCCESS_CALL_SIZE\' | translate}}</span>\n <span data-ng-show="(form.success_call_size.$touched || form.$submitted) && form.success_call_size.$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.success_call_size.$error.max || form.success_call_size.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END SUCCESS CALL SIZE -->\n <!-- START IGNORE STRINGS-->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TIME_EXPIRED\' | translate}}</label>\n <input type="text" name="expiredtime" placeholder="yyyy-MM-dd HH:mm:ss" class="form-control" data-ng-model="process.expiredtime"/>\n <span class="help-block">{{\'DESCRIPTION_TD_TIME_EXPIRED\' | translate}}</span>\n </div>\n <!-- END IGNORE STRINGS-->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ANDVANCED TAB -->\n <!-- START STATUS TAB -->\n <div class="tab-pane" id="tab_status">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n <table class="table table-bordered table-hover">\n <thead>\n <tr role="row" class="heading">\n <th>\n {{ \'APPLICATION_VALUE\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_MAX_RETRIES\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_RETRY_TIME\' | translate}} [min]\n </th>\n <th>\n {{ \'APPLICATION_DESCRIPTION\' | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n {{ \'APPLICATION_AMD\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="amd_max_retries"class="form-control" data-ng-model="process.amd_max_retries" required/>\n <span data-ng-show="(form.amd_max_retries.$touched || form.$submitted) && form.amd_max_retries.$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.amd_max_retries.$error.max || form.amd_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="amd_retry_time" class="form-control" data-ng-model="process.amd_retry_time" required/>\n <span data-ng-show="(form.amd_retry_time.$touched || form.$submitted) && form.amd_retry_time.$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.amd_retry_time.$error.max || form.amd_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_AMD\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_BUSY\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="busy_max_retries"class="form-control" data-ng-model="process.busy_max_retries" required/>\n <span data-ng-show="(form.busy_max_retries.$touched || form.$submitted) && form.busy_max_retries.$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.busy_max_retries.$error.max || form.busy_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="busy_retry_time"class="form-control" data-ng-model="process.busy_retry_time" required/>\n <span data-ng-show="(form.busy_retry_time.$touched || form.$submitted) && form.busy_retry_time.$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.busy_retry_time.$error.max || form.busy_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_BUSY\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_CONGESTION\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="congestion_max_retries"class="form-control" data-ng-model="process.congestion_max_retries" required/>\n <span data-ng-show="(form.congestion_max_retries.$touched || form.$submitted) && form.congestion_max_retries.$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.congestion_max_retries.$error.max || form.congestion_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="congestion_retry_time"class="form-control" data-ng-model="process.congestion_retry_time" required/>\n <span data-ng-show="(form.congestion_retry_time.$touched || form.$submitted) && form.congestion_retry_time.$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.congestion_retry_time.$error.max || form.congestion_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_CONGESTION\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_DROP\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="drop_max_retries"class="form-control" data-ng-model="process.drop_max_retries" required/>\n <span data-ng-show="(form.drop_max_retries.$touched || form.$submitted) && form.drop_max_retries.$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.drop_max_retries.$error.max || form.drop_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="drop_retry_time"class="form-control" data-ng-model="process.drop_retry_time" required/>\n <span data-ng-show="(form.drop_retry_time.$touched || form.$submitted) && form.drop_retry_time.$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.drop_retry_time.$error.max || form.drop_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_DROP\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_FAILED\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="failed_max_retries"class="form-control" data-ng-model="process.failed_max_retries" required/>\n <span data-ng-show="(form.failed_max_retries.$touched || form.$submitted) && form.failed_max_retries.$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.failed_max_retries.$error.max || form.failed_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="failed_retry_time"class="form-control" data-ng-model="process.failed_retry_time" required/>\n <span data-ng-show="(form.failed_retry_time.$touched || form.$submitted) && form.failed_retry_time.$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.failed_retry_time.$error.max || form.failed_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_FAILED\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_NOANSWER\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="noanswer_max_retries"class="form-control" data-ng-model="process.noanswer_max_retries" required/>\n <span data-ng-show="(form.noanswer_max_retries.$touched || form.$submitted) && form.noanswer_max_retries.$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.noanswer_max_retries.$error.max || form.noanswer_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="noanswer_retry_time"class="form-control" data-ng-model="process.noanswer_retry_time" required/>\n <span data-ng-show="(form.noanswer_retry_time.$touched || form.$submitted) && form.noanswer_retry_time.$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.noanswer_retry_time.$error.max || form.noanswer_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_NOANSWER\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_NOSUCHEXTENSION\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="nosuchextension_max_retries"class="form-control" data-ng-model="process.nosuchextension_max_retries" required/>\n <span data-ng-show="(form.nosuchextension_max_retries.$touched || form.$submitted) && form.nosuchextension_max_retries.$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.nosuchextension_max_retries.$error.max || form.nosuchextension_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="nosuchextension_retry_time"class="form-control" data-ng-model="process.nosuchextension_retry_time" required/>\n <span data-ng-show="(form.nosuchextension_retry_time.$touched || form.$submitted) && form.nosuchextension_retry_time.$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.nosuchextension_retry_time.$error.max || form.nosuchextension_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_NOSUCHEXTENSION\' | translate}}\n </td>\n </tr>\n </tbody>\n </table>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END STATUS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/motiondialer/process/view/view.spooler.edit.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_EDIT\' | translate }} {{ \'APPLICATION_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START RETRIEVE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.retrieve.$touched || form.$submitted) && form.retrieve.$invalid}" ng-init="initModal()">\n <label class="control-label">RETRIEVE<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="(form.retrieve.$touched || form.$submitted) && form.retrieve.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RETRIEVE -->\n <!-- START PLANNING DATE -->\n <div class="form-group" data-ng-show="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (form.date.$touched || form.$submitted) && form.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="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'"></uib-datepicker>\n <span data-ng-show="(form.date.$touched || form.$submitted) && form.date.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PLANNING DATE -->\n <!-- START PLANNING TIME -->\n <div class="form-group" data-ng-show="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (form.time.$touched || form.$submitted) && form.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="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" show-meridian="false" show-seconds="false"></uib-timepicker>\n <span data-ng-show="(form.time.$touched || form.$submitted) && form.time.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PLANNING TIME -->\n <!-- START PLANNING PEER -->\n <div class="form-group" data-ng-show="entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (form.agent.$touched || form.$submitted) && form.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="agent" class="form-control" data-ng-model="entitySpooler.planningpeer" ng-options="agent for agent in agents" required="entitySpooler.retrieve == \'PLANNED_PEER\'">\n </select>\n <span data-ng-show="(form.agent.$touched || form.$submitted) && form.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PLANNING PEER -->\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_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/view/view.spooler.history.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_HISTORY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <json-formatter json="historySpooler" open="2"></json-formatter>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/view/view.spooler.html",'<div class="row" data-ng-init="getSpooler()">\n <div class="col-md-12">\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_SPOOLER\' | translate}} </span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/salesforce/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-cloud"></i>\n <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-cloud font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SALESFORCE\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/salesforce/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/salesforce/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START CHANNEL -->\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_AUTHENTICATION_TYPE\' | translate}}</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 <!-- START CHANNEL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/salesforce/view/configuration/list/list.html",'<div ui-view class="profile-content">\n <div class="row">\n <div class="col-md-12">\n <div class="portlet light" data-ng-init="initView()">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/salesforce/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/salesforce/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CLIENT ID -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientId.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_ID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientId" placeholder="{{\'APPLICATION_CLIENT_ID\' | translate}}" class="form-control" data-ng-model="account.clientId" required/>\n <span data-ng-show="forms.formSetting.clientId.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT ID -->\n\n <!-- START CLIENT SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientSecret.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientSecret" placeholder="{{\'APPLICATION_CLIENT_SECRET\' | translate}}" class="form-control" data-ng-model="account.clientSecret" required/>\n <span data-ng-show="forms.formSetting.clientSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT SECRET -->\n\n <!-- START SECURITY TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.securityToken.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECURITY_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="securityToken" placeholder="{{\'APPLICATION_SECURITY_TOKEN\' | translate}}" class="form-control" data-ng-model="account.securityToken" required/>\n <span data-ng-show="forms.formSetting.securityToken.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SECURITY TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/salesforce/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-cloud"></i>\n <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/salesforce.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.salesforce.view.account\')}">\n <a ng-href="/salesforce/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.salesforce.view.configurations\') || $state.is(\'main.salesforce.view.configuration\')}">\n <a ng-href="/salesforce/view/{{account.id}}/configurations/list">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/salesforce/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-cloud"></i>\n <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/salesforce/accounts/validate/username"/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CLIENT ID -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientId.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_ID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientId" placeholder="{{\'APPLICATION_CLIENT_ID\' | translate}}" class="form-control" data-ng-model="item.clientId" required/>\n <span data-ng-show="forms.formSetting.clientId.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT ID -->\n\n <!-- START CLIENT SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientSecret.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientSecret" placeholder="{{\'APPLICATION_CLIENT_SECRET\' | translate}}" class="form-control" data-ng-model="item.clientSecret" required/>\n <span data-ng-show="forms.formSetting.clientSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT SECRET -->\n\n <!-- START SECURITY TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.securityToken.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECURITY_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="securityToken" placeholder="{{\'APPLICATION_SECURITY_TOKEN\' | translate}}" class="form-control" data-ng-model="item.securityToken" required/>\n <span data-ng-show="forms.formSetting.securityToken.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SECURITY TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/customization/view/general/general.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_GENERAL_CUSTOMIZATION\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_CHANGE_LOGO\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- CHANGE LOGO TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <div class="col-md-6 col-sm-6" >\n <div class="portlet light bordered" style="min-height:411px;">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MAIN\' | translate }}</span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <form action="#" role="form" class="row">\n <!-- START STATUS -->\n <div class="form-group col-md-6 col-sm-6">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="settings.defaultLogo"\n data-ng-init="settings.defaultLogo = license.custom ? settings.defaultLogo : true"\n type="checkbox"\n name="defaultLogo"\n data-ng-change="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 <!-- END STATUS -->\n <div class="form-group col-md-6 col-sm-6" data-ng-if="!settings.defaultLogo && license.custom">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader"/><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-md-6 col-sm-6">\n <div class="portlet light bordered" style="min-height:411px;">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LOGIN\' | translate }}</span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <form action="#" role="form" class="row">\n <!-- START STATUS -->\n <div class="form-group col-md-6 col-sm-6">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="settings.defaultLoginLogo"\n data-ng-init="settings.defaultLoginLogo = license.custom ? settings.defaultLoginLogo : true"\n type="checkbox"\n name="defaultLoginLogo"\n data-ng-change="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 <!-- END STATUS -->\n <div class="form-group col-md-6 col-sm-6" data-ng-if="!settings.defaultLoginLogo && license.custom">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader2.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader2"/><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader2.queue[0]" data-dismiss="fileinput" ng-click="uploader2.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader2.queue[0]" data-ng-click="uploader2.queue[0].upload()" ng-disabled="uploader2.queue[0].isReady || uploader2.queue[0].isUploading || uploader2.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader2.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader2.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- END CHANGE LOGO TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/setting/customization/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-globe"></i>\n <a href="#">{{ \'APPLICATION_CUSTOMIZATION\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/customize.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ \'APPLICATION_CUSTOMIZATION\' | translate }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.setting.customization.view.general\')}">\n <a ng-href="/setting/customization/view/general">\n <i class="icon-picture"></i>\n {{ \'APPLICATION_GENERAL\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/license/view/update.modal.html",'<div class="modal-header" data-ng-init="getLicense()">\n <h3 class="modal-title">{{ \'APPLICATION_UPDATE_LICENSE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START LICENSE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_LICENSE\' | translate}}</label>\n <textarea type="text" style="min-height:95px;" name="description" placeholder="{{\'APPLICATION_LICENSE\' | translate}}" class="form-control" data-ng-model="item.license"></textarea>\n </div>\n <!-- END LICENSE -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="update()" ng-disabled="form.$invalid">{{ \'APPLICATION_UPDATE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/setting/license/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div\n 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 <!-- BEGIN PROFILE CONTENT -->\n <div class="profile-content">\n <div class="row">\n <div class="col-md-6">\n <div class="pricing hover-effect">\n <div class="pricing-head" data-ng-switch="license.months">\n <h3 ng-switch-when="1">{{\'APPLICATION_MONTH_TO_MONTH\' | translate}}<span>{{license.token || \'unknown\'}} </span></h3>\n <h3 ng-switch-when="12">{{\'APPLICATION_YEARLY\' | translate}}<span>{{license.token || \'unknown\'}} </span></h3>\n <h3 ng-switch-when="36">{{\'APPLICATION_PERPETUAL\' | translate}}<span>{{license.token || \'unknown\'}} </span></h3>\n <h3 ng-switch-default>{{\'APPLICATION_UNKNOWN\' | translate}}<span>{{license.token || \'unknown\'}} </span></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="icon-paper-plane"></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-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-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="#" 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 <!-- START USERS -->\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 <!-- END USERS -->\n\n <!-- START AGENTS -->\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 <!-- END AGENTS -->\n\n <!-- START TELEPHONES -->\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 <!-- END TELEPHONES -->\n\n <!-- START CHAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.chat.$touched || form.$submitted) && form.chat.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHAT\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-bubble"></i>\n <input type="text" placeholder="{{\'APPLICATION_CHAT\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="chat" data-ng-model="item.chat">\n </span>\n </div>\n <span data-ng-show="(form.chat.$touched || forms.$submitted) && form.chat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CHAT -->\n\n <!-- START MAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.mail.$touched || form.$submitted) && form.mail.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAIL\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-envelope"></i>\n <input type="text" placeholder="{{\'APPLICATION_MAIL\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="mail" data-ng-model="item.mail">\n </span>\n </div>\n <span data-ng-show="(form.mail.$touched || forms.$submitted) && form.mail.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAIL -->\n\n <!-- START FAX -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.fax.$touched || form.$submitted) && form.fax.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-paper-plane"></i>\n <input type="text" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="fax" data-ng-model="item.fax">\n </span>\n </div>\n <span data-ng-show="(form.fax.$touched || forms.$submitted) && form.fax.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FAX -->\n\n <!-- START SMS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.messaging.$touched || form.$submitted) && form.messaging.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="glyphicon glyphicon-comment"></i>\n <input type="text" placeholder="{{\'APPLICATION_SMS\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="messaging" data-ng-model="item.messaging">\n </span>\n </div>\n <span data-ng-show="(form.messaging.$touched || forms.$submitted) && form.messaging.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SMS -->\n\n <!-- START CM -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.cm.$touched || form.$submitted) && form.cm.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTACT_MANAGER\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-notebook"></i>\n <input type="text" placeholder="{{\'APPLICATION_CONTACT_MANAGER\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="cm" data-ng-model="item.cm">\n </span>\n </div>\n <span data-ng-show="(form.cm.$touched || forms.$submitted) && form.cm.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CM -->\n\n <!-- START DIALER -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.dialer.$touched || form.$submitted) && form.dialer.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_DIALER\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-control-forward"></i>\n <input type="text" placeholder="{{\'APPLICATION_MOTION_DIALER\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="dialer" data-ng-model="item.dialer">\n </span>\n </div>\n <span data-ng-show="(form.dialer.$touched || forms.$submitted) && form.dialer.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DIALER -->\n\n <!-- START JSCRITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.jscripty.$touched || form.$submitted) && form.jscripty.$invalid}">\n <label class="control-label">{{\'APPLICATION_JSCRIPTY\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="fa fa-edit"></i>\n <input type="text" placeholder="{{\'APPLICATION_JSCRIPTY\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="jscripy" data-ng-model="item.jscripty">\n </span>\n </div>\n <span data-ng-show="(form.jscripty.$touched || forms.$submitted) && form.jscripty.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END JSCRIPTY -->\n\n <!-- START UPDATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.update.$touched || form.$submitted) && form.update.$invalid}">\n <label class="control-label">{{\'APPLICATION_UPDATE\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-cloud-download"></i>\n <input type="text" placeholder="{{\'APPLICATION_UPDATE\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="update" data-ng-model="item.update">\n </span>\n </div>\n <span data-ng-show="(form.update.$touched || forms.$submitted) && form.update.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END UPDATE -->\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 <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START ADDRESS -->\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 <!-- END ADDRESS -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-globe font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_EXTERNIP\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_EXTERNIP\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START ADDRESS -->\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 <!-- END ADDRESS -->\n\n <!-- START MASK -->\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 <!-- END MASK -->\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/localnet/localnet.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-desktop font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LOCALNET\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_LOCALNET\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/network/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-globe"></i>\n <a href="#">{{ \'APPLICATION_NETWORK\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/business.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ \'APPLICATION_NETWORK\' | translate }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.setting.network.view.localnet\')}">\n <a ng-href="/setting/network/view/localnet">\n <i class="icon-screen-desktop"></i>\n {{ \'APPLICATION_LOCALNET\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.setting.network.view.externip\')}">\n <a ng-href="/setting/network/view/externip">\n <i class="icon-globe"></i>\n {{ \'APPLICATION_EXTERNIP\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/smtp/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-envelope"></i>\n <a href="#">SMTP</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE CONTENT -->\n <div class="profile-content">\n <ui-select data-ng-model="item.type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'custom\', \'account\'] | filter: $select.search">\n <div ng-bind-html="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n\n <!-- START CUSTOM TAB -->\n <form name="custom" data-ng-submit="custom.$valid && updateItem()" ng-slide-down="item.type === \'custom\'" lazy-render duration="1" novalidate>\n\n <hr>\n\n <div data-ng-show="item.account.id">\n <div class="note note-danger" data-ng-show="item.account.state === \'DISCONNECTED\' || item.account.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="item.account.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="item.account.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="item.account.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n </div>\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.host.$touched || custom.$submitted) && custom.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_OUTGOING_MAIL_SERVER\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.account.host" required/>\n <span data-ng-show="(custom.host.$touched || custom.$submitted) && custom.host.$invalid && custom.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.username.$touched || custom.$submitted) && custom.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.account.username" required/>\n <span data-ng-show="(custom.username.$touched || custom.$submitted) && custom.username.$invalid && custom.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.password.$touched || custom.$submitted) && custom.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.account.password" required/>\n <span data-ng-show="(custom.password.$touched || custom.$submitted) && custom.password.$invalid && custom.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.port.$touched || custom.$submitted) && custom.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="item.account.port" required/>\n <span data-ng-show="(custom.custom.$touched || custom.$submitted) && custom.port.$invalid && custom.port.$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="(custom.port.$touched || custom.$submitted) && custom.port.$invalid && custom.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START SSL -->\n <div class="form-group row">\n <label class="col-md-2">\n SSL\n </label>\n <label class="col-md-10">\n <input\n bs-switch\n data-ng-model="item.account.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </label>\n </div>\n <!-- END SSL -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-show="custom.$valid" data-ng-disabled="smtpDisabled"/>\n <input class="btn blue-madison" type="button" value="Test" data-ng-click="test()" data-ng-show="custom.$valid" data-ng-disabled="smtpDisabled"/>\n </form>\n <!-- END CUSTOM TAB -->\n\n <!-- START CUSTOM TAB -->\n <form name="account" data-ng-init="initMailAccounts()" data-ng-submit="account.$valid && updateItem()" ng-slide-down="item.type === \'account\'" lazy-render duration="1" novalidate>\n\n <hr>\n\n <div data-ng-show="item.account.id">\n <div class="note note-danger" data-ng-show="item.account.state === \'DISCONNECTED\' || item.account.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="item.account.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="item.account.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="item.account.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n </div>\n\n <!-- START ACCOUNT -->\n <div class="form-group" data-ng-class="{\'has-error\': (account.account.$touched || account.$submitted) && account.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNTS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.username}}</ui-select-match>\n <ui-select-choices repeat="server in servers | filter: $select.search">\n <div ng-bind-html="server.username | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(account.queue.$touched || account.$submitted) && account.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ACCOUNT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-disabled="smtpDisabled"/>\n <input class="btn blue-madison" type="button" value="Test" data-ng-click="test()" data-ng-disabled="smtpDisabled"/>\n </form>\n <!-- END SMTP TAB -->\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/system/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-pie-chart"></i>\n <a href="#">{{ \'APPLICATION_SYSTEM\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div class="row ">\n <div class="col-md-6 col-sm-6">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MEMORY\' | translate }} (<b>{{ \'APPLICATION_TOTAL\' | translate }}</b>: {{system.memory.Total}} MB)</a> </span>\n </div>\n <div class="actions">\n <a class="btn btn-default" href="#" data-ng-click="initView()">\n <i class="icon-refresh"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="memory-spinner" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <canvas class="chart chart-pie" chart-data="system.memory.values" chart-labels="system.memory.labels" chart-legend="true">\n </canvas>\n </div>\n </div>\n </div>\n <div class="col-md-6 col-sm-6">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DISK\' | translate }} (<b>{{ \'APPLICATION_TOTAL\' | translate }}</b>: {{system.mount.size}} GB)</a> </span>\n </div>\n <div class="actions">\n <div class="portlet-input input-inline input-medium">\n <div class="input-group">\n <ui-select data-ng-model="system.mount" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISK\' | translate}}">{{$select.selected.mount}}</ui-select-match>\n <ui-select-choices repeat="disk in system.disks | filter: $select.search">\n <div ng-bind-html="disk.mount | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="input-group-btn">\n <button class="btn btn-default" href="#" data-ng-click="initView()">\n <i class="icon-refresh"></i>\n </button>\n </span>\n </div>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="disk-spinner" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <canvas class="chart chart-pie" chart-data="system.mount.values" chart-labels="system.mount.labels" chart-legend="true">\n </canvas>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n </div>\n </div>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">CPU (<b>{{ \'APPLICATION_NUMBER_OF_CORES\' | translate }}</b>: {{system.cpu.cores.length}}, <b>MOTION</b>: {{system.cpu.motion}} % )</a> </span>\n </div>\n <div class="actions">\n <a class="btn btn-default" href="#" data-ng-click="initView()">\n <i class="icon-refresh"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="row">\n <div class="col-md-2 col-sm-4" data-ng-repeat="cpu in system.cpu.cores">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="cpu-spinner" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <canvas class="chart chart-doughnut" chart-data="cpu.values" chart-labels="cpu.labels" chart-colours="cpu.colours" chart-legend="true">\n </canvas>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/setting/update/list/landing.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-cloud-download"></i>\n <a href="#">{{ \'APPLICATION_UPDATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- BEGIN PAGE CONTENT-->\n <div class="row" data-ng-init="initCounter()">\n <div class="col-md-12 page-500">\n <div class="number">\n <timer interval="1000" countdown="120">{{countdown}}</timer>\n </div>\n <div class="details">\n <h3>Wait! We need to restart xCALLY Motion server.</h3>\n <p>\n We are updating it!<br/>\n xCALLY Motion Team<br/><br/>\n </p>\n </div>\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/update/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-cloud-download"></i>\n <a href="#">{{ \'APPLICATION_UPDATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-cloud-download font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_UPDATES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <a class="btn btn-default" href="#" data-ng-click="pull()">\n <i class="icon-cloud-download"></i> {{ \'APPLICATION_UPDATE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/update/list/list.pull.html",'<div class="modal-header">\n <button data-ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text" data-ng-bind="modal.text"></p>\n <div data-ng-if="modal.html" data-ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n <button data-ng-repeat="button in modal.buttons" data-ng-class="button.classes" data-ng-click="button.click($event)" data-ng-bind="button.text" class="btn"></button>\n</div>\n'),a.put("app/square/odbc/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PROJECT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DSN -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.dsn.$touched || form.$submitted) && form.dsn.$invalid}">\n <label class="control-label">{{\'APPLICATION_ODBC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="dsn" placeholder="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion" class="form-control" data-ng-model="item.dsn" required/>\n <p class="help-block">Es. DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion</p>\n <span data-ng-show="(form.dsn.$touched || form.$submitted) && form.dsn.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DSN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/square/odbc/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_ODBCS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ODBCS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ODBC\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/odbc/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getOdbc()">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/square/odbc/list">{{ \'APPLICATION_ODBCS\' | translate }}</a>\n <i data-ng-show="odbc" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="odbc">\n <a href="#">{{odbc.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/odbc.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{odbc.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.square.odbc.view.settings\')}">\n <a data-ng-href="/square/odbc/view/{{odbc.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/square/odbc/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_ODBC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateOdbc()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="odbc.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DSN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.odbc.dsn.$touched || forms.odbc.$submitted) && forms.odbc.dsn.$invalid}">\n <label class="control-label">{{\'APPLICATION_ODBC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="dsn" placeholder="{{\'APPLICATION_DSN\' | translate}}" class="form-control" data-ng-model="odbc.dsn" required/>\n <p class="help-block">Es. DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion</p>\n <span data-ng-show="(forms.odbc.dsn.$touched || forms.odbc.$submitted) && forms.odbc.dsn.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DSN -->\n\n <!-- START DESCRIPTION -->\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="odbc.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/square/project/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PROJECT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/square/project/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="#">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PROJECTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROJECT\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/project/view/view.html",'<div class="row" data-ng-init="getProject()">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="/square/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a ng-href="/square/projects/view/{{squareProject.id}}">{{squareProject.name}}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div id="geEditor" class="geEditor"></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<script>\n\n\n</script>\n'),a.put("app/square/realtime/view/general/general.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="init()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a href="#">Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="/square/realtime/view/general">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.square.realtime.view.general\')}">\n <a href="/square/realtime/view/general">\n {{\'APPLICATION_GENERAL\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/recording/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a href="#">Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-microphone"></i>\n <a href="#">{{ \'APPLICATION_RECORDINGS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-play font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_RECORDINGS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/agent/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_STAFF\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-people"></i>\n <a href="#">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-people font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AGENTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <button type="button" class="btn green-jungle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="true" aria-expanded="true">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AGENT\' | translate }} <i class="fa fa-angle-down"></i>\n </button>\n <ul class="dropdown-menu" role="menu">\n <li>\n <a href="/staff/agents/wizard">\n Standard\n </a>\n </li>\n <li>\n <a href="/staff/agents/bulk">\n {{ \'APPLICATION_BULK\' | translate }}\n </a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/agent/view/view.account.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PERSONAL_INFO\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_AVATAR\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}">\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- PERSONAL INFO TAB -->\n <div class="tab-pane" data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()" id="tab_1_1">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="agent.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="agent.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="agent.email" required/>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START DESCRIPTION -->\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="agent.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START INTERNAL -->\n <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.internal" required disabled/>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div> -->\n <!-- END INTERNAL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n <!-- CHANGE AVATAR TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_2">\n <form action="#" role="form">\n <div class="form-group">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader" /><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- END CHANGE AVATAR TAB -->\n <!-- CHANGE PASSWORD TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}" id="tab_1_3">\n <form name="forms.changePwd" data-ng-submit="forms.changePwd.$valid && updatePassword()" novalidate>\n <!-- START CURRENT PWD -->\n <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.currentPwd" required/>\n <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CURRENT PWD -->\n <!-- START NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NEW PWD -->\n <!-- START RE-NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.reNewPwd" nx-equal="agent.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RE-NEW PWD -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANGE PASSWORD TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/agent/view/view.chat.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_CHAT\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="chatCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.chatCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.fax.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_FAX\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="faxCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.faxCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_STAFF\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-people"></i>\n <a href="/staff/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{agent.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-userpic">\n <img ng-src="api/users/avatar/{{agent.userpic ? agent.userpic : \'unknown_avatar\'}}" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- START SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{agent.fullname}}\n </div>\n <div class="profile-usertitle-job">\n {{agent.role}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.account\')}">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.voice\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/voice">\n <i class="icon-earphones-alt"></i>\n {{ \'APPLICATION_VOICE\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.chat\')}" data-ng-show="Auth.isAdmin() && license.chat">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/chat">\n <i class="icon-bubble"></i>\n {{ \'APPLICATION_CHAT\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.mail\')}" data-ng-show="Auth.isAdmin() && license.mail">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/mail">\n <i class="icon-envelope"></i>\n {{ \'APPLICATION_MAIL\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.fax\')}" data-ng-show="Auth.isAdmin() && license.fax">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/fax">\n <i class="icon-paper-plane"></i>\n {{ \'APPLICATION_FAX\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.sms\')}" data-ng-show="Auth.isAdmin() && license.messaging">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/sms">\n <i class=" glyphicon glyphicon-comment "></i>\n {{ \'APPLICATION_SMS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.openchannel\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/openchannel">\n <i class=" icon-globe "></i>\n {{ \'APPLICATION_OPEN_CHANNEL\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.motionbar\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/motionbar">\n <i class="icon-screen-desktop"></i>\n {{ \'APPLICATION_MOTION_BAR\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/staff/agent/view/view.mail.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_MAIL\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="mailCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.mailCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.motionbar.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_MOTION_BAR\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CALL_FORWARDING\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- START GENERAL TAB -->\n <div class="tab-pane" data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()" id="tab_1_1">\n <form name="forms.general" data-ng-submit="updateItem()" novalidate>\n\n <!-- START ENABLE_SETTINGS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ENABLE_SETTINGS\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarEnableSettings"\n type="checkbox"\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 <!-- END ENABLE_SETTINGS -->\n\n <!-- START AUTO_ANSWER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTO_ANSWER\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarAutoAnswer"\n type="checkbox"\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 <!-- END AUTO_ANSWER -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- START CALL FORWARDING TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_2">\n <form name="forms.callForwarding" data-ng-submit="updateItem()" novalidate>\n\n <!-- START UNCONDITIONAL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_UNCONDITIONAL\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarUnconditional"\n type="checkbox"\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 <!-- END UNCONDITIONAL -->\n\n\n <!-- START UNCONDITIONAL NUMBER -->\n <div class="form-group" data-ng-if="agent.phoneBarUnconditional" data-ng-class="{\'has-error\': (forms.callForwarding.phoneBarUnconditionalNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarUnconditionalNumber.$invalid}">\n <input type="text" name="phoneBarUnconditionalNumber" placeholder="{{\'APPLICATION_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.phoneBarUnconditionalNumber" required/>\n <span class="help-block">\n <!-- {{ \'DESCRIPTION_VOICE_HOST\' | translate }} -->\n </span>\n <span data-ng-show="(forms.callForwarding.phoneBarUnconditionalNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarUnconditionalNumber.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END UNCONDITIONAL NUMBER -->\n\n <!-- START NO REPLY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_NO_REPLY\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarNoReply"\n type="checkbox"\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 <!-- END NO REPLY -->\n\n <!-- START NO REPLY -->\n <div class="form-group" data-ng-if="agent.phoneBarNoReply" data-ng-class="{\'has-error\': (forms.callForwarding.phoneBarNoReplyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarNoReplyNumber.$invalid}">\n <input type="text" name="phoneBarNoReplyNumber" placeholder="{{\'APPLICATION_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.phoneBarNoReplyNumber" required/>\n <span class="help-block">\n <!-- {{ \'DESCRIPTION_VOICE_HOST\' | translate }} -->\n </span>\n <span data-ng-show="(forms.callForwarding.phoneBarNoReplyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarNoReplyNumber.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPLY -->\n\n <!-- START BUSY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_BUSY\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarBusy"\n type="checkbox"\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 <!-- END BUSY -->\n\n <!-- START BUSY NUMBER -->\n <div class="form-group" data-ng-if="agent.phoneBarBusy" data-ng-class="{\'has-error\': (forms.callForwarding.phoneBarBusyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarBusyNumber.$invalid}">\n <input type="text" name="phoneBarBusyNumber" placeholder="{{\'APPLICATION_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.phoneBarBusyNumber" required/>\n <span class="help-block">\n <!-- {{ \'DESCRIPTION_VOICE_HOST\' | translate }} -->\n </span>\n <span data-ng-show="(forms.callForwarding.phoneBarBusyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarBusyNumber.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END BUSY NUMBER -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CALL FORWARDING TAB -->\n <!-- START ADVANCED TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_3">\n <form name="forms.advanced" data-ng-submit="updateItem()" novalidate>\n\n <!-- START ENABLE REMOTE CONTROL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REMOTE_CONTROL\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarRemoteControl"\n type="checkbox"\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 <!-- END ENABLE REMOTE CONTROL -->\n\n\n <!-- START REMOTE CONTROL PORT -->\n <div class="form-group" data-ng-if="agent.phoneBarRemoteControl" data-ng-class="{\'has-error\': (forms.advanced.phoneBarRemoteControlPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarRemoteControlPort.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_CONTROL\' | translate}} {{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="phoneBarRemoteControlPort" placeholder="{{\'APPLICATION_REMOTE_CONTROL\' | translate}} {{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="agent.phoneBarRemoteControlPort" required/>\n <span class="help-block">Default: 9888</span>\n <span data-ng-show="(forms.advanced.phoneBarRemoteControlPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarRemoteControlPort.$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.advanced.phoneBarRemoteControlPort.$error.max || form.advanced.phoneBarRemoteControlPort.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE CONTROL PORT -->\n\n <!-- START SIP EXPIRES -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.phoneBarExpires.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarExpires.$invalid}">\n <label class="control-label">SIP {{\'APPLICATION_EXPIRES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="phoneBarExpires" placeholder="SIP {{\'APPLICATION_EXPIRES\' | translate}}" class="form-control" data-ng-model="agent.phoneBarExpires" required/>\n <span class="help-block">Default: 3600</span>\n <span data-ng-show="(forms.advanced.phoneBarExpires.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarExpires.$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.advanced.phoneBarExpires.$error.max || form.advanced.phoneBarExpires.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}} (min 1).\n </span>\n </div>\n <!-- END SIP EXPIRES -->\n\n <!-- START SIP PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.phoneBarListenPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarListenPort.$invalid}">\n <label class="control-label">SIP {{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" max="65535" name="phoneBarListenPort" placeholder="SIP {{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="agent.phoneBarListenPort" required/>\n <span class="help-block">Default: 5060</span>\n <span data-ng-show="(forms.advanced.phoneBarListenPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarListenPort.$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.advanced.phoneBarListenPort.$error.max || form.advanced.phoneBarListenPort.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}} (0-65535).\n </span>\n </div>\n <!-- END SIP PORT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/agent/view/view.openchannel.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_OPEN_CHANNEL\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="openchannelCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.openchannelCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.sms.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_SMS\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="smsCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.smsCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.voice.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_VOICE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.voice" data-ng-submit="updateItem()" novalidate>\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.internal.$touched || forms.voice.$submitted) && forms.voice.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.internal" required disabled/>\n <span data-ng-show="(forms.voice.internal.$touched || forms.voice.$submitted) && forms.voice.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="agent.transport" theme="bootstrap">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="agent.host" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_HOST\' | translate }}\n </span>\n <span data-ng-show="(forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START NAT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_NAT\' | translate}}</label>\n <ui-select multiple data-ng-model="agent.nat" name="nat" theme="bootstrap">\n <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="nat in [\'yes\', \'no\', \'never\', \'route\', \'force_rport\', \'comedia\'] | filter: $select.search">\n {{nat}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_NAT\' | translate }}\n </span>\n </div>\n <!-- END NAT -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="agent.type" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="type in [\'friend\', \'user\', \'peer\'] | filter: $select.search">\n <div ng-bind-html="type | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TYPE\' | translate }}\n </span>\n <span data-ng-show="(forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="agent.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHANSPY\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="agent.chanspy"\n type="checkbox"\n name="auth"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/agent/wizard/wizard-bulk.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-people"></i>\n <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/agents/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal(); item.amount = 2;">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-user font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItems()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START AMOUNT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.amount.$touched || forms.info.$submitted) && forms.info.amount.$invalid}">\n <label class="control-label">{{\'APPLICATION_AMOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="amount" min="2" placeholder="{{\'APPLICATION_AMOUNT\' | translate}}" class="form-control" data-ng-model="item.amount" required>\n <span data-ng-show="(forms.info.amount.$touched || forms.info.$submitted) && forms.info.amount.$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="(forms.info.amount.$touched || forms.info.$submitted) && forms.info.amount.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END AMOUNT -->\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" data-ng-pattern="settings.patternName" required>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n <form name="forms.voice" novalidate>\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'), -a.put("app/staff/agent/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-people"></i>\n <a href="/staff/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/agents/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal();">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-user font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" data-ng-pattern="settings.patternName" required>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <div class="input-group">\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled"/>\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="item.internalEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n <form name="forms.voice" novalidate>\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/staff/team/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_TEAM\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" 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/staff/team/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-shield"></i>\n <a href="/staff/teams/list">{{ \'APPLICATION_TEAMS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-shield font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TEAMS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TEAM\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/team/view/view.agents.html",'<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- GENERAL TAB -->\n <!-- BEGIN PORTLET-->\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n <!-- END PORTLET-->\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/team/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-shield"></i>\n <a href="/staff/teams/list">{{ \'APPLICATION_TEAMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{team.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/team.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{team.name}}\n </div>\n\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.teams.view.settings\')}">\n <a data-ng-href="/staff/teams/view/{{team.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.teams.view.agents\')}">\n <a data-ng-href="/staff/teams/view/{{team.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/team/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- PERSONAL INFO TAB -->\n <div>\n\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="team.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="team.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/telephone/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-phone"></i>\n <a href="/staff/telephones/list">{{ \'APPLICATION_TELEPHONES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-phone font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TELEPHONES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/staff/telephones/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TELEPHONE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/telephone/view/view.account.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_ACCOUNT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-ng-show="Auth.isAdmin() || item.id === getCurrentTelephone().id" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- PERSONAL INFO TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="updateItem() && forms.info.$valid" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" required ng-remote-validate="/api/agents/validate/name"/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" ng-click="next()"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n\n <!-- CHANGE PASSWORD TAB -->\n <div class="tab-pane" id="tab_1_2" data-ng-show="Auth.isAdmin() || item.id === getCurrentTelephone().id">\n <form name="forms.changePwd" data-ng-submit="updateItem() && forms.changePwd.$valid" novalidate>\n <!-- START CURRENT PWD -->\n <!-- <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.currentPwd" required/>\n <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div> -->\n <!-- END CURRENT PWD -->\n <!-- START NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NEW PWD -->\n <!-- START RE-NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.reNewPwd" nx-equal="item.password" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RE-NEW PWD -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANGE PASSWORD TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/telephone/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-phone"></i>\n <a href="/staff/telephones/list">{{ \'APPLICATION_TELEPHONES\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{item.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR TELEPHONEPIC -->\n <div class="profile-userpic">\n <img data-ng-src="assets/images/media/telephone.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR TELEPHONEPIC -->\n <!-- SIDEBAR TELEPHONE TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{item.fullname}}\n </div>\n <div class="profile-usertitle-job">\n {{item.role}}\n </div>\n </div>\n <!-- END SIDEBAR TELEPHONE TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.telephones.view.account\')}">\n <a data-ng-href="/staff/telephones/view/{{item.id}}/account">\n <i class="icon-phone"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.telephones.view.voice\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/telephones/view/{{item.id}}/voice">\n <i class="icon-earphones-alt"></i>\n {{ \'APPLICATION_VOICE\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/telephone/view/view.voice.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ACCOUNT\' | translate}} {{ \'APPLICATION_VOICE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" required readonly/>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$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="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_INTERNAL\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n'+" <ui-select-choices repeat=\"allow in ['g729', 'ilbc', 'gsm', 'ulaw', 'alaw'] | filter: $select.search\">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class=\"help-block\">\n {{ 'DESCRIPTION_VOICE_CODEC' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class=\"btn green-haze\" type=\"submit\" value=\"{{'APPLICATION_UPDATE' | translate}}\"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n"), -a.put("app/staff/telephone/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-phone"></i>\n <a href="/staff/telephones/list">{{ \'APPLICATION_TELEPHONES\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/staff/telephones/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal();">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-phone font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TELEPHONE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" ata-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <div class="input-group">\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled"/>\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="item.internalEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n <form name="forms.voice" novalidate>\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/staff/user/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-eye"></i>\n <a href="#">{{ \'APPLICATION_USERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-eye font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_USERS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/staff/users/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_USER\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PERSONAL_INFO\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_AVATAR\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-ng-show="Auth.isAdmin() || user.id === getCurrentUser().id" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- PERSONAL INFO TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="user.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="user.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="user.email" required/>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START DESCRIPTION -->\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="user.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n\n <!-- CHANGE AVATAR TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form action="#" role="form">\n <div class="form-group">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader" /><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n <span> {{ \'APPLICATION_REMOVE\' | translate }} </span>\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n <span> {{ \'APPLICATION_CONFIRM\' | translate }} </span>\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- END CHANGE AVATAR TAB -->\n <!-- CHANGE PASSWORD TAB -->\n <div class="tab-pane" id="tab_1_3" data-ng-show="Auth.isAdmin() || user.id === getCurrentUser().id">\n <form name="forms.changePwd" data-ng-submit="forms.changePwd.$valid && updatePassword()" novalidate>\n <!-- START CURRENT PWD -->\n <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="user.currentPwd" required/>\n <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CURRENT PWD -->\n <!-- START NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="user.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NEW PWD -->\n <!-- START RE-NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="user.reNewPwd" nx-equal="user.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RE-NEW PWD -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANGE PASSWORD TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/user/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-eye"></i>\n <a href="/staff/users/list">{{ \'APPLICATION_USERS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{user.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-userpic">\n <img ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{user.fullname}}\n </div>\n <div class="profile-usertitle-job">\n {{user.role}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.users.view.account\')}">\n <a data-ng-href="/staff/users/view/{{user.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate}}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.users.view.voice\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/users/view/{{user.id}}/voice">\n <i class="icon-earphones-alt"></i>\n {{ \'APPLICATION_VOICE\' | translate}}\n </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.staff.users.view.permit\')}" data-ng-show="Auth.isAdmin() && user.role === \'user\'">\n <a data-ng-href="/staff/users/view/{{user.id}}/permit/voice">\n <i class="icon-key"></i>\n {{ \'APPLICATION_PERMITS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.chat.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initChatQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.fax.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initFaxQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.voice\')}">\n <a href="/staff/users/view/{{user.id}}/permit/voice">\n <i class="icon-earphones-alt"></i> {{\'APPLICATION_VOICE\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.chat\')}">\n <a href="/staff/users/view/{{user.id}}/permit/chat">\n <i class="icon-bubble"></i> {{\'APPLICATION_CHAT\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.mail\')}">\n <a href="/staff/users/view/{{user.id}}/permit/mail">\n <i class="icon-envelope"></i>{{\'APPLICATION_MAIL\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.fax\')}">\n <a href="/staff/users/view/{{user.id}}/permit/fax">\n <i class="icon-paper-plane"></i> {{\'APPLICATION_FAX\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.sms\')}">\n <a href="/staff/users/view/{{user.id}}/permit/sms">\n <i class="glyphicon glyphicon-comment"></i> {{\'APPLICATION_SMS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.modules\')}" data-ng-if="user.role !== \'admin\'">\n <a href="/staff/users/view/{{user.id}}/permit/modules">\n <i class="icon-menu"></i> {{\'APPLICATION_MODULES\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.mail.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initMailQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.modules.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row left-margin" data-ng-init="getModules()">\n <div data-ng-repeat="module in modules" data-ng-if="(module.id === 8 && license.chat) || (module.id === 9 && license.mail) || (module.id === 10 && license.fax) || (module.id === 11 && license.messaging) || !_.includes([8,9,10,11],module.id)">\n <div class="form-group" data-ng-class="{\'left-margin-40\':module.ModuleId}">\n <span data-ng-if="module.ModuleId">└──</span> <input\n bs-switch\n class="form-control"\n ng-model="module.status"\n type="checkbox"\n data-ng-change="updatePermissions(module)"\n switch-active="{{ moduleSwitch.isActive }}"\n switch-on-text="{{ moduleSwitch.onText }}"\n switch-off-text="{{ moduleSwitch.offText }}"\n switch-on-color="{{ moduleSwitch.onColor }}"\n switch-off-color="{{ moduleSwitch.offColor }}"\n switch-animate="{{ moduleSwitch.animate }}"\n switch-size="{{ moduleSwitch.size }}"\n switch-label="{{ moduleSwitch.label }}"\n switch-icon="{{ moduleSwitch.icon }}"\n switch-radio-off="{{ moduleSwitch.radioOff }}"\n switch-label-width="{{ moduleSwitch.labelWidth }}"\n switch-handle-width="{{ moduleSwitch.handleWidth }}">\n <label class="control-label">{{module.name | capitalize}}</label>\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.sms.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initSmsQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.voice.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initVoiceQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.voice.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ACCOUNT\' | translate}} {{ \'APPLICATION_VOICE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="user.internal" required readonly/>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$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="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_INTERNAL\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="user.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="user.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n'+" <ui-select-choices repeat=\"allow in ['g729', 'ilbc', 'gsm', 'ulaw', 'alaw'] | filter: $select.search\">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class=\"help-block\">\n {{ 'DESCRIPTION_VOICE_CODEC' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class=\"btn green-haze\" type=\"submit\" value=\"{{'APPLICATION_UPDATE' | translate}}\"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n"), -a.put("app/staff/user/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-eye"></i>\n <a href="/staff/users/list">{{ \'APPLICATION_USERS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/staff/users/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal();">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-user font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_USER\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required />\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <div class="input-group">\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled"/>\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="item.internalEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/sugarcrm/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-handbag"></i>\n <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-handbag font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SUGARCRM\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/sugarcrm/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/sugarcrm/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END API KEY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/sugarcrm/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createConfiguration()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n <form name="formsConfiguration.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.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="configuration.name" required/>\n <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/sugarcrm/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <!-- <pre>\n {{descriptionItem|json}}\n </pre> -->\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/sugarcrm/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n <div class="col-md-12">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/sugarcrm/view/{{account.id}}/configuration" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{\'APPLICATION_NAME\' | translate}}</th>\n <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="configuration in configurations">\n <td>{{configuration.name}}</td>\n <td>{{configuration.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/sugarcrm/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="configurations.length">\n <td colspan="5" style="text-align:center;">\n <i>No configuration available</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/sugarcrm/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-handbag"></i>\n <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/sugarcrm.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.sugarcrm.view.account\')}">\n <a ng-href="/sugarcrm/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.sugarcrm.view.configurations\') || $state.is(\'main.sugarcrm.view.configuration\')}">\n <a ng-href="/sugarcrm/view/{{account.id}}/configurations">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/sugarcrm/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-handbag"></i>\n <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/sugarcrm/accounts/validate/remoteUri"/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/answer/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_CANNED_ANSWER\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.key.$touched || form.$submitted) && form.key.$invalid}">\n <label class="control-label">{{\'APPLICATION_KEY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="key" placeholder="{{\'APPLICATION_KEY\' | translate}}" class="form-control" data-ng-model="item.key" required/>\n <span data-ng-show="(form.key.$touched || form.$submitted) && form.key.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.value.$touched || form.$submitted) && form.value.$invalid}">\n <label class="control-label">{{\'APPLICATION_VALUE\' | translate}}<span class="required" aria-required="true">*</span></label></label>\n <textarea type="text" name="value" placeholder="{{\'APPLICATION_VALUE\' | translate}}" class="form-control" data-ng-model="item.value" required></textarea>\n <span data-ng-show="(form.value.$touched || form.$submitted) && form.value.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VALUE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/answer/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-magic-wand"></i>\n <a href="#">{{ \'APPLICATION_CANNED_ANSWERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-magic-wand font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CANNED_ANSWERS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CANNED_ANSWER\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/answer/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getAnswer()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-magic-wand"></i>\n <a href="/tools/answers/list">{{ \'APPLICATION_CANNED_ANSWER\' | translate }}</a>\n <i data-ng-show="answer" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="answer">\n <a href="#">{{answer.key}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/answer.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{answer.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.answers.view.settings\')}">\n <a data-ng-href="/tools/answers/view/{{answer.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/answer/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_CANNED_ANSWER\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateAnswer()" novalidate>\n\n <!-- START KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.key.$touched || forms.general.$submitted) && forms.general.key.$invalid}">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="key" placeholder="{{\'APPLICATION_KEY\' | translate}}" class="form-control" data-ng-model="answer.key" required/>\n <span data-ng-show="(forms.general.key.$touched || forms.general.$submitted) && forms.general.key.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END KEY -->\n\n <!-- START VALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.value.$touched || forms.general.$submitted) && forms.general.value.$invalid}">\n <label class="control-label">{{\'APPLICATION_VALUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea type="text" name="value" placeholder="{{\'APPLICATION_VALUE\' | translate}}" class="form-control" data-ng-model="answer.value" required></textarea>\n <span data-ng-show="(forms.general.value.$touched || forms.general.$submitted) && forms.general.value.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VALUE -->\n\n <!-- START DESCRIPTION -->\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="answer.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/automation/list/list.html",'<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-bulb"></i>\n <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/tools/automations/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\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="/tools/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="automation"></i>\n </li>\n <li data-ng-show="automation">\n <a href="#">{{ automation.description || automation.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ automation.name }}\n </div>\n <div class="profile-usertitle-job">\n {{ automation.description }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.automations.view.settings\')}">\n <a href="/tools/automations/view/{{automation.id}}/settings">\n <i class="icon-bulb"></i>\n {{ \'APPLICATION_SETTINGS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/automation/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_CONDITIONS\' | translate}} & {{\'APPLICATION_ACTIONS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="exitValidation(forms.general.$valid) && updateAutomation()" novalidate>\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="automation.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START CHANNEL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHANNEL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="channel" placeholder="{{\'APPLICATION_CHANNEL\' | translate}}" class="form-control" data-ng-model="automation.channel" required readonly/>\n <span data-ng-show="(forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid && forms.general.channel.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CHANNEL -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.timeout.$touched && forms.general.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} ({{\'APPLICATION_MINUTES\' | translate}})</label>\n <input type="number" name="timeout" min="10" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}} (min 10 {{\'APPLICATION_MINUTES\' | translate}})" class="form-control" data-ng-model="automation.timeout" data-ng-init="item.timeout = 10" required/>\n <span data-ng-show="forms.general.timeout.$touched && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label>\n </br>\n <input bs-switch class="form-control" ng-model="automation.status" type="checkbox" name="status" switch-active="{{ recordSwitch.isActive }}" switch-on-text="{{ recordSwitch.onText }}" switch-off-text="{{ recordSwitch.offText }}" switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}" switch-animate="{{ recordSwitch.animate }}" switch-size="{{ recordSwitch.size }}" switch-label="{{ recordSwitch.label }}" switch-icon="{{ recordSwitch.icon }}" switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}" switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description" />\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n <!-- END GENERAL TAB -->\n <div class="tab-pane" id="tab_1_2">\n <!-- All -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in automation.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Any -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in automation.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in automation.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $automations.services[automation.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-status ng-switch-when="status" element="action" form="forms.settings"></action-builder-status>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !automation.All.length && !automation.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !automation.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/automation/wizard/wizard.html",'<div class="row">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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="/tools/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" data-ng-submit="submit()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.name.$touched && forms.general.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="forms.general.name.$touched && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="item.status"\n type="checkbox"\n name="status"\n data-ng-init="item.status = 0"\n switch-active="{{ statusSwitch.isActive }}"\n switch-on-text="{{ statusSwitch.onText }}"\n switch-off-text="{{ statusSwitch.offText }}"\n switch-on-color="{{ statusSwitch.onColor }}"\n switch-off-color="{{ statusSwitch.offColor }}"\n switch-animate="{{ statusSwitch.animate }}"\n switch-size="{{ statusSwitch.size }}"\n switch-label="{{ statusSwitch.label }}"\n switch-icon="{{ statusSwitch.icon }}"\n switch-radio-off="{{ statusSwitch.radioOff }}"\n switch-label-width="{{ statusSwitch.labelWidth }}"\n switch-handle-width="{{ statusSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitSettingsValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_CHANNEL\' | translate }}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.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 | capitalize}}</ui-select-match>\n <ui-select-choices repeat="channel in $automations.channels | filter: $select.search">\n <div ng-bind-html="channel | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.channel.$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 </div>\n\n <!-- All -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in item.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="item.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Any -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in item.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="item.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in item.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $automations.services[item.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-status ng-switch-when="status" element="action" form="forms.settings"></action-builder-status>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.All.length && !item.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/tools/interval/list/list.create.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\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/interval/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-clock"></i>\n <a href="#">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INTERVALS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/interval/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getInterval()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-clock"></i>\n <a href="/tools/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n <i data-ng-show="interval" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="interval">\n <a href="#">{{interval.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/interval.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{interval.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.intervals.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/tools/intervals/view/\'+interval.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.tools.intervals.view.subintervals') || $state.is('main.tools.intervals.view.subinterval') || $state.is('main.tools.intervals.view.subintervals.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/tools/intervals/view/'+interval.id+'/subintervals')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_SUBINTERVALS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/tools/interval/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_INTERVAL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateInterval()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="interval.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="interval.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/interval/view/view.subinterval.html",'\n<div class="row" data-ng-init="initSubInterval(true)">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START TIME -->\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 <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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 <!-- END MONTH -->\n\n\n\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/interval/view/view.subintervalSettings.html",'\n<div class="row" data-ng-init="initSubInterval();getSubInterval();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SUBINTERVAL_SETTINGS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="updateInterval(\'subintervals\')">\n <div class="profile-usertitle-name">\n {{subinterval.name}}\n </div>\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.subinterval.name.$valid)">\n <form name="forms.subinterval" novalidate>\n\n <!-- START NAME -->\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="interval.SubIntervals[selectedSubInterval].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 <!-- END NAME -->\n\n <!-- START TIME -->\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 <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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 <!-- END MONTH -->\n\n\n\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/interval/view/view.subintervals.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_SUBINTERVALS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/tools/intervals/view/{{interval.id}}/subinterval" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="selectedSubInterval === undefined" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/tools/pause/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PAUSE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/pause/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-pause"></i>\n <a href="#">{{ \'APPLICATION_PAUSES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-pause font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PAUSES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PAUSE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/pause/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getPause()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-control-pause"></i>\n <a href="/tools/pauses/list">{{ \'APPLICATION_PAUSES\' | translate }}</a>\n <i data-ng-show="pause" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="pause">\n <a href="#">{{pause.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/pause.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{pause.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.pauses.view.settings\')}">\n <a data-ng-href="/tools/pauses/view/{{pause.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/pause/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_PAUSE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updatePause()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="pause.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="pause.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/tools/scheduler/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-calendar"></i>\n <a href="#">{{ \'APPLICATION_SCHEDULER\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SCHEDULES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/tools/scheduler/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_SCHEDULE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/scheduler/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-calendar"></i>\n <a href="/tools/scheduler/list">{{ \'APPLICATION_SCHEDULER\' | translate }}</a>\n <i data-ng-show="schedule" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="schedule">\n <a href="#">{{schedule.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/scheduler.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{schedule.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.scheduler.view.settings\')}">\n <a data-ng-href="/tools/scheduler/view/{{schedule.id}}/settings"><i class="icon-settings"></i> {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/scheduler/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SCHEDULE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab" data-ng-click="refreshSlider()">{{ \'APPLICATION_CONFIGURATION\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && forms.config.$valid && updateSchedule()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted && forms.general.name.$invalid) || forms.general.name.$error.pattern}">\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="schedule.name" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.name.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ACTIVE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ACTIVE\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="schedule.active"\n type="checkbox"\n name="status"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END ACTIVE -->\n\n <!-- START DESCRIPTION -->\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="schedule.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- CONFIG TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.config" data-ng-submit="forms.config.$valid && forms.general.$valid && updateSchedule()" data-ng-if="schedule.type===\'report\'" data-ng-init="initReports()" novalidate>\n\n <div class="row">\n\n <!-- START REPORT -->\n <div class="form-group col-md-10" data-ng-class="{\'has-error\': (forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.reportId" name="reportId" theme="bootstrap" on-select="setReportTree($item,$model)" required>\n <ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices group-by="\'parent\'" repeat="report.id as report in reports | filter: $select.search">\n <div ng-bind-html="report.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n <!-- START REPORT -->\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OUTPUT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.reportOutput" name="reportOutput" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_OUTPUT\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="output in [\'CSV\',\'PDF\'] | filter: $select.search">\n <div ng-bind-html="output | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n </div>\n\n <!-- START TODAY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_RUN_ON\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="switchValues.today"\n type="checkbox"\n name="status"\n data-ng-change="checkToday()"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_TODAY\' | translate }}"\n switch-off-text="{{ \'APPLICATION_RANGE\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END TODAY -->\n\n <!-- START VALIDITY -->\n <div class="form-group" data-ng-if="switchValues.today">\n <label class="control-label">{{\'APPLICATION_VALIDITY\' | translate}}</label>\n <rzslider rz-slider-model="schedule.validityStart" rz-slider-high="schedule.validityEnd" rz-slider-options="validitySlider"></rzslider>\n </div>\n <!-- END VALIDITY -->\n\n <!-- START RANGE -->\n <div class="form-group" data-ng-if="!switchValues.today" data-ng-class="{\'has-error\': (forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT_RANGE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.reportRange" name="range" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_RANGE\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="range.value as range in reportRanges | filter: $select.search">\n <div ng-bind-html="range.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RANGE -->\n\n <!-- START TODAY CRON -->\n <div class="form-group" data-ng-if="switchValues.today" data-ng-class="{\'has-error\': (forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.cron" name="cron" theme="bootstrap" data-ng-required="switchValues.today">\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="cron.value as cron in todayCron | filter: $select.search">\n <div ng-bind-html="cron.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TODAY -->\n <div class="row" data-ng-if="!switchValues.today">\n <!-- START CRONTYPE EXEC -->\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.type" name="cronType" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in cronTypes | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CRONTYPE -->\n\n <!-- START WEEKDAY -->\n <div class="form-group col-md-4" data-ng-if="schedule.cronType === \'weekly\'" data-ng-class="{\'has-error\': (forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_WEEKDAYS\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="rangeExec.weekDays" name="weekDay" theme="bootstrap" data-ng-required="schedule.cronType === \'weekly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_WEEKDAYS\' | translate }}">{{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="day.value as day in weekDays | filter: $select.search">\n <div ng-bind-html="day.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\n <div class="form-group col-md-4" data-ng-if="schedule.cronType === \'monthly\'" data-ng-class="{\'has-error\': (forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.monthDay" name="monthDay" theme="bootstrap" data-ng-required="schedule.cronType === \'monthly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_MONTHDAY\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="day in monthDays | filter: $select.search">\n <div ng-bind-html="day | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START HOUR -->\n <div class="form-group col-md-4" data-ng-if="schedule.cronType" data-ng-class="{\'has-error\': (forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$invalid}">\n <label class="control-label">{{ \'APPLICATION_HOUR\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.hour" name="hour" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_HOUR\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="hour in hours | filter: $select.search">\n <div ng-bind-html="hour | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOUR -->\n </div>\n\n <!-- START SEND MAIL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEND_MAIL\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="schedule.sendMail"\n type="checkbox"\n name="status"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END SEND MAIL -->\n <div class="row">\n <!-- START ACCOUNT -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ACCOUNT\' | translate }}<span class="required" data-ng-if="schedule.sendMail" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.MailServerOutId" name="MailServerOutId" theme="bootstrap" data-ng-disabled="!schedule.sendMail" data-ng-required="schedule.sendMail">\n <ui-select-match placeholder="{{ \'APPLICATION_ACCOUNT\' | translate }}">{{$select.selected.username}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailServers | filter: $select.search">\n <div ng-bind-html="account.username | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <div class="note note-warning" data-ng-hide="mailServers.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_ACCOUNTS_AVAILABLE\' | translate }}\n </p>\n </div>\n </div>\n <!-- END ACCOUNT -->\n\n <!-- START EMAIL -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.$submitted && forms.config.email.$invalid) || forms.config.email.$error.pattern}">\n <label class="control-label">{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}<span data-ng-if="schedule.sendMail" class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}" class="form-control" data-ng-model="schedule.email" data-ng-disabled="!schedule.sendMail" data-ng-required="schedule.sendMail"/>\n <span data-ng-show="forms.config.$submitted && forms.config.email.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CONFIG TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n<!-- <pre>\n {{rangeExec | json}}\n</pre>\n<pre>\n {{schedule | json}}\n</pre> -->\n'),a.put("app/tools/scheduler/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-calendar"></i>\n <a href="/tools/scheduler/list">{{ \'APPLICATION_SCHEDULER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SCHEDULE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted && forms.general.name.$invalid) || forms.general.name.$error.pattern}">\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" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.name.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ACTIVE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ACTIVE\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="item.active"\n type="checkbox"\n name="status"\n data-ng-init="item.active = 0"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END ACTIVE -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.type.$touched || forms.general.$submitted) && forms.general.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 }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in scheduleTypes | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <button class="btn green-haze" type="submit" ng-click="next(true)">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIGURATION\' | translate}}" canexit="exitValidation(forms.config.$valid)">\n <form name="forms.config" data-ng-if="item.type===\'report\'" data-ng-init="initReports()" novalidate>\n <div class="row">\n\n <!-- START REPORT -->\n <div class="form-group col-md-10" data-ng-class="{\'has-error\': (forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.reportId" name="reportId" theme="bootstrap" on-select="setReportTree($item,$model)" required>\n <ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices group-by="\'parent\'" repeat="report.id as report in reports | filter: $select.search">\n <div ng-bind-html="report.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n <!-- START REPORT -->\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OUTPUT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.reportOutput" name="reportOutput" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_OUTPUT\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="output in [\'CSV\',\'PDF\'] | filter: $select.search">\n <div ng-bind-html="output | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n </div>\n\n <!-- START TODAY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_RUN_ON\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="switchValues.today"\n type="checkbox"\n name="status"\n data-ng-change="checkToday()"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_TODAY\' | translate }}"\n switch-off-text="{{ \'APPLICATION_RANGE\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END TODAY -->\n\n <!-- START VALIDITY -->\n <div class="form-group" data-ng-if="switchValues.today">\n <label class="control-label">{{\'APPLICATION_VALIDITY\' | translate}}</label>\n <rzslider rz-slider-model="item.validityStart" rz-slider-high="item.validityEnd" rz-slider-options="validitySlider" data-ng-init="item.validityStart = 8;item.validityEnd = 16;"></rzslider>\n </div>\n <!-- END VALIDITY -->\n\n <!-- START RANGE -->\n <div class="form-group" data-ng-if="!switchValues.today" data-ng-class="{\'has-error\': (forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT_RANGE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.reportRange" name="range" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_RANGE\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="range.value as range in reportRanges | filter: $select.search">\n <div ng-bind-html="range.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RANGE -->\n\n <!-- START TODAY CRON EXEC -->\n <div class="form-group" data-ng-if="switchValues.today" data-ng-class="{\'has-error\': (forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.cron" name="cron" theme="bootstrap" data-ng-required="switchValues.today">\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="cron.value as cron in todayCron | filter: $select.search">\n <div ng-bind-html="cron.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TODAY CRON -->\n <div class="row" data-ng-if="!switchValues.today">\n <!-- START CRONTYPE EXEC -->\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.type" name="cronType" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in cronTypes | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CRONTYPE -->\n\n <!-- START WEEKDAY -->\n <div class="form-group col-md-4" data-ng-if="item.cronType === \'weekly\'" data-ng-class="{\'has-error\': (forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_WEEKDAYS\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="rangeExec.weekDays" name="weekDay" theme="bootstrap" data-ng-required="item.cronType === \'weekly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_WEEKDAYS\' | translate }}">{{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="day.value as day in weekDays | filter: $select.search">\n <div ng-bind-html="day.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\n <div class="form-group col-md-4" data-ng-if="item.cronType === \'monthly\'" data-ng-class="{\'has-error\': (forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.monthDay" name="monthDay" theme="bootstrap" data-ng-required="item.cronType === \'monthly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_MONTHDAY\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="day in monthDays | filter: $select.search">\n <div ng-bind-html="day | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START HOUR -->\n <div class="form-group col-md-4" data-ng-if="item.cronType" data-ng-class="{\'has-error\': (forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$invalid}">\n <label class="control-label">{{ \'APPLICATION_HOUR\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.hour" name="hour" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_HOUR\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="hour in hours | filter: $select.search">\n <div ng-bind-html="hour | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOUR -->\n </div>\n\n <!-- START SEND MAIL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEND_MAIL\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="item.sendMail"\n type="checkbox"\n name="status"\n data-ng-init="item.sendMail = 0"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END SEND MAIL -->\n <div class="row">\n <!-- START ACCOUNT -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ACCOUNT\' | translate }}<span class="required" data-ng-if="item.sendMail" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.MailServerOutId" name="MailServerOutId" theme="bootstrap" data-ng-disabled="!item.sendMail" data-ng-required="item.sendMail">\n <ui-select-match placeholder="{{ \'APPLICATION_ACCOUNT\' | translate }}">{{$select.selected.username}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailServers | filter: $select.search">\n <div ng-bind-html="account.username | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <div class="note note-warning" data-ng-hide="mailServers.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_ACCOUNTS_AVAILABLE\' | translate }}\n </p>\n </div>\n </div>\n <!-- END ACCOUNT -->\n\n <!-- START EMAIL -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.$submitted && forms.config.email.$invalid) || forms.config.email.$error.pattern}">\n <label class="control-label">{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}<span data-ng-if="item.sendMail" class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.email" required data-ng-disabled="!item.sendMail" data-ng-required="item.sendMail"/>\n <span data-ng-show="forms.config.$submitted && forms.config.email.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n </div>\n\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n<!-- <pre>\n {{rangeExec | json}}\n</pre>\n<pre>\n {{item | json}}\n</pre> -->\n'), -a.put("app/tools/sound/list/list.html",'<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-music-tone-alt"></i>\n <a href="#">{{ \'APPLICATION_SOUNDS\' | translate }}</a>\n </li>\n </ul>\n <div class="page-toolbar">\n </div>\n</div>\n<!-- END PAGE HEADER-->\n<!-- BEGIN PAGE CONTENT-->\n<!-- Audio Portlets -->\n<div class="headline">\n <h3><i class="icon-music-tone-alt sounds-title-icon"></i> {{ \'APPLICATION_SOUNDS\' | translate }}</h3>\n</div>\n<div class="portlet light bg-inverse">\n <div class="portlet-title collapsible" ng-click="isCollapsed = !isCollapsed">\n <div class="caption">\n <i class="icon-puzzle font-red-flamingo"></i>\n <span class="caption-subject bold font-red-flamingo uppercase">\n {{\'APPLICATION_FILE_UPLOAD\' | translate}} </span>\n </div>\n <div class="tools">\n <a href="" ng-class="{\'collapse\': !isCollapsed, \'expand\' : isCollapsed}">\n </a>\n </div>\n </div>\n <div class="portlet-body" ng-slide-down="!isCollapsed">\n <div class="row" nv-file-drop="" uploader="uploader" filters="queueLimit, customFilter">\n <div class="col-md-4">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-settings font-green-sharp"></i>\n <span class="caption-subject bold uppercase">{{\'APPLICATION_SELECT_FILES\' | translate}}</span>\n <span class="caption-helper hide"></span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <div ng-show="uploader.isHTML5">\n <div class="file-drop-zone margin-bottom-20" nv-file-over="" uploader="uploader" over-class="file-drop-zone-over">\n Base drop zone\n </div>\n </div>\n <span class="btn default btn-file">\n <span class="fileinput-new">\n {{\'APPLICATION_FILE_UPLOAD\' | translate}}</span>\n <input type="file" nv-file-select="" uploader="uploader" />\n </span>\n <span class="btn default btn-file">\n <span class="fileinput-new">\n {{\'APPLICATION_MULTI_FILE_UPLOAD\' | translate}}</span>\n <input type="file" nv-file-select="" uploader="uploader" multiple /><br/>\n </span>\n <p>\n </br>\n {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>wav, mp3, gsm, ogg</b>.\n </p>\n <p>\n {{ \'MESSAGE_MAXIMUM_SOUND_UPLOAD_SIZE\' | translate }} <b>15 Mb</b>.\n </p>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-settings font-green-sharp"></i>\n <span class="caption-subject bold uppercase">{{\'APPLICATION_UPLOAD_QUEUE\' | translate}}</span>\n <span class="caption-helper">{{\'APPLICATION_QUEUE_LENGTH\' | translate}}: {{ uploader.queue.length }}</span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <div class="table-scrollable table-scrollable-borderless">\n <table class="table table-hover table-light">\n <thead>\n <tr class="uppercase">\n <th width="50%">{{\'APPLICATION_NAME\' | translate}}</th>\n <th ng-show="uploader.isHTML5">{{\'APPLICATION_SIZE\' | translate}}</th>\n <th ng-show="uploader.isHTML5">{{\'APPLICATION_PROGRESS\' | translate}}</th>\n <th>{{\'APPLICATION_STATUS\' | translate}}</th>\n <th>{{\'APPLICATION_MESSAGE\' | translate}}</th>\n <th>{{\'APPLICATION_ACTIONS\' | translate}}</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="item in uploader.queue">\n <td><strong>{{ item.file.name }}</strong></td>\n <td ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n <td ng-show="uploader.isHTML5">\n <div class="progress progress-sm" style="margin-bottom: 0;">\n <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td class="text-center">\n <span ng-show="item.isSuccess" class="text-success"><i class="glyphicon glyphicon-ok"></i></span>\n <span ng-show="item.isCancel" class="text-info"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span ng-show="item.isError" class="text-danger"><i class="glyphicon glyphicon-remove"></i></span>\n <span ng-show="item.isUploading" class="text-info"><i class="glyphicon glyphicon-upload"></i></span>\n </td>\n <td class="text-center">\n <span ng-show="item.responseMessage" class="text-danger">{{item.responseMessage}}</span>\n </td>\n <td nowrap>\n <button type="button" class="btn btn-success btn-xs" ng-click="item.upload()" ng-disabled="item.isReady || item.isUploading || item.isSuccess">\n <span class="glyphicon glyphicon-upload"></span> {{\'APPLICATION_UPLOAD\' | translate}}\n </button>\n <button type="button" class="btn btn-warning btn-xs" ng-click="item.cancel()" ng-disabled="!item.isUploading">\n <span class="glyphicon glyphicon-ban-circle"></span> {{\'APPLICATION_CANCEL\' | translate}}\n </button>\n <button type="button" class="btn btn-danger btn-xs" ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div>\n <p>{{\'APPLICATION_UPLOAD_QUEUE_PROGRESS\' | translate}}:</p>\n <div class="progress progress-sm" style="">\n <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': uploader.progress + \'%\' }"></div>\n </div>\n </div>\n <button type="button" class="btn btn-success btn-s" ng-click="uploader.uploadAll()" ng-disabled="!uploader.getNotUploadedItems().length">\n <span class="glyphicon glyphicon-upload"></span> {{\'APPLICATION_UPLOAD_ALL\' | translate}}\n </button>\n <button type="button" class="btn btn-warning btn-s" ng-click="uploader.cancelAll()" ng-disabled="!uploader.isUploading">\n <span class="glyphicon glyphicon-ban-circle"></span> {{\'APPLICATION_CANCEL_ALL\' | translate}}\n </button>\n <button type="button" class="btn btn-danger btn-s" ng-click="uploader.clearQueue()" ng-disabled="!uploader.queue.length">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE_ALL\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class="row thumbnails" data-ng-init="initList()">\n <div class="row" ng-show="sounds.length == 0">\n <div class="col-md-12 page-404">\n <div class="details">\n <h3>{{ \'MESSAGE_NO_SOUNDS\' | translate }}</h3>\n <p>\n <a href="/">\n {{ \'MESSAGE_RETURN_HOME\' | translate }} </a>\n {{ \'MESSAGE_OR_UPLOAD_SOUND_FILE\' | translate }}\n </p>\n </div>\n </div>\n </div>\n <div class="audio-portlet-wrapper animate-repeat" ng-repeat="sound in sounds">\n <div class="audio-portlet">\n <div class="audio-portlet-title"><a href="#" editable-text="sound.display_name" onbeforesave="updateAudio(sound.id,{display_name : $data})">{{ sound.display_name || "Empty" }}</a></div>\n <img src="../assets/images/note_placeholder.png" alt="" class="img-responsive"/>\n <div class="file-info">\n <div class="audio-tag-wrapper">\n <audio-file-download params="{id:sound.id,controller:\'stream\'}" resource="Sound"></audio-file-download>\n </div>\n <p id="description_div">\n <a href="#" editable-text="sound.description" onbeforesave="updateAudio(sound.id,{description : $data})">{{ sound.description || "Empty" }}</a>\n </p>\n <p class="float-right">\n <button class="btn btn-xs green-meadow" uib-tooltip-template="\'audioInfoTemplate.html\'"><i class="icon-list"></i></button>\n <motion-file-download params="{id:sound.id,controller:\'download\'}" resource="Sound" mimetype="\'audio/\'+sound.original_format" tooltiptext="Download" filename="sound.name+\'.\'+sound.original_format" btnclass="{{downloadButtonClass}}" btncontent=\'{{downloadButtonContent}}\'></motion-file-download>\n <button uib-tooltip="Delete" class="btn btn-xs red-sunglo" ng-click="delete(sound.display_name, sound.id)" tooltip="Delete"><i class="icon-close" ></i></button>\n </p>\n </div>\n </div>\n </div>\n <script type="text/ng-template" id="audioInfoTemplate.html">\n <div>\n <ul class="list-unstyled">\n <li><b>Format : </b>{{sound.original_format}}</li>\n <li><b>Duration : </b>{{sound.original_duration | date: \'mm:ss\'}}</li>\n <li><b>Channels : </b>{{sound.original_channelCount}}</li>\n <li><b>Bitrate : </b>{{sound.original_bitRate/1024}} kbs</li>\n <li><b>Sample Rate : </b>{{sound.original_sampleRate/1000}} KHz</li>\n </ul>\n </div>\n </script>\n</div>\n<!-- End Audio Portlets -->\n'),a.put("app/tools/tag/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_TAG\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 data-ng-pattern="settings.patternName"/>\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 <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/tag/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-tag"></i>\n <a href="#">{{ \'APPLICATION_TAGS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TAGS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TAG\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/tag/view/view.chat.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_CHAT\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initChat()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.contacts.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_CONTACTS\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initContacts()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" data-ng-if="readyGrid && gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.fax.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_FAX\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initFax()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getTag()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-tag"></i>\n <a href="/tools/tags/list">{{ \'APPLICATION_TAGS\' | translate }}</a>\n <i data-ng-show="tag" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="tag">\n <a href="#">{{tag.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/tag.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{tag.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.settings\')}">\n <a data-ng-href="/tools/tags/view/{{tag.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.chat\')}">\n <a data-ng-href="{{license.chat ? \'/tools/tags/view/\'+tag.id+\'/chat\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.chat}">\n <i class="icon-bubble"></i>\n {{ \'APPLICATION_CHAT\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.mail\')}">\n <a data-ng-href="{{license.mail ? \'/tools/tags/view/\'+tag.id+\'/mail\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.mail}">\n <i class="icon-envelope"></i>\n {{ \'APPLICATION_MAIL\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.fax\')}">\n <a data-ng-href="{{license.fax ? \'/tools/tags/view/\'+tag.id+\'/fax\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.fax}">\n <i class="icon-paper-plane"></i>\n {{ \'APPLICATION_FAX\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.sms\')}" >\n <a data-ng-href="{{license.messaging ? \'/tools/tags/view/\'+tag.id+\'/sms\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.messaging}">\n <i class="glyphicon glyphicon-comment"></i>\n {{ \'APPLICATION_SMS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.contacts\')}">\n <a data-ng-href="{{license.cm ? \'/tools/tags/view/\'+tag.id+\'/contacts\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.cm}">\n <i class="fa fa-users"></i>\n {{ \'APPLICATION_CONTACTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/tag/view/view.mail.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_MAIL\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initMail()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_TAG\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateTag()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="tag.name" required data-ng-pattern="settings.patternName"/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="tag.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.sms.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_SMS\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initSms()">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/template/list/list.html",'<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_TEMPLATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-wrench font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TEMPLATES\' | translate }}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/tools/templates/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TEMPLATE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/template/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initItem()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/tools/templates/list">{{ \'APPLICATION_TEMPLATES\' | translate }}</a>\n <i data-ng-show="item" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="item">\n <a href="#">{{item.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/template.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{item.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.templates.view.settings\')}">\n <a data-ng-href="/tools/templates/view/{{item.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/template/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n\n <form name="form" data-ng-submit="form.$valid && updateItem()" class="form-horizontal" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': form.name.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-2">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}:<span class="required" aria-required="true">*</span></label>\n </div>\n <div class="col-md-10">\n <input type="text" name="name" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_NAME\' | translate}}..." data-ng-model="item.name" required>\n <span data-ng-show="form.name.$invalid && form.$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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': form.description.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-2">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}:</label>\n </div>\n <div class="col-md-10">\n <input type="text" name="description" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}..." rows="8" data-ng-model="item.description">\n <span data-ng-show="form.description.$invalid && form.$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 <!-- END NAME -->\n\n <hr>\n\n <!-- START SUBJECT -->\n <div class="form-group row" data-ng-class="{\'has-error\': form.subject.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-2">\n <label class="control-label">{{\'APPLICATION_SUBJECT\' | translate}}:</label>\n </div>\n <div class="col-md-10">\n <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_SUBJECT\' | translate}}..." rows="8" data-ng-model="item.subject">\n <span data-ng-show="form.subject.$invalid && form.$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 <!-- END SUJBECT -->\n\n <!-- START HTML -->\n <div class="form-group row" data-ng-class="{\'has-error\': form.text.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div ckeditor="options" ng-model="item.html"></div>\n <span data-ng-show="form.text.$invalid && form.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END HTML -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/tools/template/wizard/wizard.html",'<div class="row">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/tools/templates/list">{{ \'APPLICATION_TEMPLATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="initWizard()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TEMPLATES\' | translate }} FORM</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="form" data-ng-submit="form.$valid && createItem()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': form.name.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}:<span class="required" aria-required="true">*</span></label>\n </div>\n <div class="col-md-11">\n <input type="text" name="name" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_NAME\' | translate}}..." data-ng-model="item.name" required>\n <span data-ng-show="form.name.$invalid && form.$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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': form.description.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="description" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}..." rows="8" data-ng-model="item.description">\n <span data-ng-show="form.description.$invalid && form.$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 <!-- END NAME -->\n\n <!-- START SUBJECT -->\n <div class="form-group" data-ng-class="{\'has-error\': form.subject.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">{{\'APPLICATION_SUBJECT\' | translate}}:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_SUBJECT\' | translate}}..." rows="8" data-ng-model="item.subject">\n <span data-ng-show="form.subject.$invalid && form.$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 <!-- END SUJBECT -->\n\n <!-- START HTML -->\n <div class="form-group row" data-ng-class="{\'has-error\': form.text.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div ckeditor="options" ng-model="item.html"></div>\n <span data-ng-show="form.text.$invalid && form.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END HTML -->\n\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </div>\n </div>\n <!-- END PORTLET-->\n </div>\n</div>\n'),a.put("app/tools/trigger/list/list.html",'<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-bulb"></i>\n <a href="#">{{ \'APPLICATION_TRIGGERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRIGGERS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/tools/triggers/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TRIGGER\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trigger/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-bulb"></i>\n <a href="/tools/triggers/list">{{ \'APPLICATION_TRIGGERS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="trigger"></i>\n </li>\n <li data-ng-show="trigger">\n <a href="#">{{ trigger.description || trigger.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/trigger.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ trigger.name }}\n </div>\n <div class="profile-usertitle-job">\n {{ trigger.description }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.triggers.view.settings\')}">\n <a href="/tools/triggers/view/{{trigger.id}}/settings">\n <i class="icon-bulb"></i>\n {{ \'APPLICATION_SETTINGS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trigger/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_CONDITIONS\' | translate}} & {{\'APPLICATION_ACTIONS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n\n <form name="forms.general" data-ng-submit="exitValidation(forms.general.$valid) && updateTrigger()" novalidate>\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="trigger.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START CHANNEL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHANNEL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="channel" placeholder="{{\'APPLICATION_CHANNEL\' | translate}}" class="form-control" data-ng-model="trigger.channel" required readonly/>\n <span data-ng-show="(forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid && forms.general.channel.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CHANNEL -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label>\n </br>\n <input bs-switch class="form-control" ng-model="trigger.status" type="checkbox" name="status" switch-active="{{ recordSwitch.isActive }}" switch-on-text="{{ recordSwitch.onText }}" switch-off-text="{{ recordSwitch.offText }}" switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}" switch-animate="{{ recordSwitch.animate }}" switch-size="{{ recordSwitch.size }}" switch-label="{{ recordSwitch.label }}" switch-icon="{{ recordSwitch.icon }}" switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}" switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="trigger.description" />\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n <!-- END GENERAL TAB -->\n <div class="tab-pane" id="tab_1_2">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in trigger.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in trigger.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in trigger.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $triggers.services[trigger.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-template ng-switch-when="template" element="action" form="forms.general"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.general"></action-builder-integration>\n <action-builder-motion-bar ng-switch-when="motionbar" element="action" form="forms.general"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.general"></action-builder-jscripty>\n <action-builder-url-forward ng-switch-when="urlForward" element="action" form="forms.general"></action-builder-url-forward>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !trigger.All.length && !trigger.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !trigger.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/trigger/wizard/wizard.html",'<div class="row">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-bulb"></i>\n <a href="/tools/triggers/list">{{ \'APPLICATION_TRIGGERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRIGGERS\' | translate }} WIZARD</span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label>\n </br>\n <input bs-switch class="form-control" ng-model="item.status" type="checkbox" name="status" data-ng-init="item.status = 0" switch-active="{{ statusSwitch.isActive }}" switch-on-text="{{ statusSwitch.onText }}" switch-off-text="{{ statusSwitch.offText }}"\n switch-on-color="{{ statusSwitch.onColor }}" switch-off-color="{{ statusSwitch.offColor }}" switch-animate="{{ statusSwitch.animate }}" switch-size="{{ statusSwitch.size }}" switch-label="{{ statusSwitch.label }}" switch-icon="{{ statusSwitch.icon }}"\n switch-radio-off="{{ statusSwitch.radioOff }}" switch-label-width="{{ statusSwitch.labelWidth }}" switch-handle-width="{{ statusSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description" />\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()" />\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitSettingsValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n\n <!-- Channel -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_CHANNEL\' | translate }}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.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 | capitalize}}</ui-select-match>\n <ui-select-choices repeat="channel in $triggers.channels | filter: $select.search">\n <div ng-bind-html="channel | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.channel.$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 </div>\n\n <!-- All -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in item.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="item.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Any -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in item.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="item.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in item.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $triggers.services[item.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-template ng-switch-when="template" element="action" form="forms.general"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.general"></action-builder-integration>\n <action-builder-motion-bar ng-switch-when="motionbar" element="action" form="forms.general"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.general"></action-builder-jscripty>\n <action-builder-url-forward ng-switch-when="urlForward" element="action" form="forms.general"></action-builder-url-forward>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.All.length && !item.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()" />\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}" />\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("app/tools/trunk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-link"></i>\n <a href="#">{{ \'APPLICATION_TRUNKS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRUNKS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/tools/trunks/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TRUNK\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trunk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-link"></i>\n <a href="/tools/trunks/list">{{ \'APPLICATION_TRUNKS\' | translate }}</a>\n <i data-ng-show="trunk" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="trunk">\n <a href="#">{{trunk.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/trunk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{trunk.name}}\n </div>\n <p data-ng-if="trunk.active && trunk.registry && trunk.status">({{trunk.status}})</p>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.trunks.view.settings\')}">\n <a data-ng-href="/tools/trunks/view/{{trunk.name}}/settings"><i class="icon-settings"></i> {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trunk/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_TRUNK\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_OTHER_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateTrunk()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="trunk.name" data-ng-pattern="settings.patternName" required readonly/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ACTIVE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ACTIVE\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="trunk.active"\n type="checkbox"\n name="auth"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-off-color="{{ activeSwitch.offColor }}"\n switch-on-color="{{ activeSwitch.onColor }}"\n switch-animate="{{ activeSwitch.animate }}"\n switch-size="{{ activeSwitch.size }}"\n switch-label="{{ activeSwitch.label }}"\n switch-icon="{{ activeSwitch.icon }}"\n switch-radio-off="{{ activeSwitch.radioOff }}"\n switch-label-width="{{ activeSwitch.labelWidth }}"\n switch-handle-width="{{ activeSwitch.handleWidth }}">\n </div>\n <!-- END ACTIVE -->\n <div class="row">\n\n <div class="col-md-6">\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.host.$touched || forms.general.$submitted) && forms.general.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="trunk.host" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_HOST\' | translate }}\n </span>\n <span data-ng-show="(forms.general.host.$touched || forms.general.$submitted) && forms.general.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.secret.$touched || forms.general.$submitted) && forms.general.secret.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECRET\' | translate}}</label>\n <input type="password" name="secret" placeholder="{{\'APPLICATION_SECRET\' | translate}}" class="form-control" data-ng-model="trunk.secret">\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_SECRET\' | translate }}\n </span>\n <span data-ng-show="(forms.general.secret.$touched || forms.general.$submitted) && forms.general.secret.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SECRET -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.callerid.$touched || forms.general.$submitted) && forms.general.callerid.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLERID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="callerid" pattern=\'^"[a-zA-Z0-9_.-]*" <[a-zA-Z0-9_.-]*>\' placeholder="{{\'APPLICATION_CALLERID\' | translate}}" class="form-control" data-ng-model="trunk.callerid"/>\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n </span>\n <span data-ng-show="(forms.general.callerid.$touched || forms.general.$submitted) && forms.general.callerid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.type" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'user\',\'peer\',\'friend\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_TYPE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DTMFMODE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dtmfmode.$touched || forms.general.$submitted) && forms.general.dtmfmode.$invalid}">\n <label class="control-label">{{\'APPLICATION_DTMFMODE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.dtmfmode" name="dtmfmode" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="item in [\'rfc2833\', \'info\', \'shortinfo\', \'inband\',\'auto\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DTMFMODE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.dtmfmode.$touched || forms.general.$submitted) && forms.general.dtmfmode.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DTMFMODE -->\n\n </div>\n\n <div class="col-md-6">\n\n <!-- START DEFAULT USER -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.defaultuser.$invalid}">\n <label class="control-label">{{\'APPLICATION_DEFAULT_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="defaultuser" placeholder="{{\'APPLICATION_DEFAULT_USER\' | translate}}" class="form-control" data-ng-model="trunk.defaultuser" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DEFAULT_USER\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && (forms.general.defaultuser.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DEFAULT USER -->\n\n <!-- START NAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.nat.$touched || forms.general.$submitted) && forms.general.nat.$invalid}">\n <label class="control-label">{{\'APPLICATION_NAT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.nat" name="nat" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\', \'no\', \'never\', \'route\', \'force_rport\', \'comedia\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_NAT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.nat.$touched || forms.general.$submitted) && forms.general.nat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAT -->\n\n <!-- START QUALIFY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.qualify.$touched || forms.general.$submitted) && forms.general.qualify.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUALIFY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.qualify" name="qualify" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_QUALIFY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.qualify.$touched || forms.general.$submitted) && forms.general.qualify.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUALIFY -->\n\n <!-- START ALLOW -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.allow.$touched || forms.general.$submitted) && forms.general.allow.$invalid}">\n <label class="control-label">{{\'APPLICATION_ALLOW_CODEC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.allow" name="allow" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'g723\',\'gsm\',\'ulaw\',\'alaw\',\'g726\',\'g722\',\'g729\',\'ilbc\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_ALLOW_CODEC\' | translate }}\n </span>\n <span data-ng-show="(forms.general.allow.$touched || forms.general.$submitted) && forms.general.allow.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ALLOW -->\n\n <!-- START INSECURE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.insecure.$touched || forms.general.$submitted) && forms.general.insecure.$invalid}">\n <label class="control-label">{{\'APPLICATION_INSECURE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.insecure" name="insecure" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'port\',\'invite\',\'very\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_INSECURE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.insecure.$touched || forms.general.$submitted) && forms.general.insecure.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INSECURE -->\n\n <!-- START CALLLIMIT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.call_limit.$touched || forms.general.$submitted) && forms.general.call_limit.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLLIMIT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="call-limit" placeholder="{{\'APPLICATION_CALLLIMIT\' | translate}}" class="form-control" data-ng-model="trunk.call_limit"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_CALLLIMIT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.call_limit.$touched || forms.general.$submitted) && forms.general.call_limit.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLLIMIT -->\n\n </div>\n </div>\n\n <!-- START DESCRIPTION -->\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="trunk.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.advanced" data-ng-submit="forms.advanced.$valid && updateTrunk()" novalidate>\n <div class="row">\n <div class="col-md-6">\n\n <!-- START REGISTRY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REGISTRY\' | translate}}</label>\n <input type="text" name="registry" placeholder="{{\'APPLICATION_REGISTRY\' | translate}}" class="form-control" data-ng-model="trunk.registry"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_REGISTRY\' | translate }}\n </span>\n </div>\n <!-- END REGISTRY -->\n\n <!-- START DIRECTMEDIA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.directmedia.$touched || forms.advanced.$submitted) && forms.advanced.directmedia.$invalid}">\n <label class="control-label">{{\'APPLICATION_DIRECTMEDIA\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.directmedia" name="directmedia" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\', \'no\', \'nonat\', \'update\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DIRECTMEDIA\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.directmedia.$touched || forms.advanced.$submitted) && forms.advanced.directmedia.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DIRECTMEDIA -->\n\n <!-- START CALLCOUNTER -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.callcounter.$touched || forms.advanced.$submitted) && forms.advanced.callcounter.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLCOUNTER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.callcounter" name="callcounter" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_CALLCOUNTER\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.callcounter.$touched || forms.advanced.$submitted) && forms.advanced.callcounter.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLCOUNTER -->\n\n <!-- START FROMDOMAIN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.advanced.$submitted && forms.advanced.fromdomain.$invalid}">\n <label class="control-label">{{\'APPLICATION_FROMDOMAIN\' | translate}}</label>\n <input type="text" name="fromdomain" placeholder="{{\'APPLICATION_FROMDOMAIN\' | translate}}" class="form-control" data-ng-model="trunk.fromdomain" />\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_FROMDOMAIN\' | translate }}\n </span>\n <span data-ng-show="forms.advanced.$submitted && (forms.advanced.fromdomain.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FROMDOMAIN -->\n\n <!-- START FROMUSER -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.advanced.$submitted && forms.advanced.fromuser.$invalid}">\n <label class="control-label">{{\'APPLICATION_FROMUSER\' | translate}}</label>\n <input type="text" name="fromuser" placeholder="{{\'APPLICATION_FROMUSER\' | translate}}" class="form-control" data-ng-model="trunk.fromuser" />\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_FROMUSER\' | translate }}\n </span>\n <span data-ng-show="forms.advanced.$submitted && (forms.advanced.fromuser.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FROMUSER -->\n\n </div>\n <div class="col-md-6">\n\n <!-- START OUTBOUNDPROXY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.advanced.$submitted && forms.advanced.outboundproxy.$invalid}">\n <label class="control-label">{{\'APPLICATION_OUTBOUNDPROXY\' | translate}}</label>\n <input type="text" name="outboundproxy" placeholder="{{\'APPLICATION_OUTBOUNDPROXY\' | translate}}" class="form-control" data-ng-model="trunk.outboundproxy" />\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_OUTBOUNDPROXY\' | translate }}\n </span>\n <span data-ng-show="forms.advanced.$submitted && (forms.advanced.outboundproxy.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OUTBOUNDPROXY -->\n\n <!-- START USEREQPHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.usereqphone.$touched || forms.advanced.$submitted) && forms.advanced.usereqphone.$invalid}">\n <label class="control-label">{{\'APPLICATION_USEREQPHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.usereqphone" name="usereqphone" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_USEREQPHONE\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.usereqphone.$touched || forms.advanced.$submitted) && forms.advanced.usereqphone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USEREQPHONE -->\n\n <!-- START TRUSTRPID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.trustrpid.$touched || forms.advanced.$submitted) && forms.advanced.trustrpid.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUSTRPID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.trustrpid" name="trustrpid" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_TRUSTRPID\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.trustrpid.$touched || forms.advanced.$submitted) && forms.advanced.trustrpid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUSTRPID -->\n\n <!-- START SENDRPID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.sendrpid.$touched || forms.advanced.$submitted) && forms.advanced.sendrpid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SENDRPID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.sendrpid" name="sendrpid" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_SENDRPID\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.sendrpid.$touched || forms.advanced.$submitted) && forms.advanced.sendrpid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDRPID -->\n\n <!-- START ENCRYPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.encryption.$touched || forms.advanced.$submitted) && forms.advanced.encryption.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENCRYPTION\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.encryption" name="encryption" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_ENCRYPTION\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.encryption.$touched || forms.advanced.$submitted) && forms.advanced.encryption.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ENCRYPTION -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.port.$touched || forms.advanced.$submitted) && forms.advanced.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}</label>\n <input type="number" min="0" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="trunk.port"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_PORT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.port.$touched || forms.advanced.$submitted) && forms.advanced.port.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START TRANSPORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.transport.$touched || forms.advanced.$submitted) && forms.advanced.transport.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRANSPORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.transport" name="transport" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'udp\',\'wss\',\'ws\',\'tcp\',\'tls\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_TRANSPORT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.transport.$touched || forms.advanced.$submitted) && forms.advanced.transport.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n <!-- START OTHER FIELDS TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.otherFields" data-ng-submit="forms.otherFields.$valid && updateTrunk()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START OTHER FIELDS-->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_OTHER_FIELDS\' | translate}}</label>\n <textarea name="otherFields" placeholder="{{\'APPLICATION_OTHER_FIELDS\' | translate}}" class="form-control otherfields-col" data-ng-model="trunk.otherFields"></textarea>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_OTHER_FIELDS\' | translate }}\n </span>\n </div>\n <!-- END OTHER FIELDS -->\n </div>\n <div class="col-md-6">\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_EXAMPLE\' | translate}}</label>\n <div class="well">\n <div>host=dynamicp</div>\n <div>secret=********</div>\n <div>regcontext=tammari-internal</div>\n <div>regexten=1005</div>\n <div>dtmfmode=rfc2833</div>\n <div>insecure=invite,port</div>\n <div>canreinvite=yes</div>\n <div>nat=yes</div>\n <div>qualify=yes</div>\n <div>context=merus-sipphone</div>\n <div>pickupgroup=1</div>\n <div>callgroup=1</div>\n <div>mailbox=1000@default</div>\n </div>\n </div>\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n\n </div>\n <!-- END OTHER FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), -a.put("app/tools/trunk/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard()">\n <!-- BEGIN PAGE HEADER-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-link"></i>\n <a href="/tools/trunks/list">{{ \'APPLICATION_TRUNKS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRUNK\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted && forms.general.name.$invalid) || forms.general.name.$error.pattern}">\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" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.name.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.host" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_HOST\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && forms.general.host.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECRET\' | translate}}</label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.secret"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_SECRET\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && forms.general.password.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START DEFAULT USER -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.defaultuser.$invalid}">\n <label class="control-label">{{\'APPLICATION_DEFAULT_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="defaultuser" placeholder="{{\'APPLICATION_DEFAULT\' | translate}} {{\'APPLICATION_USER\' | translate}}" class="form-control" data-ng-model="item.defaultuser" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DEFAULT_USER\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && (forms.general.defaultuser.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END DEFAULT USER -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <button class="btn green-haze" type="submit" ng-click="next(true)">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_ADVANCED\' | translate}}" canexit="exitValidation(forms.advanced.$valid)">\n <form name="forms.advanced" novalidate>\n\n <!-- START REGISTRY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REGISTRY\' | translate}}</label>\n <input type="text" name="registry" placeholder="{{\'APPLICATION_REGISTRY\' | translate}}" class="form-control" data-ng-model="item.registry"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_REGISTRY\' | translate }}\n </span>\n </div>\n <!-- END REGISTRY -->\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/tools/variable/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_VARIABLE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/variable/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-eye"></i>\n <a href="#">{{ \'APPLICATION_VARIABLES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VARIABLES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_VARIABLE\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/variable/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getVariable()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-eye"></i>\n <a href="/tools/variables/list">{{ \'APPLICATION_VARIABLES\' | translate }}</a>\n <i data-ng-show="variable" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="variable">\n <a href="#">{{variable.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/variable.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{variable.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.variables.view.settings\')}">\n <a data-ng-href="/tools/variables/view/{{variable.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/variable/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_VARIABLE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVariable()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="variable.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="variable.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/yourdashboard/list/clone.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_CLONE_DASHBOARD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.dashboard" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.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="(forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.dashboard.$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/tools/yourdashboard/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_DASHBOARD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.dashboard" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.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="(forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.dashboard.$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/tools/yourdashboard/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-screen-desktop"></i>\n <a href="/tools/yourdashboards/list">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_DASHBOARD\' | translate }}\n </button>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",'<div class="modal-header" data-ng-init="getContacts()">\n <h3 class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <p>{{\'MESSAGE_LEAVE_EDITED_PAGE\' | translate}}</p>\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="close()">{{ \'APPLICATION_CONTINUE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/tools/yourdashboard/show/show.html",'<div class="row" style="min-height: 466px;">\n <div class="col-md-12" ng-init="getDashboard()">\n <adf-dashboard\n data-ng-if="dashboard"\n name="{{dashboard.name}}"\n collapsible="{{dashboard.collapsible}}"\n maximizable="{{dashboard.maximizable}}"\n enableconfirmdelete="{{dashboard.enableconfirmdelete}}"\n structure="{{dashboard.structure}}"\n editable="{{dashboard.editable}}"\n adf-model="dashboard.model"/>\n </div>\n</div>\n'),a.put("app/tools/yourdashboard/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getDashboard()">\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-screen-desktop"></i>\n <a href="/tools/yourdashboards/list">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a>\n <i data-ng-show="dashboard" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="dashboard">\n <a href="#">{{dashboard.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/dashboard.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{dashboard.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.yourdashboards.view.settings\')}">\n <a data-ng-href="/tools/yourdashboards/view/{{dashboard.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/yourdashboard/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_DASHBOARD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateDashboard()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="dashboard.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VISIBLE TO ADMIN -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VISIBLE_TO_ADMIN\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="dashboard.admin"\n type="checkbox"\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 <!-- END VISIBLE TO ADMIN -->\n\n <!-- START VISIBLE TO USER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VISIBLE_TO_USER\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="dashboard.user"\n type="checkbox"\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 <!-- END VISIBLE TO USER -->\n\n <!-- START VISIBLE TO AGENT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VISIBLE_TO_AGENT\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="dashboard.agent"\n type="checkbox"\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 <!-- END VISIBLE TO AGENT -->\n\n <!-- START DESCRIPTION -->\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="dashboard.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-heart"></i>\n <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-heart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ZENDESK\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/zendesk/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/zendesk/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START CHANNEL -->\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_AUTHENTICATION_TYPE\' | translate}}</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 <!-- START CHANNEL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/zendesk/view/configuration/list/list.html",'<div ui-view class="profile-content">\n <div class="row">\n <div class="col-md-12">\n <div class="portlet light" data-ng-init="initView()">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();getTags();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_TAGS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n <!-- TAG TAB -->\n <div class="tab-pane ui-padding" id="tab_1_4">\n <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 <form name="forms.tags" data-ng-submit="updateTags()" novalidate>\n <!-- TAG -->\n <div class="form-group">\n <ui-select multiple data-ng-model="selectedTags.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="tag.id as tag in tags | filter: $select.search">\n {{tag.name}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TAG -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END TAG TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'password\', \'token\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'password\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'token\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-heart"></i>\n <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/zendesk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.zendesk.view.account\')}">\n <a ng-href="/zendesk/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.zendesk.view.configurations\') || $state.is(\'main.zendesk.view.configuration\')}">\n <a ng-href="/zendesk/view/{{account.id}}/configurations/list">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/zendesk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-heart"></i>\n <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/zendesk/accounts/validate/username"/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/zendesk/accounts/validate/remoteUri"/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'password\', \'token\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'password\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'token\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), -a.put("components/footer/footer.html",'<!-- BEGIN FOOTER -->\n<div class="page-footer" data-ng-init="initFooter()">\n <div class="page-footer-inner">\n xCALLY Motion v. {{info.version}} | {{year}} - {{year + 1}} © Powered by Xenialab\n </div>\n <div class="scroll-to-top">\n <i class="icon-arrow-up"></i>\n </div>\n</div>\n<!-- END FOOTER -->\n'),a.put("components/header/header.html",'<!-- BEGIN HEADER INNER -->\n<div class="page-header-inner" data-ng-init="initHeader()">\n <!-- BEGIN LOGO -->\n <div class="page-logo">\n <a href="/">\n <img data-ng-if="settings.defaultLogo || !license.custom" ng-src="assets/images/logo.png" alt="logo" class="logo-default"/>\n <img data-ng-if="!settings.defaultLogo && license.custom" ng-src="api/settings/logo/main/{{settings.logo ? settings.logo : \'logo\'}}" alt="logo" class="logo-default custom-logo"/>\n </a>\n <div class="menu-toggler sidebar-toggler" data-ng-click="toogleSidebar()">\n <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->\n </div>\n </div>\n <!-- END LOGO -->\n <!-- BEGIN HEADER SEARCH BOX -->\n <!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->\n <form class="search-form hide" action="extra_search.html" method="GET">\n <div class="input-group">\n <input type="text" class="form-control" placeholder="Search..." name="query">\n <span class="input-group-btn">\n <a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>\n </span>\n </div>\n </form>\n <!-- END HEADER SEARCH BOX -->\n <!-- BEGIN RESPONSIVE MENU TOGGLER -->\n <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">\n </a>\n <!-- END RESPONSIVE MENU TOGGLER -->\n <!-- BEGIN TOP NAVIGATION MENU -->\n <div class="top-menu">\n <ul class="nav navbar-nav pull-right">\n <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n\n <!-- BEGIN USER LOGIN DROPDOWN -->\n <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\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=" {{isAdmin() ? \'/staff/users/view/\'+getCurrentUser().id+\'/account\' : \'/staff/agents/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 <!-- END USER LOGIN DROPDOWN -->\n <!-- BEGIN QUICK SIDEBAR TOGGLER -->\n <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n <!-- <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> -->\n <!-- END QUICK SIDEBAR TOGGLER -->\n </ul>\n <ul data-ng-if="getCurrentUser().role === \'agent\'" 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}">\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.pauseType : \'READY\'}}</div>\n <div data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause"><timer start-time="moment(headerAgent.lastPauseAt).unix()*1000"> {{hhours}}:{{mminutes}}:{{sseconds}}</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">\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">\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 <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="agent-spinner-grid" data-ng-if="busyLoad.agent.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="dial-spinner-grid" data-ng-if="busyLoad.dial.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="mail-spinner-grid" data-ng-if="busyLoad.mail.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="chat-spinner-grid" data-ng-if="busyLoad.chat.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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="icon-paper-plane"></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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="fax-spinner-grid" data-ng-if="busyLoad.fax.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="sms-spinner-grid" data-ng-if="busyLoad.sms.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 </ul>\n <ul class="nav navbar-nav pull-right">\n <!-- BEGIN LANGUAGE BAR -->\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(\'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(\'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 <!-- END LANGUAGE BAR -->\n </ul>\n </div>\n <!-- END TOP NAVIGATION MENU -->\n</div>\n<!-- END HEADER INNER -->\n'),a.put("components/modal/delete.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text" ng-bind="modal.text"></p>\n <div ng-if="modal.html" ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button>\n</div>\n'),a.put("components/sidebar/sidebar.html",'<div id="page-sidebar" class="page-sidebar navbar-collapse collapse" data-ng-init="initSidebar()">\n <!-- BEGIN SIDEBAR MENU -->\n <!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->\n <!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->\n <!-- 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 -->\n <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->\n <!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->\n <!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->\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 <!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element -->\n <li class="sidebar-search-wrapper">\n <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->\n <!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box -->\n <!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box -->\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 <!-- END RESPONSIVE QUICK SEARCH FORM -->\n </li>\n\n <!-- START DASHBOARD CASE -->\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 <!-- END DASHBOARD CASE -->\n\n <!-- START YOURDASHBOARD LIST CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[2])" data-ng-class="{active: $state.is(\'main.tools.yourdashboards.show\')}">\n <a href="javascript:;">\n <i class="icon-screen-desktop"></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()] && dashboard.visible)">\n <a href="/tools/yourdashboards/show/{{dashboard.id}}" >\n <i class="icon-screen-tablet"></i>\n <span class="title" >{{dashboard.name}} </span>\n </a>\n </li>\n </ul>\n </li>\n <!-- END YOURDASHBOARD LIST CASE -->\n\n <!-- START STAFF LIST CASE -->\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 <!-- START USERS CASE -->\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 <!-- END USERS CASE -->\n\n <!-- START AGENTS CASE -->\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 <!-- END AGENTS CASE -->\n\n <!-- START TELEPHONES CASE -->\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 <!-- END TELEPHONES CASE -->\n\n <!-- START TEAMS CASE -->\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 <!-- END TEAMS CASE -->\n </ul>\n </li>\n <!-- END STAFF LIST CASE -->\n\n <!-- START CONTACT MANAGER LIST CASE -->\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.listss\') }"></span>\n </a>\n <ul class="sub-menu" data-ng-if="license.cm">\n <!-- START CONTACTS CASE -->\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 <!-- END CONTACTS CASE -->\n <!-- START COMPANIES CASE -->\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 <!-- END COMPANIES CASE -->\n <!-- START LISTS CASE -->\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-tty"></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 <!-- END LISTS CASE -->\n </ul>\n </li>\n <!-- END CONTACT MANAGER LIST CASE -->\n\n <!-- START CHANNEL LIST CASE -->\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="icon-directions"></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 <!-- START VOICE CASE -->\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() || userModules[7])" 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[7])">\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[7])" 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[7])" 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[7])" 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 <!-- START RECORDING CASE -->\n <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[7])" 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 <!-- END RECORDING CASE -->\n <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[7])" 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 <!-- END REALTIME CASE -->\n <!-- START CHANSPY CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[7])" data-ng-class="{active: $state.includes(\'main.channels.voice.chanspy\')}">\n <a href="/channels/voice/chanspy/list">\n <i class="icon-magnifier"></i>\n <span class="title" >{{\'APPLICATION_CHANSPY\' | translate}}</span>\n <!-- <span data-ng-if="$state.includes(\'main.chanspy\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END CHANSPY CASE -->\n <!-- START CHANSPY CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[7])" 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 <!-- END CHANSPY CASE -->\n </ul>\n </li>\n <!-- END VOICE CASE -->\n\n <!-- START CHAT CASE -->\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[8])" 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[8])" 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[8])" 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 <!-- <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> -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[8])" 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[8])" 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 <!-- END CHAT CASE -->\n\n <!-- START MAIL CASE -->\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[9])" 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[9])" 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[9])" 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 <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[9])" 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 <!-- END REALTIME CASE -->\n </ul>\n </li>\n <!-- END MAIL CASE -->\n\n <!-- START FAX CASE -->\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="icon-paper-plane"></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[10])" 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[10])" 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[10])" 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 <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[10])" 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 <!-- END REALTIME CASE -->\n </ul>\n </li>\n <!-- END FAX CASE -->\n\n <!-- START SMS CASE -->\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[11])" 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[11])" 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[11])" 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 <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[11])" 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 <!-- END REALTIME CASE -->\n </ul>\n </li>\n\n <!-- END SMS CASE -->\n\n <!-- START OPENCHANNEL CASE -->\n <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent())" data-ng-class="{active: $state.includes(\'main.channels.openchannel\')}">\n <a href="javascript:;" >\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" >\n <li data-ng-if="::(Auth.isAdmin())" 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())" 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())" 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 </ul>\n </li>\n\n <!-- END OPENCHANNEL CASE -->\n <!-- START REALTIME CASE -->\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_REALTIME\' | translate}}</span>\n </a>\n </li>\n <!-- END REALTIME CASE -->\n </ul>\n </li>\n <!-- END CHANNEL LIST CASE -->\n\n <!-- START TOOLS LIST CASE -->\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\')}">\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\')}">\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\')}">\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\')}">\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\')}">\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\')}">\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 <!-- START TEMPLATE CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.templates\')}">\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 <!-- END TEMPLATE CASE -->\n\n <!-- START PAUSE CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.pauses\')}">\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 <!-- END PAUSE CASE -->\n\n <!-- START ANSWER CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.answers\')}">\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 <!-- END ANSWER CASE -->\n\n <!-- START DASHBOARD MANAGER CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.yourdashboards\') && !$state.is(\'main.tools.yourdashboards.show\')}">\n <a href="/tools/yourdashboards/list">\n <i class="icon-grid"></i>\n <span class="title"> {{\'APPLICATION_DASHBOARDS_MANAGER\' | translate}} </span>\n </a>\n </li>\n <!-- END DASHBOARD MANAGER CASE -->\n\n <!-- START SOUND CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.sounds\')}">\n <a href="/tools/sounds/list">\n <i class="icon-music-tone-alt"></i>\n <span class="title" >{{\'APPLICATION_SOUNDS\' | translate}}</span>\n <!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END SOUND CASE -->\n\n <!-- START SCHEDULE CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.scheduler\')}">\n <a href="/tools/scheduler/list">\n <i class="icon-calendar"></i>\n <span class="title" >{{\'APPLICATION_SCHEDULER\' | translate}}</span>\n <!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END SCHEDULE CASE -->\n </ul>\n </li>\n <!-- END TOOLS LIST CASE -->\n\n <!-- START CALLYSQUARE CASE -->\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 ²</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 <!-- END CALLYSQUARE CASE -->\n <!-- START JSCRIPTY LIST -->\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" >{{\'APPLICATION_JSCRIPTY\' | translate}} </span>\n <span class="arrow"></span>\n </a>\n <ul class="sub-menu" data-ng-if="license.jscripty">\n <!-- -->\n <!-- START PROJECTS CASE -->\n <li data-ng-show="Auth.isAdmin() || Auth.isAgent()|| isAvailableModule(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 <!-- END PROJECTS CASE -->\n </ul>\n </li>\n <!-- END JSCRIPTY LIST -->\n\n <!-- START MOTION DIALER LIST CASE-->\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.lists\')}">\n <a href="/motiondialer/lists/list">\n <i class="icon-docs"></i>\n <span class="title" >{{\'APPLICATION_LISTS\' | translate}} </span>\n </a>\n </li>\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 <!-- END MOTION DIALER LIST CASE-->\n\n <!-- START ANALYTIC LIST CASE -->\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 <!-- START REPORT CASE -->\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 <!-- END REPORT CASE -->\n <!-- START EXTRA REPORT CASE -->\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 <!-- END EXTRA REPORT CASE -->\n <!-- START METRICS CASE -->\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 <!-- END METRICS CASE -->\n </ul>\n </li>\n <!-- END ANALYTIC LIST CASE -->\n\n <!-- START SETTINGS LIST -->\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 <!-- START UPDATES CASE -->\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 <!-- <span data-ng-if="$state.includes(\'main.updates\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END UPDATES CASE -->\n\n <!-- START SMTP CASE -->\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 <!-- <span data-ng-if="$state.includes(\'main.smtp\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END SMTP CASE -->\n\n <!-- START LICENSE CASE -->\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 <!-- END LICENSE CASE -->\n\n <!-- START NETWORK CASE -->\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 <!-- END NETWORK CASE -->\n\n <!-- START SYSTEM CASE -->\n <li data-ng-class="{active: $state.includes(\'main.setting.system\')}">\n <a href="/setting/system/view">\n <i class="icon-pie-chart"></i>\n <span class="title"> {{\'APPLICATION_SYSTEM\' | translate}} </span>\n </a>\n </li>\n <!-- END SYSTEM CASE -->\n\n <!-- START CUSTOMIZATION CASE -->\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 <!-- END CUSTOMIZATION CASE -->\n </ul>\n </li>\n <!-- END SETTINGS LIST -->\n\n <!-- START INTEGRATION CASE -->\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}}</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 <!-- END INTEGRATIONS CASE -->\n\n</ul>\n<!-- END SIDEBAR MENU -->\n</div>\n'); -}]); \ No newline at end of file diff --git a/public/app/8d8964d3.app.js b/public/app/8d8964d3.app.js new file mode 100644 index 0000000..cd176cb --- /dev/null +++ b/public/app/8d8964d3.app.js @@ -0,0 +1,81 @@ +"use strict";angular.module("xCallyShuttleApp",["adf","adf.structures.base","adf.widget.clock","adf.widget.iframe","adf.widget.counter","adf.widget.pie-chart","angular-md5","angular.filter","angularFileUpload","ngLetterAvatar","vAccordion","btford.socket-io","chart.js","checklist-model","colorpicker.module","frapontillo.bootstrap-switch","LocalStorageModule","mgo-angular-wizard","ng-slide-down","ngAnimate","ngBootstrap","ngCookies","ngCsv","ngFileSaver","ngJsTree","ngMap","ngPapaParse","ngResource","ngSanitize","notification","oc.lazyLoad","pascalprecht.translate","remoteValidation","smart-table","sprintf","timer","toastr","permission","ui-notification","ui.bootstrap.modal","ui.bootstrap.dropdown","ui.bootstrap.popover","ui.bootstrap.timepicker","ui.bootstrap.tooltip","ui.bootstrap.tpls","ui.bootstrap.accordion","ui.bootstrap.progressbar","ui.bootstrap.buttons","ui.bootstrap.typeahead","ui.grid","ui.grid.autoResize","ui.grid.draggable-rows","ui.grid.exporter","ui.grid.grouping","ui.grid.moveColumns","ui.grid.pagination","ui.grid.treeView","ui.grid.selection","ui.grid.exporter","ui.grid.resizeColumns","ui.router","ui.navbar","ui.select","ui.sortable","xeditable","ngAudio","truncate","ngScrollbars","ngEmoticons","angularSpinner","builder","builder.components","validator","angular-clipboard","ng-code-mirror","angularMoment","jsonFormatter","ui.bootstrap-slider","ui.bootstrap.datepicker","prettyBytes","bootstrapLightbox","rzModule","ckeditor","ngTagsInput"]).constant("CKEDITOR_BASEPATH","assets/plugins/ckeditor/").config(["$stateProvider","$urlRouterProvider","$locationProvider","$httpProvider","$translateProvider","localStorageServiceProvider","dashboardProvider","ScrollBarsProvider","tagsInputConfigProvider",function(a,b,c,d,e,f,g,h,i){i.setActiveInterpolation("tagsInput",{placeholder:!0}),b.otherwise(function(a){var b=a.get("$state");b.go("landing")}),e.useStaticFilesLoader({prefix:"assets/languages/locale-",suffix:".json"}),e.preferredLanguage("en_EN"),e.useLocalStorage(),e.useSanitizeValueStrategy(null),c.html5Mode(!0),d.interceptors.push("authInterceptor"),g.structure("4-4-4",{rows:[{columns:[{styleClass:"col-md-4"},{styleClass:"col-md-4"},{styleClass:"col-md-4"}]}]}).structure("3-3-3-3",{rows:[{columns:[{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"},{styleClass:"col-md-3"}]}]}),f.setPrefix("motion"),h.defaults={scrollButtons:{scrollAmount:"auto",enable:!0},axis:"y"}}]).factory("authInterceptor",["$rootScope","$q","$cookieStore","$location",function(a,b,c,d){return{request:function(a){return a.headers=a.headers||{},c.get("token")?a.headers.Authorization="Bearer "+c.get("token"):d.path("/login"),a}}}]).run(["$rootScope","$location","$state","$stateParams","$window","$q","Auth","RoleStore","editableThemes","editableOptions","License","User","PermissionStore","localStorageService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.$state=c,a.$stateParams=d,i.bs3.inputClass="input-sm",i.bs3.buttonsClass="btn-xs",j.theme="bs3",a.$on("$stateChangeStart",function(a,c){g.isLoggedInAsync(function(a){c.authenticate&&!a&&b.path("/login")})}),a.updateTableConfig=function(a,b){var c=_.find(a,{name:"All"});c&&(c.value=b)},a.settings={patternName:"[A-Za-z0-9._\\+*!\\-\\[\\]]+",patternGateway:"^(?:yes|no|[0-9]+)$",patternFaxdetect:"^(?:yes|no|t38|cng|[0-9]+)$",layout:{pageSidebarClosed:n.get("sidebarClosed")||!1,pageQuickSidebarOpened:!1,pageBodySolid:!1,pageAutoScrollOnLoad:1e3}},k.get().$promise.then(function(b){a.license=b.license,a.settings.soundPath=b.soundPath||"/var/opt/motion/server/files/sounds/converted",a.settings.logo=b.logo,a.settings.defaultLogo=b.defaultLogo,a.settings.loginLogo=b.loginLogo,a.settings.defaultLoginLogo=b.defaultLoginLogo,m.definePermission("hasCm",function(){return a.license.cm}),m.definePermission("hasChat",function(){return a.license.chat}),m.definePermission("hasMail",function(){return a.license.mail}),m.definePermission("hasFax",function(){return a.license.fax}),m.definePermission("hasSms",function(){return a.license.messaging}),m.definePermission("hasDialer",function(){return a.license.dialer}),m.definePermission("hasJscripty",function(){return a.license.jscripty}),m.definePermission("hasUpdate",function(){return a.license.update}),m.definePermission("hasCustom",function(){return a.license.custom})})["catch"](function(a){console.log(a)}),m.definePermission("agent",function(){return g.isAgent()}),m.definePermission("admin",function(){return g.isAdmin()}),m.definePermission("user",function(a,b){var c=f.defer(),d=g.getCurrentUser().$promise;return d?d.then(function(a){_.includes(_.map(a.Modules,"id"),b.toState.data.permissions.id)&&"user"===a.role?c.resolve():c.reject()})["catch"](function(){c.reject()}):c.resolve(),c.promise})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics",{url:"/analytics",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:17}}})}]),angular.module("xCallyShuttleApp").factory("Extracted",["$resource",function(a){return a("/api/analytics/extracted/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted",{url:"/extracted",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticExtractedListCtrl",["$scope","$translate","gridOptions","Extracted","uiGridConstants",function(a,b,c,d,e){a.moment=moment,a.Extracted=d,a.initView=function(){var b={exporterCsvFilename:"ExtractedReports.csv",columnDefs:[{name:"name"},{name:"startDate",displayName:"APPLICATION_START_DATE",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"endDate",displayName:"APPLICATION_END_DATE",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"createdAt",displayName:"APPLICATION_RUN_DATE",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:e.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:e.filter.LESS_THAN_OR_EQUAL}]},{name:"output"},{name:"type"},{name:"status"},{name:"action",width:140,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{directive:"<motion-file-download data-ng-show=\"row.entity.status == 'completed'\" resource=\"grid.appScope.Extracted\" params=\"{id:row.entity.id,controller:'download'}\" mimetype=\"'application/'+row.entity.output.toLowerCase()\" filename=\"row.entity.name+'_'+row.entity.startDate.toString()+'_'+row.entity.endDate.toString()+'.'+row.entity.output.toLowerCase()\"></motion-file-download>"}]}]};a.gridOptions=c.gridOptions(d,b,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.extracted.list",{url:"/list",templateUrl:"app/analytic/extracted/list/list.html",controller:"AnalyticExtractedListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("DefaultMetric",["$resource",function(a){return a("/api/analytics/metrics/default/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCreateModalCtrl",["$scope","$uibModalInstance","Metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.forms={dashboard:void 0},a.item={},a.tables=f.tables,a.ok=function(){return c.save(a.item).$promise.then(function(){b.close()})["catch"](function(a){d.show(e.instant(a.translatedMessage||a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListCtrl",["$scope","xAlert","Modal","$uibModal","$log","gridOptions","Metric","DefaultMetric","$translate",function(a,b,c,d,e,f,g,h,i){a.$translate=i,a.initView=function(){var b={exporterCsvFilename:"Metrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"<div style=\"padding:5px\">{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}</div>"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/analytics/metrics/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]},c={exporterCsvFilename:"defaultMetrics.csv",columnDefs:[{name:"name"},{name:"table",cellTemplate:"<div style=\"padding:5px\">{{'APPLICATION_'+row.entity.table.toUpperCase() | translate}}</div>"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",name:"view",onClick:"grid.appScope.showMetric(row.entity)"},{"class":"purple",name:"clone",onClick:"grid.appScope.cloneMetric(row.entity.id)"}]}]};a.gridOptionsDefault=f.gridOptions(h,c,a,null,null,"Default"),a.gridOptions=f.gridOptions(g,b,a)},a.showMetric=function(a){d.open({animation:!0,templateUrl:"app/analytic/metric/list/view.modal.html",controller:"AnalyticMetricListViewModalCtrl",resolve:{metric:a}})},a.cloneMetric=function(c){return h.get({id:c,controller:"clone"}).$promise.then(function(){b.show(i.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){b.error(a)})},a.create=function(){var c=d.open({animation:!0,templateUrl:"app/analytic/metric/list/create.modal.html",controller:"AnalyticMetricListCreateModalCtrl"});c.result.then(function(){b.show(i.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridOptions.getPage()},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.list",{url:"/list",templateUrl:"app/analytic/metric/list/list.html",controller:"AnalyticMetricListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricListViewModalCtrl",["$scope","$uibModalInstance","metric","xAlert","$translate","report",function(a,b,c,d,e,f){a.item=c,a.tables=f.tables,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("Metric",["$resource",function(a){return a("/api/analytics/metrics/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics",{url:"/metrics",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("AnalyticMetricViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Metric","report",function(a,b,c,d,e,f,g){a.tables=g.tables,a.getMetric=function(){return f.get({id:d.id}).$promise.then(function(b){a.metric=b})["catch"](function(a){e.path("/analytics/metrics/list")})},a.updateMetric=function(){return f.update({id:d.id},a.metric).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(c.instant(a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.metrics.view",{url:"/view/:id",templateUrl:"app/analytic/metric/view/view.html",controller:"AnalyticMetricViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.metrics.view.settings",{url:"/settings",templateUrl:"app/analytic/metric/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("CustomReport",["$resource",function(a){return a("/api/analytics/reports/custom/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("DefaultReport",["$resource",function(a){return a("/api/analytics/reports/default/:id/:controller/:action",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ReportListCopyModalCtrl",["$scope","$uibModalInstance","$log","customTreeData",function(a,b,c,d){a.customTreeData=d,a.forms={dashboard:void 0},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){c.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0}},a.ac=function(){return!0},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.open_all()},a.ok=function(){a.customTree.get_selected(!0).length?b.close({parent:a.customTree.get_selected(!0).pop().id}):a.showAlert=!0},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListCreateModalCtrl",["$scope","$uibModalInstance","path",function(a,b,c){a.path=c,a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ReportListExtractModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.daily=!1,a.dailySwitch={onText:c.instant("APPLICATION_TODAY"),offText:c.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").startOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD"),a.extract=function(c){var d={startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily,action:c};b.close(d)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("AnalyticReportListCtrl",["$scope","xAlert","$translate","$location","$log","Modal","$uibModal","FileSaver","Blob","gridOptions","CustomReport","DefaultReport","ReportTree",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(b,c){var d={parent:c.id};a.selectedNode=b?a.defaultTree.get_path(c," / "):a.customTree.get_path(c," / "),a.gridOptions?a.gridOptions.getPage({parent:c.id},b?l:k):a.gridOptions=j.gridOptions(b?l:k,o,a,d)}var o={exporterCsvFilename:"reports.csv",columnDefs:[{name:"name"},{name:"description"},{name:"manage",width:120,buttons:[{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'blue-hoki'}}",href:"/analytics/reports/view/{{row.entity.id}}/settings",icon:"icon-settings",title:c.instant("APPLICATION_SETTINGS")},{"class":"{{grid.appScope.defaultTreeActive ? 'display-none' : 'red-sunglo'}}",icon:"fa fa-trash-o",title:c.instant("APPLICATION_DELETE"),onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green",icon:"fa fa-files-o",title:c.instant("APPLICATION_COPY"),onClick:"grid.appScope.copy(row.entity.id)"},{"class":"purple",icon:"fa fa-download",title:c.instant("APPLICATION_EXPORT"),onClick:"grid.appScope.export(row.entity.id)"}]},{name:"actions",buttons:[{"class":"yellow",name:"preview",onClick:"grid.appScope.preview(row.entity.id)"},{"class":"green-turquoise",name:"run",onClick:"grid.appScope.extract(row.entity.id)"}]}]};a.searchField="",a.ac=function(){return!0},a.initDefaultScopeTree=function(){a.defaultTree=a.defaultTreeInstance.jstree(!0),a.defaultTree.deselect_all(),a.defaultTree.close_all(),a.defaultTree.open_node({id:1}),a.defaultTreeReady=!0,a.defaultTreeActive=!0,a.previousDefaultNode=""},a.initCustomScopeTree=function(){a.customTree=a.customTreeInstance.jstree(!0),a.customTree.deselect_all(),a.customTree.close_all(),a.customTree.open_node({id:1}),a.customTreeReady=!0,a.previousCustomNode=""},a.$watchGroup(["defaultTreeReady","customTreeReady"],function(b,c,d){b[0]&&b[1]&&a.defaultTree.select_node({id:"1"})}),a.updateCustomTree=function(){var d={tree:angular.toJson(a.customTree.get_json("#",{flat:!0}))};return m.update({id:2},d).$promise.then(function(a){console.log("Custom Tree Updated")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.configTrees=function(){a.defaultTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["search"]},a.customTreeConfig={multiple:!1,animation:!0,core:{error:function(a){e.error("treeCtrl: error from js tree - "+angular.toJson(a))},check_callback:!0,themes:{name:"default",url:"../../../assets/css/jstree-metronic/style.css"}},plugins:["contextmenu","dnd","search"],contextmenu:{items:function(b,d){var e={create:{label:c.instant("APPLICATION_CREATE"),action:function(c){a.customTree.create_node(b),a.customTree.open_node(b)}},rename:{label:c.instant("APPLICATION_RENAME"),action:function(c){a.customTree.edit(b)}},remove:{label:c.instant("APPLICATION_REMOVE"),action:function(c){console.log(b),a.deleteNode(b.text,b)}}};return"#"===b.parent&&(delete e.rename,delete e.remove),d(e),e}}}},a.deleteNode=f.confirm["delete"](function(b){a.customTree.delete_node(b),a.previousCustomNode==b.id&&a.customTree.select_node({id:b.parent})}),a.searchTrees=function(){a.defaultTree.search(a.searchField),a.customTree.search(a.searchField)},a.selectDefaultNode=function(){if(a.customTreeReady){a.previousCustomNode="";var b=a.defaultTree.get_selected(!0),c=b.pop();if(a.defaultTree.deselect_node(b[0],!0),a.customTree.deselect_all(),a.defaultTree.select_node(c,!0),c.id===a.previousDefaultNode)return void console.log("def");a.previousDefaultNode=c.id,a.defaultTreeActive=!0,n(!0,c)}},a.selectCustomNode=function(){if(a.defaultTreeReady){a.previousDefaultNode="";var b=a.customTree.get_selected(!0),c=b.pop();if(a.customTree.deselect_node(b[0],!0),a.defaultTree.deselect_all(),a.customTree.select_node(c,!0),c.id===a.previousCustomNode)return void console.log("cus");a.previousCustomNode=c.id,a.defaultTreeActive=!1,n(!1,c)}},a.getTrees=function(){return m.query().$promise.then(function(b){a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),a.configTrees()})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.create=function(){var c=g.open({animation:!0,templateUrl:"app/analytic/report/list/create.modal.html",controller:"ReportListCreateModalCtrl",resolve:{path:function(){return a.selectedNode}}});c.result.then(function(c){return c.parent=a.previousCustomNode,k.save(c).$promise.then(function(a){d.path("/analytics/reports/view/"+a.id+"/settings")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a.copy=function(d){var f=a.defaultTreeActive?l:k,h=g.open({animation:!0,templateUrl:"app/analytic/report/list/copy.modal.html",controller:"ReportListCopyModalCtrl",resolve:{customTreeData:function(){return a.customTree.get_json("#",{flat:!0})}}});h.result.then(function(e){return f.save({id:d,controller:"copy"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})},a["export"]=function(c){var d=a.defaultTreeActive?l:k;return d.get({id:c,controller:"export"}).$promise.then(function(a){var b=new i([angular.toJson(a)],{type:"application/json;charset=utf-8"});h.saveAs(b,a.name+".json")})["catch"](function(a){console.error(data),b.show(a.message,"danger")})},a["import"]=function(d){var e=JSON.parse(d);e.parent=a.previousCustomNode;var f=e.name&&e.parent?!0:!1,g=!0;return _.forEach(e.Fields,function(a){a.field&&a.alias||(g=!1)}),f&&g?k.save({controller:"import"},e).$promise.then(function(){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")}):void b.show(c.instant("MESSAGE_INVALID_JSON"),"danger")},a.preview=function(b){g.open({animation:!0,templateUrl:"app/analytic/report/list/preview.modal.html",controller:"ReportListPreviewModalCtrl",size:"full",resolve:{report:function(){return{id:b,tree:a.defaultTreeActive?"default":"custom"}}}})},a.extract=function(d){var f=g.open({animation:!0,templateUrl:"app/analytic/report/list/extract.modal.html",controller:"ReportListExtractModalCtrl",size:"md",resolve:{report:function(){return{id:d,tree:a.defaultTreeActive?"default":"custom"}}}});f.result.then(function(e){e.daily||delete e.daily;var f=a.defaultTreeActive?l:k;return f.get(_.merge({id:d,controller:"extract"},e)).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message,"danger")})},function(){e.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.list",{url:"/list",templateUrl:"app/analytic/report/list/list.html",controller:"AnalyticReportListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ReportListPreviewModalCtrl",["$scope","$uibModalInstance","report","xAlert","$translate","$timeout","CustomReport","DefaultReport",function(a,b,c,d,e,f,g,h){a.daily=!1,a.dailySwitch={onText:e.instant("APPLICATION_TODAY"),offText:e.instant("APPLICATION_RANGE"),isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"primary"},a.dates={startDate:moment().subtract(1,"days").startOf("day"),endDate:moment().subtract(1,"days").endOf("day")},a.ranges={Yesterday:[moment().subtract(1,"days").startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 7 days":[moment().subtract("days",7).startOf("day"),moment().subtract(1,"days").endOf("day")],"Last 30 days":[moment().subtract("days",30),moment()],"This month":[moment().startOf("month"),moment().endOf("month")]},a.yesterday=moment().subtract(1,"days").format("YYYY-MM-DD"),a.today=moment().format("YYYY-MM-DD");var i={offset:0,limit:25,sort:null,where:{},order:{}};a.gridOptions={paginationPageSizes:[10,25,50],paginationPageSize:25,useExternalPagination:!0,enableSorting:!1,enableFiltering:!0,useExternalFiltering:!0,enableGrouping:!1,enableColumnMenus:!1,treeRowHeaderAlwaysVisible:!1,gridMenuShowHideColumns:!1,enableGridMenu:!1,onRegisterApi:function(b){a.gridApi=b,b.pagination.on.paginationChanged(a,function(b,c){i.offset=(b-1)*c,i.limit=c,a.getPage()}),b.core.on.filterChanged(a,function(){var b=this.grid,c={};b.columns.forEach(function(a){a.filters[0].term&&(c[a.field]=a.filters[0].term)}),i.where=c,a.getPage()})}},a.getPage=function(){var b={offset:i.offset,limit:i.limit,startDate:moment(a.dates.startDate).format("YYYY-MM-DD"),endDate:moment(a.dates.endDate).format("YYYY-MM-DD"),daily:a.daily};_.forOwn(i.where,function(a,c){b[c]=a});var e="custom"===c.tree?g:h;return e.get(_.merge({id:c.id,controller:"preview"},b)).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.paginationPageSizes[3]=b.count,a.gridOptions.data=b.rows,a.showResult=!0})["catch"](function(a){d.error(a)})},a.cancel=function(){b.dismiss("cancel")},f(function(){a.getPage()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports",{url:"/reports",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ReportAgent",["$resource",function(a){return a("/api/report/agents/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportIntegration",["$resource",function(a){return a("/api/report/integrations/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportMember",["$resource",function(a){return a("/api/report/members/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportTree",["$resource",function(a){return a("/api/analytics/reports/trees/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("AnalyticReportViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","ReportAgent","ReportCall","ReportMailSession","ReportSmsSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","DefaultReport","CustomReport","Metric","report",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){function r(c){var d=_.find(a.tables,{value:c}).resource;d.get({controller:"describe"}).$promise.then(function(b){a.tableFields=_.map(b,function(a,b){return"$promise"!==b&&"$resolved"!==b?{name:b,value:b}:void 0})})["catch"](function(a){b.error(a)})["finally"](function(){s(c)})}function s(c){return p.get({controller:"table",table:c}).$promise.then(function(b){_.forEach(b.rows,function(b){a.tableFields.push({name:"<strong>Metric.</strong>"+b.name,alias:b.name,value:b.metric,MetricId:b.id})})})["catch"](function(a){b.error(a)})}function t(a){return String(a).replace(/</g,"<").replace(/>/g,">")}function u(a){if(!a)return"";for(var b="(",c=0;c<a.rules.length;c++)if(c>0&&(b+=" <strong>"+a.operator+"</strong> "),a.rules[c].group)b+=u(a.rules[c].group);else switch(b+=a.rules[c].field,a.rules[c].condition){case"IS NULL":case"IS NOT NULL":b+=" "+t(a.rules[c].condition);break;case"IS EMPTY":b+=" = ''";break;case"IS NOT EMPTY":b+=" != ''";break;default:b+=" "+t(a.rules[c].condition)+" "+a.rules[c].value}return b+")"}a.$translate=c,a.tempReport={},a.tables=q.tables;var v={group:{operator:"AND",rules:[]}};a.getReport=function(){return a.firstLoad=!0,o.get({id:d.id}).$promise.then(function(b){a.report=b,_.forEach(a.report.Fields,function(a){delete a.id}),a.report.conditions=a.report.conditions?JSON.parse(a.report.conditions):_.clone(v,!0),a.report.Fields.length&&a.getPreview()})["catch"](function(a){console.error(a),e.path("/analytics/reports/list")})},a.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},a.$watch("report.table",function(b,c){b&&(r(b),c&&(a.tempReport[c]={conditions:a.report.conditions,fields:a.report.Fields}),a.firstLoad?a.firstLoad=!1:a.tempReport[b]?(a.report.Fields=a.tempReport[b].fields,a.report.conditions=a.tempReport[b].conditions):(a.report.Fields=[],a.report.conditions=_.clone(v,!0)))},!0),a.setMetricId=function(b,c){a.report.Fields[c].MetricId=b.MetricId?b.MetricId:null,a.report.Fields[c].alias=b.MetricId?b.alias:b.name},a.groupByField=[{name:"APPLICATION_YES",value:!0},{name:"APPLICATION_NO",value:!1}],a.functions=[{name:"Sum",value:"SUM"},{name:"Count",value:"COUNT"},{name:"Count Distinct",value:"COUNT DISTINCT"},{name:"Maximum",value:"MAX"},{name:"Minimum",value:"MIN"},{name:"Average",value:"AVG"},{name:"Group Concat",value:"GROUP_CONCAT"},{name:"Group Concat(asc)",value:"GROUP_CONCAT ASC"},{name:"Group Concat(desc)",value:"GROUP_CONCAT DESC"}],a.formatFunctions=[{name:"Sec To Time",value:"SEC_TO_TIME"},{name:"Date",value:"DATE"},{name:"Hour",value:"HOUR"},{name:"Round",value:"ROUND"},{name:"Unix TimeStamp",value:"UNIX_TIMESTAMP"}],a.addField=function(){a.report.Fields.push({groupBy:!1,custom:!1})},a.removeField=function(b){a.report.Fields.splice(b,1)},a.sortableOptions={"ui-floating":!0,cancel:".unsortable",handle:".report-field-handle",axis:"y"},a.toggleCustom=function(b){b.custom=!b.custom,b.custom||_.find(a.tableFields,{value:b.field})||(b.field=null)},a.updateReport=function(){if(a.report.Fields.length){var e=angular.copy(a.report);return console.log(e.conditions),e.conditions=angular.toJson(e.conditions),_.forEach(e.Fields,function(a){a.custom&&delete a.MetricId}),o.update({id:d.id},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),a.getPreview()})["catch"](function(a){b.error(a)})}b.show(c.instant("MESSAGE_SELECT_A_FIELD"),"danger")},a.$watch("report.conditions",function(b){a.output=b?u(b.group):"()"},!0),a.getPreview=function(){return a.gridOptions=null,o.get({id:d.id,controller:"preview",limit:20}).$promise.then(function(b){a.gridOptions={enableFiltering:!0,treeRowHeaderAlwaysVisible:!1,enableGridMenu:!0,data:b.rows}})["catch"](function(a){console.log(a),b.show(c.instant(a.message||"MESSAGE_QUERY_NOT_VALID"),"warning")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.analytics.reports.view",{url:"/view/:id",templateUrl:"app/analytic/report/view/view.html",controller:"AnalyticReportViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.analytics.reports.view.settings",{url:"/settings",templateUrl:"app/analytic/report/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels",{url:"/channels",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat",{url:"/chat",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("ChatEnquiry",["$resource",function(a){return a("/api/chat/enquiries/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatMessage",["$resource",function(a){return a("/api/chat/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatReport",["$resource",function(a){return a("/api/report/chats/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatVisitor",["$resource",function(a){return a("/api/chat/visitors/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatRoom",["$resource",function(a){return a("/api/chat/rooms/:id/:controller",{id:"@id"},{me:{method:"GET",isArray:!0,params:{id:"me"}},users:{method:"GET",params:{id:"users"}},externals:{method:"GET",isArray:!0,params:{id:"type",controller:"external"}},groups:{method:"GET",isArray:!0,params:{id:"groups"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineListCtrl",["$scope","ChatEnquiry","gridOptions","uiGridConstants",function(a,b,c,d){a.initView=function(){var e={exporterCsvFilename:"chat_offline_messages.csv",columnDefs:[{name:"username",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"ChatWebsite.name",displayName:"Website",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>',field:"createdAt",sort:{direction:d.DESC,priority:0}},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/offline/view/{{row.entity.id}}",name:"detail" +},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.list",{url:"/list",templateUrl:"app/channels/chat/offline/list/list.html",controller:"ChatOfflineListCtrl"})}]),angular.module("xCallyShuttleApp").directive("enquiryMessage",["$rootScope","$translate","MailMessage","List","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/chat/offline/message/message.directive.html",link:function(c){c.openContact=function(f){return c.listId?d.save({listId:c.listId,controller:"contacts"},{email:f}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})})["catch"](function(a){e.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline",{url:"/offline",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOfflineViewCtrl",["$scope","$stateParams","$translate","$rootScope","ChatEnquiry","List","xAlert",function(a,b,c,d,e,f,g){a.initView=function(){return e.get({id:b.id}).$promise.then(function(b){a.enquiry=b})["catch"](function(a){g.error(a)})},a.openContact=function(b){return a.enquiry.ChatWebsite.ListId?f.save({listId:a.enquiry.ChatWebsite.ListId,controller:"contacts"},{email:b}).$promise.then(function(a){var b=_.find(d.$root.workspaces,{contactID:a.id});b?b.active=!0:d.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a.id,name:a.email,type:"contact"})})["catch"](function(a){g.error(a)}):void g.show(c.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.offline.view",{url:"/view/:id",templateUrl:"app/channels/chat/offline/view/view.html",controller:"ChatOfflineViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineListCtrl",["$scope","ChatRoom","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_online_messages.csv",columnDefs:[{name:"ChatVisitor.fullname",displayName:"APPLICATION_FULLNAME",cellClass:"text-center"},{name:"ChatVisitor.email",displayName:"APPLICATION_EMAIL",cellClass:"text-center"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/online/view/{{row.entity.id}}/detail",name:"detail"}]}]};a.gridOptions=c.gridOptions(b,d,a,{id:"online"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.list",{url:"/list",templateUrl:"app/channels/chat/online/list/list.html",controller:"ChatOnlineListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online",{url:"/online",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatOnlineViewCtrl",["$scope","$stateParams","ChatRoom",function(a,b,c){a.initView=function(){return a.config={autoHideScrollbar:!1,theme:"light",advanced:{updateOnContentResize:!0},setHeight:400,scrollInertia:0},c.get({id:b.id}).$promise.then(function(b){a.chatRoom=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.online.view",{url:"/view/:id",templateUrl:"app/channels/chat/online/view/view.html",controller:"ChatOnlineViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.online.view.detail",{url:"/detail",templateUrl:"app/channels/chat/online/view/view.detail.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/news.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("PreviewCtrl",["$scope",function(a){a.message="Hello"}]),angular.module("xCallyShuttleApp").directive("preview",["$rootScope",function(a){return{templateUrl:"app/channels/chat/preview/preview.html",restrict:"EA",link:function(a,b,c){}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("preview",{url:"/preview",templateUrl:"app/channels/chat/preview/preview.html",controller:"PreviewCtrl",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatQueue",["$resource",function(a){return a("/api/chat/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCtrl",["$scope","ChatQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"chat_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/chat/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/chat/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/chat/queue/list/list.create.modal.html",controller:"ChatQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","ChatQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.list",{url:"/list",templateUrl:"app/channels/chat/queue/list/list.html",controller:"ChatQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","ChatQueue","Team","Auth",function(a,b,c,d,e,f,g,h){a.Auth=h;var i=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){b.get("/api/chat/queues/"+e.id).success(function(b){b.penalty=0,a.queue=b}).error(function(a){console.error(a)})},a.updateChatQueue=function(){var f=angular.copy(a.queue);b.put("/api/chat/queues/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){a.queue=f,b.errors.forEach(function(a){c.show(a.message,"danger")})})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindChatQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasChatQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.queues.view",{url:"/view/:id",templateUrl:"app/channels/chat/queue/view/view.html",controller:"ChatQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.queues.view.settings",{url:"/settings",templateUrl:"app/channels/chat/queue/view/view.settings.html"}).state("main.channels.chat.queues.view.agents",{url:"/agents",templateUrl:"app/channels/chat/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","ChatQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.chatPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_chat_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PChatQueues,"id"),b.ChatQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.ChatQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_chat_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.ChatQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.chatPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.ChatQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.chatQueues=b.rows,e.syncUpdates("chat_queue",a.chatQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.chatQueues=[];var t={controller:"realtime",controller1:"chat",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"chatPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.chatQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_chat_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/queue.modal.add.html",controller:"ChatRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.chatQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.chatQueues,function(a){return _.includes(b.queues,a.id)}),channel:"chat",data1:e,data3:b.queues.join(","),data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"chat",data1:a,data3:b,data4:"chat"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/chat/realtime/view/agent/agent.modal.info.html",controller:"ChatRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/chat/realtime/view/agent/agent.html",controller:"ChatRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportChatSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_chat_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_chat_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.abandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_chat_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/chat/realtime/view/application/application.html",controller:"ChatRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRealtimeViewCtrl",["$scope",function(a){a.agents=[{name:"Queues",link:"main.chat.realtime.view.agent.queues"},{name:"Timeline",link:"main.chat.realtime.view.agent.timeline"}],a.sessions=[{name:"Sessions",link:"main.chat.realtime.view.sessions"}]}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.realtime.view",{url:"/view",templateUrl:"app/channels/chat/realtime/view/view.html",controller:"ChatRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportChatSession",["$resource",function(a){return a("/api/report/chat/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external",{url:"/external",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomExternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService","Tag","$uibModal","uibButtonConfig",function(a,b,c,d,e,f,g,h,i){function j(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.openChat=function(b){return e.get({id:b.id}).$promise.then(function(b){var c=_.find(a.workspaces,{id:b.id,type:"chatRoom"});c?c.active=!0:a.workspaces.push({id:b.id,name:b.ChatVisitor.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){i.activeClass="green-haze",a.id=[],a.query={status:"OPEN",tags:[]},a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div> <ng-letter-avatar height="20" width="20" fontsize="12" data="{{row.entity.ChatVisitor.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #EA4C61" shape="round"></ng-letter-avatar> </div>',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span style="padding-left: 5px;" class="pull-left">{{row.entity.ChatVisitor.fullname}}</span></div>',enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'<div><a class="btn btn-xs green-meadow" href="#" data-ng-click="grid.appScope.openChat(row.entity)">{{\'APPLICATION_CHAT\' | translate}}</a></div>',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(),j()},a.tagItems=function(){h.open({animation:!0,templateUrl:"app/channels/chat/room/view.tags.modal.html",controller:"ChatRoomViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return f.spin("spinner-grid"),e.get(_.merge({id:"externals"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.external.list",{url:"/list",templateUrl:"app/channels/chat/room/external/list/list.html",controller:"ChatRoomExternalListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group",{url:"/group",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomGroupListCtrl",["$scope","$timeout","Auth","ChatRoom","usSpinnerService","Tag","uibButtonConfig",function(a,b,c,d,e,f,g){function h(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,c.getCurrentUser().fullname).join(", ")},a.openChat=function(b){return d.get({id:b.id}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,data:b,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){g.activeClass="green-haze",a.query={status:"OPEN",tags:[]},a.currentUser=c.getCurrentUser(),a.gridOptions={enableGridMenu:!1,enableColumnResizing:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div> <ng-letter-avatar data-ng-if="row.entity.ChatVisitor" height="20" width="20" fontsize="12" data="{{row.entity.ChatVisitor.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #EA4C61" shape="round"></ng-letter-avatar> <ng-letter-avatar data-ng-repeat="user in row.entity.Users | filter:{ id: \'!\' + grid.appScope.currentUser.id} track by user.id" style="margin-right: 3px;" height="20" width="20" fontsize="12" data="{{user.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #3399CC" shape="round"></ng-letter-avatar> </div>',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"Users",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{grid.appScope.getFullnames(row.entity)}}</div>",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'<div><a class="btn btn-xs green-meadow" href="#" data-ng-click="grid.appScope.openChat(row.entity)">{{\'APPLICATION_CHAT\' | translate}}</a></div>',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},a.getPage(),h()},a.onChanged=function(){a.getPage()},a.$watch("query.status",function(){a.getPage()},!0),a.getPage=function(){return e.spin("spinner-grid"),d.get(_.merge({id:"groups"},a.query)).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){e.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.group.list",{url:"/list",templateUrl:"app/channels/chat/room/group/list/list.html",controller:"ChatRoomGroupListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal",{url:"/internal",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatRoomInternalListCtrl",["$scope","$timeout","socket","Auth","ChatRoom","usSpinnerService",function(a,b,c,d,e,f){a.openChat=function(b){return e.users({users:[d.getCurrentUser().id,b.id]}).$promise.then(function(c){var d=_.find(a.workspaces,{id:c.id,type:"chatRoom"});d?d.active=!0:a.workspaces.push({id:c.id,name:b.fullname,type:"chatRoom","class":"icon-bubble",active:!0})})["catch"](function(a){console.error(a)})},a.initView=function(){a.gridOptions={enableGridMenu:!1,enableFiltering:!0,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"userpic",displayName:"",width:35,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div> <ng-letter-avatar height="20" width="20" fontsize="12" data="{{row.entity.fullname}}" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #3399CC" shape="round"></ng-letter-avatar> </div>',enableColumnMenu:!1,enableSorting:!1,enableFiltering:!1},{name:"fullname",enableSorting:!0,enableFiltering:!0,enableColumnMenu:!0},{name:"action",cellTemplate:'<div><a class="btn btn-xs green-meadow" href="#" data-ng-click="grid.appScope.openChat(row.entity)">{{\'APPLICATION_CHAT\' | translate}}</a></div>',cellClass:"ui-grid-vcenter",width:100,enableFiltering:!1,enableSorting:!1,enableColumnMenu:!1}],data:[]},c.socket.on("user:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{id:b.id})}),c.socket.on("agent:save",function(b){if(b.online&&d.getCurrentUser().id!==b.id){var c=_.find(a.gridOptions.data,{id:b.id});c?_.merge(c,b):a.gridOptions.data.push(b)}else _.remove(a.gridOptions.data,{ +id:b.id})}),e.get({id:"agents"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room.internal.list",{url:"/list",templateUrl:"app/channels/chat/room/internal/list/list.html",controller:"ChatRoomInternalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatRoomAddCtrl",["$scope","$uibModalInstance","Agent","items",function(a,b,c,d){a.items=d,a.agents=c.get(function(b){a.agents=b,a.items.forEach(function(b){_.remove(a.agents.rows,{id:b.id})})}),a.selected={items:[]},a.ok=function(){b.close(_.union(_.map(a.selected.items,"id"),_.map(a.items,"id")))},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("ChatRoomCloseCtrl",["$scope","$uibModalInstance","closed","ChatWebsite","websiteId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_CHAT"},a.initDisposition=function(){return d.get({websiteId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").directive("chatRoom",["$interval","$rootScope","$uibModal","$notification","$window","socket","Auth","ChatRoom","ngAudio","xAlert","Tag","CannedAnswer","List","$translate",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/chat/room/room.directive.html",link:function(a){a.user=g.getCurrentUser(),a.message={body:""},a.openContact=function(c){return a.chatRoom.ChatWebsite.List?m.save({listId:a.chatRoom.ChatWebsite.List.id,controller:"contacts"},{email:c}).$promise.then(function(a){var c=_.find(b.$root.workspaces,{contactID:a.id});c?c.active=!0:b.$root.workspaces.push({active:!0,"class":"icon-user",contactID:a.id,name:a.email,type:"contact"})})["catch"](function(a){console.error(a)}):void j.show(n.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.form={},a.panelLeft="col-md-4",a.panelRight="col-md-8",a.onSelect=function(){a.message.body=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-4",a.panelRight="col-md-8")},a.options={link:!0,linkTarget:"_blank",pdf:{embed:!0},image:{embed:!0},audio:{embed:!0},code:{highlight:!0,lineNumbers:!1},basicVideo:!0},a.getAnswers=function(a){return l.get({key:a}).$promise.then(function(a){return console.log(a),_.map(a.rows,"value")})},a.isMyRoom=function(b){return _.find(b,{id:a.user.id})?!0:!1},h.get({id:a.workspace.id}).$promise.then(function(c){a.chatRoom=c,a.form.tags=c.tags,a.chatRoom.ChatVisitor&&(a.chatRoom.ChatVisitors=[],a.chatRoom.ChatVisitors.push(a.chatRoom.ChatVisitor)),f.socket.on("chat_room:save",function(b){a.chatRoom.id===b.id&&_.merge(a.chatRoom,b)}),f.socket.on("user_has_chat_room:save",function(b){return b.UserId!=a.user.id&&b.ChatRoomId==a.chatRoom.id?h.get({id:"agents",controller:b.UserId}).$promise.then(function(b){var c=_.map(a.chatRoom.Users,"fullname");a.chatRoom.ChatVisitor&&c.unshift(a.chatRoom.ChatVisitor.fullname),a.chatRoom.Users.push(b),a.workspace.name=_.without(c,g.getCurrentUser().fullname).join(", ")})["catch"](function(a){console.error(a)}):void 0}),f.socket.on("chat_message:save",function(c){a.chatRoom.id==c.ChatRoomId&&(a.user.id!=c.UserId&&a.chatRoom.ChatMessages.push(c),!b.settings.layout.onFocus&&e.Notification&&d("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Chat Message!",delay:5e3}),a.workspace.active||(i.load("api/xchatty/assets?resource=notification/xc_blubb.mp3").play(),a.workspace.unread++))})})["catch"](function(a){console.error(a)}),k.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/chat/room/room.close.html",controller:"ChatRoomCloseCtrl",resolve:{closed:function(){return"CLOSED"===a.chatRoom.status},websiteId:function(){return a.chatRoom.ChatWebsiteId}}}).result.then(function(a){var c={id:b,status:"CLOSED",completeReason:"agent"};return a.disposition&&(c.disposition=a.disposition),h.update(c).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.onChanged=function(b){return h.update({id:b},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.addAgent=function(b){c.open({animation:!0,templateUrl:"app/channels/chat/room/room.add.html",controller:"ChatRoomAddCtrl",resolve:{items:function(){return _.map(a.chatRoom.Users||[],function(a){return{id:a.id,fullname:a.fullname}})}}}).result.then(function(a){return h.update({id:b,controller:"users"},{users:a}).$promise["catch"](function(a){j.show(a.data.message,"danger")})})},a.sendMessage=function(){var b={body:angular.copy(a.message.body),createdAt:moment(),UserId:a.user.id,User:{fullname:a.user.fullname}};return a.message.body.trim().length?(a.chatRoom.ChatMessages.push(b),a.message.body="",h.save({id:a.chatRoom.id,controller:"messages"},{body:b.body}).$promise["catch"](function(a){console.error(a)})):void 0}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.room",{url:"/room",templateUrl:"app/channels/chat/room/room.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:8}},resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ChatRoomViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","ChatRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("ChatVisitorListCtrl",["$scope","ChatVisitor","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"chat_visitors.csv",columnDefs:[{name:"fullname",cellClass:"text-center"},{name:"email",cellClass:"text-center"},{name:"origin",cellClass:"text-center"},{name:"createdAt",displayName:"createdAt",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>'},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/channels/chat/visitors/view/{{row.entity.id}}/profile",name:"profile"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.list",{url:"/list",templateUrl:"app/channels/chat/visitor/list/list.html",controller:"ChatVisitorListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatVisitorViewCtrl",["$scope","$stateParams","ChatVisitor",function(a,b,c){a.initView=function(){return c.get({id:b.id}).$promise.then(function(b){a.chatVisitor=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors.view",{url:"/view/:id",templateUrl:"app/channels/chat/visitor/view/view.html",controller:"ChatVisitorViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.chat.visitors.view.profile",{url:"/profile",templateUrl:"app/channels/chat/visitor/view/view.profile.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.visitors",{url:"/visitors",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").factory("ChatApplication",["$resource",function(a){return a("/api/chat/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ChatWebsite",["$resource",function(a){return a("/api/chat/websites/:websiteId/:controller/:id",{id:"@websiteId"},{update:{method:"PUT"},updateFields:{method:"PUT",isArray:!0}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteListCtrl",["$scope","gridOptions","ChatWebsite",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.id}}/embedding/view",name:"embedding"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.list",{url:"/list",templateUrl:"app/channels/chat/website/list/list.html",controller:"ChatWebsiteListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"chat_applications.csv",columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.ChatQueue ? row.entity.ChatQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/chat/websites/view/{{row.entity.ChatWebsiteId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.list",{url:"/list",templateUrl:"app/channels/chat/website/view/action/list/list.html",controller:"ChatWebsiteViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatWebsite","ChatQueue","Agent","Interval","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],k.get({websiteId:c.websiteId,controller:"applications",id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getQueues=function(){return l.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getAgents=function(){return m.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return n.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(j[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?j[1]="*":j[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?j[2]="*":j[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?j[3]="*":j[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=j.join(","),delete a.application.IntervalId}return k.update({websiteId:c.websiteId,controller:"applications",id:c.actionId},a.application).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/chat/websites/view/"+c.websiteId+"/actions/list")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/chat/website/view/action/view/view.html",controller:"ChatWebsiteViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewActionWizardCtrl",["$scope","$http","Agent","Interval","ChatQueue","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","ChatWebsite","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={app:"queue",intType:"always",alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return e.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.getIntervals=function(){return d.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){i.show(a.message||a.data.message,"danger")})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(m[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?m[1]="*":m[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?m[2]="*":m[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?m[3]="*":m[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=m.join(","),delete a.application.IntervalId}return n.save({websiteId:f.websiteId,controller:"applications"},a.application).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/chat/websites/view/"+f.websiteId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/view/action/wizard/wizard.html",controller:"ChatWebsiteViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ChatDisposition",["$resource",function(a){return a("/api/chat/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewModalDispositionAddCtrl",["$scope","$uibModalInstance","ChatWebsite","id","xAlert","$translate",function(a,b,c,d,e,f){a.ok=function(){return c.save({websiteId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({websiteId:b.websiteId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({websiteId:b.websiteId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({websiteId:b.websiteId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/chat/website/view/disposition/modal/add.modal.html",controller:"ChatWebsiteViewModalDispositionAddCtrl",resolve:{id:function(){return b.websiteId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.dispositions",{url:"/dispositions",controller:"ChatWebsiteDispositionViewCtrl",templateUrl:"app/channels/chat/website/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding",{url:"/embedding",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewEmbeddingViewCtrl",["$scope","$stateParams","$translate","clipboard","xAlert","ChatWebsite",function(a,b,c,d,e,f){a.initView=function(){return f.get({websiteId:b.websiteId,controller:"snippet"}).$promise.then(function(b){a.snippetCode=b.html})["catch"](function(a){e.show(a.message||a.data.message,"danger")})},a.copyToClipboard=function(){d.copyText(a.snippetCode),e.show(c.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.embedding.view",{url:"/view",templateUrl:"app/channels/chat/website/view/embedding/view/view.html",controller:"ChatWebsiteViewEmbeddingViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form",{url:"/forms",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewFormViewCtrl",["$scope","$builder","$validator","$stateParams","$translate","ChatWebsite","xAlert",function(a,b,c,d,e,f,g){a.saveForm=function(a){var c=angular.copy(b.forms[a]);return c.length>3?g.show("You can insert at least 3 input elements","danger"):(_.forEach(c,function(a){delete a.id}),f.updateFields({websiteId:d.websiteId,controller:"fields",id:a},c).$promise.then(function(){g.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message||a.data.message,"danger")}))},a.getChatWebsiteFields=function(a){return f.query({websiteId:d.websiteId,controller:"fields",id:a}).$promise.then(function(c){_.forEach(c,function(c){b.addFormObject(a,c)})})["catch"](function(a){g.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.form.view",{url:"/view",templateUrl:"app/channels/chat/website/view/form/view/view.html",controller:"ChatWebsiteViewFormViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewProactiveListCtrl",["$scope","gridOptions","ChatWebsite","$http","$translate","$stateParams","$uibModal",function(a,b,c,d,e,f,g){a.initProactiveActions=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"name"},{name:"type"},{name:"action",width:125,buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{websiteId:f.websiteId,controller:"proactive"})},a.createItem=function(b){var c=g.open({animation:!0,templateUrl:"app/channels/chat/website/view/proactive/list/list.create.modal.html",controller:"ChatWebsiteProactiveListCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteProactiveListCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","ChatWebsite","xAlert","item",function(a,b,c,d,e,f,g){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_PROACTIVE_ACTION"):b.instant("APPLICATION_NEW_PROACTIVE_ACTION"),a.possibleType=[{type:"mouseOver",title:"Mouse Over"},{type:"timeout",title:"Timeout"}],a.save=function(){return g?e.update({websiteId:d.websiteId,controller:"proactive",id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")}):e.save({websiteId:d.websiteId,controller:"proactive"},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.show(a.message||a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive.list",{url:"/list",templateUrl:"app/channels/chat/website/view/proactive/list/list.html",controller:"ChatWebsiteViewProactiveListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.proactive",{url:"/proactive",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteSettingViewCtrl",["$scope","$stateParams","$translate","$location","$timeout","socket","xAlert","ChatWebsite","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)})},a.updateItemChatWebsite=function(){return h.update({id:b.websiteId},{ListId:a.chatWebsite.ListId}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.settings",{url:"/settings",controller:"ChatWebsiteSettingViewCtrl",templateUrl:"app/channels/chat/website/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet",{url:"/snippet",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewSnippetViewCtrl",["$scope","$http","$stateParams","$translate","Template","$rootScope","FileUploader","$cookieStore","xAlert","ChatWebsite",function(a,b,c,d,e,f,g,h,i,j){a.$translate=d,a.statePreview={state:"online"},a.radioSwitch={isActive:f.license.custom?!0:!1,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var k=a.uploader=new g({url:"api/chat/websites/"+c.websiteId+"/logo",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+h.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(b,c){a.chatWebsite.logo=c.logo,i.show(d.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.enquirySwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.fidelitySwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.lang={HeaderCurrentlyChatting:"Live Chat",HeaderOffline:"Contact us",OperatorOfflineMessage:"It appears as if all operators are currently offline.",OfflineMessage:"<strong>We're not online.</strong><br/>It doesn't mean we're not there to help - leave your message below and we'll be in touch as soon as possible.",EnquiryMessagePlaceholder:"Your message...",EnquiryButtonText:"Leave message",EnquirySubmitSuccess:"Your message was sucessfully submitted - we will contact you as soon as possible.",OperatorComposing:"{fullname} is typing...",FirstMessageText:"",ExitChatButtonText:"Exit Chat",ExitChatQuestionText:"Are you sure?",ExitChatButtonConfirmText:"Yes",ExitChatButtonCancelText:"No",MessagePlaceholderText:"Your message...",MessageSendButtonText:"Send",ValidationEmailRequired:"Please enter your email address",ValidationEmailInvalid:"Please enter a valid email address",ValidationEmailMaxLength:"The email address may not exceed 85 characters",ValidationUsernameRequired:"Please enter your name",ValidationUsernameMaxLength:"The name may not exceed 45 characters",ValidationEnquiryRequired:"Please enter your enquiry",ValidationEnquiryMaxLength:"The enquiry may not exceed 1500 characters",ValidationMessageRequired:"Please enter your message",ValidationMessageMaxLength:"The message may not exceed 750 characters"},a.initView=function(){return j.get({id:c.websiteId}).$promise.then(function(b){return a.chatWebsite=b,e.get().$promise}).then(function(b){a.templates=b.rows})["catch"](function(a){i.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view.snippet.view",{url:"/view",templateUrl:"app/channels/chat/website/view/snippet/view/view.html",controller:"ChatWebsiteViewSnippetViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteViewCtrl",["$scope","xAlert","$http","$location","$stateParams","$translate","WizardHandler","ChatApplication","ChatWebsite",function(a,b,c,d,e,f,g,h,i){a.initApplication=function(){a.forms={},a.application={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.deleteItem=function(a){return h["delete"]({id:a}).$promise.then(function(){b.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.initView=function(){return i.get({id:e.websiteId}).$promise.then(function(b){a.chatWebsite=b})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},a.updateItem=function(){return i.update({id:a.chatWebsite.id},a.chatWebsite).$promise.then(function(){b.show(f.instant("MESSAGE_CHAT_WEBSITE_UPDATE_SUCCESS")+"!","success")})["catch"](function(a){b.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.view",{url:"/view/:websiteId",templateUrl:"app/channels/chat/website/view/view.html",controller:"ChatWebsiteViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites",{url:"/websites",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:8}}})}]),angular.module("xCallyShuttleApp").controller("ChatWebsiteWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","ChatWebsite",function(a,b,c,d,e,f,g){a.$translate=d,a.forms={formSetting:void 0,formAppearance:void 0,formLabel:void 0,formFunctionality:void 0},a.next=function(){e.wizard().next()},a.exitValidation=function(a){return a},a.item={},a.createItem=function(){return g.save(a.item).$promise.then(function(){f.show(d.instant("MESSAGE_CHAT_WEBSITE_CREATE_SUCCESS"),"success"),c.path("/channels/chat/websites/list")})["catch"](function(a){f.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.chat.websites.wizard",{url:"/wizard",templateUrl:"app/channels/chat/website/wizard/wizard.html",controller:"ChatWebsiteWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts",{url:"/accounts",template:"<div ui-view></div>", +"abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCtrl",["$scope","$uibModal","gridOptions","FaxAccount",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chat_websites.csv",columnDefs:[{name:"name"},{name:"description"},{name:"localstationid"},{name:"TrunkName",displayName:"APPLICATION_TRUNK"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/fax/account/list/list.create.modal.html",controller:"FaxAccountListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxAccountListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxAccount","Trunk",function(a,b,c,d,e,f){a.initWizard=function(){return a.form={},a.item={},a.trunks=[],f.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){d.error(a)})},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.list",{url:"/list",templateUrl:"app/channels/fax/account/list/list.html",controller:"FaxAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionListCtrl",["$scope","gridOptions","FaxAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"fax_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.FaxQueue ? row.entity.FaxQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/fax/accounts/view/{{row.entity.FaxAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/fax/account/view/action/list/list.html",controller:"FaxAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","FaxQueue","FaxAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){return a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],n.get({accountId:c.accountId,controller:"applications",id:c.actionId}).$promise.then(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})})["catch"](function(a){f.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(j[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?j[1]="*":j[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?j[2]="*":j[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?j[3]="*":j[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=j.join(","),delete a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},a.application).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/fax/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/fax/account/view/action/view/view.html",controller:"FaxAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewActionWizardCtrl",["$scope","$http","Agent","FaxQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","FaxAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(m[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?m[1]="*":m[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?m[2]="*":m[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?m[3]="*":m[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=m.join(","),delete a.application.IntervalId}return n.save({accountId:f.accountId,controller:"applications"},a.application).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/fax/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/view/action/wizard/wizard.html",controller:"FaxAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("FaxDisposition",["$resource",function(a){return a("/api/fax/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","FaxAccount","id","xAlert",function(a,b,c,d,e){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","FaxAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){f.error(a)})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){f.error(a)})},a.deleteDisposition=function(c){return e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){f.error(a)})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/fax/account/view/disposition/modal/add.modal.html",controller:"FaxInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.dispositions",{url:"/dispositions",controller:"FaxAccountDispositionViewCtrl",templateUrl:"app/channels/fax/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountSettingViewCtrl",["$scope","$stateParams","$translate","FaxAccount","List","Trunk","xAlert",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){return a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],f.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){g.error(a)}),e.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){g.error(a)}),d.get({id:b.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){g.error(a)})},a.updateItemFaxAccount=function(){return d.update({id:b.accountId},a.account).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view.settings",{url:"/settings",controller:"FaxAccountSettingViewCtrl",templateUrl:"app/channels/fax/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("FaxAccountViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","FaxAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){return j.get({id:c.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/fax/account/view/view.html",controller:"FaxAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("FaxAccountWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","Trunk","FaxAccount",function(a,b,c,d,e,f,g,h){a.translate=d,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){return a.$translate=d,a.forms={},a.item={},a.rate=["2400","4800","7200","9600","12000","14400"],a.techs=["SIP","IAX","DADHI","KHOMP"],a.item.headerinfo="xCALLY Motion Fax",a.item.ecm="yes",a.item.minrate="4800",a.item.maxrate="14400",a.item.modem="v17,v27,v29",a.item.gateway="no",a.item.faxdetect="no",a.item.t38timeout=5e3,a.item.tech="SIP",g.get().$promise.then(function(b){a.trunks=b.rows})["catch"](function(a){e.error(a)})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return h.save(a.item).$promise.then(function(a){e.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.path("/channels/fax/accounts/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/fax/account/wizard/wizard.html",controller:"FaxAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax",{url:"/fax",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("FaxAccount",["$resource",function(a){return a("/api/fax/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxAttachment",["$resource",function(a){return a("/api/fax/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("FaxMessage",["$resource",function(a){return a("/api/fax/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxReport",["$resource",function(a){return a("/api/report/faxs/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("FaxRoom",["$resource",function(a){return a("/api/fax/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox",{url:"/inbox",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").directive("faxMessage",["$rootScope","$translate","FaxMessage","List","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/fax/inbox/message/message.directive.html",link:function(f){f.openContact=function(c){return f.listId?d.save({listId:f.listId,controller:"contacts"},{fax:c}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.fax,type:"contact"})})["catch"](function(a){e.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},f.retry=function(a){return c.update({id:a,status:"SENDING"}).$promise["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("faxNote",["$translate","Modal","Auth","FaxMessage","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/fax/inbox/note/note.directive.html",link:function(f){f.Auth=c,f.deleteNote=b.confirm["delete"](function(){return d.remove({id:f.message.id}).$promise.then(function(){e.show(a.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.error(a)})})}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","FaxRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("faxRoom",["$cookieStore","$translate","$uibModal","$timeout","FaxAccount","FaxRoom","FaxMessage","FileUploader","xAlert","usSpinnerService","socket","Tag","Auth","FaxAttachment",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/fax/inbox/room/room.directive.html",link:function(o){function p(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}o.$on("$destroy",function(){k.unsyncUpdates("fax_message")});var q=[];o.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},o.panelLeft=null,o.panelRight="col-md-12",o.forms={},o.form={from:"",to:o.workspace.data&&o.workspace.data.to?o.workspace.data.to:"",disabled:!1},k.socket.on("fax_message:remove",function(a){_.remove(o.faxRoom.FaxMessages,{id:a.id})}),k.socket.on("fax_message:save",function(a){return o.workspace.id&&a.FaxRoomId==o.workspace.id?(o.workspace.active||o.workspace.unread++,g.get({id:a.id}).$promise.then(function(a){o.faxRoom||(o.faxRoom={FaxMessages:[]});var b=_.findIndex(o.faxRoom.FaxMessages,{id:a.id});b>-1?_.merge(o.faxRoom.FaxMessages[b],a):o.faxRoom.FaxMessages.unshift(a),o.panelLeft="col-md-6",o.panelRight="col-md-6"})["catch"](function(a){console.error(a)})):void 0});var r=o.uploader=new h({url:"api/fax/attachments",autoUpload:!0,withCredentials:!0,queueLimit:1,headers:{Authorization:"Bearer "+a.get("token")}});return r.filters.push({name:"uploadFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|pdf|tiff|tif".indexOf(b)}}),r.onWhenAddingFileFailed=function(a,c){switch(c.name){case"queueLimit":i.show(b.instant("MESSAGE_QUEUE_LIMIT_EXCEEDED"),"danger");break;case"uploadFilter":i.show(b.instant("MESSAGE_WRONG_FILE_FORMAT"),"danger");break;default:i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")}},r.removeFromQueue=function(a){var c=this;return n["delete"]({id:a.basename}).$promise.then(function(){var b=c.getIndexOfItem(a),d=c.queue[b];d.isUploading&&d.cancel(),c.queue.splice(b,1),d._destroy(),c.progress=c._getTotalProgress(),q=_.reject(q,{basename:a.basename})})["catch"](function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},r.onErrorItem=function(){i.show(b.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},r.onSuccessItem=function(a,b){var c={path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,c),q.push(c)},o.getMessageMailId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.togglePanelLeft=function(){o.panelLeft?(o.panelLeft=null,o.panelRight="col-md-12"):(o.panelLeft="col-md-6",o.panelRight="col-md-6")},o.closeRoom=function(){return c.open({animation:!0,templateUrl:"app/channels/fax/inbox/status/status.modal.html",controller:"FaxInboxStatusModalCtrl",resolve:{status:function(){return o.faxRoom.status},accountId:function(){return o.faxRoom.FaxAccount.id}}}).result.then(function(a){return f.update({id:o.workspace.id},a).$promise["catch"](function(a){i.error(a)})})},o.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:function(){return o.workspace.id}}})},o.cancel=function(){o.form.disabled=!1,o.form.from="",o.form.to=""},o.loadNote=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/note/note.modal.html",controller:"FaxInboxViewModalNoteCtrl",resolve:{id:function(){return o.workspace.id}}})},o.getMessageFaxId=function(a){var b=a.UserId?"imgFaxUserId"+a.UserId:"imgFaxVisitorId";return b+=o.faxRoom.id.toString()+a.id.toString()},o.getMessageRoomAvatar=function(a,b,c,e){d(function(){var d=b?"#imgFaxUserId"+b:"#imgFaxVisitorId";d+=o.faxRoom.id.toString()+a.toString(),angular.element(d).avatar({useGravatar:!1,initials:e?[]:p(c),fallbackImage:e?"api/users/avatar/"+e:"api/users/avatar/unknown_avatar"})})},o.onChanged=function(){return f.update({id:o.workspace.id},{tags:o.form.tags}).$promise["catch"](function(a){i.error(a)})},o.sendFax=function(){j.spin("spinner-grid"),o.form.disabled=!0;var a={from:o.form.from,to:o.form.to||"",status:"SENDING",FaxAttachments:q};return o.faxRoom?f.save({id:o.workspace.id,controller:"messages"},a).$promise.then(function(){r.queue=[],q=[],i.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1}):g.save(a).$promise.then(function(a){return i.show(b.instant("MESSAGE_FAX_MESSAGE_SEND_SUCCESS"),"success"),f.get({id:"messages",controller:a.id}).$promise}).then(function(a){r.queue=[],q=[],o.workspace.id=a.id,o.workspace.name=a.from,o.faxRoom=a})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})},l.get().$promise.then(function(a){o.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),e.get().$promise.then(function(a){o.faxAccounts=a.rows})["catch"](function(a){console.error(a)}),o.workspace.id?(o.panelLeft="col-md-6",o.panelRight="col-md-6",f.get({id:o.workspace.id}).$promise.then(function(a){o.faxRoom=a,o.workspace.name=a.from||"No number",o.form.from=a.FaxAccount.localstationid,o.form.tags=a.tags;var b=_.findLast(a.FaxMessages,{status:"RECEIVED"});return b&&(o.form.to=b.from),k.socket.on("fax_room:save",function(a){a.id===o.workspace.id&&_.merge(o.faxRoom,a)}),a}).then(function(a){return m.isAgent()&&"CLOSED"!==a.status?f.update({id:o.workspace.id},{status:"OPEN"}):void 0}).then(function(){return m.isAgent()?f.update({id:o.workspace.id,controller:"agents"},{agents:[m.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){i.error(a)})["finally"](function(){j.stop("spinner-grid"),o.form.disabled=!1})):(o.panelLeft=null,o.panelRight="col-md-12",j.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxStatusModalCtrl",["$scope","$uibModalInstance","FaxAccount","status","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_FAX"},a.initDisposition=function(){return a.item={disposition:null,status:"CLOSED"},c.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","FaxAccount","FaxRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","localStorageService","uibButtonConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r){a.openRoom=function(b){var c=_.find(a.workspaces,{id:b,type:"faxRoom"});c?c.active=!0:a.workspaces.push({id:b,type:"faxRoom","class":"icon-paper-plane",active:!0})},a.getPage=function(){h.spin("spinner-grid");var b={accountId:e.id,controller:"rooms"};return a.query&&_.merge(b,a.query),j.query(b).$promise.then(function(b){q.set("faxAccountId",e.id),a.gridOptions.data=b,i.unsyncUpdates("fax_room"),i.socket.on("fax_room:save",function(b){if(b.FaxAccountId==e.id){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status!==b.status?_.remove(a.gridOptions.data,{id:b.id}):_.merge(c,b))}}),i.socket.on("fax_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})})["catch"](function(a){p.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.initView=function(){r.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("faxStatus")?q.get("faxStatus"):"UNMANAGED",tags:q.get("faxTags")?q.get("faxTags"):[]},a.$watch("query.status",function(){q.set("faxStatus",a.query.status),a.getPage(a.query)},!0),j.get().$promise.then(function(b){a.faxAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"fax_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div> <span data-ng-class=\"{'icon-arrow-up font-green': row.entity.lastEvent === 'SENT', 'icon-arrow-up font-yellow': row.entity.lastEvent === 'SENDING', 'icon-arrow-down font-green': row.entity.lastEvent === 'RECEIVED', 'icon-close font-red': row.entity.lastEvent === 'FAILED', 'icon-question': !row.entity.lastEvent}\"> </span> </div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-xs green" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.from)"><i class="icon-paper-plane" aria-hidden="true"></i></a> <a class="btn btn-xs btn-primary" data-ng-click="grid.appScope.loadAgents(row.entity.id)"><i class="fa fa-user-plus" aria-hidden="true"></i></a> <a class="btn btn-xs btn-danger" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id, row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(a.query)},a.onChanged=function(){q.set("faxTags",a.query.tags),a.getPage(a.query)},a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.agents.modal.html",controller:"FaxInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/fax/inbox/view/view.tags.modal.html",controller:"FaxInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return k.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.error(a)})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/fax/inbox/view/account/list/list.html",controller:"FaxInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","FaxRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents", +agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewCtrl",["$scope","$timeout","$location","FaxAccount","xAlert",function(a,b,c,d,e){a.initView=function(){return d.get().$promise.then(function(b){var d=null;a.faxAccounts=b.rows,a.faxAccounts.length&&(d="/channels/fax/inbox/view/account/"+a.faxAccounts[0].id+"/list"),d&&c.path(d)})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.inbox.view",{url:"/view",templateUrl:"app/channels/fax/inbox/view/view.html",controller:"FaxInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalStatusCtrl",["$scope","$uibModalInstance","$translate","$stateParams","$location","FaxRoom","xAlert","id","status",function(a,b,c,d,e,f,g,h,i){a.initModal=function(){a.modal={dismissable:!0,title:"APPLICATION_STATUS",html:"<p>"+c.instant("MESSAGE_CHANGE_STATUS")+"<strong> "+i+"</strong>?</p>",status:i,buttons:[{classes:"btn btn-success",text:"APPLICATION_CONFIRM",click:function(a){return f.update({id:h},{status:i}).$promise.then(function(){g.show(c.instant("MESSAGE_STATUS_UPDATE_SUCCESS"),"success"),b.close(a)})["catch"](function(a){g.error(a)})}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}}}]),angular.module("xCallyShuttleApp").controller("FaxInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","FaxRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").factory("FaxQueue",["$resource",function(a){return a("/api/fax/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCtrl",["$scope","FaxQueue","gridOptions","Auth","$uibModal",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var e={exporterCsvFilename:"fax_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"strategy"},{name:"timeout"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/fax/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/fax/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===d.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a)},a.createItem=function(){var b=e.open({animation:!0,templateUrl:"app/channels/fax/queue/list/list.create.modal.html",controller:"FaxQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("FaxQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","FaxQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.list",{url:"/list",templateUrl:"app/channels/fax/queue/list/list.html",controller:"FaxQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","FaxQueue","Team","Auth","strategies",function(a,b,c,d,e,f,g,h,i){a.Auth=h,a.strategies=i;var j=function(){return{select:function(b){return f.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return f["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return f.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){e.show(a.message,"danger")})},a.updateFaxQueue=function(){return f.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.message,"danger")})},a.getTeams=function(){return g.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,f.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasFaxQueue.penalty}}),j)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.queues.view",{url:"/view/:id",templateUrl:"app/channels/fax/queue/view/view.html",controller:"FaxQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.fax.queues.view.settings",{url:"/settings",templateUrl:"app/channels/fax/queue/view/view.settings.html"}).state("main.channels.fax.queues.view.agents",{url:"/agents",templateUrl:"app/channels/fax/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:10}}})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","FaxQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.faxPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_fax_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PFaxQueues,"id"),b.FaxQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.FaxQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_fax_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.FaxQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.faxPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.FaxQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.faxQueues=b.rows,e.syncUpdates("fax_queue",a.faxQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.faxQueues=[];var t={controller:"realtime",controller1:"fax",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"faxPause",width:300,displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.faxQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_fax_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/queue.modal.add.html",controller:"FaxRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.faxQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.faxQueues,function(a){return _.includes(b.queues,a.id)}),channel:"fax",data1:e,data3:b.queues.join(","),data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"fax",data1:a,data3:b,data4:"fax"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/fax/realtime/view/agent/agent.modal.info.html",controller:"FaxRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/fax/realtime/view/agent/agent.html",controller:"FaxRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportFaxSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_fax_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_fax_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_fax_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/fax/realtime/view/application/application.html",controller:"FaxRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("FaxRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.fax.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.fax.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.fax.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.fax.realtime.view",{url:"/view",templateUrl:"app/channels/fax/realtime/view/view.html",controller:"FaxRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportFaxSession",["$resource",function(a){return a("/api/report/fax/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailAccount",["$resource",function(a){return a("/api/mail/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts",{url:"/accounts",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailAccountListCtrl",["$scope","$stateParams","gridOptions","MailAccount","socket",function(a,b,c,d,e){a.$on("$destroy",function(){e.unsyncUpdates("mail_server_in")}),a.initView=function(){e.socket.on("mail_server_in:save",function(b){var c=_.find(a.gridOptions.data,{id:b.MailAccountId});c&&(c.MailServerIn.state=b.state,c.MailServerIn.source=JSON.parse(b.source))});var f={exporterCsvFilename:"mail_accounts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"address"},{name:"MailServerIn.state",width:100,cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span class=\"label label-sm\" data-ng-class=\"row.entity.MailServerIn.state === 'CONNECTED' ? 'label-success' : 'label-danger'\">{{row.entity.MailServerIn.state}}</span></div>",displayName:"IMAP",enableSorting:!1,enableFiltering:!1},{name:"MailServerOut.state",width:110,cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span class=\"label label-sm\" data-ng-class=\"row.entity.MailServerOut.state === 'CONNECTED' ? 'label-success' : 'label-danger'\">{{row.entity.MailServerOut.state}}</span></div>",displayName:"SMTP",enableSorting:!1,enableFiltering:!1},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,f,a,{accountId:b.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.list",{url:"/list",templateUrl:"app/channels/mail/account/list/list.html",controller:"MailAccountListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailServerIn",["$resource",function(a){return a("/api/mail/servers/in/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailServerOut",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"},{update:{method:"PUT"},test:{method:"GET"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionListCtrl",["$scope","gridOptions","MailAccount","$http","$translate","$stateParams",function(a,b,c,d,e,f){a.initActons=function(){var d={draggable:!0,exporterCsvFilename:"mail_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.MailQueue ? row.entity.MailQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center",cellTemplate:"<div><span>{{row.entity.Interval ? row.entity.Interval.name : row.entity.interval}}</span></div>"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/mail/accounts/view/{{row.entity.MailAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/mail/account/view/action/list/list.html",controller:"MailAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","MailQueue","MailAccount","Template",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"ReplyMail",value:"replyMail"}],a.types=[{key:"APPLICATION_REPLY",value:"reply"},{key:"APPLICATION_REPLY_TO_ALL",value:"replyAll"}],b.get("/api/mail/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return n.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var e=["*","*","*","*"],g=angular.copy(a.application);switch(g.intType){case"always":g.interval=e.join(","),delete g.IntervalId;break;case"custom":g.alwaysTime||(e[0]=g.alwaysTime?"*":g.t_from_hm+"-"+g.t_to_hm),g.wd_from&&g.wd_to&&"always"===g.wd_from&&"always"===g.wd_to?e[1]="*":e[1]=g.wd_from&&g.wd_to?g.wd_from+"-"+g.wd_to:"*",g.md_from&&g.md_to&&"always"===g.md_from&&"always"===g.md_to?e[2]="*":e[2]=g.md_from&&g.md_to?g.md_from+"-"+g.md_to:"*",g.m_from&&g.m_to&&"always"===g.m_from&&"always"===g.m_to?e[3]="*":e[3]=g.m_from&&g.m_to?g.m_from+"-"+g.m_to:"*",g.interval=e.join(","),delete g.IntervalId}b.put("/api/mail/applications/"+c.actionId,g).success(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/mail/account/view/action/view/view.html",controller:"MailAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewActionWizardCtrl",["$scope","$http","Agent","Template","MailQueue","MailAccount","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"ReplyMail",value:"replyMail"}],a.types=[{key:"APPLICATION_REPLY",value:"reply"},{key:"APPLICATION_REPLY_TO_ALL",value:"replyAll"}],a.$application=n.application,a.$stateParams=h,a.$interval=o.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return e.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return d.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return f.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return g.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(o[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?o[1]="*":o[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?o[2]="*":o[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?o[3]="*":o[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=o.join(","),delete a.application.IntervalId}return f.save({accountId:h.accountId,controller:"applications"},a.application).$promise.then(function(){j.path("/channels/mail/accounts/view/"+h.accountId+"/actions/list")})["catch"](function(a){console.error(a)})},a.formValidation=function(a){return a},a.next=function(){l.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/view/action/wizard/wizard.html",controller:"MailAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailDisposition",["$resource",function(a){return a("/api/mail/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","MailAccount","id","xAlert","$translate",function(a,b,c,d,e,f){a.ok=function(){ +return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){e.show(f.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","MailAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/account/view/disposition/modal/add.modal.html",controller:"MailInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.dispositions",{url:"/dispositions",controller:"MailAccountDispositionViewCtrl",templateUrl:"app/channels/mail/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountSettingViewCtrl",["$scope","$http","$stateParams","$translate","$location","$timeout","socket","xAlert","MailAccount","MailMessage","MailServerIn","MailServerOut","usSpinnerService","List","Template",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){a.imapDisabled=!1,a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.$on("$destroy",function(){g.socket.removeAllListeners("mail_message:sent"),g.socket.removeAllListeners("mail_message:failed")}),a.initView=function(){return g.socket.on("mail_message:sent",function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success"),m.stop("spinner-grid")}),g.socket.on("mail_message:failed",function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger"),m.stop("spinner-grid")}),n.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)}),i.get({id:c.accountId}).$promise.then(function(b){a.account=b,a.account.MailServerIn.source=JSON.parse(a.account.MailServerIn.source),a.account.MailServerOut.source=JSON.parse(a.account.MailServerOut.source),g.socket.on("mail_server_in:state",function(b){if(b.id===a.account.MailServerIn.id)switch(a.account.MailServerIn.state=b.state,a.account.MailServerIn.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.imapDisabled=!1}}),g.socket.on("mail_server_out:state",function(b){if(b.id===a.account.MailServerOut.id)switch(a.account.MailServerOut.state=b.state,a.account.MailServerOut.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:m.stop("spinner-grid"),a.smtpDisabled=!1}})})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailAccount=function(){return i.update({id:c.accountId},{name:a.account.name,description:a.account.description,address:a.account.address,fidelity:a.account.fidelity,timeout:a.account.timeout,ListId:a.account.ListId,TemplateId:a.account.TemplateId}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerIn=function(){var b=angular.copy(a.account.MailServerIn);return delete b.source,m.spin("spinner-grid"),a.imapDisabled=!0,k.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updateItemMailServerOut=function(){var b=angular.copy(a.account.MailServerOut);return delete b.source,m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:b.id},b).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return m.spin("spinner-grid"),a.smtpDisabled=!0,l.update({id:a.account.MailServerOut.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view.settings",{url:"/settings",controller:"MailAccountSettingViewCtrl",templateUrl:"app/channels/mail/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("MailAccountViewCtrl",["$scope","$stateParams","MailAccount",function(a,b,c){a.initView=function(){return c.get({id:b.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.view",{url:"/view/:accountId",controller:"MailAccountViewCtrl",templateUrl:"app/channels/mail/account/view/view.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("MailAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","MailAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={MailServerIn:{port:993,ssl:!0,"delete":!1,protocol:"IMAP",filter:"UNSEEN",mailbox:"INBOX",keepalive:!0,authTimeout:5,connTimeout:10},MailServerOut:{port:465,ssl:!0}}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/channels/mail/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/mail/account/wizard/wizard.html",controller:"MailAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox",{url:"/inbox",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","uniqueId","ReportSquare",function(a,b,c,d,e,f,g){a.data=null,a.initInfo=function(){g.get({controller:"show",uniqueid:f}).$promise.then(function(b){a.data={id:b.id,channel:b.channel,uniqueid:b.uniqueid,callerid:b.callerid,calleridname:b.calleridname,project_name:b.project_name,extension:b.extension}})["catch"](function(b){switch(b.status){case 404:a.data=null;break;default:e.error(b)}})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").directive("mailMessage",["$rootScope","$translate","MailMessage","List","xAlert","Lightbox","$uibModal",function(a,b,c,d,e,f,g){return{restrict:"E",scope:{message:"=",listId:"="},templateUrl:"app/channels/mail/inbox/message/message.directive.html",link:function(h){h.openPreview=function(a){f.openModal(["api/mail/attachments/"+a],0)},h.openContact=function(c){return h.listId?d.save({listId:h.listId,controller:"contacts"},{email:c}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})})["catch"](function(a){console.error(a)}):void e.show(b.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},h.info=function(a){g.open({animation:!0,templateUrl:"app/channels/mail/inbox/message/info.modal.html",controller:"MailInboxInfoModalCtrl",resolve:{uniqueId:function(){return a}}})},h.retry=function(a){return c.update({id:a,status:"SENDING"}).$promise["catch"](function(a){console.error(a)})}}}}]),angular.module("xCallyShuttleApp").directive("mailNote",["$translate","Modal","Auth","MailMessage","xAlert",function(a,b,c,d,e){return{restrict:"E",scope:{message:"="},templateUrl:"app/channels/mail/inbox/note/note.directive.html",link:function(f){f.Auth=c,f.deleteNote=b.confirm["delete"](function(){return d.remove({id:f.message.id}).$promise.then(function(){e.show(a.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})})}}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalNoteCtrl",["$scope","$uibModalInstance","$translate","id","MailRoom","xAlert",function(a,b,c,d,e,f){a.initModal=function(){a.item={}},a.ok=function(){return e.save({id:d,controller:"messages",controller2:"send"},{text:a.item.text,status:"NOTE"}).$promise.then(function(){f.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close()})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").directive("mailRoom",["$rootScope","$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","MailAttachment","List","MailAccount","MailRoom","MailMessage","FileUploader","xAlert","usSpinnerService","socket","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){return{restrict:"E",scope:{workspace:"="},templateUrl:"app/channels/mail/inbox/room/room.directive.html",link:function(e){function r(a){return a?"<br><blockquote>"+a.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\n/g,"<br>")+"</blockquote>":void 0}e.$on("$destroy",function(){console.log("mailRoom directive $destroy"),p.unsyncUpdates("mail_message"),p.unsyncUpdates("mail_room")});var s=[];e.user=q.getCurrentUser(),e.getContacts=function(a){return e.listId?i.get({listId:e.listId,controller:"contacts",email:a}).$promise.then(function(a){return a.rows})["catch"](function(a){console.error(a)}):[]},e.setList=function(a){e.listId=a},e.options={language:a.language,allowedContent:!0,entities:!1,skin:"office2013",extraPlugins:"autogrow",autoGrow_minHeight:600,autoGrow_maxHeight:600,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]}]},e.expanded=!0,e.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},e.panelLeft=null,e.panelRight="col-md-12",e.forms={},e.form={from:[],to:e.workspace.data&&e.workspace.data.to?[e.workspace.data.to]:[],cc:[],bcc:[],tags:[],html:"",disabled:!1},p.socket.on("mail_message:remove",function(a){_.remove(e.mailRoom.MailMessages,{id:a.id})}),p.socket.on("mail_message:save",function(a){return e.workspace.id&&a.MailRoomId==e.workspace.id?(e.workspace.active||e.workspace.unread++,l.get({id:a.id}).$promise.then(function(a){e.mailRoom||(e.mailRoom={MailMessages:[]});var b=_.findIndex(e.mailRoom.MailMessages,{id:a.id});b>-1?_.merge(e.mailRoom.MailMessages[b],a):e.mailRoom.MailMessages.unshift(a),e.panelLeft="col-md-6",e.panelRight="col-md-6"})["catch"](function(a){console.error(a)})):void 0});var t=e.uploader=new m({url:"api/mail/attachments",autoUpload:!0,withCredentials:!0,headers:{Authorization:"Bearer "+b.get("token")}});return t.onErrorItem=function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},t.removeFromQueue=function(a){var b=this;return h["delete"]({id:a.basename}).$promise.then(function(){var c=b.getIndexOfItem(a),d=b.queue[c];d.isUploading&&d.cancel(),b.queue.splice(c,1),d._destroy(),b.progress=b._getTotalProgress(),s=_.reject(s,{basename:a.basename})})["catch"](function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},t.onSuccessItem=function(a,b){var c={size:b.size,path:b.path,name:b.name,basename:b.basename,type:b.type};a=_.merge(a,c),s.push(c)},e.openRoom=function(b){var c=_.find(a.workspaces,{id:b,type:"mailRoom"});c?c.active=!0:a.workspaces.push({id:b,type:"mailRoom","class":"icon-envelope",active:!0})},e.togglePanelLeft=function(){e.panelLeft?(e.panelLeft=null,e.panelRight="col-md-12"):(e.panelLeft="col-md-6",e.panelRight="col-md-6")},e.onSelectAnswer=function(){e.form.html=e.modelOptions.selectedAnswer+e.form.html,delete e.modelOptions.selectedAnswer},e.getAnswers=function(a){return g.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},e.loadTemplate=function(){return d.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.templates.modal.html",controller:"MailInboxViewModalTemplateCtrl"}).result.then(function(a){e.form.subject=a.template.subject,e.form.html=a.template.html})},e.closeRoom=function(){return d.open({animation:!0,templateUrl:"app/channels/mail/inbox/status/status.modal.html",controller:"MailInboxStatusModalCtrl",resolve:{status:function(){return e.mailRoom.status},accountId:function(){return e.mailRoom.MailAccount.id}}}).result.then(function(a){return console.log(a),k.update({id:e.workspace.id,controller:"status"},a).$promise["catch"](function(a){n.show(a.data.message,"danger")})})},e.loadNote=function(){return d.open({animation:!0,templateUrl:"app/channels/mail/inbox/note/note.modal.html",controller:"MailInboxViewModalNoteCtrl",resolve:{id:function(){return e.workspace.id}}})},e.onChanged=function(){return k.update({id:e.workspace.id},{tags:e.form.tags}).$promise["catch"](function(a){console.error(a)})},e.sendMail=function(){o.spin("spinner-grid"),e.form.disabled=!0;var a={},b={subject:e.form.subject||(e.mailRoom?e.mailRoom.subject:null),from:e.form.from,to:_.map(e.form.to,"email"),cc:_.map(e.form.cc,"email"),bcc:_.map(e.form.bcc,"email"),html:e.form.html||null,text:e.form.text||null,inReplyTo:a.messageId||null,status:"SENDING",MailAttachments:s};return e.mailRoom?(a=_.last(e.mailRoom.MailMessages,{status:"RECEIVED"}),b.inReplyTo=a.messageId||null,k.save({id:e.workspace.id,controller:"messages",controller2:"send"},b).$promise.then(function(){e.form.html="",t.queue=[],s=[],n.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){o.stop("spinner-grid"),e.form.disabled=!1})):l.save(b).$promise.then(function(a){return n.show(c.instant("MESSAGE_MAIL_MESSAGE_SEND_SUCCESS"),"success"),k.get({id:"messages",controller:a.id}).$promise}).then(function(a){e.form.html="",t.queue=[],s=[],e.workspace.id=a.id,e.workspace.name=a.subject,e.mailRoom=a,e.listId=a.MailAccount.ListId,e.expanded=!1})["catch"](function(){n.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){o.stop("spinner-grid"),e.form.disabled=!1})},f.get().$promise.then(function(a){e.tags=_.map(a.rows,"name")})["catch"](function(a){console.error(a)}),j.get().$promise.then(function(a){e.mailAccounts=a.rows})["catch"](function(a){console.error(a)}),e.workspace.id?(e.panelLeft="col-md-6",e.panelRight="col-md-6",k.get({id:e.workspace.id}).$promise.then(function(a){e.mailRoom=a,e.expanded=!1,e.listId=a.MailAccount.ListId,e.workspace.name=a.subject||"No subject",e.form.from.push(a.MailAccount.address),e.form.tags=a.tags;var b=_.findLast(e.mailRoom.MailMessages,{status:"RECEIVED"});return b&&(e.form.to=_.map(_.union(b.from,b.to),function(a){return{email:a}}),e.form.to=_.remove(e.form.to,function(b){return b.email!==a.MailAccount.address}),e.form.cc=_.map(b.cc,function(a){return{email:a}}),e.form.bcc=_.map(b.bcc,function(a){return{email:a}}),e.form.subject="Re: "+(b.subject||"No subject"),e.form.html=r(b.text)),p.socket.on("mail_room:save",function(a){a.id===e.workspace.id&&_.merge(e.mailRoom,a)}),a}).then(function(a){return q.isAgent()&&"CLOSED"!==a.status?k.update({id:e.workspace.id},{status:"OPEN"}):void 0}).then(function(){return q.isAgent()?k.update({id:e.workspace.id,controller:"agents"},{agents:[q.getCurrentUser().id]}).$promise:void 0})["catch"](function(a){console.error(a)})["finally"](function(){o.stop("spinner-grid"),e.form.disabled=!1})):(e.panelLeft=null,e.panelRight="col-md-12",o.stop("spinner-grid"),void 0)}}}]),angular.module("xCallyShuttleApp").controller("MailInboxStatusModalCtrl",["$scope","$uibModalInstance","MailAccount","status","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_MAIL"},a.initDisposition=function(){return a.item={disposition:null,status:"CLOSED"},c.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","uibButtonConfig","usSpinnerService","socket","MailAccount","MailRoom","uiGridConstants","Auth","Modal","xAlert","localStorageService",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"mailRoom"});return d&&b?d.active=!0:a.workspaces.push({id:b,subject:c,type:"mailRoom","class":"icon-envelope",active:!0}),b&&"agent"===n.getCurrentUser().role&&"CLOSED"!==a.query.status?l.update({id:b,controller:"status"},{status:"OPEN"}).$promise["catch"](function(a){console.error(a)}):void 0},a.getPage=function(){i.spin("spinner-grid");var b={accountId:e.id,controller:"rooms"};return a.query&&_.merge(b,a.query),k.query(b).$promise.then(function(b){q.set("mailAccountId",e.id),a.gridOptions.data=b,j.unsyncUpdates("mail_room"),j.socket.on("mail_room:save",function(b){if(console.log(b.MailAccountId,e.id),b.MailAccountId==e.id){var c=_.find(a.gridOptions.data,{id:b.id});c?c.status!==b.status?_.remove(a.gridOptions.data,{id:b.id}):_.merge(c,b):a.query.status===b.status&&a.gridOptions.data.push(b)}}),j.socket.on("mail_room:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})})["catch"](function(a){console.error(a)})["finally"](function(){i.stop("spinner-grid")})},a.initView=function(){h.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:q.get("mailStatus")?q.get("mailStatus"):"NEW",tags:q.get("mailTags")?q.get("mailTags"):[]},a.$watch("query.status",function(){q.set("mailStatus",a.query.status),a.getPage()},!0),k.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)}),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"mail_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"lastEvent",displayName:"",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div> <span data-ng-class=\"{'icon-arrow-up font-green': row.entity.lastEvent === 'SENT', 'icon-arrow-up font-yellow': row.entity.lastEvent === 'SENDING', 'icon-arrow-down font-green': row.entity.lastEvent === 'RECEIVED', 'icon-close font-red': row.entity.lastEvent === 'FAILED', 'icon-question': !row.entity.lastEvent}\"> </span> </div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"attachment",displayName:"",headerCellTemplate:'<i class="icon-paper-clip" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.attachment ? 'icon-paper-clip' : ''\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"subject"},{name:"from",cellClass:"text-center"},{name:"disposition",displayName:"APPLICATION_DISPOSITION",headerCellFilter:"translate"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-icon-only font-green" data-ng-hide="row.entity.waiting" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.subject)"><i class="fa fa-envelope" aria-hidden="true"></i></a> <a class="btn btn-icon-only font-red" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id, row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i></a> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:70,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},a.getPage(a.query)},a.onChanged=function(){q.set("mailTags",a.query.tags),a.getPage(a.query)},a.tagItems=function(){return c.open({animation:!0,templateUrl:"app/channels/mail/inbox/view/view.tags.modal.html",controller:"MailInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[]})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return l.remove(c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return l["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/mail/inbox/view/account/list/list.html",controller:"MailInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","Auth","MailRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h,i){var j=[];a.initModal=function(){return a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){for(var c=0;c<b.rows.length;c++)a.agents.push(b.rows[c]);return g.query({id:i,controller:"agents"}).$promise}).then(function(b){for(var c=0;c<b.length;c++)f.isAgent()||a.item.agents.push(b[c]),j.push(b[c].id)})["catch"](function(a){console.error(a)})},a.ok=function(){return j=f.isAgent()?_.union(j,a.item.agents):angular.copy(a.item.agents),g.update({id:i,controller:"agents",agents:j}).$promise.then(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewCtrl",["$scope","$timeout","$location","localStorageService","MailAccount",function(a,b,c,d,e){a.initView=function(){return e.get().$promise.then(function(b){var e=null;a.mailAccounts=b.rows,a.mailAccounts.length&&(e="/channels/mail/inbox/view/account/"+(d.get("mailAccountId")||a.mailAccounts[0].id)+"/list"),e&&c.path(e)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.inbox.view",{url:"/view",templateUrl:"app/channels/mail/inbox/view/view.html",controller:"MailInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","MailRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("MailInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(a,b,c){a.initModal=function(){return a.item={},c.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail",{url:"/mail",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MailAttachment",["$resource",function(a){return a("/api/mail/attachments/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").factory("MailMessage",["$resource",function(a){return a("/api/mail/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailReport",["$resource",function(a){return a("/api/report/mails/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("MailRoom",["$resource",function(a){return a("/api/mail/rooms/:id/:controller/:controller2",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").controller("MailQueueListCtrl",["$scope","MailQueue","gridOptions","$uibModal","Auth",function(a,b,c,d,e){a.initView=function(){a.Auth=e;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/mail/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/mail/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===e.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/mail/queue/list/list.create.modal.html",controller:"MailQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("MailQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","MailQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.list",{url:"/list",templateUrl:"app/channels/mail/queue/list/list.html",controller:"MailQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("MailQueue",["$resource",function(a){return a("/api/mail/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/scripts/components-dropdowns.js"]})}]},data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","MailQueue","Auth","strategies",function(a,b,c,d,e,f,g,h,i){a.Auth=h,a.strategies=i;var j=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateMailQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindMailQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasMailQueue.penalty}}),j)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.queues.view",{url:"/view/:id",templateUrl:"app/channels/mail/queue/view/view.html",controller:"MailQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.mail.queues.view.settings",{ +url:"/settings",templateUrl:"app/channels/mail/queue/view/view.settings.html"}).state("main.channels.mail.queues.view.agents",{url:"/agents",templateUrl:"app/channels/mail/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:9}}})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","MailQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.mailPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_mail_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PMailQueues,"id"),b.MailQueueId)||n.isAdmin();if(c){var d=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0});if(d){var e=a.gridOptions.data.indexOf(d);a.gridOptions.data.splice(e+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.MailQueueId,agent:b.membername,online:d.online})}}}),e.socket.on("user_has_mail_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.MailQueueId})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.mailPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.MailQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.mailQueues=b.rows,e.syncUpdates("mail_queue",a.mailQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.mailQueues=[];var t={controller:"realtime",controller1:"mail",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"mailPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.mailQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_mail_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/queue.modal.add.html",controller:"MailRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.mailQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.mailQueues,function(a){return _.includes(b.queues,a.id)}),channel:"mail",data1:e,data3:b.queues.join(","),data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"mail",data1:a,data3:b,data4:"mail"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/mail/realtime/view/agent/agent.modal.info.html",controller:"MailRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/mail/realtime/view/agent/agent.html",controller:"MailRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportMailSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_mail_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_mail_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_mail_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/mail/realtime/view/application/application.html",controller:"MailRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("MailRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.mail.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.mail.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.mail.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.mail.realtime.view",{url:"/view",templateUrl:"app/channels/mail/realtime/view/view.html",controller:"MailRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportMailSession",["$resource",function(a){return a("/api/report/mail/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelAccount",["$resource",function(a){return a("/api/openchannel/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts",{url:"/accounts",template:"<div ui-view></div>"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountListCtrl",["$scope","OpenChannelAccount","gridOptions","$stateParams","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var e={exporterCsvFilename:"openchannel_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/openchannel/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a,{accountId:d.accountId})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.list",{url:"/list",templateUrl:"app/channels/openchannel/account/list/list.html",controller:"OpenChannelAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("OpenChannelApplication",["$resource",function(a){return a("/api/openchannel/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionListCtrl",["$scope","gridOptions","OpenChannelAccount","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e,f,g){c.get({accountId:f.accountId,controller:"applications"}).$promise.then(function(a){console.log("apps",a)})["catch"](function(a){g.show(a.message,"danger")}),a.initActions=function(){var d={draggable:!0,exporterCsvFilename:"openchannel_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.OpenchannelQueue ? row.entity.OpenchannelQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/openchannel/accounts/view/{{row.entity.OpenchannelAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/openchannel/account/view/action/list/list.html",controller:"OpenChannelAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","OpenChannelQueue","OpenChannelApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],b.get("/api/openchannel/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){var b=["*","*","*","*"],g={app:a.application.app,timeout:a.application.timeout,OpenchannelAccountId:c.id};switch(a.application.app){case"agent":g.UserId=a.application.UserId;break;case"queue":g.OpenchannelQueueId=a.application.OpenchannelQueueId}switch(a.application.intType){case"always":g.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",g.interval=b.join(","),delete a.application.IntervalId;break;case"list":g.IntervalId=a.application.IntervalId}return n.update({id:c.actionId},g).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/openchannel/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/openchannel/account/view/action/view/view.html",controller:"OpenChannelAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewActionWizardCtrl",["$scope","$http","Agent","OpenChannelQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","OpenChannelApplication",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){console.log(b),a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){var b=["*","*","*","*"];console.log(a.application);var c={app:a.application.app,timeout:a.application.timeout,OpenchannelAccountId:f.accountId};switch(a.application.app){case"agent":c.UserId=a.application.UserId;break;case"queue":c.OpenchannelQueueId=a.application.OpenchannelQueueId}switch(a.application.intType){case"always":c.interval=b.join(","),delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(b[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?b[1]="*":b[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?b[2]="*":b[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?b[3]="*":b[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",c.interval=b.join(","),delete a.application.IntervalId;break;case"list":c.IntervalId=a.application.IntervalId}return console.log(c),n.save(c).$promise.then(function(){h.path("/channels/openchannel/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.show(a.data.message,"danger")})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/openchannel/account/view/action/wizard/wizard.html",controller:"OpenChannelAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountApiViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){a.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},a.initView=function(){b.get({id:d.accountId}).$promise.then(function(b){a.account=b,a.receiveurl=a.account.remote+"/api/openchannel/accounts/"+a.account.id+"/receive"})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.api",{url:"/api",controller:"OpenChannelAccountApiViewCtrl",templateUrl:"app/channels/openchannel/account/view/api/view/view.html"})}]),angular.module("xCallyShuttleApp").factory("OpenChannelDisposition",["$resource",function(a){return a("/api/openchannel/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","OpenChannelAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","OpenChannelAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/openchannel/account/view/disposition/modal/add.modal.html",controller:"OpenChannelInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.dispositions",{url:"/dispositions",controller:"OpenChannelAccountDispositionViewCtrl",templateUrl:"app/channels/openchannel/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountHooksViewCtrl",["$scope","OpenChannelAccount","Pause","$http","$stateParams","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){a.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.actions=[{value:"",name:"-- None --"},{name:"Pause",value:"pause"}],a.account={},a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.initView=function(){c.get().$promise.then(function(b){a.pauses=b.rows})["catch"](function(a){h.error(a)}),b.get({id:e.accountId}).$promise.then(function(b){a.account=b,a.account.actions.length<1&&a.account.actions.push({action:"pause",enabled:!1})})["catch"](function(a){h.show(a.message,"danger")})},a.resetActionData=function(a){a.type=null},a.updateItem=function(){return console.log(a.account),b.update({id:e.accountId},a.account).$promise.then(function(){h.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.hooks",{url:"/hooks",controller:"OpenChannelAccountHooksViewCtrl",templateUrl:"app/channels/openchannel/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountSettingViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.account={},a.initView=function(){i.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),b.get({id:d.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){return b.update({id:d.accountId},a.account).$promise.then(function(){h.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view.settings",{url:"/settings",controller:"OpenChannelAccountSettingViewCtrl",templateUrl:"app/channels/openchannel/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountViewCtrl",["$scope","OpenChannelAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return a.account={},b.get({id:d.accountId}).$promise.then(function(b){a.account=b,console.log(b)})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/openchannel/account/view/view.html",controller:"OpenChannelAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","OpenChannelAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/channels/openchannel/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/openchannel/account/wizard/wizard.html",controller:"OpenChannelAccountWizardCtrl" +})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox",{url:"/inbox",template:"<div ui-view></div>"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","data",function(a,b,c,d,e,f){a.data=null,a.initInfo=function(){f&&(console.log(f),a.data=_.isEmpty(JSON.parse(f))?null:JSON.parse(f))},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").directive("message",["$rootScope","OpenChannelMessage","List","xAlert","$translate","$uibModal",function(a,b,c,d,e,f){return{restrict:"E",scope:{Message:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/openchannel/inbox/message/message.html",link:function(b){b.openContact=function(f){return b.listId?c.save({listId:b.listId,controller:"contacts"}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.phone,type:"contact"})})["catch"](function(a){console.error(a)}):void d.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},b.info=function(a){f.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/message/info.modal.html",controller:"OpenChannelInboxInfoModalCtrl",resolve:{data:function(){return a}}})}}}}]),angular.module("xCallyShuttleApp").directive("openchannelRoom",["OpenChannelReport","$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","OpenChannelAccount","OpenChannelRoom","OpenChannelMessage","xAlert","usSpinnerService","socket","$stateParams","$rootScope",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/openchannel/inbox/room/room.directive.html",link:function(a){a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.panelLeft=null,a.panelRight="col-md-12",a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-6",a.panelRight="col-md-6")},a.form={disabled:!1,from:"",to:a.workspace.data&&a.workspace.data.to?a.workspace.data.to:"",body:""},n.socket.on("openchannel_message:save",function(b){return a.workspace.id&&b.OpenchannelRoomId==a.workspace.id?k.get({id:b.id}).$promise.then(function(b){a.Room||(a.Room={OpenchannelMessages:[]});var c=_.findIndex(a.Room.OpenchannelMessages,{id:b.id});c>-1?_.merge(a.Room.OpenchannelMessages[c],b):a.Room.OpenchannelMessages.unshift(b),a.panelLeft="col-md-6",a.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0}),n.socket.on("openchannel_message:update",function(b){if(a.Room&&b.OpenchannelRoomId==a.workspace.id){var c=_.find(a.Room.OpenchannelMessages,{id:b.id});c&&_.merge(c,b)}}),n.socket.on("openchannel_room:update",function(b){a.Room&&b.id==a.workspace.id&&(a.Room.status=b.status,a.Room.disposition=b.disposition)}),a.closeRoom=function(b){return d.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.status.modal.html",controller:"OpenChannelInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===a.Room.status},accountId:function(){return a.Room.OpenchannelAccountId}}}).result.then(function(a){var c={id:b,status:"CLOSED"};return a.disposition&&(c.disposition=a.disposition),j.update(c).$promise["catch"](function(a){l.show(a.data.message,"danger")})})},a.openRoom=function(a,b){var c=_.find(p.workspaces,{id:a,type:"openchannelRoom"});c?c.active=!0:p.workspaces.push({id:a,name:b,type:"openchannelRoom","class":"icon-globe",active:!0})},f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),i.get().$promise.then(function(b){a.Accounts=b.rows})["catch"](function(a){console.error(a)}),a.workspace.id?(a.panelLeft="col-md-6",a.panelRight="col-md-6",j.get({id:a.workspace.id}).$promise.then(function(b){return a.Room=b,a.form.from=a.Room.OpenchannelAccount.name,a.form.to=a.Room.from,a.form.tags=a.Room.tags,"NEW"==a.Room.status||"UNMANAGED"==a.Room.status?j.update({id:a.Room.id,status:"OPEN"}):void 0}).then(function(b){if(b){var c=[];return c[0]=h.getCurrentUser().id,j.update({id:a.Room.id,controller:"agents",agents:c})}})["catch"](function(a){console.error(a)})["finally"](function(){m.stop("spinner-grid"),a.form.disabled=!1})):m.stop("spinner-grid"),a.onSelect=function(){a.form.body+=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.onSelectAnswer=function(b){a.form.body+=b,a.selectedAnswer=""},a.getAnswers=function(a){return g.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},a.loadAgents=function(){d.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.agents.modal.html",controller:"OpenChannelInboxViewModalAgentCtrl",resolve:{roomId:function(){return a.workspace.id}}})},a.onChanged=function(){return j.patch({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.sendMessage=function(){m.spin("spinner-grid");var b=_.find(a.Accounts,{name:a.form.from}).id;if(b){var d={from:a.form.from,to:a.form.to,body:a.form.body,OpenchannelRoomId:a.Room?a.Room.id:null};return i.save({accountId:b,controller:"send"},d).$promise.then(function(b){return l.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.Room?a.Room:j.get({id:"messages",controller:b.id}).$promise}).then(function(b){b&&(a.form.body="",a.workspace.id=b.id,a.workspace.name=b.from,a.Room=b,a.panelLeft="col-md-6",a.panelRight="col-md-6")})["catch"](function(a){l.error(a)})["finally"](function(){m.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","OpenChannelAccount","OpenChannelRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","uibButtonConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.agents.modal.html",controller:"OpenChannelInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.initView=function(){q.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"openchannel_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"disposition",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-xs green" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.from)"><i class="glyphicon glyphicon-comment" aria-hidden="true"></i></a> <a class="btn btn-xs btn-primary" data-ng-click="grid.appScope.loadAgents(row.entity.id)"><i class="fa fa-user-plus" aria-hidden="true"></i></a> <a class="btn btn-xs btn-danger" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id,row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("openchannel_room:remove",function(b){_.remove(a.workspaces,{id:b.id,type:"openchannelRoom"}),_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)},a.onChanged=function(){a.getPage(a.query)},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/openchannel/inbox/view/view.tags.modal.html",controller:"OpenChannelInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[],a.getPage()})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"openchannelRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"openchannelRoom","class":"icon-globe",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return console.log(c),k["delete"](c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/openchannel/inbox/view/account/list/list.html",controller:"OpenChannelInboxViewAccountListCtrl"})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","OpenChannelRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","OpenChannelRoom","OpenChannelAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){j.get().$promise.then(function(c){var d=null;a.Accounts=c.rows,a.Accounts.length&&(d="/channels/openchannel/inbox/view/account/"+a.Accounts[0].id+"/list"),d&&b.path(d)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.inbox.view",{url:"/view",templateUrl:"app/channels/openchannel/inbox/view/view.html",controller:"OpenChannelInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","OpenChannelAccount","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE"},a.initDisposition=function(){return d.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("OpenChannelInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","OpenChannelRoom","xAlert","id",function(a,b,c,d,e,f,g,h){a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel",{url:"/openchannel",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("OpenChannelReport",["$resource",function(a){return a("/api/report/openchannel/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelRoom",["$resource",function(a){return a("/api/openchannel/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("OpenChannelMessage",["$resource",function(a){return a("/api/openchannel/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueListCtrl",["$scope","OpenChannelQueue","gridOptions","$uibModal","xAlert","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var d={exporterCsvFilename:"openchanel_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/openchannel/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/openchannel/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/openchannel/queue/list/list.create.modal.html",controller:"OpenChannelQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","OpenChannelQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return console.log(a.item),e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.queues.list",{url:"/list",templateUrl:"app/channels/openchannel/queue/list/list.html",controller:"OpenChannelQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("OpenChannelQueue",["$resource",function(a){return a("/api/openchannel/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.queues",{url:"/queues",template:"<div ui-view></div>",data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("OpenChannelQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","OpenChannelQueue","strategies",function(a,b,c,d,e,f,g,h){a.strategies=h;var i=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(b){console.log("sel",b),a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(b){console.log("desel",b),a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,console.log(b.rows),g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){console.log(b),ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasOpenchannelQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.openchannel.queues.view",{url:"/view/:id",templateUrl:"app/channels/openchannel/queue/view/view.html",controller:"OpenChannelQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.openchannel.queues.view.settings",{url:"/settings",templateUrl:"app/channels/openchannel/queue/view/view.settings.html"}).state("main.channels.openchannel.queues.view.agents",{url:"/agents",templateUrl:"app/channels/openchannel/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("ReportOpenChannelSession",["$resource",function(a){return a("/api/report/openchannel/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:12}}})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){return j.spin("spinner-grid"),g.get(p).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&n(),j.stop("spinner-grid")})}function n(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&_.merge(c,b)}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}function o(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}var p={controller:"realtime",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.name}} <{{row.entity.internal}}></div>"},{name:"online",displayName:"APPLICATION_ONLINE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"pauseStatus",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span class="left-margin"><i data-ng-if="row.entity.voicePause || row.entity.mailPause || row.entity.chatPause || row.entity.faxPause || row.entity.smsPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,null)" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i> <i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.id,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i></span><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.id,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select><span data-ng-if="row.entity.voicePause || row.entity.mailPause || row.entity.chatPause || row.entity.faxPause || row.entity.smsPause"> [{{row.entity.pauseType}}]<timer start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000"> [{{hhours}}:{{mminutes}}:{{sseconds}}]</timer></span></div>'},{name:"voicePause",displayName:"APPLICATION_VOICE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.voicePause}"><span class="left-margin"><i data-ng-if="row.entity.voicePause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'voice\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"mailPause",displayName:"APPLICATION_MAIL",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.mailPause}"><span class="left-margin"><i data-ng-if="row.entity.mailPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'mail\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"chatPause",displayName:"APPLICATION_CHAT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.chatPause}"><span class="left-margin"><i data-ng-if="row.entity.chatPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'chat\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"faxPause",displayName:"APPLICATION_FAX",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.faxPause}"><span class="left-margin"><i data-ng-if="row.entity.faxPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'fax\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"smsPause",displayName:"APPLICATION_SMS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online" data-ng-class="{\'paused-agent\':row.entity.smsPause}"><span class="left-margin"><i data-ng-if="row.entity.smsPause" data-ng-click="grid.appScope.pause(row.entity.id,\'unpause\',null,\'sms\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i></span></div>',filter:{type:l.filter.SELECT,selectOptions:[{value:"true",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_NOT_PAUSED")}]},enableSorting:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?p.order=null:p.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){p.offset=(a-1)*b,p.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?p[a.name]=a.filters[0].term:delete p[a.name]}),m()})}},m(!0),o()};var q=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent")}),a.pause=function(b,c,e,g){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:g||"all"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/realtime/view/agent/agent.html",controller:"RealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("RealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.realtime.view",{url:"/view",templateUrl:"app/channels/realtime/view/view.html",controller:"RealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("ReportCall",["$resource",function(a){return a("/api/report/calls/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportDial",["$resource",function(a){return a("/api/report/dials/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsAccount",["$resource",function(a){return a("/api/sms/accounts/:accountId/:controller/:id",{id:"@accountId"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts",{url:"/accounts",template:"<div ui-view></div>",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountListCtrl",["$scope","SmsAccount","gridOptions","$stateParams","xAlert","$translate",function(a,b,c,d,e,f){a.message="Hello",a.initView=function(){var e={exporterCsvFilename:"sms_accounts.csv",columnDefs:[{name:"id",displayName:"ID",cellClass:"text-center",width:75,enableSorting:!1,enableFiltering:!1},{name:"name"},{name:"description"},{name:"type",displayName:"APPLICATION_ACCOUNT_TYPE"},{name:"action",buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.id}}/settings",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,e,a,{accountId:d.accountId})},a.checkAccount=function(a){return b.get({accountId:a,controller:"check"}).$promise.then(function(){e.show(f.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){e.show(f.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.list",{url:"/list",templateUrl:"app/channels/sms/account/list/list.html",controller:"SmsAccountListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions",{url:"/actions",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsApplication",["$resource",function(a){return a("/api/sms/applications/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionListCtrl",["$scope","gridOptions","SmsAccount","$http","$translate","$stateParams","xAlert",function(a,b,c,d,e,f,g){console.log("SmsAccountViewActionListCtrl"),c.get({accountId:f.accountId,controller:"applications"}).$promise.then(function(a){console.log("apps",a)})["catch"](function(a){ +g.show(a.message,"danger")}),a.initActions=function(){var d={draggable:!0,exporterCsvFilename:"sms_applications.csv",enableSorting:!1,enableFiltering:!1,columnDefs:[{name:"app",cellClass:"text-center"},{name:"name",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>{{row.entity.SmsQueue ? row.entity.SmsQueue.name : row.entity.User.name}}</span></div>"},{name:"timeout",cellClass:"text-center"},{name:"interval",cellClass:"text-center"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/sms/accounts/view/{{row.entity.SmsAccountId}}/actions/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.app, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a,{accountId:f.accountId,controller:"applications"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions.list",{url:"/list",templateUrl:"app/channels/sms/account/view/action/list/list.html",controller:"SmsAccountViewActionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionViewCtrl",["$scope","$http","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","Agent","Interval","SmsQueue","SmsAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initAction=function(){a.$application=i.application,a.$stateParams=c,a.$interval=j.interval,a.forms={},a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],b.get("/api/sms/applications/"+c.actionId).success(function(b){if(a.application=b,a.application.alwaysTime=!1,a.application.IntervalId)a.application.intType="list";else switch(a.application.interval){case"*,*,*,*":a.application.intType="always";break;default:a.application.intType="custom"}var c=a.application.interval.split(",");"*"===c[0]?a.application.alwaysTime=!0:(a.application.t_from=moment(new Date),a.application.t_to=moment(new Date),a.application.t_from.hour(c[0].split("-")[0].split(":")[0]),a.application.t_from.minute(c[0].split("-")[0].split(":")[1]),a.application.t_to.hour(c[0].split("-")[1].split(":")[0]),a.application.t_to.minute(c[0].split("-")[1].split(":")[1])),"*"===c[1]?(a.application.wd_from="always",a.application.wd_to="always"):(a.application.wd_from=c[1].split("-")[0],a.application.wd_to=c[1].split("-")[1]),"*"===c[2]?(a.application.md_from="always",a.application.md_to="always"):(a.application.md_from=c[2].split("-")[0],a.application.md_to=c[2].split("-")[1]),"*"===c[3]?(a.application.m_from="always",a.application.m_to="always"):(a.application.m_from=c[3].split("-")[0],a.application.m_to=c[3].split("-")[1]),a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})}).error(function(a){console.error(a)})},a.getQueues=function(){return m.get().$promise.then(function(b){a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return k.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return l.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.getSmsAccounts=function(){return n.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)})},a.updateItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(j[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?j[1]="*":j[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?j[2]="*":j[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?j[3]="*":j[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=j.join(","),delete a.application.IntervalId}return n.update({accountId:c.accountId,controller:"applications",id:c.actionId},a.application).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success"),e.path("/channels/sms/accounts/view/"+c.accountId+"/actions/list")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions.view",{url:"/view/:actionId",templateUrl:"app/channels/sms/account/view/action/view/view.html",controller:"SmsAccountViewActionViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewActionWizardCtrl",["$scope","$http","Agent","SmsQueue","Interval","$stateParams","$translate","$location","xAlert","WizardHandler","socket","application","interval","SmsAccount","Template","MailAccount",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.apps=[{name:"Queue",value:"queue"},{name:"Agent",value:"agent"},{name:"SendMail",value:"sendMail"},{name:"SendSMS",value:"sendSms"}],a.$application=l.application,a.$stateParams=f,a.$interval=m.interval,a.forms={},a.application={alwaysTime:!0},a.$watch("application.t_from",function(b){a.application.t_from_hm=moment(b).format("HH:mm")}),a.$watch("application.t_to",function(b){a.application.t_to_hm=moment(b).format("HH:mm")})},a.getQueues=function(){return d.get().$promise.then(function(b){console.log(b),a.queues=b.rows})["catch"](function(a){console.error(a)})},a.getAgents=function(){return c.get().$promise.then(function(b){a.agents=b.rows})["catch"](function(a){console.error(a)})},a.getIntervals=function(){return e.get().$promise.then(function(b){a.intervals=b.rows})["catch"](function(a){console.error(a)})},a.getTemplates=function(){return o.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.getMailAccounts=function(){return p.get().$promise.then(function(b){a.mailAccounts=b.rows})["catch"](function(a){console.error(a)})},a.getSmsAccounts=function(){return n.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)})},a.createItem=function(){switch(a.application.intType){case"always":a.application.interval="*,*,*,*",delete a.application.IntervalId;break;case"custom":a.application.alwaysTime||(m[0]=a.application.alwaysTime?"*":a.application.t_from_hm+"-"+a.application.t_to_hm),a.application.wd_from&&a.application.wd_to&&"always"===a.application.wd_from&&"always"===a.application.wd_to?m[1]="*":m[1]=a.application.wd_from&&a.application.wd_to?a.application.wd_from+"-"+a.application.wd_to:"*",a.application.md_from&&a.application.md_to&&"always"===a.application.md_from&&"always"===a.application.md_to?m[2]="*":m[2]=a.application.md_from&&a.application.md_to?a.application.md_from+"-"+a.application.md_to:"*",a.application.m_from&&a.application.m_to&&"always"===a.application.m_from&&"always"===a.application.m_to?m[3]="*":m[3]=a.application.m_from&&a.application.m_to?a.application.m_from+"-"+a.application.m_to:"*",a.application.interval=m.join(","),delete a.application.IntervalId}return n.save({accountId:f.accountId,controller:"applications"},a.application).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success"),h.path("/channels/sms/accounts/view/"+f.accountId+"/actions/list")})["catch"](function(a){i.error(a)})},a.formValidation=function(a){return a},a.next=function(){j.wizard().next()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.actions.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/view/action/wizard/wizard.html",controller:"SmsAccountViewActionWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountApiViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert",function(a,b,c,d,e,f,g,h){a.copyToClipboard=function(a){e.copyText(a),h.show(f.instant("MESSAGE_TEXT_COPIED_CLIPBOARD")+"!","success")},a.initView=function(){b.get({id:d.accountId}).$promise.then(function(b){a.account=b,a.deliveryurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/messageStatus",a.receiveurl=a.account.remote+"/api/sms/accounts/"+a.account.id+"/receive"})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.api",{url:"/api",controller:"SmsAccountApiViewCtrl",templateUrl:"app/channels/sms/account/view/api/view/view.html"})}]),angular.module("xCallyShuttleApp").factory("SmsDisposition",["$resource",function(a){return a("/api/sms/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModaDispositionAddCtrl",["$scope","$uibModalInstance","SmsAccount","id",function(a,b,c,d){a.ok=function(){return c.save({accountId:d,controller:"dispositions"},{name:a.name}).$promise.then(function(a){b.close(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsAccountDispositionViewCtrl",["$scope","$stateParams","$uibModal","$translate","SmsAccount","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get({accountId:b.accountId,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,c){return e.update({accountId:b.accountId,controller:"dispositions",id:a},{name:c}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(c){return console.log("delete"),e.remove({accountId:b.accountId,controller:"dispositions",id:c}).$promise.then(function(){_.remove(a.dispositions,{id:c})})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/sms/account/view/disposition/modal/add.modal.html",controller:"SmsInboxViewModaDispositionAddCtrl",resolve:{id:function(){return b.accountId}}}).result.then(function(b){b&&a.dispositions.push(b)})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.dispositions",{url:"/dispositions",controller:"SmsAccountDispositionViewCtrl",templateUrl:"app/channels/sms/account/view/disposition/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountHooksViewCtrl",["$scope","SmsAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i,j){a.types=[{value:"",name:"-- None --"},{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.actions=[{value:"",name:"-- None --"},{name:"Pause",value:"pause"}],a.account={},a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.initView=function(){c.get().$promise.then(function(b){a.pauses=b.rows})["catch"](function(a){i.error(a)}),b.get({id:e.accountId}).$promise.then(function(b){a.account=b,a.account.actions.length<1&&a.account.actions.push({action:"pause",enabled:!1})})["catch"](function(a){i.show(a.message,"danger")})},a.resetActionData=function(a){a.type=null},a.updateItemSmsAccount=function(){return console.log(a.account),b.update({id:e.accountId},a.account).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.hooks",{url:"/hooks",controller:"SmsAccountHooksViewCtrl",templateUrl:"app/channels/sms/account/view/hooks/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountSettingViewCtrl",["$scope","SmsAccount","Pause","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i,j){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],a.account={},a.initView=function(){j.get().$promise.then(function(b){a.lists=b.rows})["catch"](function(a){console.error(a)}),b.get({id:e.accountId}).$promise.then(function(b){a.account=b})["catch"](function(a){i.show(a.message,"danger")})},a.updateItemSmsAccount=function(){return b.update({id:e.accountId},a.account).$promise.then(function(){i.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view.settings",{url:"/settings",controller:"SmsAccountSettingViewCtrl",templateUrl:"app/channels/sms/account/view/setting/view/view.html"})}]),angular.module("xCallyShuttleApp").controller("SmsAccountViewCtrl",["$scope","SmsAccount","$http","$stateParams","clipboard","$translate","$location","xAlert","List",function(a,b,c,d,e,f,g,h,i){a.initView=function(){return a.account={},b.get({id:d.accountId}).$promise.then(function(b){a.account=b,console.log(b)})["catch"](function(a){h.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.view",{url:"/view/:accountId",templateUrl:"app/channels/sms/account/view/view.html",controller:"SmsAccountViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}})}]),angular.module("xCallyShuttleApp").controller("SmsAccountWizardCtrl",["$scope","$http","$location","$translate","WizardHandler","xAlert","SmsAccount",function(a,b,c,d,e,f,g){a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initWizard=function(){a.forms={},a.item={}},a.goNext=function(){e.wizard().next()},a.formValidation=function(a){return a},a.createItem=function(){return console.log(a.item),g.save(a.item).$promise.then(function(){c.path("/channels/sms/accounts/list")})["catch"](function(a){f.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.accounts.wizard",{url:"/wizard",templateUrl:"app/channels/sms/account/wizard/wizard.html",controller:"SmsAccountWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox",{url:"/inbox",template:"<div ui-view></div>",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").directive("smsRoom",["$cookieStore","$translate","$uibModal","$timeout","Tag","CannedAnswer","Auth","SmsAccount","SmsRoom","SmsMessage","xAlert","usSpinnerService","socket","$stateParams","$rootScope",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/channels/sms/inbox/room/room.directive.html",link:function(a){a.modelOptions={debounce:{"default":500,blur:250},getterSetter:!0},a.panelLeft=null,a.panelRight="col-md-12",a.togglePanelLeft=function(){a.panelLeft?(a.panelLeft=null,a.panelRight="col-md-12"):(a.panelLeft="col-md-6",a.panelRight="col-md-6")},a.form={disabled:!1,from:"",to:a.workspace.data&&a.workspace.data.to?a.workspace.data.to:"",body:""},m.socket.on("sms_message:save",function(b){return a.workspace.id&&b.SmsRoomId==a.workspace.id?j.get({id:b.id}).$promise.then(function(b){a.SmsRoom||(a.SmsRoom={SmsMessages:[]});var c=_.findIndex(a.SmsRoom.SmsMessages,{id:b.id});c>-1?_.merge(a.SmsRoom.SmsMessages[c],b):a.SmsRoom.SmsMessages.unshift(b),a.panelLeft="col-md-6",a.panelRight="col-md-6"})["catch"](function(a){console.error(a)}):void 0}),m.socket.on("sms_message:update",function(b){if(console.log("sms_message:update",b),a.SmsRoom&&b.SmsRoomId==a.workspace.id){var c=_.find(a.SmsRoom.SmsMessages,{id:b.id});c&&_.merge(c,b)}}),m.socket.on("sms_room:update",function(b){a.SmsRoom&&b.id==a.workspace.id&&(a.SmsRoom.status=b.status,a.SmsRoom.disposition=b.disposition)}),a.closeRoom=function(b){return c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.status.modal.html",controller:"SmsInboxViewModalStatusCtrl",resolve:{closed:function(){return"CLOSED"===a.SmsRoom.status},accountId:function(){return a.SmsRoom.SmsAccountId}}}).result.then(function(a){var c={id:b,status:"CLOSED"};return a.disposition&&(c.disposition=a.disposition),i.update(c).$promise["catch"](function(a){k.show(a.data.message,"danger")})})},a.openRoom=function(a,b){var c=_.find(o.workspaces,{id:a,type:"smsRoom"});c?c.active=!0:o.workspaces.push({id:a,name:b,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),h.get().$promise.then(function(b){a.smsAccounts=b.rows})["catch"](function(a){console.error(a)}),a.workspace.id?(a.panelLeft="col-md-6",a.panelRight="col-md-6",i.get({id:a.workspace.id}).$promise.then(function(b){return a.SmsRoom=b,a.form.from=a.SmsRoom.SmsAccount.phone,a.form.to=a.SmsRoom.from,a.form.tags=a.SmsRoom.tags,"NEW"==a.SmsRoom.status||"UNMANAGED"==a.SmsRoom.status?i.update({id:a.SmsRoom.id,status:"OPEN"}):void 0}).then(function(b){if(b){var c=[];return c[0]=g.getCurrentUser().id,i.update({id:a.SmsRoom.id,controller:"agents",agents:c})}})["catch"](function(a){console.error(a)})["finally"](function(){l.stop("spinner-grid"),a.form.disabled=!1})):l.stop("spinner-grid"),a.onSelect=function(){a.form.body+=a.modelOptions.selectedAnswer,delete a.modelOptions.selectedAnswer},a.onSelectAnswer=function(b){a.form.body+=b,a.selectedAnswer=""},a.getAnswers=function(a){return f.get({key:a}).$promise.then(function(a){return _.map(a.rows,"value")})},a.loadAgents=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:function(){return a.workspace.id}}})},a.onChanged=function(){return i.patch({id:a.workspace.id},{tags:a.form.tags}).$promise["catch"](function(a){console.error(a)})},a.sendSMS=function(){l.spin("spinner-grid");var c=_.find(a.smsAccounts,{phone:a.form.from}).id;if(c){var d={from:a.form.from,to:a.form.to,body:a.form.body,SmsRoomId:a.SmsRoom?a.SmsRoom.id:null};return h.save({accountId:c,controller:"send"},d).$promise.then(function(c){return k.show(b.instant("MESSAGE_WELL_DONE"),"success"),a.SmsRoom?a.SmsRoom:i.get({id:"messages",controller:c.id}).$promise}).then(function(b){console.log(b),b&&(a.form.body="",a.workspace.id=b.id,a.workspace.name=b.from,a.SmsRoom=b,a.panelLeft="col-md-6",a.panelRight="col-md-6")})["catch"](function(a){k.error(a)})["finally"](function(){l.stop("spinner-grid")})}}}}}]),angular.module("xCallyShuttleApp").controller("SmsInboxInfoModalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","xAlert","data","uniqueId","ReportSquare",function(a,b,c,d,e,f,g,h){a.data=null,a.initInfo=function(){f&&(a.data=_.isEmpty(JSON.parse(f))?null:JSON.parse(f)),g&&h.get({controller:"show",uniqueid:g}).$promise.then(function(b){a.data={id:b.id,channel:b.channel,uniqueid:b.uniqueid,callerid:b.callerid,calleridname:b.calleridname,project_name:b.project_name,extension:b.extension}})["catch"](function(b){switch(b.status){case 404:a.data=null;break;default:e.error(b)}})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").directive("sms",["$rootScope","SmsMessage","List","xAlert","$translate","$uibModal",function(a,b,c,d,e,f){return{restrict:"E",scope:{smsMessage:"=message",accounttype:"=accounttype",listId:"="},templateUrl:"app/channels/sms/inbox/sms/sms.html",link:function(b){b.openContact=function(f){return b.listId?c.save({listId:b.listId,controller:"contacts"},{mobile:f}).$promise.then(function(b){var c=_.find(a.$root.workspaces,{contactID:b.id});c?c.active=!0:a.$root.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.phone,type:"contact"})})["catch"](function(a){console.error(a)}):void d.show(e.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")},b.info=function(a,b){f.open({animation:!0,templateUrl:"app/channels/sms/inbox/sms/info.modal.html",controller:"SmsInboxInfoModalCtrl",resolve:{data:function(){return b},uniqueId:function(){return a}}})}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account",{url:"/account/:id",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewAccountListCtrl",["$scope","$rootScope","$uibModal","$translate","$stateParams","$state","Tag","usSpinnerService","socket","SmsAccount","SmsRoom","gridOptions","uiGridConstants","Auth","Modal","xAlert","uibButtonConfig",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q){a.loadAgents=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.agents.modal.html",controller:"SmsInboxViewModalAgentCtrl",resolve:{roomId:a}})},a.initView=function(){q.activeClass="green-haze",a.id=[],a.isAdmin=n.isAdmin(),a.isAgent=n.isAgent(),a.uncheckable=!1,a.query={status:"UNMANAGED",tags:[]},a.$watch("query.status",function(){a.getPage(a.query)},!0),g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)}),a.gridOptions={exporterCsvFilename:"sms_rooms.csv",enableRowHeaderSelection:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!1,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,enableSelectAll:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,columnDefs:[{name:"tags",displayName:"",headerCellTemplate:'<i class="icon-tag" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.tags.length ? 'icon-tag' : ''\" title=\"{{row.entity.tags}}\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"voiceSource",displayName:"",headerCellTemplate:'<i class="fa fa-superscript" style="margin-top: 8px; margin-left: 8px;"></i>',cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"row.entity.voiceSource ? 'fa fa-superscript' : ''\"></i></div>",width:30,enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"id",displayName:"Id",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><span>#{{row.entity.id}}</span></div>",width:75,enableSorting:!1,enableFiltering:!0,enableColumnMenu:!1},{name:"from",cellClass:"text-center"},{name:"disposition",cellClass:"text-center"},{name:"updatedAt",cellFilter:"date:'MM/dd/yyyy HH:mm'",width:120,enableSorting:!1,enableFiltering:!1,sort:{direction:m.DESC}},{name:"action",cellTemplate:'<div> <a class="btn btn-xs green" data-ng-click="grid.appScope.openRoom(row.entity.id, row.entity.from)"><i class="glyphicon glyphicon-comment" aria-hidden="true"></i></a> <a class="btn btn-xs btn-primary" data-ng-click="grid.appScope.loadAgents(row.entity.id)"><i class="fa fa-user-plus" aria-hidden="true"></i></a> <a class="btn btn-xs btn-danger" data-ng-show="grid.appScope.isAdmin" data-ng-click="grid.appScope.deleteItem(row.entity.id,row.entity.id)"><i class="fa fa-trash" aria-hidden="true"></i> </div>',enableSorting:!1,cellClass:"ui-grid-vcenter",width:90,enableFiltering:!1,enableColumnMenu:!1}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.selection&&(a.gridApi.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.id.push(a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id):_.pull(a.id,a.gridApi.grid.options.primaryKey?b.entity[a.gridApi.grid.options.primaryKey]:b.entity.id)}),a.gridApi.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.id=_.union(a.id,_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id")):_.map(b,a.gridApi.grid.options.primaryKey?"entity."+a.gridApi.grid.options.primaryKey:"entity.id").forEach(function(b){_.pull(a.id,b)})}))}},i.socket.on("sms_room:remove",function(b){_.remove(a.workspaces,{id:b.id,type:"smsRoom"}),_.remove(a.gridOptions.data,{id:b.id})}),a.getPage(a.query)},a.onChanged=function(){a.getPage(a.query)},a.tagItems=function(){c.open({animation:!0,templateUrl:"app/channels/sms/inbox/view/view.tags.modal.html",controller:"SmsInboxViewModalTagCtrl",resolve:{id:function(){return a.id}}}).result.then(function(){a.gridApi.selection.clearSelectedRows(),a.id=[],a.getPage()})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:"smsRoom"});d?d.active=!0:a.workspaces.push({id:b,name:c,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})},a.getPage=function(b){h.spin("spinner-grid");var c={accountId:e.id,controller:"rooms"};return b&&_.merge(c,b),a.query&&_.merge(c,a.query),j.query(c).$promise.then(function(b){a.gridOptions.data=b})["catch"](function(a){console.error(a)})["finally"](function(){h.stop("spinner-grid")})},a.deleteItem=o.confirm["delete"](function(b){var c={id:b};return console.log(c),k["delete"](c).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})}),a.deleteItems=o.confirm["delete"](function(){var b={ids:a.id};return k["delete"](b).$promise.then(function(){a.getPage(),p.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),a.gridApi.selection.clearSelectedRows(),a.id=[]})["catch"](function(a){p.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view.account.list",{url:"/list",templateUrl:"app/channels/sms/inbox/view/account/list/list.html",controller:"SmsInboxViewAccountListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalAgentCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Agent","SmsRoom","xAlert","roomId",function(a,b,c,d,e,f,g,h){a.initModal=function(){a.agents=[],a.item={agents:[]},e.get().$promise.then(function(b){b.rows.forEach(function(b){a.agents.push(b)})})["catch"](function(a){console.error(a)}),f.query({id:h,controller:"agents"}).$promise.then(function(b){b.forEach(function(b){a.agents.push(b),a.item.agents.push(b.id)})})["catch"](function(a){console.error(a)}),a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{classes:"btn btn-success",text:"APPLICATION_RETRY",click:function(a){b.close(a)}},{classes:"btn default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]}},a.ok=function(){return f.update({id:h,controller:"agents",agents:a.item.agents}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close()})["catch"](function(a){console.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewCtrl",["$scope","$location","$stateParams","$translate","$uibModal","socket","Auth","xAlert","SmsRoom","SmsAccount",function(a,b,c,d,e,f,g,h,i,j){a.initView=function(){j.get().$promise.then(function(c){var d=null;a.smsAccounts=c.rows,a.smsAccounts.length&&(d="/channels/sms/inbox/view/account/"+a.smsAccounts[0].id+"/list"),d&&b.path(d)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.inbox.view",{url:"/view",templateUrl:"app/channels/sms/inbox/view/view.html",controller:"SmsInboxViewCtrl",reload:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/inbox.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalStatusCtrl",["$scope","$uibModalInstance","closed","SmsAccount","accountId",function(a,b,c,d,e){a.modal={title:"APPLICATION_CONFIRM_CLOSE",text:"MESSAGE_ARE_YOU_SURE_YOU_WANT_TO_CLOSE_THE_SMS"},a.initDisposition=function(){return d.get({accountId:e,controller:"dispositions"}).$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.closed=c,a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTagCtrl",["$scope","$uibModalInstance","$translate","$stateParams","Tag","SmsRoom","xAlert","id",function(a,b,c,d,e,f,g,h){console.log(h),a.initModal=function(){return a.tags=[],a.item={tags:[]},a.modal={dismissable:!0,title:"APPLICATION_MESSAGE_SEND_RETRY",text:"MESSAGE_MESSAGE_SEND_RETRY",buttons:[{"class":"btn-success",text:"APPLICATION_TAG",click:function(){var d={status:!0};return f.patch({id:h},{tags:a.item.tags}).$promise.then(function(){g.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(){d.status=!1,g.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})["finally"](function(){b.close(d)})}},{"class":"default",text:"APPLICATION_CANCEL",click:function(a){b.dismiss(a)}}]},e.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("SmsInboxViewModalTemplateCtrl",["$scope","$uibModalInstance","Template",function(a,b,c){a.initModal=function(){return a.item={},c.get().$promise.then(function(b){a.templates=b.rows})["catch"](function(a){console.error(a)})},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCtrl",["$scope","SmsQueue","gridOptions","$uibModal","xAlert","Auth",function(a,b,c,d,e,f){a.initView=function(){a.Auth=f;var d={exporterCsvFilename:"voice_queues.csv",columnDefs:[{name:"name"},{name:"description"},{name:"timeout"},{name:"strategy"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/sms/queues/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/sms/queues/view/{{row.entity.id}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/sms/queue/list/list.create.modal.html",controller:"SmsQueueListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage(); +})}}]),angular.module("xCallyShuttleApp").controller("SmsQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","SmsQueue","strategies",function(a,b,c,d,e,f){a.form={},a.item={},a.strategies=f,a.save=function(){return console.log(a.item),e.save(a.item).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.list",{url:"/list",templateUrl:"app/channels/sms/queue/list/list.html",controller:"SmsQueueListCtrl"})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues",{url:"/queues",template:"<div ui-view></div>",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsQueueViewCtrl",["$scope","$http","$translate","$stateParams","xAlert","Team","SmsQueue","strategies",function(a,b,c,d,e,f,g,h){a.strategies=h;var i=function(){return{select:function(b){return g.save({id:a.queue.id,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(b){console.log("sel",b),a.getTeams()})["catch"](function(a){console.error(a)})},deselect:function(b){return g["delete"]({id:a.queue.id,controller:"agents",agents:b}).$promise.then(function(b){console.log("desel",b),a.getTeams()})["catch"](function(a){console.error(a)})}}};a.getQueue=function(){return g.get({id:d.id}).$promise.then(function(b){b.penalty=0,a.queue=b})["catch"](function(a){console.error(a)})},a.updateSmsQueue=function(){return g.update({id:d.id},{name:a.queue.name,description:a.queue.description,timeout:a.queue.timeout,strategy:a.queue.strategy}).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getTeams=function(){return f.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,console.log(b.rows),g.get({id:d.id,controller:"agents"}).$promise}).then(function(b){console.log(b),ComponentsDropdowns.bindSmsQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasSmsQueue.penalty}}),i)})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.queues.view",{url:"/view/:id",templateUrl:"app/channels/sms/queue/view/view.html",controller:"SmsQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.sms.queues.view.settings",{url:"/settings",templateUrl:"app/channels/sms/queue/view/view.settings.html"}).state("main.channels.sms.queues.view.agents",{url:"/agents",templateUrl:"app/channels/sms/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","SmsQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){return k.spin("spinner-grid"),g.get(s).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){p(a)})})["catch"](function(a){f.error(a)})["finally"](function(){k.stop("spinner-grid")})}function o(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.smsPause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_sms_queue:save",function(b){console.log("new queue",b);var c=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),d=a.gridOptions.data.indexOf(c);a.gridOptions.data.splice(d+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,queueId:b.SmsQueueId,agent:b.membername,online:c.online})}),e.socket.on("user_has_sms_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queueId:b.SmsQueueId})})}function p(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.smsPause,pauseType:b.pauseType,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.SmsQueues.forEach(function(c){a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,queueId:c.id,agent:b.name,online:b.online})})}function q(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.error(a)})}function r(){return j.get().$promise.then(function(b){a.smsQueues=b.rows,e.syncUpdates("sms_queue",a.smsQueues)})["catch"](function(a){f.error(a)})}a.smsQueues=[];var s={controller:"realtime",controller1:"sms",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"smsPause",displayName:"APPLICATION_PAUSE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.pause != null && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor left-margin" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select> <span data-ng-if="row.entity.pause" class="left-margin">({{row.entity.pauseType}})</span><span class="left-margin"><timer data-ng-if="row.entity.pause" start-time="grid.appScope.moment(row.entity.lastPauseAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"PAUSED"},{value:"false",label:"NOT PAUSED"}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queueId" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queueId)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.smsQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){t(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?s.order=null:s.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),n()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){s.offset=(a-1)*b,s.limit=b,n()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?s[a.name]=a.filters[0].term:delete s[a.name]}),n()})}},n(),q(),r(),o()};var t=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_sms_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/queue.modal.add.html",controller:"SmsRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.smsQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(b){return i.save({name:"QueueAdd",agent:e,queues:_.filter(a.smsQueues,function(a){return _.includes(b.queues,a.id)}),channel:"sms",data1:e,data3:b.queues.join(","),data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queueId:b,channel:"sms",data1:a,data3:b,data4:"sms"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/sms/realtime/view/agent/agent.modal.info.html",controller:"SmsRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/sms/realtime/view/agent/agent.html",controller:"SmsRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","$http","agent",function(a,b,c,d){a.agent=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewApplicationCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSmsSession","usSpinnerService","$q","uiGridConstants","$timeout",function(a,b,c,d,e,f,g,h,i,j,k){function l(){return h.spin("spinner-grid"),g.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){m(),h.stop("spinner-grid")})}function m(){e.socket.on("report_sms_session:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&k(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4)):b.leaveAt||a.gridOptions.data.push(b)}),e.socket.on("report_sms_session:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}a.moment=moment,a.initApplications=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span> <span data-ng-if="!leaveAt">[<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)})}},l()};var n=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_sms_session")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view.applications",{url:"/applications",templateUrl:"app/channels/sms/realtime/view/application/application.html",controller:"SmsRealtimeViewApplicationCtrl"})}]),angular.module("xCallyShuttleApp").controller("SmsRealtimeViewCtrl",["$scope","$state",function(a,b){a.agents=[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],a.sessions=[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}],a.tree={queues:[{name:"Queues",link:"main.channels.sms.realtime.view.agents.queues"},{name:"Timeline",link:"main.channels.sms.realtime.view.agents.timeline"}],sessions:[{name:"Sessions",link:"main.channels.sms.realtime.view.sessions"}]}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms.realtime.view",{url:"/view",templateUrl:"app/channels/sms/realtime/view/view.html",controller:"SmsRealtimeViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("ReportSmsSession",["$resource",function(a){return a("/api/report/sms/sessions/:id/:controller/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.sms",{url:"/sms",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SmsQueue",["$resource",function(a){return a("/api/sms/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsReport",["$resource",function(a){return a("/api/report/sms/:id/:controller1/:controller2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsMessage",["$resource",function(a){return a("/api/sms/messages/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SmsRoom",["$resource",function(a){return a("/api/sms/rooms/:id/:controller",{id:"@id",controller:"@controller"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").factory("ChanSpy",["$resource",function(a){return a("/api/chanspy/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy",{url:"/chanspy",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCtrl",["$scope","$uibModal","ChanSpy","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"chanspy.csv",columnDefs:[{name:"name"},{name:"prefix"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/channels/voice/chanspy/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/channels/voice/chanspy/list/list.create.modal.html",controller:"ChanSpyListCreateCtrl"});c.result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ChanSpyListCreateCtrl",["$scope","$translate","$uibModalInstance","ChanSpy","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.save=function(){return a.item.options=a.item.options.join(""),d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.list",{url:"/list",templateUrl:"app/channels/voice/chanspy/list/list.html",controller:"ChanSpyListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ChanSpyViewCtrl",["$scope","$translate","$stateParams","xAlert","ChanSpy",function(a,b,c,d,e){a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.options=[{name:"APPLICATION_CHANSPY_OPTION_b",value:"b"},{name:"APPLICATION_CHANSPY_OPTION_B",value:"B"},{name:"APPLICATION_CHANSPY_OPTION_E",value:"E"},{name:"APPLICATION_CHANSPY_OPTION_o",value:"o"},{name:"APPLICATION_CHANSPY_OPTION_q",value:"q"},{name:"APPLICATION_CHANSPY_OPTION_s",value:"s"},{name:"APPLICATION_CHANSPY_OPTION_S",value:"S"},{name:"APPLICATION_CHANSPY_OPTION_w",value:"w"},{name:"APPLICATION_CHANSPY_OPTION_W",value:"W"}],a.getChanSpy=function(){return e.get({id:c.id}).$promise.then(function(b){b.options=b.options.split(""),a.chanspy=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateChanSpy=function(){var f=angular.copy(a.chanspy);return f.options=f.options.join(""),e.update({id:c.id},f).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.chanspy.view",{url:"/view/:id",templateUrl:"app/channels/voice/chanspy/view/view.html",controller:"ChanSpyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.chanspy.view.settings",{url:"/settings",templateUrl:"app/channels/voice/chanspy/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceContext",["$resource",function(a){return a("/api/voice/contexts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts",{url:"/contexts",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceContextListCtrl",["$scope","VoiceContext","gridOptions","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:170,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/channels/voice/contexts/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){var c=d.open({animation:!0,templateUrl:"app/channels/voice/context/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});c.result.then(function(c){return b.save(c).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.list",{url:"/list",templateUrl:"app/channels/voice/context/list/list.html",controller:"VoiceContextListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceContextViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.getContext=function(){b.get("/api/voice/contexts/"+e.id).success(function(b){a.context=b}).error(function(a){console.error(a),f.path("/voice/contexts/list")})},a.updateVoiceContext=function(){var f=angular.copy(a.context);b.put("/api/voice/contexts/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.context=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.contexts.view",{url:"/view/:id",templateUrl:"app/channels/voice/context/view/view.html",controller:"VoiceContextViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.contexts.view.settings",{url:"/settings",templateUrl:"app/channels/voice/context/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.dispositions",{url:"/dispositions",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListCtrl",["$scope","$stateParams","$uibModal","$translate","VoiceDisposition","xAlert",function(a,b,c,d,e,f){a.initView=function(){return e.get().$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.updateDisposition=function(a,b){return e.update({id:a},{name:b}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.deleteDisposition=function(b){return e.remove({id:b}).$promise.then(function(){_.remove(a.dispositions,{id:b}),f.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){console.error(a),f.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addDisposition=function(){return c.open({animation:!0,templateUrl:"app/channels/voice/disposition/list/modal/add.modal.html",controller:"VoiceDispositionListModalDispositionAddCtrl"}).result.then(function(b){b&&(a.dispositions.push(b),f.show(d.instant("MESSAGE_WELL_DONE")+"!","success"))})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.dispositions.list",{url:"/list",templateUrl:"app/channels/voice/disposition/list/list.html",controller:"VoiceDispositionListCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceDispositionListModalDispositionAddCtrl",["$scope","$uibModalInstance","VoiceDisposition","xAlert","$translate",function(a,b,c,d,e){a.ok=function(){return c.save({name:a.name}).$promise.then(function(a){b.close(a)})["catch"](function(a){d.show(e.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").factory("VoiceDisposition",["$resource",function(a){return a("/api/voice/dispositions/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohListCtrl",["$scope","gridOptions","VoiceMoh","$uibModal","xAlert","$translate",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"voice_mohs.csv",columnDefs:[{name:"name"},{name:"directory"},{name:"sort"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/mohs/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(){var b=d.open({animation:!0,templateUrl:"app/channels/voice/moh/list/create.modal.html",controller:["$scope","$uibModalInstance",function(a,b){a.form={},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]});b.result.then(function(b){return c.save(b).$promise.then(function(){a.gridOptions.getPage(),e.show(f.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.list",{url:"/list",templateUrl:"app/channels/voice/moh/list/list.html",controller:"VoiceMohListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceMoh",["$resource",function(a){return a("/api/voice/musiconholds/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs",{url:"/mohs",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceMohViewCtrl",["$scope","$http","xAlert","$translate","VoiceMoh","$stateParams","socket","Modal","$sce","$location","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.$translate=d,a.audioSources={},a.sortOptions=[{value:"random",name:"APPLICATION_RANDOM"},{value:"alpha",name:"APPLICATION_ALPHABETICAL"}],a.getMoh=function(){return e.get({id:f.id}).$promise.then(function(b){delete b.stamp,a.moh=b})["catch"](function(a){c.show(a.message,"danger")})},a.updateVoiceMoh=function(){return console.log("update"),e.update({id:f.id},a.moh).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.message,"danger")})},a.addMohs=function(){return e.save({id:f.id,controller:"files"},a.item).$promise.then(function(){j.path("/channels/voice/mohs/view/"+f.id+"/audios")})["catch"](function(a){c.show(a.message,"danger")})},a.getAudioFiles=function(){return e.get({id:f.id,controller:"files"}).$promise.then(function(b){a.audioFiles=b.files,a.mohPath=b.path,a.audioFiles.forEach(function(a){l(a)})})["catch"](function(a){c.show(a.message,"danger")})},a.getSecureSrc=function(a){return i.trustAsResourceUrl(a)},a.getSounds=function(){return a.item={sounds:[]},k.get().$promise.then(function(b){a.soundList=b.rows})["catch"](function(a){c.show(a.message,"danger")})};var l=function(c){b.get("/api/voice/musiconholds/stream",{params:{path:encodeURI(a.mohPath+"/"+c)}}).success(function(b){a.audioSources[c]="data:audio/ogg;base64,"+b}).error(function(a){console.error(a)})};a.deleteItem=h.confirm["delete"](function(e){b["delete"]("/api/voice/musiconholds/"+f.id+"/files",{params:{filename:e}}).success(function(){_.remove(a.audioFiles,function(a){return a===e}),c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){c.show(a.message,"danger")})})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.mohs.view",{url:"/view/:id",templateUrl:"app/channels/voice/moh/view/view.html",controller:"VoiceMohViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.mohs.view.settings",{url:"/settings",templateUrl:"app/channels/voice/moh/view/view.settings.html"}).state("main.channels.voice.mohs.view.audios",{url:"/audios",templateUrl:"app/channels/voice/moh/view/view.audios.html",cache:!1}).state("main.channels.voice.mohs.view.add",{url:"/add",templateUrl:"app/channels/voice/moh/view/view.addFiles.html",cache:!1})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCtrl",["$scope","$rootScope","$uibModal","VoiceQueue","gridOptions","Auth",function(a,b,c,d,e,f){a.initView=function(){ +a.Auth=f;var b={exporterCsvFilename:"voice_queues.csv",primaryKey:"name",columnDefs:[{name:"name"},{name:"strategy"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/channels/voice/queues/view/{{row.entity.name}}/settings",name:"settings"},{"class":"green-meadow",href:"/channels/voice/queues/view/{{row.entity.name}}/agents",name:"agents",hide:"user"===f.getCurrentUser().role},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/channels/voice/queue/list/list.create.modal.html",controller:"VoiceQueueListCreateCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VoiceQueueListCreateCtrl",["$scope","$uibModalInstance","$translate","xAlert","VoiceQueue",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return e.save(a.item).$promise.then(function(a){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),b.close(a)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.list",{url:"/list",templateUrl:"app/channels/voice/queue/list/list.html",controller:"VoiceQueueListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues",{url:"/queues",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").factory("ReportQueue",["$resource",function(a){return a("/api/report/queues/:id/:controller/:controller2",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceQueueViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","VoiceQueue","VoiceContext","Team","Auth",function(a,b,c,d,e,f,g,h,i,j,k){a.penalty=0,a.Auth=k,a.binaryChoices=[{name:"Yes",value:1},{name:"No",value:0}],a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.monitorFormats=[{name:"wav",value:"wav"},{name:"gsm",value:"gsm"},{name:"Inactive",value:""}],a.queueAnnounces=[{display_name:"Default",value:null},{display_name:"Disabled",value:""}];var l=function(){return{select:function(b){return h.save({id:a.queue.name,controller:"agents"},{agents:b,penalty:a.queue.penalty}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return h["delete"]({id:a.queue.name,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getQueue=function(){return h.get({id:e.id}).$promise.then(function(b){b.joinempty=""===b.joinempty?[]:b.joinempty.split(","),b.leavewhenempty=""===b.leavewhenempty?[]:b.leavewhenempty.split(","),b.periodic_announce=""===b.periodic_announce?[]:b.periodic_announce.split(","),b.penalty=0,a.queue=b})["catch"](function(a){g.path("/channels/voice/queues/list")})},a.updateVoiceQueue=function(){var b=angular.copy(a.queue);return b.joinempty=b.joinempty.join(","),b.leavewhenempty=b.leavewhenempty.join(","),b.periodic_announce=b.periodic_announce.join(","),b.context||(b.context=null),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(d.instant(a.data.message),"danger")})},a.getTeams=function(){return j.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,h.get({id:e.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id,penalty:a.UserHasVoiceQueue.penalty}}),l)})["catch"](function(a){console.error(a)})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(d.instant(data.message),"danger")})},a.getMohs=function(){b.get("/api/voice/musiconholds").success(function(b){a.voiceMohs=b.rows,f.syncUpdates("voice_musiconhold",a.voiceMohs)}).error(function(a){c.show(a.message,"danger")})},a.getSounds=function(){b.get("/api/sounds").success(function(b){a.queueAnnounces=a.queueAnnounces.concat(b),a.periodicAnnounces=angular.copy(b.rows),b.rows.unshift({display_name:"None",converted_path:null,value:""}),a.sounds=b.rows,f.syncUpdates("sound",a.sounds)}).error(function(a){console.error(a)})},a.returnAnnouncePath=function(a){return a.converted_path?a.converted_path+"/"+a.save_name:null===a.value?null:a.value}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.queues.view",{url:"/view/:id",templateUrl:"app/channels/voice/queue/view/view.html",controller:"VoiceQueueViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.queues.view.settings",{url:"/settings",templateUrl:"app/channels/voice/queue/view/view.settings.html"}).state("main.channels.voice.queues.view.agents",{url:"/agents",templateUrl:"app/channels/voice/queue/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Agent","Pause","Action","VoiceQueue","usSpinnerService","$q","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return k.spin("spinner-grid"),g.get(t).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=[],b.rows.forEach(function(a){q(a)})})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){k.stop("spinner-grid")})}function p(){e.socket.on("agent:save",function(b){var c=_.find(a.gridOptions.data,{agentId:b.id,isAgent:!0});c&&(c.online=b.online,c.lastLoginAt=b.lastLoginAt,c.pause=b.voicePause,c.pauseType=b.pauseType,c.lastPauseAt=b.lastPauseAt,c.status=b.status,c.statusAt=b.statusAt,c.queueStatus=b.queueStatus,c.queueStatusAt=b.queueStatusAt,c.lastQueue=b.lastQueue,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal,_.map(a.gridOptions.data,function(a){a.isAgent||a.agentId!==b.id||(a.online=b.online)}))}),e.socket.on("agent:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.id})}),e.socket.on("user_has_voice_queue:save",function(b){var c=_.includes(_.map(a.CurrentUser.PVoiceQueues,"name"),b.queue)||n.isAdmin(),d=_.find(a.gridOptions.data,{agentId:b.UserId,queue:b.queue});if(!d&&b.logged&&c){var e=_.find(a.gridOptions.data,{agentId:b.UserId,isAgent:!0}),f=a.gridOptions.data.indexOf(e);a.gridOptions.data.splice(f+1,0,{isAgent:!1,agentId:b.UserId,queue:b.queue,agent:b.membername,callstaken:b.callstaken?b.callstaken:0,online:e.online})}else d&&!b.logged?_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue}):d&&b.logged&&c&&(d.callstaken=b.callstaken?b.callstaken:0)}),e.socket.on("user_has_voice_queue:remove",function(b){_.remove(a.gridOptions.data,{agentId:b.UserId,queue:b.queue})})}function q(b){a.gridOptions.data.push({isAgent:!0,agentId:b.id,agent:b.name,online:b.online,lastLoginAt:b.lastLoginAt,lastPauseAt:b.lastPauseAt,pause:b.voicePause,pauseType:b.pauseType,status:b.status||"UNKNOWN",statusAt:b.statusAt,queueStatus:b.queueStatus||"READY",queueStatusAt:b.queueStatusAt,lastQueue:b.lastQueue,ipaddr:b.ipaddr,port:b.port,fullcontact:b.fullcontact,useragent:b.useragent,lastms:b.lastms,internal:b.internal,$$treeLevel:0}),b.VoiceQueues.forEach(function(c){c.UserHasVoiceQueue.logged&&a.gridOptions.data.push({isAgent:!1,agentId:b.id,queue:c.name,agent:b.name,callstaken:c.UserHasVoiceQueue.callstaken?c.UserHasVoiceQueue.callstaken:0,online:b.online})})}function r(){return h.get().$promise.then(function(b){a.pauses=b.rows,e.syncUpdates("pause",a.pauses)})["catch"](function(a){f.show(a.message,"danger")})}function s(){return j.get().$promise.then(function(b){a.voiceQueues=b.rows,e.syncUpdates("voice_queue",a.voiceQueues)})["catch"](function(a){f.show(a.message,"danger")})}a.voiceQueues=[];var t={controller:"realtime",controller1:"voice",offset:0,limit:10};a.moment=moment,a.initAgents=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent">{{row.entity.agent}} <{{row.entity.internal}}></div>'},{name:"online",displayName:"APPLICATION_ONLINE",width:150,headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.online != null && row.entity.isAgent"><i class="fa" data-ng-class="{\'font-green\':row.entity.online, \'font-red\':!row.entity.online,\'fa-user\':row.entity.online,\'fa-user-times\':!row.entity.online}"></i> <span data-ng-if="row.entity.online" class="left-margin">(<timer start-time="grid.appScope.moment(row.entity.lastLoginAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"true",label:"ONLINE"},{value:"false",label:"OFFLINE"}]}},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div data-ng-if=\"row.entity.isAgent\">{{'APPLICATION_'+row.entity.status | translate}} <span data-ng-if=\"row.entity.statusAt && (row.entity.status === 'BUSY' || row.entity.status === 'ONHOLD' || row.entity.status === 'INUSE')\">(<timer start-time=\"grid.appScope.moment(row.entity.statusAt).unix()*1000\">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></span></div>",filter:{type:m.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"queueStatus",displayName:"APPLICATION_QUEUE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.isAgent && row.entity.online" class="ui-grid-vcenter" data-ng-class="{\'paused-agent\':row.entity.pause}"><span class="left-margin"><i data-ng-if="row.entity.pause" data-ng-click="grid.appScope.pause(row.entity.agentId,\'unpause\')" class="fa fa-play font-green pointer-cursor" title="{{\'APPLICATION_RESUME\' | translate}}"></i><i class="fa fa-pause font-yellow pointer-cursor" data-ng-click="grid.appScope.pause(row.entity.agentId,\'pause\',\'DEFAULT PAUSE\')" title="{{\'APPLICATION_DEFAULT_PAUSE\' | translate}}"></i></span><select data-ng-if="grid.appScope.pauses.length" class="pause-select pointer-cursor" data-ng-model="grid.appScope.pauseType" data-ng-change="grid.appScope.pause(row.entity.agentId,\'pause\',grid.appScope.pauseType)"><option class="pointer-cursor" data-ng-repeat="pause in grid.appScope.pauses">{{pause.name}}</option></select><span> {{\'APPLICATION_\'+row.entity.queueStatus.toUpperCase() | translate}}</span><span data-ng-if="(row.entity.queueStatus!==\'complete\' && (row.entity.queueStatus!==\'paused\' || row.entity.pauseType === \'ACW\'))"> [{{row.entity.lastQueue}}]</span><span data-ng-if="row.entity.pause"> [{{row.entity.pauseType}}]</span><timer data-ng-if="row.entity.queueStatusAt && row.entity.queueStatus!==\'complete\'" start-time="grid.appScope.moment(row.entity.queueStatusAt).unix()*1000"> [{{hhours}}:{{mminutes}}:{{sseconds}}]</timer></span></div>',filter:{type:m.filter.SELECT,selectOptions:[{value:"paused",label:d.instant("APPLICATION_PAUSED")},{value:"connect",label:d.instant("APPLICATION_CONNECT")},{value:"complete",label:d.instant("APPLICATION_COMPLETE")},{value:"called",label:d.instant("APPLICATION_CALLED")}]},enableSorting:!1,enableColumnMenu:!1},{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"callstaken",displayName:"APPLICATION_CALLS_TAKEN",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.callstaken !== null">{{row.entity.callstaken}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1,width:100},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button data-ng-if="row.entity.queue" class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.leaveQueue(row.entity.agentId,row.entity.queue)"><i class="icon-ban"></i> {{\'APPLICATION_LEAVE\' | translate}}</button><button data-ng-if="row.entity.isAgent && row.treeNode.children.length < grid.appScope.voiceQueues.length" class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.joinQueue(row.entity.agentId)"><i class="icon-plus"></i> {{\'APPLICATION_JOIN_QUEUE\' | translate}}</button> <button data-ng-if="row.entity.isAgent" class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=l.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.treeBase.on.rowExpanded(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length+b.treeNode.children.length)}),a.gridApi.treeBase.on.rowCollapsed(a,function(b){u(a.gridApi.core.getVisibleRows(a.gridApi.grid).length-b.treeNode.children.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?t.order=null:t.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),o()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){t.offset=(a-1)*b,t.limit=b,o()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?t[a.name]=a.filters[0].term:delete t[a.name]}),o()})}},o(),r(),s(),p()};var u=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("agent"),e.unsyncUpdates("user_has_voice_queue")}),a.pause=function(b,c,e){return e&&(a.pauseType=null),i.save({name:c,agent:b,type:e||"DEFAULT PAUSE",data4:e||"DEFAULT PAUSE",channel:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(d.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},a.joinQueue=function(e){var g=c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/queue.modal.add.html",controller:"VoiceRealtimeViewAgentQueueModalCtrl",resolve:{queues:function(){return _.reject(a.voiceQueues,function(b){return _.find(a.gridOptions.data,{queue:b.name,isAgent:!1,agentId:e})?!0:!1})}}});g.result.then(function(a){return i.save({name:"QueueAdd",agent:e,queues:a.queues,channel:"voice",data1:e,data3:a.queues.join(","),data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},function(){b.info("Modal dismissed at: "+new Date)})},a.leaveQueue=function(a,b){return i.save({name:"QueueRemove",agent:a,queue:b,channel:"voice",data1:a,data3:b,data4:"voice"}).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/agent/agent.modal.info.html",controller:"VoiceRealtimeViewAgentInfoModalCtrl",resolve:{agent:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.agents",{url:"/agents",templateUrl:"app/channels/voice/realtime/view/agent/agent.html",controller:"VoiceRealtimeViewAgentCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentInfoModalCtrl",["$scope","$uibModalInstance","agent",function(a,b,c){a.agent=c,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewAgentQueueModalCtrl",["$scope","$uibModalInstance","$http","queues",function(a,b,c,d){a.queues=d,a.item={},a.save=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewOutboundCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportDial","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return j.spin("spinner-grid"),g.get({controller:"waiting",controller2:"calls"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){p(),j.stop("spinner-grid")})}function p(){e.socket.on("report_dial:save",function(b){a.gridOptions.data.unshift(b)}),e.socket.on("report_dial:update",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(_.merge(c,b),!b.endtime||b.answertime&&b.answertime==b.endtime||m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4))})}a.moment=moment,a.initDials=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate",cellClass:"text-center"},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.channel.split('/')[1].split('-')[0]}}</div>"},{name:"calleridnum",displayName:"APPLICATION_CALLERID",headerCellFilter:"translate",cellClass:"text-center"},{name:"dialstring",cellClass:"text-center"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.endtime && !row.entity.answertime">{{\'APPLICATION_RINGING\' | translate}}</span><span data-ng-if="row.entity.answertime && row.entity.answertime == row.entity.endtime">{{\'APPLICATION_TALKING\' | translate}}</span><span data-ng-if="row.entity.answertime && row.entity.answertime != row.entity.endtime">{{\'APPLICATION_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.endtime && !row.entity.answertime">{{\'APPLICATION_\'+row.entity.dialstatus | translate}}</span><span data-ng-if="(!row.entity.endtime && !row.entity.answertime) || (row.entity.answertime && row.entity.answertime == row.entity.endtime)"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridOptions.data.length)})}},o()};var q=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_dial")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.outbound",{url:"/outbound",templateUrl:"app/channels/voice/realtime/view/outbound/outbound.html",controller:"VoiceRealtimeViewOutboundCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewParameterCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){h.stop("spinner-grid")})}function l(){e.socket.on("voice_queue:save",function(b){_.find(a.gridOptions.data,{name:b.name})||a.gridOptions.data.push({abandoned:0,active:0,answered:0,holdtime:"00:00:00",name:b.name,talktime:"00:00:00",totalcalls:0,unmanaged:0,waiting:0})}),e.socket.on("voice_queue:remove",function(b){_.remove(a.gridOptions.data,{name:b.name})}),e.socket.on("report_queue:parameters",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&_.merge(c,b)})}var m={offset:0,limit:10,controller:"parameters"};a.moment=moment,a.initParameters=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,enableSorting:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalFiltering:!0,useExternalSorting:!0,columnDefs:[{name:"name",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter"},{name:"waiting",displayName:"APPLICATION_WAITING",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"active",displayName:"APPLICATION_ACTIVE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"answered",displayName:"APPLICATION_ANSWERED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN_OR_EQUAL,placeholder:"from"},{condition:j.filter.LESS_THAN_OR_EQUAL,placeholder:"to"}]},{name:"abandoned",displayName:"APPLICATION_ABANDONED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"unmanaged",displayName:"APPLICATION_UNMANAGED",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableColumnMenu:!1,filters:[{condition:j.filter.GREATER_THAN,placeholder:"from"},{condition:j.filter.LESS_THAN,placeholder:"to"}]},{name:"holdtime",displayName:"APPLICATION_HOLDTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"talktime",displayName:"APPLICATION_TALKTIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"totalcalls",displayName:"APPLICATION_TOTAL_CALLS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){if(a.filters.length>1){a.filters.forEach(function(b){b.term?64===b.condition?m[a.name+"_uiFrom"]=b.term:256===b.condition&&(m[a.name+"_uiTo"]=b.term):64===b.condition?delete m[a.name+"_uiFrom"]:256===b.condition&&delete m[a.name+"_uiTo"]})}else a.filters.length&&a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(),l()};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("voice_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.parameters",{url:"/parameters",templateUrl:"app/channels/voice/realtime/view/parameter/parameter.html",controller:"VoiceRealtimeViewParameterCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewQueueCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportQueue","Pause","Action","usSpinnerService","$q","uiGridConstants","$timeout","Auth",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){function o(){return j.spin("spinner-grid"),g.get({controller:"waiting",controller2:"calls"}).$promise.then(function(b){a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){p(),j.stop("spinner-grid")})}function p(){e.socket.on("report_queue:save",function(b){a.gridOptions.data.push(b)}),e.socket.on("report_queue:update",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(_.merge(c,b),(b.queuecallerabandon||b.queuecallercomplete)&&m(function(){_.remove(a.gridOptions.data,{id:b.id})},1e4))})}a.moment=moment,a.initQueues=function(){a.gridOptions={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.queuecallerleaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && !row.entity.queuecallerabandon && !row.entity.queuecallercomplete">{{\'APPLICATION_ACTIVE\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallerabandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallercomplete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="!row.entity.queuecallercomplete && !row.entity.queuecallerabandon"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}</div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.connectedlinenum || ''}} {{row.entity.connectedlinename || ''}}</div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){q(a.gridOptions.data.length)})}},o()};var q=function(a){var b=a?30*a+60:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_queue")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.queues",{url:"/queues",templateUrl:"app/channels/voice/realtime/view/queue/queue.html",controller:"VoiceRealtimeViewQueueCtrl"})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","Telephone","Pause","Action","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(){return j.spin("spinner-grid"),g.get(o).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){j.stop("spinner-grid")})}function n(){e.socket.on("telephone:save",function(b){var c=_.find(a.gridOptions.data,{id:b.id});c&&(c.status=b.status,c.statusAt=b.statusAt,c.ipaddr=b.ipaddr,c.port=b.port,c.fullcontact=b.fullcontact,c.useragent=b.useragent,c.lastms=b.lastms,c.internal=b.internal)}),e.socket.on("telephone:remove",function(b){_.remove(a.gridOptions.data,{id:b.id})})}var o={offset:0,limit:10};a.moment=moment,a.initTelephones=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"name",displayName:"APPLICATION_TELEPHONE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.name}} <{{row.entity.internal}}></div>"},{name:"status",displayName:"APPLICATION_PHONE_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{'APPLICATION_'+row.entity.status | translate}} <span data-ng-if=\"row.entity.statusAt && (row.entity.status === 'BUSY' || row.entity.status === 'ONHOLD' || row.entity.status === 'INUSE')\">(<timer start-time=\"grid.appScope.moment(row.entity.statusAt).unix()*1000\">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>)</span></span></div>",filter:{type:l.filter.SELECT,selectOptions:[{value:"UNKNOWN",label:d.instant("APPLICATION_UNKNOWN")},{value:"NOT_INUSE",label:d.instant("APPLICATION_NOT_INUSE")},{value:"INUSE",label:d.instant("APPLICATION_INUSE")},{value:"BUSY",label:d.instant("APPLICATION_BUSY")},{value:"INVALID",label:d.instant("APPLICATION_INVALID")},{value:"UNAVAILABLE",label:d.instant("APPLICATION_UNAVAILABLE")},{value:"RINGING",label:d.instant("APPLICATION_RINGING")},{value:"RINGINUSE",label:d.instant("APPLICATION_RINGINUSE")},{value:"ONHOLD",label:d.instant("APPLICATION_ONHOLD")}]}},{name:"action",displayName:"",width:170,cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><button class="btn btn-xs blue-madison" data-ng-click="grid.appScope.showInfo(row.entity)"><i class="icon-info"></i> {{\'APPLICATION_INFO\' | translate}}</button><div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1}],data:[],gridMenuTitleFilter:function(a){var b=k.defer();return b.resolve(d.instant(a)),b.promise; +},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){p(a.gridOptions.data.length)}),a.gridApi.core.on.sortChanged(a,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),m()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){o.offset=(a-1)*b,o.limit=b,m()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name]}),m()})}},m(),n()};var p=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("telephone")}),a.showInfo=function(a){c.open({animation:!0,templateUrl:"app/channels/voice/realtime/view/telephone/telephone.modal.info.html",controller:"VoiceRealtimeViewTelephoneInfoModalCtrl",resolve:{telephone:a}})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view.telephones",{url:"/telephones",templateUrl:"app/channels/voice/realtime/view/telephone/telephone.html",controller:"VoiceRealtimeViewTelephoneCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewTelephoneInfoModalCtrl",["$scope","$uibModalInstance","$http","telephone",function(a,b,c,d){a.telephone=d,a.close=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRealtimeViewCtrl",["$scope","Auth",function(a,b){a.Auth=b}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.realtime.view",{url:"/view",templateUrl:"app/channels/voice/realtime/view/view.html",controller:"VoiceRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRecordingListCtrl",["$scope","$translate","$sce","Recording","gridOptions","xAlert","uiGridConstants","Auth",function(a,b,c,d,e,f,g,h){a.Recording=d;a.updateRating=function(a,c){return d.update({id:a,rating:c}).$promise.then(function(){f.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})},a.initView=function(){var b=[{directive:'<motion-file-download params="{id:row.entity.uniqueid,controller:\'stream\'}" resource="grid.appScope.Recording" mimetype="audio/wav" btnclass="btn btn-xs blue-hoki" filename="row.entity.uniqueid+\'.wav\'"></motion-file-download>'}];h.isAdmin()&&b.push({"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.uniqueid, row.entity.uniqueid)"});var c={exporterCsvFilename:"recordings.csv",rowHeight:30,primaryKey:"uniqueid",columnDefs:[{name:"uniqueid"},{name:"calleridnum"},{name:"membername"},{name:"type",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div><i data-ng-class=\"{'icon-call-in font-green':row.entity.type === 'inbound','icon-call-out font-red':row.entity.type === 'outbound','icon-question':row.entity.type === 'unknown','icon-earphones font-purple':row.entity.type === 'internal'}\"></i></div>",filter:{type:g.filter.SELECT,selectOptions:[{value:"inbound",label:"Inbound"},{value:"outbound",label:"Outbound"}]}},{name:"queue"},{name:"createdAt",displayName:"APPLICATION_DATE",headerCellFilter:"translate",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:g.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:g.filter.LESS_THAN_OR_EQUAL}]},{name:"rating",filter:{type:g.filter.SELECT,selectOptions:[{value:1,label:"1"},{value:2,label:"2"},{value:3,label:"3"},{value:4,label:"4"},{value:5,label:"5"}]},cellClass:"ui-grid-vcenter",width:"100",cellTemplate:'<div><uib-rating data-ng-model="row.entity.rating" data-ng-click="grid.appScope.updateRating(row.entity.uniqueid, row.entity.rating)" aria-labelledby="default-rating"></uib-rating></div>'},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:'<audio-file-download params="{id:row.entity.uniqueid,controller:\'stream\'}" resource="grid.appScope.Recording"></audio-file-download>'}]},{name:"action",width:150,buttons:b}]};a.gridOptions=e.gridOptions(d,c,a,{order:"createdAt DESC"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings.list",{url:"/list",templateUrl:"app/channels/voice/recording/list/list.html",controller:"VoiceRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Recording",["$resource",function(a){return a("/api/voice/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.recordings",{url:"/recordings",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound",{url:"/inbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$location","$translate",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"inbound",appdata:"Inbound Call",context:"from-voip-provider"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),f.path("/channels/voice/routes/inbound/view/"+a.id+"/applications")})["catch"](function(a){console.log(a),e.show(g.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.Applications.length"><span data-ng-repeat="app in row.entity.Applications | limitTo:2">{{app.app}}({{app.appdata[0]}}), </span>...</div><div data-ng-if="!row.entity.Applications.length">{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/inbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"inbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/inbound/list/create.modal.html",controller:"VoiceRouteInboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.list",{url:"/list",templateUrl:"app/channels/voice/route/inbound/list/list.html",controller:"VoiceRouteInboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInboundViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.selectedRows=[],a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="icon-settings"></i></a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteApp(row.entity.app+\' application\', grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="fa fa-trash"></i></a></div>'}],onRegisterApi:function(b){b.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.selectedRows.push(b.entity):_.pull(a.selectedRows,b.entity)}),b.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.selectedRows=_.map(b,"entity"):a.selectedRows=[]}),b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}};var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.route.Applications[a.selectedApp].appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/inbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/inbound/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/inbound/view/"+c.id+"/"+d)})["catch"](function(a){console.log(a),h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.deleteItems=g.confirm["delete"](function(){_.remove(a.route.Applications,function(b){return _.includes(a.selectedRows,b)}),a.selectedRows=[],a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.inbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/inbound/view/view.html",controller:"VoiceRouteInboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.inbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/inbound/view/view.settings.html"}).state("main.channels.voice.routes.inbound.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/inbound/view/view.applications.html"}).state("main.channels.voice.routes.inbound.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.inbound.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal",{url:"/internal",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCreateCtrl",["$scope","$uibModalInstance","Route","application","$location","$translate","xAlert",function(a,b,c,d,e,f,g){a.$application=d.application,a.forms={route:void 0},a.item={type:"internal",appdata:"Internal Call",context:"from-sip"},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),e.path("/channels/voice/routes/internal/view/"+a.id+"/applications")})["catch"](function(a){g.error(a)})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"InternalRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_PHONE_NUMBER"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.Applications.length"><span data-ng-repeat="app in row.entity.Applications | limitTo:2">{{app.app}}({{app.appdata[0]}}),</span>...</div><div data-ng-if="!row.entity.Applications.length">{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/internal/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"internal"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/internal/list/create.modal.html",controller:"VoiceRouteInternalListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.list",{url:"/list",templateUrl:"app/channels/voice/route/internal/list/list.html",controller:"VoiceRouteInternalListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteInternalViewCtrl",["$scope","$translate","$stateParams","socket","$location","WizardHandler","Modal","xAlert","application","interval","Route","VoiceQueue","Sound","SquareProject","VoiceContext","Interval","VoiceMail","User","Trunk",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s){function t(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function u(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=b,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.selectedRows=[],a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',columnDefs:[{name:"app",headerCellFilter:"translate",displayName:"APPLICATION_APPLICATION",enableColumnMenu:!1},{name:"appType",headerCellFilter:"translate",displayName:"APPLICATION_INFO",enableColumnMenu:!1},{name:"appdata",headerCellFilter:"translate",displayName:"APPLICATION_ARGUMENTS",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableColumnMenu:!1},{name:"interval",headerCellFilter:"translate",displayName:"APPLICATION_TIME",enableColumnMenu:!1},{name:"action",enableColumnMenu:!1,headerCellFilter:"translate",displayName:"APPLICATION_ACTION",width:125,cellClass:"ui-grid-vcenter",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="icon-settings"></i></a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteApp(row.entity.app+\' application\', grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="fa fa-trash"></i></a></div>'}],onRegisterApi:function(b){b.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.selectedRows.push(b.entity):_.pull(a.selectedRows,b.entity)}),b.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.selectedRows=_.map(b,"entity"):a.selectedRows=[]}),b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){v(a.gridOptions.data.length)})}},a.deleteItems=g.confirm["delete"](function(){_.remove(a.route.Applications,function(b){return _.includes(a.selectedRows,b)}),a.selectedRows=[],a.updateRoute()});var v=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={settings:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""}},a.$watch("interval",function(a){a&&t(a)},!0),a.updateSetAppdata=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.application.appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.updateSetAppdataSettings=function(){a.application.variable&&a.application.value&&"Set"===a.main.app.value?a.route.Applications[a.selectedApp].appdata[0]=a.application.variable+"="+a.application.value:a.application.appdata[0]=null},a.$watch("main.app",function(c){if(c){var d,e,f={},g={};switch(void 0===a.selectedApp&&(a.application={appType:c.type,app:c.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),c.value){case"Queue":d=l,e=m;break;case"Playback":d=m;break;case"AGI":d=n;break;case"Goto":d=o;break;case"Voicemail":d=q;break;case"Dial":switch(c.type){case"internalDial":d=r,f={controller:"all"};break;case"externalDial":d=s}}if(d)return d.get(f).$promise.then(function(b){a.items=b.rows}).then(function(){return e?e.get(g).$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){h.show(b.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,e.path(b)},a.getIntervals=function(){return p.get().$promise.then(function(b){a.Intervals=b.rows,d.syncUpdates("interval",a.Intervals)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:c.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,v(a.gridOptions.data.length)})["catch"](function(a){e.path("/channels/voice/routes/internal/list")})},a.getApplication=function(){if(void 0===a.selectedApp)e.path("/channels/voice/routes/inbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.$application.applications,{type:a.route.Applications[a.selectedApp].appType});else{var b=_.find(a.$application.applications,{value:a.route.Applications[a.selectedApp].app});if(b)a.main.app=b;else{a.main.app=_.find(a.$application.applications,{type:"custom"});var c=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[c],a.route.Applications[a.selectedApp].appType="custom"}}if("Set"===a.main.app.value){var d=a.route.Applications[a.selectedApp].appdata[0].split("=");a.application.variable=d[0],a.application.value=d[1]}u()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,e.path("/channels/voice/routes/internal/view/"+c.id+"/applications/settings")},a.updateRoute=function(d){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(f){a.selectedApp=void 0,h.show(b.instant("MESSAGE_WELL_DONE")+"!","success"),d&&e.path("/channels/voice/routes/internal/view/"+c.id+"/"+d)})["catch"](function(a){h.show(b.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return o.get().$promise.then(function(b){a.voiceContexts=b.rows,d.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){h.show(b.instant(a.message),"danger")})},a.deleteApp=g.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("applications")},a.goNext=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){d.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.internal.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/internal/view/view.html",controller:"VoiceRouteInternalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.internal.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/internal/view/view.settings.html"}).state("main.channels.voice.routes.internal.view.applications",{url:"/applications",templateUrl:"app/channels/voice/route/internal/view/view.applications.html"}).state("main.channels.voice.routes.internal.view.application",{url:"/application",templateUrl:"app/channels/voice/route/view.application.html"}).state("main.channels.voice.routes.internal.view.applications.settings",{url:"/settings",templateUrl:"app/channels/voice/route/view.applicationSettings.html"})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCreateCtrl",["$scope","$uibModalInstance","Route","application","xAlert","$translate","$location","Tag",function(a,b,c,d,e,f,g,h){a.$application=d.application,a.forms={route:void 0},a.item={type:"outbound",appdata:"Outbound Call",context:"from-sip"},a.getTags=function(){return h.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.ok=function(){return a.item.exten=a.$application.checkUnderscore(a.item.exten),c.save(a.item).$promise.then(function(a){b.close(a),g.path("/channels/voice/routes/outbound/view/"+a.id+"/routes")})["catch"](function(a){e.show(f.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundListCtrl",["$scope","$http","socket","$translate","$rootScope","xAlert","Modal","stResource","gridOptions","Route","$uibModal","$location","$log",function(a,b,c,d,e,f,g,h,i,j,k,l,m){a.initView=function(){var b={exporterCsvFilename:"OutboundRoutes.csv",columnDefs:[{name:"exten",displayName:"APPLICATION_DESTINATION_PATTERN"},{name:"description"},{name:"applications",cellClass:"ui-grid-vcenter",cellTemplate:'<div data-ng-if="row.entity.Applications.length"><span data-ng-repeat="app in row.entity.Applications | limitTo:2">{{app.app}}({{app.appdata[0]}}),</span>...</div><div data-ng-if="!row.entity.Applications.length">{{\'MESSAGE_NO_AVAILABLE_APPLICATIONS\' | translate}}</div>',enableSorting:!1,enableFiltering:!1,enableColumnMenu:!1},{name:"action",width:170,buttons:[{"class":"blue-hoki",href:"/channels/voice/routes/outbound/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.exten, row.entity.id)"}]}]};a.gridOptions=i.gridOptions(j,b,a,{type:"outbound"})},a.create=function(){k.open({animation:!0,templateUrl:"app/channels/voice/route/outbound/list/create.modal.html",controller:"VoiceRouteOutboundListCreateCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.list",{url:"/list",templateUrl:"app/channels/voice/route/outbound/list/list.html",controller:"VoiceRouteOutboundListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound",{url:"/outbound",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("VoiceRouteOutboundViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","application","interval","Route","Trunk","VoiceContext","Interval","Tag",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){function p(b){var c,d;if("always"===b.intType)c=null,d="*,*,*,*";else if("list"===b.intType)d=b.IntervalId?_.find(a.Intervals,{ +id:b.IntervalId}).name:"*,*,*,*",c=b.IntervalId||null;else if("custom"===b.intType){c=null;var e,f,g,h;e=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(f=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(f+="-"+b.wd_to)):f="*",b.md_from&&"always"!==b.md_from?(g=b.md_from,b.md_to&&"always"!==b.md_to&&(g+="-"+b.md_to)):g="*",b.m_from&&"always"!==b.m_from?(h=b.m_from,b.m_to&&"always"!==b.m_to&&(h+="-"+b.m_to)):h="*",d=e+","+f+","+g+","+h}void 0===a.selectedApp?(a.application.interval=d,a.application.IntervalId=c):(a.route.Applications[a.selectedApp].interval=d,a.route.Applications[a.selectedApp].IntervalId=c)}function q(){if(a.interval.intType=a.route.Applications[a.selectedApp].IntervalId?"list":"*,*,*,*"===a.route.Applications[a.selectedApp].interval?"always":"custom",a.interval.IntervalId=a.route.Applications[a.selectedApp].IntervalId,!a.route.Applications[a.selectedApp].IntervalId){var b,c=a.route.Applications[a.selectedApp].interval?a.route.Applications[a.selectedApp].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.interval.t_from=moment(b[0],"HH:mm"),a.interval.t_to=moment(b[1],"HH:mm"),a.interval.alwaysTime=!1):(a.interval.t_from=moment(new Date),a.interval.t_to=moment(new Date),a.interval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.interval.wd_from=b[0],a.interval.wd_to=b[1]?b[1]:"always"):(a.interval.wd_from="always",a.interval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.interval.md_from=b[0],a.interval.md_to=b[1]?b[1]:"always"):(a.interval.md_from="always",a.interval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.interval.m_from=b[0],a.interval.m_to=b[1]?b[1]:"always"):(a.interval.m_from="always",a.interval.m_to="always")}})}}a.$translate=c,a.selectedApp=void 0,a.showGrid=!0,a.$application=i.application,a.$interval=j.interval,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.selectedRows=[],a.gridOptions={enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableSorting:!1,rowTemplate:'<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',columnDefs:[{name:"app",displayName:"APPLICATION_APPLICATION",cellClass:"ui-grid-vcenter",cellTemplate:"<div><span data-ng-if=\"row.entity.appType === 'externalDial'\">Default</span><span data-ng-if=\"row.entity.appType !== 'externalDial'\">{{row.entity.app}}</span></div>",headerCellFilter:"translate",enableColumnMenu:!1},{name:"appdata",displayName:"APPLICATION_ARGUMENTS",headerCellFilter:"translate",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.appdata.join(',')}}</div>",enableColumnMenu:!1},{name:"interval",displayName:"APPLICATION_TIME",headerCellFilter:"translate",enableColumnMenu:!1},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,enableColumnMenu:!1,cellClass:"ui-grid-vcenter",cellTemplate:'<div><a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openApplication(grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="icon-settings"></i></a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteApp(row.entity.app+\' application\', grid.appScope.gridOptions.data.indexOf(row.entity))"><i class="fa fa-trash"></i></a></div>'}],onRegisterApi:function(b){b.selection.on.rowSelectionChanged(a,function(b){b.isSelected?a.selectedRows.push(b.entity):_.pull(a.selectedRows,b.entity)}),b.selection.on.rowSelectionChangedBatch(a,function(b){b[0].isSelected?a.selectedRows=_.map(b,"entity"):a.selectedRows=[]}),b.draggableRows.on.rowDropped(a,function(b,c){a.updateRoute()}),b.grid.registerDataChangeCallback(function(){r(a.gridOptions.data.length)})}},a.deleteItems=h.confirm["delete"](function(){_.remove(a.route.Applications,function(b){return _.includes(a.selectedRows,b)}),a.selectedRows=[],a.updateRoute()});var r=function(a){var b=a?30*a+120:177;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px")};a.initApplication=function(b){b&&(a.selectedApp=void 0),a.forms={info:void 0,interval:void 0},a.application={},a.interval={intType:"always",t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0},a.main={app:""},a.applications=[{name:"Default",value:"Dial",type:"outboundDial"},{name:"Custom",value:"custom",type:"custom"}]},a.$watch("interval",function(a){a&&p(a)},!0),a.$watch("main.app",function(d){if(d){var e,f;switch(void 0===a.selectedApp&&(a.application={appType:d.type,app:d.value,interval:a.application.interval||"*,*,*,*",appdata:[]}),d.value){case"Dial":e=l;break;default:e=null,f=null}if(e)return e.get().$promise.then(function(b){a.items=b.rows}).then(function(){return f?f.get().$promise:void 0}).then(function(b){b&&(a.items2=b.rows)})["catch"](function(a){b.show(c.instant(a.message),"danger")})}},!0),a.deselectAndRedirect=function(b){a.selectedApp=void 0,f.path(b)},a.getIntervals=function(){return n.get().$promise.then(function(b){a.Intervals=b.rows,e.syncUpdates("interval",a.Intervals)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getRoute=function(){return k.get({id:d.id}).$promise.then(function(b){a.route=b,a.gridOptions.data=b.Applications,r(a.gridOptions.data.length)})["catch"](function(a){f.path("/channels/voice/routes/outbound/list")})},a.getApplication=function(){if(void 0===a.selectedApp)f.path("/channels/voice/routes/outbound/list");else{if(a.showGrid=!0,a.route.Applications[a.selectedApp].appType)a.main.app=_.find(a.applications,{type:a.route.Applications[a.selectedApp].appType});else{a.main.app=_.find(a.applications,{type:"custom"});var b=a.route.Applications[a.selectedApp].appdata.join(",");a.route.Applications[a.selectedApp].appdata=[b],a.route.Applications[a.selectedApp].appType="custom"}q()}},a.openApplication=function(b){a.selectedApp=b,a.showGrid=!1,f.path("/channels/voice/routes/outbound/view/"+d.id+"/routes/settings")},a.updateRoute=function(e){return a.route.exten=a.$application.checkUnderscore(a.route.exten),k.update({id:a.route.id},a.route).$promise.then(function(g){a.selectedApp=void 0,b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),e&&f.path("/channels/voice/routes/outbound/view/"+d.id+"/"+e)})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.getContexts=function(){return m.get().$promise.then(function(b){a.voiceContexts=b.rows,e.syncUpdates("voice_context",a.voiceContexts)})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTags=function(){return o.get().$promise.then(function(b){b.rows.unshift({name:"--"}),a.tags=b.rows})["catch"](function(a){b.show(c.instant(a.data.translatedMessage),"danger")})},a.deleteApp=h.confirm["delete"](function(b){a.route.Applications.splice(b,1),a.updateRoute()}),a.addApplication=function(){a.route.Applications.push(a.application),a.updateRoute("routes")},a.goNext=function(){g.wizard().next()},a.previous=function(){g.wizard().previous()},a.formValidation=function(a){return a},a.$on("destroy",function(){e.unsyncUpdates("voice_extension")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes.outbound.view",{url:"/view/:id",templateUrl:"app/channels/voice/route/outbound/view/view.html",controller:"VoiceRouteOutboundViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.routes.outbound.view.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.settings.html"}).state("main.channels.voice.routes.outbound.view.routes",{url:"/routes",templateUrl:"app/channels/voice/route/outbound/view/view.routes.html"}).state("main.channels.voice.routes.outbound.view.route",{url:"/route",templateUrl:"app/channels/voice/route/outbound/view/view.route.html"}).state("main.channels.voice.routes.outbound.view.routes.settings",{url:"/settings",templateUrl:"app/channels/voice/route/outbound/view/view.routeSettings.html"})}]),angular.module("xCallyShuttleApp").factory("Route",["$resource",function(a){return a("/api/voice/extensions/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.routes",{url:"/routes",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice",{url:"/voice",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:7}}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailListCtrl",["$scope","VoiceMail","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"voice_mails.csv",primaryKey:"uniqueid",columnDefs:[{name:"mailbox"},{name:"fullname"},{name:"email"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/channels/voice/voicemails/view/{{row.entity.uniqueid}}/settings",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.mailbox, row.entity.uniqueid)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.list",{url:"/list",templateUrl:"app/channels/voice/voicemail/list/list.html",controller:"VoiceVoicemailListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailViewCtrl",["$scope","VoiceMail","VoiceMailMessage","VoiceContext","$http","xAlert","$translate","$stateParams","socket","$sce","Modal","$location","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){var b={exporterCsvFilename:"voice_mail_messages.csv",primaryKey:"id",columnDefs:[{name:"callerid"},{name:"stamp",displayName:"APPLICATION_DATE",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{grid.appScope.moment(row.entity.stamp).format('YYYY-MM-DD HH:mm:ss')}}</div>"},{name:"duration",cellClass:"ui-grid-vcenter",cellTemplate:"<div>{{row.entity.duration*1000 | date:'mm:ss'}}</div>"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:'<audio-file-download params="{id:row.entity.id,controller:\'download\'}" resource="grid.appScope.VoiceMailMessage"></audio-file-download>'}]},{name:"action",width:150,buttons:[{directive:'<motion-file-download params="{id:row.entity.id,controller:\'download\'}" resource="grid.appScope.VoiceMailMessage" mimetype="audio/wav" btnclass="btn btn-xs blue-hoki" filename="row.entity.msg_id+\'.wav\'"></motion-file-download>'},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.id, row.entity.id)"}]}]};a.gridOptions=m.gridOptions(c,b,a,{mailbox:a.voicemail.mailbox,context:a.voicemail.context})}a.moment=moment,a.VoiceMailMessage=c,a.getVoicemail=function(){return b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b})["catch"](function(a){l.path("/voice/voicemails/list")})},a.updateVoiceVoicemail=function(){return b.update({id:h.uniqueid},a.voicemail).$promise.then(function(){f.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(g.instant(a.message),"danger")})},a.getContexts=function(){return d.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){f.show(a.message,"danger")})},a.getMessages=function(){return a.voicemail?void n():b.get({id:h.uniqueid}).$promise.then(function(b){delete b.password,delete b.stamp,a.voicemail=b,n()})["catch"](function(a){l.path("/voice/voicemails/view/"+h.uniqueid+"/settings")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.view",{url:"/view/:uniqueid",templateUrl:"app/channels/voice/voicemail/view/view.html",controller:"VoiceVoicemailViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.channels.voice.voicemails.view.settings",{url:"/settings",templateUrl:"app/channels/voice/voicemail/view/view.settings.html"}).state("main.channels.voice.voicemails.view.messages",{url:"/messages",templateUrl:"app/channels/voice/voicemail/view/view.messages.html"})}]),angular.module("xCallyShuttleApp").factory("VoiceMail",["$resource",function(a){return a("/api/voice/voicemails/:id/:controller",{uniqueid:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails",{url:"/voicemails",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").factory("VoiceMailMessage",["$resource",function(a){return a("/api/voice/voicemails/messages/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("VoiceVoicemailWizardCtrl",["$scope","VoiceMail","xAlert","WizardHandler","$location","Setting",function(a,b,c,d,e,f){a.initWizard=function(){a.form={},a.item={context:"from-voicemail"}},a.next=function(){d.wizard().next()},a.previous=function(){d.wizard().previous()},a.exitValidation=function(a){return a},a.getFirstFreeMailbox=function(){f.get({controller:"mailbox"}).$promise.then(function(b){a.item.mailbox=b.value})["catch"](function(a){c.show(a.data.message,"danger")})},a.createItem=function(){return a.item.customer_id=a.item.mailbox,b.save(a.item).$promise.then(function(){e.path("/channels/voice/voicemails/list")})["catch"](function(a){c.show(data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.channels.voice.voicemails.wizard",{url:"/wizard",templateUrl:"app/channels/voice/voicemail/wizard/wizard.html",controller:"VoiceVoicemailWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("VoiceQueue",["$resource",function(a){return a("/api/voice/queues/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Company",["$resource",function(a){return a("/api/contactmanager/companies/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies",{url:"/companies",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("CompanyListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyListCtrl",["$scope","$translate","xAlert","Modal","$uibModal","$log","Company","gridOptions","$location",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Companies.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"profile",href:"/contactmanager/companies/view/{{row.entity.id}}/settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({companyId:{{row.entity.id}}})"}]}]};a.gridOptions=h.gridOptions(g,b,a)},a.create=function(){var a=e.open({animation:!0,size:"lg",templateUrl:"app/contactmanager/company/list/create.modal.html",controller:"CompanyListCreateModalCtrl"});a.result.then(function(a){return g.save(a).$promise.then(function(a){i.path("/contactmanager/companies/view/"+a.id+"/settings")})["catch"](function(a){c.show(a.data.message,"danger")})},function(){f.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.list",{url:"/list",templateUrl:"app/contactmanager/company/list/list.html",controller:"ContactManagerCompanyListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerCompanyViewCtrl",["$scope","xAlert","$translate","$stateParams","$location","Company",function(a,b,c,d,e,f){a.getCompany=function(){return f.get({id:d.id}).$promise.then(function(b){a.company=b})["catch"](function(a){e.path("/contactmanager/companies/list")})},a.updateCompany=function(){return f.update({id:d.id},a.company).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.companies.view",{url:"/view/:id",templateUrl:"app/contactmanager/company/view/view.html",controller:"ContactManagerCompanyViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.companies.view.settings",{url:"/settings",templateUrl:"app/contactmanager/company/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Contact",["$resource",function(a){return a("/api/contactmanager/contacts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts",{url:"/contacts",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListImportModalCtrl",["$scope","$uibModalInstance","indexes","csv","xAlert","socket","List","Contact","$translate",function(a,b,c,d,e,f,g,h,i){function j(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);for(var c,f=[],g=b;b+200>g&&g<a.csvLength;g++)c={},_.forOwn(a.item,function(b,e){switch(e){case"tags":c.tags=[],a.item.tags.forEach(function(a){""!==d[g][a]&&c.tags.push(d[g][a])});break;default:c[e]=d[g][b]}}),c.tags=c.tags?c.tags.join(","):void 0,c.ListId=a.item.ListId,c.CompanyId=a.item.CompanyId||null,f.push(c);return h.save({controller:"bulk"},{contacts:f}).$promise.then(function(b){a["import"].success+=b.ok*a.addingQuote,a["import"].succeeded+=b.ok,a["import"].fail+=b.ko*a.addingQuote,a["import"].failed+=b.ko,j(g)})["catch"](function(b){a.stopped=!0,e.error(b),j(g)})}a.indexes=c,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=d.length,a.addingQuote=100/a.csvLength,a.forms={csv:void 0},a.item={},a.start=function(){a.importing=!0,a.submitted=!0,j(0)},a.getLists=function(){return g.get().$promise.then(function(b){a.lists=b.rows,a.item.ListId=1,a.getCustomFields()})["catch"](function(a){e.show(i.instant(a.message)+"!","danger")})},a.getCustomFields=function(){return g.get({listId:a.item.ListId,controller:"customfields"}).$promise.then(function(b){b.rows.forEach(function(a){a.values=JSON.parse(a.values)}),a.customFields=b.rows,f.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),f.socket.on("custom_field:save",function(b){if(b.ListId===a.item.ListId){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}})})["catch"](function(a){console.error(a),e.show(a.message,"danger")})},a.close=function(){b.close()},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("ContactManagerContactListCtrl",["$scope","$translate","Modal","FileUploader","Papa","$uibModal","$log","Contact","gridOptions","List","uiGridConstants","xAlert","socket","$stateParams","Auth","Company",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){a.Auth=o,a.initView=function(){var c;return j.get().$promise.then(function(b){return a.lists=[],a.customFields=[],b.rows.forEach(function(b,c){_.forEach(b.CustomFields,function(b){a.customFields.push({name:b.name,alias:b.alias})}),a.lists.push({value:b.id,label:b.name})}),p.get().$promise}).then(function(b){a.companies=[],b.rows.forEach(function(b,c){a.companies.push({value:b.id,label:b.name})})}).then(function(){var b=[{"class":"blue-hoki",name:"profile",onClick:"grid.appScope.openContactTab(row.entity)"}];o.isAgent()||b.push({"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}),c={exporterCsvFilename:"Contacts.csv",columnDefs:[{name:"firstName"},{name:"lastName"},{name:"phone"},{name:"email"},{name:"ListId",displayName:"APPLICATION_LIST",field:"List.name",filter:{type:k.filter.SELECT,term:n.listId||null,selectOptions:a.lists}},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company.name",filter:{type:k.filter.SELECT,term:n.companyId||null,selectOptions:a.companies}},{name:"tags",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-12 col-md-offset-0 col-sm-12 col-sm-offset-0 col-xs-12 col-xs-offset-0"><div custom-grid-tags-filter-header></div></div></div>',filters:[{name:"tags"}],cellTemplate:"<div class=\"centered-uigrid-td\">{{row.entity.tags.join(',')}}</div>"}]},_.forEach(a.customFields,function(a){c.columnDefs.push({name:a.name,displayName:a.alias,visible:!1}),c.columnDefs.push({name:"action",width:125,buttons:b})}),a.gridOptions=i.gridOptions(h,c,a)})["catch"](function(a){l.show(b.instant(a.message)+"!","danger")})},d.FileSelect.prototype.isEmptyAfterSelection=function(){return!0};var q=a.uploader=new d({queueLimit:1,clearInputAfterAddedToQueue:!0});q.onAfterAddingFile=function(b){console.log("fileadded"),e.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){console.log(a)}})},a["import"]=function(b){var c=f.open({animation:!0,size:"lg",backdrop:"static",keyboard:!1,templateUrl:"app/contactmanager/contact/list/import.modal.html",controller:"ContactManagerListImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){a.gridOptions.getPage()},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.contacts.list",{url:"/list",templateUrl:"app/contactmanager/contact/list/list.html",params:{listId:null,companyId:null},controller:"ContactManagerContactListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager",{url:"/contactmanager",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").factory("List",["$resource",function(a){return a("/api/contactmanager/lists/:listId/:controller/:id",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists",{url:"/lists",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:5}}})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListListCtrl",["$scope","$http","$translate","Modal","xAlert","$uibModal","$log","List","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"Lists.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:190,buttons:[{"class":"blue-hoki",name:"settings",href:"/contactmanager/lists/view/{{row.entity.id}}/settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"green-turquoise",name:"contacts",uisref:"main.contactmanager.contacts.list({listId:{{row.entity.id}}})"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var d=f.open({animation:!0,templateUrl:"app/contactmanager/list/list/create.modal.html",controller:"ContactManagerListListCreateModalCtrl"});d.result.then(function(d){b.post("/api/contactmanager/lists/",d).then(function(b){a.gridOptions.getPage(),e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.list",{url:"/list",templateUrl:"app/contactmanager/list/list/list.html",controller:"ContactManagerListListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ContactManagerListCustomFieldViewCreateModalCtrl",["$scope","$uibModalInstance","$translate",function(a,b,c){a.$translate=c,a.forms={dashboard:void 0},a.item={},a.choices=[{value:""}],a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)},a.types=[{name:"APPLICATION_TEXT",value:"text"},{name:"APPLICATION_SELECT",value:"select"}],a.ok=function(){"select"===a.item.type&&(a.item.values=angular.toJson(a.choices)),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerListViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","$uibModal","$log","Modal","List","Team","gridOptions",function(a,b,c,d,e,f,g,h,i,j,k,l){var m=function(){return{select:function(b){return j.save({listId:a.list.id,controller:"agents"},{agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})},deselect:function(b){return j["delete"]({listId:a.list.id,controller:"agents",agents:b}).$promise.then(function(){a.getTeams()})["catch"](function(a){console.log(a)})}}};a.getList=function(){return j.get({listId:d.id}).$promise.then(function(b){a.list=b})["catch"](function(a){f.path("/contactmanager/lists/list")})},a.updateList=function(){return j.update({id:d.id},a.list).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.getTeams=function(){return k.get({controller:"associations"}).$promise.then(function(b){return a.teams=b.rows,a.list?void 0:a.getList()}).then(function(){return a.list.defaultEntry&&f.path("/contactmanager/lists/list"),j.get({listId:d.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindQueue(a.teams,_.map(b.rows,function(a){return{id:a.id}}),m)})["catch"](function(a){console.error(a)})},a.initCustomFields=function(){var b={exporterCsvFilename:"customfields.csv",primaryKey:"id",columnDefs:[{name:"alias",displayName:"APPLICATION_NAME"},{name:"name",displayName:"APPLICATION_FIELD"},{name:"type"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/contactmanager/lists/view/{{grid.appScope.$stateParams.id}}/customfields/settings/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",name:"delete"}]}]};a.gridOptions=l.gridOptions(j,b,a,{listId:d.id,controller:"customfields"})},a.create=function(){var e=g.open({animation:!0,templateUrl:"app/contactmanager/list/view/create.modal.html",controller:"ContactManagerListCustomFieldViewCreateModalCtrl"});e.result.then(function(e){return j.save({listId:d.id,controller:"customfields"},e).$promise.then(function(d){a.gridOptions.getPage(),b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.message||a.data.message,"danger")})},function(){h.info("Modal dismissed at: "+new Date)})},a.getCustomField=function(){return j.get({listId:d.id,controller:"customfields",id:d.cfId}).$promise.then(function(b){console.log(b),a.customField=b,"select"===a.customField.type&&(a.choices=JSON.parse(a.customField.values))})["catch"](function(a){console.error(a)})},a.updateCustomField=function(){var e=angular.copy(a.customField);return"select"===e.type&&(e.values=angular.toJson(a.choices)),j.update({listId:d.id,controller:"customfields",id:d.cfId},e).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(c.instant(a.message),"danger")})},a.addField=function(){a.choices.push({})},a.removeField=function(b){a.choices.splice(b,1)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.contactmanager.lists.view",{url:"/view/:id",templateUrl:"app/contactmanager/list/view/view.html",controller:"ContactManagerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.contactmanager.lists.view.settings",{url:"/settings",templateUrl:"app/contactmanager/list/view/view.settings.html"}).state("main.contactmanager.lists.view.agents",{url:"/agents",templateUrl:"app/contactmanager/list/view/view.agents.html",cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.contactmanager.lists.view.customfields",{url:"/customfields",templateUrl:"app/contactmanager/list/view/view.customFields.html"}).state("main.contactmanager.lists.view.customfields.settings",{url:"/settings/:cfId",templateUrl:"app/contactmanager/list/view/view.customFieldSettings.html",controller:"ContactManagerListViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("DashboardChatCtrl",["$scope","Auth","ChatRoom","socket","Agent","$q","$translate","ReportChatSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment;var j=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasChatQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"websitename",displayName:"APPLICATION_WEBSITE",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS", +headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.abandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=f.defer();return b.resolve(g.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){j(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"chat",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_chat_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.ChatQueueId})||a.table1.data.push({id:c.ChatQueueId,UserHasChatQueue:c})}),d.socket.on("user_has_chat_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.ChatQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_chat_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_chat_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("chat_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardCtrl",["$scope","$translate","Auth",function(a,b,c){a.Auth=c,a.modules=_.map(c.getCurrentUser().Modules,"id"),a.isAvailableModule=function(b){return _.includes(a.modules,b)}}]),angular.module("xCallyShuttleApp").factory("Dashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.dashboard",{"abstract":!0,url:"/dashboard",templateUrl:"app/dashboard/dashboard.html",controller:"DashboardCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:1}}}).state("main.dashboard.voice",{url:"/voice",controller:"DashboardVoiceCtrl",templateUrl:"app/dashboard/voice/voice.html"}).state("main.dashboard.chat",{url:"/chat",controller:"DashboardChatCtrl",templateUrl:"app/dashboard/chat/chat.html",data:{permissions:{redirectTo:"landing",id:8}}}).state("main.dashboard.mail",{url:"/mail",controller:"DashboardMailCtrl",templateUrl:"app/dashboard/mail/mail.html",data:{permissions:{redirectTo:"landing",id:9}}}).state("main.dashboard.fax",{url:"/fax",controller:"DashboardFaxCtrl",templateUrl:"app/dashboard/fax/fax.html",data:{permissions:{redirectTo:"landing",id:10}}}).state("main.dashboard.sms",{url:"/sms",controller:"DashboardSmsCtrl",templateUrl:"app/dashboard/sms/sms.html",data:{permissions:{redirectTo:"landing",id:11}}})}]),angular.module("xCallyShuttleApp").controller("DashboardFaxCtrl",["$scope","Auth","FaxRoom","socket","Agent","$translate","$q","ReportFaxSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasFaxQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"fax",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_fax_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.FaxQueueId})||a.table1.data.push({id:c.FaxQueueId,UserHasFaxQueue:c})}),d.socket.on("user_has_fax_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.FaxQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_fax_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_fax_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return console.log("asdasd"),c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("fax_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardMailCtrl",["$scope","Auth","MailRoom","socket","Agent","$translate","$q","ReportMailSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasMailQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){reSize(a.table2.data.length)})}},e.get({id:b.getCurrentUser().id,controller:"mail",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_mail_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.MailQueueId})||a.table1.data.push({id:c.MailQueueId,UserHasMailQueue:c})}),d.socket.on("user_has_mail_queue:remove",function(c){console.log(c),c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.MailQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_mail_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_mail_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("mail_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardSmsCtrl",["$scope","Auth","SmsRoom","socket","Agent","$translate","$q","ReportSmsSession","$timeout",function(a,b,c,d,e,f,g,h,i){a.Auth=b,a.moment=moment,a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasSmsQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b}},a.table2={headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,columnDefs:[{name:"uniqueid",displayName:"APPLICATION_UNIQUEID",headerCellFilter:"translate"},{name:"accountname",displayName:"APPLICATION_ACCOUNT",headerCellFilter:"translate"},{name:"application",displayName:"APPLICATION_APPLICATION",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.leaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.complete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="row.entity.leaveAt && row.entity.unmanaged">{{\'APPLICATION_UNMANAGED\' | translate}}</span><span data-ng-if="!row.entity.leaveAt"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</span></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"membername",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.membername || ''}}</span></div>"},{name:"queuename",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.queuename || ''}}</span></div>"}],data:[],gridMenuTitleFilter:function(a){var b=g.defer();return b.resolve(f.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b}},e.get({id:b.getCurrentUser().id,controller:"sms",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){d.socket.on("user_has_sms_queue:save",function(c){c.UserId!=b.getCurrentUser().id||_.find(a.table1.data,{id:c.SmsQueueId})||a.table1.data.push({id:c.SmsQueueId,UserHasSmsQueue:c})}),d.socket.on("user_has_sms_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{id:c.SmsQueueId})})})["catch"](function(a){console.error(a)}),h.get({controller:"waiting",controller2:"applications"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){d.socket.on("report_sms_session:save",function(b){var c=_.find(a.table2.data,{id:b.id});c?(_.merge(c,b),b.leaveAt&&i(function(){_.remove(a.table2.data,{id:b.id})},1e4)):b.leaveAt||a.table2.data.push(b)}),d.socket.on("report_sms_session:remove",function(b){_.remove(a.table2.data,{id:b.id})})})["catch"](function(a){console.log(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,d.socket.on("sms_dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("DashboardVoiceCtrl",["$scope","Auth","ReportQueue","ReportCall","Agent","socket","$timeout",function(a,b,c,d,e,f,g){a.Auth=b,a.moment=moment;var h=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.initAgent=function(){a.table1={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!0,columnDefs:[{name:"UserHasVoiceQueue.queue",headerCellFilter:"translate",displayName:"APPLICATION_QUEUE",cellClass:"text-center ui-grid-vcenter"},{name:"UserHasVoiceQueue.loggedAt",displayName:"logged At",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.UserHasVoiceQueue.loggedAt"></span></div>'},{name:"UserHasVoiceQueue.lastcall",headerCellFilter:"translate",displayName:"APPLICATION_LAST_CALL",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.UserHasVoiceQueue.lastcall"></span></div>'},{name:"UserHasVoiceQueue.callstaken",headerCellFilter:"translate",displayName:"APPLICATION_CALLS_TAKEN",cellClass:"text-center ui-grid-vcenter"}],data:[],onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){h(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)})}},a.table2={enableGridMenu:!1,enableHorizontalScrollbar:0,enableVerticalScrollbar:0,multiSelect:!1,columnDefs:[{name:"queue",displayName:"APPLICATION_QUEUE",headerCellFilter:"translate"},{name:"status",displayName:"APPLICATION_STATUS",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span data-ng-if="!row.entity.queuecallerleaveAt">{{\'APPLICATION_QUEUESTATUS_WAITING\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && !row.entity.queuecallerabandon && !row.entity.queuecallercomplete">{{\'APPLICATION_ACTIVE\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallerabandon">{{\'APPLICATION_QUEUESTATUS_ABANDON\' | translate}}</span><span data-ng-if="row.entity.queuecallerleaveAt && row.entity.queuecallercomplete">{{\'APPLICATION_QUEUESTATUS_COMPLETE\' | translate}}</span><span data-ng-if="!row.entity.queuecallercomplete && !row.entity.queuecallerabandon"> [<timer start-time="grid.appScope.moment(row.entity.updatedAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer>]</div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"caller",displayName:"APPLICATION_CALLER",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.calleridnum || ''}} {{row.entity.calleridname || ''}}</span></div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1},{name:"agent",displayName:"APPLICATION_AGENT",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:"<div>{{row.entity.connectedlinenum || ''}} {{row.entity.connectedlinename || ''}}</span></div>",enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],onRegisterApi:function(b){a.gridApi1=b,a.gridApi1.grid.registerDataChangeCallback(function(){h(a.gridApi1.core.getVisibleRows(a.gridApi1.grid).length)})}},e.get({id:b.getCurrentUser().id,controller:"voice",controller1:"queues"}).$promise.then(function(b){a.table1.data=b.rows})["finally"](function(){f.socket.on("user_has_voice_queue:save",function(c){if(c.UserId===b.getCurrentUser().id){var d=_.findIndex(a.table1.data,{name:c.queue});d>-1?(a.table1.data[d].UserHasVoiceQueue.loggedAt=c.loggedAt,a.table1.data[d].UserHasVoiceQueue.lastcall=c.lastcall,a.table1.data[d].UserHasVoiceQueue.callstaken=c.callstaken):(c.callstaken=0,a.table1.data.push({name:c.queue,UserHasVoiceQueue:c}))}}),f.socket.on("user_has_voice_queue:remove",function(c){c.UserId===b.getCurrentUser().id&&_.remove(a.table1.data,{name:c.queue})})})["catch"](function(a){console.error(a)}),c.get({id:"waiting",controller:"calls"}).$promise.then(function(b){a.table2.data=b.rows})["finally"](function(){f.socket.on("report_queue:save",function(b){a.table2.data.push(b)}),f.socket.on("report_queue:update",function(c){var d=_.find(a.table2.data,{id:c.id});d&&(_.merge(d,c),(c.queuecallerabandon||c.queuecallercomplete||c.connectedlinename!==b.getCurrentUser().fullname)&&g(function(){_.remove(a.table2.data,{id:c.id})},1e4))})})["catch"](function(a){console.error(a)})},a.initWidget=function(b){return c.get({id:b}).$promise.then(function(c){a[b]=c.value,f.socket.on("dashboard:"+b,function(c){a[b]=c.value})})["catch"](function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk",{url:"/desk",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("DeskAccount",["$resource",function(a){return a("/api/desk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("DeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedDeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedDeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("desk_account"),b.url="/api/desk/accounts",h.getPage(b).then(function(d){a.displayedDeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedDeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedDeskAccounts.length)}),f.socket.on("desk_account:save",function(){a.initList(b)}),f.socket.on("desk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/desk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/desk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/desk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.list",{url:"/list",templateUrl:"app/desk/list/list.html",controller:"DeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("DeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","desk_com",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){f.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){g.unsyncUpdates("desk_configuration"),g.unsyncUpdates("desk_field")}),a.initView=function(){b.get("/api/desk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){h.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/desk/accounts/"+c.id,a.account).success(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/desk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,g.socket.on("desk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.deleteConfiguration=i.confirm["delete"](function(a){b["delete"]("api/desk/configurations/"+a).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/desk/configurations",a.configuration).success(function(a){e.path("desk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){h.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/desk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=j.fields.concat(b)}).error(function(a){h.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/desk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,g.socket.on("desk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){h.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){h.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/desk/fields/"+a.id).success(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/desk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/desk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){h.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/desk/fields/"+a.id,a).success(function(){}).error(function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(b.customField=_.result(c,"custom",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.data.choices?c.data.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.view",{url:"/view/:id",templateUrl:"app/desk/view/view.html",controller:"DeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.desk.view.account",{url:"/account",templateUrl:"app/desk/view/view.account.html"}).state("main.desk.view.configurations",{url:"/configurations",templateUrl:"app/desk/view/view.configurations.html"}).state("main.desk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/desk/view/view.configurationSettings.html",controller:"DeskViewCtrl"}).state("main.desk.view.configuration",{url:"/configuration",templateUrl:"app/desk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("DeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/desk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/desk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.desk.wizard",{url:"/wizard",templateUrl:"app/desk/wizard/wizard.html",controller:"DeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk",{url:"/freshdesk",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("FreshdeskAccount",["$resource",function(a){return a("/api/freshdesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskListCtrl",["$scope","$http","$rootScope","xAlert","$translate","socket","Modal","stResource",function(a,b,c,d,e,f,g,h){a.conf={accountsByPage:{name:"10",value:10}},a.accountsByPage=[{name:"10",value:10},{name:"25",value:25},{name:"50",value:50},{name:"All",value:0}],a.accounts={checked:[]},a.check=function(b,c){c?a.accounts.checked=angular.copy(_.map(a.displayedFreshdeskAccounts,"id")):a.accounts.checked=[]},a.getAccounts=function(b){return _.map(a.displayedFreshdeskAccounts,function(a){var c={};return b.forEach(function(b){c[b]=a[b]}),c})},a.initList=function(b){f.unsyncUpdates("freshdesk_account"),b.url="/api/freshdesk/accounts",h.getPage(b).then(function(d){a.displayedFreshdeskAccounts=d.rows,b.pagination.numberOfPages=d.total_pages,c.updateTableConfig(a.accountsByPage,a.displayedFreshdeskAccounts.length),c.updateTableConfig(a.conf.accountsByPage,a.displayedFreshdeskAccounts.length)}),f.socket.on("freshdesk_account:save",function(){a.initList(b)}),f.socket.on("freshdesk_account:remove",function(c){a.accounts.checked=_.without(a.accounts.checked,c.id),a.initList(b)})},a.deleteItem=g.confirm["delete"](function(a){b["delete"]("/api/freshdesk/accounts/"+a).success(function(){d.show(e.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.deleteItems=g.confirm["delete"](function(){b["delete"]("/api/freshdesk/accounts",{params:{id:a.accounts.checked}}).success(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")}).error(function(a){d.show(e.instant(a.message),"danger")})}),a.checkAccount=function(a){b.get("/api/freshdesk/accounts/"+a+"/check").then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.list",{url:"/list",templateUrl:"app/freshdesk/list/list.html",controller:"FreshdeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("FreshdeskViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("freshdesk_configuration"),h.unsyncUpdates("freshdesk_field")}),a.initView=function(){b.get("/api/freshdesk/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/freshdesk/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/freshdesk/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("freshdesk_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/freshdesk/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/freshdesk/configurations",a.configuration).success(function(a){e.path("freshdesk/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/freshdesk/accounts/"+c.id+"/fields").success(function(b){a.accountFields=[],b=f("freshdesk")(b),_.forEach(b,function(b){a.accountFields.push(b.ticket_field)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/freshdesk/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("freshdesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows; +}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/freshdesk/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/freshdesk/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/freshdesk/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.idField){var c=_.find(a.accountFields,"name",b.idField);c&&(b.customField=!_.result(c,"default",!0))}a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.choices.length>0?c.choices:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.view",{url:"/view/:id",templateUrl:"app/freshdesk/view/view.html",controller:"FreshdeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.freshdesk.view.account",{url:"/account",templateUrl:"app/freshdesk/view/view.account.html"}).state("main.freshdesk.view.configurations",{url:"/configurations",templateUrl:"app/freshdesk/view/view.configurations.html"}).state("main.freshdesk.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/freshdesk/view/view.configurationSettings.html",controller:"FreshdeskViewCtrl"}).state("main.freshdesk.view.configuration",{url:"/configuration",templateUrl:"app/freshdesk/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("FreshdeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/freshdesk/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/freshdesk/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.freshdesk.wizard",{url:"/wizard",templateUrl:"app/freshdesk/wizard/wizard.html",controller:"FreshdeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.iframe",{url:"/iframe",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("IframeViewCtrl",["$scope","Auth","Integration","xAlert","$translate","$sce",function(a,b,c,d,e,f){a.Auth=b,a.initView=function(){return c.get({state:"iframe"}).$promise.then(function(c){a.iframe=_.first(c.rows),a.iframe.remoteUri?a.url=f.trustAsResourceUrl(a.iframe.remoteUri):b.isAgent()&&d.show(e.instant("MESSAGE_NO_IFRAME_CONFIGURED")+".","success")})["catch"](function(a){d.error(a)})},a.updateItem=function(){return b.isAgent()?void 0:c.update({id:a.iframe.id},a.iframe).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){d.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.iframe.view",{url:"/view",templateUrl:"app/iframe/view/view.html",controller:"IframeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Integration",["$resource",function(a){return a("/api/integrations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations",{url:"/integrations",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:19}}})}]),angular.module("xCallyShuttleApp").controller("IntegrationListCtrl",["$scope","Modal","socket","FileUploader","Integration","xAlert",function(a,b,c,d,e,f){a.integrationsByPage=10;var g=a.uploader=new d({url:"api/integrations",autoUpload:!0,removeAfterUpload:!0});g.filters.push({name:"zipFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|zip|".indexOf(b)}}),g.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),f.show(b.name,"success")},g.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),b.errors.forEach(function(a){f.show(a.message,"danger")})},a.deleteItem=b.confirm["delete"](function(a){e["delete"]({id:a},function(){f.show("Integration Removed","success")},function(a){f.show(a.data.errors,"danger")})}),a.initList=function(){a.integrations=e.query({},function(a){c.syncUpdates("integration",a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.integrations.list",{url:"/list",templateUrl:"app/integration/list/list.html",controller:"IntegrationListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty",{url:"/jscripty",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("JscriptyProject",["$resource",function(a){return a("/api/jscripty/projects/:id/:controller/:action/:action2",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCtrl",["$scope","$uibModal","JscriptyProject","gridOptions","Auth",function(a,b,c,d,e){a.isAdmin=e.isAdmin(),a.initView=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:300,buttons:[{"class":"blue-hoki",icon:"icon-settings",href:"/jscripty/projects/view/{{row.entity.id}}",hide:!e.isAdmin()},{"class":" green-turquoise",icon:"fa fa-play",onClick:"grid.appScope.openJscriptyTab(row.entity)"},{"class":"purple",icon:"icon-book-open",href:"/jscripty/projects/report/{{row.entity.id}}/sessions",hide:!e.isAdmin()},{"class":"red-sunglo",icon:"fa fa-trash",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)",hide:!e.isAdmin()}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/jscripty/project/list/list.create.modal.html",controller:"JscriptyProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","JscriptyProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){console.log(a),e.show(b.instant(a.data.translatedMessage),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.list",{url:"/list",templateUrl:"app/jscripty/project/list/list.html",controller:"JscriptyProjectListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects",{url:"/projects",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectReportCtrl",["$scope","uiGridConstants","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope","gridOptions","JscriptyProject","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n){a.projectStats={started:0,incomplete:0,completed:0},a.projectId=e.id,a.initView=function(){m.get({id:e.id}).$promise.then(function(b){a.project=b})["catch"](function(a){i.show(a.message,"danger")}),m.get({id:e.id,controller:"sessions"}).$promise.then(function(b){var c=_.groupBy(b.rows,"status");a.projectStats.started=c.started?c.started.length:0,a.projectStats.completed=c.completed?c.completed.length:0,a.projectStats.incomplete=c.incomplete?c.incomplete.length:0})["catch"](function(a){i.show(a.message,"danger")})},a.pdf=function(a,b){var c=[];if(a){var d=html2canvas(document.getElementById(a)),e=d.parse(),f=d.render(e),g=f.toDataURL("image/png");c.push({image:g,width:500,style:"img"})}b.length&&_.forEach(b,function(a){var b=html2canvas(document.getElementById(a.question_id)),d=b.parse(),e=b.render(d),f=e.toDataURL("image/png");c.push({image:f,width:500,style:"img"})});var h={content:c};pdfMake.createPdf(h).download("Project_summary.pdf")},a.getProjectSessions=function(){var c={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"queue",displayName:"APPLICATION_QUEUE"},{name:"membername",displayName:"APPLICATION_AGENT"},{name:"calleridnum",displayName:"APPLICATION_CALLERIDNUM"},{name:"createdAt",displayName:"APPLICATION_STARTEDAT",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:b.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:b.filter.LESS_THAN_OR_EQUAL}]},{name:"completedAt",displayName:"APPLICATION_COMPLETEDAT",filterHeaderTemplate:'<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',filters:[{name:"From",condition:b.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:b.filter.LESS_THAN_OR_EQUAL}]},{name:"status",displayName:"APPLICATION_STATUS"},{name:"last_question_id",displayName:"APPLICATION_LASTQUESTIONID"},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/{{row.entity.projectId}}/session/{{row.entity.session_id}}",name:"Detail"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteSession(row.entity.session_id)"}]}]};a.gridOptions=l.gridOptions(m,c,a,{id:e.id,controller:"sessions"})},a.deleteSession=function(b){m["delete"]({id:e.id,controller:"sessions",action:b}).$promise.then(function(b){a.gridOptions.getPage(),a.initView(),i.show(j.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){i.show(a.message,"danger")})},a.getSessionDetails=function(){m.get({id:e.id,controller:"sessions",action:e.sessionId}).$promise.then(function(b){a.session=b,a.sessionQuestions=b.ReportJscriptyQuestions})["catch"](function(a){i.show(a.message,"danger")})},a.getQuestionSummary=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"question_id",displayName:"APPLICATION_QUESTIONID"},{name:"question_type",displayName:"APPLICATION_QUESTIONTYPE"},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL"},{name:"question_text",displayName:"APPLICATION_QUESTION"},{name:"count",displayName:"APPLICATION_COUNT",enableFiltering:!1},{name:"action",width:100,buttons:[{"class":"blue-hoki",href:"/jscripty/projects/report/"+e.id+"/detail/{{row.entity.question_id}}",name:"Detail"}]}]};a.gridOptions=l.gridOptions(m,b,a,{id:e.id,controller:"questions",action:"summary"})},a.getQuestionInputs=function(){var b={exporterCsvFilename:"jscriptyProjects.csv",columnDefs:[{name:"session_id",displayName:"APPLICATION_SESSIONID"},{name:"question_id",displayName:"APPLICATION_QUESTIONID",enableFiltering:!1},{name:"question_label",displayName:"APPLICATION_QUESTIONLABEL",enableFiltering:!1},{name:"question_text",displayName:"APPLICATION_QUESTION",enableFiltering:!1},{name:"input_label",displayName:"APPLICATION_INPUTLABEL",enableFiltering:!1},{name:"input_value",cellTemplate:'<div uib-tooltip="{{row.entity.input_value}}">{{row.entity.input_value}}</div>',displayName:"APPLICATION_INPUTVALUE",enableFiltering:!1}]};a.gridOptions=l.gridOptions(m,b,a,{id:e.id,controller:"inputs"})},a.getProjectDetail=function(){a.projectDetail=[],m.query({id:e.id,controller:"questions",action:"detail"}).$promise.then(function(b){console.log(e.questionId),e.questionId?a.projectDetail.push(_.find(b,function(a){return a.question_id==parseInt(e.questionId)})):a.projectDetail=b,console.log(a.projectDetail)})["catch"](function(a){i.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.report",{url:"/report/:id",templateUrl:"app/jscripty/project/report/report.html",controller:"JscriptyProjectReportCtrl"}).state("main.jscripty.projects.report.sessions",{url:"/sessions",templateUrl:"app/jscripty/project/report/report.sessions.html"}).state("main.jscripty.projects.report.summary",{url:"/summary",templateUrl:"app/jscripty/project/report/report.summary.html"}).state("main.jscripty.projects.report.inputs",{url:"/inputs",templateUrl:"app/jscripty/project/report/report.inputs.html"}).state("main.jscripty.projects.report.detail",{url:"/detail",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.questionDetail",{url:"/detail/:questionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.detail.html"}).state("main.jscripty.projects.report.sessionDetail",{url:"/session/:sessionId",controller:"JscriptyProjectReportCtrl",templateUrl:"app/jscripty/project/report/report.session.detail.html"})}]),angular.module("xCallyShuttleApp").controller("JscriptyProjectViewCtrl",["$scope","$http","$state","$stateParams","socket","Auth","Modal","xAlert","$translate","$rootScope",function(a,b,c,d,e,f,g,h,i,j){a.jscriptyProject={},a.getProject=function(){b.get("/api/jscripty/projects/"+d.id).success(function(b){a.jscriptyProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!=a&&-1!=a.indexOf("Script error."));else{var d=new Image;d.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(e){}},b.token=f.getToken();var a=new EditorUi(new Editor);a.openString(b.draft,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}}),e.syncUpdates("jscripty_project",[b],function(a,c,d){c.id===b.id})})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.jscripty.projects.view",{url:"/view/:id",templateUrl:"app/jscripty/project/view/view.html",controller:"JscriptyProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/jscripty/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/jscripty/js/Editor.js","assets/plugins/jscripty/js/Graph.js","assets/plugins/jscripty/js/EditorUi.js","assets/plugins/jscripty/js/Actions.js","assets/plugins/jscripty/js/Menus.js","assets/plugins/jscripty/js/Sidebar.js","assets/plugins/jscripty/js/Toolbar.js","assets/plugins/jscripty/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LandingCtrl",["$scope","$location","$window","$timeout","Auth",function(a,b,c,d,e){a.initLanding=function(){var c,f,g;return(g=e.getCurrentUser().$promise)?g.then(function(e){switch(f=e,f.role){case"user":for(var g=0;g<f.Modules.length&&!(c=f.Modules[g].path);g++);break;case"admin":case"agent":c="/dashboard/voice"}c||(a.message="MESSAGE_NO_AVAILABLE_MODULES"),d(function(){b.path(c)},500)})["catch"](function(a){console.error(a),b.path("/login")}):void b.path("/login")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("landing",{url:"/landing",templateUrl:"app/landing/landing.html",controller:"LandingCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css","assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("LoginCtrl",["$scope","Auth","$location","$window","$rootScope",function(a,b,c,d,e){a.year=moment().year(),a.userLogin={},a.userSignUp={},a.loginSubmitted=!1,a.signupSubmitted=!1,a.errorLogin=!1,a.errorSignup=!1,a.errorLog="",a.flagLogin1=!1,a.toogleLogin=function(){a.flagLogin1=!a.flagLogin1},e.bodyLayout="login",a.$on("$viewContentLoaded",function(){Metronic.init(),Layout.init()}),a.login=function(d){a.loginSubmitted=!0,d.$valid?b.login({name:a.userLogin.name,password:a.userLogin.password,remember:a.userLogin.remember}).then(function(){c.path("/landing")})["catch"](function(b){a.errorLog=b.message||"error",a.errorLogin=!0}):a.errorLogin=!0},a.signup=function(c){a.signupSubmitted=!0,c.$valid?b.createUser({email:a.userSignUp.email,fullname:a.userSignUp.fullname,name:a.userSignUp.name,password:a.userSignUp.password,role:a.userSignUp.role,online:!0})["catch"](function(b){a.errorLog=b.message||"error",a.errorSignup=!0}):a.errorSignup=!0},a.loginOauth=function(a){d.location.href="/auth/"+a}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("login",{url:"/login",templateUrl:"app/login/login.html",controller:"LoginCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/login.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Action",["$resource",function(a){return a("/api/actions/:name/:controller",{name:"@name"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").directive("actionBuilderTemplate",["$compile","xAlert","$http","$timeout","Template","$translate",function(a,b,c,d,e,f){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderTemplate.html",compile:function(c,g){var h,i;return h=c.contents().remove(),function(c,g,j){function k(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=k(),d(function(){return e.get().$promise.then(function(a){c.templates=a.rows})["catch"](function(a){b.show(f.instant(a.message),"danger")})}),i||(i=a(h)),g.append(i(c,function(a){return a}))}}}}]).directive("actionBuilderIntegration",["$compile","xAlert","$http","$timeout","Integration","$translate","ZendeskAccount","DeskAccount","SalesforceAccount","FreshdeskAccount","SugarcrmAccount",function(a,b,c,d,e,f,g,h,i,j,k){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderIntegration.html",compile:function(c,l){var m,n;return m=c.contents().remove(),function(c,l,o){function p(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=p(),d(function(){return e.get({active:1}).$promise.then(function(a){c.integrations=a.rows,c.element.data1&&q()})["catch"](function(a){b.show(f.instant(a.message),"danger")})});var q=function(){var a;switch(c.element.data1){case"zendesk":a=g;break;case"desk":a=h;break;case"salesforce":a=i;break;case"freshdesk":a=j;break;case"sugarcrm":a=k}return a.get().$promise.then(function(a){c.accounts=a.rows,c.element.data2&&r()})["catch"](function(a){b.show(f.instant(a.message),"danger")})},r=function(){c.configurations=_.find(c.accounts,{id:Number(c.element.data2)}).Configurations};c.changeIntegration=function(){c.element.data2="",q()},c.changeAccount=function(){c.element.data3="",r()},n||(n=a(m)),l.append(n(c,function(a){return a}))}}}}]).directive("actionBuilderStatus",["$compile","xAlert","$http","$timeout","$translate",function(a,b,c,d,e){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderStatus.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){function g(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}b.randomName=g(),b.states=[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]).directive("actionBuilderJscripty",["$compile","xAlert","$http","$timeout","Template","$translate","JscriptyProject",function(a,b,c,d,e,f,g){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderJscripty.html",compile:function(c,e){var h,i;return h=c.contents().remove(),function(c,e,j){function k(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=k(),console.log(c.randomName),d(function(){return g.get().$promise.then(function(a){console.log(a),c.projects=a.rows})["catch"](function(a){b.show(f.instant(a.message),"danger")})}),i||(i=a(h)),e.append(i(c,function(a){return a}))}}}}]).directive("actionBuilderMotionBar",["$compile","xAlert","$http","$timeout","Template","$translate",function(a,b,c,d,e,f){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderMotionBar.html",compile:function(c,g){var h,i;return h=c.contents().remove(),function(c,g,j){function k(){return e.get().$promise.then(function(a){c.templates=a.rows})["catch"](function(a){b.show(f.instant(a.message),"danger")})}function l(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}c.randomName=l(),console.log(c.randomName),c.motionActions=[{name:"Popup",value:"0"},{name:"URL",value:"1"},{name:"Windows App",value:"2"}],c.changeMode=function(){c.element.data2="",c.element.data3="",k()},d(function(){return k()}),i||(i=a(h)),g.append(i(c,function(a){return a}))}}}}]).directive("actionBuilderUrlForward",["$compile","xAlert","$http","$timeout","$translate",function(a,b,c,d,e){return{restrict:"E",scope:{element:"=",form:"="},templateUrl:"app/main/template/actionBuilder/template.actionBuilderUrlForward.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){function g(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}b.randomName=g(),b.types=[{name:"HTTP GET",value:"GET"},{name:"HTTP POST",value:"POST"}],e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]),angular.module("xCallyShuttleApp").factory("Ami",["$resource",function(a){return a("/api/ami/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("ChooseContactModalCtrl",["$scope","$uibModalInstance","data","xAlert","$translate","Contact",function(a,b,c,d,e,f){function g(){return f.get({id:c.eventId,controller:"checkevent"}).$promise.then(function(b){a.contacts=b.rows})["catch"](function(a){d.show(e.instant(a.message)+"!","danger")})}function h(){return delete c.type,f.get(c).$promise.then(function(b){a.contacts=b.rows})["catch"](function(a){d.show(e.instant(a.message)+"!","danger")})}a.open=function(a){b.close(a)},a.getContacts=function(){switch(c.type){case"event":g();break;case"detail":h();break;default:b.dismiss("cancel")}},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("CloseEditedTabModalCtrl",["$scope","$uibModalInstance",function(a,b){a.close=function(){b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("CloseEditedTabModalJscriptyCtrl",["$scope","$uibModalInstance","project","JscriptyProject","xAlert",function(a,b,c,d,e){a.init=function(){a.project=c},a.close=function(){d.update({id:a.project.projectId,controller:"sessions",action:a.project.sessionId},{status:"incomplete",completedAt:Date(),last_question_id:a.project.lastQuestionId}).$promise.then(function(a){e.show("Project Ended","success")}),b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("ContactManagerSetDisposition",["$scope","$uibModalInstance","VoiceDisposition",function(a,b,c){a.initDisposition=function(){return c.get().$promise.then(function(b){a.dispositions=b.rows})["catch"](function(a){console.error(a)})},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss()}}]),angular.module("xCallyShuttleApp").controller("customGridDateFilterModalCtrl",["$scope","$rootScope","$log","$uibModalInstance","term",function(a,b,c,d,e){e&&(a.filterDate=moment(e)),a.setFilterDate=function(a){d.close(a)},a.cancelDateFilter=function(){d.dismiss()}}]),angular.module("xCallyShuttleApp").controller("customGridTagsModalCtrl",["$scope","$rootScope","$log","$uibModalInstance","term","Tag","xAlert",function(a,b,c,d,e,f,g){a.initModal=function(){return a.item={},f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name"),a.item.myTags=e})["catch"](function(a){console.log("error retrieving tags"),g.error(a),d.dismiss()})},a.setFilterTags=function(){d.close(a.item.myTags)},a.cancelTagsFilter=function(){d.dismiss()}}]),angular.module("xCallyShuttleApp").factory("templateVariable",["$translate",function(a){return[{id:"voice",label:a.instant("APPLICATION_VOICE"),title:a.instant("APPLICATION_VOICE"),groups:[{label:a.instant("APPLICATION_QUEUE"),values:[{value:"{{uniqueid}}",label:a.instant("APPLICATION_UNIQUEID"),description:a.instant("APPLICATION_UNIQUEID")},{value:"{{calleridnum}}",label:a.instant("APPLICATION_CALLERIDNUM"),description:a.instant("APPLICATION_CALLERIDNUM")},{value:"{{calleridname}}",label:a.instant("APPLICATION_CALLERIDNAME"),description:a.instant("APPLICATION_CALLERIDNAME")},{value:"{{queue}}",label:a.instant("APPLICATION_QUEUE"),description:a.instant("APPLICATION_QUEUE")},{value:"{{interface}}",label:a.instant("APPLICATION_INTERFACE"),description:a.instant("APPLICATION_INTERFACE")},{value:"{{membername}}",label:a.instant("APPLICATION_MEMBERNAME"),description:a.instant("APPLICATION_MEMBERNAME")},{value:"{{holdtime}}",label:a.instant("APPLICATION_HOLDTIME"),description:a.instant("APPLICATION_HOLDTIME")},{value:"{{talktime}}",label:a.instant("APPLICATION_TALKTIME"),description:a.instant("APPLICATION_TALKTIME")},{value:"{{connectedlinenum}}",label:a.instant("APPLICATION_CONNECTEDLINENUM"),description:a.instant("APPLICATION_CONNECTEDLINENUM")},{value:"{{connectedlinename}}",label:a.instant("APPLICATION_CONNECTEDLINENAME"),description:a.instant("APPLICATION_CONNECTEDLINENAME")},{value:"{{agentconnectAt}}",label:a.instant("APPLICATION_CONNECTED_AT"),description:a.instant("APPLICATION_CONNECTED_AT")},{value:"{{agentcalledAt}}",label:a.instant("APPLICATION_CALLED_AT"),description:a.instant("APPLICATION_CALLED_AT")},{value:"{{agentcompleteAt}}",label:a.instant("APPLICATION_COMPLETED_AT"),description:a.instant("APPLICATION_AGENT_CALLED_AT")},{value:"{{reason}}",label:a.instant("APPLICATION_REASON"),description:a.instant("APPLICATION_REASON")},{value:"{{lastevent}}",label:a.instant("APPLICATION_LAST_EVENT"),description:a.instant("APPLICATION_LAST_EVENT")},{value:"{{channel}}",label:a.instant("APPLICATION_CHANNEL"),description:a.instant("APPLICATION_CHANNEL")}]}]},{id:"chat",label:a.instant("APPLICATION_CHAT"),title:a.instant("APPLICATION_CHAT"),groups:[{label:a.instant("APPLICATION_VARIABLES"),values:[{value:"{{username}}",label:a.instant("APPLICATION_USERNAME"),description:a.instant("APPLICATION_USERNAME")},{value:"{{email}}",label:a.instant("APPLICATION_MAIL"),description:a.instant("APPLICATION_MAIL")},{value:"{{text}}",label:a.instant("APPLICATION_TEXT"),description:a.instant("APPLICATION_TEXT")},{value:"{{chatWebsite}}",label:a.instant("APPLICATION_WEBSITE"),description:a.instant("APPLICATION_WEBSITE")}]}]},{id:"mail",label:a.instant("APPLICATION_MAIL"),title:a.instant("APPLICATION_MAIL"),groups:[{label:a.instant("APPLICATION_INTERACTION"),values:[{value:"{{interactionId}}",label:a.instant("APPLICATION_INTERACTION_ID"),description:a.instant("APPLICATION_INTERACTION_ID")},{value:"{{subject}}",label:a.instant("APPLICATION_SUBJECT"),description:a.instant("APPLICATION_SUBJECT")},{value:"{{{body}}}",label:a.instant("APPLICATION_MESSAGE"),description:a.instant("APPLICATION_MESSAGE")},{value:"{{accountName}}",label:a.instant("APPLICATION_ACCOUNT"),description:a.instant("APPLICATION_ACCOUNT")},{value:"{{from}}",label:"From",description:"From"},{value:"{{to}}",label:"To",description:"To"},{value:"{{cc}}",label:"Cc",description:"Cc"},{value:"{{agentName}}",label:a.instant("APPLICATION_AGENT_NAME"),description:a.instant("APPLICATION_AGENT_NAME")},{value:"{{agentEmail}}",label:a.instant("APPLICATION_AGENT_EMAIL"),description:a.instant("APPLICATION_AGENT_EMAIL")},{value:"{{createdAt}}",label:a.instant("APPLICATION_CREATED_AT"),description:a.instant("APPLICATION_CREATED_AT")}]}]}]}]),angular.module("xCallyShuttleApp").controller("gridDatePickerFilterCtrl",["$scope","$timeout","$uibModal","uiGridConstants",function(a,b,c,d){b(function(){a.col.colDef.name;a.openDatePicker=function(b){var d=c.open({templateUrl:"app/main/customDateFilter.modal.html",controller:"customGridDateFilterModalCtrl",size:"md",windowClass:"custom-date-filter-modal",resolve:{term:[function(){return b.term||null}]}});d.result.then(function(b){console.log("date",b),a.colFilter.listTerm=[],console.log(typeof b),console.log(b instanceof Date),a.colFilter.term=moment(b).format("YYYY-MM-DD"),console.log(a.colFilter)})}})}]),angular.module("xCallyShuttleApp").factory("gridOptions",["Modal","xAlert","$translate","$interval","$q","usSpinnerService",function(a,b,c,d,e,f){return{gridOptions:function(d,g,h,i,j,k,l){function m(a,b){a.filter&&a.filter.term&&b&&(o[a.name]=a.filter.term),a.filters&&(a.filters.length>1?a.filters.forEach(function(b){b.term?64===b.condition?o[a.name+"_uiFrom"]=b.term:256===b.condition&&(o[a.name+"_uiTo"]=b.term):64===b.condition?delete o[a.name+"_uiFrom"]:256===b.condition&&delete o[a.name+"_uiTo"]}):a.filters.length&&a.filters[0].term?o[a.name]=a.filters[0].term:delete o[a.name])}h.id=[];var n=k?"gridOptions"+k:"gridOptions",o={offset:0,limit:10};g.draggable&&(g.rowTemplate='<div grid="grid" class="ui-grid-draggable-row" draggable="true"><div ng-repeat="(colRenderIndex, col) in colContainer.renderedColumns track by col.colDef.name" class="ui-grid-cell" ng-class="{ \'ui-grid-row-header-cell\': col.isRowHeader, \'custom\': true }" ui-grid-cell></div></div>',g.useExternalPagination=!1, +g.enablePaginationControls=!1,g.showGridFooter=!1);var p=function(a){var b=a?30*a+120:177,c=angular.element(document.getElementsByName(n)).length?angular.element(document.getElementsByName(n)[0]):angular.element(document.getElementsByClassName("ui-grid")[0]);c.css("height",b+"px")},q=function(a,b){return h[n].enablePaginationControls||(delete o.offset,delete o.limit),f.spin("spinner-grid"),i=a||i,d=b||d,d.get(i?_.merge(o,i):o).$promise.then(function(a){h[n].totalItems=a.count,h[n].data=a.rows,p(a.rows.length),l&&l()})["catch"](function(a){console.error(a)})["finally"](function(){f.stop("spinner-grid")})};return h.deleteItem=a.confirm["delete"](function(a){var e=i?angular.copy(i):{};return _.merge(e,{id:a}),d.remove(e).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),h.deleteItems=a.confirm["delete"](function(){var a=i?angular.copy(i):{};return _.merge(a,{ids:h.id}),d["delete"](a).$promise.then(function(){q(),b.show(c.instant("MESSAGE_WELL_DONE")+"!","success"),h.gridApi.selection.clearSelectedRows(),h.id=[]})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}),g.columnDefs.forEach(function(a){m(a,!0),a.hasOwnProperty("displayName")||(a.displayName="APPLICATION_"+a.name.toUpperCase()),a.headerCellFilter="translate",a.hasOwnProperty("buttons")&&(a.displayName="",a.cellClass="ui-grid-vcenter",a.enableSorting=!1,a.enableFiltering=!1,a.enableColumnMenu=!1,a.cellTemplate="<div>",a.buttons.forEach(function(b){if(b.directive)a.cellTemplate+=b.directive;else{if(a.cellTemplate+="<a",a.cellTemplate+=b.hide?' data-ng-hide="'+b.hide+'" ':" ",a.cellTemplate+=b["class"]?' class="btn btn-xs '+b["class"]+'" ':" ",a.cellTemplate+=b.href?' data-ng-href="'+b.href+'" ':" ",a.cellTemplate+=b.uisref?' ui-sref="'+b.uisref+'" ':" ",a.cellTemplate+=b.onClick?' data-ng-click="'+b.onClick+'" ':" ",a.cellTemplate+=b.title?' title="'+b.title+'"':"",a.cellTemplate+=">",a.cellTemplate+=b.icon?'<i class="'+b.icon+'"></i>':"",b.name)switch(b.name){case"delete":a.cellTemplate+='<i class="fa fa-trash"></i>';break;case"profile":case"settings":case"detail":case"embedding":a.cellTemplate+='<i class="icon-settings"></i>';break;case"agents":a.cellTemplate+='<i class="icon-people"></i>';break;case"run":a.cellTemplate+='<i class="fa fa-cogs"></i>';break;case"mailRoom":a.cellTemplate+='<i class="fa fa-envelope"></i>';break;case"chatRoom":a.cellTemplate+='<i class="fa fa-users"></i>';break;case"faxRoom":a.cellTemplate+='<i class="icon-paper-plane"></i>';break;case"smsRoom":a.cellTemplate+='<i class="glyphicon glyphicon-comment"></i>';break;case"check":a.cellTemplate+='<i class="fa fa-check"></i>';break;default:a.cellTemplate+="{{'APPLICATION_"+b.name.toUpperCase()+"' | translate}}"}else a.cellTemplate+=b.displayName?"{{'"+b.displayName+"' | translate}}":"";a.cellTemplate+="</a> "}}),a.cellTemplate+="<div>",delete a.buttons)}),_.merge({enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableRowSelection:!0,enableSelectAll:!0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,multiSelect:!0,getPage:q,gridMenuTitleFilter:function(a){var b=e.defer();return b.resolve(c.instant(a)),b.promise},onRegisterApi:function(a){h.gridApi=a,h.gridApi.selection&&(h.gridApi.selection.on.rowSelectionChanged(h,function(a){a.isSelected?h.id.push(h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id):_.pull(h.id,h.gridApi.grid.options.primaryKey?a.entity[h.gridApi.grid.options.primaryKey]:a.entity.id)}),h.gridApi.selection.on.rowSelectionChangedBatch(h,function(a){a[0].isSelected?h.id=_.union(h.id,_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id")):_.map(a,h.gridApi.grid.options.primaryKey?"entity."+h.gridApi.grid.options.primaryKey:"entity.id").forEach(function(a){_.pull(h.id,a)})})),h.gridApi.core.on.sortChanged(h,function(a,b){0===b.length?o.order=null:o.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),q()});for(var e=0;e<h.gridOptions.columnDefs.length;e++)if(h.gridOptions.columnDefs[e].hasOwnProperty("sort")){o.order=h.gridOptions.columnDefs[e].name+" "+h.gridOptions.columnDefs[e].sort.direction.toUpperCase();break}h.gridApi.pagination.on.paginationChanged(h,function(a,b){o.offset=(a-1)*b,o.limit=b,q()}),h.gridApi.core.on.filterChanged(h,function(){var a=this.grid;a.columns.forEach(function(a){m(a)}),q()}),h.gridApi.draggableRows&&h.gridApi.draggableRows.on.rowDropped(h,function(a){a.fromIndex!==a.toIndex&&d.update(i,h[n].data).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){b.show(a.message,"danger")})}),j||q()}},g)}}}]),angular.module("xCallyShuttleApp").controller("gridTagsFilterCtrl",["$scope","$timeout","$uibModal","uiGridConstants",function(a,b,c,d){b(function(){a.col.colDef.name;a.openTags=function(b){var d=c.open({templateUrl:"app/main/customTagsFilter.modal.html",controller:"customGridTagsModalCtrl",size:"md",resolve:{term:[function(){if(b.term){var a=b.term.split(";");return a.pop(),a}return[]}]}});d.result.then(function(b){a.colFilter.listTerm=[],b.length&&(a.colFilter.term=b.join(";")+";")})}})}]),angular.module("xCallyShuttleApp").controller("MainCtrl",["$scope","$rootScope","$translate","$timeout","socket","Auth","xAlert","$uibModal","$log","$state","Contact","$window",function(a,b,c,d,e,f,g,h,i,j,k,l){a.awesomeThings=[],b.workspaces=[],a.select=function(a){switch(a.type){case"chatRoom":case"mailRoom":case"faxRoom":a.unread=0}},a.deselect=function(){},a.isAdmin=f.isAdmin,a.isLoggedIn=f.isLoggedIn,a.getCurrentUser=f.getCurrentUser,a.CurrentUser=f.getCurrentUser(),e.socket.on("user_has_voice_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_chat_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_mail_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_fax_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),e.socket.on("user_has_sms_queue_permit:change",function(){a.CurrentUser=f.getCurrentUser()}),a.mainTab={active:!0},a.closeJscriptyTab=function(a){if(b.workspaces[a].edited){var c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.jscripty.html",controller:"CloseEditedTabModalJscriptyCtrl",resolve:{project:b.workspaces[a]}});c.result.then(function(){b.workspaces.splice(a,1)})}else b.workspaces.splice(a,1)},a.closeTab=function(a){var c;b.workspaces[a].edited?"jscripty"===b.workspaces[a].type?b.workspaces[a].end():(c=h.open({animation:!0,templateUrl:"app/main/closeEditedTab.modal.html",controller:"CloseEditedTabModalCtrl"}),c.result.then(function(){b.workspaces.splice(a,1)},function(){i.info("Modal dismissed at: "+new Date)})):b.workspaces.splice(a,1)},a.createContact=function(d,e){return e.CompanyId||delete e.CompanyId,k.save(e).$promise.then(function(e){b.workspaces.splice(d,1);var f=e.firstName;e.lastName&&(f+=" "+e.lastName),a.openContactTab({firstName:e.firstName,lastName:e.lastName,id:e.id}),g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(a.message,"danger")})};var m=function(b){var c=h.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{data:function(){return{type:"event",eventId:b.id}}}});c.result.then(function(c){c?a.openContactTab(c,b):a.newContact(b)},function(){i.info("Modal dismissed at: "+new Date)})};a.updateContact=function(a,d){var e=angular.copy(d);return e.CompanyId||(e.CompanyId=null),k.update({id:e.id},e).$promise.then(function(){b.workspaces[a].edited=!1,g.show(c.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.show(c.instant(a.message)+"!","danger")})},e.socket.on("report_integration:contactmanager",function(a){console.log("choosecontact"),m(a)}),e.socket.on("report_integration:jscripty",function(b){a.openJscriptyTab({name:"Jscripty",id:b.projectId,calleridnum:b.calleridnum,calleridname:b.calleridname,queue:b.queue,membername:b.membername})}),e.socket.on("report_integration:salesforce",function(a){l.open(a.url,"_blank")}),a.openContactTab=function(a,c){var d=_.find(b.workspaces,{contactID:a.id});if(d)d.active=!0;else{var e=a.firstName;a.lastName&&(e+=" "+a.lastName),b.workspaces.push({name:e,type:"contact",contactID:a.id,"class":"icon-user",active:!0,data:c||null})}},a.openJscriptyTab=function(a){b.workspaces.push({name:a.name,type:"jscripty",active:!0,data:a})},a.newContact=function(a){b.workspaces.push({name:"New Contact",type:"newContact","class":"icon-user",active:!0,data:a||null})},a.$on("$viewContentLoaded",function(){Metronic.init()}),b.language=c.use(),a.changeLanguage=function(a){return c.use(a).then(function(a){b.language=a,-1!==["main.jscripty.projects.view","main.square.projects.view"].indexOf(j.current.name)&&l.location.reload()})["catch"](function(a){console.error(a)})},a.$on("$destroy",function(){console.log("main $destroy"),e.unsyncUpdates("user_has_voice_queue_permit"),e.unsyncUpdates("user_has_chat_queue_permit"),e.unsyncUpdates("user_has_mail_queue_permit"),e.unsyncUpdates("user_has_fax_queue_permit"),e.unsyncUpdates("user_has_sms_queue_permit")})}]),angular.module("xCallyShuttleApp").directive("ngSpinnerBar",["$rootScope",function(a){return{link:function(b,c){c.addClass("hide"),a.$on("$stateChangeStart",function(){"spinner-page"===c[0].id&&c.removeClass("hide")}),a.$on("$stateChangeSuccess",function(){"spinner-page"===c[0].id&&(c.addClass("hide"),$("body").removeClass("page-on-load"),Layout.setSidebarMenuActiveLink("match"),setTimeout(function(){Metronic.scrollTop()},1e3))}),a.$on("$spinnerStart",function(){"spinner-request"===c[0].id&&c.removeClass("hide")}),a.$on("$spinnerStop",function(){"spinner-request"===c[0].id&&c.addClass("hide")}),a.$on("$stateNotFound",function(){"spinner-page"===c[0].id&&c.addClass("hide")}),a.$on("$stateChangeError",function(){"spinner-page"===c[0].id&&c.addClass("hide")})}}}]).directive("a",function(){return{restrict:"E",link:function(a,b,c){(c.ngClick||""===c.href||"#"===c.href)&&b.on("click",function(a){a.preventDefault()})}}}).directive("nxEqual",function(){return{require:"ngModel",link:function(a,b,c,d){return c.nxEqual?(a.$watch(c.nxEqual,function(a){d.$setValidity("nxEqual",a===d.$viewValue)}),void d.$parsers.push(function(b){var e=b===a.$eval(c.nxEqual);return d.$setValidity("nxEqual",e),e?b:void 0})):void console.error("nxEqual expects a model as an argument!")}}}).directive("ngEnter",function(){return function(a,b,c){b.bind("keydown keypress",function(b){13===b.which&&(a.$apply(function(){a.$eval(c.ngEnter)}),b.preventDefault())})}}).directive("dropdownMenuHover",function(){return{link:function(a,b){b.dropdownHover()}}}).directive("uiSelectRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.uiSelectRequired=function(a){return a&&a.length}}}}).directive("rpattern",function(){return{restrict:"A",require:"ngModel",link:function(a,b,c,d){function e(a,b){return null==b||""===b||!h||a.test(b)?(d.$setValidity("pattern",!0),b):void d.$setValidity("pattern",!1)}var f,g=c.rpattern,h=!0;g&&(g.match(/^\/(.*)\/$/)?(g=new RegExp(g.substr(1,g.length-2)),f=function(a){return e(g,a)}):f=function(b){var c=a.$eval(g);if(!c||!c.test)throw new Error("Expected "+g+" to be a RegExp but was "+c);return e(c,b)}),d.$formatters.push(f),d.$parsers.push(f),c.$observe("required",function(a){h=a,f(d.$viewValue)})}}}).directive("conditionBuilder",["$compile","xAlert","$timeout",function(a,b,c){return{restrict:"E",scope:{element:"=",serviceindex:"=",service:"=",form:"="},templateUrl:"app/main/template/template.conditionBuilder.html",compile:function(d,e){var f,g;return f=d.contents().remove(),function(d,e,h){function i(a){var c=_.find(d.service.services[d.serviceindex].conditions,{value:a});if(c)if(d.elementType=c.type,c.arr)d.values=c.arr;else if(c.resource)return c.resource.get(c.params||{}).$promise.then(function(a){d.values=_.map(a.rows,function(a){return{name:a[c.resName||c.resValue],value:a[c.resValue]}})})["catch"](function(a){b.show($translate.instant(a.message),"danger")})}function j(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")}d._=_,d.randomName=j(),c(function(){d.element.field&&i(d.element.field)}),d.checkCondition=function(a){d.element.value="",d.element.operator="",i(a)},g||(g=a(f)),e.append(g(d,function(a){return a}))}}}}]).directive("newContact",["$compile","xAlert","socket","$translate","$timeout","List","Tag","Company","ReportCall","$uibModal","$rootScope",function(a,b,c,d,e,f,g,h,i,j,k){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,l){return function(a,l,m){function n(){a.$watch("contact",function(b,c){angular.equals(b,c)||(a.workspace.edited=!0)},!0)}a.license=k.license,a.forms={general:{}},a.firstLoad=!0,a.detail={tab:"main"},a.contact={CompanyId:"",disposed:!1},a.submitButtonLabel=d.instant("APPLICATION_CONFIRM"),a.dispose=function(){return j.open({animation:!0,templateUrl:"app/main/cm.disposition.html",controller:"ContactManagerSetDisposition"}).result.then(function(c){return i.update({id:a.workspace.data.uniqueid},c).$promise.then(function(){a.contact.disposed=!0,b.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.error(a)})})},a.init=function(){a.workspace.data&&(a.contact.firstName=a.workspace.data.calleridname?a.workspace.data.calleridname:a.workspace.data.messageId?a.workspace.data.messageId:a.workspace.data.uniqueid?a.workspace.data.uniqueid:"",a.workspace.data.calleridnum&&(a.contact.phone=a.workspace.data.calleridnum),a.workspace.data.from&&(a.contact.email=a.workspace.data.from)),a.getTags(),a.getCompanies(),a.getLists()},a.getLists=function(){return f.get().$promise.then(function(b){a.lists=b.rows,c.syncUpdates("list",a.lists),a.contact.ListId=a.lists[0]?a.lists[0].id:null,a.getCustomFields()})["catch"](function(a){b.show(d.instant(a.message)+"!","danger")})},a.getCustomFields=function(){return f.get({listId:a.contact.ListId,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===a.contact.ListId){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}}),!a.firstLoad||a.workspace.data?(a.workspace.edited=!0,a.firstLoad=!1):(a.firstLoad=!1,n())})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return g.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return h.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},e(function(){a.init()})}}}}]).directive("contact",["$compile","xAlert","socket","$timeout","List","Tag","Company","Contact","$translate","gridOptions","$uibModal","ReportCall","$rootScope","usSpinnerService","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.contactTab.html",compile:function(a,j){return function(a,j,p){function q(b){var c=[],d={};_.forEach(a.columns[a.log[b].show][a.log[b].detail].indexes,function(e,f){d={name:e,displayName:a.columns[a.log[b].show][a.log[b].detail].header[f],headerCellFilter:"translate",enableSorting:!1,enableColumnMenu:!1},"createdAt"===e&&(d.cellTemplate="<div class=\"centered-uigrid-td\">{{row.entity.createdAt | date:'dd/MM/yyyy HH:mm:ss'}}</div>",d.filterHeaderTemplate='<div class="ui-grid-filter-container row"><div ng-repeat="colFilter in col.filters" class="col-md-6 col-md-offset-0 col-sm-5 col-sm-offset-0 col-xs-5 col-xs-offset-0"><div custom-grid-date-filter-header></div></div></div>',d.filters=[{name:"From",condition:o.filter.GREATER_THAN_OR_EQUAL},{name:"To",condition:o.filter.LESS_THAN_OR_EQUAL}]),c.push(d)}),a.columns[a.log[b].show][a.log[b].detail].actions&&c.push(a.columns[a.log[b].show][a.log[b].detail].actions),c.forEach(function(a){r(a,b,!0),a.hasOwnProperty("displayName")||(a.displayName="APPLICATION_"+a.name.toUpperCase()),a.headerCellFilter="translate",a.hasOwnProperty("buttons")&&(a.displayName="",a.cellClass="ui-grid-vcenter",a.enableSorting=!1,a.enableFiltering=!1,a.enableColumnMenu=!1,a.cellTemplate="<div>",a.buttons.forEach(function(b){if(b.directive)a.cellTemplate+=b.directive;else{if(a.cellTemplate+="<a",a.cellTemplate+=b.hide?' data-ng-hide="'+b.hide+'" ':" ",a.cellTemplate+=b["class"]?' class="btn btn-xs '+b["class"]+'" ':" ",a.cellTemplate+=b.href?' data-ng-href="'+b.href+'" ':" ",a.cellTemplate+=b.uisref?' ui-sref="'+b.uisref+'" ':" ",a.cellTemplate+=b.onClick?' data-ng-click="'+b.onClick+'" ':" ",a.cellTemplate+=b.title?' title="'+b.title+'"':"",a.cellTemplate+=">",a.cellTemplate+=b.icon?'<i class="'+b.icon+'"></i>':"",b.name)switch(b.name){case"delete":a.cellTemplate+='<i class="fa fa-trash"></i>';break;case"profile":case"settings":case"detail":case"embedding":a.cellTemplate+='<i class="icon-settings"></i>';break;case"agents":a.cellTemplate+='<i class="icon-people"></i>';break;case"run":a.cellTemplate+='<i class="fa fa-cogs"></i>';break;case"mailRoom":a.cellTemplate+='<i class="fa fa-envelope"></i>';break;case"chatRoom":a.cellTemplate+='<i class="fa fa-users"></i>';break;case"faxRoom":a.cellTemplate+='<i class="icon-paper-plane"></i>';break;case"smsRoom":a.cellTemplate+='<i class="glyphicon glyphicon-comment"></i>';break;default:a.cellTemplate+="{{'APPLICATION_"+b.name.toUpperCase()+"' | translate}}"}else a.cellTemplate+=b.displayName?"{{'"+b.displayName+"' | translate}}":"";a.cellTemplate+="</a> "}}),a.cellTemplate+="<div>",delete a.buttons)});var e={enablePaginationControls:!0,exporterCsvFilename:b+".csv",columnDefs:c,enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:10,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,data:[],gridMenuTitleFilter:function(a){var b=$q.defer();return b.resolve(i.instant(a)),b.promise},onRegisterApi:function(c){a.gridApi=c,a.gridApi.grid.registerDataChangeCallback(function(){}),a.gridApi.core.on.sortChanged(a,function(a,c){0===c.length?s.order=null:s.order=c[0].name+" "+c[0].sort.direction.toUpperCase(),t(b)}),a.gridApi.pagination.on.paginationChanged(a,function(a,c){s.offset=(a-1)*c,s.limit=c,t(b)}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){r(a,b)}),t(b)})}};t(b,e)}function r(a,b,c){a.filter&&a.filter.term&&c&&(s[b][a.name]=a.filter.term),a.filters&&(a.filters.length>1?a.filters.forEach(function(c){c.term?64===c.condition?s[b][a.name+"_uiFrom"]=c.term:256===c.condition&&(s[b][a.name+"_uiTo"]=c.term):64===c.condition?delete s[b][a.name+"_uiFrom"]:256===c.condition&&delete s[b][a.name+"_uiTo"]}):a.filters.length&&a.filters[0].term?s[b][a.name]=a.filters[0].term:delete s[b][a.name])}a.moment=moment,a.license=m.license,a.submitButtonLabel=i.instant("APPLICATION_UPDATE"),a.forms={general:{}},a.detail={tab:"main"},a.log={daily:{show:"phone",type:"inbound",detail:"general"},history:{show:"phone",type:"inbound",detail:"general"}},a.columns={phone:{general:{header:["APPLICATION_SOURCE","APPLICATION_DESTINATION","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["source","destination","disposition","createdAt"]},queue:{header:["APPLICATION_CALLERID","APPLICATION_QUEUE","APPLICATION_DATE"],indexes:["calleridnum","queue","createdAt"]}},email:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","accountaddress","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"mailRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'mailRoom')"}]}}},chat:{general:{header:["APPLICATION_WEBSITE","APPLICATION_VISITOR","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["websitename","visitoremail","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"chatRoom",onClick:"grid.appScope.openRoom(row.entity.roomid, 'chatRoom')"}]}}},fax:{general:{header:["APPLICATION_FROM","APPLICATION_TO","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","account","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"faxRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'faxRoom')"}]}}},sms:{general:{header:["APPLICATION_FROM","APPLICATION_DISPOSITION","APPLICATION_DATE"],indexes:["from","disposition","createdAt"],actions:{name:"action",displayName:"",width:40,buttons:[{"class":"green",name:"smsRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'smsRoom')"}]}}}},a.dispose=function(){return k.open({animation:!0,templateUrl:"app/main/cm.disposition.html",controller:"ContactManagerSetDisposition"}).result.then(function(c){return l.update({id:a.workspace.data.uniqueid},c).$promise.then(function(){a.contact.disposed=!0,b.show(i.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){b.show(a.data.message,"danger")})})},a.companyInfo=function(b){k.open({animation:!0,size:"lg",templateUrl:"app/main/company.info.html",controller:["$scope","$uibModalInstance","company",function(a,b,c){a.company=c,a.close=function(){b.dismiss("cancel")}}],resolve:{company:_.find(a.companies,{id:b})}})},a.updateLog=function(b,c,d,e){c&&(a.log[b].show=c),d&&(a.log[b].detail=d),e&&(a.log[b].type=e),q(b)},a.openRoom=function(a,b,c){var d=_.find(m.workspaces,{id:a,type:b});if(d)d.active=!0;else{var e;switch(b){case"mailRoom":e="icon-envelope";break;case"chatRoom":e="fa fa-users";break;case"faxRoom":e="icon-paper-plane";break;case"smsRoom":e="glyphicon glyphicon-comment"}m.workspaces.push({id:a,type:b,"class":e,active:!0,data:c})}};var s={daily:{offset:0,limit:10},history:{offset:0,limit:10}},t=function(b,c){return n.spin("spinner-grid"),h.get(_.merge(_.merge({id:a.workspace.contactID,controller:"log",logType:b,order:"createdAt DESC"},a.log[b]),s[b])).$promise.then(function(d){c&&(a["gridOptions"+b]=c),a["gridOptions"+b].totalItems=d.count,a["gridOptions"+b].data=d.rows,u("gridOptions"+b,d.rows.length)})["catch"](function(a){console.error(a)})["finally"](function(){n.stop("spinner-grid")})},u=function(a,b){var c=b?30*b+120:177;angular.element(document.getElementsByName(a)[0]).css("height",c+"px")};a.getContact=function(){return h.get({id:a.workspace.contactID}).$promise.then(function(b){a.contact=b,a.contact.CompanyId||(a.contact.CompanyId=""),a.getCustomFields(b.ListId),a.updateLog("daily"),a.updateLog("history")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getTags=function(){return f.get().$promise.then(function(b){a.tags=_.map(b.rows,"name")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCompanies=function(){return g.get().$promise.then(function(b){a.companies=b.rows,a.companies.unshift({id:"",name:"-- None --"}),c.syncUpdates("company",a.companies)})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},a.getCustomFields=function(d){return e.get({listId:d,controller:"customfields"}).$promise.then(function(b){a.customFields=b.rows,a.customFields.forEach(function(a){a.values=JSON.parse(a.values)}),c.socket.on("custom_field:remove",function(b){_.remove(a.customFields,function(a){return b.id==a.id})}),c.socket.on("custom_field:save",function(b){if(b.ListId===d){var c=_.find(a.customFields,{id:b.id});c||("string"==typeof b.values&&(b.values=JSON.parse(b.values)),a.customFields.push(b))}})})["catch"](function(a){console.error(a),b.show(a.message,"danger")})},d(function(){a.getTags(),a.getCompanies(),a.getContact()})}}}}]).directive("jscripty",["$compile","xAlert","$http","socket","JscriptyProject",function(a,b,c,d,e){return{restrict:"E",scope:{workspace:"=",index:"=",submit:"&onSubmit"},templateUrl:"app/main/template/template.jscriptyTab.html",compile:function(a,d){return function(a,d,f){a.count=0,a.questions=[];var g,h=a.workspace.data.id;c.get("/api/jscripty/projects/"+h+"/download").success(function(b){b?c.post("/api/jscripty/projects/"+h+"/sessions",{projectId:h,status:"started",queue:a.workspace.data.queue,calleridnum:a.workspace.data.calleridnum,callername:a.workspace.data.callername,membername:a.workspace.data.membername}).success(function(c){g=c.session_id,a.workspace.edited=!0,a.workspace.sessionId=g,a.workspace.projectId=h;var d=mxUtils.parseXml(b),e=new mxCodec(d);a.decObj=e.decode(d.documentElement);var f=_.find(a.decObj.cells,function(a){return a.vertex&&"start"==a.value.nodeName});if("OFF"==f.getAttribute("state")){var j=_.find(f.edges,function(a){return a.source.id==f.id}).target;a.questions[a.count]=a.currentQuestion=i(j)}else a.questions[a.count]=a.currentQuestion=f;a.saveQuestions()}):(console.log("No project published!"),alert("No project published!"),a.submit({index:a.index}))}),a.next=function(b,c){switch(a.currentQuestion.answer&&a.currentQuestion.answer!=c&&(a.questions=_.take(a.questions,a.count+1)),a.currentQuestion.answer=c,b.value.nodeName){case"question":b=i(b)}a.questions[a.count]=a.currentQuestion,a.currentQuestion=b,a.count++,a.questions[a.count]=b,a.saveQuestions()};var i=function(a){var b=[];return a.options=[],_.forEach(a.edges,function(c,d){if(c.source.id==a.id&&c.value){var e=String(c.value).split(",");e.length>1?(_.forEach(e,function(b,d){var e=Object.create(c);e.setValue(b),a.edges.push(e),a.options.push(b)}),b.push(c)):a.options.push(e[0])}}),_.forEach(b,function(b){_.remove(a.edges,function(a){return a.value==b.value&&a.id==b.id})}),a};a.end=function(){a.saveQuestions(),a.workspace.lastQuestionId=a.questions[a.questions.length-1].id,"end"==a.questions[a.questions.length-1].value.nodeName&&(a.workspace.edited=!1,e.update({id:h,controller:"sessions",action:g},{status:"completed",completedAt:Date(),last_question_id:a.questions[a.questions.length-1].id}).$promise.then(function(a){b.show("Project Ended","success")})),a.submit({index:a.index})},a.workspace.end=a.end,a.back=function(){a.count--,a.currentQuestion=a.questions[a.count]},a.setCurrentQuestion=function(b){a.count=b,a.currentQuestion=a.questions[a.count]},a.saveQuestions=function(){for(var c=[],d=[],f=0;f<a.questions.length;f++){if(a.questions[f].children)for(var i=a.questions[f].children,j=0;j<i.length;j++)d[j]={input_id:i[j].id,input_type:i[j].getAttribute("type"),input_label:i[j].getAttribute("label"),input_value:"checkbox"!=i[j].getAttribute("type")||i[j].answer?i[j].answer:!1};c[f]={sessionId:g,projectId:h,question_id:a.questions[f].id,question_type:a.questions[f].value.nodeName,question_label:a.questions[f].getAttribute("label"),question_text:a.questions[f].getAttribute("question")||a.questions[f].getAttribute("text"),question_other_label:a.questions[f].getAttribute("other"),question_other_answer:a.questions[f].otheranswer,question_answer:a.questions[f].answer,question_options:a.questions[f].options?JSON.stringify({options:a.questions[f].options}):null,index:f,ReportJscriptyInputs:d},d=[]}e.save({id:h,controller:"sessions",action:g,action2:"questions"},c).$promise.then(function(a){})["catch"](function(a){b.show(a.message,"danger")})}}}}}]).directive("reportBuilder",["$compile",function(a){return{restrict:"E",scope:{group:"=",fields:"=",forms:"=",firstCall:"="},templateUrl:"app/main/template/template.reportBuilderView.html",compile:function(b,c){var d,e;return d=b.contents().remove(),function(b,c,f){b.operators=[{name:"AND"},{name:"OR"}],b.conditions=[{name:"="},{name:"!="},{name:"<"},{name:"<="},{name:">"},{name:">="},{name:"LIKE"},{name:"IS NULL"},{name:"IS NOT NULL"},{name:"IS EMPTY"},{name:"IS NOT EMPTY"}],b.inputIsRequired=function(a){if(a.condition)switch(a.condition){case"IS NULL":case"IS NOT NULL":case"IS EMPTY":case"IS NOT EMPTY":a.required=!1;break;default:a.required=!0}},b.addCondition=function(){b.group.rules.push({condition:"=",field:"",value:""})},b.removeCondition=function(a){b.group.rules.splice(a,1)},b.addGroup=function(){b.group.rules.push({group:{operator:"AND",rules:[{condition:"=",field:"",value:""}]}})},b.randomName=function(a,b){var c=[];for(a=a||5,b=b||"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";--a;)c.push(b.charAt(Math.floor(Math.random()*b.length)));return c.join("")},b.removeGroup=function(){b.$parent.group&&b.$parent.group.rules.splice(b.$parent.$index,1)},e||(e=a(d)),c.append(e(b,function(a){return a}))}}}}]).directive("dynamicName",["$compile",function(a){return{restrict:"A",terminal:!0,priority:1e3,link:function(b,c,d){c.attr("name",b.$eval(d.dynamicName)),c.removeAttr("dynamic-name"),a(c)(b)}}}]).directive("onReadFile",["$parse",function(a){return{restrict:"A",scope:!1,link:function(b,c,d){var e=a(d.onReadFile);c.on("change",function(a){var c=new FileReader;c.onload=function(a){b.$apply(function(){e(b,{$fileContent:a.target.result})})},c.readAsText((a.srcElement||a.target).files[0])})}}}]).directive("motionFileDownload",["xAlert","$translate","$timeout","$location","FileSaver","$compile",function(a,b,c,d,e,f){return{restrict:"E",template:'<a uib-tooltip=\'{{tooltiptext}}\' class="{{btnclass || \'btn default btn-xs blue-hoki\'}}" href="" data-ng-click="download()" ><i class="icon-cloud-download"></i>{{btncontent || \'\'}}</a>',scope:{mimetype:"=",filename:"=",resource:"=",params:"=",btnclass:"@",btncontent:"@",tooltiptext:"@"},link:function(c,d,f){var g=d.children()[0];c.$on("download-start",function(){$(g).attr("disabled","disabled")}),c.$on("downloaded",function(a,b){var d=base64ToBlob(b,c.mimetype);e.saveAs(d,c.filename),$(g).attr("disabled",!1)}),c.download=function(){return c.$emit("download-start"),c.resource.get(c.params).$promise.then(function(a){c.$emit("downloaded",a.downloadString)})["catch"](function(d){a.show(b.instant(d.translatedMessage||d.data.translatedMessage||d.message||d.data.message),"danger"),c.download=function(){}})}}}}]).directive("audioFileDownload",["xAlert","$translate","$sce",function(a,b,c){return{restrict:"E",template:'<button type="button" class="btn default btn-xs blue-hoki" data-ng-click="download()"><i class="fa fa-play"></i> {{ \'APPLICATION_PREVIEW\' | translate}}</button>',scope:{resource:"=",params:"="},link:function(d,e,f){var g=e.children()[0];d.$on("download-start",function(a,b){$(g).attr("disabled","disabled").html('<i class="icon-refresh"></i> Loading...')}),d.$on("downloaded",function(a,b){var d=new Audio(c.trustAsResourceUrl("data:audio/ogg;base64,"+b));d.controls=!0,$(g).remove(),e.append(d),d.play()}),d.$on("error",function(a,b){$(g).removeClass("blue-stripe").addClass("red-stripe").html('<i class="icon-ban"></i> Error!')}),d.download=function(){return d.$emit("download-start"),d.resource.get(d.params).$promise.then(function(a){d.$emit("downloaded",a.downloadString)})["catch"](function(c){a.show(b.instant(c.translatedMessage||c.data.translatedMessage||c.message||c.data.message),"danger")})}}}}]).directive("uiRequired",function(){return{require:"ngModel",link:function(a,b,c,d){d.$validators.required=function(a,b){return!(b&&0===b.length&&"true"===c.uiRequired)},c.$observe("uiRequired",function(){d.$setValidity("required",!("true"===c.uiRequired&&d.$viewValue&&0===d.$viewValue.length)); +})}}}).directive("schrollBottom",function(){return{scope:{schrollBottom:"="},link:function(a,b){a.$watchCollection("schrollBottom",function(a){a&&$(b).scrollTop($(b)[0].scrollHeight)})}}}).directive("customGridDateFilterHeader",function(){return{templateUrl:"app/main/customDateFilterHeader.html",controller:"gridDatePickerFilterCtrl"}}).directive("customGridTagsFilterHeader",function(){return{templateUrl:"app/main/customTagsFilterHeader.html",controller:"gridTagsFilterCtrl"}}).directive("infiniteScroll",["$window",function(a){return{link:function(a,b,c){var d=parseInt(c.threshold)||0,e=b[0];b.bind("scroll",function(){a.$eval(c.canLoad)&&e.scrollTop+e.offsetHeight>=e.scrollHeight-d&&a.$apply(c.infiniteScroll)})}}}]),angular.module("xCallyShuttleApp").filter("propsFilter",function(){return function(a,b){var c=[];return angular.isArray(a)?a.forEach(function(a){for(var d=!1,e=Object.keys(b),f=0;f<e.length;f++){var g=e[f],h=b[g].toLowerCase();if(-1!==a[g].toString().toLowerCase().indexOf(h)){d=!0;break}}d&&c.push(a)}):c=a,c}}).filter("capitalize",function(){return function(a){return a?a.replace(/([^\W_]+[^\s-]*) */g,function(a){return a.charAt(0).toUpperCase()+a.substr(1).toLowerCase()}):""}}).filter("salesforce",function(){var a=["CallDisposition","CallDurationInSeconds","CallObject","CallType","IsArchived","Priority","Status","Type"];return function(b){return _.remove(b,function(b){return b.custom===!1&&a.indexOf(b.name)<0}),b}}).filter("sugarcrm",function(){var a=["account_id","account_name","account_name1","assigned_user_name","assigned_user_id","case_number","created_by","created_by_name","date_entered","date_modified","deleted","description","id","modified_by_name","modified_user_id","name"];return function(b){return _.remove(b,function(b){return a.indexOf(b.name)>=0}),b}}).filter("freshdesk",function(){var a=["requester","subject","agent","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.ticket_field.name)>=0}),b}}).filter("zendesk",function(){var a=["subject","assignee","description"];return function(b){return _.remove(b,function(b){return a.indexOf(b.type)>=0}),b}}).filter("slice",function(){return function(a,b,c){return a?a.slice(b,c):void 0}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main",{"abstract":!0,templateUrl:"app/main/main.html",controller:"MainCtrl",resolve:{authorization:["$q","Auth","$state","$timeout","$location",function(a,b,c,d,e){return b.getToken()?a.when():(d(function(){e.path("/login")}),a.reject())}],deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/ckeditor/ckeditor.js"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("xAlert",["$translate","Notification",function(a,b){return{show:function(c,d){switch(d){case"success":b.success({message:c,title:'<i class="glyphicon glyphicon-ok"></i> <strong>'+a.instant("MESSAGE_SUCCESS")+"!</strong>",delay:5e3});break;case"info":b.info({message:c,title:'<i class="glyphicon glyphicon-info-sign"></i> <strong>'+a.instant("MESSAGE_INFO")+"!</strong>",delay:5e3});break;case"danger":b.error({message:c,title:'<i class="glyphicon glyphicon-exclamation-sign"></i> <strong>'+a.instant("MESSAGE_ERROR")+"!</strong>",delay:1e4});break;case"warning":b.warning({message:c,title:'<i class="glyphicon glyphicon-warning-sign"></i> <strong>'+a.instant("MESSAGE_WARNING")+"!</strong>",delay:1e4});break;default:b.info(c)}},error:function(c){var d;d=c?c.data?c.data.translatedMessage||c.data.message||"Generic Error":c.translatedMessage||c.message||"Generic Error":"Generic Error",b.error({message:a.instant(d),title:'<i class="glyphicon glyphicon-exclamation-sign"></i> <strong>'+a.instant("MESSAGE_ERROR")+"!</strong>",delay:1e4})}}}]).factory("stResource",["$q","$filter","$timeout","$rootScope","$http","$translate","xAlert",function(a,b,c,d,e,f,g){return{getPage:function(b){var c={page:Math.ceil(b.pagination.start/b.pagination.number),per_page:b.pagination.number};b.sort.predicate&&(c.sort_by=b.sort.predicate,c.sort_order=b.sort.reverse?"DESC":"ASC"),_.forIn(b.search.predicateObject,function(a,b){c[b]=a}),b.search.params&&(c.clientQuery={},_.forIn(b.search.params,function(a,b){c.clientQuery[b]=a})),d.$broadcast("$spinnerStart"),e.get(b.url,{params:c}).success(function(a){h.resolve(a),d.$broadcast("$spinnerStop")}).error(function(a){g.show(f.instant(a.message),"danger"),d.$broadcast("$spinnerStop")});var h=a.defer();return h.promise}}}]).factory("xNotification",["$translate","Notification","$rootScope",function(a,b,c){return{show:function(d,e,f,g,h,i){var j=c.$new(),k={message:e,title:d,templateUrl:"app/main/template/template.notification.html",delay:g,scope:j};switch(j.acceptBtn=a.instant("APPLICATION_ACCEPT"),j.rejectBtn=a.instant("APPLICATION_REJECT"),j.nAccept=h,j.nReject=i,f){case"chat":j["class"]="alert-info",j.icon="icon-bubble";break;case"mail":j["class"]="alert-success",j.icon="icon-envelope";break;case"fax":j["class"]="alert-warning",j.icon="icon-paper-plane";break;case"sms":j["class"]="alert-danger",j.icon="glyphicon glyphicon-comment";break;case"openchannel":j["class"]="alert-danger",j.icon="icon-globe";break;default:j["class"]="alert-info"}return new b(k)}}}]),angular.module("xCallyShuttleApp").factory("Widget",["$resource",function(a){return a("/api/widgets/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("MarketCtrl",["$scope","$http","$translate","socket","xAlert","Modal","$timeout","Integration",function(a,b,c,d,e,f,g,h){function i(a,b){return Math.floor(Math.random()*(b-a+1))+a}a.initView=function(){return h.get().$promise.then(function(b){a.integrations=b.rows,a.groupedIntegration=_.chunk(a.integrations,4),d.syncUpdates("integration",a.integrations,function(){a.groupedIntegration=_.chunk(a.integrations,4)})})["catch"](function(a){e.error(a,"danger")})},a.isProgressing=!1,a.$on("$destroy",function(){d.unsyncUpdates("integration")}),a.installIntegration=function(b){return navigator.onLine?(a.status="Downloading",a.percentage=i(1,50),a.isProgressing=!0,b.downloading=!0,h.update({id:b.id},{active:!0}).$promise.then(function(){g(function(){a.percentage=i(51,99),a.status="Installing"},2500),g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",b.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)})["catch"](function(){b.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})):void e.show(c.instant("MESSAGE_NO_INTERNET_CONNECTION")+".","danger")},a.uninstallIntegration=function(b){return navigator.onLine?(a.status="Uninstalling",a.percentage=i(1,99),a.isProgressing=!0,b.downloading=!0,h.update({id:b.id},{active:!1}).$promise.then(function(){g(function(){a.percentage=100,a.isProgressing=!1,a.status="Completed!",b.downloading=!1,e.show(c.instant("MESSAGE_WELL_DONE")+".","success")},5e3)})["catch"](function(){b.downloading=!1,a.percentage=0,a.isProgressing=!1,e.show(c.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})):void e.show(c.instant("MESSAGE_NO_INTERNET_CONNECTION")+".","danger")}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.market",{url:"/market",templateUrl:"app/market/market.html",controller:"MarketCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("MotionbarCtrl",["$scope","$stateParams","$cookieStore","$window","$location","Auth",function(a,b,c,d,e,f){console.log(b),b.token&&b.userId&&b.role&&b.redirectTo?(f.loginWithToken(b.token,b.userId,b.role),d.location.href=decodeURIComponent(b.redirectTo)):e.path("/login")}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("motionbar",{url:"/motionbar?redirectTo&token&userId&role",template:"<div ui-view></div>",controller:"MotionbarCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist",{url:"/blacklist",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerBlackList","uiGridConstants",function(a,b,c,d,e,f,g){a.initView=function(){a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"phone"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteItem(row.entity.phone, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/blacklist/list/list.create.modal.html",controller:"MotionDialerBlackListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerBlackListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerBlackList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.blacklist.list",{url:"/list",templateUrl:"app/motiondialer/blacklist/list/list.html",controller:"MotionDialerBlackListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerBlackList",["$resource",function(a){return a("/api/rest/blacklist/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info",{url:"/info",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSystem",["$resource",function(a){return a("/api/rest/system/:controller",null,{properties:{method:"POST",params:{controller:"properties"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerInfoViewCtrl",["$scope","xAlert","MotionDialerSystem",function(a,b,c){a.getProperties=function(){return c.properties().$promise.then(function(c){console.log(c),c.status>0?a.properties=c.response.RMI:b.show(c.message||"Please, check your connection!","danger")})["catch"](function(a){b.show(a.message?a.message:a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.info.view",{url:"/view",templateUrl:"app/motiondialer/info/view/view.html",controller:"MotionDialerInfoViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.info.view.about",{url:"/about",templateUrl:"app/motiondialer/info/view/view.about.html"}).state("main.motiondialer.info.view.details",{url:"/details",templateUrl:"app/motiondialer/info/view/view.details.html"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists",{url:"/lists",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerList","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs blue-hoki" href="/motiondialer/lists/view/{{row.entity.id}}/settings">{{\'APPLICATION_SETTINGS\' | translate}}</a> <a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteItem(row.entity.name, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/list/list/list.create.modal.html",controller:"MotionDialerListListCreateCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerListListCreateCtrl",["$scope","$translate","$uibModalInstance","MotionDialerList","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.insert(a.item).$promise.then(function(a){a.status>0?(e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.list",{url:"/list",templateUrl:"app/motiondialer/list/list/list.html",controller:"MotionDialerListListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerContact",["$resource",function(a){return a("/api/rest/contact/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerList",["$resource",function(a){return a("/api/rest/list/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewContactCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerContact","xAlert","MotionDialerTimezone",function(a,b,c,d,e,f,g){a.form={},a.item={},a.timezones=g.list(),a.save=function(){return console.log(a.item),e.insert({id_list:parseInt(d.id),name:a.item.name,phones:a.item.phones.trim().split(","),description:a.item.description||""}).$promise.then(function(a){console.log(a),a.status>0?(f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):f.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListContactImportModalCtrl",["$scope","$uibModalInstance","$stateParams","indexes","csv","xAlert","MotionDialerContact","MotionDialerTimezone",function(a,b,c,d,e,f,g,h){function i(b){if(b>=a.csvLength||a.stopped)return void(a.importing=!1);var d={id_list:parseInt(c.id),name:"",phones:[],description:""};return _.forOwn(a.item,function(a,c){"phones"===c?d[c].push(e[b][a]):d[c]=e[b][a]}),g.insert(d).$promise.then(function(b){b.status>0?(a["import"].success+=j,a["import"].succeeded++,k.push(b.response.RMI)):(console.log(b),a["import"].fail+=j,a["import"].failed++)})["catch"](function(b){console.log(b),a["import"].fail+=j,a["import"].failed++})["finally"](function(){i(b+1)})}a.form={},a.item={},a.timezones=h.list(),console.log(d),console.log(e),a.indexes=d,a.importing=!1,a.submitted=!1,a.stopped=!1,a["import"]={success:0,fail:0,succeeded:0,failed:0},a.csvLength=e.length;var j=100/a.csvLength,k=[];a.start=function(){a.importing=!0,a.submitted=!0,i(0)},a.close=function(){b.close(k)},a.stop=function(){a.stopped=!0}}]),angular.module("xCallyShuttleApp").controller("MotionDialerListViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerList","MotionDialerContact","Modal","FileUploader","Papa",function(a,b,c,d,e,f,g,h,i,j,k,l){a.getList=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){b.status>0?a.list=b.response.RMI:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.updateList=function(){return h.update({id:a.list.id,name:a.list.name,description:a.list.description}).$promise.then(function(a){a.status>0?e.show(b.instant("MESSAGE_WELL_DONE"),"success"):e.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.data.message,"danger")})},a.getContacts=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"name"},{name:"phones"},{name:"description",enableSorting:!1},{name:"updatedtime",sort:{direction:f.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteContact(row.entity.name, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_list:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteContact=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.createContact=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/list/view/view.contact.create.modal.html",controller:"MotionDialerViewContactCreateCtrl"});b.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})};var m=a.uploader=new k({queueLimit:1,clearInputAfterAddedToQueue:!0});m.onAfterAddingFile=function(b){l.parse(b._file,{header:!0,complete:function(b){a.uploader.clearQueue(),a["import"](b.data)},error:function(a){e.show(a,"danger")}})},a["import"]=function(b){var c=d.open({animation:!0,backdrop:"static",keyboard:!1,templateUrl:"app/motiondialer/list/view/view.contact.import.modal.html",controller:"MotionDialerListContactImportModalCtrl",resolve:{indexes:function(){return _.keys(b[0])},csv:function(){return b}}});c.result.then(function(b){console.log(b),a.gridOptions.data=a.gridOptions.data.concat(b)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.lists.view",{url:"/view/:id",templateUrl:"app/motiondialer/list/view/view.html",controller:"MotionDialerListViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.lists.view.settings",{url:"/settings",templateUrl:"app/motiondialer/list/view/view.settings.html"}).state("main.motiondialer.lists.view.contacts",{url:"/contacts",templateUrl:"app/motiondialer/list/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").factory("MotionDialerTimezone",function(){return{list:function(){return[{group:"US (Common)",zones:[{value:"America/Puerto_Rico",name:"Puerto Rico (Atlantic)"},{value:"America/New_York",name:"New York (Eastern)"},{value:"America/Chicago",name:"Chicago (Central)"},{value:"America/Denver",name:"Denver (Mountain)"},{value:"America/Phoenix",name:"Phoenix (MST)"},{value:"America/Los_Angeles",name:"Los Angeles (Pacific)"},{value:"America/Anchorage",name:"Anchorage (Alaska)"},{value:"Pacific/Honolulu",name:"Honolulu (Hawaii)"}]},{group:"America",zones:[{value:"America/Adak",name:"Adak"},{value:"America/Anchorage",name:"Anchorage"},{value:"America/Anguilla",name:"Anguilla"},{value:"America/Antigua",name:"Antigua"},{value:"America/Araguaina",name:"Araguaina"},{value:"America/Argentina/Buenos_Aires",name:"Argentina - Buenos Aires"},{value:"America/Argentina/Catamarca",name:"Argentina - Catamarca"},{value:"America/Argentina/ComodRivadavia",name:"Argentina - ComodRivadavia"},{value:"America/Argentina/Cordoba",name:"Argentina - Cordoba"},{value:"America/Argentina/Jujuy",name:"Argentina - Jujuy"},{value:"America/Argentina/La_Rioja",name:"Argentina - La Rioja"},{value:"America/Argentina/Mendoza",name:"Argentina - Mendoza"},{value:"America/Argentina/Rio_Gallegos",name:"Argentina - Rio Gallegos"},{value:"America/Argentina/Salta",name:"Argentina - Salta"},{value:"America/Argentina/San_Juan",name:"Argentina - San Juan"},{value:"America/Argentina/San_Luis",name:"Argentina - San Luis"},{value:"America/Argentina/Tucuman",name:"Argentina - Tucuman"},{value:"America/Argentina/Ushuaia",name:"Argentina - Ushuaia"},{value:"America/Aruba",name:"Aruba"},{value:"America/Asuncion",name:"Asuncion"},{value:"America/Atikokan",name:"Atikokan"},{value:"America/Atka",name:"Atka"},{value:"America/Bahia",name:"Bahia"},{value:"America/Barbados",name:"Barbados"},{value:"America/Belem",name:"Belem"},{value:"America/Belize",name:"Belize"},{value:"America/Blanc-Sablon",name:"Blanc-Sablon"},{value:"America/Boa_Vista",name:"Boa Vista"},{value:"America/Bogota",name:"Bogota"},{value:"America/Boise",name:"Boise"},{value:"America/Buenos_Aires",name:"Buenos Aires"},{value:"America/Cambridge_Bay",name:"Cambridge Bay"},{value:"America/Campo_Grande",name:"Campo Grande"},{value:"America/Cancun",name:"Cancun"},{value:"America/Caracas",name:"Caracas"},{value:"America/Catamarca",name:"Catamarca"},{value:"America/Cayenne",name:"Cayenne"},{value:"America/Cayman",name:"Cayman"},{value:"America/Chicago",name:"Chicago"},{value:"America/Chihuahua",name:"Chihuahua"},{value:"America/Coral_Harbour",name:"Coral Harbour"},{value:"America/Cordoba",name:"Cordoba"},{value:"America/Costa_Rica",name:"Costa Rica"},{value:"America/Cuiaba",name:"Cuiaba"},{value:"America/Curacao",name:"Curacao"},{value:"America/Danmarkshavn",name:"Danmarkshavn"},{value:"America/Dawson",name:"Dawson"},{value:"America/Dawson_Creek",name:"Dawson Creek"},{value:"America/Denver",name:"Denver"},{value:"America/Detroit",name:"Detroit"},{value:"America/Dominica",name:"Dominica"},{value:"America/Edmonton",name:"Edmonton"},{value:"America/Eirunepe",name:"Eirunepe"},{value:"America/El_Salvador",name:"El Salvador"},{value:"America/Ensenada",name:"Ensenada"},{value:"America/Fortaleza",name:"Fortaleza"},{value:"America/Fort_Wayne",name:"Fort Wayne"},{value:"America/Glace_Bay",name:"Glace Bay"},{value:"America/Godthab",name:"Godthab"},{value:"America/Goose_Bay",name:"Goose Bay"},{value:"America/Grand_Turk",name:"Grand Turk"},{value:"America/Grenada",name:"Grenada"},{value:"America/Guadeloupe",name:"Guadeloupe"},{value:"America/Guatemala",name:"Guatemala"},{value:"America/Guayaquil",name:"Guayaquil"},{value:"America/Guyana",name:"Guyana"},{value:"America/Halifax",name:"Halifax"},{value:"America/Havana",name:"Havana"},{value:"America/Hermosillo",name:"Hermosillo"},{value:"America/Indiana/Indianapolis",name:"Indiana - Indianapolis"},{value:"America/Indiana/Knox",name:"Indiana - Knox"},{value:"America/Indiana/Marengo",name:"Indiana - Marengo"},{value:"America/Indiana/Petersburg",name:"Indiana - Petersburg"},{value:"America/Indiana/Tell_City",name:"Indiana - Tell City"},{value:"America/Indiana/Vevay",name:"Indiana - Vevay"},{value:"America/Indiana/Vincennes",name:"Indiana - Vincennes"},{value:"America/Indiana/Winamac",name:"Indiana - Winamac"},{value:"America/Indianapolis",name:"Indianapolis"},{value:"America/Inuvik",name:"Inuvik"},{value:"America/Iqaluit",name:"Iqaluit"},{value:"America/Jamaica",name:"Jamaica"},{value:"America/Jujuy",name:"Jujuy"},{value:"America/Juneau",name:"Juneau"},{value:"America/Kentucky/Louisville",name:"Kentucky - Louisville"},{value:"America/Kentucky/Monticello",name:"Kentucky - Monticello"},{value:"America/Knox_IN",name:"Knox IN"},{value:"America/La_Paz",name:"La Paz"},{value:"America/Lima",name:"Lima"},{value:"America/Los_Angeles",name:"Los Angeles"},{value:"America/Louisville",name:"Louisville"},{value:"America/Maceio",name:"Maceio"},{value:"America/Managua",name:"Managua"},{value:"America/Manaus",name:"Manaus"},{value:"America/Marigot",name:"Marigot"},{value:"America/Martinique",name:"Martinique"},{value:"America/Matamoros",name:"Matamoros"},{value:"America/Mazatlan",name:"Mazatlan"},{value:"America/Mendoza",name:"Mendoza"},{value:"America/Menominee",name:"Menominee"},{value:"America/Merida",name:"Merida"},{value:"America/Mexico_City",name:"Mexico City"},{value:"America/Miquelon",name:"Miquelon"},{value:"America/Moncton",name:"Moncton"},{value:"America/Monterrey",name:"Monterrey"},{value:"America/Montevideo",name:"Montevideo"},{value:"America/Montreal",name:"Montreal"},{value:"America/Montserrat",name:"Montserrat"},{value:"America/Nassau",name:"Nassau"},{value:"America/New_York",name:"New York"},{value:"America/Nipigon",name:"Nipigon"},{value:"America/Nome",name:"Nome"},{value:"America/Noronha",name:"Noronha"},{value:"America/North_Dakota/Center",name:"North Dakota - Center"},{value:"America/North_Dakota/New_Salem",name:"North Dakota - New Salem"},{value:"America/Ojinaga",name:"Ojinaga"},{value:"America/Panama",name:"Panama"},{value:"America/Pangnirtung",name:"Pangnirtung"},{value:"America/Paramaribo",name:"Paramaribo"},{value:"America/Phoenix",name:"Phoenix"},{value:"America/Port-au-Prince",name:"Port-au-Prince"},{value:"America/Porto_Acre",name:"Porto Acre"},{value:"America/Port_of_Spain",name:"Port of Spain"},{value:"America/Porto_Velho",name:"Porto Velho"},{value:"America/Puerto_Rico",name:"Puerto Rico"},{value:"America/Rainy_River",name:"Rainy River"},{value:"America/Rankin_Inlet",name:"Rankin Inlet"},{value:"America/Recife",name:"Recife"},{value:"America/Regina",name:"Regina"},{value:"America/Resolute",name:"Resolute"},{value:"America/Rio_Branco",name:"Rio Branco"},{value:"America/Rosario",name:"Rosario"},{value:"America/Santa_Isabel",name:"Santa Isabel"},{value:"America/Santarem",name:"Santarem"},{value:"America/Santiago",name:"Santiago"},{value:"America/Santo_Domingo",name:"Santo Domingo"},{value:"America/Sao_Paulo",name:"Sao Paulo"},{value:"America/Scoresbysund",name:"Scoresbysund"},{value:"America/Shiprock",name:"Shiprock"},{value:"America/St_Barthelemy",name:"St Barthelemy"},{value:"America/St_Johns",name:"St Johns"},{value:"America/St_Kitts",name:"St Kitts"},{value:"America/St_Lucia",name:"St Lucia"},{value:"America/St_Thomas",name:"St Thomas"},{value:"America/St_Vincent",name:"St Vincent"},{value:"America/Swift_Current",name:"Swift Current"},{value:"America/Tegucigalpa",name:"Tegucigalpa"},{value:"America/Thule",name:"Thule"},{value:"America/Thunder_Bay",name:"Thunder Bay"},{value:"America/Tijuana",name:"Tijuana"},{value:"America/Toronto",name:"Toronto"},{value:"America/Tortola",name:"Tortola"},{value:"America/Vancouver",name:"Vancouver"},{value:"America/Virgin",name:"Virgin"},{value:"America/Whitehorse",name:"Whitehorse"},{value:"America/Winnipeg",name:"Winnipeg"},{value:"America/Yakutat",name:"Yakutat"},{value:"America/Yellowknife",name:"Yellowknife"}]},{group:"Europe",zones:[{value:"Europe/Amsterdam",name:"Amsterdam"},{value:"Europe/Andorra",name:"Andorra"},{value:"Europe/Athens",name:"Athens"},{value:"Europe/Belfast",name:"Belfast"},{value:"Europe/Belgrade",name:"Belgrade"},{value:"Europe/Berlin",name:"Berlin"},{value:"Europe/Bratislava",name:"Bratislava"},{value:"Europe/Brussels",name:"Brussels"},{value:"Europe/Bucharest",name:"Bucharest"},{value:"Europe/Budapest",name:"Budapest"},{value:"Europe/Chisinau",name:"Chisinau"},{value:"Europe/Copenhagen",name:"Copenhagen"},{value:"Europe/Dublin",name:"Dublin"},{value:"Europe/Gibraltar",name:"Gibraltar"},{value:"Europe/Guernsey",name:"Guernsey"},{value:"Europe/Helsinki",name:"Helsinki"},{value:"Europe/Isle_of_Man",name:"Isle of Man"},{value:"Europe/Istanbul",name:"Istanbul"},{value:"Europe/Jersey",name:"Jersey"},{value:"Europe/Kaliningrad",name:"Kaliningrad"},{value:"Europe/Kiev",name:"Kiev"},{value:"Europe/Lisbon",name:"Lisbon"},{value:"Europe/Ljubljana",name:"Ljubljana"},{value:"Europe/London",name:"London"},{value:"Europe/Luxembourg",name:"Luxembourg"},{value:"Europe/Madrid",name:"Madrid"},{value:"Europe/Malta",name:"Malta"},{value:"Europe/Mariehamn",name:"Mariehamn"},{value:"Europe/Minsk",name:"Minsk"},{value:"Europe/Monaco",name:"Monaco"},{value:"Europe/Moscow",name:"Moscow"},{value:"Europe/Nicosia",name:"Nicosia"},{value:"Europe/Oslo",name:"Oslo"},{value:"Europe/Paris",name:"Paris"},{value:"Europe/Podgorica",name:"Podgorica"},{value:"Europe/Prague",name:"Prague"},{value:"Europe/Riga",name:"Riga"},{value:"Europe/Rome",name:"Rome"},{value:"Europe/Samara",name:"Samara"},{value:"Europe/San_Marino",name:"San Marino"},{value:"Europe/Sarajevo",name:"Sarajevo"},{value:"Europe/Simferopol",name:"Simferopol"},{value:"Europe/Skopje",name:"Skopje"},{value:"Europe/Sofia",name:"Sofia"},{value:"Europe/Stockholm",name:"Stockholm"},{value:"Europe/Tallinn",name:"Tallinn"},{value:"Europe/Tirane",name:"Tirane"},{value:"Europe/Tiraspol",name:"Tiraspol"},{value:"Europe/Uzhgorod",name:"Uzhgorod"},{value:"Europe/Vaduz",name:"Vaduz"},{value:"Europe/Vatican",name:"Vatican"},{value:"Europe/Vienna",name:"Vienna"},{value:"Europe/Vilnius",name:"Vilnius"},{value:"Europe/Volgograd",name:"Volgograd"},{value:"Europe/Warsaw",name:"Warsaw"},{value:"Europe/Zagreb",name:"Zagreb"},{value:"Europe/Zaporozhye",name:"Zaporozhye"},{value:"Europe/Zurich",name:"Zurich"}]},{group:"Asia",zones:[{value:"Asia/Aden",name:"Aden"},{value:"Asia/Almaty",name:"Almaty"},{value:"Asia/Amman",name:"Amman"},{value:"Asia/Anadyr",name:"Anadyr"},{value:"Asia/Aqtau",name:"Aqtau"},{value:"Asia/Aqtobe",name:"Aqtobe"},{value:"Asia/Ashgabat",name:"Ashgabat"},{value:"Asia/Ashkhabad",name:"Ashkhabad"},{value:"Asia/Baghdad",name:"Baghdad"},{value:"Asia/Bahrain",name:"Bahrain" +},{value:"Asia/Baku",name:"Baku"},{value:"Asia/Bangkok",name:"Bangkok"},{value:"Asia/Beirut",name:"Beirut"},{value:"Asia/Bishkek",name:"Bishkek"},{value:"Asia/Brunei",name:"Brunei"},{value:"Asia/Calcutta",name:"Calcutta"},{value:"Asia/Choibalsan",name:"Choibalsan"},{value:"Asia/Chongqing",name:"Chongqing"},{value:"Asia/Chungking",name:"Chungking"},{value:"Asia/Colombo",name:"Colombo"},{value:"Asia/Dacca",name:"Dacca"},{value:"Asia/Damascus",name:"Damascus"},{value:"Asia/Dhaka",name:"Dhaka"},{value:"Asia/Dili",name:"Dili"},{value:"Asia/Dubai",name:"Dubai"},{value:"Asia/Dushanbe",name:"Dushanbe"},{value:"Asia/Gaza",name:"Gaza"},{value:"Asia/Harbin",name:"Harbin"},{value:"Asia/Ho_Chi_Minh",name:"Ho Chi Minh"},{value:"Asia/Hong_Kong",name:"Hong Kong"},{value:"Asia/Hovd",name:"Hovd"},{value:"Asia/Irkutsk",name:"Irkutsk"},{value:"Asia/Istanbul",name:"Istanbul"},{value:"Asia/Jakarta",name:"Jakarta"},{value:"Asia/Jayapura",name:"Jayapura"},{value:"Asia/Jerusalem",name:"Jerusalem"},{value:"Asia/Kabul",name:"Kabul"},{value:"Asia/Kamchatka",name:"Kamchatka"},{value:"Asia/Karachi",name:"Karachi"},{value:"Asia/Kashgar",name:"Kashgar"},{value:"Asia/Kathmandu",name:"Kathmandu"},{value:"Asia/Katmandu",name:"Katmandu"},{value:"Asia/Kolkata",name:"Kolkata"},{value:"Asia/Krasnoyarsk",name:"Krasnoyarsk"},{value:"Asia/Kuala_Lumpur",name:"Kuala Lumpur"},{value:"Asia/Kuching",name:"Kuching"},{value:"Asia/Kuwait",name:"Kuwait"},{value:"Asia/Macao",name:"Macao"},{value:"Asia/Macau",name:"Macau"},{value:"Asia/Magadan",name:"Magadan"},{value:"Asia/Makassar",name:"Makassar"},{value:"Asia/Manila",name:"Manila"},{value:"Asia/Muscat",name:"Muscat"},{value:"Asia/Nicosia",name:"Nicosia"},{value:"Asia/Novokuznetsk",name:"Novokuznetsk"},{value:"Asia/Novosibirsk",name:"Novosibirsk"},{value:"Asia/Omsk",name:"Omsk"},{value:"Asia/Oral",name:"Oral"},{value:"Asia/Phnom_Penh",name:"Phnom Penh"},{value:"Asia/Pontianak",name:"Pontianak"},{value:"Asia/Pyongyang",name:"Pyongyang"},{value:"Asia/Qatar",name:"Qatar"},{value:"Asia/Qyzylorda",name:"Qyzylorda"},{value:"Asia/Rangoon",name:"Rangoon"},{value:"Asia/Riyadh",name:"Riyadh"},{value:"Asia/Saigon",name:"Saigon"},{value:"Asia/Sakhalin",name:"Sakhalin"},{value:"Asia/Samarkand",name:"Samarkand"},{value:"Asia/Seoul",name:"Seoul"},{value:"Asia/Shanghai",name:"Shanghai"},{value:"Asia/Singapore",name:"Singapore"},{value:"Asia/Taipei",name:"Taipei"},{value:"Asia/Tashkent",name:"Tashkent"},{value:"Asia/Tbilisi",name:"Tbilisi"},{value:"Asia/Tehran",name:"Tehran"},{value:"Asia/Tel_Aviv",name:"Tel Aviv"},{value:"Asia/Thimbu",name:"Thimbu"},{value:"Asia/Thimphu",name:"Thimphu"},{value:"Asia/Tokyo",name:"Tokyo"},{value:"Asia/Ujung_Pandang",name:"Ujung Pandang"},{value:"Asia/Ulaanbaatar",name:"Ulaanbaatar"},{value:"Asia/Ulan_Bator",name:"Ulan Bator"},{value:"Asia/Urumqi",name:"Urumqi"},{value:"Asia/Vientiane",name:"Vientiane"},{value:"Asia/Vladivostok",name:"Vladivostok"},{value:"Asia/Yakutsk",name:"Yakutsk"},{value:"Asia/Yekaterinburg",name:"Yekaterinburg"},{value:"Asia/Yerevan",name:"Yerevan"}]},{group:"Africa",zones:[{value:"Africa/Abidjan",name:"Abidjan"},{value:"Africa/Accra",name:"Accra"},{value:"Africa/Addis_Ababa",name:"Addis Ababa"},{value:"Africa/Algiers",name:"Algiers"},{value:"Africa/Asmara",name:"Asmara"},{value:"Africa/Asmera",name:"Asmera"},{value:"Africa/Bamako",name:"Bamako"},{value:"Africa/Bangui",name:"Bangui"},{value:"Africa/Banjul",name:"Banjul"},{value:"Africa/Bissau",name:"Bissau"},{value:"Africa/Blantyre",name:"Blantyre"},{value:"Africa/Brazzaville",name:"Brazzaville"},{value:"Africa/Bujumbura",name:"Bujumbura"},{value:"Africa/Cairo",name:"Cairo"},{value:"Africa/Casablanca",name:"Casablanca"},{value:"Africa/Ceuta",name:"Ceuta"},{value:"Africa/Conakry",name:"Conakry"},{value:"Africa/Dakar",name:"Dakar"},{value:"Africa/Dar_es_Salaam",name:"Dar es Salaam"},{value:"Africa/Djibouti",name:"Djibouti"},{value:"Africa/Douala",name:"Douala"},{value:"Africa/El_Aaiun",name:"El Aaiun"},{value:"Africa/Freetown",name:"Freetown"},{value:"Africa/Gaborone",name:"Gaborone"},{value:"Africa/Harare",name:"Harare"},{value:"Africa/Johannesburg",name:"Johannesburg"},{value:"Africa/Kampala",name:"Kampala"},{value:"Africa/Khartoum",name:"Khartoum"},{value:"Africa/Kigali",name:"Kigali"},{value:"Africa/Kinshasa",name:"Kinshasa"},{value:"Africa/Lagos",name:"Lagos"},{value:"Africa/Libreville",name:"Libreville"},{value:"Africa/Lome",name:"Lome"},{value:"Africa/Luanda",name:"Luanda"},{value:"Africa/Lubumbashi",name:"Lubumbashi"},{value:"Africa/Lusaka",name:"Lusaka"},{value:"Africa/Malabo",name:"Malabo"},{value:"Africa/Maputo",name:"Maputo"},{value:"Africa/Maseru",name:"Maseru"},{value:"Africa/Mbabane",name:"Mbabane"},{value:"Africa/Mogadishu",name:"Mogadishu"},{value:"Africa/Monrovia",name:"Monrovia"},{value:"Africa/Nairobi",name:"Nairobi"},{value:"Africa/Ndjamena",name:"Ndjamena"},{value:"Africa/Niamey",name:"Niamey"},{value:"Africa/Nouakchott",name:"Nouakchott"},{value:"Africa/Ouagadougou",name:"Ouagadougou"},{value:"Africa/Porto-Novo",name:"Porto-Novo"},{value:"Africa/Sao_Tome",name:"Sao Tome"},{value:"Africa/Timbuktu",name:"Timbuktu"},{value:"Africa/Tripoli",name:"Tripoli"},{value:"Africa/Tunis",name:"Tunis"},{value:"Africa/Windhoek",name:"Windhoek"}]},{group:"Australia",zones:[{value:"Australia/ACT",name:"ACT"},{value:"Australia/Adelaide",name:"Adelaide"},{value:"Australia/Brisbane",name:"Brisbane"},{value:"Australia/Broken_Hill",name:"Broken Hill"},{value:"Australia/Canberra",name:"Canberra"},{value:"Australia/Currie",name:"Currie"},{value:"Australia/Darwin",name:"Darwin"},{value:"Australia/Eucla",name:"Eucla"},{value:"Australia/Hobart",name:"Hobart"},{value:"Australia/LHI",name:"LHI"},{value:"Australia/Lindeman",name:"Lindeman"},{value:"Australia/Lord_Howe",name:"Lord Howe"},{value:"Australia/Melbourne",name:"Melbourne"},{value:"Australia/North",name:"North"},{value:"Australia/NSW",name:"NSW"},{value:"Australia/Perth",name:"Perth"},{value:"Australia/Queensland",name:"Queensland"},{value:"Australia/South",name:"South"},{value:"Australia/Sydney",name:"Sydney"},{value:"Australia/Tasmania",name:"Tasmania"},{value:"Australia/Victoria",name:"Victoria"},{value:"Australia/West",name:"West"},{value:"Australia/Yancowinna",name:"Yancowinna"}]},{group:"Indian",zones:[{value:"Indian/Antananarivo",name:"Antananarivo"},{value:"Indian/Chagos",name:"Chagos"},{value:"Indian/Christmas",name:"Christmas"},{value:"Indian/Cocos",name:"Cocos"},{value:"Indian/Comoro",name:"Comoro"},{value:"Indian/Kerguelen",name:"Kerguelen"},{value:"Indian/Mahe",name:"Mahe"},{value:"Indian/Maldives",name:"Maldives"},{value:"Indian/Mauritius",name:"Mauritius"},{value:"Indian/Mayotte",name:"Mayotte"},{value:"Indian/Reunion",name:"Reunion"}]},{group:"Atlantic",zones:[{value:"Atlantic/Azores",name:"Azores"},{value:"Atlantic/Bermuda",name:"Bermuda"},{value:"Atlantic/Canary",name:"Canary"},{value:"Atlantic/Cape_Verde",name:"Cape Verde"},{value:"Atlantic/Faeroe",name:"Faeroe"},{value:"Atlantic/Faroe",name:"Faroe"},{value:"Atlantic/Jan_Mayen",name:"Jan Mayen"},{value:"Atlantic/Madeira",name:"Madeira"},{value:"Atlantic/Reykjavik",name:"Reykjavik"},{value:"Atlantic/South_Georgia",name:"South Georgia"},{value:"Atlantic/Stanley",name:"Stanley"},{value:"Atlantic/St_Helena",name:"St Helena"}]},{group:"Pacific",zones:[{value:"Pacific/Apia",name:"Apia"},{value:"Pacific/Auckland",name:"Auckland"},{value:"Pacific/Chatham",name:"Chatham"},{value:"Pacific/Easter",name:"Easter"},{value:"Pacific/Efate",name:"Efate"},{value:"Pacific/Enderbury",name:"Enderbury"},{value:"Pacific/Fakaofo",name:"Fakaofo"},{value:"Pacific/Fiji",name:"Fiji"},{value:"Pacific/Funafuti",name:"Funafuti"},{value:"Pacific/Galapagos",name:"Galapagos"},{value:"Pacific/Gambier",name:"Gambier"},{value:"Pacific/Guadalcanal",name:"Guadalcanal"},{value:"Pacific/Guam",name:"Guam"},{value:"Pacific/Honolulu",name:"Honolulu"},{value:"Pacific/Johnston",name:"Johnston"},{value:"Pacific/Kiritimati",name:"Kiritimati"},{value:"Pacific/Kosrae",name:"Kosrae"},{value:"Pacific/Kwajalein",name:"Kwajalein"},{value:"Pacific/Majuro",name:"Majuro"},{value:"Pacific/Marquesas",name:"Marquesas"},{value:"Pacific/Midway",name:"Midway"},{value:"Pacific/Nauru",name:"Nauru"},{value:"Pacific/Niue",name:"Niue"},{value:"Pacific/Norfolk",name:"Norfolk"},{value:"Pacific/Noumea",name:"Noumea"},{value:"Pacific/Pago_Pago",name:"Pago Pago"},{value:"Pacific/Palau",name:"Palau"},{value:"Pacific/Pitcairn",name:"Pitcairn"},{value:"Pacific/Ponape",name:"Ponape"},{value:"Pacific/Port_Moresby",name:"Port Moresby"},{value:"Pacific/Rarotonga",name:"Rarotonga"},{value:"Pacific/Saipan",name:"Saipan"},{value:"Pacific/Samoa",name:"Samoa"},{value:"Pacific/Tahiti",name:"Tahiti"},{value:"Pacific/Tarawa",name:"Tarawa"},{value:"Pacific/Tongatapu",name:"Tongatapu"},{value:"Pacific/Truk",name:"Truk"},{value:"Pacific/Wake",name:"Wake"},{value:"Pacific/Wallis",name:"Wallis"},{value:"Pacific/Yap",name:"Yap"}]},{group:"Antarctica",zones:[{value:"Antarctica/Casey",name:"Casey"},{value:"Antarctica/Davis",name:"Davis"},{value:"Antarctica/DumontDUrville",name:"DumontDUrville"},{value:"Antarctica/Macquarie",name:"Macquarie"},{value:"Antarctica/Mawson",name:"Mawson"},{value:"Antarctica/McMurdo",name:"McMurdo"},{value:"Antarctica/Palmer",name:"Palmer"},{value:"Antarctica/Rothera",name:"Rothera"},{value:"Antarctica/South_Pole",name:"South Pole"},{value:"Antarctica/Syowa",name:"Syowa"},{value:"Antarctica/Vostok",name:"Vostok"}]},{group:"Arctic",zones:[{value:"Arctic/Longyearbyen",name:"Longyearbyen"}]},{group:"UTC",zones:[{value:"UTC",name:"UTC"}]},{group:"Manual Offsets",zones:[{value:"UTC-12",name:"UTC-12"},{value:"UTC-11",name:"UTC-11"},{value:"UTC-10",name:"UTC-10"},{value:"UTC-9",name:"UTC-9"},{value:"UTC-8",name:"UTC-8"},{value:"UTC-7",name:"UTC-7"},{value:"UTC-6",name:"UTC-6"},{value:"UTC-5",name:"UTC-5"},{value:"UTC-4",name:"UTC-4"},{value:"UTC-3",name:"UTC-3"},{value:"UTC-2",name:"UTC-2"},{value:"UTC-1",name:"UTC-1"},{value:"UTC+0",name:"UTC+0"},{value:"UTC+1",name:"UTC+1"},{value:"UTC+2",name:"UTC+2"},{value:"UTC+3",name:"UTC+3"},{value:"UTC+4",name:"UTC+4"},{value:"UTC+5",name:"UTC+5"},{value:"UTC+6",name:"UTC+6"},{value:"UTC+7",name:"UTC+7"},{value:"UTC+8",name:"UTC+8"},{value:"UTC+9",name:"UTC+9"},{value:"UTC+10",name:"UTC+10"},{value:"UTC+11",name:"UTC+11"},{value:"UTC+12",name:"UTC+12"},{value:"UTC+13",name:"UTC+13"},{value:"UTC+14",name:"UTC+14"}]}]}}}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer",{url:"/motiondialer",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:16}}})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCtrl",["$scope","$uibModal","$translate","xAlert","Modal","MotionDialerProcess","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,columnDefs:[{name:"id",width:60},{name:"name"},{name:"queue",enableSorting:!1},{name:"extension",enableSorting:!1},{name:"id_list",enableSorting:!1,cellTemplate:'<div><a class="btn btn-xs grey-cascade" href="/motiondialer/lists/view/{{row.entity.id_list}}/settings">{{row.entity.id_list}}</a></div>',cellClass:"ui-grid-vcenter"},{name:"status",cellTemplate:"<div><a class=\"btn btn-xs\" data-ng-class=\"row.entity.status == 'STOP' ? 'red-sunglo' : 'green-meadow'\" data-ng-href=\"#\">{{ (row.entity.status === 'RUN') ? 'RUNNING' : 'STOPPED'}}</a></div>",cellClass:"ui-grid-vcenter",filter:{type:g.filter.SELECT,selectOptions:[{value:"RUN",label:"RUNNING"},{value:"STOP",label:"STOPPED"}]}},{name:"updatedtime",sort:{direction:g.DESC},enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs blue-hoki" href="/motiondialer/processes/view/{{row.entity.id}}/overview">{{\'APPLICATION_SETTINGS\' | translate}}</a> <a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteItem(row.entity.name, row.entity.id)">{{\'APPLICATION_DELETE\' | translate}}</a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},f.list({page:1,size:6e5}).$promise.then(function(b){console.log(b),b.status>0?a.gridOptions.data=b.response.RMI.rows:d.show("Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){h.stop("spinner-grid")})},a.createProcessQueue=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.queue.modal.html",controller:"MotionDialerProcessListCreateQueueCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.createProcessSquare=function(){var c=b.open({animation:!0,templateUrl:"app/motiondialer/process/list/list.create.square.modal.html",controller:"MotionDialerProcessListCreateSquareCtrl"});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.deleteItem=e.confirm["delete"](function(b){return f["delete"]({id:b}).$promise.then(function(e){e.status>0?(_.remove(a.gridOptions.data,{id:b}),d.show(c.instant("MESSAGE_WELL_DONE"),"success")):d.show(e.message||"Please, check your connection!","danger")})["catch"](function(a){d.show(a.message?a.message:a.data.message,"danger")})})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateQueueCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","Trunk","VoiceQueue","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC",timeout:3},a.initModal=function(){return g.get().$promise.then(function(b){return a.queues={},b&&(a.queues=b.rows),f.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_queue_"+a.item.queue.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Queue"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["CDR(type)=tigerdial"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["QUEUE_PRIO=99"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:[a.item.queue.name,"","","",a.item.timeout],app:"Queue",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:a.item.queue.name,device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessListCreateSquareCtrl",["$scope","$translate","$uibModalInstance","MotionDialerProcess","MotionDialerList","SquareProject","Trunk","Route","xAlert",function(a,b,c,d,e,f,g,h,i){a.form={},a.item={fetch_sort:"ASC"},a.initModal=function(){return f.get().$promise.then(function(b){return a.projects={},b&&(a.projects=b.rows),g.get().$promise}).then(function(b){return a.trunks={},b&&(a.trunks=b.rows),a.trunks.push({name:"fake"}),e.list({page:1,size:6e5}).$promise}).then(function(b){a.lists={},b.status>0?a.lists=b.response.RMI.rows:i.show("Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.save=function(){console.log(a.item);var e="process_"+a.item.name+"_square_"+a.item.project.name+"_"+Math.round(1e5*Math.random()),f="Generated by Motion Dialer, Process Square"+(a.item.description?", "+a.item.description:"");return h.save({appdata:"Internal Call",context:"from-sip",exten:e.replace(/\s/g,"_"),type:"internal",description:f,Applications:[{appdata:["CDR(type)=tigerdial"],app:"Set",interval:"*,*,*,*",type:"internal"},{appdata:["agi://127.0.0.1/square",a.item.project.name],app:"AGI",interval:"*,*,*,*",type:"internal"}]}).$promise.then(function(b){return console.log(b),d.insert({name:a.item.name,id_list:a.item.list.id,queue:"none",device:a.item.device.name,context:"from-sip",extension:e.replace(/\s/g,"_"),description:a.item.description,auto_closed:!0,channel_limit:15,fetch_sort:a.item.fetch_sort}).$promise}).then(function(a){a.status>0?(i.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)):i.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){i.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.list",{url:"/list",templateUrl:"app/motiondialer/process/list/list.html",controller:"MotionDialerProcessListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").factory("MotionDialerProcess",["$resource",function(a){return a("/api/rest/process/:controller",null,{list:{method:"POST",params:{controller:"list"}},insert:{method:"POST",params:{controller:"insert"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},update:{method:"POST",params:{controller:"update"}}})}]),angular.module("xCallyShuttleApp").factory("MotionDialerSpooler",["$resource",function(a){return a("/api/rest/spooler/:controller/:retrieve/:peer",null,{list:{method:"POST",params:{controller:"list"}},"delete":{method:"POST",params:{controller:"delete"}},find:{method:"POST",params:{controller:"find"}},summary:{method:"POST",params:{controller:"summary"}},close:{method:"POST",params:{controller:"retrieve",retrieve:"close"}},open:{method:"POST",params:{controller:"retrieve",retrieve:"open"}},blacklist:{method:"POST",params:{controller:"retrieve",retrieve:"blacklist"}},planning:{method:"POST",params:{controller:"retrieve",retrieve:"planning"}},planningpeer:{method:"POST",params:{controller:"retrieve",retrieve:"planning",peer:"peer"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes",{url:"/processes",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("MotionDialerProcessViewCtrl",["$scope","$translate","$stateParams","$uibModal","xAlert","uiGridConstants","usSpinnerService","MotionDialerProcess","MotionDialerSpooler","Modal","VoiceQueue",function(a,b,c,d,e,f,g,h,i,j,k){a.process={},a.techs=["SIP","IAX","LOCAL","KHOMP"],a.dialFormats=["tech/device/number","tech/number@device"],a.checkDuplicates=["ALWAYS","IFOPEN","NO"],a.codecs=["g729","ilbc","gsm","ulaw","alaw"],a.getProcess=function(){return h.find({id:parseInt(c.id)}).$promise.then(function(b){console.log(b),b.status>0?(b.response.RMI.codecs=b.response.RMI.codecs.split(","),a.process=b.response.RMI):e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSummary=function(){return i.summary({id_process:parseInt(c.id)}).$promise.then(function(b){if(b.status>0){a.summary=b.response.RMI.totals,a.total=0;for(var c=0;c<a.summary.length;c++)a.total+=a.summary[c][1]}else e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.updateProcess=function(){var c=_.clone(a.process);return delete c.updatedtime,delete c.id_list,delete c.createdtime,delete c.runtime,delete c.fetch_sort,c.codecs=c.codecs.join(","),""===c.timezone&&delete c.timezone,h.update(c).$promise.then(function(c){c.status>0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.getSpooler=function(){return a.gridOptions={paginationPageSizes:[10,25,50,75],paginationPageSize:10,enableFiltering:!0,enableSorting:!0,enableGridMenu:!0,flatEntityAccess:!0,showGridFooter:!0,fastWatch:!0,headerCellFilter:"translate",columnDefs:[{name:"name"},{name:"phones"},{name:"retrieve",filter:{type:f.filter.SELECT,selectOptions:[{value:"PLANNED_PEER",label:"PLANNED PEER"},{value:"PLANNED",label:"PLANNED"},{value:"BLACK_LIST",label:"BLACKLIST"},{value:"OPEN",label:"OPEN"},{value:"CLOSED",label:"CLOSED"},{value:"MAX_ATTEMPTS",label:"MAX ATTEMPTS"},{value:"COUNTER_BLOCK",label:"COUNTER BLOCK"},{value:"PLANNED_REQUEST",label:"PLANNED REQUEST"},{value:"DELETE",label:"DELETE"}]}},{name:"counter",enableFiltering:!1},{name:"planningtime",cellTemplate:"<div>{{row.entity.planningtime | date:'yyyy-MM-dd HH:mm'}}</div>",cellClass:"ui-grid-vcenter",enableFiltering:!1},{name:"action",cellTemplate:'<div><a class="btn btn-xs green" data-ng-click="grid.appScope.historySpooler(row.entity.history)"><i class="icon-info"></i></a> <a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.editSpooler(row.entity)"><i class="icon-settings"></i></a> <a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteSpooler(row.entity.phones.join(), row.entity.id)"><i class="fa fa-trash"></i></a></div>',enableSorting:!1,cellClass:"ui-grid-vcenter",enableFiltering:!1}]},i.list({id_process:parseInt(c.id),page:1,size:6e5}).$promise.then(function(b){b.status>0?a.gridOptions.data=b.response.RMI.rows:e.show(b.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})["finally"](function(){g.stop("spinner-grid")})},a.deleteSpooler=j.confirm["delete"](function(c){return i["delete"]({id:c}).$promise.then(function(d){d.status>0?(_.remove(a.gridOptions.data,{id:c}),e.show(b.instant("MESSAGE_WELL_DONE"),"success")):e.show(d.message||"Please, check your connection!","danger")})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.historySpooler=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.history.modal.html",controller:"MotionDialerViewSpoolerHistoryCtrl",resolve:{historySpooler:function(){return b}}});c.result.then(function(b){a.gridOptions.data.push(b.response.RMI)})},a.editSpooler=function(a){var b=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.spooler.edit.modal.html",controller:"MotionDialerViewSpoolerEditCtrl",resolve:{entitySpooler:function(){return a}}});b.result.then(function(){})},a.initSettings=function(){return a.queues=null,k.get().$promise.then(function(b){b&&(a.queues=b.rows,a.process.queue&&"none"!==a.process.queue&&(a.queue=_.find(b.rows,{name:a.process.queue})))})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})},a.createInterval=function(b){var c=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return b?"8:00-20:00|MON-FRI|*|*":"00:01-07:59|SAT-SUN|*|*"}}});c.result.then(function(b){a.process=b})},a.editInterval=function(b,c){var e=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.create.interval.modal.html",controller:"MotionDialerViewCreateIntervalCtrl",resolve:{objectProcess:function(){return a.process},intervalType:function(){return b},intervalValue:function(){return c}}});e.result.then(function(b){a.process=b})},a.deleteInterval=j.confirm["delete"](function(c,d){var f={id:a.process.id};return d?(f.intervals=[],f.intervals=f.intervals.concat(a.process.intervals),f.intervals.splice(c,1)):(f.not_intervals=[],f.not_intervals=f.not_intervals.concat(a.process.not_intervals),f.not_intervals.splice(c,1)),h.update(f).$promise.then(function(c){c.status>0?(c.response.RMI.codecs=c.response.RMI.codecs.split(","),a.process=c.response.RMI,e.show(b.instant("MESSAGE_WELL_DONE"),"success")):c.response.RMI.errors.forEach(function(a){a?e.show(a.field+": "+a.error,"danger"):e.show("Please, check your connection!","danger")})})["catch"](function(a){e.show(a.message?a.message:a.data.message,"danger")})}),a.runOrStop=function(){var b=d.open({animation:!0,templateUrl:"app/motiondialer/process/view/view.run.process.modal.html",controller:"MotionDialerViewRunProcessCtrl",resolve:{statusProcess:function(){return a.process.status}}});b.result.then(function(b){a.process.status=b.status})}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewCreateIntervalCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerProcess","xAlert","objectProcess","intervalType","intervalValue","interval",function(a,b,c,d,e,f,g,h,i,j){function k(a){var b,c=a.split("|"),d={};return c.forEach(function(a,c){switch(c){case 0:"*"!==a?(b=a.split("-"),d.t_from=moment(b[0],"HH:mm"),d.t_to=moment(b[1],"HH:mm"),d.alwaysTime=!1):(d.t_from=moment(new Date),d.t_to=moment(new Date),d.alwaysTime=!0);break;case 1:"*"!==a?(b=a.split("-"),d.wd_from=b[0].toLowerCase(),d.wd_to=b[1]?b[1].toLowerCase():"always"):(d.wd_from="always",d.wd_to="always");break;case 2:"*"!==a?(b=a.split("-"),d.md_from=b[0],d.md_to=b[1]?b[1]:"always"):(d.md_from="always",d.md_to="always");break;case 3:"*"!==a?(b=a.split("-"),d.m_from=b[0],d.m_to=b[1]?b[1]:"always"):(d.m_from="always",d.m_to="always")}}),d}function l(a){var b,c,d,e;return b=a.t_from&&a.t_to&&!a.alwaysTime?moment(a.t_from).format("HH:mm")+"-"+moment(a.t_to).format("HH:mm"):"*",a.wd_from&&"always"!==a.wd_from?(c=a.wd_from.toUpperCase(),a.wd_to&&"always"!==a.wd_to&&(c+="-"+a.wd_to.toUpperCase())):c="*",a.md_from&&"always"!==a.md_from?(d=a.md_from,a.md_to&&"always"!==a.md_to&&(d+="-"+a.md_to)):d="*",a.m_from&&"always"!==a.m_from?(e=a.m_from,a.m_to&&"always"!==a.m_to&&(e+="-"+a.m_to)):e="*",b+"|"+c+"|"+d+"|"+e}a.form={},a.$interval=j.interval,a.splittedInterval=k(i),a.save=function(){var d=l(a.splittedInterval);console.log(d);var i={id:g.id};return h?(i.intervals=[],i.intervals=i.intervals.concat(g.intervals),i.intervals.push(d)):(i.not_intervals=[],i.not_intervals=i.not_intervals.concat(g.not_intervals),i.not_intervals.push(d)),console.log(i),e.update(i).$promise.then(function(a){a.status>0?(a.response.RMI.codecs=a.response.RMI.codecs.split(","),f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):a.response.RMI.errors.forEach(function(a){a?f.show(a.field+": "+a.error,"danger"):f.show("Please, check your connection!","danger")})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.motiondialer.processes.view",{url:"/view/:id",templateUrl:"app/motiondialer/process/view/view.html",controller:"MotionDialerProcessViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.motiondialer.processes.view.overview",{url:"/overview",templateUrl:"app/motiondialer/process/view/view.overview.html"}).state("main.motiondialer.processes.view.settings",{url:"/settings",templateUrl:"app/motiondialer/process/view/view.settings.html"}).state("main.motiondialer.processes.view.intervals",{url:"/intervals",templateUrl:"app/motiondialer/process/view/view.intervals.html"}).state("main.motiondialer.processes.view.spooler",{url:"/spooler",templateUrl:"app/motiondialer/process/view/view.spooler.html"})}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewRunProcessCtrl",["$scope","$stateParams","$uibModalInstance","$translate","statusProcess","MotionDialerProcess","xAlert",function(a,b,c,d,e,f,g){a.status="RUN"===e?"STOP":"RUN",a.yes=function(){f.update({id:parseInt(b.id),status:a.status}).$promise.then(function(a){a.status>0?(g.show(d.instant("MESSAGE_WELL_DONE"),"success"),c.close(a.response.RMI)):g.show(a.message||"Please, check your connection!","danger")})["catch"](function(a){g.show(a.message?a.message:a.data.message,"danger")})},a.no=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerEditCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","entitySpooler","Agent",function(a,b,c,d,e,f,g,h){a.initModal=function(){return h.get().$promise.then(function(b){a.agents=[],b&&b.rows.forEach(function(b){a.agents.push("SIP/"+b.name)})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")})},a.entitySpooler=g,a.save=function(){var d;switch(a.entitySpooler.retrieve){case"CLOSED":d=e.close({id:parseInt(a.entitySpooler.id)});break;case"OPEN":d=e.open({id:parseInt(a.entitySpooler.id)});break;case"BLACK_LIST":d=e.blacklist({id:parseInt(a.entitySpooler.id)});break;case"PLANNED":d=e.planning({id:parseInt(a.entitySpooler.id),date:moment(a.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm")});break;case"PLANNED_PEER":d=e.planningpeer({id:parseInt(a.entitySpooler.id),date:moment(a.entitySpooler.planningtime).format("YYYY-MM-DD HH:mm"),peer:a.entitySpooler.planningpeer})}d?d.$promise.then(function(a){console.log(a),a.status>0?(f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close()):a.response.RMI.errors.forEach(function(a){a?f.show(a.field+": "+a.error,"danger"):f.show("Please, check your connection!","danger")})})["catch"](function(a){f.show(a.message?a.message:a.data.message,"danger")}):f.show("RETRIEVE NOT FOUND","danger")},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("MotionDialerViewSpoolerHistoryCtrl",["$scope","$translate","$uibModalInstance","$stateParams","MotionDialerSpooler","xAlert","historySpooler",function(a,b,c,d,e,f,g){a.historySpooler=g,a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("SalesforceListCtrl",["$scope","SalesforceAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"salesforce_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.list",{url:"/list",templateUrl:"app/salesforce/list/list.html",controller:"SalesforceListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("SalesforceAccount",["$resource",function(a){return a("/api/salesforce/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("SalesforceConfiguration",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT" +}})}]).factory("SalesforceField",["$resource",function(a){return a("/api/salesforce/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce",{url:"/salesforce",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations",{url:"/configurations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","SalesforceConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"salesforce_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/salesforce/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/salesforce/view/configuration/list/create.modal.html",controller:"SalesforceCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SalesforceCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","SalesforceConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.list",{url:"/list",templateUrl:"app/salesforce/view/configuration/list/list.html",controller:"SalesforceViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewConfigurationViewCtrl",["$scope","$filter","$stateParams","$translate","socket","variable","xAlert","SalesforceAccount","SalesforceConfiguration","SalesforceField","Variable",function(a,b,c,d,e,f,g,h,i,j,k){a.$on("$destroy",function(){e.unsyncUpdates("salesforce_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.variables=f},a.getConfiguration=function(){return i.get({accountId:c.id,id:c.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,e.socket.on("salesforce_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return k.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return h.fields({id:c.id}).$promise.then(function(c){a.accountFields=_.sortByOrder(b("salesforce")(c),"name","asc"),console.log(a.accountFields)})["catch"](function(a){g.error(a)})},a.addItem=function(b){var d={};switch(b){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return i.save({accountId:c.id,id:c.configurationId,controller:b},d).$promise.then(function(c){switch(b){case"subject":a.subjectConfig.push(c);break;case"description":a.descriptionConfig.push(c);break;case"field":a.fieldConfig.push(c)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return j.update({accountId:c.id,configurationId:c.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return j["delete"]({accountId:c.id,configurationId:c.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);if(c)switch(c.type){case"picklist":return c.picklistValues;default:return}}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/salesforce/view/configuration/view/view.html",controller:"SalesforceViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("SalesforceViewCtrl",["$scope","$http","$stateParams","$translate","$location","WizardHandler","socket","xAlert","Modal","$filter","SalesforceAccount",function(a,b,c,d,e,f,g,h,i,j,k){a.initView=function(){return k.get({id:c.id}).$promise.then(function(b){a.account=b})["catch"](function(a){h.error(a)})},a.updateItem=function(){return k.update({id:c.id},a.account).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){h.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.view",{url:"/view/:id",templateUrl:"app/salesforce/view/view.html",controller:"SalesforceViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.salesforce.view.account",{url:"/account",templateUrl:"app/salesforce/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("SalesforceWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){console.log(a.item),b.post("api/salesforce/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/salesforce/list")}).error(function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.salesforce.wizard",{url:"/wizard",templateUrl:"app/salesforce/wizard/wizard.html",controller:"SalesforceWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.customization",{url:"/customization",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("CustomizationGeneralViewCtrl",["$scope","gridOptions","$uibModal","FileUploader","$cookieStore","xAlert","$translate","Setting","$rootScope",function(a,b,c,d,e,f,g,h,i){a.radioSwitch={isActive:i.license.custom?!0:!1,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"};var j=a.uploader=new d({url:"api/settings/logo/main",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}});j.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),j.onSuccessItem=function(a,b){i.settings.logo=b.logo,f.show(g.instant("MESSAGE_WELL_DONE"),"success")},j.onErrorItem=function(){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},j.onCompleteAll=function(){j.clearQueue()};var k=a.uploader2=new d({url:"api/settings/logo/login",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+e.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(a,b){f.show(g.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){f.show(g.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.initView=function(){return h.get({id:1}).$promise.then(function(b){a.settings={defaultLogo:b.defaultLogo,defaultLoginLogo:b.defaultLoginLogo}})["catch"](function(a){f.error(a)})},a.update=function(){return h.update({id:1},a.settings).$promise.then(function(b){_.merge(i.settings,a.settings),f.show(g.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.customization.view.general",{url:"/general",templateUrl:"app/setting/customization/view/general/general.html",controller:"CustomizationGeneralViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("CustomizationViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.customization.view",{url:"/view",templateUrl:"app/setting/customization/view/view.html",controller:"CustomizationViewCtrl"})}]),angular.module("xCallyShuttleApp").factory("License",["$resource",function(a){return a("/api/licenses/:id/:controller",{id:"@id"},{request:{method:"POST",params:{id:"request"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license",{url:"/license",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("LicenseUpdateCtrl",["$scope","$translate","$uibModalInstance","xAlert","Setting",function(a,b,c,d,e){a.form={},a.item={},a.getLicense=function(){return e.get({id:1}).$promise.then(function(b){a.item.license=b.license})["catch"](function(a){d.error(a)})},a.update=function(){return e.update({id:1},a.item).$promise.then(function(a){d.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){d.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").controller("LicenseViewCtrl",["$scope","$rootScope","$translate","License","xAlert","$window","$uibModal",function(a,b,c,d,e,f,g){a.initView=function(){return d.get(function(b){a.item=b.license})},a.submitRequest=function(){return d.request(a.item,function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")},function(a){switch(a.status){case 304:e.show(a.statusText,"info");break;default:e.show(a.statusText,"danger")}})},a.updateLicense=function(){var a=g.open({animation:!0,templateUrl:"app/setting/license/view/update.modal.html",controller:"LicenseUpdateCtrl"});a.result.then(function(){f.location.reload()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.license.view",{url:"/view",templateUrl:"app/setting/license/view/view.html",controller:"LicenseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/pricing-tables.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Externip",["$resource",function(a){return a("/api/network/externips/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Localnet",["$resource",function(a){return a("/api/network/localnets/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network",{url:"/network",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ExternipCtrl",["$scope","$uibModal","gridOptions","Externip",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"network_externip.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(d,b,a)},a.createItem=function(c){var d=b.open({animation:!0,templateUrl:"app/setting/network/view/externip/externip.create.modal.html",controller:"ExternipCreateCtrl",resolve:{item:c}});d.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ExternipCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Externip","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_EXTERNIP"):b.instant("APPLICATION_NEW_EXTERNIP")},a.save=function(){return g?e.update({id:a.item.id},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},a.item).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.externip",{url:"/externip",templateUrl:"app/setting/network/view/externip/externip.html",controller:"ExternipCtrl"})}]),angular.module("xCallyShuttleApp").controller("LocalnetCtrl",["$scope","gridOptions","Localnet","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"network_localnet.csv",columnDefs:[{name:"value"},{name:"action",buttons:[{"class":"blue-hoki",onClick:"grid.appScope.createItem(row.entity)",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=b.gridOptions(c,d,a)},a.createItem=function(b){var c=d.open({animation:!0,templateUrl:"app/setting/network/view/localnet/localnet.create.modal.html",controller:"LocalnetCreateCtrl",resolve:{item:b}});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("LocalnetCreateCtrl",["$scope","$translate","$uibModalInstance","$stateParams","Localnet","xAlert","item",function(a,b,c,d,e,f,g){a.initModal=function(){if(a.form={},a.item=g||{},a.title=g?b.instant("APPLICATION_EDIT_LOCALNET"):b.instant("APPLICATION_NEW_LOCALNET"),g&&g.value){var c=a.item.value.split("/");c.length>1&&(a.item.address=c[0],a.item.mask=c[1])}},a.save=function(){var d=a.item.address+"/"+a.item.mask;return g?e.update({id:a.item.id},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)}):e.save({},{value:d}).$promise.then(function(a){f.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){f.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view.localnet",{url:"/localnet",templateUrl:"app/setting/network/view/localnet/localnet.html",controller:"LocalnetCtrl"})}]),angular.module("xCallyShuttleApp").controller("NetworkViewCtrl",function(){}),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.network.view",{url:"/view",templateUrl:"app/setting/network/view/view.html",controller:"NetworkViewCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting",{url:"/setting",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:18}}})}]),angular.module("xCallyShuttleApp").factory("Setting",["$resource",function(a){return a("/api/settings/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("Smtp",["$resource",function(a){return a("/api/mail/servers/out/:id/:controller",{id:"@id"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp",{url:"/smtp",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SmtpViewCtrl",["$scope","$stateParams","$translate","socket","MailServerOut","Setting","MailAccount","xAlert","usSpinnerService",function(a,b,c,d,e,f,g,h,i){a.initMailAccounts=function(){return e.get().$promise.then(function(b){a.servers=b.rows})["catch"](function(a){h.show(a.message,"danger")})},a.initView=function(){a.smtpDisabled=!1,a.isActive=!0,a.size="small",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.CONST_TIMEOUT=3e4,a.item={type:"custom",account:{ssl:!1}},e.get({id:"service"}).$promise.then(function(b){b&&(a.item.account=b,d.socket.on("mail_server_out:state",function(b){if(b.id===a.item.account.id)switch(a.item.account.state=b.state,a.item.account.source=JSON.parse(b.source),b.state){case"CONNECTING":break;default:i.stop("spinner-grid"),a.smtpDisabled=!1}}),a.item.account.MailAccountId?a.item.type="account":(a.item.type="custom",a.item.account.ssl=!1))})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){return a.item.account.service=!0,a.item.account.id?f.update({id:"smtp",controller:a.item.account.id},a.item.account).$promise.then(function(){h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")}):f.save({id:"smtp"},a.item.account).$promise.then(function(b){a.item.account=b,h.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.test=function(){return i.spin("spinner-grid"),a.smtpDisabled=!0,e.update({id:a.item.account.id},{state:"CONNECTING"}).$promise["catch"](function(a){console.error(a)})["finally"](function(){i.stop("spinner-grid")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.smtp.view",{url:"/view",templateUrl:"app/setting/smtp/view/view.html",controller:"SmtpViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.system",{url:"/system",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("SystemViewCtrl",["$scope","$stateParams","$translate","socket","Setting","xAlert","usSpinnerService",function(a,b,c,d,e,f,g){function h(b){a.system.memory={labels:_.keys(b.memory.details),values:_.values(_.map(b.memory.details,function(a){return Math.round(a/1024)})),Total:Math.round(b.memory.Total/1024)},g.stop("memory-spinner"),a.system.disks=[],_.forEach(b.disks,function(b){a.system.disks.push({mount:b.mount,size:Number((b.size/1048576).toFixed(2)),values:_.values(_.map(b.details,function(a){return Number((a/1048576).toFixed(2))})),labels:_.keys(b.details)})}),a.system.mount=a.system.disks[0],g.stop("disk-spinner"),a.system.cpu={motion:Math.round(b.cpu.motion),cores:[]},_.forEach(b.cpu.cores,function(b){delete b.nice,delete b.irq,a.system.cpu.cores.push({labels:_.keys(b),values:_.values(b),colours:["#803690","#DCDCDC","#00ADF9"]})}),g.stop("cpu-spinner")}a.system={mount:void 0},a.initView=function(){return g.spin("memory-spinner"),g.spin("disk-spinner"),g.spin("cpu-spinner"),e.get({controller:"system"}).$promise.then(function(a){h(a)})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.system.view",{url:"/view",templateUrl:"app/setting/system/view/view.html",controller:"SystemViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListCtrl",["$scope","gridOptions","$uibModal","$location","Update",function(a,b,c,d,e){a.initCounter=function(){a.$on("timer-stopped",function(a,b){console.log("Timer Stopped - data = ",b),d.path("/dashboard/voice")})},a.initView=function(){var c={exporterCsvFilename:"updates.csv",enableFiltering:!1,enableSorting:!1,enablePaginationControls:!1,enableSelectAll:!1,columnDefs:[{name:"message"},{width:125,name:"version",cellClass:"text-center ui-grid-vcenter"},{width:125,name:"createdAt",displayName:"APPLICATION_UPDATED_AT",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><span am-time-ago="row.entity.createdAt"></span></div>'}]};a.gridOptions=b.gridOptions(e,c,a)},a.pull=function(){c.open({animation:!0,templateUrl:"app/setting/update/list/list.pull.html",controller:"UpdateListPullCtrl"})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates.list",{url:"/list",templateUrl:"app/setting/update/list/list.html",controller:"UpdateListCtrl"}).state("main.setting.updates.landing",{url:"/landing",templateUrl:"app/setting/update/list/landing.html",controller:"UpdateListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/error.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("UpdateListPullCtrl",["$scope","$uibModalInstance","$translate","$location","Update",function(a,b,c,d,e){a.modal={dismissable:!0,title:"Confirm Checkout",html:"Are you sure you want to checkout?",buttons:[{classes:"btn btn-success",text:"Checkout",click:function(){return e.pull().$promise["finally"](function(){b.dismiss("close"),d.path("/setting/updates/landing")})}},{classes:"btn default",text:"Cancel",click:function(){b.dismiss("cancel")}}]}}]),angular.module("xCallyShuttleApp").factory("Update",["$resource",function(a){return a("/api/updates/:id/:controller",{id:"@id"},{pull:{method:"GET",params:{id:"pull"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.setting.updates",{url:"/updates",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["hasUpdate"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCtrl",["$scope","$uibModal","$translate","SquareOdbc","gridOptions","xAlert",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"odbc.csv",columnDefs:[{name:"name"},{name:"dsn",displayName:"APPLICATION_ODBC"},{name:"description"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/square/odbc/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkConnection(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(d,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/odbc/list/list.create.modal.html",controller:"SquareOdbcListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})},a.checkConnection=function(a){return d.get({id:a,controller:"check"}).$promise.then(function(){f.show(c.instant("MESSAGE_CONNECTION_VERIFIED"),"success")})["catch"](function(){f.show(c.instant("MESSAGE_CONNECTION_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").controller("SquareOdbcListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareOdbc","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.item.dsn||(a.item.dsn="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion"),a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.list",{url:"/list",templateUrl:"app/square/odbc/list/list.html",controller:"SquareOdbcListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc",{url:"/odbc",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareOdbc",["$resource",function(a){return a("/api/square/odbc/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareOdbcViewCtrl",["$scope","$translate","$stateParams","SquareOdbc","xAlert",function(a,b,c,d,e){a.odbc={},a.getOdbc=function(){return d.get({id:c.id}).$promise.then(function(b){a.odbc=b})["catch"](function(a){e.show(a.data.message,"danger")})},a.updateOdbc=function(){var f=angular.copy(a.odbc);return d.update({id:c.id},f).$promise.then(function(){e.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.odbc.view",{url:"/view/:id",templateUrl:"app/square/odbc/view/view.html",controller:"SquareOdbcViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.square.odbc.view.settings",{url:"/settings",templateUrl:"app/square/odbc/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCtrl",["$scope","$uibModal","SquareProject","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"projects.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/square/projects/view/{{row.entity.id}}",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/square/project/list/list.create.modal.html",controller:"SquareProjectListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("SquareProjectListCreateCtrl",["$scope","$translate","$uibModalInstance","SquareProject","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.list",{url:"/list",templateUrl:"app/square/project/list/list.html",controller:"SquareProjectListCtrl",authenticate:!0})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects",{url:"/projects",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareProject",["$resource",function(a){return a("/api/square/projects/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareProjectViewCtrl",["$scope","$stateParams","Auth","xAlert","SquareProject",function(a,b,c,d,e){a.squareProject={},a.getProject=function(){return e.get({id:b.id}).$promise.then(function(b){a.squareProject=b,angular.element(document).ready(function(){window.onerror=function(a,b,c){try{if(null!==a&&-1!==a.indexOf("Script error."));else{var e=new Image;e.src="assets/plugins/mxgraph/images/1x1.png?msg="+encodeURIComponent(a)+"&url="+encodeURIComponent(b)+"&lnum="+encodeURIComponent(c)}}catch(f){d.show(f,"danger")}},b.token=c.getToken();var a=new EditorUi(new Editor);a.openString(b.preproduction,b.name,b),a.editor.graphChangeListener=function(a,b){var c=b.properties.rtChange||!1;c||(this.modified=!0)}})})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.projects.view",{url:"/view/:id",templateUrl:"app/square/project/view/view.html",controller:"SquareProjectViewCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",serie:!0,cache:!1,files:["assets/plugins/mxgraph/css/common.css","assets/plugins/mxgraph/css/explorer.css","assets/plugins/mxgraph/styles/grapheditor.css","assets/plugins/mxgraph/styles/custom.css","assets/plugins/square/js/custom.js","assets/plugins/mxgraph/js/mxClient.js","assets/plugins/square/js/Editor.js","assets/plugins/square/js/Graph.js","assets/plugins/square/js/EditorUi.js","assets/plugins/square/js/Actions.js","assets/plugins/square/js/Menus.js","assets/plugins/square/js/Sidebar.js","assets/plugins/square/js/Toolbar.js","assets/plugins/square/js/Dialogs.js"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime",{url:"/realtime",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("ReportSquare",["$resource",function(a){return a("/api/report/square/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("ReportSquareDetail",["$resource",function(a){return a("/api/report/square/details/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewGeneralCtrl",["$scope","$log","$uibModal","$translate","socket","xAlert","ReportSquare","usSpinnerService","$q","uiGridConstants",function(a,b,c,d,e,f,g,h,i,j){function k(b){return h.spin("spinner-grid"),g.get(m).$promise.then(function(b){a.gridOptions.totalItems=b.count,a.gridOptions.data=b.rows})["catch"](function(a){f.show(a.message,"danger")})["finally"](function(){b&&l(),h.stop("spinner-grid")})}function l(){e.socket.on("report_square:save",function(b){if(b.leaveAt){var c=_.remove(a.gridOptions.data,{id:b.id});c&&k()}else{var d=_.find(a.gridOptions.data,{id:b.id});if(!d&&a.gridOptions.data.length<m.limit){var e=_.clone(m);if(_.forEach(["offset","limit","controller","order"],function(a){delete e[a]}),_.isEmpty(e))a.gridOptions.data.push(b);else{var f=!0;_.forOwn(e,function(a,c){_.includes(b[c],a)||(f=!1)}),f&&a.gridOptions.data.push(b)}}}})}var m={controller:"realtime",offset:0,limit:25};a.moment=moment,a.init=function(){a.gridOptions={enableGridMenu:!0,headerCellFilter:"translate",enableHorizontalScrollbar:0,enableVerticalScrollbar:0,enableFiltering:!0,showGridFooter:!0,paginationPageSizes:[10,25,50,75],paginationPageSize:25,useExternalPagination:!0,useExternalSorting:!0,useExternalFiltering:!0,showTreeExpandNoChildren:!0,columnDefs:[{name:"uniqueid"},{name:"callerid"},{name:"extension"},{name:"project_name",displayName:"APPLICATION_PROJECT",headerCellFilter:"translate"},{name:"joinAt",displayName:"APPLICATION_ELAPSED_TIME",headerCellFilter:"translate",cellClass:"text-center ui-grid-vcenter",cellTemplate:'<div><timer start-time="grid.appScope.moment(row.entity.joinAt).unix()*1000">{{hhours}}:{{mminutes}}:{{sseconds}}</timer></div>',enableSorting:!1,enableColumnMenu:!1,enableFiltering:!1}],data:[],gridMenuTitleFilter:function(a){var b=i.defer();return b.resolve(d.instant(a)),b.promise},onRegisterApi:function(b){a.gridApi=b,a.gridApi.grid.registerDataChangeCallback(function(){n(a.gridApi.core.getVisibleRows(a.gridApi.grid).length)}),a.gridApi.core.on.sortChanged(a,function(a,b){ +0===b.length?m.order=null:m.order=b[0].name+" "+b[0].sort.direction.toUpperCase(),k()}),a.gridApi.pagination.on.paginationChanged(a,function(a,b){m.offset=(a-1)*b,m.limit=b,k()}),a.gridApi.core.on.filterChanged(a,function(){var a=this.grid;a.columns.forEach(function(a){a.filters[0].term?m[a.name]=a.filters[0].term:delete m[a.name]}),k()})}},k(!0)};var n=function(a){var b=a?30*a+130:270;angular.element(document.getElementsByClassName("ui-grid")[0]).css("height",b+"px"),angular.element(document.getElementsByClassName("ui-grid-viewport")).css("height",30*a+"px")};a.$on("$destroy",function(){e.unsyncUpdates("report_square")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view.general",{url:"/general",templateUrl:"app/square/realtime/view/general/general.html",controller:"SquareRealtimeViewGeneralCtrl"})}]),angular.module("xCallyShuttleApp").controller("SquareRealtimeViewCtrl",["$scope",function(a){}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.realtime.view",{url:"/view",templateUrl:"app/square/realtime/view/view.html",controller:"SquareRealtimeViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}})}]),angular.module("xCallyShuttleApp").controller("SquareRecordingListCtrl",["$scope","SquareRecording","gridOptions",function(a,b,c){a.SquareRecording=b;a.initView=function(){var d={exporterCsvFilename:"recordings.csv",rowHeight:30,columnDefs:[{name:"uniqueid"},{name:"callerid",displayName:"APPLICATION_CALLERIDNUM"},{name:"filename"},{name:"extension"},{name:"projectName",displayName:"APPLICATION_PROJECT"},{name:"audio",displayName:"",width:225,enableSorting:!1,enableFiltering:!1,buttons:[{directive:'<audio-file-download params="{id:row.entity.id,controller:\'stream\'}" resource="grid.appScope.SquareRecording"></audio-file-download>'}]},{name:"action",width:150,buttons:[{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.filename || row.entity.uniqueid, row.entity.id)"},{directive:'<motion-file-download params="{id:row.entity.id,controller:\'stream\'}" resource="grid.appScope.SquareRecording" mimetype="audio/wav" btnclass="btn btn-xs blue-hoki" filename="(row.entity.filename || row.entity.uniqueid)+\'.wav\'"></motion-file-download>'}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings.list",{url:"/list",templateUrl:"app/square/recording/list/list.html",controller:"SquareRecordingListCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square.recordings",{url:"/recordings",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("SquareRecording",["$resource",function(a){return a("/api/square/recordings/:id/:controller",{id:"@id"},{update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.square",{url:"/square",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:14}}})}]),angular.module("xCallyShuttleApp").factory("Agent",["$resource",function(a){return a("/api/agents/:id/:controller/:controller1",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},patch:{method:"PATCH"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents",{url:"/agents",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentListCtrl",["$scope","$timeout","Agent","Auth","gridOptions",function(a,b,c,d,e){a.initView=function(){a.Auth=d;var b={exporterCsvFilename:"agents.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/agents/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.list",{url:"/list",templateUrl:"app/staff/agent/list/list.html",controller:"AgentListCtrl",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$cookieStore","Agent","FileUploader","Auth","User",function(a,b,c,d,e,f,g,h,i,j){a.Auth=i,a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.updatePassword=function(){var b={newPassword:a.agent.newPwd};return i.isAdmin()?b.id=e.id:b.oldPassword=a.agent.currentPwd,j.changePassword(b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})};var k=a.uploader=new h({url:"api/users/"+e.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+f.get("token")}});k.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),k.onSuccessItem=function(b,e){a.agent.userpic=e.userpic,a.agent.id===i.getCurrentUser().id&&(i.getCurrentUser().userpic=e.userpic),c.show(d.instant("MESSAGE_WELL_DONE"),"success")},k.onErrorItem=function(){c.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},k.onCompleteAll=function(){k.clearQueue()},a.initView=function(){return g.get({id:e.id}).$promise.then(function(b){a.agent=b,a.agent.transport=a.agent.transport?a.agent.transport.split(","):[],a.agent.allow=a.agent.allow?a.agent.allow.split(";"):[],a.agent.nat=a.agent.nat?a.agent.nat.split(","):[]})["catch"](function(a){c.show(a.message,"danger")})},a.patchItem=function(){return g.update({id:e.id},{chatCapacity:a.agent.chatCapacity,mailCapacity:a.agent.mailCapacity,faxCapacity:a.agent.faxCapacity,smsCapacity:a.agent.smsCapacity,openchannelCapacity:a.agent.openchannelCapacity}).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.agent);return delete b.password,delete b.md5secret,b.transport=b.transport.join(","),b.allow=b.allow.join(";"),b.nat=b.nat.join(","),g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.view",{url:"/view/:id",templateUrl:"app/staff/agent/view/view.html",controller:"AgentViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]},data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.account",{url:"/account",templateUrl:"app/staff/agent/view/view.account.html",data:{permissions:{only:["admin","user","agent"],redirectTo:"landing",id:4}},resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.agents.view.voice",{url:"/voice",templateUrl:"app/staff/agent/view/view.voice.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.chat",{url:"/chat",templateUrl:"app/staff/agent/view/view.chat.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.mail",{url:"/mail",templateUrl:"app/staff/agent/view/view.mail.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.fax",{url:"/fax",templateUrl:"app/staff/agent/view/view.fax.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.sms",{url:"/sms",templateUrl:"app/staff/agent/view/view.sms.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.openchannel",{url:"/openchannel",templateUrl:"app/staff/agent/view/view.openchannel.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}}).state("main.staff.agents.view.motionbar",{url:"/motionbar",templateUrl:"app/staff/agent/view/view.motionbar.html",data:{permissions:{only:["admin","user"],redirectTo:"landing",id:4}}})}]),angular.module("xCallyShuttleApp").controller("AgentWizardCtrl",["$scope","$rootScope","Agent","Setting","xAlert","$location","$translate","$http","WizardHandler",function(a,b,c,d,e,f,g,h,i){a.forms={info:void 0,voice:void 0},a.item={role:"agent",allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){i.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return d.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),c.save(b).$promise.then(function(){f.path("/staff/agents/list")})["catch"](function(a){console.log(a),e.show(a.message||a.data.message,"danger")})},a.createItems=function(){var b=[];a.item.transport&&(a.item.transport=a.item.transport.join(",")),a.item.allow&&(a.item.allow=a.item.allow.join(";"));for(var d=0;d<a.item.amount;d++){var g=angular.copy(a.item);g.internal+=d,g.name=g.name+d,g.fullname=g.fullname+d,g.email=g.email.split("@")[0]+d+"@"+g.email.split("@")[1],b.push(g)}return c.save({id:"bulk"},b).$promise.then(function(){f.path("/staff/agents/list")})["catch"](function(a){console.log(a),e.show(a.message||a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.agents.wizard",{url:"/wizard",templateUrl:"app/staff/agent/wizard/wizard.html",controller:"AgentWizardCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.agents.bulk",{url:"/bulk",templateUrl:"app/staff/agent/wizard/wizard-bulk.html",controller:"AgentWizardCtrl",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff",{url:"/staff",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TeamCreateCtrl",["$scope","$uibModalInstance","Team","xAlert",function(a,b,c,d){a.form={},a.item={},a.ok=function(){return c.save(a.item).$promise.then(function(){b.close(a.item)})["catch"](function(a){d.show(a.data.message,"danger")})},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("TeamListCtrl",["$scope","Team","gridOptions","$uibModal",function(a,b,c,d){a.initView=function(){var d={exporterCsvFilename:"teams.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"{{row.entity.defaultEntry ? 'blue-hoki disabled' : 'blue-hoki'}}",href:"/staff/teams/view/{{row.entity.id}}/settings",name:"profile"},{"class":"{{row.entity.defaultEntry ? 'green-turquoise disabled' : 'green-turquoise'}}",name:"agents",href:"/staff/teams/view/{{row.entity.id}}/agents"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.createItem=function(){d.open({animation:!0,templateUrl:"app/staff/team/list/create.modal.html",controller:"TeamCreateCtrl"}).result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.list",{url:"/list",templateUrl:"app/staff/team/list/list.html",controller:"TeamListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Team",["$resource",function(a){return a("/api/teams/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams",{url:"/teams",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TeamViewCtrl",["$scope","$http","$stateParams","$translate","Team","Agent","xAlert",function(a,b,c,d,e,f,g){var h=function(){return{select:function(b){return console.log("agents",b),e.save({id:a.team.id,controller:"agents"},{agents:b})},deselect:function(b){return e["delete"]({id:a.team.id,controller:"agents",agents:b})}}};a.initView=function(){return e.get({id:c.id}).$promise.then(function(b){a.team=b})["catch"](function(a){g.show(a.message,"danger")})},a.initAgents=function(){return f.get().$promise.then(function(b){return a.agents=b.rows,e.get({id:c.id,controller:"agents"}).$promise}).then(function(b){ComponentsDropdowns.bindTeam(_.map(b.rows,"id"),_.map(a.agents,function(a){return{id:a.id,name:a.name,fullname:a.fullname,internal:a.internal}}),h)})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.team);return e.update({id:c.id},b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.teams.view",{url:"/view/:id",templateUrl:"app/staff/team/view/view.html",controller:"TeamViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.teams.view.agents",{url:"/agents",templateUrl:"app/staff/team/view/view.agents.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]}])}]}}).state("main.staff.teams.view.settings",{url:"/settings",templateUrl:"app/staff/team/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TelephoneListCtrl",["$scope","Telephone","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"telephones.csv",columnDefs:[{name:"fullname"},{name:"name"},{name:"internal"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/staff/telephones/view/{{row.entity.id}}/account",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.list",{url:"/list",templateUrl:"app/staff/telephone/list/list.html",controller:"TelephoneListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").factory("Telephone",["$resource",function(a){return a("/api/telephones/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones",{url:"/telephones",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneViewCtrl",["$scope","$http","$stateParams","$translate","$cookieStore","Auth","xAlert","Telephone",function(a,b,c,d,e,f,g,h){a.initView=function(){return a.Auth=f,a.forms={},h.get({id:c.id}).$promise.then(function(b){delete b.password,a.item=b,a.item.transport=a.item.transport?a.item.transport.split(","):[],a.item.allow=a.item.allow?a.item.allow.split(";"):[]})["catch"](function(a){g.show(a.message,"danger")})},a.updateItem=function(){var b=angular.copy(a.item);return b.transport=b.transport.join(","),b.allow=b.allow.join(";"),h.update(b).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){g.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.view",{url:"/view/:id",templateUrl:"app/staff/telephone/view/view.html",controller:"TelephoneViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.telephones.view.account",{url:"/account",templateUrl:"app/staff/telephone/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.telephones.view.voice",{url:"/voice",templateUrl:"app/staff/telephone/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("TelephoneWizardCtrl",["$scope","$http","$location","WizardHandler","xAlert","$translate","Telephone","Setting",function(a,b,c,d,e,f,g,h){a.forms={},a.item={allow:["alaw","ulaw","gsm"],transport:["udp"],context:"from-sip"},a.next=function(){d.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return h.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){e.show(a.data.message,"danger")})},a.createItem=function(){var b=angular.copy(a.item);return b.transport&&(b.transport=b.transport.join(",")),a.item.allow&&(b.allow=b.allow.join(";")),g.save(b).$promise.then(function(){c.path("/staff/telephones/list")})["catch"](function(a){e.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.telephones.wizard",{url:"/wizard",templateUrl:"app/staff/telephone/wizard/wizard.html",controller:"TelephoneWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("UserListCtrl",["$scope","$timeout","User","Auth","gridOptions",function(a,b,c,d,e){function f(a){if(a){var b=_.words(a),c=_.map(b,function(a){return a?a[0]:""});return c.join("").toUpperCase()}return!1}a.getUserAvatar=function(a,c,d){b(function(){angular.element("#userImg"+a).avatar({useGravatar:!1,initials:d?[]:f(c),fallbackImage:"api/users/avatar/"+d,size:80})})},a.isAdmin=function(a){return"admin"===a},a.initView=function(){var b={exporterCsvFilename:"users.csv",columnDefs:[{name:"fullname"},{name:"name",displayName:"APPLICATION_USERNAME"},{name:"internal"},{name:"email"},{name:"description"},{name:"action",width:200,buttons:[{"class":"blue-hoki",href:"/staff/users/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-meadow",href:"/staff/users/view/{{row.entity.id}}/permit/voice",name:"permits",hide:"grid.appScope.isAdmin(row.entity.role)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.fullname, row.entity.id)"}]}]};a.gridOptions=e.gridOptions(c,b,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.list",{url:"/list",templateUrl:"app/staff/user/list/list.html",controller:"UserListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Module",["$resource",function(a){return a("/api/modules/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("User",["$resource",function(a){return a("/api/users/:id/:controller/:controller2/:controller3",{id:"@id"},{changePassword:{method:"PUT",params:{controller:"password"}},update:{method:"PUT"},me:{method:"GET",params:{id:"me"}}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users",{url:"/users",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"landing"}}})}]),angular.module("xCallyShuttleApp").controller("UserViewCtrl",["$scope","$stateParams","$cookieStore","$translate","FileUploader","User","Auth","xAlert","MailQueue","VoiceQueue","ChatQueue","FaxQueue","SmsQueue","Team","Module","$location",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){function q(b){var c=_.find(a.modules,{id:b.ModuleId});if(b.status===!0)c.status=!0;else{var d=_.filter(a.modules,{ModuleId:b.ModuleId,status:!0});d.length||(c.status=!1)}c.ModuleId&&q(c)}function r(b,c){b.forEach(function(b){b.status=c;var d=_.filter(a.modules,{ModuleId:b.id});d.length&&r(d,c)})}a.Auth=g,a._=_,a.moduleSwitch={onText:"On",offText:"Off",isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initVoiceQueues=function(){var a={},c={};return j.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"voice",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"voice",b.id,f)})["catch"](function(a){console.error(a)})},a.initChatQueues=function(){var a={},c={};return k.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"chat",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"chat",b.id,f)})["catch"](function(a){console.error(a)})},a.initMailQueues=function(){var a={},c={};return i.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"mail",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"mail",b.id,f)})["catch"](function(a){console.error(a)})},a.initSmsQueues=function(){var a={},c={};return m.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),m.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"sms",controller3:"queues"}).$promise}).then(function(a){console.log("permits",a),c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"sms",b.id,f)})["catch"](function(a){console.error(a)})},a.initFaxQueues=function(){var a={},c={};return l.get().$promise.then(function(b){return a.queues=_.map(b.rows,function(a){return{id:a.id,name:a.name}}),i.get().$promise}).then(function(){return f.query({id:b.id,controller:"allowed",controller2:"fax",controller3:"queues"}).$promise}).then(function(a){c.queues=_.map(a,function(a){return{id:a.id,name:a.name}})}).then(function(){ComponentsDropdowns.bindPermit(a,c,"fax",b.id,f)})["catch"](function(a){console.error(a)})},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.user=b,a.user.transport=a.user.transport?a.user.transport.split(","):[],a.user.allow=a.user.allow?a.user.allow.split(";"):[]})["catch"](function(a){h.show(a.message,"danger")})},a.updateItem=function(){var c=angular.copy(a.user);return delete c.password,delete c.md5secret,c.transport=c.transport.join(","),c.allow=c.allow.join(";"),f.update({id:b.id},c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})},a.updatePassword=function(){var c={newPassword:a.user.newPwd};return g.isAdmin()?c.id=b.id:c.oldPassword=a.user.currentPwd,f.changePassword(c).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(a.message,"danger")})};var s=a.uploader=new e({url:"api/users/"+b.id+"/avatar",queueLimit:1,withCredentials:!0,headers:{Authorization:"Bearer "+c.get("token")}});s.filters.push({name:"imageFilter",fn:function(a){var b="|"+a.type.slice(a.type.lastIndexOf("/")+1)+"|";return-1!=="|jpg|png|jpeg|".indexOf(b)}}),a.getModules=function(){return a.associatedModules=[],o.get().$promise.then(function(c){return a.modules=c.rows,f.query({id:b.id,controller:"allowed",controller2:"modules"}).$promise}).then(function(b){a.modules.forEach(function(a){_.find(b,{id:a.id})?a.status=!0:a.status=!1})})["catch"](function(a){h.show(a.message,"danger")})},a.updatePermissions=function(c){c.ModuleId&&q(c);var e=_.filter(a.modules,{ModuleId:c.id});return e&&r(e,c.status),f.save({id:b.id,controller:"allowed",controller2:"modules"},{modules:_.map(_.filter(a.modules,{status:!0}),"id")}).$promise.then(function(){h.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.error(a)})},s.onSuccessItem=function(b,c){a.user.userpic=c.userpic,a.user.id===g.getCurrentUser().id&&(g.getCurrentUser().userpic=c.userpic),h.show(d.instant("MESSAGE_WELL_DONE"),"success")},s.onErrorItem=function(){h.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")},s.onCompleteAll=function(){s.clearQueue()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.view",{url:"/view/:id",templateUrl:"app/staff/user/view/view.html",controller:"UserViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.staff.users.view.account",{url:"/account",templateUrl:"app/staff/user/view/view.account.html",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css","assets/scripts/jquery.sparkline.min.js","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js","assets/scripts/profile.js"]})}]}}).state("main.staff.users.view.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit",{url:"/permit",templateUrl:"app/staff/user/view/view.permit.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}},cache:!1,serie:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/jquery-multi-select/css/multi-select.css","assets/plugins/jquery-multi-select/js/jquery.multi-select.js","assets/plugins/jquery-quicksearch/jquery.quicksearch.js","assets/scripts/components-dropdowns.js"]})}]}}).state("main.staff.users.view.permit.voice",{url:"/voice",templateUrl:"app/staff/user/view/view.permit.voice.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}}).state("main.staff.users.view.permit.chat",{url:"/chat",templateUrl:"app/staff/user/view/view.permit.chat.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.chat"}}}).state("main.staff.users.view.permit.mail",{url:"/mail",templateUrl:"app/staff/user/view/view.permit.mail.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.mail"}}}).state("main.staff.users.view.permit.fax",{url:"/fax",templateUrl:"app/staff/user/view/view.permit.fax.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.fax"}}}).state("main.staff.users.view.permit.sms",{url:"/sms",templateUrl:"app/staff/user/view/view.permit.sms.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.sms"}}}).state("main.staff.users.view.permit.modules",{url:"/modules",templateUrl:"app/staff/user/view/view.permit.modules.html",data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").controller("UserWizardCtrl",["$scope","$location","WizardHandler","xAlert","$translate","User","Setting",function(a,b,c,d,e,f,g){a.forms={info:void 0,voice:void 0},a.item={role:"user",host:"dynamic",context:"from-sip"},a.next=function(){c.wizard().next()},a.exitValidation=function(a){return a},a.getFirstFreeInternal=function(){return g.get({controller:"internal"}).$promise.then(function(b){a.item.internal=b.value})["catch"](function(a){d.show(a.data.message,"danger")})},a.createItem=function(){return f.save(a.item).$promise.then(function(){b.path("/staff/users/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.staff.users.wizard",{url:"/wizard",templateUrl:"app/staff/user/wizard/wizard.html",controller:"UserWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmListCtrl",["$scope","SugarcrmAccount","gridOptions","xAlert","$translate","Modal",function(a,b,c,d,e,f){a.initView=function(){var d={exporterCsvFilename:"sugarcrm_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_REMOTE_ADDRESS"},{name:"action",width:250,buttons:[{"class":"blue-hoki",href:"/sugarcrm/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.get({id:a,controller:"check"}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(a){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.list",{url:"/list",templateUrl:"app/sugarcrm/list/list.html",controller:"SugarcrmListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm",{url:"/sugarcrm",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin"],redirectTo:"main.dashboard.voice"}}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmAccount",["$resource",function(a){return a("/api/sugarcrm/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmConfiguration",["$resource",function(a){return a("/api/sugarcrm/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").factory("SugarcrmField",["$resource",function(a){return a("/api/sugarcrm/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").controller("SugarcrmViewCtrl",["$scope","$http","$stateParams","$translate","$location","$filter","WizardHandler","socket","xAlert","Modal",function(a,b,c,d,e,f,g,h,i,j){ +a.$stateParams=c,a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:500,scrollInertia:0},a.initConfiguration=function(){a.formsConfiguration={},a.configuration={}},a.goNext=function(){g.wizard().next()},a.formValidation=function(a){return a},a.$on("$destroy",function(){h.unsyncUpdates("sugarcrm_configuration"),h.unsyncUpdates("sugarcrm_field")}),a.initView=function(){b.get("/api/sugarcrm/accounts/"+c.id).success(function(b){a.account=b}).error(function(a){i.show(a.message,"danger")})},a.updateItem=function(){b.put("/api/sugarcrm/accounts/"+c.id,a.account).success(function(){i.show(d.instant("MESSAGE_WELL_DONE")+".","success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.getConfigurations=function(){b.get("/api/sugarcrm/configurations",{params:{AccountId:c.id}}).success(function(b){a.configurations=b,h.socket.on("sugarcrm_configuration:remove",function(b){_.remove(a.configurations,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.deleteConfiguration=j.confirm["delete"](function(a){b["delete"]("api/sugarcrm/configurations/"+a).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})}),a.createConfiguration=function(){a.configuration.AccountId=c.id,b.post("api/sugarcrm/configurations",a.configuration).success(function(a){e.path("sugarcrm/view/"+c.id+"/configurations/settings/"+a.id)}).error(function(){i.show("Something went wrong!","danger")})},a.fieldType=["string","variable"],a.descFieldType=["string","key_value"],a.getFields=function(){b.get("/api/sugarcrm/accounts/"+c.id+"/fields").success(function(b){a.accountFields=_.sortByOrder(f("sugarcrm")(_.toArray(b)),"name","asc"),_.forEach(b,function(a){a.options=_.toArray(a.options)})}).error(function(a){i.show(a.message,"danger")})},a.getConfiguration=function(){b.get("/api/sugarcrm/configurations/"+c.configurationId).success(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,h.socket.on("sugarcrm_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})}).error(function(a){i.show(a.message,"danger")})},a.getVariables=function(){b.get("/api/variables").success(function(b){a.variables=b.rows}).error(function(a){i.show(a.message,"danger")})},a.removeItem=function(a){b["delete"]("api/sugarcrm/fields/"+a.id).success(function(){i.show(d.instant("MESSAGE_WELL_DONE"),"success")}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG"),"danger")})},a.addItemSubject=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/subject",d).success(function(b){a.subjectConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemDescription=function(){var d={type:"string",content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/description",d).success(function(b){a.descriptionConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.addItemField=function(){var d={content:""};b.post("/api/sugarcrm/configurations/"+c.configurationId+"/field",d).success(function(b){a.fieldConfig.push(b)}).error(function(){i.show("Something went wrong!","danger")})},a.updateField=function(a){b.put("/api/sugarcrm/fields/"+a.id,a).success(function(){}).error(function(){i.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})},a.changeType=function(b){"variable"===b.type?b.content="":"string"===b.type&&(b.VariableId=null),a.updateField(b)},a.changeDescType=function(b){"key_value"===b.type?(b.content="","string"===b.keyType?b.VariableId=null:"variable"===b.keyType&&(b.keyContent="")):"string"===b.type&&(b.VariableId=null,b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){b.content="",a.updateField(b)},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"name",b);return c?c.options.length>0?c.options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.view",{url:"/view/:id",templateUrl:"app/sugarcrm/view/view.html",controller:"SugarcrmViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.sugarcrm.view.account",{url:"/account",templateUrl:"app/sugarcrm/view/view.account.html"}).state("main.sugarcrm.view.configurations",{url:"/configurations",templateUrl:"app/sugarcrm/view/view.configurations.html"}).state("main.sugarcrm.view.configurations.settings",{url:"/settings/:configurationId",templateUrl:"app/sugarcrm/view/view.configurationSettings.html",controller:"SugarcrmViewCtrl"}).state("main.sugarcrm.view.configuration",{url:"/configuration",templateUrl:"app/sugarcrm/view/view.configuration.html"})}]),angular.module("xCallyShuttleApp").controller("SugarcrmkWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler",function(a,b,c,d,e,f){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={}},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){b.post("api/sugarcrm/accounts",a.item).success(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/sugarcrm/list")}).error(function(){e.show(d.instant("MESSAGE_SOMETHING_WENT_WRONG")+".","danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.sugarcrm.wizard",{url:"/wizard",templateUrl:"app/sugarcrm/wizard/wizard.html",controller:"SugarcrmkWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("CannedAnswer",["$resource",function(a){return a("/api/answers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers",{url:"/answers",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AnswerListCtrl",["$scope","$uibModal","CannedAnswer","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"answers.csv",columnDefs:[{name:"key",displayName:"APPLICATION_NAME"},{name:"value"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/answers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.key, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){b.open({animation:!0,templateUrl:"app/tools/answer/list/list.create.modal.html",controller:"AnswerListCreateCtrl"}).result.then(function(b){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("AnswerListCreateCtrl",["$scope","$translate","$uibModalInstance","CannedAnswer","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.list",{url:"/list",templateUrl:"app/tools/answer/list/list.html",controller:"AnswerListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AnswerViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","CannedAnswer",function(a,b,c,d,e,f,g){a.getAnswer=function(){return g.get({id:e.id}).$promise.then(function(b){a.answer=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateAnswer=function(){var b=angular.copy(a.answer);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.answers.view",{url:"/view/:id",templateUrl:"app/tools/answer/view/view.html",controller:"AnswerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.answers.view.settings",{url:"/settings",templateUrl:"app/tools/answer/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("Automation",["$resource",function(a){return a("/api/automations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations",{url:"/automations",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("AutomationListCtrl",["$scope","$http","$translate","xAlert","Automation","gridOptions",function(a,b,c,d,e,f){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Automations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.status" type="checkbox" switch-active="{{ grid.appScope.isActive }}" switch-on-text="{{ grid.appScope.onText }}" switch-off-text="{{ grid.appScope.offText }}" switch-on-color="{{ grid.appScope.onColor }}" switch-off-color="{{ grid.appScope.offColor }}" switch-animate="{{ grid.appScope.animate }}" switch-size="{{ grid.appScope.size }}" switch-label="{{ grid.appScope.label }}" switch-icon="{{ grid.appScope.icon }}" switch-radio-off="{{ grid.appScope.radioOff }}" switch-label-width="{{ grid.appScope.labelWidth }}" switch-handle-width="{{ grid.appScope.handleWidth }}"></div>',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/automations/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.updateItem=function(a){return e.update({id:a.id},a).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.list",{url:"/list",templateUrl:"app/tools/automation/list/list.html",controller:"AutomationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("AutomationViewCtrl",["$scope","$stateParams","$http","$translate","xAlert","automations","Automation","$location",function(a,b,c,d,e,f,g,h){a.$automations=f,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.automation[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.automation[b].splice(c,1)},a.addAction=function(){a.automation.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.automation.Actions.splice(b,1)},a.initView=function(){return g.get({id:b.id}).$promise.then(function(b){a.automation=b})["catch"](function(a){e.show(a.message,"danger"),h.path("/tools/automations/list")})},a.updateAutomation=function(){return g.update({id:b.id},a.automation).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.automation.All.length||a.automation.Any.length)&&a.automation.Actions.length),b&&(a.automation.All.length||a.automation.Any.length)&&a.automation.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.view",{url:"/view/:id",templateUrl:"app/tools/automation/view/view.html",controller:"AutomationViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.automations.view.settings",{url:"/settings",templateUrl:"app/tools/automation/view/view.settings.html"}).state("main.tools.automations.view.routes",{url:"/routes",templateUrl:"app/tools/automation/view/view.routes.html"}).state("main.tools.automations.view.application",{url:"/application",templateUrl:"app/tools/automation/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("AutomationWizardCtrl",["$scope","$http","$location","xAlert","automations","WizardHandler","Automation",function(a,b,c,d,e,f,g){a.$automations=e,a.statusSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="mail",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/automations/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return b&&(a.item.All.length||a.item.Any.length)&&a.item.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.automations.wizard",{url:"/wizard",templateUrl:"app/tools/automation/wizard/wizard.html",controller:"AutomationWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("Interval",["$resource",function(a){return a("/api/intervals/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals",{url:"/intervals",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("IntervalListCtrl",["$scope","$uibModal","Interval","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"intervals.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/intervals/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/interval/list/list.create.modal.html",controller:"IntervalListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("IntervalListCreateCtrl",["$scope","$translate","$uibModalInstance","Interval","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(b.instant(a.data.message),"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.list",{url:"/list",templateUrl:"app/tools/interval/list/list.html",controller:"IntervalListCtrl"})}]),angular.module("xCallyShuttleApp").controller("IntervalViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","WizardHandler","Modal","interval",function(a,b,c,d,e,f,g,h,i,j){function k(b){console.log(b);var c,d,e,f;c=b.t_from&&b.t_to&&!b.alwaysTime?moment(b.t_from).format("HH:mm")+"-"+moment(b.t_to).format("HH:mm"):"*",b.wd_from&&"always"!==b.wd_from?(d=b.wd_from,b.wd_to&&"always"!==b.wd_to&&(d+="-"+b.wd_to)):d="*",b.md_from&&"always"!==b.md_from?(e=b.md_from,b.md_to&&"always"!==b.md_to&&(e+="-"+b.md_to)):e="*",b.m_from&&"always"!==b.m_from?(f=b.m_from,b.m_to&&"always"!==b.m_to&&(f+="-"+b.m_to)):f="*",void 0!==a.selectedSubInterval?a.interval.SubIntervals[a.selectedSubInterval].interval=c+","+d+","+e+","+f:a.subinterval.interval=c+","+d+","+e+","+f}a.$translate=d,a.$interval=j.interval,a.selectedSubInterval=void 0,a.gridOptions={columnDefs:[{name:"name",displayName:"APPLICATION_NAME",headerCellFilter:"translate"},{name:"interval",displayName:"APPLICATION_INTERVAL",headerCellFilter:"translate"},{name:"action",displayName:"APPLICATION_ACTION",headerCellFilter:"translate",width:125,cellTemplate:'<a class="btn btn-xs blue-hoki" data-ng-click="grid.appScope.openSubInterval(grid.appScope.gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_SETTINGS\' | translate}}</a><a class="btn btn-xs red-sunglo" data-ng-click="grid.appScope.deleteSubInterval(row.entity.name+\' interval\', gridOptions.data.indexOf(row.entity))">{{\'APPLICATION_DELETE\' | translate}}</a>'}]},a.forms={subinterval:void 0,general:void 0},a.initSubInterval=function(b){b&&(a.selectedSubInterval=void 0),a.subinterval={},a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date),wd_from:"always",wd_to:"always",md_from:"always",md_to:"always",m_from:"always",m_to:"always",alwaysTime:!0}},a.next=function(){h.wizard().next()},a.previous=function(){h.wizard().previous()},a.exitValidation=function(a){return a},a.deselectAndRedirect=function(b){a.selectedSubInterval=void 0,g.path(b)},a.getInterval=function(){b.get("/api/intervals/"+e.id).success(function(b){a.interval=b,a.gridOptions.data=b.SubIntervals}).error(function(a){console.error(a),g.path("/tools/intervals/list")})},a.openSubInterval=function(b){a.selectedSubInterval=b,g.path("/tools/intervals/view/"+e.id+"/subintervals/settings")},a.updateInterval=function(f){a.selectedSubInterval=void 0,b.put("/api/intervals/"+e.id,a.interval).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success"),f&&g.path("/tools/intervals/view/"+e.id+"/"+f)}).error(function(a){c.show(d.instant(a.message),"danger")})},a.getSubInterval=function(){void 0===a.selectedSubInterval&&g.path("/tools/intervals/list"),a.splittedInterval={t_from:moment(new Date),t_to:moment(new Date)};var b,c=a.interval.SubIntervals[a.selectedSubInterval]?a.interval.SubIntervals[a.selectedSubInterval].interval.split(","):["*","*","*","*"];c.forEach(function(c,d){switch(d){case 0:"*"!==c?(b=c.split("-"),a.splittedInterval.t_from=moment(b[0],"HH:mm"),a.splittedInterval.t_to=moment(b[1],"HH:mm"),a.splittedInterval.alwaysTime=!1):(a.splittedInterval.t_from=moment(new Date),a.splittedInterval.t_to=moment(new Date),a.splittedInterval.alwaysTime=!0);break;case 1:"*"!==c?(b=c.split("-"),a.splittedInterval.wd_from=b[0],a.splittedInterval.wd_to=b[1]?b[1]:"always"):(a.splittedInterval.wd_from="always",a.splittedInterval.wd_to="always");break;case 2:"*"!==c?(b=c.split("-"),a.splittedInterval.md_from=b[0],a.splittedInterval.md_to=b[1]?b[1]:"always"):(a.splittedInterval.md_from="always",a.splittedInterval.md_to="always");break;case 3:"*"!==c?(b=c.split("-"),a.splittedInterval.m_from=b[0],a.splittedInterval.m_to=b[1]?b[1]:"always"):(a.splittedInterval.m_from="always",a.splittedInterval.m_to="always")}})},a.$watch("splittedInterval",function(a){a&&k(a)},!0),a.addSubInterval=function(){a.interval.SubIntervals.push(a.subinterval),a.updateInterval("subintervals")},a.deleteSubInterval=i.confirm["delete"](function(b){a.interval.SubIntervals.splice(b,1),a.updateInterval()})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.intervals.view",{url:"/view/:id",templateUrl:"app/tools/interval/view/view.html",controller:"IntervalViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.intervals.view.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.settings.html"}).state("main.tools.intervals.view.subintervals",{url:"/subintervals",templateUrl:"app/tools/interval/view/view.subintervals.html"}).state("main.tools.intervals.view.subinterval",{url:"/subinterval",templateUrl:"app/tools/interval/view/view.subinterval.html"}).state("main.tools.intervals.view.subintervals.settings",{url:"/settings",templateUrl:"app/tools/interval/view/view.subintervalSettings.html"})}]),angular.module("xCallyShuttleApp").controller("PauseListCtrl",["$scope","$log","$uibModal","$translate","Pause","gridOptions",function(a,b,c,d,e,f){a.initView=function(){var b={exporterCsvFilename:"pauses.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/pauses/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=f.gridOptions(e,b,a)},a.createItem=function(){var b=c.open({animation:!0,templateUrl:"app/tools/pause/list/list.create.modal.html",controller:"PauseListCreateCtrl"});b.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("PauseListCreateCtrl",["$scope","$translate","$uibModalInstance","Pause","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.list",{url:"/list",templateUrl:"app/tools/pause/list/list.html",controller:"PauseListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Pause",["$resource",function(a){return a("/api/pauses/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses",{url:"/pauses",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("PauseViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Pause",function(a,b,c,d,e,f,g){a.getPause=function(){return g.get({id:e.id}).$promise.then(function(b){a.pause=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updatePause=function(){var b=angular.copy(a.pause);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.pauses.view",{url:"/view/:id",templateUrl:"app/tools/pause/view/view.html",controller:"PauseViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.pauses.view.settings",{url:"/settings",templateUrl:"app/tools/pause/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SchedulerListCtrl",["$scope","Scheduler","gridOptions","xAlert","$translate","socket",function(a,b,c,d,e,f){a._=_,a.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"},{name:"APPLICATION_HISTORY_MOVE",value:"history"},{name:"APPLICATION_DB_BACKUP",value:"backup"}],a.initView=function(){var d={exporterCsvFilename:"Schedules.csv",columnDefs:[{name:"name"},{name:"type"},{name:"description",cellTemplate:'<div class="centered-uigrid-td">{{grid.appScope._.find(grid.appScope.scheduleTypes,{value:row.entity.type}).name | translate}}</div>'},{name:"active",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.active" type="checkbox" switch-active="{{ grid.appScope.switches.isActive }}" switch-on-text="{{ \'APPLICATION_YES\' | translate }}" switch-off-text="{{ \'APPLICATION_NO\' | translate }}" switch-on-color="{{ grid.appScope.switches.onColor }}" switch-off-color="{{ grid.appScope.switches.offColor }}" switch-animate="{{ grid.appScope.switches.animate }}" switch-size="{{ grid.appScope.switches.size }}" switch-label="{{ grid.appScope.switches.label }}" switch-icon="{{ grid.appScope.switches.icon }}" switch-radio-off="{{ grid.appScope.switches.radioOff }}" switch-label-width="{{ grid.appScope.switches.labelWidth }}" switch-handle-width="{{ grid.appScope.switches.handleWidth }}"></div>',enableFiltering:!1,enableSorting:!1},{name:"sendMail",displayName:"APPLICATION_SEND_MAIL",cellTemplate:'<div data-ng-if="row.entity.type == \'report\'" class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.sendMail" type="checkbox" switch-active="{{ grid.appScope.switches.isActive }}" switch-on-text="{{ \'APPLICATION_YES\' | translate }}" switch-off-text="{{ \'APPLICATION_NO\' | translate }}" switch-on-color="{{ grid.appScope.switches.onColor }}" switch-off-color="{{ grid.appScope.switches.offColor }}" switch-animate="{{ grid.appScope.switches.animate }}" switch-size="{{ grid.appScope.switches.size }}" switch-label="{{ grid.appScope.switches.label }}" switch-icon="{{ grid.appScope.switches.icon }}" switch-radio-off="{{ grid.appScope.switches.radioOff }}" switch-label-width="{{ grid.appScope.switches.labelWidth }}" switch-handle-width="{{ grid.appScope.switches.handleWidth }}"></div>',enableFiltering:!1,enableSorting:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/scheduler/view/{{row.entity.id}}/settings",name:"settings"},{"class":"green-turquoise",name:"run",onClick:"grid.appScope.runSchedule(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.updateItem=function(a){return b.update({id:a.id},a).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.runSchedule=function(a){return b.get({id:a,controller:"run"}).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler.list",{url:"/list",templateUrl:"app/tools/scheduler/list/list.html",controller:"SchedulerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Scheduler",["$resource",function(a){return a("/api/scheduler/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler",{url:"/scheduler",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("SchedulerViewCtrl",["$scope","xAlert","$translate","$stateParams","socket","$location","ReportTree","Scheduler","DefaultReport","CustomReport","$timeout","MailServerOut",function(a,b,c,d,e,f,g,h,i,j,k,l){function m(b){var c;switch(b.cronType){case"daily":a.rangeExec.hour=Number(b.cron.split(" ")[1]),a.rangeExec.type=b.cronType;break;case"weekly":c=b.cron.split(" "),a.rangeExec.hour=Number(c[1]),c[4].split(",").forEach(function(b){a.rangeExec.weekDays.push(Number(b))}),a.rangeExec.type=b.cronType;break;case"monthly":c=b.cron.split(" "),a.rangeExec.hour=Number(c[1]),a.rangeExec.monthDay=Number(c[2]),a.rangeExec.type=b.cronType;break;case"currentDay":a.switchValues.today=!0}a.$watch("rangeExec",function(b){a.switchValues.today||n()},!0)}function n(){switch(a.schedule.cronType=a.rangeExec.type,a.rangeExec.type){case"daily":a.schedule.cron="* "+a.rangeExec.hour+" * * *";break;case"weekly":a.schedule.cron="* "+a.rangeExec.hour+" * * "+a.rangeExec.weekDays.join(",");break;case"monthly":a.schedule.cron="* "+a.rangeExec.hour+" "+a.rangeExec.monthDay+" * *"}}a.forms={},a.rangeExec={weekDays:[],monthDay:null,hour:0,type:null},a.initReports=function(){return a.reports=[],a.tempTodayCron=null,g.query().$promise.then(function(b){return a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),i.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Default - "+_.find(a.defaultTreeData,{id:b.parent}).text,b.type="default"}),a.reports=a.reports.concat(b.rows)),j.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Custom - "+_.find(a.customTreeData,{id:b.parent}).text,b.type="custom"}),a.reports=a.reports.concat(b.rows)),l.get().$promise}).then(function(b){a.mailServers=b.rows})["catch"](function(a){b.error(a)})},a.initView=function(){return h.get({id:d.id}).$promise.then(function(b){a.schedule=b,m(b)}).then(function(){e.socket.on("schedule:update",function(b){a.schedule.id===b.id&&(a.schedule.active=b.active,a.schedule.sendMail=b.sendMail)})})["catch"](function(a){console.error(a),f.path("/tools/scheduler/list")})},a.refreshSlider=function(){k(function(){a.$broadcast("rzSliderForceRender"),a.refreshSlider=null})},a.monthDays=function(){for(var a=[],b=1;31>=b;b++)a.push(b);return a}(),a.hours=function(){for(var a=[],b=0;23>=b;b++)a.push(b);return a}(),a.setReportTree=function(b){a.schedule.reportType=b.type},a.validitySlider={ceil:24,floor:0,showTicks:!0},a.switchValues={today:!1},a.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"}],a.todayCron=[{name:"15 min",value:"*/15 * * * *"},{name:"30 min",value:"*/30 * * * *"},{name:"1 h",value:"0 * * * *"}],a.reportRanges=[{name:"APPLICATION_PREVIOUS_DAY",value:"yesterday"},{name:"APPLICATION_LAST_SEVEN_DAYS",value:"last7"},{name:"APPLICATION_LAST_THIRTY_DAYS",value:"last30"},{name:"APPLICATION_LAST_MONTH",value:"lastMonth"}],a.cronTypes=[{name:"APPLICATION_DAY",value:"daily"},{name:"APPLICATION_WEEK",value:"weekly"},{name:"APPLICATION_MONTH",value:"monthly"}],a.weekDays=[{name:"APPLICATION_MONDAY",value:1},{name:"APPLICATION_TUESDAY",value:2},{name:"APPLICATION_WEDNESDAY",value:3},{name:"APPLICATION_THURSDAY",value:4},{name:"APPLICATION_FRIDAY",value:5},{name:"APPLICATION_SATURDAY",value:6},{name:"APPLICATION_SUNDAY",value:0}],a.checkToday=function(){a.switchValues.today?(a.schedule.cron=angular.copy(a.tempTodayCron),a.schedule.cronType="currentDay"):(a.tempTodayCron=angular.copy(a.schedule.cron), +a.schedule.cron=void 0,n())},a.updateSchedule=function(){return h.update({id:a.schedule.id},a.schedule).$promise.then(function(){b.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),b.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler.view",{url:"/view/:id",templateUrl:"app/tools/scheduler/view/view.html",controller:"SchedulerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.scheduler.view.settings",{url:"/settings",templateUrl:"app/tools/scheduler/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("SchedulerWizardCtrl",["$scope","WizardHandler","$location","xAlert","Scheduler","ReportTree","$translate","DefaultReport","CustomReport","MailServerOut",function(a,b,c,d,e,f,g,h,i,j){function k(){switch(a.item.cronType=a.rangeExec.type,a.rangeExec.type){case"daily":a.item.cron="* "+a.rangeExec.hour+" * * *";break;case"weekly":a.item.cron="* "+a.rangeExec.hour+" * * "+a.rangeExec.weekDays.join(",");break;case"monthly":a.item.cron="* "+a.rangeExec.hour+" "+a.rangeExec.monthDay+" * *"}}a.forms={},a.item={validityStart:8,validityEnd:16},a.initReports=function(){return a.reports=[],f.query().$promise.then(function(b){return a.defaultTreeData=JSON.parse(b[0].tree),a.customTreeData=JSON.parse(b[1].tree),h.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Default - "+_.find(a.defaultTreeData,{id:b.parent}).text,b.type="default"}),a.reports=a.reports.concat(b.rows)),i.get().$promise}).then(function(b){return b.rows.length&&(_.forEach(b.rows,function(b){b.parent="Custom - "+_.find(a.customTreeData,{id:b.parent}).text,b.type="custom"}),a.reports=a.reports.concat(b.rows)),j.get().$promise}).then(function(b){a.mailServers=b.rows})["catch"](function(a){d.error(a)})},a.setReportTree=function(b){a.item.reportType=b.type},a.validitySlider={ceil:24,floor:0,showTicks:!0},a.switchValues={today:!1},a.switches={isActive:!0,size:"mini",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.scheduleTypes=[{name:"APPLICATION_REPORT_EXTRACTION",value:"report"}],a.todayCron=[{name:"15 min",value:"*/15 * * * *"},{name:"30 min",value:"*/30 * * * *"},{name:"1 h",value:"0 * * * *"}],a.reportRanges=[{name:"APPLICATION_PREVIOUS_DAY",value:"yesterday"},{name:"APPLICATION_LAST_SEVEN_DAYS",value:"last7"},{name:"APPLICATION_LAST_THIRTY_DAYS",value:"last30"},{name:"APPLICATION_LAST_MONTH",value:"lastMonth"}],a.cronTypes=[{name:"APPLICATION_DAY",value:"daily"},{name:"APPLICATION_WEEK",value:"weekly"},{name:"APPLICATION_MONTH",value:"monthly"}],a.weekDays=[{name:"APPLICATION_MONDAY",value:1},{name:"APPLICATION_TUESDAY",value:2},{name:"APPLICATION_WEDNESDAY",value:3},{name:"APPLICATION_THURSDAY",value:4},{name:"APPLICATION_FRIDAY",value:5},{name:"APPLICATION_SATURDAY",value:6},{name:"APPLICATION_SUNDAY",value:0}],a.tempTodayCron=null,a.checkToday=function(){a.switchValues.today?(a.item.cron=angular.copy(a.tempTodayCron),a.item.cronType="currentDay"):(a.tempTodayCron=angular.copy(a.item.cron),a.item.cron=void 0,k())},a.monthDays=function(){for(var a=[],b=1;31>=b;b++)a.push(b);return a}(),a.hours=function(){for(var a=[],b=0;23>=b;b++)a.push(b);return a}(),a.rangeExec={weekDays:[],monthDay:null,hour:0,type:null},a.$watch("rangeExec",function(b){a.switchValues.today||k()},!0),a.next=function(){b.wizard().next()},a.previous=function(){b.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return e.save(a.item).$promise.then(function(){c.path("/tools/scheduler/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.scheduler.wizard",{url:"/wizard",templateUrl:"app/tools/scheduler/wizard/wizard.html",controller:"SchedulerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("SoundListCtrl",["$scope","$http","socket","Modal","$q","FileUploader","$translate","xAlert","$cookieStore","$sce","Sound",function(a,b,c,d,e,f,g,h,i,j,k){a.Sound=k,a.isCollapsed=!0,a.downloadButtonClass="btn btn-xs blue-hoki",a["delete"]=d.confirm["delete"](function(a){b["delete"]("/api/sounds/"+a).success(function(a){}).error(function(a){console.log(a)})}),a.updateAudio=function(a,c){var d=e.defer();return b.put("/api/sounds/"+a,c).success(function(a){d.resolve()}).error(function(a){console.log(a.message),d.reject(a.message)}),d.promise},a.$on("$destroy",function(){c.unsyncUpdates("sound")}),a.initList=function(){b.get("/api/sounds").success(function(b){a.sounds=b.rows,b.rows.length||(a.isCollapsed=!1),c.syncUpdates("sound",a.sounds,function(){a.sounds.length||(a.isCollapsed=!1)})}).error(function(a){})};var l=a.uploader=new f({url:"/api/sounds",withCredentials:!0,headers:{Authorization:"Bearer "+i.get("token")}});l.filters.push({name:"customFilter",fn:function(a,b){return this.queue.length<10}}),l.onWhenAddingFileFailed=function(a,b,c){console.info("onWhenAddingFileFailed",a,b,c)},l.onAfterAddingFile=function(a){console.info("onAfterAddingFile",a)},l.onAfterAddingAll=function(a){console.info("onAfterAddingAll",a)},l.onBeforeUploadItem=function(a){console.info("onBeforeUploadItem",a)},l.onProgressItem=function(a,b){console.info("onProgressItem",a,b),a.isUploading=!0},l.onProgressAll=function(a){console.info("onProgressAll",a)},l.onSuccessItem=function(a,b,c,d){console.info("onSuccessItem",a,b,c,d),a.isUploading=!1},l.onErrorItem=function(a,b,c,d){console.info("onErrorItem",a,b,c,d),a.responseMessage=b,a.isUploading=!1},l.onCancelItem=function(a,b,c,d){console.info("onCancelItem",a,b,c,d),a.isUploading=!1},l.onCompleteItem=function(a,b,c,d){console.info("onCompleteItem",a,b,c,d),a.isUploading=!1},l.onCompleteAll=function(){console.info("onCompleteAll")},console.info("uploader",l)}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds.list",{url:"/list",templateUrl:"app/tools/sound/list/list.html",controller:"SoundListCtrl",authenticate:!0,resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/plugins/bootstrap-fileinput/bootstrap-fileinput.js"]})}]}})}]),angular.module("xCallyShuttleApp").factory("Sound",["$resource",function(a){return a("/api/sounds/:id/:controller",{name:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.sounds",{url:"/sounds",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagListCtrl",["$scope","$uibModal","Tag","gridOptions","$rootScope",function(a,b,c,d,e){a.initView=function(){var b={exporterCsvFilename:"tag.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/tags/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/tag/list/list.create.modal.html",controller:"TagListCreateCtrl"});c.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("TagListCreateCtrl",["$scope","$translate","$uibModalInstance","Tag","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.list",{url:"/list",templateUrl:"app/tools/tag/list/list.html",controller:"TagListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Tag",["$resource",function(a){return a("/api/tags/:id/:controller/:tag",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags",{url:"/tags",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TagViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location","Tag","gridOptions","List","Company","Contact","uiGridConstants","usSpinnerService",function(a,b,c,d,e,f,g,h,i,j,k,l,m){function n(){m.stop("spinner-grid"),a.readyGrid=!0}a.getTag=function(){return g.get({id:e.id}).$promise.then(function(b){a.tag=b})["catch"](function(a){c.show(a.data.message,"danger")})},a.updateTag=function(){var b=angular.copy(a.tag);return g.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){c.show(a.data.message,"danger")})},a.initChat=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagChat.csv",columnDefs:[{name:"type"},{name:"status"},{name:"ChatWebsite.name",displayName:"APPLICATION_WEBSITE"},{name:"ChatVisitor.email",displayName:"APPLICATION_VISITOR"},{name:"action",width:40,buttons:[{"class":"green",name:"chatRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'chatRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"chat",tag:a.tag.name},null,null,n())},a.initMail=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagMail.csv",columnDefs:[{name:"subject"},{name:"from"},{name:"account"},{name:"status"},{name:"action",width:40,buttons:[{"class":"green",name:"mailRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'mailRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"mail",tag:a.tag.name},null,null,n())},a.initFax=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagFax.csv",columnDefs:[{name:"from"},{name:"account"},{name:"status"},{name:"action",width:40,buttons:[{"class":"green",name:"faxRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'faxRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"fax",tag:a.tag.name},null,null,n())},a.initSms=function(){m.spin("spinner-grid");var b={enableRowSelection:!1,exporterCsvFilename:"tagSms.csv",columnDefs:[{name:"from"},{name:"status"},{name:"action",width:40,buttons:[{"class":"green",name:"smsRoom",onClick:"grid.appScope.openRoom(row.entity.id, 'smsRoom')"}]}]};a.gridOptions=h.gridOptions(g,b,a,{controller:"sms",tag:a.tag.name},null,null,n())},a.initContacts=function(){a.readyGrid=!1,m.spin("spinner-grid");var b;return i.get().$promise.then(function(b){return a.lists=[],b.rows.forEach(function(b,c){a.lists.push({value:b.id,label:b.name})}),j.get().$promise}).then(function(b){a.companies=[],b.rows.forEach(function(b,c){a.companies.push({value:b.id,label:b.name})})}).then(function(){b={enableRowSelection:!1,exporterCsvFilename:"tagContacts.csv",columnDefs:[{name:"firstName"},{name:"lastName"},{name:"phone"},{name:"email"},{name:"ListId",displayName:"APPLICATION_LIST",field:"List.name",filter:{type:l.filter.SELECT,selectOptions:a.lists}},{name:"CompanyId",displayName:"APPLICATION_COMPANY",field:"Company.name",filter:{type:l.filter.SELECT,term:e.companyId||null,selectOptions:a.companies}},{name:"action",width:40,buttons:[{"class":"blue-hoki",name:"profile",onClick:"grid.appScope.openContactTab(row.entity)"}]}]},a.gridOptions=h.gridOptions(g,b,a,{controller:"contacts",tag:a.tag.name},null,null,n())})["catch"](function(a){c.show(d.instant(a.message)+"!","danger")})},a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:c});if(d)d.active=!0;else{var e;switch(c){case"mailRoom":e="icon-envelope";break;case"chatRoom":e="fa fa-users";break;case"faxRoom":e="icon-paper-plane";break;case"smsRoom":e="glyphicon glyphicon-comment"}a.workspaces.push({id:b,type:c,"class":e,active:!0})}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.tags.view",{url:"/view/:id",templateUrl:"app/tools/tag/view/view.html",controller:"TagViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.tags.view.settings",{url:"/settings",templateUrl:"app/tools/tag/view/view.settings.html"}).state("main.tools.tags.view.chat",{url:"/chat",templateUrl:"app/tools/tag/view/view.chat.html"}).state("main.tools.tags.view.mail",{url:"/mail",templateUrl:"app/tools/tag/view/view.mail.html"}).state("main.tools.tags.view.fax",{url:"/fax",templateUrl:"app/tools/tag/view/view.fax.html"}).state("main.tools.tags.view.sms",{url:"/sms",templateUrl:"app/tools/tag/view/view.sms.html"}).state("main.tools.tags.view.contacts",{url:"/contacts",templateUrl:"app/tools/tag/view/view.contacts.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateListCtrl",["$scope","Template","gridOptions",function(a,b,c){a.initView=function(){var d={exporterCsvFilename:"templates.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/tools/templates/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.list",{url:"/list",templateUrl:"app/tools/template/list/list.html",controller:"TemplateListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Template",["$resource",function(a){return a("/api/templates/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates",{url:"/templates",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TemplateViewCtrl",["$scope","$rootScope","$http","$translate","$stateParams","xAlert","Template","templateVariable","Variable",function(a,b,c,d,e,f,g,h,i){a.initItem=function(){CKEDITOR.plugins.addExternal("richparams","/assets/plugins/ckeditor-richparams/"),a.options={language:b.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"richparams,autogrow",autoGrow_minHeight:450,richparams:h,disableNativeSpellChecker:!1,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail"]}]},a.form={},a.item={},a.item=g.get({id:e.id})},a.updateItem=function(){return g.update(a.item).$promise.then(function(){f.show(d.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.view",{url:"/view/:id",templateUrl:"app/tools/template/view/view.html",controller:"TemplateViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.templates.view.settings",{url:"/settings",templateUrl:"app/tools/template/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TemplateWizardCtrl",["$scope","$rootScope","$location","$http","WizardHandler","xAlert","Template","templateVariable",function(a,b,c,d,e,f,g,h){a.initWizard=function(){CKEDITOR.plugins.addExternal("richparams","/assets/plugins/ckeditor-richparams/"),a.options={language:b.language,allowedContent:!0,entities:!1,skin:"office2013",contentsCss:"/assets/css/global/richparams.css",extraPlugins:"richparams,autogrow",autoGrow_minHeight:450,disableNativeSpellChecker:!1,richparams:h,toolbar:[{name:"clipboard",items:["Cut","Copy","Paste","PasteText","PasteFromWord","-","Undo","Redo"]},{name:"links",items:["Link","Unlink","Anchor"]},{name:"insert",items:["Image","Table","HorizontalRule","SpecialChar"]},{name:"tools",items:["Maximize"]},{name:"document",items:["Source"]},"/",{name:"basicstyles",items:["Bold","Italic","Underline","Strike","Subscript","Superscript","-","RemoveFormat"]},{name:"paragraph",items:["NumberedList","BulletedList","-","Outdent","Indent","-","Blockquote"]},{name:"styles",items:["Styles","Format"]},"/",{name:"motion",items:["voice","chat","mail"]}]},a.item={},a.form={}},a.exitValidation=function(a){return a},a.createItem=function(){return g.save({name:a.item.name,description:a.item.description,subject:a.item.subject||null,html:a.item.html||null,text:a.item.text||null}).$promise.then(function(){c.path("/tools/templates/list")})["catch"](function(a){f.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.templates.wizard",{url:"/wizard",templateUrl:"app/tools/template/wizard/wizard.html",controller:"TemplateWizardCtrl"})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools",{url:"/tools",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("TriggerListCtrl",["$scope","$http","$translate","Modal","xAlert","Trigger","gridOptions",function(a,b,c,d,e,f,g){a.onText="On",a.offText="Off",a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var b={exporterCsvFilename:"Triggers.csv",columnDefs:[{name:"name"},{name:"description"},{name:"channel"},{name:"status",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.status" type="checkbox" switch-active="{{ grid.appScope.isActive }}" switch-on-text="{{ grid.appScope.onText }}" switch-off-text="{{ grid.appScope.offText }}" switch-on-color="{{ grid.appScope.onColor }}" switch-off-color="{{ grid.appScope.offColor }}" switch-animate="{{ grid.appScope.animate }}" switch-size="{{ grid.appScope.size }}" switch-label="{{ grid.appScope.label }}" switch-icon="{{ grid.appScope.icon }}" switch-radio-off="{{ grid.appScope.radioOff }}" switch-label-width="{{ grid.appScope.labelWidth }}" switch-handle-width="{{ grid.appScope.handleWidth }}"></div>',width:100,enableFiltering:!1},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/triggers/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=g.gridOptions(f,b,a)},a.updateItem=function(a){return f.update({id:a.id},a).$promise.then(function(){e.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),e.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.list",{url:"/list",templateUrl:"app/tools/trigger/list/list.html",controller:"TriggerListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trigger",["$resource",function(a){return a("/api/triggers/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers",{url:"/triggers",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TriggerViewCtrl",["$scope","$stateParams","$translate","xAlert","triggers","Trigger","$location",function(a,b,c,d,e,f,g){a.$triggers=e,a.recordSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.forms={general:{}},a.addCondition=function(b){a.trigger[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.trigger[b].splice(c,1)},a.addAction=function(){a.trigger.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.trigger.Actions.splice(b,1)},a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.trigger=b})["catch"](function(a){d.show(a.message,"danger"),g.path("/tools/triggers/list")})},a.updateTrigger=function(){return f.update({id:b.id},a.trigger).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.exitValidation=function(b){return console.log(b&&(a.trigger.All.length||a.trigger.Any.length)&&a.trigger.Actions.length),b&&(a.trigger.All.length||a.trigger.Any.length)&&a.trigger.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.view",{url:"/view/:id",templateUrl:"app/tools/trigger/view/view.html",controller:"TriggerViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load({insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]})}]}}).state("main.tools.triggers.view.settings",{url:"/settings",templateUrl:"app/tools/trigger/view/view.settings.html"}).state("main.tools.triggers.view.routes",{url:"/routes",templateUrl:"app/tools/trigger/view/view.routes.html"}).state("main.tools.triggers.view.application",{url:"/application",templateUrl:"app/tools/trigger/view/view.application.html"})}]),angular.module("xCallyShuttleApp").controller("TriggerWizardCtrl",["$scope","$http","$location","xAlert","triggers","WizardHandler","Trigger",function(a,b,c,d,e,f,g){a.$triggers=e,a.statusSwitch={onText:"On",offText:"Off",isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.tempData={voice:{},mail:{},chat:{},fax:{}},a.item={All:[],Any:[],Actions:[]},a.forms={general:void 0,settings:void 0},a.addCondition=function(b){a.item[b].push({field:"",operator:"",value:""})},a.removeCondition=function(b,c){a.item[b].splice(c,1)},a.addAction=function(){a.item.Actions.push({action:"",data1:"",data2:"",data3:"",data4:"",data5:""})},a.resetActionData=function(a){a.data1="",a.data2="",a.data3="",a.data4="",a.data5=""},a.removeAction=function(b){a.item.Actions.splice(b,1)},a.$watch("item.channel",function(b,c){c&&(a.tempData[c].All=_.clone(a.item.All,!0),a.tempData[c].Any=_.clone(a.item.Any,!0),a.tempData[c].Actions=_.clone(a.item.Actions,!0)),a.item.All=a.tempData[b].All?a.tempData[b].All:[],a.item.Any=a.tempData[b].Any?a.tempData[b].Any:[],a.item.Actions=a.tempData[b].Actions?a.tempData[b].Actions:[]},!0),a.item.channel="voice",a.createItem=function(){return g.save(a.item).$promise.then(function(){c.path("/tools/triggers/list")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},a.next=function(){f.wizard().next()},a.previous=function(){f.wizard().previous()},a.exitValidation=function(a){return a},a.exitSettingsValidation=function(b){return b&&(a.item.All.length||a.item.Any.length)&&a.item.Actions.length?!0:!1}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.triggers.wizard",{url:"/wizard",templateUrl:"app/tools/trigger/wizard/wizard.html",controller:"TriggerWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("TrunkListCtrl",["$scope","Trunk","gridOptions","xAlert","$translate","socket",function(a,b,c,d,e,f){function g(){f.socket.on("trunk:update",function(b){var c=_.find(a.gridOptions.data,{name:b.name});c&&(c.status=b.status,c.peerstatus=b.peerstatus)})}a.isActive=!0,a.size="mini",a.animate=!0,a.radioOff=!0,a.handleWidth="auto",a.labelWidth="auto",a.inverse=!0,a.offColor="danger",a.onColor="success",a.initView=function(){var d={exporterCsvFilename:"Trunks.csv",columnDefs:[{name:"name"},{name:"active",cellTemplate:'<div class="centered-uigrid-td"><input data-ng-change="grid.appScope.updateItem(row.entity)", bs-switch ng-model="row.entity.active" type="checkbox" switch-active="{{ grid.appScope.isActive }}" switch-on-text="{{ \'APPLICATION_YES\' | translate }}" switch-off-text="{{ \'APPLICATION_NO\' | translate }}" switch-on-color="{{ grid.appScope.onColor }}" switch-off-color="{{ grid.appScope.offColor }}" switch-animate="{{ grid.appScope.animate }}" switch-size="{{ grid.appScope.size }}" switch-label="{{ grid.appScope.label }}" switch-icon="{{ grid.appScope.icon }}" switch-radio-off="{{ grid.appScope.radioOff }}" switch-label-width="{{ grid.appScope.labelWidth }}" switch-handle-width="{{ grid.appScope.handleWidth }}"></div>'},{name:"host"},{name:"description"},{name:"status",cellTemplate:'<div class="centered-uigrid-td" data-ng-if="row.entity.active && row.entity.registry && row.entity.status">{{row.entity.status}}</div>'},{name:"peerstatus",cellTemplate:'<div class="centered-uigrid-td" data-ng-if="row.entity.active && row.entity.peerstatus">{{row.entity.peerstatus}}</div>'},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/trunks/view/{{row.entity.name}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.name)"}]}]};a.gridOptions=c.gridOptions(b,d,a,null,null,null,g)},a.updateItem=function(a){return b.update({id:a.name},a).$promise.then(function(){d.show(e.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){console.error(a),d.show(a.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.list",{url:"/list",templateUrl:"app/tools/trunk/list/list.html",controller:"TrunkListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Trunk",["$resource",function(a){return a("/api/trunks/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks",{url:"/trunks",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("TrunkViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","socket","$location","Trunk","VoiceContext",function(a,b,c,d,e,f,g,h,i){a.activeSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.initView=function(){return h.get({id:e.id}).$promise.then(function(b){b.nat=b.nat?b.nat.split(","):[],b.allow=b.allow?b.allow.split(";"):[],b.insecure=b.insecure?b.insecure.split(","):[],b.transport=b.transport?b.transport.split(","):[],a.trunk=b}).then(function(){f.socket.on("trunk:update",function(b){a.trunk.name===b.name&&(a.trunk.status=b.status)})})["catch"](function(a){console.error(a),g.path("/tools/trunks/list")})},a.updateTrunk=function(){""===a.trunk.password&&delete a.trunk.password;var b=angular.copy(a.trunk);return b.nat=b.nat.join(","),b.allow=b.allow.join(";"),b.insecure=b.insecure.join(","),b.transport=b.transport.join(","),h.update({id:e.id},b).$promise.then(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){c.show(a.data.message,"danger")})},a.getContexts=function(){return i.get().$promise.then(function(b){a.voiceContexts=b.rows})["catch"](function(a){c.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.view",{url:"/view/:id",templateUrl:"app/tools/trunk/view/view.html",controller:"TrunkViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.trunks.view.settings",{url:"/settings",templateUrl:"app/tools/trunk/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("TrunkWizardCtrl",["$scope","WizardHandler","$location","xAlert","Trunk",function(a,b,c,d,e){a.initWizard=function(){a.forms={},a.item={context:"from-voip-provider"}},a.next=function(){b.wizard().next()},a.previous=function(){b.wizard().previous()},a.exitValidation=function(a){return a},a.createItem=function(){return a.item.fromuser=a.item.defaultuser,a.item.fromdomain=a.item.host,e.save(a.item).$promise.then(function(){c.path("/tools/trunks/list")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.trunks.wizard",{url:"/wizard",templateUrl:"app/tools/trunk/wizard/wizard.html",controller:"TrunkWizardCtrl"})}]),angular.module("xCallyShuttleApp").controller("VariableListCtrl",["$scope","$uibModal","Variable","gridOptions",function(a,b,c,d){a.initView=function(){var b={exporterCsvFilename:"variables.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:160,buttons:[{"class":"blue-hoki",href:"/tools/variables/view/{{row.entity.id}}/settings",name:"settings"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(c,b,a)},a.createItem=function(){var c=b.open({animation:!0,templateUrl:"app/tools/variable/list/list.create.modal.html",controller:"VariableListCreateCtrl"});c.result.then(function(b){console.log(b),a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("VariableListCreateCtrl",["$scope","$translate","$uibModalInstance","Variable","xAlert",function(a,b,c,d,e){a.form={},a.item={},a.save=function(){return d.save(a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.show(a.data.message,"danger")})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.list",{url:"/list",templateUrl:"app/tools/variable/list/list.html",controller:"VariableListCtrl"})}]),angular.module("xCallyShuttleApp").factory("Variable",["$resource",function(a){return a("/api/variables/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables",{url:"/variables",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:13}}})}]),angular.module("xCallyShuttleApp").controller("VariableViewCtrl",["$scope","$translate","$stateParams","xAlert","Variable",function(a,b,c,d,e){a.getVariable=function(){return e.get({id:c.id}).$promise.then(function(b){a.variable=b})["catch"](function(a){d.show(a.data.message,"danger")})},a.updateVariable=function(){return e.update({id:c.id},a.variable).$promise.then(function(){d.show(b.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){d.show(a.data.message,"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.variables.view",{url:"/view/:id",templateUrl:"app/tools/variable/view/view.html",controller:"VariableViewCtrl", +resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.variables.view.settings",{url:"/settings",templateUrl:"app/tools/variable/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCloneModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCreateModalCtrl",["$scope","$uibModalInstance",function(a,b){a.forms={dashboard:void 0},a.item={},a.ok=function(){a.item.model=JSON.stringify({title:a.item.name}),b.close(a.item)},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardListCtrl",["$scope","$http","$translate","xAlert","Modal","$uibModal","$log","YourDashboard","gridOptions",function(a,b,c,d,e,f,g,h,i){a.initView=function(){var b={exporterCsvFilename:"voice_contexts.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:220,buttons:[{"class":"green",href:"/tools/yourdashboards/show/{{row.entity.id}}",name:"view"},{"class":"blue-hoki",href:"/tools/yourdashboards/view/{{row.entity.id}}/settings",name:"settings"},{"class":"{{row.entity.defaultEntry ? 'red-sunglo disabled' : 'red-sunglo'}}",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"},{"class":"purple",name:"clone",onClick:"grid.appScope.clone(row.entity.id)"}]}]};a.gridOptions=i.gridOptions(h,b,a)},a.create=function(){var b=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/create.modal.html",controller:"YourdashboardListCreateModalCtrl"});b.result.then(function(b){return h.save(b).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})},a.clone=function(b){var e=f.open({animation:!0,templateUrl:"app/tools/yourdashboard/list/clone.modal.html",controller:"YourdashboardListCloneModalCtrl"});e.result.then(function(e){return h.save({id:b,controller:"clone"},e).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE"),"success"),a.gridOptions.getPage()})["catch"](function(a){console.error(a),d.show(a.message,"danger")})},function(){g.info("Modal dismissed at: "+new Date)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.list",{url:"/list",templateUrl:"app/tools/yourdashboard/list/list.html",controller:"YourdashboardListCtrl"})}]),angular.module("xCallyShuttleApp").controller("LeaveEditedDashboardModalCtrl",["$scope","$uibModalInstance",function(a,b){a.close=function(){b.close()},a.cancel=function(){b.dismiss("cancel")}}]),angular.module("xCallyShuttleApp").controller("YourdashboardShowCtrl",["$scope","$rootScope","localStorageService","xAlert","$translate","Auth","$stateParams","$location","$uibModal","$log","YourDashboard",function(a,b,c,d,e,f,g,h,i,j,k){a.Auth=f,a.editMode=!1,a.getDashboard=function(){return k.get({id:g.id}).$promise.then(function(b){var c={name:"dashboard",structure:"4-8",enableconfirmdelete:!0,maximizable:!0,collapsible:!0};b.model=JSON.parse(b.model||'{"title":"Dashboard"}'),b.editable=f.isAdmin()&&b.editable?!0:!1,a.dashboard=_.merge(c,b)})["catch"](function(a){h.path("/tools/yourdashboards/list")})},a.$on("$locationChangeStart",function(b,c,d){if(a.editMode){b.preventDefault();var e=i.open({animation:!0,templateUrl:"app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",controller:"LeaveEditedDashboardModalCtrl"});e.result.then(function(b){a.editMode=!1;var d=location.protocol+"//"+location.host;h.path(c.replace(d,""))},function(){j.info("Modal dismissed at: "+new Date)})}});var l=function(b,c,f){var h=angular.copy(a.dashboard);return h.name=a.dashboard.model.title,h.model=JSON.stringify(h.model),k.update({id:g.id},h).$promise.then(function(){d.show(e.instant("MESSAGE_DASHBOARD_SAVED")+"!","success"),a.editMode=!1})["catch"](function(b){d.show(b.message,"danger"),h.model=JSON.parse(h.model),h.name="dashboard",a.dashboard=h})};a.$on("adfDashboardChanged",l),a.$on("adfIsEditMode",function(){a.editMode=!0}),a.$on("destroy",function(){console.log("main dashboard")})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.show",{url:"/show/:id",templateUrl:"app/tools/yourdashboard/show/show.html",controller:"YourdashboardShowCtrl"})}]),angular.module("xCallyShuttleApp").controller("YourdashboardViewCtrl",["$scope","$http","xAlert","$translate","$stateParams","$location",function(a,b,c,d,e,f){a.radioSwitch={isActive:!0,size:"small",animate:!0,radioOff:!0,handleWidth:"auto",labelWidth:"auto",inverse:!0,offColor:"danger",onColor:"success"},a.getDashboard=function(){b.get("/api/dashboards/"+e.id).success(function(b){delete b.model,a.dashboard=b}).error(function(a){f.path("/tools/yourdashboards/list")})},a.updateDashboard=function(){var f=angular.copy(a.dashboard);b.put("/api/dashboards/"+e.id,f).success(function(){c.show(d.instant("MESSAGE_WELL_DONE")+"!","success")}).error(function(b){c.show(d.instant(b.message),"danger"),a.dashboard=f})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards.view",{url:"/view/:id",templateUrl:"app/tools/yourdashboard/view/view.html",controller:"YourdashboardViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/plugins/bootstrap-fileinput/bootstrap-fileinput.css","assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.tools.yourdashboards.view.settings",{url:"/settings",templateUrl:"app/tools/yourdashboard/view/view.settings.html"})}]),angular.module("xCallyShuttleApp").factory("YourDashboard",["$resource",function(a){return a("/api/dashboards/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.tools.yourdashboards",{url:"/yourdashboards",template:"<div ui-view></div>","abstract":!0,data:{permissions:{only:["admin","user"],redirectTo:"landing",id:2}}})}]),angular.module("xCallyShuttleApp").controller("ZendeskListCtrl",["$scope","ZendeskAccount","gridOptions","xAlert","$translate",function(a,b,c,d,e){a.initView=function(){var d={exporterCsvFilename:"zendesk_account.csv",columnDefs:[{name:"name",displayName:"APPLICATION_NAME"},{name:"username"},{name:"remoteUri",displayName:"APPLICATION_URI"},{name:"action",buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.id}}/account",name:"profile"},{"class":"green-jungle",name:"check",onClick:"grid.appScope.checkAccount(row.entity.id)"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=c.gridOptions(b,d,a)},a.checkAccount=function(a){return b.check({id:a}).$promise.then(function(){d.show(e.instant("MESSAGE_ACCOUNT_VERIFIED"),"success")})["catch"](function(){d.show(e.instant("MESSAGE_ACCOUNT_INVALID"),"danger")})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.list",{url:"/list",templateUrl:"app/zendesk/list/list.html",controller:"ZendeskListCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{name:"smart-table",insertBefore:"#ng_load_plugins_before",files:["assets/css/smart_table.css"]}])}]}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations",{url:"/configurations",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationListCtrl",["$scope","$stateParams","$translate","gridOptions","ZendeskConfiguration","$uibModal",function(a,b,c,d,e,f){a.initView=function(){var c={exporterCsvFilename:"zendesk_configurations.csv",columnDefs:[{name:"name"},{name:"description"},{name:"action",width:125,buttons:[{"class":"blue-hoki",href:"/zendesk/view/{{row.entity.AccountId}}/configurations/view/{{row.entity.id}}",name:"profile"},{"class":"red-sunglo",name:"delete",onClick:"grid.appScope.deleteItem(row.entity.name, row.entity.id)"}]}]};a.gridOptions=d.gridOptions(e,c,a,{accountId:b.id})},a.createItem=function(){var b=f.open({animation:!0,templateUrl:"app/zendesk/view/configuration/list/create.modal.html",controller:"ZendeskCreateConfigurationCtrl"});b.result.then(function(){a.gridOptions.getPage()})}}]),angular.module("xCallyShuttleApp").controller("ZendeskCreateConfigurationCtrl",["$scope","$translate","$uibModalInstance","ZendeskConfiguration","xAlert","$stateParams","channel",function(a,b,c,d,e,f,g){a.form={},a.item={},a.channels=g,a.item.channel="voice",a.save=function(){return d.save({accountId:f.id},a.item).$promise.then(function(a){e.show(b.instant("MESSAGE_WELL_DONE"),"success"),c.close(a)})["catch"](function(a){e.error(a)})},a.cancel=function(){c.dismiss()}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.list",{url:"/list",templateUrl:"app/zendesk/view/configuration/list/list.html",controller:"ZendeskViewConfigurationListCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewConfigurationViewCtrl",["$scope","$stateParams","$filter","$translate","socket","ZendeskConfiguration","xAlert","variable","Variable","ZendeskAccount","Tag","ZendeskField",function(a,b,c,d,e,f,g,h,i,j,k,l){a.$on("$destroy",function(){e.unsyncUpdates("zendesk_field")}),a.config={autoHideScrollbar:!1,theme:"dark",advanced:{updateOnContentResize:!0},setHeight:300,scrollInertia:0},a.fieldType=[{type:"string",title:"String"},{type:"variable",title:"Variable"},{type:"customVariable",title:"Custom Variable"}],a.descFieldType=[{type:"string",title:"String"},{type:"keyValue",title:"Key Value"}],a.groupVariableByGroup=function(a){switch(a.group){case"voice_queue":return"Voice: Queue";default:return"Other"}},a.initView=function(){a.configurationName="",a.subjectConfig=[],a.descriptionConfig=[],a.fieldConfig=[],a.selectedTags={tags:[]},a.variables=h},a.getConfiguration=function(){return f.get({accountId:b.id,id:b.configurationId}).$promise.then(function(b){a.configurationName=b.name,a.subjectConfig=b.Subject,a.descriptionConfig=b.Description,a.fieldConfig=b.Field,a.selectedTags={tags:_.map(b.Tags,function(a){return a.id})},e.socket.on("zendesk_field:remove",function(b){_.remove(a.subjectConfig,{id:b.id}),_.remove(a.descriptionConfig,{id:b.id}),_.remove(a.fieldConfig,{id:b.id})})})["catch"](function(a){g.error(a)})},a.getCustomVariables=function(){return i.get().$promise.then(function(b){a.customVariables=b.rows})["catch"](function(a){g.error(a)})},a.getFields=function(){return j.fields({id:b.id}).$promise.then(function(b){a.accountFields=c("zendesk")(b)})["catch"](function(a){g.error(a)})},a.getTags=function(){return k.get().$promise.then(function(b){a.tags=b.rows})["catch"](function(a){g.error(a)})},a.addItem=function(c){var d={};switch(c){case"subject":case"description":d={type:"string",content:""};break;case"field":d={content:""}}return f.save({accountId:b.id,id:b.configurationId,controller:c},d).$promise.then(function(b){switch(c){case"subject":a.subjectConfig.push(b);break;case"description":a.descriptionConfig.push(b);break;case"field":a.fieldConfig.push(b)}})["catch"](function(a){g.error(a)})},a.changeType=function(b){"variable"===b.type?(b.content="",b.variableName=""):"string"===b.type?(b.VariableId=null,b.variableName=""):"customVariable"===b.type&&(b.VariableId=null,b.content=""),a.updateField(b)},a.updateField=function(a){return l.update({accountId:b.id,configurationId:b.configurationId,id:a.id},a).$promise.then(function(){})["catch"](function(a){g.error(a)})},a.removeItem=function(a){return l["delete"]({accountId:b.id,configurationId:b.configurationId,id:a.id}).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+"!","success")})["catch"](function(a){g.error(a)})},a.changeDescType=function(b){"keyValue"===b.type?(b.content="","string"===b.keyType?(b.VariableId=null,b.variableName=""):"variable"===b.keyType?(b.keyContent="",b.VariableId=null):"customVariable"===b.keyType&&(b.keyContent="",b.variableName="")):"string"===b.type&&(b.VariableId=null,b.variableName="",b.key="",b.keyContent=""),a.updateField(b)},a.changeFieldType=function(b){if(b.content="",b.variableName="",b.nameField="",b.VariableId=null,b.idField){var c=_.find(a.accountFields,"id",b.idField);c&&(c.system_field_options?(b.customField=!1,b.nameField=c.title.toLowerCase()):b.customField=!0)}a.updateField(b)},a.updateTags=function(){return f.update({accountId:b.id,id:b.configurationId,controller:"tags"},a.selectedTags.tags).$promise.then(function(){g.show(d.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){g.error(a)})},a.getSystemFieldOptions=function(b){if(b){var c=_.find(a.accountFields,"id",b);return c?c.system_field_options?c.system_field_options:null:void 0}}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view.configurations.view",{url:"/view/:configurationId",templateUrl:"app/zendesk/view/configuration/view/view.html",controller:"ZendeskViewConfigurationViewCtrl"})}]),angular.module("xCallyShuttleApp").controller("ZendeskViewCtrl",["$scope","$stateParams","$translate","xAlert","Modal","ZendeskAccount",function(a,b,c,d,e,f){a.initView=function(){return f.get({id:b.id}).$promise.then(function(b){a.account=b})["catch"](function(a){d.error(a)})},a.updateItem=function(){return f.update({id:b.id},a.account).$promise.then(function(){d.show(c.instant("MESSAGE_WELL_DONE")+".","success")})["catch"](function(a){d.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.view",{url:"/view/:id",templateUrl:"app/zendesk/view/view.html",controller:"ZendeskViewCtrl",resolve:{deps:["$ocLazyLoad",function(a){return a.load([{insertBefore:"#ng_load_plugins_before",files:["assets/css/profile.css","assets/css/tasks.css"]}])}]}}).state("main.zendesk.view.account",{url:"/account",templateUrl:"app/zendesk/view/view.account.html"})}]),angular.module("xCallyShuttleApp").controller("ZendeskWizardCtrl",["$scope","$http","$location","$translate","xAlert","WizardHandler","ZendeskAccount",function(a,b,c,d,e,f,g){a.translate=d,a.initWizard=function(){a.$translate=d,a.forms={},a.item={},a.item.authType="password"},a.next=function(){f.wizard().next()},a.exitValidation=function(a){return a},a.createItem=function(){return g.save(a.item).$promise.then(function(){e.show(d.instant("MESSAGE_WELL_DONE")+".","success"),c.path("/zendesk/list")})["catch"](function(a){e.error(a)})}}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk.wizard",{url:"/wizard",templateUrl:"app/zendesk/wizard/wizard.html",controller:"ZendeskWizardCtrl"})}]),angular.module("xCallyShuttleApp").factory("ZendeskAccount",["$resource",function(a){return a("/api/zendesk/accounts/:id/:controller",{id:"@id"},{update:{method:"PUT"},fields:{params:{controller:"fields"},isArray:!0},check:{params:{controller:"check"}}})}]).factory("ZendeskConfiguration",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]).factory("ZendeskField",["$resource",function(a){return a("/api/zendesk/accounts/:accountId/configurations/:configurationId/fields/:id/:controller",{id:"@id"},{update:{method:"PUT"}})}]),angular.module("xCallyShuttleApp").config(["$stateProvider",function(a){a.state("main.zendesk",{url:"/zendesk",template:"<div ui-view></div>","abstract":!0})}]),angular.module("xCallyShuttleApp").factory("Auth",["$location","$rootScope","$http","User","$cookieStore","$q",function(a,b,c,d,e,f){var g={};return e.get("token")&&(g=d.me()),{login:function(a,h){var i=h||angular.noop,j=f.defer();return c.post("/auth/local",{name:a.name,password:a.password,remember:a.remember}).success(function(a){return e.put("role",a.role),e.put("token",a.token),e.put("userId",a.userId),g=d.me({},function(){b.$broadcast("login")}),j.resolve(a),i()}).error(function(a){return this.logout(),j.reject(a),i(a)}.bind(this)),j.promise},loginWithToken:function(a,c,f){e.put("role",f),e.put("token",a),e.put("userId",c),g=d.me({},function(){b.$broadcast("login")})},logout:function(){c.put("/api/users/"+g.id,{online:!1}).success(function(){e.remove("role"),e.remove("token"),e.remove("userId"),g={},b.$broadcast("logout")}).error(function(a){return a})},createUser:function(a,b){var c=b||angular.noop;return d.save(a,function(b){return e.put("token",b.token),g=d.me(),c(a)},function(a){return this.logout(),c(a)}.bind(this)).$promise},changePassword:function(a,b,c){var e=c||angular.noop;return d.changePassword({id:g.id},{oldPassword:a,newPassword:b},function(a){return e(null,a)},function(a){return e(a)}).$promise},getCurrentUser:function(){return g},isLoggedIn:function(){return g.hasOwnProperty("role")},isLoggedInAsync:function(a){g.hasOwnProperty("$promise")?g.$promise.then(function(){a(!0)})["catch"](function(){a(!1)}):a(g.hasOwnProperty("role")?!0:!1)},isAdmin:function(){return"admin"===(e.get("role")||g.role)},isUser:function(){return"user"===(e.get("role")||g.role)},isAgent:function(){return"agent"===(e.get("role")||g.role)},getRole:function(){return g.role},getToken:function(){return e.get("token")}}}]),angular.module("xCallyShuttleApp").controller("FooterController",["$scope","$http",function(a,b){a.year=moment().year(),a.$on("$includeContentLoaded",function(){Layout.initFooter()}),a.initFooter=function(){return b.get("/api/settings/info").success(function(b){a.info=b}).error(function(a){console.error(a)})}}]),angular.module("xCallyShuttleApp").controller("HeaderController",["$scope","$rootScope","$location","$state","$http","$notification","Auth","xAlert","socket","toastr","localStorageService","Agent","SmsReport","MailReport","OpenChannelReport","ChatReport","ChatRoom","xNotification","$timeout","$translate","$window","User","Pause","Action","FaxReport","List","MailAccount","ChatWebsite","FaxAccount","SmsAccount","OpenChannelAccount","ReportAgent","$uibModal","$log","ReportDial",function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z,A,B,C,D,E,F,G,H,I){function J(a,b,c){return null===b&&(b=50),null===c&&(c="..."),a&&a.length>b?a.substring(0,b-c.length)+c:a}function K(b){var c,d="reason";switch(b){case"mail":c=n;break;case"chat":c=p;break;case"fax":c=y;break;case"sms":c=m;break;case"agent":c=F,d="lastevent";break;case"dial":c=I,d="dialstatus";break;default:return}return c.get({limit:10,order:"updatedAt DESC"}).$promise.then(function(c){_.forEach(c.rows,function(a){if(a[d])switch(a[d].toLowerCase()){case"answer":case"connect":case"complete":a.status="taken";break;case"answered_elsewhere":a.status="taken_elsewhere";break;case"called":a.status="lost";break;case"busy":a.status="busy";break;case"rejected":a.status="rejected";break;case"cancel":case"abandoned":a.status="abandoned"}}),a.agentNotifications[b].rows=c.rows,i.socket.on("report_"+b+":save",function(c){c.status="none",a.agentNotifications[b].rows.unshift(c),"agent"!==b&&"dial"!==b&&(a.agentNotifications[b].timeout[c.id]=setTimeout(function(){clearTimeout(a.agentNotifications[b].timeout[c.id]),_.find(a.agentNotifications[b].rows,{id:c.id}).status="lost",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications[b]["new"]++,delete a.agentNotifications[b].timeout[c.id]},1e3*c.timeslot))}),i.socket.on("report_"+b+":update",function(c){var e=_.find(a.agentNotifications[b].rows,{id:c.id});if(e&&("agent"!==b&&"dial"!==b&&a.agentNotifications[b].timeout[c.id]&&(clearTimeout(a.agentNotifications[b].timeout[c.id]),delete a.agentNotifications[b].timeout[c.id]),c[d])){switch(c[d].toLowerCase()){case"answer":case"connect":case"complete":c.status="taken";break;case"answered_elsewhere":c.status="taken_elsewhere",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications.chat["new"]++;break;case"busy":c.status="busy",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications[b]["new"]++;break;case"rejected":c.status="rejected";break;case"cancel":case"abandoned":c.status="abandoned",angular.element(document.getElementById("header_"+b+"_notification_bar")).hasClass("open")||a.agentNotifications[b]["new"]++}_.merge(e,c)}})})["catch"](function(a){h.error(a)})}function L(){return a.headerAgent=g.getCurrentUser(),a.readyTimer=1e3*moment().unix(),w.get().$promise.then(function(b){a.headerPauses=b.rows,i.syncUpdates("pause",a.headerPauses)})["finally"](function(){i.socket.on("agent:save",function(b){a.headerAgent.id===b.id&&(_.merge(a.headerAgent,b),b.voicePause&&b.mailPause&&b.chatPause&&b.faxPause&&b.smsPause||(a.readyTimer=1e3*moment().unix()))})})["catch"](function(a){console.log("Error synchronizing agent status:",a)})}a.moment=moment,$(document).on("click",".tabbed-dropdown",function(a){a.stopPropagation()}),a.openRoom=function(b,c){var d=_.find(a.workspaces,{id:b,type:c});if(d)d.active=!0;else{var e;switch(c){case"mailRoom":e="icon-envelope";break;case"chatRoom":e="fa fa-users";break;case"faxRoom":e="icon-paper-plane";break;case"smsRoom":e="glyphicon glyphicon-comment"}a.workspaces.push({id:b,type:c,"class":e,active:!0})}},a.chooseContact=function(b){var c=G.open({animation:!0,templateUrl:"app/main/chooseContact.modal.html",controller:"ChooseContactModalCtrl",resolve:{data:function(){return{type:"detail",phone:b,mobile:b}}}});c.result.then(function(c){c?a.openContactTab(c):a.newContact({calleridnum:b})},function(){H.info("Modal dismissed at: "+new Date)})},a.loadNotifications=function(b){if(!a.busyLoad[b].end){a.busyLoad[b].busy=!0;var c,d="reason";switch(b){case"mail":c=n;break;case"chat":c=p;break;case"fax":c=y;break;case"sms":c=m;break;case"agent":c=F,d="lastevent";break;case"dial":c=I,d="dialstatus";break;default:return}return c.get({limit:10,offset:a.agentNotifications[b].rows.length,order:"updatedAt DESC"}).$promise.then(function(c){c.rows.length?(_.forEach(c.rows,function(a){if(a[d])switch(a[d].toLowerCase()){case"answer":case"connect":case"complete":a.status="taken";break;case"answered_elsewhere":a.status="taken_elsewhere";break;case"called":a.status="lost";break;case"busy":a.status="busy";break;case"rejected":a.status="rejected";break;case"abandoned":a.status="abandoned"}}),a.agentNotifications[b].rows=a.agentNotifications[b].rows.concat(c.rows)):a.busyLoad[b].end=!0,a.busyLoad[b].busy=!1})["catch"](function(a){h.error(a)})}},a.headerPause=function(b,c,d){return x.save({name:b,agent:a.headerAgent.id,type:c||"DEFAULT PAUSE",data4:c||"DEFAULT PAUSE",channel:d||"all"}).$promise.then(function(){h.show(t.instant("MESSAGE_WELL_DONE"),"success")})["catch"](function(a){h.show(t.instant(a.message||a.data.message||a.translatedMessage||a.data.translatedMessage),"danger")})},"agent"===g.getCurrentUser().role&&(L(),a.agentNotifications={mail:{rows:[],"new":0,timeout:{}},chat:{rows:[],"new":0,timeout:{}},fax:{rows:[],"new":0,timeout:{}},sms:{rows:[],"new":0,timeout:{}},agent:{rows:[],"new":0},dial:{rows:[],"new":0}},a.busyLoad={mail:{busy:!1,end:!1},chat:{busy:!1,end:!1},fax:{busy:!1,end:!1},sms:{busy:!1,end:!1},agent:{busy:!1,end:!1},dial:{busy:!1,end:!1}},K("agent"),K("dial"),a.license.mail&&K("mail"),a.license.chat&&K("chat"),a.license.fax&&K("fax"),a.license.messaging&&K("sms")),i.socket.on("report_chat:save",function(a){u.Notification&&f("CHAT CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Chat Visitor!",delay:1e3*a.timeslot});var b="<b>"+t.instant("APPLICATION_FROM")+"</b>: "+a.visitorname+"<br><b>"+t.instant("APPLICATION_EMAIL")+"</b>: "+a.visitoremail;"queue"===a.application&&(b+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+a.queuename),r.show(t.instant("APPLICATION_NEW_CHAT_REQUEST"),b,"chat",1e3*a.timeslot,function(){return p.get({id:a.id,controller1:"accept",controller2:a.uniqueid}).$promise.then(function(){h.show("Chat properly assigned","success")})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_CHAT_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return p.get({id:a.id,controller1:"reject"}).$promise.then(function(){h.show("Chat properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})})}),i.socket.on("user_has_chat_room:save",function(b){var c;return q.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b;var d=_.find(a.workspaces,{id:Number(c.id),type:"chatRoom"});d?d.name=a.getFullnames(c):a.workspaces.push({id:c.id,name:a.getFullnames(c),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}),i.socket.on("chat_message:save",function(b){var c;if(b.UserId!==g.getCurrentUser().id){var d=_.find(a.workspaces,{id:Number(b.ChatRoomId),type:"chatRoom"});if(!d)return q.get({id:Number(b.ChatRoomId)}).$promise.then(function(b){c=b,a.workspaces.push({id:c.id,name:a.getFullnames(b),type:"chatRoom","class":"icon-bubble",unread:1})})["catch"](function(a){console.error(a)})}});var M=function(){return u.Notification},N=function(){b.settings.layout.onFocus=!0},O=function(){b.settings.layout.onFocus=!1};u.onfocus=N,u.onblur=O,a.getFullnames=function(a){var b=_.map(a.Users,"fullname");return a.ChatVisitor&&b.unshift(a.ChatVisitor.fullname),_.without(b,g.getCurrentUser().fullname).join(", ")},a.openContact=function(b,c,d){if(d&&"<unknown>"!==d){var e,f;switch(b){case"mail":e=A,f={email:d};break;case"chat":e=B,f={email:d};break;case"fax":e=C,f={fax:d};break;case"sms":e=D,f={mobile:d};break;default:return}return e.get({id:c}).$promise.then(function(a){return a.ListId?z.save({listId:a.ListId,controller:"contacts"},f).$promise:null}).then(function(b){if(b){var c=_.find(a.workspaces,{contactID:b.id});c?c.active=!0:a.workspaces.push({active:!0,"class":"icon-user",contactID:b.id,name:b.email,type:"contact"})}else h.show(t.instant("MESSAGE_NO_LIST_CONFIGURED"),"info")})["catch"](function(a){console.error(a)})}},a.initHeader=function(){"agent"===g.getCurrentUser().role&&(i.socket.on("report_mail:save",function(c){var d=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});if(!d){var e="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+t.instant("APPLICATION_FROM")+"</b>: "+c.from+"<br> <b>"+t.instant("APPLICATION_SUBJECT")+"</b>: "+(J(c.subject,30,"...")||"No subject");"queue"===c.application&&(e+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),r.show(t.instant("APPLICATION_NEW_MAIL_REQUEST"),e,"mail",1e3*c.timeslot,function(){return n.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"mailRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.subject||"No subject",type:"mailRoom","class":"icon-envelope",active:!0,unread:0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_MAIL_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return n.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.show(a.data.message,"danger")})}),M&&!b.settings.layout.onFocus?f("MAIL CHANNEL",{icon:"assets/images/media/channels/mail64.png",body:"NEW Incoming Mail Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}}),i.socket.on("report_sms:save",function(b){var c="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+b.accountname+"<br> <b>"+t.instant("APPLICATION_FROM")+"</b>: "+b.from;"queue"===b.application&&(c+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+b.queuename),r.show(t.instant("APPLICATION_NEW_SMS_REQUEST"),c,"sms",1e3*b.timeslot,function(){return m.get({id:b.id,controller1:"accept",controller2:b.uniqueid}).$promise.then(function(){var c=_.find(a.workspaces,{id:b.roomid,type:"smsRoom"});c?c.active=!0:a.workspaces.push({id:b.roomid,name:b.from,type:"smsRoom","class":"glyphicon glyphicon-comment",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_SMS_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return m.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("SMS properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),M?f("SMS CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming SMS Message!",delay:1e3*b.timeslot}):console.log("Notification API not supported in your browser")}),i.socket.on("report_openchannel:save",function(b){console.log(b);var c="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+b.accountname+"<br> <b>"+t.instant("APPLICATION_FROM")+"</b>: "+b.from;"queue"===b.application&&(c+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+b.queuename),r.show(t.instant("APPLICATION_NEW_MESSAGE"),c,"openchannel",1e3*b.timeslot,function(){return o.get({id:b.id,controller1:"accept",controller2:b.uniqueid}).$promise.then(function(){var c=_.find(a.workspaces,{id:b.roomid,type:"openchannelRoom"});c?c.active=!0:a.workspaces.push({id:b.roomid,name:b.from,type:"openchannelRoom","class":"glyphicon glyphicon-comment",active:!0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return o.get({id:b.id,controller1:"reject"}).$promise.then(function(){h.show("Message properly rejected","success")})["catch"](function(a){h.show(a.data.message,"danger")})}),M?f("OPEN CHANNEL",{icon:"assets/images/media/channels/chat64.png",body:"NEW Incoming Message!",delay:1e3*b.timeslot}):console.log("Notification API not supported in your browser")}),i.socket.on("report_fax:save",function(c){var d=_.find(a.workspaces,{id:c.roomid,type:"faxRoom"});if(!d){var e="<b>"+t.instant("APPLICATION_ACCOUNT")+"</b>: "+c.accountname+"<br> <b>"+t.instant("APPLICATION_PHONE")+"</b>: "+c.from;"queue"===c.application&&(e+="<br><b>"+t.instant("APPLICATION_QUEUE")+"</b>: "+c.queuename),r.show(t.instant("APPLICATION_NEW_FAX_REQUEST"),e,"fax",1e3*c.timeslot,function(){return y.get({id:c.id,controller1:"accept",controller2:c.uniqueid}).$promise.then(function(){var b=_.find(a.workspaces,{id:c.roomid,type:"faxRoom"});b?b.active=!0:a.workspaces.push({id:c.roomid,name:c.from,type:"faxRoom","class":"icon-paper-plane",active:!0,unread:0})})["catch"](function(a){switch(a.status){case 504:h.show(t.instant("MESSAGE_FAX_ALREADY_MANAGED"),"info");break;default:h.error(a)}})},function(){return y.get({id:c.id,controller1:"reject"}).$promise["catch"](function(a){h.err(a)})}),M&&!b.settings.layout.onFocus?f("FAX CHANNEL",{icon:"assets/images/media/channels/telephone124.png",body:"NEW Incoming Fax Message!",delay:1e3*c.timeslot}):console.log("Notification API not supported in your browser")}}))},a.logout=function(){return e.get("/auth/local/logout").success(function(){g.logout(),c.path("/login")}).error(function(a){console.error(a)})},a.isActive=function(a){return a===c.path()},a.$on("$destroy",function(){console.log("header $destroy"),i.unsyncUpdates("pause"),i.unsyncUpdates("agent"),i.unsyncUpdates("report_chat"),i.unsyncUpdates("report_mail"),i.unsyncUpdates("report_fax"),i.unsyncUpdates("report_sms"),i.unsyncUpdates("user_has_chat_room"),i.unsyncUpdates("chat_message")})}]),angular.module("xCallyShuttleApp").factory("Modal",["$rootScope","$uibModal",function(a,b){function c(c,d){var e=a.$new();return c=c||{},d=d||"modal-default",angular.extend(e,c),b.open({templateUrl:"components/modal/delete.html",windowClass:d,scope:e})}return{confirm:{"delete":function(a){return a=a||angular.noop,function(){var b,d=Array.prototype.slice.call(arguments),e=d.shift();b=c({modal:{dismissable:!0,title:"Confirm Delete",html:"<p>Are you sure you want to delete"+(e?"<strong> "+e+"</strong>":" selected items")+"?</p>", +buttons:[{classes:"btn red",text:"Delete",click:function(a){b.close(a)}},{classes:"btn default",text:"Cancel",click:function(a){b.dismiss(a)}}]}},"over-topbar center"),b.result.then(function(b){a.apply(b,d)})}}}}}]),angular.module("xCallyShuttleApp").service("application",function(){var a={applications:[{type:null,name:"APPLICATION_QUEUE",value:"Queue"},{type:null,name:"APPLICATION_PLAYBACK",value:"Playback"},{type:null,name:"Dial",value:"Dial"},{type:"internalDial",name:"APPLICATION_INTERNAL_DIAL",value:"Dial"},{type:"externalDial",name:"APPLICATION_EXTERNAL_DIAL",value:"Dial"},{type:null,name:"Cally-Square Project",value:"AGI"},{type:null,name:"GoTo",value:"Goto"},{type:null,name:"Hangup",value:"Hangup"},{type:null,name:"Set",value:"Set"},{type:"custom",name:"Custom",value:"custom"},{type:null,name:"APPLICATION_VOICEMAIL",value:"Voicemail"}],queueOptions:[{value:"C",name:"APPLICATION_QUEUE_OPTION_C"},{value:"c",name:"APPLICATION_QUEUE_OPTION_c"},{value:"d",name:"APPLICATION_QUEUE_OPTION_d"},{value:"F",name:"APPLICATION_QUEUE_OPTION_F"},{value:"h",name:"APPLICATION_QUEUE_OPTION_h"},{value:"H",name:"APPLICATION_QUEUE_OPTION_H"},{value:"n",name:"APPLICATION_QUEUE_OPTION_n"},{value:"i",name:"APPLICATION_QUEUE_OPTION_i"},{value:"I",name:"APPLICATION_QUEUE_OPTION_I"},{value:"r",name:"APPLICATION_QUEUE_OPTION_r"},{value:"R",name:"APPLICATION_QUEUE_OPTION_R"},{value:"t",name:"APPLICATION_QUEUE_OPTION_t"},{value:"T",name:"APPLICATION_QUEUE_OPTION_T"},{value:"w",name:"APPLICATION_QUEUE_OPTION_w"},{value:"W",name:"APPLICATION_QUEUE_OPTION_W"},{value:"k",name:"APPLICATION_QUEUE_OPTION_k"},{value:"K",name:"APPLICATION_QUEUE_OPTION_K"},{value:"x",name:"APPLICATION_QUEUE_OPTION_x"},{value:"X",name:"APPLICATION_QUEUE_OPTION_X"}],audioOptions:[{value:"skip",name:"APPLICATION_PLAYBACK_OPTION_SKIP"},{value:"noanswer",name:"APPLICATION_PLAYBACK_OPTION_NOANSWER"},{value:"j",name:"APPLICATION_PLAYBACK_OPTION_J"},{value:"say",name:"APPLICATION_PLAYBACK_OPTION_SAY"}],hangupCauses:[{value:"",name:"--"},{value:"1",name:"APPLICATION_HANGUP_CAUSE_1"},{value:"16",name:"APPLICATION_HANGUP_CAUSE_16"},{value:"17",name:"APPLICATION_HANGUP_CAUSE_17"},{value:"18",name:"APPLICATION_HANGUP_CAUSE_18"},{value:"21",name:"APPLICATION_HANGUP_CAUSE_21"},{value:"22",name:"APPLICATION_HANGUP_CAUSE_22"},{value:"27",name:"APPLICATION_HANGUP_CAUSE_27"},{value:"38",name:"APPLICATION_HANGUP_CAUSE_38"},{value:"41",name:"APPLICATION_HANGUP_CAUSE_41"}],intTypes:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"custom",name:"APPLICATION_CUSTOM"},{value:"list",name:"APPLICATION_FROM_LIST"}],checkUnderscore:function(a){return 0===a.indexOf("_")?a:"_"+a}};return{application:a}}),angular.module("xCallyShuttleApp").service("automations",function(){var a={mail:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]},fax:{conditions:[{name:"APPLICATION_STATUS",value:"status",type:"select",arr:[{name:"APPLICATION_STATUS_NEW",value:"NEW"},{name:"APPLICATION_STATUS_OPEN",value:"OPEN"},{name:"APPLICATION_STATUS_CLOSED",value:"CLOSED"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_HOURS_SINCE_CREATED",value:"createdAt",type:"input",operators:[{value:"greater_or_equal",name:"APPLICATION_GTE_TO"},{value:"less_or_equal",name:"APPLICATION_LTE_TO"},{value:"greater",name:"APPLICATION_GREATER_THAN"},{value:"less",name:"APPLICATION_LESS_THAN"}]}],actions:[{name:"APPLICATION_STATUS",value:"status"}]}},b=["mail","fax"];return{services:a,channels:b}}),angular.module("xCallyShuttleApp").service("channel",function(){var a=[{name:"Voice",value:"voice"}];return a}),angular.module("xCallyShuttleApp").service("desk_com",function(){var a=[{id:"priority",label:"Priority",custom:!1,data:{choices:[1,2,3,4,5,6,7,8,9,10]}},{id:"status",label:"Status",custom:!1,data:{choices:["new","open","pending","resolved","closed"]}},{id:"type",label:"Type",custom:!1,data:{choices:["chat","twitter","email","qna","facebook","phone"]}}];return{fields:a}}),angular.module("xCallyShuttleApp").service("interval",function(){var a={months:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"jan",name:"APPLICATION_JANUARY"},{value:"feb",name:"APPLICATION_FEBRUARY"},{value:"mar",name:"APPLICATION_MARCH"},{value:"apr",name:"APPLICATION_APRIL"},{value:"may",name:"APPLICATION_MAY"},{value:"jun",name:"APPLICATION_JUNE"},{value:"jul",name:"APPLICATION_JULY"},{value:"aug",name:"APPLICATION_AUGUST"},{value:"sep",name:"APPLICATION_SEPTEMBER"},{value:"oct",name:"APPLICATION_OCTOBER"},{value:"nov",name:"APPLICATION_NOVEMBER"},{value:"dec",name:"APPLICATION_DECEMBER"}],monthsNumber:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"1",name:"APPLICATION_JANUARY"},{value:"2",name:"APPLICATION_FEBRUARY"},{value:"3",name:"APPLICATION_MARCH"},{value:"4",name:"APPLICATION_APRIL"},{value:"5",name:"APPLICATION_MAY"},{value:"6",name:"APPLICATION_JUNE"},{value:"7",name:"APPLICATION_JULY"},{value:"8",name:"APPLICATION_AUGUST"},{value:"9",name:"APPLICATION_SEPTEMBER"},{value:"10",name:"APPLICATION_OCTOBER"},{value:"11",name:"APPLICATION_NOVEMBER"},{value:"12",name:"APPLICATION_DECEMBER"}],daysOfWeek:[{value:"always",name:"APPLICATION_ALWAYS"},{value:"mon",name:"APPLICATION_MONDAY"},{value:"tue",name:"APPLICATION_TUESDAY"},{value:"wed",name:"APPLICATION_WEDNESDAY"},{value:"thu",name:"APPLICATION_THURSDAY"},{value:"fri",name:"APPLICATION_FRIDAY"},{value:"sat",name:"APPLICATION_SATURDAY"},{value:"sun",name:"APPLICATION_SUNDAY"}],daysOfMonth:["always",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31]};return{interval:a}}),angular.module("xCallyShuttleApp").service("report",["ReportAgent","ReportCall","ReportMailSession","ReportMember","ReportQueue","ReportIntegration","ReportChatSession","ReportSmsSession","Contact","Recording","ReportSquare","ReportSquareDetail","User",function(a,b,c,d,e,f,g,h,i,j,k,l,m){var n=[{value:"report_agent_history",resource:a},{value:"report_call_history",resource:b},{value:"report_mail_session_history",resource:c},{value:"report_member_history",resource:d},{value:"report_queue_history",resource:e},{value:"report_integration_history",resource:f},{value:"report_chat_session_history",resource:g},{value:"report_sms_session_history",resource:h},{value:"cm_contacts",resource:i},{value:"voice_recordings",resource:j},{value:"report_square_history",resource:k},{value:"report_square_details_history",resource:l},{value:"users",resource:m}];return{tables:n}}]),angular.module("xCallyShuttleApp").service("strategies",function(){return["beepall","roundrobin","rrmemory"]}),angular.module("xCallyShuttleApp").service("triggers",["VoiceQueue","Route",function(a,b){var c={voice:{conditions:[{name:"APPLICATION_QUEUE",value:"queue",type:"select",resource:a,resValue:"name",operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_CALL_STATUS",value:"lastevent",type:"select",arr:[{name:"ringing",value:"called"},{name:"up",value:"connect"},{name:"hangup",value:"complete"},{name:"rejected",value:"rejected"},{name:"abandoned",value:"abandoned"}],operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]},{name:"APPLICATION_OUTBOUND_ROUTE",value:"routeId",type:"select",resource:b,resValue:"id",resName:"exten",params:{type:"outbound"},operators:[{value:"equals",name:"APPLICATION_EQUALS_TO"},{value:"not_equals",name:"APPLICATION_NOT_EQUALS_TO"}]}],actions:[{name:"APPLICATION_CONTACT_MANAGER",value:"contactManager"},{name:"APPLICATION_INTEGRATIONS",value:"integration",propertyField:"select"},{name:"APPLICATION_MOTION_BAR",value:"motionbar",propertyField:"select"},{name:"APPLICATION_JSCRIPTY",value:"jscripty",propertyField:"select"},{name:"APPLICATION_URL_FORWARD",value:"urlForward"}]}},d=["voice"];return{services:c,channels:d}}]),angular.module("xCallyShuttleApp").service("variable",function(){var a=[{title:"Unique ID",name:"uniqueid",group:"voice_queue"},{title:"Caller Number",name:"calleridnum",group:"voice_queue"},{title:"Caller Name",name:"calleridname",group:"voice_queue"},{title:"Queue",name:"queue",group:"voice_queue"},{title:"Called Number",name:"destcalleridnum",group:"voice_queue"},{title:"Called Name",name:"destcalleridname",group:"voice_queue"},{title:"Hold Time",name:"holdtime",group:"voice_queue"},{title:"Talk Time",name:"talktime",group:"voice_queue"},{title:"Connected Time",name:"agentconnectAt",group:"voice_queue"},{title:"Called Time",name:"agentcalledAt",group:"voice_queue"},{title:"DNID",name:"destexten",group:"voice_queue"},{title:"Complete Time",name:"agentcompleteAt",group:"voice_queue"},{title:"No Answer Time",name:"agentringnoanswerAt",group:"voice_queue"},{title:"Recording URL",name:"recordingURL",group:"voice_queue"}];return a}),angular.module("xCallyShuttleApp").controller("SidebarController",["$scope","$rootScope","$resource","$location","Auth","Dashboard","Integration","xAlert","$stateParams","socket",function(a,b,c,d,e,f,g,h,i,j){a.Auth=e,a.userModules={},a.$on("$includeContentLoaded",function(){Metronic.init(),Layout.initSidebar()}),a.initSidebar=function(){e.getCurrentUser().Modules.forEach(function(b){a.userModules[b.id]=!0})},a.getSidebarDashboards=function(){return f.get().$promise.then(function(b){a.dashboards=b.rows,j.syncUpdates("dashboard",a.dashboards)})["catch"](function(){h.show("Error loading your dashboards","danger")})},a.getSidebarIntegrations=function(){return e.isAdmin()||e.isAgent()||a.userModules[19]?g.get().$promise.then(function(b){a.integrations=b.rows,j.syncUpdates("integration",a.integrations)})["catch"](function(a){h.show(a.message,"danger")}):void 0},a.$on("sidebar $destroy",function(){console.log("destroy"),j.unsyncUpdates("dashboard"),j.unsyncUpdates("integration")})}]),angular.module("xCallyShuttleApp").factory("socket",["$rootScope","$window","socketFactory","Auth",function(a,b,c,d){var e=d.getCurrentUser(),f=io("",{query:"token="+d.getToken()+"&userId="+e.id+"&name="+e.name+"&role="+(e.role||"agent")+"&source=browser",path:"/socket.io-client"}),g=c({ioSocket:f});return a.$on("logout",function(){g&&(g.disconnect(!0),b.location.reload())}),{socket:g,syncUpdates:function(a,b,c){c=c||angular.noop,g.on(a+":save",function(a){var d=_.find(b,{id:a.id}),e=b.indexOf(d),f="created";d?(_.merge(b[e],a),f="updated"):b.unshift(a),c(f,a,b)}),g.on(a+":remove",function(a){var d="deleted";_.remove(b,{id:a.id}),c(d,a,b)})},unsyncUpdates:function(a){g.removeAllListeners(a+":save"),g.removeAllListeners(a+":remove")},syncUpdatesByAttributes:function(a,b,c,d){d=d||angular.noop,g.on(a+":save",function(a){var e=!0;if(_.forIn(b,function(b,c){return a[c]&&a[c]===b?!0:e=!1}),e){var f=_.find(c,{id:a.id}),g=c.indexOf(f),h="created";f?(_.merge(c[g],a),h="updated"):c.unshift(a),d(h,a,c)}}),g.on(a+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},syncMailMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncMailMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")},syncFaxMessageUpdates:function(a,b,c,d){d=d||angular.noop,g.on(a+":"+b+":save",function(a){var b=_.find(c,{id:a.id}),e=c.indexOf(b),f="created";b?(_.merge(c[e],a),f="updated"):c.unshift(a),d(f,a)}),g.on(a+":"+b+":remove",function(a){var b="deleted";_.remove(c,{id:a.id}),d(b,a,c)})},unsyncFaxMessageUpdates:function(a,b){g.removeAllListeners(a+":"+b+":save"),g.removeAllListeners(a+":"+b+":remove")}}}]),function(a,b){angular.module("adf.widget.counter",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("counter",{title:"Single Value",description:"Single Value for db results",templateUrl:"{widgetsPath}/counter/src/view.html",controller:"apiwidgetCounterViewCtrl",edit:{templateUrl:"{widgetsPath}/counter/src/edit.html",controller:"apiwidgetCounterEditCtrl"}})}]).service("apiServiceCounter",["Widget",function(a){return{get:function(b){return a.get({select:b.select,condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),controller:"counter"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiwidgetCounterEditCtrl",["$scope","report",function(a,b){a.config.reportTables=b.tables,a.config.colors=[{name:"Grey",value:"grey"},{name:"Grey 2",value:"grey-cascade"},{name:"Grey 3",value:"grey-silver"},{name:"Grey 4",value:"grey-steel"},{name:"Grey 5",value:"grey-carrara"},{name:"Grey 6",value:"grey-gallery"},{name:"Blue",value:"blue"},{name:"Blue 2",value:"blue-hoki"},{name:"Blue 3",value:"blue-steel"},{name:"Blue 4",value:"blue-madison"},{name:"Blue 5",value:"blue-chambray"},{name:"Blue 6",value:"blue-ebonyclay"},{name:"Red",value:"red"},{name:"Red 2",value:"red-pink"},{name:"Red 3",value:"red-sunglo"},{name:"Red 4",value:"red-intense"},{name:"Red 5",value:"red-thunderbird"},{name:"Red 6",value:"red-flamingo"},{name:"Green",value:"green"},{name:"Green 2",value:"green-meadow"},{name:"Green 3",value:"green-seagreen"},{name:"Green 4",value:"green-turquoise"},{name:"Green 5",value:"green-haze"},{name:"Green 6",value:"green-jungle"},{name:"Purple",value:"purple"},{name:"Purple 2",value:"purple-plum"},{name:"Purple 3",value:"purple-medium"},{name:"Purple 4",value:"purple-studio"},{name:"Purple 5",value:"purple-wisteria"},{name:"Purple 6",value:"purple-seance"},{name:"Yellow",value:"yellow"},{name:"Yellow 2",value:"yellow-gold"},{name:"Yellow 3",value:"yellow-casablanca"},{name:"Yellow 4",value:"yellow-crusta"},{name:"Yellow 5",value:"yellow-lemon"},{name:"Yellow 6",value:"yellow-saffron"}],a.config.icons=[{name:"Talk bubbles",value:"fa-comments"},{name:"Bar Chart",value:"fa-bar-chart"},{name:"Shopping Cart",value:"fa-shopping-cart"},{name:"Globe",value:"fa-globe"},{name:"Volume Control Phone",value:"fa-volume-control-phone"},{name:"Comments",value:"fa-comments-o"},{name:"Commenting",value:"fa-commenting-o"},{name:"Coffee",value:"fa-coffee"},{name:"Clock",value:"fa-clock-o"},{name:"Envelope",value:"fa-envelope-o"},{name:"Hourglass",value:"fa-hourglass-half"},{name:"Percent",value:"fa-percent"}],a.config.select=a.config.select?a.config.select:"COUNT(*)",a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE"}]).controller("apiwidgetCounterViewCtrl",["$scope","$interval","apiServiceCounter",function(a,b,c){a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.config.condition=a.config.condition?a.config.condition:null,a.config.color=a.config.color?a.config.color:"blue-madison",a.config.icon=a.config.icon?a.config.icon:"fa-comments",a.config.link=a.config.link?a.config.link:"#",a.config.linkText=a.config.linkText?a.config.linkText:"VIEW MORE",a.counterApiCall=function(){a.config.report&&c.get(a.config).then(function(b){b?b.result&&b.result.length>1||_.keys(b.result[0]).length>1?(a.tooManyResults=!0,a.result=null):(a.tooManyResults=!1,null!==_.values(b.result[0])[0]?a.result=_.values(b.result[0])[0].toString():a.result="--"):a.result=null})},a.counterApiCall();var d=b(function(){a.counterApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.counter").run(["$templateCache",function(a){a.put("{widgetsPath}/counter/src/edit.html","<form role=form><div class=form-group><label for=select>Select</label> <input type=text class=form-control id=condition ng-model=config.select placeholder=Select></div><div class=form-group><label class=control-label>From</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder=From>{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}</ui-select-match><ui-select-choices repeat=\"table.value as table in config.reportTables | filter: $select.search\"><div ng-bind-html=\"'APPLICATION_'+table.value.toUpperCase() | translate | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div class=form-group><label for=condition>Where</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder=Where></div><div class=form-group><label for=condition>{{'APPLICATION_REFRESH_TIMEOUT' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder=\"{{'APPLICATION_REFRESH_TIMEOUT' | translate}}\" min=5></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_COLOR' | translate}}</label><ui-select data-ng-model=config.color name=color theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_COLOR' | translate }}\"><div data-ng-class=\"'bg-'+$select.selected.value\"> </div></ui-select-match><ui-select-choices repeat=\"color.value as color in config.colors | filter: $select.search\"><div data-ng-class=\"'bg-'+color.value\"> </div></ui-select-choices></ui-select></div><div class=form-group><label class=control-label>{{'APPLICATION_WIDGET_ICON' | translate}}</label><ui-select data-ng-model=config.icon name=icon theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_WIDGET_ICON' | translate }}\"><i class=fa ng-class=$select.selected.value></i></ui-select-match><ui-select-choices repeat=\"icon.value as icon in config.icons | filter: $select.search\"><i class=fa ng-class=icon.value></i></ui-select-choices></ui-select></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_DETAILS' | translate}}</label> <input type=text class=form-control id=details ng-model=config.details maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_DETAILS' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK' | translate}}</label> <input type=text class=form-control id=link ng-model=config.link placeholder=http://yourlink></div><div class=form-group><label for=condition>{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}</label> <input type=text class=form-control id=linkText ng-model=config.linkText maxlength=30 placeholder=\"{{'APPLICATION_WIDGET_LINK_TEXT' | translate}}\"></div></form>"),a.put("{widgetsPath}/counter/src/view.html",'<div class=dashboard-stat ng-class=config.color ng-if=result><div class=visual><i class=fa ng-class=config.icon></i></div><div class=details><div class=number>{{result}}</div><div class=desc>{{config.details}}</div></div><a class=more href={{config.link}}>{{config.linkText}} <i class="m-icon-swapright m-icon-white"></i></a></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=tooManyResults><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_TOO_MANY_RESULTS\' | translate}}</div><div class="alert alert-danger" role=alert ng-if="!result && !tooManyResults"><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_QUERY_NOT_VALID\' | translate}}</div>')}])}(window),function(a,b){angular.module("adf.widget.pie-chart",["adf.provider"]).config(["dashboardProvider",function(a){a.widget("pie-chart",{title:"Pie-Chart",description:"Display a pie-chart starting from DB values",templateUrl:"{widgetsPath}/pie-chart/src/view.html",controller:"apiWidgetPieChartViewCtrl",edit:{templateUrl:"{widgetsPath}/pie-chart/src/edit.html",controller:"apiWidgetPieChartEditCtrl"}})}]).service("apiServicePieChart",["Widget",function(a){return{get:function(b){return a.get({condition:encodeURIComponent(b.condition),table:b.report.replace("_history",""),fields:b.fields,controller:"piechart"}).$promise.then(function(a){return a})["catch"](function(a){console.log(a)})}}}]).controller("apiWidgetPieChartEditCtrl",["$scope","report",function(a,b){function c(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=b.tables,a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){c().push({})},a.removeField=function(a){c().splice(a,1)}}]).controller("apiWidgetPieChartViewCtrl",["$scope","$interval","apiServicePieChart",function(a,b,c){a.config.timeout=a.config.timeout>=5?a.config.timeout:5,a.pieChartApiCall=function(){a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){if(b&&b.result&&1===b.result.length){a.labels=[],a.data=[];for(var c in b.result[0])a.labels.push(c),a.data.push(b.result[0][c])}else a.labels=[],a.data=[]})},a.pieChartApiCall();var d=b(function(){a.pieChartApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.pie-chart").run(["$templateCache",function(a){a.put("{widgetsPath}/pie-chart/src/edit.html","<form role=form><div class=form-group><label class=control-label>{{'APPLICATION_REPORT' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder=\"{{ 'APPLICATION_REPORT' | translate }}\">{{'APPLICATION_'+$select.selected.value.toUpperCase() | translate}}</ui-select-match><ui-select-choices repeat=\"table.value as table in config.reportTables | filter: $select.search\"><div ng-bind-html=\"'APPLICATION_'+table.value.toUpperCase() | translate | highlight: $select.search\"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{'APPLICATION_FIELDS' | translate}}</label></div><div class=padding-bottom ng-repeat=\"field in config.fields\"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if=\"config.fields.length>1\"><button class=\"btn btn-danger\" type=button data-ng-click=removeField($index)><i class=\"fa fa-times\"></i> {{'APPLICATION_REMOVE' | translate}}</button></span></div></div></div><button type=button class=\"btn btn-sm green mbottom20\" ng-click=addField()><i class=\"fa fa-plus\"></i> {{'APPLICATION_ADD_FIELD' | translate}}</button><div class=form-group><label for=condition>{{'APPLICATION_CONDITION' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder=\"{{'APPLICATION_CONDITION' | translate}}\"></div><div class=form-group><label for=condition>{{'APPLICATION_REFRESH_TIMEOUT' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder=\"{{'APPLICATION_REFRESH_TIMEOUT' | translate}}\" min=5></div></form>"),a.put("{widgetsPath}/pie-chart/src/view.html",'<div ng-if=labels.length ng-style=config.style><canvas id=doughnut class="chart chart-doughnut" chart-data=data chart-labels=labels legend=true></canvas></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!labels.length><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_METRIC_AND_CHECK_OTHER\' | translate}}</div>')}])}(window),function(a,b){angular.module("adf.widget.table",["adf.provider"]).value("apiServiceUrlTable","/api/widgets/table").config(["dashboardProvider",function(a){a.widget("table",{title:"Table",description:"Show tabbed results from db",templateUrl:"{widgetsPath}/table/src/view.html",controller:"apiWidgetTableViewCtrl",edit:{templateUrl:"{widgetsPath}/table/src/edit.html",controller:"apiWidgetTableEditCtrl"}})}]).service("apiServiceTable",["$q","$http","apiServiceUrlTable",function(a,b,c){return{get:function(d){var e=a.defer();return b.get(c,{params:{condition:encodeURIComponent(d.condition),table:d.report,fields:d.fields}}).success(function(a){a?e.resolve(a):e.reject()}).error(function(a){console.log(a),e.reject()}),e.promise}}}]).controller("apiWidgetTableEditCtrl",["$scope",function(a){function b(){return a.config.fields||(a.config.fields=[{column:"",alias:""}]),a.config.fields}a.config.reportTables=[{name:"Agents",value:"agent"},{name:"Calls",value:"call"},{name:"Dials",value:"dial"},{name:"Members",value:"member"},{name:"Queues",value:"queue"}],a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.fields=a.config.fields?a.config.fields:[{column:"",alias:""}],a.addField=function(){b().push({})},a.removeField=function(a){b().splice(a,1)}}]).controller("apiWidgetTableViewCtrl",["$scope","$interval","apiServiceTable",function(a,b,c){a.config.timeout=a.config.timeout?a.config.timeout:1,a.config.height=a.config.height?a.config.height:350,a.config.style={"max-height":a.config.height+"px",overflow:"scroll"},a.tableApiCall=function(){a.config.condition&&a.config.report&&a.config.fields.length&&""!==a.config.fields[0].column&&""!==a.config.fields[0].alias&&c.get(a.config).then(function(b){a.results=b})},a.tableApiCall();var d=b(function(){a.tableApiCall()},1e3*parseInt(a.config.timeout));a.$on("$destroy",function(){b.cancel(d)})}]),angular.module("adf.widget.table").run(["$templateCache",function(a){a.put("{widgetsPath}/table/src/edit.html",'<form role=form><div class=form-group><label class=control-label>{{\'APPLICATION_REPORT\' | translate}}</label><ui-select data-ng-model=config.report name=report theme=bootstrap><ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match><ui-select-choices repeat="report.value as report in config.reportTables | filter: $select.search"><div ng-bind-html="report.name | highlight: $select.search"></div></ui-select-choices></ui-select></div><div><label class=control-label>{{\'APPLICATION_METRICS\' | translate}}</label></div><div class=padding-bottom ng-repeat="field in config.fields"><div class=form-group><div class=input-group><input type=text class=form-control ng-model=field.column> <span class=input-group-addon>as</span> <input type=text class=form-control ng-model=field.alias> <span class=input-group-btn ng-if="config.fields.length>1"><button class="btn btn-danger" type=button data-ng-click=removeField($index)><i class="fa fa-times"></i> {{\'APPLICATION_REMOVE\' | translate}}</button></span></div></div></div><button type=button class="btn btn-sm green mbottom20" ng-click=addField()><i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}</button><div class=form-group><label for=condition>{{\'APPLICATION_CONDITION\' | translate}}</label> <input type=text class=form-control id=condition ng-model=config.condition placeholder="{{\'APPLICATION_CONDITION\' | translate}}"></div><div class=form-group><label for=condition>{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}</label> <input type=number class=form-control id=timeout ng-model=config.timeout placeholder="{{\'APPLICATION_REFRESH_TIMEOUT\' | translate}}" min=1></div><div class=form-group><label for=condition>{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}</label> <input type=number class=form-control id=height ng-model=config.height placeholder="{{\'APPLICATION_WIDGET_MAX_HEIGHT\' | translate}}" min=350></div></form>'),a.put("{widgetsPath}/table/src/view.html",'<div ng-if=results ng-style=config.style><table st-table=results class="table table-striped table-bordered table-hover"><div class=table-responsive><thead><tr><th colspan={{config.fields.length}}><div class=row><div class=col-md-6></div><div class=col-md-6><div class="input-group input-medium pull-right"><input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class=form-control type=search> <span class=input-group-addon><i class="fa fa-search"></i></span></div></div></div></th></tr><tr><th ng-repeat="field in config.fields">{{field.alias}}</th></tr></thead><tbody><tr data-ng-repeat="result in results" class=animate-repeat><td ng-repeat="field in config.fields">{{result[field.alias]}}</td></tr><tr data-ng-hide=results.length><td colspan={{config.fields.length}} style=text-align:center;><i>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</i></td></tr></tbody><tfoot><tr><td colspan={{config.fields.length}} class=text-center><div st-pagination class=pagination st-items-by-page=10 st-displayed-pages=3></div></td></tr></tfoot></div></table></div><div class="alert alert-danger" role=alert ng-if=!config.report><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_WIDGET_SELECT_REPORT\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_VALID_CONDITION\' | translate}}</div><div class="alert alert-danger" role=alert ng-if=!results><span class="glyphicon glyphicon-exclamation-sign" aria-hidden=true></span> <span class=sr-only>{{\'APPLICATION_ERROR\' | translate}}:</span> {{\'MESSAGE_ENTER_ONE_VALID_FIELD_AND_CHECK_OTHER\' | translate}}</div>')}])}(window);var Metronic=function(){var a,b=!1,c=!1,d=!1,e=!1,f=[],g="assets/",h="img/",i="plugins/",j="css/",k={blue:"#89C4F4",red:"#F3565D",green:"#1bbc9b",purple:"#9b59b6",grey:"#95a5a6",yellow:"#F8CB00"},l=function(){"rtl"===$("body").css("direction")&&(b=!0),c=!!navigator.userAgent.match(/MSIE 8.0/),d=!!navigator.userAgent.match(/MSIE 9.0/),e=!!navigator.userAgent.match(/MSIE 10.0/),e&&$("html").addClass("ie10"),(e||d||c)&&$("html").addClass("ie")},m=function(){for(var a=0;a<f.length;a++){var b=f[a];b.call()}},n=function(){var a;if(c){var b;$(window).resize(function(){b!=document.documentElement.clientHeight&&(a&&clearTimeout(a),a=setTimeout(function(){m()},50),b=document.documentElement.clientHeight)})}else $(window).resize(function(){a&&clearTimeout(a),a=setTimeout(function(){m()},50)})},o=function(){$("body").on("click",".portlet > .portlet-title > .tools > a.remove",function(a){a.preventDefault();var b=$(this).closest(".portlet");$("body").hasClass("page-portlet-fullscreen")&&$("body").removeClass("page-portlet-fullscreen"),b.find(".portlet-title .fullscreen").tooltip("destroy"),b.find(".portlet-title > .tools > .reload").tooltip("destroy"),b.find(".portlet-title > .tools > .remove").tooltip("destroy"),b.find(".portlet-title > .tools > .config").tooltip("destroy"), +b.find(".portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip("destroy"),b.remove()}),$("body").on("click",".portlet > .portlet-title .fullscreen",function(a){a.preventDefault();var b=$(this).closest(".portlet");if(b.hasClass("portlet-fullscreen"))$(this).removeClass("on"),b.removeClass("portlet-fullscreen"),$("body").removeClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height","auto");else{var c=Metronic.getViewPort().height-b.children(".portlet-title").outerHeight()-parseInt(b.children(".portlet-body").css("padding-top"))-parseInt(b.children(".portlet-body").css("padding-bottom"));$(this).addClass("on"),b.addClass("portlet-fullscreen"),$("body").addClass("page-portlet-fullscreen"),b.children(".portlet-body").css("height",c)}}),$("body").on("click",".portlet > .portlet-title > .tools > a.reload",function(a){a.preventDefault();var b=$(this).closest(".portlet").children(".portlet-body"),c=$(this).attr("data-url"),d=$(this).attr("data-error-display");c?(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),$.ajax({type:"GET",cache:!1,url:c,dataType:"html",success:function(a){Metronic.unblockUI(b),b.html(a)},error:function(a,c,e){Metronic.unblockUI(b);var f="Error on reloading the content. Please check your connection and try again.";"toastr"==d&&toastr?toastr.error(f):"notific8"==d&&$.notific8?($.notific8("zindex",11500),$.notific8(f,{theme:"ruby",life:3e3})):alert(f)}})):(Metronic.blockUI({target:b,animate:!0,overlayColor:"none"}),window.setTimeout(function(){Metronic.unblockUI(b)},1e3))}),$('.portlet .portlet-title a.reload[data-load="true"]').click(),$("body").on("click",".portlet > .portlet-title > .tools > .collapse, .portlet .portlet-title > .tools > .expand",function(a){a.preventDefault()})},p=function(){if($().uniform){var a=$("input[type=checkbox]:not(.toggle, .make-switch, .icheck), input[type=radio]:not(.toggle, .star, .make-switch, .icheck)");a.size()>0&&a.each(function(){0===$(this).parents(".checker").size()&&$(this).show()})}},q=function(){$().iCheck&&$(".icheck").each(function(){var a=$(this).attr("data-checkbox")?$(this).attr("data-checkbox"):"icheckbox_minimal-grey",b=$(this).attr("data-radio")?$(this).attr("data-radio"):"iradio_minimal-grey";a.indexOf("_line")>-1||b.indexOf("_line")>-1?$(this).iCheck({checkboxClass:a,radioClass:b,insert:'<div class="icheck_line-icon"></div>'+$(this).attr("data-label")}):$(this).iCheck({checkboxClass:a,radioClass:b})})},r=function(){$().bootstrapSwitch&&$(".make-switch").bootstrapSwitch()},s=function(){$().confirmation&&$("[data-toggle=confirmation]").confirmation({container:"body",btnOkClass:"btn-xs btn-success",btnCancelClass:"btn-xs btn-danger"})},t=function(){$("body").on("shown.bs.collapse",".accordion.scrollable",function(a){Metronic.scrollTo($(a.target))})},u=function(){if(location.hash){var a=location.hash.substr(1);$('a[href="#'+a+'"]').parents(".tab-pane:hidden").each(function(){var a=$(this).attr("id");$('a[href="#'+a+'"]').click()}),$('a[href="#'+a+'"]').click()}},v=function(){$("body").on("hide.bs.modal",function(){$(".modal:visible").size()>1&&$("html").hasClass("modal-open")===!1?$("html").addClass("modal-open"):$(".modal:visible").size()<=1&&$("html").removeClass("modal-open")}),$("body").on("show.bs.modal",".modal",function(){$(this).hasClass("modal-scroll")&&$("body").addClass("modal-open-noscroll")}),$("body").on("hide.bs.modal",".modal",function(){$("body").removeClass("modal-open-noscroll")}),$("body").on("hidden.bs.modal",".modal:not(.modal-cached)",function(){$(this).removeData("bs.modal")})},w=function(){$(".tooltips").tooltip(),$(".portlet > .portlet-title .fullscreen").tooltip({container:"body",title:"Fullscreen"}),$(".portlet > .portlet-title > .tools > .reload").tooltip({container:"body",title:"Reload"}),$(".portlet > .portlet-title > .tools > .remove").tooltip({container:"body",title:"Remove"}),$(".portlet > .portlet-title > .tools > .config").tooltip({container:"body",title:"Settings"}),$(".portlet > .portlet-title > .tools > .collapse, .portlet > .portlet-title > .tools > .expand").tooltip({container:"body",title:"Collapse/Expand"})},x=function(){$("body").on("click",".dropdown-menu.hold-on-click",function(a){a.stopPropagation()})},y=function(){$("body").on("click",'[data-close="alert"]',function(a){$(this).parent(".alert").hide(),$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-close="note"]',function(a){$(this).closest(".note").hide(),a.preventDefault()}),$("body").on("click",'[data-remove="note"]',function(a){$(this).closest(".note").remove(),a.preventDefault()})},z=function(){$('[data-hover="dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")})},A=function(){$(".popovers").popover(),$(document).on("click.bs.popover.data-api",function(b){a&&a.popover("hide")})},B=function(){Metronic.initSlimScroll(".scroller")},C=function(){jQuery.fancybox&&$(".fancybox-button").size()>0&&$(".fancybox-button").fancybox({groupAttr:"data-rel",prevEffect:"none",nextEffect:"none",closeBtn:!0,helpers:{title:{type:"inside"}}})},D=function(){(c||d)&&$("input[placeholder]:not(.placeholder-no-fix), textarea[placeholder]:not(.placeholder-no-fix)").each(function(){var a=$(this);""===a.val()&&""!==a.attr("placeholder")&&a.addClass("placeholder").val(a.attr("placeholder")),a.focus(function(){a.val()==a.attr("placeholder")&&a.val("")}),a.blur(function(){(""===a.val()||a.val()==a.attr("placeholder"))&&a.val(a.attr("placeholder"))})})},E=function(){$().select2&&$(".select2me").select2({placeholder:"Select"})};return{init:function(){l(),n(),p(),q(),r(),B(),C(),E(),o(),y(),x(),u(),w(),A(),t(),v(),s(),D()},initAjax:function(){p(),q(),r(),z(),B(),E(),C(),x(),w(),A(),t(),s()},initComponents:function(){this.initAjax()},setLastPopedPopover:function(b){a=b},addResizeHandler:function(a){f.push(a)},runResizeHandlers:function(){m()},scrollTo:function(a,b){var c=a&&a.size()>0?a.offset().top:0;a&&($("body").hasClass("page-header-fixed")&&(c-=$(".page-header").height()),c+=b?b:-1*a.height()),$("html,body").animate({scrollTop:c},"slow")},initSlimScroll:function(a){$(a).each(function(){if(!$(this).attr("data-initialized")){var a;a=$(this).attr("data-height")?$(this).attr("data-height"):$(this).css("height"),$(this).slimScroll({allowPageScroll:!0,size:"7px",color:$(this).attr("data-handle-color")?$(this).attr("data-handle-color"):"#bbb",wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",railColor:$(this).attr("data-rail-color")?$(this).attr("data-rail-color"):"#eaeaea",position:b?"left":"right",height:a,alwaysVisible:"1"==$(this).attr("data-always-visible")?!0:!1,railVisible:"1"==$(this).attr("data-rail-visible")?!0:!1,disableFadeOut:!0}),$(this).attr("data-initialized","1")}})},destroySlimScroll:function(a){$(a).each(function(){if("1"===$(this).attr("data-initialized")){$(this).removeAttr("data-initialized"),$(this).removeAttr("style");var a={};$(this).attr("data-handle-color")&&(a["data-handle-color"]=$(this).attr("data-handle-color")),$(this).attr("data-wrapper-class")&&(a["data-wrapper-class"]=$(this).attr("data-wrapper-class")),$(this).attr("data-rail-color")&&(a["data-rail-color"]=$(this).attr("data-rail-color")),$(this).attr("data-always-visible")&&(a["data-always-visible"]=$(this).attr("data-always-visible")),$(this).attr("data-rail-visible")&&(a["data-rail-visible"]=$(this).attr("data-rail-visible")),$(this).slimScroll({wrapperClass:$(this).attr("data-wrapper-class")?$(this).attr("data-wrapper-class"):"slimScrollDiv",destroy:!0});var b=$(this);$.each(a,function(a,c){b.attr(a,c)})}})},scrollTop:function(){Metronic.scrollTo()},blockUI:function(a){a=$.extend(!0,{},a);var b="";if(b=a.animate?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><div class="block-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div></div>':a.iconOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""></div>':a.textOnly?'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><span> '+(a.message?a.message:"LOADING...")+"</span></div>":'<div class="loading-message '+(a.boxed?"loading-message-boxed":"")+'"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif" align=""><span> '+(a.message?a.message:"LOADING...")+"</span></div>",a.target){var c=$(a.target);c.height()<=$(window).height()&&(a.cenrerY=!0),c.block({message:b,baseZ:a.zIndex?a.zIndex:1e3,centerY:void 0!==a.cenrerY?a.cenrerY:!1,css:{top:"10%",border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})}else $.blockUI({message:b,baseZ:a.zIndex?a.zIndex:1e3,css:{border:"0",padding:"0",backgroundColor:"none"},overlayCSS:{backgroundColor:a.overlayColor?a.overlayColor:"#555",opacity:a.boxed?.05:.1,cursor:"wait"}})},unblockUI:function(a){a?$(a).unblock({onUnblock:function(){$(a).css("position",""),$(a).css("zoom","")}}):$.unblockUI()},startPageLoading:function(a){a&&a.animate?($(".page-spinner-bar").remove(),$("body").append('<div class="page-spinner-bar"><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>')):($(".page-loading").remove(),$("body").append('<div class="page-loading"><img src="'+this.getGlobalImgPath()+'loading-spinner-blue.gif"/> <span>'+(a&&a.message?a.message:"Loading...")+"</span></div>"))},stopPageLoading:function(){$(".page-loading, .page-spinner-bar").remove()},alert:function(a){a=$.extend(!0,{container:"",place:"append",type:"success",message:"",close:!0,reset:!0,focus:!0,closeInSeconds:0,icon:""},a);var b=Metronic.getUniqueID("Metronic_alert"),c='<div id="'+b+'" class="Metronic-alerts alert alert-'+a.type+' fade in">'+(a.close?'<button type="button" class="close" data-dismiss="alert" aria-hidden="true"></button>':"")+(""!==a.icon?'<i class="fa-lg fa fa-'+a.icon+'"></i> ':"")+a.message+"</div>";return a.reset&&$(".Metronic-alerts").remove(),a.container?"append"==a.place?$(a.container).append(c):$(a.container).prepend(c):$("body").hasClass("page-container-bg-solid")?$(".page-title").after(c):$(".page-bar").size()>0?$(".page-bar").after(c):$(".page-breadcrumb").after(c),a.focus&&Metronic.scrollTo($("#"+b)),a.closeInSeconds>0&&setTimeout(function(){$("#"+b).remove()},1e3*a.closeInSeconds),b},initUniform:function(a){a?$(a).each(function(){0===$(this).parents(".checker").size()&&($(this).show(),$(this).uniform())}):p()},updateUniform:function(a){$.uniform.update(a)},initFancybox:function(){C()},getActualVal:function(a){return a=$(a),a.val()===a.attr("placeholder")?"":a.val()},getURLParameter:function(a){var b,c,d=window.location.search.substring(1),e=d.split("&");for(b=0;b<e.length;b++)if(c=e[b].split("="),c[0]==a)return unescape(c[1]);return null},isTouchDevice:function(){try{return document.createEvent("TouchEvent"),!0}catch(a){return!1}},getViewPort:function(){var a=window,b="inner";return"innerWidth"in window||(b="client",a=document.documentElement||document.body),{width:a[b+"Width"],height:a[b+"Height"]}},getUniqueID:function(a){return"prefix_"+Math.floor(Math.random()*(new Date).getTime())},isIE8:function(){return c},isIE9:function(){return d},isRTL:function(){return b},isAngularJsApp:function(){return"undefined"==typeof angular?!1:!0},getAssetsPath:function(){return g},setAssetsPath:function(a){g=a},setGlobalImgPath:function(a){h=a},getGlobalImgPath:function(){return g+h},setGlobalPluginsPath:function(a){i=a},getGlobalPluginsPath:function(){return g+i},getGlobalCssPath:function(){return g+j},getBrandColor:function(a){return k[a]?k[a]:""},getResponsiveBreakpoint:function(a){var b={xs:480,sm:768,md:900,lg:1200};return b[a]?b[a]:0}}}(),Layout=function(){var a="img/",b="css/",c=Metronic.getResponsiveBreakpoint("md"),d=function(){var a,b=$(".page-content"),d=$(".page-sidebar"),e=$("body");if(e.hasClass("page-footer-fixed")===!0&&e.hasClass("page-sidebar-fixed")===!1){var f=Metronic.getViewPort().height-$(".page-footer").outerHeight()-$(".page-header").outerHeight();b.height()<f&&b.attr("style","min-height:"+f+"px")}else{if(e.hasClass("page-sidebar-fixed"))a=g(),e.hasClass("page-footer-fixed")===!1&&(a-=$(".page-footer").outerHeight());else{var h=$(".page-header").outerHeight(),i=$(".page-footer").outerHeight();a=Metronic.getViewPort().width<c?Metronic.getViewPort().height-h-i:d.height()+20,a+h+i<=Metronic.getViewPort().height&&(a=Metronic.getViewPort().height-h-i)}b.attr("style","min-height:"+a+"px")}},e=function(a,b){var d=location.hash.toLowerCase(),e=$(".page-sidebar-menu");if("click"===a||"set"===a?b=$(b):"match"===a&&e.find("li > a").each(function(){var a=$(this).attr("href").toLowerCase();return a.length>1&&d.substr(1,a.length-1)==a.substr(1)?void(b=$(this)):void 0}),b&&0!=b.size()&&"javascript:;"!==b.attr("href").toLowerCase()&&"#"!==b.attr("href").toLowerCase()){parseInt(e.data("slide-speed")),e.data("keep-expanded");e.find("li.active").removeClass("active"),e.find("li > a > .selected").remove(),e.hasClass("page-sidebar-menu-hover-submenu")===!1?e.find("li.open").each(function(){0===$(this).children(".sub-menu").size()&&($(this).removeClass("open"),$(this).find("> a > .arrow.open").removeClass("open"))}):e.find("li.open").removeClass("open"),b.parents("li").each(function(){$(this).addClass("active"),$(this).find("> a > span.arrow").addClass("open"),1===$(this).parent("ul.page-sidebar-menu").size()&&$(this).find("> a").append('<span class="selected"></span>'),1===$(this).children("ul.sub-menu").size()&&$(this).addClass("open")}),"click"===a&&Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click()}},f=function(){jQuery(".page-sidebar").on("click","li > a",function(a){var b=$(this).next().hasClass("sub-menu");if(!(Metronic.getViewPort().width>=c&&1===$(this).parents(".page-sidebar-menu-hover-submenu").size())){if(b===!1)return void(Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click());if(!$(this).next().hasClass("sub-menu always-open")){var e=$(this).parent().parent(),f=$(this),g=$(".page-sidebar-menu"),h=jQuery(this).next(),i=g.data("auto-scroll"),j=parseInt(g.data("slide-speed")),k=g.data("keep-expanded");k!==!0&&(e.children("li.open").children("a").children(".arrow").removeClass("open"),e.children("li.open").children(".sub-menu:not(.always-open)").slideUp(j),e.children("li.open").removeClass("open"));var l=-200;h.is(":visible")?(jQuery(".arrow",jQuery(this)).removeClass("open"),jQuery(this).parent().removeClass("open"),h.slideUp(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})):b&&(jQuery(".arrow",jQuery(this)).addClass("open"),jQuery(this).parent().addClass("open"),h.slideDown(j,function(){i===!0&&$("body").hasClass("page-sidebar-closed")===!1&&($("body").hasClass("page-sidebar-fixed")?g.slimScroll({scrollTo:f.position().top}):Metronic.scrollTo(f,l)),d()})),a.preventDefault()}}}),jQuery(".page-sidebar").on("click"," li > a.ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=jQuery(".page-sidebar ul"),e=($(".page-content"),$(".page-content .page-content-body"));d.children("li.active").removeClass("active"),d.children("arrow.open").removeClass("open"),$(this).parents("li").each(function(){$(this).addClass("active"),$(this).children("a > span.arrow").addClass("open")}),$(this).parents("li").addClass("active"),Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),Metronic.startPageLoading();var f=$(this);$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){0===f.parents("li.open").size()&&$(".page-sidebar-menu > li.open > a").click(),Metronic.stopPageLoading(),e.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){Metronic.stopPageLoading(),e.html("<h4>Could not load the requested content.</h4>")}})}),jQuery(".page-content").on("click",".ajaxify",function(a){a.preventDefault(),Metronic.scrollTop();var b=$(this).attr("href"),d=($(".page-content"),$(".page-content .page-content-body"));Metronic.startPageLoading(),Metronic.getViewPort().width<c&&$(".page-sidebar").hasClass("in")&&$(".page-header .responsive-toggler").click(),$.ajax({type:"GET",cache:!1,url:b,dataType:"html",success:function(a){Metronic.stopPageLoading(),d.html(a),Layout.fixContentHeight(),Metronic.initAjax()},error:function(a,b,c){d.html("<h4>Could not load the requested content.</h4>"),Metronic.stopPageLoading()}})}),i(),$(".page-sidebar").on("click",".sidebar-search .remove",function(a){a.preventDefault(),$(".sidebar-search").removeClass("open")}),$(".page-sidebar .sidebar-search").on("keypress","input.form-control",function(a){return 13==a.which?($(".sidebar-search").submit(),!1):void 0}),0!==$(".sidebar-search").size()&&($(".sidebar-search .input-group").on("click",function(a){a.stopPropagation()}),$("body").on("click",function(){$(".sidebar-search").hasClass("open")&&$(".sidebar-search").removeClass("open")}))},g=function(){var a=Metronic.getViewPort().height-$(".page-header").outerHeight();return $("body").hasClass("page-footer-fixed")&&(a-=$(".page-footer").outerHeight()),a},h=function(){var a=$(".page-sidebar-menu");return Metronic.destroySlimScroll(a),0===$(".page-sidebar-fixed").size()?void d():void(Metronic.getViewPort().width>=c&&(a.attr("data-height",g()),Metronic.initSlimScroll(a),d()))},i=function(){var a=$("body");a.hasClass("page-sidebar-fixed")&&$(".page-sidebar").on("mouseenter",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").removeClass("page-sidebar-menu-closed")}).on("mouseleave",function(){a.hasClass("page-sidebar-closed")&&$(this).find(".page-sidebar-menu").addClass("page-sidebar-menu-closed")})},j=function(){$("body");$.cookie&&"1"===$.cookie("sidebar_closed")&&Metronic.getViewPort().width>=c?($("body").addClass("page-sidebar-closed"),$(".page-sidebar-menu").addClass("page-sidebar-menu-closed")):$.cookie&&$.cookie("sidebar_closed","0")},k=function(){$(".page-header").on("click",'.hor-menu a[data-toggle="tab"]',function(a){a.preventDefault();var b=$(".hor-menu .nav"),c=b.find("li.current");$("li.active",c).removeClass("active"),$(".selected",c).remove();var d=$(this).parents("li").last();d.addClass("current"),d.find("a:first").append('<span class="selected"></span>')}),$(".page-header").on("click",".search-form",function(a){$(this).addClass("open"),$(this).find(".form-control").focus(),$(".page-header .search-form .form-control").on("blur",function(a){$(this).closest(".search-form").removeClass("open"),$(this).unbind("blur")})}),$(".page-header").on("keypress",".hor-menu .search-form .form-control",function(a){return 13==a.which?($(this).closest(".search-form").submit(),!1):void 0}),$(".page-header").on("mousedown",".search-form.open .submit",function(a){a.preventDefault(),a.stopPropagation(),$(this).closest(".search-form").submit()}),$('[data-hover="megamenu-dropdown"]').not(".hover-initialized").each(function(){$(this).dropdownHover(),$(this).addClass("hover-initialized")}),$(document).on("click",".mega-menu-dropdown .dropdown-menu",function(a){a.stopPropagation()})},l=function(){$("body").on("shown.bs.tab",'a[data-toggle="tab"]',function(){d()})},m=function(){var a=300,b=500;navigator.userAgent.match(/iPhone|iPad|iPod/i)?$(window).bind("touchend touchcancel touchleave",function(c){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}):$(window).scroll(function(){$(this).scrollTop()>a?$(".scroll-to-top").fadeIn(b):$(".scroll-to-top").fadeOut(b)}),$(".scroll-to-top").click(function(a){return a.preventDefault(),$("html, body").animate({scrollTop:0},b),!1})},n=function(){var a,b=$(".full-height-content");if(a=Metronic.getViewPort().height-$(".page-header").outerHeight(!0)-$(".page-footer").outerHeight(!0)-$(".page-title").outerHeight(!0)-$(".page-bar").outerHeight(!0),b.hasClass("portlet")){var d=b.find(".portlet-body");if(Metronic.getViewPort().width<c)return void Metronic.destroySlimScroll(d.find(".full-height-content-body"));a=a-b.find(".portlet-title").outerHeight(!0)-parseInt(b.find(".portlet-body").css("padding-top"))-parseInt(b.find(".portlet-body").css("padding-bottom"))-2,b.hasClass("full-height-content-scrollable")?(a-=35,d.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(d.find(".full-height-content-body"))):d.css("min-height",a)}else{if(Metronic.getViewPort().width<c)return void Metronic.destroySlimScroll(b.find(".full-height-content-body"));b.hasClass("full-height-content-scrollable")?(a-=35,b.find(".full-height-content-body").css("height",a),Metronic.initSlimScroll(b.find(".full-height-content-body"))):b.css("min-height",a)}};return{initHeader:function(){k()},setSidebarMenuActiveLink:function(a,b){e(a,b)},initSidebar:function(){h(),f(),j(),Metronic.isAngularJsApp()&&e("match"),Metronic.addResizeHandler(h)},initContent:function(){n(),l(),Metronic.addResizeHandler(d),Metronic.addResizeHandler(n)},initFooter:function(){m()},init:function(){this.initHeader(),this.initSidebar(),this.initContent(),this.initFooter()},fixContentHeight:function(){d()},initFixedSidebarHoverEffect:function(){i()},initFixedSidebar:function(){h()},getLayoutImgPath:function(){return Metronic.getAssetsPath()+a},getLayoutCssPath:function(){return Metronic.getAssetsPath()+b}}}();angular.module("xCallyShuttleApp").run(["$templateCache",function(a){a.put("app/analytic/extracted/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-file-pdf-o"></i>\n <a href="/analytics/extracted/list">{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-file-pdf-o font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_EXTRACTED_REPORTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_METRIC\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.metric" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.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="(forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.table" name="table" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE-->\n\n <!-- START METRIC -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$invalid}">\n <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="item.metric" required/></textarea>\n <span data-ng-show="(forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END METRIC -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.metric.$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/analytic/metric/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-calculator"></i>\n <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-calculator font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DEFAULT_METRICS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptionsDefault" data-ng-if="gridOptionsDefault" name="gridOptionsDefault" 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 <div class="watermark" ng-show="!gridOptionsDefault.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n <div class="portlet-title margin-top20">\n <div class="caption font-green-sharp">\n <i class="icon-calculator font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_METRICS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_METRIC\' | translate }}\n </button>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" data-ng-if="gridOptions" name="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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/list/view.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_METRIC\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.metric" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}</label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.name" required readonly/>\n <span data-ng-show="(forms.metric.name.$touched || forms.metric.$submitted) && forms.metric.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}</label>\n <ui-select data-ng-model="item.table" name="table" theme="bootstrap" required data-ng-disabled="true">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.metric.table.$touched || forms.metric.$submitted) && forms.metric.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE-->\n\n <!-- START METRIC -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$invalid}">\n <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}</label>\n <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="item.metric" required readonly/></textarea>\n <span data-ng-show="(forms.metric.metric.$touched || forms.metric.$submitted) && forms.metric.metric.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END METRIC -->\n\n <!-- START DESCRIPTION -->\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" readonly></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'), +a.put("app/analytic/metric/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getMetric()">\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-eye"></i>\n <a href="/analytics/metrics/list">{{ \'APPLICATION_METRICS\' | translate }}</a>\n <i data-ng-show="metric" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="metric">\n <a href="#">{{metric.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/metric.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{metric.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.analytics.metrics.view.settings\')}">\n <a data-ng-href="/analytics/metrics/view/{{metric.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/metric/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_METRIC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateMetric()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="metric.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="metric.table" name="table" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.table.$touched || forms.general.$submitted) && forms.general.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE-->\n\n <!-- START METRIC -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$invalid}">\n <label class="control-label">{{\'APPLICATION_METRIC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea type="text" name="metric" placeholder="{{\'APPLICATION_METRIC\' | translate}}" class="form-control" data-ng-model="metric.metric" required/></textarea>\n <span data-ng-show="(forms.general.metric.$touched || forms.general.$submitted) && forms.general.metric.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END METRIC -->\n\n <!-- START DESCRIPTION -->\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="metric.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/analytic/report/list/copy.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_COPY_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp" style="padding-left:10px;">\n <i class="icon-folder font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_COPY_TO\' | translate }} </span>\n </div>\n </div>\n <div class="portlet-body">\n <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;"></div>\n </div>\n </div>\n <div class="has-error">\n <span data-ng-show="showAlert" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_SELECT_FOLDER\' | translate}}.\n </span>\n </div>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_REPORT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.report" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.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="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_PATH\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_PATH\' | translate}}" class="form-control" data-ng-model="path" disabled/>\n <span data-ng-show="(forms.report.name.$touched || forms.report.$submitted) && forms.report.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.report.$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/analytic/report/list/extract.modal.html",'<div class="modal-header">\n <button type="button" ng-click="cancel()" class="close">×</button>\n <h4 class="modal-title">{{ \'APPLICATION_EXTRACT_REPORT\' | translate }}</h4>\n</div>\n<div class="modal-body" style="text-align:center;">\n <form name="forms.report" class="form-inline mbottom20" novalidate>\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="daterange" onkeydown="return false" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" max-date="{{yesterday}}" data-ng-required="!daily" data-ng-disabled="daily" data-ng-class="{\'disabled-invisible\':daily}" style="cursor:pointer;" readonly/>\n <input\n bs-switch\n class="form-control"\n ng-model="daily"\n type="checkbox"\n name="auth"\n switch-active="{{ dailySwitch.isActive }}"\n switch-on-text="{{ dailySwitch.onText }}"\n switch-off-text="{{ dailySwitch.offText }}"\n switch-on-color="{{ dailySwitch.onColor }}"\n switch-off-color="{{ dailySwitch.offColor }}"\n switch-animate="{{ dailySwitch.animate }}"\n switch-size="{{ dailySwitch.size }}"\n switch-label="{{ dailySwitch.label }}"\n switch-icon="{{ dailySwitch.icon }}"\n switch-radio-off="{{ dailySwitch.radioOff }}"\n switch-label-width="{{ dailySwitch.labelWidth }}"\n switch-handle-width="{{ dailySwitch.handleWidth }}">\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn default green-jungle" type="button" data-ng-click="extract(\'csv\')"><i class="fa fa-file-excel-o"></i> {{ \'APPLICATION_SAVE_AS_CSV\' | translate }}</button>\n <button class="btn default red-intense" type="button" data-ng-click="extract(\'pdf\')"><i class="fa fa-file-pdf-o"></i> {{ \'APPLICATION_SAVE_AS_PDF\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getTrees()">\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-book-open"></i>\n <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <div class="col-fixed">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp" style="padding-left:10px;">\n <i class="icon-folder font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_FOLDERS\' | translate }} </span>\n </div>\n <div class="inputs">\n <div class="portlet-input input-inline input-small">\n <div class="input-icon right">\n <i class="icon-magnifier"></i>\n <input type="text" data-ng-model="searchField" data-ng-change="searchTrees()" class="form-control input-circle" placeholder="search...">\n </div>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div js-tree="defaultTreeConfig" ng-model="defaultTreeData" should-apply="ac()" tree="defaultTreeInstance" tree-events="ready:initDefaultScopeTree;select_node:selectDefaultNode;"></div>\n <div js-tree="customTreeConfig" ng-model="customTreeData" should-apply="ac()" tree="customTreeInstance" tree-events="ready:initCustomScopeTree;select_node:selectCustomNode;rename_node:updateCustomTree;delete_node:updateCustomTree;move_node:updateCustomTree;create_node:updateCustomTree;"></div>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n <div class="row tree-row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\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_REPORTS\' | translate }}<span data-ng-if="selectedNode"> - {{selectedNode}}</span></span>\n </div>\n <div data-ng-if="!defaultTreeActive" class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <span class="btn default btn-file">\n <span class="fileinput-new">\n <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_JSON\' | translate}}</span>\n <input type="file" on-read-file="import($fileContent)"/>\n </span>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_REPORT\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div ng-slide-down="gridOptions" lazy-render duration="1">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/list/preview.modal.html",'<div class="modal-header">\n <button type="button" ng-click="cancel()" class="close">×</button>\n <h4 class="modal-title">{{ \'APPLICATION_REPORT_PREVIEW\' | translate }}</h4>\n</div>\n<div class="modal-body" style="text-align:center;">\n <form name="forms.report" class="form-inline mbottom20" novalidate>\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DATE_RANGE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="daterange" name="dates" ranges="ranges" placeholder="{{\'APPLICATION_DATE_RANGE\' | translate}}" class="form-control" data-ng-model="dates" data-ng-change="getPage()" max-date="{{yesterday}}" data-ng-required="!daily" data-ng-disabled="daily" data-ng-class="{\'disabled-invisible\':daily}" style="cursor:pointer;" readonly/>\n <!-- START STATUS -->\n <input\n bs-switch\n class="form-control"\n ng-model="daily"\n type="checkbox"\n name="auth"\n data-ng-change="getPage()"\n switch-active="{{ dailySwitch.isActive }}"\n switch-on-text="{{ dailySwitch.onText }}"\n switch-off-text="{{ dailySwitch.offText }}"\n switch-on-color="{{ dailySwitch.onColor }}"\n switch-off-color="{{ dailySwitch.offColor }}"\n switch-animate="{{ dailySwitch.animate }}"\n switch-size="{{ dailySwitch.size }}"\n switch-label="{{ dailySwitch.label }}"\n switch-icon="{{ dailySwitch.icon }}"\n switch-radio-off="{{ dailySwitch.radioOff }}"\n switch-label-width="{{ dailySwitch.labelWidth }}"\n switch-handle-width="{{ dailySwitch.handleWidth }}">\n </div>\n </form>\n <div ng-slide-down="showResult" lazy-render duration="1">\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="grid extract-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n</div>\n<div class="modal-footer">\n<button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/analytic/report/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getReport()">\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-book-open"></i>\n <a href="/analytics/reports/list">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n <i data-ng-show="report" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="report">\n <a href="#">{{report.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/report.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{report.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.analytics.reports.view.settings\')}">\n <a data-ng-href="/analytics/reports/view/{{report.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/analytic/report/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_REPORT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li>\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li class="active">\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_BUILD\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab" data-ng-click="showResult = true">{{ \'APPLICATION_TEST_PREVIEW\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="report.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="report.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TABLE INPUT -->\n\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n\n </div>\n <!-- END GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_2">\n <form name="forms.report" data-ng-submit="forms.report.$valid && forms.general.$valid && updateReport()" novalidate>\n <div class="form-group" data-ng-class="{\'has-error\': (forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$invalid}">\n <label class="control-label">{{\'APPLICATION_TABLE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="report.table" name="table" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{\'APPLICATION_\'+$select.selected.value.toUpperCase() | translate}}</ui-select-match>\n <ui-select-choices repeat="table.value as table in tables | filter: $select.search">\n <div ng-bind-html="\'APPLICATION_\'+table.value.toUpperCase() | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n </span>\n <span data-ng-show="(forms.report.table.$touched || forms.report.$submitted) && forms.report.table.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TABLE INPUT-->\n <div data-ng-if="report.table" class="mbottom20 pbottom20">\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_FIELDS\' | translate}} </span>\n </div>\n </div>\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{ \'APPLICATION_FIELD\' | translate }} / {{ \'APPLICATION_METRIC\' | translate }}</th>\n <th style="min-width:167px;">{{ \'APPLICATION_ALIAS\' | translate }}</th>\n <th>{{ \'APPLICATION_FUNCTION\' | translate }}</th>\n <th>{{ \'APPLICATION_FORMAT\' | translate }}</th>\n <th>{{ \'APPLICATION_GROUP_BY\' | translate }}</th>\n <th>{{ \'APPLICATION_ORDER_BY\' | translate }}</th>\n <th></th>\n <th style="min-width:66px;"></th>\n </tr>\n </thead>\n <tbody ui-sortable="sortableOptions" data-ng-model="report.Fields">\n <tr data-ng-repeat="field in report.Fields">\n <td>\n <!-- START FIELD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.field}">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <div class="input-group">\n <ui-select data-ng-if="!field.custom" data-ng-model="field.field" dynamic-name="randomName()" theme="bootstrap" on-select="setMetricId($item,$index)" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}"><span ng-bind-html="$select.selected.name"></span></ui-select-match>\n <ui-select-choices repeat="tableField.value as tableField in tableFields | filter: $select.search">\n <div ng-bind-html="tableField.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <input data-ng-if="field.custom" type="text" dynamic-name="randomName()" placeholder="{{\'APPLICATION_CUSTOM\' | translate}}" class="form-control" data-ng-model="field.field" required/>\n <span class="input-group-btn">\n <button type="button" data-ng-click="toggleCustom(field)" class="btn btn-default">\n <span class="icon-pencil" data-ng-class="{\'font-blue\':field.custom}"></span>\n </button>\n </span>\n </div>\n <span data-ng-show="forms.report.$submitted && !field.field" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FIELD-->\n </td>\n <td>\n <!-- START ALIAS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.report.$submitted && !field.alias}">\n <!-- <label class="control-label">{{\'APPLICATION_ALIAS\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <input type="text" dynamic-name="randomName()" placeholder="{{\'APPLICATION_ALIAS\' | translate}}" class="form-control" data-ng-model="field.alias" data-ng-pattern="\'[A-Za-z0-9 <>=,.%_\\\\+*!\\\\-\\\\[\\\\]]+\'" required/>\n <span data-ng-show="forms.report.$submitted && !field.alias" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="forms.report.$submitted && !field.alias" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END ALIAS -->\n </td>\n <td>\n <!-- START FUNCTION -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.function" name="function" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_FUNCTION\' | translate}}" allow-clear>{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="function.value as function in functions | filter: $select.search">\n <div ng-bind-html="function.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END FUNCTION-->\n </td>\n <td>\n <!-- START FORMAT -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.format" name="format" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_FORMAT\' | translate}}" allow-clear>{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="format.value as format in formatFunctions | filter: $select.search">\n <div ng-bind-html="format.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END FORMAT-->\n </td>\n <td>\n <!-- START GROUP_BY -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.groupBy" name="groupBy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_GROUP_BY\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="groupBy.value as groupBy in groupByField | filter: $select.search">\n {{$translate.instant(groupBy.name)}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END GROUP_BY-->\n </td>\n <td>\n <!-- START ORDER_BY -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_FIELD\' | translate}}<span class="required" aria-required="true">*</span></label> -->\n <ui-select data-ng-model="field.orderBy" name="orderBy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_ORDER_BY\' | translate}}" allow-clear>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="orderBy in [\'ASC\',\'DESC\'] | filter: $select.search">\n <div ng-bind-html="orderBy | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TABLE INPUT-->\n </td>\n <td class="report-field-remove">\n <button class="btn red" type="button" data-ng-click="removeField($index)"><i class="fa fa-times"></i></button>\n </td>\n <td class="report-field-handle">\n <!-- <img data-ng-src="assets/images/move.png" class="img-responsive"> -->\n </td>\n </tr>\n <tr data-ng-hide="report.Fields.length" class="unsortable">\n <td colspan="8" style="text-align:center;">\n <i>{{ \'MESSAGE_ADD_A_FIELD\' | translate }}</i>\n </td>\n </tr>\n </tbody>\n </table>\n <button type="button" class="btn btn-sm green padding-bottom" ng-click="addField()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_FIELD\' | translate}}\n </button>\n <!-- END TABLE -->\n </div>\n <div data-ng-if="report.Fields.length" class="mbottom20 pbottom20">\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_CONDITIONS\' | translate}} </span>\n </div>\n </div>\n <div class="alert alert-info">\n <strong>Output</strong><br>\n <span ng-bind-html="output"></span>\n </div>\n\n <report-builder group="report.conditions.group" fields="tableFields" forms="forms" firstCall=\'true\'></report-builder>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <div class="tab-pane" id="tab_1_3">\n <div ng-slide-down="showResult" lazy-render duration="0.5">\n <div ui-grid="gridOptions" data-ng-if="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-move-columns class="grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/chat/offline/list/list.html",'<div class="row">\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/offline/list">{{ \'APPLICATION_OFFLINE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-question font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_OFFLINE_MESSAGES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/offline/message/message.directive.html",'<div class="message">\n <div class="row">\n <div class="col-md-12">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="openContact(message.email)">{{message.email}}</a>]\n </div>\n </div>\n <br>\n <span class="todo-tasklist-date">\n <i class="icon-calendar"></i> {{message.createdAt | date:\'medium\'}} (<span am-time-ago="message.createdAt"></span>)\n </span>\n <hr>\n <div class="body text-left message-body" data-ng-bind="message.text"></div>\n <h5 data-ng-hide="message.text" class="media-heading"><i>{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}</i></h5>\n</div>\n'),a.put("app/channels/chat/offline/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/offline/list">Offline</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-user"></i>\n <a href="#">{{enquiry.username}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE CONTENT -->\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <span data-ng-if="enquiry.ChatWebsite" class="caption-subject font-green-sharp bold uppercase">{{enquiry.ChatWebsite.name}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="row">\n <div class="col-md-4">\n <!-- Visitor Information -->\n <div class="portlet">\n <div class="portlet-body">\n <v-accordion class="vAccordion--default">\n <v-pane expanded="true">\n <v-pane-header>\n <ng-letter-avatar data-ng-if="enquiry.ChatVisitor" height="40" width="40" data="{{enquiry.ChatVisitor.fullname}}" fontsize="25" avatarcustombgcolor="#B0B0B0" charCount="2" avatarcustomborder="border:2px solid #EA4C61" shape="round"></ng-letter-avatar>\n </v-pane-header>\n <v-pane-content>\n {{\'APPLICATION_NAME\' | translate}}:<p>{{enquiry.ChatVisitor.fullname}}</p>\n {{\'APPLICATION_EMAIL\' | translate}}:<p><a data-ng-click="openContact(enquiry.ChatVisitor.email)" href="">{{enquiry.ChatVisitor.email}}</a></p>\n <span data-ng-if="enquiry.ChatVisitor.labelOfflineData1">{{enquiry.ChatVisitor.labelOfflineData1}}: <p>{{enquiry.ChatVisitor.offlineData1}}</p></span>\n <span data-ng-if="enquiry.ChatVisitor.labelOfflineData2">{{enquiry.ChatVisitor.labelOfflineData2}}: <p>{{enquiry.ChatVisitor.offlineData2}}</p></span>\n <span data-ng-if="enquiry.ChatVisitor.labelOfflineData3">{{enquiry.ChatVisitor.labelOfflineData3}}: <p>{{enquiry.ChatVisitor.offlineData3}}</p></span>\n {{\'APPLICATION_REMOTE_ADDRESS\' | translate}}:<p>{{enquiry.ChatVisitor.remote_address}}</p>\n {{\'APPLICATION_BROWSER\' | translate}}:<p>{{enquiry.ChatVisitor.browser}}</p>\n {{\'APPLICATION_REFERER\' | translate}}:<p>{{enquiry.ChatVisitor.referer}} - {{enquiry.ChatWebsite.name}}</p>\n {{\'APPLICATION_OS\' | translate}}:<p>{{enquiry.ChatVisitor.os}}</p>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <!-- Offline message -->\n <div id="mail-box">\n <ul class="chats">\n <li class="in">\n <enquiry-message message="enquiry" list-id="enquiry.ChatWebsite.ListId"></enquiry-message>\n </li>\n </ul>\n </div>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/online/list/list.html",'<div class="row">\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/online/list">{{ \'APPLICATION_ONLINE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-question font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/online/view/view.detail.html",'<div class="row">\n <div class="col-md-12">\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_DETAIL\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body row" data-ng-init="initView()">\n <div class="col-md-6">\n <div class="news-blocks">\n <h3>\n <a href="#" class="inactive-link">{{\'APPLICATION_MESSAGES\' | translate}}</a>\n <!-- <a href="#" data-ng-click="export()" data-ng-show="chatRoom.ChatMessages.length" class="btn btn-sm blue pull-right"><i class="icon-cloud-download"></i> {{\'APPLICATION_EXPORT\' | translate}} CSV </a> -->\n <a href="api/chat/rooms/{{chatRoom.id}}/export" target="_blank" data-ng-show="chatRoom.ChatMessages.length" class="btn btn-sm blue pull-right"><i class="icon-cloud-download"></i> {{\'APPLICATION_EXPORT\' | translate}} CSV </a>\n <hr>\n </h3>\n <div class="news-block-tags">\n <em am-time-ago="chatRoom.ChatVisitor.ChatEnquiry.createdAt"></em>\n </div>\n <p>\n <div ng-scrollbars ng-scrollbars-config="config">\n <ul class="chats">\n <li data-ng-class="{\'out\': message.User, \'in\':message.ChatVisitor}" data-ng-repeat="message in chatRoom.ChatMessages | orderBy:\'createdAt\'">\n <img class="avatar" data-ng-src="api/users/avatar/{{message.User.userpic || \'unknown_avatar\'}}">\n <div class="message">\n <span class="arrow">\n </span>\n <a href="#" class="name">\n {{message.User ? message.User.fullname : message.ChatVisitor.fullname}}\n </a>\n <span class="datetime">\n at {{message.createdAt | date: \'medium\'}}\n </span>\n <span class="body">\n {{message.body}}\n </span>\n </div>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="col-md-6">\n <div class="news-blocks">\n <h3>\n <a href="#" class="inactive-link">{{\'APPLICATION_VISITOR\' | translate}}</a>\n <hr>\n </h3>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-user"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.fullname}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-envelope"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.email}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-globe"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.remote_address}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-home"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.referer}} - {{chatRoom.ChatVisitor.ChatWebsite.name}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-cursor"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.browser}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-screen-desktop"></i>\n <a href="#" class="inactive-link">{{chatRoom.ChatVisitor.os}}</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n'),a.put("app/channels/chat/online/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></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="icon-login"></i>\n <a href="/channels/chat/online/list">Online</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/enquiry.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- START USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chatRoom.ChatVisitor.email}}\n </div>\n <div class="profile-usertitle-job">\n {{chatRoom.ChatVisitor.fullname}}\n </div>\n </div>\n <!-- END USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.chat.online.view.detail\')}">\n <a data-ng-href="/channels/chat/online/view/{{chatRoom.id}}/detail">\n <i class="icon-tag"></i>\n {{ \'APPLICATION_DETAIL\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/preview/preview.html",'<style>\n.xc_header_logo\n{\n display:block;\n background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/motion_logo.png);\n width:40px;\n height:40px;\n float:left;;\n margin-left: 10px !important;\n margin-top: 6px !important;\n}\n.xc_rating {\n text-align: center;\n}\n.xc_rating_label > input{ /* HIDE RADIO */\n display:none;\n}\n.xc_rating_label > input + img{ /* IMAGE STYLES */\n cursor:pointer;\n border:2px solid transparent;\n}\n.xc_rating_label > input:checked + img{ /* (CHECKED) IMAGE STYLES */\n /*border:2px solid #f00;*/\n background-color: #efefef;\n}\n\n.xc_label {\n display: inline-block;\n max-width: 100%;\n margin-bottom: 5px;\n font-weight: bold;\n}\n\n.xc_online_message,\n.xc_offline_message,\n.xc_rating_message\n{\n text-align: center;\n}\n\n.xc_div_group {\n margin: 10px 0 10px 0;\n}\n.xc_footer\n{\n text-align: center;\n padding-bottom: 5px;\n}\n\n.xc_powered\n{\n color: grey;\n font: 10px/16px "Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif;\n padding-bottom: 5px;\n}\n\n.xc_chat_container\n{\n //width:379px;\n //position:fixed;\n //bottom:0;\n //right:50px;\n z-index:9999;\n background-color:transparent;\n}\n\n.xc_chat_container *\n{\n font-family:Arial,Helvetica,sans-serif;\n font-size:13px;\n margin:0;\n padding:0;\n}\n\n.xc_chat_container p\n{\n margin:5px 0;\n}\n\n.xc_signup_wrapper\n{\n max-height:375px;\n}\n\n.xc_conversation_container\n{\n max-height:375px;\n list-style:none;\n overflow:auto;\n margin:0;\n padding:20px 10px;\n}\n\n.xc_conversation_container a\n{\n color:#036;\n}\n\n.xc_conversation_container a.xc_btn_style\n{\n color:#fff;\n}\n\ndiv.xc_chat_head\n{\n color:#fff;\n background:{{chatWebsite.color}};\n //border-radius: 20px 20px 0px 0px !important;\n height:52px;\n line-height:55px;\n cursor:pointer;\n}\n\ndiv.xc_chat_head.rounded\n{\n border-radius: 20px 20px 0px 0px !important;\n}\n\ndiv.xc_chat_head.squared\n{\n //border-radius: 20px 20px 0px 0px !important;\n}\n\n.xc_chat_head-title\n{\n margin:5px 0 0 15px;\n color: #fff;\n}\n\n.xc_header_icon\n{\n display:block;\n background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/iconVisitorchat.png);\n width:21px;\n height:16px;\n float:right;\n margin:20px 20px 0 0;\n}\n\n.xc_header_icon span.xc_notification_badge span\n{\n display:block;\n height:16px;\n width:15px;\n text-align:center;\n font-size:9px;\n color:#555;\n position:relative;\n top:-20px;\n left:4px;\n margin:0;\n padding:0;\n}\n\n.xc_sub-head-spacer\n{\n padding:1px;\n}\n\n.xc_conversation\n{\n display:none;\n margin:0 12px 0 11px;\n}\n\n.xc_chat_toggle_container\n{\n /*background:mediumslateblue center 52px;*/\n background: white;\n border-style: solid;\n border-width: 1px;\n border-color: {{chatWebsite.color}};\n //display:none;\n}\n\n.xc_signup_wrapper,.xc_notifications_wrapper,.xc_enquiry_wrapper,.xc_rating_wrapper\n{\n //display:none;\n display:block;\n overflow:auto;\n line-height:1;\n padding:25px;\n}\n\n.xc_exit_chat_container\n{\n text-align:right;\n width:95%;\n margin:0 auto;\n padding:5px 1px 0 0;\n}\n\n.xc_exit_chat_container span,.xc_exit_chat_container a\n{\n font-size:80%;\n color:#666;\n text-decoration:none;\n}\n\n.xc_exit_chat_container a:hover\n{\n color:#333;\n}\n\na.xc_btn_exit_chat_confirm:hover\n{\n color:red;\n}\n\na.xc_btn_exit_chat_cancel:hover\n{\n color:#0c0;\n}\n\nform.xc_form_reply\n{\n position:relative;\n}\n\n.xc_form_reply\n{\n /*background-color:#e3e3e3;*/\n text-align:center;\n /*border-top:1px solid #d3d3d3;*/\n}\n\n.xc_input_message\n{\n height:100px;\n margin:10px auto 5px;\n}\n\n.xc_input_enquiry_message,\n.xc_input_rating_message\n{\n height:100px;\n}\n\n.xc_form_signup,.xc_form_enquiry,.xc_form_rating\n{\n /*text-align:center;*/\n}\n\n.xc_chat_container textarea,.xc_chat_container input[type=text]\n{\n width:95%;\n min-width:95%;\n max-width:95%;\n -webkit-box-sizing:border-box;\n -moz-box-sizing:border-box;\n box-sizing:border-box;\n background-color:#fff;\n border:1px solid #ccc;\n -webkit-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n -moz-box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n box-shadow:inset 0 1px 1px rgba(0,0,0,0.075);\n -webkit-transition:border linear .2s, box-shadow linear .2s;\n -moz-transition:border linear .2s, box-shadow linear .2s;\n -o-transition:border linear .2s, box-shadow linear .2s;\n transition:border linear .2s, box-shadow linear .2s;\n display:inline-block;\n font-size:14px;\n line-height:20px;\n color:#555;\n -webkit-border-radius:4px;\n -moz-border-radius:4px;\n border-radius:4px;\n vertical-align:middle;\n margin:3px 0;\n padding:4px 6px;\n resize: none;\n}\n\n.xc_chat_container textarea:focus,.xc_chat_container input[type=text]:focus\n{\n outline: {{chatWebsite.color_focus}} auto 5px;\n}\n\n.xc_chat_container input[type=text]\n{\n height: 30px;\n}\n\n.xc_message_sending textarea, .xc_enquiry_sending textarea\n{\n background: #fff url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/loading.gif) 98% 5px no-repeat;\n}\n\n.xc_chatrow\n{\n display:block;\n border-top:1px dashed #e3e3e3;\n margin:5px 0;\n clear: both;\n}\n\n.xc_chatrow p\n{\n color:#444;\n word-wrap:break-word;\n}\n\n.xc_time\n{\n float:right;\n font-size:80%;\n color:#ccc;\n padding-left:12px;\n margin:3px;\n}\n\n.xc_submission_pending\n{\n background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_clock.png) left center norepeat;\n}\n\n.xc_submission_confirmed\n{\n background:transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_tick.png) left center norepeat;\n}\n\n.xc_fullname\n{\n font-weight:700;\n}\n\n.xc_fullname:after\n{\n content:":";\n}\n\n.xc_avatar\n{\n float: left;\n margin: 0 5px 5px 0;\n display: inline-block;\n width: 40px;\n height: 40px;\n border-radius: 5px;\n -moz-border-radius: 5px;\n -webkit-border-radius: 5px;\n}\n\n.xc_smilie\n{\n background-repeat:no-repeat;\n display:inline-block;\n width:18px;\n height:18px;\n text-indent:-9999px;\n white-space:nowrap;\n}\n\n.xc_btn_load_more\n{\n width:100%!important;\n}\n\n.xc_notifications_wrapper\n{\n text-shadow:0 1px 0 rgba(255,255,255,0.5);\n}\n\n.xc_notification_success\n{\n color:#468847;\n}\n\n.xc_notification_error\n{\n color:#b94a48;\n}\n\n.xc_errorlist\n{\n margin:0 0 0 25px;\n padding:0;\n}\n\ni.xc_btn_notifications_close\n{\n float:right;\n font-weight:700;\n font-size:20px;\n color:#ccc;\n cursor:pointer;\n margin:-15px 0 0;\n padding:0;\n}\n\n.xc_btn_style\n{\n width:95%;\n text-align:center;\n line-height:1.2;\n font-size:90%;\n -moz-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n -webkit-box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n box-shadow:inset 0 1px 0 0 {{chatWebsite.color_button}};\n background:0;\n background-color:{{chatWebsite.color_button}};\n -moz-border-radius:4px;\n -webkit-border-radius:4px;\n border-radius:4px;\n border:1px solid {{chatWebsite.color_button}};\n display:inline-block;\n color:#fff;\n font-weight:700;\n text-decoration:none;\n text-shadow:1px 1px 0 #000c17;\n margin:0 auto 5px;\n padding:2px 0;\n}\n\n.xc_btn_style:hover\n{\n background:0;\n background-color:{{chatWebsite.color_button}};\n color: #fff;\n text-decoration: none;\n}\n\n.xc_btn_style:active\n{\n position:relative;\n top:1px;\n}\n\n.xc_composing_container\n{\n display: none;\n width: 95%;\n margin: 0 auto;\n background: transparent url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/bullet_pencil.png) 6px center no-repeat;\n padding-left: 19px;\n font-style: italic;\n}\n\n@media only screen and (max-height: 620px) {\n .xc_conversation_container\n {\n max-height:300px!important;\n }\n}\n\n@media only screen and (max-height: 545px) {\n .xc_conversation_container\n {\n max-height:200px!important;\n }\n}\n\n@media only screen and (max-height: 445px) {\n .xc_conversation_container\n {\n max-height:150px!important;\n }\n}\n\n@media only screen and (max-width: 480px) {\n .xc_chat_container\n {\n width:95%!important;\n right:auto!important;\n -webkit-border-top-left-radius:15px;\n -webkit-border-top-right-radius:15px;\n -moz-border-radius-topleft:15px;\n -moz-border-radius-topright:15px;\n border-top-left-radius:15px;\n border-top-right-radius:15px;\n box-shadow:0 0 5px rgba(0,0,0,.5);\n -webkit-box-shadow:0 0 5px rgba(0,0,0,.5);\n -moz-box-shadow:0 0 5px rgba(0,0,0,.5);\n }\n\n div.xc_chat_head\n {\n background-color:#036;\n background-image:none;\n line-height:25px;\n height:auto;\n -webkit-border-top-left-radius:15px;\n -webkit-border-top-right-radius:15px;\n -moz-border-radius-topleft:15px;\n -moz-border-radius-topright:15px;\n border-top-left-radius:15px;\n border-top-right-radius:15px;\n padding:10px;\n }\n\n .xc_chat_toggle_container\n {\n background-color:#fff;\n background-image:none;\n border-color:#036;\n border-style:solid;\n border-width:0 1px;\n }\n\n .xc_header_icon\n {\n background-image:url({{chatWebsite.remote}}/api/xchatty/assets?resource=images/icon_visitorchat.png);\n margin:0;\n }\n\n .xc_header_icon span.xc_notification_badge span\n {\n top:-5px;\n left:5px;\n }\n\n .xc_notification_success\n {\n background-color:#dff0d8;\n border:1px solid #d6e9c6;\n }\n\n .xc_conversation_container\n {\n max-height:375px;\n border-color:#036;\n }\n\n .xc_notification_error\n {\n background-color:#f2dede;\n border:1px solid #eed3d7;\n }\n\n .xc_sub-head-spacer\n {\n display:none;\n padding:0;\n }\n\n .xc_chat_head-title,.xc_conversation\n {\n margin:0;\n }\n}\n</style>\n<div class="xc_chat_container">\n <div class="xc_chat_head {{chatWebsite.header_shape}}">\n <i class="xc_header_icon">\n <span class="xc_notification_badge">\n <span class="xc_notification_badge_number"></span>\n </span>\n </i>\n <i class="xc_header_logo" style="background-image:url(/api/xchatty/assets?resource=images/{{(chatWebsite.defaultLogo || !license.custom) ? \'motionLogo.png\' : (!chatWebsite.defaultLogo && chatWebsite.logo && license.custom) ? chatWebsite.logo+\'&uploaded\' : \'motionLogo.png\'}});background-size:contain;"></i>\n </a>\n <span class="xc_chat_head-title">{{statePreview.state == \'online\' ? chatWebsite.header_online : chatWebsite.header_offline}}</span>\n </div>\n <div class="xc_chat_toggle_container">\n <div class="xc_sub-head-spacer"></div>\n <!-- <div class="xc_notifications_wrapper">\n <ul class="xc_errorlist"></ul>\n </div> -->\n <div class="xc_enquiry_wrapper" data-ng-show=\'statePreview.state == "offline"\'>\n <form class="xc_form_enquiry" accept-charset="UTF-8">\n <p class="xc_offline_message" ng-bind-html=\'chatWebsite.offline_message\'></p>\n <br>\n <div ng-if="chatWebsite.enquiry_enable">\n <div class="xc_div_group">\n <label for="enquiryFullname" class="xc_label">{{chatWebsite.name_title}} *</label>\n <input id="enquiryFullname" maxlength="45" data-label="Name" type="text" name="data[Enquiry][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_enquiry_fullname" required/>\n </div>\n <br>\n <div class="xc_div_group">\n <label for="enquiryEmail" class="xc_label">{{chatWebsite.email_title}} *</label>\n <input id="enquiryEmail" maxlength="85" type="text" data-label="Email Address" name="data[Enquiry][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_enquiry_email" required/>\n </div>\n <br>\n <div class="xc_div_group">\n <label for="enquiryMessage" class="xc_label">{{chatWebsite.message_title}} *</label>\n <textarea id="enquiryMessage" data-label="Message" maxlength="1500" placeholder="{{chatWebsite.enquiry_message_placeholder}}" name="data[Enquiry][message]" class="xc_input_enquiry_message" required></textarea>\n </div>\n <br>\n <button type="submit" class="xc_btn_enquiry xc_btn_style">{{chatWebsite.enquiry_button}}</button>\n </div>\n </form>\n </div>\n <div class="xc_signup_wrapper" data-ng-show=\'statePreview.state == "online"\'>\n <form class="xc_form_signup" accept-charset="UTF-8">\n <p class="xc_online_message" ng-bind-html=\'chatWebsite.online_message\'></p>\n <br>\n <div class="xc_div_group">\n <label for="dataFullname" class="xc_label">{{chatWebsite.name_title}} *</label>\n <input maxlength="45" id="dataFullname" data-label="Fullname" type="text" name="data[Discussion][fullname]" placeholder="{{chatWebsite.username_placeholder}}" class="xc_input_fullname" required/>\n </div>\n <br>\n <div class="xc_div_group">\n <label for="dataEmail" class="xc_label">{{chatWebsite.email_title}} *</label>\n <input maxlength="85" id="dataEmail" data-label="Email Address" type="text" name="data[Discussion][email]" placeholder="{{chatWebsite.email_placeholder}}" class="xc_input_email" required/>\n </div>\n <br>\n <input type="hidden" class="xc_input_visitor_time" name="data[Discussion][visitor_time]" />\n <button type="submit" class="xc_btn_signup xc_btn_style">{{chatWebsite.start_chat_button}}</button>\n </form>\n </div>\n <div class="xc_rating_wrapper" data-ng-show=\'statePreview.state == "rating"\'>\n <form class="xc_form_rating" accept-charset="UTF-8">\n <p class="xc_rating_message">{{chatWebsite.rating_message}}</p>\n <br>\n <div class="xc_rating">\n <label class="xc_rating_label" style="padding:30px;">\n <input type="radio" name="data[Rating][rating]" value="good" />\n <img src="{{chatWebsite.remote}}/api/xchatty/assets?resource=images/like.png" alt="Good" height="50"/>\n </label>\n <label class="xc_rating_label" style="padding:30px;">\n <input type="radio" name="data[Rating][rating]" value="bad"/>\n <img src="{{chatWebsite.remote}}/api/xchatty/assets?resource=images/dislike.png" alt="Good" height="50"/>\n </label>\n </div>\n <div class="xc_div_group">\n <label for="ratingMessage" class="xc_label">Message</label>\n <textarea id="ratingMessage" data-label="Message" maxlength="1500" name="data[Rating][message]" class="xc_input_rating_message"></textarea>\n </div>\n <button type="submit" class="xc_button_rating xc_btn_style">{{chatWebsite.rating_send}}</button>\n <button type="button" class="xc_button_skip_rating xc_btn_style">{{chatWebsite.rating_skip}}</button>\n </form>\n </div>\n <div class="xc_footer">\n <div data-ng-if="chatWebsite.defaultWhiteLabel || !license.custom" class="xc_powered"><a>Powered by xCALLY</a></div>\n <div data-ng-if="!chatWebsite.defaultWhiteLabel && license.custom" data-ng-bind-html="chatWebsite.whiteLabel"></div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/chat/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'beepall\',\'roundrobin\',\'rrmemory\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/queue/list/list.html",'<div class="row">\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-puzzle"></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="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-bubble"></i>\n <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/chat/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.chat.queues.view.settings\')}">\n <a data-ng-href="/channels/chat/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.chat.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/chat/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateChatQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'beepall\',\'roundrobin\',\'rrmemory\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}} {{\'APPLICATION_TIMEOUT\' | translate}}</label>\n <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></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="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.chat.realtime.view.agents\')}">\n <a href="/channels/chat/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.chat.realtime.view.applications\')}">\n <a href="/channels/chat/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/external/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n <div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n </div>\n</div>\n<div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n</div>\n<div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-selection ui-grid-pagination class="ui-grid">\n <div class="watermark" data-ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/group/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n <div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n </div>\n</div>\n<div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n</div>\n<div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination class="ui-grid">\n <div class="watermark" data-ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/internal/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initView()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination class="ui-grid">\n <div class="watermark" data-ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/room/room.add.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 class="modal-title">{{\'APPLICATION_NEW_GROUP\' | translate}}</h4>\n</div>\n\n<div class="modal-body">\n <div class="portlet box blue">\n <div class="portlet-title">\n <div class="caption">\n <i class="icon-people"></i>{{\'APPLICATION_AGENTS\' | translate}}\n </div>\n </div>\n <div class="portlet-body">\n <ul>\n <li data-ng-repeat="item in items">\n {{item.fullname}}\n </li>\n <li data-ng-repeat="item in selected.items">\n {{item.fullname}}\n </li>\n </ul>\n </div>\n </div>\n\n <ui-select multiple name="items" ng-model="selected.items" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SELECTED_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="{id: agent.id, fullname: agent.fullname} as agent in agents.rows | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n</div>\n\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="selected.items.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/room/room.close.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),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 <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 <!-- START TAGS -->\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 <!-- END TAGS -->\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 href="#" class="name">{{message.User.fullname || message.ChatVisitor.fullname}} </a>\n <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",'<!-- BEGIN PAGE CONTENT-->\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-puzzle"></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="/channels/chat/websites/list">{{ \'APPLICATION_ROOMS\' | 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<!-- END PAGE CONTENT-->\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<!-- <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> -->\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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/chat/visitor/list/list.html",'<div class="row">\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-puzzle"></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="icon-question"></i>\n <a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-question font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VISITORS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/visitor/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></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="icon-question"></i>\n <a href="/channels/chat/visitors/list">{{ \'APPLICATION_VISITORS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="chatVisitor">\n <a href="#">{{chatVisitor.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/visitor.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chatVisitor.fullname}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.chat.visitors.view.profile\')}">\n <a data-ng-href="/channels/chat/visitors/view/{{chatVisitor.id}}/profile">\n <i class="icon-tag"></i>\n {{ \'APPLICATION_PROFILE\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/visitor/view/view.profile.html",'<div class="row">\n <div class="col-md-12">\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_PROFILE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div>\n <h4 class="profile-desc-title">{{chatVisitor.email}}</h4>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-magnifier"></i>\n <a href="#" class="inactive-link">{{chatVisitor.origin}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-globe"></i>\n <a href="#" class="inactive-link">{{chatVisitor.remote_address}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-user"></i>\n <a href="#" class="inactive-link">{{chatVisitor.user_agent | truncate: 50: \'...\'}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-flag"></i>\n <a href="#" class="inactive-link">{{chatVisitor.visitor_language}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-home"></i>\n <a href="#" class="inactive-link">{{chatVisitor.referer}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-cursor"></i>\n <a href="#" class="inactive-link">{{chatVisitor.browser}}</a>\n </div>\n <div class="margin-top-20 profile-desc-link">\n <i class="icon-screen-desktop"></i>\n <a href="#" class="inactive-link">{{chatVisitor.os}}</a>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/list/list.html",'<div class="row">\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-puzzle"></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="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_WEB_SITES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/chat/websites/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_WEB_SITE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/website/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/chat/websites/view/{{chatWebsite.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.FaxQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/chat/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.settings.from.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.mail.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/chat/website/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.ChatQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/chat/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/website/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/chat/website/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/view/embedding/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\n <div class="portlet light">\n <div class="portlet-title">\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_EMBEDDING\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="copyToClipboard();">\n <i class="fa fa-clipboard"></i> {{\'APPLICATION_COPY_TO_CLIPBOARD\' | translate}}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div class="row">\n <div class="col-md-12">\n <h3>{{\'APPLICATION_EMBED_SNIPPET\' | translate}}</h3>\n <p>\n {{\'MESSAGE_EMBED_SNIPPET\' | translate}}\n </p>\n <div class="form-body">\n <div class="form-group">\n <div class="col-md-12">\n <code-mirror lang="html" model="snippetCode"></code-mirror>\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/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/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START TYPE -->\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 <!-- END TYPE -->\n\n <!-- START SELECTOR -->\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 <!-- END SELECTOR -->\n\n <!-- START TIMEOUT -->\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 <!-- END TIMEOUT -->\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 <div class="col-md-12">\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_PROACTIVE_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROACTIVE_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/chat/website/view/setting/view/view.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemChatWebsite()" novalidate>\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="chatWebsite.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="chatWebsite.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/chat/website/view/snippet/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_SNIPPET\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_APPEARANCE\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_FORMS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_LABELS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_SETTINGS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_5" 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-8">\n <div class="tab-content">\n\n <!-- APPEARANCE TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formAppearance" data-ng-submit="forms.formAppearance.$valid && updateItem()" novalidate>\n\n <!-- START MAIN COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{chatWebsite.color}}" class="form-control" data-ng-model="chatWebsite.color" required/>\n <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAIN COLOR -->\n\n <!-- START FOCUS COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{chatWebsite.color_focus}}" class="form-control" data-ng-model="chatWebsite.color_focus" required/>\n <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FOCUS COLOR -->\n\n <!-- START BUTTON COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{chatWebsite.color_button}}" class="form-control" data-ng-model="chatWebsite.color_button" required/>\n <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END BUTTON COLOR -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_SHAPE\' | translate}}</label>\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n <ui-select data-ng-model="chatWebsite.header_shape" name="headerShape" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END HEADER SHAPE -->\n\n <!-- START ANIMATION TOGGLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label></br>\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.animation"\n type="checkbox"\n switch-active="{{ true }}"\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 <!-- END ANIMATION TOGGLE -->\n\n <div class="portlet-title tabbable-line margin-top20">\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_WHITE_LABEL\' | translate}}</span>\n </div>\n </div>\n\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.defaultWhiteLabel"\n data-ng-init="chatWebsite.defaultWhiteLabel = license.custom ? chatWebsite.defaultWhiteLabel : true"\n type="checkbox"\n name="defaultWhitelabel"\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 <!-- END DEFAULT -->\n <!-- START LABEL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.whiteLabel.$touched || forms.formAppearance.$submitted) && forms.formAppearance.whiteLabel.$invalid}">\n <label class="control-label">{{\'APPLICATION_WHITE_LABEL\' | translate}}<span data-ng-if="!chatWebsite.defaultWhiteLabel" class="required" aria-required="true">*</span></label>\n <textarea type="password" name="whiteLabel" placeholder="{{\'APPLICATION_WHITE_LABEL\' | translate}}" class="form-control" data-ng-model="chatWebsite.whiteLabel" data-ng-disabled="chatWebsite.defaultWhiteLabel || !license.custom" data-ng-required="!chatWebsite.defaultWhiteLabel && license.custom"/></textarea>\n <span data-ng-show="(forms.formAppearance.whiteLabel.$touched || forms.formAppearance.$submitted) && forms.formAppearance.whiteLabel.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END LABEL -->\n\n <div class="portlet-title tabbable-line margin-top20">\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_LOGO\' | translate}}</span>\n </div>\n </div>\n <div class="row">\n\n <div class="form-group col-md-6 col-sm-6">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.defaultLogo"\n data-ng-init="chatWebsite.defaultLogo = license.custom ? chatWebsite.defaultLogo : true"\n type="checkbox"\n name="defaultLogo"\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 <!-- END STATUS -->\n <div class="form-group col-md-6 col-sm-6" data-ng-if="!chatWebsite.defaultLogo && license.custom">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader"/><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n <!-- </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button> -->\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="uploader.queue[0] && uploader.queue[0].upload()" data-ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END APPEARANCE TAB -->\n\n <!-- FORMS TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.formFunctionality" data-ng-submit="forms.formFunctionality.$valid && updateItem()" novalidate>\n\n <!-- START DOWNLOAD TRANSCRIPT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n </br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.download_transcript"\n type="checkbox"\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 <!-- END DOWNLOAD TRANSCRIPT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END FORMS TAB -->\n\n <!-- STRINGS TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.formLabel" data-ng-submit="forms.formLabel.$valid && updateItem()" novalidate>\n\n <h4 class="block" data-ng-show="statePreview.state == \'online\'">{{\'APPLICATION_ONLINE_STATE\' | translate}}</h4>\n\n <!-- START HEADER ONLINE -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_online"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START ONLINE MESSAGE-->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.online_message"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START USERNAME TITLE -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.nameTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.nameTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_TITLE\' | translate}}</label>\n <input type="text" name="nameTitle" placeholder="{{\'APPLICATION_USERNAME_TITLE\' | translate}}" class="form-control" data-ng-model="chatWebsite.name_title"/>\n </div>\n <!-- END USERNAME TITLE -->\n\n <!-- START USERNAME PLACEHOLDER -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.username_placeholder"/>\n </div>\n <!-- END USERNAME PLACEHOLDER -->\n\n <!-- START EMAIL TITLE -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.emailTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.emailTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_TITLE\' | translate}}</label>\n <input type="text" name="emailTitle" placeholder="{{\'APPLICATION_EMAIL_TITLE\' | translate}}" class="form-control" data-ng-model="chatWebsite.email_title"/>\n </div>\n <!-- END EMAIL TITLE -->\n\n <!-- START EMAIL PLACEHOLDER -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\' || statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.email_placeholder"/>\n </div>\n <!-- END EMAIL PLACEHOLDER -->\n\n <!-- START START CHAT BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.start_chat_button"/>\n </div>\n <!-- END START CHAT BUTTON -->\n\n <h4 class="block" data-ng-show="statePreview.state == \'rating\'">{{\'APPLICATION_RATING_STATE\' | translate}}</h4>\n\n <!-- START RATING MESSAGE -->\n <div class="form-group" data-ng-show="statePreview.state == \'rating\'" data-ng-class="{\'has-error\': (forms.formLabel.ratingMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_MESSAGE\' | translate}}</label>\n <input type="text" name="ratingMessage" placeholder="{{\'APPLICATION_RATING_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.rating_message"/>\n </div>\n <!-- END RATING MESSAGE -->\n\n <!-- START RATING SEND BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'rating\'" data-ng-class="{\'has-error\': (forms.formLabel.ratingSend.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSend.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSend" placeholder="{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.rating_send"/>\n </div>\n <!-- END RATING SEND BUTTON -->\n\n <!-- START RATING SKIP BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'rating\'" data-ng-class="{\'has-error\': (forms.formLabel.ratingSkip.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSkip.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSkip" placeholder="{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.rating_skip"/>\n </div>\n <!-- END RATING SKIP BUTTON -->\n\n <h4 class="block" data-ng-show="statePreview.state == \'offline\'">{{\'APPLICATION_OFFLINE_STATE\' | translate}}</h4>\n\n <!-- START HEADER OFFLINE -->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="chatWebsite.header_offline"/>\n </div>\n <!-- END HEADER OFFLINE -->\n\n <!-- START OFFLINE MESSAGE-->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.offlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="chatWebsite.offline_message"/>\n </div>\n <!-- END OFFLINE MESSAGE -->\n\n <!-- START ENQUIRY MESSAGE TITLE-->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessageTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryMessageTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}</label>\n <input type="text" name="enquiryMessageTitle" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}" class="form-control" data-ng-model="chatWebsite.message_title"/>\n </div>\n <!-- END ENQUIRY MESSAGE TITLE -->\n\n <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryMessagePlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_message_placeholder"/>\n </div>\n <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n <!-- START ENQUIRY BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'offline\'" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_button"/>\n </div>\n <!-- END ENQUIRY BUTTON -->\n\n <!-- START AGENTS BUSY BUTTON -->\n <div class="form-group" data-ng-show="statePreview.state == \'online\'" data-ng-class="{\'has-error\': (forms.formLabel.agentsBusy.$touched || forms.formLabel.$submitted) && forms.formLabel.agentsBusy.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENTS_BUSY\' | translate}}</label>\n <input type="text" name="agentsBusy" placeholder="{{\'APPLICATION_AGENTS_BUSY\' | translate}}" class="form-control" data-ng-model="chatWebsite.agents_busy"/>\n </div>\n <!-- END AGENTS BUSY BUTTON -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END STRINGS TAB -->\n\n <!-- SETTINGS TAB -->\n <div class="tab-pane" id="tab_1_4">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.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="chatWebsite.name" required/>\n <span data-ng-show="(forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSettings.name.$invalid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.address" required/>\n <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.remote" required/>\n <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="chatWebsite.fidelity"\n type="checkbox"\n switch-active="{{ fidelitySwitch.isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ fidelitySwitch.onColor }}"\n switch-off-color="{{ fidelitySwitch.offColor }}"\n switch-animate="{{ fidelitySwitch.animate }}"\n switch-size="{{ fidelitySwitch.size }}"\n switch-label="{{ fidelitySwitch.label }}"\n switch-icon="{{ fidelitySwitch.icon }}"\n switch-radio-off="{{ fidelitySwitch.radioOff }}"\n switch-label-width="{{ fidelitySwitch.labelWidth }}"\n switch-handle-width="{{ fidelitySwitch.handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="chatWebsite.fidelity" data-ng-class="{\'has-error\': (forms.formSetting.timeout.$touched || forms.formSetting.$submitted) && forms.formSetting.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="chatWebsite.timeout" required/>\n <span data-ng-show="(forms.formSetting.timeout.$touched || forms.formSetting.$submitted) && forms.formSetting.timeout.$invalid && forms.formSetting.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="(forms.formSetting.timeout.$touched || forms.formSetting.$submitted) && forms.formSetting.timeout.$invalid && forms.formSetting.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.description.$touched || forms.formSetting.$submitted) && forms.formSetting.description.$invalid}">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="chatWebsite.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END SETTINGS TAB -->\n\n <!-- OFFLINE TAB -->\n <div class="tab-pane" id="tab_1_5">\n <form name="forms.formOffline" data-ng-submit="forms.formOffline.$valid && updateItem()" novalidate>\n\n <!-- START ENQUIRY ENABLE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_ENABLED\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.enquiry_enable"\n type="checkbox"\n switch-active="{{ enquirySwitch.isActive }}"\n switch-on-text="{{ enquirySwitch.onText }}"\n switch-off-text="{{ enquirySwitch.offText }}"\n switch-on-color="{{ enquirySwitch.onColor }}"\n switch-off-color="{{ enquirySwitch.offColor }}"\n switch-animate="{{ enquirySwitch.animate }}"\n switch-size="{{ enquirySwitch.size }}"\n switch-label="{{ enquirySwitch.label }}"\n switch-icon="{{ enquirySwitch.icon }}"\n switch-radio-off="{{ enquirySwitch.radioOff }}"\n switch-label-width="{{ enquirySwitch.labelWidth }}"\n switch-handle-width="{{ enquirySwitch.handleWidth }}">\n </div>\n <!-- END ENQUIRY ENABLE -->\n\n <!-- START ENQUIRY FORWARDING -->\n <div class="form-group" data-ng-if="chatWebsite.enquiry_enable">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_FORWARDING\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chatWebsite.enquiry_forwarding"\n type="checkbox"\n switch-active="{{ enquirySwitch.isActive }}"\n switch-on-text="{{ enquirySwitch.onText }}"\n switch-off-text="{{ enquirySwitch.offText }}"\n switch-on-color="{{ enquirySwitch.onColor }}"\n switch-off-color="{{ enquirySwitch.offColor }}"\n switch-animate="{{ enquirySwitch.animate }}"\n switch-size="{{ enquirySwitch.size }}"\n switch-label="{{ enquirySwitch.label }}"\n switch-icon="{{ enquirySwitch.icon }}"\n switch-radio-off="{{ enquirySwitch.radioOff }}"\n switch-label-width="{{ enquirySwitch.labelWidth }}"\n switch-handle-width="{{ enquirySwitch.handleWidth }}">\n <span class="help-block col-md-12">{{\'MESSAGE_REMEMBER_SMTP_SERVICE_ACCOUNT\' | translate}}.</span>\n </div>\n <!-- END ENQUIRY FORWARDING -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-if="chatWebsite.enquiry_enable && chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formSetting.forwardingAddress.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_FORWARDING_ADDRESS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="forwardingAddress" placeholder="{{\'APPLICATION_ADDRESS\' | translate}}" class="form-control" data-ng-model="chatWebsite.enquiry_forwarding_address" required/>\n <span data-ng-show="(forms.formOffline.forwardingAddress.$touched || forms.formOffline.$submitted) && forms.formOffline.forwardingAddress.$invalid && forms.formOffline.forwardingAddress.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-if="chatWebsite.enquiry_enable && chatWebsite.enquiry_forwarding" data-ng-class="{\'has-error\': (forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="chatWebsite.OfflineTemplateId" name="OfflineTemplateId" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.formOffline.OfflineTemplateId.$touched || forms.formOffline.$submitted) && forms.formOffline.OfflineTemplateId.$invalid && forms.formOffline.OfflineTemplateId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HEADER SHAPE -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END OFFLINE TAB -->\n </div>\n </div>\n <div class="col-md-4">\n <!-- START STATE -->\n <div class="form-group">\n <!-- <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label> -->\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="chatWebsite.animation" required/> -->\n <ui-select data-ng-model="statePreview.state" name="statePreview" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="statePreview in [\'online\',\'rating\',\'offline\'] | filter: $select.search">\n <div ng-bind-html="statePreview | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STATE -->\n <preview></preview>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/chat/website/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-puzzle"></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="icon-globe"></i>\n <a href="/channels/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{chatWebsite.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/website.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chatWebsite.name}}\n </div>\n <div class="profile-usertitle-job">\n {{chatWebsite.address}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.embedding\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/embedding/view">\n <i class="fa fa-code"></i>\n {{ \'APPLICATION_EMBEDDING\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.snippet\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/snippet/view">\n <i class="icon-note"></i>\n {{ \'APPLICATION_SNIPPET\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.form\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/forms/view">\n <i class="icon-list"></i>\n {{ \'APPLICATION_FORMS\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.proactive\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/proactive/list">\n <i class="icon-target"></i>\n {{ \'APPLICATION_PROACTIVE_ACTIONS\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.actions\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/actions/list">\n <i class="icon-directions"></i>\n {{ \'APPLICATION_ACTIONS\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.channels.chat.websites.view.dispositions\')}">\n <a ng-href="/channels/chat/websites/view/{{chatWebsite.id}}/dispositions">\n <i class="icon-target"></i>\n {{ \'APPLICATION_DISPOSITIONS\' | translate }} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.chat.websites.view.settings\')}">\n <a href="/channels/chat/websites/view/{{chatWebsite.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/chat/website/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-bubble"></i>\n <a href="#">{{ \'APPLICATION_CHAT\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="/channels/chat/websites/list">{{ \'APPLICATION_WEB_SITES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_WEB_SITE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_WEB_SITE_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.name.$touched || forms.formSetting.$submitted) && forms.formSetting.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="forms.formSetting.name.$touched && !forms.formSettings.name.$valid && forms.formSetting.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEB_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="address" placeholder="{{\'APPLICATION_WEB_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.address" required/>\n <span data-ng-show="(forms.formSetting.address.$touched || forms.formSetting.$submitted) && forms.formSetting.address.$invalid && forms.formSetting.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n <span data-ng-show="(forms.formSetting.remote.$touched || forms.formSetting.$submitted) && forms.formSetting.remote.$invalid && forms.formSetting.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.form.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_WEB_SITE_APPEARANCE\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n <form name="forms.formAppearance" novalidate>\n\n <!-- START MAIN COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAIN_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="mainColor" placeholder="{{\'APPLICATION_MAIN_COLOR\' | translate}}" style="color:{{item.color}}" class="form-control" data-ng-model="item.color" required/>\n <span data-ng-show="(forms.formAppearance.mainColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.mainColor.$invalid && forms.formAppearance.mainColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAIN COLOR -->\n\n <!-- START FOCUS COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_FOCUS_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="focusColor" placeholder="{{\'APPLICATION_FOCUS_COLOR\' | translate}}" style="color:{{item.color_focus}}" class="form-control" data-ng-model="item.color_focus" required/>\n <span data-ng-show="(forms.formAppearance.focusColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.focusColor.$invalid && forms.formAppearance.focusColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FOCUS COLOR -->\n\n <!-- START BUTTON COLOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid}">\n <label class="control-label">{{\'APPLICATION_BUTTON_COLOR\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input colorpicker type="text" name="buttonColor" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" style="color:{{item.color_button}}" class="form-control" data-ng-model="item.color_button" required/>\n <span data-ng-show="(forms.formAppearance.buttonColor.$touched || forms.formAppearance.$submitted) && forms.formAppearance.buttonColor.$invalid && forms.formAppearance.buttonColor.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END BUTTON COLOR -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.headerShape.$touched || forms.formAppearance.$submitted) && forms.formAppearance.headerShape.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_SHAPE\' | translate}}</label>\n <!-- <input colorpicker type="text" name="animationToggle" placeholder="{{\'APPLICATION_BUTTON_COLOR\' | translate}}" class="form-control" data-ng-model="item.animation" required/> -->\n <ui-select data-ng-model="item.header_shape" name="headerShape" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant(\'APPLICATION_\' + $select.selected.toUpperCase())}}</ui-select-match>\n <ui-select-choices repeat="headerShape in [\'rounded\',\'squared\'] | filter: $select.search">\n <div ng-bind-html="$translate.instant(\'APPLICATION_\' + headerShape.toUpperCase()) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END HEADER SHAPE -->\n\n <!-- START ANIMATION TOGGLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAppearance.animationToggle.$touched || forms.formAppearance.$submitted) && forms.formAppearance.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANIMATION\' | translate}}</label>\n <ui-select data-ng-model="item.animation" name="animationToggle" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n <ui-select-choices repeat="filter in [true,false] | filter: $select.search">\n <div ng-bind-html="filter ? \'On\' : \'Off\' | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END ANIMATION TOGGLE -->\n\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_LABELS\' | translate}}" canexit="exitValidation(forms.formLabel.$valid)">\n <form name="forms.formLabel" novalidate>\n\n <!-- START HEADER ONLINE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOnline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_ONLINE\' | translate}}</label>\n <input type="text" name="headerOnline" placeholder="{{\'APPLICATION_HEADER_ONLINE\' | translate}}" class="form-control" data-ng-model="item.header_online"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START ONLINE MESSAGE-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.onlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="onlineMessage" placeholder="{{\'APPLICATION_ONLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.online_message"/>\n </div>\n <!-- END HEADER ONLINE -->\n\n <!-- START USERNAME TITLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.usernameTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.usernameTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_TITLE\' | translate}}</label>\n <input type="text" name="usernameTitle" placeholder="{{\'APPLICATION_USERNAME_TITLE\' | translate}}" class="form-control" data-ng-model="item.username_title"/>\n </div>\n <!-- END USERNAME TITLE -->\n\n <!-- START USERNAME PLACEHOLDER -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.usernamePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.usernamePlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="usernamePlaceholder" placeholder="{{\'APPLICATION_USERNAME_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.username_placeholder"/>\n </div>\n <!-- END USERNAME PLACEHOLDER -->\n\n <!-- START EMAIL TITLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.emailTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.emailTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="emailTitle" placeholder="{{\'APPLICATION_EMAIL_TITLE\' | translate}}" class="form-control" data-ng-model="item.email_title"/>\n </div>\n <!-- END EMAIL TITLE -->\n\n <!-- START EMAIL PLACEHOLDER -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.emailPlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.emailPlaceholder.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="emailPlaceholder" placeholder="{{\'APPLICATION_EMAIL_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.email_placeholder"/>\n </div>\n <!-- END EMAIL PLACEHOLDER -->\n\n <!-- START START CHAT BUTTON -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.startChatButton.$touched || forms.formLabel.$submitted) && forms.formLabel.startChatButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}</label>\n <input type="text" name="startChatButton" placeholder="{{\'APPLICATION_START_CHAT_BUTTON\' | translate}}" class="form-control" data-ng-model="item.start_chat_button"/>\n </div>\n <!-- END START CHAT BUTTON -->\n\n <!-- START RATING MESSAGE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.ratingMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_MESSAGE\' | translate}}</label>\n <input type="text" name="ratingMessage" placeholder="{{\'APPLICATION_RATING_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.rating_message"/>\n </div>\n <!-- END RATING MESSAGE -->\n\n <!-- START RATING START TEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.ratingSend.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSend.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSend" placeholder="{{\'APPLICATION_RATING_SEND_BUTTON\' | translate}}" class="form-control" data-ng-model="item.rating_send"/>\n </div>\n <!-- END RATING START TEXT -->\n\n <!-- START RATING MESSAGE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.ratingSkip.$touched || forms.formLabel.$submitted) && forms.formLabel.ratingSkip.$invalid}">\n <label class="control-label">{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}</label>\n <input type="text" name="ratingSkip" placeholder="{{\'APPLICATION_RATING_SKIP_BUTTON\' | translate}}" class="form-control" data-ng-model="item.rating_skip"/>\n </div>\n <!-- END RATING MESSAGE -->\n\n <!-- START HEADER OFFLINE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.headerOffline.$touched || forms.formLabel.$submitted) && forms.formLabel.headerOnline.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADER_OFFLINE\' | translate}}</label>\n <input type="text" name="headerOffline" placeholder="{{\'APPLICATION_HEADER_OFFLINE\' | translate}}" class="form-control" data-ng-model="item.header_offline"/>\n </div>\n <!-- END HEADER OFFLINE -->\n\n <!-- START OFFLINE MESSAGE-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.offlineMessage.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}</label>\n <input type="text" name="offlineMessage" placeholder="{{\'APPLICATION_OFFLINE_MESSAGE\' | translate}}" class="form-control" data-ng-model="item.offline_message"/>\n </div>\n <!-- END OFFLINE MESSAGE -->\n\n <!-- START ENQUIRY MESSAGE TITLE-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessageTitle.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryMessageTitle.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}</label>\n <input type="text" name="enquiryMessageTitle" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_TITLE\' | translate}}" class="form-control" data-ng-model="item.message_title"/>\n </div>\n <!-- END ENQUIRY MESSAGE TITLE -->\n\n <!-- START ENQUIRY MESSAGE PLACEHOLDER-->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryMessagePlaceholder.$touched || forms.formLabel.$submitted) && forms.formLabel.onlineMessage.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}</label>\n <input type="text" name="enquiryMessagePlaceholder" placeholder="{{\'APPLICATION_ENQUIRY_MESSAGE_PLACEHOLDER\' | translate}}" class="form-control" data-ng-model="item.enquiry_message_placeholder"/>\n </div>\n <!-- END ENQUIRY MESSAGE PLACEHOLDER -->\n\n <!-- START ENQUIRY BUTTON -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.enquiryButton.$touched || forms.formLabel.$submitted) && forms.formLabel.enquiryButton.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}</label>\n <input type="text" name="enquiryButton" placeholder="{{\'APPLICATION_ENQUIRY_BUTTON\' | translate}}" class="form-control" data-ng-model="item.enquiry_button"/>\n </div>\n <!-- END ENQUIRY BUTTON -->\n\n <!-- START AGENTS BUSY BUTTON -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formLabel.agentsBusy.$touched || forms.formLabel.$submitted) && forms.formLabel.agentsBusy.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENTS_BUSY\' | translate}}</label>\n <input type="text" name="agentsBusy" placeholder="{{\'APPLICATION_AGENTS_BUSY\' | translate}}" class="form-control" data-ng-model="item.agents_busy"/>\n </div>\n <!-- END AGENTS BUSY BUTTON -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_FORMS\' | translate}}" canexit="exitValidation(forms.formAppearance.$valid)">\n <form name="forms.formFunctionality" novalidate>\n\n <!-- START DOWNLOAD TRANSCRIPT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formFunctionality.animationToggle.$touched || forms.formFunctionality.$submitted) && forms.formFunctionality.animationToggle.$invalid}">\n <label class="control-label">{{\'APPLICATION_DOWNLOAD_TRANSCRIPT\' | translate}}</label>\n <ui-select data-ng-model="item.download_transcript" name="downloadTranscript" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected ? \'On\' : \'Off\'}}</ui-select-match>\n <ui-select-choices repeat="downloadTranscript in [true, false] | filter: $select.search">\n <div ng-bind-html="downloadTranscript ? \'On\' : \'Off\' | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END DOWNLOAD TRANSCRIPT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_FAX_ACCOUNT\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initWizard();">\n <form name="form" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.$submitted || form.name.$touched) && 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.$error.required && (form.$submitted || form.name.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START TRUNKS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.$submitted || form.trunk.$touched) && form.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.TrunkName" name="trunk" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in trunks | filter: $select.search">\n <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="trunks.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="form.trunk.$error.required && (form.$submitted || form.trunk.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TRUNKS -->\n\n <!-- START LOCALSTATIONID -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.$submitted || form.localstationid.$touched) && form.localstationid.$invalid}">\n <label class="control-label">{{\'APPLICATION_LOCALSTATIONID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="localstationid" placeholder="{{\'APPLICATION_LOCALSTATIONID\' | translate}}" class="form-control" data-ng-model="item.localstationid" required/>\n <span data-ng-show="form.localstationid.$error.required && (form.$submitted || form.localstationid.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n </span>\n </div>\n <!-- END LOCALSTATIONID -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/fax/account/list/list.html",'<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button type="button" class="btn green-jungle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="true" aria-expanded="true">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }} <i class="fa fa-angle-down"></i>\n </button>\n <ul class="dropdown-menu" role="menu">\n <li>\n <a href="/channels/fax/accounts/wizard">\n {{ \'APPLICATION_STANDARD\' | translate }}\n </a>\n </li>\n <li>\n <a href="#" data-ng-click="createItem()">\n {{ \'APPLICATION_QUICK\' | translate }}\n </a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/fax/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/fax/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.FaxQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/fax/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.settings.from.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.mail.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="intervals.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/intervals/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.FaxQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/fax/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="intervals.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_INTERVALS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/intervals/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/fax/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <!-- <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" data-ng-pattern="/^[a-zA-Z0-9]*$/" required/> -->\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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.form.$touched && form.form.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PATTERN\' | translate}}.\n </span> -->\n </div>\n <!-- <div class="help-block">\n {{\'MESSAGE_ALLOWED_NUMBERS_AND_LETTERS\' | translate}}\n </div> -->\n </div>\n <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/fax/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/account/view/setting/view/view.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateItemFaxAccount()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.name.$touched) && forms.general.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="account.name" required/>\n <span data-ng-show="forms.general.name.$error.required && (forms.general.$submitted || forms.general.name.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START HEADERINFO -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.headerinfo.$touched) && forms.general.headerinfo.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADERINFO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="headerinfo" placeholder="{{\'APPLICATION_HEADERINFO\' | translate}}" class="form-control" data-ng-model="account.headerinfo" required/>\n <span data-ng-show="forms.general.headerinfo.$error.required && (forms.general.$submitted || forms.general.headerinfo.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_HEADERINFO\' | translate}}.\n </span>\n </div>\n <!-- END HEADERINFO -->\n\n <!-- START TRUNKS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.trunk.$touched) && forms.general.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.TrunkName" name="trunk" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in trunks | filter: $select.search">\n <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="trunks.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="forms.general.trunk.$error.required && (forms.general.$submitted || forms.general.trunk.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TRUNKS -->\n\n <!-- START LOCALSTATIONID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.localstationid.$touched) && forms.general.localstationid.$invalid}">\n <label class="control-label">{{\'APPLICATION_LOCALSTATIONID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="localstationid" placeholder="{{\'APPLICATION_LOCALSTATIONID\' | translate}}" class="form-control" data-ng-model="account.localstationid" required/>\n <span data-ng-show="forms.general.localstationid.$error.required && (forms.general.$submitted || forms.general.localstationid.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n </span>\n </div>\n <!-- END LOCALSTATIONID -->\n\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.general.$submitted || forms.general.timeout.$touched) && forms.general.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.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="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid && forms.general.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.advanced" data-ng-submit="forms.advanced.$valid && updateItemFaxAccount()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START ECM -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n <input\n bs-switch\n ng-model="account.ecm"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}"\n ng-true-value="\'yes\'"\n ng-false-value="\'no\'">\n <span class="help-block">\n {{\'DESCRIPTION_ECM\' | translate}}.\n </span>\n </div>\n <!-- END ECM -->\n\n <!-- START MINRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.minrate.$touched) && forms.advanced.minrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.minrate" name="minrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MINRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="minrate in rate | filter: $select.search">\n <div data-ng-bind="minrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MINRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.advanced.minrate.$error.required && (forms.advanced.$submitted || forms.advanced.minrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MINRATE -->\n\n <!-- START MAXRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.maxrate.$touched) && forms.advanced.maxrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.maxrate" name="maxrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="maxrate in rate | filter: $select.search">\n <div data-ng-bind="maxrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MAXRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.advanced.maxrate.$error.required && (forms.advanced.$submitted || forms.advanced.maxrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MAXRATE -->\n\n <!-- START MODEM -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.modem.$touched) && forms.advanced.modem.$invalid}">\n <label class="control-label">{{\'APPLICATION_MODEM\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="modem" placeholder="{{\'APPLICATION_MODEM\' | translate}}" class="form-control" data-ng-model="account.modem" required/>\n <span class="help-block">\n {{\'DESCRIPTION_MODEM\' | translate}}.\n </span>\n <span data-ng-show="forms.advanced.modem.$error.required && (forms.advanced.$submitted || forms.advanced.modem.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MODEM -->\n </div>\n <div class="col-md-6">\n <!-- START GATEWAY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.gateway.$touched) && forms.advanced.gateway.$invalid}">\n <label class="control-label">{{\'APPLICATION_GATEWAY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="gateway" placeholder="{{\'APPLICATION_GATEWAY\' | translate}}" class="form-control" data-ng-model="account.gateway" required data-ng-pattern="settings.patternGateway"/>\n <span class="help-block">\n {{\'DESCRIPTION_GATEWAY\' | translate}}.\n </span>\n <span data-ng-show="(forms.advanced.gateway.$touched || forms.advanced.$submitted) && forms.advanced.gateway.$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="(forms.advanced.gateway.$touched || forms.advanced.$submitted) && forms.advanced.gateway.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n </span>\n </div>\n <!-- END GATEWAY -->\n\n <!-- START FAXDETECT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.faxdetect.$touched) && forms.advanced.faxdetect.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAXDETECT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="faxdetect" placeholder="{{\'APPLICATION_FAXDETECT\' | translate}}" class="form-control" data-ng-model="account.faxdetect" required data-ng-pattern="settings.patternFaxdetect"/>\n <span class="help-block">\n {{\'DESCRIPTION_FAXDETECT\' | translate}}.\n </span>\n <span data-ng-show="(forms.advanced.faxdetect.$touched || forms.advanced.$submitted) && forms.advanced.faxdetect.$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="(forms.advanced.faxdetect.$touched || forms.advanced.$submitted) && forms.advanced.faxdetect.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n </span>\n </div>\n <!-- END FAXDETECT -->\n\n <!-- START T38TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.t38timeout.$touched) && forms.advanced.t38timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_T38TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="number" name="t38timeout" placeholder="{{\'APPLICATION_T38TIMEOUT\' | translate}}" class="form-control" data-ng-model="account.t38timeout" required min="1000"/>\n <span class="help-block">\n {{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n </span>\n <span data-ng-show="(forms.advanced.t38timeout.$touched || forms.advanced.$submitted) && forms.advanced.t38timeout.$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="(forms.advanced.t38timeout.$touched || forms.advanced.$submitted) && forms.advanced.t38timeout.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n </span>\n </div>\n <!-- END T38TIMEOUT -->\n\n <!-- START TECH -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.$submitted || forms.advanced.tech.$touched) && forms.advanced.tech.$invalid}">\n <label class="control-label">{{\'APPLICATION_TECHNOLOGY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.tech" name="tech" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TECHNOLOGY\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="tech in techs | filter: $select.search">\n <div data-ng-bind="tech | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.advanced.tech.$touched || forms.advanced.$submitted) && forms.advanced.tech.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TECH -->\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.name || account.description }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.name || account.description }}\n </div>\n <div class="profile-usertitle-job">\n {{ account.phone }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.fax.accounts.view.settings\')}">\n <a href="/channels/fax/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.fax.accounts.view.dispositions\')}">\n <a href="/channels/fax/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.fax.accounts.view.actions\')}">\n <a href="/channels/fax/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/account/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/fax/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.formGeneral.$valid)">\n <form name="forms.formGeneral" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.name.$touched) && forms.formGeneral.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="forms.formGeneral.name.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.name.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START HEADERINFO -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.headerinfo.$touched) && forms.formGeneral.headerinfo.$invalid}">\n <label class="control-label">{{\'APPLICATION_HEADERINFO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="headerinfo" placeholder="{{\'APPLICATION_HEADERINFO\' | translate}}" class="form-control" data-ng-model="item.headerinfo" required/>\n <span data-ng-show="forms.formGeneral.headerinfo.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.headerinfo.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_HEADERINFO\' | translate}}.\n </span>\n </div>\n <!-- END HEADERINFO -->\n\n <!-- START TRUNKS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.trunk.$touched) && forms.formGeneral.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.TrunkName" name="trunk" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TRUNK\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in trunks | filter: $select.search">\n <div data-ng-bind="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="trunks.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_INTERVALS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="forms.formGeneral.trunk.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.trunk.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TRUNKS -->\n\n <!-- START LOCALSTATIONID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formGeneral.$submitted || forms.formGeneral.localstationid.$touched) && forms.formGeneral.localstationid.$invalid}">\n <label class="control-label">{{\'APPLICATION_LOCALSTATIONID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="localstationid" placeholder="{{\'APPLICATION_LOCALSTATIONID\' | translate}}" class="form-control" data-ng-model="item.localstationid" required/>\n <span data-ng-show="forms.formGeneral.localstationid.$error.required && (forms.formGeneral.$submitted || forms.formGeneral.localstationid.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n {{\'DESCRIPTION_LOCALSTATIONID\' | translate}}.\n </span>\n </div>\n <!-- END LOCALSTATIONID -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_ADVANCED\' | translate}}" canexit="exitValidation(forms.formAdvanced.$valid)">\n <form name="forms.formAdvanced" novalidate>\n\n <!-- START ECM -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ECM\' | translate}}<span class="required" aria-required="true">*</span></label><br>\n <input\n bs-switch\n ng-model="item.ecm"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}"\n ng-true-value="\'yes\'"\n ng-false-value="\'no\'">\n <span class="help-block">\n {{\'DESCRIPTION_ECM\' | translate}}.\n </span>\n </div>\n <!-- END ECM -->\n\n <!-- START MINRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.minrate.$touched) && forms.formAdvanced.minrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MINRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.minrate" name="minrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MINRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="minrate in rate | filter: $select.search">\n <div data-ng-bind="minrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MINRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.formAdvanced.minrate.$error.required && (forms.formAdvanced.$submitted || forms.formAdvanced.minrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MINRATE -->\n\n <!-- START MAXRATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.maxrate.$touched) && forms.formAdvanced.maxrate.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAXRATE\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.maxrate" name="maxrate" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_MAXRATE\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="maxrate in rate | filter: $select.search">\n <div data-ng-bind="maxrate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'DESCRIPTION_MAXRATE\' | translate}}.\n </span>\n <span data-ng-show="forms.formAdvanced.maxrate.$error.required && (forms.formAdvanced.$submitted || forms.formAdvanced.maxrate.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START MAXRATE -->\n\n <!-- START MODEM -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.modem.$touched) && forms.formAdvanced.modem.$invalid}">\n <label class="control-label">{{\'APPLICATION_MODEM\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="modem" placeholder="{{\'APPLICATION_MODEM\' | translate}}" class="form-control" data-ng-model="item.modem" required/>\n <span class="help-block">\n {{\'DESCRIPTION_MODEM\' | translate}}.\n </span>\n <span data-ng-show="forms.formAdvanced.modem.$error.required && (forms.formAdvanced.$submitted || forms.formAdvanced.modem.$touched)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MODEM -->\n\n <!-- START GATEWAY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.gateway.$touched) && forms.formAdvanced.gateway.$invalid}">\n <label class="control-label">{{\'APPLICATION_GATEWAY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="gateway" placeholder="{{\'APPLICATION_GATEWAY\' | translate}}" class="form-control" data-ng-model="item.gateway" required data-ng-pattern="settings.patternGateway"/>\n <span class="help-block">\n {{\'DESCRIPTION_GATEWAY\' | translate}}.\n </span>\n <span data-ng-show="(forms.formAdvanced.gateway.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.gateway.$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="(forms.formAdvanced.gateway.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.gateway.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_GATEWAY\' | translate}}.\n </span>\n </div>\n <!-- END GATEWAY -->\n\n <!-- START FAXDETECT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.faxdetect.$touched) && forms.formAdvanced.faxdetect.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAXDETECT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="faxdetect" placeholder="{{\'APPLICATION_FAXDETECT\' | translate}}" class="form-control" data-ng-model="item.faxdetect" required data-ng-pattern="settings.patternFaxdetect"/>\n <span class="help-block">\n {{\'DESCRIPTION_FAXDETECT\' | translate}}.\n </span>\n <span data-ng-show="(forms.formAdvanced.faxdetect.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.faxdetect.$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="(forms.formAdvanced.faxdetect.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.faxdetect.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_FAXDETECT\' | translate}}.\n </span>\n </div>\n <!-- END FAXDETECT -->\n\n <!-- START T38TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.t38timeout.$touched) && forms.formAdvanced.t38timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_T38TIMEOUT\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="number" name="t38timeout" placeholder="{{\'APPLICATION_T38TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.t38timeout" required min="1000"/>\n <span class="help-block">\n {{\'DESCRIPTION_T38TIMEOUT\' | translate}}.\n </span>\n <span data-ng-show="(forms.formAdvanced.t38timeout.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.t38timeout.$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="(forms.formAdvanced.t38timeout.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.t38timeout.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_T38TIMEOUT\' | translate}}.\n </span>\n </div>\n <!-- END T38TIMEOUT -->\n\n <!-- START TECH -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formAdvanced.$submitted || forms.formAdvanced.tech.$touched) && forms.formAdvanced.tech.$invalid}">\n <label class="control-label">{{\'APPLICATION_TECHNOLOGY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.tech" name="tech" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_TECHNOLOGY\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="tech in techs | filter: $select.search">\n <div data-ng-bind="tech | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.formAdvanced.tech.$touched || forms.formAdvanced.$submitted) && forms.formAdvanced.tech.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START TECH -->\n\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/fax/inbox/message/message.directive.html",'<div class="message">\n <div class="row">\n <div class="col-md-6">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="openContact(message.from)">{{message.from}}</a>]\n <br>\n <span class="bold">To: </span>\n [<a href="" data-ng-click="openContact(message.to)">{{message.to}}</a>]\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="message.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n </div>\n </div>\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-if="message.status!==\'RECEIVED\'" data-ng-switch="message.status" uib-tooltip="{{\'APPLICATION_PAGE_TRANSFERRED\' | translate}}: {{message.pagestransferred}} - {{\'APPLICATION_RETRY\' | translate}}: {{message.retry}}">\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe"> {{message.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="retry(message.id)"> {{message.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n </span>\n <span class="pull-right" data-ng-if="message.status===\'RECEIVED\'" uib-tooltip="{{\'APPLICATION_PAGE_TRANSFERRED\' | translate}}: {{message.pagestransferred}}">\n <a href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n </span>\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </span>\n <hr data-ng-if="message.FaxAttachments.length">\n <div data-ng-repeat="faxAttachment in message.FaxAttachments">\n <strong>{{faxAttachment.name}}</strong>\n <a target="_self" download="{{faxAttachment.name}}" href="api/fax/attachments/{{faxAttachment.id}}">\n <i class="icon-cloud-download"></i>\n </a>\n </div>\n</div>\n'),a.put("app/channels/fax/inbox/note/note.directive.html",'<div class="note">\n <div class="row">\n <div class="col-md-6">\n <a type="button" name="button" data-ng-if="::(Auth.getCurrentUser().id == message.UserId)" data-ng-click="deleteNote()">\n <i class="fa fa-trash-o" style="color: red;"></i>\n </a>\n\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="message.User">{{\'APPLICATION_ADD_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n </div>\n </div>\n <hr>\n <span class="body text-left" data-ng-bind-html="message.text" style="white-space: pre-wrap;"></span>\n</div>\n'),a.put("app/channels/fax/inbox/note/note.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_NOTES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <div class="form-group">\n <textarea data-ng-model="item.text" name="text" rows="10" style="resize: none; width: 100%;"></textarea>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/fax/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <button class="btn btn-sm btn-default green-meadow" data-ng-disabled="faxRoom.status == \'CLOSED\' || !uploader.queue.length" data-ng-click="sendFax()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-if="faxRoom && faxRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-if="faxRoom" class="label label-default"> #{{faxRoom.id}} {{faxRoom.status}}</span>\n <span data-ng-if="faxRoom"> | </span>\n <span data-ng-if="faxRoom" class="caption-subject font-green-sharp bold">{{faxRoom.from}}</span>\n </div>\n <div class="actions" data-ng-switch="faxRoom.status">\n <button class="btn btn-icon-only yellow" data-ng-if="faxRoom" data-ng-click="loadNote()" data-ng-disabled="faxRoom.status == \'CLOSED\'" title="{{\'APPLICATION_NOTES\' | translate}}">\n <i class="fa fa-sticky-note"></i>\n </button>\n <button href="#" class="btn btn-icon-only btn-primary" data-ng-if="faxRoom" data-ng-click="loadAgents();" data-ng-disabled="faxRoom.status == \'CLOSED\'" title="{{\'APPLICATION_AGENTS\' | translate}}">\n <i class="fa fa-user-plus"></i>\n </button>\n <button class="file-upload" data-ng-disabled="faxRoom.status == \'CLOSED\'">\n <i class="fa fa-paperclip"></i> <input type="file" data-ng-if="uploader" data-ng-disabled="faxRoom.status == \'CLOSED\'" nv-file-select uploader="uploader" multiple class="file-input" title="{{\'APPLICATION_ATTACHMENTS\' | translate}}">\n </button>\n <!-- UPDATE SECTION START -->\n <button data-ng-class="faxRoom.status == \'CLOSED\' ? \'grey-cascade\' : \'btn-success\'" class="btn btn-icon-only" data-ng-disabled="faxRoom.status == \'CLOSED\' && faxRoom.disposition" data-ng-if="faxRoom" data-ng-click="closeRoom()" title="{{\'APPLICATION_STATUS\' | translate}}">\n <i data-ng-class="faxRoom.status == \'CLOSED\' ? \'icon-target\' : \'fa fa-upload\'"></i>\n </button>\n <!-- UPDATE SECTION END -->\n <button class="btn default btn-icon-only" data-ng-if="faxRoom && faxRoom.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-show="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="faxRoom.status !== \'CLOSED\'">\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($item, $model)" on-remove="onChanged($item, $model)" data-ng-disabled="faxRoom.status == \'CLOSED\'">\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 <!-- END TAGS -->\n </div>\n\n <hr data-ng-if="faxRoom && faxRoom.status !== \'CLOSED\'">\n\n <!-- END TAGS -->\n\n <div id="mail-box">\n <ul class="chats">\n <li\n data-ng-switch="faxMessage.status"\n data-ng-class="{\'in\': faxMessage.status == \'RECEIVED\', \'out\': faxMessage.status == \'SENT\' || faxMessage.status == \'SENDING\' || faxMessage.status == \'FAILED\' || faxMessage.status == \'NOTE\'}"\n data-ng-repeat="faxMessage in faxRoom.FaxMessages | orderBy:\'-createdAt\'">\n <div class="avatar" data-ng-class="faxMessage.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="faxMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{faxMessage.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="!faxMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{faxMessage.from}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <fax-note message="faxMessage" ng-switch-when="NOTE"></fax-note>\n <fax-message message="faxMessage" list-id="faxRoom.FaxAccount.ListId" ng-switch-default></fax-message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n <div class="note note-info" data-ng-if="faxRoom && faxRoom.status == \'CLOSED\'">\n <h4 class="block"><i class="icon-info"></i> {{\'MESSAGE_FAX_ROOM_CLOSED\' | translate}}!</h4>\n <p>\n <strong>{{\'MESSAGE_FAX_ROOM_CLOSED_DETAILS\' | translate}}.</strong>\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{faxRoom.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{faxRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="faxRoom.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="sendFax()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}" data-ng-if="faxRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-model="form.from" theme="bootstrap" name="from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="faxAccount.localstationid as faxAccount in faxAccounts | filter: $select.search">\n <div data-ng-bind-html="faxAccount.name | highlight: $select.search"></div>\n <small data-ng-bind-html="faxAccount.localstationid | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.compose.from.$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 </div>\n </div>\n <!-- END FROM -->\n\n <!-- START TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}" data-ng-if="faxRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="to" class="form-control" placeholder="To..." data-ng-model="form.to" required>\n <span data-ng-show="forms.compose.to.$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 </div>\n </div>\n <!-- END TO -->\n\n <!-- START ATTACH -->\n <div class="form-group" data-ng-if="uploader && (faxRoom.status !== \'CLOSED\')">\n <div class="col-md-12">\n <hr ng-if="uploader.queue.length">\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\n <td style="border-top:none"><strong>{{ item.file.name | truncate: 5: \'...\': true}}</strong></td>\n <td style="border-top:none" ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n <td style="border-top:none" ng-show="uploader.isHTML5">\n <div class="progress" style="margin-bottom: 0;">\n <div class="progress-bar" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td style="border-top-style:none" class="text-center">\n <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>\n <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>\n </td>\n <td style="border-top-style:none" nowrap>\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n <div>\n </div>\n </div>\n </div>\n <!-- END ATTACH -->\n\n <!-- <div class="form-group">\n <div class="col-md-12">\n <div class="form-actions right todo-form-actions" style="border-top: none;">\n <input type="submit" value="{{ \'APPLICATION_SEND\' | translate }}" class="btn btn-sm green-meadow" data-ng-disabled="form.disabled || !uploader.queue.length" data-ng-if="faxRoom.status !== \'CLOSED\'">\n <input type="button" value="{{ \'APPLICATION_CANCEL\' | translate }}"class="btn btn-sm btn-default" data-ng-click="cancel()" data-ng-if="faxRoom.status !== \'CLOSED\'">\n </div>\n </div>\n </div> -->\n\n </div>\n </form>\n </div>\n </div>\n</div>\n</div>\n</div>\n<!-- END TODO CONTENT -->\n'),a.put("app/channels/fax/inbox/status/status.modal.html",'<div class="modal-header">\n <button data-ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 data-ng-if="modal.title" data-ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="disposition" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-if="dispositions.length < 1">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/fax/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid" data-ng-show="!isAgent">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'UNMANAGED\'" uib-uncheckable>UNMANAGED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <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-inbox">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'),a.put("app/channels/fax/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_AGENTS\' | translate}}</a>\n </p>\n </div>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/fax/inbox/view/view.html",'<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="#">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == faxAccount.id}" data-ng-repeat="faxAccount in faxAccounts">\n <a href="/channels/fax/inbox/view/account/{{faxAccount.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{faxAccount.name}}\n </a>\n <b></b>\n </li>\n </ul>\n <div class="note note-warning" data-ng-hide="faxAccounts.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_ACCOUNTS\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/fax/accounts/list">{{\'APPLICATION_ACCOUNTS\' | translate}}</a>\n </p>\n </div>\n </div>\n\n <div class="col-md-9" data-ng-init="initView()">\n <!-- BEGIN PROFILE CONTENT -->\n <div class="room-content">\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n'),a.put("app/channels/fax/inbox/view/view.status.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ modal.title | translate }}</h3>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text" data-ng-bind="modal.text"></p>\n <div data-ng-if="modal.html" data-ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n <button data-ng-repeat="button in modal.buttons"\n data-ng-class="button.classes"\n data-ng-click="button.click($event)"\n data-ng-bind="button.text | translate" class="btn"></button>\n</div>\n'),a.put("app/channels/fax/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/fax/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/fax/queue/list/list.html",'<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/fax/queues/lis">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/fax/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.fax.queues.view.settings\')}">\n <a data-ng-href="/channels/fax/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.fax.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/fax/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/fax/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateFaxQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}</label>\n <input type="number" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/fax/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/fax/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/fax/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/fax/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-paper-plane"></i>\n <a href="#">{{ \'APPLICATION_FAX\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.fax.realtime.view.agents\')}">\n <a href="/channels/fax/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.fax.realtime.view.applications\')}">\n <a href="/channels/fax/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/account/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="#">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/mail/accounts/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/account/view/action/list/list.html",'<div class="row" data-ng-init="initActons()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/mail/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/mail/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n\n <div class="app-settings" ng-slide-down="application.app === \'replyMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START REPLYMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data1" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.key | translate }}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.key | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPLYMAIL -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/mail/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/mail/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.action.from.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'replyMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START REPLYMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data1" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.key | translate }}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.key | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.type.$touched || forms.action.$submitted) && forms.action.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPLYMAIL -->\n </div>\n\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <!-- <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" data-ng-pattern="/^[a-zA-Z0-9]*$/" required/> -->\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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.form.$touched && form.form.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PATTERN\' | translate}}.\n </span> -->\n </div>\n <!-- <div class="help-block">\n {{\'MESSAGE_ALLOWED_NUMBERS_AND_LETTERS\' | translate}}\n </div> -->\n </div>\n <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/account/view/setting/view/view.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">IMAP</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">SMTP</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="mail-spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemMailAccount()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_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="account.address" required/>\n <span data-ng-show="(forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid && forms.info.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n\n <!-- START TEMPLATE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.TemplateId" name="template" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_TEMPLATE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.TemplateId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END TEMPLATE -->\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n <!-- IMAP TAB -->\n <div class="tab-pane" id="tab_1_2">\n <div class="note note-danger" data-ng-show="account.MailServerIn.state === \'DISCONNECTED\' || account.MailServerIn.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="account.MailServerIn.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="account.MailServerIn.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="account.MailServerIn.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n\n <form name="forms.formIn" data-ng-submit="forms.formIn.$valid && updateItemMailServerIn()" novalidate>\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.host" required/>\n <span data-ng-show="(forms.formIn.host.$touched || forms.formIn.$submitted) && forms.formIn.host.$invalid && forms.formIn.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.username" required/>\n <span data-ng-show="(forms.formIn.username.$touched || forms.formIn.$submitted) && forms.formIn.username.$invalid && forms.formIn.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.password" required/>\n <span data-ng-show="(forms.formIn.password.$touched || forms.formIn.$submitted) && forms.formIn.password.$invalid && forms.formIn.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.port" required/>\n <span data-ng-show="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$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="(forms.formIn.port.$touched || forms.formIn.$submitted) && forms.formIn.port.$invalid && forms.formIn.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START MAILBOX -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.mailbox"/>\n </div>\n <!-- END MAILBOX -->\n\n <!-- START SEARCH FILTER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n <ui-select data-ng-model="account.MailServerIn.filter" name="filter" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n <div ng-bind-html="filter | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- START SEARCH FILTER -->\n\n <!-- START connTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="connTimeout" placeholder="{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.connTimeout" required/>\n <span data-ng-show="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$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="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END connTimeout -->\n\n <!-- START authTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="authTimeout" placeholder="{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}" class="form-control" data-ng-model="account.MailServerIn.authTimeout" required/>\n <span data-ng-show="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$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="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END authTimeout -->\n\n <!-- START DELETE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerIn.delete"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END DELETE -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerIn.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <!-- START Keepalive -->\n <div class="form-group">\n <label class="control-label">Keepalive</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerIn.keepalive"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END Keepalive -->\n\n <input data-ng-disabled="imapDisabled" class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END IMAP TAB -->\n\n <!-- SMTP TAB -->\n <div class="tab-pane" id="tab_1_3">\n\n <div class="note note-danger" data-ng-show="account.MailServerOut.state === \'DISCONNECTED\' || account.MailServerOut.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="account.MailServerOut.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="account.MailServerOut.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="account.MailServerOut.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n\n <form name="forms.formOut" data-ng-submit="forms.formOut.$valid && updateItemMailServerOut()" novalidate>\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.host" required/>\n <span data-ng-show="(forms.formOut.host.$touched || forms.formOut.$submitted) && forms.formOut.host.$invalid && forms.formOut.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.username" required/>\n <span data-ng-show="(forms.formOut.username.$touched || forms.formOut.$submitted) && forms.formOut.username.$invalid && forms.formOut.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.password" required/>\n <span data-ng-show="(forms.formOut.password.$touched || forms.formOut.$submitted) && forms.formOut.password.$invalid && forms.formOut.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.formOut.port.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.MailServerOut.port" required/>\n <span data-ng-show="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$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="(forms.formOut.form.$touched || forms.formOut.$submitted) && forms.formOut.port.$invalid && forms.formOut.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="account.MailServerOut.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <input data-ng-disabled="smtpDisabled" class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n <input data-ng-disabled="smtpDisabled" class="btn blue-madison" type="button" value="Test" data-ng-click="test()"/>\n </form>\n </div>\n <!-- END SMTP TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/mail/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.description || account.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar" data-ng-init="initView()">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.description || account.name }}\n </div>\n <div class="profile-usertitle-job">\n {{account.email}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-class="{active: $state.is(\'main.channels.mail.accounts.view.settings\')}">\n <a href="/channels/mail/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.mail.accounts.view.dispositions\')}">\n <a href="/channels/mail/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.mail.accounts.view.actions\')}">\n <a href="/channels/mail/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/channels/mail/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/mail/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_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/>\n <span data-ng-show="(forms.info.address.$touched || forms.info.$submitted) && forms.info.address.$invalid && forms.info.address.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ADDRESS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="IMAP" canexit="formValidation(forms.in.$valid)">\n <form name="forms.in" novalidate>\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_INCOMING_MAIL_SERVER\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.host" required/>\n <span data-ng-show="(forms.in.host.$touched || forms.in.$submitted) && forms.in.host.$invalid && forms.in.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.username" name="username" required/>\n <span data-ng-show="(forms.in.username.$touched || forms.in.$submitted) && forms.in.username.$invalid && forms.in.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.password" required/>\n <span data-ng-show="(forms.in.password.$touched || forms.in.$submitted) && forms.in.password.$invalid && forms.in.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.port" required/>\n <span data-ng-show="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$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="(forms.in.port.$touched || forms.in.$submitted) && forms.in.port.$invalid && forms.in.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START MAILBOX -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}</label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.mailbox"/>\n </div>\n <!-- END MAILBOX -->\n\n <!-- START SEARCH FILTER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEARCH_FILTER\' | translate}}</label>\n <ui-select data-ng-model="item.MailServerIn.filter" name="filter" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="filter in [\'UNSEEN\'] | filter: $select.search">\n <div data-ng-bind="filter | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- START SEARCH FILTER -->\n\n <!-- START connTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="connTimeout" placeholder="{{\'APPLICATION_CONNECTION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.connTimeout" required/>\n <span data-ng-show="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$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="(forms.in.connTimeout.$touched || forms.in.$submitted) && forms.in.connTimeout.$invalid && forms.in.connTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END connTimeout -->\n\n <!-- START authTimeout -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="authTimeout" placeholder="{{\'APPLICATION_AUTH_TIMEOUT\' | translate}}" class="form-control" data-ng-model="item.MailServerIn.authTimeout" required/>\n <span data-ng-show="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$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="(forms.in.authTimeout.$touched || forms.in.$submitted) && forms.in.authTimeout.$invalid && forms.in.authTimeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END authTimeout -->\n\n <!-- START DELETE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DELETE_MAIL_FROM_SERVER\' | translate}}</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerIn.delete"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END DELETE -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerIn.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <!-- START Keepalive -->\n <div class="form-group">\n <label class="control-label">Keepalive</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerIn.keepalive"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END Keepalive -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="SMTP" canexit="formValidation(forms.out.$valid)">\n <form name="forms.out" novalidate>\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_OUTGOING_MAIL_SERVER\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.host" required/>\n <span data-ng-show="(forms.out.host.$touched || forms.out.$submitted) && forms.out.host.$invalid && forms.out.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.username" required/>\n <span data-ng-show="(forms.out.username.$touched || forms.out.$submitted) && forms.out.username.$invalid && forms.out.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.password" required/>\n <span data-ng-show="(forms.out.password.$touched || forms.out.$submitted) && forms.out.password.$invalid && forms.out.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.out.port.$touched || forms.out.$submitted) && forms.out.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="item.MailServerOut.port" required/>\n <span data-ng-show="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$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="(out.$touched || forms.out.$submitted) && forms.out.port.$invalid && forms.out.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START SSL -->\n <div class="form-group">\n <label class="control-label">SSL</label><br>\n <input\n bs-switch\n data-ng-model="item.MailServerOut.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END SSL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="goNext()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/inbox/message/info.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initInfo()">\n <div class="form-group" ng-if="data">\n <json-formatter json="data" open="1"></json-formatter>\n </div>\n <div class="note note-warning" data-ng-hide="data">\n <h4 class="block"></h4>\n <p>\n {{ \'MESSAGE_NO_INFO_AVAILABLE\' | translate }}\n </p>\n </div>\n\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/inbox/message/message.directive.html",'<div class="message">\n <div class="row">\n <div class="col-md-12">\n <span class="bold">From: </span>\n <a href="" data-ng-click="openContact(message.from[0])">{{message.from[0]}} </a>\n <br>\n <span class="bold">To: </span>\n <a href="" data-ng-click="openContact(to)" data-ng-repeat="to in message.to">{{to}}<span data-ng-if="!$last">, </span></a>\n <br>\n <span data-ng-if="message.cc.length" class="bold">Cc: </span>\n <a href="" data-ng-click="openContact(cc)" data-ng-repeat="cc in message.cc">{{cc}}<span data-ng-if="!$last">, </span></a>\n <br>\n <span data-ng-if="message.bcc.length" class="bold">Bcc: </span>\n <a href="" data-ng-click="openContact(bcc)" data-ng-repeat="cc in message.bcc">{{bcc}}<span data-ng-if="!$last">, </span></a>\n </div>\n <div class="row">\n <div class="col-md-12">\n <span class="pull-right" data-ng-if="message.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n <span class="pull-right" data-ng-if="message.voiceSource">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>Cally ²</strong>\n <a ng-click="info(message.voiceSource)"><i class="icon-info font-blue"></i>\n </a>\n </span>\n </div>\n </div>\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-switch="message.status" data-ng-if="message.status!==\'RECEIVED\'" uib-tooltip="{{\'APPLICATION_RETRY\' | translate}}: {{message.retry}}">\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe"> {{message.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="retry(message.id)"> {{message.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n </span>\n <span class="pull-right" data-ng-if="message.status===\'RECEIVED\'">\n <a href="#" class="btn default btn-xs inactive-link green-stripe"> {{message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n </span>\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </span>\n <hr>\n <div class="body text-left message-body" data-ng-bind="message.text"></div>\n <h5 data-ng-hide="message.text" class="media-heading"><i>{{\'MESSAGE_NO_AVAILABLE_TEXT\' | translate | lowercase}}</i></h5>\n <hr data-ng-if="message.MailAttachments.length">\n <div data-ng-repeat="mailAttachment in message.MailAttachments">\n <strong>{{mailAttachment.name}}</strong>\n <span>\n ({{mailAttachment.size | prettyBytes}})\n </span>\n <a target="_self" download="{{mailAttachment.name}}" href="api/mail/attachments/{{mailAttachment.id}}">\n <i class="icon-cloud-download"></i>\n </a>\n <a ng-if="::(mailAttachment.type.indexOf(\'image\') > -1)" ng-click="openPreview(mailAttachment.id)">\n <i class="icon-picture"></i>\n </a>\n </div>\n</div>\n'),a.put("app/channels/mail/inbox/note/note.directive.html",'<div class="note">\n <div class="row">\n <div class="col-md-6">\n <a type="button" name="button" data-ng-if="::(Auth.getCurrentUser().id == message.UserId)" data-ng-click="deleteNote()">\n <i class="fa fa-trash-o" style="color: red;"></i>\n </a>\n\n <i class="icon-calendar"></i> <span am-time-ago="message.updatedAt"></span>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-show="message.User">{{\'APPLICATION_ADD_BY\' | translate}}: <strong>{{message.User.fullname}}</strong></span>\n </div>\n </div>\n <hr>\n <span class="body text-left" data-ng-bind-html="message.text" style="white-space: pre-wrap;"></span>\n</div>\n'),a.put("app/channels/mail/inbox/note/note.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_NOTES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <div class="form-group">\n <textarea data-ng-model="item.text" name="text" rows="10" style="resize: none; width: 100%;"></textarea>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/mail/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <button data-ng-if="(form.from.length && form.to.length) && mailRoom.status !== \'CLOSED\'" class="btn btn-sm btn-default green-meadow" data-ng-click="sendMail()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-if="(form.from.length && form.to.length) && mailRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-if="mailRoom" class="label label-default"> #{{mailRoom.id}} {{mailRoom.status}}</span>\n <span data-ng-if="mailRoom"> | </span>\n <span data-ng-if="mailRoom && mailRoom.ParentId" class="label label-warning"> Ref: <a data-ng-click="openRoom(mailRoom.ParentId)">#{{mailRoom.ParentId}}</a></span>\n <span data-ng-if="mailRoom && mailRoom.ParentId"> | </span>\n <span data-ng-if="mailRoom" class="caption-subject font-green-sharp bold uppercase">{{mailRoom.subject || \'No subject\' | truncate: 25: \'...\': true}}</span>\n </div>\n <div class="actions">\n <button class="btn btn-icon-only yellow" data-ng-if="mailRoom" data-ng-click="loadNote()" data-ng-disabled="mailRoom.status == \'CLOSED\'" title="{{\'APPLICATION_NOTES\' | translate}}">\n <i class="fa fa-sticky-note"></i>\n </button>\n <button class="file-upload" data-ng-disabled="mailRoom.status == \'CLOSED\'">\n <i class="fa fa-paperclip"></i> <input type="file" data-ng-if="uploader" data-ng-disabled="mailRoom.status == \'CLOSED\'" nv-file-select uploader="uploader" multiple class="file-input" title="{{\'APPLICATION_ATTACHMENTS\' | translate}}">\n </button>\n <!-- UPDATE SECTION START -->\n <button data-ng-class="mailRoom.status == \'CLOSED\' ? \'grey-cascade\' : \'btn-success\'" class="btn btn-icon-only" data-ng-if="user.role === \'agent\'" data-ng-disabled="mailRoom.status == \'CLOSED\' && mailRoom.disposition" data-ng-if="mailRoom" data-ng-click="closeRoom()" title="{{\'APPLICATION_STATUS\' | translate}}">\n <i data-ng-class="mailRoom.status == \'CLOSED\' ? \'icon-target\' : \'fa fa-upload\'"></i>\n </button>\n <!-- UPDATE SECTION END -->\n <button class="btn default btn-icon-only" data-ng-if="mailRoom && mailRoom.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-if="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\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($item, $model)" on-remove="onChanged($item, $model)" data-ng-disabled="mailRoom.status == \'CLOSED\'">\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 <!-- END TAGS -->\n </div>\n\n <hr data-ng-if="mailRoom && mailRoom.status !== \'CLOSED\'">\n\n <!-- END TAGS -->\n <div id="mail-box">\n <ul class="chats">\n <li\n data-ng-switch="mailMessage.status"\n data-ng-class="{\'in\': mailMessage.status == \'RECEIVED\', \'out\': mailMessage.status == \'SENT\' || mailMessage.status == \'SENDING\' || mailMessage.status == \'FAILED\' || mailMessage.status == \'NOTE\'}"\n data-ng-repeat="mailMessage in mailRoom.MailMessages | orderBy:\'-createdAt\'">\n <div class="avatar" data-ng-class="message.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="mailMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{mailMessage.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="!mailMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{mailMessage.from[0]}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <mail-note message="mailMessage" ng-switch-when="NOTE"></mail-note>\n <mail-message message="mailMessage" list-id="mailRoom.MailAccount.ListId" ng-switch-default></mail-message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n <div class="note note-info" data-ng-if="mailRoom && mailRoom.status == \'CLOSED\'">\n <h4 class="block"><i class="icon-info"></i> {{\'MESSAGE_MAIL_ROOM_CLOSED\' | translate}}!</h4>\n <p>\n <strong>{{\'MESSAGE_MAIL_ROOM_CLOSED_DETAILS\' | translate}}.</strong>\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{mailRoom.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{mailRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="mailRoom.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="sendMail()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n <v-accordion class="vAccordion--default" ng-if="mailRoom.status !== \'CLOSED\'">\n <v-pane expanded="expanded">\n <v-pane-header>\n <i class="icon-people"></i> From: {{form.from[0]}}, To: {{form.to[0].email}} <span ng-if="form.to.length > 1">(+{{form.to.length - 1}})</span>\n </v-pane-header>\n <v-pane-content>\n <!-- START FROM -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-model="form.from[0]" data-ng-change="setList($select.selected.ListId)" theme="bootstrap" name="from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="mailAccount.address as mailAccount in mailAccounts | filter: $select.search">\n <div data-ng-bind-html="mailAccount.name | highlight: $select.search"></div>\n <small data-ng-bind-html="mailAccount.address | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n </div>\n </div>\n <!-- END FROM -->\n\n <!-- MAIL TO -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <tags-input ng-model="form.to" type="email" display-property="email">\n <auto-complete source="getContacts($query)"></auto-complete>\n </tags-input>\n </div>\n </div>\n </div>\n </div>\n <!-- END TO -->\n\n <!-- START CC -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">Cc:</label>\n </div>\n <div class="col-md-11">\n <tags-input ng-model="form.cc" type="email" display-property="email">\n <auto-complete source="getContacts($query)"></auto-complete>\n </tags-input>\n </div>\n </div>\n </div>\n </div>\n <!-- END CC -->\n\n <!-- START BCC -->\n <div class="form-group" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">Bcc:</label>\n </div>\n <div class="col-md-11">\n <tags-input ng-model="form.bcc" type="email" display-property="email">\n <auto-complete source="getContacts($query)"></auto-complete>\n </tags-input>\n </div>\n </div>\n </div>\n </div>\n <!-- END BCC -->\n\n <!-- START SUBJECT -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">Subj:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="Subject..." rows="8" data-ng-model="form.subject">\n <span data-ng-if="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 </div>\n </div>\n <!-- END SUJBECT -->\n </v-pane-content>\n </v-pane>\n </v-accordion>\n\n <!-- START ATTACH -->\n <div class="form-group" data-ng-if="uploader && (mailRoom.status !== \'CLOSED\')">\n <div class="col-md-12">\n <hr ng-if="uploader.queue.length">\n <table class="table">\n <tbody>\n <tr ng-repeat="item in uploader.queue">\n <td style="border-top:none" rowspan="{{uploader.queue.length}}" ng-if="(!$index)">\n {{\'APPLICATION_ATTACHMENTS\' | translate}}:\n </td>\n <td style="border-top:none"><strong>{{ item.file.name }}</strong></td>\n <td style="border-top:none" ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n <td style="border-top:none" ng-show="uploader.isHTML5">\n <div class="progress" style="margin-bottom: 0;">\n <div class="progress-bar" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td style="border-top-style:none" class="text-center">\n <span ng-show="item.isSuccess"><i class="glyphicon glyphicon-ok"></i></span>\n <span ng-show="item.isCancel"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span ng-show="item.isError"><i class="glyphicon glyphicon-remove"></i></span>\n </td>\n <td style="border-top-style:none" nowrap>\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n <div>\n </div>\n </div>\n </div>\n <!-- END ATTACH -->\n\n <!-- START CANNED -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.subject.$invalid && forms.compose.$submitted}" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\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="onSelectAnswer($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-if="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 </div>\n </div>\n <!-- END CANNED -->\n\n <!-- START HTML -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.text.$invalid && forms.compose.$submitted}" data-ng-if="mailRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div ckeditor="options" ng-model="form.html"></div>\n <span data-ng-if="forms.compose.text.$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 <!-- END HTML -->\n\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n</div>\n<!-- END TODO CONTENT -->\n"), +a.put("app/channels/mail/inbox/status/status.modal.html",'<div class="modal-header">\n <button data-ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 data-ng-if="modal.title" data-ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="disposition" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-if="dispositions.length < 1">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/mail/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'PENDING\'" uib-uncheckable>PENDING</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <div ui-grid="gridOptions" class="myGrid" ui-grid-auto-resize ui-grid-pagination ui-grid-selection>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'),a.put("app/channels/mail/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/mail/inbox/view/view.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="#">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == mailAccount.id}" data-ng-repeat="mailAccount in mailAccounts">\n <a href="/channels/mail/inbox/view/account/{{mailAccount.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{mailAccount.name}}\n </a>\n <b></b>\n </li>\n </ul>\n </div>\n\n <div class="col-md-9" data-ng-init="initView()">\n <!-- BEGIN PROFILE CONTENT -->\n <div class="room-content">\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n\n</div>\n'),a.put("app/channels/mail/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/mail/inbox/view/view.templates.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_TEMPLATES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="note note-info" data-ng-show="!templates.length">\n <h4 class="block">Info!</h4>\n <p>\n {{\'MESSAGE_NO_TEMPLATES_AVAILABLE\' | translate}}\n </p>\n </div>\n <form name="form" data-ng-show="templates.length" novalidate>\n <div class="form-group">\n <ui-select data-ng-model="item.template" theme="bootstrap">\n <ui-select-match placeholder="Select a template in the list or search his name...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template in templates | propsFilter: {name: $select.search}">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n <small data-ng-show="template.description">\n {{\'APPLICATION_DESCRIPTION\' | translate}}: {{template.description}}\n </small>\n </ui-select-choices>\n </ui-select>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="templates.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/mail/queue/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/mail/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.mail.queues.view.settings\')}">\n <a data-ng-href="/channels/mail/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.mail.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/mail/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateMailQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">Agent Timeout</label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/mail/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/mail/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/mail/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope"></i>\n <a href="#">{{ \'APPLICATION_MAIL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.mail.realtime.view.agents\')}">\n <a href="/channels/mail/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.mail.realtime.view.applications\')}">\n <a href="/channels/mail/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/mail/realtime/view/view.queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div id="grid1" ui-grid="gridOptions" ui-grid-resize-columns ui-grid-tree-view class="grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/openchannel/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/openchannel/accounts/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/view/action/list/list.html",'<div class="row" data-ng-init="initActions()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/openchannel/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/openchannel/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.OpenchannelQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.OpenchannelQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n </div>\n\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/account/view/api/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_API\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <div class="tab-pane active" id="tab_1_1">\n <!-- START API -->\n <div class="row" >\n <div class="col-md-12">\n <label class="control-label">Receive URL</label>\n </div>\n </div>\n <div class="row" >\n <div class="col-md-11">\n <code-mirror model="receiveurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(receiveurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END API -->\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/openchannel/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/account/view/hooks/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_HOOKS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SEND\' | translate}}</a>\n </li>\n <li >\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_ACCEPT\' | translate}}</a>\n </li>\n <li >\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_REJECT\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- ACCEPT TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItem()" novalidate>\n <!-- START REJECT URL -->\n <!-- START REPLY HOOK -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.replyMethod" name="method" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search" >\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid && forms.info.method.$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-8" data-ng-class="{\'has-error\': (forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.replyUrl" ng-required="account.replyMethod"/>\n <span data-ng-show="(forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid && forms.info.url.$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 <!-- START REPLY HOOK -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.accept" data-ng-submit="forms.accept.$valid && updateItem()" novalidate>\n <!-- START ACCEPT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.acceptMethod" name="method" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.acceptUrl" ng-required="account.acceptMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END ACCEPT URL-->\n <!-- START ACTIONS-->\n\n <div class="row" ng-repeat = "action in account.actions">\n <div ng-if="action.action==\'pause\'" class="form-group col-md-4">\n <label class="control-label">{{\'APPLICATION_PAUSE\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-change="resetActionData(action)"\n data-ng-model="action.enabled"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <div ng-if="action.action==\'pause\' && action.enabled" class="form-group col-md-8">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <ui-select name="action" data-ng-model="action.type" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat=" pause.name as pause in pauses | filter: $select.search">\n <div ng-bind-html="pause.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n\n <!-- END ACTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n <!-- START REJECT TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.reject" data-ng-submit="forms.reject.$valid && updateItem()" novalidate>\n <!-- START REJECT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.rejectMethod" name="method" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.rejectUrl" ng-required="account.rejectMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n\n <!-- END REJECT URL -->\n <!-- START REJECT ACTION -->\n\n <!-- <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_ACTION\' | translate}}</label>\n <ui-select multiple name="action" data-ng-model="account.rejectaction" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_ACTION\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="action.value as action in actions | filter: $select.search">\n <div ng-bind-html="action.name | highlight: $select.search | uppercase" ></div>\n {{actions}}\n </ui-select-choices>\n </ui-select>\n </div> -->\n <!-- END REJECT ACTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/openchannel/account/view/setting/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItem()" novalidate>\n <!-- START ID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_ID\' | translate}}<span class="required" aria-required="true">*</span>\n </label>\n <input type="text" name="id" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.id" ng-disabled="true" required/>\n </div>\n <!-- END ID-->\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START CUSTOM -->\n <!-- <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REPLY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.reply"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div> -->\n <!-- START REPLY HOOK -->\n <!-- <div ng-if= "account.reply" class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.replyMethod" name="method" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search" >\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.method.$touched || forms.info.$submitted) && forms.info.method.$invalid && forms.info.method.$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-8" data-ng-class="{\'has-error\': (forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.replyUrl" required/>\n <span data-ng-show="(forms.info.url.$touched || forms.info.$submitted) && forms.info.url.$invalid && forms.info.url.$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 <!-- START REPLY HOOK -->\n <!-- END CUSTOM -->\n\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/openchannel/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.description || account.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.description || account.name }}\n </div>\n <div class="profile-usertitle-job">\n {{account.email}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.settings\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.api\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/api">\n <i class="fa fa-external-link"></i>\n {{\'APPLICATION_API\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.hooks\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/hooks">\n <i class="fa fa-code"></i>\n {{\'APPLICATION_HOOKS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.openchannel.accounts.view.dispositions\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.openchannel.accounts.view.actions\')}">\n <a href="/channels/openchannel/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/channels/openchannel/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/openchannel/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/inbox/message/info.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initInfo()">\n <div class="form-group" ng-if="data">\n <json-formatter json="data" open="1"></json-formatter>\n </div>\n <div class="note note-warning" data-ng-hide="data">\n <p>\n {{ \'MESSAGE_NO_INFO_AVAILABLE\' | translate }}\n </p>\n </div>\n\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/openchannel/inbox/message/message.html",'<div class="message">\n <div class="row">\n <div class="col-md-6">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="">{{Message.from}}</a>]\n <br>\n <span class="bold">To: </span>\n [<a href="" data-ng-click="">{{Message.to}}</a>]\n <!-- [<a href="" data-ng-click="openContact(Message.to)">{{Message.to}}</a>] -->\n <br>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-if="Message.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{Message.User.fullname}}</strong></span>\n </div>\n </div>\n\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-switch="Message.status">\n <a ng-switch-when="RECEIVED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{Message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{Message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="DELIVERED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{Message.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe" > {{Message.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="info(Message.res_data)"> {{Message.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n <a ng-switch-default href="#" class="btn default btn-xs"> {{Message.status | uppercase}}\n </a>\n <br>\n </span>\n\n <i class="icon-calendar"></i> <span am-time-ago="Message.updatedAt"></span>\n </span>\n <hr>\n <span class="body text-left" data-ng-bind-html="Message.body" style="white-space: pre-wrap;"></span>\n\n </div>\n'),a.put("app/channels/openchannel/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <!-- && Room.OpenchannelAccount.reply -->\n <button class="btn btn-sm btn-default green-meadow" data-ng-if="Room.status !== \'CLOSED\'" data-ng-disabled="!form.body || forms.compose.from.$invalid || forms.compose.to.$invalid" data-ng-click="sendMessage()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-show="Room && Room.status !== \'CLOSED\'"> | </span>\n <!-- <span data-ng-show="Room && Room.status !== \'CLOSED\' && Room.OpenchannelAccount.reply"> | </span> -->\n <span data-ng-show="Room" class="label label-default">#{{Room.id}} {{Room.status}}</span>\n <span data-ng-if="Room && Room.ParentId"> | </span>\n <span data-ng-if="Room && Room.ParentId" class="label label-warning"> Ref: <a data-ng-click="openRoom(Room.ParentId,Room.from)">#{{Room.ParentId}}</a></span>\n </div>\n <div class="actions" data-ng-switch="Room.status">\n <button class="btn btn-icon-only btn-primary" data-ng-show="Room" data-ng-click="loadAgents();" data-ng-disabled="Room.status === \'CLOSED\'">\n <i class="fa fa-user-plus"></i>\n </button>\n <button class="btn btn-icon-only" data-ng-show="Room" data-ng-class="{\'btn-success\':Room.status !== \'CLOSED\',\'grey-cascade\':Room.status === \'CLOSED\'}" data-ng-click="closeRoom(Room.id)" data-ng-disabled="Room.status === \'CLOSED\' && Room.disposition">\n <i data-ng-class="{\'fa fa-upload\':Room.status !== \'CLOSED\',\'icon-target\':Room.status === \'CLOSED\'}"></i>\n </button>\n <button class="btn default btn-icon-only" data-ng-if="Room && Room.status !== \'CLOSED\' && Room.OpenchannelAccount.reply" type="button" 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-show="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="Room.status !== \'CLOSED\' || (Room.status == \'CLOSED\' && form.tags.length)">\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 data-ng-disabled="Room.status == \'CLOSED\'" multiple data-ng-model="form.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\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 <!-- END TAGS -->\n </div>\n <hr data-ng-if="Room && Room.status !== \'CLOSED\'">\n\n <div ng-scrollbars ng-scrollbars-config="{\n autoHideScrollbar: false,\n theme: \'light\',\n advanced: {\n updateOnContentResize: true\n },\n setHeight: 781,\n scrollInertia: 0\n }">\n <ul class="chats">\n <li data-ng-switch="Room.status" data-ng-class="{\'in\': Message.status == \'RECEIVED\', \'out\': Message.status == \'SENT\' || Message.status == \'SENDING\' || Message.status == \'FAILED\' || Message.status == \'NOTE\' || Message.status == \'DELIVERED\' || Message.status == \'QUEUED\' || Message.status != \'RECEIVED\' }" data-ng-repeat="Message in Room.OpenchannelMessages | orderBy:\'-createdAt\'">\n <!-- <img class="avatar" alt="" data-ng-src="api/users/avatar/{{getCurrentUser().userpic && smsMessage.status === \'SENT\' ? getCurrentUser().userpic : \'unknown_avatar\'}}"> -->\n <!-- <note message="smsMessage" ng-switch-when="NOTE"></note> -->\n <div class="avatar" data-ng-class="Message.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="Message.UserId"\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.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{Message.from}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <message message="Message" list-id="Room.OpenchannelAccount.ListId" ng-switch-default></message>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n\n <div class="note note-info" data-ng-if="Room && Room.status == \'CLOSED\'">\n <h4 class="block">Info! {{\'MESSAGE_ROOM_CLOSED\' | translate}}</h4>\n <p>\n {{\'MESSAGE_ROOM_CLOSED_DETAILS\' | translate}}.\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{Room.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{Room.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="Room.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="forms.compose.$valid" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}" data-ng-if="Room.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-disabled="Room" theme="bootstrap" name="from" data-ng-model="form.from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="Account.name as Account in Accounts | filter: $select.search">\n <div data-ng-bind-html="Account.name | highlight: $select.search"></div>\n <small data-ng-bind-html="Account.name | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.compose.from.$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 </div>\n </div>\n <!-- END FROM -->\n <!-- START TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}" data-ng-if="Room.status !== \'CLOSED\'">\n\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="to" class="form-control todo-taskbody-taskdesc" placeholder="To..." rows="8" data-ng-disabled="Room" data-ng-model="form.to" required>\n <span data-ng-show="forms.compose.to.$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 </div>\n </div>\n <!-- END TO -->\n <!-- START CANNED -->\n <div class="form-group" data-ng-if="Room.status !== \'CLOSED\'">\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 </div>\n </div>\n\n </div>\n <!-- END CANNED -->\n <!-- START message -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.body.$invalid && forms.compose.$submitted}" data-ng-if=" Room.status !== \'CLOSED\'">\n <div class="col-md-12">\n <textarea id="text" class="form-control maxlength-handler" rows="8" name="body" data-ng-model="form.body"></textarea>\n <span data-ng-show="forms.compose.body.$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 <!-- END message -->\n </div>\n </form>\n </div>\n </div>\n </div>\n </div>\n</div>\n<!-- END TODO CONTENT -->\n"),a.put("app/channels/openchannel/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid" data-ng-show="!isAgent">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'UNMANAGED\'" uib-uncheckable>UNMANAGED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <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-inbox">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'), +a.put("app/channels/openchannel/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/openchannel/inbox/view/view.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="/channels/openchannel/inbox/list">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox" data-ng-init="initView()">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == Account.id}" data-ng-repeat="Account in Accounts">\n <a href="/channels/openchannel/inbox/view/account/{{Account.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{Account.name}}\n </a>\n <b></b>\n </li>\n </ul>\n </div>\n\n <div class="col-md-9" >\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/inbox/view/view.status.modal.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),a.put("app/channels/openchannel/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/openchannel/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\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/openchannel/queue/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/openchannel/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-globe"></i>\n <a href="#">{{ \'APPLICATION_OPEN_CHANNEL\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/openchannel/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.openchannel.queues.view.settings\')}">\n <a data-ng-href="/channels/openchannel/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.openchannel.queues.view.agents\')}">\n <a data-ng-href="/channels/openchannel/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/openchannel/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">Timeout</label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START HEADER SHAPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END HEADER SHAPE -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="/channels/realtime/view/agents">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.realtime.view.agents\')}">\n <a href="/channels/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/account/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/sms/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/sms/accounts/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/account/view/action/list/list.html",'<div class="row" data-ng-init="initActions()">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/channels/sms/accounts/view/{{account.id}}/actions/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACTION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/action/view/view.html",'\n<div class="row" data-ng-init="initAction()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.settings" ng-submit="updateItem()" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.SmsQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/sms/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.agent.$touched || forms.settings.$submitted) && forms.settings.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" min="1" required/>\n <span data-ng-show="(forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid && forms.settings.to.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.template.$touched || forms.settings.$submitted) && forms.settings.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1" data-ng-init="getSmsAccounts()">\n <!-- START SENDSms -->\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" required/>\n <span data-ng-show="(forms.settings.to.$touched || forms.settings.$submitted) && forms.settings.to.$invalid && forms.settings.to.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in smsAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.account.$touched || forms.settings.$submitted) && forms.settings.account.$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" data-ng-class="{\'has-error\': (forms.settings.text.$touched || forms.text.$submitted) && forms.settings.text.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea id="text" class="form-control maxlength-handler" maxlength="160" name="text" data-ng-model="application.data6" required></textarea>\n <span data-ng-show="(forms.settings.text.$touched || forms.settings.$submitted) && forms.settings.text.$invalid && forms.settings.text.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <!-- END SENDSms -->\n </div>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.intType.$touched || forms.settings.$submitted) && forms.settings.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.IntervalId.$touched || forms.settings.$submitted) && forms.settings.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="submit">{{\'APPLICATION_UPDATE\' | translate}}</button>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/sms/account/view/action/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-directions font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.action.$valid)">\n <form name="forms.action" novalidate>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.action.$submitted && forms.action.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="app.value as app in apps | filter: $select.search">\n <div ng-bind-html="app.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.action.$submitted && forms.action.app.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div class="app-settings" ng-slide-down="application.app === \'agent\'" lazy-render duration="1" data-ng-init="getAgents()">\n <!-- START AGENT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.UserId" name="agent" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n <div ng-bind-html="agent.fullname | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="agents.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AGENTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/staff/agents/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.agent.$touched || forms.action.$submitted) && forms.action.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AGENT -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'queue\'" lazy-render duration="1" data-ng-init="getQueues()">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.MailQueueId" name="queue" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="queues.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/sms/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.action.queue.$touched || forms.action.$submitted) && forms.action.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.timeout.$touched || forms.action.$submitted) && forms.action.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="application.timeout" min="1" required/>\n <span data-ng-show="(forms.action.timeout.$touched || forms.action.$submitted) && forms.action.timeout.$invalid && forms.action.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1" data-ng-init="getMailAccounts();getTemplates()">\n <!-- START SENDMAIL -->\n <div class="app-settings" ng-slide-down="application.app === \'sendMail\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="email" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" required/>\n <span data-ng-show="(forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid && forms.action.to.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.mail.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEMPLATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data9" name="template" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.template.$touched || forms.action.$submitted) && forms.action.template.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDMAIL -->\n </div>\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1" data-ng-init="getSmsAccounts()">\n <!-- START SENDSms -->\n <div class="app-settings" ng-slide-down="application.app === \'sendSms\'" lazy-render duration="1">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid}">\n <label class="control-label">{{\'APPLICATION_TO\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" name="to" placeholder="{{\'APPLICATION_TO\' | translate}}" class="form-control" data-ng-model="application.data2" required/>\n <span data-ng-show="(forms.action.to.$touched || forms.action.$submitted) && forms.action.to.$invalid && forms.action.to.$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\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.data8" name="account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in smsAccounts | filter: $select.search">\n <div ng-bind-html="account.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.account.$touched || forms.action.$submitted) && forms.action.account.$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" data-ng-class="{\'has-error\': (forms.action.text.$touched || forms.action.$submitted) && forms.action.text.$invalid}">\n <label class="control-label">{{\'APPLICATION_TEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea id="text" class="form-control maxlength-handler" maxlength="160" name="text" data-ng-model="application.data6" required></textarea>\n <span data-ng-show="(forms.action.text.$touched || forms.action.$submitted) && forms.action.text.$invalid && forms.action.text.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n\n <!-- END SENDSms -->\n </div>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_INTERVAL_TYPE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name | translate }}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{ intType.name | translate }}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.intType.$touched || forms.action.$submitted) && forms.action.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n\n <div class="app-settings" ng-slide-down="application.intType === \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="application.alwaysTime">\n <uib-timepicker name="t_from" data-ng-model="application.t_from" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker>\n </fieldset>\n <div class="input-group-addon col-md-1 interval-to pull-left">to</div>\n <fieldset ng-disabled="application.alwaysTime"><uib-timepicker name="t_to" data-ng-model="application.t_to" show-meridian="false" show-spinners="false" mousewheel="false"></uib-timepicker></fieldset>\n <!-- <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="application.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label> -->\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START ALWAYS -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALWAYS\' | translate }}</label>\n <div class="input-group input-large">\n <label class="control-label pointer-cursor">\n <input\n bs-switch\n data-ng-model="application.alwaysTime"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n <!-- <input type="checkbox" data-ng-model="application.alwaysTime"> -->\n </label>\n </div>\n </div>\n <!-- END ALWAYS -->\n\n <!-- START WEEKDAY -->\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="application.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="application.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="application.md_from" theme="bootstrap" name="md_from">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n <span class="input-group-addon">to</span>\n <ui-select data-ng-model="application.md_to" theme="bootstrap" name="md_to">\n <ui-select-match>{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="monthDay in $interval.daysOfMonth | filter: $select.search">\n {{monthDay}}\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="application.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="application.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 <!-- END MONTH -->\n </div>\n\n <div class="app-settings" ng-slide-down="application.intType === \'list\'" lazy-render duration="1" data-ng-init="getIntervals()">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{ $select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in intervals | filter: $select.search">\n {{ interval.name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.action.IntervalId.$touched || forms.action.$submitted) && forms.action.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONTINUE\' | translate}}"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <!-- <button class="btn green-haze" type="button" wz-previous><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button> -->\n <input class="btn green-haze" type="submit" data-ng-click="next()" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/account/view/api/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_API\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- CALLBACK TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- START CALLBACK URL -->\n <div class="row" >\n <div class="col-md-12">\n <label class="control-label">Receive URL</label>\n <p>\n Copy the following url and insert it into your {{account.type}} account settings to receive SMS.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </p>\n </div>\n </div>\n <div class="row" >\n <div class="col-md-11">\n <code-mirror model="receiveurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(receiveurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div><br>\n <!-- END CALLACK URL -->\n <!-- START DELIVERY CALLBACK URL -->\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-12">\n <label class="control-label">Delivery URL </label>\n <p>\n Copy the following url and insert it into your {{account.type}} account settings to receive delivery report.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </p>\n </div>\n </div>\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-11">\n <code-mirror class="control-label" model="deliveryurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(deliveryurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END DELIVERY CALLACK URL -->\n </div>\n <!-- END CALLBACK TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/disposition/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/account/view/disposition/view/view.html",'<div class="row">\n <div class="col-md-12">\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_DISPOSITIONS\' | translate}}</span>\n </div>\n <div class="actions actions-md">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/hooks/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_HOOKS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_ACCEPT\' | translate}}</a>\n </li>\n <li >\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_REJECT\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- ACCEPT TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.accept" data-ng-submit="forms.accept.$valid && updateItemSmsAccount()" novalidate>\n <!-- START ACCEPT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.accept.method.$touched || forms.accept.$submitted) && forms.accept.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.acceptMethod" name="method" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.accept.url.$touched || forms.accept.$submitted) && forms.accept.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.acceptUrl" ng-required="account.acceptMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END ACCEPT URL-->\n <!-- START ACTIONS-->\n <!-- START PAUSE -->\n <div class="row" ng-repeat = "action in account.actions">\n <div ng-if="action.action==\'pause\'" class="form-group col-md-4">\n <label class="control-label">{{\'APPLICATION_PAUSE\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-change="resetActionData(action)"\n data-ng-model="action.enabled"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <div ng-if="action.action==\'pause\' && action.enabled" class="form-group col-md-8">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <ui-select name="action" data-ng-model="action.type" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_TYPE\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat=" pause.name as pause in pauses | filter: $select.search">\n <div ng-bind-html="pause.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n\n <!-- END ACTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n <!-- START REJECT TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.reject" data-ng-submit="forms.reject.$valid && updateItemSmsAccount()" novalidate>\n <!-- START REJECT URL -->\n <div class="row">\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.reject.method.$touched || forms.reject.$submitted) && forms.reject.method.$invalid}">\n <label class="control-label">{{\'APPLICATION_METHOD\' | translate}}</label>\n <ui-select data-ng-model="account.rejectMethod" name="method" theme="bootstrap" >\n <ui-select-match placeholder="{{\'APPLICATION_METHOD\' | translate}}">{{$select.selected.name | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div class="form-group col-md-8" data-ng-class="{\'has-error\': (forms.reject.url.$touched || forms.reject.$submitted) && forms.reject.url.$invalid}">\n <label class="control-label">{{\'APPLICATION_URL\' | translate}}</label>\n <input type="url" name="url" placeholder="{{\'APPLICATION_URL\' | translate}}" class="form-control" data-ng-model="account.rejectUrl" ng-required="account.rejectMethod"/>\n <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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n\n <!-- END REJECT URL -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ACCEPT TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/sms/account/view/setting/view/view.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemSmsAccount()" novalidate>\n <!-- START ID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_ID\' | translate}}<span class="required" aria-required="true">*</span>\n </label>\n <input type="text" name="id" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.id" ng-disabled="true" required/>\n </div>\n <!-- END ID-->\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="account.fidelity"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <!-- START TWILIO -->\n <!-- START PHONE -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START SID -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="sid" placeholder="{{\'APPLICATION_SID\' | translate}}" class="form-control" data-ng-model="account.sid" name="sid" required/>\n <span data-ng-show="(forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid && forms.info.sid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- START TOKEN -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid}">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" name="token" required/>\n <span data-ng-show="(forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid && forms.info.token.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- END TWILIO -->\n <!-- START SKEBBY -->\n <!-- START SKEBBY SMS TYPE -->\n <div ng-if= " account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.smstype" name="smstype" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'SMS_TYPE\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="smstype in [\'basic\',\'classic\',\'classic+\'] | filter: $select.search">\n <div data-ng-bind="smstype | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid && forms.info.smstype.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SKEBBY SMS TYPE -->\n <!-- START PHONE -->\n <div ng-if= "account.type == \'skebby\' " class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" ng-pattern="/^[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n <!-- START USERNAME -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" name="username" required/>\n <span data-ng-show="(forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid && forms.info.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n <!-- END SKEBBY -->\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/account/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/sms/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="account"></i>\n </li>\n <li data-ng-show="account">\n <a href="#">{{ account.description || account.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ account.description || account.name }}\n </div>\n <div class="profile-usertitle-job">\n {{account.email}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.settings\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/settings">\n <i class="icon-settings"></i>\n {{\'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.api\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/api">\n <i class="fa fa-external-link"></i>\n {{\'APPLICATION_API\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.hooks\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/hooks">\n <i class="fa fa-code"></i>\n {{\'APPLICATION_HOOKS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.is(\'main.channels.sms.accounts.view.dispositions\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/dispositions">\n <i class="icon-target"></i>\n {{\'APPLICATION_DISPOSITIONS\' | translate}} </a>\n </li>\n <li ng-class="{active: $state.includes(\'main.channels.sms.accounts.view.actions\')}">\n <a href="/channels/sms/accounts/view/{{account.id}}/actions/list">\n <i class="icon-directions"></i>\n {{\'APPLICATION_ACTIONS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n<!-- END PAGE CONTENT-->\n</div>\n'),a.put("app/channels/sms/account/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="forms.info.$valid && updateItemSmsAccount()" novalidate>\n <!-- START ID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_ID\' | translate}}<span class="required" aria-required="true">*</span>\n </label>\n <input type="text" name="id" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.id" ng-disabled="true" required/>\n </div>\n <!-- END ID-->\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="account.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START LIST -->\n <div class="form-group" data-ng-if="license.cm">\n <label class="control-label">{{\'APPLICATION_LIST\' | translate}}</label>\n <div class="input-group">\n\n <ui-select data-ng-model="account.ListId" name="list" theme="bootstrap">\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\n <span class="input-group-btn">\n <button type="button" data-ng-click="account.ListId = null" class="btn btn-default">\n <span class="glyphicon glyphicon-trash"></span>\n </button>\n </span>\n\n </div>\n </div>\n <!-- END LIST -->\n\n\n <!-- START FIDELITY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_FIDELITY\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="account.fidelity"\n type="checkbox"\n name="auth"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END FIDELITY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-if="account.fidelity" data-ng-class="{\'has-error\': (forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="account.timeout" required/>\n <span data-ng-show="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.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="(forms.info.timeout.$touched || forms.info.$submitted) && forms.info.timeout.$invalid && forms.info.timeout.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START PHONE FOR TWILLIO ACCOUNT -->\n\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n<!-- Format with a \'+\' and country code -->\n <!-- <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span> -->\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE FOR TWILLIO ACCOUNT -->\n\n <!-- START SID -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="sid" placeholder="{{\'APPLICATION_SID\' | translate}}" class="form-control" data-ng-model="account.sid" name="sid" required/>\n <span data-ng-show="(forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid && forms.info.sid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- START TOKEN -->\n <div ng-if= "account.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid}">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" name="token" required/>\n <span data-ng-show="(forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid && forms.info.token.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n\n <!-- START SMS TYPE -->\n\n <div ng-if= " account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="account.smstype" name="smstype" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'SMS_TYPE\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="smstype in [\'basic\',\'classic\',\'classic+\'] | filter: $select.search">\n <div data-ng-bind="smstype | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid && forms.info.smstype.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n <!-- START PHONE FOR SKEBBY ACCOUNT -->\n <div ng-if= "account.type == \'skebby\' " class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" ng-pattern="/^[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="account.phone" name="phone" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\n <span data-ng-show="(forms.info.phone.$touched || forms.in.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n <!-- START USERNAME -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" name="username" required/>\n <span data-ng-show="(forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid && forms.info.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div ng-if= "account.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n <!-- START REMOTE IP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <!-- START CALLBACK URL -->\n <div ng-show="!forms.info.remote.$invalid" class="row" >\n <!-- <div class="row"> -->\n <div class="col-md-12">\n <label class="control-label">URL </label><br>\n <span ng-if= "account.type == \'twilio\' || account.type == \'skebby\'">\n Copy the following url and insert it into your {{account.type}} account settings to receive sms.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </span>\n </div>\n </div>\n <br>\n <div ng-show="!forms.info.remote.$invalid" class="row" >\n <div class="col-md-11">\n <code-mirror model="receiveurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(receiveurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END CALLACK URL -->\n <!-- START DELIVERY CALLBACK URL -->\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-12">\n <label class="control-label">Delivery URL </label><br>\n Copy the following url and insert it into your {{account.type}} account settings to receive delivery status.\n <a href="https://wiki.xcallymotion.com/display/XMD/SMS" target="_blank">Detail</a>\n </div>\n </div>\n <br>\n <div ng-if= "account.smstype == \'classic+\'" class="row" ng-show="!forms.info.remote.$invalid">\n <div class="col-md-11">\n <code-mirror class="control-label" model="deliveryurl"></code-mirror>\n </div>\n <div class="col-md-1">\n <a class="btn btn-sm green-jungle" data-ng-click="copyToClipboard(deliveryurl);"><i class="fa fa-clipboard"></i>\n </a>\n </div>\n </div>\n <!-- END DELIVERY CALLACK URL -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/sms/account/wizard/wizard.html",'\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-notebook"></i>\n <a href="/channels/sms/accounts/list">{{ \'APPLICATION_ACCOUNTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n <!-- START APPLICATION TYPE -->\n\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.type.$touched || forms.info.$submitted) && forms.info.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}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="type in [\'twilio\',\'skebby\'] | filter: $select.search">\n <div data-ng-bind="type | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.type.$touched || forms.info.$submitted) && forms.info.type.$invalid && forms.info.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n <!-- START PHONE FOR TWILLIO ACCOUNT -->\n <div ng-if= "item.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" name="phone" required/>\n <span data-ng-show="(forms.info.phone.$touched || forms.info.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE FOR TWILLIO ACCOUNT -->\n <!-- START SID -->\n <div ng-if= "item.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': ( forms.info.sid.$touched ||forms.info.$submitted) && forms.info.sid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" placeholder="{{\'APPLICATION_SID\' | translate}}" class="form-control" data-ng-model="item.sid" name="sid" required/>\n <span data-ng-show="(forms.info.sid.$touched || forms.info.$submitted) && forms.info.sid.$invalid && forms.info.sid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n <!-- START TOKEN -->\n <div ng-if= "item.type == \'twilio\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid}">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" name="token" required/>\n <span data-ng-show="(forms.info.token.$touched || forms.info.$submitted) && forms.info.token.$invalid && forms.info.token.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SID -->\n\n <!-- START SMS TYPE -->\n <div ng-if= " item.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.smstype" name="smstype" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'SMS_TYPE\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="smstype in [\'basic\',\'classic\',\'classic+\'] | filter: $select.search">\n <div data-ng-bind="smstype | highlight: $select.search | uppercase" ></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.smstype.$touched || forms.info.$submitted) && forms.info.smstype.$invalid && forms.info.smstype.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n <!-- START PHONE FOR SKEBBY ACCOUNT -->\n <div ng-if= "item.type == \'skebby\' " class="form-group" data-ng-class="{\'has-error\': ( forms.info.phone.$touched ||forms.info.$submitted) && forms.info.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true"></span></label>\n <input type="text" ng-pattern="/^[0-9]+$/" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone" name="phone" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_PHONE_NUMBER\' | translate }}\n </span>\n <span data-ng-show="(forms.info.phone.$touched || forms.info.$submitted) && forms.info.phone.$invalid && forms.info.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n <!-- START USERNAME -->\n <div ng-if= "item.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" name="username" required/>\n <span data-ng-show="(forms.info.username.$touched || forms.info.$submitted) && forms.info.username.$invalid && forms.info.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n <!-- START PASSWORD -->\n <div ng-if= "item.type == \'skebby\'" class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n <!-- START REMOTE IP -->\n <div ng-if= "item.type" class="form-group" data-ng-class="{\'has-error\': (forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remote" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remote" required/>\n <span data-ng-show="(forms.info.remote.$touched || forms.info.$submitted) && forms.info.remote.$invalid && forms.info.remote.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE IP -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/inbox/room/room.directive.html",'<!-- BEGIN TODO CONTENT -->\n\n<div class="todo-content">\n <div class="portlet light">\n <div class="portlet-title">\n <div class="caption">\n <button class="btn btn-sm btn-default green-meadow" data-ng-if="SmsRoom.status !== \'CLOSED\'" data-ng-disabled="!form.body || forms.compose.from.$invalid || forms.compose.to.$invalid" data-ng-click="sendSMS()">\n <i class="icon-paper-plane" style="color: white;"></i> {{\'APPLICATION_SEND\' | translate}}\n </button>\n <span data-ng-show="SmsRoom && SmsRoom.status !== \'CLOSED\'"> | </span>\n <span data-ng-show="SmsRoom" class="label label-default">#{{SmsRoom.id}} {{SmsRoom.status}}</span>\n <span data-ng-if="SmsRoom && SmsRoom.ParentId"> | </span>\n <span data-ng-if="SmsRoom && SmsRoom.ParentId" class="label label-warning"> Ref: <a data-ng-click="openRoom(SmsRoom.ParentId,SmsRoom.from)">#{{SmsRoom.ParentId}}</a></span>\n </div>\n <div class="actions" data-ng-switch="SmsRoom.status">\n <button class="btn btn-icon-only btn-primary" data-ng-show="SmsRoom" data-ng-click="loadAgents();" data-ng-disabled="SmsRoom.status === \'CLOSED\'">\n <i class="fa fa-user-plus"></i>\n </button>\n <button class="btn btn-icon-only" data-ng-show="SmsRoom" data-ng-class="{\'btn-success\':SmsRoom.status !== \'CLOSED\',\'grey-cascade\':SmsRoom.status === \'CLOSED\'}" data-ng-click="closeRoom(SmsRoom.id)" data-ng-disabled="SmsRoom.status === \'CLOSED\' && SmsRoom.disposition">\n <i data-ng-class="{\'fa fa-upload\':SmsRoom.status !== \'CLOSED\',\'icon-target\':SmsRoom.status === \'CLOSED\'}"></i>\n </button>\n <button class="btn default btn-icon-only" data-ng-if="SmsRoom && SmsRoom.status !== \'CLOSED\'" type="button" 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-show="panelLeft" data-ng-class="panelLeft">\n <div class="form">\n <!-- START TAGS -->\n <div class="form-group" data-ng-if="SmsRoom.status !== \'CLOSED\' || (SmsRoom.status == \'CLOSED\' && form.tags.length)">\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 data-ng-disabled="SmsRoom.status == \'CLOSED\'" multiple data-ng-model="form.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\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 <!-- END TAGS -->\n </div>\n <hr data-ng-if="SmsRoom && SmsRoom.status !== \'CLOSED\'">\n\n <div ng-scrollbars ng-scrollbars-config="{\n autoHideScrollbar: false,\n theme: \'light\',\n advanced: {\n updateOnContentResize: true\n },\n setHeight: 781,\n scrollInertia: 0\n }">\n <ul class="chats">\n <li data-ng-switch="SmsRoom.status" data-ng-class="{\'in\': smsMessage.status == \'RECEIVED\', \'out\': smsMessage.status == \'SENT\' || smsMessage.status == \'SENDING\' || smsMessage.status == \'FAILED\' || smsMessage.status == \'NOTE\' || smsMessage.status == \'DELIVERED\' || smsMessage.status == \'QUEUED\' || smsMessage.status != \'RECEIVED\' }" data-ng-repeat="smsMessage in SmsRoom.SmsMessages | orderBy:\'-createdAt\'">\n <div class="avatar" data-ng-class="smsMessage.UserId ? \'pretty-avatar\' : \'pretty-avatar-v\'">\n <ng-letter-avatar\n data-ng-if="smsMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{smsMessage.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="!smsMessage.UserId"\n height="40"\n width="40"\n fontsize="25"\n data="{{smsMessage.from}}"\n avatarcustombgcolor="#B0B0B0"\n avatarcustomborder="border:2px solid #EA4C61"\n charCount="1"\n shape="round"></ng-letter-avatar>\n </div>\n <sms message="smsMessage" list-id="SmsRoom.SmsAccount.ListId" accounttype=\'SmsRoom.SmsAccount.type\' ng-switch-default></sms>\n </li>\n </ul>\n </div>\n </div>\n <div data-ng-class="panelRight">\n <div class="note note-info" data-ng-if="SmsRoom && SmsRoom.status == \'CLOSED\'">\n <h4 class="block">Info! {{\'MESSAGE_SMS_ROOM_CLOSED\' | translate}}</h4>\n <p>\n {{\'MESSAGE_SMS_ROOM_CLOSED_DETAILS\' | translate}}.\n </p>\n <hr>\n <p>\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}: <strong>{{SmsRoom.disposition}}</strong>\n </p>\n <p>\n <i class="icon-calendar"></i> {{\'APPLICATION_UPDATED_AT\' | translate}}: <strong>{{SmsRoom.updatedAt | date:\'medium\'}}</strong> (<span am-time-ago="SmsRoom.updatedAt"></span>)\n </p>\n </div>\n <form name="forms.compose" data-ng-submit="forms.compose.$valid && sendSMS()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n\n <!-- START FROM -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.from.$invalid && forms.compose.$submitted}" data-ng-if="SmsRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">From:</label>\n </div>\n <div class="col-md-11">\n <ui-select data-ng-disabled="SmsRoom" theme="bootstrap" name="from" data-ng-model="form.from" required>\n <ui-select-match placeholder="From...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="smsAccount.phone as smsAccount in smsAccounts | filter: $select.search">\n <div data-ng-bind-html="smsAccount.name | highlight: $select.search"></div>\n <small data-ng-bind-html="smsAccount.phone | highlight: $select.search"></small>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.compose.from.$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 </div>\n </div>\n <!-- END FROM -->\n <!-- START TO -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.to.$invalid && forms.compose.$submitted}" data-ng-if="SmsRoom.status !== \'CLOSED\'">\n\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">To:</label>\n </div>\n <div class="col-md-11">\n <input type="text" ng-pattern="/^[\\+]?[0-9]+$/" name="to" class="form-control todo-taskbody-taskdesc" placeholder="To..." rows="8" data-ng-disabled="SmsRoom" data-ng-model="form.to" required>\n <span data-ng-show="forms.compose.to.$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 </div>\n </div>\n <!-- END TO -->\n <!-- START CANNED -->\n <div class="form-group" data-ng-if="SmsRoom.status !== \'CLOSED\'">\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 </div>\n </div>\n\n </div>\n <!-- END CANNED -->\n <!-- START message -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.compose.body.$invalid && forms.compose.$submitted}" data-ng-if="SmsRoom.status !== \'CLOSED\'">\n <div class="col-md-12">\n <textarea id="text" class="form-control maxlength-handler" rows="8" maxlength="160" name="body" data-ng-model="form.body" ></textarea>\n <button id="btnPost" type="button" class="btn btn-success pull-right" ng-class="{\'btn-warning\': form.body.length >= 120, \'btn-danger\': form.body.length >= 141 }">{{ 160 - form.body.length }}</button>\n <span class="help-block"> Max 160 chars</span>\n <span data-ng-show="forms.compose.body.$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 <!-- END message -->\n </div>\n </form>\n </div>\n </div>\n </div>\n </div>\n</div>\n<!-- END TODO CONTENT -->\n"),a.put("app/channels/sms/inbox/sms/info.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="initInfo()">\n <div class="form-group" ng-if="data">\n <json-formatter json="data" open="1"></json-formatter>\n </div>\n <div class="note note-warning" data-ng-hide="data">\n <p>\n {{ \'MESSAGE_NO_INFO_AVAILABLE\' | translate }}\n </p>\n </div>\n\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/inbox/sms/sms.html",'<div class="message">\n <div class="row">\n <div class="col-md-6">\n <span class="bold">From: </span>\n [<a href="" data-ng-click="openContact(smsMessage.from)">{{smsMessage.from}}</a>]\n <br>\n <span class="bold">To: </span>\n [<a href="" data-ng-click="openContact(smsMessage.to)">{{smsMessage.to}}</a>]\n <br>\n </div>\n <div class="col-md-6">\n <span class="pull-right" data-ng-if="smsMessage.User">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>{{smsMessage.User.fullname}}</strong></span>\n <span class="pull-right" data-ng-if="smsMessage.source">{{\'APPLICATION_SENT_BY\' | translate}}: <strong>Cally ²</strong>\n <a ng-click="info(smsMessage.source)"><i class="icon-info font-blue"></i>\n </a>\n </div>\n </div>\n\n <br>\n <span class="todo-tasklist-date">\n <span class="pull-right" data-ng-switch="smsMessage.status">\n <a ng-switch-when="RECEIVED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{smsMessage.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENT" href="#" class="btn default btn-xs inactive-link green-stripe"> {{smsMessage.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="DELIVERED" href="#" class="btn default btn-xs inactive-link green-stripe"> {{smsMessage.status | uppercase}}\n <i class="fa fa-check"></i>\n </a>\n <a ng-switch-when="SENDING" href="#" class="btn default btn-xs inactive-link blue-stripe" > {{smsMessage.status | uppercase}}\n <i class="fa fa-warning"></i>\n </a>\n <a ng-switch-when="FAILED" href="#" class="btn default btn-xs red-stripe" data-ng-click="info(null,smsMessage.res_data)"> {{smsMessage.status | uppercase}}\n <i class="fa fa-times"></i>\n </a>\n <a ng-switch-default href="#" class="btn default btn-xs"> {{smsMessage.status | uppercase}}\n </a>\n <br>\n <!-- <a ng-href="https://www.twilio.com/docs/errors/{{smsMessage.errorcode}}" target="_blank" ng-if="(smsMessage.errorcode) && (accounttype==\'twilio\')">Error Code:{{smsMessage.errorcode}}</a>\n <a ng-href="{{smsMessage.errorcode.length > 2 ? \'http://www.skebby.com/sms-api/sms-gateway/developers-docs/#receiveNotifySection\' : \'http://www.skebby.com/sms-api/sms-gateway/developers-docs/#errorCodesSection\'}}" target="_blank" ng-if="(smsMessage.errorcode != 1) && (smsMessage.errorcode) && (accounttype==\'skebby\')">Error Code:{{smsMessage.errorcode}}</a> -->\n </span>\n\n <i class="icon-calendar"></i> <span am-time-ago="smsMessage.updatedAt"></span>\n </span>\n <hr>\n <span class="body text-left" data-ng-bind-html="smsMessage.body" style="white-space: pre-wrap;"></span>\n\n </div>\n'),a.put("app/channels/sms/inbox/view/account/list/list.html",'<!-- BEGIN Portlet PORTLET-->\n<div class="portlet light" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption">\n <div class="btn-group btn-group-solid" data-ng-show="!isAgent">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'NEW\'" uib-uncheckable>NEW</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'OPEN\'" uib-uncheckable>OPEN</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'CLOSED\'" uib-uncheckable>CLOSED</button>\n </div>\n <div class="btn-group btn-group-solid">\n <button type="button" class="btn btn-sm default" data-ng-model="query.status" uib-btn-radio="\'UNMANAGED\'" uib-uncheckable>UNMANAGED</button>\n </div>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only default" data-ng-click="getPage();">\n <i class="fa fa-refresh"></i>\n </a>\n <a href="#" class="btn btn-icon-only red" data-ng-click="deleteItems();" data-ng-show="id.length && isAdmin">\n <i class="fa fa-trash"></i>\n </a>\n <a href="#" class="btn btn-icon-only blue" data-ng-click="tagItems();" data-ng-show="id.length">\n <i class="fa fa-tags"></i>\n </a>\n <a href="#" class="btn btn-icon-only green" data-ng-click="openRoom(null, \'New Message\')">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-title" data-ng-show="tags.length">\n <!-- START TAGS -->\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="query.tags" theme="bootstrap" on-select="onChanged($item, $model)" on-remove="onChanged($item, $model)">\n <ui-select-match placeholder="Search by tag...">{{$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 </div>\n </div>\n <!-- END TAGS -->\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n\n <!-- START TABLE -->\n <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-inbox">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END Portlet PORTLET-->\n'),a.put("app/channels/sms/inbox/view/view.agents.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_AGENTS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TRANSPORT -->\n <div class="form-group">\n <ui-select multiple name="agents" data-ng-model="item.agents" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_AGENTS\' | translate}}">{{$item.fullname}}</ui-select-match>\n <ui-select-choices repeat="agent.id as agent in agents | filter: $select.search">\n {{agent.fullname}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TRANSPORT -->\n </form>\n </div>\n <!-- END TRANSPORT -->\n</div>\n<div class="modal-footer">\n <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>\n</div>\n'),a.put("app/channels/sms/inbox/view/view.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-note"></i>\n <a href="/channels/sms/inbox/list">{{ \'APPLICATION_INBOX\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row inbox" data-ng-init="initView()">\n <div class="col-md-3">\n <ul class="inbox-nav margin-bottom-10">\n <li data-ng-class="{active: $stateParams.id == smsAccount.id}" data-ng-repeat="smsAccount in smsAccounts">\n <a href="/channels/sms/inbox/view/account/{{smsAccount.id}}/list" class="btn">\n <i class="icon-notebook"></i> {{smsAccount.name}}\n </a>\n <b></b>\n </li>\n </ul>\n </div>\n\n <div class="col-md-9" >\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view>\n <div class="note note-info">\n <h4 class="block">Info! {{\'APPLICATION_NO_ACCOUNT_SELECTED\' | translate}}</h4>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/inbox/view/view.status.modal.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text && !closed" ng-bind="modal.text | translate"></p>\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SMS_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'), +a.put("app/channels/sms/inbox/view/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 <!-- START TRANSPORT -->\n <div class="form-group">\n <form name="form" novalidate>\n <!-- START TAGS -->\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 <!-- END TAGS -->\n </form>\n </div>\n <!-- END TRANSPORT -->\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 <!-- <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> -->\n</div>\n'),a.put("app/channels/sms/inbox/view/view.templates.modal.html",'<div class="modal-header" data-ng-init="initModal()">\n <h3 class="modal-title">{{ \'APPLICATION_TEMPLATES\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="note note-info" data-ng-show="!templates.length">\n <h4 class="block">Info!</h4>\n <p>\n {{\'MESSAGE_NO_TEMPLATES_AVAILABLE\' | translate}}\n </p>\n </div>\n <form name="form" data-ng-show="templates.length" novalidate>\n <div class="form-group">\n <ui-select data-ng-model="item.template" theme="bootstrap">\n <ui-select-match placeholder="Select a template in the list or search his name...">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template in templates | propsFilter: {name: $select.search}">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n <small data-ng-show="template.description">\n {{\'APPLICATION_DESCRIPTION\' | translate}}: {{template.description}}\n </small>\n </ui-select-choices>\n </ui-select>\n </div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="templates.length">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$invalid && form.name.$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.name.$touched || form.$submitted) && form.name.$invalid && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.strategy.$touched || form.$submitted) && form.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.strategy.$touched || form.$submitted) && form.strategy.$invalid && form.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.timeout.$touched || form.$submitted) && form.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="Timeout" class="form-control" data-ng-model="item.timeout" required min="1"/>\n <span data-ng-show="(form.timeout.$touched || form.$submitted) && form.timeout.$invalid && form.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\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/sms/queue/list/list.html",'<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/sms/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.sms.queues.view.settings\')}">\n <a data-ng-href="/channels/sms/queues/view/{{queue.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.sms.queues.view.agents\')}">\n <a data-ng-href="/channels/sms/queues/view/{{queue.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateSmsQueue()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="queue.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}</label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | uppercase}}</ui-select-match>\n <ui-select-choices repeat="strategy in strategies | filter: $select.search">\n <div ng-bind-html="strategy | uppercase | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START TIMEOUT -->\n <div class="form-group">\n <label class="control-label">Timeout</label>\n <input type="number" name="timeout" placeholder="Timeout" class="form-control" min="1" data-ng-model="queue.timeout"/>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="queue.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/sms/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/sms/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.id as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/sms/realtime/view/application/application.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initApplications()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="glyphicon glyphicon-comment"></i>\n <a href="#">{{ \'APPLICATION_SMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="#">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.sms.realtime.view.agents\')}">\n <a href="/channels/sms/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.sms.realtime.view.applications\')}">\n <a href="/channels/sms/realtime/view/applications">\n {{\'APPLICATION_APPLICATIONS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/sms/realtime/view/view.queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div id="grid1" ui-grid="gridOptions" ui-grid-resize-columns ui-grid-tree-view class="grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/chanspy/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_CHANSPY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.prefix.$touched || form.$submitted) && form.prefix.$invalid}">\n <label class="control-label">{{\'APPLICATION_PREFIX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="prefix" placeholder="{{\'APPLICATION_PREFIX\' | translate}}" class="form-control" data-ng-model="item.prefix" required/>\n <span data-ng-show="(form.prefix.$touched || form.$submitted) && form.prefix.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.options.$touched || form.$submitted) && form.options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="item.options" name="options" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.value}}: {{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="option.value as option in options | filter: $select.search">\n <div ng-bind-html="option.value + \': \' + (option.name | translate) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.options.$touched || form.$submitted) && form.options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START AUTH -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTH\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="item.auth"\n type="checkbox"\n name="auth"\n data-ng-init="item.auth = 0"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END AUTH -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.password.$touched || form.$submitted) && form.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span data-ng-show="item.auth" class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" data-ng-disabled="!item.auth" data-ng-required="item.auth"/>\n <span data-ng-show="(form.password.$touched || form.$submitted) && form.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/voice/chanspy/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-magnifier"></i>\n <a href="/channels/voice/chanspys/list">{{ \'APPLICATION_CHANSPY\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CHANSPY\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CHANSPY\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/chanspy/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getChanSpy()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-eye"></i>\n <a href="/channels/voice/chanspys/list">{{ \'APPLICATION_CHANSPY\' | translate }}</a>\n <i data-ng-show="chanspy" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="chanspy">\n <a href="#">{{chanspy.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/chanspy.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{chanspy.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.chanspy.view.settings\')}">\n <a data-ng-href="/tools/chanspy/view/{{chanspy.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/chanspy/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_CHANSPY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateChanSpy()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="chanspy.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.general.prefix.$touched || form.general.$submitted) && form.general.prefix.$invalid}">\n <label class="control-label">{{\'APPLICATION_PREFIX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="prefix" placeholder="{{\'APPLICATION_PREFIX\' | translate}}" class="form-control" data-ng-model="chanspy.prefix" required/>\n <span data-ng-show="(form.general.prefix.$touched || form.general.$submitted) && form.general.prefix.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.general.options.$touched || form.general.$submitted) && form.general.options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="chanspy.options" name="options" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.value}}: {{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="option.value as option in options | filter: $select.search">\n <div ng-bind-html="option.value + \': \' + (option.name | translate) | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form.general.options.$touched || form.general.$submitted) && form.general.options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START AUTH -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTH\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="chanspy.auth"\n type="checkbox"\n name="auth"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END AUTH -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.general.password.$touched || form.general.$submitted) && form.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" data-ng-show="chanspy.auth" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="chanspy.password" data-ng-disabled="!chanspy.auth" data-ng-required="chanspy.auth"/>\n <span data-ng-show="(form.general.password.$touched || form.general.$submitted) && form.general.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START DESCRIPTION -->\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="chanspy.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/voice/context/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_CONTEXT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-disabled="form.$invalid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/context/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_CONTEXTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONTEXTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTEXT\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/context/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getContext()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/voice/contexts/list">{{ \'APPLICATION_CONTEXTS\' | translate }}</a>\n <i data-ng-show="context" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="context">\n <a href="#">{{context.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/context.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{context.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.contexts.view.settings\')}">\n <a data-ng-href="/channels/voice/contexts/view/{{context.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/context/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_CONTEXT\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceContext()" novalidate>\n\n <!-- START NAME -->\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="context.name" required readonly/>\n <span class="help-block">\n {{ \'DESCRIPTION_CANT_EDIT_NAME\' | translate }}\n </span>\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="context.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/disposition/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-target"></i>\n <a href="/channels/voice/dispositions/list">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <a href="#" class="btn btn-icon-only green" data-ng-click="addDisposition();">\n <i class="fa fa-plus"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <div class="row" data-ng-hide="dispositions.length">\n <div class="col-md-12">\n <div class="note note-info">\n <h4 class="block">Info! {{\'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate}}</h4>\n </div>\n </div>\n </div>\n\n <!-- GENERAL TAB -->\n <div class="row" data-ng-repeat="disposition in dispositions">\n <div class="col-md-12 form-group">\n <div class="input-group">\n <div>\n <input class="form-control" type="text" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" data-ng-model="disposition.name">\n </div>\n <span class="input-group-btn">\n <button class="btn btn-success" type="button" data-ng-click="updateDisposition(disposition.id, disposition.name);"><i class="fa fa-cloud-upload fa-fw"></i> {{\'APPLICATION_UPDATE\' | translate}}</button>\n <button class="btn btn-danger" type="button" data-ng-click="deleteDisposition(disposition.id);"><i class="fa fa-times fa-fw"></i> {{\'APPLICATION_DELETE\' | translate}}</button>\n </span>\n </div>\n </div>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/disposition/list/modal/add.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_DISPOSITIONS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.form.$touched || form.$submitted) && form.form.$invalid}">\n <div class="">\n <input type="text" name="form" placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}" class="form-control" data-ng-model="name" required/>\n <span data-ng-show="form.form.$touched && form.form.$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 <!-- END NAME -->\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" data-ng-click="ok()" data-ng-show="form.$valid">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" data-ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/moh/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_MOH_CLASS\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" 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/voice/moh/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-music-tone"></i>\n <a href="#">{{ \'APPLICATION_MOHS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-music-tone font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MOHS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_MOH_CLASS\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/moh/view/view.addFiles.html",'\n<div class="row" data-ng-init="getSounds()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MOH\' | translate }} {{ \'APPLICATION_ADD_FILES\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="note note-warning" data-ng-hide="soundList.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <form name="forms.general" data-ng-submit="(item.sounds.length > 0) && addMohs()" data-ng-show="soundList.length" novalidate>\n\n <!-- START SOUNDS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sounds.$touched || forms.general.$submitted) && item.sounds.length == 0}">\n <label class="control-label">{{\'APPLICATION_SOUNDS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="item.sounds" theme="bootstrap" name="sounds" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.display_name}}</ui-select-match>\n <ui-select-choices repeat="sound.id as sound in soundList | filter: $select.search">\n {{sound.display_name}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.sounds.$touched || forms.general.$submitted) && item.sounds.length == 0" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <input type="submit" class="btn green-haze" value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </form>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/moh/view/view.audios.html",'<div ui-view class="profile-content">\n<div class="row" data-ng-init="getAudioFiles()">\n <div class="col-md-12">\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_AUDIOS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="audioFiles">\n <a class="btn green-jungle " href="/channels/voice/mohs/view/{{moh.id}}/add" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_ADD_FILES\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <div class="note note-warning" data-ng-hide="audioFiles">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_FOLDER_DOES_NOT_EXIST\' | translate }}\n </p>\n </div>\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover" data-ng-show="audioFiles">\n <thead>\n <tr>\n <th>{{ \'APPLICATION_NAME\' | translate }}</th>\n <th width="30%">{{ \'APPLICATION_PREVIEW\' | translate }}</th>\n <th width="10%">{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody data-ng-model="audioFiles">\n <tr data-ng-repeat="audiofile in audioFiles">\n <td>{{audiofile}}</td>\n <td>\n <audio controls ng-src="{{getSecureSrc(audioSources[audiofile])}}" preload="none">\n Your browser does not support the audio tag.\n </audio></td>\n <td>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(audiofile,audiofile)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="audioFiles.length">\n <td colspan="3" style="text-align:center;">\n <i>{{ \'MESSAGE_NO_AUDIOFILES_AVAILABLE\' | translate }}</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/moh/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getMoh()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-music-tone"></i>\n <a href="/channels/voice/mohs/list">{{ \'APPLICATION_MOH_CLASS\' | translate }}</a>\n <i data-ng-show="moh" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="moh">\n <a href="#">{{moh.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/moh.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{moh.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.mohs.view.settings\')}">\n <a data-ng-href="/channels/voice/mohs/view/{{moh.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.voice.mohs.view.audios\') || $state.is(\'main.channels.voice.mohs.view.add\')}">\n <a data-ng-href="/channels/voice/mohs/view/{{moh.id}}/audios">\n <i class="icon-list"></i>\n {{ \'APPLICATION_AUDIOS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/moh/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_MOH_CLASS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceMoh()" novalidate>\n\n <!-- START PATH -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_PATH\' | translate}}</label>\n <input type="text" name="path" class="form-control" data-ng-model="moh.directory" disabled/>\n </div>\n <!-- END PATH -->\n\n <!-- START SORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.sort.$touched || forms.general.$submitted) && forms.general.sort.$invalid}">\n <label class="control-label">{{\'APPLICATION_SORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="moh.sort" theme="bootstrap" name="sort" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$translate.instant($select.selected.name)}}</ui-select-match>\n <ui-select-choices repeat="sort.value as sort in sortOptions | filter: $select.search">\n {{$translate.instant(sort.name)}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.sort.$touched || forms.general.$submitted) && forms.general.sort.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SORT -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.description.$invalid}">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <textarea type="text" name="description" class="form-control" data-ng-model="moh.description"/></textarea>\n <span data-ng-show="forms.general.$submitted && forms.general.description.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/queue/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.queue.name.$touched || form.queue.$submitted) && form.queue.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" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(form.queue.name.$touched || form.queue.$submitted) && form.queue.name.$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.queue.name.$touched || form.queue.$submitted) && form.queue.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.queue.strategy.$touched || form.queue.$submitted) && form.queue.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'ringall\', \'leastrecent\', \'fewestcalls\', \'random\', \'rrmemory\', \'linear\', \'wrandom\', \'rrordered\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n </span>\n <span data-ng-show="(form.queue.strategy.$touched || form.queue.$submitted) && form.queue.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/voice/queue/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUEUES\' | translate }}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_QUEUE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/queue/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4><p>{{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}</p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <label for="penalty">{{\'APPLICATION_PENALTY\' | translate}}</label>\n <div class="input-group input-small mbottom20">\n <input type="number" class="spinner-input form-control" maxlength="3" data-ng-model="queue.penalty" readonly>\n <div class="spinner-buttons input-group-btn btn-group-vertical">\n <button type="button" class="btn spinner-up btn-xs blue" data-ng-click="queue.penalty=queue.penalty+1">\n <i class="fa fa-angle-up"></i>\n </button>\n <button type="button" class="btn spinner-down btn-xs blue" data-ng-disabled="!queue.penalty" data-ng-click="queue.penalty=queue.penalty-1">\n <i class="fa fa-angle-down"></i>\n </button>\n </div>\n </div>\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/voice/queue/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getQueue()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/channels/voice/queues/list">{{ \'APPLICATION_QUEUES\' | translate }}</a>\n <i data-ng-show="queue" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="queue">\n <a href="#">{{queue.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/queue.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{queue.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.queues.view.settings\')}">\n <a data-ng-href="/channels/voice/queues/view/{{queue.name}}/settings"> <i class="icon-settings"></i> {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.voice.queues.view.agents\')}" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <a data-ng-href="/channels/voice/queues/view/{{queue.name}}/agents"><i class="icon-people"></i>{{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/queue/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_QUEUE_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_PERIODIC_ANNOUNCE\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();getMohs();getSounds();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceQueue()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START STRATEGY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$invalid}">\n <label class="control-label">{{\'APPLICATION_STRATEGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.strategy" name="strategy" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.toUpperCase()}}</ui-select-match>\n <ui-select-choices repeat="strategy in [\'ringall\', \'leastrecent\', \'fewestcalls\', \'random\', \'rrmemory\', \'linear\', \'wrandom\', \'rrordered\'] | filter: $select.search">\n <div ng-bind-html="strategy.toUpperCase() | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_STRATEGY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.strategy.$touched || forms.general.$submitted) && forms.general.strategy.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STRATEGY -->\n\n <!-- START MOH -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.musiconhold.$touched || forms.general.$submitted) && forms.general.musiconhold.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOH\' | translate}}</label>\n <ui-select data-ng-model="queue.musiconhold" name="musiconhold" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="musiconhold.name as musiconhold in voiceMohs | filter: $select.search">\n <div ng-bind-html="musiconhold.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_VOICE_MOH\' | translate }}\n </span>\n <span data-ng-show="(forms.general.musiconhold.$touched || forms.general.$submitted) && forms.general.musiconhold.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MOH -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="timeout" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}}" class="form-control" data-ng-model="queue.timeout" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_TIMEOUT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.timeout.$touched || forms.general.$submitted) && forms.general.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START MAXLEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.maxlen.$touched || forms.general.$submitted) && forms.general.maxlen.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAXLEN\' | translate}}</label>\n <input type="number" min="0" name="maxlen" placeholder="{{\'APPLICATION_MAXLEN\' | translate}}" class="form-control" data-ng-model="queue.maxlen" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MAXLEN\' | translate }}\n </span>\n <span data-ng-show="(forms.general.maxlen.$touched || forms.general.$submitted) && forms.general.maxlen.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAXLEN -->\n\n <!-- START RETRY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.retry.$touched || forms.general.$submitted) && forms.general.retry.$invalid}">\n <label class="control-label">{{\'APPLICATION_RETRY\' | translate}}</label>\n <input type="number" min="0" name="retry" placeholder="{{\'APPLICATION_RETRY\' | translate}}" class="form-control" data-ng-model="queue.retry" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_RETRY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.retry.$touched || forms.general.$submitted) && forms.general.retry.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RETRY -->\n\n </div>\n <div class="col-md-6">\n <!-- START WRAPUPTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.wrapuptime.$touched || forms.general.$submitted) && forms.general.wrapuptime.$invalid}">\n <label class="control-label">{{\'APPLICATION_WRAPUPTIME\' | translate}}</label>\n <input type="number" min="0" name="wrapuptime" placeholder="{{\'APPLICATION_WRAPUPTIME\' | translate}}" class="form-control" data-ng-model="queue.wrapuptime" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_WRAPUPTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.general.wrapuptime.$touched || forms.general.$submitted) && forms.general.wrapuptime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WRAPUPTIME -->\n\n <!-- START WEIGHT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.weight.$touched || forms.general.$submitted) && forms.general.weight.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEIGHT\' | translate}}</label>\n <input type="number" min="0" name="weight" placeholder="{{\'APPLICATION_WEIGHT\' | translate}}" class="form-control" data-ng-model="queue.weight" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_WEIGHT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.weight.$touched || forms.general.$submitted) && forms.general.weight.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEIGHT -->\n\n <!-- START JOINEMPTY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.joinempty.$touched || forms.general.$submitted) && forms.general.joinempty.$invalid}">\n <label class="control-label">{{\'APPLICATION_JOINEMPTY\' | translate}}</label>\n <ui-select multiple data-ng-model="queue.joinempty" name="joinempty" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'strict\',\'loose\',\'paused\',\'penalty\',\'inuse\',\'ringing\',\'unavailable\',\'invalid\',\'unknown\',\'wrapup\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_JOINEMPTY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.joinempty.$touched || forms.general.$submitted) && forms.general.joinempty.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END JOINEMPTY -->\n\n <!-- START LEAVEWHENEMPTY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.leavewhenempty.$touched || forms.general.$submitted) && forms.general.leavewhenempty.$invalid}">\n <label class="control-label">{{\'APPLICATION_LEAVEWHENEMPTY\' | translate}}</label>\n <ui-select multiple data-ng-model="queue.leavewhenempty" name="leavewhenempty" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'strict\',\'loose\',\'paused\',\'penalty\',\'inuse\',\'ringing\',\'unavailable\',\'invalid\',\'unknown\',\'wrapup\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_LEAVEWHENEMPTY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.leavewhenempty.$touched || forms.general.$submitted) && forms.general.leavewhenempty.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END LEAVEWHENEMPTY -->\n\n <!-- START ANNOUNCE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.announce.$touched || forms.general.$submitted) && forms.general.announce.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.announce" name="announce" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in sounds | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.announce.$touched || forms.general.$submitted) && forms.general.announce.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE -->\n </div>\n </div>\n <!-- START DESCRIPTION -->\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="queue.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.announce" data-ng-submit="forms.announce.$valid && updateVoiceQueue()" novalidate>\n <div class="row">\n <div class="col-md-12">\n <!-- START PERIODIC_ANNOUNCE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.periodic_announce.$touched || forms.announce.$submitted) && forms.announce.periodic_announce.$invalid}">\n <label class="control-label">{{\'APPLICATION_PERIODIC_ANNOUNCE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="queue.periodic_announce" name="periodic_announce" theme="bootstrap" data-ng-disabled="!periodicAnnounces.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in periodicAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="periodicAnnounces.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.periodic_announce.$touched || forms.announce.$submitted) && forms.announce.periodic_announce.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PERIODIC_ANNOUNCE -->\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <p><h3>{{\'APPLICATION_SETTINGS\' | translate}}</h3></p>\n <!-- START ANNOUNCE_FREQUENCY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_frequency.$touched || forms.announce.$submitted) && forms.announce.announce_frequency.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_FREQUENCY\' | translate}}</label>\n <input type="number" min="0" name="announce_frequency" placeholder="{{\'APPLICATION_ANNOUNCE_FREQUENCY\' | translate}}" class="form-control" data-ng-model="queue.announce_frequency" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_FREQUENCY\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_frequency.$touched || forms.announce.$submitted) && forms.announce.announce_frequency.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_FREQUENCY -->\n\n <!-- START MIN_ANNOUNCE_FREQUENCY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.min_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.min_announce_frequency.$invalid}">\n <label class="control-label">{{\'APPLICATION_MIN_ANNOUNCE_FREQUENCY\' | translate}}</label>\n <input type="number" min="0" name="min_announce_frequency" placeholder="{{\'APPLICATION_MIN_ANNOUNCE_FREQUENCY\' | translate}}" class="form-control" data-ng-model="queue.min_announce_frequency" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MIN_ANNOUNCE_FREQUENCY\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.min_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.min_announce_frequency.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MIN_ANNOUNCE_FREQUENCY -->\n\n <!-- START PERIODIC_ANNOUNCE_FREQUENCY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.periodic_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.periodic_announce_frequency.$invalid}">\n <label class="control-label">{{\'APPLICATION_PERIODIC_ANNOUNCE_FREQUENCY\' | translate}}</label>\n <input type="number" min="0" name="periodic_announce_frequency" placeholder="{{\'APPLICATION_PERIODIC_ANNOUNCE_FREQUENCY\' | translate}}" class="form-control" data-ng-model="queue.periodic_announce_frequency"/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_PERIODIC_ANNOUNCE_FREQUENCY\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.periodic_announce_frequency.$touched || forms.announce.$submitted) && forms.announce.periodic_announce_frequency.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PERIODIC_ANNOUNCE_FREQUENCY -->\n\n <!-- START RANDOM_PERIODIC_ANNOUNCE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.random_periodic_announce.$touched || forms.announce.$submitted) && forms.announce.random_periodic_announce.$invalid}">\n <label class="control-label">{{\'APPLICATION_RANDOM_PERIODIC_ANNOUNCE\' | translate}}</label>\n <ui-select data-ng-model="queue.random_periodic_announce" name="random_periodic_announce" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_RANDOM_PERIODIC_ANNOUNCE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.random_periodic_announce.$touched || forms.announce.$submitted) && forms.announce.random_periodic_announce.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RANDOM_PERIODIC_ANNOUNCE -->\n\n <!-- START ANNOUNCE_HOLDTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_holdtime.$touched || forms.announce.$submitted) && forms.announce.announce_holdtime.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_HOLDTIME\' | translate}}</label>\n <ui-select data-ng-model="queue.announce_holdtime" name="announce_holdtime" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'once\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_HOLDTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_holdtime.$touched || forms.announce.$submitted) && forms.announce.announce_holdtime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_HOLDTIME -->\n\n <!-- START ANNOUNCE_POSITION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_position.$touched || forms.announce.$submitted) && forms.announce.announce_position.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_POSITION\' | translate}}</label>\n <ui-select data-ng-model="queue.announce_position" name="announce_position" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'limit\',\'more\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_position.$touched || forms.announce.$submitted) && forms.announce.announce_position.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_POSITION -->\n\n <!-- START ANNOUNCE_POSITION_LIMIT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.announce_position_limit.$touched || forms.announce.$submitted) && forms.announce.announce_position_limit.$invalid}">\n <label class="control-label">{{\'APPLICATION_ANNOUNCE_POSITION_LIMIT\' | translate}}</label>\n <input type="number" min="0" name="announce_position_limit" placeholder="{{\'APPLICATION_ANNOUNCE_POSITION_LIMIT\' | translate}}" class="form-control" data-ng-model="queue.announce_position_limit"/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_ANNOUNCE_POSITION_LIMIT\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.announce_position_limit.$touched || forms.announce.$submitted) && forms.announce.announce_position_limit.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ANNOUNCE_POSITION_LIMIT -->\n\n <!-- START REPORTHOLDTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.reportholdtime.$touched || forms.announce.$submitted) && forms.announce.reportholdtime.$invalid}">\n <label class="control-label">{{\'APPLICATION_REPORTHOLDTIME\' | translate}}</label>\n <ui-select data-ng-model="queue.reportholdtime" name="reportholdtime" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_REPORTHOLDTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.reportholdtime.$touched || forms.announce.$submitted) && forms.announce.reportholdtime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORTHOLDTIME -->\n\n </div>\n <div class="col-md-6">\n <p><h3>{{\'APPLICATION_SOUNDS\' | translate}}</h3></p>\n <!-- START QUEUE_REPORTHOLD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_reporthold.$touched || forms.announce.$submitted) && forms.announce.queue_reporthold.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_REPORTHOLD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_reporthold" name="queue_reporthold" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_REPORTHOLD\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_reporthold.$touched || forms.announce.$submitted) && forms.announce.queue_reporthold.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_REPORTHOLD -->\n\n <!-- START QUEUE_YOUARENEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_youarenext.$touched || forms.announce.$submitted) && forms.announce.queue_youarenext.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_YOUARENEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_youarenext" name="queue_youarenext" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_YOUARENEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_youarenext.$touched || forms.announce.$submitted) && forms.announce.queue_youarenext.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_YOUARENEXT -->\n\n <!-- START QUEUE_THEREARE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_thereare.$touched || forms.announce.$submitted) && forms.announce.queue_thereare.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_THEREARE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_thereare" name="queue_thereare" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_THEREARE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_thereare.$touched || forms.announce.$submitted) && forms.announce.queue_thereare.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_THEREARE -->\n\n <!-- START QUEUE_CALLSWAITING -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_callswaiting.$touched || forms.announce.$submitted) && forms.announce.queue_callswaiting.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_CALLSWAITING\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_callswaiting" name="queue_callswaiting" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_CALLSWAITING\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_callswaiting.$touched || forms.announce.$submitted) && forms.announce.queue_callswaiting.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_CALLSWAITING -->\n\n <!-- START QUEUE_HOLDTIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_holdtime.$touched || forms.announce.$submitted) && forms.announce.queue_holdtime.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_HOLDTIME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_holdtime" name="queue_holdtime" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_HOLDTIME\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_holdtime.$touched || forms.announce.$submitted) && forms.announce.queue_holdtime.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_HOLDTIME -->\n\n <!-- START QUEUE_MINUTES -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_minutes.$touched || forms.announce.$submitted) && forms.announce.queue_minutes.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_MINUTES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_minutes" name="queue_minutes" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MINUTES\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_minutes.$touched || forms.announce.$submitted) && forms.announce.queue_minutes.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_MINUTES -->\n\n <!-- START QUEUE_MINUTE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_minute.$touched || forms.announce.$submitted) && forms.announce.queue_minute.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_MINUTE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_minute" name="queue_minute" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MINUTE\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_minute.$touched || forms.announce.$submitted) && forms.announce.queue_minute.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_MINUTE -->\n\n <!-- START QUEUE_SECONDS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_seconds.$touched || forms.announce.$submitted) && forms.announce.queue_seconds.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_SECONDS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_seconds" name="queue_seconds" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_SECONDS\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_seconds.$touched || forms.announce.$submitted) && forms.announce.queue_seconds.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_SECONDS -->\n\n <!-- START QUEUE_THANKYOU -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.announce.queue_thankyou.$touched || forms.announce.$submitted) && forms.announce.queue_thankyou.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE_THANKYOU\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.queue_thankyou" name="QUEUE_THANKYOU" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="returnAnnouncePath(announce) as announce in queueAnnounces | filter: $select.search">\n <div ng-bind-html="announce.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_THANKYOU\' | translate }}\n </span>\n <span data-ng-show="(forms.announce.queue_thankyou.$touched || forms.announce.$submitted) && forms.announce.queue_thankyou.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE_THANKYOU -->\n\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.advanced" data-ng-submit="forms.advanced.$valid && updateVoiceQueue()" novalidate>\n\n <div class="row">\n <div class="col-md-6">\n\n <!-- START AUTOPAUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.autopause.$touched || forms.advanced.$submitted) && forms.advanced.autopause.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTOPAUSE\' | translate}}</label>\n <ui-select data-ng-model="queue.autopause" name="autopause" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\',\'all\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_AUTOPAUSE\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.autopause.$touched || forms.advanced.$submitted) && forms.advanced.autopause.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUTOPAUSE -->\n\n <!-- START RINGINUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.ringinuse.$touched || forms.advanced.$submitted) && forms.advanced.ringinuse.$invalid}">\n <label class="control-label">{{\'APPLICATION_RINGINUSE\' | translate}}</label>\n <ui-select data-ng-model="queue.ringinuse" name="ringinuse" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_RINGINUSE\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.ringinuse.$touched || forms.advanced.$submitted) && forms.advanced.ringinuse.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RINGINUSE -->\n\n <!-- START MEMBER_DELAY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.memberdelay.$touched || forms.advanced.$submitted) && forms.advanced.memberdelay.$invalid}">\n <label class="control-label">{{\'APPLICATION_MEMBER_DELAY\' | translate}}</label>\n <input type="number" min="0" name="memberdelay" placeholder="{{\'APPLICATION_MEMBER_DELAY\' | translate}}" class="form-control" data-ng-model="queue.memberdelay" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MEMBER_DELAY\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.memberdelay.$touched || forms.advanced.$submitted) && forms.advanced.memberdelay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MEMBER_DELAY -->\n\n <!-- START ACW -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.acw.$touched || forms.advanced.$submitted) && forms.advanced.acw.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACW\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="queue.acw"\n type="checkbox"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n <span class="help-block">\n {{ \'DESCRIPTION_ACW\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.acw.$touched || forms.advanced.$submitted) && forms.advanced.acw.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_ACW\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ACW -->\n\n </div>\n <div class="col-md-6">\n\n <!-- START TIMEOUTRESTART -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.timeoutrestart.$touched || forms.advanced.$submitted) && forms.advanced.timeoutrestart.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUTRESTART\' | translate}}</label>\n <ui-select data-ng-model="queue.timeoutrestart" name="timeoutrestart" theme="bootstrap">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_TIMEOUTRESTART\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.timeoutrestart.$touched || forms.advanced.$submitted) && forms.advanced.timeoutrestart.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUTRESTART -->\n\n <!-- START MONITOR_FORMAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.monitor_format.$touched || forms.advanced.$submitted) && forms.advanced.monitor_format.$invalid}">\n <label class="control-label">{{\'APPLICATION_MONITOR_FORMAT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="queue.monitor_format" name="monitor_format" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="monFormat.value as monFormat in monitorFormats | filter: $select.search">\n <div ng-bind-html="monFormat.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_MONITOR_FORMAT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.monitor_format.$touched || forms.advanced.$submitted) && forms.advanced.monitor_format.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MONITOR_FORMAT -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.context.$touched || forms.advanced.$submitted) && forms.advanced.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}</label>\n <ui-select data-ng-model="queue.context" name="context" theme="bootstrap">\n <ui-select-match allow-clear placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_QUEUE_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.context.$touched || forms.advanced.$submitted) && forms.advanced.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START ACW_TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.acwTimeout.$touched || forms.advanced.$submitted) && forms.advanced.acwTimeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACW_TIMEOUT\' | translate}}</label>\n <input type="number" min="0" name="acwTimeout" placeholder="{{\'APPLICATION_ACW_TIMEOUT\' | translate}}" class="form-control" data-ng-model="queue.acwTimeout" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_ACW_TIMEOUT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.acwTimeout.$touched || forms.advanced.$submitted) && forms.advanced.acwTimeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ACW_TIMEOUT -->\n\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/voice/realtime/view/agent/agent.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/agent/agent.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="agent.ipaddr" class="well">\n <div>{{agent.ipaddr}}:{{agent.port}}</div>\n <div>{{agent.fullcontact}}</div>\n <div>{{agent.useragent}}</div>\n <div>{{agent.lastms}}</div>\n</div>\n<div data-ng-if="!agent.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/realtime/view/agent/queue.modal.add.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_JOIN_QUEUE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <div class="form-group row">\n <label class="col-md-2 control-label" style="margin-top: 7px;">{{\'APPLICATION_QUEUE\' | translate}}:</label>\n <div class="col-md-10">\n <ui-select multiple ng-model="item.queues" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_QUEUE\' | translate}}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in queues | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n</div>\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/voice/realtime/view/outbound/outbound.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initDials()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/parameter/parameter.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initParameters()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-tree-view ui-grid-expandable-row ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/queue/queue.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initQueues()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/telephone/telephone.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initTelephones()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/realtime/view/telephone/telephone.modal.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_INTERFACE_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n<div data-ng-if="telephone.ipaddr" class="well">\n <div>{{telephone.ipaddr}}:{{telephone.port}}</div>\n <div>{{telephone.fullcontact}}</div>\n <div>{{telephone.useragent}}</div>\n <div>{{telephone.lastms}}</div>\n</div>\n<div data-ng-if="!telephone.ipaddr" class="alert alert-danger" role="alert">\n {{\'MESSAGE_NO_AVAILABLE_INFO\' | translate}}\n</div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/channels/voice/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-directions"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="/channels/voice/realtime/view/agents">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.agents\')}">\n <a href="/channels/voice/realtime/view/agents">\n {{\'APPLICATION_AGENTS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.telephones\')}" data-ng-show="Auth.isAdmin()">\n <a href="/channels/voice/realtime/view/telephones">\n {{\'APPLICATION_TELEPHONES\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.queues\')}">\n <a href="/channels/voice/realtime/view/queues">\n {{\'APPLICATION_QUEUES\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.parameters\')}">\n <a href="/channels/voice/realtime/view/parameters">\n {{\'APPLICATION_QUEUE_PARAMETERS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.channels.voice.realtime.view.outbound\')}">\n <a href="/channels/voice/realtime/view/outbound">\n {{\'APPLICATION_OUTBOUND\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/recording/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-play"></i>\n <a href="#">{{ \'APPLICATION_RECORDINGS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-play font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_RECORDINGS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/inbound/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_ROUTE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.extension" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$invalid || existRoute}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="item.exten" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="(forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.extension.$invalid || existRoute">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n<!-- <pre>\n {{item | json}}\n</pre> -->\n'),a.put("app/channels/voice/route/inbound/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-earphones-alt"></i>\n <a href="#">{{ \'APPLICATION_VOICE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-call-in"></i>\n <a href="/channels/voice/routes/inbound/list">{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="#" data-ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/inbound/view/view.applications.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="selectedRows.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/channels/voice/routes/inbound/view/{{route.id}}/application" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_APPLICATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="showGrid" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-selection ui-grid-draggable-rows ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/route/inbound/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getRoute()">\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-reload"></i>\n <a href="/channels/voice/routes/inbound/list">{{ \'APPLICATION_INBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n <i data-ng-show="route" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="route">\n <a href="#">{{route.exten}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/inboundroute.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{route.exten}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.routes.inbound.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/channels/voice/routes/inbound/view/\'+route.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.channels.voice.routes.inbound.view.applications') || $state.is('main.channels.voice.routes.inbound.view.application') || $state.is('main.channels.voice.routes.inbound.view.applications.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/channels/voice/routes/inbound/view/'+route.id+'/applications')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_ACTIONS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/channels/voice/route/inbound/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_INBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts()">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START DESCRIPTION -->\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="route.description"/></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/route/internal/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_ROUTE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.extension" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$invalid || existRoute}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="item.exten" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="(forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.extension.$invalid || existRoute">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n<!-- <pre>\n {{item | json}}\n</pre> -->\n'),a.put("app/channels/voice/route/internal/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-reload"></i>\n <a href="/voice/routes/internal/list">{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="#" data-ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/internal/view/view.applications.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="selectedRows.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/channels/voice/routes/internal/view/{{route.id}}/application" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_APPLICATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="showGrid" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-selection ui-grid-draggable-rows ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/route/internal/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getRoute()">\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-reload"></i>\n <a href="/channels/voice/routes/internal/list">{{ \'APPLICATION_INTERNAL\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n <i data-ng-show="route" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="route">\n <a href="#">{{route.exten}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/internalroute.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{route.exten}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.routes.internal.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/channels/voice/routes/internal/view/\'+route.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.channels.voice.routes.internal.view.applications') || $state.is('main.channels.voice.routes.internal.view.application') || $state.is('main.channels.voice.routes.internal.view.applications.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/channels/voice/routes/internal/view/'+route.id+'/applications')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_ACTIONS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- <pre>\n {{route | json}}\n </pre> -->\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/channels/voice/route/internal/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_INTERNAL\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts()">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_PHONE_NUMBER\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START DESCRIPTION -->\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="route.description"/></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/channels/voice/route/outbound/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_ROUTE\' | translate }}</h3>\n</div>\n<div class="modal-body" data-ng-init="getTags()">\n <form name="forms.extension" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$invalid || existRoute}">\n <label class="control-label">{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}" class="form-control" data-ng-model="item.exten" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="(forms.extension.exten.$touched || forms.extension.$submitted) && forms.extension.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START TAG -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.extension.tag.$touched || forms.extension.$submitted) && forms.extension.tag.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TAG\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.tag" name="tag" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_TAG\' | translate }}" data-ng-init="item.tag = \'--\'">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="tag.name as tag in tags | filter: $select.search">\n <div ng-bind-html="tag.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.extension.tag.$touched || forms.extension.$submitted) && forms.extension.tag.$invalid && forms.extension.tag.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TAG -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.extension.$invalid || existRoute">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n<!-- <pre>\n {{item | json}}\n</pre> -->\n'),a.put("app/channels/voice/route/outbound/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-call-out"></i>\n <a href="/channels/voice/routes/outbound/list">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="#" data-ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter class="ui-grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/outbound/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getRoute()">\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-call-out"></i>\n <a href="/channels/voice/routes/outbound/list">{{ \'APPLICATION_OUTBOUND\' | translate }} {{ \'APPLICATION_ROUTES\' | translate }}</a>\n <i data-ng-show="route" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="route">\n <a href="#">{{route.exten}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/outboundroute.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{route.exten}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.routes.outbound.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/channels/voice/routes/outbound/view/\'+route.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.channels.voice.routes.outbound.view.routes') || $state.is('main.channels.voice.routes.outbound.view.route') || $state.is('main.channels.voice.routes.outbound.view.routes.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/channels/voice/routes/outbound/view/'+route.id+'/routes')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_ACTIONS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- <pre>\n {{route | json}}\n </pre> -->\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/channels/voice/route/outbound/view/view.route.html",'<div class="row" data-ng-init="initApplication(true);getIntervals();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_NEW_ROUTE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wizard on-finish="addApplication()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="main.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="app in applications | filter: $select.search">\n <div ng-bind-html="app.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.info.app.$touched || forms.info.$submitted) && forms.info.app.$invalid && forms.info.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'outboundDial\'" lazy-render duration="1">\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CALLERID\' | translate }}</label>\n <input type="text" name="callerID" pattern=\'^"[a-zA-Z0-9_.-]*" <[a-zA-Z0-9_.-]*>\' placeholder=\'"name" <number>\' class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }}\n </span>\n <span data-ng-show="(forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PREFIX\' | translate }}</label>\n <input type="text" name="prefix" placeholder="{{ \'APPLICATION_PREFIX\' | translate }}" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n </span>\n <span data-ng-show="(forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[4]" data-ng-init="application.appdata[4] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[5]" data-ng-init="application.appdata[5] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="application.app" data-ng-init="application.appdata[0] = null" required>\n <span data-ng-show="(forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid && forms.info.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{$translate.instant(intType.name)}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/route/outbound/view/view.routeSettings.html",'<div class="row" data-ng-init="initApplication();getApplication();getIntervals();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="updateRoute(\'routes\')">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'outboundDial\'" lazy-render duration="1">\n\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CALLERID\' | translate }}</label>\n <input type="text" name="callerID" pattern=\'^"[a-zA-Z0-9_.-]*" <[a-zA-Z0-9_.-]*>\' placeholder=\'"name" <number>\' class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n </span>\n <span data-ng-show="(forms.info.callerID.$touched || forms.info.$submitted) && forms.info.callerID.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n\n <!-- START PREFIX -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PREFIX\' | translate }}</label>\n <input type="text" name="prefix" placeholder="{{ \'APPLICATION_PREFIX\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_PREFIX\' | translate }}\n </span>\n <span data-ng-show="(forms.info.prefix.$touched || forms.info.$submitted) && forms.info.prefix.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PREFIX -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[4]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[5]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].app" required>\n <span data-ng-show="(forms.info.customApp.$touched || forms.info.$submitted) && forms.info.customApp.$invalid && forms.info.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]">\n <span data-ng-show="(forms.info.appdata.$touched || forms.info.$submitted) && forms.info.appdata.$invalid && forms.info.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{intType.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/channels/voice/route/outbound/view/view.routes.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_ACTIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="selectedRows.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/channels/voice/routes/outbound/view/{{route.id}}/route" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ROUTE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="showGrid" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-selection ui-grid-draggable-rows ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/channels/voice/route/outbound/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_OUTBOUND\' | translate}} {{ \'APPLICATION_ROUTE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();getTags();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateRoute()" novalidate>\n\n <!-- START EXTEN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$invalid}">\n <label class="control-label">{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="exten" placeholder="{{\'APPLICATION_DESTINATION_PATTERN\' | translate}}" class="form-control" data-ng-model="route.exten" required/>\n <span data-ng-show="(forms.general.exten.$touched || forms.general.$submitted) && forms.general.exten.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTEN -->\n\n <!-- START CUTDIGITS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CUTDIGITS\' | translate}}</label>\n <input type="text" pattern="[0-9]+" class="form-control" name="cutdigits" data-ng-model="route.cutdigits">\n <span class="help-block">\n </span>\n </div>\n <!-- END CUTDIGITS -->\n\n <!-- START TAG -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.tag.$touched || forms.general.$submitted) && forms.general.tag.$invalid}">\n <label class="control-label">{{\'APPLICATION_TAG\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.tag" name="tag" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="tag.name as tag in tags | filter: $select.search">\n <div ng-bind-html="tag.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.tag.$touched || forms.general.$submitted) && forms.general.tag.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TAG -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START RECORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.record.$touched || forms.general.$submitted) && forms.general.record.$invalid}">\n <label class="control-label">{{\'APPLICATION_RECORDING\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="route.record"\n type="checkbox"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n <span data-ng-show="(forms.general.record.$touched || forms.general.$submitted) && forms.general.record.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RECORD -->\n\n <!-- START DESCRIPTION -->\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="route.description"/></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/route/view.application.html",'\n<div class="row" data-ng-init="initApplication(true); getIntervals();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_NEW_APPLICATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="addApplication()">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START APP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid}">\n <label class="control-label">{{ \'APPLICATION_APPLICATION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="main.app" name="app" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="app in $application.applications| filter: $select.search">\n <div ng-bind-html="app.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.app.$touched || forms.settings.$submitted) && forms.settings.app.$invalid && forms.settings.app.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APP -->\n\n <div id="Queue" class="app-settings" ng-slide-down="main.app.value == \'Queue\'" lazy-render duration="1">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="queue" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in items | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}</label>\n <ui-select data-ng-model="application.appdata[3]" data-ng-init="application.appdata[3] = null" name="audiofile" theme="bootstrap" data-ng-disabled="!items2.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items2 | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items2.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[4]" data-ng-init="application.appdata[4] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n <div id="Playback" class="app-settings" ng-slide-down="main.app.value == \'Playback\'" lazy-render duration="1">\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="audiofile" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && !main.app.type" lazy-render duration="1">\n <!-- START INTERFACE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}/{{ \'APPLICATION_IDENTIFIER\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="interface" placeholder="SIP/0000" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" required>\n <span data-ng-show="(forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid && forms.settings.interface.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERFACE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="internalDial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'internalDial\'" lazy-render duration="1">\n <!-- START INTERNAL DIAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$invalid}">\n <label class="control-label">{{\'APPLICATION_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="user" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="user.internal as user in items | filter: $select.search">\n <div ng-bind-html="user.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL DIAL -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'externalDial\'" lazy-render duration="1">\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START PHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[1]" data-ng-init="application.appdata[1] = null" required>\n <span data-ng-show="(forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.phone.$invalid && forms.settings.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="application.appdata[3]" data-ng-init="application.appdata[3] = null">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="application.appdata[4]" data-ng-init="application.appdata[4] = null">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="AGI" class="app-settings" ng-slide-down="main.app.value == \'AGI\'" lazy-render duration="1">\n <!-- START PROJECT -->\n <input type="hidden" name="url" placeholder="{{ \'APPLICATION_URL\' | translate }}" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = \'agi://127.0.0.1/square\'">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$invalid}">\n <label class="control-label">{{\'APPLICATION_PROJECT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null" name="project" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="project.name as project in items | filter: $select.search">\n <div ng-bind-html="project.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_PROJECTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/square/projects/list">{{\'APPLICATION_PROJECTS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PROJECT -->\n\n </div>\n <div id="Goto" class="app-settings" ng-slide-down="main.app.value == \'Goto\'" lazy-render duration="1">\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in items | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START EXTENSION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXTENSION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="extension" placeholder="" class="form-control" data-ng-model="application.appdata[1]" data-ng-init="application.appdata[1] = null" required>\n <span data-ng-show="(forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid && forms.settings.extension.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTENSION -->\n\n <!-- START PRIORITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PRIORITY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" pattern="[0-9]+" name="priority" placeholder="" class="form-control" data-ng-model="application.appdata[2]" data-ng-init="application.appdata[2] = null" required>\n <span data-ng-show="(forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY -->\n </div>\n <div id="Hangup" class="app-settings" ng-slide-down="main.app.value == \'Hangup\'" lazy-render duration="1">\n <!-- START HANGUPCAUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$invalid}">\n <label class="control-label">{{\'APPLICATION_HANGUP_CAUSE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" theme="bootstrap" name="hangupCause" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="hangupCause.value as hangupCause in $application.hangupCauses | filter: $select.search">\n <div ng-bind-html="hangupCause.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HANGUPCAUSE -->\n </div>\n <div id="Set" class="app-settings" ng-slide-down="main.app.value == \'Set\'" lazy-render duration="1">\n <!-- START VARIABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VARIABLE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="variable" placeholder="" class="form-control" data-ng-model="application.variable" data-ng-init="application.appdata[0] = null" data-ng-change="updateSetAppdata()" required>\n <span data-ng-show="(forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid && forms.settings.variable.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARIABLE -->\n\n <!-- START VARVALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VALUE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="varvalue" placeholder="" class="form-control" data-ng-model="application.value" data-ng-change="updateSetAppdata()" required>\n <span data-ng-show="(forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid && forms.settings.varvalue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARVALUE -->\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="application.app" required>\n <span data-ng-show="(forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid && forms.settings.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null">\n <span data-ng-show="(forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid && forms.settings.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <div id="Voicemail" class="app-settings" ng-slide-down="main.app.value == \'Voicemail\'" lazy-render duration="1">\n <!-- START VOICEMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MAILBOX\' | translate }}@{{ \'APPLICATION_CONTEXT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="application.appdata[0]" data-ng-init="application.appdata[0] = null" theme="bootstrap" name="voicemail" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.mailbox}}</ui-select-match>\n <ui-select-choices repeat="mailbox.mailbox+\'@\'+mailbox.context as mailbox in items | filter: $select.search">\n <div ng-bind-html="mailbox.mailbox | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_VOICEMAILS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/voicemails/list">{{\'APPLICATION_VOICEMAILS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid && forms.settings.voicemail.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VOICEMAIL -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n <div ng-bind-html="intType.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<!-- <pre>\n {{application | json}}\n</pre> -->\n<!-- <pre>\n {{interval | json}}\n</pre> -->\n'), +a.put("app/channels/voice/route/view.applicationSettings.html",'\n<div class="row" data-ng-init="initApplication();getIntervals();getApplication();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_APPLICATION_SETTINGS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="updateRoute(\'applications\')">\n <div class="profile-usertitle-name">\n {{(main.app.name | translate) || \'Application\'}}\n </div>\n <wz-step title="{{\'APPLICATION_APPLICATION\' | translate}}" canexit="formValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <div id="Queue" class="app-settings" ng-slide-down="main.app.value == \'Queue\'" lazy-render duration="1">\n <!-- START QUEUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUEUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="queue" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="queue.name as queue in items | filter: $select.search">\n <div ng-bind-html="queue.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_QUEUES_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/queues/list">{{\'APPLICATION_QUEUES\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.queue.$touched || forms.settings.$submitted) && forms.settings.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUEUE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}</label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[3]" name="audiofile" theme="bootstrap" data-ng-disabled="!items2.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items2 | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items2.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[4]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n </div>\n <div id="Playback" class="app-settings" ng-slide-down="main.app.value == \'Playback\'" lazy-render duration="1">\n <!-- START AUDIOFILE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUDIO_FILE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="audiofile" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.display_name}}</ui-select-match>\n <ui-select-choices repeat="soundPath+\'/\'+audio.save_name as audio in items | filter: $select.search">\n <div ng-bind-html="audio.display_name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_SOUNDS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/sounds/list">{{\'APPLICATION_SOUNDS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.audiofile.$touched || forms.settings.$submitted) && forms.settings.audiofile.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END AUDIOFILE -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{\'APPLICATION_OPTIONS\' | translate}}</label>\n <input type="text" name="app_options" placeholder="{{ \'APPLICATION_OPTIONS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && !main.app.type" lazy-render duration="1">\n <!-- START INTERFACE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TYPE\' | translate }}/{{ \'APPLICATION_IDENTIFIER\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="interface" placeholder="SIP/0000" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]" required>\n <span data-ng-show="(forms.settings.interface.$touched || forms.settings.$submitted) && forms.settings.interface.$invalid && forms.settings.interface.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERFACE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n </div>\n <div id="internalDial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'internalDial\'" lazy-render duration="1">\n <!-- START INTERNAL DIAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$invalid}">\n <label class="control-label">{{\'APPLICATION_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="user" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="user.internal as user in items | filter: $select.search">\n <div ng-bind-html="user.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.user.$touched || forms.settings.$submitted) && forms.settings.user.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL DIAL -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="Dial" class="app-settings" ng-slide-down="main.app.value == \'Dial\' && main.app.type == \'externalDial\'" lazy-render duration="1">\n\n <!-- START TRUNK -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUNK\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="trunk" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="trunk.name as trunk in items | filter: $select.search">\n <div ng-bind-html="trunk.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_TRUNKS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/tools/trunks/list">{{\'APPLICATION_TRUNKS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.info.trunk.$touched || forms.info.$submitted) && forms.info.trunk.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUNK -->\n\n <!-- START PHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.phone.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PHONE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" pattern="[0-9]+" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]">\n <span data-ng-show="(forms.settings.phone.$touched || forms.settings.$submitted) && forms.settings.phone.$invalid && forms.settings.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid}">\n <label class="control-label">{{ \'APPLICATION_TIMEOUT\' | translate }}</label>\n <input type="text" pattern="[0-9]+" name="timeout" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]">\n <span data-ng-show="(forms.settings.timeout.$touched || forms.settings.$submitted) && forms.settings.timeout.$invalid && forms.settings.timeout.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START OPTIONS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OPTIONS\' | translate }}</label>\n <input type="text" name="app_options" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[3]">\n <span data-ng-show="(forms.settings.app_options.$touched || forms.settings.$submitted) && forms.settings.app_options.$invalid && forms.settings.app_options.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OPTIONS -->\n\n <!-- START URL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.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="route.Applications[selectedApp].appdata[4]">\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END URL -->\n\n </div>\n <div id="AGI" class="app-settings" ng-slide-down="main.app.value == \'AGI\'" lazy-render duration="1">\n <!-- START PROJECT -->\n <input type="hidden" name="url" placeholder="{{ \'APPLICATION_URL\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]" data-ng-init="route.Applications[selectedApp].appdata[0] = \'agi://127.0.0.1/square\'">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$invalid}">\n <label class="control-label">{{\'APPLICATION_PROJECT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[1]" name="project" theme="bootstrap" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="project.name as project in items | filter: $select.search">\n <div ng-bind-html="project.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_PROJECTS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/square/projects/list">{{\'APPLICATION_PROJECTS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.project.$touched || forms.settings.$submitted) && forms.settings.project.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PROJECT -->\n\n <!-- START URL -->\n <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid}">\n <label class="control-label">{{ \'APPLICATION_URL\' | translate }}</label>\n <div class="input-group">\n <input type="text" name="url" placeholder="agi://127.0.0.1/square" class="form-control" data-ng-model="application.url" data-ng-disabled="!application.urlEnabled" data-ng-required="application.urlEnabled" rpattern="/^agi:\\/\\/(?:[0-9]{1,3}\\.){3}[0-9]{1,3}\\/square$/">\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="application.urlEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$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="(forms.settings.url.$touched || forms.settings.$submitted) && forms.settings.url.$invalid && forms.settings.url.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div> -->\n <!-- END URL -->\n\n </div>\n <div id="Goto" class="app-settings" ng-slide-down="main.app.value == \'Goto\'" lazy-render duration="1">\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in items | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.context.$touched || forms.settings.$submitted) && forms.settings.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START EXTENSION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXTENSION\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="extension" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[1]" required>\n <span data-ng-show="(forms.settings.extension.$touched || forms.settings.$submitted) && forms.settings.extension.$invalid && forms.settings.extension.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTENSION -->\n\n <!-- START PRIORITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid}">\n <label class="control-label">{{ \'APPLICATION_PRIORITY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" pattern="[0-9]+" name="priority" placeholder="" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[2]" required>\n <span data-ng-show="(forms.settings.priority.$touched || forms.settings.$submitted) && forms.settings.priority.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY -->\n </div>\n <div id="Hangup" class="app-settings" ng-slide-down="main.app.value == \'Hangup\'" lazy-render duration="1">\n <!-- START HANGUPCAUSE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$invalid}">\n <label class="control-label">{{\'APPLICATION_HANGUP_CAUSE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" theme="bootstrap" name="hangupCause" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="hangupCause.value as hangupCause in $application.hangupCauses | filter: $select.search">\n {{hangupCause.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.hangupCause.$touched || forms.settings.$submitted) && forms.settings.hangupCause.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HANGUPCAUSE -->\n </div>\n <div id="Set" class="app-settings" ng-slide-down="main.app.value == \'Set\'" lazy-render duration="1">\n <!-- START VARIABLE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VARIABLE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="variable" placeholder="" class="form-control" data-ng-model="application.variable" data-ng-change="updateSetAppdataSettings()" required>\n <span data-ng-show="(forms.settings.variable.$touched || forms.settings.$submitted) && forms.settings.variable.$invalid && forms.settings.variable.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARIABLE -->\n\n <!-- START VARVALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid}">\n <label class="control-label">{{ \'APPLICATION_VALUE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="varvalue" placeholder="" class="form-control" data-ng-model="application.value" data-ng-change="updateSetAppdataSettings()" required>\n <span data-ng-show="(forms.settings.varvalue.$touched || forms.settings.$submitted) && forms.settings.varvalue.$invalid && forms.settings.varvalue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VARVALUE -->\n </div>\n <div id="Custom" class="app-settings" ng-slide-down="main.app.type == \'custom\'" lazy-render duration="1">\n\n <!-- START CUSTOMAPP -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid}">\n <label class="control-label">{{ \'APPLICATION_CUSTOM_APP\' | translate }}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="customApp" placeholder="{{ \'APPLICATION_CUSTOM_APP\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].app" required>\n <span data-ng-show="(forms.settings.customApp.$touched || forms.settings.$submitted) && forms.settings.customApp.$invalid && forms.settings.customApp.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CUSTOMAPP -->\n\n <!-- START APPDATA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ARGUMENTS\' | translate }}</label>\n <input type="text" name="appdata" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}" class="form-control" data-ng-model="route.Applications[selectedApp].appdata[0]">\n <span data-ng-show="(forms.settings.appdata.$touched || forms.settings.$submitted) && forms.settings.appdata.$invalid && forms.settings.appdata.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END APPDATA -->\n </div>\n <div id="Voicemail" class="app-settings" ng-slide-down="main.app.value == \'Voicemail\'" lazy-render duration="1">\n <!-- START VOICEMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MAILBOX\' | translate }}@{{ \'APPLICATION_CONTEXT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="route.Applications[selectedApp].appdata[0]" theme="bootstrap" name="voicemail" required data-ng-disabled="!items.length">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.mailbox}}</ui-select-match>\n <ui-select-choices repeat="mailbox.mailbox+\'@\'+mailbox.context as mailbox in items | filter: $select.search">\n <div ng-bind-html="mailbox.mailbox | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <div class="note note-warning" data-ng-hide="items.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_VOICEMAILS_AVAILABLE\' | translate }}\n </p>\n <p>\n {{\'APPLICATION_GO_TO\' | translate}} <a href="/channels/voice/voicemails/list">{{\'APPLICATION_VOICEMAILS\' | translate}}</a>\n </p>\n </div>\n <span data-ng-show="(forms.settings.voicemail.$touched || forms.settings.$submitted) && forms.settings.voicemail.$invalid && forms.settings.voicemail.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VOICEMAIL -->\n </div>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_INTERVAL\' | translate}}" canexit="formValidation(forms.interval.IntervalId.$valid || forms.interval.hasOwnProperty(\'t_from\') || forms.interval.intType.$modelValue === \'always\')">\n <form name="forms.interval" novalidate>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n <!-- START INTERVAL_TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVAL_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.intType" theme="bootstrap" name="intType" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="intType.value as intType in $application.intTypes | filter: $select.search">\n {{intType.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.intType.$touched || forms.interval.$submitted) && forms.interval.intType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVAL_TYPE -->\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'custom\'" lazy-render duration="1">\n <!-- START TIME -->\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="interval.alwaysTime"><uib-timepicker name="t_from" data-ng-model="interval.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="interval.alwaysTime"><uib-timepicker name="t_to" data-ng-model="interval.t_to" show-meridian="false" show-spinners="false"></uib-timepicker></fieldset>\n <label class="control-label pointer-cursor"><input type="checkbox" data-ng-model="interval.alwaysTime">{{\'APPLICATION_ALWAYS\' | translate}}</label>\n </div>\n </div>\n <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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="interval.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="interval.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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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="interval.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="interval.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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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="interval.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="interval.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 <!-- END MONTH -->\n </div>\n\n <div id="customInterval" class="app-settings" ng-slide-down="interval.intType == \'list\'" lazy-render duration="1">\n\n <!-- START INTERVALS -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERVALS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="interval.IntervalId" theme="bootstrap" name="IntervalId" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="interval.id as interval in Intervals | filter: $select.search">\n {{interval.name | translate}}\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.interval.IntervalId.$touched || forms.interval.$submitted) && forms.interval.IntervalId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERVALS -->\n\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <button class="btn green-haze" type="submit" ng-click="goNext()">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<!-- <pre>\n {{application | json}}\n</pre> -->\n'), +a.put("app/channels/voice/voicemail/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope-letter"></i>\n <a href="#">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-envelope-letter font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/channels/voice/voicemails/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_VOICEMAIL\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/voicemail/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getVoicemail()">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope-letter"></i>\n <a href="/channels/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n <i data-ng-show="voicemail" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="voicemail">\n <a href="#">{{voicemail.mailbox}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET main.channels -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/voicemail.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{voicemail.mailbox}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.channels.voice.voicemails.view.settings\')}">\n <a data-ng-href="/channels/voice/voicemails/view/{{voicemail.uniqueid}}/settings"><i class="icon-settings"></i>{{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.channels.voice.voicemails.view.messages\')}">\n <a data-ng-href="/channels/voice/voicemails/view/{{voicemail.uniqueid}}/messages"><i class="icon-speech"></i>{{ \'APPLICATION_MESSAGES\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET main.channels -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/channels/voice/voicemail/view/view.messages.html",'<div class="row" data-ng-init="getMessages()">\n <div class="col-md-12">\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_MESSAGES\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns data-ng-if="gridOptions" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/voicemail/view/view.settings.html",'<div class="row" data-ng-init="getContexts()">\n <div class="col-md-12">\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_VOICEMAIL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <!-- <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li> -->\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVoiceVoicemail()" novalidate>\n\n <!-- START FULLNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="voicemail.fullname" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.fullname.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FULLNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="voicemail.email" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.host.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}</label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="voicemail.password" />\n <span data-ng-show="forms.general.$submitted && forms.general.password.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONFIRM PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}</label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="voicemail.rpassword" nx-equal="voicemail.password"/>\n <span data-ng-show="forms.general.$submitted && (forms.general.rpassword.$invalid || forms.general.rpassword.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END CONFIRM PASSWORD -->\n\n <!-- START MAILBOX -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.mailbox.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="voicemail.mailbox" required readonly/>\n <span data-ng-show="forms.general.$submitted && forms.general.mailbox.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAILBOX -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="voicemail.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- ADVANCED TAB -->\n <!-- <div class="tab-pane" id="tab_1_2">\n <form name="forms.advanced" data-ng-submit="updateVoiceVoicemail()" novalidate>\n\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div> -->\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/channels/voice/voicemail/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard()">\n <!-- BEGIN PAGE HEADER-->\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_CHANNELS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-envelope-letter"></i>\n <a href="/channels/voice/voicemails/list">{{ \'APPLICATION_VOICEMAILS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeMailbox()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-envelope-letter font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VOICEMAIL\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(form.general.$valid)">\n <form name="form.general" novalidate>\n\n <!-- START FULLNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_FULLNAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="form.general.$submitted && form.general.fullname.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FULLNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required/>\n <span data-ng-show="form.general.$submitted && form.general.host.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="form.general.$submitted && form.general.password.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONFIRM PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="form.general.$submitted && (form.general.rpassword.$invalid || form.general.rpassword.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END CONFIRM PASSWORD -->\n\n <!-- START MAILBOX -->\n <div class="form-group" data-ng-class="{\'has-error\': form.general.$submitted && form.general.mailbox.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAILBOX\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="mailbox" placeholder="{{\'APPLICATION_MAILBOX\' | translate}}" class="form-control" data-ng-model="item.mailbox" required readonly/>\n <span data-ng-show="form.general.$submitted && form.general.mailbox.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAILBOX -->\n\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/contactmanager/company/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_COMPANY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.company" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.name.$touched || forms.company.$submitted) && forms.company.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="(forms.cmopany.name.$touched || forms.company.$submitted) && forms.company.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.vat.$touched || forms.company.$submitted) && forms.company.vat.$invalid}">\n <label class="control-label">{{\'APPLICATION_VAT\' | translate}}</label>\n <input type="text" name="vat" placeholder="{{\'APPLICATION_VAT\' | translate}}" class="form-control" data-ng-model="item.vat"/>\n <span data-ng-show="(forms.cmopany.vat.$touched || forms.company.$submitted) && forms.company.vat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VAT -->\n\n <!-- START COMPANYID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.companyId.$touched || forms.company.$submitted) && forms.company.companyId.$invalid}">\n <label class="control-label">{{\'APPLICATION_COMPANY_ID\' | translate}}</label>\n <input type="text" name="companyId" placeholder="{{\'APPLICATION_COMPANY_ID\' | translate}}" class="form-control" data-ng-model="item.companyId"/>\n <span data-ng-show="(forms.cmopany.companyId.$touched || forms.company.$submitted) && forms.company.companyId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COMPANYID -->\n\n <!-- START WEBSITE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.website.$touched || forms.company.$submitted) && forms.company.website.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEBSITE\' | translate}}</label>\n <input type="text" name="website" placeholder="{{\'APPLICATION_WEBSITE\' | translate}}" class="form-control" data-ng-model="item.website"/>\n <span data-ng-show="(forms.cmopany.website.$touched || forms.company.$submitted) && forms.company.website.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEBSITE -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.email.$touched || forms.company.$submitted) && forms.company.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email"/>\n <span data-ng-show="(forms.cmopany.email.$touched || forms.company.$submitted) && forms.company.email.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n </div>\n <div class="col-md-6">\n <!-- START PHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.phone.$touched || forms.company.$submitted) && forms.company.phone.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n <input type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="item.phone"/>\n <span data-ng-show="(forms.cmopany.phone.$touched || forms.company.$submitted) && forms.company.phone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONE -->\n\n <!-- START FAX -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.fax.$touched || forms.company.$submitted) && forms.company.fax.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n <input type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="item.fax"/>\n <span data-ng-show="(forms.cmopany.fax.$touched || forms.company.$submitted) && forms.company.fax.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FAX -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.type.$touched || forms.company.$submitted) && forms.company.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <input type="text" name="type" placeholder="{{\'APPLICATION_TYPE\' | translate}}" class="form-control" data-ng-model="item.type"/>\n <span data-ng-show="(forms.cmopany.type.$touched || forms.company.$submitted) && forms.company.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DOMAIN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.company.emailDomain.$touched || forms.company.$submitted) && forms.company.emailDomain.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}</label>\n <input type="text" name="domain" placeholder="{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}" class="form-control" data-ng-model="item.emailDomain"/>\n <span data-ng-show="(forms.cmopany.emailDomain.$touched || forms.company.$submitted) && forms.company.emailDomain.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DOMAIN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n </div>\n</div>\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.company.$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/company/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-briefcase"></i>\n <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-briefcase font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_COMPANIES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_COMPANY\' | translate }}\n </button>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getCompany()">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-briefcase"></i>\n <a href="/contactmanager/companies/list">{{ \'APPLICATION_COMPANIES\' | translate }}</a>\n <i data-ng-show="company" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="company">\n <a href="#">{{company.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/company.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{company.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.contactmanager.companies.view.settings\')}">\n <a data-ng-href="/contactmanager/companies/view/{{company.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/company/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_COMPANY\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADDRESS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_SHIPMENT_ADDRESS\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateCompany()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="company.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.vat.$touched || forms.general.$submitted) && forms.general.vat.$invalid}">\n <label class="control-label">{{\'APPLICATION_VAT\' | translate}}</label>\n <input type="text" name="vat" placeholder="{{\'APPLICATION_VAT\' | translate}}" class="form-control" data-ng-model="company.vat"/>\n <span data-ng-show="(forms.cmopany.vat.$touched || forms.general.$submitted) && forms.general.vat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VAT -->\n\n <!-- START COMPANYID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.companyId.$touched || forms.general.$submitted) && forms.general.companyId.$invalid}">\n <label class="control-label">{{\'APPLICATION_COMPANY_ID\' | translate}}</label>\n <input type="text" name="companyId" placeholder="{{\'APPLICATION_COMPANY_ID\' | translate}}" class="form-control" data-ng-model="company.companyId"/>\n <span data-ng-show="(forms.cmopany.companyId.$touched || forms.general.$submitted) && forms.general.companyId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COMPANYID -->\n\n <!-- START WEBSITE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.website.$touched || forms.general.$submitted) && forms.general.website.$invalid}">\n <label class="control-label">{{\'APPLICATION_WEBSITE\' | translate}}</label>\n <input type="text" name="website" placeholder="{{\'APPLICATION_WEBSITE\' | translate}}" class="form-control" data-ng-model="company.website"/>\n <span data-ng-show="(forms.cmopany.website.$touched || forms.general.$submitted) && forms.general.website.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEBSITE -->\n\n <!-- START EMAIL -->\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 type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="company.email"/>\n <span data-ng-show="(forms.cmopany.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 <!-- END EMAIL -->\n </div>\n <div class="col-md-6">\n <!-- START PHONE -->\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 type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="company.phone"/>\n <span data-ng-show="(forms.cmopany.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 <!-- END PHONE -->\n\n <!-- START FAX -->\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 type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="company.fax"/>\n <span data-ng-show="(forms.cmopany.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 <!-- END FAX -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <input type="text" name="type" placeholder="{{\'APPLICATION_TYPE\' | translate}}" class="form-control" data-ng-model="company.type"/>\n <span data-ng-show="(forms.cmopany.type.$touched || forms.general.$submitted) && forms.general.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DOMAIN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.emailDomain.$touched || forms.general.$submitted) && forms.general.emailDomain.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}</label>\n <input type="text" name="domain" placeholder="{{\'APPLICATION_EMAIL_DOMAIN\' | translate}}" class="form-control" data-ng-model="company.emailDomain"/>\n <span data-ng-show="(forms.cmopany.emailDomain.$touched || forms.general.$submitted) && forms.general.emailDomain.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DOMAIN -->\n\n <!-- START DESCRIPTION -->\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="company.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n </div>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.address" data-ng-submit="forms.address.$valid && updateCompany()" novalidate>\n <!-- START STREET -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.street.$touched || forms.address.$submitted) && forms.address.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="company.street"/>\n <span data-ng-show="(forms.address.street.$touched || forms.address.$submitted) && forms.address.street.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.postalCode.$touched || forms.address.$submitted) && forms.address.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="company.postalCode"/>\n <span data-ng-show="(forms.address.postalCode.$touched || forms.address.$submitted) && forms.address.postalCode.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.city.$touched || forms.address.$submitted) && forms.address.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="company.city"/>\n <span data-ng-show="(forms.address.city.$touched || forms.address.$submitted) && forms.address.city.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.address.country.$touched || forms.address.$submitted) && forms.address.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="company.country"/>\n <span data-ng-show="(forms.address.country.$touched || forms.address.$submitted) && forms.address.country.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COUNTRY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.shipmentAddress" data-ng-submit="forms.shipmentAddress.$valid && updateCompany()" novalidate>\n <!-- START STREET -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sStreet.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sStreet.$invalid}">\n <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n <input type="text" name="sStreet" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.sStreet"/>\n <span data-ng-show="(forms.shipmentAddress.sStreet.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sStreet.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sPostalCode.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sPostalCode.$invalid}">\n <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n <input type="text" name="sPostalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.sPostalCode"/>\n <span data-ng-show="(forms.shipmentAddress.sPostalCode.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sPostalCode.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sCity.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCity.$invalid}">\n <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n <input type="text" name="sCity" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.sCity"/>\n <span data-ng-show="(forms.shipmentAddress.sCity.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCity.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.shipmentAddress.sCountry.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCountry.$invalid}">\n <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n <input type="text" name="sCountry" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.sCountry"/>\n <span data-ng-show="(forms.shipmentAddress.sCountry.$touched || forms.shipmentAddress.$submitted) && forms.shipmentAddress.sCountry.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END COUNTRY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/contactmanager/contact/list/import.modal.html",'<div class="modal-header" data-ng-init="getLists()">\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 <!-- START LIST -->\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 <!-- END LIST -->\n\n <!-- START FIRSTNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.csv.firstName.$invalid && forms.csv.$submitted}">\n <label class="control-label">{{\'APPLICATION_FIRSTNAME\' | translate}}</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.$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 <!-- END FIRSTNAME -->\n\n <!-- START LASTNAME -->\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 <!-- END LASTNAME -->\n\n <!-- START STREET -->\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 <!-- END STREET -->\n\n <!-- START POSTALCODE -->\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 <!-- END POSTALCODE -->\n\n <!-- START CITY -->\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 <!-- END CITY -->\n\n <!-- START PHONE -->\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 <!-- END PHONE -->\n\n <!-- START MOBILE -->\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 <!-- END MOBILE -->\n\n </div>\n <div class="col-md-6">\n\n <!-- START COUNTRY -->\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 <!-- END COUNTRY -->\n\n <!-- START DATEOFBIRTH -->\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 <!-- END DATEOFBIRTH -->\n\n <!-- START TAGS -->\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 <!-- END TAGS -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <!-- START FAX -->\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 <!-- END FAX -->\n\n <!-- START EMAIL -->\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 <!-- END EMAIL -->\n\n <!-- START COMPANY -->\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 <!-- END COMPANY -->\n\n </div>\n </div>\n\n <!-- START CUSTOMFIELDS -->\n <div data-ng-repeat="customField in customFields">\n <div class="form-group" data-ng-class="{\'has-error\': forms.csv[customField.name].$invalid && forms.csv.$submitted}">\n <label class="control-label">{{customField.alias}}</label>\n <ui-select data-ng-model="item[customField.name]" theme="bootstrap" name="{{customField.name}}" data-ng-disabled="disabled">\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].$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 </div>\n <!-- END CUSTOMFIELDS -->\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 </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="forms.csv.$invalid || !forms.csv.firstName || 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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-users"></i>\n <a href="/contactmanager/contacts/list">{{ \'APPLICATION_CONTACTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-users font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONTACTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length && !Auth.isAgent()">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle" data-ng-click="newContact();">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n <span class="btn default btn-file" data-ng-if="!Auth.isAgent()">\n <span class="fileinput-new">\n <i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n <input type="file" accept=".csv" nv-file-select="" uploader="uploader"/>\n </span>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/list/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_LIST\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.list" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.list.name.$touched || forms.list.$submitted) && forms.list.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="(forms.list.name.$touched || forms.list.$submitted) && forms.list.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.list.$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/list/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-tty"></i>\n <a href="/contactmanager/lists/list">{{ \'APPLICATION_LISTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-tty font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LISTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_LIST\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/list/view/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START TYPE -->\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 <!-- END TYPE -->\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 <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/list/view/view.agents.html",'<div class="row" data-ng-init="getTeams()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="note note-warning" data-ng-hide="teams.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_AVAILABLE_TEAMS\' | translate }}\n </p>\n </div>\n <div class="portlet-body">\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/contactmanager/list/view/view.customFieldSettings.html",'<div class="row" data-ng-init="getCustomField()">\n <div class="col-md-12">\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_CUSTOM_FIELD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- GENERAL TAB -->\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateCustomField()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="customField.alias" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <div ng-slide-down="customField.type == \'select\'" lazy-render duration="1" class="mbottom20">\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 <!-- START DESCRIPTION -->\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="customField.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/contactmanager/list/view/view.customFields.html",'<div ui-view class="profile-content">\n<div class="row" data-ng-init="initCustomFields()">\n <div class="col-md-12">\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_CUSTOM_FIELDS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CUSTOM_FIELD\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'), +a.put("app/contactmanager/list/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getList()">\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-users"></i>\n <a href="#">{{ \'APPLICATION_CONTACT_MANAGER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-tty"></i>\n <a href="/contactmanager/lists/list">{{ \'APPLICATION_LISTS\' | translate }}</a>\n <i data-ng-show="list" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="list">\n <a href="#">{{list.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/list.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{list.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.contactmanager.lists.view.settings\')}">\n <a data-ng-href="/contactmanager/lists/view/{{list.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-if="!list.defaultEntry" data-ng-class="{active: $state.is(\'main.contactmanager.lists.view.agents\')}">\n <a data-ng-href="/contactmanager/lists/view/{{list.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.contactmanager.lists.view.customfields\')}">\n <a data-ng-href="/contactmanager/lists/view/{{list.id}}/customfields">\n <i class="icon-pencil"></i>\n {{ \'APPLICATION_CUSTOM_FIELDS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/contactmanager/list/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateList()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="list.name" data-ng-disabled="list.defaultEntry" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="list.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\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" data-ng-init="initWidget(\'abandoned\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{abandoned || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ABANDONED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\n</div>\n'),a.put("app/dashboard/dashboard.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="navbar-header">\n <button type="button" class="navbar-toggle" data-ng-init="navCollapsed = true" data-ng-click="navCollapsed = !navCollapsed">\n <span class="sr-only">Toggle navigation</span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n <span class="icon-bar"></span>\n </button>\n </div>\n\n <!-- Collect the nav links, forms, and other content for toggling -->\n <div class="collapse navbar-collapse" ng-class="!navCollapsed && \'in\'">\n <ul class="nav navbar-nav">\n <li data-ng-class="{active: $state.is(\'main.dashboard.voice\')}">\n <a href="/dashboard/voice">\n <b class=\'icon-earphones-alt\'></b>\n {{ \'APPLICATION_VOICE\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.chat\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(8)) && license.chat)">\n <a href="{{license.chat ? \'/dashboard/chat\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.chat}">\n <b class=\'icon-bubble\'></b>\n {{ \'APPLICATION_CHAT\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.mail\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(9)) && license.mail)">\n <a href="{{license.mail ? \'/dashboard/mail\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.mail}">\n <b class=\'icon-envelope\'></b>\n {{ \'APPLICATION_MAIL\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.fax\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(10)) && license.fax)">\n <a href="{{license.fax ? \'/dashboard/fax\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.fax}">\n <b class=\'icon-paper-plane\'></b>\n {{ \'APPLICATION_FAX\' | translate }}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.dashboard.sms\')}" data-ng-if="::((Auth.isAdmin() || Auth.isAgent() || isAvailableModule(11)) && license.messaging)">\n <a href="{{license.messaging ? \'/dashboard/sms\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.messaging}">\n <b class=\'glyphicon glyphicon-comment\'></b>\n {{ \'APPLICATION_SMS\' | translate }}\n </a>\n </li>\n </ul>\n </div>\n <!-- /.navbar-collapse -->\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\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 <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\n <fieldset>\n <legend>\n <span class="caption-subject"> </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" data-ng-init="initWidget(\'open\')">\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 {{open || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_OPEN\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'closed\')">\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 {{closed || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_CLOSED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'new\')">\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 {{new || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_DASHBOARD_NEW\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\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 {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n </div>\n </fieldset>\n\n </div>\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="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="table1" ui-grid-resize-columns 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 <!-- END TABLE -->\n </div>\n </div>\n\n <div class="row" style="padding-bottom:10px;">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="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>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n <div ng-switch-default>\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" data-ng-init="initWidget(\'waiting\')">\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 {{waiting || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_WAITING\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'active\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="fa fa-play"></i>\n </div>\n <div class="details">\n <div class="number">\n {{active || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ACTIVE\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'answered\')">\n <div class="dashboard-stat green-haze">\n <div class="visual">\n <i class="icon-like"></i>\n </div>\n <div class="details">\n <div class="number">\n {{answered || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWERED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'abandoned\')">\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 {{abandoned || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ABANDONED\' | translate}}\n </div>\n </div>\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" data-ng-init="initWidget(\'avganswertime\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-clock"></i>\n </div>\n <div class="details">\n <div class="number">\n {{avganswertime || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_AVG_ANSWER_TIME\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'avgtalktime\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="icon-clock"></i>\n </div>\n <div class="details">\n <div class="number">\n {{avgtalktime || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_AVG_TALK_TIME\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'answerrate\')">\n <div class="dashboard-stat green-haze">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{answerrate || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWER_RATE\' | translate}} (%)\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'abandonrate\')">\n <div class="dashboard-stat red-intense">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{abandonrate || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ABANDON_RATE\' | translate}} (%)\n </div>\n </div>\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" data-ng-init="initWidget(\'totaloffered\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-info"></i>\n </div>\n <div class="details">\n <div class="number">\n {{totaloffered || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_TOTAL_OFFERED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12" data-ng-init="initWidget(\'unmanaged\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="icon-info"></i>\n </div>\n <div class="details">\n <div class="number">\n {{unmanaged || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_UNMANAGED\' | translate}}\n </div>\n </div>\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" data-ng-init="initWidget(\'manualoutbound\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-call-out"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutbound || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_MANUAL_OUTBOUND\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'manualoutboundglobalduration\')">\n <div class="dashboard-stat purple-plum">\n <div class="visual">\n <i class="icon-clock"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundglobalduration || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_GLOBAL_DURATION\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'manualoutboundanswered\')">\n <div class="dashboard-stat green-haze">\n <div class="visual">\n <i class="icon-like"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundanswered || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWERED\' | translate}}\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-3 col-md-3 col-sm-6 col-xs-12" data-ng-init="initWidget(\'manualoutboundavgduration\')">\n <div class="dashboard-stat red-intense">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundavgduration || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_AVG_DURATION\' | translate}} (%)\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="row">\n <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12" data-ng-init="initWidget(\'manualoutboundanswerrate\')">\n <div class="dashboard-stat blue-madison">\n <div class="visual">\n <i class="icon-pie-chart"></i>\n </div>\n <div class="details">\n <div class="number">\n {{manualoutboundanswerrate || 0}}\n </div>\n <div class="desc">\n {{\'APPLICATION_ANSWER_RATE\' | translate}} (%)\n </div>\n </div>\n </div>\n </div>\n </div>\n\n </fieldset>\n </div>\n</div>\n'), +a.put("app/desk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-handbag"></i>\n <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-handbag font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DESK_COM\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="accounts.checked.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/desk/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'authType\',\'consumerKey\',\'consumerSecret\',\'token\',\'tokenSecret\',\'password\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Authentication Type\', \'Consumer Key\', \'Consumer Secret\', \'Token\', \'Token Secret\', \'Password\']" field-separator=";" filename="desk_accounts.csv">\n <i class="icon-cloud-download"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table st-table="displayedDeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n <div class="table-responsive">\n <thead>\n <tr>\n <th colspan="7">\n <div class="row">\n <div class="col-md-6">\n <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-6">\n <div class="input-group input-medium pull-right">\n <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n <span class="input-group-addon">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n </div>\n </th>\n </tr>\n <tr>\n <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="account in displayedDeskAccounts" class="animate-repeat">\n <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n <td>{{account.name}}</td>\n <td>{{account.username}}</td>\n <td>{{account.remoteUri}}</td>\n <td>{{account.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/account">\n {{ \'APPLICATION_EDIT\' | translate }}\n </a>\n <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n {{ \'APPLICATION_CHECK\' | translate }}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="displayedDeskAccounts.length">\n <td colspan="7" style="text-align:center;">\n <i>No account available</i>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td/>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td/>\n <td/>\n </tr>\n <tr>\n <td colspan="7" class="text-center">\n <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n </td>\n </tr>\n </tfoot>\n </div>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'basic\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONSUMER KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerKey.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="account.consumerKey" required/>\n <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER KEY -->\n\n <!-- START CONSUMER SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.consumerSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="account.consumerSecret" required/>\n <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER SECRET -->\n\n <!-- START TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START TOKEN SECRET-->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.tokenSecret.$invalid}" ng-slide-down="account.authType == \'oauth\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="account.tokenSecret" required/>\n <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN SECRET-->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/desk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createConfiguration()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n <form name="formsConfiguration.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.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="configuration.name" required/>\n <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/desk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <!-- <pre>\n {{descriptionItem|json}}\n </pre> -->\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/desk/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n <div class="col-md-12">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/desk/view/{{account.id}}/configuration" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{\'APPLICATION_NAME\' | translate}}</th>\n <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="configuration in configurations">\n <td>{{configuration.name}}</td>\n <td>{{configuration.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/desk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="configurations.length">\n <td colspan="5" style="text-align:center;">\n <i>No configuration available</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/desk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-handbag"></i>\n <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/desk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.desk.view.account\')}">\n <a ng-href="/desk/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.desk.view.configurations\') || $state.is(\'main.desk.view.configuration\')}">\n <a ng-href="/desk/view/{{account.id}}/configurations">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/desk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-handbag"></i>\n <a href="/desk/list">{{ \'APPLICATION_DESK_COM\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <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 <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <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 <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'basic\', \'oauth\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <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 <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CONSUMER KEY -->\n <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 <label class="control-label">{{\'APPLICATION_CONSUMER_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerKey" placeholder="{{\'APPLICATION_CONSUMER_KEY\' | translate}}" class="form-control" data-ng-model="item.consumerKey" required/>\n <span data-ng-show="forms.formSetting.consumerKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER KEY -->\n\n <!-- START CONSUMER SECRET -->\n <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 <label class="control-label">{{\'APPLICATION_CONSUMER_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="consumerSecret" placeholder="{{\'APPLICATION_CONSUMER_SECRET\' | translate}}" class="form-control" data-ng-model="item.consumerSecret" required/>\n <span data-ng-show="forms.formSetting.consumerSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONSUMER SECRET -->\n\n <!-- START TOKEN -->\n <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 <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_TOKEN\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START TOKEN SECRET-->\n <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 <label class="control-label">{{\'APPLICATION_TOKEN_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="tokenSecret" placeholder="{{\'APPLICATION_TOKEN_SECRET\' | translate}}" class="form-control" data-ng-model="item.tokenSecret" required/>\n <span data-ng-show="forms.formSetting.tokenSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN SECRET-->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-handbag"></i>\n <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-handbag font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_FRESHDESK\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="accounts.checked.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/freshdesk/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n <a class="btn btn-icon-only btn-default" href="#" ng-csv="getAccounts([\'name\',\'username\',\'remoteUri\',\'apiKey\'])" csv-header="[\'Name\', \'Username\', \'Remote Address\', \'Api Key\']" field-separator=";" filename="freshdesk_accounts.csv">\n <i class="icon-cloud-download"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table st-table="displayedFreshdeskAccounts" st-pipe="initList" class="table table-striped table-bordered table-hover">\n <div class="table-responsive">\n <thead>\n <tr>\n <th colspan="7">\n <div class="row">\n <div class="col-md-6">\n <ui-select class="input-xsmall" ng-model="conf.accountsByPage" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="accountByPage in accountsByPage | filter: $select.search">\n <div ng-bind-html="accountByPage.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-6">\n <div class="input-group input-medium pull-right">\n <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n <span class="input-group-addon">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n </div>\n </th>\n </tr>\n <tr>\n <th class="small-cells" style="text-align: center; vertical-align: middle"><input type="checkbox" ng-change="check(account, checked)" checklist-model checklist-value="id"></th>\n <th st-sort="name">{{ \'APPLICATION_NAME\' | translate }}</th>\n <th st-sort="username">{{ \'APPLICATION_EMAIL\' | translate }}</th>\n <th st-sort="remoteUri">{{ \'APPLICATION_REMOTE_ADDRESS\' | translate }}</th>\n <th>{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="account in displayedFreshdeskAccounts" class="animate-repeat">\n <td style="text-align: center; vertical-align: middle"><input type="checkbox" checklist-model="accounts.checked" checklist-value="account.id"></td>\n <td>{{account.name}}</td>\n <td>{{account.username}}</td>\n <td>{{account.remoteUri}}</td>\n <td>{{account.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/freshdesk/view/{{account.id}}/account">\n {{ \'APPLICATION_EDIT\' | translate }}\n </a>\n <a class="btn default btn-xs green-stripe" data-ng-click="checkAccount(account.id)">\n {{ \'APPLICATION_CHECK\' | translate }}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(account.name,account.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="displayedFreshdeskAccounts.length">\n <td colspan="7" style="text-align:center;">\n <i>No account available</i>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td/>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="email" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_EMAIL\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="remoteUri" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_REMOTE_ADDRESS\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td/>\n <td/>\n </tr>\n <tr>\n <td colspan="7" class="text-center">\n <div class="pagination" st-pagination st-items-by-page="conf.accountsByPage.value" st-displayed-pages="7"></div>\n </td>\n </tr>\n </tfoot>\n </div>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START API KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n <label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="account.apiKey" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END API KEY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/freshdesk/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createConfiguration()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n <form name="formsConfiguration.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.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="configuration.name" required/>\n <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <!-- <pre>\n {{descriptionItem|json}}\n </pre> -->\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected[0]}}</ui-select-match>\n <ui-select-choices repeat="item[0] as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item[0] | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/freshdesk/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n <div class="col-md-12">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/freshdesk/view/{{account.id}}/configuration" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{\'APPLICATION_NAME\' | translate}}</th>\n <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="configuration in configurations">\n <td>{{configuration.name}}</td>\n <td>{{configuration.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/freshdesk/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="configurations.length">\n <td colspan="5" style="text-align:center;">\n <i>No configuration available</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/freshdesk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-handbag"></i>\n <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/freshdesk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.freshdesk.view.account\')}">\n <a ng-href="/freshdesk/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.freshdesk.view.configurations\') || $state.is(\'main.freshdesk.view.configuration\')}">\n <a ng-href="/freshdesk/view/{{account.id}}/configurations">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/freshdesk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-handbag"></i>\n <a href="/freshdesk/list">{{ \'APPLICATION_FRESHDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/freshdesk/accounts/validate/username"/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/freshdesk/accounts/validate/remoteUri"/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START API KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.apiKey.$invalid}">\n <label class="control-label">{{\'APPLICATION_API_KEY\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="apiKey" placeholder="{{\'APPLICATION_API_KEY\' | translate}}" class="form-control" data-ng-model="item.apiKey" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END API KEY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/iframe/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-chrome"></i>\n <a href="#" data-ng-if="!Auth.isAgent()">{{ \'APPLICATION_IFRAME\' | translate }}</a>\n <a href="#" data-ng-if="Auth.isAgent()">{{ iframe.title || iframe.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar" data-ng-if="!Auth.isAgent()">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/iframe.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{iframe.title}}\n </div>\n <div class="profile-usertitle-job">\n {{ \'APPLICATION_IFRAME\' | translate }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div class="profile-content" data-ng-if="!Auth.isAgent()">\n <div class="row">\n <div class="col-md-12">\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_IFRAME\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="iframe.title" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="iframe.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- END PROFILE CONTENT -->\n\n <div class="row" data-ng-if="Auth.isAgent()">\n <div class="col-md-12">\n <iframe ng-if="url" style="height: 600px" src="{{url}}" />\n </div>\n </div>\n\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/integration/list/list.html",'\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-game-controller"></i>\n <a href="/integrations/list">{{ \'APPLICATION_INTEGRATIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initList()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-eye font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INTEGRATIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <span class="btn green-jungle btn-file">\n <span> <i class="icon-plus"></i> New App </span>\n <input type="file" accept=".zip" nv-file-select="" uploader="uploader"/>\n </span>\n <a class="btn btn-icon-only btn-default" href="#" ng-csv="displayedIntegrations" filename="integrations.csv">\n <i class="icon-cloud-download"></i></a>\n <a class="btn btn-icon-only btn-default fullscreen" href="#"></a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table st-table="displayedIntegrations" st-safe-src="integrations" class="table table-striped table-bordered table-hover">\n <div class="table-responsive">\n <thead>\n <tr>\n <th colspan="6">\n <div class="row">\n <div class="col-md-6">\n <select class="form-control input-small select2me" data-ng-model="integrationsByPage">\n <option value="10">10</option>\n <option value="25">25</option>\n <option value="50">50</option>\n <option value="{{integrations.length}}">{{ \'APPLICATION_ALL\' | translate }}</option>\n </select>\n </div>\n <div class="col-md-6">\n <div class="input-group input-medium pull-right">\n <input st-search placeholder="{{ \'APPLICATION_SEARCH\' | translate }}" class="form-control" type="search" />\n <span class="input-group-addon">\n <i class="fa fa-search"></i>\n </span>\n </div>\n </div>\n </div>\n </th>\n </tr>\n <tr>\n <th st-sort="id" width="5%" st-sort-default="reverse">{{ \'APPLICATION_ID\' | translate }}</th>\n <th st-sort="fullname">{{ \'APPLICATION_NAME\' | translate }}</th>\n <th st-sort="name">{{ \'APPLICATION_FILENAME\' | translate }}</th>\n <th st-sort="name">{{ \'APPLICATION_VERSION\' | translate }}</th>\n <th st-sort="name">{{ \'APPLICATION_DESCRIPTION\' | translate }}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="integration in displayedIntegrations">\n <td>{{integration.id}}</td>\n <td>{{integration.name}}</td>\n <td>{{integration.filename}}</td>\n <td>{{integration.version}}</td>\n <td>{{integration.description}}</td>\n <td>\n <span class="btn default btn-xs blue-stripe btn-file">\n <span> {{ \'APPLICATION_UPDATE\' | translate }} </span>\n <input type="file" accept=".zip" nv-file-select="" uploader="uploader"/>\n </span>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteItem(integration.name, integration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="integrations.length">\n <td colspan="6" style="text-align:center;">\n <i>No integrations available</i>\n </td>\n </tr>\n </tbody>\n <tfoot>\n <tr>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="id" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="name" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_NAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n <div class="input-icon right">\n <i class="fa fa-search"></i>\n <input st-search="filename" placeholder="{{ \'APPLICATION_SEARCH\' | translate }} {{ \'APPLICATION_BY\' | translate | lowercase }} {{ \'APPLICATION_FILENAME\' | translate | lowercase}}" class="form-control" type="search"/>\n </div>\n </td>\n <td>\n </td>\n <td>\n </td>\n <td>\n </td>\n </tr>\n <tr>\n <td colspan="6" class="text-center">\n <div st-pagination class="pagination" st-items-by-page="integrationsByPage" st-displayed-pages="7"></div>\n </td>\n </tr>\n </tfoot>\n </div>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/jscripty/project/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PROJECT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/jscripty/project/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-slack"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PROJECTS\' | translate }}</a> </span>\n </div>\n <div class="actions" ng-show="isAdmin">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();">\n <i class="icon-reload"></i>\n </a>\n </div>\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROJECT\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n\n <!-- <div class="table-responsive"> -->\n\n\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/jscripty/project/report/report.detail.html",'<div class="portlet light bordered" data-ng-init="getProjectDetail();initView()">\n<div class="portlet-title">\n<div class="caption font-green-sharp">\n<i class="fa fa-list font-green-sharp"></i>\n<span class="caption-subject">{{ \'APPLICATION_SUMMARY\' | translate }}</a> </span>\n</div>\n<div class="actions">\n <div class="btn-group">\n <button class="btn btn-icon-only btn-primary" data-ng-click="pdf(\'header\',projectDetail)">\n <i class="fa fa-download"></i>\n </button>\n <!-- <button class="btn btn-icon-only btn-default" data-ng-click="accordion.expandAll()">\n <i class="fa fa-folder-open-o"></i>\n </button>\n <button class="btn btn-icon-only btn-default" data-ng-click="accordion.collapseAll()">\n <i class="fa fa-folder"></i>\n </button> -->\n </div>\n</div>\n</div>\n<div id=\'detail\' class="portlet-body">\n <div class="alert alert-success text-center" ng-show="!projectDetail.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div>\n <div class="row" ng-show="projectDetail.length">\n <div class="col-md-10 col-md-offset-1">\n <div id="header" class="panel panel-info">\n <div class="panel-heading">\n <strong>Project Name: </strong>{{project.name}}<br>\n <strong>Project Id: </strong>{{project.id}}<br>\n <strong>Completed: </strong>{{projectStats.completed}}<br>\n <strong>Incomplete: </strong>{{projectStats.incomplete}}<br>\n <strong>% Completed: </strong>{{projectStats.completed * 100 /(projectStats.completed + projectStats.incomplete) | number:2}}<br>\n </div>\n </div><br>\n <v-accordion class="vAccordion--default" multiple control="accordion">\n <v-pane id="{{question.question_id }}" ng-repeat="question in projectDetail" expanded="true">\n <v-pane-header>\n Question Id: {{question.question_id}}\n </v-pane-header>\n <v-pane-content>\n <div ng-class=" {{question.graphData.length > 0}} ? \'col-md-8\' : \'col-md-12\'">\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4><strong>{{question.question_label}}</strong> : {{question.question_text}}</h4>\n <br><br>\n <table ng-if="question.choices.length" class="table table-hover" style="table-layout: fixed; width: 100%">\n <thead>\n <tr>\n <th>Response</th>\n <th> #Response </th>\n <th> % </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-if="!choice.other_option" ng-repeat="choice in question.choices ">\n <td style="word-wrap: break-word">{{choice.value}}</td>\n <td>{{choice.count}}</td>\n <td>{{choice.percentage | number:2}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div class="row" ng-if="question.question_other_label">\n <!-- <div class="row" ng-if="choice.other_option" ng-repeat="choice in question.choices "> -->\n <!-- <div class="col-md-10 col-md-offset-1 ">\n <strong>{{choice.value}}</strong> <span class="badge">{{choice.count}}</span><br>\n </div> -->\n <!-- accordions can be nested :) -->\n <v-accordion >\n <v-pane >\n <!-- ng-repeat="subpane in pane.subpanes" ng-disabled="subpane.isDisabled" -->\n <v-pane-header>\n <strong>{{question.question_other_label}}</strong><br>\n </v-pane-header>\n <v-pane-content>\n <table ng-if="question.choices.length" class="table table-hover" style="table-layout: fixed; width: 100%">\n <thead>\n <tr>\n <th>Response</th>\n <th> #Response </th>\n <!-- <th> % </th> -->\n </tr>\n </thead>\n <tbody>\n\n <tr ng-if="choice.other_option" ng-repeat="choice in question.choices ">\n <td style="word-wrap: break-word">{{choice.value}}</td>\n <td>{{choice.count}}</td>\n <!-- <td>{{choice.percentage | number:2}}</td> -->\n </tr>\n </tbody>\n </table>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4> <strong>Total Respondents: {{question.total}}</strong></h4><br>\n </div>\n </div>\n </div>\n <div class=" col-md-4 pull-right " ng-if="question.graphType == \'bar\' && question.graphData">\n <canvas class="chart chart-bar" chart-data="question.graphData" chart-labels="question.graphLabels" chart-legend="true">\n </canvas>\n </div>\n <div class="col-md-4 pull-right " ng-if="question.graphType == \'pie\' && question.graphData">\n <canvas class="chart chart-pie" chart-data="question.graphData" chart-labels="question.graphLabels" chart-legend="true">\n </canvas>\n </div>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.html",'<div class="row">\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-edit"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_JSCRIPTY\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-book-open"></i>\n <a href="">{{ \'APPLICATION_REPORTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/report.png" class="img-responsive" >\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{project.name}}[{{project.id}}]\n </div>\n <div class="profile-usertitle-job">\n\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.sessions\')|| $state.is(\'main.jscripty.projects.report.sessionDetail\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/sessions\'>\n <i class="icon-settings"></i>\n Sessions</a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.summary\') || $state.is( \'main.jscripty.projects.report.questionDetail\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/summary\'>\n <i class="fa fa-bar-chart"></i>\n Questions</a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.detail\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/detail\'>\n <i class="fa fa-list"></i>\n Summary</a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.jscripty.projects.report.inputs\')}">\n <a data-ng-href=\'/jscripty/projects/report/{{projectId}}/inputs\'>\n <i class="fa fa-edit"></i>\n Inputs</a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n\n </div>\n\n </div>\n\n <div class="profile-content margin-top-20">\n <div class="row">\n <div class="col-md-12">\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n <div class="dashboard-stat2">\n <div class="display">\n <div class="number">\n <h3 class="font-green-sharp">{{projectStats.started}}</h3>\n <small>Started</small>\n </div>\n <div class="icon">\n <i class="icon-pie-chart"></i>\n </div>\n </div>\n <div class="progress-info">\n <div class="progress">\n <span style="width: 100%;" class="progress-bar progress-bar-success green-sharp">\n </span>\n </div>\n <div class="status">\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n <div class="dashboard-stat2">\n <div class="display">\n <div class="number">\n <h3 class="font-red-haze">{{projectStats.incomplete}}</h3>\n <small>Incomplete</small>\n </div>\n <div class="icon">\n <i class="icon-chart"></i>\n </div>\n </div>\n <div class="progress-info">\n <div class="progress">\n <span style="width: 100%;" class="progress-bar progress-bar-success red-haze">\n </span>\n </div>\n <div class="status">\n </div>\n </div>\n </div>\n </div>\n <div class="col-lg-4 col-md-4 col-sm-6 col-xs-12">\n <div class="dashboard-stat2">\n <div class="display">\n <div class="number">\n <h3 class="font-blue-sharp">{{projectStats.completed}}</h3>\n <small>Completed</small>\n </div>\n <div class="icon">\n <i class="icon-like"></i>\n </div>\n </div>\n <div class="progress-info">\n <div class="progress">\n <span style="width: 100%;" class="progress-bar progress-bar-success blue-sharp">\n </span>\n </div>\n <div class="status">\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class="row">\n <div ui-view class="col-md-12">\n </div>\n </div>\n </div>\n </div>\n </div>\n'), +a.put("app/jscripty/project/report/report.inputs.html",'<div class="row">\n <div class="col-md-12">\n <div class="portlet light bordered" data-ng-init="getQuestionInputs()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-edit font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INPUTS\' | translate }}</a> </span>\n </div>\n <div class="tools">\n <!-- <a href="" class="fullscreen" data-original-title="" title="">\n </a> -->\n </div>\n </div>\n <div class="portlet-body" >\n <div ui-grid="gridOptions" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.question.detail.html",'<div class="row" data-ng-init="getDetail()">\n <div class="col-md-12">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-list font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DETAIL\' | translate }}</a> </span>\n </div>\n </div>\n <div class="portlet-body" >\n <div class="alert alert-success text-center" ng-show="!questionDetail">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div>\n <div class="row margin-top-20" ng-show="questionDetail">\n <div class="col-md-10 col-md-offset-1">\n <div class="panel panel-info" >\n <div class="panel-heading">\n <h3 class="panel-title">\n\n <i class="fa-chart "></i>Question Id: {{questionDetail.question_id}}\n </div>\n <div class="panel-body">\n <div class="row">\n <div class="col-md-12">\n <h4><strong>{{questionDetail.question_label}}</strong></h4>\n </div>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <strong><h4>{{questionDetail.question_text}}</h4></strong><br>\n </div>\n </div>\n <div class="row">\n <div class="col-md-6">\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <!-- <div class="alert alert-success text-center" ng-show="!questionDetail.choices.length">\n <h4>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</h4>\n </div> -->\n <table ng-if="questionDetail.choices.length" class="table table-hover" style="table-layout: fixed; width: 100%">\n <thead>\n <tr>\n <th style="width=5%"> Value </th>\n <th style="width=5%"> Count </th>\n <th ng-if="question.graphType != \'PolarArea\'" style="width=5%"> % </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-if="!choice.other_option" ng-repeat="choice in questionDetail.choices ">\n <td style="word-wrap: break-word">{{choice.value}}</td>\n <td>{{choice.count}}</td>\n <td ng-if="question.graphType != \'PolarArea\'">{{choice.percentage | number:2}}</td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n <div class="row" ng-if="choice.other_option" ng-repeat="choice in questionDetail.choices ">\n <div class="col-md-6 col-md-offset-3 ">\n <strong><a href="">{{choice.value}}</a> </strong> <span class="badge">{{choice.count}}</span><br>\n\n </div>\n </div>\n <div class="row">\n <div class="col-md-10 col-md-offset-1 ">\n <h4> <strong>Total: {{questionDetail.total}}</strong></h4><br>\n </div>\n </div>\n </div>\n <div class="col-md-6 pull-right ">\n <canvas id="base" class="chart-base" chart-type="questionDetail.graphType"\n chart-data="questionDetail.graphData" chart-labels="questionDetail.graphLabels" chart-legend="true">\n </canvas>\n <!-- <button class="btn btn-success btn-sm pull-right" ng-click="toggle(questionDetail)">{{questionDetail.graphType}}</button> -->\n </div>\n </div>\n\n </div>\n\n </div>\n\n </div>\n </div>\n\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.session.detail.html",'\n\n<div class="row" data-ng-init="getSessionDetails()">\n <div class="col-md-12">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-list font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DETAIL\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn btn-icon-only btn-primary" data-ng-click="pdf(\'header\',sessionQuestions)">\n <i class="fa fa-download"></i>\n </button>\n <!-- <button class="btn btn-icon-only btn-default" data-ng-click="accordion.expandAll()">\n <i class="fa fa-plus-square-o"></i>\n </button>\n <button class="btn btn-icon-only btn-default" data-ng-click="accordion.collapseAll()">\n <i class="icon-collapse-alt"></i>\n </button> -->\n </div>\n </div>\n </div>\n <div class="portlet-body" style="height: auto;">\n <div class="row margin-top-20">\n <div class="col-md-10 col-md-offset-1">\n <div id = "header" class="panel panel-info">\n <div class="panel-heading">\n <strong>Project Name: </strong>{{project.name}}<br>\n <strong>Project Id: </strong>{{project.id}}<br>\n <strong>Session Id: </strong>{{session.session_id}}<br>\n <strong>Status: </strong>{{session.status}}<br>\n <strong>Started At: </strong>{{session.createdAt}}<br>\n <strong>Closed At: </strong>{{session.completedAt}}<br>\n </div>\n </div>\n <v-accordion class="vAccordion--default" multiple control="accordion">\n <v-pane id="{{question.question_id }}" ng-repeat=" question in sessionQuestions | orderBy:\'index\'"" expanded="true">\n <v-pane-header>\n Question Id: {{question.question_id}}\n </v-pane-header>\n <v-pane-content>\n <h4><strong>{{question.question_label}}</strong> : {{question.question_text}}</h4>\n <div ng-if="question.question_type == \'question\'">\n <h4><strong>Answer: </strong>{{question.question_answer}}</h4>\n </div>\n <div ng-if="question.question_other_label">\n <h4>\n <strong>{{question.question_other_label}}: </strong>\n {{question.question_other_answer || \'No Value\'}}\n </h4>\n </div>\n <table class="table table-hover" ng-if="question.ReportJscriptyInputs.length">\n <thead>\n <tr>\n <th > Label </th>\n <th >Answer </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="input in question.ReportJscriptyInputs |orderBy:\'id\'">\n <td>{{input.input_label}}</td>\n <td>{{input.input_value || \'No Value\'}}</td>\n </tr>\n </tbody>\n </table>\n </v-pane-content>\n </v-pane>\n </v-accordion>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/report/report.sessions.html",'\n <div class="row" >\n <div class="col-md-12">\n <div class="portlet light bordered" data-ng-init="getProjectSessions()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-settings font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SESSIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();initView()">\n <i class="icon-reload"></i>\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body" >\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n'),a.put("app/jscripty/project/report/report.summary.html",'<div class="row">\n <div class="col-md-12">\n <div class="portlet light bordered" data-ng-init="getQuestionSummary()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-bar-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_QUESTIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <!-- <a class="btn btn-default" href="#" data-ng-click="gridOptions.getPage();initView()">\n <i class="icon-reload"></i>\n </a> -->\n </div>\n </div>\n </div>\n <div class="portlet-body" >\n <div ui-grid="gridOptions" ui-grid-auto-resize ui-grid-pagination ui-grid-selection ui-grid-exporter ui-grid-draggable-rows class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/jscripty/project/view/view.html",'<div class="row" data-ng-init="getProject()">\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-edit"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_JSCRIPTY\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="/jscripty/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a ng-href="/jscripty/projects/view/{{jscriptyProject.id}}">{{jscriptyProject.name}}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div id="geEditor" class="geEditor"></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<script>\n\n\n</script>\n'),a.put("app/landing/landing.html",'<!-- BEGIN LOGO -->\r\n<div class="logo">\r\n <a href="index.html">\r\n <img src="assets/images/logo-big.png" alt=""/>\r\n </a>\r\n</div>\r\n<!-- END LOGO -->\r\n\r\n<!-- BEGIN LANDING -->\r\n<div data-ng-init="initLanding()">\r\n <div data-ng-show="message" class="col-md-12 page-500" style="padding-bottom: 50px;">\r\n <div class="number">\r\n Oops!\r\n </div>\r\n <div class=" details" style="color: white;">\r\n <h3>{{message | translate}}.</h3>\r\n <p>\r\n Please contact your administrator.<br><br>\r\n </p>\r\n </div>\r\n </div>\r\n</div>\r\n<!-- END LANDING -->\r\n\r\n<div class="copyright">\r\n xCALLY Motion | 2016 © Powered by Xenialab\r\n</div>\r\n'),a.put("app/login/login.html",'<!-- BEGIN LOGO -->\n<div class="logo">\n <a href="index.html">\n <img data-ng-if="settings.defaultLoginLogo || !license.custom" ng-src="assets/images/logo-big.png" alt="logo" />\n <img data-ng-if="!settings.defaultLoginLogo && license.custom" ng-src="api/settings/logo/login/{{settings.loginLogo ? settings.loginLogo : \'logo-big\'}}" alt="logo" class="custom-login-logo" />\n </a>\n</div>\n<!-- END LOGO -->\n<!-- BEGIN LOGIN -->\n<div class="content">\n <!-- BEGIN LOGIN FORM -->\n <form class="login-form" name="loginForm" data-ng-show="!flagLogin1" data-ng-submit="login(loginForm)" novalidate>\n <h3 class="form-title">Sign In</h3>\n <div class="alert alert-danger" data-ng-class="{\'display-hide\': !loginSubmitted || !errorLogin}">\n <button class="close" data-close="alert"></button>\n <span>{{ errorLog ? errorLog : \'Enter any username and password.\'}}</span>\n </div>\n <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.name.$invalid}">\n <label class="control-label">Username</label>\n <div class="input-icon">\n <i class="fa fa-user"></i>\n <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="text" autocomplete="off" placeholder="Username" name="name" ng-model="userLogin.name" required/>\n </div>\n <span data-ng-show="loginSubmitted && loginForm.name.$invalid" class="help-block">Username is required.</span>\n </div>\n <div class="form-group" data-ng-class="{\'has-error\': loginSubmitted && loginForm.password.$invalid}">\n <label class="control-label">Password</label>\n <div class="input-icon">\n <i class="fa fa-lock"></i>\n <input ng-enter="login(loginForm)" class="form-control form-control-solid placeholder-no-fix" type="password" autocomplete="off" placeholder="Password" name="password" ng-model="userLogin.password" required/>\n </div>\n <span data-ng-show="loginSubmitted && loginForm.password.$invalid" class="help-block">Password is required.</span>\n </div>\n <div class="form-actions">\n <button type="submit" class="btn btn-success uppercase">Login</button>\n <label class="rememberme check">\n <input type="checkbox"> Remember me\n </label>\n <!-- <label class="rememberme check">\n <input type="checkbox" name="remember" value="1"/>Remember </label> -->\n <!-- <a href="javascript:;" id="forget-password" class="forget-password">Forgot Password?</a> -->\n </div>\n <div class="login-options">\n <h4>Follow Us on</h4>\n <ul class="social-icons">\n <li>\n <a class="social-icon-color facebook" data-original-title="facebook" href="https://www.facebook.com/xenialab"></a>\n </li>\n <li>\n <a class="social-icon-color twitter" data-original-title="Twitter" href="https://twitter.com/xenialab"></a>\n </li>\n <li>\n <a class="social-icon-color googleplus" data-original-title="Goole Plus" href="#"></a>\n </li>\n <li>\n <a class="social-icon-color linkedin" data-original-title="Linkedin" href="#"></a>\n </li>\n </ul>\n </div>\n </form>\n</div>\n<div class="copyright">\n xCALLY Motion | {{year}} - {{year + 1}} © Powered by Xenialab\n</div>\n<!-- END LOGIN -->\n'),a.put("app/main/chooseContact.modal.html",'<div class="modal-header" data-ng-init="getContacts()">\n <h3 class="modal-title">{{ \'APPLICATION_CHOOSE_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <table st-table="rowCollection" class="table table-striped">\n <tbody>\n <tr ng-repeat="contact in contacts">\n <td>{{contact.firstName}} {{contact.lastName || \'\'}}</td>\n <td>{{contact.List.name}}</td>\n <td>\n <button class="btn default btn-xs green-stripe" data-ng-click="open(contact)">\n {{ \'APPLICATION_OPEN\' | translate}}\n </button>\n </td>\n </tr>\n <tr data-ng-hide="contacts.length">\n <td colspan="3" style="text-align:center;">\n <i>{{ \'MESSAGE_NO_CONTACTS_AVAILABLE\' | translate }}</i>\n </td>\n </tr>\n </tbody>\n </table>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="open()"><i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/closeEditedTab.modal.html",'<div class="modal-header" data-ng-init="getContacts()">\n <h3 class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <p>{{\'MESSAGE_CLOSE_EDITED_TAB\' | translate}}</p>\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/closeEditedTab.modal.jscripty.html",' <div class="modal-header" data-ng-init="init()">\n <h3 class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n <!-- <h3 ng-if="projectStatus == \'incomplete\'" class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3> -->\n\n</div>\n<div class="modal-body">\n<!-- <div ng-if="projectStatus == \'incomplete\'" class="modal-body"> -->\n <p>{{\'MESSAGE_CLOSE_INCOMPLETE\' | translate}}</p>\n</div>\n\n\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/cm.disposition.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title | translate" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <form name="form" novalidate data-ng-init="initDisposition()">\n <div class="form-group">\n <ui-select data-ng-model="item.disposition" name="list" theme="bootstrap" data-ng-disabled="!dispositions.length" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISPOSITION\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="disposition.name as disposition in dispositions | filter: $select.search">\n <div ng-bind-html="disposition.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="note note-warning" data-ng-hide="dispositions.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_DISPOSITIONS_AVAILABLE\' | translate }}\n </p>\n </div>\n</form>\n <!-- <div ng-if="modal.html" ng-bind-html="modal.html"></div> -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="ok()" data-ng-disabled="!item.disposition">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n <!-- <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button> -->\n</div>\n'),a.put("app/main/company.info.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_COMPANY_INFO\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <div class="row">\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_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADDRESS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_SHIPMENT_ADDRESS\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateCompany()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START NAME -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}</label>\n <input readonly type="text" name="name" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="company.name" required/>\n </div>\n <!-- END NAME -->\n\n <!-- START VAT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VAT\' | translate}}</label>\n <input readonly type="text" name="vat" placeholder="{{\'APPLICATION_VAT\' | translate}}" class="form-control" data-ng-model="company.vat"/>\n </div>\n <!-- END VAT -->\n\n <!-- START COMPANYID -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_COMPANY_ID\' | translate}}</label>\n <input readonly type="text" name="companyId" placeholder="{{\'APPLICATION_COMPANY_ID\' | translate}}" class="form-control" data-ng-model="company.companyId"/>\n </div>\n <!-- END COMPANYID -->\n\n <!-- START WEBSITE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_WEBSITE\' | translate}}</label>\n <input readonly type="text" name="website" placeholder="{{\'APPLICATION_WEBSITE\' | translate}}" class="form-control" data-ng-model="company.website"/>\n </div>\n <!-- END WEBSITE -->\n\n <!-- START EMAIL -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}</label>\n <input readonly type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="company.email"/>\n </div>\n <!-- END EMAIL -->\n </div>\n <div class="col-md-6">\n <!-- START PHONE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}</label>\n <input readonly type="text" name="phone" placeholder="{{\'APPLICATION_PHONE\' | translate}}" class="form-control" data-ng-model="company.phone"/>\n </div>\n <!-- END PHONE -->\n\n <!-- START FAX -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n <input readonly type="text" name="fax" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" data-ng-model="company.fax"/>\n </div>\n <!-- END FAX -->\n\n <!-- START TYPE -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}</label>\n <input readonly type="text" name="type" placeholder="{{\'APPLICATION_TYPE\' | translate}}" class="form-control" data-ng-model="company.type"/>\n </div>\n <!-- END TYPE -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <textarea readonly type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="company.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n </div>\n </div>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.address" novalidate>\n <!-- START STREET -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n <input readonly type="text" name="street" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.street"/>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n <input readonly type="text" name="postalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.postalCode"/>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n <input readonly type="text" name="city" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.city"/>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n <input readonly type="text" name="country" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.country"/>\n </div>\n <!-- END COUNTRY -->\n </form>\n </div>\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.shipmentAddress" novalidate>\n <!-- START STREET -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_STREET\' | translate}}</label>\n <input readonly type="text" name="sStreet" placeholder="{{\'APPLICATION_STREET\' | translate}}" class="form-control" data-ng-model="company.sStreet"/>\n </div>\n <!-- END STREET -->\n\n <!-- START POSTALCODE -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_POSTALCODE\' | translate}}</label>\n <input readonly type="text" name="sPostalCode" placeholder="{{\'APPLICATION_POSTALCODE\' | translate}}" class="form-control" data-ng-model="company.sPostalCode"/>\n </div>\n <!-- END POSTALCODE -->\n\n <!-- START CITY -->\n <div class="form-group" >\n <label class="control-label">{{\'APPLICATION_CITY\' | translate}}</label>\n <input readonly type="text" name="sCity" placeholder="{{\'APPLICATION_CITY\' | translate}}" class="form-control" data-ng-model="company.sCity"/>\n </div>\n <!-- END CITY -->\n <!-- START COUNTRY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_COUNTRY\' | translate}}</label>\n <input readonly type="text" name="sCountry" placeholder="{{\'APPLICATION_COUNTRY\' | translate}}" class="form-control" data-ng-model="company.sCountry"/>\n </div>\n <!-- END COUNTRY -->\n </form>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="close()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/main/customDateFilter.modal.html",'<div class="modal-body">\n <uib-datepicker ng-model="filterDate"\n class="well well-sm">\n </uib-datepicker>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="setFilterDate(filterDate)">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancelDateFilter()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/customDateFilterHeader.html",'<input class="ui-grid-filter-input date-time-filter-buttons pointer-cursor" style="width:90%;padding:inherit;" data-ng-click="openDatePicker(colFilter)" placeholder="{{ colFilter.name }}" readonly value="{{colFilter.term | date:\'dd-MM-yyyy\'}}">\n<span role="button" class="ui-grid-filter-button-select cancel-custom-date-range-filter-button ng-scope" data-ng-click="removeFilter(colFilter, $index)" data-ng-if="!colFilter.disableCancelFilterButton" data-ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === \'\'" data-ng-show="colFilter.term !== undefined && colFilter.term != null" tabindex="0" aria-hidden="false" aria-disabled="false" style="right:22px;">\n <i class="ui-grid-icon-cancel cancel-custom-date-range-filter" ui-grid-one-bind-aria-label="aria.removeFilter" aria-label="Remove Filter"> </i>\n</span>\n'),a.put("app/main/customTagsFilter.modal.html",'<div class="modal-body" data-ng-init="initModal()">\n <!-- START TAGS -->\n<div class="form-group">\n <label class="control-label">{{\'APPLICATION_TAGS\' | translate}}</label>\n <ui-select multiple=\'true\' data-ng-model="item.myTags" 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<!-- END TAGS -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="setFilterTags()">{{ \'APPLICATION_CONFIRM\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancelTagsFilter()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/main/customTagsFilterHeader.html",'<input class="ui-grid-filter-input pointer-cursor" style="width:90%;padding:inherit;" data-ng-click="openTags(colFilter)" placeholder="{{ colFilter.name }}" readonly value="{{colFilter.term}}">\n<span role="button" class="ui-grid-filter-button-select cancel-custom-date-range-filter-button ng-scope" data-ng-click="removeFilter(colFilter, $index)" data-ng-if="!colFilter.disableCancelFilterButton" data-ng-disabled="colFilter.term === undefined || colFilter.term === null || colFilter.term === \'\'" data-ng-show="colFilter.term !== undefined && colFilter.term != null" tabindex="0" aria-hidden="false" aria-disabled="false" style="right:5px;">\n <i class="ui-grid-icon-cancel cancel-custom-date-range-filter" ui-grid-one-bind-aria-label="aria.removeFilter" aria-label="Remove Filter"> </i>\n</span>\n'),a.put("app/main/main.html",'<!-- BEGIN HEADER -->\n<div data-ng-include="\'components/header/header.html\'" data-ng-controller="HeaderController" class="page-header navbar navbar-fixed-top">\n</div>\n<!-- END HEADER -->\n\n<div class="clearfix">\n</div>\n<!-- BEGIN CONTAINER -->\n<div class="page-container" data-ng-init="initMain()">\n\n <!-- BEGIN SIDEBAR -->\n <div data-ng-include="\'components/sidebar/sidebar.html\'" data-ng-controller="SidebarController" class="page-sidebar-wrapper">\n </div>\n <!-- END SIDEBAR -->\n\n <!-- BEGIN CONTENT -->\n <div class="page-content-wrapper">\n <div class="page-content" data-ng-class="{\'demo\': !license.expiration}">\n\n <!-- BEGIN PAGE CONTENT -->\n <uib-tabset>\n <uib-tab select="addWorkspace()" active="mainTab.active">\n <uib-tab-heading>\n Motion <i class="icon-rocket"></i>\n </uib-tab-heading>\n <div ui-view class=""></div>\n </uib-tab>\n <uib-tab class="motion-{{workspace.type}}-uib-tab" data-ng-repeat="workspace in workspaces" active="workspace.active" data-ng-switch="workspace.type" select="select(workspace)" deselect="deselect(workspace)">\n <uib-tab-heading>\n <i data-ng-if="workspace.class" class="prova" data-ng-class="workspace.class"></i> {{workspace.name | truncate: 25: \'...\': true}} <span class="badge badge-danger" data-ng-if="workspace.unread">{{workspace.unread}}</span> <i class="icon-close pointer-cursor" data-ng-click="closeTab($index)"></i>\n </uib-tab-heading>\n <div class="" data-ng-switch="workspace.type">\n <new-contact data-ng-switch-when="newContact" workspace="workspace" index="$index" on-submit="createContact(index,item)"></new-contact>\n <contact data-ng-switch-when="contact" workspace="workspace" index="$index" on-submit="updateContact(index,item)"></contact>\n <jscripty data-ng-switch-when="jscripty" workspace="workspace" index="$index" on-submit="closeJscriptyTab(index)"></jscripty>\n <!-- <jscripty data-ng-switch-when="jscripty" workspace="workspace" index="$index" on-submit="closeTab(index,item)"></jscripty> -->\n <chat-room data-ng-switch-when="chatRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></chat-room>\n <fax-room data-ng-switch-when="faxRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></fax-room>\n <mail-room data-ng-switch-when="mailRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></mail-room>\n <sms-room data-ng-switch-when="smsRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></sms-room>\n <openchannel-room data-ng-switch-when="openchannelRoom" workspace="workspace" index="$index" on-submit="closeTab(index)"></openchannel-room>\n </div>\n </uib-tab>\n </uib-tabset>\n <!-- END PAGE CONTENT -->\n\n </div>\n </div>\n <!-- END CONTENT -->\n\n</div>\n<!-- END CONTAINER -->\n\n<!-- BEGIN FOOTER -->\n<div data-ng-include="\'components/footer/footer.html\'" data-ng-controller="FooterController" class="page-footer">\n</div>\n<!-- END FOOTER -->\n\n<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->\n<!-- BEGIN CORE PLUGINS -->\n<!--[if lt IE 9]>\n<script src="../../assets/global/plugins/respond.min.js"></script>\n<script src="../../assets/global/plugins/excanvas.min.js"></script>\n<![endif]-->\n\n<!-- END JAVASCRIPTS -->\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/actionBuilder/template.actionBuilderMotionBar.html",'<!-- data1: 0 POPUP, 1 URL, 2 WINAPP -->\n<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 data-ng-change="changeMode();">\n <ui-select-match placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="motionAction.value as motionAction in motionActions | filter: $select.search">\n <div ng-bind-html="motionAction.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_TYPE\' | 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\n<!-- data1:0 data2:Template -->\n<div data-ng-if="randomName && element.data1==0" class="form-group col-md-6" 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" required>\n <ui-select-match placeholder="{{ \'APPLICATION_TEMPLATE\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_TEMPLATE\' | 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\n<!-- data1:1 data2:URL -->\n<div data-ng-if="randomName && element.data1==1" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="text" ng-model="element.data2" name="data2{{randomName}}" class="form-control" required placeholder="{{ \'APPLICATION_URL\' | translate }}"/>\n <span class="help-block">\n {{ \'APPLICATION_URL\' | 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\n<!-- data1:2 data2:Application data3:Arguments -->\n<div data-ng-if="randomName && element.data1==2" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="text" ng-model="element.data2" name="data2{{randomName}}" class="form-control" required placeholder="{{ \'APPLICATION_APPLICATION\' | translate }}"/>\n <span class="help-block">\n {{ \'APPLICATION_APPLICATION\' | 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 data-ng-if="randomName && element.data1==2" class="form-group col-md-6">\n <input type="text" ng-model="element.data3" name="data3{{randomName}}" class="form-control" placeholder="{{ \'APPLICATION_ARGUMENTS\' | translate }}"/>\n <span class="help-block">\n {{ \'APPLICATION_ARGUMENTS\' | translate }}\n </span>\n</div>\n'),a.put("app/main/template/actionBuilder/template.actionBuilderStatus.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 | translate}}</ui-select-match>\n <ui-select-choices repeat="status.value as status in states | filter: $select.search">\n <div ng-bind-html="status.name | translate | 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/actionBuilder/template.actionBuilderTemplate.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="template.id as template in templates | filter: $select.search">\n <div ng-bind-html="template.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<div data-ng-if="randomName" class="form-group col-md-6" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="text" ng-model="element.data2" name="data2{{randomName}}" class="form-control" required/>\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="col-md-6">\n <input type="text" ng-model="element.data3" class="form-control"/>\n</div>\n'),a.put("app/main/template/actionBuilder/template.actionBuilderUrlForward.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 placeholder="{{ \'APPLICATION_TYPE\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in types | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{\'APPLICATION_TYPE\' | 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 && randomName" data-ng-class="{\'has-error\': (form[\'data2\'+randomName].$touched || form.$submitted) && form[\'data2\'+randomName].$invalid}">\n <input type="url" ng-model="element.data2" placeholder="{{ \'APPLICATION_URL\' | translate }}" name="data2{{randomName}}" class="form-control" required/>\n <span class="help-block">\n {{\'APPLICATION_URL\' | 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"),a.put("app/main/template/template.conditionBuilder.html",'<div data-ng-if="randomName" class="form-group col-md-4" data-ng-class="{\'has-error\': (form[\'field\'+randomName].$touched || form.$submitted) && form[\'field\'+randomName].$invalid}">\n <ui-select data-ng-model="element.field" name="field{{randomName}}" theme="bootstrap" data-ng-change="checkCondition(element.field)" required>\n <ui-select-match>{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="condition.value as condition in service.services[serviceindex].conditions | filter: $select.search">\n <div ng-bind-html="condition.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form[\'field\'+randomName].$touched || form.$submitted) && form[\'field\'+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 data-ng-if="randomName && element.field" class="form-group col-md-4" data-ng-class="{\'has-error\': (form[\'operator\'+randomName].$touched || form.$submitted) && form[\'operator\'+randomName].$invalid}">\n <ui-select data-ng-model="element.operator" name="operator{{randomName}}" theme="bootstrap" required>\n <ui-select-match>{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="operator.value as operator in _.find(service.services[serviceindex].conditions,{value:element.field}).operators | filter: $select.search">\n <div ng-bind-html="operator.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form[\'operator\'+randomName].$touched || form.$submitted) && form[\'operator\'+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="col-md-4" data-ng-if="elementType === \'input\' && randomName && element.field" data-ng-class="{\'has-error\': (form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+randomName].$invalid}">\n <input type="text" ng-model="element.value" class="form-control" name="value{{randomName}}" required/>\n <span data-ng-show="(form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+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-4" data-ng-if="elementType === \'select\' && randomName && element.field" data-ng-class="{\'has-error\': (form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+randomName].$invalid}">\n <ui-select data-ng-model="element.value" name="value{{randomName}}" theme="bootstrap" required>\n <ui-select-match>{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="value.value as value in values| filter: $select.search">\n <div ng-bind-html="value.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(form[\'value\'+randomName].$touched || form.$submitted) && form[\'value\'+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})" novalidate>\n <!-- BEGIN PROFILE CONTENT -->\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 <!--end add-portfolio-->\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 grey-cascade" type="button" data-ng-click="dispose()" data-ng-disabled="contact.disposed">\n <i class="icon-target"></i> {{\'APPLICATION_DISPOSITION\' | translate}}\n </button>\n </div>\n </div>\n <!--end row-->\n <!-- BEGIN PORTLET -->\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 <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 <!-- START FIRSTNAME -->\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 <!-- END FIRSTNAME -->\n\n <!-- START LASTNAME -->\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 <!-- END LASTNAME -->\n\n <!-- START COMPANY -->\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>\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 <!-- END COMPANY -->\n </div>\n <div class="col-md-4">\n <!-- START PHONE -->\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">\n <!-- <button type="button" data-ng-click="callPhoneBar(contact.phone)" class="btn btn-default" data-ng-disabled="!contact.phone">\n <span class="icon-call-out" data-ng-class="{\'font-blue\':contact.phone}"></span>\n </button> -->\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 <!-- END PHONE -->\n <!-- START MOBILE -->\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">\n <!-- <button type="button" data-ng-click="callPhoneBar(contact.mobile)" class="btn btn-default" data-ng-disabled="!contact.mobile">\n <span class="icon-call-out" data-ng-class="{\'font-blue\':contact.mobile}"></span>\n </button> -->\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 <!-- END MOBILE -->\n <!-- START EMAIL -->\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 <!-- END EMAIL -->\n </div>\n <div class="col-md-4">\n <!-- START FAX -->\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="icon-paper-plane" 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 <!-- END FAX -->\n <!-- START TAGS -->\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 <!-- END TAGS -->\n <!-- START LIST -->\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 <!-- END LIST -->\n <!-- START LIST -->\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}}</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>\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 <!-- END LIST -->\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 <!-- START STREET -->\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 <!-- END STREET -->\n\n <!-- START POSTALCODE -->\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 <!-- END POSTALCODE -->\n\n <!-- START CITY -->\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 <!-- END CITY -->\n </div>\n <div class="col-md-4">\n <!-- START COUNTRY -->\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 <!-- END COUNTRY -->\n\n <!-- START DATEOFBIRTH -->\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 <!-- END DATEOFBIRTH -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n </div>\n <div class="col-md-4">\n <!-- START URL -->\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 <!-- END URL -->\n\n <!-- START CREATED_BY -->\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 <!-- END CREATED_BY -->\n </div>\n </div>\n </div>\n <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!contact.firstName || !contact.ListId">{{submitButtonLabel}}</button>\n </div>\n <!-- END PORTLET -->\n <!-- BEGIN PORTLET -->\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 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 type="text" name="{{customField.name}}" placeholder="{{customField.alias}}" class="form-control" data-ng-model="contact[customField.name]"/>\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 <button type="submit" class="btn btn-circle green-haze btn-sm" data-ng-disabled="!contact.firstName || !contact.ListId">{{submitButtonLabel}}</button>\n </div>\n </div>\n <!-- END PORTLET -->\n </div>\n <div class="tab-pane fade" id="tab_1_2{{contact.id || \'\'}}">\n <!-- BEGIN PORTLET -->\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" data-toggle="tab">{{ \'APPLICATION_DAILY\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_2_2" data-toggle="tab">{{ \'APPLICATION_HISTORY\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <!--BEGIN TABS-->\n <div class="tab-content">\n <div class="tab-pane active" id="tab_2_1">\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">\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 <!--END TABS-->\n </div>\n </div>\n <!-- END PORTLET -->\n </div>\n <!-- END PROFILE CONTENT -->\n </form>\n</div>\n </div>\n</div>\n"), +a.put("app/main/template/template.jscriptyTab.html",'<div class="portlet light bordered">\n <!-- BEGIN PORTLET BODY -->\n <div class="portlet-body">\n <div class="row">\n <!-- BEGIN SIDEBAR -->\n <div class="profile-sidebar" style="width: 250px;">\n <!-- PORTLET MAIN -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li ng-repeat= \'question in questions track by $index\' ng-class="{active: $index == count}">\n <a ng-click="setCurrentQuestion($index)" >\n <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 </li>\n </ul>\n </div>\n <!-- END SIDEBAR MENU -->\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END SIDEBAR -->\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 <div class="portlet-body form ">\n <div class="row">\n <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 <!-- Question -->\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 <!-- Buttons -->\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 <!-- Question Other Option -->\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 </div>\n <!-- Inputs -->\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 <!-- ng-true-value="\'Selected\'" ng-false-value="\'Not Selected\'" -->\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 <!-- actions -->\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 <!-- <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> -->\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 <!-- END PORTLET BODY -->\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 <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </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/market/market.html",'<div class="row">\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-handbag"></i>\n <a href="/market">Market Place</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\n <!-- Our Integration -->\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 <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 <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 <a href="https://wiki.xcallymotion.com/" class="btn btn-xs grey-cascade" target="_blank">More <i class="fa fa-link"></i></a>\n </div>\n </div>\n <div class="integration-info" data-ng-if="integration.downloading">\n <div>\n <uib-progressbar class="progress-striped active" value="percentage" type="success"><i style="color:black;">{{status}}</i></uib-progressbar>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!--/thumbnails-->\n <!-- //End Meer Our Team -->\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 <!-- START PHONE -->\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 <!-- END PHONE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-doc"></i>\n <a href="#">{{ \'APPLICATION_BLACKLIST\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-doc font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_BLACKLIST\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/motiondialer/info/view/view.about.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ABOUT\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form class="form-horizontal form-row-seperated">\n <div class="form-body">\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/motiondialer/info/view/view.details.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_DETAILS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form class="form-horizontal form-row-seperated">\n <div class="form-body">\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n <!-- START -->\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 <!-- END -->\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/motiondialer/info/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getProperties()">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-info"></i>\n <a href="/motiondialer/info/view/properties">{{ \'APPLICATION_INFO\' | translate }}</a>\n <i data-ng-show="variable" class="fa fa-angle-right"></i>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/template.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ \'APPLICATION_INFO\' | translate }}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.about\')}">\n <a data-ng-href="/motiondialer/info/view/about">\n <i class="icon-globe"></i>\n {{ \'APPLICATION_ABOUT\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.info.view.details\')}">\n <a data-ng-href="/motiondialer/info/view/details">\n <i class="icon-support"></i>\n {{ \'APPLICATION_DETAILS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/motiondialer/list/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_LIST\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/list/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_LISTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LISTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_LIST\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/motiondialer/list/view/view.contact.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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START PHONES -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.phones.$touched || form.$submitted) && form.phones.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="phones" placeholder="{{\'APPLICATION_PHONES\' | translate}}" class="form-control" data-ng-model="item.phones" required/>\n <span data-ng-show="(form.phones.$touched || form.$submitted) && form.phones.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span class="help-block">\n <p>Insert one or multiple phones separated by commas, for example:</p>\n <p>0123455678, 3456785673, 2345667899</p>\n </span>\n </div>\n <!-- END PHONES -->\n\n <!-- START TIMEZONE -->\n <div class="form-group">\n <label class="control-label">Timezone</label><br>\n <select ng-model="item.timezone">\n <option value="">--</option>\n <optgroup ng-repeat="timezone in timezones" label="{{timezone.group}}">\n <option ng-repeat="zone in timezone.zones" value="{{zone.value}}">{{zone.name}}</option>\n </optgroup>\n </select>\n </div>\n <!-- END TIMEZONE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/list/view/view.contact.import.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 <!-- START NAME -->\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}}</label>\n <ui-select data-ng-model="item.name" theme="bootstrap" name="name" data-ng-disabled="disabled">\n <ui-select-match allow-clear placeholder="{{ \'APPLICATION_NAME\' | 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 <!-- END NAME -->\n\n <!-- START PHONES -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.phones.$touched || form.$submitted) && form.phones.$invalid}">\n <label class="control-label">{{\'APPLICATION_PHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.phones" theme="bootstrap" name="phones" 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 <span data-ng-show="(form.phones.$touched || form.$submitted) && form.phones.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PHONES -->\n\n <!-- START TIMEZONE -->\n <div class="form-group">\n <label class="control-label">Timezone</label><br>\n <select ng-model="item.timezone">\n <option value="">--</option>\n <optgroup ng-repeat="timezone in timezones" label="{{timezone.group}}">\n <option ng-repeat="zone in timezone.zones" value="{{zone.value}}">{{zone.name}}</option>\n </optgroup>\n </select>\n </div>\n <!-- END TIMEZONE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n <!-- START PROGRESS -->\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 <!-- END PROGRESS -->\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="start()" ng-disabled="form.$invalid || !form.phones || 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/list/view/view.contacts.html",'<div class="row" data-ng-init="getContacts()">\n <div class="col-md-12">\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_LIST\' | translate}} {{ \'APPLICATION_CONTACTS\' | translate}} </span>\n </div>\n </div>\n\n <div class="portlet-body">\n <div class="btn-group">\n <button class="btn green-jungle margin-bottom-10" ng-click="createContact()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n <span class="btn default btn-file">\n <span class="fileinput-new"><i class="icon-cloud-upload"></i> {{\'APPLICATION_IMPORT_FROM_CSV\' | translate}}</span>\n <input type="file" nv-file-select="" uploader="uploader"/>\n </span>\n </div>\n\n <!-- <div class="btn-group">\n <button class="btn green-jungle" data-ng-click="newContact();">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONTACT\' | translate }}\n </button>\n\n </div> -->\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/motiondialer/list/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getList()">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-doc"></i>\n <a href="/motiondialer/lists/list">{{ \'APPLICATION_LISTS\' | translate }}</a>\n <i data-ng-show="list.name" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="list.name">\n <a href="#">{{list.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/template.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{list.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.motiondialer.lists.view.settings\')}">\n <a data-ng-href="/motiondialer/lists/view/{{list.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.lists.view.contacts\')}">\n <a data-ng-href="/motiondialer/lists/view/{{list.id}}/contacts">\n <i class="icon-people"></i>\n {{ \'APPLICATION_CONTACTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/motiondialer/list/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_LIST\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_general" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- START GENERAL TAB -->\n <div class="tab-pane active" id="tab_general">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateList()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="list.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="list.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </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 <!-- START NAME -->\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 <!-- END NAME -->\n <!-- START LIST -->\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 <!-- END LIST -->\n <!-- START QUEUE -->\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 <!-- END QUEUE -->\n <!-- START TIMEOUT QUEUE -->\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 <!-- END MAX RETRIES -->\n <!-- START TRUNK -->\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 <!-- END TRUNK -->\n <!-- START FETCH SORT -->\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 <!-- END FETCH SORT-->\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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}}</h3>\n</div>\n<div class="modal-body">\n <form name="form" ng-init="initModal()" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n <!-- START LIST -->\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 <!-- END LIST -->\n <!-- START PROJECT -->\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 <!-- END PROJECT -->\n <!-- START TRUNK -->\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 <!-- END TRUNK -->\n <!-- START FETCH SORT -->\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 <!-- END FETCH SORT-->\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-settings"></i>\n <a href="#">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PROCESSES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <button class="btn green-jungle dropdown-toggle" data-toggle="dropdown" data-close-others="true">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROCESS\' | translate }}\n </button>\n <ul class="dropdown-menu pull-right">\n <li>\n <a href="#" ng-click="createProcessQueue()">{{ \'APPLICATION_QUEUE\' | translate }}</a>\n </li>\n <li>\n <a href="#" ng-click="createProcessSquare()">{{ \'APPLICATION_CALLYSQUARE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START TIME -->\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 <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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 <!-- END MONTH -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getProcess()">\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-control-forward"></i>\n <a href="#">Motion Dialer</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-settings"></i>\n <a href="/motiondialer/processes/list">{{ \'APPLICATION_PROCESSES\' | translate }}</a>\n <i data-ng-show="process.name" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="process.name">\n <a href="#">{{process.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/account.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{process.name}} ({{ (process.status === \'RUN\') ? \'RUNNING...\' : \'STOPPED\' }})\n </div>\n <div class="profile-usertitle-job">\n <a href="/motiondialer/lists/view/{{process.id_list}}/settings">{{ \'APPLICATION_LIST\' | translate}} #{{process.id_list}} ({{process.fetch_sort}})</a>\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <div class="profile-userbuttons">\n <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 <div class="profile-userbuttons">\n <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 <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 </div>\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.overview\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/overview">\n <i class="icon-home"></i>\n {{ \'APPLICATION_OVERVIEW\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.settings\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.intervals\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/intervals">\n <i class="icon-clock"></i>\n {{ \'APPLICATION_INTERVALS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.motiondialer.processes.view.spooler\')}">\n <a data-ng-href="/motiondialer/processes/view/{{process.id}}/spooler">\n <i class="icon-options-vertical"></i>\n {{ \'APPLICATION_SPOOLER\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/motiondialer/process/view/view.intervals.html",'<div class="row" data-ng-init="initIntervals()">\n <div class="col-md-12">\n <div class="portlet light">\n <div class="portlet-title tabbable-line">\n <div class="caption caption-md">\n <i class="icon-clock theme-font"></i>\n <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_INTERVALS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_allow" data-toggle="tab">{{ \'APPLICATION_ALLOW\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_disallow" data-toggle="tab">{{ \'APPLICATION_DISALLOW\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- ALLOW TAB -->\n <div class="tab-pane active" id="tab_allow">\n <button class="btn green-jungle margin-bottom-10" ng-click="createInterval(true)">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_ALLOW\' | translate }})\n </button>\n <table class="table table-bordered table-hover">\n <thead>\n <tr role="row" class="heading">\n <th>\n {{ \'APPLICATION_VALUE\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_ACTIONS\' | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="interval in process.intervals track by $index">\n <td>\n {{interval}}\n </td>\n <td>\n <button href="javascript:;" data-ng-click="editInterval(true, interval)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n <button data-ng-click="deleteInterval(interval, $index, true)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n </td>\n </tr>\n <tr ng-show="!process.intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n </tbody>\n </table>\n </div>\n <!-- END ALLOW TAB -->\n <!-- DISALLOW TAB -->\n <div class="tab-pane" id="tab_disallow">\n <button class="btn green-jungle margin-bottom-10" ng-click="createInterval(false)">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }} ({{ \'APPLICATION_DISALLOW\' | translate }})\n </button>\n <table class="table table-bordered table-hover">\n <thead>\n <tr role="row" class="heading">\n <th>\n {{ \'APPLICATION_VALUE\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_ACTIONS\' | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="interval in process.not_intervals track by $index">\n <td>\n {{interval}}\n </td>\n <td>\n <button href="javascript:;" data-ng-click="editInterval(false, interval)" class="btn blue-hoki btn-sm"> {{ \'APPLICATION_EDIT\' | translate}} </button>\n <button href="javascript:;" data-ng-click="deleteInterval($index, interval, false)" class="btn red-sunglo btn-sm"> {{ \'APPLICATION_DELETE\' | translate}} </button>\n </td>\n </tr>\n <tr ng-show="!process.not_intervals.length"><td colspan=2>{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</td></tr>\n </tbody>\n </table>\n\n </div>\n <!-- END DISALLOW TAB -->\n </div>\n </div>\n </div>\n </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 <!-- BEGIN PORTLET -->\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 <li class="active">\n <a href="#" data-target="#tab_summary" data-toggle="tab">{{ \'APPLICATION_SUMMARY\' | translate}}</a>\n </li>\n <li ng-show="process.runtime">\n <a href="#" data-target="#tab_advanced" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- START SUMMARY TAB -->\n <div class="tab-pane active" id="tab_summary">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- END SUMMARY TAB -->\n <!-- START SUMMARY TAB -->\n <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 <!-- END SUMMARY TAB -->\n </div>\n </div>\n </div>\n <!-- END PORTLET -->\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/motiondialer/process/view/view.settings.html",'<div class="row" data-ng-init="initSettings()">\n <div class="col-md-12">\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"></i>\n <span class="caption-subject font-blue-madison bold uppercase">{{ \'APPLICATION_PROCESS\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_general" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_channel" data-toggle="tab">{{ \'APPLICATION_CHANNEL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_advanced" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_status" data-toggle="tab">{{ \'APPLICATION_STATUS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_general">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n\n <!-- START NAME -->\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="process.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 <!-- END NAME -->\n <!-- START QUEUE -->\n <div data-ng-show="process.queue != \'none\'" 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="queue" ng-options="queue.name for queue in queues track by queue.name" 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 <!-- END QUEUE -->\n <!-- START MAX RETRIES -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.max_retries.$touched || form.$submitted) && form.max_retries.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAX_RETRIES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" max="10" name="max_retries" placeholder="{{\'APPLICATION_MAX_RETRIES\' | translate}}" class="form-control" data-ng-model="process.max_retries" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_MAX_RETRIES\' | translate}}</span>\n <span data-ng-show="(form.max_retries.$touched || form.$submitted) && form.max_retries.$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.max_retries.$error.max || form.max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END MAX RETRIES -->\n <!-- START RETRY TIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.retry_time.$touched || form.$submitted) && form.retry_time.$invalid}">\n <label class="control-label">{{\'APPLICATION_RETRY_TIME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="retry_time" placeholder="{{\'APPLICATION_RETRY_TIME\' | translate}}" class="form-control" data-ng-model="process.retry_time" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_RETRY_TIME\' | translate}}</span>\n <span data-ng-show="(form.retry_time.$touched || form.$submitted) && form.retry_time.$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.retry_time.$error.max || form.retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END RETRY TIME -->\n <!-- START RETRY TIME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.wait_time.$touched || form.$submitted) && form.wait_time.$invalid}">\n <label class="control-label">{{\'APPLICATION_WAIT_TIME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1000" name="wait_time" placeholder="{{\'APPLICATION_WAIT_TIME\' | translate}}" class="form-control" data-ng-model="process.wait_time" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_WAIT_TIME\' | translate}}</span>\n <span data-ng-show="(form.wait_time.$touched || form.$submitted) && form.wait_time.$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.wait_time.$error.max || form.wait_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END WAIT TIME -->\n <!-- START AUTO CLOSED -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTO_CLOSED\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.auto_closed"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_AUTO_CLOSED\' | translate}}</span>\n </div>\n <!-- END AUTO CLOSED -->\n <!-- START WEIGHT -->\n <!-- END WEIGHT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTODIAL_LEVEL\' | translate}}</label></br>\n <slider ng-model="process.weight" min="0" step="1" max="50"></slider>\n <label>{{\'APPLICATION_VALUE\' | translate}}: {{process.weight}}</label>\n <span class="help-block">{{\'DESCRIPTION_TD_WEIGHT\' | translate}}</span>\n </div>\n <!-- START DESCRIPTION -->\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="process.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- CHANNEL TAB -->\n <div class="tab-pane" id="tab_channel">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.context.$touched || form.$submitted) && form.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="context" placeholder="{{\'APPLICATION_CONTEXT\' | translate}}" class="form-control" data-ng-model="process.context" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CONTEXT\' | translate}}</span>\n <span data-ng-show="(form.context.$touched || form.$submitted) && form.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n <!-- START EXTENSION -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.extension.$touched || form.$submitted) && form.extension.$invalid}">\n <label class="control-label">{{\'APPLICATION_EXTENSION\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="extension" placeholder="{{\'APPLICATION_EXTENSION\' | translate}}" class="form-control" data-ng-model="process.extension" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_EXTENSION\' | translate}}</span><a href="/channels/voice/routes/internal/list">Link {{\'APPLICATION_INTERNAL\' | translate}}</a>\n <span data-ng-show="(form.extension.$touched || form.$submitted) && form.extension.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EXTENSION -->\n <!-- START PRIORITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.priority.$touched || form.$submitted) && form.priority.$invalid}">\n <label class="control-label">{{\'APPLICATION_PRIORITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="priority" placeholder="{{\'APPLICATION_PRIORITY\' | translate}}" class="form-control" data-ng-model="process.priority" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_PRIORITY\' | translate}}</span>\n <span data-ng-show="(form.priority.$touched || form.$submitted) && form.priority.$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.priority.$error.max || form.priority.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY -->\n <!-- START PREFIX -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_PREFIX\' | translate}}</label>\n <input type="text" name="prefix_code" placeholder="{{\'APPLICATION_PREFIX\' | translate}}" class="form-control" data-ng-model="process.prefix_code"/>\n <span class="help-block">{{\'DESCRIPTION_TD_PREFIX\' | translate}}</span>\n </div>\n <!-- END PREFIX -->\n <!-- START TECHNOLOGY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TECHNOLOGY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="tech" class="form-control" data-ng-model="process.tech" ng-options="tech for tech in techs" required>\n </select>\n <span class="help-block">{{\'DESCRIPTION_TD_TECHNOLOGY\' | translate}}</span>\n </div>\n <!-- END TECHNOLOGY -->\n <!-- START DEVICE -->\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 <input type="text" name="device" placeholder="{{\'APPLICATION_TRUNK\' | translate}}" class="form-control" data-ng-model="process.device" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_TRUNK\' | translate}}</span>\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 <!-- END DEVICE -->\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.callerid.$touched || form.$submitted) && form.callerid.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLERID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="callerid" placeholder="{{\'APPLICATION_CALLERID\' | translate}}" class="form-control" data-ng-model="process.callerid" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CALLERID\' | translate}}</span>\n <span data-ng-show="(form.callerid.$touched || form.$submitted) && form.callerid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple data-ng-model="process.codecs" name="codecs" theme="bootstrap" data-ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="codec in codecs">\n {{codec}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END CODEC -->\n <!-- START DIAL FORMAT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DIAL_FORMAT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="dial_format" class="form-control" data-ng-model="process.dial_format" ng-options="dial_format for dial_format in dialFormats" required>\n </select>\n <span class="help-block">{{\'DESCRIPTION_TD_DIAL_FORMAT\' | translate}}</span>\n </div>\n <!-- END DIAL FORMAT -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANNEL TAB -->\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_advanced">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n <!-- START CHECK DUPLICATE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHECK_DUPLICATE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="check_duplicate" class="form-control" data-ng-model="process.check_duplicate" ng-options="check_duplicate for check_duplicate in checkDuplicates" required>\n </select>\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_DUPLICATE\' | translate}}</span>\n </div>\n <!-- END CHECK DUPLICATE -->\n <!-- START CHECK BLACKLIST -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHECK_BLACKLIST\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.check_blacklist"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_BLACKLIST\' | translate}}</span>\n </div>\n <!-- END CHECK BLACKLIST -->\n <!-- START CHECK PHONE LENGHT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.check_phone_length.$touched || form.$submitted) && form.check_phone_length.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHECK_PHONE_LENGHT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="check_phone_length" placeholder="{{\'APPLICATION_CHECK_PHONE_LENGHT\' | translate}}" class="form-control" data-ng-model="process.check_phone_length" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_PHONE_LENGHT\' | translate}}</span>\n <span data-ng-show="(form.check_phone_length.$touched || form.$submitted) && form.check_phone_length.$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.check_phone_length.$error.max || form.check_phone_length.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END CHECK PHONE LENGHT -->\n <!-- START TIME SLICE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.time_slice.$touched || form.$submitted) && form.time_slice.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIME_SLICE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="time_slice" placeholder="{{\'APPLICATION_TIME_SLICE\' | translate}}" class="form-control" data-ng-model="process.time_slice" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_TIME_SLICE\' | translate}}</span>\n <span data-ng-show="(form.time_slice.$touched || form.$submitted) && form.time_slice.$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.time_slice.$error.max || form.time_slice.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END TIME SLICE -->\n <!-- START MISSED -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHECK_MISSED\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.missed"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_CHECK_MISSED\' | translate}}</span>\n </div>\n <!-- END MISSED -->\n <!-- START CHANNEL LIMIT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.channel_limit.$touched || form.$submitted) && form.channel_limit.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHANNEL_LIMIT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="channel_limit" placeholder="{{\'APPLICATION_CHANNEL_LIMIT\' | translate}}" class="form-control" data-ng-model="process.channel_limit" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_CHANNEL_LIMIT\' | translate}}</span>\n <span data-ng-show="(form.channel_limit.$touched || form.$submitted) && form.channel_limit.$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.channel_limit.$error.max || form.channel_limit.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END CHANNEL LIMIT -->\n <!-- START CONTEXT FOR OTHER CALLS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CONTEXT_FOR_OTHER_CALLS\' | translate}}</label>\n <input type="text" name="context_for_other_calls" placeholder="{{\'APPLICATION_CONTEXT_FOR_OTHER_CALLS\' | translate}}" class="form-control" data-ng-model="process.context_for_other_calls"/>\n <span class="help-block">{{\'DESCRIPTION_TD_CONTEXT_FOR_OTHER_CALLS\' | translate}}</span>\n </div>\n <!-- END CONTEXT FOR OTHER CALLS -->\n <!-- START EXTENSION FOR OTHER CALLS-->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_EXTENSION_FOR_OTHER_CALLS\' | translate}}</label>\n <input type="text" name="extension_for_other_calls" placeholder="{{\'APPLICATION_EXTENSION_FOR_OTHER_CALLS\' | translate}}" class="form-control" data-ng-model="process.extension_for_other_calls"/>\n <span class="help-block">{{\'DESCRIPTION_TD_EXTENSION_FOR_OTHER_CALLS\' | translate}}</span>\n </div>\n <!-- END EXTENSION FOR OTHER CALLS-->\n <!-- START PRIORITY FOR OTHER CALLS-->\n <div class="form-group" data-ng-class="{\'has-error\': (form.priority_for_other_calls.$touched || form.$submitted) && form.priority_for_other_calls.$invalid}">\n <label class="control-label">{{\'APPLICATION_PRIORITY_FOR_OTHER_CALLS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="priority_for_other_calls" placeholder="{{\'APPLICATION_PRIORITY_FOR_OTHER_CALLS\' | translate}}" class="form-control" data-ng-model="process.priority_for_other_calls"/>\n <span class="help-block">{{\'DESCRIPTION_TD_PRIORITY_FOR_OTHER_CALLS\' | translate}}</span>\n <span data-ng-show="form.priority_for_other_calls.$error.max || form.priority_for_other_calls.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END PRIORITY FOR OTHER CALLS -->\n <!-- START TIMEZONE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_EXTENDED_TIME_INTERVAL\' | translate}}</label>\n <input type="text" name="timezone" placeholder="08:30-20:30" class="form-control" data-ng-model="process.timezone"/>\n <span class="help-block">{{\'DESCRIPTION_TD_EXTENDED_TIME_INTERVAL\' | translate}}</span>\n </div>\n <!-- END TIMEZONE -->\n\n <!-- START AUTO TIMEZONE MANAGEMENT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTO_TIMEZONE_MANAGEMENT\' | translate}}</label></br>\n <input\n bs-switch\n data-ng-model="process.auto_timezone_management"\n type="checkbox"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-animate="false">\n <span class="help-block">{{\'DESCRIPTION_TD_AUTO_TIMEZONE_MANAGEMENT\' | translate}}</span>\n </div>\n <!-- END AUTO TIMEZONE MANAGEMENT -->\n <!-- START IGNORE STRINGS-->\n <!-- COMMENTED: BECAUSE IGNORE_STRINGS IS AN ARRAY NOT A STRING-->\n <!-- <div class="form-group">\n <label class="control-label">{{\'APPLICATION_IGNORE_STRINGS\' | translate}}</label>\n <input type="text" name="ignore_strings" placeholder="{{\'APPLICATION_IGNORE_STRINGS\' | translate}}" class="form-control" data-ng-model="process.ignore_strings"/>\n <span class="help-block">{{\'DESCRIPTION_TD_IGNORE_STRINGS\' | translate}}</span>\n </div> -->\n <!-- END IGNORE STRINGS-->\n <!-- START MIN OPERATOR -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.min_operator.$touched || form.$submitted) && form.min_operator.$invalid}">\n <label class="control-label">{{\'APPLICATION_MIN_OPERATOR\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="min_operator" placeholder="{{\'APPLICATION_MIN_OPERATOR\' | translate}}" class="form-control" data-ng-model="process.min_operator" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_MIN_OPERATOR\' | translate}}</span>\n <span data-ng-show="(form.min_operator.$touched || form.$submitted) && form.min_operator.$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.min_operator.$error.max || form.min_operator.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END MIN OPERATOR -->\n <!-- START ALERT MAX CALLS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.alert_max_calls.$touched || form.$submitted) && form.alert_max_calls.$invalid}">\n <label class="control-label">{{\'APPLICATION_ALERT_MAX_CALLS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="alert_max_calls" placeholder="{{\'APPLICATION_ALERT_MAX_CALLS\' | translate}}" class="form-control" data-ng-model="process.alert_max_calls" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_ALERT_MAX_CALLS\' | translate}}</span>\n <span data-ng-show="(form.alert_max_calls.$touched || form.$submitted) && form.alert_max_calls.$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.alert_max_calls.$error.max || form.alert_max_calls.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END ALERT MAX CALLS -->\n <!-- START ALERT TIME SLICE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.alert_time_slice.$touched || form.$submitted) && form.alert_time_slice.$invalid}">\n <label class="control-label">{{\'APPLICATION_ALERT_TIME_SLICE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="alert_time_slice" placeholder="{{\'APPLICATION_ALERT_TIME_SLICE\' | translate}}" class="form-control" data-ng-model="process.alert_time_slice" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_ALERT_TIME_SLICE\' | translate}}</span>\n <span data-ng-show="(form.alert_time_slice.$touched || form.$submitted) && form.alert_time_slice.$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.alert_time_slice.$error.max || form.alert_time_slice.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END ALERT TIME SLICE -->\n <!-- START DROP MAX COUNT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.drop_max_count.$touched || form.$submitted) && form.drop_max_count.$invalid}">\n <label class="control-label">{{\'APPLICATION_DROP_MAX_COUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="drop_max_count" placeholder="{{\'APPLICATION_DROP_MAX_COUNT\' | translate}}" class="form-control" data-ng-model="process.drop_max_count" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_DROP_MAX_COUNT\' | translate}}</span>\n <span data-ng-show="(form.drop_max_count.$touched || form.$submitted) && form.drop_max_count.$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.drop_max_count.$error.max || form.drop_max_count.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END DROP MAX COUNT -->\n <!-- START SUCCESS CALL SIZE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.success_call_size.$touched || form.$submitted) && form.success_call_size.$invalid}">\n <label class="control-label">{{\'APPLICATION_SUCCESS_CALL_SIZE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="success_call_size" placeholder="{{\'APPLICATION_SUCCESS_CALL_SIZE\' | translate}}" class="form-control" data-ng-model="process.success_call_size" required/>\n <span class="help-block">{{\'DESCRIPTION_TD_SUCCESS_CALL_SIZE\' | translate}}</span>\n <span data-ng-show="(form.success_call_size.$touched || form.$submitted) && form.success_call_size.$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.success_call_size.$error.max || form.success_call_size.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END SUCCESS CALL SIZE -->\n <!-- START IGNORE STRINGS-->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_TIME_EXPIRED\' | translate}}</label>\n <input type="text" name="expiredtime" placeholder="yyyy-MM-dd HH:mm:ss" class="form-control" data-ng-model="process.expiredtime"/>\n <span class="help-block">{{\'DESCRIPTION_TD_TIME_EXPIRED\' | translate}}</span>\n </div>\n <!-- END IGNORE STRINGS-->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ANDVANCED TAB -->\n <!-- START STATUS TAB -->\n <div class="tab-pane" id="tab_status">\n <form name="form" data-ng-submit="form.$valid && updateProcess()" novalidate>\n <table class="table table-bordered table-hover">\n <thead>\n <tr role="row" class="heading">\n <th>\n {{ \'APPLICATION_VALUE\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_MAX_RETRIES\' | translate}}\n </th>\n <th>\n {{ \'APPLICATION_RETRY_TIME\' | translate}} [min]\n </th>\n <th>\n {{ \'APPLICATION_DESCRIPTION\' | translate}}\n </th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td>\n {{ \'APPLICATION_AMD\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="amd_max_retries"class="form-control" data-ng-model="process.amd_max_retries" required/>\n <span data-ng-show="(form.amd_max_retries.$touched || form.$submitted) && form.amd_max_retries.$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.amd_max_retries.$error.max || form.amd_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="amd_retry_time" class="form-control" data-ng-model="process.amd_retry_time" required/>\n <span data-ng-show="(form.amd_retry_time.$touched || form.$submitted) && form.amd_retry_time.$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.amd_retry_time.$error.max || form.amd_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_AMD\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_BUSY\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="busy_max_retries"class="form-control" data-ng-model="process.busy_max_retries" required/>\n <span data-ng-show="(form.busy_max_retries.$touched || form.$submitted) && form.busy_max_retries.$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.busy_max_retries.$error.max || form.busy_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="busy_retry_time"class="form-control" data-ng-model="process.busy_retry_time" required/>\n <span data-ng-show="(form.busy_retry_time.$touched || form.$submitted) && form.busy_retry_time.$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.busy_retry_time.$error.max || form.busy_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_BUSY\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_CONGESTION\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="congestion_max_retries"class="form-control" data-ng-model="process.congestion_max_retries" required/>\n <span data-ng-show="(form.congestion_max_retries.$touched || form.$submitted) && form.congestion_max_retries.$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.congestion_max_retries.$error.max || form.congestion_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="congestion_retry_time"class="form-control" data-ng-model="process.congestion_retry_time" required/>\n <span data-ng-show="(form.congestion_retry_time.$touched || form.$submitted) && form.congestion_retry_time.$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.congestion_retry_time.$error.max || form.congestion_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_CONGESTION\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_DROP\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="drop_max_retries"class="form-control" data-ng-model="process.drop_max_retries" required/>\n <span data-ng-show="(form.drop_max_retries.$touched || form.$submitted) && form.drop_max_retries.$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.drop_max_retries.$error.max || form.drop_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="drop_retry_time"class="form-control" data-ng-model="process.drop_retry_time" required/>\n <span data-ng-show="(form.drop_retry_time.$touched || form.$submitted) && form.drop_retry_time.$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.drop_retry_time.$error.max || form.drop_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_DROP\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_FAILED\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="failed_max_retries"class="form-control" data-ng-model="process.failed_max_retries" required/>\n <span data-ng-show="(form.failed_max_retries.$touched || form.$submitted) && form.failed_max_retries.$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.failed_max_retries.$error.max || form.failed_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="failed_retry_time"class="form-control" data-ng-model="process.failed_retry_time" required/>\n <span data-ng-show="(form.failed_retry_time.$touched || form.$submitted) && form.failed_retry_time.$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.failed_retry_time.$error.max || form.failed_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_FAILED\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_NOANSWER\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="noanswer_max_retries"class="form-control" data-ng-model="process.noanswer_max_retries" required/>\n <span data-ng-show="(form.noanswer_max_retries.$touched || form.$submitted) && form.noanswer_max_retries.$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.noanswer_max_retries.$error.max || form.noanswer_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="noanswer_retry_time"class="form-control" data-ng-model="process.noanswer_retry_time" required/>\n <span data-ng-show="(form.noanswer_retry_time.$touched || form.$submitted) && form.noanswer_retry_time.$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.noanswer_retry_time.$error.max || form.noanswer_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_NOANSWER\' | translate}}\n </td>\n </tr>\n <tr>\n <td>\n {{ \'APPLICATION_NOSUCHEXTENSION\' | translate}}\n </td>\n <td>\n <input type="number" min="0" name="nosuchextension_max_retries"class="form-control" data-ng-model="process.nosuchextension_max_retries" required/>\n <span data-ng-show="(form.nosuchextension_max_retries.$touched || form.$submitted) && form.nosuchextension_max_retries.$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.nosuchextension_max_retries.$error.max || form.nosuchextension_max_retries.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n <input type="number" min="0" name="nosuchextension_retry_time"class="form-control" data-ng-model="process.nosuchextension_retry_time" required/>\n <span data-ng-show="(form.nosuchextension_retry_time.$touched || form.$submitted) && form.nosuchextension_retry_time.$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.nosuchextension_retry_time.$error.max || form.nosuchextension_retry_time.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </td>\n <td>\n {{ \'DESCRIPTION_TD_STATUS_NOSUCHEXTENSION\' | translate}}\n </td>\n </tr>\n </tbody>\n </table>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END STATUS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/motiondialer/process/view/view.spooler.edit.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_EDIT\' | translate }} {{ \'APPLICATION_CONTACT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <!-- START RETRIEVE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.retrieve.$touched || form.$submitted) && form.retrieve.$invalid}" ng-init="initModal()">\n <label class="control-label">RETRIEVE<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="(form.retrieve.$touched || form.$submitted) && form.retrieve.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RETRIEVE -->\n <!-- START PLANNING DATE -->\n <div class="form-group" data-ng-show="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (form.date.$touched || form.$submitted) && form.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="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'"></uib-datepicker>\n <span data-ng-show="(form.date.$touched || form.$submitted) && form.date.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PLANNING DATE -->\n <!-- START PLANNING TIME -->\n <div class="form-group" data-ng-show="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (form.time.$touched || form.$submitted) && form.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="entitySpooler.retrieve == \'PLANNED\' || entitySpooler.retrieve == \'PLANNED_PEER\'" show-meridian="false" show-seconds="false"></uib-timepicker>\n <span data-ng-show="(form.time.$touched || form.$submitted) && form.time.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PLANNING TIME -->\n <!-- START PLANNING PEER -->\n <div class="form-group" data-ng-show="entitySpooler.retrieve == \'PLANNED_PEER\'" data-ng-class="{\'has-error\': (form.agent.$touched || form.$submitted) && form.agent.$invalid}">\n <label class="control-label">{{\'APPLICATION_AGENT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <select name="agent" class="form-control" data-ng-model="entitySpooler.planningpeer" ng-options="agent for agent in agents" required="entitySpooler.retrieve == \'PLANNED_PEER\'">\n </select>\n <span data-ng-show="(form.agent.$touched || form.$submitted) && form.agent.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PLANNING PEER -->\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_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/view/view.spooler.history.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_HISTORY\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <json-formatter json="historySpooler" open="2"></json-formatter>\n</div>\n<div class="modal-footer">\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CLOSE\' | translate }}</button>\n</div>\n'),a.put("app/motiondialer/process/view/view.spooler.html",'<div class="row" data-ng-init="getSpooler()">\n <div class="col-md-12">\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_SPOOLER\' | translate}} </span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns ui-grid-auto-resize ui-grid-pagination ui-grid-exporter class="ui-grid">\n <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/salesforce/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-cloud"></i>\n <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-cloud font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SALESFORCE\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/salesforce/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/salesforce/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START CHANNEL -->\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_AUTHENTICATION_TYPE\' | translate}}</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 <!-- START CHANNEL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/salesforce/view/configuration/list/list.html",'<div ui-view class="profile-content">\n <div class="row">\n <div class="col-md-12">\n <div class="portlet light" data-ng-init="initView()">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/salesforce/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/salesforce/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CLIENT ID -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientId.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_ID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientId" placeholder="{{\'APPLICATION_CLIENT_ID\' | translate}}" class="form-control" data-ng-model="account.clientId" required/>\n <span data-ng-show="forms.formSetting.clientId.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT ID -->\n\n <!-- START CLIENT SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientSecret.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientSecret" placeholder="{{\'APPLICATION_CLIENT_SECRET\' | translate}}" class="form-control" data-ng-model="account.clientSecret" required/>\n <span data-ng-show="forms.formSetting.clientSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT SECRET -->\n\n <!-- START SECURITY TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.securityToken.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECURITY_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="securityToken" placeholder="{{\'APPLICATION_SECURITY_TOKEN\' | translate}}" class="form-control" data-ng-model="account.securityToken" required/>\n <span data-ng-show="forms.formSetting.securityToken.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SECURITY TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/salesforce/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-cloud"></i>\n <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/salesforce.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.salesforce.view.account\')}">\n <a ng-href="/salesforce/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.salesforce.view.configurations\') || $state.is(\'main.salesforce.view.configuration\')}">\n <a ng-href="/salesforce/view/{{account.id}}/configurations/list">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/salesforce/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-cloud"></i>\n <a href="/salesforce/list">{{ \'APPLICATION_SALESFORCE\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/salesforce/accounts/validate/username"/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START CLIENT ID -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientId.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_ID\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientId" placeholder="{{\'APPLICATION_CLIENT_ID\' | translate}}" class="form-control" data-ng-model="item.clientId" required/>\n <span data-ng-show="forms.formSetting.clientId.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT ID -->\n\n <!-- START CLIENT SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.clientSecret.$invalid}">\n <label class="control-label">{{\'APPLICATION_CLIENT_SECRET\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="clientSecret" placeholder="{{\'APPLICATION_CLIENT_SECRET\' | translate}}" class="form-control" data-ng-model="item.clientSecret" required/>\n <span data-ng-show="forms.formSetting.clientSecret.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CLIENT SECRET -->\n\n <!-- START SECURITY TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.securityToken.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECURITY_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="securityToken" placeholder="{{\'APPLICATION_SECURITY_TOKEN\' | translate}}" class="form-control" data-ng-model="item.securityToken" required/>\n <span data-ng-show="forms.formSetting.securityToken.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SECURITY TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/customization/view/general/general.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_GENERAL_CUSTOMIZATION\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_CHANGE_LOGO\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- CHANGE LOGO TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <div class="col-md-6 col-sm-6" >\n <div class="portlet light bordered" style="min-height:411px;">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MAIN\' | translate }}</span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <form action="#" role="form" class="row">\n <!-- START STATUS -->\n <div class="form-group col-md-6 col-sm-6">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="settings.defaultLogo"\n data-ng-init="settings.defaultLogo = license.custom ? settings.defaultLogo : true"\n type="checkbox"\n name="defaultLogo"\n data-ng-change="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 <!-- END STATUS -->\n <div class="form-group col-md-6 col-sm-6" data-ng-if="!settings.defaultLogo && license.custom">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader"/><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="col-md-6 col-sm-6">\n <div class="portlet light bordered" style="min-height:411px;">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LOGIN\' | translate }}</span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <form action="#" role="form" class="row">\n <!-- START STATUS -->\n <div class="form-group col-md-6 col-sm-6">\n <label class="control-label">{{\'APPLICATION_DEFAULT\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="settings.defaultLoginLogo"\n data-ng-init="settings.defaultLoginLogo = license.custom ? settings.defaultLoginLogo : true"\n type="checkbox"\n name="defaultLoginLogo"\n data-ng-change="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 <!-- END STATUS -->\n <div class="form-group col-md-6 col-sm-6" data-ng-if="!settings.defaultLoginLogo && license.custom">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader2.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader2"/><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader2.queue[0]" data-dismiss="fileinput" ng-click="uploader2.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader2.queue[0]" data-ng-click="uploader2.queue[0].upload()" ng-disabled="uploader2.queue[0].isReady || uploader2.queue[0].isUploading || uploader2.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader2.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader2.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- END CHANGE LOGO TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/setting/customization/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-globe"></i>\n <a href="#">{{ \'APPLICATION_CUSTOMIZATION\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/customize.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ \'APPLICATION_CUSTOMIZATION\' | translate }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.setting.customization.view.general\')}">\n <a ng-href="/setting/customization/view/general">\n <i class="icon-picture"></i>\n {{ \'APPLICATION_GENERAL\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/license/view/update.modal.html",'<div class="modal-header" data-ng-init="getLicense()">\n <h3 class="modal-title">{{ \'APPLICATION_UPDATE_LICENSE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START LICENSE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_LICENSE\' | translate}}</label>\n <textarea type="text" style="min-height:95px;" name="description" placeholder="{{\'APPLICATION_LICENSE\' | translate}}" class="form-control" data-ng-model="item.license"></textarea>\n </div>\n <!-- END LICENSE -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="update()" ng-disabled="form.$invalid">{{ \'APPLICATION_UPDATE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/setting/license/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div\n 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 <!-- BEGIN PROFILE CONTENT -->\n <div class="profile-content">\n <div class="row">\n <div class="col-md-6">\n <div class="pricing hover-effect">\n <div class="pricing-head" data-ng-switch="license.months">\n <h3 ng-switch-when="1">{{\'APPLICATION_MONTH_TO_MONTH\' | translate}}<span>{{license.token || \'unknown\'}} </span></h3>\n <h3 ng-switch-when="12">{{\'APPLICATION_YEARLY\' | translate}}<span>{{license.token || \'unknown\'}} </span></h3>\n <h3 ng-switch-when="36">{{\'APPLICATION_PERPETUAL\' | translate}}<span>{{license.token || \'unknown\'}} </span></h3>\n <h3 ng-switch-default>{{\'APPLICATION_UNKNOWN\' | translate}}<span>{{license.token || \'unknown\'}} </span></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="icon-paper-plane"></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-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-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="#" 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 <!-- START USERS -->\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 <!-- END USERS -->\n\n <!-- START AGENTS -->\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 <!-- END AGENTS -->\n\n <!-- START TELEPHONES -->\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 <!-- END TELEPHONES -->\n\n <!-- START CHAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.chat.$touched || form.$submitted) && form.chat.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHAT\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-bubble"></i>\n <input type="text" placeholder="{{\'APPLICATION_CHAT\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="chat" data-ng-model="item.chat">\n </span>\n </div>\n <span data-ng-show="(form.chat.$touched || forms.$submitted) && form.chat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CHAT -->\n\n <!-- START MAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.mail.$touched || form.$submitted) && form.mail.$invalid}">\n <label class="control-label">{{\'APPLICATION_MAIL\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-envelope"></i>\n <input type="text" placeholder="{{\'APPLICATION_MAIL\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="mail" data-ng-model="item.mail">\n </span>\n </div>\n <span data-ng-show="(form.mail.$touched || forms.$submitted) && form.mail.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MAIL -->\n\n <!-- START FAX -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.fax.$touched || form.$submitted) && form.fax.$invalid}">\n <label class="control-label">{{\'APPLICATION_FAX\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-paper-plane"></i>\n <input type="text" placeholder="{{\'APPLICATION_FAX\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="fax" data-ng-model="item.fax">\n </span>\n </div>\n <span data-ng-show="(form.fax.$touched || forms.$submitted) && form.fax.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FAX -->\n\n <!-- START SMS -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.messaging.$touched || form.$submitted) && form.messaging.$invalid}">\n <label class="control-label">{{\'APPLICATION_SMS\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="glyphicon glyphicon-comment"></i>\n <input type="text" placeholder="{{\'APPLICATION_SMS\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="messaging" data-ng-model="item.messaging">\n </span>\n </div>\n <span data-ng-show="(form.messaging.$touched || forms.$submitted) && form.messaging.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SMS -->\n\n <!-- START CM -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.cm.$touched || form.$submitted) && form.cm.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTACT_MANAGER\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-notebook"></i>\n <input type="text" placeholder="{{\'APPLICATION_CONTACT_MANAGER\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="cm" data-ng-model="item.cm">\n </span>\n </div>\n <span data-ng-show="(form.cm.$touched || forms.$submitted) && form.cm.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CM -->\n\n <!-- START DIALER -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.dialer.$touched || form.$submitted) && form.dialer.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_DIALER\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-control-forward"></i>\n <input type="text" placeholder="{{\'APPLICATION_MOTION_DIALER\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="dialer" data-ng-model="item.dialer">\n </span>\n </div>\n <span data-ng-show="(form.dialer.$touched || forms.$submitted) && form.dialer.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DIALER -->\n\n <!-- START JSCRITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.jscripty.$touched || form.$submitted) && form.jscripty.$invalid}">\n <label class="control-label">{{\'APPLICATION_JSCRIPTY\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="fa fa-edit"></i>\n <input type="text" placeholder="{{\'APPLICATION_JSCRIPTY\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="jscripy" data-ng-model="item.jscripty">\n </span>\n </div>\n <span data-ng-show="(form.jscripty.$touched || forms.$submitted) && form.jscripty.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END JSCRIPTY -->\n\n <!-- START UPDATE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.update.$touched || form.$submitted) && form.update.$invalid}">\n <label class="control-label">{{\'APPLICATION_UPDATE\' | translate}}</label>\n <div class="input-group input-icon">\n <i class="icon-cloud-download"></i>\n <input type="text" placeholder="{{\'APPLICATION_UPDATE\' | translate}}" class="form-control" readonly>\n <span class="input-group-addon">\n <input type="checkbox" name="update" data-ng-model="item.update">\n </span>\n </div>\n <span data-ng-show="(form.update.$touched || forms.$submitted) && form.update.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END UPDATE -->\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 <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START ADDRESS -->\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 <!-- END ADDRESS -->\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",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-globe font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_EXTERNIP\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_EXTERNIP\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\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 <!-- START ADDRESS -->\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 <!-- END ADDRESS -->\n\n <!-- START MASK -->\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 <!-- END MASK -->\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/localnet/localnet.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-desktop font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_LOCALNET\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_LOCALNET\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/network/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-globe"></i>\n <a href="#">{{ \'APPLICATION_NETWORK\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/business.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ \'APPLICATION_NETWORK\' | translate }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.setting.network.view.localnet\')}">\n <a ng-href="/setting/network/view/localnet">\n <i class="icon-screen-desktop"></i>\n {{ \'APPLICATION_LOCALNET\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.setting.network.view.externip\')}">\n <a ng-href="/setting/network/view/externip">\n <i class="icon-globe"></i>\n {{ \'APPLICATION_EXTERNIP\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/smtp/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-envelope"></i>\n <a href="#">SMTP</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE CONTENT -->\n <div class="profile-content">\n <ui-select data-ng-model="item.type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'custom\', \'account\'] | filter: $select.search">\n <div ng-bind-html="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n\n <!-- START CUSTOM TAB -->\n <form name="custom" data-ng-submit="custom.$valid && updateItem()" ng-slide-down="item.type === \'custom\'" lazy-render duration="1" novalidate>\n\n <hr>\n\n <div data-ng-show="item.account.id">\n <div class="note note-danger" data-ng-show="item.account.state === \'DISCONNECTED\' || item.account.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="item.account.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="item.account.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="item.account.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n </div>\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.host.$touched || custom.$submitted) && custom.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_OUTGOING_MAIL_SERVER\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.account.host" required/>\n <span data-ng-show="(custom.host.$touched || custom.$submitted) && custom.host.$invalid && custom.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.username.$touched || custom.$submitted) && custom.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.account.username" required/>\n <span data-ng-show="(custom.username.$touched || custom.$submitted) && custom.username.$invalid && custom.username.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.password.$touched || custom.$submitted) && custom.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.account.password" required/>\n <span data-ng-show="(custom.password.$touched || custom.$submitted) && custom.password.$invalid && custom.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (custom.port.$touched || custom.$submitted) && custom.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="item.account.port" required/>\n <span data-ng-show="(custom.custom.$touched || custom.$submitted) && custom.port.$invalid && custom.port.$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="(custom.port.$touched || custom.$submitted) && custom.port.$invalid && custom.port.$error.number" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_NUMERIC_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START SSL -->\n <div class="form-group row">\n <label class="col-md-2">\n SSL\n </label>\n <label class="col-md-10">\n <input\n bs-switch\n data-ng-model="item.account.ssl"\n type="checkbox"\n switch-active="{{ isActive }}"\n switch-on-text="{{ \'APPLICATION_ENABLED\' | translate }}"\n switch-off-text="{{ \'APPLICATION_DISABLED\' | translate }}"\n switch-on-color="{{ onColor }}"\n switch-off-color="{{ offColor }}"\n switch-animate="{{ animate }}"\n switch-size="{{ size }}"\n switch-label="{{ label }}"\n switch-icon="{{ icon }}"\n switch-radio-off="{{ radioOff }}"\n switch-label-width="{{ labelWidth }}"\n switch-handle-width="{{ handleWidth }}">\n </label>\n </div>\n <!-- END SSL -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-show="custom.$valid" data-ng-disabled="smtpDisabled"/>\n <input class="btn blue-madison" type="button" value="Test" data-ng-click="test()" data-ng-show="custom.$valid" data-ng-disabled="smtpDisabled"/>\n </form>\n <!-- END CUSTOM TAB -->\n\n <!-- START CUSTOM TAB -->\n <form name="account" data-ng-init="initMailAccounts()" data-ng-submit="account.$valid && updateItem()" ng-slide-down="item.type === \'account\'" lazy-render duration="1" novalidate>\n\n <hr>\n\n <div data-ng-show="item.account.id">\n <div class="note note-danger" data-ng-show="item.account.state === \'DISCONNECTED\' || item.account.state === \'ERROR\'">\n <p> ERROR </p>\n <json-formatter open="1" json="item.account.source"></json-formatter>\n </div>\n\n <div class="note note-success" data-ng-show="item.account.state === \'CONNECTED\'">\n <p> CONNECTED </p>\n </div>\n\n <div class="note note-info" data-ng-show="item.account.state === \'CONNECTING\'">\n <p> TRYING... </p>\n </div>\n </div>\n\n <!-- START ACCOUNT -->\n <div class="form-group" data-ng-class="{\'has-error\': (account.account.$touched || account.$submitted) && account.queue.$invalid}">\n <label class="control-label">{{\'APPLICATION_ACCOUNTS\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.account" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.username}}</ui-select-match>\n <ui-select-choices repeat="server in servers | filter: $select.search">\n <div ng-bind-html="server.username | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(account.queue.$touched || account.$submitted) && account.queue.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ACCOUNT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" data-ng-disabled="smtpDisabled"/>\n <input class="btn blue-madison" type="button" value="Test" data-ng-click="test()" data-ng-disabled="smtpDisabled"/>\n </form>\n <!-- END SMTP TAB -->\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/system/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-pie-chart"></i>\n <a href="#">{{ \'APPLICATION_SYSTEM\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div class="row ">\n <div class="col-md-6 col-sm-6">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_MEMORY\' | translate }} (<b>{{ \'APPLICATION_TOTAL\' | translate }}</b>: {{system.memory.Total}} MB)</a> </span>\n </div>\n <div class="actions">\n <a class="btn btn-default" href="#" data-ng-click="initView()">\n <i class="icon-refresh"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="memory-spinner" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <canvas class="chart chart-pie" chart-data="system.memory.values" chart-labels="system.memory.labels" chart-legend="true">\n </canvas>\n </div>\n </div>\n </div>\n <div class="col-md-6 col-sm-6">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_DISK\' | translate }} (<b>{{ \'APPLICATION_TOTAL\' | translate }}</b>: {{system.mount.size}} GB)</a> </span>\n </div>\n <div class="actions">\n <div class="portlet-input input-inline input-medium">\n <div class="input-group">\n <ui-select data-ng-model="system.mount" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_DISK\' | translate}}">{{$select.selected.mount}}</ui-select-match>\n <ui-select-choices repeat="disk in system.disks | filter: $select.search">\n <div ng-bind-html="disk.mount | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="input-group-btn">\n <button class="btn btn-default" href="#" data-ng-click="initView()">\n <i class="icon-refresh"></i>\n </button>\n </span>\n </div>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="disk-spinner" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\n <canvas class="chart chart-pie" chart-data="system.mount.values" chart-labels="system.mount.labels" chart-legend="true">\n </canvas>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n </div>\n </div>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-pie-chart font-green-sharp"></i>\n <span class="caption-subject">CPU (<b>{{ \'APPLICATION_NUMBER_OF_CORES\' | translate }}</b>: {{system.cpu.cores.length}}, <b>MOTION</b>: {{system.cpu.motion}} % )</a> </span>\n </div>\n <div class="actions">\n <a class="btn btn-default" href="#" data-ng-click="initView()">\n <i class="icon-refresh"></i>\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="row">\n <div class="col-md-2 col-sm-4" data-ng-repeat="cpu in system.cpu.cores">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="cpu-spinner" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <canvas class="chart chart-doughnut" chart-data="cpu.values" chart-labels="cpu.labels" chart-colours="cpu.colours" chart-legend="true">\n </canvas>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/setting/update/list/landing.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-cloud-download"></i>\n <a href="#">{{ \'APPLICATION_UPDATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- BEGIN PAGE CONTENT-->\n <div class="row" data-ng-init="initCounter()">\n <div class="col-md-12 page-500">\n <div class="number">\n <timer interval="1000" countdown="120">{{countdown}}</timer>\n </div>\n <div class="details">\n <h3>Wait! We need to restart xCALLY Motion server.</h3>\n <p>\n We are updating it!<br/>\n xCALLY Motion Team<br/><br/>\n </p>\n </div>\n </div>\n </div>\n <!-- END PAGE CONTENT-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/update/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-cloud-download"></i>\n <a href="#">{{ \'APPLICATION_UPDATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-cloud-download font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_UPDATES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <a class="btn btn-default" href="#" data-ng-click="pull()">\n <i class="icon-cloud-download"></i> {{ \'APPLICATION_UPDATE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body" data-ng-init="initView()">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/setting/update/list/list.pull.html",'<div class="modal-header">\n <button data-ng-if="modal.dismissable" type="button" data-ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p data-ng-if="modal.text" data-ng-bind="modal.text"></p>\n <div data-ng-if="modal.html" data-ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n <button data-ng-repeat="button in modal.buttons" data-ng-class="button.classes" data-ng-click="button.click($event)" data-ng-bind="button.text" class="btn"></button>\n</div>\n'),a.put("app/square/odbc/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PROJECT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DSN -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.dsn.$touched || form.$submitted) && form.dsn.$invalid}">\n <label class="control-label">{{\'APPLICATION_ODBC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="dsn" placeholder="DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion" class="form-control" data-ng-model="item.dsn" required/>\n <p class="help-block">Es. DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion</p>\n <span data-ng-show="(form.dsn.$touched || form.$submitted) && form.dsn.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DSN -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/square/odbc/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_ODBCS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ODBCS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ODBC\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/odbc/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getOdbc()">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/square/odbc/list">{{ \'APPLICATION_ODBCS\' | translate }}</a>\n <i data-ng-show="odbc" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="odbc">\n <a href="#">{{odbc.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/odbc.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{odbc.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.square.odbc.view.settings\')}">\n <a data-ng-href="/square/odbc/view/{{odbc.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/square/odbc/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_ODBC\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateOdbc()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="odbc.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DSN -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.odbc.dsn.$touched || forms.odbc.$submitted) && forms.odbc.dsn.$invalid}">\n <label class="control-label">{{\'APPLICATION_ODBC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="dsn" placeholder="{{\'APPLICATION_DSN\' | translate}}" class="form-control" data-ng-model="odbc.dsn" required/>\n <p class="help-block">Es. DRIVER=MySQL;SERVER=127.0.0.1;UID=xcall;PWD=password;DATABASE=motion</p>\n <span data-ng-show="(forms.odbc.dsn.$touched || forms.odbc.$submitted) && forms.odbc.dsn.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DSN -->\n\n <!-- START DESCRIPTION -->\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="odbc.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/square/project/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PROJECT\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/square/project/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="#">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PROJECTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PROJECT\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/project/view/view.html",'<div class="row" data-ng-init="getProject()">\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-superscript"></i>\n <a>Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-slack"></i>\n <a href="/square/projects/list">{{ \'APPLICATION_PROJECTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a ng-href="/square/projects/view/{{squareProject.id}}">{{squareProject.name}}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div id="geEditor" class="geEditor"></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n<script>\n\n\n</script>\n'),a.put("app/square/realtime/view/general/general.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="init()">\n <div class="col-md-12">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" ui-grid-resize-columns class="ui-grid" ui-grid-pagination ui-grid-auto-resize>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/realtime/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a href="#">Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-energy"></i>\n <a href="/square/realtime/view/general">{{ \'APPLICATION_REALTIME\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.square.realtime.view.general\')}">\n <a href="/square/realtime/view/general">\n {{\'APPLICATION_GENERAL\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/square/recording/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-superscript"></i>\n <a href="#">Cally ²</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-microphone"></i>\n <a href="#">{{ \'APPLICATION_RECORDINGS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-play font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_RECORDINGS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/agent/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_STAFF\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-people"></i>\n <a href="#">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-people font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AGENTS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group" data-ng-show="Auth.getCurrentUser().role === \'admin\'">\n <button type="button" class="btn green-jungle" data-toggle="dropdown" data-hover="dropdown" data-delay="1000" data-close-others="true" aria-expanded="true">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AGENT\' | translate }} <i class="fa fa-angle-down"></i>\n </button>\n <ul class="dropdown-menu" role="menu">\n <li>\n <a href="/staff/agents/wizard">\n Standard\n </a>\n </li>\n <li>\n <a href="/staff/agents/bulk">\n {{ \'APPLICATION_BULK\' | translate }}\n </a>\n </li>\n </ul>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/agent/view/view.account.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PERSONAL_INFO\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_AVATAR\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}">\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- PERSONAL INFO TAB -->\n <div class="tab-pane" data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()" id="tab_1_1">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="agent.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="agent.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="agent.email" required/>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START DESCRIPTION -->\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="agent.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START INTERNAL -->\n <!-- <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.internal" required disabled/>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div> -->\n <!-- END INTERNAL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n <!-- CHANGE AVATAR TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_2">\n <form action="#" role="form">\n <div class="form-group">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader" /><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n {{ \'APPLICATION_REMOVE\' | translate }}\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n {{ \'APPLICATION_CONFIRM\' | translate }}\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- END CHANGE AVATAR TAB -->\n <!-- CHANGE PASSWORD TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin() || agent.id === Auth.getCurrentUser().id" data-ng-class="{\'active\': !Auth.isAdmin() && agent.id === Auth.getCurrentUser().id}" id="tab_1_3">\n <form name="forms.changePwd" data-ng-submit="forms.changePwd.$valid && updatePassword()" novalidate>\n <!-- START CURRENT PWD -->\n <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.currentPwd" required/>\n <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CURRENT PWD -->\n <!-- START NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NEW PWD -->\n <!-- START RE-NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="agent.reNewPwd" nx-equal="agent.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RE-NEW PWD -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANGE PASSWORD TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/agent/view/view.chat.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_CHAT\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="chatCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.chatCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.fax.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_FAX\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="faxCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.faxCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-puzzle"></i>\n <a href="#">{{ \'APPLICATION_STAFF\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-people"></i>\n <a href="/staff/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{agent.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-userpic">\n <img ng-src="api/users/avatar/{{agent.userpic ? agent.userpic : \'unknown_avatar\'}}" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- START SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{agent.fullname}}\n </div>\n <div class="profile-usertitle-job">\n {{agent.role}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.account\')}">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.voice\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/voice">\n <i class="icon-earphones-alt"></i>\n {{ \'APPLICATION_VOICE\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.chat\')}" data-ng-show="Auth.isAdmin() && license.chat">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/chat">\n <i class="icon-bubble"></i>\n {{ \'APPLICATION_CHAT\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.mail\')}" data-ng-show="Auth.isAdmin() && license.mail">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/mail">\n <i class="icon-envelope"></i>\n {{ \'APPLICATION_MAIL\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.fax\')}" data-ng-show="Auth.isAdmin() && license.fax">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/fax">\n <i class="icon-paper-plane"></i>\n {{ \'APPLICATION_FAX\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.sms\')}" data-ng-show="Auth.isAdmin() && license.messaging">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/sms">\n <i class=" glyphicon glyphicon-comment "></i>\n {{ \'APPLICATION_SMS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.openchannel\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/openchannel">\n <i class=" icon-globe "></i>\n {{ \'APPLICATION_OPEN_CHANNEL\' | translate}} </a>\n </li>\n\n <li data-ng-class="{active: $state.is(\'main.staff.agents.view.motionbar\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/agents/view/{{agent.id}}/motionbar">\n <i class="icon-screen-desktop"></i>\n {{ \'APPLICATION_MOTION_BAR\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/staff/agent/view/view.mail.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_MAIL\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="mailCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.mailCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.motionbar.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_MOTION_BAR\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CALL_FORWARDING\' | translate}}</a>\n </li>\n <li data-ng-show="Auth.isAdmin()">\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- START GENERAL TAB -->\n <div class="tab-pane" data-ng-class="{\'active\': Auth.isAdmin()}" data-ng-show="Auth.isAdmin()" id="tab_1_1">\n <form name="forms.general" data-ng-submit="updateItem()" novalidate>\n\n <!-- START ENABLE_SETTINGS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ENABLE_SETTINGS\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarEnableSettings"\n type="checkbox"\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 <!-- END ENABLE_SETTINGS -->\n\n <!-- START AUTO_ANSWER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_AUTO_ANSWER\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarAutoAnswer"\n type="checkbox"\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 <!-- END AUTO_ANSWER -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- START CALL FORWARDING TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_2">\n <form name="forms.callForwarding" data-ng-submit="updateItem()" novalidate>\n\n <!-- START UNCONDITIONAL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_UNCONDITIONAL\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarUnconditional"\n type="checkbox"\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 <!-- END UNCONDITIONAL -->\n\n\n <!-- START UNCONDITIONAL NUMBER -->\n <div class="form-group" data-ng-if="agent.phoneBarUnconditional" data-ng-class="{\'has-error\': (forms.callForwarding.phoneBarUnconditionalNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarUnconditionalNumber.$invalid}">\n <input type="text" name="phoneBarUnconditionalNumber" placeholder="{{\'APPLICATION_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.phoneBarUnconditionalNumber" required/>\n <span class="help-block">\n <!-- {{ \'DESCRIPTION_VOICE_HOST\' | translate }} -->\n </span>\n <span data-ng-show="(forms.callForwarding.phoneBarUnconditionalNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarUnconditionalNumber.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END UNCONDITIONAL NUMBER -->\n\n <!-- START NO REPLY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_NO_REPLY\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarNoReply"\n type="checkbox"\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 <!-- END NO REPLY -->\n\n <!-- START NO REPLY -->\n <div class="form-group" data-ng-if="agent.phoneBarNoReply" data-ng-class="{\'has-error\': (forms.callForwarding.phoneBarNoReplyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarNoReplyNumber.$invalid}">\n <input type="text" name="phoneBarNoReplyNumber" placeholder="{{\'APPLICATION_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.phoneBarNoReplyNumber" required/>\n <span class="help-block">\n <!-- {{ \'DESCRIPTION_VOICE_HOST\' | translate }} -->\n </span>\n <span data-ng-show="(forms.callForwarding.phoneBarNoReplyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarNoReplyNumber.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPLY -->\n\n <!-- START BUSY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_BUSY\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarBusy"\n type="checkbox"\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 <!-- END BUSY -->\n\n <!-- START BUSY NUMBER -->\n <div class="form-group" data-ng-if="agent.phoneBarBusy" data-ng-class="{\'has-error\': (forms.callForwarding.phoneBarBusyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarBusyNumber.$invalid}">\n <input type="text" name="phoneBarBusyNumber" placeholder="{{\'APPLICATION_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.phoneBarBusyNumber" required/>\n <span class="help-block">\n <!-- {{ \'DESCRIPTION_VOICE_HOST\' | translate }} -->\n </span>\n <span data-ng-show="(forms.callForwarding.phoneBarBusyNumber.$touched || forms.callForwarding.$submitted) && forms.callForwarding.phoneBarBusyNumber.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END BUSY NUMBER -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CALL FORWARDING TAB -->\n <!-- START ADVANCED TAB -->\n <div class="tab-pane" data-ng-show="Auth.isAdmin()" id="tab_1_3">\n <form name="forms.advanced" data-ng-submit="updateItem()" novalidate>\n\n <!-- START ENABLE REMOTE CONTROL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REMOTE_CONTROL\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="agent.phoneBarRemoteControl"\n type="checkbox"\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 <!-- END ENABLE REMOTE CONTROL -->\n\n\n <!-- START REMOTE CONTROL PORT -->\n <div class="form-group" data-ng-if="agent.phoneBarRemoteControl" data-ng-class="{\'has-error\': (forms.advanced.phoneBarRemoteControlPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarRemoteControlPort.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_CONTROL\' | translate}} {{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="phoneBarRemoteControlPort" placeholder="{{\'APPLICATION_REMOTE_CONTROL\' | translate}} {{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="agent.phoneBarRemoteControlPort" required/>\n <span class="help-block">Default: 9888</span>\n <span data-ng-show="(forms.advanced.phoneBarRemoteControlPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarRemoteControlPort.$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.advanced.phoneBarRemoteControlPort.$error.max || form.advanced.phoneBarRemoteControlPort.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}}.\n </span>\n </div>\n <!-- END REMOTE CONTROL PORT -->\n\n <!-- START SIP EXPIRES -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.phoneBarExpires.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarExpires.$invalid}">\n <label class="control-label">SIP {{\'APPLICATION_EXPIRES\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="phoneBarExpires" placeholder="SIP {{\'APPLICATION_EXPIRES\' | translate}}" class="form-control" data-ng-model="agent.phoneBarExpires" required/>\n <span class="help-block">Default: 3600</span>\n <span data-ng-show="(forms.advanced.phoneBarExpires.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarExpires.$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.advanced.phoneBarExpires.$error.max || form.advanced.phoneBarExpires.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}} (min 1).\n </span>\n </div>\n <!-- END SIP EXPIRES -->\n\n <!-- START SIP PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.phoneBarListenPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarListenPort.$invalid}">\n <label class="control-label">SIP {{\'APPLICATION_PORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" max="65535" name="phoneBarListenPort" placeholder="SIP {{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="agent.phoneBarListenPort" required/>\n <span class="help-block">Default: 5060</span>\n <span data-ng-show="(forms.advanced.phoneBarListenPort.$touched || forms.advanced.$submitted) && forms.advanced.phoneBarListenPort.$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.advanced.phoneBarListenPort.$error.max || form.advanced.phoneBarListenPort.$error.min" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_NUMBER\' | translate}} (0-65535).\n </span>\n </div>\n <!-- END SIP PORT -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/agent/view/view.openchannel.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_OPEN_CHANNEL\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="openchannelCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.openchannelCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.sms.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_SMS\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- START CHAT TAB -->\n <form name="form" data-ng-submit="patchItem()" novalidate>\n <!-- START CAPACITY -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.capacity.$touched || form.$submitted) && form.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_CAPACITY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="smsCapacity" placeholder="{{\'APPLICATION_CAPACITY\' | translate}}" class="form-control" data-ng-model="agent.smsCapacity" min="0" required/>\n <span class="help-block">\n {{\'MESSAGE_ZERO_MEANS_UNLIMITED\' | translate}}\n </span>\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 <!-- END CAPACITY -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n <!-- END CHAT TAB -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/staff/agent/view/view.voice.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_VOICE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.voice" data-ng-submit="updateItem()" novalidate>\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.internal.$touched || forms.voice.$submitted) && forms.voice.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="agent.internal" required disabled/>\n <span data-ng-show="(forms.voice.internal.$touched || forms.voice.$submitted) && forms.voice.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="agent.transport" theme="bootstrap">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="agent.host" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_HOST\' | translate }}\n </span>\n <span data-ng-show="(forms.voice.host.$touched || forms.voice.$submitted) && forms.voice.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START NAT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_NAT\' | translate}}</label>\n <ui-select multiple data-ng-model="agent.nat" name="nat" theme="bootstrap">\n <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="nat in [\'yes\', \'no\', \'never\', \'route\', \'force_rport\', \'comedia\'] | filter: $select.search">\n {{nat}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_NAT\' | translate }}\n </span>\n </div>\n <!-- END NAT -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="agent.type" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_SEARCH_FILTER\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="type in [\'friend\', \'user\', \'peer\'] | filter: $select.search">\n <div ng-bind-html="type | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TYPE\' | translate }}\n </span>\n <span data-ng-show="(forms.voice.type.$touched || forms.voice.$submitted) && forms.voice.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="agent.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_CHANSPY\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="agent.chanspy"\n type="checkbox"\n name="auth"\n switch-active="{{ recordSwitch.isActive }}"\n switch-on-text="{{ recordSwitch.onText }}"\n switch-off-text="{{ recordSwitch.offText }}"\n switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}"\n switch-animate="{{ recordSwitch.animate }}"\n switch-size="{{ recordSwitch.size }}"\n switch-label="{{ recordSwitch.label }}"\n switch-icon="{{ recordSwitch.icon }}"\n switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}"\n switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/agent/wizard/wizard-bulk.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-people"></i>\n <a href="/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/agents/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal(); item.amount = 2;">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-user font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItems()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START AMOUNT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.amount.$touched || forms.info.$submitted) && forms.info.amount.$invalid}">\n <label class="control-label">{{\'APPLICATION_AMOUNT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" name="amount" min="2" placeholder="{{\'APPLICATION_AMOUNT\' | translate}}" class="form-control" data-ng-model="item.amount" required>\n <span data-ng-show="(forms.info.amount.$touched || forms.info.$submitted) && forms.info.amount.$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="(forms.info.amount.$touched || forms.info.$submitted) && forms.info.amount.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END AMOUNT -->\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" data-ng-pattern="settings.patternName" required>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n <form name="forms.voice" novalidate>\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'), +a.put("app/staff/agent/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-people"></i>\n <a href="/staff/agents/list">{{ \'APPLICATION_AGENTS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/agents/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal();">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-user font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AGENT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" data-ng-pattern="settings.patternName" required>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <div class="input-group">\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled"/>\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="item.internalEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n <form name="forms.voice" novalidate>\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/staff/team/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_TEAM\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" 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/staff/team/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-shield"></i>\n <a href="/staff/teams/list">{{ \'APPLICATION_TEAMS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-shield font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TEAMS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TEAM\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/team/view/view.agents.html",'<div class="row" data-ng-init="initAgents()">\n <div class="col-md-12">\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_AGENTS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <!-- GENERAL TAB -->\n <!-- BEGIN PORTLET-->\n <!-- BEGIN FORM-->\n <form action="index.html" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-team">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n <!-- END PORTLET-->\n <!-- END GENERAL TAB -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/team/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-shield"></i>\n <a href="/staff/teams/list">{{ \'APPLICATION_TEAMS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{team.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img ng-src="assets/images/media/team.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{team.name}}\n </div>\n\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.teams.view.settings\')}">\n <a data-ng-href="/staff/teams/view/{{team.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.teams.view.agents\')}">\n <a data-ng-href="/staff/teams/view/{{team.id}}/agents">\n <i class="icon-people"></i>\n {{ \'APPLICATION_AGENTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content"></div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/team/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body">\n <!-- PERSONAL INFO TAB -->\n <div>\n\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.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="team.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="team.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/telephone/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-phone"></i>\n <a href="/staff/telephones/list">{{ \'APPLICATION_TELEPHONES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-phone font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TELEPHONES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/staff/telephones/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TELEPHONE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/telephone/view/view.account.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_ACCOUNT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-ng-show="Auth.isAdmin() || item.id === getCurrentTelephone().id" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- PERSONAL INFO TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="updateItem() && forms.info.$valid" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" required ng-remote-validate="/api/agents/validate/name"/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" ng-click="next()"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n\n <!-- CHANGE PASSWORD TAB -->\n <div class="tab-pane" id="tab_1_2" data-ng-show="Auth.isAdmin() || item.id === getCurrentTelephone().id">\n <form name="forms.changePwd" data-ng-submit="updateItem() && forms.changePwd.$valid" novalidate>\n <!-- START CURRENT PWD -->\n <!-- <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.currentPwd" required/>\n <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div> -->\n <!-- END CURRENT PWD -->\n <!-- START NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NEW PWD -->\n <!-- START RE-NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.reNewPwd" nx-equal="item.password" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RE-NEW PWD -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANGE PASSWORD TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/telephone/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-phone"></i>\n <a href="/staff/telephones/list">{{ \'APPLICATION_TELEPHONES\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{item.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR TELEPHONEPIC -->\n <div class="profile-userpic">\n <img data-ng-src="assets/images/media/telephone.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR TELEPHONEPIC -->\n <!-- SIDEBAR TELEPHONE TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{item.fullname}}\n </div>\n <div class="profile-usertitle-job">\n {{item.role}}\n </div>\n </div>\n <!-- END SIDEBAR TELEPHONE TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.telephones.view.account\')}">\n <a data-ng-href="/staff/telephones/view/{{item.id}}/account">\n <i class="icon-phone"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.telephones.view.voice\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/telephones/view/{{item.id}}/voice">\n <i class="icon-earphones-alt"></i>\n {{ \'APPLICATION_VOICE\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/telephone/view/view.voice.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ACCOUNT\' | translate}} {{ \'APPLICATION_VOICE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" required readonly/>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$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="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_INTERNAL\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n'+" <ui-select-choices repeat=\"allow in ['g729', 'ilbc', 'gsm', 'ulaw', 'alaw'] | filter: $select.search\">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class=\"help-block\">\n {{ 'DESCRIPTION_VOICE_CODEC' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class=\"btn green-haze\" type=\"submit\" value=\"{{'APPLICATION_UPDATE' | translate}}\"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n"), +a.put("app/staff/telephone/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-phone"></i>\n <a href="/staff/telephones/list">{{ \'APPLICATION_TELEPHONES\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/staff/telephones/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal();">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-phone font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TELEPHONE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" ata-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <div class="input-group">\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled"/>\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="item.internalEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_VOICE\' | translate}}" canexit="exitValidation(forms.voice.$valid)">\n <form name="forms.voice" novalidate>\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="item.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="item.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="allow in [\'g729\', \'ilbc\', \'gsm\', \'ulaw\', \'alaw\'] | filter: $select.search">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_CODEC\' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/staff/user/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-eye"></i>\n <a href="#">{{ \'APPLICATION_USERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-eye font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_USERS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/staff/users/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_USER\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_PROFILE\' | translate}} {{ \'APPLICATION_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_PERSONAL_INFO\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_CHANGE_AVATAR\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-ng-show="Auth.isAdmin() || user.id === getCurrentUser().id" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_CHANGE_PASSWORD\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- PERSONAL INFO TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="user.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="user.name" required/>\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="user.email" required/>\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START DESCRIPTION -->\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="user.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END PERSONAL INFO TAB -->\n\n <!-- CHANGE AVATAR TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form action="#" role="form">\n <div class="form-group">\n <div class="fileinput fileinput-new" data-provides="fileinput">\n <div class="fileinput-new thumbnail" style="width: 200px; height: 150px;">\n <img ng-src="assets/images/media/noProfileImage.png" alt=""/>\n </div>\n <div class="fileinput-preview fileinput-exists thumbnail" style="max-width: 200px; max-height: 150px;">\n </div>\n <div>\n <span class="btn default btn-file" data-ng-show="!uploader.queue[0]">\n <span> {{ \'APPLICATION_SELECT_IMAGE\' | translate }} </span>\n <input type="file" nv-file-select="" uploader="uploader" /><br/>\n </span>\n <button type="button" class="btn default" data-ng-show="uploader.queue[0]" data-dismiss="fileinput" ng-click="uploader.queue[0].remove()">\n <span> {{ \'APPLICATION_REMOVE\' | translate }} </span>\n </button>\n <button type="button" class="btn green-haze" data-ng-show="uploader.queue[0]" data-ng-click="uploader.queue[0].upload()" ng-disabled="uploader.queue[0].isReady || uploader.queue[0].isUploading || uploader.queue[0].isSuccess">\n <span> {{ \'APPLICATION_CONFIRM\' | translate }} </span>\n </button>\n </div>\n <p>\n </br> {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>jpg, png, jpeg</b>.\n </p>\n </div>\n </div>\n </form>\n <div class="row">\n <div class="col-md-2">\n <table class="table" border="0">\n <tbody>\n <tr data-ng-repeat="item in uploader.queue">\n <td style="border-top-style:none">\n <strong>\n {{ item.file.name }}\n </strong>\n </td>\n <td data-ng-show="uploader.isHTML5" nowrap style="border-top-style:none">\n {{ item.file.size/1024/1024|number:2 }} MB\n </td>\n <td nowrap style="border-top-style:none">\n <button type="button" class="btn btn-danger btn-xs" data-ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> Remove\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n <!-- END CHANGE AVATAR TAB -->\n <!-- CHANGE PASSWORD TAB -->\n <div class="tab-pane" id="tab_1_3" data-ng-show="Auth.isAdmin() || user.id === getCurrentUser().id">\n <form name="forms.changePwd" data-ng-submit="forms.changePwd.$valid && updatePassword()" novalidate>\n <!-- START CURRENT PWD -->\n <div class="form-group" data-ng-if="!Auth.isAdmin()" data-ng-class="{\'has-error\': (forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="current_pwd" placeholder="{{\'APPLICATION_CURRENT_PASSWORD\' | translate}}" class="form-control" data-ng-model="user.currentPwd" required/>\n <span data-ng-show="(forms.changePwd.current_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.current_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CURRENT PWD -->\n <!-- START NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="new_pwd" placeholder="{{\'APPLICATION_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="user.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NEW PWD -->\n <!-- START RE-NEW PWD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.changePwd.re_new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.re_new_pwd.$invalid}">\n <label class="control-label">{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="re_new_pwd" placeholder="{{\'APPLICATION_RE_TYPE_NEW_PASSWORD\' | translate}}" class="form-control" data-ng-model="user.reNewPwd" nx-equal="user.newPwd" required/>\n <span data-ng-show="(forms.changePwd.new_pwd.$touched || forms.changePwd.$submitted) && forms.changePwd.new_pwd.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RE-NEW PWD -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CHANGE PASSWORD TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/staff/user/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-eye"></i>\n <a href="/staff/users/list">{{ \'APPLICATION_USERS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{user.fullname}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-userpic">\n <img ng-src="api/users/avatar/{{user.userpic ? user.userpic : \'unknown_avatar\'}}" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{user.fullname}}\n </div>\n <div class="profile-usertitle-job">\n {{user.role}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.staff.users.view.account\')}">\n <a data-ng-href="/staff/users/view/{{user.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate}}\n </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.staff.users.view.voice\')}" data-ng-show="Auth.isAdmin()">\n <a data-ng-href="/staff/users/view/{{user.id}}/voice">\n <i class="icon-earphones-alt"></i>\n {{ \'APPLICATION_VOICE\' | translate}}\n </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.staff.users.view.permit\')}" data-ng-show="Auth.isAdmin() && user.role === \'user\'">\n <a data-ng-href="/staff/users/view/{{user.id}}/permit/voice">\n <i class="icon-key"></i>\n {{ \'APPLICATION_PERMITS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.chat.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initChatQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.fax.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initFaxQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <div>\n <nav class="navbar navbar-default" role="navigation">\n <div class="collapse navbar-collapse">\n <ul class="nav navbar-nav">\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.voice\')}">\n <a href="/staff/users/view/{{user.id}}/permit/voice">\n <i class="icon-earphones-alt"></i> {{\'APPLICATION_VOICE\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.chat\')}">\n <a href="/staff/users/view/{{user.id}}/permit/chat">\n <i class="icon-bubble"></i> {{\'APPLICATION_CHAT\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.mail\')}">\n <a href="/staff/users/view/{{user.id}}/permit/mail">\n <i class="icon-envelope"></i>{{\'APPLICATION_MAIL\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.fax\')}">\n <a href="/staff/users/view/{{user.id}}/permit/fax">\n <i class="icon-paper-plane"></i> {{\'APPLICATION_FAX\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.sms\')}">\n <a href="/staff/users/view/{{user.id}}/permit/sms">\n <i class="glyphicon glyphicon-comment"></i> {{\'APPLICATION_SMS\' | translate}}\n </a>\n </li>\n <li data-ng-class="{\'active\': $state.is(\'main.staff.users.view.permit.modules\')}" data-ng-if="user.role !== \'admin\'">\n <a href="/staff/users/view/{{user.id}}/permit/modules">\n <i class="icon-menu"></i> {{\'APPLICATION_MODULES\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n </nav>\n </div>\n <div ui-view></div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.mail.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initMailQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.modules.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row left-margin" data-ng-init="getModules()">\n <div data-ng-repeat="module in modules" data-ng-if="(module.id === 8 && license.chat) || (module.id === 9 && license.mail) || (module.id === 10 && license.fax) || (module.id === 11 && license.messaging) || !_.includes([8,9,10,11],module.id)">\n <div class="form-group" data-ng-class="{\'left-margin-40\':module.ModuleId}">\n <span data-ng-if="module.ModuleId">└──</span> <input\n bs-switch\n class="form-control"\n ng-model="module.status"\n type="checkbox"\n data-ng-change="updatePermissions(module)"\n switch-active="{{ moduleSwitch.isActive }}"\n switch-on-text="{{ moduleSwitch.onText }}"\n switch-off-text="{{ moduleSwitch.offText }}"\n switch-on-color="{{ moduleSwitch.onColor }}"\n switch-off-color="{{ moduleSwitch.offColor }}"\n switch-animate="{{ moduleSwitch.animate }}"\n switch-size="{{ moduleSwitch.size }}"\n switch-label="{{ moduleSwitch.label }}"\n switch-icon="{{ moduleSwitch.icon }}"\n switch-radio-off="{{ moduleSwitch.radioOff }}"\n switch-label-width="{{ moduleSwitch.labelWidth }}"\n switch-handle-width="{{ moduleSwitch.handleWidth }}">\n <label class="control-label">{{module.name | capitalize}}</label>\n </div>\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.sms.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initSmsQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.permit.voice.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12" data-ng-init="initVoiceQueues()">\n <!-- BEGIN FORM-->\n <form action="#" class="form-horizontal form-row-seperated">\n <div class="form-body">\n <div class="form-group last">\n <div class="col-md-12" id="multi-select-permit">\n </div>\n </div>\n </div>\n </form>\n <!-- END FORM-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/staff/user/view/view.voice.html",'<div class="row" data-ng-init="initView()">\n <div class="col-md-12">\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_ACCOUNT\' | translate}} {{ \'APPLICATION_VOICE\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="forms.info" data-ng-submit="updateItem()" novalidate>\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="user.internal" required readonly/>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$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="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_INTERNAL\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START TRANSPORT -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_TRANSPORT\' | translate}}</label>\n <ui-select multiple name="transport" ng-model="user.transport" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select transport...">{{$item}}</ui-select-match>\n <ui-select-choices repeat="transport in [\'udp\', \'tcp\', \'ws\', \'wss\'] | filter: $select.search">\n {{transport}}\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_VOICE_TRANSPORT\' | translate }}\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n <!-- START CODEC -->\n <div class="form-group">\n <label class="control-label">{{ \'APPLICATION_ALLOWED_CODECS\' | translate}}</label>\n <ui-select multiple ng-model="user.allow" name="allow" theme="bootstrap" ng-disabled="disabled">\n <ui-select-match placeholder="Select codec...">{{$item}}</ui-select-match>\n'+" <ui-select-choices repeat=\"allow in ['g729', 'ilbc', 'gsm', 'ulaw', 'alaw'] | filter: $select.search\">\n {{allow}}\n </ui-select-choices>\n </ui-select>\n <span class=\"help-block\">\n {{ 'DESCRIPTION_VOICE_CODEC' | translate }}\n </span>\n </div>\n <!-- END CODEC -->\n\n <input class=\"btn green-haze\" type=\"submit\" value=\"{{'APPLICATION_UPDATE' | translate}}\"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n"), +a.put("app/staff/user/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-eye"></i>\n <a href="/staff/users/list">{{ \'APPLICATION_USERS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="/staff/users/wizard">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="getFirstFreeInternal();">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-user font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_USER\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT\' | translate}}" canexit="exitValidation(forms.info.$valid)">\n <form name="forms.info" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$invalid}">\n <label class="control-label">{{\'APPLICATION_FULLNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="fullname" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.fullname" required/>\n <span data-ng-show="(forms.info.fullname.$touched || forms.info.$submitted) && forms.info.fullname.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="name" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.name" data-ng-pattern="settings.patternName" required />\n <span data-ng-show="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$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="(forms.info.name.$touched || forms.info.$submitted) && forms.info.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START EMAIL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$invalid}">\n <label class="control-label">{{\'APPLICATION_EMAIL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL\' | translate}}" class="form-control" data-ng-model="item.email" required />\n <span data-ng-show="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$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="(forms.info.email.$touched || forms.info.$submitted) && forms.info.email.$error.email" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_FORMAT\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="(forms.info.password.$touched || forms.info.$submitted) && forms.info.password.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START RE PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="password" name="rpassword" placeholder="{{\'APPLICATION_CONFIRM_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.rpassword" nx-equal="item.password" required/>\n <span data-ng-show="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$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="(forms.info.rpassword.$touched || forms.info.$submitted) && forms.info.rpassword.$error.nxEqual" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END RE PASSWORD -->\n\n <!-- START INTERNAL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$invalid}">\n <label class="control-label">{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <div class="input-group">\n <input type="number" min="1" name="internal" placeholder="{{\'APPLICATION_INTERNAL_NUMBER\' | translate}}" class="form-control" data-ng-model="item.internal" data-ng-disabled="!item.internalEnabled" data-ng-required="item.internalEnabled"/>\n <span class="input-group-addon">\n <input type="checkbox" data-ng-model="item.internalEnabled">\n </span>\n </div>\n <span data-ng-show="(forms.info.internal.$touched || forms.info.$submitted) && forms.info.internal.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INTERNAL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n <input class="btn default" type="button" value="{{\'APPLICATION_BACK\' | translate}}" wz-previous/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/sugarcrm/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-handbag"></i>\n <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-handbag font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SUGARCRM\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/sugarcrm/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/sugarcrm/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END API KEY -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/sugarcrm/view/view.configuration.html",'<div class="row" data-ng-init="initConfiguration()">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CONFIGURATION\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createConfiguration()">\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="formValidation(formsConfiguration.info.$valid)">\n <form name="formsConfiguration.info" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': formsConfiguration.info.$submitted && formsConfiguration.info.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="configuration.name" required/>\n <span data-ng-show="formsConfiguration.info.name.$invalid && formsConfiguration.info.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="configuration.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/sugarcrm/view/view.configurationSettings.html",'<div class="row" data-ng-init="getConfiguration();getVariables();getFields();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <!-- <pre>\n {{descriptionItem|json}}\n </pre> -->\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in descFieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'key_value\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.label}}</ui-select-match>\n <ui-select-choices repeat="item.name as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.label | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected | ucfirst}}</ui-select-match>\n <ui-select-choices repeat="item in fieldType | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/sugarcrm/view/view.configurations.html",'<div ui-view class="profile-content">\n <div class="row" data-ng-init="getConfigurations()">\n <div class="col-md-12">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/sugarcrm/view/{{account.id}}/configuration" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <table class="table table-striped table-bordered table-hover">\n <thead>\n <tr>\n <th>{{\'APPLICATION_NAME\' | translate}}</th>\n <th>{{\'APPLICATION_DESCRIPTION\' | translate}}</th>\n <th>{{ \'APPLICATION_ACTIONS\' | translate }}</th>\n </tr>\n </thead>\n <tbody>\n <tr data-ng-repeat="configuration in configurations">\n <td>{{configuration.name}}</td>\n <td>{{configuration.description}}</td>\n <td>\n <a class="btn default btn-xs blue-stripe" data-ng-href="/sugarcrm/view/{{account.id}}/configurations/settings/{{configuration.id}}">\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n <a class="btn default btn-xs red-stripe" data-ng-click="deleteConfiguration(configuration.name,configuration.id)">\n {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </td>\n </tr>\n <tr data-ng-hide="configurations.length">\n <td colspan="5" style="text-align:center;">\n <i>No configuration available</i>\n </td>\n </tr>\n </tbody>\n </table>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/sugarcrm/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-handbag"></i>\n <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/sugarcrm.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.sugarcrm.view.account\')}">\n <a ng-href="/sugarcrm/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.sugarcrm.view.configurations\') || $state.is(\'main.sugarcrm.view.configuration\')}">\n <a ng-href="/sugarcrm/view/{{account.id}}/configurations">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/sugarcrm/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-handbag"></i>\n <a href="/sugarcrm/list">{{ \'APPLICATION_SUGARCRM\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_USERNAME\' | translate}}" class="form-control" data-ng-model="item.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_REMOTE_ADDRESS\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_REMOTE_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/sugarcrm/accounts/validate/remoteUri"/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.apiKey.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/answer/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_CANNED_ANSWER\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.key.$touched || form.$submitted) && form.key.$invalid}">\n <label class="control-label">{{\'APPLICATION_KEY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="key" placeholder="{{\'APPLICATION_KEY\' | translate}}" class="form-control" data-ng-model="item.key" required/>\n <span data-ng-show="(form.key.$touched || form.$submitted) && form.key.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (form.value.$touched || form.$submitted) && form.value.$invalid}">\n <label class="control-label">{{\'APPLICATION_VALUE\' | translate}}<span class="required" aria-required="true">*</span></label></label>\n <textarea type="text" name="value" placeholder="{{\'APPLICATION_VALUE\' | translate}}" class="form-control" data-ng-model="item.value" required></textarea>\n <span data-ng-show="(form.value.$touched || form.$submitted) && form.value.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VALUE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/answer/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-magic-wand"></i>\n <a href="#">{{ \'APPLICATION_CANNED_ANSWERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-magic-wand font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_CANNED_ANSWERS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CANNED_ANSWER\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/answer/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getAnswer()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-magic-wand"></i>\n <a href="/tools/answers/list">{{ \'APPLICATION_CANNED_ANSWER\' | translate }}</a>\n <i data-ng-show="answer" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="answer">\n <a href="#">{{answer.key}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/answer.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{answer.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.answers.view.settings\')}">\n <a data-ng-href="/tools/answers/view/{{answer.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/answer/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_CANNED_ANSWER\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateAnswer()" novalidate>\n\n <!-- START KEY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.key.$touched || forms.general.$submitted) && forms.general.key.$invalid}">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="key" placeholder="{{\'APPLICATION_KEY\' | translate}}" class="form-control" data-ng-model="answer.key" required/>\n <span data-ng-show="(forms.general.key.$touched || forms.general.$submitted) && forms.general.key.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END KEY -->\n\n <!-- START VALUE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.value.$touched || forms.general.$submitted) && forms.general.value.$invalid}">\n <label class="control-label">{{\'APPLICATION_VALUE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <textarea type="text" name="value" placeholder="{{\'APPLICATION_VALUE\' | translate}}" class="form-control" data-ng-model="answer.value" required></textarea>\n <span data-ng-show="(forms.general.value.$touched || forms.general.$submitted) && forms.general.value.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END VALUE -->\n\n <!-- START DESCRIPTION -->\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="answer.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/automation/list/list.html",'<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-bulb"></i>\n <a href="#">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/tools/automations/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_AUTOMATION\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/automation/view/view.html",'<!-- BEGIN PAGE HEADER-->\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="/tools/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="automation"></i>\n </li>\n <li data-ng-show="automation">\n <a href="#">{{ automation.description || automation.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/automation.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ automation.name }}\n </div>\n <div class="profile-usertitle-job">\n {{ automation.description }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.automations.view.settings\')}">\n <a href="/tools/automations/view/{{automation.id}}/settings">\n <i class="icon-bulb"></i>\n {{ \'APPLICATION_SETTINGS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/automation/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_CONDITIONS\' | translate}} & {{\'APPLICATION_ACTIONS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <form name="forms.general" data-ng-submit="exitValidation(forms.general.$valid) && updateAutomation()" novalidate>\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="automation.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START CHANNEL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHANNEL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="channel" placeholder="{{\'APPLICATION_CHANNEL\' | translate}}" class="form-control" data-ng-model="automation.channel" required readonly/>\n <span data-ng-show="(forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid && forms.general.channel.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CHANNEL -->\n\n <!-- START TIMEOUT -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.timeout.$touched && forms.general.timeout.$invalid}">\n <label class="control-label">{{\'APPLICATION_TIMEOUT\' | translate}} ({{\'APPLICATION_MINUTES\' | translate}})</label>\n <input type="number" name="timeout" min="10" placeholder="{{\'APPLICATION_TIMEOUT\' | translate}} (min 10 {{\'APPLICATION_MINUTES\' | translate}})" class="form-control" data-ng-model="automation.timeout" data-ng-init="item.timeout = 10" required/>\n <span data-ng-show="forms.general.timeout.$touched && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TIMEOUT -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label>\n </br>\n <input bs-switch class="form-control" ng-model="automation.status" type="checkbox" name="status" switch-active="{{ recordSwitch.isActive }}" switch-on-text="{{ recordSwitch.onText }}" switch-off-text="{{ recordSwitch.offText }}" switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}" switch-animate="{{ recordSwitch.animate }}" switch-size="{{ recordSwitch.size }}" switch-label="{{ recordSwitch.label }}" switch-icon="{{ recordSwitch.icon }}" switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}" switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="automation.description" />\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n <!-- END GENERAL TAB -->\n <div class="tab-pane" id="tab_1_2">\n <!-- All -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in automation.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Any -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in automation.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="automation.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in automation.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $automations.services[automation.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-status ng-switch-when="status" element="action" form="forms.settings"></action-builder-status>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !automation.All.length && !automation.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !automation.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/automation/wizard/wizard.html",'<div class="row">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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="/tools/automations/list">{{ \'APPLICATION_AUTOMATIONS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_AUTOMATIONS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" data-ng-submit="submit()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.name.$touched && forms.general.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="forms.general.name.$touched && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="item.status"\n type="checkbox"\n name="status"\n data-ng-init="item.status = 0"\n switch-active="{{ statusSwitch.isActive }}"\n switch-on-text="{{ statusSwitch.onText }}"\n switch-off-text="{{ statusSwitch.offText }}"\n switch-on-color="{{ statusSwitch.onColor }}"\n switch-off-color="{{ statusSwitch.offColor }}"\n switch-animate="{{ statusSwitch.animate }}"\n switch-size="{{ statusSwitch.size }}"\n switch-label="{{ statusSwitch.label }}"\n switch-icon="{{ statusSwitch.icon }}"\n switch-radio-off="{{ statusSwitch.radioOff }}"\n switch-label-width="{{ statusSwitch.labelWidth }}"\n switch-handle-width="{{ statusSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitSettingsValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_CHANNEL\' | translate }}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.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 | capitalize}}</ui-select-match>\n <ui-select-choices repeat="channel in $automations.channels | filter: $select.search">\n <div ng-bind-html="channel | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.channel.$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 </div>\n\n <!-- All -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in item.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="item.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Any -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in item.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="item.channel" service="$automations" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in item.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $automations.services[item.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-status ng-switch-when="status" element="action" form="forms.settings"></action-builder-status>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.All.length && !item.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()"/>\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/tools/interval/list/list.create.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\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/interval/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-clock"></i>\n <a href="#">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_INTERVALS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_INTERVAL\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/interval/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getInterval()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-clock"></i>\n <a href="/tools/intervals/list">{{ \'APPLICATION_INTERVALS\' | translate }}</a>\n <i data-ng-show="interval" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="interval">\n <a href="#">{{interval.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/interval.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{interval.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.intervals.view.settings\')}">\n <a data-ng-click="deselectAndRedirect(\'/tools/intervals/view/\'+interval.id+\'/settings\')">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n'+" <li data-ng-class=\"{active: $state.is('main.tools.intervals.view.subintervals') || $state.is('main.tools.intervals.view.subinterval') || $state.is('main.tools.intervals.view.subintervals.settings')}\">\n <a data-ng-click=\"deselectAndRedirect('/tools/intervals/view/'+interval.id+'/subintervals')\">\n <i class=\"icon-list\"></i>\n {{ 'APPLICATION_SUBINTERVALS' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class=\"profile-content\">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n"),a.put("app/tools/interval/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_INTERVAL\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateInterval()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="interval.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="interval.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/interval/view/view.subinterval.html",'\n<div class="row" data-ng-init="initSubInterval(true)">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START TIME -->\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 <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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 <!-- END MONTH -->\n\n\n\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/interval/view/view.subintervalSettings.html",'\n<div class="row" data-ng-init="initSubInterval();getSubInterval();">\n <div class="col-md-12">\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SUBINTERVAL_SETTINGS\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="updateInterval(\'subintervals\')">\n <div class="profile-usertitle-name">\n {{subinterval.name}}\n </div>\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitValidation(forms.subinterval.name.$valid)">\n <form name="forms.subinterval" novalidate>\n\n <!-- START NAME -->\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="interval.SubIntervals[selectedSubInterval].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 <!-- END NAME -->\n\n <!-- START TIME -->\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 <!-- END TIME -->\n\n <!-- START WEEKDAY -->\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 <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\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 <!-- END MONTHDAY -->\n\n <!-- START MONTH -->\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 <!-- END MONTH -->\n\n\n\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/interval/view/view.subintervals.html",'<div ui-view class="profile-content">\n<div class="row">\n <div class="col-md-12">\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_SUBINTERVALS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group">\n <a class="btn green-jungle " href="/tools/intervals/view/{{interval.id}}/subinterval" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_SUBINTERVAL\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <div data-ng-if="selectedSubInterval === undefined" ui-grid="gridOptions" ui-grid-resize-columns class="grid" ui-grid-draggable-rows>\n <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n</div>\n'),a.put("app/tools/pause/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_PAUSE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/pause/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="fa fa-pause"></i>\n <a href="#">{{ \'APPLICATION_PAUSES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="fa fa-pause font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_PAUSES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="#" data-toggle="dropdown" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_PAUSE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/pause/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getPause()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-control-pause"></i>\n <a href="/tools/pauses/list">{{ \'APPLICATION_PAUSES\' | translate }}</a>\n <i data-ng-show="pause" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="pause">\n <a href="#">{{pause.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/pause.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{pause.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.pauses.view.settings\')}">\n <a data-ng-href="/tools/pauses/view/{{pause.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/pause/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_PAUSE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updatePause()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="pause.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="pause.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/tools/scheduler/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-calendar"></i>\n <a href="#">{{ \'APPLICATION_SCHEDULER\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SCHEDULES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/tools/scheduler/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_SCHEDULE\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/scheduler/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-calendar"></i>\n <a href="/tools/scheduler/list">{{ \'APPLICATION_SCHEDULER\' | translate }}</a>\n <i data-ng-show="schedule" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="schedule">\n <a href="#">{{schedule.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/scheduler.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{schedule.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.scheduler.view.settings\')}">\n <a data-ng-href="/tools/scheduler/view/{{schedule.id}}/settings"><i class="icon-settings"></i> {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/scheduler/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SCHEDULE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab" data-ng-click="refreshSlider()">{{ \'APPLICATION_CONFIGURATION\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && forms.config.$valid && updateSchedule()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted && forms.general.name.$invalid) || forms.general.name.$error.pattern}">\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="schedule.name" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.name.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ACTIVE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ACTIVE\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="schedule.active"\n type="checkbox"\n name="status"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END ACTIVE -->\n\n <!-- START DESCRIPTION -->\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="schedule.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- CONFIG TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.config" data-ng-submit="forms.config.$valid && forms.general.$valid && updateSchedule()" data-ng-if="schedule.type===\'report\'" data-ng-init="initReports()" novalidate>\n\n <div class="row">\n\n <!-- START REPORT -->\n <div class="form-group col-md-10" data-ng-class="{\'has-error\': (forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.reportId" name="reportId" theme="bootstrap" on-select="setReportTree($item,$model)" required>\n <ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices group-by="\'parent\'" repeat="report.id as report in reports | filter: $select.search">\n <div ng-bind-html="report.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n <!-- START REPORT -->\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OUTPUT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.reportOutput" name="reportOutput" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_OUTPUT\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="output in [\'CSV\',\'PDF\'] | filter: $select.search">\n <div ng-bind-html="output | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n </div>\n\n <!-- START TODAY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_RUN_ON\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="switchValues.today"\n type="checkbox"\n name="status"\n data-ng-change="checkToday()"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_TODAY\' | translate }}"\n switch-off-text="{{ \'APPLICATION_RANGE\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END TODAY -->\n\n <!-- START VALIDITY -->\n <div class="form-group" data-ng-if="switchValues.today">\n <label class="control-label">{{\'APPLICATION_VALIDITY\' | translate}}</label>\n <rzslider rz-slider-model="schedule.validityStart" rz-slider-high="schedule.validityEnd" rz-slider-options="validitySlider"></rzslider>\n </div>\n <!-- END VALIDITY -->\n\n <!-- START RANGE -->\n <div class="form-group" data-ng-if="!switchValues.today" data-ng-class="{\'has-error\': (forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT_RANGE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.reportRange" name="range" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_RANGE\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="range.value as range in reportRanges | filter: $select.search">\n <div ng-bind-html="range.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RANGE -->\n\n <!-- START TODAY CRON -->\n <div class="form-group" data-ng-if="switchValues.today" data-ng-class="{\'has-error\': (forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.cron" name="cron" theme="bootstrap" data-ng-required="switchValues.today">\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="cron.value as cron in todayCron | filter: $select.search">\n <div ng-bind-html="cron.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TODAY -->\n <div class="row" data-ng-if="!switchValues.today">\n <!-- START CRONTYPE EXEC -->\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.type" name="cronType" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in cronTypes | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CRONTYPE -->\n\n <!-- START WEEKDAY -->\n <div class="form-group col-md-4" data-ng-if="schedule.cronType === \'weekly\'" data-ng-class="{\'has-error\': (forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_WEEKDAYS\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="rangeExec.weekDays" name="weekDay" theme="bootstrap" data-ng-required="schedule.cronType === \'weekly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_WEEKDAYS\' | translate }}">{{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="day.value as day in weekDays | filter: $select.search">\n <div ng-bind-html="day.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\n <div class="form-group col-md-4" data-ng-if="schedule.cronType === \'monthly\'" data-ng-class="{\'has-error\': (forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.monthDay" name="monthDay" theme="bootstrap" data-ng-required="schedule.cronType === \'monthly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_MONTHDAY\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="day in monthDays | filter: $select.search">\n <div ng-bind-html="day | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START HOUR -->\n <div class="form-group col-md-4" data-ng-if="schedule.cronType" data-ng-class="{\'has-error\': (forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$invalid}">\n <label class="control-label">{{ \'APPLICATION_HOUR\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.hour" name="hour" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_HOUR\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="hour in hours | filter: $select.search">\n <div ng-bind-html="hour | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOUR -->\n </div>\n\n <!-- START SEND MAIL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEND_MAIL\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="schedule.sendMail"\n type="checkbox"\n name="status"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END SEND MAIL -->\n <div class="row">\n <!-- START ACCOUNT -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ACCOUNT\' | translate }}<span class="required" data-ng-if="schedule.sendMail" aria-required="true">*</span></label>\n <ui-select data-ng-model="schedule.MailServerOutId" name="MailServerOutId" theme="bootstrap" data-ng-disabled="!schedule.sendMail" data-ng-required="schedule.sendMail">\n <ui-select-match placeholder="{{ \'APPLICATION_ACCOUNT\' | translate }}">{{$select.selected.username}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailServers | filter: $select.search">\n <div ng-bind-html="account.username | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <div class="note note-warning" data-ng-hide="mailServers.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_ACCOUNTS_AVAILABLE\' | translate }}\n </p>\n </div>\n </div>\n <!-- END ACCOUNT -->\n\n <!-- START EMAIL -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.$submitted && forms.config.email.$invalid) || forms.config.email.$error.pattern}">\n <label class="control-label">{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}<span data-ng-if="schedule.sendMail" class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}" class="form-control" data-ng-model="schedule.email" data-ng-disabled="!schedule.sendMail" data-ng-required="schedule.sendMail"/>\n <span data-ng-show="forms.config.$submitted && forms.config.email.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END CONFIG TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n<!-- <pre>\n {{rangeExec | json}}\n</pre>\n<pre>\n {{schedule | json}}\n</pre> -->\n'),a.put("app/tools/scheduler/wizard/wizard.html",'<div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-calendar"></i>\n <a href="/tools/scheduler/list">{{ \'APPLICATION_SCHEDULER\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_SCHEDULE\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted && forms.general.name.$invalid) || forms.general.name.$error.pattern}">\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" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.name.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ACTIVE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ACTIVE\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="item.active"\n type="checkbox"\n name="status"\n data-ng-init="item.active = 0"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END ACTIVE -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.type.$touched || forms.general.$submitted) && forms.general.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 }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in scheduleTypes | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <button class="btn green-haze" type="submit" ng-click="next(true)">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIGURATION\' | translate}}" canexit="exitValidation(forms.config.$valid)">\n <form name="forms.config" data-ng-if="item.type===\'report\'" data-ng-init="initReports()" novalidate>\n <div class="row">\n\n <!-- START REPORT -->\n <div class="form-group col-md-10" data-ng-class="{\'has-error\': (forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.reportId" name="reportId" theme="bootstrap" on-select="setReportTree($item,$model)" required>\n <ui-select-match placeholder="{{ \'APPLICATION_REPORT\' | translate }}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices group-by="\'parent\'" repeat="report.id as report in reports | filter: $select.search">\n <div ng-bind-html="report.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportId.$touched || forms.config.$submitted) && forms.config.reportId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n <!-- START REPORT -->\n <div class="form-group col-md-2" data-ng-class="{\'has-error\': (forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$invalid}">\n <label class="control-label">{{ \'APPLICATION_OUTPUT\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.reportOutput" name="reportOutput" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_OUTPUT\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="output in [\'CSV\',\'PDF\'] | filter: $select.search">\n <div ng-bind-html="output | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.reportOutput.$touched || forms.config.$submitted) && forms.config.reportOutput.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END REPORT -->\n\n </div>\n\n <!-- START TODAY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_RUN_ON\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="switchValues.today"\n type="checkbox"\n name="status"\n data-ng-change="checkToday()"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_TODAY\' | translate }}"\n switch-off-text="{{ \'APPLICATION_RANGE\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END TODAY -->\n\n <!-- START VALIDITY -->\n <div class="form-group" data-ng-if="switchValues.today">\n <label class="control-label">{{\'APPLICATION_VALIDITY\' | translate}}</label>\n <rzslider rz-slider-model="item.validityStart" rz-slider-high="item.validityEnd" rz-slider-options="validitySlider" data-ng-init="item.validityStart = 8;item.validityEnd = 16;"></rzslider>\n </div>\n <!-- END VALIDITY -->\n\n <!-- START RANGE -->\n <div class="form-group" data-ng-if="!switchValues.today" data-ng-class="{\'has-error\': (forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$invalid}">\n <label class="control-label">{{ \'APPLICATION_REPORT_RANGE\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.reportRange" name="range" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_RANGE\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="range.value as range in reportRanges | filter: $select.search">\n <div ng-bind-html="range.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.range.$touched || forms.config.$submitted) && forms.config.range.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END RANGE -->\n\n <!-- START TODAY CRON EXEC -->\n <div class="form-group" data-ng-if="switchValues.today" data-ng-class="{\'has-error\': (forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.cron" name="cron" theme="bootstrap" data-ng-required="switchValues.today">\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="cron.value as cron in todayCron | filter: $select.search">\n <div ng-bind-html="cron.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cron.$touched || forms.config.$submitted) && forms.config.cron.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TODAY CRON -->\n <div class="row" data-ng-if="!switchValues.today">\n <!-- START CRONTYPE EXEC -->\n <div class="form-group col-md-4" data-ng-class="{\'has-error\': (forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$invalid}">\n <label class="control-label">{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.type" name="cronType" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_EXECUTE_EVERY\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="type.value as type in cronTypes | filter: $select.search">\n <div ng-bind-html="type.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.cronType.$touched || forms.config.$submitted) && forms.config.cronType.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CRONTYPE -->\n\n <!-- START WEEKDAY -->\n <div class="form-group col-md-4" data-ng-if="item.cronType === \'weekly\'" data-ng-class="{\'has-error\': (forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_WEEKDAYS\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="rangeExec.weekDays" name="weekDay" theme="bootstrap" data-ng-required="item.cronType === \'weekly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_WEEKDAYS\' | translate }}">{{$item.name | translate}}</ui-select-match>\n <ui-select-choices repeat="day.value as day in weekDays | filter: $select.search">\n <div ng-bind-html="day.name | highlight: $select.search | translate"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.weekDay.$touched || forms.config.$submitted) && forms.config.weekDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END WEEKDAY -->\n\n <!-- START MONTHDAY -->\n <div class="form-group col-md-4" data-ng-if="item.cronType === \'monthly\'" data-ng-class="{\'has-error\': (forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$invalid}">\n <label class="control-label">{{ \'APPLICATION_MONTHDAY\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.monthDay" name="monthDay" theme="bootstrap" data-ng-required="item.cronType === \'monthly\'">\n <ui-select-match placeholder="{{ \'APPLICATION_MONTHDAY\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="day in monthDays | filter: $select.search">\n <div ng-bind-html="day | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.monthDay.$touched || forms.config.$submitted) && forms.config.monthDay.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END MONTHDAY -->\n\n <!-- START HOUR -->\n <div class="form-group col-md-4" data-ng-if="item.cronType" data-ng-class="{\'has-error\': (forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$invalid}">\n <label class="control-label">{{ \'APPLICATION_HOUR\' | translate }}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="rangeExec.hour" name="hour" theme="bootstrap" required>\n <ui-select-match placeholder="{{ \'APPLICATION_HOUR\' | translate }}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="hour in hours | filter: $select.search">\n <div ng-bind-html="hour | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.hour.$touched || forms.config.$submitted) && forms.config.hour.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOUR -->\n </div>\n\n <!-- START SEND MAIL -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_SEND_MAIL\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n data-ng-model="item.sendMail"\n type="checkbox"\n name="status"\n data-ng-init="item.sendMail = 0"\n switch-active="{{ switches.isActive }}"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-on-color="{{ switches.onColor }}"\n switch-off-color="{{ switches.offColor }}"\n switch-animate="{{ switches.animate }}"\n switch-size="{{ switches.size }}"\n switch-label="{{ switches.label }}"\n switch-icon="{{ switches.icon }}"\n switch-radio-off="{{ switches.radioOff }}"\n switch-label-width="{{ switches.labelWidth }}"\n switch-handle-width="{{ switches.handleWidth }}">\n </div>\n <!-- END SEND MAIL -->\n <div class="row">\n <!-- START ACCOUNT -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$invalid}">\n <label class="control-label">{{ \'APPLICATION_ACCOUNT\' | translate }}<span class="required" data-ng-if="item.sendMail" aria-required="true">*</span></label>\n <ui-select data-ng-model="item.MailServerOutId" name="MailServerOutId" theme="bootstrap" data-ng-disabled="!item.sendMail" data-ng-required="item.sendMail">\n <ui-select-match placeholder="{{ \'APPLICATION_ACCOUNT\' | translate }}">{{$select.selected.username}}</ui-select-match>\n <ui-select-choices repeat="account.id as account in mailServers | filter: $select.search">\n <div ng-bind-html="account.username | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.config.MailServerOutId.$touched || forms.config.$submitted) && forms.config.MailServerOutId.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <div class="note note-warning" data-ng-hide="mailServers.length">\n <h4 class="block">Warning!</h4>\n <p>\n {{ \'MESSAGE_NO_ACCOUNTS_AVAILABLE\' | translate }}\n </p>\n </div>\n </div>\n <!-- END ACCOUNT -->\n\n <!-- START EMAIL -->\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.config.$submitted && forms.config.email.$invalid) || forms.config.email.$error.pattern}">\n <label class="control-label">{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}<span data-ng-if="item.sendMail" class="required" aria-required="true">*</span></label>\n <input type="email" name="email" placeholder="{{\'APPLICATION_EMAIL_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.email" required data-ng-disabled="!item.sendMail" data-ng-required="item.sendMail"/>\n <span data-ng-show="forms.config.$submitted && forms.config.email.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END EMAIL -->\n </div>\n\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n<!-- <pre>\n {{rangeExec | json}}\n</pre>\n<pre>\n {{item | json}}\n</pre> -->\n'), +a.put("app/tools/sound/list/list.html",'<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-music-tone-alt"></i>\n <a href="#">{{ \'APPLICATION_SOUNDS\' | translate }}</a>\n </li>\n </ul>\n <div class="page-toolbar">\n </div>\n</div>\n<!-- END PAGE HEADER-->\n<!-- BEGIN PAGE CONTENT-->\n<!-- Audio Portlets -->\n<div class="headline">\n <h3><i class="icon-music-tone-alt sounds-title-icon"></i> {{ \'APPLICATION_SOUNDS\' | translate }}</h3>\n</div>\n<div class="portlet light bg-inverse">\n <div class="portlet-title collapsible" ng-click="isCollapsed = !isCollapsed">\n <div class="caption">\n <i class="icon-puzzle font-red-flamingo"></i>\n <span class="caption-subject bold font-red-flamingo uppercase">\n {{\'APPLICATION_FILE_UPLOAD\' | translate}} </span>\n </div>\n <div class="tools">\n <a href="" ng-class="{\'collapse\': !isCollapsed, \'expand\' : isCollapsed}">\n </a>\n </div>\n </div>\n <div class="portlet-body" ng-slide-down="!isCollapsed">\n <div class="row" nv-file-drop="" uploader="uploader" filters="queueLimit, customFilter">\n <div class="col-md-4">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-settings font-green-sharp"></i>\n <span class="caption-subject bold uppercase">{{\'APPLICATION_SELECT_FILES\' | translate}}</span>\n <span class="caption-helper hide"></span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <div ng-show="uploader.isHTML5">\n <div class="file-drop-zone margin-bottom-20" nv-file-over="" uploader="uploader" over-class="file-drop-zone-over">\n Base drop zone\n </div>\n </div>\n <span class="btn default btn-file">\n <span class="fileinput-new">\n {{\'APPLICATION_FILE_UPLOAD\' | translate}}</span>\n <input type="file" nv-file-select="" uploader="uploader" />\n </span>\n <span class="btn default btn-file">\n <span class="fileinput-new">\n {{\'APPLICATION_MULTI_FILE_UPLOAD\' | translate}}</span>\n <input type="file" nv-file-select="" uploader="uploader" multiple /><br/>\n </span>\n <p>\n </br>\n {{ \'MESSAGE_SUPPORTED_FORMATS\' | translate }} <b>wav, mp3, gsm, ogg</b>.\n </p>\n <p>\n {{ \'MESSAGE_MAXIMUM_SOUND_UPLOAD_SIZE\' | translate }} <b>15 Mb</b>.\n </p>\n </div>\n </div>\n </div>\n <div class="col-md-8">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-settings font-green-sharp"></i>\n <span class="caption-subject bold uppercase">{{\'APPLICATION_UPLOAD_QUEUE\' | translate}}</span>\n <span class="caption-helper">{{\'APPLICATION_QUEUE_LENGTH\' | translate}}: {{ uploader.queue.length }}</span>\n </div>\n <div class="actions">\n </div>\n </div>\n <div class="portlet-body">\n <div class="table-scrollable table-scrollable-borderless">\n <table class="table table-hover table-light">\n <thead>\n <tr class="uppercase">\n <th width="50%">{{\'APPLICATION_NAME\' | translate}}</th>\n <th ng-show="uploader.isHTML5">{{\'APPLICATION_SIZE\' | translate}}</th>\n <th ng-show="uploader.isHTML5">{{\'APPLICATION_PROGRESS\' | translate}}</th>\n <th>{{\'APPLICATION_STATUS\' | translate}}</th>\n <th>{{\'APPLICATION_MESSAGE\' | translate}}</th>\n <th>{{\'APPLICATION_ACTIONS\' | translate}}</th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="item in uploader.queue">\n <td><strong>{{ item.file.name }}</strong></td>\n <td ng-show="uploader.isHTML5" nowrap>{{ item.file.size/1024/1024|number:2 }} MB</td>\n <td ng-show="uploader.isHTML5">\n <div class="progress progress-sm" style="margin-bottom: 0;">\n <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': item.progress + \'%\' }"></div>\n </div>\n </td>\n <td class="text-center">\n <span ng-show="item.isSuccess" class="text-success"><i class="glyphicon glyphicon-ok"></i></span>\n <span ng-show="item.isCancel" class="text-info"><i class="glyphicon glyphicon-ban-circle"></i></span>\n <span ng-show="item.isError" class="text-danger"><i class="glyphicon glyphicon-remove"></i></span>\n <span ng-show="item.isUploading" class="text-info"><i class="glyphicon glyphicon-upload"></i></span>\n </td>\n <td class="text-center">\n <span ng-show="item.responseMessage" class="text-danger">{{item.responseMessage}}</span>\n </td>\n <td nowrap>\n <button type="button" class="btn btn-success btn-xs" ng-click="item.upload()" ng-disabled="item.isReady || item.isUploading || item.isSuccess">\n <span class="glyphicon glyphicon-upload"></span> {{\'APPLICATION_UPLOAD\' | translate}}\n </button>\n <button type="button" class="btn btn-warning btn-xs" ng-click="item.cancel()" ng-disabled="!item.isUploading">\n <span class="glyphicon glyphicon-ban-circle"></span> {{\'APPLICATION_CANCEL\' | translate}}\n </button>\n <button type="button" class="btn btn-danger btn-xs" ng-click="item.remove()">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE\' | translate}}\n </button>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div>\n <p>{{\'APPLICATION_UPLOAD_QUEUE_PROGRESS\' | translate}}:</p>\n <div class="progress progress-sm" style="">\n <div class="progress-bar progress-bar-info" role="progressbar" ng-style="{ \'width\': uploader.progress + \'%\' }"></div>\n </div>\n </div>\n <button type="button" class="btn btn-success btn-s" ng-click="uploader.uploadAll()" ng-disabled="!uploader.getNotUploadedItems().length">\n <span class="glyphicon glyphicon-upload"></span> {{\'APPLICATION_UPLOAD_ALL\' | translate}}\n </button>\n <button type="button" class="btn btn-warning btn-s" ng-click="uploader.cancelAll()" ng-disabled="!uploader.isUploading">\n <span class="glyphicon glyphicon-ban-circle"></span> {{\'APPLICATION_CANCEL_ALL\' | translate}}\n </button>\n <button type="button" class="btn btn-danger btn-s" ng-click="uploader.clearQueue()" ng-disabled="!uploader.queue.length">\n <span class="glyphicon glyphicon-trash"></span> {{\'APPLICATION_REMOVE_ALL\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n<div class="row thumbnails" data-ng-init="initList()">\n <div class="row" ng-show="sounds.length == 0">\n <div class="col-md-12 page-404">\n <div class="details">\n <h3>{{ \'MESSAGE_NO_SOUNDS\' | translate }}</h3>\n <p>\n <a href="/">\n {{ \'MESSAGE_RETURN_HOME\' | translate }} </a>\n {{ \'MESSAGE_OR_UPLOAD_SOUND_FILE\' | translate }}\n </p>\n </div>\n </div>\n </div>\n <div class="audio-portlet-wrapper animate-repeat" ng-repeat="sound in sounds">\n <div class="audio-portlet">\n <div class="audio-portlet-title"><a href="#" editable-text="sound.display_name" onbeforesave="updateAudio(sound.id,{display_name : $data})">{{ sound.display_name || "Empty" }}</a></div>\n <img src="../assets/images/note_placeholder.png" alt="" class="img-responsive"/>\n <div class="file-info">\n <div class="audio-tag-wrapper">\n <audio-file-download params="{id:sound.id,controller:\'stream\'}" resource="Sound"></audio-file-download>\n </div>\n <p id="description_div">\n <a href="#" editable-text="sound.description" onbeforesave="updateAudio(sound.id,{description : $data})">{{ sound.description || "Empty" }}</a>\n </p>\n <p class="float-right">\n <button class="btn btn-xs green-meadow" uib-tooltip-template="\'audioInfoTemplate.html\'"><i class="icon-list"></i></button>\n <motion-file-download params="{id:sound.id,controller:\'download\'}" resource="Sound" mimetype="\'audio/\'+sound.original_format" tooltiptext="Download" filename="sound.name+\'.\'+sound.original_format" btnclass="{{downloadButtonClass}}" btncontent=\'{{downloadButtonContent}}\'></motion-file-download>\n <button uib-tooltip="Delete" class="btn btn-xs red-sunglo" ng-click="delete(sound.display_name, sound.id)" tooltip="Delete"><i class="icon-close" ></i></button>\n </p>\n </div>\n </div>\n </div>\n <script type="text/ng-template" id="audioInfoTemplate.html">\n <div>\n <ul class="list-unstyled">\n <li><b>Format : </b>{{sound.original_format}}</li>\n <li><b>Duration : </b>{{sound.original_duration | date: \'mm:ss\'}}</li>\n <li><b>Channels : </b>{{sound.original_channelCount}}</li>\n <li><b>Bitrate : </b>{{sound.original_bitRate/1024}} kbs</li>\n <li><b>Sample Rate : </b>{{sound.original_sampleRate/1000}} KHz</li>\n </ul>\n </div>\n </script>\n</div>\n<!-- End Audio Portlets -->\n'),a.put("app/tools/tag/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_TAG\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 data-ng-pattern="settings.patternName"/>\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 <span data-ng-show="(form.name.$touched || form.$submitted) && form.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/tag/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-tag"></i>\n <a href="#">{{ \'APPLICATION_TAGS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TAGS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TAG\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/tag/view/view.chat.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_CHAT\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initChat()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.contacts.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_CONTACTS\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initContacts()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" data-ng-if="readyGrid && gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.fax.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_FAX\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initFax()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getTag()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-tag"></i>\n <a href="/tools/tags/list">{{ \'APPLICATION_TAGS\' | translate }}</a>\n <i data-ng-show="tag" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="tag">\n <a href="#">{{tag.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/tag.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{tag.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.settings\')}">\n <a data-ng-href="/tools/tags/view/{{tag.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.chat\')}">\n <a data-ng-href="{{license.chat ? \'/tools/tags/view/\'+tag.id+\'/chat\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.chat}">\n <i class="icon-bubble"></i>\n {{ \'APPLICATION_CHAT\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.mail\')}">\n <a data-ng-href="{{license.mail ? \'/tools/tags/view/\'+tag.id+\'/mail\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.mail}">\n <i class="icon-envelope"></i>\n {{ \'APPLICATION_MAIL\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.fax\')}">\n <a data-ng-href="{{license.fax ? \'/tools/tags/view/\'+tag.id+\'/fax\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.fax}">\n <i class="icon-paper-plane"></i>\n {{ \'APPLICATION_FAX\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.sms\')}" >\n <a data-ng-href="{{license.messaging ? \'/tools/tags/view/\'+tag.id+\'/sms\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.messaging}">\n <i class="glyphicon glyphicon-comment"></i>\n {{ \'APPLICATION_SMS\' | translate}} </a>\n </li>\n <li data-ng-class="{active: $state.is(\'main.tools.tags.view.contacts\')}">\n <a data-ng-href="{{license.cm ? \'/tools/tags/view/\'+tag.id+\'/contacts\' : \'#\'}}" data-ng-class="{\'disabled-link\':!license.cm}">\n <i class="fa fa-users"></i>\n {{ \'APPLICATION_CONTACTS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/tag/view/view.mail.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_MAIL\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initMail()">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_TAG\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="spinner-grid" spinner-start-active="false"></span>\n <!-- END UI-GRID SPINNER -->\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateTag()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="tag.name" required data-ng-pattern="settings.patternName"/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="tag.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/tag/view/view.sms.html",'<div class="row" >\n <div class="col-md-12">\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_TAGGED_SMS\' | translate}}</span>\n </div>\n </div>\n\n <div class="portlet-body" data-ng-if="tag" data-ng-init="initSms()">\n <!-- START TABLE -->\n <div ui-grid="gridOptions" 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="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/template/list/list.html",'<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="#">{{ \'APPLICATION_TEMPLATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-wrench font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TEMPLATES\' | translate }}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/tools/templates/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TEMPLATE\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/template/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initItem()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/tools/templates/list">{{ \'APPLICATION_TEMPLATES\' | translate }}</a>\n <i data-ng-show="item" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="item">\n <a href="#">{{item.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/template.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{item.name}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.templates.view.settings\')}">\n <a data-ng-href="/tools/templates/view/{{item.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}}\n </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/template/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n </div>\n <div class="portlet-body">\n\n <form name="form" data-ng-submit="form.$valid && updateItem()" class="form-horizontal" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': form.name.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-2">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}:<span class="required" aria-required="true">*</span></label>\n </div>\n <div class="col-md-10">\n <input type="text" name="name" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_NAME\' | translate}}..." data-ng-model="item.name" required>\n <span data-ng-show="form.name.$invalid && form.$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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': form.description.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-2">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}:</label>\n </div>\n <div class="col-md-10">\n <input type="text" name="description" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}..." rows="8" data-ng-model="item.description">\n <span data-ng-show="form.description.$invalid && form.$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 <!-- END NAME -->\n\n <hr>\n\n <!-- START SUBJECT -->\n <div class="form-group row" data-ng-class="{\'has-error\': form.subject.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-2">\n <label class="control-label">{{\'APPLICATION_SUBJECT\' | translate}}:</label>\n </div>\n <div class="col-md-10">\n <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_SUBJECT\' | translate}}..." rows="8" data-ng-model="item.subject">\n <span data-ng-show="form.subject.$invalid && form.$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 <!-- END SUJBECT -->\n\n <!-- START HTML -->\n <div class="form-group row" data-ng-class="{\'has-error\': form.text.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div ckeditor="options" ng-model="item.html"></div>\n <span data-ng-show="form.text.$invalid && form.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END HTML -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/tools/template/wizard/wizard.html",'<div class="row">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-docs"></i>\n <a href="/tools/templates/list">{{ \'APPLICATION_TEMPLATES\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered" data-ng-init="initWizard()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TEMPLATES\' | translate }} FORM</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <form name="form" data-ng-submit="form.$valid && createItem()" class="form-horizontal" novalidate>\n <!-- START HEAD -->\n <div class="form">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': form.name.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">{{\'APPLICATION_NAME\' | translate}}:<span class="required" aria-required="true">*</span></label>\n </div>\n <div class="col-md-11">\n <input type="text" name="name" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_NAME\' | translate}}..." data-ng-model="item.name" required>\n <span data-ng-show="form.name.$invalid && form.$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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': form.description.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="description" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}..." rows="8" data-ng-model="item.description">\n <span data-ng-show="form.description.$invalid && form.$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 <!-- END NAME -->\n\n <!-- START SUBJECT -->\n <div class="form-group" data-ng-class="{\'has-error\': form.subject.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div class="row">\n <div class="col-md-1">\n <label class="control-label">{{\'APPLICATION_SUBJECT\' | translate}}:</label>\n </div>\n <div class="col-md-11">\n <input type="text" name="subject" class="form-control todo-taskbody-taskdesc" placeholder="{{\'APPLICATION_SUBJECT\' | translate}}..." rows="8" data-ng-model="item.subject">\n <span data-ng-show="form.subject.$invalid && form.$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 <!-- END SUJBECT -->\n\n <!-- START HTML -->\n <div class="form-group row" data-ng-class="{\'has-error\': form.text.$invalid && form.$submitted}">\n <div class="col-md-12">\n <div ckeditor="options" ng-model="item.html"></div>\n <span data-ng-show="form.text.$invalid && form.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n </div>\n <!-- END HTML -->\n\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="goNext()"/>\n </form>\n </div>\n </div>\n <!-- END PORTLET-->\n </div>\n</div>\n'),a.put("app/tools/trigger/list/list.html",'<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-bulb"></i>\n <a href="#">{{ \'APPLICATION_TRIGGERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRIGGERS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle " href="/tools/triggers/wizard">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TRIGGER\' | translate }}\n </a>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trigger/view/view.html",'<!-- BEGIN PAGE HEADER-->\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-bulb"></i>\n <a href="/tools/triggers/list">{{ \'APPLICATION_TRIGGERS\' | translate }}</a>\n <i class="fa fa-angle-right" data-ng-show="trigger"></i>\n </li>\n <li data-ng-show="trigger">\n <a href="#">{{ trigger.description || trigger.name }}</a>\n </li>\n </ul>\n </div>\n\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/trigger.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{ trigger.name }}\n </div>\n <div class="profile-usertitle-job">\n {{ trigger.description }}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.triggers.view.settings\')}">\n <a href="/tools/triggers/view/{{trigger.id}}/settings">\n <i class="icon-bulb"></i>\n {{ \'APPLICATION_SETTINGS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trigger/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_SETTINGS\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_CONDITIONS\' | translate}} & {{\'APPLICATION_ACTIONS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n\n <form name="forms.general" data-ng-submit="exitValidation(forms.general.$valid) && updateTrigger()" novalidate>\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="trigger.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$invalid && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START CHANNEL -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid}">\n <label class="control-label">{{\'APPLICATION_CHANNEL\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="channel" placeholder="{{\'APPLICATION_CHANNEL\' | translate}}" class="form-control" data-ng-model="trigger.channel" required readonly/>\n <span data-ng-show="(forms.general.channel.$touched || forms.general.$submitted) && forms.general.channel.$invalid && forms.general.channel.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CHANNEL -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label>\n </br>\n <input bs-switch class="form-control" ng-model="trigger.status" type="checkbox" name="status" switch-active="{{ recordSwitch.isActive }}" switch-on-text="{{ recordSwitch.onText }}" switch-off-text="{{ recordSwitch.offText }}" switch-on-color="{{ recordSwitch.onColor }}"\n switch-off-color="{{ recordSwitch.offColor }}" switch-animate="{{ recordSwitch.animate }}" switch-size="{{ recordSwitch.size }}" switch-label="{{ recordSwitch.label }}" switch-icon="{{ recordSwitch.icon }}" switch-radio-off="{{ recordSwitch.radioOff }}"\n switch-label-width="{{ recordSwitch.labelWidth }}" switch-handle-width="{{ recordSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="trigger.description" />\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n <!-- END GENERAL TAB -->\n <div class="tab-pane" id="tab_1_2">\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in trigger.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in trigger.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="trigger.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in trigger.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $triggers.services[trigger.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-template ng-switch-when="template" element="action" form="forms.general"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.general"></action-builder-integration>\n <action-builder-motion-bar ng-switch-when="motionbar" element="action" form="forms.general"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.general"></action-builder-jscripty>\n <action-builder-url-forward ng-switch-when="urlForward" element="action" form="forms.general"></action-builder-url-forward>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !trigger.All.length && !trigger.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.general.$submitted && !trigger.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}" />\n </div>\n </div>\n </form>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/trigger/wizard/wizard.html",'<div class="row">\n <div class="col-md-12">\n <!-- BEGIN PAGE HEADER-->\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-bulb"></i>\n <a href="/tools/triggers/list">{{ \'APPLICATION_TRIGGERS\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-bulb font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRIGGERS\' | translate }} WIZARD</span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START STATUS -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_STATUS\' | translate}}</label>\n </br>\n <input bs-switch class="form-control" ng-model="item.status" type="checkbox" name="status" data-ng-init="item.status = 0" switch-active="{{ statusSwitch.isActive }}" switch-on-text="{{ statusSwitch.onText }}" switch-off-text="{{ statusSwitch.offText }}"\n switch-on-color="{{ statusSwitch.onColor }}" switch-off-color="{{ statusSwitch.offColor }}" switch-animate="{{ statusSwitch.animate }}" switch-size="{{ statusSwitch.size }}" switch-label="{{ statusSwitch.label }}" switch-icon="{{ statusSwitch.icon }}"\n switch-radio-off="{{ statusSwitch.radioOff }}" switch-label-width="{{ statusSwitch.labelWidth }}" switch-handle-width="{{ statusSwitch.handleWidth }}">\n </div>\n <!-- END STATUS -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description" />\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()" />\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_SETTINGS\' | translate}}" canexit="exitSettingsValidation(forms.settings.$valid)">\n <form name="forms.settings" novalidate>\n\n <!-- Channel -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_CHANNEL\' | translate }}</span>\n </div>\n </div>\n <div class="portlet-body">\n <div class="form-group" data-ng-class="{\'has-error\': (forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.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 | capitalize}}</ui-select-match>\n <ui-select-choices repeat="channel in $triggers.channels | filter: $select.search">\n <div ng-bind-html="channel | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="(forms.settings.channel.$touched || forms.settings.$submitted) && forms.settings.channel.$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 </div>\n\n <!-- All -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ALL_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="all in item.All">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ALL\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'All\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="all" serviceindex="item.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'All\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Any -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject" ng-bind-html="\'APPLICATION_MEET_ANY_CONDITIONS\' | translate"></span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="any in item.Any">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ANY\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeCondition(\'Any\',$index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <condition-builder element="any" serviceindex="item.channel" service="$triggers" form="forms.general"></condition-builder>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addCondition(\'Any\')">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_CONDITION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <!-- Actions -->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <i class="icon-tag font-blue-hoki"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }}</span>:\n </div>\n </div>\n <div class="portlet-body">\n <div class="portlet light bordered" ng-repeat="action in item.Actions">\n <div class="portlet-title">\n <div class="caption font-blue-hoki">\n <span class="caption-subject">{{ \'APPLICATION_ACTIONS\' | translate }} #{{$index+1}}</span>\n </div>\n <div class="actions">\n <a href="#" class="btn red-sunglo btn-icon-only" ng-click="removeAction($index)"><i class="fa fa-trash"></i></a>\n </div>\n </div>\n <div class="portlet-body">\n <div class="padding-bottom row">\n <div class="col-md-12">\n <div class="form-group col-md-6" data-ng-class="{\'has-error\': (forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$invalid}">\n <ui-select data-ng-model="action.action" theme="bootstrap" data-ng-change="resetActionData(action)" name="action{{$index}}" required>\n <ui-select-match placeholder="{{ \'APPLICATION_ACTION\' | translate }}">{{$select.selected.name | translate}}</ui-select-match>\n <ui-select-choices repeat="tAction.value as tAction in $triggers.services[item.channel].actions | filter: $select.search">\n <div ng-bind-html="tAction.name | translate | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'APPLICATION_ACTION\' | translate }}\n </span>\n <span data-ng-show="(forms.general[\'action\'+$index].$touched || forms.general.$submitted) && forms.general[\'action\'+$index].$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <div ng-switch="action.action">\n <action-builder-template ng-switch-when="template" element="action" form="forms.general"></action-builder-template>\n <action-builder-integration ng-switch-when="integration" element="action" form="forms.general"></action-builder-integration>\n <action-builder-motion-bar ng-switch-when="motionbar" element="action" form="forms.general"></action-builder-motion-bar>\n <action-builder-jscripty ng-switch-when="jscripty" element="action" form="forms.general"></action-builder-jscripty>\n <action-builder-url-forward ng-switch-when="urlForward" element="action" form="forms.general"></action-builder-url-forward>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class="row">\n <div class="col-md-12">\n <button type="button" class="btn btn-sm green padding-bottom" data-ng-click="addAction()">\n <i class="fa fa-plus"></i> {{\'APPLICATION_ADD_ACTION\' | translate}}\n </button>\n </div>\n </div>\n </div>\n </div>\n\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.All.length && !item.Any.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_CONDITION\' | translate}}.\n </span>\n </div>\n <div class="has-error" data-ng-show="forms.settings.$submitted && !item.Actions.length">\n <span class="help-block help-block-error form-control">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INSERT_AT_LEAST_ONE_ACTION\' | translate}}.\n </span>\n </div>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" ng-click="next()" />\n </form>\n </wz-step>\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}" />\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("app/tools/trunk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-link"></i>\n <a href="#">{{ \'APPLICATION_TRUNKS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRUNKS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <a class="btn green-jungle" href="/tools/trunks/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_TRUNK\' | translate }}\n </a>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trunk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-link"></i>\n <a href="/tools/trunks/list">{{ \'APPLICATION_TRUNKS\' | translate }}</a>\n <i data-ng-show="trunk" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="trunk">\n <a href="#">{{trunk.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/trunk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{trunk.name}}\n </div>\n <p data-ng-if="trunk.active && trunk.registry && trunk.status">({{trunk.status}})</p>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.trunks.view.settings\')}">\n <a data-ng-href="/tools/trunks/view/{{trunk.name}}/settings"><i class="icon-settings"></i> {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/trunk/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_TRUNK\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{ \'APPLICATION_ADVANCED\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{ \'APPLICATION_OTHER_FIELDS\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body" data-ng-init="getContexts();">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateTrunk()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="trunk.name" data-ng-pattern="settings.patternName" required readonly/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$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="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START ACTIVE -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_ACTIVE\' | translate}}</label></br>\n <input\n bs-switch\n class="form-control"\n ng-model="trunk.active"\n type="checkbox"\n name="auth"\n switch-on-text="{{ \'APPLICATION_YES\' | translate }}"\n switch-off-text="{{ \'APPLICATION_NO\' | translate }}"\n switch-off-color="{{ activeSwitch.offColor }}"\n switch-on-color="{{ activeSwitch.onColor }}"\n switch-animate="{{ activeSwitch.animate }}"\n switch-size="{{ activeSwitch.size }}"\n switch-label="{{ activeSwitch.label }}"\n switch-icon="{{ activeSwitch.icon }}"\n switch-radio-off="{{ activeSwitch.radioOff }}"\n switch-label-width="{{ activeSwitch.labelWidth }}"\n switch-handle-width="{{ activeSwitch.handleWidth }}">\n </div>\n <!-- END ACTIVE -->\n <div class="row">\n\n <div class="col-md-6">\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.host.$touched || forms.general.$submitted) && forms.general.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="trunk.host" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_HOST\' | translate }}\n </span>\n <span data-ng-show="(forms.general.host.$touched || forms.general.$submitted) && forms.general.host.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START SECRET -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.secret.$touched || forms.general.$submitted) && forms.general.secret.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECRET\' | translate}}</label>\n <input type="password" name="secret" placeholder="{{\'APPLICATION_SECRET\' | translate}}" class="form-control" data-ng-model="trunk.secret">\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_SECRET\' | translate }}\n </span>\n <span data-ng-show="(forms.general.secret.$touched || forms.general.$submitted) && forms.general.secret.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SECRET -->\n\n <!-- START CONTEXT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$invalid}">\n <label class="control-label">{{\'APPLICATION_CONTEXT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.context" name="context" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="context.name as context in voiceContexts | filter: $select.search">\n <div ng-bind-html="context.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_VOICE_CONTEXT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.context.$touched || forms.general.$submitted) && forms.general.context.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CONTEXT -->\n\n <!-- START CALLERID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.callerid.$touched || forms.general.$submitted) && forms.general.callerid.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLERID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="callerid" pattern=\'^"[a-zA-Z0-9_.-]*" <[a-zA-Z0-9_.-]*>\' placeholder="{{\'APPLICATION_CALLERID\' | translate}}" class="form-control" data-ng-model="trunk.callerid"/>\n <span class="help-block">\n {{ \'DESCRIPTION_OUTBOUND_CALLERID\' | translate }} "name" <number>\n </span>\n <span data-ng-show="(forms.general.callerid.$touched || forms.general.$submitted) && forms.general.callerid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLERID -->\n\n <!-- START TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$invalid}">\n <label class="control-label">{{\'APPLICATION_TYPE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.type" name="type" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'user\',\'peer\',\'friend\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_TYPE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.type.$touched || forms.general.$submitted) && forms.general.type.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TYPE -->\n\n <!-- START DTMFMODE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.dtmfmode.$touched || forms.general.$submitted) && forms.general.dtmfmode.$invalid}">\n <label class="control-label">{{\'APPLICATION_DTMFMODE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.dtmfmode" name="dtmfmode" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected}}</ui-select-match>\n <ui-select-choices repeat="item in [\'rfc2833\', \'info\', \'shortinfo\', \'inband\',\'auto\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DTMFMODE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.dtmfmode.$touched || forms.general.$submitted) && forms.general.dtmfmode.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DTMFMODE -->\n\n </div>\n\n <div class="col-md-6">\n\n <!-- START DEFAULT USER -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.defaultuser.$invalid}">\n <label class="control-label">{{\'APPLICATION_DEFAULT_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="defaultuser" placeholder="{{\'APPLICATION_DEFAULT_USER\' | translate}}" class="form-control" data-ng-model="trunk.defaultuser" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DEFAULT_USER\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && (forms.general.defaultuser.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DEFAULT USER -->\n\n <!-- START NAT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.nat.$touched || forms.general.$submitted) && forms.general.nat.$invalid}">\n <label class="control-label">{{\'APPLICATION_NAT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.nat" name="nat" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\', \'no\', \'never\', \'route\', \'force_rport\', \'comedia\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_NAT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.nat.$touched || forms.general.$submitted) && forms.general.nat.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAT -->\n\n <!-- START QUALIFY -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.qualify.$touched || forms.general.$submitted) && forms.general.qualify.$invalid}">\n <label class="control-label">{{\'APPLICATION_QUALIFY\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.qualify" name="qualify" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_QUALIFY\' | translate }}\n </span>\n <span data-ng-show="(forms.general.qualify.$touched || forms.general.$submitted) && forms.general.qualify.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END QUALIFY -->\n\n <!-- START ALLOW -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.allow.$touched || forms.general.$submitted) && forms.general.allow.$invalid}">\n <label class="control-label">{{\'APPLICATION_ALLOW_CODEC\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.allow" name="allow" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'g723\',\'gsm\',\'ulaw\',\'alaw\',\'g726\',\'g722\',\'g729\',\'ilbc\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_ALLOW_CODEC\' | translate }}\n </span>\n <span data-ng-show="(forms.general.allow.$touched || forms.general.$submitted) && forms.general.allow.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ALLOW -->\n\n <!-- START INSECURE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.insecure.$touched || forms.general.$submitted) && forms.general.insecure.$invalid}">\n <label class="control-label">{{\'APPLICATION_INSECURE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.insecure" name="insecure" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'port\',\'invite\',\'very\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_INSECURE\' | translate }}\n </span>\n <span data-ng-show="(forms.general.insecure.$touched || forms.general.$submitted) && forms.general.insecure.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END INSECURE -->\n\n <!-- START CALLLIMIT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.call_limit.$touched || forms.general.$submitted) && forms.general.call_limit.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLLIMIT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="number" min="0" name="call-limit" placeholder="{{\'APPLICATION_CALLLIMIT\' | translate}}" class="form-control" data-ng-model="trunk.call_limit"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_CALLLIMIT\' | translate }}\n </span>\n <span data-ng-show="(forms.general.call_limit.$touched || forms.general.$submitted) && forms.general.call_limit.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLLIMIT -->\n\n </div>\n </div>\n\n <!-- START DESCRIPTION -->\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="trunk.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n <!-- ADVANCED TAB -->\n <div class="tab-pane" id="tab_1_2">\n <form name="forms.advanced" data-ng-submit="forms.advanced.$valid && updateTrunk()" novalidate>\n <div class="row">\n <div class="col-md-6">\n\n <!-- START REGISTRY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REGISTRY\' | translate}}</label>\n <input type="text" name="registry" placeholder="{{\'APPLICATION_REGISTRY\' | translate}}" class="form-control" data-ng-model="trunk.registry"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_REGISTRY\' | translate }}\n </span>\n </div>\n <!-- END REGISTRY -->\n\n <!-- START DIRECTMEDIA -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.directmedia.$touched || forms.advanced.$submitted) && forms.advanced.directmedia.$invalid}">\n <label class="control-label">{{\'APPLICATION_DIRECTMEDIA\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.directmedia" name="directmedia" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\', \'no\', \'nonat\', \'update\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DIRECTMEDIA\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.directmedia.$touched || forms.advanced.$submitted) && forms.advanced.directmedia.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END DIRECTMEDIA -->\n\n <!-- START CALLCOUNTER -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.callcounter.$touched || forms.advanced.$submitted) && forms.advanced.callcounter.$invalid}">\n <label class="control-label">{{\'APPLICATION_CALLCOUNTER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.callcounter" name="callcounter" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_CALLCOUNTER\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.callcounter.$touched || forms.advanced.$submitted) && forms.advanced.callcounter.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END CALLCOUNTER -->\n\n <!-- START FROMDOMAIN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.advanced.$submitted && forms.advanced.fromdomain.$invalid}">\n <label class="control-label">{{\'APPLICATION_FROMDOMAIN\' | translate}}</label>\n <input type="text" name="fromdomain" placeholder="{{\'APPLICATION_FROMDOMAIN\' | translate}}" class="form-control" data-ng-model="trunk.fromdomain" />\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_FROMDOMAIN\' | translate }}\n </span>\n <span data-ng-show="forms.advanced.$submitted && (forms.advanced.fromdomain.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FROMDOMAIN -->\n\n <!-- START FROMUSER -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.advanced.$submitted && forms.advanced.fromuser.$invalid}">\n <label class="control-label">{{\'APPLICATION_FROMUSER\' | translate}}</label>\n <input type="text" name="fromuser" placeholder="{{\'APPLICATION_FROMUSER\' | translate}}" class="form-control" data-ng-model="trunk.fromuser" />\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_FROMUSER\' | translate }}\n </span>\n <span data-ng-show="forms.advanced.$submitted && (forms.advanced.fromuser.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END FROMUSER -->\n\n </div>\n <div class="col-md-6">\n\n <!-- START OUTBOUNDPROXY -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.advanced.$submitted && forms.advanced.outboundproxy.$invalid}">\n <label class="control-label">{{\'APPLICATION_OUTBOUNDPROXY\' | translate}}</label>\n <input type="text" name="outboundproxy" placeholder="{{\'APPLICATION_OUTBOUNDPROXY\' | translate}}" class="form-control" data-ng-model="trunk.outboundproxy" />\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_OUTBOUNDPROXY\' | translate }}\n </span>\n <span data-ng-show="forms.advanced.$submitted && (forms.advanced.outboundproxy.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END OUTBOUNDPROXY -->\n\n <!-- START USEREQPHONE -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.usereqphone.$touched || forms.advanced.$submitted) && forms.advanced.usereqphone.$invalid}">\n <label class="control-label">{{\'APPLICATION_USEREQPHONE\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.usereqphone" name="usereqphone" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_USEREQPHONE\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.usereqphone.$touched || forms.advanced.$submitted) && forms.advanced.usereqphone.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USEREQPHONE -->\n\n <!-- START TRUSTRPID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.trustrpid.$touched || forms.advanced.$submitted) && forms.advanced.trustrpid.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRUSTRPID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.trustrpid" name="trustrpid" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_TRUSTRPID\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.trustrpid.$touched || forms.advanced.$submitted) && forms.advanced.trustrpid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRUSTRPID -->\n\n <!-- START SENDRPID -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.sendrpid.$touched || forms.advanced.$submitted) && forms.advanced.sendrpid.$invalid}">\n <label class="control-label">{{\'APPLICATION_SENDRPID\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.sendrpid" name="sendrpid" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_SENDRPID\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.sendrpid.$touched || forms.advanced.$submitted) && forms.advanced.sendrpid.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END SENDRPID -->\n\n <!-- START ENCRYPTION -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.encryption.$touched || forms.advanced.$submitted) && forms.advanced.encryption.$invalid}">\n <label class="control-label">{{\'APPLICATION_ENCRYPTION\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select data-ng-model="trunk.encryption" name="encryption" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="item in [\'yes\',\'no\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search | capitalize"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_ENCRYPTION\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.encryption.$touched || forms.advanced.$submitted) && forms.advanced.encryption.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END ENCRYPTION -->\n\n <!-- START PORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.port.$touched || forms.advanced.$submitted) && forms.advanced.port.$invalid}">\n <label class="control-label">{{\'APPLICATION_PORT\' | translate}}</label>\n <input type="number" min="0" name="port" placeholder="{{\'APPLICATION_PORT\' | translate}}" class="form-control" data-ng-model="trunk.port"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_PORT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.port.$touched || forms.advanced.$submitted) && forms.advanced.port.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PORT -->\n\n <!-- START TRANSPORT -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.advanced.transport.$touched || forms.advanced.$submitted) && forms.advanced.transport.$invalid}">\n <label class="control-label">{{\'APPLICATION_TRANSPORT\' | translate}}<span class="required" aria-required="true">*</span></label>\n <ui-select multiple data-ng-model="trunk.transport" name="transport" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH_FILTER\' | translate}}">{{$item}}</ui-select-match>\n <ui-select-choices repeat="item in [\'udp\',\'wss\',\'ws\',\'tcp\',\'tls\'] | filter: $select.search">\n <div ng-bind-html="item | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_TRANSPORT\' | translate }}\n </span>\n <span data-ng-show="(forms.advanced.transport.$touched || forms.advanced.$submitted) && forms.advanced.transport.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TRANSPORT -->\n\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n <!-- START OTHER FIELDS TAB -->\n <div class="tab-pane" id="tab_1_3">\n <form name="forms.otherFields" data-ng-submit="forms.otherFields.$valid && updateTrunk()" novalidate>\n <div class="row">\n <div class="col-md-6">\n <!-- START OTHER FIELDS-->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_OTHER_FIELDS\' | translate}}</label>\n <textarea name="otherFields" placeholder="{{\'APPLICATION_OTHER_FIELDS\' | translate}}" class="form-control otherfields-col" data-ng-model="trunk.otherFields"></textarea>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_OTHER_FIELDS\' | translate }}\n </span>\n </div>\n <!-- END OTHER FIELDS -->\n </div>\n <div class="col-md-6">\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_EXAMPLE\' | translate}}</label>\n <div class="well">\n <div>host=dynamicp</div>\n <div>secret=********</div>\n <div>regcontext=tammari-internal</div>\n <div>regexten=1005</div>\n <div>dtmfmode=rfc2833</div>\n <div>insecure=invite,port</div>\n <div>canreinvite=yes</div>\n <div>nat=yes</div>\n <div>qualify=yes</div>\n <div>context=merus-sipphone</div>\n <div>pickupgroup=1</div>\n <div>callgroup=1</div>\n <div>mailbox=1000@default</div>\n </div>\n </div>\n </div>\n </div>\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n\n </div>\n <!-- END OTHER FIELDS TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'), +a.put("app/tools/trunk/wizard/wizard.html",'<div class="col-md-12" data-ng-init="initWizard()">\n <!-- BEGIN PAGE HEADER-->\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-link"></i>\n <a href="/tools/trunks/list">{{ \'APPLICATION_TRUNKS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-options"></i>\n <a href="#">{{ \'APPLICATION_WIZARD\' | translate }}</a>\n </li>\n </ul>\n </div>\n <!-- END PAGE HEADER-->\n\n <!-- BEGIN PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-link font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_TRUNK\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_GENERAL\' | translate}}" canexit="exitValidation(forms.general.$valid)">\n <form name="forms.general" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.$submitted && forms.general.name.$invalid) || forms.general.name.$error.pattern}">\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" data-ng-pattern="settings.patternName" required/>\n <span data-ng-show="forms.general.$submitted && forms.general.name.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.pattern" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_INVALID_PATTERN_NAME\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START HOST -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.host.$invalid}">\n <label class="control-label">{{\'APPLICATION_HOST\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="host" placeholder="{{\'APPLICATION_HOST\' | translate}}" class="form-control" data-ng-model="item.host" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_HOST\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && forms.general.host.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END HOST -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.password.$invalid}">\n <label class="control-label">{{\'APPLICATION_SECRET\' | translate}}</label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_PASSWORD\' | translate}}" class="form-control" data-ng-model="item.secret"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_SECRET\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && forms.general.password.$invalid" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START DEFAULT USER -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.general.$submitted && forms.general.defaultuser.$invalid}">\n <label class="control-label">{{\'APPLICATION_DEFAULT_USER\' | translate}}<span class="required" aria-required="true">*</span></label>\n <input type="text" name="defaultuser" placeholder="{{\'APPLICATION_DEFAULT\' | translate}} {{\'APPLICATION_USER\' | translate}}" class="form-control" data-ng-model="item.defaultuser" required/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_DEFAULT_USER\' | translate }}\n </span>\n <span data-ng-show="forms.general.$submitted && (forms.general.defaultuser.$invalid)" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_WRONG_PASSWORD\' | translate}}.\n </span>\n </div>\n <!-- END DEFAULT USER -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n <button class="btn green-haze" type="submit" ng-click="next(true)">{{\'APPLICATION_CONTINUE\' | translate}} <i class="fa fa-angle-right"></i></button>\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_ADVANCED\' | translate}}" canexit="exitValidation(forms.advanced.$valid)">\n <form name="forms.advanced" novalidate>\n\n <!-- START REGISTRY -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_REGISTRY\' | translate}}</label>\n <input type="text" name="registry" placeholder="{{\'APPLICATION_REGISTRY\' | translate}}" class="form-control" data-ng-model="item.registry"/>\n <span class="help-block">\n {{ \'DESCRIPTION_TRUNK_REGISTRY\' | translate }}\n </span>\n </div>\n <!-- END REGISTRY -->\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <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 <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <button class="btn green-haze" type="button" ng-click="previous()"><i class="fa fa-angle-left"></i> {{\'APPLICATION_BACK\' | translate}}</button>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n </wizard>\n </div>\n </div>\n <!-- END PORTLET-->\n</div>\n'),a.put("app/tools/variable/list/list.create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_VARIABLE\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="form" novalidate>\n\n <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/tools/variable/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-eye"></i>\n <a href="#">{{ \'APPLICATION_VARIABLES\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_VARIABLES\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_VARIABLE\' | translate }}\n </button>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{ \'MESSAGE_NO_RESULTS_AVAILABLE\' | translate }}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/variable/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getVariable()">\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-wrench"></i>\n <a href="#">{{ \'APPLICATION_TOOLS\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <i class="icon-eye"></i>\n <a href="/tools/variables/list">{{ \'APPLICATION_VARIABLES\' | translate }}</a>\n <i data-ng-show="variable" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="variable">\n <a href="#">{{variable.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/variable.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{variable.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.variables.view.settings\')}">\n <a data-ng-href="/tools/variables/view/{{variable.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/variable/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_VARIABLE\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateVariable()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="variable.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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="variable.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/tools/yourdashboard/list/clone.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_CLONE_DASHBOARD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.dashboard" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.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="(forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.dashboard.$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/tools/yourdashboard/list/create.modal.html",'<div class="modal-header">\n <h3 class="modal-title">{{ \'APPLICATION_NEW_DASHBOARD\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <form name="forms.dashboard" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.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="(forms.dashboard.name.$touched || forms.dashboard.$submitted) && forms.dashboard.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\n\n </form>\n</div>\n<div class="modal-footer">\n <button class="btn btn-success" type="button" ng-click="ok()" ng-disabled="forms.dashboard.$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/tools/yourdashboard/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-screen-desktop"></i>\n <a href="/tools/yourdashboards/list">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-docs font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <button class="btn green-jungle " ng-click="create()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_DASHBOARD\' | translate }}\n </button>\n </div>\n <!-- <a class="btn btn-icon-only btn-default fullscreen" href="#"></a> -->\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/yourdashboard/show/leaveEditedDashboard.modal.html",'<div class="modal-header" data-ng-init="getContacts()">\n <h3 class="modal-title">{{ \'APPLICATION_WARNING\' | translate }}</h3>\n</div>\n<div class="modal-body">\n <p>{{\'MESSAGE_LEAVE_EDITED_PAGE\' | translate}}</p>\n</div>\n<div class="modal-footer">\n <button class="btn btn-danger" type="button" ng-click="close()">{{ \'APPLICATION_CONTINUE\' | translate }}</button>\n <button class="btn default" type="button" ng-click="cancel()">{{ \'APPLICATION_CANCEL\' | translate }}</button>\n</div>\n'),a.put("app/tools/yourdashboard/show/show.html",'<div class="row" style="min-height: 466px;">\n <div class="col-md-12" ng-init="getDashboard()">\n <adf-dashboard\n data-ng-if="dashboard"\n name="{{dashboard.name}}"\n collapsible="{{dashboard.collapsible}}"\n maximizable="{{dashboard.maximizable}}"\n enableconfirmdelete="{{dashboard.enableconfirmdelete}}"\n structure="{{dashboard.structure}}"\n editable="{{dashboard.editable}}"\n adf-model="dashboard.model"/>\n </div>\n</div>\n'),a.put("app/tools/yourdashboard/view/view.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="getDashboard()">\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-screen-desktop"></i>\n <a href="/tools/yourdashboards/list">{{ \'APPLICATION_YOUR_DASHBOARDS\' | translate }}</a>\n <i data-ng-show="dashboard" class="fa fa-angle-right"></i>\n </li>\n <li data-ng-show="dashboard">\n <a href="#">{{dashboard.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img data-ng-src="assets/images/media/dashboard.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{dashboard.name}}\n </div>\n <!-- <div class="profile-usertitle-job">\n {{user.role}}\n </div> -->\n </div>\n <!-- END SIDEBAR USER TITLE -->\n\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.tools.yourdashboards.view.settings\')}">\n <a data-ng-href="/tools/yourdashboards/view/{{dashboard.id}}/settings">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_SETTINGS\' | translate}} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/tools/yourdashboard/view/view.settings.html",'<div class="row">\n <div class="col-md-12">\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_DASHBOARD\' | translate}} {{ \'APPLICATION_SETTINGS\' | translate}} </span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{ \'APPLICATION_GENERAL\' | translate}}</a>\n </li>\n </ul>\n </div>\n\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.general" data-ng-submit="forms.general.$valid && updateDashboard()" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': (forms.general.name.$touched || forms.general.$submitted) && forms.general.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="dashboard.name" required/>\n <span data-ng-show="(forms.general.name.$touched || forms.general.$submitted) && forms.general.name.$error.required" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START VISIBLE TO ADMIN -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VISIBLE_TO_ADMIN\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="dashboard.admin"\n type="checkbox"\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 <!-- END VISIBLE TO ADMIN -->\n\n <!-- START VISIBLE TO USER -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VISIBLE_TO_USER\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="dashboard.user"\n type="checkbox"\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 <!-- END VISIBLE TO USER -->\n\n <!-- START VISIBLE TO AGENT -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_VISIBLE_TO_AGENT\' | translate}}</label><br>\n <input\n bs-switch\n ng-model="dashboard.agent"\n type="checkbox"\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 <!-- END VISIBLE TO AGENT -->\n\n <!-- START DESCRIPTION -->\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="dashboard.description"></textarea>\n </div>\n <!-- END DESCRIPTION -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END ADVANCED TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/list/list.html",'<!-- BEGIN PAGE CONTENT-->\n<div class="row">\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-heart"></i>\n <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered" data-ng-init="initView()">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-heart font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ZENDESK\' | translate }}</a> </span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="/zendesk/wizard" data-toggle="dropdown">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_ACCOUNT\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n <!-- END TABLE -->\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/zendesk/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 <!-- START NAME -->\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 <!-- END NAME -->\n\n <!-- START CHANNEL -->\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_AUTHENTICATION_TYPE\' | translate}}</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 <!-- START CHANNEL -->\n\n <!-- START DESCRIPTION -->\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 <!-- END DESCRIPTION -->\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/zendesk/view/configuration/list/list.html",'<div ui-view class="profile-content">\n <div class="row">\n <div class="col-md-12">\n <div class="portlet light" data-ng-init="initView()">\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_CONFIGURATIONS\' | translate}}</span>\n </div>\n <div class="actions">\n <div class="btn-group" data-ng-show="id.length">\n <a class="btn red" href="#" data-ng-click="deleteItems()">\n <i class="icon-trash"></i> {{ \'APPLICATION_DELETE\' | translate }}\n </a>\n </div>\n <div class="btn-group">\n <a class="btn green-jungle" href="#" data-ng-click="createItem()">\n <i class="icon-plus"></i> {{ \'APPLICATION_NEW_CONFIGURATION\' | translate }}\n </a>\n </div>\n </div>\n </div>\n <div class="portlet-body">\n <!-- START TABLE -->\n <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 <div class="watermark" ng-show="!gridOptions.data.length">{{\'MESSAGE_NO_RESULTS_AVAILABLE\' | translate}}</div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/view/configuration/view/view.html",'<div class="row" data-ng-init="initView();getConfiguration();getCustomVariables();getFields();getTags();">\n <div class="col-md-12">\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_CONFIGURATION\' | translate}}: {{configurationName}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_SUBJECT\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_2" data-toggle="tab">{{\'APPLICATION_DESCRIPTION\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_3" data-toggle="tab">{{\'APPLICATION_FIELDS\' | translate}}</a>\n </li>\n <li>\n <a href="#" data-target="#tab_1_4" data-toggle="tab">{{\'APPLICATION_TAGS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- SUBJECT TAB -->\n <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 <!-- <div id="subject-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="subjectItem in subjectConfig">\n <div class="col-md-3">\n <ui-select ng-model="subjectItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="subjectItem.content" data-ng-change="updateField(subjectItem)">\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.variableName" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-8" data-ng-if="subjectItem.type==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="subjectItem.VariableId" data-ng-change="updateField(subjectItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(subjectItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END SUBJECT TAB -->\n <!-- DESCRIPTION TAB -->\n <div class="tab-pane ui-padding" id="tab_1_2">\n <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 <!-- <div id="description-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="descriptionItem in descriptionConfig">\n <div class="col-md-2">\n <ui-select ng-model="descriptionItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in descFieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-9" data-ng-if="descriptionItem.type==\'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="descriptionItem.content" data-ng-change="updateField(descriptionItem)">\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <input type="text" class="form-control" placeholder="Key" data-ng-model="descriptionItem.key" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\'">\n <ui-select ng-model="descriptionItem.keyType" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeDescType(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'string\'">\n <input type="text" class="form-control" placeholder="Value" data-ng-model="descriptionItem.keyContent" data-ng-change="updateField(descriptionItem)">\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.variableName" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-3" data-ng-if="descriptionItem.type==\'keyValue\' && descriptionItem.keyType==\'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="descriptionItem.VariableId" data-ng-change="updateField(descriptionItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(descriptionItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END DESCRIPTION TAB -->\n <!-- FIELDS TAB -->\n <div class="tab-pane ui-padding" id="tab_1_3">\n <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 <!-- <div id="field-item-list" ng-scrollbars ng-scrollbars-config="config"> -->\n <div class="row" data-ng-repeat="fieldItem in fieldConfig">\n <div class="col-md-3">\n <ui-select ng-model="fieldItem.idField" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeFieldType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.id as item in accountFields | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n <div class="col-md-8" data-ng-if="getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.content" theme="bootstrap" ng-disabled="disabled" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="item.value as item in getSystemFieldOptions(fieldItem.idField) | filter: $select.search">\n <div ng-bind-html="item.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField)">\n <div class="form-group">\n <ui-select ng-model="fieldItem.type" theme="bootstrap" ng-disabled="disabled" data-ng-change="changeType(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices repeat="item.type as item in fieldType | filter: $select.search">\n <div ng-bind-html="item.title | highlight: $select.search | ucfirst"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'string\'">\n <div class="form-group">\n <input type="text" class="form-control" data-ng-model="fieldItem.content" data-ng-change="updateField(fieldItem)">\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'variable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.variableName" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.title}}</ui-select-match>\n <ui-select-choices group-by="groupVariableByGroup" repeat="variable.name as variable in variables | filter: $select.search">\n <div ng-bind-html="variable.title | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-4" data-ng-if="!getSystemFieldOptions(fieldItem.idField) && fieldItem.type === \'customVariable\'">\n <div class="form-group">\n <ui-select theme="bootstrap" ng-disabled="disabled" data-ng-model="fieldItem.VariableId" data-ng-change="updateField(fieldItem)">\n <ui-select-match placeholder="{{\'APPLICATION_SEARCH\' | translate}}">{{$select.selected.name}}</ui-select-match>\n <ui-select-choices repeat="variable.id as variable in customVariables | filter: $select.search">\n <div ng-bind-html="variable.name | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n </div>\n </div>\n <div class="col-md-1">\n <div class="form-group">\n <button class="btn btn-icon-only red" data-ng-click="removeItem(fieldItem)"><i class="fa fa-times"></i></button>\n </div>\n </div>\n </div>\n <!-- </div> -->\n </div>\n <!-- END FIELDS TAB -->\n <!-- TAG TAB -->\n <div class="tab-pane ui-padding" id="tab_1_4">\n <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 <form name="forms.tags" data-ng-submit="updateTags()" novalidate>\n <!-- TAG -->\n <div class="form-group">\n <ui-select multiple data-ng-model="selectedTags.tags" theme="bootstrap" name="tags" ng-disabled="disabled">\n <ui-select-match placeholder="{{ \'APPLICATION_TAGS\' | translate }}">{{$item.name}}</ui-select-match>\n <ui-select-choices repeat="tag.id as tag in tags | filter: $select.search">\n {{tag.name}}\n </ui-select-choices>\n </ui-select>\n </div>\n <!-- END TAG -->\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END TAG TAB -->\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/view/view.account.html",'<div class="row">\n <div class="col-md-12">\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_ACCOUNT\' | translate}}</span>\n </div>\n <ul class="nav nav-tabs">\n <li class="active">\n <a href="#" data-target="#tab_1_1" data-toggle="tab">{{\'APPLICATION_GENERALS\' | translate}}</a>\n </li>\n </ul>\n </div>\n <div class="portlet-body">\n <div class="tab-content">\n <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <form name="forms.formSetting" data-ng-submit="forms.formSetting.$valid && updateItem()" novalidate>\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="account.name" required/>\n <span data-ng-show="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="account.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.username" required/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="account.remoteUri" required />\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="account.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'password\', \'token\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="account.authType == \'password\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="account.authType == \'token\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="account.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="account.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_UPDATE\' | translate}}"/>\n </form>\n </div>\n <!-- END GENERAL TAB -->\n\n </div>\n </div>\n </div>\n </div>\n</div>\n'),a.put("app/zendesk/view/view.html",'<!-- BEGIN PAGE CONTENT-->\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-heart"></i>\n <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n <i class="fa fa-angle-right"></i>\n </li>\n <li>\n <a href="#">{{account.name}}</a>\n </li>\n </ul>\n </div>\n\n <!-- BEGIN PROFILE SIDEBAR -->\n <div class="profile-sidebar">\n <!-- PORTLET MAIN -->\n <div class="portlet light profile-sidebar-portlet">\n <!-- SIDEBAR USERPIC -->\n <div class="profile-image">\n <img src="assets/images/media/zendesk.png" class="img-responsive">\n </div>\n <!-- END SIDEBAR USERPIC -->\n <!-- SIDEBAR USER TITLE -->\n <div class="profile-usertitle">\n <div class="profile-usertitle-name">\n {{account.name}}\n </div>\n <div class="profile-usertitle-job">\n {{account.remoteUri}}\n </div>\n </div>\n <!-- END SIDEBAR USER TITLE -->\n <!-- SIDEBAR MENU -->\n <div class="profile-usermenu">\n <ul class="nav">\n <li data-ng-class="{active: $state.is(\'main.zendesk.view.account\')}">\n <a ng-href="/zendesk/view/{{account.id}}/account">\n <i class="icon-user"></i>\n {{ \'APPLICATION_ACCOUNT\' | translate }} </a>\n </li>\n <li data-ng-class="{active: $state.includes(\'main.zendesk.view.configurations\') || $state.is(\'main.zendesk.view.configuration\')}">\n <a ng-href="/zendesk/view/{{account.id}}/configurations/list">\n <i class="icon-settings"></i>\n {{ \'APPLICATION_CONFIGURATIONS\' | translate }} </a>\n </li>\n </ul>\n </div>\n <!-- END MENU -->\n </div>\n <!-- END PORTLET MAIN -->\n </div>\n <!-- END BEGIN PROFILE SIDEBAR -->\n <!-- BEGIN PROFILE CONTENT -->\n <div ui-view class="profile-content">\n </div>\n <!-- END PROFILE CONTENT -->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'),a.put("app/zendesk/wizard/wizard.html",'<!-- BEGIN PAGE HEADER-->\n<div class="row">\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-heart"></i>\n <a href="/zendesk/list">{{ \'APPLICATION_ZENDESK\' | translate }}</a>\n </li>\n </ul>\n </div>\n </div>\n</div>\n<!-- END PAGE HEADER-->\n\n<!-- BEGIN PAGE CONTENT-->\n<div class="row" data-ng-init="initWizard()">\n <div class="col-md-12">\n <!-- BEGIN Portlet PORTLET-->\n <div class="portlet light bordered">\n <div class="portlet-title">\n <div class="caption font-green-sharp">\n <i class="icon-notebook font-green-sharp"></i>\n <span class="caption-subject">{{ \'APPLICATION_ACCOUNT\' | translate }} WIZARD</a> </span>\n </div>\n </div>\n <div class="portlet-body">\n <wizard on-finish="createItem()">\n <wz-step title="{{\'APPLICATION_ACCOUNT_INFO\' | translate}}" canexit="exitValidation(forms.formSetting.$valid)">\n <form name="forms.formSetting" novalidate>\n\n <!-- START NAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.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="forms.formSetting.name.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END NAME -->\n\n <!-- START DESCRIPTION -->\n <div class="form-group">\n <label class="control-label">{{\'APPLICATION_DESCRIPTION\' | translate}}</label>\n <input type="text" name="description" placeholder="{{\'APPLICATION_DESCRIPTION\' | translate}}" class="form-control" data-ng-model="item.description"/>\n </div>\n <!-- END DESCRIPTION -->\n\n <!-- START USERNAME -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.username.$invalid}">\n <label class="control-label">{{\'APPLICATION_USERNAME\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="username" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.username" required ng-remote-validate="/api/zendesk/accounts/validate/username"/>\n <span data-ng-show="forms.formSetting.username.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.username.$touched || forms.formSetting.$submitted) && forms.formSetting.username.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_USERNAME\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START REMOTE ADDRESS -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.remoteUri.$invalid}">\n <label class="control-label">{{\'APPLICATION_URI\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="url" name="remoteUri" placeholder="{{\'APPLICATION_URI\' | translate}}" class="form-control" data-ng-model="item.remoteUri" required ng-remote-validate="/api/zendesk/accounts/validate/remoteUri"/>\n <span data-ng-show="forms.formSetting.remoteUri.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n <span data-ng-show="(forms.formSetting.remoteUri.$touched || forms.formSetting.$submitted) && forms.formSetting.remoteUri.$error.ngRemoteValidate" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_EXIST_DOMAIN\' | translate}}.\n </span>\n </div>\n <!-- END USERNAME -->\n\n <!-- START AUTH TYPE -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.authType.$invalid}">\n <label class="control-label">{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}</label>\n <ui-select data-ng-model="item.authType" name="authType" theme="bootstrap" required>\n <ui-select-match placeholder="{{\'APPLICATION_AUTHENTICATION_TYPE\' | translate}}">{{$select.selected | capitalize}}</ui-select-match>\n <ui-select-choices repeat="type in [\'password\', \'token\'] | filter: $select.search">\n <div data-ng-bind="type | capitalize | highlight: $select.search"></div>\n </ui-select-choices>\n </ui-select>\n <span data-ng-show="forms.formSetting.authType.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- START AUTH TYPE -->\n\n <!-- START PASSWORD -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.password.$invalid}" ng-slide-down="item.authType == \'password\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_PASSWORD\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="password" name="password" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.password" required/>\n <span data-ng-show="forms.formSetting.password.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END PASSWORD -->\n\n <!-- START TOKEN -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.token.$invalid}" ng-slide-down="item.authType == \'token\'" lazy-render duration="1">\n <label class="control-label">{{\'APPLICATION_TOKEN\' | translate}} <span class="required" aria-required="true">*</span></label>\n <input type="text" name="token" placeholder="{{\'APPLICATION_NAME\' | translate}}" class="form-control" data-ng-model="item.token" required/>\n <span data-ng-show="forms.formSetting.token.$invalid && forms.formSetting.$submitted" class="help-block help-block-error">\n <strong>{{\'APPLICATION_WARNING\' | translate}}!</strong> {{\'MESSAGE_REQUIRED_FIELD\' | translate}}.\n </span>\n </div>\n <!-- END TOKEN -->\n\n <!-- START SERVER URL -->\n <div class="form-group" data-ng-class="{\'has-error\': forms.formSetting.$submitted && forms.formSetting.serverUrl.$invalid}">\n <label class="control-label">{{\'APPLICATION_MOTION_ADDRESS\' | translate}}</label>\n <input type="url" name="serverUrl" placeholder="{{\'APPLICATION_MOTION_ADDRESS\' | translate}}" class="form-control" data-ng-model="item.serverUrl"/>\n <span class="help-block">\n {{\'DESCRIPTION_SERVER_URL\' | translate}}.\n </span>\n </div>\n <!-- END SERVER URL -->\n\n <input class="btn green-haze" type="submit" value="{{\'APPLICATION_CONTINUE\' | translate}}" data-ng-click="next()"/>\n\n </form>\n </wz-step>\n\n <wz-step title="{{\'APPLICATION_CONFIRM\' | translate}}">\n <p>{{\'MESSAGE_CONFIGURATION_COMPLETED\' | translate}}</p>\n <input type="submit" class="btn green-haze" wz-next value="{{\'APPLICATION_CONFIRM\' | translate}}"/>\n </wz-step>\n\n </wizard>\n\n </div>\n </div>\n <!-- END Portlet PORTLET-->\n </div>\n</div>\n<!-- END PAGE CONTENT-->\n'), +a.put("components/footer/footer.html",'<!-- BEGIN FOOTER -->\n<div class="page-footer" data-ng-init="initFooter()">\n <div class="page-footer-inner">\n xCALLY Motion v. {{info.version}} | {{year}} - {{year + 1}} © Powered by Xenialab\n </div>\n <div class="scroll-to-top">\n <i class="icon-arrow-up"></i>\n </div>\n</div>\n<!-- END FOOTER -->\n'),a.put("components/header/header.html",'<!-- BEGIN HEADER INNER -->\n<div class="page-header-inner" data-ng-init="initHeader()">\n <!-- BEGIN LOGO -->\n <div class="page-logo">\n <a href="/">\n <img data-ng-if="settings.defaultLogo || !license.custom" ng-src="assets/images/logo.png" alt="logo" class="logo-default"/>\n <img data-ng-if="!settings.defaultLogo && license.custom" ng-src="api/settings/logo/main/{{settings.logo ? settings.logo : \'logo\'}}" alt="logo" class="logo-default custom-logo"/>\n </a>\n <div class="menu-toggler sidebar-toggler" data-ng-click="toogleSidebar()">\n <!-- DOC: Remove the above "hide" to enable the sidebar toggler button on header -->\n </div>\n </div>\n <!-- END LOGO -->\n <!-- BEGIN HEADER SEARCH BOX -->\n <!-- DOC: Apply "search-form-expanded" right after the "search-form" class to have half expanded search box -->\n <form class="search-form hide" action="extra_search.html" method="GET">\n <div class="input-group">\n <input type="text" class="form-control" placeholder="Search..." name="query">\n <span class="input-group-btn">\n <a href="javascript:;" class="btn submit"><i class="icon-magnifier"></i></a>\n </span>\n </div>\n </form>\n <!-- END HEADER SEARCH BOX -->\n <!-- BEGIN RESPONSIVE MENU TOGGLER -->\n <a href="javascript:;" class="menu-toggler responsive-toggler" data-toggle="collapse" data-target=".navbar-collapse">\n </a>\n <!-- END RESPONSIVE MENU TOGGLER -->\n <!-- BEGIN TOP NAVIGATION MENU -->\n <div class="top-menu">\n <ul class="nav navbar-nav pull-right">\n <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n\n <!-- BEGIN USER LOGIN DROPDOWN -->\n <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\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=" {{isAdmin() ? \'/staff/users/view/\'+getCurrentUser().id+\'/account\' : \'/staff/agents/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 <!-- END USER LOGIN DROPDOWN -->\n <!-- BEGIN QUICK SIDEBAR TOGGLER -->\n <!-- DOC: Apply "dropdown-dark" class after below "dropdown-extended" to change the dropdown styte -->\n <!-- <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> -->\n <!-- END QUICK SIDEBAR TOGGLER -->\n </ul>\n <ul data-ng-if="getCurrentUser().role === \'agent\'" 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}">\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.pauseType : \'READY\'}}</div>\n <div data-ng-if="headerAgent.voicePause || headerAgent.mailPause || headerAgent.chatPause || headerAgent.faxPause || headerAgent.smsPause"><timer start-time="moment(headerAgent.lastPauseAt).unix()*1000"> {{hhours}}:{{mminutes}}:{{sseconds}}</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">\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">\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 <!-- GENERAL TAB -->\n <div class="tab-pane active" id="tab_1_1">\n <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="agent-spinner-grid" data-ng-if="busyLoad.agent.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="dial-spinner-grid" data-ng-if="busyLoad.dial.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="mail-spinner-grid" data-ng-if="busyLoad.mail.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="chat-spinner-grid" data-ng-if="busyLoad.chat.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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="icon-paper-plane"></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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="fax-spinner-grid" data-ng-if="busyLoad.fax.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 <!-- BEGIN UI-GRID SPINNER -->\n <span us-spinner spinner-key="sms-spinner-grid" data-ng-if="busyLoad.sms.busy" spinner-start-active="true"></span>\n <!-- END UI-GRID SPINNER -->\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 </ul>\n <ul class="nav navbar-nav pull-right">\n <!-- BEGIN LANGUAGE BAR -->\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(\'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(\'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 <!-- END LANGUAGE BAR -->\n </ul>\n </div>\n <!-- END TOP NAVIGATION MENU -->\n</div>\n<!-- END HEADER INNER -->\n'),a.put("components/modal/delete.html",'<div class="modal-header">\n <button ng-if="modal.dismissable" type="button" ng-click="$dismiss()" class="close">×</button>\n <h4 ng-if="modal.title" ng-bind="modal.title" class="modal-title"></h4>\n</div>\n<div class="modal-body">\n <p ng-if="modal.text" ng-bind="modal.text"></p>\n <div ng-if="modal.html" ng-bind-html="modal.html"></div>\n</div>\n<div class="modal-footer">\n <button ng-repeat="button in modal.buttons" ng-class="button.classes" ng-click="button.click($event)" ng-bind="button.text" class="btn"></button>\n</div>\n'),a.put("components/sidebar/sidebar.html",'<div id="page-sidebar" class="page-sidebar navbar-collapse collapse" data-ng-init="initSidebar()">\n <!-- BEGIN SIDEBAR MENU -->\n <!-- DOC: Apply "page-sidebar-menu-light" class right after "page-sidebar-menu" to enable light sidebar menu style(without borders) -->\n <!-- DOC: Apply "page-sidebar-menu-hover-submenu" class right after "page-sidebar-menu" to enable hoverable(hover vs accordion) sub menu mode -->\n <!-- 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 -->\n <!-- DOC: Set data-auto-scroll="false" to disable the sidebar from auto scrolling/focusing -->\n <!-- DOC: Set data-keep-expand="true" to keep the submenues expanded -->\n <!-- DOC: Set data-auto-speed="200" to adjust the sub menu slide up/down speed -->\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 <!-- DOC: To remove the search box from the sidebar you just need to completely remove the below "sidebar-search-wrapper" LI element -->\n <li class="sidebar-search-wrapper">\n <!-- BEGIN RESPONSIVE QUICK SEARCH FORM -->\n <!-- DOC: Apply "sidebar-search-bordered" class the below search form to have bordered search box -->\n <!-- DOC: Apply "sidebar-search-bordered sidebar-search-solid" class the below search form to have bordered & solid search box -->\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 <!-- END RESPONSIVE QUICK SEARCH FORM -->\n </li>\n\n <!-- START DASHBOARD CASE -->\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 <!-- END DASHBOARD CASE -->\n\n <!-- START YOURDASHBOARD LIST CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[2])" data-ng-class="{active: $state.is(\'main.tools.yourdashboards.show\')}">\n <a href="javascript:;">\n <i class="icon-screen-desktop"></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()] && dashboard.visible)">\n <a href="/tools/yourdashboards/show/{{dashboard.id}}" >\n <i class="icon-screen-tablet"></i>\n <span class="title" >{{dashboard.name}} </span>\n </a>\n </li>\n </ul>\n </li>\n <!-- END YOURDASHBOARD LIST CASE -->\n\n <!-- START STAFF LIST CASE -->\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 <!-- START USERS CASE -->\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 <!-- END USERS CASE -->\n\n <!-- START AGENTS CASE -->\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 <!-- END AGENTS CASE -->\n\n <!-- START TELEPHONES CASE -->\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 <!-- END TELEPHONES CASE -->\n\n <!-- START TEAMS CASE -->\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 <!-- END TEAMS CASE -->\n </ul>\n </li>\n <!-- END STAFF LIST CASE -->\n\n <!-- START CONTACT MANAGER LIST CASE -->\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.listss\') }"></span>\n </a>\n <ul class="sub-menu" data-ng-if="license.cm">\n <!-- START CONTACTS CASE -->\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 <!-- END CONTACTS CASE -->\n <!-- START COMPANIES CASE -->\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 <!-- END COMPANIES CASE -->\n <!-- START LISTS CASE -->\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-tty"></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 <!-- END LISTS CASE -->\n </ul>\n </li>\n <!-- END CONTACT MANAGER LIST CASE -->\n\n <!-- START CHANNEL LIST CASE -->\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="icon-directions"></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 <!-- START VOICE CASE -->\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() || userModules[7])" 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[7])">\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[7])" 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[7])" 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[7])" 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 <!-- START RECORDING CASE -->\n <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent() || userModules[7])" 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 <!-- END RECORDING CASE -->\n <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[7])" 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 <!-- END REALTIME CASE -->\n <!-- START CHANSPY CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[7])" data-ng-class="{active: $state.includes(\'main.channels.voice.chanspy\')}">\n <a href="/channels/voice/chanspy/list">\n <i class="icon-magnifier"></i>\n <span class="title" >{{\'APPLICATION_CHANSPY\' | translate}}</span>\n <!-- <span data-ng-if="$state.includes(\'main.chanspy\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END CHANSPY CASE -->\n <!-- START CHANSPY CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[7])" 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 <!-- END CHANSPY CASE -->\n </ul>\n </li>\n <!-- END VOICE CASE -->\n\n <!-- START CHAT CASE -->\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[8])" 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[8])" 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[8])" 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 <!-- <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> -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[8])" 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[8])" 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 <!-- END CHAT CASE -->\n\n <!-- START MAIL CASE -->\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[9])" 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[9])" 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[9])" 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 <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[9])" 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 <!-- END REALTIME CASE -->\n </ul>\n </li>\n <!-- END MAIL CASE -->\n\n <!-- START FAX CASE -->\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="icon-paper-plane"></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[10])" 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[10])" 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[10])" 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 <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[10])" 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 <!-- END REALTIME CASE -->\n </ul>\n </li>\n <!-- END FAX CASE -->\n\n <!-- START SMS CASE -->\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[11])" 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[11])" 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[11])" 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 <!-- START REALTIME CASE -->\n <li data-ng-if="::(Auth.isAdmin() || userModules[11])" 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 <!-- END REALTIME CASE -->\n </ul>\n </li>\n\n <!-- END SMS CASE -->\n\n <!-- START OPENCHANNEL CASE -->\n <li data-ng-if="::(Auth.isAdmin() || Auth.isAgent())" data-ng-class="{active: $state.includes(\'main.channels.openchannel\')}">\n <a href="javascript:;" >\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" >\n <li data-ng-if="::(Auth.isAdmin())" 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())" 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())" 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 </ul>\n </li>\n\n <!-- END OPENCHANNEL CASE -->\n <!-- START REALTIME CASE -->\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_REALTIME\' | translate}}</span>\n </a>\n </li>\n <!-- END REALTIME CASE -->\n </ul>\n </li>\n <!-- END CHANNEL LIST CASE -->\n\n <!-- START TOOLS LIST CASE -->\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\')}">\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\')}">\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\')}">\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\')}">\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\')}">\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\')}">\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 <!-- START TEMPLATE CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.templates\')}">\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 <!-- END TEMPLATE CASE -->\n\n <!-- START PAUSE CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.pauses\')}">\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 <!-- END PAUSE CASE -->\n\n <!-- START ANSWER CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.answers\')}">\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 <!-- END ANSWER CASE -->\n\n <!-- START DASHBOARD MANAGER CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.yourdashboards\') && !$state.is(\'main.tools.yourdashboards.show\')}">\n <a href="/tools/yourdashboards/list">\n <i class="icon-grid"></i>\n <span class="title"> {{\'APPLICATION_DASHBOARDS_MANAGER\' | translate}} </span>\n </a>\n </li>\n <!-- END DASHBOARD MANAGER CASE -->\n\n <!-- START SOUND CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.sounds\')}">\n <a href="/tools/sounds/list">\n <i class="icon-music-tone-alt"></i>\n <span class="title" >{{\'APPLICATION_SOUNDS\' | translate}}</span>\n <!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END SOUND CASE -->\n\n <!-- START SCHEDULE CASE -->\n <li data-ng-class="{active: $state.includes(\'main.tools.scheduler\')}">\n <a href="/tools/scheduler/list">\n <i class="icon-calendar"></i>\n <span class="title" >{{\'APPLICATION_SCHEDULER\' | translate}}</span>\n <!-- <span data-ng-if="$state.includes(\'main.sounds\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END SCHEDULE CASE -->\n </ul>\n </li>\n <!-- END TOOLS LIST CASE -->\n\n <!-- START CALLYSQUARE CASE -->\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 ²</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 <!-- END CALLYSQUARE CASE -->\n <!-- START JSCRIPTY LIST -->\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" >{{\'APPLICATION_JSCRIPTY\' | translate}} </span>\n <span class="arrow"></span>\n </a>\n <ul class="sub-menu" data-ng-if="license.jscripty">\n <!-- -->\n <!-- START PROJECTS CASE -->\n <li data-ng-show="Auth.isAdmin() || Auth.isAgent()|| isAvailableModule(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 <!-- END PROJECTS CASE -->\n </ul>\n </li>\n <!-- END JSCRIPTY LIST -->\n\n <!-- START MOTION DIALER LIST CASE-->\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.lists\')}">\n <a href="/motiondialer/lists/list">\n <i class="icon-docs"></i>\n <span class="title" >{{\'APPLICATION_LISTS\' | translate}} </span>\n </a>\n </li>\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 <!-- END MOTION DIALER LIST CASE-->\n\n <!-- START ANALYTIC LIST CASE -->\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 <!-- START REPORT CASE -->\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 <!-- END REPORT CASE -->\n <!-- START EXTRA REPORT CASE -->\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 <!-- END EXTRA REPORT CASE -->\n <!-- START METRICS CASE -->\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 <!-- END METRICS CASE -->\n </ul>\n </li>\n <!-- END ANALYTIC LIST CASE -->\n\n <!-- START SETTINGS LIST -->\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 <!-- START UPDATES CASE -->\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 <!-- <span data-ng-if="$state.includes(\'main.updates\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END UPDATES CASE -->\n\n <!-- START SMTP CASE -->\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 <!-- <span data-ng-if="$state.includes(\'main.smtp\')" class="selected"></span> -->\n </a>\n </li>\n <!-- END SMTP CASE -->\n\n <!-- START LICENSE CASE -->\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 <!-- END LICENSE CASE -->\n\n <!-- START NETWORK CASE -->\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 <!-- END NETWORK CASE -->\n\n <!-- START SYSTEM CASE -->\n <li data-ng-class="{active: $state.includes(\'main.setting.system\')}">\n <a href="/setting/system/view">\n <i class="icon-pie-chart"></i>\n <span class="title"> {{\'APPLICATION_SYSTEM\' | translate}} </span>\n </a>\n </li>\n <!-- END SYSTEM CASE -->\n\n <!-- START CUSTOMIZATION CASE -->\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 <!-- END CUSTOMIZATION CASE -->\n </ul>\n </li>\n <!-- END SETTINGS LIST -->\n\n <!-- START INTEGRATION CASE -->\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 <!-- END INTEGRATIONS CASE -->\n\n</ul>\n<!-- END SIDEBAR MENU -->\n</div>\n'); +}]); \ No newline at end of file diff --git a/public/assets/languages/locale-en_EN.json b/public/assets/languages/locale-en_EN.json index 743be2a..e3ddc20 100644 --- a/public/assets/languages/locale-en_EN.json +++ b/public/assets/languages/locale-en_EN.json @@ -1398,5 +1398,6 @@ "APPLICATION_CHANGE_LOGO": "Change Logo", "APPLICATION_CHANGE_WHITE_LABEL": "Change White Label", "APPLICATION_WHITE_LABEL": "White Label", - "APPLICATION_LOGO": "Logo" + "APPLICATION_LOGO": "Logo", + "MESSAGE_NO_IFRAME_CONFIGURED": "No iFrame configured" } diff --git a/public/assets/languages/locale-it.json b/public/assets/languages/locale-it.json index 776797d..7bea72d 100644 --- a/public/assets/languages/locale-it.json +++ b/public/assets/languages/locale-it.json @@ -1403,5 +1403,6 @@ "APPLICATION_CHANGE_LOGO": "Cambia Logo", "APPLICATION_CHANGE_WHITE_LABEL": "Cambia White Label", "APPLICATION_WHITE_LABEL": "White Label", - "APPLICATION_LOGO": "Logo" + "APPLICATION_LOGO": "Logo", + "MESSAGE_NO_IFRAME_CONFIGURED": "Nessun iFrame configurato" } diff --git a/public/assets/plugins/jscripty/js/Actions.js b/public/assets/plugins/jscripty/js/Actions.js index 8042cdf..93bb2fb 100644 --- a/public/assets/plugins/jscripty/js/Actions.js +++ b/public/assets/plugins/jscripty/js/Actions.js @@ -1 +1 @@ -var _0xa788=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x61\x63\x74\x69\x6F\x6E\x73","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x64\x69\x74\x6F\x72","\x67\x72\x61\x70\x68","\x6E\x65\x77","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53","\x73\x61\x76\x65\x41\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2D\x53","\x70\x75\x62\x6C\x69\x73\x68","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x50","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x43\x74\x72\x6C\x2B\x45","\x65\x64\x69\x74\x46\x69\x6C\x65","\x65\x64\x69\x74","\x67\x65\x74","\x62\x69\x6E\x64","\x70\x75\x74","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x70\x72\x69\x6E\x74\x53\x63\x72\x65\x65\x6E","\x73\x70\x72\x69\x74\x65\x2D\x70\x72\x69\x6E\x74","\x43\x74\x72\x6C\x2B\x50","\x70\x72\x65\x76\x69\x65\x77","\x73\x68\x6F\x77","\x75\x6E\x64\x6F","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x70\x72\x69\x74\x65\x2D\x75\x6E\x64\x6F","\x43\x74\x72\x6C\x2B\x5A","\x72\x65\x64\x6F","\x73\x70\x72\x69\x74\x65\x2D\x72\x65\x64\x6F","\x43\x74\x72\x6C\x2B\x59","\x63\x75\x74","\x73\x70\x72\x69\x74\x65\x2D\x63\x75\x74","\x43\x74\x72\x6C\x2B\x58","\x63\x6F\x70\x79","\x73\x70\x72\x69\x74\x65\x2D\x63\x6F\x70\x79","\x43\x74\x72\x6C\x2B\x43","\x70\x61\x73\x74\x65","\x73\x70\x72\x69\x74\x65\x2D\x70\x61\x73\x74\x65","\x43\x74\x72\x6C\x2B\x56","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x44\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x44","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x56","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x45","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x43\x74\x72\x6C\x2B\x41","\x68\x6F\x6D\x65","\x48\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x55\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x44\x6F\x77\x6E","\x65\x78\x70\x61\x6E\x64","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x45\x6E\x74\x65\x72","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x42\x61\x63\x6B\x73\x70\x61\x63\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x6F\x72\x64\x65\x72\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x46","\x74\x6F\x42\x61\x63\x6B","\x43\x74\x72\x6C\x2B\x42","\x67\x72\x6F\x75\x70","\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x43\x74\x72\x6C\x2B\x47","\x75\x6E\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x55","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x70\x72\x6F\x6D\x70\x74","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x75\x70\x64\x61\x74\x65\x47\x72\x6F\x75\x70\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x43\x65\x6C\x6C\x53\x69\x7A\x65","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x77\x72\x61\x70","\x53\x54\x59\x4C\x45\x5F\x57\x48\x49\x54\x45\x5F\x53\x50\x41\x43\x45","\x73\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x30","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x54\x41\x54\x49\x4F\x4E","\x20\x28","\x20\x30\x2D\x33\x36\x30\x29","\x74\x69\x6C\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x63\x6C\x6F\x6E\x65","\x78","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x79","\x73\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x76\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x65\x61\x73\x74","\x73\x6F\x75\x74\x68","\x77\x65\x73\x74","\x6E\x6F\x72\x74\x68","\x43\x74\x72\x6C\x2B\x52","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x41\x64\x64","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x53\x75\x62\x74\x72\x61\x63\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x66\x69\x74","\x66\x69\x74\x50\x61\x67\x65","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x66\x75\x6E\x63\x74","\x70\x61\x67\x65\x56\x69\x65\x77","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x6D\x61\x78","\x72\x6F\x75\x6E\x64","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x63\x75\x73\x74\x6F\x6D","\x20\x28\x25\x29","\x67\x65\x74\x53\x63\x61\x6C\x65","\x67\x72\x69\x64","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x47","\x73\x65\x74\x54\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x67\x75\x69\x64\x65\x73","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x73\x63\x61\x6C\x65","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x61\x75\x74\x6F","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x76\x61\x6C\x69\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x43\x74\x72\x6C\x2B\x51","\x63\x6F\x70\x79\x43\x6F\x6E\x6E\x65\x63\x74","\x69\x73\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x68\x65\x6C\x70","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x73\x4C\x61\x6E\x67\x75\x61\x67\x65\x53\x75\x70\x70\x6F\x72\x74\x65\x64","\x5F","\x2F\x68\x65\x6C\x70","\x2E\x68\x74\x6D\x6C","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x46\x31","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x73\x68\x61\x64\x6F\x77","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x63\x75\x72\x76\x65\x64","\x29","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x73\x74\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x58","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x74\x72\x69\x67\x67\x65\x72\x59","\x61\x64\x64\x50\x6F\x69\x6E\x74\x41\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74","\x69\x6D\x61\x67\x65","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x69\x6E\x73\x65\x72\x74\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45","\x75\x72\x6C","\x6F\x6E\x6C\x6F\x61\x64","\x6F\x6E\x65\x72\x72\x6F\x72","\x66\x69\x6C\x65\x4E\x6F\x74\x46\x6F\x75\x6E\x64","\x61\x6C\x65\x72\x74","\x73\x72\x63","\x63\x61\x6C\x6C","\x6C\x61\x62\x65\x6C","\x65\x6E\x61\x62\x6C\x65\x64","\x69\x63\x6F\x6E\x43\x6C\x73","\x73\x68\x6F\x72\x74\x63\x75\x74","\x65\x78\x74\x65\x6E\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64"];_0xa788[0];function Actions(_0xab0cx2){this[_0xa788[1]]= _0xab0cx2;this[_0xa788[2]]= new Object();this[_0xa788[3]]()}Actions[_0xa788[4]][_0xa788[3]]= function(){var _0xab0cx3=this[_0xa788[1]];var _0xab0cx4=_0xab0cx3[_0xa788[5]];var _0xab0cx5=_0xab0cx4[_0xa788[6]];this[_0xa788[10]](_0xa788[7],function(){_0xab0cx3[_0xa788[9]]( new NewDialog(_0xab0cx3)[_0xa788[8]],300,180,true,true)});this[_0xa788[10]](_0xa788[11],function(){_0xab0cx3[_0xa788[9]]( new OpenDialog(_0xab0cx3)[_0xa788[8]],300,180,true,true)});this[_0xa788[10]](_0xa788[12],function(){_0xab0cx3[_0xa788[13]](false)},null,null,_0xa788[14]);this[_0xa788[10]](_0xa788[15],function(){_0xab0cx3[_0xa788[13]](true)},null,null,_0xa788[16]);this[_0xa788[10]](_0xa788[17],function(){_0xab0cx3[_0xa788[18]](false)},null,null,_0xa788[19]);this[_0xa788[10]](_0xa788[20],function(){_0xab0cx3[_0xa788[9]]( new VariableDialog(_0xab0cx3)[_0xa788[8]],300,180,true,true)});this[_0xa788[10]](_0xa788[21],function(){_0xab0cx3[_0xa788[9]]( new ImportDialog(_0xab0cx3)[_0xa788[8]],300,200,true,true)});this[_0xa788[10]](_0xa788[22],function(){_0xab0cx3[_0xa788[9]]( new ExportDialog(_0xab0cx3)[_0xa788[8]],300,200,true,true)},null,null,_0xa788[23]);this[_0xa788[28]](_0xa788[24], new Action(mxResources[_0xa788[26]](_0xa788[25]),mxUtils[_0xa788[27]](this,function(){this[_0xa788[1]][_0xa788[9]]( new EditFileDialog(_0xab0cx3)[_0xa788[8]],620,420,true,true)})));this[_0xa788[10]](_0xa788[29],function(){_0xab0cx3[_0xa788[9]]( new RenameDialog(_0xab0cx3)[_0xa788[8]],300,180,true,true)});this[_0xa788[10]](_0xa788[30],function(){mxUtils[_0xa788[31]](_0xab0cx5)},null,_0xa788[32],_0xa788[33]);this[_0xa788[10]](_0xa788[34],function(){mxUtils[_0xa788[35]](_0xab0cx5,null,10,10)});this[_0xa788[10]](_0xa788[36],function(){_0xab0cx4[_0xa788[37]][_0xa788[36]]()},null,_0xa788[38],_0xa788[39]);this[_0xa788[10]](_0xa788[40],function(){_0xab0cx4[_0xa788[37]][_0xa788[40]]()},null,_0xa788[41],_0xa788[42]);this[_0xa788[10]](_0xa788[43],function(){mxClipboard[_0xa788[43]](_0xab0cx5)},null,_0xa788[44],_0xa788[45]);this[_0xa788[10]](_0xa788[46],function(){mxClipboard[_0xa788[46]](_0xab0cx5)},null,_0xa788[47],_0xa788[48]);this[_0xa788[10]](_0xa788[49],function(){mxClipboard[_0xa788[49]](_0xab0cx5)},false,_0xa788[50],_0xa788[51]);this[_0xa788[10]](_0xa788[52],function(){_0xab0cx5[_0xa788[53]]()},null,null,_0xa788[54]);this[_0xa788[10]](_0xa788[55],function(){var _0xab0cx6=_0xab0cx5[_0xa788[56]];_0xab0cx5[_0xa788[59]](_0xab0cx5[_0xa788[58]](_0xab0cx5[_0xa788[57]](),_0xab0cx6,_0xab0cx6,true))},null,null,_0xa788[60]);this[_0xa788[10]](_0xa788[61],function(){_0xab0cx5[_0xa788[61]]()},null,null,_0xa788[62]);this[_0xa788[10]](_0xa788[63],function(){_0xab0cx5[_0xa788[63]]()},null,null,_0xa788[64]);this[_0xa788[10]](_0xa788[65],function(){_0xab0cx5[_0xa788[65]]()},null,null,_0xa788[66]);this[_0xa788[10]](_0xa788[67],function(){_0xab0cx5[_0xa788[67]]()},null,null,_0xa788[68]);this[_0xa788[10]](_0xa788[69],function(){_0xab0cx5[_0xa788[69]]()},null,null,_0xa788[70]);this[_0xa788[10]](_0xa788[71],function(){_0xab0cx5[_0xa788[71]]()},null,null,_0xa788[72]);this[_0xa788[10]](_0xa788[73],function(){_0xab0cx5[_0xa788[74]](false)},null,null,_0xa788[75]);this[_0xa788[10]](_0xa788[76],function(){_0xab0cx5[_0xa788[74]](true)},null,null,_0xa788[77]);this[_0xa788[10]](_0xa788[78],function(){_0xab0cx5[_0xa788[79]](false)},null,null,_0xa788[80]);this[_0xa788[10]](_0xa788[81],function(){_0xab0cx5[_0xa788[79]](true)},null,null,_0xa788[82]);this[_0xa788[10]](_0xa788[83],function(){_0xab0cx5[_0xa788[85]](_0xab0cx5[_0xa788[84]](null,0))},null,null,_0xa788[86]);this[_0xa788[10]](_0xa788[87],function(){_0xab0cx5[_0xa788[59]](_0xab0cx5[_0xa788[88]]())},null,null,_0xa788[89]);this[_0xa788[10]](_0xa788[90],function(){_0xab0cx5[_0xa788[91]]()});this[_0xa788[10]](_0xa788[92],function(){var _0xab0cx7=_0xab0cx5[_0xa788[93]]();var _0xab0cx8=_0xab0cx5[_0xa788[94]](_0xab0cx7);if(_0xab0cx8== null){_0xab0cx8= _0xa788[95]};_0xab0cx8= mxUtils[_0xa788[97]](mxResources[_0xa788[26]](_0xa788[96]),_0xab0cx8);if(_0xab0cx8!= null){_0xab0cx5[_0xa788[98]](_0xab0cx7,_0xab0cx8)}});this[_0xa788[10]](_0xa788[99],function(){var _0xab0cx7=_0xab0cx5[_0xa788[93]]();var _0xab0cx8=_0xab0cx5[_0xa788[94]](_0xab0cx7);if(_0xab0cx8!= null){window[_0xa788[11]](_0xab0cx8)}});this[_0xa788[10]](_0xa788[100],function(){var _0xab0cx9=_0xab0cx5[_0xa788[57]]();if(_0xab0cx9!= null){_0xab0cx5[_0xa788[102]]()[_0xa788[101]]();try{for(var _0xab0cxa=0;_0xab0cxa< _0xab0cx9[_0xa788[103]];_0xab0cxa++){var _0xab0cx7=_0xab0cx9[_0xab0cxa];if(_0xab0cx5[_0xa788[102]]()[_0xa788[104]](_0xab0cx7)){_0xab0cx5[_0xa788[105]]([_0xab0cx7],20)}else {_0xab0cx5[_0xa788[106]](_0xab0cx7)}}}finally{_0xab0cx5[_0xa788[102]]()[_0xa788[107]]()}}});this[_0xa788[10]](_0xa788[108],function(){var _0xab0cxb=_0xab0cx5[_0xa788[110]]()[_0xa788[109]](_0xab0cx5[_0xa788[93]]());var _0xab0cxc=_0xa788[111];if(_0xab0cxb!= null&& _0xab0cxb[_0xa788[113]][mxConstants[_0xa788[112]]]== _0xa788[111]){_0xab0cxc= null};_0xab0cx5[_0xa788[114]](mxConstants.STYLE_WHITE_SPACE,_0xab0cxc)});this[_0xa788[10]](_0xa788[115],function(){var _0xab0cxc=_0xa788[116];var _0xab0cxb=_0xab0cx5[_0xa788[110]]()[_0xa788[109]](_0xab0cx5[_0xa788[93]]());if(_0xab0cxb!= null){_0xab0cxc= _0xab0cxb[_0xa788[113]][mxConstants[_0xa788[117]]]|| _0xab0cxc};_0xab0cxc= mxUtils[_0xa788[97]](mxResources[_0xa788[26]](_0xa788[96])+ _0xa788[118]+ mxResources[_0xa788[26]](_0xa788[115])+ _0xa788[119],_0xab0cxc);if(_0xab0cxc!= null){_0xab0cx5[_0xa788[114]](mxConstants.STYLE_ROTATION,_0xab0cxc)}});this[_0xa788[10]](_0xa788[120],function(){var _0xab0cx9=_0xab0cx5[_0xa788[57]]();if(_0xab0cx9!= null){_0xab0cx5[_0xa788[102]]()[_0xa788[101]]();try{for(var _0xab0cxa=0;_0xab0cxa< _0xab0cx9[_0xa788[103]];_0xab0cxa++){var _0xab0cx7=_0xab0cx9[_0xab0cxa];if(_0xab0cx5[_0xa788[102]]()[_0xa788[121]](_0xab0cx7)&& _0xab0cx5[_0xa788[102]]()[_0xa788[104]](_0xab0cx7)== 0){var _0xab0cxd=_0xab0cx5[_0xa788[122]](_0xab0cx7);if(_0xab0cxd!= null){_0xab0cxd= _0xab0cxd[_0xa788[123]]();_0xab0cxd[_0xa788[124]]+= _0xab0cxd[_0xa788[125]]/ 2- _0xab0cxd[_0xa788[126]]/ 2;_0xab0cxd[_0xa788[127]]+= _0xab0cxd[_0xa788[126]]/ 2- _0xab0cxd[_0xa788[125]]/ 2;var _0xab0cxe=_0xab0cxd[_0xa788[125]];_0xab0cxd[_0xa788[125]]= _0xab0cxd[_0xa788[126]];_0xab0cxd[_0xa788[126]]= _0xab0cxe;_0xab0cx5[_0xa788[102]]()[_0xa788[128]](_0xab0cx7,_0xab0cxd);var _0xab0cxb=_0xab0cx5[_0xa788[129]][_0xa788[109]](_0xab0cx7);if(_0xab0cxb!= null){var _0xab0cxf=_0xab0cxb[_0xa788[113]][mxConstants[_0xa788[130]]]|| _0xa788[131];if(_0xab0cxf== _0xa788[131]){_0xab0cxf= _0xa788[132]}else {if(_0xab0cxf== _0xa788[132]){_0xab0cxf= _0xa788[133]}else {if(_0xab0cxf== _0xa788[133]){_0xab0cxf= _0xa788[134]}else {if(_0xab0cxf== _0xa788[134]){_0xab0cxf= _0xa788[131]}}}};_0xab0cx5[_0xa788[114]](mxConstants.STYLE_DIRECTION,_0xab0cxf,[_0xab0cx7])}}}}}finally{_0xab0cx5[_0xa788[102]]()[_0xa788[107]]()}}},null,null,_0xa788[135]);this[_0xa788[10]](_0xa788[136],function(){_0xab0cx5[_0xa788[137]](1)});this[_0xa788[10]](_0xa788[138],function(){_0xab0cx5[_0xa788[138]]()},null,null,_0xa788[139]);this[_0xa788[10]](_0xa788[140],function(){_0xab0cx5[_0xa788[140]]()},null,null,_0xa788[141]);this[_0xa788[10]](_0xa788[142],function(){_0xab0cx5[_0xa788[143]]()});this[_0xa788[10]](_0xa788[144],mxUtils[_0xa788[27]](this,function(){if(!_0xab0cx5[_0xa788[145]]){this[_0xa788[26]](_0xa788[147])[_0xa788[146]]()};var _0xab0cx10=_0xab0cx5[_0xa788[148]];var _0xab0cx11=_0xab0cx5[_0xa788[149]];var _0xab0cx12=_0xab0cx5[_0xa788[8]][_0xa788[150]]- 20;var _0xab0cx13=_0xab0cx5[_0xa788[8]][_0xa788[151]]- 20;var _0xab0cx14=Math[_0xa788[153]](100* Math[_0xa788[152]](_0xab0cx12/ _0xab0cx10[_0xa788[125]]/ _0xab0cx11,_0xab0cx13/ _0xab0cx10[_0xa788[126]]/ _0xab0cx11))/ 100;_0xab0cx5[_0xa788[137]](_0xab0cx14);_0xab0cx5[_0xa788[8]][_0xa788[154]]= Math[_0xa788[157]](_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[124]]* _0xab0cx14- Math[_0xa788[156]](10,(_0xab0cx5[_0xa788[8]][_0xa788[150]]- _0xab0cx10[_0xa788[125]]* _0xab0cx11* _0xab0cx14)/ 2));_0xab0cx5[_0xa788[8]][_0xa788[158]]= Math[_0xa788[157]](_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[127]]* _0xab0cx14- Math[_0xa788[156]](10,(_0xab0cx5[_0xa788[8]][_0xa788[151]]- _0xab0cx10[_0xa788[126]]* _0xab0cx11* _0xab0cx14)/ 2))}));this[_0xa788[10]](_0xa788[159],mxUtils[_0xa788[27]](this,function(){if(!_0xab0cx5[_0xa788[145]]){this[_0xa788[26]](_0xa788[147])[_0xa788[146]]()};var _0xab0cx10=_0xab0cx5[_0xa788[148]];var _0xab0cx11=_0xab0cx5[_0xa788[149]];var _0xab0cx12=_0xab0cx5[_0xa788[8]][_0xa788[150]]- 20;var _0xab0cx14=Math[_0xa788[153]](100* _0xab0cx12/ _0xab0cx10[_0xa788[125]]/ _0xab0cx11)/ 100;_0xab0cx5[_0xa788[137]](_0xab0cx14);_0xab0cx5[_0xa788[8]][_0xa788[154]]= Math[_0xa788[157]](_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[124]]* _0xab0cx14- Math[_0xa788[156]](10,(_0xab0cx5[_0xa788[8]][_0xa788[150]]- _0xab0cx10[_0xa788[125]]* _0xab0cx11* _0xab0cx14)/ 2));_0xab0cx5[_0xa788[8]][_0xa788[158]]= Math[_0xa788[157]](_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[127]]* _0xab0cx14- Math[_0xa788[156]](10,(_0xab0cx5[_0xa788[8]][_0xa788[151]]- _0xab0cx10[_0xa788[126]]* _0xab0cx11* _0xab0cx14)/ 2))}));this[_0xa788[28]](_0xa788[160], new Action(mxResources[_0xa788[26]](_0xa788[161]),function(){var _0xab0cxc=mxUtils[_0xa788[97]](mxResources[_0xa788[26]](_0xa788[96])+ _0xa788[162],parseInt(_0xab0cx5[_0xa788[110]]()[_0xa788[163]]()* 100));if(_0xab0cxc!= null&& _0xab0cxc[_0xa788[103]]> 0&& !isNaN(parseInt(_0xab0cxc))){_0xab0cx5[_0xa788[137]](parseInt(_0xab0cxc)/ 100)}}));var _0xab0cx15=null;_0xab0cx15= this[_0xa788[10]](_0xa788[164],function(){_0xab0cx5[_0xa788[166]](!_0xab0cx5[_0xa788[165]]());_0xab0cx4[_0xa788[167]]()},null,null,_0xa788[168]);_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[165]]()});_0xab0cx15= this[_0xa788[10]](_0xa788[171],function(){_0xab0cx5[_0xa788[173]][_0xa788[172]]= !_0xab0cx5[_0xa788[173]][_0xa788[172]]});_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[173]][_0xa788[172]]});_0xab0cx15= this[_0xa788[10]](_0xa788[174],function(){_0xab0cx5[_0xa788[176]][_0xa788[177]](!_0xab0cx5[_0xa788[176]][_0xa788[175]]())});_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[176]][_0xa788[175]]()});_0xab0cx15= this[_0xa788[10]](_0xa788[178],function(){_0xab0cx5[_0xa788[179]]= !_0xab0cx5[_0xa788[179]];_0xab0cx5[_0xa788[129]][_0xa788[180]]()});_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[179]]});_0xab0cx15= this[_0xa788[10]](_0xa788[181],function(){_0xab0cx5[_0xa788[181]]= !_0xab0cx5[_0xa788[181]];_0xab0cx4[_0xa788[167]]();if(!_0xab0cx5[_0xa788[181]]){var _0xab0cx16=_0xab0cx5[_0xa788[129]][_0xa788[155]];_0xab0cx5[_0xa788[129]][_0xa788[183]](_0xab0cx16[_0xa788[124]]- _0xab0cx5[_0xa788[8]][_0xa788[154]]/ _0xab0cx5[_0xa788[129]][_0xa788[182]],_0xab0cx16[_0xa788[127]]- _0xab0cx5[_0xa788[8]][_0xa788[158]]/ _0xab0cx5[_0xa788[129]][_0xa788[182]]);_0xab0cx5[_0xa788[8]][_0xa788[154]]= 0;_0xab0cx5[_0xa788[8]][_0xa788[158]]= 0;_0xab0cx5[_0xa788[184]]()}else {var _0xab0cx17=_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[124]];var _0xab0cx18=_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[127]];_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[124]]= 0;_0xab0cx5[_0xa788[129]][_0xa788[155]][_0xa788[127]]= 0;_0xab0cx5[_0xa788[184]]();_0xab0cx5[_0xa788[8]][_0xa788[154]]-= Math[_0xa788[157]](_0xab0cx17* _0xab0cx5[_0xa788[129]][_0xa788[182]]);_0xab0cx5[_0xa788[8]][_0xa788[158]]-= Math[_0xa788[157]](_0xab0cx18* _0xab0cx5[_0xa788[129]][_0xa788[182]])}},!mxClient.IS_TOUCH);_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[8]][_0xa788[113]][_0xa788[185]]== _0xa788[186]});_0xab0cx15= this[_0xa788[10]](_0xa788[147],mxUtils[_0xa788[27]](this,function(){_0xab0cx5[_0xa788[145]]= !_0xab0cx5[_0xa788[145]];_0xab0cx5[_0xa788[187]]= _0xab0cx5[_0xa788[145]];_0xab0cx5[_0xa788[188]]= _0xab0cx5[_0xa788[187]];_0xab0cx5[_0xa788[129]][_0xa788[189]]();_0xab0cx5[_0xa788[184]]();_0xab0cx4[_0xa788[167]]();_0xab0cx4[_0xa788[191]][_0xa788[190]]();if(mxUtils[_0xa788[192]](_0xab0cx5[_0xa788[8]])){if(_0xab0cx5[_0xa788[145]]){_0xab0cx5[_0xa788[8]][_0xa788[154]]-= 20;_0xab0cx5[_0xa788[8]][_0xa788[158]]-= 20}else {_0xab0cx5[_0xa788[8]][_0xa788[154]]+= 20;_0xab0cx5[_0xa788[8]][_0xa788[158]]+= 20}}}));_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[145]]});_0xab0cx15= this[_0xa788[10]](_0xa788[193],function(){_0xab0cx5[_0xa788[195]](!_0xab0cx5[_0xa788[194]][_0xa788[175]]())},null,null,_0xa788[196]);_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[194]][_0xa788[175]]()});_0xab0cx15= this[_0xa788[10]](_0xa788[197],function(){_0xab0cx5[_0xa788[194]][_0xa788[199]](!_0xab0cx5[_0xa788[194]][_0xa788[198]]())});_0xab0cx15[_0xa788[169]](true);_0xab0cx15[_0xa788[170]](function(){return _0xab0cx5[_0xa788[194]][_0xa788[198]]()});this[_0xa788[10]](_0xa788[200],function(){var _0xab0cx19=_0xa788[95];if(mxResources[_0xa788[202]](mxClient[_0xa788[201]])){_0xab0cx19= _0xa788[203]+ mxClient[_0xa788[201]]};window[_0xa788[11]](RESOURCES_PATH+ _0xa788[204]+ _0xab0cx19+ _0xa788[205])});this[_0xa788[28]](_0xa788[206], new Action(mxResources[_0xa788[26]](_0xa788[206])+ _0xa788[207],function(){_0xab0cx3[_0xa788[9]]( new AboutDialog(_0xab0cx3)[_0xa788[8]],320,280,true,true)},null,null,_0xa788[208]));var _0xab0cx1a=mxUtils[_0xa788[27]](this,function(_0xab0cx1b,_0xab0cx1c){this[_0xa788[10]](_0xab0cx1b,function(){_0xab0cx5[_0xa788[209]](mxConstants.STYLE_FONTSTYLE,_0xab0cx1c)})});_0xab0cx1a(_0xa788[210],mxConstants.FONT_BOLD);_0xab0cx1a(_0xa788[211],mxConstants.FONT_ITALIC);_0xab0cx1a(_0xa788[212],mxConstants.FONT_UNDERLINE);this[_0xa788[10]](_0xa788[213],function(){_0xab0cx5[_0xa788[214]](mxConstants.STYLE_SHADOW)});this[_0xa788[10]](_0xa788[215],function(){_0xab0cx5[_0xa788[214]](mxConstants.STYLE_DASHED)});this[_0xa788[10]](_0xa788[216],function(){_0xab0cx5[_0xa788[214]](mxConstants.STYLE_ROUNDED)});this[_0xa788[10]](_0xa788[217],function(){_0xab0cx5[_0xa788[214]](mxConstants.STYLE_CURVED)});this[_0xa788[10]](_0xa788[113],function(){var _0xab0cx9=_0xab0cx5[_0xa788[57]]();if(_0xab0cx9!= null&& _0xab0cx9[_0xa788[103]]> 0){var _0xab0cx1d=_0xab0cx5[_0xa788[102]]();var _0xab0cx1c=mxUtils[_0xa788[97]](mxResources[_0xa788[26]](_0xa788[96])+ _0xa788[118]+ mxResources[_0xa788[26]](_0xa788[113])+ _0xa788[218],_0xab0cx1d[_0xa788[219]](_0xab0cx9[0])|| _0xa788[95]);if(_0xab0cx1c!= null){_0xab0cx5[_0xa788[220]](_0xab0cx1c,_0xab0cx9)}}});this[_0xa788[10]](_0xa788[221],function(){_0xab0cx5[_0xa788[222]](_0xab0cx5[_0xa788[93]]())});this[_0xa788[10]](_0xa788[223],function(){var _0xab0cx7=_0xab0cx5[_0xa788[93]]();if(_0xab0cx7!= null&& _0xab0cx5[_0xa788[102]]()[_0xa788[224]](_0xab0cx7)){var _0xab0cx1e=_0xab0cx4[_0xa788[6]][_0xa788[226]][_0xa788[225]](_0xab0cx7);if(_0xab0cx1e instanceof mxEdgeHandler){var _0xab0cx16=_0xab0cx5[_0xa788[129]][_0xa788[155]];var _0xab0cx6=_0xab0cx5[_0xa788[129]][_0xa788[182]];var _0xab0cx17=_0xab0cx16[_0xa788[124]];var _0xab0cx18=_0xab0cx16[_0xa788[127]];var _0xab0cx1f=_0xab0cx5[_0xa788[102]]()[_0xa788[227]](_0xab0cx7);var _0xab0cx20=_0xab0cx5[_0xa788[122]](_0xab0cx1f);if(_0xab0cx5[_0xa788[102]]()[_0xa788[121]](_0xab0cx1f)&& _0xab0cx20!= null){_0xab0cx17+= _0xab0cx20[_0xa788[124]];_0xab0cx18+= _0xab0cx20[_0xa788[127]]};_0xab0cx1e[_0xa788[232]](_0xab0cx1e[_0xa788[228]],_0xab0cx5[_0xa788[230]][_0xa788[229]]/ _0xab0cx6- _0xab0cx17,_0xab0cx5[_0xa788[230]][_0xa788[231]]/ _0xab0cx6- _0xab0cx18)}}});this[_0xa788[10]](_0xa788[233],function(){var _0xab0cx21=_0xab0cx3[_0xa788[2]][_0xa788[26]](_0xa788[233]);if(_0xab0cx21[_0xa788[234]]!= null){_0xab0cx21[_0xa788[234]][_0xa788[236]](_0xab0cx21[_0xa788[234]][_0xa788[228]],_0xab0cx21[_0xa788[235]])}});this[_0xa788[10]](_0xa788[237],function(){function _0xab0cx22(_0xab0cxc,_0xab0cx23,_0xab0cx24){var _0xab0cx25=null;var _0xab0cx9=_0xab0cx5[_0xa788[57]]();_0xab0cx5[_0xa788[102]]()[_0xa788[101]]();try{if(_0xab0cx9[_0xa788[103]]== 0){var _0xab0cx26=_0xab0cx5[_0xa788[238]]();_0xab0cx9= [_0xab0cx5[_0xa788[240]](_0xab0cx5[_0xa788[239]](),null,_0xa788[95],_0xab0cx26,_0xab0cx26,_0xab0cx23,_0xab0cx24)];_0xab0cx25= _0xab0cx9};_0xab0cx5[_0xa788[114]](mxConstants.STYLE_IMAGE,_0xab0cxc,_0xab0cx9);_0xab0cx5[_0xa788[114]](mxConstants.STYLE_SHAPE,_0xa788[237],_0xab0cx9);if(_0xab0cx5[_0xa788[241]]()== 1){if(_0xab0cx23!= null&& _0xab0cx24!= null){var _0xab0cx7=_0xab0cx9[0];var _0xab0cxd=_0xab0cx5[_0xa788[102]]()[_0xa788[242]](_0xab0cx7);if(_0xab0cxd!= null){_0xab0cxd= _0xab0cxd[_0xa788[123]]();_0xab0cxd[_0xa788[125]]= _0xab0cx23;_0xab0cxd[_0xa788[126]]= _0xab0cx24;_0xab0cx5[_0xa788[102]]()[_0xa788[128]](_0xab0cx7,_0xab0cxd)}}}}finally{_0xab0cx5[_0xa788[102]]()[_0xa788[107]]()};if(_0xab0cx25!= null){_0xab0cx5[_0xa788[59]](_0xab0cx25);_0xab0cx5[_0xa788[243]](_0xab0cx25[0])}}var _0xab0cxc=_0xa788[95];var _0xab0cxb=_0xab0cx5[_0xa788[110]]()[_0xa788[109]](_0xab0cx5[_0xa788[93]]());if(_0xab0cxb!= null){_0xab0cxc= _0xab0cxb[_0xa788[113]][mxConstants[_0xa788[244]]]|| _0xab0cxc};_0xab0cxc= mxUtils[_0xa788[97]](mxResources[_0xa788[26]](_0xa788[96])+ _0xa788[118]+ mxResources[_0xa788[26]](_0xa788[245])+ _0xa788[218],_0xab0cxc);if(_0xab0cxc!= null){if(_0xab0cxc[_0xa788[103]]> 0){var _0xab0cx27= new Image();_0xab0cx27[_0xa788[246]]= function(){_0xab0cx22(_0xab0cxc,_0xab0cx27[_0xa788[125]],_0xab0cx27[_0xa788[126]])};_0xab0cx27[_0xa788[247]]= function(){mxUtils[_0xa788[249]](mxResources[_0xa788[26]](_0xa788[248]))};_0xab0cx27[_0xa788[250]]= _0xab0cxc}}})};Actions[_0xa788[4]][_0xa788[10]]= function(_0xab0cx1b,_0xab0cx28,_0xab0cx29,_0xab0cx2a,_0xab0cx2b){return this[_0xa788[28]](_0xab0cx1b, new Action(mxResources[_0xa788[26]](_0xab0cx1b),_0xab0cx28,_0xab0cx29,_0xab0cx2a,_0xab0cx2b))};Actions[_0xa788[4]][_0xa788[28]]= function(_0xab0cx2c,_0xab0cx15){this[_0xa788[2]][_0xab0cx2c]= _0xab0cx15;return _0xab0cx15};Actions[_0xa788[4]][_0xa788[26]]= function(_0xab0cx2c){return this[_0xa788[2]][_0xab0cx2c]};function Action(_0xab0cx2e,_0xab0cx28,_0xab0cx29,_0xab0cx2a,_0xab0cx2b){mxEventSource[_0xa788[251]](this);this[_0xa788[252]]= _0xab0cx2e;this[_0xa788[146]]= _0xab0cx28;this[_0xa788[253]]= (_0xab0cx29!= null)?_0xab0cx29:true;this[_0xa788[254]]= _0xab0cx2a;this[_0xa788[255]]= _0xab0cx2b}mxUtils[_0xa788[256]](Action,mxEventSource);Action[_0xa788[4]][_0xa788[177]]= function(_0xab0cxc){if(this[_0xa788[253]]!= _0xab0cxc){this[_0xa788[253]]= _0xab0cxc;this[_0xa788[258]]( new mxEventObject(_0xa788[257]))}};Action[_0xa788[4]][_0xa788[169]]= function(_0xab0cxc){this[_0xa788[259]]= _0xab0cxc};Action[_0xa788[4]][_0xa788[170]]= function(_0xab0cx28){this[_0xa788[260]]= _0xab0cx28};Action[_0xa788[4]][_0xa788[261]]= function(){return this[_0xa788[260]]()} \ No newline at end of file +var _0x460a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x61\x63\x74\x69\x6F\x6E\x73","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x64\x69\x74\x6F\x72","\x67\x72\x61\x70\x68","\x6E\x65\x77","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53","\x73\x61\x76\x65\x41\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2D\x53","\x70\x75\x62\x6C\x69\x73\x68","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x50","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x43\x74\x72\x6C\x2B\x45","\x65\x64\x69\x74\x46\x69\x6C\x65","\x65\x64\x69\x74","\x67\x65\x74","\x62\x69\x6E\x64","\x70\x75\x74","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x70\x72\x69\x6E\x74\x53\x63\x72\x65\x65\x6E","\x73\x70\x72\x69\x74\x65\x2D\x70\x72\x69\x6E\x74","\x43\x74\x72\x6C\x2B\x50","\x70\x72\x65\x76\x69\x65\x77","\x73\x68\x6F\x77","\x75\x6E\x64\x6F","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x70\x72\x69\x74\x65\x2D\x75\x6E\x64\x6F","\x43\x74\x72\x6C\x2B\x5A","\x72\x65\x64\x6F","\x73\x70\x72\x69\x74\x65\x2D\x72\x65\x64\x6F","\x43\x74\x72\x6C\x2B\x59","\x63\x75\x74","\x73\x70\x72\x69\x74\x65\x2D\x63\x75\x74","\x43\x74\x72\x6C\x2B\x58","\x63\x6F\x70\x79","\x73\x70\x72\x69\x74\x65\x2D\x63\x6F\x70\x79","\x43\x74\x72\x6C\x2B\x43","\x70\x61\x73\x74\x65","\x73\x70\x72\x69\x74\x65\x2D\x70\x61\x73\x74\x65","\x43\x74\x72\x6C\x2B\x56","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x44\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x44","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x56","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x45","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x43\x74\x72\x6C\x2B\x41","\x68\x6F\x6D\x65","\x48\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x55\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x44\x6F\x77\x6E","\x65\x78\x70\x61\x6E\x64","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x45\x6E\x74\x65\x72","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x42\x61\x63\x6B\x73\x70\x61\x63\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x6F\x72\x64\x65\x72\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x46","\x74\x6F\x42\x61\x63\x6B","\x43\x74\x72\x6C\x2B\x42","\x67\x72\x6F\x75\x70","\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x43\x74\x72\x6C\x2B\x47","\x75\x6E\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x55","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x70\x72\x6F\x6D\x70\x74","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x75\x70\x64\x61\x74\x65\x47\x72\x6F\x75\x70\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x43\x65\x6C\x6C\x53\x69\x7A\x65","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x77\x72\x61\x70","\x53\x54\x59\x4C\x45\x5F\x57\x48\x49\x54\x45\x5F\x53\x50\x41\x43\x45","\x73\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x30","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x54\x41\x54\x49\x4F\x4E","\x20\x28","\x20\x30\x2D\x33\x36\x30\x29","\x74\x69\x6C\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x63\x6C\x6F\x6E\x65","\x78","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x79","\x73\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x76\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x65\x61\x73\x74","\x73\x6F\x75\x74\x68","\x77\x65\x73\x74","\x6E\x6F\x72\x74\x68","\x43\x74\x72\x6C\x2B\x52","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x41\x64\x64","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x53\x75\x62\x74\x72\x61\x63\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x66\x69\x74","\x66\x69\x74\x50\x61\x67\x65","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x66\x75\x6E\x63\x74","\x70\x61\x67\x65\x56\x69\x65\x77","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x6D\x61\x78","\x72\x6F\x75\x6E\x64","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x63\x75\x73\x74\x6F\x6D","\x20\x28\x25\x29","\x67\x65\x74\x53\x63\x61\x6C\x65","\x67\x72\x69\x64","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x47","\x73\x65\x74\x54\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x67\x75\x69\x64\x65\x73","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x73\x63\x61\x6C\x65","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x61\x75\x74\x6F","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x76\x61\x6C\x69\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x43\x74\x72\x6C\x2B\x51","\x63\x6F\x70\x79\x43\x6F\x6E\x6E\x65\x63\x74","\x69\x73\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x68\x65\x6C\x70","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x73\x4C\x61\x6E\x67\x75\x61\x67\x65\x53\x75\x70\x70\x6F\x72\x74\x65\x64","\x5F","\x2F\x68\x65\x6C\x70","\x2E\x68\x74\x6D\x6C","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x46\x31","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x73\x68\x61\x64\x6F\x77","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x63\x75\x72\x76\x65\x64","\x29","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x73\x74\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x58","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x74\x72\x69\x67\x67\x65\x72\x59","\x61\x64\x64\x50\x6F\x69\x6E\x74\x41\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74","\x69\x6D\x61\x67\x65","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x69\x6E\x73\x65\x72\x74\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45","\x75\x72\x6C","\x6F\x6E\x6C\x6F\x61\x64","\x6F\x6E\x65\x72\x72\x6F\x72","\x66\x69\x6C\x65\x4E\x6F\x74\x46\x6F\x75\x6E\x64","\x61\x6C\x65\x72\x74","\x73\x72\x63","\x63\x61\x6C\x6C","\x6C\x61\x62\x65\x6C","\x65\x6E\x61\x62\x6C\x65\x64","\x69\x63\x6F\x6E\x43\x6C\x73","\x73\x68\x6F\x72\x74\x63\x75\x74","\x65\x78\x74\x65\x6E\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64"];_0x460a[0];function Actions(_0x12dax2){this[_0x460a[1]]= _0x12dax2;this[_0x460a[2]]= new Object();this[_0x460a[3]]()}Actions[_0x460a[4]][_0x460a[3]]= function(){var _0x12dax3=this[_0x460a[1]];var _0x12dax4=_0x12dax3[_0x460a[5]];var _0x12dax5=_0x12dax4[_0x460a[6]];this[_0x460a[10]](_0x460a[7],function(){_0x12dax3[_0x460a[9]]( new NewDialog(_0x12dax3)[_0x460a[8]],300,180,true,true)});this[_0x460a[10]](_0x460a[11],function(){_0x12dax3[_0x460a[9]]( new OpenDialog(_0x12dax3)[_0x460a[8]],300,180,true,true)});this[_0x460a[10]](_0x460a[12],function(){_0x12dax3[_0x460a[13]](false)},null,null,_0x460a[14]);this[_0x460a[10]](_0x460a[15],function(){_0x12dax3[_0x460a[13]](true)},null,null,_0x460a[16]);this[_0x460a[10]](_0x460a[17],function(){_0x12dax3[_0x460a[18]](false)},null,null,_0x460a[19]);this[_0x460a[10]](_0x460a[20],function(){_0x12dax3[_0x460a[9]]( new VariableDialog(_0x12dax3)[_0x460a[8]],300,180,true,true)});this[_0x460a[10]](_0x460a[21],function(){_0x12dax3[_0x460a[9]]( new ImportDialog(_0x12dax3)[_0x460a[8]],300,200,true,true)});this[_0x460a[10]](_0x460a[22],function(){_0x12dax3[_0x460a[9]]( new ExportDialog(_0x12dax3)[_0x460a[8]],300,200,true,true)},null,null,_0x460a[23]);this[_0x460a[28]](_0x460a[24], new Action(mxResources[_0x460a[26]](_0x460a[25]),mxUtils[_0x460a[27]](this,function(){this[_0x460a[1]][_0x460a[9]]( new EditFileDialog(_0x12dax3)[_0x460a[8]],620,420,true,true)})));this[_0x460a[10]](_0x460a[29],function(){_0x12dax3[_0x460a[9]]( new RenameDialog(_0x12dax3)[_0x460a[8]],300,180,true,true)});this[_0x460a[10]](_0x460a[30],function(){mxUtils[_0x460a[31]](_0x12dax5)},null,_0x460a[32],_0x460a[33]);this[_0x460a[10]](_0x460a[34],function(){mxUtils[_0x460a[35]](_0x12dax5,null,10,10)});this[_0x460a[10]](_0x460a[36],function(){_0x12dax4[_0x460a[37]][_0x460a[36]]()},null,_0x460a[38],_0x460a[39]);this[_0x460a[10]](_0x460a[40],function(){_0x12dax4[_0x460a[37]][_0x460a[40]]()},null,_0x460a[41],_0x460a[42]);this[_0x460a[10]](_0x460a[43],function(){mxClipboard[_0x460a[43]](_0x12dax5)},null,_0x460a[44],_0x460a[45]);this[_0x460a[10]](_0x460a[46],function(){mxClipboard[_0x460a[46]](_0x12dax5)},null,_0x460a[47],_0x460a[48]);this[_0x460a[10]](_0x460a[49],function(){mxClipboard[_0x460a[49]](_0x12dax5)},false,_0x460a[50],_0x460a[51]);this[_0x460a[10]](_0x460a[52],function(){_0x12dax5[_0x460a[53]]()},null,null,_0x460a[54]);this[_0x460a[10]](_0x460a[55],function(){var _0x12dax6=_0x12dax5[_0x460a[56]];_0x12dax5[_0x460a[59]](_0x12dax5[_0x460a[58]](_0x12dax5[_0x460a[57]](),_0x12dax6,_0x12dax6,true))},null,null,_0x460a[60]);this[_0x460a[10]](_0x460a[61],function(){_0x12dax5[_0x460a[61]]()},null,null,_0x460a[62]);this[_0x460a[10]](_0x460a[63],function(){_0x12dax5[_0x460a[63]]()},null,null,_0x460a[64]);this[_0x460a[10]](_0x460a[65],function(){_0x12dax5[_0x460a[65]]()},null,null,_0x460a[66]);this[_0x460a[10]](_0x460a[67],function(){_0x12dax5[_0x460a[67]]()},null,null,_0x460a[68]);this[_0x460a[10]](_0x460a[69],function(){_0x12dax5[_0x460a[69]]()},null,null,_0x460a[70]);this[_0x460a[10]](_0x460a[71],function(){_0x12dax5[_0x460a[71]]()},null,null,_0x460a[72]);this[_0x460a[10]](_0x460a[73],function(){_0x12dax5[_0x460a[74]](false)},null,null,_0x460a[75]);this[_0x460a[10]](_0x460a[76],function(){_0x12dax5[_0x460a[74]](true)},null,null,_0x460a[77]);this[_0x460a[10]](_0x460a[78],function(){_0x12dax5[_0x460a[79]](false)},null,null,_0x460a[80]);this[_0x460a[10]](_0x460a[81],function(){_0x12dax5[_0x460a[79]](true)},null,null,_0x460a[82]);this[_0x460a[10]](_0x460a[83],function(){_0x12dax5[_0x460a[85]](_0x12dax5[_0x460a[84]](null,0))},null,null,_0x460a[86]);this[_0x460a[10]](_0x460a[87],function(){_0x12dax5[_0x460a[59]](_0x12dax5[_0x460a[88]]())},null,null,_0x460a[89]);this[_0x460a[10]](_0x460a[90],function(){_0x12dax5[_0x460a[91]]()});this[_0x460a[10]](_0x460a[92],function(){var _0x12dax7=_0x12dax5[_0x460a[93]]();var _0x12dax8=_0x12dax5[_0x460a[94]](_0x12dax7);if(_0x12dax8== null){_0x12dax8= _0x460a[95]};_0x12dax8= mxUtils[_0x460a[97]](mxResources[_0x460a[26]](_0x460a[96]),_0x12dax8);if(_0x12dax8!= null){_0x12dax5[_0x460a[98]](_0x12dax7,_0x12dax8)}});this[_0x460a[10]](_0x460a[99],function(){var _0x12dax7=_0x12dax5[_0x460a[93]]();var _0x12dax8=_0x12dax5[_0x460a[94]](_0x12dax7);if(_0x12dax8!= null){window[_0x460a[11]](_0x12dax8)}});this[_0x460a[10]](_0x460a[100],function(){var _0x12dax9=_0x12dax5[_0x460a[57]]();if(_0x12dax9!= null){_0x12dax5[_0x460a[102]]()[_0x460a[101]]();try{for(var _0x12daxa=0;_0x12daxa< _0x12dax9[_0x460a[103]];_0x12daxa++){var _0x12dax7=_0x12dax9[_0x12daxa];if(_0x12dax5[_0x460a[102]]()[_0x460a[104]](_0x12dax7)){_0x12dax5[_0x460a[105]]([_0x12dax7],20)}else {_0x12dax5[_0x460a[106]](_0x12dax7)}}}finally{_0x12dax5[_0x460a[102]]()[_0x460a[107]]()}}});this[_0x460a[10]](_0x460a[108],function(){var _0x12daxb=_0x12dax5[_0x460a[110]]()[_0x460a[109]](_0x12dax5[_0x460a[93]]());var _0x12daxc=_0x460a[111];if(_0x12daxb!= null&& _0x12daxb[_0x460a[113]][mxConstants[_0x460a[112]]]== _0x460a[111]){_0x12daxc= null};_0x12dax5[_0x460a[114]](mxConstants.STYLE_WHITE_SPACE,_0x12daxc)});this[_0x460a[10]](_0x460a[115],function(){var _0x12daxc=_0x460a[116];var _0x12daxb=_0x12dax5[_0x460a[110]]()[_0x460a[109]](_0x12dax5[_0x460a[93]]());if(_0x12daxb!= null){_0x12daxc= _0x12daxb[_0x460a[113]][mxConstants[_0x460a[117]]]|| _0x12daxc};_0x12daxc= mxUtils[_0x460a[97]](mxResources[_0x460a[26]](_0x460a[96])+ _0x460a[118]+ mxResources[_0x460a[26]](_0x460a[115])+ _0x460a[119],_0x12daxc);if(_0x12daxc!= null){_0x12dax5[_0x460a[114]](mxConstants.STYLE_ROTATION,_0x12daxc)}});this[_0x460a[10]](_0x460a[120],function(){var _0x12dax9=_0x12dax5[_0x460a[57]]();if(_0x12dax9!= null){_0x12dax5[_0x460a[102]]()[_0x460a[101]]();try{for(var _0x12daxa=0;_0x12daxa< _0x12dax9[_0x460a[103]];_0x12daxa++){var _0x12dax7=_0x12dax9[_0x12daxa];if(_0x12dax5[_0x460a[102]]()[_0x460a[121]](_0x12dax7)&& _0x12dax5[_0x460a[102]]()[_0x460a[104]](_0x12dax7)== 0){var _0x12daxd=_0x12dax5[_0x460a[122]](_0x12dax7);if(_0x12daxd!= null){_0x12daxd= _0x12daxd[_0x460a[123]]();_0x12daxd[_0x460a[124]]+= _0x12daxd[_0x460a[125]]/ 2- _0x12daxd[_0x460a[126]]/ 2;_0x12daxd[_0x460a[127]]+= _0x12daxd[_0x460a[126]]/ 2- _0x12daxd[_0x460a[125]]/ 2;var _0x12daxe=_0x12daxd[_0x460a[125]];_0x12daxd[_0x460a[125]]= _0x12daxd[_0x460a[126]];_0x12daxd[_0x460a[126]]= _0x12daxe;_0x12dax5[_0x460a[102]]()[_0x460a[128]](_0x12dax7,_0x12daxd);var _0x12daxb=_0x12dax5[_0x460a[129]][_0x460a[109]](_0x12dax7);if(_0x12daxb!= null){var _0x12daxf=_0x12daxb[_0x460a[113]][mxConstants[_0x460a[130]]]|| _0x460a[131];if(_0x12daxf== _0x460a[131]){_0x12daxf= _0x460a[132]}else {if(_0x12daxf== _0x460a[132]){_0x12daxf= _0x460a[133]}else {if(_0x12daxf== _0x460a[133]){_0x12daxf= _0x460a[134]}else {if(_0x12daxf== _0x460a[134]){_0x12daxf= _0x460a[131]}}}};_0x12dax5[_0x460a[114]](mxConstants.STYLE_DIRECTION,_0x12daxf,[_0x12dax7])}}}}}finally{_0x12dax5[_0x460a[102]]()[_0x460a[107]]()}}},null,null,_0x460a[135]);this[_0x460a[10]](_0x460a[136],function(){_0x12dax5[_0x460a[137]](1)});this[_0x460a[10]](_0x460a[138],function(){_0x12dax5[_0x460a[138]]()},null,null,_0x460a[139]);this[_0x460a[10]](_0x460a[140],function(){_0x12dax5[_0x460a[140]]()},null,null,_0x460a[141]);this[_0x460a[10]](_0x460a[142],function(){_0x12dax5[_0x460a[143]]()});this[_0x460a[10]](_0x460a[144],mxUtils[_0x460a[27]](this,function(){if(!_0x12dax5[_0x460a[145]]){this[_0x460a[26]](_0x460a[147])[_0x460a[146]]()};var _0x12dax10=_0x12dax5[_0x460a[148]];var _0x12dax11=_0x12dax5[_0x460a[149]];var _0x12dax12=_0x12dax5[_0x460a[8]][_0x460a[150]]- 20;var _0x12dax13=_0x12dax5[_0x460a[8]][_0x460a[151]]- 20;var _0x12dax14=Math[_0x460a[153]](100* Math[_0x460a[152]](_0x12dax12/ _0x12dax10[_0x460a[125]]/ _0x12dax11,_0x12dax13/ _0x12dax10[_0x460a[126]]/ _0x12dax11))/ 100;_0x12dax5[_0x460a[137]](_0x12dax14);_0x12dax5[_0x460a[8]][_0x460a[154]]= Math[_0x460a[157]](_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[124]]* _0x12dax14- Math[_0x460a[156]](10,(_0x12dax5[_0x460a[8]][_0x460a[150]]- _0x12dax10[_0x460a[125]]* _0x12dax11* _0x12dax14)/ 2));_0x12dax5[_0x460a[8]][_0x460a[158]]= Math[_0x460a[157]](_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[127]]* _0x12dax14- Math[_0x460a[156]](10,(_0x12dax5[_0x460a[8]][_0x460a[151]]- _0x12dax10[_0x460a[126]]* _0x12dax11* _0x12dax14)/ 2))}));this[_0x460a[10]](_0x460a[159],mxUtils[_0x460a[27]](this,function(){if(!_0x12dax5[_0x460a[145]]){this[_0x460a[26]](_0x460a[147])[_0x460a[146]]()};var _0x12dax10=_0x12dax5[_0x460a[148]];var _0x12dax11=_0x12dax5[_0x460a[149]];var _0x12dax12=_0x12dax5[_0x460a[8]][_0x460a[150]]- 20;var _0x12dax14=Math[_0x460a[153]](100* _0x12dax12/ _0x12dax10[_0x460a[125]]/ _0x12dax11)/ 100;_0x12dax5[_0x460a[137]](_0x12dax14);_0x12dax5[_0x460a[8]][_0x460a[154]]= Math[_0x460a[157]](_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[124]]* _0x12dax14- Math[_0x460a[156]](10,(_0x12dax5[_0x460a[8]][_0x460a[150]]- _0x12dax10[_0x460a[125]]* _0x12dax11* _0x12dax14)/ 2));_0x12dax5[_0x460a[8]][_0x460a[158]]= Math[_0x460a[157]](_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[127]]* _0x12dax14- Math[_0x460a[156]](10,(_0x12dax5[_0x460a[8]][_0x460a[151]]- _0x12dax10[_0x460a[126]]* _0x12dax11* _0x12dax14)/ 2))}));this[_0x460a[28]](_0x460a[160], new Action(mxResources[_0x460a[26]](_0x460a[161]),function(){var _0x12daxc=mxUtils[_0x460a[97]](mxResources[_0x460a[26]](_0x460a[96])+ _0x460a[162],parseInt(_0x12dax5[_0x460a[110]]()[_0x460a[163]]()* 100));if(_0x12daxc!= null&& _0x12daxc[_0x460a[103]]> 0&& !isNaN(parseInt(_0x12daxc))){_0x12dax5[_0x460a[137]](parseInt(_0x12daxc)/ 100)}}));var _0x12dax15=null;_0x12dax15= this[_0x460a[10]](_0x460a[164],function(){_0x12dax5[_0x460a[166]](!_0x12dax5[_0x460a[165]]());_0x12dax4[_0x460a[167]]()},null,null,_0x460a[168]);_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[165]]()});_0x12dax15= this[_0x460a[10]](_0x460a[171],function(){_0x12dax5[_0x460a[173]][_0x460a[172]]= !_0x12dax5[_0x460a[173]][_0x460a[172]]});_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[173]][_0x460a[172]]});_0x12dax15= this[_0x460a[10]](_0x460a[174],function(){_0x12dax5[_0x460a[176]][_0x460a[177]](!_0x12dax5[_0x460a[176]][_0x460a[175]]())});_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[176]][_0x460a[175]]()});_0x12dax15= this[_0x460a[10]](_0x460a[178],function(){_0x12dax5[_0x460a[179]]= !_0x12dax5[_0x460a[179]];_0x12dax5[_0x460a[129]][_0x460a[180]]()});_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[179]]});_0x12dax15= this[_0x460a[10]](_0x460a[181],function(){_0x12dax5[_0x460a[181]]= !_0x12dax5[_0x460a[181]];_0x12dax4[_0x460a[167]]();if(!_0x12dax5[_0x460a[181]]){var _0x12dax16=_0x12dax5[_0x460a[129]][_0x460a[155]];_0x12dax5[_0x460a[129]][_0x460a[183]](_0x12dax16[_0x460a[124]]- _0x12dax5[_0x460a[8]][_0x460a[154]]/ _0x12dax5[_0x460a[129]][_0x460a[182]],_0x12dax16[_0x460a[127]]- _0x12dax5[_0x460a[8]][_0x460a[158]]/ _0x12dax5[_0x460a[129]][_0x460a[182]]);_0x12dax5[_0x460a[8]][_0x460a[154]]= 0;_0x12dax5[_0x460a[8]][_0x460a[158]]= 0;_0x12dax5[_0x460a[184]]()}else {var _0x12dax17=_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[124]];var _0x12dax18=_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[127]];_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[124]]= 0;_0x12dax5[_0x460a[129]][_0x460a[155]][_0x460a[127]]= 0;_0x12dax5[_0x460a[184]]();_0x12dax5[_0x460a[8]][_0x460a[154]]-= Math[_0x460a[157]](_0x12dax17* _0x12dax5[_0x460a[129]][_0x460a[182]]);_0x12dax5[_0x460a[8]][_0x460a[158]]-= Math[_0x460a[157]](_0x12dax18* _0x12dax5[_0x460a[129]][_0x460a[182]])}},!mxClient.IS_TOUCH);_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[8]][_0x460a[113]][_0x460a[185]]== _0x460a[186]});_0x12dax15= this[_0x460a[10]](_0x460a[147],mxUtils[_0x460a[27]](this,function(){_0x12dax5[_0x460a[145]]= !_0x12dax5[_0x460a[145]];_0x12dax5[_0x460a[187]]= _0x12dax5[_0x460a[145]];_0x12dax5[_0x460a[188]]= _0x12dax5[_0x460a[187]];_0x12dax5[_0x460a[129]][_0x460a[189]]();_0x12dax5[_0x460a[184]]();_0x12dax4[_0x460a[167]]();_0x12dax4[_0x460a[191]][_0x460a[190]]();if(mxUtils[_0x460a[192]](_0x12dax5[_0x460a[8]])){if(_0x12dax5[_0x460a[145]]){_0x12dax5[_0x460a[8]][_0x460a[154]]-= 20;_0x12dax5[_0x460a[8]][_0x460a[158]]-= 20}else {_0x12dax5[_0x460a[8]][_0x460a[154]]+= 20;_0x12dax5[_0x460a[8]][_0x460a[158]]+= 20}}}));_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[145]]});_0x12dax15= this[_0x460a[10]](_0x460a[193],function(){_0x12dax5[_0x460a[195]](!_0x12dax5[_0x460a[194]][_0x460a[175]]())},null,null,_0x460a[196]);_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[194]][_0x460a[175]]()});_0x12dax15= this[_0x460a[10]](_0x460a[197],function(){_0x12dax5[_0x460a[194]][_0x460a[199]](!_0x12dax5[_0x460a[194]][_0x460a[198]]())});_0x12dax15[_0x460a[169]](true);_0x12dax15[_0x460a[170]](function(){return _0x12dax5[_0x460a[194]][_0x460a[198]]()});this[_0x460a[10]](_0x460a[200],function(){var _0x12dax19=_0x460a[95];if(mxResources[_0x460a[202]](mxClient[_0x460a[201]])){_0x12dax19= _0x460a[203]+ mxClient[_0x460a[201]]};window[_0x460a[11]](RESOURCES_PATH+ _0x460a[204]+ _0x12dax19+ _0x460a[205])});this[_0x460a[28]](_0x460a[206], new Action(mxResources[_0x460a[26]](_0x460a[206])+ _0x460a[207],function(){_0x12dax3[_0x460a[9]]( new AboutDialog(_0x12dax3)[_0x460a[8]],320,280,true,true)},null,null,_0x460a[208]));var _0x12dax1a=mxUtils[_0x460a[27]](this,function(_0x12dax1b,_0x12dax1c){this[_0x460a[10]](_0x12dax1b,function(){_0x12dax5[_0x460a[209]](mxConstants.STYLE_FONTSTYLE,_0x12dax1c)})});_0x12dax1a(_0x460a[210],mxConstants.FONT_BOLD);_0x12dax1a(_0x460a[211],mxConstants.FONT_ITALIC);_0x12dax1a(_0x460a[212],mxConstants.FONT_UNDERLINE);this[_0x460a[10]](_0x460a[213],function(){_0x12dax5[_0x460a[214]](mxConstants.STYLE_SHADOW)});this[_0x460a[10]](_0x460a[215],function(){_0x12dax5[_0x460a[214]](mxConstants.STYLE_DASHED)});this[_0x460a[10]](_0x460a[216],function(){_0x12dax5[_0x460a[214]](mxConstants.STYLE_ROUNDED)});this[_0x460a[10]](_0x460a[217],function(){_0x12dax5[_0x460a[214]](mxConstants.STYLE_CURVED)});this[_0x460a[10]](_0x460a[113],function(){var _0x12dax9=_0x12dax5[_0x460a[57]]();if(_0x12dax9!= null&& _0x12dax9[_0x460a[103]]> 0){var _0x12dax1d=_0x12dax5[_0x460a[102]]();var _0x12dax1c=mxUtils[_0x460a[97]](mxResources[_0x460a[26]](_0x460a[96])+ _0x460a[118]+ mxResources[_0x460a[26]](_0x460a[113])+ _0x460a[218],_0x12dax1d[_0x460a[219]](_0x12dax9[0])|| _0x460a[95]);if(_0x12dax1c!= null){_0x12dax5[_0x460a[220]](_0x12dax1c,_0x12dax9)}}});this[_0x460a[10]](_0x460a[221],function(){_0x12dax5[_0x460a[222]](_0x12dax5[_0x460a[93]]())});this[_0x460a[10]](_0x460a[223],function(){var _0x12dax7=_0x12dax5[_0x460a[93]]();if(_0x12dax7!= null&& _0x12dax5[_0x460a[102]]()[_0x460a[224]](_0x12dax7)){var _0x12dax1e=_0x12dax4[_0x460a[6]][_0x460a[226]][_0x460a[225]](_0x12dax7);if(_0x12dax1e instanceof mxEdgeHandler){var _0x12dax16=_0x12dax5[_0x460a[129]][_0x460a[155]];var _0x12dax6=_0x12dax5[_0x460a[129]][_0x460a[182]];var _0x12dax17=_0x12dax16[_0x460a[124]];var _0x12dax18=_0x12dax16[_0x460a[127]];var _0x12dax1f=_0x12dax5[_0x460a[102]]()[_0x460a[227]](_0x12dax7);var _0x12dax20=_0x12dax5[_0x460a[122]](_0x12dax1f);if(_0x12dax5[_0x460a[102]]()[_0x460a[121]](_0x12dax1f)&& _0x12dax20!= null){_0x12dax17+= _0x12dax20[_0x460a[124]];_0x12dax18+= _0x12dax20[_0x460a[127]]};_0x12dax1e[_0x460a[232]](_0x12dax1e[_0x460a[228]],_0x12dax5[_0x460a[230]][_0x460a[229]]/ _0x12dax6- _0x12dax17,_0x12dax5[_0x460a[230]][_0x460a[231]]/ _0x12dax6- _0x12dax18)}}});this[_0x460a[10]](_0x460a[233],function(){var _0x12dax21=_0x12dax3[_0x460a[2]][_0x460a[26]](_0x460a[233]);if(_0x12dax21[_0x460a[234]]!= null){_0x12dax21[_0x460a[234]][_0x460a[236]](_0x12dax21[_0x460a[234]][_0x460a[228]],_0x12dax21[_0x460a[235]])}});this[_0x460a[10]](_0x460a[237],function(){function _0x12dax22(_0x12daxc,_0x12dax23,_0x12dax24){var _0x12dax25=null;var _0x12dax9=_0x12dax5[_0x460a[57]]();_0x12dax5[_0x460a[102]]()[_0x460a[101]]();try{if(_0x12dax9[_0x460a[103]]== 0){var _0x12dax26=_0x12dax5[_0x460a[238]]();_0x12dax9= [_0x12dax5[_0x460a[240]](_0x12dax5[_0x460a[239]](),null,_0x460a[95],_0x12dax26,_0x12dax26,_0x12dax23,_0x12dax24)];_0x12dax25= _0x12dax9};_0x12dax5[_0x460a[114]](mxConstants.STYLE_IMAGE,_0x12daxc,_0x12dax9);_0x12dax5[_0x460a[114]](mxConstants.STYLE_SHAPE,_0x460a[237],_0x12dax9);if(_0x12dax5[_0x460a[241]]()== 1){if(_0x12dax23!= null&& _0x12dax24!= null){var _0x12dax7=_0x12dax9[0];var _0x12daxd=_0x12dax5[_0x460a[102]]()[_0x460a[242]](_0x12dax7);if(_0x12daxd!= null){_0x12daxd= _0x12daxd[_0x460a[123]]();_0x12daxd[_0x460a[125]]= _0x12dax23;_0x12daxd[_0x460a[126]]= _0x12dax24;_0x12dax5[_0x460a[102]]()[_0x460a[128]](_0x12dax7,_0x12daxd)}}}}finally{_0x12dax5[_0x460a[102]]()[_0x460a[107]]()};if(_0x12dax25!= null){_0x12dax5[_0x460a[59]](_0x12dax25);_0x12dax5[_0x460a[243]](_0x12dax25[0])}}var _0x12daxc=_0x460a[95];var _0x12daxb=_0x12dax5[_0x460a[110]]()[_0x460a[109]](_0x12dax5[_0x460a[93]]());if(_0x12daxb!= null){_0x12daxc= _0x12daxb[_0x460a[113]][mxConstants[_0x460a[244]]]|| _0x12daxc};_0x12daxc= mxUtils[_0x460a[97]](mxResources[_0x460a[26]](_0x460a[96])+ _0x460a[118]+ mxResources[_0x460a[26]](_0x460a[245])+ _0x460a[218],_0x12daxc);if(_0x12daxc!= null){if(_0x12daxc[_0x460a[103]]> 0){var _0x12dax27= new Image();_0x12dax27[_0x460a[246]]= function(){_0x12dax22(_0x12daxc,_0x12dax27[_0x460a[125]],_0x12dax27[_0x460a[126]])};_0x12dax27[_0x460a[247]]= function(){mxUtils[_0x460a[249]](mxResources[_0x460a[26]](_0x460a[248]))};_0x12dax27[_0x460a[250]]= _0x12daxc}}})};Actions[_0x460a[4]][_0x460a[10]]= function(_0x12dax1b,_0x12dax28,_0x12dax29,_0x12dax2a,_0x12dax2b){return this[_0x460a[28]](_0x12dax1b, new Action(mxResources[_0x460a[26]](_0x12dax1b),_0x12dax28,_0x12dax29,_0x12dax2a,_0x12dax2b))};Actions[_0x460a[4]][_0x460a[28]]= function(_0x12dax2c,_0x12dax15){this[_0x460a[2]][_0x12dax2c]= _0x12dax15;return _0x12dax15};Actions[_0x460a[4]][_0x460a[26]]= function(_0x12dax2c){return this[_0x460a[2]][_0x12dax2c]};function Action(_0x12dax2e,_0x12dax28,_0x12dax29,_0x12dax2a,_0x12dax2b){mxEventSource[_0x460a[251]](this);this[_0x460a[252]]= _0x12dax2e;this[_0x460a[146]]= _0x12dax28;this[_0x460a[253]]= (_0x12dax29!= null)?_0x12dax29:true;this[_0x460a[254]]= _0x12dax2a;this[_0x460a[255]]= _0x12dax2b}mxUtils[_0x460a[256]](Action,mxEventSource);Action[_0x460a[4]][_0x460a[177]]= function(_0x12daxc){if(this[_0x460a[253]]!= _0x12daxc){this[_0x460a[253]]= _0x12daxc;this[_0x460a[258]]( new mxEventObject(_0x460a[257]))}};Action[_0x460a[4]][_0x460a[169]]= function(_0x12daxc){this[_0x460a[259]]= _0x12daxc};Action[_0x460a[4]][_0x460a[170]]= function(_0x12dax28){this[_0x460a[260]]= _0x12dax28};Action[_0x460a[4]][_0x460a[261]]= function(){return this[_0x460a[260]]()} \ 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 200a917..71fbdad 100644 --- a/public/assets/plugins/jscripty/js/Dialogs.js +++ b/public/assets/plugins/jscripty/js/Dialogs.js @@ -1 +1 @@ -var _0xf420=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x69\x6E\x70\x75\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x65\x63\x6B\x65\x64","\x47\x45\x54","\x6F\x70\x65\x6E","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x64\x61\x74\x61","\x65\x64\x69\x74\x6F\x72","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x73\x65\x6C\x65\x63\x74","\x6F\x70\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x2D\x2D\x20\x4E\x6F\x6E\x65\x20\x2D\x2D","\x76\x61\x6C\x75\x65","\x2D\x31","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x66\x6F\x72\x45\x61\x63\x68","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x6F\x77\x73","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C\x20\x73\x65\x6C\x65\x63\x74\x32","\x30","\x66\x69\x6C\x74\x65\x72","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x66\x61\x74\x68\x65\x72","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x73\x6F\x6E","\x2D","\x63\x61\x70\x69\x74\x61\x6C\x69\x7A\x65","","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x62\x6F\x64\x79","\x72\x6F\x75\x6E\x64","\x6D\x61\x78","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x44\x69\x61\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x6D\x6F\x64\x61\x6C\x20\x66\x61\x64\x65\x20\x69\x6E\x20\x63\x65\x6E\x74\x65\x72","\x64\x69\x73\x70\x6C\x61\x79","\x73\x74\x79\x6C\x65","\x62\x6C\x6F\x63\x6B","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x31\x32\x70\x78","\x67\x65\x4D\x6F\x64\x61\x6C\x44\x69\x61\x6C\x6F\x67","\x6D\x6F\x64\x61\x6C\x2D\x64\x69\x61\x6C\x6F\x67","\x62\x67","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x6D\x6F\x64\x61\x6C\x2D\x62\x61\x63\x6B\x64\x72\x6F\x70\x20\x66\x61\x64\x65\x20\x69\x6E","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x6E\x44\x69\x61\x6C\x6F\x67\x43\x6C\x6F\x73\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x6C\x6F\x73\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x64\x61\x6C\x2D\x63\x6F\x6E\x74\x65\x6E\x74","\x6D\x6F\x64\x61\x6C\x2D\x68\x65\x61\x64\x65\x72","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79","\x6D\x6F\x64\x61\x6C\x2D\x66\x6F\x6F\x74\x65\x72","\x68\x34","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74","\x20\x58\x4D\x4C","\x77\x72\x69\x74\x65","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x62\x75\x74\x74\x6F\x6E","\x72\x6F\x77","\x63\x6F\x6C\x2D\x6D\x64\x2D\x31\x32","\x74\x65\x78\x74\x61\x72\x65\x61","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x33\x37\x34\x70\x78","\x66\x69\x6C\x65","\x61\x63\x63\x65\x70\x74","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x63\x68\x61\x6E\x67\x65","\x66\x69\x6C\x65\x73","\x74\x61\x72\x67\x65\x74","\x6C\x6F\x67","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x73\x75\x6C\x74","\x72\x65\x61\x64\x41\x73\x54\x65\x78\x74","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x6F\x72\x6D\x61\x74\x20\x66\x69\x6C\x65","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x69\x6C\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x62\x69\x6E\x64","\x62\x74\x6E\x20\x62\x6C\x75\x65","\x63\x61\x6E\x63\x65\x6C","\x62\x74\x6E\x20\x64\x65\x66\x61\x75\x6C\x74","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30\x70\x78","\x31\x37\x36","\x31\x35\x31","\x73\x72\x63","\x2F\x6C\x6F\x67\x6F\x2E\x70\x6E\x67","\x62\x72","\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x6C\x61\x62\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x61","\x68\x72\x65\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D\x2F","\x5F\x62\x6C\x61\x6E\x6B","\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D","\x73\x61\x76\x65\x41\x73","\x6E\x61\x6D\x65","\x5F","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x6C\x61\x62\x65\x6C","\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C\x20\x70\x75\x6C\x6C\x2D\x72\x69\x67\x68\x74","\x5F\x63\x6F\x70\x79","\x69\x64","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C","\x73\x61\x76\x65","\x6E\x65\x77","\x5F\x6E\x65\x77","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x72\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x50\x55\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6E\x61\x6D\x65\x3D","\x50\x72\x6F\x6A\x65\x63\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79\x20\x72\x65\x6E\x61\x6D\x65\x64","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x6C\x65\x72\x74","\x65\x64\x69\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x64\x61\x74\x61\x54\x72\x61\x6E\x73\x66\x65\x72","\x64\x72\x61\x67\x6F\x76\x65\x72","\x64\x72\x6F\x70","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D","\x65\x78\x70\x6F\x72\x74","\x66\x6F\x72\x6D\x2D\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x20\x66\x6F\x72\x6D\x2D\x72\x6F\x77\x2D\x73\x65\x70\x65\x72\x61\x74\x65\x64","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70\x20\x6C\x61\x73\x74","\x63\x6F\x6C\x2D\x73\x6D\x2D\x34\x20\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C","\x63\x6F\x6C\x2D\x73\x6D\x2D\x38","\x67\x65\x74\x58\x6D\x6C","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x67\x72\x61\x70\x68","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D\x20\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x2D\x73\x63\x72\x6F\x6C\x6C","\x20","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x69\x6E\x70\x75\x74\x47\x72\x6F\x75\x70","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70","\x64\x69\x73\x61\x62\x6C\x65\x64","\x6F\x6E\x63\x6C\x69\x63\x6B","\x4F\x4E","\x4F\x46\x46","\x62\x74\x6E\x20\x62\x74\x6E\x2D\x64\x61\x6E\x67\x65\x72\x20\x62\x74\x6E\x2D\x6D\x64","\x62\x74\x6E\x20\x62\x74\x6E\x2D\x73\x75\x63\x63\x65\x73\x73\x20\x62\x74\x6E\x2D\x6D\x64","\x73\x74\x61\x74\x65","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x42\x6F\x64\x79","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x49\x6E\x73\x65\x72\x74\x20\x6C\x61\x62\x65\x6C\x20\x66\x6F\x72\x20\x22\x4F\x74\x68\x65\x72\x22\x20\x61\x6E\x73\x77\x65\x72\x20\x6F\x70\x74\x69\x6F\x6E","\x6F\x74\x68\x65\x72","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x6D\x61\x78\x6C\x65\x6E\x67\x74\x68","\x31\x36\x30","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x2B","\x62\x74\x6E\x20\x67\x72\x65\x65\x6E","\x61\x64\x64","\x68\x65\x6C\x70\x5F","\x70","\x68\x65\x6C\x70\x2D\x62\x6C\x6F\x63\x6B","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x6D\x6F\x64\x65\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x72\x65\x66\x72\x65\x73\x68","\x63\x6F\x6C\x2D\x6D\x64\x2D\x35","\x63\x6F\x6C\x2D\x6D\x64\x2D\x32","\x49\x6E\x73\x65\x72\x74\x20\x6C\x61\x62\x65\x6C","\x6E\x75\x6D\x62\x65\x72","\x78","\x70\x61\x72\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x62\x74\x6E\x20\x72\x65\x64"];_0xf420[0];function createCheckbox(_0x856ax2){var _0x856ax3=document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[3],_0xf420[4]);if(_0x856ax2){_0x856ax3[_0xf420[5]](_0xf420[6],true)};return _0x856ax3}function createDropdownFromApi(_0x856ax5,_0x856ax2,_0x856ax6,_0x856ax7,_0x856ax8,_0x856ax9,_0x856axa){var _0x856axb= new XMLHttpRequest();_0x856axb[_0xf420[8]](_0xf420[7],_0x856ax5,false);_0x856axb[_0xf420[14]](_0xf420[9],_0xf420[10]+ _0x856ax8[_0xf420[13]][_0xf420[12]][_0xf420[11]]);_0x856axb[_0xf420[15]](null);var _0x856axc=[];if(_0x856axb[_0xf420[16]]=== 200){_0x856axc= JSON[_0xf420[18]](_0x856axb[_0xf420[17]])};var _0x856ax3=document[_0xf420[2]](_0xf420[19]);var _0x856axd=document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0xf420[22];_0x856axd[_0xf420[23]]= _0xf420[24];_0x856ax3[_0xf420[25]](_0x856axd);_0x856axc[_0xf420[30]][_0xf420[28]](function(_0x856axe){_0x856axd= document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0x856axe[_0x856ax6];if(_0x856ax9&& _0x856axa){_0x856ax9[_0xf420[28]](function(_0x856axf){_0x856axa= _0x856axa[_0xf420[27]](_0xf420[26]+ _0x856axf+ _0xf420[26],_0x856axe[_0x856axf])});_0x856axd[_0xf420[23]]= _0x856axa;_0x856axd[_0xf420[29]]= (_0x856axa== _0x856ax2)}else {_0x856axd[_0xf420[23]]= _0x856axe[_0x856ax7];_0x856axd[_0xf420[29]]= (_0x856axe[_0x856ax7]== _0x856ax2)};_0x856ax3[_0xf420[25]](_0x856axd)});_0x856ax3[_0xf420[31]]= _0xf420[32];return _0x856ax3}function createGroupedDropdownFromApi(_0x856ax5,_0x856ax2,_0x856ax6,_0x856ax7,_0x856ax8,_0x856ax11,_0x856ax12){var _0x856axb= new XMLHttpRequest();_0x856axb[_0xf420[8]](_0xf420[7],_0x856ax5,false);_0x856axb[_0xf420[14]](_0xf420[9],_0xf420[10]+ _0x856ax8[_0xf420[13]][_0xf420[12]][_0xf420[11]]);_0x856axb[_0xf420[15]](null);var _0x856axc=[];if(_0x856axb[_0xf420[16]]=== 200){_0x856axc= JSON[_0xf420[18]](_0x856axb[_0xf420[17]])};var _0x856ax3=document[_0xf420[2]](_0xf420[19]);var _0x856axd=document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0xf420[22];_0x856axd[_0xf420[23]]= _0xf420[33];_0x856ax3[_0xf420[25]](_0x856axd);var _0x856ax13=_0x856ax11?_0x856axc[_0xf420[30]]:_0x856axc;var _0x856ax14={};var _0x856ax15={};_0x856ax14[_0x856ax12]= null;var _0x856ax16=_[_0xf420[34]](_0x856ax13,_0x856ax14);var _0x856ax17={};_0x856ax16[_0xf420[28]](function(_0x856axe){_0x856axd= document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[31]]= _0xf420[35];_0x856axd[_0xf420[21]]= _0x856axe[_0x856ax6][_0xf420[36]]();_0x856axd[_0xf420[23]]= _0x856axe[_0x856ax7];_0x856axd[_0xf420[29]]= (_0x856axe[_0x856ax7]== _0x856ax2);_0x856ax3[_0xf420[25]](_0x856axd);_0x856ax15[_0x856ax12]= _0x856axe[_0x856ax7];_0x856ax17= _[_0xf420[34]](_0x856ax13,_0x856ax15);_0x856ax17[_0xf420[28]](function(_0x856axe){_0x856axd= document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[31]]= _0xf420[37];_0x856axd[_0xf420[21]]= _0xf420[38]+ _[_0xf420[39]](_0x856axe[_0x856ax6]);_0x856axd[_0xf420[23]]= _0x856axe[_0x856ax7];_0x856axd[_0xf420[29]]= (_0x856axe[_0x856ax7]== _0x856ax2);_0x856ax3[_0xf420[25]](_0x856axd)})});_0x856ax3[_0xf420[31]]= _0xf420[32];return _0x856ax3}function createDropdownFromArray(_0x856ax19,_0x856ax2){var _0x856ax3=document[_0xf420[2]](_0xf420[19]);for(var _0x856ax1a in _0x856ax19){var _0x856axd=document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0x856ax19[_0x856ax1a];_0x856axd[_0xf420[23]]= _0x856ax1a;if(_0x856ax2> 0|| _0x856ax2!= _0xf420[40]){_0x856axd[_0xf420[29]]= (_0x856ax2=== _0x856ax1a)?true:false};_0x856ax3[_0xf420[25]](_0x856axd)};_0x856ax3[_0xf420[31]]= _0xf420[32];return _0x856ax3}function Dialog(_0x856ax8,_0x856ax1c,_0x856ax1d,_0x856ax1e,_0x856ax1f,_0x856ax20,_0x856ax21){var _0x856ax22=0;if(mxClient[_0xf420[41]]&& document[_0xf420[42]]!= 9){_0x856ax22= 60};_0x856ax1d+= _0x856ax22;_0x856ax1e+= _0x856ax22;var _0x856ax23=Math[_0xf420[46]](0,Math[_0xf420[45]]((document[_0xf420[44]][_0xf420[43]]- _0x856ax1d)/ 2));var _0x856ax24=Math[_0xf420[46]](0,Math[_0xf420[45]]((Math[_0xf420[46]](document[_0xf420[44]][_0xf420[47]],document[_0xf420[48]][_0xf420[47]])- _0x856ax1e)/ 3));var _0x856ax25=_0x856ax8[_0xf420[50]](_0xf420[49]);_0x856ax25[_0xf420[31]]= _0xf420[51];_0x856ax25[_0xf420[53]][_0xf420[52]]= _0xf420[54];_0x856ax25[_0xf420[53]][_0xf420[55]]= _0xf420[56];var _0x856ax26=_0x856ax8[_0xf420[50]](_0xf420[57]);_0x856ax26[_0xf420[31]]= _0xf420[58];_0x856ax26[_0xf420[25]](_0x856ax1c);_0x856ax25[_0xf420[25]](_0x856ax26);if(this[_0xf420[59]]== null){this[_0xf420[59]]= _0x856ax8[_0xf420[50]](_0xf420[60]);this[_0xf420[59]][_0xf420[31]]= _0xf420[61];if(mxClient[_0xf420[62]]){ new mxDivResizer(this[_0xf420[59]])}};if(_0x856ax1f){document[_0xf420[44]][_0xf420[25]](this[_0xf420[59]])};document[_0xf420[44]][_0xf420[25]](_0x856ax25);this[_0xf420[63]]= _0x856ax21;this[_0xf420[64]]= _0x856ax25}Dialog[_0xf420[66]][_0xf420[65]]= function(){if(this[_0xf420[63]]!= null){this[_0xf420[63]]();this[_0xf420[63]]= null};this[_0xf420[64]][_0xf420[68]][_0xf420[67]](this[_0xf420[64]]);this[_0xf420[59]][_0xf420[68]][_0xf420[67]](this[_0xf420[59]])};function ImportDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[75])+ _0xf420[77]);var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[82]);var _0x856ax30=document[_0xf420[2]](_0xf420[83]);_0x856ax30[_0xf420[53]][_0xf420[84]]= _0xf420[85];_0x856ax30[_0xf420[53]][_0xf420[86]]= _0xf420[87];var _0x856ax3=document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[3]]= _0xf420[88];_0x856ax3[_0xf420[5]](_0xf420[89],_0xf420[90]);_0x856ax3[_0xf420[100]](_0xf420[91],function _0x856ax31(_0x856ax32){var _0x856ax33=_0x856ax32[_0xf420[93]][_0xf420[92]][0];console[_0xf420[94]](_0x856ax33);if(_0x856ax33){if(_0x856ax33[_0xf420[3]]=== _0xf420[90]){var _0x856ax34= new FileReader();_0x856ax34[_0xf420[95]]= function(_0x856ax35){var _0x856ax36=_0x856ax35[_0xf420[93]][_0xf420[96]];mxUtils[_0xf420[78]](_0x856ax30,_0x856ax36)};_0x856ax34[_0xf420[97]](_0x856ax33)}else {alert(_0xf420[98])}}else {alert(_0xf420[99])}},false);_0x856ax2f[_0xf420[25]](_0x856ax3);_0x856ax2f[_0xf420[25]](_0x856ax30);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[75]),mxUtils[_0xf420[103]](this,function(_0x856ax38){var _0x856ax39=mxUtils[_0xf420[101]](_0x856ax30[_0xf420[23]]);_0x856ax8[_0xf420[13]][_0xf420[102]](_0x856ax39[_0xf420[48]]);_0x856ax8[_0xf420[79]]()}));_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function AboutDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[107])+ _0xf420[108]);var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax3c=document[_0xf420[2]](_0xf420[109]);_0x856ax3c[_0xf420[53]][_0xf420[110]]= _0xf420[111];_0x856ax3c[_0xf420[5]](_0xf420[84],_0xf420[112]);_0x856ax3c[_0xf420[5]](_0xf420[84],_0xf420[113]);_0x856ax3c[_0xf420[5]](_0xf420[114],IMAGE_PATH+ _0xf420[115]);_0x856ax2a[_0xf420[25]](_0x856ax3c);mxUtils[_0xf420[116]](_0x856ax2a);mxUtils[_0xf420[78]](_0x856ax2a,_0xf420[117]+ mxClient[_0xf420[118]]);mxUtils[_0xf420[116]](_0x856ax2a);var _0x856ax3d=document[_0xf420[2]](_0xf420[119]);_0x856ax3d[_0xf420[5]](_0xf420[120],_0xf420[121]);_0x856ax3d[_0xf420[5]](_0xf420[93],_0xf420[122]);mxUtils[_0xf420[78]](_0x856ax3d,_0xf420[123]);_0x856ax2a[_0xf420[25]](_0x856ax3d);mxUtils[_0xf420[116]](_0x856ax2a);mxUtils[_0xf420[116]](_0x856ax2a);var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[65]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function SaveDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[124]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax3f=_0xf420[125];var _0x856ax40=_0xf420[126]+ _0x856ax3f;var _0x856ax2=_0x856ax8[_0xf420[13]][_0xf420[127]]();var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[128]);var _0x856ax41=_0x856ax8[_0xf420[50]](_0xf420[129]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[131];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0x856ax3f));_0x856ax2f[_0xf420[25]](_0x856ax42);var _0x856ax43=document[_0xf420[2]](_0xf420[1]);_0x856ax43[_0xf420[5]](_0xf420[23],_0x856ax2+ _0xf420[132]);_0x856ax43[_0xf420[5]](_0xf420[133],_0x856ax40);_0x856ax43[_0xf420[31]]= _0xf420[134];_0x856ax41[_0xf420[25]](_0x856ax43);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2e[_0xf420[25]](_0x856ax41);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[135]),function(){_0x856ax8[_0xf420[124]](_0x856ax43[_0xf420[23]]);_0x856ax8[_0xf420[79]]()});_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function NewDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[136]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax3f=_0xf420[125];var _0x856ax40=_0xf420[126]+ _0x856ax3f;var _0x856ax2=_0x856ax8[_0xf420[13]][_0xf420[127]]();var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[128]);var _0x856ax41=_0x856ax8[_0xf420[50]](_0xf420[129]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[131];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0x856ax3f));_0x856ax2f[_0xf420[25]](_0x856ax42);var _0x856ax43=document[_0xf420[2]](_0xf420[1]);_0x856ax43[_0xf420[5]](_0xf420[23],_0x856ax2+ _0xf420[137]);_0x856ax43[_0xf420[5]](_0xf420[133],_0x856ax40);_0x856ax43[_0xf420[31]]= _0xf420[134];_0x856ax41[_0xf420[25]](_0x856ax43);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2e[_0xf420[25]](_0x856ax41);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[136]),function(){_0x856ax8[_0xf420[136]](_0x856ax43[_0xf420[23]]);_0x856ax8[_0xf420[79]]()});_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function VariableDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[138]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax3f=_0xf420[125];var _0x856ax40=_0xf420[126]+ _0x856ax3f;var _0x856ax2=_0x856ax8[_0xf420[13]][_0xf420[127]]();var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[128]);var _0x856ax41=_0x856ax8[_0xf420[50]](_0xf420[129]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[131];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0x856ax3f));_0x856ax2f[_0xf420[25]](_0x856ax42);var _0x856ax43=document[_0xf420[2]](_0xf420[1]);_0x856ax43[_0xf420[5]](_0xf420[23],_0xf420[139]);_0x856ax43[_0xf420[5]](_0xf420[133],_0x856ax40);_0x856ax43[_0xf420[31]]= _0xf420[134];_0x856ax41[_0xf420[25]](_0x856ax43);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2e[_0xf420[25]](_0x856ax41);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[136]),function(){_0x856ax8[_0xf420[138]](_0x856ax43[_0xf420[23]]);_0x856ax8[_0xf420[79]]()});_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function OpenDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[8]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[128]);var _0x856ax41=_0x856ax8[_0xf420[50]](_0xf420[129]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[131];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0xf420[125]));_0x856ax2f[_0xf420[25]](_0x856ax42);var _0x856axb= new XMLHttpRequest();_0x856axb[_0xf420[8]](_0xf420[7],_0xf420[140],false);_0x856axb[_0xf420[14]](_0xf420[9],_0xf420[10]+ _0x856ax8[_0xf420[13]][_0xf420[12]][_0xf420[11]]);_0x856axb[_0xf420[15]](null);var _0x856axc=[];if(_0x856axb[_0xf420[16]]=== 200){_0x856axc= JSON[_0xf420[18]](_0x856axb[_0xf420[17]])[_0xf420[30]]};var _0x856ax43=document[_0xf420[2]](_0xf420[19]);for(var _0x856ax47=0;_0x856ax47< _0x856axc[_0xf420[141]];_0x856ax47++){var _0x856axd=document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0x856axc[_0x856ax47][_0xf420[125]];_0x856axd[_0xf420[23]]= _0x856axc[_0x856ax47][_0xf420[133]];_0x856ax43[_0xf420[25]](_0x856axd)};_0x856ax43[_0xf420[31]]= _0xf420[134];_0x856ax41[_0xf420[25]](_0x856ax43);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2e[_0xf420[25]](_0x856ax41);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[8]),function(){console[_0xf420[94]](_0x856ax43);console[_0xf420[94]](_0x856ax43[_0xf420[23]]);window[_0xf420[8]](_0xf420[142]+ _0x856ax43[_0xf420[23]],_0xf420[122]);_0x856ax8[_0xf420[79]]()});_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function RenameDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[143]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[128]);var _0x856ax41=_0x856ax8[_0xf420[50]](_0xf420[129]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[131];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0xf420[125]));_0x856ax2f[_0xf420[25]](_0x856ax42);var _0x856ax3f=_0x856ax8[_0xf420[13]][_0xf420[144]];var _0x856ax3=document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[23],_0x856ax3f);_0x856ax3[_0xf420[31]]= _0xf420[134];_0x856ax41[_0xf420[25]](_0x856ax3);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2e[_0xf420[25]](_0x856ax41);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[135]),function(){var _0x856axb= new XMLHttpRequest();_0x856axb[_0xf420[8]](_0xf420[145],SAVE_URL+ _0x856ax8[_0xf420[13]][_0xf420[12]][_0xf420[133]],true);_0x856axb[_0xf420[14]](_0xf420[146],_0xf420[147]);_0x856axb[_0xf420[14]](_0xf420[9],_0xf420[10]+ _0x856ax8[_0xf420[13]][_0xf420[12]][_0xf420[11]]);_0x856axb[_0xf420[15]](_0xf420[148]+ _0x856ax3[_0xf420[23]]);_0x856axb[_0xf420[95]]= function(_0x856ax35){if(_0x856axb[_0xf420[16]]=== 200){_0x856ax8[_0xf420[13]][_0xf420[150]](_0xf420[149]);_0x856ax8[_0xf420[13]][_0xf420[144]]= _0x856ax3[_0xf420[23]]}else {_0x856ax8[_0xf420[13]][_0xf420[150]](JSON[_0xf420[18]](_0x856axb[_0xf420[17]])[_0xf420[152]][0][_0xf420[151]])}};_0x856axb[_0xf420[153]]= function(_0x856ax35){mxUtils[_0xf420[155]](_0x856axb[_0xf420[154]])};_0x856ax8[_0xf420[79]]()});_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function EditFileDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[71]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[156]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax2e=_0x856ax8[_0xf420[50]](_0xf420[81]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[82]);var _0x856ax30=document[_0xf420[2]](_0xf420[83]);_0x856ax30[_0xf420[53]][_0xf420[84]]= _0xf420[85];_0x856ax30[_0xf420[53]][_0xf420[86]]= _0xf420[87];_0x856ax30[_0xf420[23]]= mxUtils[_0xf420[158]](_0x856ax8[_0xf420[13]][_0xf420[157]]());if(fileSupport){function _0x856ax4a(_0x856ax32){_0x856ax32[_0xf420[159]]();_0x856ax32[_0xf420[160]]();if(_0x856ax32[_0xf420[161]][_0xf420[92]][_0xf420[141]]> 0){var _0x856ax4b=_0x856ax32[_0xf420[161]][_0xf420[92]][0];var _0x856ax4c= new FileReader();_0x856ax4c[_0xf420[95]]= function(_0x856ax35){_0x856ax30[_0xf420[23]]= _0x856ax35[_0xf420[93]][_0xf420[96]]};_0x856ax4c[_0xf420[97]](_0x856ax4b)}}function _0x856ax4d(_0x856ax32){_0x856ax32[_0xf420[159]]();_0x856ax32[_0xf420[160]]()}_0x856ax30[_0xf420[100]](_0xf420[162],_0x856ax4d,false);_0x856ax30[_0xf420[100]](_0xf420[163],_0x856ax4a,false)};_0x856ax2f[_0xf420[25]](_0x856ax30);_0x856ax2e[_0xf420[25]](_0x856ax2f);_0x856ax2a[_0xf420[25]](_0x856ax2e);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[135]),function(){var _0x856ax39=mxUtils[_0xf420[101]](_0x856ax30[_0xf420[23]]);_0x856ax8[_0xf420[13]][_0xf420[102]](_0x856ax39[_0xf420[48]]);_0x856ax8[_0xf420[79]]()});_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function ExportDialog(_0x856ax8){var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[164]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[165])+ _0xf420[77]);var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax4f=_0x856ax8[_0xf420[50]](_0xf420[166]);var _0x856ax50=_0x856ax8[_0xf420[50]](_0xf420[167]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[168];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0xf420[144]));var _0x856ax3=document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[23],_0x856ax8[_0xf420[13]][_0xf420[127]]());_0x856ax3[_0xf420[31]]= _0xf420[134];var _0x856ax25=_0x856ax8[_0xf420[50]](_0xf420[169]);_0x856ax25[_0xf420[25]](_0x856ax3);_0x856ax50[_0xf420[25]](_0x856ax42);_0x856ax50[_0xf420[25]](_0x856ax25);_0x856ax4f[_0xf420[25]](_0x856ax50);_0x856ax2a[_0xf420[25]](_0x856ax4f);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[165]),mxUtils[_0xf420[103]](this,function(_0x856ax38){_0x856ax8[_0xf420[135]](false);var _0x856ax51=encodeURIComponent(mxUtils[_0xf420[170]](_0x856ax8[_0xf420[13]][_0xf420[157]]())); new mxXmlRequest(SAVE_URL+ _0x856ax8[_0xf420[13]][_0xf420[12]][_0xf420[133]]+ _0xf420[172],_0xf420[173]+ _0x856ax3[_0xf420[23]],_0xf420[7])[_0xf420[171]](document,_0xf420[122]);_0x856ax8[_0xf420[79]]()}));_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function GeneralDialog(_0x856ax8,_0x856ax53){var _0x856ax54=_0x856ax8[_0xf420[13]][_0xf420[174]];var _0x856ax28=_0x856ax8[_0xf420[50]](_0xf420[69]);var _0x856ax29=_0x856ax8[_0xf420[50]](_0xf420[70]);var _0x856ax2a=_0x856ax8[_0xf420[50]](_0xf420[175]);var _0x856ax2b=_0x856ax8[_0xf420[50]](_0xf420[72]);var _0x856ax2c=_0x856ax8[_0xf420[74]](_0xf420[73]);mxUtils[_0xf420[78]](_0x856ax2c,mxResources[_0xf420[76]](_0xf420[156])+ _0xf420[176]+ mxResources[_0xf420[76]](_0x856ax53[_0xf420[23]][_0xf420[177]]));var _0x856ax2d=mxUtils[_0xf420[80]](_0xf420[40],function(){_0x856ax8[_0xf420[79]]()});_0x856ax2d[_0xf420[31]]= _0xf420[65];_0x856ax29[_0xf420[25]](_0x856ax2d);_0x856ax29[_0xf420[25]](_0x856ax2c);var _0x856ax55=_0x856ax8[_0xf420[50]](_0xf420[166]);_0x856ax55[_0xf420[5]](_0xf420[133],_0xf420[178]);var _0x856ax56=_0x856ax53[_0xf420[23]][_0xf420[179]][_0xf420[141]];var _0x856ax4f=_0x856ax8[_0xf420[50]](_0xf420[166]);for(var _0x856ax57=0;_0x856ax57< _0x856ax56;_0x856ax57++){var _0x856ax3f=_0x856ax53[_0xf420[23]][_0xf420[179]][_0x856ax57][_0xf420[125]];var _0x856ax40=_0xf420[126]+ _0x856ax3f;var _0x856ax2=_0x856ax53[_0xf420[23]][_0xf420[179]][_0x856ax57][_0xf420[23]];console[_0xf420[94]](_0x856ax3f);var _0x856ax50=_0x856ax8[_0xf420[50]]((_0x856ax57== _0x856ax56- 1)?_0xf420[167]:_0xf420[180]);var _0x856ax42=document[_0xf420[2]](_0xf420[130]);_0x856ax42[_0xf420[31]]= _0xf420[168];mxUtils[_0xf420[78]](_0x856ax42,mxResources[_0xf420[76]](_0x856ax3f));_0x856ax50[_0xf420[25]](_0x856ax42);var _0x856ax3;switch(_0x856ax3f){case _0xf420[133]:_0x856ax3= document[_0xf420[2]](_0xf420[1]);_0x856ax2= _0x856ax53[_0xf420[133]];_0x856ax3[_0xf420[5]](_0xf420[23],_0x856ax2);_0x856ax3[_0xf420[5]](_0xf420[181],true);_0x856ax3[_0xf420[31]]= _0xf420[134];break;case _0xf420[187]:_0x856ax3= document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[3],_0xf420[80]);_0x856ax3[_0xf420[182]]= function(){if(this[_0xf420[23]]== _0xf420[183]){this[_0xf420[5]](_0xf420[23],_0xf420[184]);this[_0xf420[31]]= _0xf420[185]}else {this[_0xf420[31]]= _0xf420[186];this[_0xf420[5]](_0xf420[23],_0xf420[183])}};_0x856ax3[_0xf420[5]](_0xf420[23],_0x856ax2);_0x856ax3[_0xf420[31]]= (_0x856ax2== _0xf420[183]?_0xf420[186]:_0xf420[185]);break;case _0xf420[21]:_0x856ax3= document[_0xf420[2]](_0xf420[83]);_0x856ax3[_0xf420[188]]= _0x856ax2;_0x856ax3[_0xf420[31]]= _0xf420[134];break;case _0xf420[189]:_0x856ax3= document[_0xf420[2]](_0xf420[83]);_0x856ax3[_0xf420[188]]= _0x856ax2;_0x856ax3[_0xf420[31]]= _0xf420[134];break;case _0xf420[190]:_0x856ax3= document[_0xf420[2]](_0xf420[83]);_0x856ax3[_0xf420[188]]= _0x856ax2;_0x856ax3[_0xf420[31]]= _0xf420[134];break;case _0xf420[193]:_0x856ax3= document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[23],_0x856ax2);_0x856ax3[_0xf420[5]](_0xf420[191],_0xf420[192]);_0x856ax3[_0xf420[31]]= _0xf420[134];break;case _0xf420[195]:_0x856ax3= createDropdownFromApi(_0xf420[194],_0x856ax2,_0xf420[125],_0xf420[133],_0x856ax8);break;case _0xf420[198]:_0x856ax3= document[_0xf420[2]](_0xf420[83]);_0x856ax3[_0xf420[188]]= _0x856ax2;_0x856ax3[_0xf420[31]]= _0xf420[134];_0x856ax3[_0xf420[5]](_0xf420[196],_0xf420[197]);break;case _0xf420[201]:var _0x856ax3=mxUtils[_0xf420[80]](_0xf420[199],function(){var _0x856ax58=createDynamicInput(null,null,_0x856ax8);_0x856ax55[_0xf420[25]](_0x856ax58);_0x856ax2a[_0xf420[25]](_0x856ax55)});_0x856ax3[_0xf420[31]]= _0xf420[200];break;default:_0x856ax3= document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[23],_0x856ax2);_0x856ax3[_0xf420[31]]= _0xf420[134];break};_0x856ax3[_0xf420[5]](_0xf420[133],_0x856ax40);var _0x856ax25=_0x856ax8[_0xf420[50]](_0xf420[169]);_0x856ax25[_0xf420[25]](_0x856ax3);if(mxResources[_0xf420[76]](_0xf420[202]+ _0x856ax3f)){var _0x856ax59=_0x856ax8[_0xf420[50]](_0xf420[203]);_0x856ax59[_0xf420[31]]= _0xf420[204];mxUtils[_0xf420[78]](_0x856ax59,mxResources[_0xf420[76]](_0xf420[202]+ _0x856ax3f));_0x856ax25[_0xf420[25]](_0x856ax59)};_0x856ax50[_0xf420[25]](_0x856ax25);_0x856ax4f[_0xf420[25]](_0x856ax50)};_0x856ax2a[_0xf420[25]](_0x856ax4f);if(_0x856ax53[_0xf420[23]][_0xf420[177]]== _0xf420[1]){if(_0x856ax53[_0xf420[205]]){for(var _0x856ax47=0;_0x856ax47< _0x856ax53[_0xf420[205]][_0xf420[141]];_0x856ax47++){var _0x856ax5a=_0xf420[40];var _0x856ax5b=_0xf420[40];_[_0xf420[28]](_0x856ax53[_0xf420[205]][_0x856ax47][_0xf420[23]][_0xf420[179]],function(_0x856ax5c){if(_0x856ax5c[_0xf420[125]]== _0xf420[3]){_0x856ax5a= _0x856ax5c[_0xf420[23]]}else {if(_0x856ax5c[_0xf420[125]]== _0xf420[130]){_0x856ax5b= _0x856ax5c[_0xf420[23]]}}});var _0x856ax58=createDynamicInput(_0x856ax5a,_0x856ax5b,_0x856ax8);_0x856ax55[_0xf420[25]](_0x856ax58)}}};_0x856ax2a[_0xf420[25]](_0x856ax55);var _0x856ax37=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[135]),mxUtils[_0xf420[103]](this,function(_0x856ax38){for(var _0x856ax57=0;_0x856ax57< _0x856ax53[_0xf420[23]][_0xf420[179]][_0xf420[141]];_0x856ax57++){var _0x856ax40=_0xf420[126]+ _0x856ax53[_0xf420[23]][_0xf420[179]][_0x856ax57][_0xf420[125]];var _0x856ax3f=_0x856ax53[_0xf420[23]][_0xf420[179]][_0x856ax57][_0xf420[125]];console[_0xf420[94]](_0x856ax3f);_0x856ax53[_0xf420[5]](_0x856ax3f,document[_0xf420[206]](_0x856ax40)[_0xf420[23]]);console[_0xf420[94]](document[_0xf420[206]](_0x856ax40)[_0xf420[23]])};if(_0x856ax53[_0xf420[23]][_0xf420[177]]== _0xf420[1]){if(_0x856ax54[_0xf420[208]][_0xf420[207]](_0x856ax53)){_0x856ax53[_0xf420[205]]= []};if(document[_0xf420[206]](_0xf420[178])){var _0x856ax55=document[_0xf420[206]](_0xf420[178])[_0xf420[205]];for(var _0x856ax47=0;_0x856ax47< _0x856ax55[_0xf420[141]];_0x856ax47++){var _0x856ax5d=_0x856ax55[_0x856ax47][_0xf420[205]][1];var _0x856ax5e=_0x856ax55[_0x856ax47][_0xf420[205]][0];var _0x856ax39=mxUtils[_0xf420[209]]();var _0x856ax5f=_0x856ax39[_0xf420[2]](_0xf420[178]);_0x856ax5f[_0xf420[5]](_0xf420[3],_0x856ax55[_0x856ax47][_0xf420[210]](_0xf420[19])[0][_0xf420[23]]);_0x856ax5f[_0xf420[5]](_0xf420[130],_0x856ax55[_0x856ax47][_0xf420[210]](_0xf420[1])[0][_0xf420[23]]);var _0x856ax60= new mxCell(_0x856ax5f);_0x856ax54[_0xf420[208]][_0xf420[201]](_0x856ax53,_0x856ax60)}}};_0x856ax54[_0xf420[211]](_0x856ax53);_0x856ax8[_0xf420[79]]()}));_0x856ax37[_0xf420[31]]= _0xf420[104];var _0x856ax3a=mxUtils[_0xf420[80]](mxResources[_0xf420[76]](_0xf420[105]),function(){_0x856ax8[_0xf420[79]]()});_0x856ax3a[_0xf420[31]]= _0xf420[106];_0x856ax2b[_0xf420[25]](_0x856ax37);_0x856ax2b[_0xf420[25]](_0x856ax3a);_0x856ax28[_0xf420[25]](_0x856ax29);_0x856ax28[_0xf420[25]](_0x856ax2a);_0x856ax28[_0xf420[25]](_0x856ax2b);this[_0xf420[64]]= _0x856ax28}function createDynamicInput(_0x856ax5a,_0x856ax5b,_0x856ax8){var _0x856ax58=_0x856ax8[_0xf420[50]](_0xf420[180]);var _0x856ax2f=_0x856ax8[_0xf420[50]](_0xf420[212]);var _0x856ax41=_0x856ax8[_0xf420[50]](_0xf420[212]);var _0x856ax62=_0x856ax8[_0xf420[50]](_0xf420[213]);var _0x856ax3=document[_0xf420[2]](_0xf420[1]);_0x856ax3[_0xf420[5]](_0xf420[191],_0xf420[214]);_0x856ax3[_0xf420[23]]= _0x856ax5b;_0x856ax3[_0xf420[31]]= _0xf420[134];_0x856ax2f[_0xf420[25]](_0x856ax3);var _0x856ax43=document[_0xf420[2]](_0xf420[19]);var _0x856axd=document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0xf420[22];_0x856axd[_0xf420[23]]= _0xf420[40];_0x856ax43[_0xf420[25]](_0x856axd);var _0x856ax13=[_0xf420[21],_0xf420[215],_0xf420[83],_0xf420[4]];_0x856ax13[_0xf420[28]](function(_0x856axe){_0x856axd= document[_0xf420[2]](_0xf420[20]);_0x856axd[_0xf420[21]]= _0x856axe;_0x856axd[_0xf420[23]]= _0x856axe;_0x856axd[_0xf420[29]]= (_0x856axe== _0x856ax5a);_0x856ax43[_0xf420[25]](_0x856axd)});_0x856ax43[_0xf420[31]]= _0xf420[134];_0x856ax41[_0xf420[25]](_0x856ax43);var _0x856ax63=mxUtils[_0xf420[80]](_0xf420[216],function(){var _0x856ax64=_0x856ax63[_0xf420[217]];var _0x856ax65=_0x856ax64[_0xf420[217]];document[_0xf420[206]](_0xf420[178])[_0xf420[67]](_0x856ax65)});_0x856ax63[_0xf420[31]]= _0xf420[218];_0x856ax62[_0xf420[25]](_0x856ax63);_0x856ax58[_0xf420[25]](_0x856ax2f);_0x856ax58[_0xf420[25]](_0x856ax41);_0x856ax58[_0xf420[25]](_0x856ax62);return _0x856ax58} \ No newline at end of file +var _0xc5a5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x69\x6E\x70\x75\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x65\x63\x6B\x65\x64","\x47\x45\x54","\x6F\x70\x65\x6E","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x64\x61\x74\x61","\x65\x64\x69\x74\x6F\x72","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x73\x65\x6C\x65\x63\x74","\x6F\x70\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x2D\x2D\x20\x4E\x6F\x6E\x65\x20\x2D\x2D","\x76\x61\x6C\x75\x65","\x2D\x31","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x66\x6F\x72\x45\x61\x63\x68","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x6F\x77\x73","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C\x20\x73\x65\x6C\x65\x63\x74\x32","\x30","\x66\x69\x6C\x74\x65\x72","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x66\x61\x74\x68\x65\x72","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x73\x6F\x6E","\x2D","\x63\x61\x70\x69\x74\x61\x6C\x69\x7A\x65","","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x62\x6F\x64\x79","\x72\x6F\x75\x6E\x64","\x6D\x61\x78","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x44\x69\x61\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x6D\x6F\x64\x61\x6C\x20\x66\x61\x64\x65\x20\x69\x6E\x20\x63\x65\x6E\x74\x65\x72","\x64\x69\x73\x70\x6C\x61\x79","\x73\x74\x79\x6C\x65","\x62\x6C\x6F\x63\x6B","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x31\x32\x70\x78","\x67\x65\x4D\x6F\x64\x61\x6C\x44\x69\x61\x6C\x6F\x67","\x6D\x6F\x64\x61\x6C\x2D\x64\x69\x61\x6C\x6F\x67","\x62\x67","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x6D\x6F\x64\x61\x6C\x2D\x62\x61\x63\x6B\x64\x72\x6F\x70\x20\x66\x61\x64\x65\x20\x69\x6E","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x6E\x44\x69\x61\x6C\x6F\x67\x43\x6C\x6F\x73\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x6C\x6F\x73\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x64\x61\x6C\x2D\x63\x6F\x6E\x74\x65\x6E\x74","\x6D\x6F\x64\x61\x6C\x2D\x68\x65\x61\x64\x65\x72","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79","\x6D\x6F\x64\x61\x6C\x2D\x66\x6F\x6F\x74\x65\x72","\x68\x34","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74","\x20\x58\x4D\x4C","\x77\x72\x69\x74\x65","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x62\x75\x74\x74\x6F\x6E","\x72\x6F\x77","\x63\x6F\x6C\x2D\x6D\x64\x2D\x31\x32","\x74\x65\x78\x74\x61\x72\x65\x61","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x33\x37\x34\x70\x78","\x66\x69\x6C\x65","\x61\x63\x63\x65\x70\x74","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x63\x68\x61\x6E\x67\x65","\x66\x69\x6C\x65\x73","\x74\x61\x72\x67\x65\x74","\x6C\x6F\x67","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x73\x75\x6C\x74","\x72\x65\x61\x64\x41\x73\x54\x65\x78\x74","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x6F\x72\x6D\x61\x74\x20\x66\x69\x6C\x65","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x69\x6C\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x62\x69\x6E\x64","\x62\x74\x6E\x20\x62\x6C\x75\x65","\x63\x61\x6E\x63\x65\x6C","\x62\x74\x6E\x20\x64\x65\x66\x61\x75\x6C\x74","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30\x70\x78","\x31\x37\x36","\x31\x35\x31","\x73\x72\x63","\x2F\x6C\x6F\x67\x6F\x2E\x70\x6E\x67","\x62\x72","\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x6C\x61\x62\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x61","\x68\x72\x65\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D\x2F","\x5F\x62\x6C\x61\x6E\x6B","\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D","\x73\x61\x76\x65\x41\x73","\x6E\x61\x6D\x65","\x5F","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x6C\x61\x62\x65\x6C","\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C\x20\x70\x75\x6C\x6C\x2D\x72\x69\x67\x68\x74","\x5F\x63\x6F\x70\x79","\x69\x64","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C","\x73\x61\x76\x65","\x6E\x65\x77","\x5F\x6E\x65\x77","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x72\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x50\x55\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6E\x61\x6D\x65\x3D","\x50\x72\x6F\x6A\x65\x63\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79\x20\x72\x65\x6E\x61\x6D\x65\x64","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x6C\x65\x72\x74","\x65\x64\x69\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x64\x61\x74\x61\x54\x72\x61\x6E\x73\x66\x65\x72","\x64\x72\x61\x67\x6F\x76\x65\x72","\x64\x72\x6F\x70","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D","\x65\x78\x70\x6F\x72\x74","\x66\x6F\x72\x6D\x2D\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x20\x66\x6F\x72\x6D\x2D\x72\x6F\x77\x2D\x73\x65\x70\x65\x72\x61\x74\x65\x64","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70\x20\x6C\x61\x73\x74","\x63\x6F\x6C\x2D\x73\x6D\x2D\x34\x20\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C","\x63\x6F\x6C\x2D\x73\x6D\x2D\x38","\x67\x65\x74\x58\x6D\x6C","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x67\x72\x61\x70\x68","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D\x20\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x2D\x73\x63\x72\x6F\x6C\x6C","\x20","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x69\x6E\x70\x75\x74\x47\x72\x6F\x75\x70","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70","\x64\x69\x73\x61\x62\x6C\x65\x64","\x6F\x6E\x63\x6C\x69\x63\x6B","\x4F\x4E","\x4F\x46\x46","\x62\x74\x6E\x20\x62\x74\x6E\x2D\x64\x61\x6E\x67\x65\x72\x20\x62\x74\x6E\x2D\x6D\x64","\x62\x74\x6E\x20\x62\x74\x6E\x2D\x73\x75\x63\x63\x65\x73\x73\x20\x62\x74\x6E\x2D\x6D\x64","\x73\x74\x61\x74\x65","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x42\x6F\x64\x79","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x70\x6C\x61\x63\x65\x68\x6F\x6C\x64\x65\x72","\x49\x6E\x73\x65\x72\x74\x20\x6C\x61\x62\x65\x6C\x20\x66\x6F\x72\x20\x22\x4F\x74\x68\x65\x72\x22\x20\x61\x6E\x73\x77\x65\x72\x20\x6F\x70\x74\x69\x6F\x6E","\x6F\x74\x68\x65\x72","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x6D\x61\x78\x6C\x65\x6E\x67\x74\x68","\x31\x36\x30","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x2B","\x62\x74\x6E\x20\x67\x72\x65\x65\x6E","\x61\x64\x64","\x68\x65\x6C\x70\x5F","\x70","\x68\x65\x6C\x70\x2D\x62\x6C\x6F\x63\x6B","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x6D\x6F\x64\x65\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x72\x65\x66\x72\x65\x73\x68","\x63\x6F\x6C\x2D\x6D\x64\x2D\x35","\x63\x6F\x6C\x2D\x6D\x64\x2D\x32","\x49\x6E\x73\x65\x72\x74\x20\x6C\x61\x62\x65\x6C","\x6E\x75\x6D\x62\x65\x72","\x78","\x70\x61\x72\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x62\x74\x6E\x20\x72\x65\x64"];_0xc5a5[0];function createCheckbox(_0x38b7x2){var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[3],_0xc5a5[4]);if(_0x38b7x2){_0x38b7x3[_0xc5a5[5]](_0xc5a5[6],true)};return _0x38b7x3}function createDropdownFromApi(_0x38b7x5,_0x38b7x2,_0x38b7x6,_0x38b7x7,_0x38b7x8,_0x38b7x9,_0x38b7xa){var _0x38b7xb= new XMLHttpRequest();_0x38b7xb[_0xc5a5[8]](_0xc5a5[7],_0x38b7x5,false);_0x38b7xb[_0xc5a5[14]](_0xc5a5[9],_0xc5a5[10]+ _0x38b7x8[_0xc5a5[13]][_0xc5a5[12]][_0xc5a5[11]]);_0x38b7xb[_0xc5a5[15]](null);var _0x38b7xc=[];if(_0x38b7xb[_0xc5a5[16]]=== 200){_0x38b7xc= JSON[_0xc5a5[18]](_0x38b7xb[_0xc5a5[17]])};var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[19]);var _0x38b7xd=document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0xc5a5[22];_0x38b7xd[_0xc5a5[23]]= _0xc5a5[24];_0x38b7x3[_0xc5a5[25]](_0x38b7xd);_0x38b7xc[_0xc5a5[30]][_0xc5a5[28]](function(_0x38b7xe){_0x38b7xd= document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0x38b7xe[_0x38b7x6];if(_0x38b7x9&& _0x38b7xa){_0x38b7x9[_0xc5a5[28]](function(_0x38b7xf){_0x38b7xa= _0x38b7xa[_0xc5a5[27]](_0xc5a5[26]+ _0x38b7xf+ _0xc5a5[26],_0x38b7xe[_0x38b7xf])});_0x38b7xd[_0xc5a5[23]]= _0x38b7xa;_0x38b7xd[_0xc5a5[29]]= (_0x38b7xa== _0x38b7x2)}else {_0x38b7xd[_0xc5a5[23]]= _0x38b7xe[_0x38b7x7];_0x38b7xd[_0xc5a5[29]]= (_0x38b7xe[_0x38b7x7]== _0x38b7x2)};_0x38b7x3[_0xc5a5[25]](_0x38b7xd)});_0x38b7x3[_0xc5a5[31]]= _0xc5a5[32];return _0x38b7x3}function createGroupedDropdownFromApi(_0x38b7x5,_0x38b7x2,_0x38b7x6,_0x38b7x7,_0x38b7x8,_0x38b7x11,_0x38b7x12){var _0x38b7xb= new XMLHttpRequest();_0x38b7xb[_0xc5a5[8]](_0xc5a5[7],_0x38b7x5,false);_0x38b7xb[_0xc5a5[14]](_0xc5a5[9],_0xc5a5[10]+ _0x38b7x8[_0xc5a5[13]][_0xc5a5[12]][_0xc5a5[11]]);_0x38b7xb[_0xc5a5[15]](null);var _0x38b7xc=[];if(_0x38b7xb[_0xc5a5[16]]=== 200){_0x38b7xc= JSON[_0xc5a5[18]](_0x38b7xb[_0xc5a5[17]])};var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[19]);var _0x38b7xd=document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0xc5a5[22];_0x38b7xd[_0xc5a5[23]]= _0xc5a5[33];_0x38b7x3[_0xc5a5[25]](_0x38b7xd);var _0x38b7x13=_0x38b7x11?_0x38b7xc[_0xc5a5[30]]:_0x38b7xc;var _0x38b7x14={};var _0x38b7x15={};_0x38b7x14[_0x38b7x12]= null;var _0x38b7x16=_[_0xc5a5[34]](_0x38b7x13,_0x38b7x14);var _0x38b7x17={};_0x38b7x16[_0xc5a5[28]](function(_0x38b7xe){_0x38b7xd= document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[31]]= _0xc5a5[35];_0x38b7xd[_0xc5a5[21]]= _0x38b7xe[_0x38b7x6][_0xc5a5[36]]();_0x38b7xd[_0xc5a5[23]]= _0x38b7xe[_0x38b7x7];_0x38b7xd[_0xc5a5[29]]= (_0x38b7xe[_0x38b7x7]== _0x38b7x2);_0x38b7x3[_0xc5a5[25]](_0x38b7xd);_0x38b7x15[_0x38b7x12]= _0x38b7xe[_0x38b7x7];_0x38b7x17= _[_0xc5a5[34]](_0x38b7x13,_0x38b7x15);_0x38b7x17[_0xc5a5[28]](function(_0x38b7xe){_0x38b7xd= document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[31]]= _0xc5a5[37];_0x38b7xd[_0xc5a5[21]]= _0xc5a5[38]+ _[_0xc5a5[39]](_0x38b7xe[_0x38b7x6]);_0x38b7xd[_0xc5a5[23]]= _0x38b7xe[_0x38b7x7];_0x38b7xd[_0xc5a5[29]]= (_0x38b7xe[_0x38b7x7]== _0x38b7x2);_0x38b7x3[_0xc5a5[25]](_0x38b7xd)})});_0x38b7x3[_0xc5a5[31]]= _0xc5a5[32];return _0x38b7x3}function createDropdownFromArray(_0x38b7x19,_0x38b7x2){var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[19]);for(var _0x38b7x1a in _0x38b7x19){var _0x38b7xd=document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0x38b7x19[_0x38b7x1a];_0x38b7xd[_0xc5a5[23]]= _0x38b7x1a;if(_0x38b7x2> 0|| _0x38b7x2!= _0xc5a5[40]){_0x38b7xd[_0xc5a5[29]]= (_0x38b7x2=== _0x38b7x1a)?true:false};_0x38b7x3[_0xc5a5[25]](_0x38b7xd)};_0x38b7x3[_0xc5a5[31]]= _0xc5a5[32];return _0x38b7x3}function Dialog(_0x38b7x8,_0x38b7x1c,_0x38b7x1d,_0x38b7x1e,_0x38b7x1f,_0x38b7x20,_0x38b7x21){var _0x38b7x22=0;if(mxClient[_0xc5a5[41]]&& document[_0xc5a5[42]]!= 9){_0x38b7x22= 60};_0x38b7x1d+= _0x38b7x22;_0x38b7x1e+= _0x38b7x22;var _0x38b7x23=Math[_0xc5a5[46]](0,Math[_0xc5a5[45]]((document[_0xc5a5[44]][_0xc5a5[43]]- _0x38b7x1d)/ 2));var _0x38b7x24=Math[_0xc5a5[46]](0,Math[_0xc5a5[45]]((Math[_0xc5a5[46]](document[_0xc5a5[44]][_0xc5a5[47]],document[_0xc5a5[48]][_0xc5a5[47]])- _0x38b7x1e)/ 3));var _0x38b7x25=_0x38b7x8[_0xc5a5[50]](_0xc5a5[49]);_0x38b7x25[_0xc5a5[31]]= _0xc5a5[51];_0x38b7x25[_0xc5a5[53]][_0xc5a5[52]]= _0xc5a5[54];_0x38b7x25[_0xc5a5[53]][_0xc5a5[55]]= _0xc5a5[56];var _0x38b7x26=_0x38b7x8[_0xc5a5[50]](_0xc5a5[57]);_0x38b7x26[_0xc5a5[31]]= _0xc5a5[58];_0x38b7x26[_0xc5a5[25]](_0x38b7x1c);_0x38b7x25[_0xc5a5[25]](_0x38b7x26);if(this[_0xc5a5[59]]== null){this[_0xc5a5[59]]= _0x38b7x8[_0xc5a5[50]](_0xc5a5[60]);this[_0xc5a5[59]][_0xc5a5[31]]= _0xc5a5[61];if(mxClient[_0xc5a5[62]]){ new mxDivResizer(this[_0xc5a5[59]])}};if(_0x38b7x1f){document[_0xc5a5[44]][_0xc5a5[25]](this[_0xc5a5[59]])};document[_0xc5a5[44]][_0xc5a5[25]](_0x38b7x25);this[_0xc5a5[63]]= _0x38b7x21;this[_0xc5a5[64]]= _0x38b7x25}Dialog[_0xc5a5[66]][_0xc5a5[65]]= function(){if(this[_0xc5a5[63]]!= null){this[_0xc5a5[63]]();this[_0xc5a5[63]]= null};this[_0xc5a5[64]][_0xc5a5[68]][_0xc5a5[67]](this[_0xc5a5[64]]);this[_0xc5a5[59]][_0xc5a5[68]][_0xc5a5[67]](this[_0xc5a5[59]])};function ImportDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[75])+ _0xc5a5[77]);var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[82]);var _0x38b7x30=document[_0xc5a5[2]](_0xc5a5[83]);_0x38b7x30[_0xc5a5[53]][_0xc5a5[84]]= _0xc5a5[85];_0x38b7x30[_0xc5a5[53]][_0xc5a5[86]]= _0xc5a5[87];var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[3]]= _0xc5a5[88];_0x38b7x3[_0xc5a5[5]](_0xc5a5[89],_0xc5a5[90]);_0x38b7x3[_0xc5a5[100]](_0xc5a5[91],function _0x38b7x31(_0x38b7x32){var _0x38b7x33=_0x38b7x32[_0xc5a5[93]][_0xc5a5[92]][0];console[_0xc5a5[94]](_0x38b7x33);if(_0x38b7x33){if(_0x38b7x33[_0xc5a5[3]]=== _0xc5a5[90]){var _0x38b7x34= new FileReader();_0x38b7x34[_0xc5a5[95]]= function(_0x38b7x35){var _0x38b7x36=_0x38b7x35[_0xc5a5[93]][_0xc5a5[96]];mxUtils[_0xc5a5[78]](_0x38b7x30,_0x38b7x36)};_0x38b7x34[_0xc5a5[97]](_0x38b7x33)}else {alert(_0xc5a5[98])}}else {alert(_0xc5a5[99])}},false);_0x38b7x2f[_0xc5a5[25]](_0x38b7x3);_0x38b7x2f[_0xc5a5[25]](_0x38b7x30);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[75]),mxUtils[_0xc5a5[103]](this,function(_0x38b7x38){var _0x38b7x39=mxUtils[_0xc5a5[101]](_0x38b7x30[_0xc5a5[23]]);_0x38b7x8[_0xc5a5[13]][_0xc5a5[102]](_0x38b7x39[_0xc5a5[48]]);_0x38b7x8[_0xc5a5[79]]()}));_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function AboutDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[107])+ _0xc5a5[108]);var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x3c=document[_0xc5a5[2]](_0xc5a5[109]);_0x38b7x3c[_0xc5a5[53]][_0xc5a5[110]]= _0xc5a5[111];_0x38b7x3c[_0xc5a5[5]](_0xc5a5[84],_0xc5a5[112]);_0x38b7x3c[_0xc5a5[5]](_0xc5a5[84],_0xc5a5[113]);_0x38b7x3c[_0xc5a5[5]](_0xc5a5[114],IMAGE_PATH+ _0xc5a5[115]);_0x38b7x2a[_0xc5a5[25]](_0x38b7x3c);mxUtils[_0xc5a5[116]](_0x38b7x2a);mxUtils[_0xc5a5[78]](_0x38b7x2a,_0xc5a5[117]+ mxClient[_0xc5a5[118]]);mxUtils[_0xc5a5[116]](_0x38b7x2a);var _0x38b7x3d=document[_0xc5a5[2]](_0xc5a5[119]);_0x38b7x3d[_0xc5a5[5]](_0xc5a5[120],_0xc5a5[121]);_0x38b7x3d[_0xc5a5[5]](_0xc5a5[93],_0xc5a5[122]);mxUtils[_0xc5a5[78]](_0x38b7x3d,_0xc5a5[123]);_0x38b7x2a[_0xc5a5[25]](_0x38b7x3d);mxUtils[_0xc5a5[116]](_0x38b7x2a);mxUtils[_0xc5a5[116]](_0x38b7x2a);var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[65]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function SaveDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[124]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x3f=_0xc5a5[125];var _0x38b7x40=_0xc5a5[126]+ _0x38b7x3f;var _0x38b7x2=_0x38b7x8[_0xc5a5[13]][_0xc5a5[127]]();var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[128]);var _0x38b7x41=_0x38b7x8[_0xc5a5[50]](_0xc5a5[129]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[131];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0x38b7x3f));_0x38b7x2f[_0xc5a5[25]](_0x38b7x42);var _0x38b7x43=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x43[_0xc5a5[5]](_0xc5a5[23],_0x38b7x2+ _0xc5a5[132]);_0x38b7x43[_0xc5a5[5]](_0xc5a5[133],_0x38b7x40);_0x38b7x43[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x41[_0xc5a5[25]](_0x38b7x43);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2e[_0xc5a5[25]](_0x38b7x41);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[135]),function(){_0x38b7x8[_0xc5a5[124]](_0x38b7x43[_0xc5a5[23]]);_0x38b7x8[_0xc5a5[79]]()});_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function NewDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[136]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x3f=_0xc5a5[125];var _0x38b7x40=_0xc5a5[126]+ _0x38b7x3f;var _0x38b7x2=_0x38b7x8[_0xc5a5[13]][_0xc5a5[127]]();var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[128]);var _0x38b7x41=_0x38b7x8[_0xc5a5[50]](_0xc5a5[129]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[131];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0x38b7x3f));_0x38b7x2f[_0xc5a5[25]](_0x38b7x42);var _0x38b7x43=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x43[_0xc5a5[5]](_0xc5a5[23],_0x38b7x2+ _0xc5a5[137]);_0x38b7x43[_0xc5a5[5]](_0xc5a5[133],_0x38b7x40);_0x38b7x43[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x41[_0xc5a5[25]](_0x38b7x43);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2e[_0xc5a5[25]](_0x38b7x41);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[136]),function(){_0x38b7x8[_0xc5a5[136]](_0x38b7x43[_0xc5a5[23]]);_0x38b7x8[_0xc5a5[79]]()});_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function VariableDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[138]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x3f=_0xc5a5[125];var _0x38b7x40=_0xc5a5[126]+ _0x38b7x3f;var _0x38b7x2=_0x38b7x8[_0xc5a5[13]][_0xc5a5[127]]();var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[128]);var _0x38b7x41=_0x38b7x8[_0xc5a5[50]](_0xc5a5[129]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[131];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0x38b7x3f));_0x38b7x2f[_0xc5a5[25]](_0x38b7x42);var _0x38b7x43=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x43[_0xc5a5[5]](_0xc5a5[23],_0xc5a5[139]);_0x38b7x43[_0xc5a5[5]](_0xc5a5[133],_0x38b7x40);_0x38b7x43[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x41[_0xc5a5[25]](_0x38b7x43);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2e[_0xc5a5[25]](_0x38b7x41);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[136]),function(){_0x38b7x8[_0xc5a5[138]](_0x38b7x43[_0xc5a5[23]]);_0x38b7x8[_0xc5a5[79]]()});_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function OpenDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[8]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[128]);var _0x38b7x41=_0x38b7x8[_0xc5a5[50]](_0xc5a5[129]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[131];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0xc5a5[125]));_0x38b7x2f[_0xc5a5[25]](_0x38b7x42);var _0x38b7xb= new XMLHttpRequest();_0x38b7xb[_0xc5a5[8]](_0xc5a5[7],_0xc5a5[140],false);_0x38b7xb[_0xc5a5[14]](_0xc5a5[9],_0xc5a5[10]+ _0x38b7x8[_0xc5a5[13]][_0xc5a5[12]][_0xc5a5[11]]);_0x38b7xb[_0xc5a5[15]](null);var _0x38b7xc=[];if(_0x38b7xb[_0xc5a5[16]]=== 200){_0x38b7xc= JSON[_0xc5a5[18]](_0x38b7xb[_0xc5a5[17]])[_0xc5a5[30]]};var _0x38b7x43=document[_0xc5a5[2]](_0xc5a5[19]);for(var _0x38b7x47=0;_0x38b7x47< _0x38b7xc[_0xc5a5[141]];_0x38b7x47++){var _0x38b7xd=document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0x38b7xc[_0x38b7x47][_0xc5a5[125]];_0x38b7xd[_0xc5a5[23]]= _0x38b7xc[_0x38b7x47][_0xc5a5[133]];_0x38b7x43[_0xc5a5[25]](_0x38b7xd)};_0x38b7x43[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x41[_0xc5a5[25]](_0x38b7x43);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2e[_0xc5a5[25]](_0x38b7x41);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[8]),function(){console[_0xc5a5[94]](_0x38b7x43);console[_0xc5a5[94]](_0x38b7x43[_0xc5a5[23]]);window[_0xc5a5[8]](_0xc5a5[142]+ _0x38b7x43[_0xc5a5[23]],_0xc5a5[122]);_0x38b7x8[_0xc5a5[79]]()});_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function RenameDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[143]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[128]);var _0x38b7x41=_0x38b7x8[_0xc5a5[50]](_0xc5a5[129]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[131];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0xc5a5[125]));_0x38b7x2f[_0xc5a5[25]](_0x38b7x42);var _0x38b7x3f=_0x38b7x8[_0xc5a5[13]][_0xc5a5[144]];var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[23],_0x38b7x3f);_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x41[_0xc5a5[25]](_0x38b7x3);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2e[_0xc5a5[25]](_0x38b7x41);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[135]),function(){var _0x38b7xb= new XMLHttpRequest();_0x38b7xb[_0xc5a5[8]](_0xc5a5[145],SAVE_URL+ _0x38b7x8[_0xc5a5[13]][_0xc5a5[12]][_0xc5a5[133]],true);_0x38b7xb[_0xc5a5[14]](_0xc5a5[146],_0xc5a5[147]);_0x38b7xb[_0xc5a5[14]](_0xc5a5[9],_0xc5a5[10]+ _0x38b7x8[_0xc5a5[13]][_0xc5a5[12]][_0xc5a5[11]]);_0x38b7xb[_0xc5a5[15]](_0xc5a5[148]+ _0x38b7x3[_0xc5a5[23]]);_0x38b7xb[_0xc5a5[95]]= function(_0x38b7x35){if(_0x38b7xb[_0xc5a5[16]]=== 200){_0x38b7x8[_0xc5a5[13]][_0xc5a5[150]](_0xc5a5[149]);_0x38b7x8[_0xc5a5[13]][_0xc5a5[144]]= _0x38b7x3[_0xc5a5[23]]}else {_0x38b7x8[_0xc5a5[13]][_0xc5a5[150]](JSON[_0xc5a5[18]](_0x38b7xb[_0xc5a5[17]])[_0xc5a5[152]][0][_0xc5a5[151]])}};_0x38b7xb[_0xc5a5[153]]= function(_0x38b7x35){mxUtils[_0xc5a5[155]](_0x38b7xb[_0xc5a5[154]])};_0x38b7x8[_0xc5a5[79]]()});_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function EditFileDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[71]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[156]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x2e=_0x38b7x8[_0xc5a5[50]](_0xc5a5[81]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[82]);var _0x38b7x30=document[_0xc5a5[2]](_0xc5a5[83]);_0x38b7x30[_0xc5a5[53]][_0xc5a5[84]]= _0xc5a5[85];_0x38b7x30[_0xc5a5[53]][_0xc5a5[86]]= _0xc5a5[87];_0x38b7x30[_0xc5a5[23]]= mxUtils[_0xc5a5[158]](_0x38b7x8[_0xc5a5[13]][_0xc5a5[157]]());if(fileSupport){function _0x38b7x4a(_0x38b7x32){_0x38b7x32[_0xc5a5[159]]();_0x38b7x32[_0xc5a5[160]]();if(_0x38b7x32[_0xc5a5[161]][_0xc5a5[92]][_0xc5a5[141]]> 0){var _0x38b7x4b=_0x38b7x32[_0xc5a5[161]][_0xc5a5[92]][0];var _0x38b7x4c= new FileReader();_0x38b7x4c[_0xc5a5[95]]= function(_0x38b7x35){_0x38b7x30[_0xc5a5[23]]= _0x38b7x35[_0xc5a5[93]][_0xc5a5[96]]};_0x38b7x4c[_0xc5a5[97]](_0x38b7x4b)}}function _0x38b7x4d(_0x38b7x32){_0x38b7x32[_0xc5a5[159]]();_0x38b7x32[_0xc5a5[160]]()}_0x38b7x30[_0xc5a5[100]](_0xc5a5[162],_0x38b7x4d,false);_0x38b7x30[_0xc5a5[100]](_0xc5a5[163],_0x38b7x4a,false)};_0x38b7x2f[_0xc5a5[25]](_0x38b7x30);_0x38b7x2e[_0xc5a5[25]](_0x38b7x2f);_0x38b7x2a[_0xc5a5[25]](_0x38b7x2e);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[135]),function(){var _0x38b7x39=mxUtils[_0xc5a5[101]](_0x38b7x30[_0xc5a5[23]]);_0x38b7x8[_0xc5a5[13]][_0xc5a5[102]](_0x38b7x39[_0xc5a5[48]]);_0x38b7x8[_0xc5a5[79]]()});_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function ExportDialog(_0x38b7x8){var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[164]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[165])+ _0xc5a5[77]);var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x4f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[166]);var _0x38b7x50=_0x38b7x8[_0xc5a5[50]](_0xc5a5[167]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[168];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0xc5a5[144]));var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[23],_0x38b7x8[_0xc5a5[13]][_0xc5a5[127]]());_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];var _0x38b7x25=_0x38b7x8[_0xc5a5[50]](_0xc5a5[169]);_0x38b7x25[_0xc5a5[25]](_0x38b7x3);_0x38b7x50[_0xc5a5[25]](_0x38b7x42);_0x38b7x50[_0xc5a5[25]](_0x38b7x25);_0x38b7x4f[_0xc5a5[25]](_0x38b7x50);_0x38b7x2a[_0xc5a5[25]](_0x38b7x4f);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[165]),mxUtils[_0xc5a5[103]](this,function(_0x38b7x38){_0x38b7x8[_0xc5a5[135]](false);var _0x38b7x51=encodeURIComponent(mxUtils[_0xc5a5[170]](_0x38b7x8[_0xc5a5[13]][_0xc5a5[157]]())); new mxXmlRequest(SAVE_URL+ _0x38b7x8[_0xc5a5[13]][_0xc5a5[12]][_0xc5a5[133]]+ _0xc5a5[172],_0xc5a5[173]+ _0x38b7x3[_0xc5a5[23]],_0xc5a5[7])[_0xc5a5[171]](document,_0xc5a5[122]);_0x38b7x8[_0xc5a5[79]]()}));_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function GeneralDialog(_0x38b7x8,_0x38b7x53){var _0x38b7x54=_0x38b7x8[_0xc5a5[13]][_0xc5a5[174]];var _0x38b7x28=_0x38b7x8[_0xc5a5[50]](_0xc5a5[69]);var _0x38b7x29=_0x38b7x8[_0xc5a5[50]](_0xc5a5[70]);var _0x38b7x2a=_0x38b7x8[_0xc5a5[50]](_0xc5a5[175]);var _0x38b7x2b=_0x38b7x8[_0xc5a5[50]](_0xc5a5[72]);var _0x38b7x2c=_0x38b7x8[_0xc5a5[74]](_0xc5a5[73]);mxUtils[_0xc5a5[78]](_0x38b7x2c,mxResources[_0xc5a5[76]](_0xc5a5[156])+ _0xc5a5[176]+ mxResources[_0xc5a5[76]](_0x38b7x53[_0xc5a5[23]][_0xc5a5[177]]));var _0x38b7x2d=mxUtils[_0xc5a5[80]](_0xc5a5[40],function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x2d[_0xc5a5[31]]= _0xc5a5[65];_0x38b7x29[_0xc5a5[25]](_0x38b7x2d);_0x38b7x29[_0xc5a5[25]](_0x38b7x2c);var _0x38b7x55=_0x38b7x8[_0xc5a5[50]](_0xc5a5[166]);_0x38b7x55[_0xc5a5[5]](_0xc5a5[133],_0xc5a5[178]);var _0x38b7x56=_0x38b7x53[_0xc5a5[23]][_0xc5a5[179]][_0xc5a5[141]];var _0x38b7x4f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[166]);for(var _0x38b7x57=0;_0x38b7x57< _0x38b7x56;_0x38b7x57++){var _0x38b7x3f=_0x38b7x53[_0xc5a5[23]][_0xc5a5[179]][_0x38b7x57][_0xc5a5[125]];var _0x38b7x40=_0xc5a5[126]+ _0x38b7x3f;var _0x38b7x2=_0x38b7x53[_0xc5a5[23]][_0xc5a5[179]][_0x38b7x57][_0xc5a5[23]];console[_0xc5a5[94]](_0x38b7x3f);var _0x38b7x50=_0x38b7x8[_0xc5a5[50]]((_0x38b7x57== _0x38b7x56- 1)?_0xc5a5[167]:_0xc5a5[180]);var _0x38b7x42=document[_0xc5a5[2]](_0xc5a5[130]);_0x38b7x42[_0xc5a5[31]]= _0xc5a5[168];mxUtils[_0xc5a5[78]](_0x38b7x42,mxResources[_0xc5a5[76]](_0x38b7x3f));_0x38b7x50[_0xc5a5[25]](_0x38b7x42);var _0x38b7x3;switch(_0x38b7x3f){case _0xc5a5[133]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x2= _0x38b7x53[_0xc5a5[133]];_0x38b7x3[_0xc5a5[5]](_0xc5a5[23],_0x38b7x2);_0x38b7x3[_0xc5a5[5]](_0xc5a5[181],true);_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];break;case _0xc5a5[187]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[3],_0xc5a5[80]);_0x38b7x3[_0xc5a5[182]]= function(){if(this[_0xc5a5[23]]== _0xc5a5[183]){this[_0xc5a5[5]](_0xc5a5[23],_0xc5a5[184]);this[_0xc5a5[31]]= _0xc5a5[185]}else {this[_0xc5a5[31]]= _0xc5a5[186];this[_0xc5a5[5]](_0xc5a5[23],_0xc5a5[183])}};_0x38b7x3[_0xc5a5[5]](_0xc5a5[23],_0x38b7x2);_0x38b7x3[_0xc5a5[31]]= (_0x38b7x2== _0xc5a5[183]?_0xc5a5[186]:_0xc5a5[185]);break;case _0xc5a5[21]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[83]);_0x38b7x3[_0xc5a5[188]]= _0x38b7x2;_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];break;case _0xc5a5[189]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[83]);_0x38b7x3[_0xc5a5[188]]= _0x38b7x2;_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];break;case _0xc5a5[190]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[83]);_0x38b7x3[_0xc5a5[188]]= _0x38b7x2;_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];break;case _0xc5a5[193]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[23],_0x38b7x2);_0x38b7x3[_0xc5a5[5]](_0xc5a5[191],_0xc5a5[192]);_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];break;case _0xc5a5[195]:_0x38b7x3= createDropdownFromApi(_0xc5a5[194],_0x38b7x2,_0xc5a5[125],_0xc5a5[133],_0x38b7x8);break;case _0xc5a5[198]:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[83]);_0x38b7x3[_0xc5a5[188]]= _0x38b7x2;_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x3[_0xc5a5[5]](_0xc5a5[196],_0xc5a5[197]);break;case _0xc5a5[201]:var _0x38b7x3=mxUtils[_0xc5a5[80]](_0xc5a5[199],function(){var _0x38b7x58=createDynamicInput(null,null,_0x38b7x8);_0x38b7x55[_0xc5a5[25]](_0x38b7x58);_0x38b7x2a[_0xc5a5[25]](_0x38b7x55)});_0x38b7x3[_0xc5a5[31]]= _0xc5a5[200];break;default:_0x38b7x3= document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[23],_0x38b7x2);_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];break};_0x38b7x3[_0xc5a5[5]](_0xc5a5[133],_0x38b7x40);var _0x38b7x25=_0x38b7x8[_0xc5a5[50]](_0xc5a5[169]);_0x38b7x25[_0xc5a5[25]](_0x38b7x3);if(mxResources[_0xc5a5[76]](_0xc5a5[202]+ _0x38b7x3f)){var _0x38b7x59=_0x38b7x8[_0xc5a5[50]](_0xc5a5[203]);_0x38b7x59[_0xc5a5[31]]= _0xc5a5[204];mxUtils[_0xc5a5[78]](_0x38b7x59,mxResources[_0xc5a5[76]](_0xc5a5[202]+ _0x38b7x3f));_0x38b7x25[_0xc5a5[25]](_0x38b7x59)};_0x38b7x50[_0xc5a5[25]](_0x38b7x25);_0x38b7x4f[_0xc5a5[25]](_0x38b7x50)};_0x38b7x2a[_0xc5a5[25]](_0x38b7x4f);if(_0x38b7x53[_0xc5a5[23]][_0xc5a5[177]]== _0xc5a5[1]){if(_0x38b7x53[_0xc5a5[205]]){for(var _0x38b7x47=0;_0x38b7x47< _0x38b7x53[_0xc5a5[205]][_0xc5a5[141]];_0x38b7x47++){var _0x38b7x5a=_0xc5a5[40];var _0x38b7x5b=_0xc5a5[40];_[_0xc5a5[28]](_0x38b7x53[_0xc5a5[205]][_0x38b7x47][_0xc5a5[23]][_0xc5a5[179]],function(_0x38b7x5c){if(_0x38b7x5c[_0xc5a5[125]]== _0xc5a5[3]){_0x38b7x5a= _0x38b7x5c[_0xc5a5[23]]}else {if(_0x38b7x5c[_0xc5a5[125]]== _0xc5a5[130]){_0x38b7x5b= _0x38b7x5c[_0xc5a5[23]]}}});var _0x38b7x58=createDynamicInput(_0x38b7x5a,_0x38b7x5b,_0x38b7x8);_0x38b7x55[_0xc5a5[25]](_0x38b7x58)}}};_0x38b7x2a[_0xc5a5[25]](_0x38b7x55);var _0x38b7x37=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[135]),mxUtils[_0xc5a5[103]](this,function(_0x38b7x38){for(var _0x38b7x57=0;_0x38b7x57< _0x38b7x53[_0xc5a5[23]][_0xc5a5[179]][_0xc5a5[141]];_0x38b7x57++){var _0x38b7x40=_0xc5a5[126]+ _0x38b7x53[_0xc5a5[23]][_0xc5a5[179]][_0x38b7x57][_0xc5a5[125]];var _0x38b7x3f=_0x38b7x53[_0xc5a5[23]][_0xc5a5[179]][_0x38b7x57][_0xc5a5[125]];console[_0xc5a5[94]](_0x38b7x3f);_0x38b7x53[_0xc5a5[5]](_0x38b7x3f,document[_0xc5a5[206]](_0x38b7x40)[_0xc5a5[23]]);console[_0xc5a5[94]](document[_0xc5a5[206]](_0x38b7x40)[_0xc5a5[23]])};if(_0x38b7x53[_0xc5a5[23]][_0xc5a5[177]]== _0xc5a5[1]){if(_0x38b7x54[_0xc5a5[208]][_0xc5a5[207]](_0x38b7x53)){_0x38b7x53[_0xc5a5[205]]= []};if(document[_0xc5a5[206]](_0xc5a5[178])){var _0x38b7x55=document[_0xc5a5[206]](_0xc5a5[178])[_0xc5a5[205]];for(var _0x38b7x47=0;_0x38b7x47< _0x38b7x55[_0xc5a5[141]];_0x38b7x47++){var _0x38b7x5d=_0x38b7x55[_0x38b7x47][_0xc5a5[205]][1];var _0x38b7x5e=_0x38b7x55[_0x38b7x47][_0xc5a5[205]][0];var _0x38b7x39=mxUtils[_0xc5a5[209]]();var _0x38b7x5f=_0x38b7x39[_0xc5a5[2]](_0xc5a5[178]);_0x38b7x5f[_0xc5a5[5]](_0xc5a5[3],_0x38b7x55[_0x38b7x47][_0xc5a5[210]](_0xc5a5[19])[0][_0xc5a5[23]]);_0x38b7x5f[_0xc5a5[5]](_0xc5a5[130],_0x38b7x55[_0x38b7x47][_0xc5a5[210]](_0xc5a5[1])[0][_0xc5a5[23]]);var _0x38b7x60= new mxCell(_0x38b7x5f);_0x38b7x54[_0xc5a5[208]][_0xc5a5[201]](_0x38b7x53,_0x38b7x60)}}};_0x38b7x54[_0xc5a5[211]](_0x38b7x53);_0x38b7x8[_0xc5a5[79]]()}));_0x38b7x37[_0xc5a5[31]]= _0xc5a5[104];var _0x38b7x3a=mxUtils[_0xc5a5[80]](mxResources[_0xc5a5[76]](_0xc5a5[105]),function(){_0x38b7x8[_0xc5a5[79]]()});_0x38b7x3a[_0xc5a5[31]]= _0xc5a5[106];_0x38b7x2b[_0xc5a5[25]](_0x38b7x37);_0x38b7x2b[_0xc5a5[25]](_0x38b7x3a);_0x38b7x28[_0xc5a5[25]](_0x38b7x29);_0x38b7x28[_0xc5a5[25]](_0x38b7x2a);_0x38b7x28[_0xc5a5[25]](_0x38b7x2b);this[_0xc5a5[64]]= _0x38b7x28}function createDynamicInput(_0x38b7x5a,_0x38b7x5b,_0x38b7x8){var _0x38b7x58=_0x38b7x8[_0xc5a5[50]](_0xc5a5[180]);var _0x38b7x2f=_0x38b7x8[_0xc5a5[50]](_0xc5a5[212]);var _0x38b7x41=_0x38b7x8[_0xc5a5[50]](_0xc5a5[212]);var _0x38b7x62=_0x38b7x8[_0xc5a5[50]](_0xc5a5[213]);var _0x38b7x3=document[_0xc5a5[2]](_0xc5a5[1]);_0x38b7x3[_0xc5a5[5]](_0xc5a5[191],_0xc5a5[214]);_0x38b7x3[_0xc5a5[23]]= _0x38b7x5b;_0x38b7x3[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x2f[_0xc5a5[25]](_0x38b7x3);var _0x38b7x43=document[_0xc5a5[2]](_0xc5a5[19]);var _0x38b7xd=document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0xc5a5[22];_0x38b7xd[_0xc5a5[23]]= _0xc5a5[40];_0x38b7x43[_0xc5a5[25]](_0x38b7xd);var _0x38b7x13=[_0xc5a5[21],_0xc5a5[215],_0xc5a5[83],_0xc5a5[4]];_0x38b7x13[_0xc5a5[28]](function(_0x38b7xe){_0x38b7xd= document[_0xc5a5[2]](_0xc5a5[20]);_0x38b7xd[_0xc5a5[21]]= _0x38b7xe;_0x38b7xd[_0xc5a5[23]]= _0x38b7xe;_0x38b7xd[_0xc5a5[29]]= (_0x38b7xe== _0x38b7x5a);_0x38b7x43[_0xc5a5[25]](_0x38b7xd)});_0x38b7x43[_0xc5a5[31]]= _0xc5a5[134];_0x38b7x41[_0xc5a5[25]](_0x38b7x43);var _0x38b7x63=mxUtils[_0xc5a5[80]](_0xc5a5[216],function(){var _0x38b7x64=_0x38b7x63[_0xc5a5[217]];var _0x38b7x65=_0x38b7x64[_0xc5a5[217]];document[_0xc5a5[206]](_0xc5a5[178])[_0xc5a5[67]](_0x38b7x65)});_0x38b7x63[_0xc5a5[31]]= _0xc5a5[218];_0x38b7x62[_0xc5a5[25]](_0x38b7x63);_0x38b7x58[_0xc5a5[25]](_0x38b7x2f);_0x38b7x58[_0xc5a5[25]](_0x38b7x41);_0x38b7x58[_0xc5a5[25]](_0x38b7x62);return _0x38b7x58} \ 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 ea4576a..bdb4069 100644 --- a/public/assets/plugins/jscripty/js/Editor.js +++ b/public/assets/plugins/jscripty/js/Editor.js @@ -1 +1 @@ -var _0xaf90=["\x49\x53\x5F\x54\x4F\x55\x43\x48","\x73\x74\x6F\x72\x61\x67\x65","\x6C\x6F\x63\x61\x6C","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x46\x69\x6C\x65","\x46\x69\x6C\x65\x52\x65\x61\x64\x65\x72","\x46\x69\x6C\x65\x4C\x69\x73\x74","\x74\x6F\x75\x63\x68","\x31","\x6F\x70\x65\x6E\x65\x72","\x63\x6F\x75\x6E\x74\x65\x72","\x63\x61\x6C\x6C","\x69\x6E\x69\x74","\x69\x6E\x69\x74\x53\x74\x65\x6E\x63\x69\x6C\x52\x65\x67\x69\x73\x74\x72\x79","\x67\x72\x61\x70\x68","\x6F\x75\x74\x6C\x69\x6E\x65","\x75\x70\x64\x61\x74\x65\x4F\x6E\x50\x61\x6E","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x55\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x74\x61\x74\x75\x73","","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x64\x72\x61\x77\x69\x6E\x67","\x67\x65\x74","\x2E\x78\x6D\x6C","\x67\x65\x74\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x67\x72\x61\x70\x68\x43\x68\x61\x6E\x67\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x70\x70\x6C\x79","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6F\x6E\x62\x65\x66\x6F\x72\x65\x75\x6E\x6C\x6F\x61\x64","\x61\x6C\x6C\x43\x68\x61\x6E\x67\x65\x73\x4C\x6F\x73\x74","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x65\x78\x74\x65\x6E\x64","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x2F\x67\x72\x69\x64\x2E\x67\x69\x66","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x73\x63\x61\x6C\x65","\x76\x69\x65\x77","\x67\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x69\x64","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x30","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x67\x75\x69\x64\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x66\x6F\x6C\x64","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x78","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x64\x78","\x79","\x64\x79","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x70\x61\x67\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x70\x61\x67\x65\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x63\x6F\x64\x65","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x65\x6E\x63\x6F\x64\x65","\x72\x6F\x75\x6E\x64","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x6E\x6F\x6E\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x66\x69\x6C\x6C","\x72\x65\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x23\x65\x62\x65\x62\x65\x62","\x62\x6F\x72\x64\x65\x72\x53\x74\x79\x6C\x65","\x73\x6F\x6C\x69\x64","\x62\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x23\x65\x35\x65\x35\x65\x35","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70\x57\x69\x64\x74\x68","\x31\x70\x78","\x62\x6F\x72\x64\x65\x72\x4C\x65\x66\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x52\x69\x67\x68\x74\x57\x69\x64\x74\x68","\x30\x70\x78","\x62\x6F\x72\x64\x65\x72\x42\x6F\x74\x74\x6F\x6D\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72","\x76\x61\x6C\x69\x64\x61\x74\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x61\x75\x74\x6F","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x6E\x6F\x64\x65","\x49\x53\x5F\x49\x45\x36","\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x2F\x67\x72\x61\x70\x68\x65\x64\x69\x74\x6F\x72\x2D\x69\x65\x36\x2E\x63\x73\x73","\x6C\x69\x6E\x6B","\x6C\x6F\x61\x64\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x61\x64\x64","\x44\x45\x46\x41\x55\x4C\x54\x5F\x48\x4F\x54\x53\x50\x4F\x54","\x63\x72\x65\x61\x74\x65\x4D\x61\x72\x6B\x65\x72","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6E\x67","\x53\x48\x41\x44\x4F\x57\x43\x4F\x4C\x4F\x52","\x23\x64\x30\x64\x30\x64\x30","\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x39\x39\x63\x63\x66\x66","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x38\x38\x63\x66","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x61\x38\x66\x66","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x63\x65\x65\x37\x66\x66","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x44\x45\x46\x41\x55\x4C\x54\x5F\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x47\x55\x49\x44\x45\x5F\x43\x4F\x4C\x4F\x52","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x43\x6F\x6C\x6F\x72","\x23\x63\x30\x63\x30\x63\x30","\x64\x65\x66\x61\x75\x6C\x74\x4F\x70\x61\x63\x69\x74\x79","\x63\x72\x65\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x77\x68\x69\x74\x65","\x23\x63\x61\x63\x61\x63\x61","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x6D\x61\x78","\x63\x65\x69\x6C","\x70\x61\x6E\x47\x72\x61\x70\x68","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x61\x72\x67\x69\x6E\x4C\x65\x66\x74","\x70\x78","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x6D\x61\x67\x65","\x73\x72\x63","\x64\x65\x73\x74\x72\x6F\x79","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x72\x65\x64\x72\x61\x77","\x72\x65\x64\x72\x61\x77\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x73\x53\x68\x61\x64\x6F\x77","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x54\x52\x49\x43\x54\x48\x54\x4D\x4C","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x64\x62\x6C\x63\x6C\x69\x63\x6B","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x69\x73\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x68\x69\x64\x65","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x62\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x6D\x69\x6E\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x69\x73\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x70\x6F\x69\x6E\x74\x73","\x69\x73\x44\x61\x73\x68\x65\x64","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x61\x73\x68\x65\x64","\x61\x64\x64\x50\x69\x70\x65","\x73\x70\x6C\x69\x63\x65","\x76\x65\x72\x74\x69\x63\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x73\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x73\x68\x6F\x75\x6C\x64\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x72\x65\x6C\x61\x74\x69\x76\x65","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x41\x6C\x74\x44\x6F\x77\x6E","\x61\x64\x64\x49\x74\x65\x6D","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6F\x6E\x73\x75\x6D\x65","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x69\x73\x44\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x44\x65\x6C\x61\x79\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x63\x65\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x46\x6F\x72\x50\x6F\x70\x75\x70\x45\x76\x65\x6E\x74","\x65\x64\x69\x74","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x79","\x75\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74\x48\x61\x70\x70\x65\x6E\x65\x64","\x67\x65\x74\x56\x69\x65\x77","\x63\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x74\x61\x74\x65","\x70\x75\x73\x68","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x6C\x69\x62\x72\x61\x72\x69\x65\x73","\x70\x61\x63\x6B\x61\x67\x65\x73","\x67\x65\x74\x53\x74\x65\x6E\x63\x69\x6C","\x73\x74\x65\x6E\x63\x69\x6C\x73","\x67\x65\x74\x42\x61\x73\x65\x6E\x61\x6D\x65\x46\x6F\x72\x53\x74\x65\x6E\x63\x69\x6C","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x2E\x6A\x73","\x6C\x6F\x61\x64","\x67\x65\x74\x54\x65\x78\x74","\x2F","\x2E","\x73\x70\x6C\x69\x74","\x6D\x78\x67\x72\x61\x70\x68","\x67\x65\x74\x58\x6D\x6C","\x70\x61\x72\x73\x65\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x6E\x6F\x64\x65\x54\x79\x70\x65","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x45\x4C\x45\x4D\x45\x4E\x54","\x5F","\x72\x65\x70\x6C\x61\x63\x65","\x61\x64\x64\x53\x74\x65\x6E\x63\x69\x6C","\x77","\x68","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x70\x72\x6F\x64\x75\x63\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x72","\x64\x6F\x6E\x65","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x65\x78\x65\x63\x75\x74\x65","\x73\x65\x74\x44\x61\x74\x61","\x64\x61\x74\x61","\x65\x72\x72\x6F\x72","\x63\x61\x6E\x63\x65\x6C","\x61\x6C\x65\x72\x74"];var useLocalStorage=(mxClient[_0xaf90[0]]|| urlParams[_0xaf90[1]]== _0xaf90[2])&& typeof (localStorage)!= _0xaf90[3];var fileSupport=window[_0xaf90[4]]!= null&& window[_0xaf90[5]]!= null&& window[_0xaf90[6]]!= null;var touchStyle=mxClient[_0xaf90[0]]|| urlParams[_0xaf90[7]]== _0xaf90[8];var counter=0;try{var op=window;while(op[_0xaf90[9]]!= null&& !isNaN(op[_0xaf90[9]][_0xaf90[10]])){op= op[_0xaf90[9]]};if(op!= null){op[_0xaf90[10]]++;counter= op[_0xaf90[10]]}}catch(e){};Editor= function(){mxEventSource[_0xaf90[11]](this);this[_0xaf90[12]]();this[_0xaf90[13]]();this[_0xaf90[14]]= new Graph();this[_0xaf90[15]]= new mxOutline(this[_0xaf90[14]]);this[_0xaf90[15]][_0xaf90[16]]= true;this[_0xaf90[17]]= this[_0xaf90[18]]();this[_0xaf90[19]]= _0xaf90[20];this[_0xaf90[21]]= null;this[_0xaf90[22]]= function(){return this[_0xaf90[21]]|| mxResources[_0xaf90[24]](_0xaf90[23],[counter])+ _0xaf90[25]};this[_0xaf90[26]]= function(){return this[_0xaf90[21]]};this[_0xaf90[27]]= function(_0x85d5x6){this[_0xaf90[19]]= _0x85d5x6;this[_0xaf90[29]]( new mxEventObject(_0xaf90[28]))};this[_0xaf90[30]]= function(){return this[_0xaf90[19]]};this[_0xaf90[31]]= false;this[_0xaf90[32]]= function(){this[_0xaf90[31]]= true};this[_0xaf90[14]][_0xaf90[36]]()[_0xaf90[35]](mxEvent.CHANGE,mxUtils[_0xaf90[34]](this,function(){this[_0xaf90[32]][_0xaf90[33]](this,arguments)}));window[_0xaf90[37]]= mxUtils[_0xaf90[34]](this,function(){if(this[_0xaf90[31]]){return mxResources[_0xaf90[24]](_0xaf90[38])}});this[_0xaf90[14]][_0xaf90[39]]= false;this[_0xaf90[14]][_0xaf90[40]]= true;this[_0xaf90[14]][_0xaf90[41]]= null};mxUtils[_0xaf90[42]](Editor,mxEventSource);Editor[_0xaf90[44]][_0xaf90[43]]= IMAGE_PATH+ _0xaf90[45];Editor[_0xaf90[44]][_0xaf90[46]]= IMAGE_PATH+ _0xaf90[47];Editor[_0xaf90[44]][_0xaf90[48]]= function(_0x85d5x7){var _0x85d5x8= new mxCodec(_0x85d5x7[_0xaf90[49]]);if(_0x85d5x7[_0xaf90[50]]== _0xaf90[51]){this[_0xaf90[14]][_0xaf90[53]][_0xaf90[52]]= 1;this[_0xaf90[14]][_0xaf90[54]]= _0x85d5x7[_0xaf90[56]](_0xaf90[55])!= _0xaf90[57];this[_0xaf90[14]][_0xaf90[59]][_0xaf90[58]]= _0x85d5x7[_0xaf90[56]](_0xaf90[60])!= _0xaf90[57];this[_0xaf90[14]][_0xaf90[62]](_0x85d5x7[_0xaf90[56]](_0xaf90[61])!= _0xaf90[57]);this[_0xaf90[14]][_0xaf90[64]](_0x85d5x7[_0xaf90[56]](_0xaf90[63])!= _0xaf90[57]);this[_0xaf90[14]][_0xaf90[65]]= _0x85d5x7[_0xaf90[56]](_0xaf90[66])!= _0xaf90[57];this[_0xaf90[14]][_0xaf90[40]]= _0x85d5x7[_0xaf90[56]](_0xaf90[40])!= _0xaf90[57];if(!this[_0xaf90[14]][_0xaf90[40]]){this[_0xaf90[14]][_0xaf90[68]][_0xaf90[67]]= 0;this[_0xaf90[14]][_0xaf90[68]][_0xaf90[69]]= 0;this[_0xaf90[14]][_0xaf90[53]][_0xaf90[71]][_0xaf90[70]]= Number(_0x85d5x7[_0xaf90[56]](_0xaf90[72])|| 0);this[_0xaf90[14]][_0xaf90[53]][_0xaf90[71]][_0xaf90[73]]= Number(_0x85d5x7[_0xaf90[56]](_0xaf90[74])|| 0)};this[_0xaf90[14]][_0xaf90[75]]= _0x85d5x7[_0xaf90[56]](_0xaf90[76])== _0xaf90[8];this[_0xaf90[14]][_0xaf90[77]]= this[_0xaf90[14]][_0xaf90[75]];this[_0xaf90[14]][_0xaf90[78]]= this[_0xaf90[14]][_0xaf90[77]];var _0x85d5x9=_0x85d5x7[_0xaf90[56]](_0xaf90[79]);if(_0x85d5x9!= null){this[_0xaf90[14]][_0xaf90[79]]= _0x85d5x9}else {this[_0xaf90[14]][_0xaf90[79]]= 1.5};var _0x85d5xa=_0x85d5x7[_0xaf90[56]](_0xaf90[80]);var _0x85d5xb=_0x85d5x7[_0xaf90[56]](_0xaf90[81]);if(_0x85d5xa!= null&& _0x85d5xb!= null){this[_0xaf90[14]][_0xaf90[82]]= new mxRectangle(0,0,parseFloat(_0x85d5xa),parseFloat(_0x85d5xb));this[_0xaf90[15]][_0xaf90[15]][_0xaf90[82]]= this[_0xaf90[14]][_0xaf90[82]]};var _0x85d5xc=_0x85d5x7[_0xaf90[56]](_0xaf90[41]);if(_0x85d5xc!= null&& _0x85d5xc[_0xaf90[83]]> 0){this[_0xaf90[14]][_0xaf90[41]]= _0x85d5xc};_0x85d5x8[_0xaf90[84]](_0x85d5x7,this[_0xaf90[14]][_0xaf90[36]]());this[_0xaf90[85]]()}};Editor[_0xaf90[44]][_0xaf90[86]]= function(){var _0x85d5xd= new mxCodec(mxUtils[_0xaf90[87]]());var _0x85d5x7=_0x85d5xd[_0xaf90[88]](this[_0xaf90[14]][_0xaf90[36]]());if(this[_0xaf90[14]][_0xaf90[53]][_0xaf90[71]][_0xaf90[70]]!= 0|| this[_0xaf90[14]][_0xaf90[53]][_0xaf90[71]][_0xaf90[73]]!= 0){_0x85d5x7[_0xaf90[90]](_0xaf90[72],Math[_0xaf90[89]](this[_0xaf90[14]][_0xaf90[53]][_0xaf90[71]][_0xaf90[70]]* 100)/ 100);_0x85d5x7[_0xaf90[90]](_0xaf90[74],Math[_0xaf90[89]](this[_0xaf90[14]][_0xaf90[53]][_0xaf90[71]][_0xaf90[73]]* 100)/ 100)};_0x85d5x7[_0xaf90[90]](_0xaf90[55],(this[_0xaf90[14]][_0xaf90[91]]())?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[60],(this[_0xaf90[14]][_0xaf90[59]][_0xaf90[58]])?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[60],(this[_0xaf90[14]][_0xaf90[59]][_0xaf90[58]])?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[61],(this[_0xaf90[14]][_0xaf90[93]][_0xaf90[92]]())?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[63],(this[_0xaf90[14]][_0xaf90[94]][_0xaf90[92]]())?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[66],(this[_0xaf90[14]][_0xaf90[65]])?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[76],(this[_0xaf90[14]][_0xaf90[75]])?_0xaf90[8]:_0xaf90[57]);_0x85d5x7[_0xaf90[90]](_0xaf90[79],this[_0xaf90[14]][_0xaf90[79]]);_0x85d5x7[_0xaf90[90]](_0xaf90[80],this[_0xaf90[14]][_0xaf90[82]][_0xaf90[95]]);_0x85d5x7[_0xaf90[90]](_0xaf90[81],this[_0xaf90[14]][_0xaf90[82]][_0xaf90[96]]);if(!this[_0xaf90[14]][_0xaf90[40]]){_0x85d5x7[_0xaf90[90]](_0xaf90[40],_0xaf90[57])};if(this[_0xaf90[14]][_0xaf90[41]]!= null){_0x85d5x7[_0xaf90[90]](_0xaf90[41],this[_0xaf90[14]][_0xaf90[41]])};return _0x85d5x7};Editor[_0xaf90[44]][_0xaf90[85]]= function(){var _0x85d5xe=this[_0xaf90[14]];var _0x85d5xf=this[_0xaf90[15]];if(_0x85d5xe[_0xaf90[68]]!= null&& _0x85d5xf[_0xaf90[15]][_0xaf90[68]]!= null){if(_0x85d5xe[_0xaf90[41]]!= null){if(_0x85d5xe[_0xaf90[41]]== _0xaf90[97]){_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[98]]= _0xaf90[100]}else {if(_0x85d5xe[_0xaf90[53]][_0xaf90[101]]!= null){_0x85d5xe[_0xaf90[53]][_0xaf90[101]][_0xaf90[102]]= _0x85d5xe[_0xaf90[41]];_0x85d5xe[_0xaf90[53]][_0xaf90[101]][_0xaf90[103]]()};_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[98]]= _0x85d5xe[_0xaf90[41]]}}else {_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[98]]= _0xaf90[20]};if(_0x85d5xe[_0xaf90[75]]){_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[98]]= _0xaf90[104];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[105]]= _0xaf90[106];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[107]]= _0xaf90[108];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[109]]= _0xaf90[110];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[111]]= _0xaf90[110];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[112]]= _0xaf90[113];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[114]]= _0xaf90[113]}else {_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[115]]= _0xaf90[20]};_0x85d5xf[_0xaf90[15]][_0xaf90[68]][_0xaf90[99]][_0xaf90[98]]= _0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[98]];if(_0x85d5xf[_0xaf90[15]][_0xaf90[75]]!= _0x85d5xe[_0xaf90[75]]|| _0x85d5xf[_0xaf90[15]][_0xaf90[79]]!= _0x85d5xe[_0xaf90[79]]){_0x85d5xf[_0xaf90[15]][_0xaf90[79]]= _0x85d5xe[_0xaf90[79]];_0x85d5xf[_0xaf90[15]][_0xaf90[75]]= _0x85d5xe[_0xaf90[75]];_0x85d5xf[_0xaf90[15]][_0xaf90[53]][_0xaf90[116]]()};if(_0x85d5xe[_0xaf90[40]]&& _0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[117]]== _0xaf90[118]&& !touchStyle){_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[117]]= _0xaf90[119]}else {if(!_0x85d5xe[_0xaf90[40]]|| touchStyle){_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[117]]= _0xaf90[118]}};var _0x85d5x10=(mxClient[_0xaf90[120]]&& document[_0xaf90[121]]>= 9)?_0xaf90[122]+ this[_0xaf90[46]]+ _0xaf90[123]:_0xaf90[97];_0x85d5xe[_0xaf90[68]][_0xaf90[99]][_0xaf90[124]]= (!_0x85d5xe[_0xaf90[75]]&& _0x85d5xe[_0xaf90[91]]())?_0xaf90[122]+ this[_0xaf90[43]]+ _0xaf90[123]:_0x85d5x10;if(_0x85d5xe[_0xaf90[53]][_0xaf90[101]]!= null){_0x85d5xe[_0xaf90[53]][_0xaf90[101]][_0xaf90[125]][_0xaf90[99]][_0xaf90[124]]= (this[_0xaf90[14]][_0xaf90[91]]())?_0xaf90[122]+ this[_0xaf90[43]]+ _0xaf90[123]:_0xaf90[97]}}};Editor[_0xaf90[44]][_0xaf90[12]]= function(){if(mxClient[_0xaf90[126]]){mxClient[_0xaf90[129]](_0xaf90[127],CSS_PATH+ _0xaf90[128])};mxResources[_0xaf90[130]]= false;mxResources[_0xaf90[131]](RESOURCE_BASE);mxConstants[_0xaf90[132]]= 0.3;var _0x85d5x11=mxConnectionHandler[_0xaf90[44]][_0xaf90[133]];mxConnectionHandler[_0xaf90[44]][_0xaf90[133]]= function(){var _0x85d5x12=_0x85d5x11[_0xaf90[33]](this,arguments);_0x85d5x12[_0xaf90[134]]= mxUtils[_0xaf90[34]](this,function(_0x85d5x13,_0x85d5x14){if(this[_0xaf90[135]]()){return true};return mxCellMarker[_0xaf90[44]][_0xaf90[134]][_0xaf90[33]](_0x85d5x12,arguments)});return _0x85d5x12};mxConstants[_0xaf90[136]]= _0xaf90[137];mxConstants[_0xaf90[138]]= _0xaf90[139];mxConstants[_0xaf90[140]]= _0xaf90[141];mxConstants[_0xaf90[142]]= _0xaf90[143];mxConstants[_0xaf90[144]]= _0xaf90[143];mxConstants[_0xaf90[145]]= _0xaf90[139];mxConstants[_0xaf90[146]]= _0xaf90[143];mxConstants[_0xaf90[147]]= _0xaf90[148];mxConstants[_0xaf90[149]]= _0xaf90[143];mxConstants[_0xaf90[150]]= _0xaf90[143];mxConstants[_0xaf90[151]]= _0xaf90[148];mxConstants[_0xaf90[152]]= _0xaf90[141];mxGraph[_0xaf90[44]][_0xaf90[153]]= _0xaf90[154];mxGraph[_0xaf90[44]][_0xaf90[79]]= 1;mxRubberband[_0xaf90[44]][_0xaf90[155]]= 30;mxGraphView[_0xaf90[44]][_0xaf90[156]]= function(_0x85d5x15){return new mxRectangleShape(_0x85d5x15,this[_0xaf90[14]][_0xaf90[41]]|| _0xaf90[157],_0xaf90[158])};mxGraphView[_0xaf90[44]][_0xaf90[159]]= function(){var _0x85d5x16=this[_0xaf90[160]]();var _0x85d5x17=(_0x85d5x16[_0xaf90[95]]> 0)?_0x85d5x16[_0xaf90[70]]/ this[_0xaf90[52]]- this[_0xaf90[71]][_0xaf90[70]]:0;var _0x85d5x18=(_0x85d5x16[_0xaf90[96]]> 0)?_0x85d5x16[_0xaf90[73]]/ this[_0xaf90[52]]- this[_0xaf90[71]][_0xaf90[73]]:0;var _0x85d5x19=_0x85d5x16[_0xaf90[95]]/ this[_0xaf90[52]];var _0x85d5x1a=_0x85d5x16[_0xaf90[96]]/ this[_0xaf90[52]];var _0x85d5x1b=this[_0xaf90[14]][_0xaf90[82]];var _0x85d5x9=this[_0xaf90[14]][_0xaf90[79]];var _0x85d5xa=_0x85d5x1b[_0xaf90[95]]* _0x85d5x9;var _0x85d5xb=_0x85d5x1b[_0xaf90[96]]* _0x85d5x9;var _0x85d5x1c=Math[_0xaf90[162]](Math[_0xaf90[161]](0,_0x85d5x17)/ _0x85d5xa);var _0x85d5x1d=Math[_0xaf90[162]](Math[_0xaf90[161]](0,_0x85d5x18)/ _0x85d5xb);var _0x85d5x1e=Math[_0xaf90[164]](Math[_0xaf90[163]](1,_0x85d5x17+ _0x85d5x19)/ _0x85d5xa);var _0x85d5x1f=Math[_0xaf90[164]](Math[_0xaf90[163]](1,_0x85d5x18+ _0x85d5x1a)/ _0x85d5xb);var _0x85d5x20=_0x85d5x1e- _0x85d5x1c;var _0x85d5x21=_0x85d5x1f- _0x85d5x1d;var _0x85d5x15= new mxRectangle(this[_0xaf90[52]]* (this[_0xaf90[71]][_0xaf90[70]]+ _0x85d5x1c* _0x85d5xa),this[_0xaf90[52]]* (this[_0xaf90[71]][_0xaf90[73]]+ _0x85d5x1d* _0x85d5xb),this[_0xaf90[52]]* _0x85d5x20* _0x85d5xa,this[_0xaf90[52]]* _0x85d5x21* _0x85d5xb);return _0x85d5x15};var _0x85d5x22=mxGraph[_0xaf90[44]][_0xaf90[165]];mxGraph[_0xaf90[44]][_0xaf90[165]]= function(_0x85d5x23,_0x85d5x24){_0x85d5x22[_0xaf90[33]](this,arguments);if((this[_0xaf90[166]]!= mxConstants[_0xaf90[167]]&& this[_0xaf90[53]][_0xaf90[101]]!= null)&& (!this[_0xaf90[168]]|| !mxUtils[_0xaf90[169]](this[_0xaf90[68]]))){this[_0xaf90[53]][_0xaf90[101]][_0xaf90[125]][_0xaf90[99]][_0xaf90[170]]= _0x85d5x23+ _0xaf90[171];this[_0xaf90[53]][_0xaf90[101]][_0xaf90[125]][_0xaf90[99]][_0xaf90[172]]= _0x85d5x24+ _0xaf90[171]}};var _0x85d5x25=this;mxGraphView[_0xaf90[44]][_0xaf90[173]]= function(){var _0x85d5xc=this[_0xaf90[14]][_0xaf90[174]]();if(_0x85d5xc!= null){if(this[_0xaf90[124]]== null|| this[_0xaf90[124]][_0xaf90[175]]!= _0x85d5xc[_0xaf90[176]]){if(this[_0xaf90[124]]!= null){this[_0xaf90[124]][_0xaf90[177]]()};var _0x85d5x15= new mxRectangle(0,0,1,1);this[_0xaf90[124]]= new mxImageShape(_0x85d5x15,_0x85d5xc[_0xaf90[176]]);this[_0xaf90[124]][_0xaf90[166]]= this[_0xaf90[14]][_0xaf90[166]];this[_0xaf90[124]][_0xaf90[12]](this[_0xaf90[178]]);this[_0xaf90[124]][_0xaf90[179]]()};this[_0xaf90[180]](this[_0xaf90[124]],_0x85d5xc)}else {if(this[_0xaf90[124]]!= null){this[_0xaf90[124]][_0xaf90[177]]();this[_0xaf90[124]]= null}};if(this[_0xaf90[14]][_0xaf90[75]]){var _0x85d5x15=this[_0xaf90[159]]();if(this[_0xaf90[101]]== null){this[_0xaf90[101]]= this[_0xaf90[156]](_0x85d5x15);this[_0xaf90[101]][_0xaf90[52]]= 1;this[_0xaf90[101]][_0xaf90[181]]= true;this[_0xaf90[101]][_0xaf90[166]]= mxConstants[_0xaf90[182]];this[_0xaf90[101]][_0xaf90[12]](this[_0xaf90[14]][_0xaf90[68]]);this[_0xaf90[14]][_0xaf90[68]][_0xaf90[184]][_0xaf90[99]][_0xaf90[183]]= _0xaf90[185];this[_0xaf90[14]][_0xaf90[68]][_0xaf90[186]](this[_0xaf90[101]][_0xaf90[125]],this[_0xaf90[14]][_0xaf90[68]][_0xaf90[184]]);this[_0xaf90[101]][_0xaf90[179]]();this[_0xaf90[101]][_0xaf90[125]][_0xaf90[187]]= _0xaf90[188];this[_0xaf90[101]][_0xaf90[125]][_0xaf90[99]][_0xaf90[189]]= _0xaf90[190];mxEvent[_0xaf90[35]](this[_0xaf90[101]][_0xaf90[125]],_0xaf90[191],mxUtils[_0xaf90[34]](this,function(_0x85d5x14){this[_0xaf90[14]][_0xaf90[192]](_0x85d5x14)}));mxEvent[_0xaf90[198]](this[_0xaf90[101]][_0xaf90[125]],mxUtils[_0xaf90[34]](this,function(_0x85d5x14){this[_0xaf90[14]][_0xaf90[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x85d5x14))}),mxUtils[_0xaf90[34]](this,function(_0x85d5x14){if(this[_0xaf90[14]][_0xaf90[93]]!= null&& this[_0xaf90[14]][_0xaf90[93]][_0xaf90[194]]()){this[_0xaf90[14]][_0xaf90[93]][_0xaf90[195]]()};if(this[_0xaf90[14]][_0xaf90[196]]&& !mxEvent[_0xaf90[197]](_0x85d5x14)){this[_0xaf90[14]][_0xaf90[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x85d5x14))}}),mxUtils[_0xaf90[34]](this,function(_0x85d5x14){this[_0xaf90[14]][_0xaf90[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x85d5x14))}))}else {this[_0xaf90[101]][_0xaf90[52]]= 1;this[_0xaf90[101]][_0xaf90[199]]= _0x85d5x15;this[_0xaf90[101]][_0xaf90[179]]()};this[_0xaf90[101]][_0xaf90[125]][_0xaf90[99]][_0xaf90[124]]= (this[_0xaf90[14]][_0xaf90[91]]())?_0xaf90[122]+ _0x85d5x25[_0xaf90[43]]+ _0xaf90[123]:_0xaf90[97]}else {if(this[_0xaf90[101]]!= null){this[_0xaf90[101]][_0xaf90[177]]();this[_0xaf90[101]]= null}}};mxGraph[_0xaf90[44]][_0xaf90[200]]= function(_0x85d5x26,_0x85d5x27,_0x85d5x28){var _0x85d5x29=this[_0xaf90[53]][_0xaf90[52]];var _0x85d5x2a=this[_0xaf90[53]][_0xaf90[71]];var _0x85d5x1b=this[_0xaf90[82]];var _0x85d5x9=_0x85d5x29* this[_0xaf90[79]];var _0x85d5x2b=this[_0xaf90[53]][_0xaf90[159]]();_0x85d5x27= _0x85d5x2b[_0xaf90[95]];_0x85d5x28= _0x85d5x2b[_0xaf90[96]];var _0x85d5x15= new mxRectangle(_0x85d5x29* _0x85d5x2a[_0xaf90[70]],_0x85d5x29* _0x85d5x2a[_0xaf90[73]],_0x85d5x1b[_0xaf90[95]]* _0x85d5x9,_0x85d5x1b[_0xaf90[96]]* _0x85d5x9);_0x85d5x26= _0x85d5x26&& Math[_0xaf90[161]](_0x85d5x15[_0xaf90[95]],_0x85d5x15[_0xaf90[96]])> this[_0xaf90[201]];var _0x85d5x2c=(_0x85d5x26)?Math[_0xaf90[164]](_0x85d5x27/ _0x85d5x15[_0xaf90[95]])- 1:0;var _0x85d5x2d=(_0x85d5x26)?Math[_0xaf90[164]](_0x85d5x28/ _0x85d5x15[_0xaf90[96]])- 1:0;var _0x85d5x2e=_0x85d5x2b[_0xaf90[70]]+ _0x85d5x27;var _0x85d5x2f=_0x85d5x2b[_0xaf90[73]]+ _0x85d5x28;if(this[_0xaf90[202]]== null&& _0x85d5x2c> 0){this[_0xaf90[202]]= []};if(this[_0xaf90[202]]!= null){for(var _0x85d5x30=0;_0x85d5x30<= _0x85d5x2c;_0x85d5x30++){var _0x85d5x31=[ new mxPoint(_0x85d5x2b[_0xaf90[70]]+ (_0x85d5x30+ 1)* _0x85d5x15[_0xaf90[95]],_0x85d5x2b[_0xaf90[73]]), new mxPoint(_0x85d5x2b[_0xaf90[70]]+ (_0x85d5x30+ 1)* _0x85d5x15[_0xaf90[95]],_0x85d5x2f)];if(this[_0xaf90[202]][_0x85d5x30]!= null){this[_0xaf90[202]][_0x85d5x30][_0xaf90[52]]= 1;this[_0xaf90[202]][_0x85d5x30][_0xaf90[203]]= _0x85d5x31;this[_0xaf90[202]][_0x85d5x30][_0xaf90[179]]()}else {var _0x85d5x32= new mxPolyline(_0x85d5x31,this[_0xaf90[153]],this[_0xaf90[52]]);_0x85d5x32[_0xaf90[166]]= this[_0xaf90[166]];_0x85d5x32[_0xaf90[204]]= this[_0xaf90[205]];_0x85d5x32[_0xaf90[206]]= false;_0x85d5x32[_0xaf90[52]]= _0x85d5x29;_0x85d5x32[_0xaf90[12]](this[_0xaf90[53]][_0xaf90[178]]);_0x85d5x32[_0xaf90[179]]();this[_0xaf90[202]][_0x85d5x30]= _0x85d5x32}};for(var _0x85d5x30=_0x85d5x2c;_0x85d5x30< this[_0xaf90[202]][_0xaf90[83]];_0x85d5x30++){this[_0xaf90[202]][_0x85d5x30][_0xaf90[177]]()};this[_0xaf90[202]][_0xaf90[207]](_0x85d5x2c,this[_0xaf90[202]][_0xaf90[83]]- _0x85d5x2c)};if(this[_0xaf90[208]]== null&& _0x85d5x2d> 0){this[_0xaf90[208]]= []};if(this[_0xaf90[208]]!= null){for(var _0x85d5x30=0;_0x85d5x30<= _0x85d5x2d;_0x85d5x30++){var _0x85d5x31=[ new mxPoint(_0x85d5x2b[_0xaf90[70]],_0x85d5x2b[_0xaf90[73]]+ (_0x85d5x30+ 1)* _0x85d5x15[_0xaf90[96]]), new mxPoint(_0x85d5x2e,_0x85d5x2b[_0xaf90[73]]+ (_0x85d5x30+ 1)* _0x85d5x15[_0xaf90[96]])];if(this[_0xaf90[208]][_0x85d5x30]!= null){this[_0xaf90[208]][_0x85d5x30][_0xaf90[52]]= 1;this[_0xaf90[208]][_0x85d5x30][_0xaf90[203]]= _0x85d5x31;this[_0xaf90[208]][_0x85d5x30][_0xaf90[179]]()}else {var _0x85d5x32= new mxPolyline(_0x85d5x31,this[_0xaf90[153]],_0x85d5x29);_0x85d5x32[_0xaf90[166]]= this[_0xaf90[166]];_0x85d5x32[_0xaf90[204]]= this[_0xaf90[205]];_0x85d5x32[_0xaf90[206]]= false;_0x85d5x32[_0xaf90[52]]= _0x85d5x29;_0x85d5x32[_0xaf90[12]](this[_0xaf90[53]][_0xaf90[178]]);_0x85d5x32[_0xaf90[179]]();this[_0xaf90[208]][_0x85d5x30]= _0x85d5x32}};for(var _0x85d5x30=_0x85d5x2d;_0x85d5x30< this[_0xaf90[208]][_0xaf90[83]];_0x85d5x30++){this[_0xaf90[208]][_0x85d5x30][_0xaf90[177]]()};this[_0xaf90[208]][_0xaf90[207]](_0x85d5x2d,this[_0xaf90[208]][_0xaf90[83]]- _0x85d5x2d)}};mxEdgeHandler[_0xaf90[44]][_0xaf90[209]]= true;mxGraphHandler[_0xaf90[44]][_0xaf90[58]]= true;var _0x85d5x33=mxGraphHandler[_0xaf90[44]][_0xaf90[210]];mxGraphHandler[_0xaf90[44]][_0xaf90[210]]= function(_0x85d5x34,_0x85d5x35,_0x85d5x14){for(var _0x85d5x30=0;_0x85d5x30< _0x85d5x35[_0xaf90[83]];_0x85d5x30++){if(this[_0xaf90[14]][_0xaf90[36]]()[_0xaf90[211]](_0x85d5x35[_0x85d5x30])){var _0x85d5x36=this[_0xaf90[14]][_0xaf90[212]](_0x85d5x35[_0x85d5x30]);if(_0x85d5x36!= null&& _0x85d5x36[_0xaf90[213]]){return false}}};return _0x85d5x33[_0xaf90[33]](this,arguments)};mxGuide[_0xaf90[44]][_0xaf90[214]]= function(_0x85d5x14){return !mxEvent[_0xaf90[215]](_0x85d5x14)};mxPopupMenuAddItem= mxPopupMenu[_0xaf90[44]][_0xaf90[216]];mxPopupMenu[_0xaf90[44]][_0xaf90[216]]= function(_0x85d5x37,_0x85d5x38,_0x85d5x39,_0x85d5x34,_0x85d5x3a,_0x85d5x3b){var _0x85d5x3c=mxPopupMenuAddItem[_0xaf90[33]](this,arguments);if(_0x85d5x3b!= null&& !_0x85d5x3b){mxEvent[_0xaf90[35]](_0x85d5x3c,_0xaf90[217],function(_0x85d5x14){mxEvent[_0xaf90[218]](_0x85d5x14)})};return _0x85d5x3c};var _0x85d5x3d=mxGraphHandler[_0xaf90[44]][_0xaf90[219]];mxGraphHandler[_0xaf90[44]][_0xaf90[219]]= function(_0x85d5x3e){var _0x85d5x3f=this[_0xaf90[14]][_0xaf90[36]]();var _0x85d5x40=_0x85d5x3f[_0xaf90[221]](this[_0xaf90[14]][_0xaf90[220]]());var _0x85d5x41=_0x85d5x3d[_0xaf90[33]](this,arguments);var _0x85d5x34=_0x85d5x3f[_0xaf90[221]](_0x85d5x41);if(_0x85d5x40== null|| (_0x85d5x40!= _0x85d5x41&& _0x85d5x40!= _0x85d5x34)){while(!this[_0xaf90[14]][_0xaf90[222]](_0x85d5x41)&& !this[_0xaf90[14]][_0xaf90[222]](_0x85d5x34)&& _0x85d5x3f[_0xaf90[211]](_0x85d5x34)&& !this[_0xaf90[14]][_0xaf90[223]](_0x85d5x34)){_0x85d5x41= _0x85d5x34;_0x85d5x34= this[_0xaf90[14]][_0xaf90[36]]()[_0xaf90[221]](_0x85d5x41)}};return _0x85d5x41};var _0x85d5x42=mxGraphHandler[_0xaf90[44]][_0xaf90[224]];mxGraphHandler[_0xaf90[44]][_0xaf90[224]]= function(_0x85d5x41){var _0x85d5x3c=_0x85d5x42[_0xaf90[33]](this,arguments);var _0x85d5x3f=this[_0xaf90[14]][_0xaf90[36]]();var _0x85d5x40=_0x85d5x3f[_0xaf90[221]](this[_0xaf90[14]][_0xaf90[220]]());var _0x85d5x34=_0x85d5x3f[_0xaf90[221]](_0x85d5x41);if(_0x85d5x40== null|| (_0x85d5x40!= _0x85d5x41&& _0x85d5x40!= _0x85d5x34)){if(!this[_0xaf90[14]][_0xaf90[222]](_0x85d5x41)&& _0x85d5x3f[_0xaf90[211]](_0x85d5x34)&& !this[_0xaf90[14]][_0xaf90[223]](_0x85d5x34)){_0x85d5x3c= true}};return _0x85d5x3c};mxGraphHandler[_0xaf90[44]][_0xaf90[225]]= function(_0x85d5x3e){var _0x85d5x41=_0x85d5x3e[_0xaf90[226]]();if(_0x85d5x41== null){_0x85d5x41= this[_0xaf90[227]]};var _0x85d5x3f=this[_0xaf90[14]][_0xaf90[36]]();var _0x85d5x34=_0x85d5x3f[_0xaf90[221]](_0x85d5x41);while(this[_0xaf90[14]][_0xaf90[222]](_0x85d5x41)&& _0x85d5x3f[_0xaf90[211]](_0x85d5x34)&& !this[_0xaf90[14]][_0xaf90[223]](_0x85d5x34)){_0x85d5x41= _0x85d5x34;_0x85d5x34= _0x85d5x3f[_0xaf90[221]](_0x85d5x41)};this[_0xaf90[14]][_0xaf90[229]](_0x85d5x41,_0x85d5x3e[_0xaf90[228]]())};mxPanningHandler[_0xaf90[44]][_0xaf90[230]]= function(_0x85d5x3e){var _0x85d5x41=_0x85d5x3e[_0xaf90[226]]();var _0x85d5x3f=this[_0xaf90[14]][_0xaf90[36]]();var _0x85d5x34=_0x85d5x3f[_0xaf90[221]](_0x85d5x41);while(_0x85d5x3f[_0xaf90[211]](_0x85d5x34)&& !this[_0xaf90[14]][_0xaf90[223]](_0x85d5x34)){if(this[_0xaf90[14]][_0xaf90[222]](_0x85d5x34)){_0x85d5x41= _0x85d5x34};_0x85d5x34= _0x85d5x3f[_0xaf90[221]](_0x85d5x34)};return _0x85d5x41}};Editor[_0xaf90[44]][_0xaf90[18]]= function(){var _0x85d5xe=this[_0xaf90[14]];var _0x85d5x43= new mxUndoManager();var _0x85d5x44=function(_0x85d5x45,_0x85d5x14){_0x85d5x43[_0xaf90[233]](_0x85d5x14[_0xaf90[232]](_0xaf90[231]))};_0x85d5xe[_0xaf90[36]]()[_0xaf90[35]](mxEvent.UNDO,_0x85d5x44);_0x85d5xe[_0xaf90[234]]()[_0xaf90[35]](mxEvent.UNDO,_0x85d5x44);var _0x85d5x46=function(_0x85d5x45,_0x85d5x14){var _0x85d5x47=_0x85d5xe[_0xaf90[236]](_0x85d5x14[_0xaf90[232]](_0xaf90[231])[_0xaf90[235]]);var _0x85d5x35=[];for(var _0x85d5x30=1;_0x85d5x30< _0x85d5x47[_0xaf90[83]];_0x85d5x30++){if(_0x85d5xe[_0xaf90[53]][_0xaf90[237]](_0x85d5x47[_0x85d5x30])!= null){_0x85d5x35[_0xaf90[238]](_0x85d5x47[_0x85d5x30])}};_0x85d5xe[_0xaf90[239]](_0x85d5x35)};_0x85d5x43[_0xaf90[35]](mxEvent.UNDO,_0x85d5x46);_0x85d5x43[_0xaf90[35]](mxEvent.REDO,_0x85d5x46);return _0x85d5x43};Editor[_0xaf90[44]][_0xaf90[13]]= function(){mxStencilRegistry[_0xaf90[241]](STENCIL_PATH+ _0xaf90[240])};(function(){mxStencilRegistry[_0xaf90[242]]= {};mxStencilRegistry[_0xaf90[243]]= [];mxStencilRegistry[_0xaf90[244]]= function(_0x85d5x48){var _0x85d5x3c=mxStencilRegistry[_0xaf90[245]][_0x85d5x48];if(_0x85d5x3c== null){var _0x85d5x49=mxStencilRegistry[_0xaf90[246]](_0x85d5x48);if(_0x85d5x49!= null){var _0x85d5x4a=mxStencilRegistry[_0xaf90[242]][_0x85d5x49];if(_0x85d5x4a!= null){if(mxStencilRegistry[_0xaf90[243]][_0x85d5x49]== null){mxStencilRegistry[_0xaf90[243]][_0x85d5x49]= 1;for(var _0x85d5x30=0;_0x85d5x30< _0x85d5x4a[_0xaf90[83]];_0x85d5x30++){var _0x85d5x4b=_0x85d5x4a[_0x85d5x30];if(_0x85d5x4b[_0xaf90[248]]()[_0xaf90[247]](_0x85d5x4b[_0xaf90[83]]- 4,_0x85d5x4b[_0xaf90[83]])== _0xaf90[25]){mxStencilRegistry[_0xaf90[241]](_0x85d5x4b,null)}else {if(_0x85d5x4b[_0xaf90[248]]()[_0xaf90[247]](_0x85d5x4b[_0xaf90[83]]- 3,_0x85d5x4b[_0xaf90[83]])== _0xaf90[249]){var _0x85d5x4c=mxUtils[_0xaf90[250]](_0x85d5x4b);if(_0x85d5x4c!= null){eval[_0xaf90[11]](window,_0x85d5x4c[_0xaf90[251]]())}}else {}}}}}else {mxStencilRegistry[_0xaf90[241]](STENCIL_PATH+ _0xaf90[252]+ _0x85d5x49+ _0xaf90[25],null)};_0x85d5x3c= mxStencilRegistry[_0xaf90[245]][_0x85d5x48]}};return _0x85d5x3c};mxStencilRegistry[_0xaf90[246]]= function(_0x85d5x48){var _0x85d5x4d=_0x85d5x48[_0xaf90[254]](_0xaf90[253]);var _0x85d5x4e=null;if(_0x85d5x4d[_0xaf90[83]]> 0&& _0x85d5x4d[0]== _0xaf90[255]){_0x85d5x4e= _0x85d5x4d[1];for(var _0x85d5x30=2;_0x85d5x30< _0x85d5x4d[_0xaf90[83]]- 1;_0x85d5x30++){_0x85d5x4e+= _0xaf90[252]+ _0x85d5x4d[_0x85d5x30]}};return _0x85d5x4e};mxStencilRegistry[_0xaf90[241]]= function(_0x85d5x4f,_0x85d5x50,_0x85d5x51){_0x85d5x51= (_0x85d5x51!= null)?_0x85d5x51:false;var _0x85d5x52=mxStencilRegistry[_0xaf90[243]][_0x85d5x4f];if(_0x85d5x51|| _0x85d5x52== null){var _0x85d5x53=false;if(_0x85d5x52== null){var _0x85d5x4c=mxUtils[_0xaf90[250]](_0x85d5x4f);_0x85d5x52= _0x85d5x4c[_0xaf90[256]]();mxStencilRegistry[_0xaf90[243]][_0x85d5x4f]= _0x85d5x52;_0x85d5x53= true};mxStencilRegistry[_0xaf90[257]](_0x85d5x52,_0x85d5x50,_0x85d5x53)}};mxStencilRegistry[_0xaf90[257]]= function(_0x85d5x54,_0x85d5x50,_0x85d5x53){_0x85d5x53= (_0x85d5x53!= null)?_0x85d5x53:true;var _0x85d5x55=_0x85d5x54[_0xaf90[258]];var _0x85d5x56=_0x85d5x55[_0xaf90[184]];var _0x85d5x57=_0xaf90[20];var _0x85d5x48=_0x85d5x55[_0xaf90[56]](_0xaf90[259]);if(_0x85d5x48!= null){_0x85d5x57= _0x85d5x48+ _0xaf90[253]};while(_0x85d5x56!= null){if(_0x85d5x56[_0xaf90[260]]== mxConstants[_0xaf90[261]]){_0x85d5x48= _0x85d5x56[_0xaf90[56]](_0xaf90[259]);if(_0x85d5x48!= null){_0x85d5x57= _0x85d5x57[_0xaf90[248]]();var _0x85d5x58=_0x85d5x48[_0xaf90[263]](/ /g,_0xaf90[262]);if(_0x85d5x53){mxStencilRegistry[_0xaf90[264]](_0x85d5x57+ _0x85d5x58[_0xaf90[248]](), new mxStencil(_0x85d5x56))};if(_0x85d5x50!= null){var _0x85d5x19=_0x85d5x56[_0xaf90[56]](_0xaf90[265]);var _0x85d5x1a=_0x85d5x56[_0xaf90[56]](_0xaf90[266]);_0x85d5x19= (_0x85d5x19== null)?80:parseInt(_0x85d5x19,10);_0x85d5x1a= (_0x85d5x1a== null)?80:parseInt(_0x85d5x1a,10);_0x85d5x50(_0x85d5x57,_0x85d5x58,_0x85d5x48,_0x85d5x19,_0x85d5x1a)}}};_0x85d5x56= _0x85d5x56[_0xaf90[267]]}}})();OpenFile= function(_0x85d5x59){this[_0xaf90[268]]= null;this[_0xaf90[269]]= null;this[_0xaf90[270]]= _0x85d5x59};OpenFile[_0xaf90[44]][_0xaf90[271]]= function(_0x85d5x6){this[_0xaf90[269]]= _0x85d5x6;this[_0xaf90[272]]()};OpenFile[_0xaf90[44]][_0xaf90[273]]= function(_0x85d5x6,_0x85d5x5a){this[_0xaf90[274]]= _0x85d5x6;this[_0xaf90[21]]= _0x85d5x5a;this[_0xaf90[272]]()};OpenFile[_0xaf90[44]][_0xaf90[275]]= function(_0x85d5x5b){this[_0xaf90[276]]();mxUtils[_0xaf90[277]](_0x85d5x5b)};OpenFile[_0xaf90[44]][_0xaf90[272]]= function(){if(this[_0xaf90[269]]!= null&& this[_0xaf90[274]]!= null){this[_0xaf90[269]](this[_0xaf90[274]],this[_0xaf90[21]]);this[_0xaf90[276]]()}};OpenFile[_0xaf90[44]][_0xaf90[276]]= function(){if(this[_0xaf90[270]]!= null){this[_0xaf90[270]]()}} \ No newline at end of file +var _0xf2d0=["\x49\x53\x5F\x54\x4F\x55\x43\x48","\x73\x74\x6F\x72\x61\x67\x65","\x6C\x6F\x63\x61\x6C","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x46\x69\x6C\x65","\x46\x69\x6C\x65\x52\x65\x61\x64\x65\x72","\x46\x69\x6C\x65\x4C\x69\x73\x74","\x74\x6F\x75\x63\x68","\x31","\x6F\x70\x65\x6E\x65\x72","\x63\x6F\x75\x6E\x74\x65\x72","\x63\x61\x6C\x6C","\x69\x6E\x69\x74","\x69\x6E\x69\x74\x53\x74\x65\x6E\x63\x69\x6C\x52\x65\x67\x69\x73\x74\x72\x79","\x67\x72\x61\x70\x68","\x6F\x75\x74\x6C\x69\x6E\x65","\x75\x70\x64\x61\x74\x65\x4F\x6E\x50\x61\x6E","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x55\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x74\x61\x74\x75\x73","","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x64\x72\x61\x77\x69\x6E\x67","\x67\x65\x74","\x2E\x78\x6D\x6C","\x67\x65\x74\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x67\x72\x61\x70\x68\x43\x68\x61\x6E\x67\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x70\x70\x6C\x79","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6F\x6E\x62\x65\x66\x6F\x72\x65\x75\x6E\x6C\x6F\x61\x64","\x61\x6C\x6C\x43\x68\x61\x6E\x67\x65\x73\x4C\x6F\x73\x74","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x65\x78\x74\x65\x6E\x64","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x2F\x67\x72\x69\x64\x2E\x67\x69\x66","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x73\x63\x61\x6C\x65","\x76\x69\x65\x77","\x67\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x69\x64","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x30","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x67\x75\x69\x64\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x66\x6F\x6C\x64","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x78","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x64\x78","\x79","\x64\x79","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x70\x61\x67\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x70\x61\x67\x65\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x63\x6F\x64\x65","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x65\x6E\x63\x6F\x64\x65","\x72\x6F\x75\x6E\x64","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x6E\x6F\x6E\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x66\x69\x6C\x6C","\x72\x65\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x23\x65\x62\x65\x62\x65\x62","\x62\x6F\x72\x64\x65\x72\x53\x74\x79\x6C\x65","\x73\x6F\x6C\x69\x64","\x62\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x23\x65\x35\x65\x35\x65\x35","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70\x57\x69\x64\x74\x68","\x31\x70\x78","\x62\x6F\x72\x64\x65\x72\x4C\x65\x66\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x52\x69\x67\x68\x74\x57\x69\x64\x74\x68","\x30\x70\x78","\x62\x6F\x72\x64\x65\x72\x42\x6F\x74\x74\x6F\x6D\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72","\x76\x61\x6C\x69\x64\x61\x74\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x61\x75\x74\x6F","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x6E\x6F\x64\x65","\x49\x53\x5F\x49\x45\x36","\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x2F\x67\x72\x61\x70\x68\x65\x64\x69\x74\x6F\x72\x2D\x69\x65\x36\x2E\x63\x73\x73","\x6C\x69\x6E\x6B","\x6C\x6F\x61\x64\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x61\x64\x64","\x44\x45\x46\x41\x55\x4C\x54\x5F\x48\x4F\x54\x53\x50\x4F\x54","\x63\x72\x65\x61\x74\x65\x4D\x61\x72\x6B\x65\x72","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6E\x67","\x53\x48\x41\x44\x4F\x57\x43\x4F\x4C\x4F\x52","\x23\x64\x30\x64\x30\x64\x30","\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x39\x39\x63\x63\x66\x66","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x38\x38\x63\x66","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x61\x38\x66\x66","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x63\x65\x65\x37\x66\x66","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x44\x45\x46\x41\x55\x4C\x54\x5F\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x47\x55\x49\x44\x45\x5F\x43\x4F\x4C\x4F\x52","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x43\x6F\x6C\x6F\x72","\x23\x63\x30\x63\x30\x63\x30","\x64\x65\x66\x61\x75\x6C\x74\x4F\x70\x61\x63\x69\x74\x79","\x63\x72\x65\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x77\x68\x69\x74\x65","\x23\x63\x61\x63\x61\x63\x61","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x6D\x61\x78","\x63\x65\x69\x6C","\x70\x61\x6E\x47\x72\x61\x70\x68","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x61\x72\x67\x69\x6E\x4C\x65\x66\x74","\x70\x78","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x6D\x61\x67\x65","\x73\x72\x63","\x64\x65\x73\x74\x72\x6F\x79","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x72\x65\x64\x72\x61\x77","\x72\x65\x64\x72\x61\x77\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x73\x53\x68\x61\x64\x6F\x77","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x54\x52\x49\x43\x54\x48\x54\x4D\x4C","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x64\x62\x6C\x63\x6C\x69\x63\x6B","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x69\x73\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x68\x69\x64\x65","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x62\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x6D\x69\x6E\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x69\x73\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x70\x6F\x69\x6E\x74\x73","\x69\x73\x44\x61\x73\x68\x65\x64","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x61\x73\x68\x65\x64","\x61\x64\x64\x50\x69\x70\x65","\x73\x70\x6C\x69\x63\x65","\x76\x65\x72\x74\x69\x63\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x73\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x73\x68\x6F\x75\x6C\x64\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x72\x65\x6C\x61\x74\x69\x76\x65","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x41\x6C\x74\x44\x6F\x77\x6E","\x61\x64\x64\x49\x74\x65\x6D","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6F\x6E\x73\x75\x6D\x65","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x69\x73\x44\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x44\x65\x6C\x61\x79\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x63\x65\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x46\x6F\x72\x50\x6F\x70\x75\x70\x45\x76\x65\x6E\x74","\x65\x64\x69\x74","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x79","\x75\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74\x48\x61\x70\x70\x65\x6E\x65\x64","\x67\x65\x74\x56\x69\x65\x77","\x63\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x74\x61\x74\x65","\x70\x75\x73\x68","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x6C\x69\x62\x72\x61\x72\x69\x65\x73","\x70\x61\x63\x6B\x61\x67\x65\x73","\x67\x65\x74\x53\x74\x65\x6E\x63\x69\x6C","\x73\x74\x65\x6E\x63\x69\x6C\x73","\x67\x65\x74\x42\x61\x73\x65\x6E\x61\x6D\x65\x46\x6F\x72\x53\x74\x65\x6E\x63\x69\x6C","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x2E\x6A\x73","\x6C\x6F\x61\x64","\x67\x65\x74\x54\x65\x78\x74","\x2F","\x2E","\x73\x70\x6C\x69\x74","\x6D\x78\x67\x72\x61\x70\x68","\x67\x65\x74\x58\x6D\x6C","\x70\x61\x72\x73\x65\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x6E\x6F\x64\x65\x54\x79\x70\x65","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x45\x4C\x45\x4D\x45\x4E\x54","\x5F","\x72\x65\x70\x6C\x61\x63\x65","\x61\x64\x64\x53\x74\x65\x6E\x63\x69\x6C","\x77","\x68","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x70\x72\x6F\x64\x75\x63\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x72","\x64\x6F\x6E\x65","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x65\x78\x65\x63\x75\x74\x65","\x73\x65\x74\x44\x61\x74\x61","\x64\x61\x74\x61","\x65\x72\x72\x6F\x72","\x63\x61\x6E\x63\x65\x6C","\x61\x6C\x65\x72\x74"];var useLocalStorage=(mxClient[_0xf2d0[0]]|| urlParams[_0xf2d0[1]]== _0xf2d0[2])&& typeof (localStorage)!= _0xf2d0[3];var fileSupport=window[_0xf2d0[4]]!= null&& window[_0xf2d0[5]]!= null&& window[_0xf2d0[6]]!= null;var touchStyle=mxClient[_0xf2d0[0]]|| urlParams[_0xf2d0[7]]== _0xf2d0[8];var counter=0;try{var op=window;while(op[_0xf2d0[9]]!= null&& !isNaN(op[_0xf2d0[9]][_0xf2d0[10]])){op= op[_0xf2d0[9]]};if(op!= null){op[_0xf2d0[10]]++;counter= op[_0xf2d0[10]]}}catch(e){};Editor= function(){mxEventSource[_0xf2d0[11]](this);this[_0xf2d0[12]]();this[_0xf2d0[13]]();this[_0xf2d0[14]]= new Graph();this[_0xf2d0[15]]= new mxOutline(this[_0xf2d0[14]]);this[_0xf2d0[15]][_0xf2d0[16]]= true;this[_0xf2d0[17]]= this[_0xf2d0[18]]();this[_0xf2d0[19]]= _0xf2d0[20];this[_0xf2d0[21]]= null;this[_0xf2d0[22]]= function(){return this[_0xf2d0[21]]|| mxResources[_0xf2d0[24]](_0xf2d0[23],[counter])+ _0xf2d0[25]};this[_0xf2d0[26]]= function(){return this[_0xf2d0[21]]};this[_0xf2d0[27]]= function(_0x32bdx6){this[_0xf2d0[19]]= _0x32bdx6;this[_0xf2d0[29]]( new mxEventObject(_0xf2d0[28]))};this[_0xf2d0[30]]= function(){return this[_0xf2d0[19]]};this[_0xf2d0[31]]= false;this[_0xf2d0[32]]= function(){this[_0xf2d0[31]]= true};this[_0xf2d0[14]][_0xf2d0[36]]()[_0xf2d0[35]](mxEvent.CHANGE,mxUtils[_0xf2d0[34]](this,function(){this[_0xf2d0[32]][_0xf2d0[33]](this,arguments)}));window[_0xf2d0[37]]= mxUtils[_0xf2d0[34]](this,function(){if(this[_0xf2d0[31]]){return mxResources[_0xf2d0[24]](_0xf2d0[38])}});this[_0xf2d0[14]][_0xf2d0[39]]= false;this[_0xf2d0[14]][_0xf2d0[40]]= true;this[_0xf2d0[14]][_0xf2d0[41]]= null};mxUtils[_0xf2d0[42]](Editor,mxEventSource);Editor[_0xf2d0[44]][_0xf2d0[43]]= IMAGE_PATH+ _0xf2d0[45];Editor[_0xf2d0[44]][_0xf2d0[46]]= IMAGE_PATH+ _0xf2d0[47];Editor[_0xf2d0[44]][_0xf2d0[48]]= function(_0x32bdx7){var _0x32bdx8= new mxCodec(_0x32bdx7[_0xf2d0[49]]);if(_0x32bdx7[_0xf2d0[50]]== _0xf2d0[51]){this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[52]]= 1;this[_0xf2d0[14]][_0xf2d0[54]]= _0x32bdx7[_0xf2d0[56]](_0xf2d0[55])!= _0xf2d0[57];this[_0xf2d0[14]][_0xf2d0[59]][_0xf2d0[58]]= _0x32bdx7[_0xf2d0[56]](_0xf2d0[60])!= _0xf2d0[57];this[_0xf2d0[14]][_0xf2d0[62]](_0x32bdx7[_0xf2d0[56]](_0xf2d0[61])!= _0xf2d0[57]);this[_0xf2d0[14]][_0xf2d0[64]](_0x32bdx7[_0xf2d0[56]](_0xf2d0[63])!= _0xf2d0[57]);this[_0xf2d0[14]][_0xf2d0[65]]= _0x32bdx7[_0xf2d0[56]](_0xf2d0[66])!= _0xf2d0[57];this[_0xf2d0[14]][_0xf2d0[40]]= _0x32bdx7[_0xf2d0[56]](_0xf2d0[40])!= _0xf2d0[57];if(!this[_0xf2d0[14]][_0xf2d0[40]]){this[_0xf2d0[14]][_0xf2d0[68]][_0xf2d0[67]]= 0;this[_0xf2d0[14]][_0xf2d0[68]][_0xf2d0[69]]= 0;this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[71]][_0xf2d0[70]]= Number(_0x32bdx7[_0xf2d0[56]](_0xf2d0[72])|| 0);this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[71]][_0xf2d0[73]]= Number(_0x32bdx7[_0xf2d0[56]](_0xf2d0[74])|| 0)};this[_0xf2d0[14]][_0xf2d0[75]]= _0x32bdx7[_0xf2d0[56]](_0xf2d0[76])== _0xf2d0[8];this[_0xf2d0[14]][_0xf2d0[77]]= this[_0xf2d0[14]][_0xf2d0[75]];this[_0xf2d0[14]][_0xf2d0[78]]= this[_0xf2d0[14]][_0xf2d0[77]];var _0x32bdx9=_0x32bdx7[_0xf2d0[56]](_0xf2d0[79]);if(_0x32bdx9!= null){this[_0xf2d0[14]][_0xf2d0[79]]= _0x32bdx9}else {this[_0xf2d0[14]][_0xf2d0[79]]= 1.5};var _0x32bdxa=_0x32bdx7[_0xf2d0[56]](_0xf2d0[80]);var _0x32bdxb=_0x32bdx7[_0xf2d0[56]](_0xf2d0[81]);if(_0x32bdxa!= null&& _0x32bdxb!= null){this[_0xf2d0[14]][_0xf2d0[82]]= new mxRectangle(0,0,parseFloat(_0x32bdxa),parseFloat(_0x32bdxb));this[_0xf2d0[15]][_0xf2d0[15]][_0xf2d0[82]]= this[_0xf2d0[14]][_0xf2d0[82]]};var _0x32bdxc=_0x32bdx7[_0xf2d0[56]](_0xf2d0[41]);if(_0x32bdxc!= null&& _0x32bdxc[_0xf2d0[83]]> 0){this[_0xf2d0[14]][_0xf2d0[41]]= _0x32bdxc};_0x32bdx8[_0xf2d0[84]](_0x32bdx7,this[_0xf2d0[14]][_0xf2d0[36]]());this[_0xf2d0[85]]()}};Editor[_0xf2d0[44]][_0xf2d0[86]]= function(){var _0x32bdxd= new mxCodec(mxUtils[_0xf2d0[87]]());var _0x32bdx7=_0x32bdxd[_0xf2d0[88]](this[_0xf2d0[14]][_0xf2d0[36]]());if(this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[71]][_0xf2d0[70]]!= 0|| this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[71]][_0xf2d0[73]]!= 0){_0x32bdx7[_0xf2d0[90]](_0xf2d0[72],Math[_0xf2d0[89]](this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[71]][_0xf2d0[70]]* 100)/ 100);_0x32bdx7[_0xf2d0[90]](_0xf2d0[74],Math[_0xf2d0[89]](this[_0xf2d0[14]][_0xf2d0[53]][_0xf2d0[71]][_0xf2d0[73]]* 100)/ 100)};_0x32bdx7[_0xf2d0[90]](_0xf2d0[55],(this[_0xf2d0[14]][_0xf2d0[91]]())?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[60],(this[_0xf2d0[14]][_0xf2d0[59]][_0xf2d0[58]])?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[60],(this[_0xf2d0[14]][_0xf2d0[59]][_0xf2d0[58]])?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[61],(this[_0xf2d0[14]][_0xf2d0[93]][_0xf2d0[92]]())?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[63],(this[_0xf2d0[14]][_0xf2d0[94]][_0xf2d0[92]]())?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[66],(this[_0xf2d0[14]][_0xf2d0[65]])?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[76],(this[_0xf2d0[14]][_0xf2d0[75]])?_0xf2d0[8]:_0xf2d0[57]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[79],this[_0xf2d0[14]][_0xf2d0[79]]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[80],this[_0xf2d0[14]][_0xf2d0[82]][_0xf2d0[95]]);_0x32bdx7[_0xf2d0[90]](_0xf2d0[81],this[_0xf2d0[14]][_0xf2d0[82]][_0xf2d0[96]]);if(!this[_0xf2d0[14]][_0xf2d0[40]]){_0x32bdx7[_0xf2d0[90]](_0xf2d0[40],_0xf2d0[57])};if(this[_0xf2d0[14]][_0xf2d0[41]]!= null){_0x32bdx7[_0xf2d0[90]](_0xf2d0[41],this[_0xf2d0[14]][_0xf2d0[41]])};return _0x32bdx7};Editor[_0xf2d0[44]][_0xf2d0[85]]= function(){var _0x32bdxe=this[_0xf2d0[14]];var _0x32bdxf=this[_0xf2d0[15]];if(_0x32bdxe[_0xf2d0[68]]!= null&& _0x32bdxf[_0xf2d0[15]][_0xf2d0[68]]!= null){if(_0x32bdxe[_0xf2d0[41]]!= null){if(_0x32bdxe[_0xf2d0[41]]== _0xf2d0[97]){_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[98]]= _0xf2d0[100]}else {if(_0x32bdxe[_0xf2d0[53]][_0xf2d0[101]]!= null){_0x32bdxe[_0xf2d0[53]][_0xf2d0[101]][_0xf2d0[102]]= _0x32bdxe[_0xf2d0[41]];_0x32bdxe[_0xf2d0[53]][_0xf2d0[101]][_0xf2d0[103]]()};_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[98]]= _0x32bdxe[_0xf2d0[41]]}}else {_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[98]]= _0xf2d0[20]};if(_0x32bdxe[_0xf2d0[75]]){_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[98]]= _0xf2d0[104];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[105]]= _0xf2d0[106];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[107]]= _0xf2d0[108];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[109]]= _0xf2d0[110];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[111]]= _0xf2d0[110];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[112]]= _0xf2d0[113];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[114]]= _0xf2d0[113]}else {_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[115]]= _0xf2d0[20]};_0x32bdxf[_0xf2d0[15]][_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[98]]= _0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[98]];if(_0x32bdxf[_0xf2d0[15]][_0xf2d0[75]]!= _0x32bdxe[_0xf2d0[75]]|| _0x32bdxf[_0xf2d0[15]][_0xf2d0[79]]!= _0x32bdxe[_0xf2d0[79]]){_0x32bdxf[_0xf2d0[15]][_0xf2d0[79]]= _0x32bdxe[_0xf2d0[79]];_0x32bdxf[_0xf2d0[15]][_0xf2d0[75]]= _0x32bdxe[_0xf2d0[75]];_0x32bdxf[_0xf2d0[15]][_0xf2d0[53]][_0xf2d0[116]]()};if(_0x32bdxe[_0xf2d0[40]]&& _0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[117]]== _0xf2d0[118]&& !touchStyle){_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[117]]= _0xf2d0[119]}else {if(!_0x32bdxe[_0xf2d0[40]]|| touchStyle){_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[117]]= _0xf2d0[118]}};var _0x32bdx10=(mxClient[_0xf2d0[120]]&& document[_0xf2d0[121]]>= 9)?_0xf2d0[122]+ this[_0xf2d0[46]]+ _0xf2d0[123]:_0xf2d0[97];_0x32bdxe[_0xf2d0[68]][_0xf2d0[99]][_0xf2d0[124]]= (!_0x32bdxe[_0xf2d0[75]]&& _0x32bdxe[_0xf2d0[91]]())?_0xf2d0[122]+ this[_0xf2d0[43]]+ _0xf2d0[123]:_0x32bdx10;if(_0x32bdxe[_0xf2d0[53]][_0xf2d0[101]]!= null){_0x32bdxe[_0xf2d0[53]][_0xf2d0[101]][_0xf2d0[125]][_0xf2d0[99]][_0xf2d0[124]]= (this[_0xf2d0[14]][_0xf2d0[91]]())?_0xf2d0[122]+ this[_0xf2d0[43]]+ _0xf2d0[123]:_0xf2d0[97]}}};Editor[_0xf2d0[44]][_0xf2d0[12]]= function(){if(mxClient[_0xf2d0[126]]){mxClient[_0xf2d0[129]](_0xf2d0[127],CSS_PATH+ _0xf2d0[128])};mxResources[_0xf2d0[130]]= false;mxResources[_0xf2d0[131]](RESOURCE_BASE);mxConstants[_0xf2d0[132]]= 0.3;var _0x32bdx11=mxConnectionHandler[_0xf2d0[44]][_0xf2d0[133]];mxConnectionHandler[_0xf2d0[44]][_0xf2d0[133]]= function(){var _0x32bdx12=_0x32bdx11[_0xf2d0[33]](this,arguments);_0x32bdx12[_0xf2d0[134]]= mxUtils[_0xf2d0[34]](this,function(_0x32bdx13,_0x32bdx14){if(this[_0xf2d0[135]]()){return true};return mxCellMarker[_0xf2d0[44]][_0xf2d0[134]][_0xf2d0[33]](_0x32bdx12,arguments)});return _0x32bdx12};mxConstants[_0xf2d0[136]]= _0xf2d0[137];mxConstants[_0xf2d0[138]]= _0xf2d0[139];mxConstants[_0xf2d0[140]]= _0xf2d0[141];mxConstants[_0xf2d0[142]]= _0xf2d0[143];mxConstants[_0xf2d0[144]]= _0xf2d0[143];mxConstants[_0xf2d0[145]]= _0xf2d0[139];mxConstants[_0xf2d0[146]]= _0xf2d0[143];mxConstants[_0xf2d0[147]]= _0xf2d0[148];mxConstants[_0xf2d0[149]]= _0xf2d0[143];mxConstants[_0xf2d0[150]]= _0xf2d0[143];mxConstants[_0xf2d0[151]]= _0xf2d0[148];mxConstants[_0xf2d0[152]]= _0xf2d0[141];mxGraph[_0xf2d0[44]][_0xf2d0[153]]= _0xf2d0[154];mxGraph[_0xf2d0[44]][_0xf2d0[79]]= 1;mxRubberband[_0xf2d0[44]][_0xf2d0[155]]= 30;mxGraphView[_0xf2d0[44]][_0xf2d0[156]]= function(_0x32bdx15){return new mxRectangleShape(_0x32bdx15,this[_0xf2d0[14]][_0xf2d0[41]]|| _0xf2d0[157],_0xf2d0[158])};mxGraphView[_0xf2d0[44]][_0xf2d0[159]]= function(){var _0x32bdx16=this[_0xf2d0[160]]();var _0x32bdx17=(_0x32bdx16[_0xf2d0[95]]> 0)?_0x32bdx16[_0xf2d0[70]]/ this[_0xf2d0[52]]- this[_0xf2d0[71]][_0xf2d0[70]]:0;var _0x32bdx18=(_0x32bdx16[_0xf2d0[96]]> 0)?_0x32bdx16[_0xf2d0[73]]/ this[_0xf2d0[52]]- this[_0xf2d0[71]][_0xf2d0[73]]:0;var _0x32bdx19=_0x32bdx16[_0xf2d0[95]]/ this[_0xf2d0[52]];var _0x32bdx1a=_0x32bdx16[_0xf2d0[96]]/ this[_0xf2d0[52]];var _0x32bdx1b=this[_0xf2d0[14]][_0xf2d0[82]];var _0x32bdx9=this[_0xf2d0[14]][_0xf2d0[79]];var _0x32bdxa=_0x32bdx1b[_0xf2d0[95]]* _0x32bdx9;var _0x32bdxb=_0x32bdx1b[_0xf2d0[96]]* _0x32bdx9;var _0x32bdx1c=Math[_0xf2d0[162]](Math[_0xf2d0[161]](0,_0x32bdx17)/ _0x32bdxa);var _0x32bdx1d=Math[_0xf2d0[162]](Math[_0xf2d0[161]](0,_0x32bdx18)/ _0x32bdxb);var _0x32bdx1e=Math[_0xf2d0[164]](Math[_0xf2d0[163]](1,_0x32bdx17+ _0x32bdx19)/ _0x32bdxa);var _0x32bdx1f=Math[_0xf2d0[164]](Math[_0xf2d0[163]](1,_0x32bdx18+ _0x32bdx1a)/ _0x32bdxb);var _0x32bdx20=_0x32bdx1e- _0x32bdx1c;var _0x32bdx21=_0x32bdx1f- _0x32bdx1d;var _0x32bdx15= new mxRectangle(this[_0xf2d0[52]]* (this[_0xf2d0[71]][_0xf2d0[70]]+ _0x32bdx1c* _0x32bdxa),this[_0xf2d0[52]]* (this[_0xf2d0[71]][_0xf2d0[73]]+ _0x32bdx1d* _0x32bdxb),this[_0xf2d0[52]]* _0x32bdx20* _0x32bdxa,this[_0xf2d0[52]]* _0x32bdx21* _0x32bdxb);return _0x32bdx15};var _0x32bdx22=mxGraph[_0xf2d0[44]][_0xf2d0[165]];mxGraph[_0xf2d0[44]][_0xf2d0[165]]= function(_0x32bdx23,_0x32bdx24){_0x32bdx22[_0xf2d0[33]](this,arguments);if((this[_0xf2d0[166]]!= mxConstants[_0xf2d0[167]]&& this[_0xf2d0[53]][_0xf2d0[101]]!= null)&& (!this[_0xf2d0[168]]|| !mxUtils[_0xf2d0[169]](this[_0xf2d0[68]]))){this[_0xf2d0[53]][_0xf2d0[101]][_0xf2d0[125]][_0xf2d0[99]][_0xf2d0[170]]= _0x32bdx23+ _0xf2d0[171];this[_0xf2d0[53]][_0xf2d0[101]][_0xf2d0[125]][_0xf2d0[99]][_0xf2d0[172]]= _0x32bdx24+ _0xf2d0[171]}};var _0x32bdx25=this;mxGraphView[_0xf2d0[44]][_0xf2d0[173]]= function(){var _0x32bdxc=this[_0xf2d0[14]][_0xf2d0[174]]();if(_0x32bdxc!= null){if(this[_0xf2d0[124]]== null|| this[_0xf2d0[124]][_0xf2d0[175]]!= _0x32bdxc[_0xf2d0[176]]){if(this[_0xf2d0[124]]!= null){this[_0xf2d0[124]][_0xf2d0[177]]()};var _0x32bdx15= new mxRectangle(0,0,1,1);this[_0xf2d0[124]]= new mxImageShape(_0x32bdx15,_0x32bdxc[_0xf2d0[176]]);this[_0xf2d0[124]][_0xf2d0[166]]= this[_0xf2d0[14]][_0xf2d0[166]];this[_0xf2d0[124]][_0xf2d0[12]](this[_0xf2d0[178]]);this[_0xf2d0[124]][_0xf2d0[179]]()};this[_0xf2d0[180]](this[_0xf2d0[124]],_0x32bdxc)}else {if(this[_0xf2d0[124]]!= null){this[_0xf2d0[124]][_0xf2d0[177]]();this[_0xf2d0[124]]= null}};if(this[_0xf2d0[14]][_0xf2d0[75]]){var _0x32bdx15=this[_0xf2d0[159]]();if(this[_0xf2d0[101]]== null){this[_0xf2d0[101]]= this[_0xf2d0[156]](_0x32bdx15);this[_0xf2d0[101]][_0xf2d0[52]]= 1;this[_0xf2d0[101]][_0xf2d0[181]]= true;this[_0xf2d0[101]][_0xf2d0[166]]= mxConstants[_0xf2d0[182]];this[_0xf2d0[101]][_0xf2d0[12]](this[_0xf2d0[14]][_0xf2d0[68]]);this[_0xf2d0[14]][_0xf2d0[68]][_0xf2d0[184]][_0xf2d0[99]][_0xf2d0[183]]= _0xf2d0[185];this[_0xf2d0[14]][_0xf2d0[68]][_0xf2d0[186]](this[_0xf2d0[101]][_0xf2d0[125]],this[_0xf2d0[14]][_0xf2d0[68]][_0xf2d0[184]]);this[_0xf2d0[101]][_0xf2d0[179]]();this[_0xf2d0[101]][_0xf2d0[125]][_0xf2d0[187]]= _0xf2d0[188];this[_0xf2d0[101]][_0xf2d0[125]][_0xf2d0[99]][_0xf2d0[189]]= _0xf2d0[190];mxEvent[_0xf2d0[35]](this[_0xf2d0[101]][_0xf2d0[125]],_0xf2d0[191],mxUtils[_0xf2d0[34]](this,function(_0x32bdx14){this[_0xf2d0[14]][_0xf2d0[192]](_0x32bdx14)}));mxEvent[_0xf2d0[198]](this[_0xf2d0[101]][_0xf2d0[125]],mxUtils[_0xf2d0[34]](this,function(_0x32bdx14){this[_0xf2d0[14]][_0xf2d0[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x32bdx14))}),mxUtils[_0xf2d0[34]](this,function(_0x32bdx14){if(this[_0xf2d0[14]][_0xf2d0[93]]!= null&& this[_0xf2d0[14]][_0xf2d0[93]][_0xf2d0[194]]()){this[_0xf2d0[14]][_0xf2d0[93]][_0xf2d0[195]]()};if(this[_0xf2d0[14]][_0xf2d0[196]]&& !mxEvent[_0xf2d0[197]](_0x32bdx14)){this[_0xf2d0[14]][_0xf2d0[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x32bdx14))}}),mxUtils[_0xf2d0[34]](this,function(_0x32bdx14){this[_0xf2d0[14]][_0xf2d0[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x32bdx14))}))}else {this[_0xf2d0[101]][_0xf2d0[52]]= 1;this[_0xf2d0[101]][_0xf2d0[199]]= _0x32bdx15;this[_0xf2d0[101]][_0xf2d0[179]]()};this[_0xf2d0[101]][_0xf2d0[125]][_0xf2d0[99]][_0xf2d0[124]]= (this[_0xf2d0[14]][_0xf2d0[91]]())?_0xf2d0[122]+ _0x32bdx25[_0xf2d0[43]]+ _0xf2d0[123]:_0xf2d0[97]}else {if(this[_0xf2d0[101]]!= null){this[_0xf2d0[101]][_0xf2d0[177]]();this[_0xf2d0[101]]= null}}};mxGraph[_0xf2d0[44]][_0xf2d0[200]]= function(_0x32bdx26,_0x32bdx27,_0x32bdx28){var _0x32bdx29=this[_0xf2d0[53]][_0xf2d0[52]];var _0x32bdx2a=this[_0xf2d0[53]][_0xf2d0[71]];var _0x32bdx1b=this[_0xf2d0[82]];var _0x32bdx9=_0x32bdx29* this[_0xf2d0[79]];var _0x32bdx2b=this[_0xf2d0[53]][_0xf2d0[159]]();_0x32bdx27= _0x32bdx2b[_0xf2d0[95]];_0x32bdx28= _0x32bdx2b[_0xf2d0[96]];var _0x32bdx15= new mxRectangle(_0x32bdx29* _0x32bdx2a[_0xf2d0[70]],_0x32bdx29* _0x32bdx2a[_0xf2d0[73]],_0x32bdx1b[_0xf2d0[95]]* _0x32bdx9,_0x32bdx1b[_0xf2d0[96]]* _0x32bdx9);_0x32bdx26= _0x32bdx26&& Math[_0xf2d0[161]](_0x32bdx15[_0xf2d0[95]],_0x32bdx15[_0xf2d0[96]])> this[_0xf2d0[201]];var _0x32bdx2c=(_0x32bdx26)?Math[_0xf2d0[164]](_0x32bdx27/ _0x32bdx15[_0xf2d0[95]])- 1:0;var _0x32bdx2d=(_0x32bdx26)?Math[_0xf2d0[164]](_0x32bdx28/ _0x32bdx15[_0xf2d0[96]])- 1:0;var _0x32bdx2e=_0x32bdx2b[_0xf2d0[70]]+ _0x32bdx27;var _0x32bdx2f=_0x32bdx2b[_0xf2d0[73]]+ _0x32bdx28;if(this[_0xf2d0[202]]== null&& _0x32bdx2c> 0){this[_0xf2d0[202]]= []};if(this[_0xf2d0[202]]!= null){for(var _0x32bdx30=0;_0x32bdx30<= _0x32bdx2c;_0x32bdx30++){var _0x32bdx31=[ new mxPoint(_0x32bdx2b[_0xf2d0[70]]+ (_0x32bdx30+ 1)* _0x32bdx15[_0xf2d0[95]],_0x32bdx2b[_0xf2d0[73]]), new mxPoint(_0x32bdx2b[_0xf2d0[70]]+ (_0x32bdx30+ 1)* _0x32bdx15[_0xf2d0[95]],_0x32bdx2f)];if(this[_0xf2d0[202]][_0x32bdx30]!= null){this[_0xf2d0[202]][_0x32bdx30][_0xf2d0[52]]= 1;this[_0xf2d0[202]][_0x32bdx30][_0xf2d0[203]]= _0x32bdx31;this[_0xf2d0[202]][_0x32bdx30][_0xf2d0[179]]()}else {var _0x32bdx32= new mxPolyline(_0x32bdx31,this[_0xf2d0[153]],this[_0xf2d0[52]]);_0x32bdx32[_0xf2d0[166]]= this[_0xf2d0[166]];_0x32bdx32[_0xf2d0[204]]= this[_0xf2d0[205]];_0x32bdx32[_0xf2d0[206]]= false;_0x32bdx32[_0xf2d0[52]]= _0x32bdx29;_0x32bdx32[_0xf2d0[12]](this[_0xf2d0[53]][_0xf2d0[178]]);_0x32bdx32[_0xf2d0[179]]();this[_0xf2d0[202]][_0x32bdx30]= _0x32bdx32}};for(var _0x32bdx30=_0x32bdx2c;_0x32bdx30< this[_0xf2d0[202]][_0xf2d0[83]];_0x32bdx30++){this[_0xf2d0[202]][_0x32bdx30][_0xf2d0[177]]()};this[_0xf2d0[202]][_0xf2d0[207]](_0x32bdx2c,this[_0xf2d0[202]][_0xf2d0[83]]- _0x32bdx2c)};if(this[_0xf2d0[208]]== null&& _0x32bdx2d> 0){this[_0xf2d0[208]]= []};if(this[_0xf2d0[208]]!= null){for(var _0x32bdx30=0;_0x32bdx30<= _0x32bdx2d;_0x32bdx30++){var _0x32bdx31=[ new mxPoint(_0x32bdx2b[_0xf2d0[70]],_0x32bdx2b[_0xf2d0[73]]+ (_0x32bdx30+ 1)* _0x32bdx15[_0xf2d0[96]]), new mxPoint(_0x32bdx2e,_0x32bdx2b[_0xf2d0[73]]+ (_0x32bdx30+ 1)* _0x32bdx15[_0xf2d0[96]])];if(this[_0xf2d0[208]][_0x32bdx30]!= null){this[_0xf2d0[208]][_0x32bdx30][_0xf2d0[52]]= 1;this[_0xf2d0[208]][_0x32bdx30][_0xf2d0[203]]= _0x32bdx31;this[_0xf2d0[208]][_0x32bdx30][_0xf2d0[179]]()}else {var _0x32bdx32= new mxPolyline(_0x32bdx31,this[_0xf2d0[153]],_0x32bdx29);_0x32bdx32[_0xf2d0[166]]= this[_0xf2d0[166]];_0x32bdx32[_0xf2d0[204]]= this[_0xf2d0[205]];_0x32bdx32[_0xf2d0[206]]= false;_0x32bdx32[_0xf2d0[52]]= _0x32bdx29;_0x32bdx32[_0xf2d0[12]](this[_0xf2d0[53]][_0xf2d0[178]]);_0x32bdx32[_0xf2d0[179]]();this[_0xf2d0[208]][_0x32bdx30]= _0x32bdx32}};for(var _0x32bdx30=_0x32bdx2d;_0x32bdx30< this[_0xf2d0[208]][_0xf2d0[83]];_0x32bdx30++){this[_0xf2d0[208]][_0x32bdx30][_0xf2d0[177]]()};this[_0xf2d0[208]][_0xf2d0[207]](_0x32bdx2d,this[_0xf2d0[208]][_0xf2d0[83]]- _0x32bdx2d)}};mxEdgeHandler[_0xf2d0[44]][_0xf2d0[209]]= true;mxGraphHandler[_0xf2d0[44]][_0xf2d0[58]]= true;var _0x32bdx33=mxGraphHandler[_0xf2d0[44]][_0xf2d0[210]];mxGraphHandler[_0xf2d0[44]][_0xf2d0[210]]= function(_0x32bdx34,_0x32bdx35,_0x32bdx14){for(var _0x32bdx30=0;_0x32bdx30< _0x32bdx35[_0xf2d0[83]];_0x32bdx30++){if(this[_0xf2d0[14]][_0xf2d0[36]]()[_0xf2d0[211]](_0x32bdx35[_0x32bdx30])){var _0x32bdx36=this[_0xf2d0[14]][_0xf2d0[212]](_0x32bdx35[_0x32bdx30]);if(_0x32bdx36!= null&& _0x32bdx36[_0xf2d0[213]]){return false}}};return _0x32bdx33[_0xf2d0[33]](this,arguments)};mxGuide[_0xf2d0[44]][_0xf2d0[214]]= function(_0x32bdx14){return !mxEvent[_0xf2d0[215]](_0x32bdx14)};mxPopupMenuAddItem= mxPopupMenu[_0xf2d0[44]][_0xf2d0[216]];mxPopupMenu[_0xf2d0[44]][_0xf2d0[216]]= function(_0x32bdx37,_0x32bdx38,_0x32bdx39,_0x32bdx34,_0x32bdx3a,_0x32bdx3b){var _0x32bdx3c=mxPopupMenuAddItem[_0xf2d0[33]](this,arguments);if(_0x32bdx3b!= null&& !_0x32bdx3b){mxEvent[_0xf2d0[35]](_0x32bdx3c,_0xf2d0[217],function(_0x32bdx14){mxEvent[_0xf2d0[218]](_0x32bdx14)})};return _0x32bdx3c};var _0x32bdx3d=mxGraphHandler[_0xf2d0[44]][_0xf2d0[219]];mxGraphHandler[_0xf2d0[44]][_0xf2d0[219]]= function(_0x32bdx3e){var _0x32bdx3f=this[_0xf2d0[14]][_0xf2d0[36]]();var _0x32bdx40=_0x32bdx3f[_0xf2d0[221]](this[_0xf2d0[14]][_0xf2d0[220]]());var _0x32bdx41=_0x32bdx3d[_0xf2d0[33]](this,arguments);var _0x32bdx34=_0x32bdx3f[_0xf2d0[221]](_0x32bdx41);if(_0x32bdx40== null|| (_0x32bdx40!= _0x32bdx41&& _0x32bdx40!= _0x32bdx34)){while(!this[_0xf2d0[14]][_0xf2d0[222]](_0x32bdx41)&& !this[_0xf2d0[14]][_0xf2d0[222]](_0x32bdx34)&& _0x32bdx3f[_0xf2d0[211]](_0x32bdx34)&& !this[_0xf2d0[14]][_0xf2d0[223]](_0x32bdx34)){_0x32bdx41= _0x32bdx34;_0x32bdx34= this[_0xf2d0[14]][_0xf2d0[36]]()[_0xf2d0[221]](_0x32bdx41)}};return _0x32bdx41};var _0x32bdx42=mxGraphHandler[_0xf2d0[44]][_0xf2d0[224]];mxGraphHandler[_0xf2d0[44]][_0xf2d0[224]]= function(_0x32bdx41){var _0x32bdx3c=_0x32bdx42[_0xf2d0[33]](this,arguments);var _0x32bdx3f=this[_0xf2d0[14]][_0xf2d0[36]]();var _0x32bdx40=_0x32bdx3f[_0xf2d0[221]](this[_0xf2d0[14]][_0xf2d0[220]]());var _0x32bdx34=_0x32bdx3f[_0xf2d0[221]](_0x32bdx41);if(_0x32bdx40== null|| (_0x32bdx40!= _0x32bdx41&& _0x32bdx40!= _0x32bdx34)){if(!this[_0xf2d0[14]][_0xf2d0[222]](_0x32bdx41)&& _0x32bdx3f[_0xf2d0[211]](_0x32bdx34)&& !this[_0xf2d0[14]][_0xf2d0[223]](_0x32bdx34)){_0x32bdx3c= true}};return _0x32bdx3c};mxGraphHandler[_0xf2d0[44]][_0xf2d0[225]]= function(_0x32bdx3e){var _0x32bdx41=_0x32bdx3e[_0xf2d0[226]]();if(_0x32bdx41== null){_0x32bdx41= this[_0xf2d0[227]]};var _0x32bdx3f=this[_0xf2d0[14]][_0xf2d0[36]]();var _0x32bdx34=_0x32bdx3f[_0xf2d0[221]](_0x32bdx41);while(this[_0xf2d0[14]][_0xf2d0[222]](_0x32bdx41)&& _0x32bdx3f[_0xf2d0[211]](_0x32bdx34)&& !this[_0xf2d0[14]][_0xf2d0[223]](_0x32bdx34)){_0x32bdx41= _0x32bdx34;_0x32bdx34= _0x32bdx3f[_0xf2d0[221]](_0x32bdx41)};this[_0xf2d0[14]][_0xf2d0[229]](_0x32bdx41,_0x32bdx3e[_0xf2d0[228]]())};mxPanningHandler[_0xf2d0[44]][_0xf2d0[230]]= function(_0x32bdx3e){var _0x32bdx41=_0x32bdx3e[_0xf2d0[226]]();var _0x32bdx3f=this[_0xf2d0[14]][_0xf2d0[36]]();var _0x32bdx34=_0x32bdx3f[_0xf2d0[221]](_0x32bdx41);while(_0x32bdx3f[_0xf2d0[211]](_0x32bdx34)&& !this[_0xf2d0[14]][_0xf2d0[223]](_0x32bdx34)){if(this[_0xf2d0[14]][_0xf2d0[222]](_0x32bdx34)){_0x32bdx41= _0x32bdx34};_0x32bdx34= _0x32bdx3f[_0xf2d0[221]](_0x32bdx34)};return _0x32bdx41}};Editor[_0xf2d0[44]][_0xf2d0[18]]= function(){var _0x32bdxe=this[_0xf2d0[14]];var _0x32bdx43= new mxUndoManager();var _0x32bdx44=function(_0x32bdx45,_0x32bdx14){_0x32bdx43[_0xf2d0[233]](_0x32bdx14[_0xf2d0[232]](_0xf2d0[231]))};_0x32bdxe[_0xf2d0[36]]()[_0xf2d0[35]](mxEvent.UNDO,_0x32bdx44);_0x32bdxe[_0xf2d0[234]]()[_0xf2d0[35]](mxEvent.UNDO,_0x32bdx44);var _0x32bdx46=function(_0x32bdx45,_0x32bdx14){var _0x32bdx47=_0x32bdxe[_0xf2d0[236]](_0x32bdx14[_0xf2d0[232]](_0xf2d0[231])[_0xf2d0[235]]);var _0x32bdx35=[];for(var _0x32bdx30=1;_0x32bdx30< _0x32bdx47[_0xf2d0[83]];_0x32bdx30++){if(_0x32bdxe[_0xf2d0[53]][_0xf2d0[237]](_0x32bdx47[_0x32bdx30])!= null){_0x32bdx35[_0xf2d0[238]](_0x32bdx47[_0x32bdx30])}};_0x32bdxe[_0xf2d0[239]](_0x32bdx35)};_0x32bdx43[_0xf2d0[35]](mxEvent.UNDO,_0x32bdx46);_0x32bdx43[_0xf2d0[35]](mxEvent.REDO,_0x32bdx46);return _0x32bdx43};Editor[_0xf2d0[44]][_0xf2d0[13]]= function(){mxStencilRegistry[_0xf2d0[241]](STENCIL_PATH+ _0xf2d0[240])};(function(){mxStencilRegistry[_0xf2d0[242]]= {};mxStencilRegistry[_0xf2d0[243]]= [];mxStencilRegistry[_0xf2d0[244]]= function(_0x32bdx48){var _0x32bdx3c=mxStencilRegistry[_0xf2d0[245]][_0x32bdx48];if(_0x32bdx3c== null){var _0x32bdx49=mxStencilRegistry[_0xf2d0[246]](_0x32bdx48);if(_0x32bdx49!= null){var _0x32bdx4a=mxStencilRegistry[_0xf2d0[242]][_0x32bdx49];if(_0x32bdx4a!= null){if(mxStencilRegistry[_0xf2d0[243]][_0x32bdx49]== null){mxStencilRegistry[_0xf2d0[243]][_0x32bdx49]= 1;for(var _0x32bdx30=0;_0x32bdx30< _0x32bdx4a[_0xf2d0[83]];_0x32bdx30++){var _0x32bdx4b=_0x32bdx4a[_0x32bdx30];if(_0x32bdx4b[_0xf2d0[248]]()[_0xf2d0[247]](_0x32bdx4b[_0xf2d0[83]]- 4,_0x32bdx4b[_0xf2d0[83]])== _0xf2d0[25]){mxStencilRegistry[_0xf2d0[241]](_0x32bdx4b,null)}else {if(_0x32bdx4b[_0xf2d0[248]]()[_0xf2d0[247]](_0x32bdx4b[_0xf2d0[83]]- 3,_0x32bdx4b[_0xf2d0[83]])== _0xf2d0[249]){var _0x32bdx4c=mxUtils[_0xf2d0[250]](_0x32bdx4b);if(_0x32bdx4c!= null){eval[_0xf2d0[11]](window,_0x32bdx4c[_0xf2d0[251]]())}}else {}}}}}else {mxStencilRegistry[_0xf2d0[241]](STENCIL_PATH+ _0xf2d0[252]+ _0x32bdx49+ _0xf2d0[25],null)};_0x32bdx3c= mxStencilRegistry[_0xf2d0[245]][_0x32bdx48]}};return _0x32bdx3c};mxStencilRegistry[_0xf2d0[246]]= function(_0x32bdx48){var _0x32bdx4d=_0x32bdx48[_0xf2d0[254]](_0xf2d0[253]);var _0x32bdx4e=null;if(_0x32bdx4d[_0xf2d0[83]]> 0&& _0x32bdx4d[0]== _0xf2d0[255]){_0x32bdx4e= _0x32bdx4d[1];for(var _0x32bdx30=2;_0x32bdx30< _0x32bdx4d[_0xf2d0[83]]- 1;_0x32bdx30++){_0x32bdx4e+= _0xf2d0[252]+ _0x32bdx4d[_0x32bdx30]}};return _0x32bdx4e};mxStencilRegistry[_0xf2d0[241]]= function(_0x32bdx4f,_0x32bdx50,_0x32bdx51){_0x32bdx51= (_0x32bdx51!= null)?_0x32bdx51:false;var _0x32bdx52=mxStencilRegistry[_0xf2d0[243]][_0x32bdx4f];if(_0x32bdx51|| _0x32bdx52== null){var _0x32bdx53=false;if(_0x32bdx52== null){var _0x32bdx4c=mxUtils[_0xf2d0[250]](_0x32bdx4f);_0x32bdx52= _0x32bdx4c[_0xf2d0[256]]();mxStencilRegistry[_0xf2d0[243]][_0x32bdx4f]= _0x32bdx52;_0x32bdx53= true};mxStencilRegistry[_0xf2d0[257]](_0x32bdx52,_0x32bdx50,_0x32bdx53)}};mxStencilRegistry[_0xf2d0[257]]= function(_0x32bdx54,_0x32bdx50,_0x32bdx53){_0x32bdx53= (_0x32bdx53!= null)?_0x32bdx53:true;var _0x32bdx55=_0x32bdx54[_0xf2d0[258]];var _0x32bdx56=_0x32bdx55[_0xf2d0[184]];var _0x32bdx57=_0xf2d0[20];var _0x32bdx48=_0x32bdx55[_0xf2d0[56]](_0xf2d0[259]);if(_0x32bdx48!= null){_0x32bdx57= _0x32bdx48+ _0xf2d0[253]};while(_0x32bdx56!= null){if(_0x32bdx56[_0xf2d0[260]]== mxConstants[_0xf2d0[261]]){_0x32bdx48= _0x32bdx56[_0xf2d0[56]](_0xf2d0[259]);if(_0x32bdx48!= null){_0x32bdx57= _0x32bdx57[_0xf2d0[248]]();var _0x32bdx58=_0x32bdx48[_0xf2d0[263]](/ /g,_0xf2d0[262]);if(_0x32bdx53){mxStencilRegistry[_0xf2d0[264]](_0x32bdx57+ _0x32bdx58[_0xf2d0[248]](), new mxStencil(_0x32bdx56))};if(_0x32bdx50!= null){var _0x32bdx19=_0x32bdx56[_0xf2d0[56]](_0xf2d0[265]);var _0x32bdx1a=_0x32bdx56[_0xf2d0[56]](_0xf2d0[266]);_0x32bdx19= (_0x32bdx19== null)?80:parseInt(_0x32bdx19,10);_0x32bdx1a= (_0x32bdx1a== null)?80:parseInt(_0x32bdx1a,10);_0x32bdx50(_0x32bdx57,_0x32bdx58,_0x32bdx48,_0x32bdx19,_0x32bdx1a)}}};_0x32bdx56= _0x32bdx56[_0xf2d0[267]]}}})();OpenFile= function(_0x32bdx59){this[_0xf2d0[268]]= null;this[_0xf2d0[269]]= null;this[_0xf2d0[270]]= _0x32bdx59};OpenFile[_0xf2d0[44]][_0xf2d0[271]]= function(_0x32bdx6){this[_0xf2d0[269]]= _0x32bdx6;this[_0xf2d0[272]]()};OpenFile[_0xf2d0[44]][_0xf2d0[273]]= function(_0x32bdx6,_0x32bdx5a){this[_0xf2d0[274]]= _0x32bdx6;this[_0xf2d0[21]]= _0x32bdx5a;this[_0xf2d0[272]]()};OpenFile[_0xf2d0[44]][_0xf2d0[275]]= function(_0x32bdx5b){this[_0xf2d0[276]]();mxUtils[_0xf2d0[277]](_0x32bdx5b)};OpenFile[_0xf2d0[44]][_0xf2d0[272]]= function(){if(this[_0xf2d0[269]]!= null&& this[_0xf2d0[274]]!= null){this[_0xf2d0[269]](this[_0xf2d0[274]],this[_0xf2d0[21]]);this[_0xf2d0[276]]()}};OpenFile[_0xf2d0[44]][_0xf2d0[276]]= function(){if(this[_0xf2d0[270]]!= null){this[_0xf2d0[270]]()}} \ 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 2e6cf52..6118fb2 100644 --- a/public/assets/plugins/jscripty/js/EditorUi.js +++ b/public/assets/plugins/jscripty/js/EditorUi.js @@ -1 +1 @@ -var _0x692b=["\x65\x64\x69\x74\x6F\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x45\x64\x69\x74\x6F\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x72\x61\x70\x68","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x73\x72\x63","\x73\x75\x62\x6D\x65\x6E\x75\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x6D\x65\x6E\x75\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x76\x73","\x72\x65\x66\x72\x65\x73\x68","\x63\x72\x65\x61\x74\x65\x55\x69","\x65\x76\x65\x6E\x74","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x41\x6C\x6C\x6F\x77\x65\x64","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x62\x69\x6E\x64","\x62\x6F\x64\x79","\x6F\x6E\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x6D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x6E\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x74\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x64\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x66\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x69\x6E\x69\x74","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x75\x72\x73\x6F\x72","\x64\x65\x66\x61\x75\x6C\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x66\x6F\x63\x75\x73","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x61\x70\x70\x6C\x79","\x6D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x73\x74\x61\x72\x74","\x65\x6E\x64","\x69\x6E\x70\x75\x74","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x65\x6D\x61\x69\x6C","\x6E","\x63\x72\x65\x61\x74\x65\x4D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x65\x6C\x6C","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x74\x61\x67\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x73\x6F\x75\x72\x63\x65","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67\x41\x74\x43\x65\x6C\x6C","\x69\x73\x56\x65\x72\x74\x65\x78","\x6C\x6F\x67","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x63\x6F\x6E\x73\x75\x6D\x65","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x6F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x67\x65\x73\x74\x75\x72\x65\x63\x68\x61\x6E\x67\x65","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x73\x63\x61\x6C\x65\x28","\x73\x63\x61\x6C\x65","\x67\x65\x74\x44\x72\x61\x77\x50\x61\x6E\x65","\x76\x69\x65\x77","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x73\x74\x75\x72\x65\x65\x6E\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x7A\x6F\x6F\x6D\x54\x6F\x43\x65\x6E\x74\x65\x72","\x7A\x6F\x6F\x6D","\x76\x69\x73\x69\x62\x6C\x65","\x63\x72\x65\x61\x74\x65\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x73\x69\x7A\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x75\x70\x64\x61\x74\x65","\x6F\x70\x65\x6E","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6D\x65\x6E\x75\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x74\x6F\x6F\x6C\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x66\x6F\x6F\x74\x65\x72\x48\x65\x69\x67\x68\x74","\x68\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x76\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x55\x6E\x64\x6F\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x73\x74\x65","\x67\x65\x74","\x69\x73\x45\x6D\x70\x74\x79","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x74","\x63\x6F\x70\x79","\x6F\x70\x65\x6E\x65\x72","\x6F\x70\x65\x6E\x46\x69\x6C\x65","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x63\x6C\x65\x61\x72","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x69\x6E\x76\x61\x6C\x69\x64\x4F\x72\x4D\x69\x73\x73\x69\x6E\x67\x46\x69\x6C\x65","\x3A\x20","\x6D\x65\x73\x73\x61\x67\x65","\x61\x6C\x65\x72\x74","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x6F\x70\x65\x6E\x53\x74\x72\x69\x6E\x67","\x64\x61\x74\x61","\x6E\x65\x77","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x67\x65\x74\x49\x74\x65\x6D","\x72\x65\x70\x6C\x61\x63\x65","\x63\x6F\x6E\x66\x69\x72\x6D","\x73\x65\x74\x49\x74\x65\x6D","\x73\x61\x76\x65\x64","\x20","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x50\x4F\x53\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x50\x72\x6F\x6A\x65\x63\x74\x20","\x6E\x61\x6D\x65","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x20\x69\x73\x20\x6F\x70\x65\x6E\x69\x6E\x67\x20\x69\x6E\x20\x6E\x65\x77\x20\x77\x69\x6E\x64\x6F\x77\x21","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x69\x64","\x5F\x62\x6C\x61\x6E\x6B","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x65\x77\x26\x6E\x61\x6D\x65\x3D","\x73\x65\x6E\x64","\x64\x72\x61\x77\x69\x6E\x67\x54\x6F\x6F\x4C\x61\x72\x67\x65","\x70\x6F\x70\x75\x70","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74","\x73\x61\x76\x65","\x50\x55\x54","\x55\x70\x64\x61\x74\x65\x64\x20\x61\x74\x20","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x20\x28","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x64\x72\x61\x66\x74\x3D","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x66\x69\x6C\x65","\x73\x61\x76\x65\x41\x73","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x2F","\x45\x72\x72\x6F\x72\x20\x63\x6C\x6F\x6E\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x63\x6C\x6F\x6E\x65\x64\x26\x6E\x61\x6D\x65\x3D","\x26\x64\x72\x61\x66\x74\x3D","\x26\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x76\x61\x6C\x69\x64\x61\x74\x65","\x67\x65\x74\x52\x6F\x6F\x74","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x41\x74","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x3C\x62\x72\x3E","\x73\x65\x74\x43\x65\x6C\x6C\x57\x61\x72\x6E\x69\x6E\x67","","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x51\x75\x65\x73\x74\x69\x6F\x6E\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x0A","\x6C\x61\x62\x65\x6C","\x4C\x61\x62\x65\x6C\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x6C\x6F\x63\x6B","\x4F\x6E\x6C\x79\x20\x6F\x6E\x65\x20\x53\x74\x61\x72\x74\x20\x62\x6C\x6F\x63\x6B\x20\x69\x73\x20\x61\x6C\x6C\x6F\x77\x65\x64","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x67\x65\x74\x49\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x67\x65\x74\x56\x61\x6C\x75\x65","\x6E\x75\x6C\x6C","\x56\x61\x6C\x75\x65\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x2C","\x73\x70\x6C\x69\x74","\x74\x72\x69\x6D","\x56\x61\x6C\x75\x65","\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x67\x65\x74\x45\x64\x67\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x67\x65\x74\x43\x65\x6C\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x70\x75\x62\x6C\x69\x73\x68","\x50\x75\x62\x6C\x69\x73\x68\x65\x64\x20\x61\x74\x20","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x66\x69\x6C\x65","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x76\x61\x72\x69\x61\x62\x6C\x65","\x56\x61\x72\x69\x61\x62\x6C\x65\x20\x63\x72\x65\x61\x74\x65\x64\x20\x61\x74\x20","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x6E\x61\x6D\x65\x3D","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65","\x67\x65\x74\x55\x72\x6C","\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x26","\x3D","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x61\x6E\x55\x6E\x64\x6F","\x63\x61\x6E\x52\x65\x64\x6F","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x73\x68\x61\x64\x6F\x77","\x74\x69\x6C\x74","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x63\x75\x72\x76\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x72\x6F\x75\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x66\x6F\x72\x6D\x61\x74","\x61\x72\x72\x61\x6E\x67\x65","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x73\x70\x61\x63\x69\x6E\x67","\x6C\x69\x6E\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x6C\x69\x67\x6E","\x67\x65\x74\x53\x74\x61\x74\x65","\x69\x73\x4C\x6F\x6F\x70","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x6D\x61\x78","\x68\x65\x69\x67\x68\x74","\x70\x78","\x74\x6F\x70","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x77\x69\x64\x74\x68","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x68\x73\x70\x6C\x69\x74","\x76\x73\x70\x6C\x69\x74","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x4F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x44\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x46\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x48\x73\x70\x6C\x69\x74","\x67\x65\x56\x73\x70\x6C\x69\x74","\x30\x70\x78","\x72\x69\x67\x68\x74","\x6D\x65\x6E\x75\x62\x61\x72","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x74\x6F\x6F\x6C\x62\x61\x72","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x73\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x53\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x6F\x74\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x74\x53\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x64\x64\x53\x70\x6C\x69\x74\x48\x61\x6E\x64\x6C\x65\x72","\x61","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D\x20\x67\x65\x53\x74\x61\x74\x75\x73","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x67\x65\x46\x6F\x6F\x74\x65\x72","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x72\x6D","\x66\x6F\x72\x6D","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x78","\x79","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x74\x6F\x75\x63\x68\x6D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x74\x6F\x75\x63\x68\x65\x6E\x64","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x64\x69\x61\x6C\x6F\x67","\x49\x53\x5F\x56\x4D\x4C","\x63\x6C\x6F\x73\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x61\x6E\x69\x6D\x61\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x65\x78\x65\x63\x75\x74\x65","\x43\x61\x6D\x69\x6E\x6F","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x49\x53\x5F\x4D\x41\x43","\x6D\x65\x74\x61\x4B\x65\x79","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x65\x6E\x61\x62\x6C\x65\x64","\x66\x75\x6E\x63\x74","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79","\x62\x69\x6E\x64\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x4B\x65\x79","\x65\x73\x63\x61\x70\x65","\x65\x6E\x74\x65\x72","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x6E\x65\x63\x74","\x67\x72\x69\x64","\x61\x62\x6F\x75\x74","\x20\x6D\x75\x73\x74\x20\x68\x61\x76\x65\x20","\x20\x6F\x75\x74\x67\x6F\x69\x6E\x67\x20\x65\x64\x67\x65\x2E","\x70\x75\x73\x68","\x20\x69\x6E\x63\x6F\x6D\x69\x6E\x67\x20\x65\x64\x67\x65\x2E"];EditorUi= function(_0x1d05x1,_0x1d05x2){this[_0x692b[0]]= _0x1d05x1|| new Editor();this[_0x692b[1]]= _0x1d05x2|| document[_0x692b[3]](_0x692b[2]);var _0x1d05x3=_0x1d05x1[_0x692b[4]];var _0x1d05x4=this;this[_0x692b[1]][_0x692b[6]][_0x692b[5]]= _0x692b[7]; new Image()[_0x692b[8]]= mxPopupMenu[_0x692b[10]][_0x692b[9]];if(mxConnectionHandler[_0x692b[10]][_0x692b[11]]!= null){ new Image()[_0x692b[8]]= mxConnectionHandler[_0x692b[10]][_0x692b[11]][_0x692b[8]]};this[_0x692b[12]]= new Actions(this);this[_0x692b[13]]= new Menus(this);this[_0x692b[14]]();this[_0x692b[15]]();this[_0x692b[16]]();var _0x1d05x5=mxUtils[_0x692b[20]](this,function(_0x1d05x6){if(_0x1d05x6== null){_0x1d05x6= window[_0x692b[17]]};if(this[_0x692b[18]](_0x1d05x6)){return true};return _0x1d05x3[_0x692b[19]]()});if(this[_0x692b[1]]== document[_0x692b[21]]){this[_0x692b[23]][_0x692b[22]]= _0x1d05x5;this[_0x692b[23]][_0x692b[24]]= _0x1d05x5;this[_0x692b[25]][_0x692b[22]]= _0x1d05x5;this[_0x692b[25]][_0x692b[24]]= _0x1d05x5;this[_0x692b[26]][_0x692b[22]]= _0x1d05x5;this[_0x692b[26]][_0x692b[24]]= _0x1d05x5;this[_0x692b[27]][_0x692b[22]]= _0x1d05x5;this[_0x692b[27]][_0x692b[24]]= _0x1d05x5;this[_0x692b[28]][_0x692b[22]]= _0x1d05x5;this[_0x692b[28]][_0x692b[24]]= _0x1d05x5};if(mxClient[_0x692b[29]]&& ( typeof (document[_0x692b[30]])=== _0x692b[31]|| document[_0x692b[30]]< 9)){mxEvent[_0x692b[33]](this[_0x692b[26]],_0x692b[32],_0x1d05x5);mxEvent[_0x692b[33]](this[_0x692b[27]],_0x692b[32],_0x1d05x5)}else {this[_0x692b[26]][_0x692b[34]]= _0x1d05x5;this[_0x692b[27]][_0x692b[34]]= _0x1d05x5};_0x1d05x3[_0x692b[35]](this[_0x692b[26]]);_0x1d05x3[_0x692b[15]]();_0x1d05x3[_0x692b[1]][_0x692b[38]](_0x692b[36],_0x692b[37]);_0x1d05x3[_0x692b[1]][_0x692b[6]][_0x692b[39]]= _0x692b[40];_0x1d05x3[_0x692b[1]][_0x692b[6]][_0x692b[41]]= _0x692b[42]+ _0x1d05x1[_0x692b[43]]+ _0x692b[44];_0x1d05x3[_0x692b[1]][_0x692b[6]][_0x692b[45]]= _0x692b[46];_0x1d05x3[_0x692b[1]][_0x692b[47]]();var _0x1d05x7=_0x1d05x3[_0x692b[48]];_0x1d05x3[_0x692b[48]]= function(_0x1d05x8,_0x1d05x9,_0x1d05xa){if(_0x1d05x8== mxEvent[_0x692b[49]]){this[_0x692b[1]][_0x692b[47]]()};_0x1d05x7[_0x692b[50]](this,arguments)};this[_0x692b[58]](_0x1d05x3[_0x692b[51]],[_0x692b[52],_0x692b[53],_0x692b[54],_0x692b[55],_0x692b[56]],[[1,1],[0,0],[1,1],[1,_0x692b[57]],[1,_0x692b[57]]],[[0,0],[1,_0x692b[57]],[1,_0x692b[57]],[1,_0x692b[57]],[1,_0x692b[57]]]);_0x1d05x3[_0x692b[59]]= function(_0x1d05x6,_0x1d05xb){var _0x1d05xc=[_0x692b[55]];var _0x1d05xd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x692b[17],_0x1d05x6,_0x692b[60],_0x1d05xb);this[_0x692b[61]](_0x1d05xd);if(this[_0x692b[62]]()&& !mxEvent[_0x692b[63]](_0x1d05x6)&& !_0x1d05xd[_0x692b[63]]()){if(this[_0x692b[65]]()[_0x692b[64]](_0x1d05xb)){if(_0x1d05xc[_0x692b[69]](_0x1d05xb[_0x692b[68]][_0x692b[67]][_0x692b[66]])>= 0){this[_0x692b[70]](_0x1d05xb)}}else {if(this[_0x692b[65]]()[_0x692b[71]](_0x1d05xb)){console[_0x692b[72]](_0x1d05x4);console[_0x692b[72]](_0x1d05xb);_0x1d05x4[_0x692b[73]]( new GeneralDialog(_0x1d05x4,_0x1d05xb)[_0x692b[1]],320,280,true,true)}};_0x1d05xd[_0x692b[74]]()}};_0x1d05x3[_0x692b[76]][_0x692b[75]]= true;_0x1d05x3[_0x692b[76]][_0x692b[77]]= mxUtils[_0x692b[20]](this,function(_0x1d05xe,_0x1d05xb,_0x1d05x6){this[_0x692b[13]][_0x692b[78]](_0x1d05xe,_0x1d05xb,_0x1d05x6)});_0x1d05x1[_0x692b[80]][_0x692b[35]](this[_0x692b[79]]);mxEvent[_0x692b[82]](document,mxUtils[_0x692b[20]](this,function(_0x1d05x6){_0x1d05x3[_0x692b[76]][_0x692b[81]]()}));if(mxClient[_0x692b[83]]){mxEvent[_0x692b[33]](_0x1d05x3[_0x692b[1]],_0x692b[84],mxUtils[_0x692b[20]](this,function(_0x1d05x6){_0x1d05x3[_0x692b[89]][_0x692b[88]]()[_0x692b[38]](_0x692b[85],_0x692b[86]+ _0x1d05x6[_0x692b[87]]+ _0x692b[44]);_0x1d05x3[_0x692b[89]][_0x692b[91]]()[_0x692b[6]][_0x692b[90]]= _0x692b[7]}));mxEvent[_0x692b[33]](_0x1d05x3[_0x692b[1]],_0x692b[92],mxUtils[_0x692b[20]](this,function(_0x1d05x6){_0x1d05x3[_0x692b[89]][_0x692b[88]]()[_0x692b[93]](_0x692b[85]);_0x1d05x3[_0x692b[94]]= true;_0x1d05x3[_0x692b[95]](_0x1d05x6[_0x692b[87]]);_0x1d05x3[_0x692b[89]][_0x692b[91]]()[_0x692b[6]][_0x692b[90]]= _0x692b[96]}))};var _0x1d05xf=this[_0x692b[97]](_0x1d05x1);this[_0x692b[98]]= function(){return _0x1d05xf};mxEvent[_0x692b[33]](window,_0x692b[99],mxUtils[_0x692b[20]](this,function(){this[_0x692b[15]]();_0x1d05x3[_0x692b[100]]();this[_0x692b[0]][_0x692b[80]][_0x692b[101]](false);this[_0x692b[0]][_0x692b[80]][_0x692b[80]][_0x692b[100]]()}));this[_0x692b[35]]();this[_0x692b[102]]()};EditorUi[_0x692b[10]][_0x692b[103]]= (mxClient[_0x692b[83]])?16:8;EditorUi[_0x692b[10]][_0x692b[104]]= 33;EditorUi[_0x692b[10]][_0x692b[105]]= 36;EditorUi[_0x692b[10]][_0x692b[106]]= 28;EditorUi[_0x692b[10]][_0x692b[107]]= 204;EditorUi[_0x692b[10]][_0x692b[108]]= 190;EditorUi[_0x692b[10]][_0x692b[35]]= function(){this[_0x692b[109]]();this[_0x692b[110]]();var _0x1d05x10=this[_0x692b[12]][_0x692b[112]](_0x692b[111]);var _0x1d05x11=function(){_0x1d05x10[_0x692b[114]](!mxClipboard[_0x692b[113]]())};var _0x1d05x12=mxClipboard[_0x692b[115]];mxClipboard[_0x692b[115]]= function(){_0x1d05x12[_0x692b[50]](this,arguments);_0x1d05x11()};var _0x1d05x13=mxClipboard[_0x692b[116]];mxClipboard[_0x692b[116]]= function(){_0x1d05x13[_0x692b[50]](this,arguments);_0x1d05x11()}};EditorUi[_0x692b[10]][_0x692b[18]]= function(_0x1d05x6){return false};EditorUi[_0x692b[10]][_0x692b[102]]= function(){try{if(window[_0x692b[117]]!= null&& window[_0x692b[117]][_0x692b[118]]!= null){window[_0x692b[117]][_0x692b[118]][_0x692b[130]](mxUtils[_0x692b[20]](this,function(_0x1d05x14,_0x1d05x15){try{var _0x1d05x16=mxUtils[_0x692b[119]](_0x1d05x14);this[_0x692b[0]][_0x692b[121]](_0x1d05x16[_0x692b[120]]);this[_0x692b[0]][_0x692b[122]]= false;this[_0x692b[0]][_0x692b[124]][_0x692b[123]]();if(_0x1d05x15!= null){this[_0x692b[0]][_0x692b[125]]= _0x1d05x15}}catch(e){mxUtils[_0x692b[129]](mxResources[_0x692b[112]](_0x692b[126])+ _0x692b[127]+ e[_0x692b[128]])}}))}}catch(e){}};EditorUi[_0x692b[10]][_0x692b[131]]= function(_0x1d05x14,_0x1d05x15,_0x1d05x17){try{var _0x1d05x16=mxUtils[_0x692b[119]](_0x1d05x14);this[_0x692b[0]][_0x692b[121]](_0x1d05x16[_0x692b[120]]);this[_0x692b[0]][_0x692b[122]]= false;this[_0x692b[0]][_0x692b[124]][_0x692b[123]]();if(_0x1d05x15!= null){this[_0x692b[0]][_0x692b[125]]= _0x1d05x15};if(_0x1d05x17!= null){this[_0x692b[0]][_0x692b[132]]= _0x1d05x17}}catch(e){mxUtils[_0x692b[129]](mxResources[_0x692b[112]](_0x692b[126])+ _0x692b[127]+ e[_0x692b[128]])}};EditorUi[_0x692b[10]][_0x692b[133]]= function(_0x1d05x18){var _0x1d05x1=this[_0x692b[0]];if(_0x1d05x18!= null){var _0x1d05x14=mxUtils[_0x692b[135]](this[_0x692b[0]][_0x692b[134]]());try{if(useLocalStorage){if(localStorage[_0x692b[136]](_0x1d05x18)!= null&& !mxUtils[_0x692b[138]](mxResources[_0x692b[112]](_0x692b[137],[_0x1d05x18]))){return};localStorage[_0x692b[139]](_0x1d05x18,_0x1d05x14);this[_0x692b[0]][_0x692b[142]](mxResources[_0x692b[112]](_0x692b[140])+ _0x692b[141]+ new Date())}else {console[_0x692b[72]](_0x1d05x14[_0x692b[143]]);console[_0x692b[72]](MAX_REQUEST_SIZE);if(_0x1d05x14[_0x692b[143]]< MAX_REQUEST_SIZE){_0x1d05x14= encodeURIComponent(_0x1d05x14);_0x1d05x18= encodeURIComponent(_0x1d05x18);var _0x1d05x19= new XMLHttpRequest();_0x1d05x19[_0x692b[102]](_0x692b[144],SAVE_URL,true);_0x1d05x19[_0x692b[147]](_0x692b[145],_0x692b[146]);_0x1d05x19[_0x692b[147]](_0x692b[148],_0x692b[149]+ _0x1d05x1[_0x692b[132]][_0x692b[150]]);_0x1d05x19[_0x692b[151]]= function(_0x1d05x1a){if(_0x1d05x19[_0x692b[152]]=== 4){if(_0x1d05x19[_0x692b[153]]=== 201){_0x1d05x1[_0x692b[142]](_0x692b[154]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[155]]+ _0x692b[158]);setTimeout(function(){window[_0x692b[102]](_0x692b[159]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[160]],_0x692b[161])},1500)}else {_0x1d05x1[_0x692b[142]](_0x692b[162]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[163]][0][_0x692b[128]])}}};_0x1d05x19[_0x692b[164]]= function(_0x1d05x1a){mxUtils[_0x692b[129]](_0x1d05x19[_0x692b[165]])};_0x1d05x19[_0x692b[167]](_0x692b[166]+ _0x1d05x18)}else {mxUtils[_0x692b[129]](mxResources[_0x692b[112]](_0x692b[168]));mxUtils[_0x692b[169]](_0x1d05x14);return}};this[_0x692b[0]][_0x692b[125]]= _0x1d05x18;this[_0x692b[0]][_0x692b[122]]= false}catch(e){this[_0x692b[0]][_0x692b[142]](_0x692b[170])}}else {this[_0x692b[0]][_0x692b[142]](_0x692b[170])}};EditorUi[_0x692b[10]][_0x692b[171]]= function(_0x1d05x18){var _0x1d05x1=this[_0x692b[0]];if(_0x1d05x18!= null){var _0x1d05x14=mxUtils[_0x692b[135]](this[_0x692b[0]][_0x692b[134]]());try{if(useLocalStorage){if(localStorage[_0x692b[136]](_0x1d05x18)!= null&& !mxUtils[_0x692b[138]](mxResources[_0x692b[112]](_0x692b[137],[_0x1d05x18]))){return};localStorage[_0x692b[139]](_0x1d05x18,_0x1d05x14);this[_0x692b[0]][_0x692b[142]](mxResources[_0x692b[112]](_0x692b[140])+ _0x692b[141]+ new Date())}else {console[_0x692b[72]](_0x1d05x14[_0x692b[143]]);console[_0x692b[72]](MAX_REQUEST_SIZE);if(_0x1d05x14[_0x692b[143]]< MAX_REQUEST_SIZE){_0x1d05x14= encodeURIComponent(_0x1d05x14);var _0x1d05x19= new XMLHttpRequest();_0x1d05x19[_0x692b[102]](_0x692b[172],SAVE_URL+ this[_0x692b[0]][_0x692b[132]][_0x692b[160]],true);_0x1d05x19[_0x692b[147]](_0x692b[145],_0x692b[146]);_0x1d05x19[_0x692b[147]](_0x692b[148],_0x692b[149]+ _0x1d05x1[_0x692b[132]][_0x692b[150]]);_0x1d05x19[_0x692b[151]]= function(_0x1d05x1a){if(_0x1d05x19[_0x692b[152]]=== 4){if(_0x1d05x19[_0x692b[153]]=== 200){_0x1d05x1[_0x692b[142]](_0x692b[173]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[174]]+ _0x692b[175]+ _0x1d05x19[_0x692b[153]]+ _0x692b[141]+ _0x1d05x19[_0x692b[165]]+ _0x692b[44])}else {_0x1d05x1[_0x692b[142]](_0x692b[176]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[163]][0][_0x692b[128]])}}};_0x1d05x19[_0x692b[164]]= function(_0x1d05x1a){mxUtils[_0x692b[129]](_0x1d05x19[_0x692b[165]])};_0x1d05x19[_0x692b[167]](_0x692b[177]+ _0x1d05x14)}else {mxUtils[_0x692b[129]](mxResources[_0x692b[112]](_0x692b[168]));mxUtils[_0x692b[169]](_0x1d05x14);return}};this[_0x692b[0]][_0x692b[125]]= _0x1d05x18;this[_0x692b[0]][_0x692b[122]]= false}catch(e){this[_0x692b[0]][_0x692b[142]](_0x692b[178])}}else {this[_0x692b[0]][_0x692b[142]](_0x692b[178])}};EditorUi[_0x692b[10]][_0x692b[179]]= function(_0x1d05x18){var _0x1d05x1=this[_0x692b[0]];console[_0x692b[72]](_0x1d05x18);if(_0x1d05x18!= null){var _0x1d05x14=mxUtils[_0x692b[135]](this[_0x692b[0]][_0x692b[134]]());try{if(useLocalStorage){if(localStorage[_0x692b[136]](_0x1d05x18)!= null&& !mxUtils[_0x692b[138]](mxResources[_0x692b[112]](_0x692b[137],[_0x1d05x18]))){return};localStorage[_0x692b[139]](_0x1d05x18,_0x1d05x14);this[_0x692b[0]][_0x692b[142]](mxResources[_0x692b[112]](_0x692b[140])+ _0x692b[141]+ new Date())}else {console[_0x692b[72]](_0x1d05x14[_0x692b[143]]);console[_0x692b[72]](MAX_REQUEST_SIZE);if(_0x1d05x14[_0x692b[143]]< MAX_REQUEST_SIZE){_0x1d05x14= encodeURIComponent(_0x1d05x14);_0x1d05x18= encodeURIComponent(_0x1d05x18);var _0x1d05x19= new XMLHttpRequest();_0x1d05x19[_0x692b[102]](_0x692b[144],SAVE_URL,true);_0x1d05x19[_0x692b[147]](_0x692b[145],_0x692b[146]);_0x1d05x19[_0x692b[147]](_0x692b[148],_0x692b[149]+ _0x1d05x1[_0x692b[132]][_0x692b[150]]);_0x1d05x19[_0x692b[151]]= function(_0x1d05x1a){if(_0x1d05x19[_0x692b[152]]=== 4){if(_0x1d05x19[_0x692b[153]]=== 201){_0x1d05x1[_0x692b[142]](_0x692b[154]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[155]]+ _0x692b[158]);setTimeout(function(){window[_0x692b[102]](_0x692b[180]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[160]],_0x692b[161])},1500)}else {_0x1d05x1[_0x692b[142]](_0x692b[181]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[163]][0][_0x692b[128]])}}};_0x1d05x19[_0x692b[164]]= function(_0x1d05x1a){mxUtils[_0x692b[129]](_0x1d05x19[_0x692b[165]])};_0x1d05x19[_0x692b[167]](_0x692b[182]+ _0x1d05x18+ _0x692b[183]+ _0x1d05x14+ _0x692b[184]+ _0x1d05x14)}else {mxUtils[_0x692b[129]](mxResources[_0x692b[112]](_0x692b[168]));mxUtils[_0x692b[169]](_0x1d05x14);return}};this[_0x692b[0]][_0x692b[125]]= _0x1d05x18;this[_0x692b[0]][_0x692b[122]]= false}catch(e){this[_0x692b[0]][_0x692b[142]](_0x692b[178])}}else {this[_0x692b[0]][_0x692b[142]](_0x692b[178])}};EditorUi[_0x692b[10]][_0x692b[185]]= function(_0x1d05x1b,_0x1d05x1c){var _0x1d05x3=this[_0x692b[0]][_0x692b[4]];_0x1d05x1b= null!= _0x1d05x1b?_0x1d05x1b:_0x1d05x3[_0x692b[187]][_0x692b[186]]();_0x1d05x1c= null!= _0x1d05x1c?_0x1d05x1c:{};for(var _0x1d05x1d=!0,_0x1d05x1e=_0x1d05x3[_0x692b[187]][_0x692b[188]](_0x1d05x1b),_0x1d05x1a=0;_0x1d05x1a< _0x1d05x1e;_0x1d05x1a++){var _0x1d05x1f=_0x1d05x3[_0x692b[187]][_0x692b[189]](_0x1d05x1b,_0x1d05x1a),_0x1d05x20=_0x1d05x1c;_0x1d05x3[_0x692b[190]](_0x1d05x1f)&& (_0x1d05x20= {});_0x1d05x20= this[_0x692b[185]](_0x1d05x1f,_0x1d05x20);null!= _0x1d05x20?_0x1d05x3[_0x692b[192]](_0x1d05x1f,_0x1d05x20[_0x692b[137]](/\n/g,_0x692b[191])):_0x1d05x3[_0x692b[192]](_0x1d05x1f,null);_0x1d05x1d= _0x1d05x1d&& null== _0x1d05x20};_0x1d05x1e= _0x692b[193];if(_0x1d05x3[_0x692b[187]][_0x692b[71]](_0x1d05x1b)){switch(_0x1d05x1b[_0x692b[67]][_0x692b[201]]){case _0x692b[55]:_0x1d05x1e= (_0x1d05x1b[_0x692b[67]][_0x692b[194]](_0x692b[55])!== _0x692b[193])?_0x692b[193]:_0x692b[195]+ _0x692b[196];_0x1d05x1e+= (_0x1d05x1b[_0x692b[67]][_0x692b[194]](_0x692b[197])!== _0x692b[193])?_0x692b[193]:_0x692b[198]+ _0x692b[196];break;case _0x692b[54]:_0x1d05x1e= (_0x1d05x1b[_0x692b[67]][_0x692b[194]](_0x692b[55])!== _0x692b[193])?_0x692b[193]:_0x692b[195]+ _0x692b[196];_0x1d05x1e+= (_0x1d05x1b[_0x692b[67]][_0x692b[194]](_0x692b[197])!== _0x692b[193])?_0x692b[193]:_0x692b[198]+ _0x692b[196];break;case _0x692b[52]:_0x1d05x1e= this[_0x692b[199]](_0x692b[52])?_0x692b[193]:_0x692b[200]+ _0x692b[196];_0x1d05x1e+= (_0x1d05x1b[_0x692b[67]][_0x692b[194]](_0x692b[197])!== _0x692b[193])?_0x692b[193]:_0x692b[198]+ _0x692b[196];break}};if(_0x1d05x3[_0x692b[187]][_0x692b[64]](_0x1d05x1b)){var _0x1d05x21=_0x1d05x3[_0x692b[187]][_0x692b[203]](_0x1d05x1b[_0x692b[68]][_0x692b[202]]());switch(_0x1d05x21[_0x692b[67]][_0x692b[201]]){case _0x692b[55]:var _0x1d05x22=String(_0x1d05x1b[_0x692b[204]]());console[_0x692b[72]](_0x1d05x22);if(_0x1d05x22=== _0x692b[205]|| _0x1d05x22=== _0x692b[31]){_0x1d05x1e= _0x692b[206]+ _0x692b[196]}else {var _0x1d05x23=_0x1d05x22[_0x692b[208]](_0x692b[207]);_0x1d05x23[_0x692b[212]](function(_0x1d05x24,_0x1d05x25){_0x1d05x1e= _0x1d05x1e+ ((_0x1d05x24[_0x692b[209]]()!== _0x692b[193])?_0x692b[193]:_0x692b[210]+ (_0x1d05x25+ 1)+ _0x692b[211]+ _0x692b[196])})};break}};_0x1d05x3[_0x692b[213]](_0x1d05x1b)&& !_0x1d05x1d&& (_0x1d05x1e+= (mxResources[_0x692b[112]](_0x1d05x3[_0x692b[214]])|| _0x1d05x3[_0x692b[214]])+ _0x692b[196]);_0x1d05x1e= _0x1d05x3[_0x692b[187]][_0x692b[64]](_0x1d05x1b)?_0x1d05x1e+ (_0x1d05x3[_0x692b[216]](_0x1d05x1b,_0x1d05x3[_0x692b[187]][_0x692b[215]](_0x1d05x1b,!0),_0x1d05x3[_0x692b[187]][_0x692b[215]](_0x1d05x1b,!1))|| _0x692b[193]):_0x1d05x1e+ (_0x1d05x3[_0x692b[217]](_0x1d05x1b)|| _0x692b[193]);_0x1d05x1a= _0x1d05x3[_0x692b[218]](_0x1d05x1b,_0x1d05x1c);null!= _0x1d05x1a&& (_0x1d05x1e+= _0x1d05x1a);null== _0x1d05x3[_0x692b[187]][_0x692b[219]](_0x1d05x1b)&& _0x1d05x3[_0x692b[89]][_0x692b[185]]();return 0< _0x1d05x1e[_0x692b[143]]|| !_0x1d05x1d?_0x1d05x1e:null};EditorUi[_0x692b[10]][_0x692b[199]]= function(_0x1d05x26){var _0x1d05x3=this[_0x692b[0]][_0x692b[4]];var _0x1d05x27=_0x1d05x3[_0x692b[220]]();var _0x1d05x28=0;_0x1d05x27[_0x692b[221]][_0x692b[212]](function(_0x1d05x29){if(_0x1d05x3[_0x692b[187]][_0x692b[71]](_0x1d05x29)&& _0x1d05x29[_0x692b[67]][_0x692b[201]]== _0x1d05x26){_0x1d05x28++}});return _0x1d05x28> 1?false:true};EditorUi[_0x692b[10]][_0x692b[222]]= function(_0x1d05x18){var _0x1d05x1=this[_0x692b[0]];if(_0x1d05x18!= null){var _0x1d05x2a=this[_0x692b[185]]();if(_0x1d05x2a=== null){var _0x1d05x14=mxUtils[_0x692b[135]](this[_0x692b[0]][_0x692b[134]]());try{if(useLocalStorage){if(localStorage[_0x692b[136]](_0x1d05x18)!= null&& !mxUtils[_0x692b[138]](mxResources[_0x692b[112]](_0x692b[137],[_0x1d05x18]))){return};localStorage[_0x692b[139]](_0x1d05x18,_0x1d05x14);this[_0x692b[0]][_0x692b[142]](mxResources[_0x692b[112]](_0x692b[140])+ _0x692b[141]+ new Date())}else {console[_0x692b[72]](_0x1d05x14[_0x692b[143]]);console[_0x692b[72]](MAX_REQUEST_SIZE);if(_0x1d05x14[_0x692b[143]]< MAX_REQUEST_SIZE){_0x1d05x14= encodeURIComponent(_0x1d05x14);var _0x1d05x19= new XMLHttpRequest();_0x1d05x19[_0x692b[102]](_0x692b[172],SAVE_URL+ this[_0x692b[0]][_0x692b[132]][_0x692b[160]],true);_0x1d05x19[_0x692b[147]](_0x692b[145],_0x692b[146]);_0x1d05x19[_0x692b[147]](_0x692b[148],_0x692b[149]+ _0x1d05x1[_0x692b[132]][_0x692b[150]]);_0x1d05x19[_0x692b[151]]= function(_0x1d05x1a){if(_0x1d05x19[_0x692b[152]]=== 4){if(_0x1d05x19[_0x692b[153]]=== 200){_0x1d05x1[_0x692b[142]](_0x692b[223]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[174]]+ _0x692b[175]+ _0x1d05x19[_0x692b[153]]+ _0x692b[141]+ _0x1d05x19[_0x692b[165]]+ _0x692b[44])}else {_0x1d05x1[_0x692b[142]](_0x692b[176]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[163]][0][_0x692b[128]])}}};_0x1d05x19[_0x692b[164]]= function(_0x1d05x1a){mxUtils[_0x692b[129]](_0x1d05x19[_0x692b[165]])};_0x1d05x19[_0x692b[167]](_0x692b[177]+ _0x1d05x14+ _0x692b[184]+ _0x1d05x14)}else {mxUtils[_0x692b[129]](mxResources[_0x692b[112]](_0x692b[168]));mxUtils[_0x692b[169]](_0x1d05x14);return}};this[_0x692b[0]][_0x692b[125]]= _0x1d05x18;this[_0x692b[0]][_0x692b[122]]= false}catch(e){this[_0x692b[0]][_0x692b[142]](_0x692b[224])}}else {_0x1d05x1[_0x692b[142]](_0x692b[225])}}else {this[_0x692b[0]][_0x692b[142]](_0x692b[224])}};EditorUi[_0x692b[10]][_0x692b[226]]= function(_0x1d05x18){var _0x1d05x1=this[_0x692b[0]];if(_0x1d05x18!= null){try{var _0x1d05x19= new XMLHttpRequest();_0x1d05x19[_0x692b[102]](_0x692b[144],VARIABLE_URL,true);_0x1d05x19[_0x692b[147]](_0x692b[145],_0x692b[146]);_0x1d05x19[_0x692b[147]](_0x692b[148],_0x692b[149]+ _0x1d05x1[_0x692b[132]][_0x692b[150]]);_0x1d05x19[_0x692b[151]]= function(_0x1d05x1a){if(_0x1d05x19[_0x692b[152]]=== 4){if(_0x1d05x19[_0x692b[153]]=== 201){_0x1d05x1[_0x692b[142]](_0x692b[227]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[228]]+ _0x692b[175]+ _0x1d05x19[_0x692b[153]]+ _0x692b[141]+ _0x1d05x19[_0x692b[165]]+ _0x692b[44])}else {_0x1d05x1[_0x692b[142]](_0x692b[181]+ JSON[_0x692b[157]](_0x1d05x19[_0x692b[156]])[_0x692b[163]][0][_0x692b[128]])}}};_0x1d05x19[_0x692b[164]]= function(_0x1d05x1a){mxUtils[_0x692b[129]](_0x1d05x19[_0x692b[165]])};_0x1d05x19[_0x692b[167]](_0x692b[229]+ _0x1d05x18)}catch(e){this[_0x692b[0]][_0x692b[142]](_0x692b[230])}}else {this[_0x692b[0]][_0x692b[142]](_0x692b[230])}};EditorUi[_0x692b[10]][_0x692b[231]]= function(_0x1d05x2b){var _0x1d05x2c=(_0x1d05x2b!= null)?_0x1d05x2b:window[_0x692b[233]][_0x692b[232]];var _0x1d05x2d=(_0x1d05x2c[_0x692b[69]](_0x692b[234])> 0)?1:0;for(var _0x1d05x25 in urlParams){if(_0x1d05x2d== 0){_0x1d05x2c+= _0x692b[234]}else {_0x1d05x2c+= _0x692b[235]};_0x1d05x2c+= _0x1d05x25+ _0x692b[236]+ urlParams[_0x1d05x25];_0x1d05x2d++};return _0x1d05x2c};EditorUi[_0x692b[10]][_0x692b[109]]= function(){var _0x1d05x2e=this[_0x692b[12]][_0x692b[112]](_0x692b[237]);var _0x1d05x2f=this[_0x692b[12]][_0x692b[112]](_0x692b[238]);var _0x1d05x30=this[_0x692b[0]][_0x692b[124]];var _0x1d05x31=function(){_0x1d05x2e[_0x692b[114]](_0x1d05x30[_0x692b[239]]());_0x1d05x2f[_0x692b[114]](_0x1d05x30[_0x692b[240]]())};_0x1d05x30[_0x692b[33]](mxEvent.ADD,_0x1d05x31);_0x1d05x30[_0x692b[33]](mxEvent.UNDO,_0x1d05x31);_0x1d05x30[_0x692b[33]](mxEvent.REDO,_0x1d05x31);_0x1d05x30[_0x692b[33]](mxEvent.CLEAR,_0x1d05x31);_0x1d05x31()};EditorUi[_0x692b[10]][_0x692b[110]]= function(){var _0x1d05x32=mxUtils[_0x692b[20]](this,function(){var _0x1d05x3=this[_0x692b[0]][_0x692b[4]];var _0x1d05x33=!_0x1d05x3[_0x692b[241]]();var _0x1d05x34=false;var _0x1d05x35=false;var _0x1d05x36=_0x1d05x3[_0x692b[242]]();if(_0x1d05x36!= null){for(var _0x1d05x37=0;_0x1d05x37< _0x1d05x36[_0x692b[143]];_0x1d05x37++){var _0x1d05xb=_0x1d05x36[_0x1d05x37];if(_0x1d05x3[_0x692b[65]]()[_0x692b[64]](_0x1d05xb)){_0x1d05x35= true};if(_0x1d05x3[_0x692b[65]]()[_0x692b[71]](_0x1d05xb)){_0x1d05x34= true};if(_0x1d05x35&& _0x1d05x34){break}}};var _0x1d05x38=[_0x692b[115],_0x692b[116],_0x692b[243],_0x692b[244],_0x692b[245],_0x692b[246],_0x692b[6],_0x692b[247],_0x692b[248],_0x692b[249],_0x692b[250],_0x692b[251],_0x692b[252],_0x692b[253],_0x692b[254]];for(var _0x1d05x37=0;_0x1d05x37< _0x1d05x38[_0x692b[143]];_0x1d05x37++){this[_0x692b[12]][_0x692b[112]](_0x1d05x38[_0x1d05x37])[_0x692b[114]](_0x1d05x33)};this[_0x692b[12]][_0x692b[112]](_0x692b[255])[_0x692b[114]](_0x1d05x35);this[_0x692b[12]][_0x692b[112]](_0x692b[256])[_0x692b[114]](_0x1d05x34);this[_0x692b[12]][_0x692b[112]](_0x692b[257])[_0x692b[114]](_0x1d05x34);this[_0x692b[12]][_0x692b[112]](_0x692b[259])[_0x692b[114]](_0x1d05x3[_0x692b[258]]()> 1);this[_0x692b[12]][_0x692b[112]](_0x692b[261])[_0x692b[114]](_0x1d05x3[_0x692b[258]]()== 1&& _0x1d05x3[_0x692b[65]]()[_0x692b[188]](_0x1d05x3[_0x692b[260]]())> 0);var _0x1d05x39=_0x1d05x34&& _0x1d05x3[_0x692b[258]]()== 1;this[_0x692b[12]][_0x692b[112]](_0x692b[262])[_0x692b[114]](_0x1d05x39&& _0x1d05x3[_0x692b[65]]()[_0x692b[71]](_0x1d05x3[_0x692b[65]]()[_0x692b[219]](_0x1d05x3[_0x692b[260]]())));var _0x1d05x3a=[_0x692b[263],_0x692b[264],_0x692b[265],_0x692b[266],_0x692b[267],_0x692b[268],_0x692b[269],_0x692b[270],_0x692b[271]];for(var _0x1d05x37=0;_0x1d05x37< _0x1d05x3a[_0x692b[143]];_0x1d05x37++){this[_0x692b[13]][_0x692b[112]](_0x1d05x3a[_0x1d05x37])[_0x692b[114]](_0x1d05x33)};_0x1d05x3a= [_0x692b[272],_0x692b[273],_0x692b[274]];for(var _0x1d05x37=0;_0x1d05x37< _0x1d05x3a[_0x692b[143]];_0x1d05x37++){this[_0x692b[13]][_0x692b[112]](_0x1d05x3a[_0x1d05x37])[_0x692b[114]](_0x1d05x35)};this[_0x692b[12]][_0x692b[112]](_0x692b[275])[_0x692b[114]](_0x1d05x35);this[_0x692b[13]][_0x692b[112]](_0x692b[276])[_0x692b[114]](_0x1d05x3[_0x692b[258]]()> 1);this[_0x692b[13]][_0x692b[112]](_0x692b[279])[_0x692b[114]](_0x1d05x34|| (_0x1d05x35&& _0x1d05x3[_0x692b[278]](_0x1d05x3[_0x692b[89]][_0x692b[277]](_0x1d05x3[_0x692b[260]]()))));this[_0x692b[13]][_0x692b[112]](_0x692b[282])[_0x692b[114]](_0x1d05x3[_0x692b[280]]&& ((_0x1d05x3[_0x692b[89]][_0x692b[281]]!= null)|| (_0x1d05x3[_0x692b[258]]()== 1&& _0x1d05x3[_0x692b[190]](_0x1d05x3[_0x692b[260]]()))));this[_0x692b[12]][_0x692b[112]](_0x692b[283])[_0x692b[114]](_0x1d05x3[_0x692b[89]][_0x692b[281]]!= null);this[_0x692b[12]][_0x692b[112]](_0x692b[284])[_0x692b[114]](_0x1d05x3[_0x692b[89]][_0x692b[281]]!= null);var _0x1d05x3b=_0x1d05x3[_0x692b[258]]()== 1&& _0x1d05x3[_0x692b[190]](_0x1d05x3[_0x692b[260]]());this[_0x692b[12]][_0x692b[112]](_0x692b[285])[_0x692b[114]](_0x1d05x3b);this[_0x692b[12]][_0x692b[112]](_0x692b[286])[_0x692b[114]](_0x1d05x3b);this[_0x692b[12]][_0x692b[112]](_0x692b[287])[_0x692b[114]](_0x1d05x3b);this[_0x692b[12]][_0x692b[112]](_0x692b[288])[_0x692b[114]](_0x1d05x3[_0x692b[258]]()== 1);this[_0x692b[12]][_0x692b[112]](_0x692b[290])[_0x692b[114]](_0x1d05x3[_0x692b[258]]()== 1&& _0x1d05x3[_0x692b[289]](_0x1d05x3[_0x692b[260]]())!= null)});this[_0x692b[0]][_0x692b[4]][_0x692b[291]]()[_0x692b[33]](mxEvent.CHANGE,_0x1d05x32);_0x1d05x32()};EditorUi[_0x692b[10]][_0x692b[15]]= function(){var _0x1d05x3c=mxClient[_0x692b[29]]&& (document[_0x692b[30]]== null|| document[_0x692b[30]]== 5);var _0x1d05x3d=this[_0x692b[1]][_0x692b[292]];var _0x1d05x3e=this[_0x692b[1]][_0x692b[293]];if(this[_0x692b[1]]== document[_0x692b[21]]){_0x1d05x3d= document[_0x692b[21]][_0x692b[292]]|| document[_0x692b[120]][_0x692b[292]];_0x1d05x3e= (_0x1d05x3c)?document[_0x692b[21]][_0x692b[293]]|| document[_0x692b[120]][_0x692b[293]]:document[_0x692b[120]][_0x692b[293]]};var _0x1d05x3f=Math[_0x692b[295]](0,Math[_0x692b[294]](this[_0x692b[107]],_0x1d05x3d- this[_0x692b[103]]- 20));var _0x1d05x40=Math[_0x692b[295]](0,Math[_0x692b[294]](this[_0x692b[108]],_0x1d05x3e- this[_0x692b[104]]- this[_0x692b[105]]- this[_0x692b[106]]- this[_0x692b[103]]- 1));this[_0x692b[23]][_0x692b[6]][_0x692b[296]]= this[_0x692b[104]]+ _0x692b[297];this[_0x692b[25]][_0x692b[6]][_0x692b[298]]= this[_0x692b[104]]+ _0x692b[297];this[_0x692b[25]][_0x692b[6]][_0x692b[296]]= this[_0x692b[105]]+ _0x692b[297];var _0x1d05x41=this[_0x692b[104]]+ this[_0x692b[105]];if(!mxClient[_0x692b[299]]){_0x1d05x41+= 1};this[_0x692b[27]][_0x692b[6]][_0x692b[298]]= _0x1d05x41+ _0x692b[297];this[_0x692b[27]][_0x692b[6]][_0x692b[300]]= _0x1d05x3f+ _0x692b[297];this[_0x692b[79]][_0x692b[6]][_0x692b[300]]= _0x1d05x3f+ _0x692b[297];this[_0x692b[79]][_0x692b[6]][_0x692b[296]]= _0x1d05x40+ _0x692b[297];this[_0x692b[79]][_0x692b[6]][_0x692b[301]]= this[_0x692b[106]]+ _0x692b[297];this[_0x692b[26]][_0x692b[6]][_0x692b[302]]= (_0x1d05x3f+ this[_0x692b[103]])+ _0x692b[297];this[_0x692b[26]][_0x692b[6]][_0x692b[298]]= this[_0x692b[27]][_0x692b[6]][_0x692b[298]];this[_0x692b[28]][_0x692b[6]][_0x692b[296]]= this[_0x692b[106]]+ _0x692b[297];this[_0x692b[28]][_0x692b[6]][_0x692b[303]]= _0x692b[304];this[_0x692b[305]][_0x692b[6]][_0x692b[298]]= this[_0x692b[27]][_0x692b[6]][_0x692b[298]];this[_0x692b[305]][_0x692b[6]][_0x692b[301]]= this[_0x692b[79]][_0x692b[6]][_0x692b[301]];this[_0x692b[305]][_0x692b[6]][_0x692b[302]]= _0x1d05x3f+ _0x692b[297];this[_0x692b[306]][_0x692b[6]][_0x692b[300]]= this[_0x692b[27]][_0x692b[6]][_0x692b[300]];this[_0x692b[306]][_0x692b[6]][_0x692b[301]]= (_0x1d05x40+ this[_0x692b[106]])+ _0x692b[297];if(_0x1d05x3c){this[_0x692b[23]][_0x692b[6]][_0x692b[300]]= _0x1d05x3d+ _0x692b[297];this[_0x692b[25]][_0x692b[6]][_0x692b[300]]= this[_0x692b[23]][_0x692b[6]][_0x692b[300]];var _0x1d05x42=(_0x1d05x3e- _0x1d05x40- this[_0x692b[103]]- this[_0x692b[106]]- this[_0x692b[104]]- this[_0x692b[105]]);this[_0x692b[27]][_0x692b[6]][_0x692b[296]]= _0x1d05x42+ _0x692b[297];this[_0x692b[26]][_0x692b[6]][_0x692b[300]]= (_0x1d05x3d- _0x1d05x3f- this[_0x692b[103]])+ _0x692b[297];var _0x1d05x43=(_0x1d05x3e- this[_0x692b[106]]- this[_0x692b[104]]- this[_0x692b[105]]);this[_0x692b[26]][_0x692b[6]][_0x692b[296]]= _0x1d05x43+ _0x692b[297];this[_0x692b[28]][_0x692b[6]][_0x692b[300]]= this[_0x692b[23]][_0x692b[6]][_0x692b[300]];this[_0x692b[305]][_0x692b[6]][_0x692b[296]]= _0x1d05x43+ _0x692b[297]}else {this[_0x692b[27]][_0x692b[6]][_0x692b[301]]= (_0x1d05x40+ this[_0x692b[103]]+ this[_0x692b[106]])+ _0x692b[297];this[_0x692b[26]][_0x692b[6]][_0x692b[301]]= this[_0x692b[79]][_0x692b[6]][_0x692b[301]]}};EditorUi[_0x692b[10]][_0x692b[14]]= function(){this[_0x692b[23]]= this[_0x692b[308]](_0x692b[307]);this[_0x692b[25]]= this[_0x692b[308]](_0x692b[309]);this[_0x692b[27]]= this[_0x692b[308]](_0x692b[310]);this[_0x692b[79]]= this[_0x692b[308]](_0x692b[311]);this[_0x692b[26]]= this[_0x692b[308]](_0x692b[312]);this[_0x692b[28]]= this[_0x692b[308]](_0x692b[313]);this[_0x692b[305]]= this[_0x692b[308]](_0x692b[314]);this[_0x692b[306]]= this[_0x692b[308]](_0x692b[315]);this[_0x692b[23]][_0x692b[6]][_0x692b[298]]= _0x692b[316];this[_0x692b[23]][_0x692b[6]][_0x692b[302]]= _0x692b[316];this[_0x692b[23]][_0x692b[6]][_0x692b[317]]= _0x692b[316];this[_0x692b[25]][_0x692b[6]][_0x692b[302]]= _0x692b[316];this[_0x692b[25]][_0x692b[6]][_0x692b[317]]= _0x692b[316];this[_0x692b[27]][_0x692b[6]][_0x692b[302]]= _0x692b[316];this[_0x692b[79]][_0x692b[6]][_0x692b[302]]= _0x692b[316];this[_0x692b[26]][_0x692b[6]][_0x692b[317]]= _0x692b[316];this[_0x692b[28]][_0x692b[6]][_0x692b[302]]= _0x692b[316];this[_0x692b[28]][_0x692b[6]][_0x692b[317]]= _0x692b[316];this[_0x692b[28]][_0x692b[6]][_0x692b[301]]= _0x692b[316];this[_0x692b[306]][_0x692b[6]][_0x692b[302]]= _0x692b[316];this[_0x692b[306]][_0x692b[6]][_0x692b[296]]= this[_0x692b[103]]+ _0x692b[297];this[_0x692b[305]][_0x692b[6]][_0x692b[300]]= this[_0x692b[103]]+ _0x692b[297]};EditorUi[_0x692b[10]][_0x692b[16]]= function(){this[_0x692b[318]]= this[_0x692b[13]][_0x692b[320]](this[_0x692b[308]](_0x692b[319]));this[_0x692b[23]][_0x692b[321]](this[_0x692b[318]][_0x692b[1]]);this[_0x692b[322]]= this[_0x692b[324]](this[_0x692b[308]](_0x692b[323]));this[_0x692b[25]][_0x692b[321]](this[_0x692b[322]][_0x692b[1]]);this[_0x692b[325]]= this[_0x692b[326]](this[_0x692b[27]]);this[_0x692b[28]][_0x692b[321]](this[_0x692b[327]]());this[_0x692b[328]]= this[_0x692b[329]]();this[_0x692b[0]][_0x692b[33]](_0x692b[330],mxUtils[_0x692b[20]](this,function(){this[_0x692b[332]](this[_0x692b[0]][_0x692b[331]]())}));this[_0x692b[332]](this[_0x692b[0]][_0x692b[331]]());this[_0x692b[318]][_0x692b[1]][_0x692b[321]](this[_0x692b[328]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[23]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[25]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[27]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[79]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[26]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[28]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[305]]);this[_0x692b[1]][_0x692b[321]](this[_0x692b[306]]);this[_0x692b[333]](this[_0x692b[305]],true,0,mxUtils[_0x692b[20]](this,function(_0x1d05x44){this[_0x692b[107]]= _0x1d05x44;this[_0x692b[15]]();this[_0x692b[0]][_0x692b[4]][_0x692b[100]]();this[_0x692b[0]][_0x692b[80]][_0x692b[101]](false);this[_0x692b[0]][_0x692b[80]][_0x692b[80]][_0x692b[100]]()}));this[_0x692b[333]](this[_0x692b[306]],false,this[_0x692b[106]],mxUtils[_0x692b[20]](this,function(_0x1d05x44){this[_0x692b[108]]= _0x1d05x44;this[_0x692b[15]]();this[_0x692b[0]][_0x692b[80]][_0x692b[101]](false);this[_0x692b[0]][_0x692b[80]][_0x692b[80]][_0x692b[100]]()}))};EditorUi[_0x692b[10]][_0x692b[329]]= function(){var _0x1d05x2=document[_0x692b[335]](_0x692b[334]);_0x1d05x2[_0x692b[336]]= _0x692b[337];return _0x1d05x2};EditorUi[_0x692b[10]][_0x692b[329]]= function(){var _0x1d05x2=document[_0x692b[335]](_0x692b[334]);_0x1d05x2[_0x692b[336]]= _0x692b[337];return _0x1d05x2};EditorUi[_0x692b[10]][_0x692b[332]]= function(_0x1d05x44){this[_0x692b[328]][_0x692b[338]]= _0x1d05x44};EditorUi[_0x692b[10]][_0x692b[324]]= function(_0x1d05x2){return new Toolbar(this,_0x1d05x2)};EditorUi[_0x692b[10]][_0x692b[326]]= function(_0x1d05x2){return new Sidebar(this,_0x1d05x2)};EditorUi[_0x692b[10]][_0x692b[327]]= function(){return this[_0x692b[308]](_0x692b[339])};EditorUi[_0x692b[10]][_0x692b[308]]= function(_0x1d05x45){var _0x1d05x46=document[_0x692b[335]](_0x692b[340]);_0x1d05x46[_0x692b[336]]= _0x1d05x45;return _0x1d05x46};EditorUi[_0x692b[10]][_0x692b[341]]= function(_0x1d05x45){var _0x1d05x46=document[_0x692b[335]](_0x1d05x45);return _0x1d05x46};EditorUi[_0x692b[10]][_0x692b[342]]= function(_0x1d05x45){var _0x1d05x46=document[_0x692b[335]](_0x692b[343]);_0x1d05x46[_0x692b[336]]= _0x1d05x45;return _0x1d05x46};EditorUi[_0x692b[10]][_0x692b[333]]= function(_0x1d05x46,_0x1d05x47,_0x1d05x48,_0x1d05x49){var _0x1d05x4a=null;var _0x1d05x4b=null;function _0x1d05x4c(){return parseInt(((_0x1d05x47)?_0x1d05x46[_0x692b[6]][_0x692b[302]]:_0x1d05x46[_0x692b[6]][_0x692b[301]]))}function _0x1d05x4d(_0x1d05x6){if(_0x1d05x4a!= null){var _0x1d05x4e= new mxPoint(mxEvent[_0x692b[344]](_0x1d05x6),mxEvent[_0x692b[345]](_0x1d05x6));_0x1d05x49(Math[_0x692b[295]](0,_0x1d05x4b+ ((_0x1d05x47)?(_0x1d05x4e[_0x692b[346]]- _0x1d05x4a[_0x692b[346]]):(_0x1d05x4a[_0x692b[347]]- _0x1d05x4e[_0x692b[347]]))- _0x1d05x48));mxEvent[_0x692b[74]](_0x1d05x6)}}function _0x1d05x4f(_0x1d05x6){_0x1d05x4d(_0x1d05x6);_0x1d05x4a= null;_0x1d05x4b= null}mxEvent[_0x692b[82]](_0x1d05x46,function(_0x1d05x6){_0x1d05x4a= new mxPoint(mxEvent[_0x692b[344]](_0x1d05x6),mxEvent[_0x692b[345]](_0x1d05x6));_0x1d05x4b= _0x1d05x4c();mxEvent[_0x692b[74]](_0x1d05x6)});mxEvent[_0x692b[33]](document,_0x692b[348],_0x1d05x4d);mxEvent[_0x692b[33]](document,_0x692b[349],_0x1d05x4d);mxEvent[_0x692b[33]](document,_0x692b[350],_0x1d05x4f);mxEvent[_0x692b[33]](document,_0x692b[351],_0x1d05x4f)};EditorUi[_0x692b[10]][_0x692b[73]]= function(_0x1d05x46,_0x1d05x3d,_0x1d05x3e,_0x1d05x50,_0x1d05x51,_0x1d05x52){this[_0x692b[352]]();this[_0x692b[353]]= new Dialog(this,_0x1d05x46,_0x1d05x3d,(mxClient[_0x692b[354]])?_0x1d05x3e- 12:_0x1d05x3e,_0x1d05x50,_0x1d05x51,_0x1d05x52)};EditorUi[_0x692b[10]][_0x692b[352]]= function(){if(this[_0x692b[353]]!= null){this[_0x692b[353]][_0x692b[355]]();this[_0x692b[353]]= null;this[_0x692b[0]][_0x692b[4]][_0x692b[1]][_0x692b[47]]()}};EditorUi[_0x692b[10]][_0x692b[356]]= function(_0x1d05x53){if(!_0x1d05x53&& this[_0x692b[0]][_0x692b[125]]!= null){this[_0x692b[171]](this[_0x692b[0]][_0x692b[357]]())}else {this[_0x692b[73]]( new SaveDialog(this)[_0x692b[1]],300,100,true,true)}};EditorUi[_0x692b[10]][_0x692b[358]]= function(_0x1d05x53){if(!_0x1d05x53&& this[_0x692b[0]][_0x692b[125]]!= null){this[_0x692b[222]](this[_0x692b[0]][_0x692b[357]]())}else {}};EditorUi[_0x692b[10]][_0x692b[359]]= function(_0x1d05x54,_0x1d05x55,_0x1d05x56){var _0x1d05x3=this[_0x692b[0]][_0x692b[4]];var _0x1d05xb=_0x1d05x3[_0x692b[260]]();_0x1d05x55= this[_0x692b[360]]!= null?this[_0x692b[360]]:_0x1d05x55;_0x1d05x3[_0x692b[65]]()[_0x692b[361]]();try{_0x1d05x54[_0x692b[362]](_0x1d05x3[_0x692b[220]](),_0x1d05xb)}catch(e){throw e}finally{if(_0x1d05x55&& navigator[_0x692b[364]][_0x692b[69]](_0x692b[363])< 0){var _0x1d05x57= new mxMorphing(_0x1d05x3);_0x1d05x57[_0x692b[33]](mxEvent.DONE,mxUtils[_0x692b[20]](this,function(){_0x1d05x3[_0x692b[65]]()[_0x692b[365]]()}));_0x1d05x57[_0x692b[366]]()}else {_0x1d05x3[_0x692b[65]]()[_0x692b[365]]()}}};EditorUi[_0x692b[10]][_0x692b[97]]= function(_0x1d05x1){var _0x1d05x3=this[_0x692b[0]][_0x692b[4]];var _0x1d05xf= new mxKeyHandler(_0x1d05x3);_0x1d05xf[_0x692b[367]]= function(_0x1d05x6){return mxEvent[_0x692b[367]](_0x1d05x6)|| (mxClient[_0x692b[368]]&& _0x1d05x6[_0x692b[369]])};function _0x1d05x58(_0x1d05x59){if(!_0x1d05x3[_0x692b[241]]()){var _0x1d05x48=0;var _0x1d05x5a=0;if(_0x1d05x59== 37){_0x1d05x48= -1}else {if(_0x1d05x59== 38){_0x1d05x5a= -1}else {if(_0x1d05x59== 39){_0x1d05x48= 1}else {if(_0x1d05x59== 40){_0x1d05x5a= 1}}}};_0x1d05x3[_0x692b[370]](_0x1d05x3[_0x692b[242]](),_0x1d05x48,_0x1d05x5a);_0x1d05x3[_0x692b[371]](_0x1d05x3[_0x692b[260]]())}}var _0x1d05x5b=mxUtils[_0x692b[20]](this,function(_0x1d05x5c,_0x1d05x5d,_0x1d05x25,_0x1d05x5e){var _0x1d05x5f=this[_0x692b[12]][_0x692b[112]](_0x1d05x25);if(_0x1d05x5f!= null){var _0x1d05x1f=function(){if(_0x1d05x5f[_0x692b[372]]){_0x1d05x5f[_0x692b[373]]()}};if(_0x1d05x5d){if(_0x1d05x5e){_0x1d05xf[_0x692b[374]](_0x1d05x5c,_0x1d05x1f)}else {_0x1d05xf[_0x692b[375]](_0x1d05x5c,_0x1d05x1f)}}else {if(_0x1d05x5e){_0x1d05xf[_0x692b[376]](_0x1d05x5c,_0x1d05x1f)}else {_0x1d05xf[_0x692b[377]](_0x1d05x5c,_0x1d05x1f)}}}});var _0x1d05x60=this;var _0x1d05x61=_0x1d05xf[_0x692b[378]];_0x1d05xf[_0x692b[378]]= function(_0x1d05x6){_0x1d05x60[_0x692b[352]]();_0x1d05x61[_0x692b[50]](this,arguments)};_0x1d05xf[_0x692b[379]]= function(){};_0x1d05xf[_0x692b[377]](8,function(){_0x1d05x3[_0x692b[380]](true)});_0x1d05xf[_0x692b[377]](13,function(){_0x1d05x3[_0x692b[380]](false)});_0x1d05xf[_0x692b[377]](33,function(){_0x1d05x3[_0x692b[284]]()});_0x1d05xf[_0x692b[377]](34,function(){_0x1d05x3[_0x692b[285]]()});_0x1d05xf[_0x692b[377]](36,function(){_0x1d05x3[_0x692b[283]]()});_0x1d05xf[_0x692b[377]](35,function(){_0x1d05x3[_0x692b[15]]()});_0x1d05xf[_0x692b[377]](37,function(){_0x1d05x58(37)});_0x1d05xf[_0x692b[377]](38,function(){_0x1d05x58(38)});_0x1d05xf[_0x692b[377]](39,function(){_0x1d05x58(39)});_0x1d05xf[_0x692b[377]](40,function(){_0x1d05x58(40)});_0x1d05xf[_0x692b[377]](113,function(){_0x1d05x3[_0x692b[70]]()});_0x1d05x5b(46,false,_0x692b[243]);_0x1d05x5b(82,true,_0x692b[253]);_0x1d05x5b(83,true,_0x692b[171]);_0x1d05x5b(83,true,_0x692b[179],true);_0x1d05x5b(107,false,_0x692b[381]);_0x1d05x5b(109,false,_0x692b[382]);_0x1d05x5b(65,true,_0x692b[383]);_0x1d05x5b(86,true,_0x692b[384],true);_0x1d05x5b(69,true,_0x692b[385],true);_0x1d05x5b(69,true,_0x692b[386]);_0x1d05x5b(66,true,_0x692b[249]);_0x1d05x5b(70,true,_0x692b[248]);_0x1d05x5b(68,true,_0x692b[244]);_0x1d05x5b(90,true,_0x692b[237]);_0x1d05x5b(89,true,_0x692b[238]);_0x1d05x5b(88,true,_0x692b[115]);_0x1d05x5b(67,true,_0x692b[116]);_0x1d05x5b(81,true,_0x692b[387]);_0x1d05x5b(86,true,_0x692b[111]);_0x1d05x5b(71,true,_0x692b[259]);_0x1d05x5b(71,true,_0x692b[388],true);_0x1d05x5b(85,true,_0x692b[261]);_0x1d05x5b(112,false,_0x692b[389]);_0x1d05x5b(80,true,_0x692b[222],true);return _0x1d05xf};EditorUi[_0x692b[10]][_0x692b[58]]= function(_0x1d05x3,_0x1d05x36,_0x1d05x62,_0x1d05x63){for(var _0x1d05x37=0;_0x1d05x37< _0x1d05x36[_0x692b[143]];_0x1d05x37++){_0x1d05x3[_0x692b[392]]( new mxMultiplicity(true,_0x1d05x36[_0x1d05x37],null,null,_0x1d05x62[_0x1d05x37][0],_0x1d05x62[_0x1d05x37][1],null,mxResources[_0x692b[112]](_0x1d05x36[_0x1d05x37])+ _0x692b[390]+ _0x1d05x62[_0x1d05x37][0]+ _0x692b[391],null));_0x1d05x3[_0x692b[392]]( new mxMultiplicity(false,_0x1d05x36[_0x1d05x37],null,null,_0x1d05x63[_0x1d05x37][0],_0x1d05x63[_0x1d05x37][1],null,mxResources[_0x692b[112]](_0x1d05x36[_0x1d05x37])+ _0x692b[390]+ _0x1d05x63[_0x1d05x37][0]+ _0x692b[393],null))}} \ No newline at end of file +var _0x6ec3=["\x65\x64\x69\x74\x6F\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x45\x64\x69\x74\x6F\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x72\x61\x70\x68","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x73\x72\x63","\x73\x75\x62\x6D\x65\x6E\x75\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x6D\x65\x6E\x75\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x76\x73","\x72\x65\x66\x72\x65\x73\x68","\x63\x72\x65\x61\x74\x65\x55\x69","\x65\x76\x65\x6E\x74","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x41\x6C\x6C\x6F\x77\x65\x64","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x62\x69\x6E\x64","\x62\x6F\x64\x79","\x6F\x6E\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x6D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x6E\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x74\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x64\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x66\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x69\x6E\x69\x74","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x75\x72\x73\x6F\x72","\x64\x65\x66\x61\x75\x6C\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x66\x6F\x63\x75\x73","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x61\x70\x70\x6C\x79","\x6D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x73\x74\x61\x72\x74","\x65\x6E\x64","\x69\x6E\x70\x75\x74","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x65\x6D\x61\x69\x6C","\x6E","\x63\x72\x65\x61\x74\x65\x4D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x65\x6C\x6C","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x74\x61\x67\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x73\x6F\x75\x72\x63\x65","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67\x41\x74\x43\x65\x6C\x6C","\x69\x73\x56\x65\x72\x74\x65\x78","\x6C\x6F\x67","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x63\x6F\x6E\x73\x75\x6D\x65","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x6F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x67\x65\x73\x74\x75\x72\x65\x63\x68\x61\x6E\x67\x65","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x73\x63\x61\x6C\x65\x28","\x73\x63\x61\x6C\x65","\x67\x65\x74\x44\x72\x61\x77\x50\x61\x6E\x65","\x76\x69\x65\x77","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x73\x74\x75\x72\x65\x65\x6E\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x7A\x6F\x6F\x6D\x54\x6F\x43\x65\x6E\x74\x65\x72","\x7A\x6F\x6F\x6D","\x76\x69\x73\x69\x62\x6C\x65","\x63\x72\x65\x61\x74\x65\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x73\x69\x7A\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x75\x70\x64\x61\x74\x65","\x6F\x70\x65\x6E","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6D\x65\x6E\x75\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x74\x6F\x6F\x6C\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x66\x6F\x6F\x74\x65\x72\x48\x65\x69\x67\x68\x74","\x68\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x76\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x55\x6E\x64\x6F\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x73\x74\x65","\x67\x65\x74","\x69\x73\x45\x6D\x70\x74\x79","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x74","\x63\x6F\x70\x79","\x6F\x70\x65\x6E\x65\x72","\x6F\x70\x65\x6E\x46\x69\x6C\x65","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x63\x6C\x65\x61\x72","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x69\x6E\x76\x61\x6C\x69\x64\x4F\x72\x4D\x69\x73\x73\x69\x6E\x67\x46\x69\x6C\x65","\x3A\x20","\x6D\x65\x73\x73\x61\x67\x65","\x61\x6C\x65\x72\x74","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x6F\x70\x65\x6E\x53\x74\x72\x69\x6E\x67","\x64\x61\x74\x61","\x6E\x65\x77","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x67\x65\x74\x49\x74\x65\x6D","\x72\x65\x70\x6C\x61\x63\x65","\x63\x6F\x6E\x66\x69\x72\x6D","\x73\x65\x74\x49\x74\x65\x6D","\x73\x61\x76\x65\x64","\x20","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x50\x4F\x53\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x50\x72\x6F\x6A\x65\x63\x74\x20","\x6E\x61\x6D\x65","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x20\x69\x73\x20\x6F\x70\x65\x6E\x69\x6E\x67\x20\x69\x6E\x20\x6E\x65\x77\x20\x77\x69\x6E\x64\x6F\x77\x21","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x69\x64","\x5F\x62\x6C\x61\x6E\x6B","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x65\x77\x26\x6E\x61\x6D\x65\x3D","\x73\x65\x6E\x64","\x64\x72\x61\x77\x69\x6E\x67\x54\x6F\x6F\x4C\x61\x72\x67\x65","\x70\x6F\x70\x75\x70","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74","\x73\x61\x76\x65","\x50\x55\x54","\x55\x70\x64\x61\x74\x65\x64\x20\x61\x74\x20","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x20\x28","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x64\x72\x61\x66\x74\x3D","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x66\x69\x6C\x65","\x73\x61\x76\x65\x41\x73","\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x2F","\x45\x72\x72\x6F\x72\x20\x63\x6C\x6F\x6E\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x63\x6C\x6F\x6E\x65\x64\x26\x6E\x61\x6D\x65\x3D","\x26\x64\x72\x61\x66\x74\x3D","\x26\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x76\x61\x6C\x69\x64\x61\x74\x65","\x67\x65\x74\x52\x6F\x6F\x74","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x41\x74","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x3C\x62\x72\x3E","\x73\x65\x74\x43\x65\x6C\x6C\x57\x61\x72\x6E\x69\x6E\x67","","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x51\x75\x65\x73\x74\x69\x6F\x6E\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x0A","\x6C\x61\x62\x65\x6C","\x4C\x61\x62\x65\x6C\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x6C\x6F\x63\x6B","\x4F\x6E\x6C\x79\x20\x6F\x6E\x65\x20\x53\x74\x61\x72\x74\x20\x62\x6C\x6F\x63\x6B\x20\x69\x73\x20\x61\x6C\x6C\x6F\x77\x65\x64","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x67\x65\x74\x49\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x67\x65\x74\x56\x61\x6C\x75\x65","\x6E\x75\x6C\x6C","\x56\x61\x6C\x75\x65\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x2C","\x73\x70\x6C\x69\x74","\x74\x72\x69\x6D","\x56\x61\x6C\x75\x65","\x20\x63\x61\x6E\x20\x6E\x6F\x74\x20\x62\x65\x20\x65\x6D\x70\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x67\x65\x74\x45\x64\x67\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x67\x65\x74\x43\x65\x6C\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x70\x75\x62\x6C\x69\x73\x68","\x50\x75\x62\x6C\x69\x73\x68\x65\x64\x20\x61\x74\x20","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x66\x69\x6C\x65","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x76\x61\x72\x69\x61\x62\x6C\x65","\x56\x61\x72\x69\x61\x62\x6C\x65\x20\x63\x72\x65\x61\x74\x65\x64\x20\x61\x74\x20","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x6E\x61\x6D\x65\x3D","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65","\x67\x65\x74\x55\x72\x6C","\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x26","\x3D","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x61\x6E\x55\x6E\x64\x6F","\x63\x61\x6E\x52\x65\x64\x6F","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x73\x68\x61\x64\x6F\x77","\x74\x69\x6C\x74","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x63\x75\x72\x76\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x72\x6F\x75\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x66\x6F\x72\x6D\x61\x74","\x61\x72\x72\x61\x6E\x67\x65","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x73\x70\x61\x63\x69\x6E\x67","\x6C\x69\x6E\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x6C\x69\x67\x6E","\x67\x65\x74\x53\x74\x61\x74\x65","\x69\x73\x4C\x6F\x6F\x70","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x6D\x61\x78","\x68\x65\x69\x67\x68\x74","\x70\x78","\x74\x6F\x70","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x77\x69\x64\x74\x68","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x68\x73\x70\x6C\x69\x74","\x76\x73\x70\x6C\x69\x74","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x4F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x44\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x46\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x48\x73\x70\x6C\x69\x74","\x67\x65\x56\x73\x70\x6C\x69\x74","\x30\x70\x78","\x72\x69\x67\x68\x74","\x6D\x65\x6E\x75\x62\x61\x72","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x74\x6F\x6F\x6C\x62\x61\x72","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x73\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x53\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x6F\x74\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x74\x53\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x64\x64\x53\x70\x6C\x69\x74\x48\x61\x6E\x64\x6C\x65\x72","\x61","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D\x20\x67\x65\x53\x74\x61\x74\x75\x73","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x67\x65\x46\x6F\x6F\x74\x65\x72","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x72\x6D","\x66\x6F\x72\x6D","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x78","\x79","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x74\x6F\x75\x63\x68\x6D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x74\x6F\x75\x63\x68\x65\x6E\x64","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x64\x69\x61\x6C\x6F\x67","\x49\x53\x5F\x56\x4D\x4C","\x63\x6C\x6F\x73\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x61\x6E\x69\x6D\x61\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x65\x78\x65\x63\x75\x74\x65","\x43\x61\x6D\x69\x6E\x6F","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x49\x53\x5F\x4D\x41\x43","\x6D\x65\x74\x61\x4B\x65\x79","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x65\x6E\x61\x62\x6C\x65\x64","\x66\x75\x6E\x63\x74","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79","\x62\x69\x6E\x64\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x4B\x65\x79","\x65\x73\x63\x61\x70\x65","\x65\x6E\x74\x65\x72","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x6E\x65\x63\x74","\x67\x72\x69\x64","\x61\x62\x6F\x75\x74","\x20\x6D\x75\x73\x74\x20\x68\x61\x76\x65\x20","\x20\x6F\x75\x74\x67\x6F\x69\x6E\x67\x20\x65\x64\x67\x65\x2E","\x70\x75\x73\x68","\x20\x69\x6E\x63\x6F\x6D\x69\x6E\x67\x20\x65\x64\x67\x65\x2E"];EditorUi= function(_0x7e88x1,_0x7e88x2){this[_0x6ec3[0]]= _0x7e88x1|| new Editor();this[_0x6ec3[1]]= _0x7e88x2|| document[_0x6ec3[3]](_0x6ec3[2]);var _0x7e88x3=_0x7e88x1[_0x6ec3[4]];var _0x7e88x4=this;this[_0x6ec3[1]][_0x6ec3[6]][_0x6ec3[5]]= _0x6ec3[7]; new Image()[_0x6ec3[8]]= mxPopupMenu[_0x6ec3[10]][_0x6ec3[9]];if(mxConnectionHandler[_0x6ec3[10]][_0x6ec3[11]]!= null){ new Image()[_0x6ec3[8]]= mxConnectionHandler[_0x6ec3[10]][_0x6ec3[11]][_0x6ec3[8]]};this[_0x6ec3[12]]= new Actions(this);this[_0x6ec3[13]]= new Menus(this);this[_0x6ec3[14]]();this[_0x6ec3[15]]();this[_0x6ec3[16]]();var _0x7e88x5=mxUtils[_0x6ec3[20]](this,function(_0x7e88x6){if(_0x7e88x6== null){_0x7e88x6= window[_0x6ec3[17]]};if(this[_0x6ec3[18]](_0x7e88x6)){return true};return _0x7e88x3[_0x6ec3[19]]()});if(this[_0x6ec3[1]]== document[_0x6ec3[21]]){this[_0x6ec3[23]][_0x6ec3[22]]= _0x7e88x5;this[_0x6ec3[23]][_0x6ec3[24]]= _0x7e88x5;this[_0x6ec3[25]][_0x6ec3[22]]= _0x7e88x5;this[_0x6ec3[25]][_0x6ec3[24]]= _0x7e88x5;this[_0x6ec3[26]][_0x6ec3[22]]= _0x7e88x5;this[_0x6ec3[26]][_0x6ec3[24]]= _0x7e88x5;this[_0x6ec3[27]][_0x6ec3[22]]= _0x7e88x5;this[_0x6ec3[27]][_0x6ec3[24]]= _0x7e88x5;this[_0x6ec3[28]][_0x6ec3[22]]= _0x7e88x5;this[_0x6ec3[28]][_0x6ec3[24]]= _0x7e88x5};if(mxClient[_0x6ec3[29]]&& ( typeof (document[_0x6ec3[30]])=== _0x6ec3[31]|| document[_0x6ec3[30]]< 9)){mxEvent[_0x6ec3[33]](this[_0x6ec3[26]],_0x6ec3[32],_0x7e88x5);mxEvent[_0x6ec3[33]](this[_0x6ec3[27]],_0x6ec3[32],_0x7e88x5)}else {this[_0x6ec3[26]][_0x6ec3[34]]= _0x7e88x5;this[_0x6ec3[27]][_0x6ec3[34]]= _0x7e88x5};_0x7e88x3[_0x6ec3[35]](this[_0x6ec3[26]]);_0x7e88x3[_0x6ec3[15]]();_0x7e88x3[_0x6ec3[1]][_0x6ec3[38]](_0x6ec3[36],_0x6ec3[37]);_0x7e88x3[_0x6ec3[1]][_0x6ec3[6]][_0x6ec3[39]]= _0x6ec3[40];_0x7e88x3[_0x6ec3[1]][_0x6ec3[6]][_0x6ec3[41]]= _0x6ec3[42]+ _0x7e88x1[_0x6ec3[43]]+ _0x6ec3[44];_0x7e88x3[_0x6ec3[1]][_0x6ec3[6]][_0x6ec3[45]]= _0x6ec3[46];_0x7e88x3[_0x6ec3[1]][_0x6ec3[47]]();var _0x7e88x7=_0x7e88x3[_0x6ec3[48]];_0x7e88x3[_0x6ec3[48]]= function(_0x7e88x8,_0x7e88x9,_0x7e88xa){if(_0x7e88x8== mxEvent[_0x6ec3[49]]){this[_0x6ec3[1]][_0x6ec3[47]]()};_0x7e88x7[_0x6ec3[50]](this,arguments)};this[_0x6ec3[58]](_0x7e88x3[_0x6ec3[51]],[_0x6ec3[52],_0x6ec3[53],_0x6ec3[54],_0x6ec3[55],_0x6ec3[56]],[[1,1],[0,0],[1,1],[1,_0x6ec3[57]],[1,_0x6ec3[57]]],[[0,0],[1,_0x6ec3[57]],[1,_0x6ec3[57]],[1,_0x6ec3[57]],[1,_0x6ec3[57]]]);_0x7e88x3[_0x6ec3[59]]= function(_0x7e88x6,_0x7e88xb){var _0x7e88xc=[_0x6ec3[55]];var _0x7e88xd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x6ec3[17],_0x7e88x6,_0x6ec3[60],_0x7e88xb);this[_0x6ec3[61]](_0x7e88xd);if(this[_0x6ec3[62]]()&& !mxEvent[_0x6ec3[63]](_0x7e88x6)&& !_0x7e88xd[_0x6ec3[63]]()){if(this[_0x6ec3[65]]()[_0x6ec3[64]](_0x7e88xb)){if(_0x7e88xc[_0x6ec3[69]](_0x7e88xb[_0x6ec3[68]][_0x6ec3[67]][_0x6ec3[66]])>= 0){this[_0x6ec3[70]](_0x7e88xb)}}else {if(this[_0x6ec3[65]]()[_0x6ec3[71]](_0x7e88xb)){console[_0x6ec3[72]](_0x7e88x4);console[_0x6ec3[72]](_0x7e88xb);_0x7e88x4[_0x6ec3[73]]( new GeneralDialog(_0x7e88x4,_0x7e88xb)[_0x6ec3[1]],320,280,true,true)}};_0x7e88xd[_0x6ec3[74]]()}};_0x7e88x3[_0x6ec3[76]][_0x6ec3[75]]= true;_0x7e88x3[_0x6ec3[76]][_0x6ec3[77]]= mxUtils[_0x6ec3[20]](this,function(_0x7e88xe,_0x7e88xb,_0x7e88x6){this[_0x6ec3[13]][_0x6ec3[78]](_0x7e88xe,_0x7e88xb,_0x7e88x6)});_0x7e88x1[_0x6ec3[80]][_0x6ec3[35]](this[_0x6ec3[79]]);mxEvent[_0x6ec3[82]](document,mxUtils[_0x6ec3[20]](this,function(_0x7e88x6){_0x7e88x3[_0x6ec3[76]][_0x6ec3[81]]()}));if(mxClient[_0x6ec3[83]]){mxEvent[_0x6ec3[33]](_0x7e88x3[_0x6ec3[1]],_0x6ec3[84],mxUtils[_0x6ec3[20]](this,function(_0x7e88x6){_0x7e88x3[_0x6ec3[89]][_0x6ec3[88]]()[_0x6ec3[38]](_0x6ec3[85],_0x6ec3[86]+ _0x7e88x6[_0x6ec3[87]]+ _0x6ec3[44]);_0x7e88x3[_0x6ec3[89]][_0x6ec3[91]]()[_0x6ec3[6]][_0x6ec3[90]]= _0x6ec3[7]}));mxEvent[_0x6ec3[33]](_0x7e88x3[_0x6ec3[1]],_0x6ec3[92],mxUtils[_0x6ec3[20]](this,function(_0x7e88x6){_0x7e88x3[_0x6ec3[89]][_0x6ec3[88]]()[_0x6ec3[93]](_0x6ec3[85]);_0x7e88x3[_0x6ec3[94]]= true;_0x7e88x3[_0x6ec3[95]](_0x7e88x6[_0x6ec3[87]]);_0x7e88x3[_0x6ec3[89]][_0x6ec3[91]]()[_0x6ec3[6]][_0x6ec3[90]]= _0x6ec3[96]}))};var _0x7e88xf=this[_0x6ec3[97]](_0x7e88x1);this[_0x6ec3[98]]= function(){return _0x7e88xf};mxEvent[_0x6ec3[33]](window,_0x6ec3[99],mxUtils[_0x6ec3[20]](this,function(){this[_0x6ec3[15]]();_0x7e88x3[_0x6ec3[100]]();this[_0x6ec3[0]][_0x6ec3[80]][_0x6ec3[101]](false);this[_0x6ec3[0]][_0x6ec3[80]][_0x6ec3[80]][_0x6ec3[100]]()}));this[_0x6ec3[35]]();this[_0x6ec3[102]]()};EditorUi[_0x6ec3[10]][_0x6ec3[103]]= (mxClient[_0x6ec3[83]])?16:8;EditorUi[_0x6ec3[10]][_0x6ec3[104]]= 33;EditorUi[_0x6ec3[10]][_0x6ec3[105]]= 36;EditorUi[_0x6ec3[10]][_0x6ec3[106]]= 28;EditorUi[_0x6ec3[10]][_0x6ec3[107]]= 204;EditorUi[_0x6ec3[10]][_0x6ec3[108]]= 190;EditorUi[_0x6ec3[10]][_0x6ec3[35]]= function(){this[_0x6ec3[109]]();this[_0x6ec3[110]]();var _0x7e88x10=this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[111]);var _0x7e88x11=function(){_0x7e88x10[_0x6ec3[114]](!mxClipboard[_0x6ec3[113]]())};var _0x7e88x12=mxClipboard[_0x6ec3[115]];mxClipboard[_0x6ec3[115]]= function(){_0x7e88x12[_0x6ec3[50]](this,arguments);_0x7e88x11()};var _0x7e88x13=mxClipboard[_0x6ec3[116]];mxClipboard[_0x6ec3[116]]= function(){_0x7e88x13[_0x6ec3[50]](this,arguments);_0x7e88x11()}};EditorUi[_0x6ec3[10]][_0x6ec3[18]]= function(_0x7e88x6){return false};EditorUi[_0x6ec3[10]][_0x6ec3[102]]= function(){try{if(window[_0x6ec3[117]]!= null&& window[_0x6ec3[117]][_0x6ec3[118]]!= null){window[_0x6ec3[117]][_0x6ec3[118]][_0x6ec3[130]](mxUtils[_0x6ec3[20]](this,function(_0x7e88x14,_0x7e88x15){try{var _0x7e88x16=mxUtils[_0x6ec3[119]](_0x7e88x14);this[_0x6ec3[0]][_0x6ec3[121]](_0x7e88x16[_0x6ec3[120]]);this[_0x6ec3[0]][_0x6ec3[122]]= false;this[_0x6ec3[0]][_0x6ec3[124]][_0x6ec3[123]]();if(_0x7e88x15!= null){this[_0x6ec3[0]][_0x6ec3[125]]= _0x7e88x15}}catch(e){mxUtils[_0x6ec3[129]](mxResources[_0x6ec3[112]](_0x6ec3[126])+ _0x6ec3[127]+ e[_0x6ec3[128]])}}))}}catch(e){}};EditorUi[_0x6ec3[10]][_0x6ec3[131]]= function(_0x7e88x14,_0x7e88x15,_0x7e88x17){try{var _0x7e88x16=mxUtils[_0x6ec3[119]](_0x7e88x14);this[_0x6ec3[0]][_0x6ec3[121]](_0x7e88x16[_0x6ec3[120]]);this[_0x6ec3[0]][_0x6ec3[122]]= false;this[_0x6ec3[0]][_0x6ec3[124]][_0x6ec3[123]]();if(_0x7e88x15!= null){this[_0x6ec3[0]][_0x6ec3[125]]= _0x7e88x15};if(_0x7e88x17!= null){this[_0x6ec3[0]][_0x6ec3[132]]= _0x7e88x17}}catch(e){mxUtils[_0x6ec3[129]](mxResources[_0x6ec3[112]](_0x6ec3[126])+ _0x6ec3[127]+ e[_0x6ec3[128]])}};EditorUi[_0x6ec3[10]][_0x6ec3[133]]= function(_0x7e88x18){var _0x7e88x1=this[_0x6ec3[0]];if(_0x7e88x18!= null){var _0x7e88x14=mxUtils[_0x6ec3[135]](this[_0x6ec3[0]][_0x6ec3[134]]());try{if(useLocalStorage){if(localStorage[_0x6ec3[136]](_0x7e88x18)!= null&& !mxUtils[_0x6ec3[138]](mxResources[_0x6ec3[112]](_0x6ec3[137],[_0x7e88x18]))){return};localStorage[_0x6ec3[139]](_0x7e88x18,_0x7e88x14);this[_0x6ec3[0]][_0x6ec3[142]](mxResources[_0x6ec3[112]](_0x6ec3[140])+ _0x6ec3[141]+ new Date())}else {console[_0x6ec3[72]](_0x7e88x14[_0x6ec3[143]]);console[_0x6ec3[72]](MAX_REQUEST_SIZE);if(_0x7e88x14[_0x6ec3[143]]< MAX_REQUEST_SIZE){_0x7e88x14= encodeURIComponent(_0x7e88x14);_0x7e88x18= encodeURIComponent(_0x7e88x18);var _0x7e88x19= new XMLHttpRequest();_0x7e88x19[_0x6ec3[102]](_0x6ec3[144],SAVE_URL,true);_0x7e88x19[_0x6ec3[147]](_0x6ec3[145],_0x6ec3[146]);_0x7e88x19[_0x6ec3[147]](_0x6ec3[148],_0x6ec3[149]+ _0x7e88x1[_0x6ec3[132]][_0x6ec3[150]]);_0x7e88x19[_0x6ec3[151]]= function(_0x7e88x1a){if(_0x7e88x19[_0x6ec3[152]]=== 4){if(_0x7e88x19[_0x6ec3[153]]=== 201){_0x7e88x1[_0x6ec3[142]](_0x6ec3[154]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[155]]+ _0x6ec3[158]);setTimeout(function(){window[_0x6ec3[102]](_0x6ec3[159]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[160]],_0x6ec3[161])},1500)}else {_0x7e88x1[_0x6ec3[142]](_0x6ec3[162]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[163]][0][_0x6ec3[128]])}}};_0x7e88x19[_0x6ec3[164]]= function(_0x7e88x1a){mxUtils[_0x6ec3[129]](_0x7e88x19[_0x6ec3[165]])};_0x7e88x19[_0x6ec3[167]](_0x6ec3[166]+ _0x7e88x18)}else {mxUtils[_0x6ec3[129]](mxResources[_0x6ec3[112]](_0x6ec3[168]));mxUtils[_0x6ec3[169]](_0x7e88x14);return}};this[_0x6ec3[0]][_0x6ec3[125]]= _0x7e88x18;this[_0x6ec3[0]][_0x6ec3[122]]= false}catch(e){this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[170])}}else {this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[170])}};EditorUi[_0x6ec3[10]][_0x6ec3[171]]= function(_0x7e88x18){var _0x7e88x1=this[_0x6ec3[0]];if(_0x7e88x18!= null){var _0x7e88x14=mxUtils[_0x6ec3[135]](this[_0x6ec3[0]][_0x6ec3[134]]());try{if(useLocalStorage){if(localStorage[_0x6ec3[136]](_0x7e88x18)!= null&& !mxUtils[_0x6ec3[138]](mxResources[_0x6ec3[112]](_0x6ec3[137],[_0x7e88x18]))){return};localStorage[_0x6ec3[139]](_0x7e88x18,_0x7e88x14);this[_0x6ec3[0]][_0x6ec3[142]](mxResources[_0x6ec3[112]](_0x6ec3[140])+ _0x6ec3[141]+ new Date())}else {console[_0x6ec3[72]](_0x7e88x14[_0x6ec3[143]]);console[_0x6ec3[72]](MAX_REQUEST_SIZE);if(_0x7e88x14[_0x6ec3[143]]< MAX_REQUEST_SIZE){_0x7e88x14= encodeURIComponent(_0x7e88x14);var _0x7e88x19= new XMLHttpRequest();_0x7e88x19[_0x6ec3[102]](_0x6ec3[172],SAVE_URL+ this[_0x6ec3[0]][_0x6ec3[132]][_0x6ec3[160]],true);_0x7e88x19[_0x6ec3[147]](_0x6ec3[145],_0x6ec3[146]);_0x7e88x19[_0x6ec3[147]](_0x6ec3[148],_0x6ec3[149]+ _0x7e88x1[_0x6ec3[132]][_0x6ec3[150]]);_0x7e88x19[_0x6ec3[151]]= function(_0x7e88x1a){if(_0x7e88x19[_0x6ec3[152]]=== 4){if(_0x7e88x19[_0x6ec3[153]]=== 200){_0x7e88x1[_0x6ec3[142]](_0x6ec3[173]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[174]]+ _0x6ec3[175]+ _0x7e88x19[_0x6ec3[153]]+ _0x6ec3[141]+ _0x7e88x19[_0x6ec3[165]]+ _0x6ec3[44])}else {_0x7e88x1[_0x6ec3[142]](_0x6ec3[176]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[163]][0][_0x6ec3[128]])}}};_0x7e88x19[_0x6ec3[164]]= function(_0x7e88x1a){mxUtils[_0x6ec3[129]](_0x7e88x19[_0x6ec3[165]])};_0x7e88x19[_0x6ec3[167]](_0x6ec3[177]+ _0x7e88x14)}else {mxUtils[_0x6ec3[129]](mxResources[_0x6ec3[112]](_0x6ec3[168]));mxUtils[_0x6ec3[169]](_0x7e88x14);return}};this[_0x6ec3[0]][_0x6ec3[125]]= _0x7e88x18;this[_0x6ec3[0]][_0x6ec3[122]]= false}catch(e){this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[178])}}else {this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[178])}};EditorUi[_0x6ec3[10]][_0x6ec3[179]]= function(_0x7e88x18){var _0x7e88x1=this[_0x6ec3[0]];console[_0x6ec3[72]](_0x7e88x18);if(_0x7e88x18!= null){var _0x7e88x14=mxUtils[_0x6ec3[135]](this[_0x6ec3[0]][_0x6ec3[134]]());try{if(useLocalStorage){if(localStorage[_0x6ec3[136]](_0x7e88x18)!= null&& !mxUtils[_0x6ec3[138]](mxResources[_0x6ec3[112]](_0x6ec3[137],[_0x7e88x18]))){return};localStorage[_0x6ec3[139]](_0x7e88x18,_0x7e88x14);this[_0x6ec3[0]][_0x6ec3[142]](mxResources[_0x6ec3[112]](_0x6ec3[140])+ _0x6ec3[141]+ new Date())}else {console[_0x6ec3[72]](_0x7e88x14[_0x6ec3[143]]);console[_0x6ec3[72]](MAX_REQUEST_SIZE);if(_0x7e88x14[_0x6ec3[143]]< MAX_REQUEST_SIZE){_0x7e88x14= encodeURIComponent(_0x7e88x14);_0x7e88x18= encodeURIComponent(_0x7e88x18);var _0x7e88x19= new XMLHttpRequest();_0x7e88x19[_0x6ec3[102]](_0x6ec3[144],SAVE_URL,true);_0x7e88x19[_0x6ec3[147]](_0x6ec3[145],_0x6ec3[146]);_0x7e88x19[_0x6ec3[147]](_0x6ec3[148],_0x6ec3[149]+ _0x7e88x1[_0x6ec3[132]][_0x6ec3[150]]);_0x7e88x19[_0x6ec3[151]]= function(_0x7e88x1a){if(_0x7e88x19[_0x6ec3[152]]=== 4){if(_0x7e88x19[_0x6ec3[153]]=== 201){_0x7e88x1[_0x6ec3[142]](_0x6ec3[154]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[155]]+ _0x6ec3[158]);setTimeout(function(){window[_0x6ec3[102]](_0x6ec3[180]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[160]],_0x6ec3[161])},1500)}else {_0x7e88x1[_0x6ec3[142]](_0x6ec3[181]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[163]][0][_0x6ec3[128]])}}};_0x7e88x19[_0x6ec3[164]]= function(_0x7e88x1a){mxUtils[_0x6ec3[129]](_0x7e88x19[_0x6ec3[165]])};_0x7e88x19[_0x6ec3[167]](_0x6ec3[182]+ _0x7e88x18+ _0x6ec3[183]+ _0x7e88x14+ _0x6ec3[184]+ _0x7e88x14)}else {mxUtils[_0x6ec3[129]](mxResources[_0x6ec3[112]](_0x6ec3[168]));mxUtils[_0x6ec3[169]](_0x7e88x14);return}};this[_0x6ec3[0]][_0x6ec3[125]]= _0x7e88x18;this[_0x6ec3[0]][_0x6ec3[122]]= false}catch(e){this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[178])}}else {this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[178])}};EditorUi[_0x6ec3[10]][_0x6ec3[185]]= function(_0x7e88x1b,_0x7e88x1c){var _0x7e88x3=this[_0x6ec3[0]][_0x6ec3[4]];_0x7e88x1b= null!= _0x7e88x1b?_0x7e88x1b:_0x7e88x3[_0x6ec3[187]][_0x6ec3[186]]();_0x7e88x1c= null!= _0x7e88x1c?_0x7e88x1c:{};for(var _0x7e88x1d=!0,_0x7e88x1e=_0x7e88x3[_0x6ec3[187]][_0x6ec3[188]](_0x7e88x1b),_0x7e88x1a=0;_0x7e88x1a< _0x7e88x1e;_0x7e88x1a++){var _0x7e88x1f=_0x7e88x3[_0x6ec3[187]][_0x6ec3[189]](_0x7e88x1b,_0x7e88x1a),_0x7e88x20=_0x7e88x1c;_0x7e88x3[_0x6ec3[190]](_0x7e88x1f)&& (_0x7e88x20= {});_0x7e88x20= this[_0x6ec3[185]](_0x7e88x1f,_0x7e88x20);null!= _0x7e88x20?_0x7e88x3[_0x6ec3[192]](_0x7e88x1f,_0x7e88x20[_0x6ec3[137]](/\n/g,_0x6ec3[191])):_0x7e88x3[_0x6ec3[192]](_0x7e88x1f,null);_0x7e88x1d= _0x7e88x1d&& null== _0x7e88x20};_0x7e88x1e= _0x6ec3[193];if(_0x7e88x3[_0x6ec3[187]][_0x6ec3[71]](_0x7e88x1b)){switch(_0x7e88x1b[_0x6ec3[67]][_0x6ec3[201]]){case _0x6ec3[55]:_0x7e88x1e= (_0x7e88x1b[_0x6ec3[67]][_0x6ec3[194]](_0x6ec3[55])!== _0x6ec3[193])?_0x6ec3[193]:_0x6ec3[195]+ _0x6ec3[196];_0x7e88x1e+= (_0x7e88x1b[_0x6ec3[67]][_0x6ec3[194]](_0x6ec3[197])!== _0x6ec3[193])?_0x6ec3[193]:_0x6ec3[198]+ _0x6ec3[196];break;case _0x6ec3[54]:_0x7e88x1e= (_0x7e88x1b[_0x6ec3[67]][_0x6ec3[194]](_0x6ec3[55])!== _0x6ec3[193])?_0x6ec3[193]:_0x6ec3[195]+ _0x6ec3[196];_0x7e88x1e+= (_0x7e88x1b[_0x6ec3[67]][_0x6ec3[194]](_0x6ec3[197])!== _0x6ec3[193])?_0x6ec3[193]:_0x6ec3[198]+ _0x6ec3[196];break;case _0x6ec3[52]:_0x7e88x1e= this[_0x6ec3[199]](_0x6ec3[52])?_0x6ec3[193]:_0x6ec3[200]+ _0x6ec3[196];_0x7e88x1e+= (_0x7e88x1b[_0x6ec3[67]][_0x6ec3[194]](_0x6ec3[197])!== _0x6ec3[193])?_0x6ec3[193]:_0x6ec3[198]+ _0x6ec3[196];break}};if(_0x7e88x3[_0x6ec3[187]][_0x6ec3[64]](_0x7e88x1b)){var _0x7e88x21=_0x7e88x3[_0x6ec3[187]][_0x6ec3[203]](_0x7e88x1b[_0x6ec3[68]][_0x6ec3[202]]());switch(_0x7e88x21[_0x6ec3[67]][_0x6ec3[201]]){case _0x6ec3[55]:var _0x7e88x22=String(_0x7e88x1b[_0x6ec3[204]]());console[_0x6ec3[72]](_0x7e88x22);if(_0x7e88x22=== _0x6ec3[205]|| _0x7e88x22=== _0x6ec3[31]){_0x7e88x1e= _0x6ec3[206]+ _0x6ec3[196]}else {var _0x7e88x23=_0x7e88x22[_0x6ec3[208]](_0x6ec3[207]);_0x7e88x23[_0x6ec3[212]](function(_0x7e88x24,_0x7e88x25){_0x7e88x1e= _0x7e88x1e+ ((_0x7e88x24[_0x6ec3[209]]()!== _0x6ec3[193])?_0x6ec3[193]:_0x6ec3[210]+ (_0x7e88x25+ 1)+ _0x6ec3[211]+ _0x6ec3[196])})};break}};_0x7e88x3[_0x6ec3[213]](_0x7e88x1b)&& !_0x7e88x1d&& (_0x7e88x1e+= (mxResources[_0x6ec3[112]](_0x7e88x3[_0x6ec3[214]])|| _0x7e88x3[_0x6ec3[214]])+ _0x6ec3[196]);_0x7e88x1e= _0x7e88x3[_0x6ec3[187]][_0x6ec3[64]](_0x7e88x1b)?_0x7e88x1e+ (_0x7e88x3[_0x6ec3[216]](_0x7e88x1b,_0x7e88x3[_0x6ec3[187]][_0x6ec3[215]](_0x7e88x1b,!0),_0x7e88x3[_0x6ec3[187]][_0x6ec3[215]](_0x7e88x1b,!1))|| _0x6ec3[193]):_0x7e88x1e+ (_0x7e88x3[_0x6ec3[217]](_0x7e88x1b)|| _0x6ec3[193]);_0x7e88x1a= _0x7e88x3[_0x6ec3[218]](_0x7e88x1b,_0x7e88x1c);null!= _0x7e88x1a&& (_0x7e88x1e+= _0x7e88x1a);null== _0x7e88x3[_0x6ec3[187]][_0x6ec3[219]](_0x7e88x1b)&& _0x7e88x3[_0x6ec3[89]][_0x6ec3[185]]();return 0< _0x7e88x1e[_0x6ec3[143]]|| !_0x7e88x1d?_0x7e88x1e:null};EditorUi[_0x6ec3[10]][_0x6ec3[199]]= function(_0x7e88x26){var _0x7e88x3=this[_0x6ec3[0]][_0x6ec3[4]];var _0x7e88x27=_0x7e88x3[_0x6ec3[220]]();var _0x7e88x28=0;_0x7e88x27[_0x6ec3[221]][_0x6ec3[212]](function(_0x7e88x29){if(_0x7e88x3[_0x6ec3[187]][_0x6ec3[71]](_0x7e88x29)&& _0x7e88x29[_0x6ec3[67]][_0x6ec3[201]]== _0x7e88x26){_0x7e88x28++}});return _0x7e88x28> 1?false:true};EditorUi[_0x6ec3[10]][_0x6ec3[222]]= function(_0x7e88x18){var _0x7e88x1=this[_0x6ec3[0]];if(_0x7e88x18!= null){var _0x7e88x2a=this[_0x6ec3[185]]();if(_0x7e88x2a=== null){var _0x7e88x14=mxUtils[_0x6ec3[135]](this[_0x6ec3[0]][_0x6ec3[134]]());try{if(useLocalStorage){if(localStorage[_0x6ec3[136]](_0x7e88x18)!= null&& !mxUtils[_0x6ec3[138]](mxResources[_0x6ec3[112]](_0x6ec3[137],[_0x7e88x18]))){return};localStorage[_0x6ec3[139]](_0x7e88x18,_0x7e88x14);this[_0x6ec3[0]][_0x6ec3[142]](mxResources[_0x6ec3[112]](_0x6ec3[140])+ _0x6ec3[141]+ new Date())}else {console[_0x6ec3[72]](_0x7e88x14[_0x6ec3[143]]);console[_0x6ec3[72]](MAX_REQUEST_SIZE);if(_0x7e88x14[_0x6ec3[143]]< MAX_REQUEST_SIZE){_0x7e88x14= encodeURIComponent(_0x7e88x14);var _0x7e88x19= new XMLHttpRequest();_0x7e88x19[_0x6ec3[102]](_0x6ec3[172],SAVE_URL+ this[_0x6ec3[0]][_0x6ec3[132]][_0x6ec3[160]],true);_0x7e88x19[_0x6ec3[147]](_0x6ec3[145],_0x6ec3[146]);_0x7e88x19[_0x6ec3[147]](_0x6ec3[148],_0x6ec3[149]+ _0x7e88x1[_0x6ec3[132]][_0x6ec3[150]]);_0x7e88x19[_0x6ec3[151]]= function(_0x7e88x1a){if(_0x7e88x19[_0x6ec3[152]]=== 4){if(_0x7e88x19[_0x6ec3[153]]=== 200){_0x7e88x1[_0x6ec3[142]](_0x6ec3[223]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[174]]+ _0x6ec3[175]+ _0x7e88x19[_0x6ec3[153]]+ _0x6ec3[141]+ _0x7e88x19[_0x6ec3[165]]+ _0x6ec3[44])}else {_0x7e88x1[_0x6ec3[142]](_0x6ec3[176]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[163]][0][_0x6ec3[128]])}}};_0x7e88x19[_0x6ec3[164]]= function(_0x7e88x1a){mxUtils[_0x6ec3[129]](_0x7e88x19[_0x6ec3[165]])};_0x7e88x19[_0x6ec3[167]](_0x6ec3[177]+ _0x7e88x14+ _0x6ec3[184]+ _0x7e88x14)}else {mxUtils[_0x6ec3[129]](mxResources[_0x6ec3[112]](_0x6ec3[168]));mxUtils[_0x6ec3[169]](_0x7e88x14);return}};this[_0x6ec3[0]][_0x6ec3[125]]= _0x7e88x18;this[_0x6ec3[0]][_0x6ec3[122]]= false}catch(e){this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[224])}}else {_0x7e88x1[_0x6ec3[142]](_0x6ec3[225])}}else {this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[224])}};EditorUi[_0x6ec3[10]][_0x6ec3[226]]= function(_0x7e88x18){var _0x7e88x1=this[_0x6ec3[0]];if(_0x7e88x18!= null){try{var _0x7e88x19= new XMLHttpRequest();_0x7e88x19[_0x6ec3[102]](_0x6ec3[144],VARIABLE_URL,true);_0x7e88x19[_0x6ec3[147]](_0x6ec3[145],_0x6ec3[146]);_0x7e88x19[_0x6ec3[147]](_0x6ec3[148],_0x6ec3[149]+ _0x7e88x1[_0x6ec3[132]][_0x6ec3[150]]);_0x7e88x19[_0x6ec3[151]]= function(_0x7e88x1a){if(_0x7e88x19[_0x6ec3[152]]=== 4){if(_0x7e88x19[_0x6ec3[153]]=== 201){_0x7e88x1[_0x6ec3[142]](_0x6ec3[227]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[228]]+ _0x6ec3[175]+ _0x7e88x19[_0x6ec3[153]]+ _0x6ec3[141]+ _0x7e88x19[_0x6ec3[165]]+ _0x6ec3[44])}else {_0x7e88x1[_0x6ec3[142]](_0x6ec3[181]+ JSON[_0x6ec3[157]](_0x7e88x19[_0x6ec3[156]])[_0x6ec3[163]][0][_0x6ec3[128]])}}};_0x7e88x19[_0x6ec3[164]]= function(_0x7e88x1a){mxUtils[_0x6ec3[129]](_0x7e88x19[_0x6ec3[165]])};_0x7e88x19[_0x6ec3[167]](_0x6ec3[229]+ _0x7e88x18)}catch(e){this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[230])}}else {this[_0x6ec3[0]][_0x6ec3[142]](_0x6ec3[230])}};EditorUi[_0x6ec3[10]][_0x6ec3[231]]= function(_0x7e88x2b){var _0x7e88x2c=(_0x7e88x2b!= null)?_0x7e88x2b:window[_0x6ec3[233]][_0x6ec3[232]];var _0x7e88x2d=(_0x7e88x2c[_0x6ec3[69]](_0x6ec3[234])> 0)?1:0;for(var _0x7e88x25 in urlParams){if(_0x7e88x2d== 0){_0x7e88x2c+= _0x6ec3[234]}else {_0x7e88x2c+= _0x6ec3[235]};_0x7e88x2c+= _0x7e88x25+ _0x6ec3[236]+ urlParams[_0x7e88x25];_0x7e88x2d++};return _0x7e88x2c};EditorUi[_0x6ec3[10]][_0x6ec3[109]]= function(){var _0x7e88x2e=this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[237]);var _0x7e88x2f=this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[238]);var _0x7e88x30=this[_0x6ec3[0]][_0x6ec3[124]];var _0x7e88x31=function(){_0x7e88x2e[_0x6ec3[114]](_0x7e88x30[_0x6ec3[239]]());_0x7e88x2f[_0x6ec3[114]](_0x7e88x30[_0x6ec3[240]]())};_0x7e88x30[_0x6ec3[33]](mxEvent.ADD,_0x7e88x31);_0x7e88x30[_0x6ec3[33]](mxEvent.UNDO,_0x7e88x31);_0x7e88x30[_0x6ec3[33]](mxEvent.REDO,_0x7e88x31);_0x7e88x30[_0x6ec3[33]](mxEvent.CLEAR,_0x7e88x31);_0x7e88x31()};EditorUi[_0x6ec3[10]][_0x6ec3[110]]= function(){var _0x7e88x32=mxUtils[_0x6ec3[20]](this,function(){var _0x7e88x3=this[_0x6ec3[0]][_0x6ec3[4]];var _0x7e88x33=!_0x7e88x3[_0x6ec3[241]]();var _0x7e88x34=false;var _0x7e88x35=false;var _0x7e88x36=_0x7e88x3[_0x6ec3[242]]();if(_0x7e88x36!= null){for(var _0x7e88x37=0;_0x7e88x37< _0x7e88x36[_0x6ec3[143]];_0x7e88x37++){var _0x7e88xb=_0x7e88x36[_0x7e88x37];if(_0x7e88x3[_0x6ec3[65]]()[_0x6ec3[64]](_0x7e88xb)){_0x7e88x35= true};if(_0x7e88x3[_0x6ec3[65]]()[_0x6ec3[71]](_0x7e88xb)){_0x7e88x34= true};if(_0x7e88x35&& _0x7e88x34){break}}};var _0x7e88x38=[_0x6ec3[115],_0x6ec3[116],_0x6ec3[243],_0x6ec3[244],_0x6ec3[245],_0x6ec3[246],_0x6ec3[6],_0x6ec3[247],_0x6ec3[248],_0x6ec3[249],_0x6ec3[250],_0x6ec3[251],_0x6ec3[252],_0x6ec3[253],_0x6ec3[254]];for(var _0x7e88x37=0;_0x7e88x37< _0x7e88x38[_0x6ec3[143]];_0x7e88x37++){this[_0x6ec3[12]][_0x6ec3[112]](_0x7e88x38[_0x7e88x37])[_0x6ec3[114]](_0x7e88x33)};this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[255])[_0x6ec3[114]](_0x7e88x35);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[256])[_0x6ec3[114]](_0x7e88x34);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[257])[_0x6ec3[114]](_0x7e88x34);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[259])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[258]]()> 1);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[261])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[258]]()== 1&& _0x7e88x3[_0x6ec3[65]]()[_0x6ec3[188]](_0x7e88x3[_0x6ec3[260]]())> 0);var _0x7e88x39=_0x7e88x34&& _0x7e88x3[_0x6ec3[258]]()== 1;this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[262])[_0x6ec3[114]](_0x7e88x39&& _0x7e88x3[_0x6ec3[65]]()[_0x6ec3[71]](_0x7e88x3[_0x6ec3[65]]()[_0x6ec3[219]](_0x7e88x3[_0x6ec3[260]]())));var _0x7e88x3a=[_0x6ec3[263],_0x6ec3[264],_0x6ec3[265],_0x6ec3[266],_0x6ec3[267],_0x6ec3[268],_0x6ec3[269],_0x6ec3[270],_0x6ec3[271]];for(var _0x7e88x37=0;_0x7e88x37< _0x7e88x3a[_0x6ec3[143]];_0x7e88x37++){this[_0x6ec3[13]][_0x6ec3[112]](_0x7e88x3a[_0x7e88x37])[_0x6ec3[114]](_0x7e88x33)};_0x7e88x3a= [_0x6ec3[272],_0x6ec3[273],_0x6ec3[274]];for(var _0x7e88x37=0;_0x7e88x37< _0x7e88x3a[_0x6ec3[143]];_0x7e88x37++){this[_0x6ec3[13]][_0x6ec3[112]](_0x7e88x3a[_0x7e88x37])[_0x6ec3[114]](_0x7e88x35)};this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[275])[_0x6ec3[114]](_0x7e88x35);this[_0x6ec3[13]][_0x6ec3[112]](_0x6ec3[276])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[258]]()> 1);this[_0x6ec3[13]][_0x6ec3[112]](_0x6ec3[279])[_0x6ec3[114]](_0x7e88x34|| (_0x7e88x35&& _0x7e88x3[_0x6ec3[278]](_0x7e88x3[_0x6ec3[89]][_0x6ec3[277]](_0x7e88x3[_0x6ec3[260]]()))));this[_0x6ec3[13]][_0x6ec3[112]](_0x6ec3[282])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[280]]&& ((_0x7e88x3[_0x6ec3[89]][_0x6ec3[281]]!= null)|| (_0x7e88x3[_0x6ec3[258]]()== 1&& _0x7e88x3[_0x6ec3[190]](_0x7e88x3[_0x6ec3[260]]()))));this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[283])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[89]][_0x6ec3[281]]!= null);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[284])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[89]][_0x6ec3[281]]!= null);var _0x7e88x3b=_0x7e88x3[_0x6ec3[258]]()== 1&& _0x7e88x3[_0x6ec3[190]](_0x7e88x3[_0x6ec3[260]]());this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[285])[_0x6ec3[114]](_0x7e88x3b);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[286])[_0x6ec3[114]](_0x7e88x3b);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[287])[_0x6ec3[114]](_0x7e88x3b);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[288])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[258]]()== 1);this[_0x6ec3[12]][_0x6ec3[112]](_0x6ec3[290])[_0x6ec3[114]](_0x7e88x3[_0x6ec3[258]]()== 1&& _0x7e88x3[_0x6ec3[289]](_0x7e88x3[_0x6ec3[260]]())!= null)});this[_0x6ec3[0]][_0x6ec3[4]][_0x6ec3[291]]()[_0x6ec3[33]](mxEvent.CHANGE,_0x7e88x32);_0x7e88x32()};EditorUi[_0x6ec3[10]][_0x6ec3[15]]= function(){var _0x7e88x3c=mxClient[_0x6ec3[29]]&& (document[_0x6ec3[30]]== null|| document[_0x6ec3[30]]== 5);var _0x7e88x3d=this[_0x6ec3[1]][_0x6ec3[292]];var _0x7e88x3e=this[_0x6ec3[1]][_0x6ec3[293]];if(this[_0x6ec3[1]]== document[_0x6ec3[21]]){_0x7e88x3d= document[_0x6ec3[21]][_0x6ec3[292]]|| document[_0x6ec3[120]][_0x6ec3[292]];_0x7e88x3e= (_0x7e88x3c)?document[_0x6ec3[21]][_0x6ec3[293]]|| document[_0x6ec3[120]][_0x6ec3[293]]:document[_0x6ec3[120]][_0x6ec3[293]]};var _0x7e88x3f=Math[_0x6ec3[295]](0,Math[_0x6ec3[294]](this[_0x6ec3[107]],_0x7e88x3d- this[_0x6ec3[103]]- 20));var _0x7e88x40=Math[_0x6ec3[295]](0,Math[_0x6ec3[294]](this[_0x6ec3[108]],_0x7e88x3e- this[_0x6ec3[104]]- this[_0x6ec3[105]]- this[_0x6ec3[106]]- this[_0x6ec3[103]]- 1));this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[296]]= this[_0x6ec3[104]]+ _0x6ec3[297];this[_0x6ec3[25]][_0x6ec3[6]][_0x6ec3[298]]= this[_0x6ec3[104]]+ _0x6ec3[297];this[_0x6ec3[25]][_0x6ec3[6]][_0x6ec3[296]]= this[_0x6ec3[105]]+ _0x6ec3[297];var _0x7e88x41=this[_0x6ec3[104]]+ this[_0x6ec3[105]];if(!mxClient[_0x6ec3[299]]){_0x7e88x41+= 1};this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[298]]= _0x7e88x41+ _0x6ec3[297];this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[300]]= _0x7e88x3f+ _0x6ec3[297];this[_0x6ec3[79]][_0x6ec3[6]][_0x6ec3[300]]= _0x7e88x3f+ _0x6ec3[297];this[_0x6ec3[79]][_0x6ec3[6]][_0x6ec3[296]]= _0x7e88x40+ _0x6ec3[297];this[_0x6ec3[79]][_0x6ec3[6]][_0x6ec3[301]]= this[_0x6ec3[106]]+ _0x6ec3[297];this[_0x6ec3[26]][_0x6ec3[6]][_0x6ec3[302]]= (_0x7e88x3f+ this[_0x6ec3[103]])+ _0x6ec3[297];this[_0x6ec3[26]][_0x6ec3[6]][_0x6ec3[298]]= this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[298]];this[_0x6ec3[28]][_0x6ec3[6]][_0x6ec3[296]]= this[_0x6ec3[106]]+ _0x6ec3[297];this[_0x6ec3[28]][_0x6ec3[6]][_0x6ec3[303]]= _0x6ec3[304];this[_0x6ec3[305]][_0x6ec3[6]][_0x6ec3[298]]= this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[298]];this[_0x6ec3[305]][_0x6ec3[6]][_0x6ec3[301]]= this[_0x6ec3[79]][_0x6ec3[6]][_0x6ec3[301]];this[_0x6ec3[305]][_0x6ec3[6]][_0x6ec3[302]]= _0x7e88x3f+ _0x6ec3[297];this[_0x6ec3[306]][_0x6ec3[6]][_0x6ec3[300]]= this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[300]];this[_0x6ec3[306]][_0x6ec3[6]][_0x6ec3[301]]= (_0x7e88x40+ this[_0x6ec3[106]])+ _0x6ec3[297];if(_0x7e88x3c){this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[300]]= _0x7e88x3d+ _0x6ec3[297];this[_0x6ec3[25]][_0x6ec3[6]][_0x6ec3[300]]= this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[300]];var _0x7e88x42=(_0x7e88x3e- _0x7e88x40- this[_0x6ec3[103]]- this[_0x6ec3[106]]- this[_0x6ec3[104]]- this[_0x6ec3[105]]);this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[296]]= _0x7e88x42+ _0x6ec3[297];this[_0x6ec3[26]][_0x6ec3[6]][_0x6ec3[300]]= (_0x7e88x3d- _0x7e88x3f- this[_0x6ec3[103]])+ _0x6ec3[297];var _0x7e88x43=(_0x7e88x3e- this[_0x6ec3[106]]- this[_0x6ec3[104]]- this[_0x6ec3[105]]);this[_0x6ec3[26]][_0x6ec3[6]][_0x6ec3[296]]= _0x7e88x43+ _0x6ec3[297];this[_0x6ec3[28]][_0x6ec3[6]][_0x6ec3[300]]= this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[300]];this[_0x6ec3[305]][_0x6ec3[6]][_0x6ec3[296]]= _0x7e88x43+ _0x6ec3[297]}else {this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[301]]= (_0x7e88x40+ this[_0x6ec3[103]]+ this[_0x6ec3[106]])+ _0x6ec3[297];this[_0x6ec3[26]][_0x6ec3[6]][_0x6ec3[301]]= this[_0x6ec3[79]][_0x6ec3[6]][_0x6ec3[301]]}};EditorUi[_0x6ec3[10]][_0x6ec3[14]]= function(){this[_0x6ec3[23]]= this[_0x6ec3[308]](_0x6ec3[307]);this[_0x6ec3[25]]= this[_0x6ec3[308]](_0x6ec3[309]);this[_0x6ec3[27]]= this[_0x6ec3[308]](_0x6ec3[310]);this[_0x6ec3[79]]= this[_0x6ec3[308]](_0x6ec3[311]);this[_0x6ec3[26]]= this[_0x6ec3[308]](_0x6ec3[312]);this[_0x6ec3[28]]= this[_0x6ec3[308]](_0x6ec3[313]);this[_0x6ec3[305]]= this[_0x6ec3[308]](_0x6ec3[314]);this[_0x6ec3[306]]= this[_0x6ec3[308]](_0x6ec3[315]);this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[298]]= _0x6ec3[316];this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[302]]= _0x6ec3[316];this[_0x6ec3[23]][_0x6ec3[6]][_0x6ec3[317]]= _0x6ec3[316];this[_0x6ec3[25]][_0x6ec3[6]][_0x6ec3[302]]= _0x6ec3[316];this[_0x6ec3[25]][_0x6ec3[6]][_0x6ec3[317]]= _0x6ec3[316];this[_0x6ec3[27]][_0x6ec3[6]][_0x6ec3[302]]= _0x6ec3[316];this[_0x6ec3[79]][_0x6ec3[6]][_0x6ec3[302]]= _0x6ec3[316];this[_0x6ec3[26]][_0x6ec3[6]][_0x6ec3[317]]= _0x6ec3[316];this[_0x6ec3[28]][_0x6ec3[6]][_0x6ec3[302]]= _0x6ec3[316];this[_0x6ec3[28]][_0x6ec3[6]][_0x6ec3[317]]= _0x6ec3[316];this[_0x6ec3[28]][_0x6ec3[6]][_0x6ec3[301]]= _0x6ec3[316];this[_0x6ec3[306]][_0x6ec3[6]][_0x6ec3[302]]= _0x6ec3[316];this[_0x6ec3[306]][_0x6ec3[6]][_0x6ec3[296]]= this[_0x6ec3[103]]+ _0x6ec3[297];this[_0x6ec3[305]][_0x6ec3[6]][_0x6ec3[300]]= this[_0x6ec3[103]]+ _0x6ec3[297]};EditorUi[_0x6ec3[10]][_0x6ec3[16]]= function(){this[_0x6ec3[318]]= this[_0x6ec3[13]][_0x6ec3[320]](this[_0x6ec3[308]](_0x6ec3[319]));this[_0x6ec3[23]][_0x6ec3[321]](this[_0x6ec3[318]][_0x6ec3[1]]);this[_0x6ec3[322]]= this[_0x6ec3[324]](this[_0x6ec3[308]](_0x6ec3[323]));this[_0x6ec3[25]][_0x6ec3[321]](this[_0x6ec3[322]][_0x6ec3[1]]);this[_0x6ec3[325]]= this[_0x6ec3[326]](this[_0x6ec3[27]]);this[_0x6ec3[28]][_0x6ec3[321]](this[_0x6ec3[327]]());this[_0x6ec3[328]]= this[_0x6ec3[329]]();this[_0x6ec3[0]][_0x6ec3[33]](_0x6ec3[330],mxUtils[_0x6ec3[20]](this,function(){this[_0x6ec3[332]](this[_0x6ec3[0]][_0x6ec3[331]]())}));this[_0x6ec3[332]](this[_0x6ec3[0]][_0x6ec3[331]]());this[_0x6ec3[318]][_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[328]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[23]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[25]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[27]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[79]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[26]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[28]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[305]]);this[_0x6ec3[1]][_0x6ec3[321]](this[_0x6ec3[306]]);this[_0x6ec3[333]](this[_0x6ec3[305]],true,0,mxUtils[_0x6ec3[20]](this,function(_0x7e88x44){this[_0x6ec3[107]]= _0x7e88x44;this[_0x6ec3[15]]();this[_0x6ec3[0]][_0x6ec3[4]][_0x6ec3[100]]();this[_0x6ec3[0]][_0x6ec3[80]][_0x6ec3[101]](false);this[_0x6ec3[0]][_0x6ec3[80]][_0x6ec3[80]][_0x6ec3[100]]()}));this[_0x6ec3[333]](this[_0x6ec3[306]],false,this[_0x6ec3[106]],mxUtils[_0x6ec3[20]](this,function(_0x7e88x44){this[_0x6ec3[108]]= _0x7e88x44;this[_0x6ec3[15]]();this[_0x6ec3[0]][_0x6ec3[80]][_0x6ec3[101]](false);this[_0x6ec3[0]][_0x6ec3[80]][_0x6ec3[80]][_0x6ec3[100]]()}))};EditorUi[_0x6ec3[10]][_0x6ec3[329]]= function(){var _0x7e88x2=document[_0x6ec3[335]](_0x6ec3[334]);_0x7e88x2[_0x6ec3[336]]= _0x6ec3[337];return _0x7e88x2};EditorUi[_0x6ec3[10]][_0x6ec3[329]]= function(){var _0x7e88x2=document[_0x6ec3[335]](_0x6ec3[334]);_0x7e88x2[_0x6ec3[336]]= _0x6ec3[337];return _0x7e88x2};EditorUi[_0x6ec3[10]][_0x6ec3[332]]= function(_0x7e88x44){this[_0x6ec3[328]][_0x6ec3[338]]= _0x7e88x44};EditorUi[_0x6ec3[10]][_0x6ec3[324]]= function(_0x7e88x2){return new Toolbar(this,_0x7e88x2)};EditorUi[_0x6ec3[10]][_0x6ec3[326]]= function(_0x7e88x2){return new Sidebar(this,_0x7e88x2)};EditorUi[_0x6ec3[10]][_0x6ec3[327]]= function(){return this[_0x6ec3[308]](_0x6ec3[339])};EditorUi[_0x6ec3[10]][_0x6ec3[308]]= function(_0x7e88x45){var _0x7e88x46=document[_0x6ec3[335]](_0x6ec3[340]);_0x7e88x46[_0x6ec3[336]]= _0x7e88x45;return _0x7e88x46};EditorUi[_0x6ec3[10]][_0x6ec3[341]]= function(_0x7e88x45){var _0x7e88x46=document[_0x6ec3[335]](_0x7e88x45);return _0x7e88x46};EditorUi[_0x6ec3[10]][_0x6ec3[342]]= function(_0x7e88x45){var _0x7e88x46=document[_0x6ec3[335]](_0x6ec3[343]);_0x7e88x46[_0x6ec3[336]]= _0x7e88x45;return _0x7e88x46};EditorUi[_0x6ec3[10]][_0x6ec3[333]]= function(_0x7e88x46,_0x7e88x47,_0x7e88x48,_0x7e88x49){var _0x7e88x4a=null;var _0x7e88x4b=null;function _0x7e88x4c(){return parseInt(((_0x7e88x47)?_0x7e88x46[_0x6ec3[6]][_0x6ec3[302]]:_0x7e88x46[_0x6ec3[6]][_0x6ec3[301]]))}function _0x7e88x4d(_0x7e88x6){if(_0x7e88x4a!= null){var _0x7e88x4e= new mxPoint(mxEvent[_0x6ec3[344]](_0x7e88x6),mxEvent[_0x6ec3[345]](_0x7e88x6));_0x7e88x49(Math[_0x6ec3[295]](0,_0x7e88x4b+ ((_0x7e88x47)?(_0x7e88x4e[_0x6ec3[346]]- _0x7e88x4a[_0x6ec3[346]]):(_0x7e88x4a[_0x6ec3[347]]- _0x7e88x4e[_0x6ec3[347]]))- _0x7e88x48));mxEvent[_0x6ec3[74]](_0x7e88x6)}}function _0x7e88x4f(_0x7e88x6){_0x7e88x4d(_0x7e88x6);_0x7e88x4a= null;_0x7e88x4b= null}mxEvent[_0x6ec3[82]](_0x7e88x46,function(_0x7e88x6){_0x7e88x4a= new mxPoint(mxEvent[_0x6ec3[344]](_0x7e88x6),mxEvent[_0x6ec3[345]](_0x7e88x6));_0x7e88x4b= _0x7e88x4c();mxEvent[_0x6ec3[74]](_0x7e88x6)});mxEvent[_0x6ec3[33]](document,_0x6ec3[348],_0x7e88x4d);mxEvent[_0x6ec3[33]](document,_0x6ec3[349],_0x7e88x4d);mxEvent[_0x6ec3[33]](document,_0x6ec3[350],_0x7e88x4f);mxEvent[_0x6ec3[33]](document,_0x6ec3[351],_0x7e88x4f)};EditorUi[_0x6ec3[10]][_0x6ec3[73]]= function(_0x7e88x46,_0x7e88x3d,_0x7e88x3e,_0x7e88x50,_0x7e88x51,_0x7e88x52){this[_0x6ec3[352]]();this[_0x6ec3[353]]= new Dialog(this,_0x7e88x46,_0x7e88x3d,(mxClient[_0x6ec3[354]])?_0x7e88x3e- 12:_0x7e88x3e,_0x7e88x50,_0x7e88x51,_0x7e88x52)};EditorUi[_0x6ec3[10]][_0x6ec3[352]]= function(){if(this[_0x6ec3[353]]!= null){this[_0x6ec3[353]][_0x6ec3[355]]();this[_0x6ec3[353]]= null;this[_0x6ec3[0]][_0x6ec3[4]][_0x6ec3[1]][_0x6ec3[47]]()}};EditorUi[_0x6ec3[10]][_0x6ec3[356]]= function(_0x7e88x53){if(!_0x7e88x53&& this[_0x6ec3[0]][_0x6ec3[125]]!= null){this[_0x6ec3[171]](this[_0x6ec3[0]][_0x6ec3[357]]())}else {this[_0x6ec3[73]]( new SaveDialog(this)[_0x6ec3[1]],300,100,true,true)}};EditorUi[_0x6ec3[10]][_0x6ec3[358]]= function(_0x7e88x53){if(!_0x7e88x53&& this[_0x6ec3[0]][_0x6ec3[125]]!= null){this[_0x6ec3[222]](this[_0x6ec3[0]][_0x6ec3[357]]())}else {}};EditorUi[_0x6ec3[10]][_0x6ec3[359]]= function(_0x7e88x54,_0x7e88x55,_0x7e88x56){var _0x7e88x3=this[_0x6ec3[0]][_0x6ec3[4]];var _0x7e88xb=_0x7e88x3[_0x6ec3[260]]();_0x7e88x55= this[_0x6ec3[360]]!= null?this[_0x6ec3[360]]:_0x7e88x55;_0x7e88x3[_0x6ec3[65]]()[_0x6ec3[361]]();try{_0x7e88x54[_0x6ec3[362]](_0x7e88x3[_0x6ec3[220]](),_0x7e88xb)}catch(e){throw e}finally{if(_0x7e88x55&& navigator[_0x6ec3[364]][_0x6ec3[69]](_0x6ec3[363])< 0){var _0x7e88x57= new mxMorphing(_0x7e88x3);_0x7e88x57[_0x6ec3[33]](mxEvent.DONE,mxUtils[_0x6ec3[20]](this,function(){_0x7e88x3[_0x6ec3[65]]()[_0x6ec3[365]]()}));_0x7e88x57[_0x6ec3[366]]()}else {_0x7e88x3[_0x6ec3[65]]()[_0x6ec3[365]]()}}};EditorUi[_0x6ec3[10]][_0x6ec3[97]]= function(_0x7e88x1){var _0x7e88x3=this[_0x6ec3[0]][_0x6ec3[4]];var _0x7e88xf= new mxKeyHandler(_0x7e88x3);_0x7e88xf[_0x6ec3[367]]= function(_0x7e88x6){return mxEvent[_0x6ec3[367]](_0x7e88x6)|| (mxClient[_0x6ec3[368]]&& _0x7e88x6[_0x6ec3[369]])};function _0x7e88x58(_0x7e88x59){if(!_0x7e88x3[_0x6ec3[241]]()){var _0x7e88x48=0;var _0x7e88x5a=0;if(_0x7e88x59== 37){_0x7e88x48= -1}else {if(_0x7e88x59== 38){_0x7e88x5a= -1}else {if(_0x7e88x59== 39){_0x7e88x48= 1}else {if(_0x7e88x59== 40){_0x7e88x5a= 1}}}};_0x7e88x3[_0x6ec3[370]](_0x7e88x3[_0x6ec3[242]](),_0x7e88x48,_0x7e88x5a);_0x7e88x3[_0x6ec3[371]](_0x7e88x3[_0x6ec3[260]]())}}var _0x7e88x5b=mxUtils[_0x6ec3[20]](this,function(_0x7e88x5c,_0x7e88x5d,_0x7e88x25,_0x7e88x5e){var _0x7e88x5f=this[_0x6ec3[12]][_0x6ec3[112]](_0x7e88x25);if(_0x7e88x5f!= null){var _0x7e88x1f=function(){if(_0x7e88x5f[_0x6ec3[372]]){_0x7e88x5f[_0x6ec3[373]]()}};if(_0x7e88x5d){if(_0x7e88x5e){_0x7e88xf[_0x6ec3[374]](_0x7e88x5c,_0x7e88x1f)}else {_0x7e88xf[_0x6ec3[375]](_0x7e88x5c,_0x7e88x1f)}}else {if(_0x7e88x5e){_0x7e88xf[_0x6ec3[376]](_0x7e88x5c,_0x7e88x1f)}else {_0x7e88xf[_0x6ec3[377]](_0x7e88x5c,_0x7e88x1f)}}}});var _0x7e88x60=this;var _0x7e88x61=_0x7e88xf[_0x6ec3[378]];_0x7e88xf[_0x6ec3[378]]= function(_0x7e88x6){_0x7e88x60[_0x6ec3[352]]();_0x7e88x61[_0x6ec3[50]](this,arguments)};_0x7e88xf[_0x6ec3[379]]= function(){};_0x7e88xf[_0x6ec3[377]](8,function(){_0x7e88x3[_0x6ec3[380]](true)});_0x7e88xf[_0x6ec3[377]](13,function(){_0x7e88x3[_0x6ec3[380]](false)});_0x7e88xf[_0x6ec3[377]](33,function(){_0x7e88x3[_0x6ec3[284]]()});_0x7e88xf[_0x6ec3[377]](34,function(){_0x7e88x3[_0x6ec3[285]]()});_0x7e88xf[_0x6ec3[377]](36,function(){_0x7e88x3[_0x6ec3[283]]()});_0x7e88xf[_0x6ec3[377]](35,function(){_0x7e88x3[_0x6ec3[15]]()});_0x7e88xf[_0x6ec3[377]](37,function(){_0x7e88x58(37)});_0x7e88xf[_0x6ec3[377]](38,function(){_0x7e88x58(38)});_0x7e88xf[_0x6ec3[377]](39,function(){_0x7e88x58(39)});_0x7e88xf[_0x6ec3[377]](40,function(){_0x7e88x58(40)});_0x7e88xf[_0x6ec3[377]](113,function(){_0x7e88x3[_0x6ec3[70]]()});_0x7e88x5b(46,false,_0x6ec3[243]);_0x7e88x5b(82,true,_0x6ec3[253]);_0x7e88x5b(83,true,_0x6ec3[171]);_0x7e88x5b(83,true,_0x6ec3[179],true);_0x7e88x5b(107,false,_0x6ec3[381]);_0x7e88x5b(109,false,_0x6ec3[382]);_0x7e88x5b(65,true,_0x6ec3[383]);_0x7e88x5b(86,true,_0x6ec3[384],true);_0x7e88x5b(69,true,_0x6ec3[385],true);_0x7e88x5b(69,true,_0x6ec3[386]);_0x7e88x5b(66,true,_0x6ec3[249]);_0x7e88x5b(70,true,_0x6ec3[248]);_0x7e88x5b(68,true,_0x6ec3[244]);_0x7e88x5b(90,true,_0x6ec3[237]);_0x7e88x5b(89,true,_0x6ec3[238]);_0x7e88x5b(88,true,_0x6ec3[115]);_0x7e88x5b(67,true,_0x6ec3[116]);_0x7e88x5b(81,true,_0x6ec3[387]);_0x7e88x5b(86,true,_0x6ec3[111]);_0x7e88x5b(71,true,_0x6ec3[259]);_0x7e88x5b(71,true,_0x6ec3[388],true);_0x7e88x5b(85,true,_0x6ec3[261]);_0x7e88x5b(112,false,_0x6ec3[389]);_0x7e88x5b(80,true,_0x6ec3[222],true);return _0x7e88xf};EditorUi[_0x6ec3[10]][_0x6ec3[58]]= function(_0x7e88x3,_0x7e88x36,_0x7e88x62,_0x7e88x63){for(var _0x7e88x37=0;_0x7e88x37< _0x7e88x36[_0x6ec3[143]];_0x7e88x37++){_0x7e88x3[_0x6ec3[392]]( new mxMultiplicity(true,_0x7e88x36[_0x7e88x37],null,null,_0x7e88x62[_0x7e88x37][0],_0x7e88x62[_0x7e88x37][1],null,mxResources[_0x6ec3[112]](_0x7e88x36[_0x7e88x37])+ _0x6ec3[390]+ _0x7e88x62[_0x7e88x37][0]+ _0x6ec3[391],null));_0x7e88x3[_0x6ec3[392]]( new mxMultiplicity(false,_0x7e88x36[_0x7e88x37],null,null,_0x7e88x63[_0x7e88x37][0],_0x7e88x63[_0x7e88x37][1],null,mxResources[_0x6ec3[112]](_0x7e88x36[_0x7e88x37])+ _0x6ec3[390]+ _0x7e88x63[_0x7e88x37][0]+ _0x6ec3[393],null))}} \ 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 13541ec..78ef664 100644 --- a/public/assets/plugins/jscripty/js/Graph.js +++ b/public/assets/plugins/jscripty/js/Graph.js @@ -1 +1 @@ -var _0xc0c0=["\x63\x61\x6C\x6C","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x61\x6C\x6C\x6F\x77\x41\x75\x74\x6F\x50\x61\x6E\x6E\x69\x6E\x67","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x43\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x74\x61\x72\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x69\x73\x56\x61\x6C\x69\x64\x53\x6F\x75\x72\x63\x65","\x61\x70\x70\x6C\x79","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74","\x32","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6C\x6F\x61\x64\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x67\x65\x74\x52\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x63\x75\x72\x73\x6F\x72","\x73\x74\x79\x6C\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x65\x66\x61\x75\x6C\x74","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x76\x69\x65\x77","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x68\x74\x6D\x6C","\x31","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x77\x72\x61\x70","\x67\x65\x74\x4C\x61\x62\x65\x6C\x56\x61\x6C\x75\x65","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x68\x74\x6D\x6C\x45\x6E\x74\x69\x74\x69\x65\x73","\x69\x73\x43\x65\x6C\x6C\x4C\x6F\x63\x6B\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64","\x61\x63\x74\x69\x76\x65","\x67\x72\x61\x70\x68","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x73\x74\x61\x72\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x63\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x69\x6E\x69\x74\x54\x6F\x75\x63\x68","\x65\x78\x74\x65\x6E\x64","\x6D\x69\x6E\x46\x69\x74\x53\x63\x61\x6C\x65","\x6D\x61\x78\x46\x69\x74\x53\x63\x61\x6C\x65","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x2F\x64\x65\x66\x61\x75\x6C\x74\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x64\x65\x63\x6F\x64\x65","\x66\x6C\x69\x70\x45\x64\x67\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x45\x4C\x42\x4F\x57\x5F\x48\x4F\x52\x49\x5A\x4F\x4E\x54\x41\x4C","\x45\x4C\x42\x4F\x57\x5F\x56\x45\x52\x54\x49\x43\x41\x4C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x73","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x70\x6F\x69\x6E\x74\x73","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x65","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x69\x73\x43\x65\x6C\x6C\x46\x6F\x6C\x64\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70\x43\x65\x6C\x6C","\x67\x72\x6F\x75\x70","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x43\x65\x6C\x6C","","\x69\x73\x56\x65\x72\x74\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x5F","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x67\x65\x74","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x6F\x62\x6A\x65\x63\x74","\x6C\x61\x62\x65\x6C","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x65\x6C\x6C\x4C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x55\x73\x65\x72\x4F\x62\x6A\x65\x63\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6E\x6B","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x56\x61\x6C\x75\x65","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x6D\x61\x72\x6B\x65\x72","\x66\x69\x72\x73\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x75\x70\x64\x61\x74\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x67\x72\x61\x70\x68\x58","\x67\x72\x61\x70\x68\x59","\x67\x65\x74\x43\x65\x6C\x6C\x41\x74","\x73\x74\x61\x74\x65","\x73\x68\x61\x70\x65","\x6E\x6F\x64\x65","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x69\x73\x4D\x65\x6E\x75\x53\x68\x6F\x77\x69\x6E\x67","\x67\x65\x74\x43\x65\x6C\x6C","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x4D\x4F\x55\x53\x45\x5F\x55\x50","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x67\x65\x74\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x4D\x4F\x55\x53\x45\x5F\x4D\x4F\x56\x45","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x73\x65\x6C\x65\x63\x74\x4F\x6E\x50\x6F\x70\x75\x70","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x69\x67\x6E\x6F\x72\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E","\x75\x73\x65\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x64\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x6F\x6E\x76\x65\x72\x74\x50\x6F\x69\x6E\x74","\x78","\x79","\x2F\x74\x6F\x75\x63\x68\x2D\x68\x61\x6E\x64\x6C\x65\x2E\x70\x6E\x67","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x69\x7A\x65\x72\x49\x6D\x61\x67\x65","\x73\x72\x63","\x2F\x74\x6F\x75\x63\x68\x2D\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x69\x6E\x69\x74","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x49\x6D\x67","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x32\x39\x70\x78","\x68\x65\x69\x67\x68\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x74\x69\x74\x6C\x65","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x70\x61\x64\x64\x69\x6E\x67","\x32\x70\x78","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x72\x65\x64\x72\x61\x77\x54\x6F\x6F\x6C\x73","\x72\x65\x64\x72\x61\x77","\x73\x69\x6E\x67\x6C\x65\x53\x69\x7A\x65\x72","\x6C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x78","\x74\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x2F\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x49\x53\x5F\x49\x45","\x49\x53\x5F\x53\x56\x47","\x64\x69\x76","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x65\x6E\x74\x65\x72","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x64\x69\x73\x70\x6C\x61\x79","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x69\x6E\x6C\x69\x6E\x65","\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E"];Graph= function(_0x32eex1,_0x32eex2,_0x32eex3,_0x32eex4){mxGraph[_0xc0c0[0]](this,_0x32eex1,_0x32eex2,_0x32eex3,_0x32eex4);this[_0xc0c0[1]](true);this[_0xc0c0[2]](false);this[_0xc0c0[3]](true);this[_0xc0c0[4]](!mxClient.IS_TOUCH);this[_0xc0c0[5]](false);this[_0xc0c0[6]](false);this[_0xc0c0[7]]= true;this[_0xc0c0[8]]= false;this[_0xc0c0[9]]= false;this[_0xc0c0[11]][_0xc0c0[10]]= true;this[_0xc0c0[12]](false);this[_0xc0c0[11]][_0xc0c0[13]](false);this[_0xc0c0[11]][_0xc0c0[14]]= function(){return mxConnectionHandler[_0xc0c0[16]][_0xc0c0[14]][_0xc0c0[15]](this,arguments)&& urlParams[_0xc0c0[17]]!= _0xc0c0[18]};this[_0xc0c0[19]]= _0xc0c0[20];if(_0x32eex4== null){this[_0xc0c0[21]]()};var _0x32eex5= new mxRubberband(this);this[_0xc0c0[22]]= function(){return _0x32eex5};this[_0xc0c0[29]][_0xc0c0[28]](mxEvent.PAN_START,mxUtils[_0xc0c0[27]](this,function(){this[_0xc0c0[25]][_0xc0c0[24]][_0xc0c0[23]]= _0xc0c0[26]}));this[_0xc0c0[29]][_0xc0c0[28]](mxEvent.PAN_END,mxUtils[_0xc0c0[27]](this,function(){this[_0xc0c0[25]][_0xc0c0[24]][_0xc0c0[23]]= _0xc0c0[30]}));this[_0xc0c0[31]]= function(_0x32eex6){var _0x32eex7=this[_0xc0c0[33]][_0xc0c0[32]](_0x32eex6);var _0x32eex8=(_0x32eex7!= null)?_0x32eex7[_0xc0c0[24]]:this[_0xc0c0[34]](_0x32eex6);return _0x32eex8[_0xc0c0[35]]== _0xc0c0[36]|| _0x32eex8[_0xc0c0[37]]== _0xc0c0[38]};this[_0xc0c0[40]][_0xc0c0[39]]= function(_0x32eex7){var _0x32eex9=mxCellRenderer[_0xc0c0[16]][_0xc0c0[39]][_0xc0c0[15]](this,arguments);if(_0x32eex7[_0xc0c0[24]][_0xc0c0[37]]== _0xc0c0[38]&& _0x32eex7[_0xc0c0[24]][_0xc0c0[35]]!= 1){_0x32eex9= mxUtils[_0xc0c0[41]](_0x32eex9,false)};return _0x32eex9};this[_0xc0c0[42]]= function(_0x32eex6){return false};this[_0xc0c0[11]][_0xc0c0[43]]= 16;var _0x32eexa=this[_0xc0c0[11]][_0xc0c0[44]];this[_0xc0c0[11]][_0xc0c0[44]]= function(_0x32eexb,_0x32eex7){if(_0x32eex7== null){if(!this[_0xc0c0[46]][_0xc0c0[29]][_0xc0c0[45]]){_0x32eex5[_0xc0c0[49]](_0x32eexb[_0xc0c0[47]](),_0x32eexb[_0xc0c0[48]]());this[_0xc0c0[46]][_0xc0c0[29]][_0xc0c0[50]]= false}}else {if(tapAndHoldStartsConnection){_0x32eexa[_0xc0c0[15]](this,arguments)}else {if(this[_0xc0c0[46]][_0xc0c0[52]](_0x32eex7[_0xc0c0[51]])&& this[_0xc0c0[46]][_0xc0c0[53]]()> 1){this[_0xc0c0[46]][_0xc0c0[54]](_0x32eex7[_0xc0c0[51]])}}}};if(touchStyle){this[_0xc0c0[55]]()}};mxUtils[_0xc0c0[56]](Graph,mxGraph);Graph[_0xc0c0[16]][_0xc0c0[57]]= null;Graph[_0xc0c0[16]][_0xc0c0[58]]= null;Graph[_0xc0c0[16]][_0xc0c0[21]]= function(){var _0x32eexc=mxUtils[_0xc0c0[61]](STYLE_PATH+ _0xc0c0[60])[_0xc0c0[59]]();var _0x32eexd= new mxCodec(_0x32eexc[_0xc0c0[62]]);_0x32eexd[_0xc0c0[64]](_0x32eexc,this[_0xc0c0[63]]())};Graph[_0xc0c0[16]][_0xc0c0[65]]= function(_0x32eexe){if(_0x32eexe!= null){var _0x32eex7=this[_0xc0c0[33]][_0xc0c0[32]](_0x32eexe);var _0x32eex8=(_0x32eex7!= null)?_0x32eex7[_0xc0c0[24]]:this[_0xc0c0[34]](_0x32eexe);if(_0x32eex8!= null){var _0x32eexf=mxUtils[_0xc0c0[66]](_0x32eex8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x32eex10=(_0x32eexf== mxConstants[_0xc0c0[67]])?mxConstants[_0xc0c0[68]]:mxConstants[_0xc0c0[67]];this[_0xc0c0[69]](mxConstants.STYLE_ELBOW,_0x32eex10,[_0x32eexe])}}};Graph[_0xc0c0[16]][_0xc0c0[70]]= function(_0x32eex6){if(_0x32eex6!= null&& this[_0xc0c0[72]]()[_0xc0c0[71]](_0x32eex6)){var _0x32eex11=this[_0xc0c0[72]]()[_0xc0c0[73]]([_0x32eex6])[0];if(_0x32eex11[_0xc0c0[74]]!= null){_0x32eex11[_0xc0c0[74]][_0xc0c0[75]]= null};var _0x32eex8=_0x32eex11[_0xc0c0[76]]();_0x32eex8= mxUtils[_0xc0c0[77]](_0x32eex8,mxConstants.STYLE_ENTRY_X,null);_0x32eex8= mxUtils[_0xc0c0[77]](_0x32eex8,mxConstants.STYLE_ENTRY_Y,null);_0x32eex8= mxUtils[_0xc0c0[77]](_0x32eex8,mxConstants.STYLE_EXIT_X,null);_0x32eex8= mxUtils[_0xc0c0[77]](_0x32eex8,mxConstants.STYLE_EXIT_Y,null);_0x32eex11[_0xc0c0[77]](_0x32eex8);this[_0xc0c0[11]][_0xc0c0[78]]= function(_0x32eexb){return this[_0xc0c0[46]][_0xc0c0[33]][_0xc0c0[79]](_0x32eex11)};this[_0xc0c0[11]][_0xc0c0[80]]= function(){return this[_0xc0c0[46]][_0xc0c0[73]]([_0x32eex11])[0]}}};Graph[_0xc0c0[16]][_0xc0c0[81]]= function(_0x32eex6){return this[_0xc0c0[82]]&& this[_0xc0c0[83]](_0x32eex6)};Graph[_0xc0c0[16]][_0xc0c0[84]]= function(_0x32eex6){return this[_0xc0c0[83]](_0x32eex6)};Graph[_0xc0c0[16]][_0xc0c0[85]]= function(){var _0x32eex12=mxGraph[_0xc0c0[16]][_0xc0c0[85]][_0xc0c0[15]](this,arguments);_0x32eex12[_0xc0c0[77]](_0xc0c0[86]);return _0x32eex12};Graph[_0xc0c0[16]][_0xc0c0[87]]= function(_0x32eex6){var _0x32eex13=_0xc0c0[88];if(this[_0xc0c0[72]]()[_0xc0c0[89]](_0x32eex6)){_0x32eex13+= mxResources[_0xc0c0[93]](_0xc0c0[90]+ _0x32eex6[_0xc0c0[92]][_0xc0c0[91]])|| _0xc0c0[88]}else {if(this[_0xc0c0[72]]()[_0xc0c0[71]](_0x32eex6)){_0x32eex13= mxGraph[_0xc0c0[16]][_0xc0c0[87]][_0xc0c0[15]](this,arguments)}};return _0x32eex13};Graph[_0xc0c0[16]][_0xc0c0[94]]= function(_0x32eex6){if(_0x32eex6[_0xc0c0[92]]!= null&& typeof (_0x32eex6[_0xc0c0[92]])== _0xc0c0[95]){return _0x32eex6[_0xc0c0[92]][_0xc0c0[97]](_0xc0c0[96])};return mxGraph[_0xc0c0[16]][_0xc0c0[94]][_0xc0c0[15]](this,arguments)};Graph[_0xc0c0[16]][_0xc0c0[98]]= function(_0x32eex6,_0x32eex10,_0x32eex14){if(_0x32eex6[_0xc0c0[92]]!= null&& typeof (_0x32eex6[_0xc0c0[92]])== _0xc0c0[95]){var _0x32eex15=_0x32eex6[_0xc0c0[92]][_0xc0c0[99]](true);_0x32eex15[_0xc0c0[100]](_0xc0c0[96],_0x32eex10);_0x32eex10= _0x32eex15};mxGraph[_0xc0c0[16]][_0xc0c0[98]][_0xc0c0[15]](this,arguments)};Graph[_0xc0c0[16]][_0xc0c0[101]]= function(_0x32eex6,_0x32eex16){var _0x32eex10=null;if(_0x32eex6[_0xc0c0[92]]!= null&& typeof (_0x32eex6[_0xc0c0[92]])== _0xc0c0[95]){_0x32eex10= _0x32eex6[_0xc0c0[92]][_0xc0c0[99]](true)}else {var _0x32eex17=mxUtils[_0xc0c0[102]]();_0x32eex10= _0x32eex17[_0xc0c0[104]](_0xc0c0[103]);_0x32eex10[_0xc0c0[100]](_0xc0c0[96],_0x32eex6[_0xc0c0[92]])};if(_0x32eex16!= null&& _0x32eex16[_0xc0c0[105]]> 0){_0x32eex10[_0xc0c0[100]](_0xc0c0[106],_0x32eex16)}else {_0x32eex10[_0xc0c0[107]](_0xc0c0[106])};this[_0xc0c0[109]][_0xc0c0[108]](_0x32eex6,_0x32eex10)};Graph[_0xc0c0[16]][_0xc0c0[110]]= function(_0x32eex6){if(_0x32eex6[_0xc0c0[92]]!= null&& typeof (_0x32eex6[_0xc0c0[92]])== _0xc0c0[95]){return _0x32eex6[_0xc0c0[92]][_0xc0c0[97]](_0xc0c0[106])};return null};Graph[_0xc0c0[16]][_0xc0c0[55]]= function(){this[_0xc0c0[11]][_0xc0c0[112]][_0xc0c0[111]]= function(){return this[_0xc0c0[46]][_0xc0c0[11]][_0xc0c0[113]]!= null};this[_0xc0c0[28]](mxEvent.START_EDITING,function(_0x32eex18,_0x32eex19){this[_0xc0c0[29]][_0xc0c0[114]]()});var _0x32eex1a=false;var _0x32eex1b=null;this[_0xc0c0[115]]= function(_0x32eexb){mxGraph[_0xc0c0[16]][_0xc0c0[115]][_0xc0c0[15]](this,arguments);if(_0x32eexb[_0xc0c0[32]]()== null){var _0x32eex6=this[_0xc0c0[118]](_0x32eexb[_0xc0c0[116]],_0x32eexb[_0xc0c0[117]]);if(this[_0xc0c0[72]]()[_0xc0c0[71]](_0x32eex6)){_0x32eexb[_0xc0c0[119]]= this[_0xc0c0[33]][_0xc0c0[32]](_0x32eex6);if(_0x32eexb[_0xc0c0[119]]!= null&& _0x32eexb[_0xc0c0[119]][_0xc0c0[120]]!= null){this[_0xc0c0[25]][_0xc0c0[24]][_0xc0c0[23]]= _0x32eexb[_0xc0c0[119]][_0xc0c0[120]][_0xc0c0[121]][_0xc0c0[24]][_0xc0c0[23]]}}};if(_0x32eexb[_0xc0c0[32]]()== null){this[_0xc0c0[25]][_0xc0c0[24]][_0xc0c0[23]]= _0xc0c0[30]}};this[_0xc0c0[122]]= function(_0x32eex1c,_0x32eexb,_0x32eex18){if(_0x32eex1c== mxEvent[_0xc0c0[123]]){if(!this[_0xc0c0[29]][_0xc0c0[124]]()){_0x32eex1b= _0x32eexb[_0xc0c0[125]]();_0x32eex1a= (_0x32eex1b!= null)?this[_0xc0c0[52]](_0x32eex1b):this[_0xc0c0[126]]()}else {_0x32eex1a= false;_0x32eex1b= null}}else {if(_0x32eex1c== mxEvent[_0xc0c0[127]]){if(_0x32eex1a&& !this[_0xc0c0[128]]()){if(!this[_0xc0c0[29]][_0xc0c0[124]]()){var _0x32eex1d=mxEvent[_0xc0c0[130]](_0x32eexb[_0xc0c0[129]]());var _0x32eex1e=mxEvent[_0xc0c0[131]](_0x32eexb[_0xc0c0[129]]());this[_0xc0c0[29]][_0xc0c0[132]](_0x32eex1d+ 16,_0x32eex1e,_0x32eex1b,_0x32eexb[_0xc0c0[129]]())};_0x32eex1a= false;_0x32eex1b= null;_0x32eexb[_0xc0c0[133]]();return};_0x32eex1a= false;_0x32eex1b= null}};mxGraph[_0xc0c0[16]][_0xc0c0[122]][_0xc0c0[15]](this,arguments);if(_0x32eex1c== mxEvent[_0xc0c0[134]]&& _0x32eexb[_0xc0c0[135]]()){_0x32eex1a= false;_0x32eex1b= null}}};(function(){mxVertexHandler[_0xc0c0[16]][_0xc0c0[136]]= true;mxText[_0xc0c0[16]][_0xc0c0[137]]= 5;mxText[_0xc0c0[16]][_0xc0c0[138]]= 1;if(touchStyle){mxConstants[_0xc0c0[139]]= 16;mxConstants[_0xc0c0[140]]= 7;if(mxClient[_0xc0c0[141]]){mxVertexHandler[_0xc0c0[16]][_0xc0c0[142]]= 4;mxEdgeHandler[_0xc0c0[16]][_0xc0c0[142]]= 6;Graph[_0xc0c0[16]][_0xc0c0[142]]= 14;Graph[_0xc0c0[16]][_0xc0c0[143]]= 20;mxPanningHandler[_0xc0c0[16]][_0xc0c0[144]]= false;mxPanningHandler[_0xc0c0[16]][_0xc0c0[145]]= true;mxPanningHandler[_0xc0c0[16]][_0xc0c0[146]]= function(_0x32eexb){var _0x32eex19=_0x32eexb[_0xc0c0[129]]();return (this[_0xc0c0[145]]&& (this[_0xc0c0[147]]|| _0x32eexb[_0xc0c0[32]]()== null))|| (mxEvent[_0xc0c0[148]](_0x32eex19)&& mxEvent[_0xc0c0[149]](_0x32eex19))|| (this[_0xc0c0[150]]&& mxEvent[_0xc0c0[151]](_0x32eex19))}};var _0x32eex1f=mxGraphHandler[_0xc0c0[16]][_0xc0c0[152]];mxGraphHandler[_0xc0c0[16]][_0xc0c0[152]]= function(_0x32eex18,_0x32eexb){_0x32eex1f[_0xc0c0[15]](this,arguments);if(this[_0xc0c0[46]][_0xc0c0[52]](_0x32eexb[_0xc0c0[125]]())&& this[_0xc0c0[46]][_0xc0c0[53]]()> 1){this[_0xc0c0[153]]= false}};Graph[_0xc0c0[16]][_0xc0c0[154]]= function(_0x32eex1){this[_0xc0c0[155]]= new mxTooltipHandler(this);this[_0xc0c0[155]][_0xc0c0[156]](false);this[_0xc0c0[157]]= new mxSelectionCellsHandler(this);this[_0xc0c0[29]]= new mxPanningHandler(this);this[_0xc0c0[29]][_0xc0c0[158]]= false;this[_0xc0c0[11]]= new mxConnectionHandler(this);this[_0xc0c0[11]][_0xc0c0[156]](false);this[_0xc0c0[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0xc0c0[16]][_0xc0c0[160]]= function(_0x32eexe,_0x32eex20){if(touchStyle&& _0x32eex20!= null){this[_0xc0c0[46]][_0xc0c0[161]](_0x32eex20)}else {this[_0xc0c0[46]][_0xc0c0[161]](_0x32eexe)}};var _0x32eex21=mxGraph[_0xc0c0[16]][_0xc0c0[162]];Graph[_0xc0c0[16]][_0xc0c0[162]]= function(_0x32eex19,_0x32eex6){if(_0x32eex6== null){var _0x32eex22=mxUtils[_0xc0c0[163]](this[_0xc0c0[25]],mxEvent[_0xc0c0[130]](_0x32eex19),mxEvent[_0xc0c0[131]](_0x32eex19));_0x32eex6= this[_0xc0c0[118]](_0x32eex22[_0xc0c0[164]],_0x32eex22[_0xc0c0[165]])};_0x32eex21[_0xc0c0[0]](this,_0x32eex19,_0x32eex6)};var _0x32eex23= new mxImage(IMAGE_PATH+ _0xc0c0[166],16,16);mxVertexHandler[_0xc0c0[16]][_0xc0c0[167]]= _0x32eex23;mxEdgeHandler[_0xc0c0[16]][_0xc0c0[167]]= _0x32eex23;mxOutline[_0xc0c0[16]][_0xc0c0[168]]= _0x32eex23; new Image()[_0xc0c0[169]]= _0x32eex23[_0xc0c0[169]];var _0x32eex24=IMAGE_PATH+ _0xc0c0[170];var _0x32eex25=mxVertexHandler[_0xc0c0[16]][_0xc0c0[171]];mxVertexHandler[_0xc0c0[16]][_0xc0c0[171]]= function(){_0x32eex25[_0xc0c0[15]](this,arguments);if(showConnectorImg&& this[_0xc0c0[46]][_0xc0c0[11]][_0xc0c0[111]]()&& this[_0xc0c0[46]][_0xc0c0[172]](this[_0xc0c0[119]][_0xc0c0[51]])&& !this[_0xc0c0[46]][_0xc0c0[84]](this[_0xc0c0[119]][_0xc0c0[51]])&& this[_0xc0c0[46]][_0xc0c0[53]]()== 1){this[_0xc0c0[173]]= mxUtils[_0xc0c0[174]](_0x32eex24);this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[23]]= _0xc0c0[26];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[175]]= _0xc0c0[176];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[177]]= _0xc0c0[176];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[178]]= _0xc0c0[179];if(!mxClient[_0xc0c0[141]]){this[_0xc0c0[173]][_0xc0c0[100]](_0xc0c0[180],mxResources[_0xc0c0[93]](_0xc0c0[17]));mxEvent[_0xc0c0[181]](this[_0xc0c0[173]],this[_0xc0c0[46]],this[_0xc0c0[119]])};this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[182]]= _0xc0c0[183];mxEvent[_0xc0c0[185]](this[_0xc0c0[173]],mxUtils[_0xc0c0[27]](this,function(_0x32eex19){this[_0xc0c0[46]][_0xc0c0[29]][_0xc0c0[114]]();var _0x32eex22=mxUtils[_0xc0c0[163]](this[_0xc0c0[46]][_0xc0c0[25]],mxEvent[_0xc0c0[130]](_0x32eex19),mxEvent[_0xc0c0[131]](_0x32eex19));this[_0xc0c0[46]][_0xc0c0[11]][_0xc0c0[49]](this[_0xc0c0[119]],_0x32eex22[_0xc0c0[164]],_0x32eex22[_0xc0c0[165]]);this[_0xc0c0[46]][_0xc0c0[184]]= true;mxEvent[_0xc0c0[133]](_0x32eex19)}));this[_0xc0c0[46]][_0xc0c0[25]][_0xc0c0[186]](this[_0xc0c0[173]])};this[_0xc0c0[187]]()};var _0x32eex26=mxVertexHandler[_0xc0c0[16]][_0xc0c0[188]];mxVertexHandler[_0xc0c0[16]][_0xc0c0[188]]= function(){_0x32eex26[_0xc0c0[15]](this);this[_0xc0c0[187]]()};mxVertexHandler[_0xc0c0[16]][_0xc0c0[187]]= function(){if(this[_0xc0c0[119]]!= null&& this[_0xc0c0[173]]!= null){if(mxVertexHandler[_0xc0c0[16]][_0xc0c0[189]]){this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[190]]= (this[_0xc0c0[119]][_0xc0c0[164]]+ this[_0xc0c0[119]][_0xc0c0[175]]- this[_0xc0c0[173]][_0xc0c0[191]]/ 2)+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[193]]= (this[_0xc0c0[119]][_0xc0c0[165]]- this[_0xc0c0[173]][_0xc0c0[194]]/ 2)+ _0xc0c0[192]}else {this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[190]]= (this[_0xc0c0[119]][_0xc0c0[164]]+ this[_0xc0c0[119]][_0xc0c0[175]]+ mxConstants[_0xc0c0[139]]/ 2+ 4)+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[193]]= (this[_0xc0c0[119]][_0xc0c0[165]]+ (this[_0xc0c0[119]][_0xc0c0[177]]- this[_0xc0c0[173]][_0xc0c0[194]])/ 2)+ _0xc0c0[192]}}};var _0x32eex27=mxVertexHandler[_0xc0c0[16]][_0xc0c0[195]];mxVertexHandler[_0xc0c0[16]][_0xc0c0[195]]= function(_0x32eex18,_0x32eexb){_0x32eex27[_0xc0c0[15]](this,arguments);if(this[_0xc0c0[173]]!= null){this[_0xc0c0[173]][_0xc0c0[197]][_0xc0c0[196]](this[_0xc0c0[173]]);this[_0xc0c0[173]]= null}}; new Image()[_0xc0c0[169]]= _0x32eex24}else {var _0x32eex28= new mxImage(IMAGE_PATH+ _0xc0c0[198],15,15);mxConnectionHandler[_0xc0c0[16]][_0xc0c0[199]]= _0x32eex28; new Image()[_0xc0c0[169]]= _0x32eex28[_0xc0c0[169]];if(urlParams[_0xc0c0[17]]== _0xc0c0[18]){var _0x32eex28= new mxImage(IMAGE_PATH+ _0xc0c0[198],15,15);var _0x32eex25=mxVertexHandler[_0xc0c0[16]][_0xc0c0[171]];mxVertexHandler[_0xc0c0[16]][_0xc0c0[171]]= function(){_0x32eex25[_0xc0c0[15]](this,arguments);if(showConnectorImg&& this[_0xc0c0[46]][_0xc0c0[11]][_0xc0c0[111]]()&& this[_0xc0c0[46]][_0xc0c0[172]](this[_0xc0c0[119]][_0xc0c0[51]])&& !this[_0xc0c0[46]][_0xc0c0[84]](this[_0xc0c0[119]][_0xc0c0[51]])&& this[_0xc0c0[46]][_0xc0c0[53]]()== 1){if(mxClient[_0xc0c0[200]]&& !mxClient[_0xc0c0[201]]){this[_0xc0c0[173]]= document[_0xc0c0[104]](_0xc0c0[202]);this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[203]]= _0xc0c0[204]+ _0x32eex28[_0xc0c0[169]]+ _0xc0c0[205];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[206]]= _0xc0c0[207];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[208]]= _0xc0c0[209];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[175]]= (_0x32eex28[_0xc0c0[175]]+ 4)+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[177]]= (_0x32eex28[_0xc0c0[177]]+ 4)+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[210]]= (mxClient[_0xc0c0[211]])?_0xc0c0[212]:_0xc0c0[213]}else {this[_0xc0c0[173]]= mxUtils[_0xc0c0[174]](_0x32eex28[_0xc0c0[169]]);this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[175]]= _0x32eex28[_0xc0c0[175]]+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[177]]= _0x32eex28[_0xc0c0[177]]+ _0xc0c0[192]};this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[23]]= _0xc0c0[26];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[178]]= _0xc0c0[179];this[_0xc0c0[173]][_0xc0c0[100]](_0xc0c0[180],mxResources[_0xc0c0[93]](_0xc0c0[17]));mxEvent[_0xc0c0[181]](this[_0xc0c0[173]],this[_0xc0c0[46]],this[_0xc0c0[119]]);this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[182]]= _0xc0c0[183];mxEvent[_0xc0c0[28]](this[_0xc0c0[173]],_0xc0c0[214],mxUtils[_0xc0c0[27]](this,function(_0x32eex19){this[_0xc0c0[46]][_0xc0c0[29]][_0xc0c0[114]]();var _0x32eex22=mxUtils[_0xc0c0[163]](this[_0xc0c0[46]][_0xc0c0[25]],mxEvent[_0xc0c0[130]](_0x32eex19),mxEvent[_0xc0c0[131]](_0x32eex19));this[_0xc0c0[46]][_0xc0c0[11]][_0xc0c0[49]](this[_0xc0c0[119]],_0x32eex22[_0xc0c0[164]],_0x32eex22[_0xc0c0[165]]);this[_0xc0c0[46]][_0xc0c0[184]]= true;mxEvent[_0xc0c0[133]](_0x32eex19)}));this[_0xc0c0[46]][_0xc0c0[25]][_0xc0c0[186]](this[_0xc0c0[173]])};this[_0xc0c0[187]]()};var _0x32eex26=mxVertexHandler[_0xc0c0[16]][_0xc0c0[188]];mxVertexHandler[_0xc0c0[16]][_0xc0c0[188]]= function(){_0x32eex26[_0xc0c0[15]](this);this[_0xc0c0[187]]()};mxVertexHandler[_0xc0c0[16]][_0xc0c0[187]]= function(){if(this[_0xc0c0[119]]!= null&& this[_0xc0c0[173]]!= null){if(mxVertexHandler[_0xc0c0[16]][_0xc0c0[189]]){this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[190]]= (this[_0xc0c0[119]][_0xc0c0[164]]+ this[_0xc0c0[119]][_0xc0c0[175]]- this[_0xc0c0[173]][_0xc0c0[191]]/ 2)+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[193]]= (this[_0xc0c0[119]][_0xc0c0[165]]- this[_0xc0c0[173]][_0xc0c0[194]]/ 2)+ _0xc0c0[192]}else {this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[190]]= (this[_0xc0c0[119]][_0xc0c0[164]]+ this[_0xc0c0[119]][_0xc0c0[175]]+ mxConstants[_0xc0c0[139]]/ 2+ 2)+ _0xc0c0[192];this[_0xc0c0[173]][_0xc0c0[24]][_0xc0c0[193]]= (this[_0xc0c0[119]][_0xc0c0[165]]+ (this[_0xc0c0[119]][_0xc0c0[177]]- this[_0xc0c0[173]][_0xc0c0[194]])/ 2)+ _0xc0c0[192]}}};var _0x32eex27=mxVertexHandler[_0xc0c0[16]][_0xc0c0[195]];mxVertexHandler[_0xc0c0[16]][_0xc0c0[195]]= function(_0x32eex18,_0x32eexb){_0x32eex27[_0xc0c0[15]](this,arguments);if(this[_0xc0c0[173]]!= null){this[_0xc0c0[173]][_0xc0c0[197]][_0xc0c0[196]](this[_0xc0c0[173]]);this[_0xc0c0[173]]= null}}}}})() \ No newline at end of file +var _0xc073=["\x63\x61\x6C\x6C","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x61\x6C\x6C\x6F\x77\x41\x75\x74\x6F\x50\x61\x6E\x6E\x69\x6E\x67","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x43\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x74\x61\x72\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x69\x73\x56\x61\x6C\x69\x64\x53\x6F\x75\x72\x63\x65","\x61\x70\x70\x6C\x79","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74","\x32","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6C\x6F\x61\x64\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x67\x65\x74\x52\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x63\x75\x72\x73\x6F\x72","\x73\x74\x79\x6C\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x65\x66\x61\x75\x6C\x74","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x76\x69\x65\x77","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x68\x74\x6D\x6C","\x31","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x77\x72\x61\x70","\x67\x65\x74\x4C\x61\x62\x65\x6C\x56\x61\x6C\x75\x65","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x68\x74\x6D\x6C\x45\x6E\x74\x69\x74\x69\x65\x73","\x69\x73\x43\x65\x6C\x6C\x4C\x6F\x63\x6B\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64","\x61\x63\x74\x69\x76\x65","\x67\x72\x61\x70\x68","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x73\x74\x61\x72\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x63\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x69\x6E\x69\x74\x54\x6F\x75\x63\x68","\x65\x78\x74\x65\x6E\x64","\x6D\x69\x6E\x46\x69\x74\x53\x63\x61\x6C\x65","\x6D\x61\x78\x46\x69\x74\x53\x63\x61\x6C\x65","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x2F\x64\x65\x66\x61\x75\x6C\x74\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x64\x65\x63\x6F\x64\x65","\x66\x6C\x69\x70\x45\x64\x67\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x45\x4C\x42\x4F\x57\x5F\x48\x4F\x52\x49\x5A\x4F\x4E\x54\x41\x4C","\x45\x4C\x42\x4F\x57\x5F\x56\x45\x52\x54\x49\x43\x41\x4C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x73","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x70\x6F\x69\x6E\x74\x73","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x65","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x69\x73\x43\x65\x6C\x6C\x46\x6F\x6C\x64\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70\x43\x65\x6C\x6C","\x67\x72\x6F\x75\x70","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x43\x65\x6C\x6C","","\x69\x73\x56\x65\x72\x74\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x5F","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x67\x65\x74","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x6F\x62\x6A\x65\x63\x74","\x6C\x61\x62\x65\x6C","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x65\x6C\x6C\x4C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x55\x73\x65\x72\x4F\x62\x6A\x65\x63\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6E\x6B","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x56\x61\x6C\x75\x65","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x6D\x61\x72\x6B\x65\x72","\x66\x69\x72\x73\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x75\x70\x64\x61\x74\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x67\x72\x61\x70\x68\x58","\x67\x72\x61\x70\x68\x59","\x67\x65\x74\x43\x65\x6C\x6C\x41\x74","\x73\x74\x61\x74\x65","\x73\x68\x61\x70\x65","\x6E\x6F\x64\x65","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x69\x73\x4D\x65\x6E\x75\x53\x68\x6F\x77\x69\x6E\x67","\x67\x65\x74\x43\x65\x6C\x6C","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x4D\x4F\x55\x53\x45\x5F\x55\x50","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x67\x65\x74\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x4D\x4F\x55\x53\x45\x5F\x4D\x4F\x56\x45","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x73\x65\x6C\x65\x63\x74\x4F\x6E\x50\x6F\x70\x75\x70","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x69\x67\x6E\x6F\x72\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E","\x75\x73\x65\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x64\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x6F\x6E\x76\x65\x72\x74\x50\x6F\x69\x6E\x74","\x78","\x79","\x2F\x74\x6F\x75\x63\x68\x2D\x68\x61\x6E\x64\x6C\x65\x2E\x70\x6E\x67","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x69\x7A\x65\x72\x49\x6D\x61\x67\x65","\x73\x72\x63","\x2F\x74\x6F\x75\x63\x68\x2D\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x69\x6E\x69\x74","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x49\x6D\x67","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x32\x39\x70\x78","\x68\x65\x69\x67\x68\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x74\x69\x74\x6C\x65","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x70\x61\x64\x64\x69\x6E\x67","\x32\x70\x78","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x72\x65\x64\x72\x61\x77\x54\x6F\x6F\x6C\x73","\x72\x65\x64\x72\x61\x77","\x73\x69\x6E\x67\x6C\x65\x53\x69\x7A\x65\x72","\x6C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x78","\x74\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x2F\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x49\x53\x5F\x49\x45","\x49\x53\x5F\x53\x56\x47","\x64\x69\x76","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x65\x6E\x74\x65\x72","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x64\x69\x73\x70\x6C\x61\x79","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x69\x6E\x6C\x69\x6E\x65","\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E"];Graph= function(_0x6399x1,_0x6399x2,_0x6399x3,_0x6399x4){mxGraph[_0xc073[0]](this,_0x6399x1,_0x6399x2,_0x6399x3,_0x6399x4);this[_0xc073[1]](true);this[_0xc073[2]](false);this[_0xc073[3]](true);this[_0xc073[4]](!mxClient.IS_TOUCH);this[_0xc073[5]](false);this[_0xc073[6]](false);this[_0xc073[7]]= true;this[_0xc073[8]]= false;this[_0xc073[9]]= false;this[_0xc073[11]][_0xc073[10]]= true;this[_0xc073[12]](false);this[_0xc073[11]][_0xc073[13]](false);this[_0xc073[11]][_0xc073[14]]= function(){return mxConnectionHandler[_0xc073[16]][_0xc073[14]][_0xc073[15]](this,arguments)&& urlParams[_0xc073[17]]!= _0xc073[18]};this[_0xc073[19]]= _0xc073[20];if(_0x6399x4== null){this[_0xc073[21]]()};var _0x6399x5= new mxRubberband(this);this[_0xc073[22]]= function(){return _0x6399x5};this[_0xc073[29]][_0xc073[28]](mxEvent.PAN_START,mxUtils[_0xc073[27]](this,function(){this[_0xc073[25]][_0xc073[24]][_0xc073[23]]= _0xc073[26]}));this[_0xc073[29]][_0xc073[28]](mxEvent.PAN_END,mxUtils[_0xc073[27]](this,function(){this[_0xc073[25]][_0xc073[24]][_0xc073[23]]= _0xc073[30]}));this[_0xc073[31]]= function(_0x6399x6){var _0x6399x7=this[_0xc073[33]][_0xc073[32]](_0x6399x6);var _0x6399x8=(_0x6399x7!= null)?_0x6399x7[_0xc073[24]]:this[_0xc073[34]](_0x6399x6);return _0x6399x8[_0xc073[35]]== _0xc073[36]|| _0x6399x8[_0xc073[37]]== _0xc073[38]};this[_0xc073[40]][_0xc073[39]]= function(_0x6399x7){var _0x6399x9=mxCellRenderer[_0xc073[16]][_0xc073[39]][_0xc073[15]](this,arguments);if(_0x6399x7[_0xc073[24]][_0xc073[37]]== _0xc073[38]&& _0x6399x7[_0xc073[24]][_0xc073[35]]!= 1){_0x6399x9= mxUtils[_0xc073[41]](_0x6399x9,false)};return _0x6399x9};this[_0xc073[42]]= function(_0x6399x6){return false};this[_0xc073[11]][_0xc073[43]]= 16;var _0x6399xa=this[_0xc073[11]][_0xc073[44]];this[_0xc073[11]][_0xc073[44]]= function(_0x6399xb,_0x6399x7){if(_0x6399x7== null){if(!this[_0xc073[46]][_0xc073[29]][_0xc073[45]]){_0x6399x5[_0xc073[49]](_0x6399xb[_0xc073[47]](),_0x6399xb[_0xc073[48]]());this[_0xc073[46]][_0xc073[29]][_0xc073[50]]= false}}else {if(tapAndHoldStartsConnection){_0x6399xa[_0xc073[15]](this,arguments)}else {if(this[_0xc073[46]][_0xc073[52]](_0x6399x7[_0xc073[51]])&& this[_0xc073[46]][_0xc073[53]]()> 1){this[_0xc073[46]][_0xc073[54]](_0x6399x7[_0xc073[51]])}}}};if(touchStyle){this[_0xc073[55]]()}};mxUtils[_0xc073[56]](Graph,mxGraph);Graph[_0xc073[16]][_0xc073[57]]= null;Graph[_0xc073[16]][_0xc073[58]]= null;Graph[_0xc073[16]][_0xc073[21]]= function(){var _0x6399xc=mxUtils[_0xc073[61]](STYLE_PATH+ _0xc073[60])[_0xc073[59]]();var _0x6399xd= new mxCodec(_0x6399xc[_0xc073[62]]);_0x6399xd[_0xc073[64]](_0x6399xc,this[_0xc073[63]]())};Graph[_0xc073[16]][_0xc073[65]]= function(_0x6399xe){if(_0x6399xe!= null){var _0x6399x7=this[_0xc073[33]][_0xc073[32]](_0x6399xe);var _0x6399x8=(_0x6399x7!= null)?_0x6399x7[_0xc073[24]]:this[_0xc073[34]](_0x6399xe);if(_0x6399x8!= null){var _0x6399xf=mxUtils[_0xc073[66]](_0x6399x8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x6399x10=(_0x6399xf== mxConstants[_0xc073[67]])?mxConstants[_0xc073[68]]:mxConstants[_0xc073[67]];this[_0xc073[69]](mxConstants.STYLE_ELBOW,_0x6399x10,[_0x6399xe])}}};Graph[_0xc073[16]][_0xc073[70]]= function(_0x6399x6){if(_0x6399x6!= null&& this[_0xc073[72]]()[_0xc073[71]](_0x6399x6)){var _0x6399x11=this[_0xc073[72]]()[_0xc073[73]]([_0x6399x6])[0];if(_0x6399x11[_0xc073[74]]!= null){_0x6399x11[_0xc073[74]][_0xc073[75]]= null};var _0x6399x8=_0x6399x11[_0xc073[76]]();_0x6399x8= mxUtils[_0xc073[77]](_0x6399x8,mxConstants.STYLE_ENTRY_X,null);_0x6399x8= mxUtils[_0xc073[77]](_0x6399x8,mxConstants.STYLE_ENTRY_Y,null);_0x6399x8= mxUtils[_0xc073[77]](_0x6399x8,mxConstants.STYLE_EXIT_X,null);_0x6399x8= mxUtils[_0xc073[77]](_0x6399x8,mxConstants.STYLE_EXIT_Y,null);_0x6399x11[_0xc073[77]](_0x6399x8);this[_0xc073[11]][_0xc073[78]]= function(_0x6399xb){return this[_0xc073[46]][_0xc073[33]][_0xc073[79]](_0x6399x11)};this[_0xc073[11]][_0xc073[80]]= function(){return this[_0xc073[46]][_0xc073[73]]([_0x6399x11])[0]}}};Graph[_0xc073[16]][_0xc073[81]]= function(_0x6399x6){return this[_0xc073[82]]&& this[_0xc073[83]](_0x6399x6)};Graph[_0xc073[16]][_0xc073[84]]= function(_0x6399x6){return this[_0xc073[83]](_0x6399x6)};Graph[_0xc073[16]][_0xc073[85]]= function(){var _0x6399x12=mxGraph[_0xc073[16]][_0xc073[85]][_0xc073[15]](this,arguments);_0x6399x12[_0xc073[77]](_0xc073[86]);return _0x6399x12};Graph[_0xc073[16]][_0xc073[87]]= function(_0x6399x6){var _0x6399x13=_0xc073[88];if(this[_0xc073[72]]()[_0xc073[89]](_0x6399x6)){_0x6399x13+= mxResources[_0xc073[93]](_0xc073[90]+ _0x6399x6[_0xc073[92]][_0xc073[91]])|| _0xc073[88]}else {if(this[_0xc073[72]]()[_0xc073[71]](_0x6399x6)){_0x6399x13= mxGraph[_0xc073[16]][_0xc073[87]][_0xc073[15]](this,arguments)}};return _0x6399x13};Graph[_0xc073[16]][_0xc073[94]]= function(_0x6399x6){if(_0x6399x6[_0xc073[92]]!= null&& typeof (_0x6399x6[_0xc073[92]])== _0xc073[95]){return _0x6399x6[_0xc073[92]][_0xc073[97]](_0xc073[96])};return mxGraph[_0xc073[16]][_0xc073[94]][_0xc073[15]](this,arguments)};Graph[_0xc073[16]][_0xc073[98]]= function(_0x6399x6,_0x6399x10,_0x6399x14){if(_0x6399x6[_0xc073[92]]!= null&& typeof (_0x6399x6[_0xc073[92]])== _0xc073[95]){var _0x6399x15=_0x6399x6[_0xc073[92]][_0xc073[99]](true);_0x6399x15[_0xc073[100]](_0xc073[96],_0x6399x10);_0x6399x10= _0x6399x15};mxGraph[_0xc073[16]][_0xc073[98]][_0xc073[15]](this,arguments)};Graph[_0xc073[16]][_0xc073[101]]= function(_0x6399x6,_0x6399x16){var _0x6399x10=null;if(_0x6399x6[_0xc073[92]]!= null&& typeof (_0x6399x6[_0xc073[92]])== _0xc073[95]){_0x6399x10= _0x6399x6[_0xc073[92]][_0xc073[99]](true)}else {var _0x6399x17=mxUtils[_0xc073[102]]();_0x6399x10= _0x6399x17[_0xc073[104]](_0xc073[103]);_0x6399x10[_0xc073[100]](_0xc073[96],_0x6399x6[_0xc073[92]])};if(_0x6399x16!= null&& _0x6399x16[_0xc073[105]]> 0){_0x6399x10[_0xc073[100]](_0xc073[106],_0x6399x16)}else {_0x6399x10[_0xc073[107]](_0xc073[106])};this[_0xc073[109]][_0xc073[108]](_0x6399x6,_0x6399x10)};Graph[_0xc073[16]][_0xc073[110]]= function(_0x6399x6){if(_0x6399x6[_0xc073[92]]!= null&& typeof (_0x6399x6[_0xc073[92]])== _0xc073[95]){return _0x6399x6[_0xc073[92]][_0xc073[97]](_0xc073[106])};return null};Graph[_0xc073[16]][_0xc073[55]]= function(){this[_0xc073[11]][_0xc073[112]][_0xc073[111]]= function(){return this[_0xc073[46]][_0xc073[11]][_0xc073[113]]!= null};this[_0xc073[28]](mxEvent.START_EDITING,function(_0x6399x18,_0x6399x19){this[_0xc073[29]][_0xc073[114]]()});var _0x6399x1a=false;var _0x6399x1b=null;this[_0xc073[115]]= function(_0x6399xb){mxGraph[_0xc073[16]][_0xc073[115]][_0xc073[15]](this,arguments);if(_0x6399xb[_0xc073[32]]()== null){var _0x6399x6=this[_0xc073[118]](_0x6399xb[_0xc073[116]],_0x6399xb[_0xc073[117]]);if(this[_0xc073[72]]()[_0xc073[71]](_0x6399x6)){_0x6399xb[_0xc073[119]]= this[_0xc073[33]][_0xc073[32]](_0x6399x6);if(_0x6399xb[_0xc073[119]]!= null&& _0x6399xb[_0xc073[119]][_0xc073[120]]!= null){this[_0xc073[25]][_0xc073[24]][_0xc073[23]]= _0x6399xb[_0xc073[119]][_0xc073[120]][_0xc073[121]][_0xc073[24]][_0xc073[23]]}}};if(_0x6399xb[_0xc073[32]]()== null){this[_0xc073[25]][_0xc073[24]][_0xc073[23]]= _0xc073[30]}};this[_0xc073[122]]= function(_0x6399x1c,_0x6399xb,_0x6399x18){if(_0x6399x1c== mxEvent[_0xc073[123]]){if(!this[_0xc073[29]][_0xc073[124]]()){_0x6399x1b= _0x6399xb[_0xc073[125]]();_0x6399x1a= (_0x6399x1b!= null)?this[_0xc073[52]](_0x6399x1b):this[_0xc073[126]]()}else {_0x6399x1a= false;_0x6399x1b= null}}else {if(_0x6399x1c== mxEvent[_0xc073[127]]){if(_0x6399x1a&& !this[_0xc073[128]]()){if(!this[_0xc073[29]][_0xc073[124]]()){var _0x6399x1d=mxEvent[_0xc073[130]](_0x6399xb[_0xc073[129]]());var _0x6399x1e=mxEvent[_0xc073[131]](_0x6399xb[_0xc073[129]]());this[_0xc073[29]][_0xc073[132]](_0x6399x1d+ 16,_0x6399x1e,_0x6399x1b,_0x6399xb[_0xc073[129]]())};_0x6399x1a= false;_0x6399x1b= null;_0x6399xb[_0xc073[133]]();return};_0x6399x1a= false;_0x6399x1b= null}};mxGraph[_0xc073[16]][_0xc073[122]][_0xc073[15]](this,arguments);if(_0x6399x1c== mxEvent[_0xc073[134]]&& _0x6399xb[_0xc073[135]]()){_0x6399x1a= false;_0x6399x1b= null}}};(function(){mxVertexHandler[_0xc073[16]][_0xc073[136]]= true;mxText[_0xc073[16]][_0xc073[137]]= 5;mxText[_0xc073[16]][_0xc073[138]]= 1;if(touchStyle){mxConstants[_0xc073[139]]= 16;mxConstants[_0xc073[140]]= 7;if(mxClient[_0xc073[141]]){mxVertexHandler[_0xc073[16]][_0xc073[142]]= 4;mxEdgeHandler[_0xc073[16]][_0xc073[142]]= 6;Graph[_0xc073[16]][_0xc073[142]]= 14;Graph[_0xc073[16]][_0xc073[143]]= 20;mxPanningHandler[_0xc073[16]][_0xc073[144]]= false;mxPanningHandler[_0xc073[16]][_0xc073[145]]= true;mxPanningHandler[_0xc073[16]][_0xc073[146]]= function(_0x6399xb){var _0x6399x19=_0x6399xb[_0xc073[129]]();return (this[_0xc073[145]]&& (this[_0xc073[147]]|| _0x6399xb[_0xc073[32]]()== null))|| (mxEvent[_0xc073[148]](_0x6399x19)&& mxEvent[_0xc073[149]](_0x6399x19))|| (this[_0xc073[150]]&& mxEvent[_0xc073[151]](_0x6399x19))}};var _0x6399x1f=mxGraphHandler[_0xc073[16]][_0xc073[152]];mxGraphHandler[_0xc073[16]][_0xc073[152]]= function(_0x6399x18,_0x6399xb){_0x6399x1f[_0xc073[15]](this,arguments);if(this[_0xc073[46]][_0xc073[52]](_0x6399xb[_0xc073[125]]())&& this[_0xc073[46]][_0xc073[53]]()> 1){this[_0xc073[153]]= false}};Graph[_0xc073[16]][_0xc073[154]]= function(_0x6399x1){this[_0xc073[155]]= new mxTooltipHandler(this);this[_0xc073[155]][_0xc073[156]](false);this[_0xc073[157]]= new mxSelectionCellsHandler(this);this[_0xc073[29]]= new mxPanningHandler(this);this[_0xc073[29]][_0xc073[158]]= false;this[_0xc073[11]]= new mxConnectionHandler(this);this[_0xc073[11]][_0xc073[156]](false);this[_0xc073[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0xc073[16]][_0xc073[160]]= function(_0x6399xe,_0x6399x20){if(touchStyle&& _0x6399x20!= null){this[_0xc073[46]][_0xc073[161]](_0x6399x20)}else {this[_0xc073[46]][_0xc073[161]](_0x6399xe)}};var _0x6399x21=mxGraph[_0xc073[16]][_0xc073[162]];Graph[_0xc073[16]][_0xc073[162]]= function(_0x6399x19,_0x6399x6){if(_0x6399x6== null){var _0x6399x22=mxUtils[_0xc073[163]](this[_0xc073[25]],mxEvent[_0xc073[130]](_0x6399x19),mxEvent[_0xc073[131]](_0x6399x19));_0x6399x6= this[_0xc073[118]](_0x6399x22[_0xc073[164]],_0x6399x22[_0xc073[165]])};_0x6399x21[_0xc073[0]](this,_0x6399x19,_0x6399x6)};var _0x6399x23= new mxImage(IMAGE_PATH+ _0xc073[166],16,16);mxVertexHandler[_0xc073[16]][_0xc073[167]]= _0x6399x23;mxEdgeHandler[_0xc073[16]][_0xc073[167]]= _0x6399x23;mxOutline[_0xc073[16]][_0xc073[168]]= _0x6399x23; new Image()[_0xc073[169]]= _0x6399x23[_0xc073[169]];var _0x6399x24=IMAGE_PATH+ _0xc073[170];var _0x6399x25=mxVertexHandler[_0xc073[16]][_0xc073[171]];mxVertexHandler[_0xc073[16]][_0xc073[171]]= function(){_0x6399x25[_0xc073[15]](this,arguments);if(showConnectorImg&& this[_0xc073[46]][_0xc073[11]][_0xc073[111]]()&& this[_0xc073[46]][_0xc073[172]](this[_0xc073[119]][_0xc073[51]])&& !this[_0xc073[46]][_0xc073[84]](this[_0xc073[119]][_0xc073[51]])&& this[_0xc073[46]][_0xc073[53]]()== 1){this[_0xc073[173]]= mxUtils[_0xc073[174]](_0x6399x24);this[_0xc073[173]][_0xc073[24]][_0xc073[23]]= _0xc073[26];this[_0xc073[173]][_0xc073[24]][_0xc073[175]]= _0xc073[176];this[_0xc073[173]][_0xc073[24]][_0xc073[177]]= _0xc073[176];this[_0xc073[173]][_0xc073[24]][_0xc073[178]]= _0xc073[179];if(!mxClient[_0xc073[141]]){this[_0xc073[173]][_0xc073[100]](_0xc073[180],mxResources[_0xc073[93]](_0xc073[17]));mxEvent[_0xc073[181]](this[_0xc073[173]],this[_0xc073[46]],this[_0xc073[119]])};this[_0xc073[173]][_0xc073[24]][_0xc073[182]]= _0xc073[183];mxEvent[_0xc073[185]](this[_0xc073[173]],mxUtils[_0xc073[27]](this,function(_0x6399x19){this[_0xc073[46]][_0xc073[29]][_0xc073[114]]();var _0x6399x22=mxUtils[_0xc073[163]](this[_0xc073[46]][_0xc073[25]],mxEvent[_0xc073[130]](_0x6399x19),mxEvent[_0xc073[131]](_0x6399x19));this[_0xc073[46]][_0xc073[11]][_0xc073[49]](this[_0xc073[119]],_0x6399x22[_0xc073[164]],_0x6399x22[_0xc073[165]]);this[_0xc073[46]][_0xc073[184]]= true;mxEvent[_0xc073[133]](_0x6399x19)}));this[_0xc073[46]][_0xc073[25]][_0xc073[186]](this[_0xc073[173]])};this[_0xc073[187]]()};var _0x6399x26=mxVertexHandler[_0xc073[16]][_0xc073[188]];mxVertexHandler[_0xc073[16]][_0xc073[188]]= function(){_0x6399x26[_0xc073[15]](this);this[_0xc073[187]]()};mxVertexHandler[_0xc073[16]][_0xc073[187]]= function(){if(this[_0xc073[119]]!= null&& this[_0xc073[173]]!= null){if(mxVertexHandler[_0xc073[16]][_0xc073[189]]){this[_0xc073[173]][_0xc073[24]][_0xc073[190]]= (this[_0xc073[119]][_0xc073[164]]+ this[_0xc073[119]][_0xc073[175]]- this[_0xc073[173]][_0xc073[191]]/ 2)+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[193]]= (this[_0xc073[119]][_0xc073[165]]- this[_0xc073[173]][_0xc073[194]]/ 2)+ _0xc073[192]}else {this[_0xc073[173]][_0xc073[24]][_0xc073[190]]= (this[_0xc073[119]][_0xc073[164]]+ this[_0xc073[119]][_0xc073[175]]+ mxConstants[_0xc073[139]]/ 2+ 4)+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[193]]= (this[_0xc073[119]][_0xc073[165]]+ (this[_0xc073[119]][_0xc073[177]]- this[_0xc073[173]][_0xc073[194]])/ 2)+ _0xc073[192]}}};var _0x6399x27=mxVertexHandler[_0xc073[16]][_0xc073[195]];mxVertexHandler[_0xc073[16]][_0xc073[195]]= function(_0x6399x18,_0x6399xb){_0x6399x27[_0xc073[15]](this,arguments);if(this[_0xc073[173]]!= null){this[_0xc073[173]][_0xc073[197]][_0xc073[196]](this[_0xc073[173]]);this[_0xc073[173]]= null}}; new Image()[_0xc073[169]]= _0x6399x24}else {var _0x6399x28= new mxImage(IMAGE_PATH+ _0xc073[198],15,15);mxConnectionHandler[_0xc073[16]][_0xc073[199]]= _0x6399x28; new Image()[_0xc073[169]]= _0x6399x28[_0xc073[169]];if(urlParams[_0xc073[17]]== _0xc073[18]){var _0x6399x28= new mxImage(IMAGE_PATH+ _0xc073[198],15,15);var _0x6399x25=mxVertexHandler[_0xc073[16]][_0xc073[171]];mxVertexHandler[_0xc073[16]][_0xc073[171]]= function(){_0x6399x25[_0xc073[15]](this,arguments);if(showConnectorImg&& this[_0xc073[46]][_0xc073[11]][_0xc073[111]]()&& this[_0xc073[46]][_0xc073[172]](this[_0xc073[119]][_0xc073[51]])&& !this[_0xc073[46]][_0xc073[84]](this[_0xc073[119]][_0xc073[51]])&& this[_0xc073[46]][_0xc073[53]]()== 1){if(mxClient[_0xc073[200]]&& !mxClient[_0xc073[201]]){this[_0xc073[173]]= document[_0xc073[104]](_0xc073[202]);this[_0xc073[173]][_0xc073[24]][_0xc073[203]]= _0xc073[204]+ _0x6399x28[_0xc073[169]]+ _0xc073[205];this[_0xc073[173]][_0xc073[24]][_0xc073[206]]= _0xc073[207];this[_0xc073[173]][_0xc073[24]][_0xc073[208]]= _0xc073[209];this[_0xc073[173]][_0xc073[24]][_0xc073[175]]= (_0x6399x28[_0xc073[175]]+ 4)+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[177]]= (_0x6399x28[_0xc073[177]]+ 4)+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[210]]= (mxClient[_0xc073[211]])?_0xc073[212]:_0xc073[213]}else {this[_0xc073[173]]= mxUtils[_0xc073[174]](_0x6399x28[_0xc073[169]]);this[_0xc073[173]][_0xc073[24]][_0xc073[175]]= _0x6399x28[_0xc073[175]]+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[177]]= _0x6399x28[_0xc073[177]]+ _0xc073[192]};this[_0xc073[173]][_0xc073[24]][_0xc073[23]]= _0xc073[26];this[_0xc073[173]][_0xc073[24]][_0xc073[178]]= _0xc073[179];this[_0xc073[173]][_0xc073[100]](_0xc073[180],mxResources[_0xc073[93]](_0xc073[17]));mxEvent[_0xc073[181]](this[_0xc073[173]],this[_0xc073[46]],this[_0xc073[119]]);this[_0xc073[173]][_0xc073[24]][_0xc073[182]]= _0xc073[183];mxEvent[_0xc073[28]](this[_0xc073[173]],_0xc073[214],mxUtils[_0xc073[27]](this,function(_0x6399x19){this[_0xc073[46]][_0xc073[29]][_0xc073[114]]();var _0x6399x22=mxUtils[_0xc073[163]](this[_0xc073[46]][_0xc073[25]],mxEvent[_0xc073[130]](_0x6399x19),mxEvent[_0xc073[131]](_0x6399x19));this[_0xc073[46]][_0xc073[11]][_0xc073[49]](this[_0xc073[119]],_0x6399x22[_0xc073[164]],_0x6399x22[_0xc073[165]]);this[_0xc073[46]][_0xc073[184]]= true;mxEvent[_0xc073[133]](_0x6399x19)}));this[_0xc073[46]][_0xc073[25]][_0xc073[186]](this[_0xc073[173]])};this[_0xc073[187]]()};var _0x6399x26=mxVertexHandler[_0xc073[16]][_0xc073[188]];mxVertexHandler[_0xc073[16]][_0xc073[188]]= function(){_0x6399x26[_0xc073[15]](this);this[_0xc073[187]]()};mxVertexHandler[_0xc073[16]][_0xc073[187]]= function(){if(this[_0xc073[119]]!= null&& this[_0xc073[173]]!= null){if(mxVertexHandler[_0xc073[16]][_0xc073[189]]){this[_0xc073[173]][_0xc073[24]][_0xc073[190]]= (this[_0xc073[119]][_0xc073[164]]+ this[_0xc073[119]][_0xc073[175]]- this[_0xc073[173]][_0xc073[191]]/ 2)+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[193]]= (this[_0xc073[119]][_0xc073[165]]- this[_0xc073[173]][_0xc073[194]]/ 2)+ _0xc073[192]}else {this[_0xc073[173]][_0xc073[24]][_0xc073[190]]= (this[_0xc073[119]][_0xc073[164]]+ this[_0xc073[119]][_0xc073[175]]+ mxConstants[_0xc073[139]]/ 2+ 2)+ _0xc073[192];this[_0xc073[173]][_0xc073[24]][_0xc073[193]]= (this[_0xc073[119]][_0xc073[165]]+ (this[_0xc073[119]][_0xc073[177]]- this[_0xc073[173]][_0xc073[194]])/ 2)+ _0xc073[192]}}};var _0x6399x27=mxVertexHandler[_0xc073[16]][_0xc073[195]];mxVertexHandler[_0xc073[16]][_0xc073[195]]= function(_0x6399x18,_0x6399xb){_0x6399x27[_0xc073[15]](this,arguments);if(this[_0xc073[173]]!= null){this[_0xc073[173]][_0xc073[197]][_0xc073[196]](this[_0xc073[173]]);this[_0xc073[173]]= null}}}}})() \ 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 d75d824..93cc665 100644 --- a/public/assets/plugins/jscripty/js/Menus.js +++ b/public/assets/plugins/jscripty/js/Menus.js @@ -1 +1 @@ -var _0x554a=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x6D\x65\x6E\x75\x73","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x56\x65\x72\x64\x61\x6E\x61","\x54\x69\x6D\x65\x73\x20\x4E\x65\x77\x20\x52\x6F\x6D\x61\x6E","\x47\x61\x72\x61\x6D\x6F\x6E\x64","\x43\x6F\x6D\x69\x63\x20\x53\x61\x6E\x73\x20\x4D\x53","\x43\x6F\x75\x72\x69\x65\x72\x20\x4E\x65\x77","\x47\x65\x6F\x72\x67\x69\x61","\x4C\x75\x63\x69\x64\x61\x20\x43\x6F\x6E\x73\x6F\x6C\x65","\x54\x61\x68\x6F\x6D\x61","\x6C\x65\x6E\x67\x74\x68","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x73\x74\x79\x6C\x65\x43\x68\x61\x6E\x67\x65","\x73\x74\x79\x6C\x65","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x63\x75\x73\x74\x6F\x6D","\x67\x65\x74","","\x70\x72\x6F\x6D\x70\x74\x43\x68\x61\x6E\x67\x65","\x62\x69\x6E\x64","\x70\x75\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x28\x70\x74\x29","\x31\x32","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x70\x78","\x53\x54\x59\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x28\x70\x78\x29","\x31","\x6C\x69\x6E\x65","\x73\x74\x72\x61\x69\x67\x68\x74","\x53\x54\x59\x4C\x45\x5F\x45\x44\x47\x45","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x65\x6C\x62\x6F\x77\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6D\x61\x6E\x75\x61\x6C","\x73\x65\x67\x6D\x65\x6E\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x61\x75\x74\x6F\x6D\x61\x74\x69\x63","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x63\x6C\x61\x73\x73\x69\x63","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x41\x52\x52\x4F\x57","\x41\x52\x52\x4F\x57\x5F\x43\x4C\x41\x53\x53\x49\x43","\x6F\x70\x65\x6E\x41\x72\x72\x6F\x77","\x41\x52\x52\x4F\x57\x5F\x4F\x50\x45\x4E","\x62\x6C\x6F\x63\x6B","\x41\x52\x52\x4F\x57\x5F\x42\x4C\x4F\x43\x4B","\x6F\x76\x61\x6C","\x41\x52\x52\x4F\x57\x5F\x4F\x56\x41\x4C","\x64\x69\x61\x6D\x6F\x6E\x64","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44","\x64\x69\x61\x6D\x6F\x6E\x64\x54\x68\x69\x6E","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44\x5F\x54\x48\x49\x4E","\x6E\x6F\x6E\x65","\x4E\x4F\x4E\x45","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x65\x6E\x64\x46\x69\x6C\x6C","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x61\x64\x64\x49\x74\x65\x6D","\x73\x69\x7A\x65","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x41\x52\x52\x4F\x57","\x73\x74\x61\x72\x74\x46\x69\x6C\x6C","\x73\x70\x61\x63\x69\x6E\x67","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x68\x61\x64\x6F\x77","\x61\x63\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x74\x6F\x70","\x30","\x72\x69\x67\x68\x74","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x67\x6C\x6F\x62\x61\x6C","\x70\x65\x72\x69\x6D\x65\x74\x65\x72","\x73\x6F\x75\x72\x63\x65\x53\x70\x61\x63\x69\x6E\x67","\x74\x61\x72\x67\x65\x74\x53\x70\x61\x63\x69\x6E\x67","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D","\x74\x65\x78\x74","\x61\x64\x64\x53\x75\x62\x6D\x65\x6E\x75","\x2D","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D\x73","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x77\x6F\x72\x64\x57\x72\x61\x70","\x74\x65\x78\x74\x4F\x70\x61\x63\x69\x74\x79","\x28\x25\x29","\x31\x30\x30","\x68\x69\x64\x65","\x6C\x65\x66\x74\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x4C\x45\x46\x54","\x63\x65\x6E\x74\x65\x72","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x72\x69\x67\x68\x74\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x74\x6F\x70\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x54\x4F\x50","\x6D\x69\x64\x64\x6C\x65","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x62\x6F\x74\x74\x6F\x6D\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x74\x69\x6C\x74","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x61\x6C\x69\x67\x6E","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73","\x6C\x61\x79\x6F\x75\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x46\x6C\x6F\x77","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x76\x65\x72\x74\x69\x63\x61\x6C\x46\x6C\x6F\x77","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x61\x72\x72\x61\x6E\x67\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x76\x69\x65\x77","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x25","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x66\x69\x74\x50\x61\x67\x65","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x66\x69\x6C\x65","\x6E\x65\x77","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x41\x73","\x70\x75\x62\x6C\x69\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x65\x64\x69\x74\x46\x69\x6C\x65","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x65\x64\x69\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x75\x74","\x63\x6F\x70\x79","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x68\x65\x6C\x70","\x61\x62\x6F\x75\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x65\x78\x65\x63\x75\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x20","\x70\x72\x6F\x6D\x70\x74","\x6C\x61\x62\x65\x6C","\x66\x75\x6E\x63\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x61\x64\x64\x43\x68\x65\x63\x6B\x6D\x61\x72\x6B","\x61\x64\x64\x53\x68\x6F\x72\x74\x63\x75\x74","\x73\x68\x6F\x72\x74\x63\x75\x74","\x73\x70\x61\x6E","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6F\x6C\x6F\x72","\x67\x72\x61\x79","\x77\x72\x69\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x32\x70\x78\x20\x35\x30\x25","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x73\x6D\x61\x72\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72\x73","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x69\x73\x45\x64\x67\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x62\x65\x6E\x64\x73","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x69\x76","\x20\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x4D\x65\x6E\x75","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x61\x70\x70\x6C\x79","\x64\x65\x73\x74\x72\x6F\x79","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6C\x69\x63\x6B","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74"];Menus= function(_0x1968x1){this[_0x554a[0]]= _0x1968x1;this[_0x554a[1]]= new Object();this[_0x554a[2]](); new Image()[_0x554a[3]]= IMAGE_PATH+ _0x554a[4]};Menus[_0x554a[5]][_0x554a[2]]= function(){var _0x1968x2=this[_0x554a[0]][_0x554a[7]][_0x554a[6]];this[_0x554a[30]](_0x554a[8], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){var _0x1968x5=[_0x554a[9],_0x554a[10],_0x554a[11],_0x554a[12],_0x554a[13],_0x554a[14],_0x554a[15],_0x554a[16],_0x554a[17]];for(var _0x1968x6=0;_0x1968x6< _0x1968x5[_0x554a[18]];_0x1968x6++){var _0x1968x7=this[_0x554a[20]](_0x1968x3,_0x1968x5[_0x1968x6],[mxConstants[_0x554a[19]]],[_0x1968x5[_0x1968x6]],null,_0x1968x4);_0x1968x7[_0x554a[23]][_0x554a[22]][_0x554a[21]][_0x554a[8]]= _0x1968x5[_0x1968x6]};_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[25]),_0x554a[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0x1968x4)})));this[_0x554a[30]](_0x554a[31], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){var _0x1968x8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0x1968x6=0;_0x1968x6< _0x1968x8[_0x554a[18]];_0x1968x6++){this[_0x554a[20]](_0x1968x3,_0x1968x8[_0x1968x6],[mxConstants[_0x554a[32]]],[_0x1968x8[_0x1968x6]],null,_0x1968x4)};_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[25]),_0x554a[33],_0x554a[34],mxConstants.STYLE_FONTSIZE,_0x1968x4)})));this[_0x554a[30]](_0x554a[35], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){var _0x1968x8=[1,2,3,4,8,12,16,24];for(var _0x1968x6=0;_0x1968x6< _0x1968x8[_0x554a[18]];_0x1968x6++){this[_0x554a[20]](_0x1968x3,_0x1968x8[_0x1968x6]+ _0x554a[36],[mxConstants[_0x554a[37]]],[_0x1968x8[_0x1968x6]],null,_0x1968x4)};_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[25]),_0x554a[38],_0x554a[39],mxConstants.STYLE_STROKEWIDTH,_0x1968x4)})));this[_0x554a[30]](_0x554a[40], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[41]),[mxConstants[_0x554a[42]]],[null],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[43]),[mxConstants[_0x554a[42]]],[_0x554a[44]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[45]),[mxConstants[_0x554a[42]],mxConstants[_0x554a[46]]],[_0x554a[47],_0x554a[45]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[48]),[mxConstants[_0x554a[42]],mxConstants[_0x554a[46]]],[_0x554a[47],_0x554a[48]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[49]),[mxConstants[_0x554a[42]]],[_0x554a[50]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[51]),[mxConstants[_0x554a[42]]],[_0x554a[52]],null,_0x1968x4)})));this[_0x554a[30]](_0x554a[53], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[54]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[56]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[57]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[58]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[59]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[60]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[61]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[62]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[63]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[64]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[65]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[66]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[67]),[mxConstants[_0x554a[55]]],[mxConstants[_0x554a[68]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[69]),null,function(){_0x1968x2[_0x554a[71]](_0x554a[70],true)},_0x1968x4,null,true);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[73]),_0x554a[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0x1968x4)})));this[_0x554a[30]](_0x554a[74], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[54]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[56]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[57]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[58]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[59]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[60]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[61]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[62]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[63]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[64]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[65]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[66]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[67]),[mxConstants[_0x554a[75]]],[mxConstants[_0x554a[68]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[69]),null,function(){_0x1968x2[_0x554a[71]](_0x554a[76],true)},_0x1968x4,null,true);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[73]),_0x554a[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0x1968x4)})));this[_0x554a[30]](_0x554a[77], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){var _0x1968x9=this[_0x554a[0]][_0x554a[80]][_0x554a[26]](_0x554a[79])[_0x554a[78]];var _0x1968xa=this[_0x554a[26]](_0x554a[40])[_0x554a[78]];if(_0x1968x9|| _0x1968x3[_0x554a[81]]){this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[82]),_0x554a[38],_0x554a[83],mxConstants.STYLE_SPACING_TOP,_0x1968x4,_0x1968x9);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[84]),_0x554a[38],_0x554a[83],mxConstants.STYLE_SPACING_RIGHT,_0x1968x4,_0x1968x9);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[85]),_0x554a[38],_0x554a[83],mxConstants.STYLE_SPACING_BOTTOM,_0x1968x4,_0x1968x9);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[86]),_0x554a[38],_0x554a[83],mxConstants.STYLE_SPACING_LEFT,_0x1968x4,_0x1968x9);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[87]),_0x554a[38],_0x554a[83],mxConstants.STYLE_SPACING,_0x1968x4,_0x1968x9);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[88]),_0x554a[38],_0x554a[83],mxConstants.STYLE_PERIMETER_SPACING,_0x1968x4,_0x1968x9)};if(_0x1968xa|| _0x1968x3[_0x554a[81]]){_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[89]),_0x554a[38],_0x554a[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0x1968x4,_0x1968xa);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[90]),_0x554a[38],_0x554a[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0x1968x4,_0x1968xa)}})));this[_0x554a[30]](_0x554a[91], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[92]](_0x1968x3,_0x554a[21],_0x1968x4)})));this[_0x554a[30]](_0x554a[93], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){var _0x1968xb=this[_0x554a[26]](_0x554a[93])[_0x554a[78]];_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[94]](_0x554a[8],_0x1968x3,_0x1968x4);this[_0x554a[94]](_0x554a[31],_0x1968x3,_0x1968x4);this[_0x554a[99]](_0x1968x3,[_0x554a[95],_0x554a[96],_0x554a[97],_0x554a[98],_0x554a[95]],_0x1968x4);this[_0x554a[94]](_0x554a[100],_0x1968x3,_0x1968x4);this[_0x554a[92]](_0x1968x3,_0x554a[101],_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[28]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[102]),_0x554a[103],_0x554a[104],mxConstants.STYLE_TEXT_OPACITY,_0x1968x4,_0x1968xb);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[105]),null,function(){_0x1968x2[_0x554a[71]](mxConstants.STYLE_NOLABEL,false)},_0x1968x4,null,_0x1968xb)})));this[_0x554a[30]](_0x554a[100], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[106]),[mxConstants[_0x554a[107]]],[mxConstants[_0x554a[108]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[109]),[mxConstants[_0x554a[107]]],[mxConstants[_0x554a[110]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[111]),[mxConstants[_0x554a[107]]],[mxConstants[_0x554a[112]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[113]),[mxConstants[_0x554a[114]]],[mxConstants[_0x554a[115]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[116]),[mxConstants[_0x554a[114]]],[mxConstants[_0x554a[117]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[118]),[mxConstants[_0x554a[114]]],[mxConstants[_0x554a[119]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[94]](_0x554a[120],_0x1968x3,_0x1968x4);this[_0x554a[94]](_0x554a[77],_0x1968x3,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);var _0x1968xb=this[_0x554a[26]](_0x554a[93])[_0x554a[78]];_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[48]),null,function(){_0x1968x2[_0x554a[71]](mxConstants.STYLE_HORIZONTAL,true)},_0x1968x4,null,_0x1968xb)})));this[_0x554a[30]](_0x554a[120], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[86]),[mxConstants[_0x554a[121]],mxConstants[_0x554a[107]]],[mxConstants[_0x554a[108]],mxConstants[_0x554a[112]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[109]),[mxConstants[_0x554a[121]],mxConstants[_0x554a[107]]],[mxConstants[_0x554a[110]],mxConstants[_0x554a[110]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[84]),[mxConstants[_0x554a[121]],mxConstants[_0x554a[107]]],[mxConstants[_0x554a[112]],mxConstants[_0x554a[108]]],null,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[82]),[mxConstants[_0x554a[122]],mxConstants[_0x554a[114]]],[mxConstants[_0x554a[115]],mxConstants[_0x554a[119]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[116]),[mxConstants[_0x554a[122]],mxConstants[_0x554a[114]]],[mxConstants[_0x554a[117]],mxConstants[_0x554a[117]]],null,_0x1968x4);this[_0x554a[20]](_0x1968x3,mxResources[_0x554a[26]](_0x554a[85]),[mxConstants[_0x554a[122]],mxConstants[_0x554a[114]]],[mxConstants[_0x554a[119]],mxConstants[_0x554a[115]]],null,_0x1968x4)})));this[_0x554a[30]](_0x554a[123], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[124]),null,function(){_0x1968x2[_0x554a[71]](mxConstants.STYLE_FLIPH,false)},_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[125]),null,function(){_0x1968x2[_0x554a[71]](mxConstants.STYLE_FLIPV,false)},_0x1968x4);this[_0x554a[99]](_0x1968x3,[_0x554a[95],_0x554a[126],_0x554a[127]],_0x1968x4)})));this[_0x554a[30]](_0x554a[128], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[106]),null,function(){_0x1968x2[_0x554a[129]](mxConstants.ALIGN_LEFT)},_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[109]),null,function(){_0x1968x2[_0x554a[129]](mxConstants.ALIGN_CENTER)},_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[111]),null,function(){_0x1968x2[_0x554a[129]](mxConstants.ALIGN_RIGHT)},_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[113]),null,function(){_0x1968x2[_0x554a[129]](mxConstants.ALIGN_TOP)},_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[116]),null,function(){_0x1968x2[_0x554a[129]](mxConstants.ALIGN_MIDDLE)},_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[118]),null,function(){_0x1968x2[_0x554a[129]](mxConstants.ALIGN_BOTTOM)},_0x1968x4)})));this[_0x554a[30]](_0x554a[130], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[131]),null,mxUtils[_0x554a[29]](this,function(){var _0x1968xc= new mxHierarchicalLayout(_0x1968x2,mxConstants.DIRECTION_WEST);this[_0x554a[0]][_0x554a[132]](_0x1968xc,true,true)}),_0x1968x4);_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x554a[133]),null,mxUtils[_0x554a[29]](this,function(){var _0x1968xc= new mxHierarchicalLayout(_0x1968x2,mxConstants.DIRECTION_NORTH);this[_0x554a[0]][_0x554a[132]](_0x1968xc,true,true)}),_0x1968x4)})));this[_0x554a[30]](_0x554a[134], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[99]](_0x1968x3,[_0x554a[135],_0x554a[95],_0x554a[136],_0x554a[137],_0x554a[95],_0x554a[138],_0x554a[139]],_0x1968x4)})));this[_0x554a[30]](_0x554a[140], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[99]](_0x1968x3,[_0x554a[141],_0x554a[142],_0x554a[95]],_0x1968x4);this[_0x554a[94]](_0x554a[130],_0x1968x3,_0x1968x4);_0x1968x3[_0x554a[24]](_0x1968x4);this[_0x554a[99]](_0x1968x3,[_0x554a[95],_0x554a[143],_0x554a[144],_0x554a[145]],_0x1968x4)})));this[_0x554a[30]](_0x554a[146], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[99]](_0x1968x3,[_0x554a[147]],_0x1968x4);_0x1968x3[_0x554a[24]]();var _0x1968xd=[0.25,0.5,0.75,1,2,4];for(var _0x1968x6=0;_0x1968x6< _0x1968xd[_0x554a[18]];_0x1968x6++){(function(_0x1968xe){_0x1968x3[_0x554a[72]]((_0x1968xe* 100)+ _0x554a[148],null,function(){_0x1968x2[_0x554a[149]](_0x1968xe)},_0x1968x4)})(_0x1968xd[_0x1968x6])};this[_0x554a[99]](_0x1968x3,[_0x554a[95],_0x554a[150],_0x554a[151],_0x554a[95],_0x554a[152],_0x554a[153],_0x554a[95],_0x554a[154],_0x554a[155]],_0x1968x4)})));this[_0x554a[30]](_0x554a[156], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[99]](_0x1968x3,[_0x554a[157],_0x554a[158],_0x554a[95],_0x554a[159],_0x554a[160],_0x554a[161],_0x554a[95],_0x554a[162],_0x554a[95],_0x554a[163],_0x554a[164],_0x554a[95],_0x554a[165],_0x554a[166],_0x554a[95],_0x554a[167]],_0x1968x4)})));this[_0x554a[30]](_0x554a[168], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[99]](_0x1968x3,[_0x554a[169],_0x554a[170],_0x554a[95],_0x554a[171],_0x554a[172],_0x554a[173],_0x554a[174],_0x554a[95],_0x554a[175],_0x554a[95],_0x554a[176],_0x554a[177],_0x554a[178]])})));this[_0x554a[30]](_0x554a[179], new Menu(mxUtils[_0x554a[29]](this,function(_0x1968x3,_0x1968x4){this[_0x554a[99]](_0x1968x3,[_0x554a[179],_0x554a[95],_0x554a[180]])})))};Menus[_0x554a[5]][_0x554a[30]]= function(_0x1968xf,_0x1968x3){this[_0x554a[1]][_0x1968xf]= _0x1968x3};Menus[_0x554a[5]][_0x554a[26]]= function(_0x1968xf){return this[_0x554a[1]][_0x1968xf]};Menus[_0x554a[5]][_0x554a[94]]= function(_0x1968xf,_0x1968x3,_0x1968x4){var _0x1968xb=this[_0x554a[26]](_0x1968xf)[_0x554a[78]];if(_0x1968x3[_0x554a[81]]|| _0x1968xb){var _0x1968x10=_0x1968x3[_0x554a[72]](mxResources[_0x554a[26]](_0x1968xf),null,null,_0x1968x4,null,_0x1968xb);this[_0x554a[181]](_0x1968xf,_0x1968x3,_0x1968x10)}};Menus[_0x554a[5]][_0x554a[181]]= function(_0x1968xf,_0x1968x11,_0x1968x4){var _0x1968x3=this[_0x554a[26]](_0x1968xf);if(_0x1968x3!= null&& (_0x1968x11[_0x554a[81]]|| _0x1968x3[_0x554a[78]])){this[_0x554a[26]](_0x1968xf)[_0x554a[182]](_0x1968x11,_0x1968x4)}};Menus[_0x554a[5]][_0x554a[20]]= function(_0x1968x3,_0x1968x12,_0x1968x13,_0x1968x14,_0x1968x15,_0x1968x4){return _0x1968x3[_0x554a[72]](_0x1968x12,null,mxUtils[_0x554a[29]](this,function(){var _0x1968x2=this[_0x554a[0]][_0x554a[7]][_0x554a[6]];_0x1968x2[_0x554a[184]]()[_0x554a[183]]();try{for(var _0x1968x6=0;_0x1968x6< _0x1968x13[_0x554a[18]];_0x1968x6++){_0x1968x2[_0x554a[185]](_0x1968x13[_0x1968x6],_0x1968x14[_0x1968x6])}}finally{_0x1968x2[_0x554a[184]]()[_0x554a[186]]()}}),_0x1968x4,_0x1968x15)};Menus[_0x554a[5]][_0x554a[28]]= function(_0x1968x3,_0x1968x12,_0x1968x16,_0x1968x17,_0x1968x18,_0x1968x4,_0x1968xb){return _0x1968x3[_0x554a[72]](_0x1968x12,null,mxUtils[_0x554a[29]](this,function(){var _0x1968x2=this[_0x554a[0]][_0x554a[7]][_0x554a[6]];var _0x1968x19=_0x1968x17;var _0x1968x1a=_0x1968x2[_0x554a[189]]()[_0x554a[188]](_0x1968x2[_0x554a[187]]());if(_0x1968x1a!= null){_0x1968x19= _0x1968x1a[_0x554a[21]][_0x1968x18]|| _0x1968x19};_0x1968x19= mxUtils[_0x554a[192]](mxResources[_0x554a[26]](_0x554a[190])+ ((_0x1968x16[_0x554a[18]]> 0)?(_0x554a[191]+ _0x1968x16):_0x554a[27]),_0x1968x19);if(_0x1968x19!= null&& _0x1968x19[_0x554a[18]]> 0){_0x1968x2[_0x554a[185]](_0x1968x18,_0x1968x19)}}),_0x1968x4,null,_0x1968xb)};Menus[_0x554a[5]][_0x554a[92]]= function(_0x1968x3,_0x1968x18,_0x1968x4){var _0x1968x1b=this[_0x554a[0]][_0x554a[80]][_0x554a[26]](_0x1968x18);if(_0x1968x1b!= null&& (_0x1968x3[_0x554a[81]]|| _0x1968x1b[_0x554a[78]])){var _0x1968x1c=_0x1968x3[_0x554a[72]](_0x1968x1b[_0x554a[193]],null,_0x1968x1b[_0x554a[194]],_0x1968x4,null,_0x1968x1b[_0x554a[78]]);if(_0x1968x1b[_0x554a[195]]&& _0x1968x1b[_0x554a[196]]()){this[_0x554a[197]](_0x1968x1c)};this[_0x554a[198]](_0x1968x1c,_0x1968x1b);return _0x1968x1c};return null};Menus[_0x554a[5]][_0x554a[198]]= function(_0x1968x1c,_0x1968x1b){if(_0x1968x1b[_0x554a[199]]!= null){var _0x1968x1d=_0x1968x1c[_0x554a[23]][_0x554a[22]][_0x554a[22]];var _0x1968x1e=document[_0x554a[201]](_0x554a[200]);_0x1968x1e[_0x554a[21]][_0x554a[202]]= _0x554a[203];mxUtils[_0x554a[204]](_0x1968x1e,_0x1968x1b[_0x554a[199]]);_0x1968x1d[_0x554a[205]](_0x1968x1e)}};Menus[_0x554a[5]][_0x554a[197]]= function(_0x1968x1c){var _0x1968x1d=_0x1968x1c[_0x554a[23]][_0x554a[22]];_0x1968x1d[_0x554a[21]][_0x554a[206]]= _0x554a[207]+ IMAGE_PATH+ _0x554a[208];_0x1968x1d[_0x554a[21]][_0x554a[209]]= _0x554a[210];_0x1968x1d[_0x554a[21]][_0x554a[211]]= _0x554a[212]};Menus[_0x554a[5]][_0x554a[99]]= function(_0x1968x3,_0x1968x13,_0x1968x4){for(var _0x1968x6=0;_0x1968x6< _0x1968x13[_0x554a[18]];_0x1968x6++){if(_0x1968x13[_0x1968x6]== _0x554a[95]){_0x1968x3[_0x554a[24]](_0x1968x4)}else {this[_0x554a[92]](_0x1968x3,_0x1968x13[_0x1968x6],_0x1968x4)}}};Menus[_0x554a[5]][_0x554a[213]]= function(_0x1968x3,_0x1968x1f,_0x1968x20){var _0x1968x2=this[_0x554a[0]][_0x554a[7]][_0x554a[6]];_0x1968x3[_0x554a[214]]= true;if(_0x1968x2[_0x554a[215]]()){this[_0x554a[99]](_0x1968x3,[_0x554a[169],_0x554a[170],_0x554a[95],_0x554a[173],_0x554a[95]])}else {this[_0x554a[99]](_0x1968x3,[_0x554a[174],_0x554a[95],_0x554a[171],_0x554a[172],_0x554a[95],_0x554a[175]]);if(_0x1968x2[_0x554a[216]]()== 1&& _0x1968x2[_0x554a[184]]()[_0x554a[217]](_0x1968x2[_0x554a[187]]())){this[_0x554a[99]](_0x1968x3,[_0x554a[218]])};_0x1968x3[_0x554a[24]]()};if(_0x1968x2[_0x554a[216]]()> 0){this[_0x554a[99]](_0x1968x3,[_0x554a[141],_0x554a[142],_0x554a[95]]);if(_0x1968x2[_0x554a[184]]()[_0x554a[217]](_0x1968x2[_0x554a[187]]())){var _0x1968x21=false;var _0x1968x1f=_0x1968x2[_0x554a[187]]();if(_0x1968x1f!= null&& _0x1968x2[_0x554a[184]]()[_0x554a[217]](_0x1968x1f)){var _0x1968x22=_0x1968x2[_0x554a[220]][_0x554a[219]](_0x1968x1f);if(_0x1968x22 instanceof mxEdgeHandler&& _0x1968x22[_0x554a[221]]!= null&& _0x1968x22[_0x554a[221]][_0x554a[18]]> 2){var _0x1968x23=_0x1968x22[_0x554a[222]]( new mxMouseEvent(_0x1968x20));var _0x1968x24=this[_0x554a[0]][_0x554a[80]][_0x554a[26]](_0x554a[223]);_0x1968x24[_0x554a[224]]= _0x1968x22;_0x1968x24[_0x554a[225]]= _0x1968x23;_0x1968x21= _0x1968x23> 0&& _0x1968x23< _0x1968x22[_0x554a[221]][_0x554a[18]]}};this[_0x554a[99]](_0x1968x3,[_0x554a[95],(_0x1968x21)?_0x554a[223]:_0x554a[226]])}else {if(_0x1968x2[_0x554a[216]]()> 1){_0x1968x3[_0x554a[24]]();this[_0x554a[99]](_0x1968x3,[_0x554a[143]])}};_0x1968x3[_0x554a[24]]();if(_0x1968x2[_0x554a[216]]()== 1){var _0x1968x25=_0x1968x2[_0x554a[227]](_0x1968x2[_0x554a[187]]());if(_0x1968x25!= null){this[_0x554a[99]](_0x1968x3,[_0x554a[228]])}}}else {this[_0x554a[99]](_0x1968x3,[_0x554a[95],_0x554a[176],_0x554a[177],_0x554a[95],_0x554a[178]])}};Menus[_0x554a[5]][_0x554a[229]]= function(_0x1968x26){var _0x1968x27= new Menubar(this[_0x554a[0]],_0x1968x26);var _0x1968x28=[_0x554a[156],_0x554a[168],_0x554a[146],_0x554a[91],_0x554a[93],_0x554a[140]];for(var _0x1968x6=0;_0x1968x6< _0x1968x28[_0x554a[18]];_0x1968x6++){_0x1968x27[_0x554a[181]](mxResources[_0x554a[26]](_0x1968x28[_0x1968x6]),this[_0x554a[26]](_0x1968x28[_0x1968x6])[_0x554a[194]])};return _0x1968x27};function Menubar(_0x1968x1,_0x1968x26){this[_0x554a[0]]= _0x1968x1;this[_0x554a[230]]= _0x1968x26;mxEvent[_0x554a[232]](document,mxUtils[_0x554a[29]](this,function(_0x1968x20){this[_0x554a[231]]()}))}Menubar[_0x554a[5]][_0x554a[231]]= function(){if(this[_0x554a[233]]!= null){this[_0x554a[233]][_0x554a[231]]()}};Menubar[_0x554a[5]][_0x554a[181]]= function(_0x1968x12,_0x1968x2a){var _0x1968x2b=document[_0x554a[201]](_0x554a[234]);_0x1968x2b[_0x554a[237]](_0x554a[235],_0x554a[236]);_0x1968x2b[_0x554a[238]]= _0x554a[239];mxUtils[_0x554a[204]](_0x1968x2b,_0x1968x12);this[_0x554a[240]](_0x1968x2b,_0x1968x2a);this[_0x554a[230]][_0x554a[205]](_0x1968x2b);return _0x1968x2b};Menubar[_0x554a[5]][_0x554a[240]]= function(_0x1968x2b,_0x1968x2a){if(_0x1968x2a!= null){var _0x1968x2c=true;var _0x1968x2d=mxUtils[_0x554a[29]](this,function(_0x1968x20){if(_0x1968x2c&& _0x1968x2b[_0x554a[78]]== null|| _0x1968x2b[_0x554a[78]]){this[_0x554a[0]][_0x554a[7]][_0x554a[6]][_0x554a[241]][_0x554a[231]]();var _0x1968x3= new mxPopupMenu(_0x1968x2a);_0x1968x3[_0x554a[242]][_0x554a[238]]+= _0x554a[243];_0x1968x3[_0x554a[214]]= true;_0x1968x3[_0x554a[81]]= true;_0x1968x3[_0x554a[244]]= true;_0x1968x3[_0x554a[231]]= mxUtils[_0x554a[29]](this,function(){mxPopupMenu[_0x554a[5]][_0x554a[231]][_0x554a[245]](_0x1968x3,arguments);_0x1968x3[_0x554a[246]]();this[_0x554a[233]]= null;this[_0x554a[247]]= null});var _0x1968x2e=_0x1968x2b[_0x554a[248]]+ document[_0x554a[251]](_0x554a[250])[_0x554a[249]]+ 22;var _0x1968x2f=_0x1968x2b[_0x554a[252]]+ _0x1968x2b[_0x554a[253]]+ 140;_0x1968x3[_0x554a[254]](_0x1968x2e,_0x1968x2f,null,_0x1968x20);this[_0x554a[233]]= _0x1968x3;this[_0x554a[247]]= _0x1968x2b};_0x1968x2c= true;mxEvent[_0x554a[255]](_0x1968x20)});mxEvent[_0x554a[257]](_0x1968x2b,_0x554a[256],mxUtils[_0x554a[29]](this,function(_0x1968x20){if(this[_0x554a[233]]!= null&& this[_0x554a[247]]!= _0x1968x2b){this[_0x554a[231]]();_0x1968x2d(_0x1968x20)}}));mxEvent[_0x554a[257]](_0x1968x2b,_0x554a[258],mxUtils[_0x554a[29]](this,function(){_0x1968x2c= this[_0x554a[247]]!= _0x1968x2b}));mxEvent[_0x554a[257]](_0x1968x2b,_0x554a[259],_0x1968x2d)}};function Menu(_0x1968x2a,_0x1968xb){mxEventSource[_0x554a[260]](this);this[_0x554a[194]]= _0x1968x2a;this[_0x554a[78]]= (_0x1968xb!= null)?_0x1968xb:true}mxUtils[_0x554a[261]](Menu,mxEventSource);Menu[_0x554a[5]][_0x554a[262]]= function(_0x1968x19){if(this[_0x554a[78]]!= _0x1968x19){this[_0x554a[78]]= _0x1968x19;this[_0x554a[264]]( new mxEventObject(_0x554a[263]))}};Menu[_0x554a[5]][_0x554a[182]]= function(_0x1968x3,_0x1968x4){this[_0x554a[194]](_0x1968x3,_0x1968x4)} \ No newline at end of file +var _0x17d7=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x6D\x65\x6E\x75\x73","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x56\x65\x72\x64\x61\x6E\x61","\x54\x69\x6D\x65\x73\x20\x4E\x65\x77\x20\x52\x6F\x6D\x61\x6E","\x47\x61\x72\x61\x6D\x6F\x6E\x64","\x43\x6F\x6D\x69\x63\x20\x53\x61\x6E\x73\x20\x4D\x53","\x43\x6F\x75\x72\x69\x65\x72\x20\x4E\x65\x77","\x47\x65\x6F\x72\x67\x69\x61","\x4C\x75\x63\x69\x64\x61\x20\x43\x6F\x6E\x73\x6F\x6C\x65","\x54\x61\x68\x6F\x6D\x61","\x6C\x65\x6E\x67\x74\x68","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x73\x74\x79\x6C\x65\x43\x68\x61\x6E\x67\x65","\x73\x74\x79\x6C\x65","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x63\x75\x73\x74\x6F\x6D","\x67\x65\x74","","\x70\x72\x6F\x6D\x70\x74\x43\x68\x61\x6E\x67\x65","\x62\x69\x6E\x64","\x70\x75\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x28\x70\x74\x29","\x31\x32","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x70\x78","\x53\x54\x59\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x28\x70\x78\x29","\x31","\x6C\x69\x6E\x65","\x73\x74\x72\x61\x69\x67\x68\x74","\x53\x54\x59\x4C\x45\x5F\x45\x44\x47\x45","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x65\x6C\x62\x6F\x77\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6D\x61\x6E\x75\x61\x6C","\x73\x65\x67\x6D\x65\x6E\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x61\x75\x74\x6F\x6D\x61\x74\x69\x63","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x63\x6C\x61\x73\x73\x69\x63","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x41\x52\x52\x4F\x57","\x41\x52\x52\x4F\x57\x5F\x43\x4C\x41\x53\x53\x49\x43","\x6F\x70\x65\x6E\x41\x72\x72\x6F\x77","\x41\x52\x52\x4F\x57\x5F\x4F\x50\x45\x4E","\x62\x6C\x6F\x63\x6B","\x41\x52\x52\x4F\x57\x5F\x42\x4C\x4F\x43\x4B","\x6F\x76\x61\x6C","\x41\x52\x52\x4F\x57\x5F\x4F\x56\x41\x4C","\x64\x69\x61\x6D\x6F\x6E\x64","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44","\x64\x69\x61\x6D\x6F\x6E\x64\x54\x68\x69\x6E","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44\x5F\x54\x48\x49\x4E","\x6E\x6F\x6E\x65","\x4E\x4F\x4E\x45","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x65\x6E\x64\x46\x69\x6C\x6C","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x61\x64\x64\x49\x74\x65\x6D","\x73\x69\x7A\x65","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x41\x52\x52\x4F\x57","\x73\x74\x61\x72\x74\x46\x69\x6C\x6C","\x73\x70\x61\x63\x69\x6E\x67","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x68\x61\x64\x6F\x77","\x61\x63\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x74\x6F\x70","\x30","\x72\x69\x67\x68\x74","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x67\x6C\x6F\x62\x61\x6C","\x70\x65\x72\x69\x6D\x65\x74\x65\x72","\x73\x6F\x75\x72\x63\x65\x53\x70\x61\x63\x69\x6E\x67","\x74\x61\x72\x67\x65\x74\x53\x70\x61\x63\x69\x6E\x67","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D","\x74\x65\x78\x74","\x61\x64\x64\x53\x75\x62\x6D\x65\x6E\x75","\x2D","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D\x73","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x77\x6F\x72\x64\x57\x72\x61\x70","\x74\x65\x78\x74\x4F\x70\x61\x63\x69\x74\x79","\x28\x25\x29","\x31\x30\x30","\x68\x69\x64\x65","\x6C\x65\x66\x74\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x4C\x45\x46\x54","\x63\x65\x6E\x74\x65\x72","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x72\x69\x67\x68\x74\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x74\x6F\x70\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x54\x4F\x50","\x6D\x69\x64\x64\x6C\x65","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x62\x6F\x74\x74\x6F\x6D\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x74\x69\x6C\x74","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x61\x6C\x69\x67\x6E","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73","\x6C\x61\x79\x6F\x75\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x46\x6C\x6F\x77","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x76\x65\x72\x74\x69\x63\x61\x6C\x46\x6C\x6F\x77","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x61\x72\x72\x61\x6E\x67\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x76\x69\x65\x77","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x25","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x66\x69\x74\x50\x61\x67\x65","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x66\x69\x6C\x65","\x6E\x65\x77","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x41\x73","\x70\x75\x62\x6C\x69\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x65\x64\x69\x74\x46\x69\x6C\x65","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x65\x64\x69\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x75\x74","\x63\x6F\x70\x79","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x68\x65\x6C\x70","\x61\x62\x6F\x75\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x65\x78\x65\x63\x75\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x20","\x70\x72\x6F\x6D\x70\x74","\x6C\x61\x62\x65\x6C","\x66\x75\x6E\x63\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x61\x64\x64\x43\x68\x65\x63\x6B\x6D\x61\x72\x6B","\x61\x64\x64\x53\x68\x6F\x72\x74\x63\x75\x74","\x73\x68\x6F\x72\x74\x63\x75\x74","\x73\x70\x61\x6E","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6F\x6C\x6F\x72","\x67\x72\x61\x79","\x77\x72\x69\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x32\x70\x78\x20\x35\x30\x25","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x73\x6D\x61\x72\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72\x73","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x69\x73\x45\x64\x67\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x62\x65\x6E\x64\x73","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x69\x76","\x20\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x4D\x65\x6E\x75","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x61\x70\x70\x6C\x79","\x64\x65\x73\x74\x72\x6F\x79","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6C\x69\x63\x6B","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74"];Menus= function(_0x682ex1){this[_0x17d7[0]]= _0x682ex1;this[_0x17d7[1]]= new Object();this[_0x17d7[2]](); new Image()[_0x17d7[3]]= IMAGE_PATH+ _0x17d7[4]};Menus[_0x17d7[5]][_0x17d7[2]]= function(){var _0x682ex2=this[_0x17d7[0]][_0x17d7[7]][_0x17d7[6]];this[_0x17d7[30]](_0x17d7[8], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){var _0x682ex5=[_0x17d7[9],_0x17d7[10],_0x17d7[11],_0x17d7[12],_0x17d7[13],_0x17d7[14],_0x17d7[15],_0x17d7[16],_0x17d7[17]];for(var _0x682ex6=0;_0x682ex6< _0x682ex5[_0x17d7[18]];_0x682ex6++){var _0x682ex7=this[_0x17d7[20]](_0x682ex3,_0x682ex5[_0x682ex6],[mxConstants[_0x17d7[19]]],[_0x682ex5[_0x682ex6]],null,_0x682ex4);_0x682ex7[_0x17d7[23]][_0x17d7[22]][_0x17d7[21]][_0x17d7[8]]= _0x682ex5[_0x682ex6]};_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[25]),_0x17d7[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[31], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){var _0x682ex8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0x682ex6=0;_0x682ex6< _0x682ex8[_0x17d7[18]];_0x682ex6++){this[_0x17d7[20]](_0x682ex3,_0x682ex8[_0x682ex6],[mxConstants[_0x17d7[32]]],[_0x682ex8[_0x682ex6]],null,_0x682ex4)};_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[25]),_0x17d7[33],_0x17d7[34],mxConstants.STYLE_FONTSIZE,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[35], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){var _0x682ex8=[1,2,3,4,8,12,16,24];for(var _0x682ex6=0;_0x682ex6< _0x682ex8[_0x17d7[18]];_0x682ex6++){this[_0x17d7[20]](_0x682ex3,_0x682ex8[_0x682ex6]+ _0x17d7[36],[mxConstants[_0x17d7[37]]],[_0x682ex8[_0x682ex6]],null,_0x682ex4)};_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[25]),_0x17d7[38],_0x17d7[39],mxConstants.STYLE_STROKEWIDTH,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[40], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[41]),[mxConstants[_0x17d7[42]]],[null],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[43]),[mxConstants[_0x17d7[42]]],[_0x17d7[44]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[45]),[mxConstants[_0x17d7[42]],mxConstants[_0x17d7[46]]],[_0x17d7[47],_0x17d7[45]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[48]),[mxConstants[_0x17d7[42]],mxConstants[_0x17d7[46]]],[_0x17d7[47],_0x17d7[48]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[49]),[mxConstants[_0x17d7[42]]],[_0x17d7[50]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[51]),[mxConstants[_0x17d7[42]]],[_0x17d7[52]],null,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[53], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[54]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[56]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[57]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[58]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[59]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[60]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[61]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[62]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[63]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[64]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[65]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[66]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[67]),[mxConstants[_0x17d7[55]]],[mxConstants[_0x17d7[68]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[69]),null,function(){_0x682ex2[_0x17d7[71]](_0x17d7[70],true)},_0x682ex4,null,true);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[73]),_0x17d7[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[74], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[54]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[56]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[57]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[58]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[59]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[60]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[61]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[62]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[63]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[64]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[65]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[66]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[67]),[mxConstants[_0x17d7[75]]],[mxConstants[_0x17d7[68]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[69]),null,function(){_0x682ex2[_0x17d7[71]](_0x17d7[76],true)},_0x682ex4,null,true);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[73]),_0x17d7[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[77], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){var _0x682ex9=this[_0x17d7[0]][_0x17d7[80]][_0x17d7[26]](_0x17d7[79])[_0x17d7[78]];var _0x682exa=this[_0x17d7[26]](_0x17d7[40])[_0x17d7[78]];if(_0x682ex9|| _0x682ex3[_0x17d7[81]]){this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[82]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_SPACING_TOP,_0x682ex4,_0x682ex9);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[84]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_SPACING_RIGHT,_0x682ex4,_0x682ex9);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[85]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_SPACING_BOTTOM,_0x682ex4,_0x682ex9);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[86]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_SPACING_LEFT,_0x682ex4,_0x682ex9);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[87]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_SPACING,_0x682ex4,_0x682ex9);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[88]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_PERIMETER_SPACING,_0x682ex4,_0x682ex9)};if(_0x682exa|| _0x682ex3[_0x17d7[81]]){_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[89]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0x682ex4,_0x682exa);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[90]),_0x17d7[38],_0x17d7[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0x682ex4,_0x682exa)}})));this[_0x17d7[30]](_0x17d7[91], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[92]](_0x682ex3,_0x17d7[21],_0x682ex4)})));this[_0x17d7[30]](_0x17d7[93], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){var _0x682exb=this[_0x17d7[26]](_0x17d7[93])[_0x17d7[78]];_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[94]](_0x17d7[8],_0x682ex3,_0x682ex4);this[_0x17d7[94]](_0x17d7[31],_0x682ex3,_0x682ex4);this[_0x17d7[99]](_0x682ex3,[_0x17d7[95],_0x17d7[96],_0x17d7[97],_0x17d7[98],_0x17d7[95]],_0x682ex4);this[_0x17d7[94]](_0x17d7[100],_0x682ex3,_0x682ex4);this[_0x17d7[92]](_0x682ex3,_0x17d7[101],_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[28]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[102]),_0x17d7[103],_0x17d7[104],mxConstants.STYLE_TEXT_OPACITY,_0x682ex4,_0x682exb);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[105]),null,function(){_0x682ex2[_0x17d7[71]](mxConstants.STYLE_NOLABEL,false)},_0x682ex4,null,_0x682exb)})));this[_0x17d7[30]](_0x17d7[100], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[106]),[mxConstants[_0x17d7[107]]],[mxConstants[_0x17d7[108]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[109]),[mxConstants[_0x17d7[107]]],[mxConstants[_0x17d7[110]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[111]),[mxConstants[_0x17d7[107]]],[mxConstants[_0x17d7[112]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[113]),[mxConstants[_0x17d7[114]]],[mxConstants[_0x17d7[115]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[116]),[mxConstants[_0x17d7[114]]],[mxConstants[_0x17d7[117]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[118]),[mxConstants[_0x17d7[114]]],[mxConstants[_0x17d7[119]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[94]](_0x17d7[120],_0x682ex3,_0x682ex4);this[_0x17d7[94]](_0x17d7[77],_0x682ex3,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);var _0x682exb=this[_0x17d7[26]](_0x17d7[93])[_0x17d7[78]];_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[48]),null,function(){_0x682ex2[_0x17d7[71]](mxConstants.STYLE_HORIZONTAL,true)},_0x682ex4,null,_0x682exb)})));this[_0x17d7[30]](_0x17d7[120], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[86]),[mxConstants[_0x17d7[121]],mxConstants[_0x17d7[107]]],[mxConstants[_0x17d7[108]],mxConstants[_0x17d7[112]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[109]),[mxConstants[_0x17d7[121]],mxConstants[_0x17d7[107]]],[mxConstants[_0x17d7[110]],mxConstants[_0x17d7[110]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[84]),[mxConstants[_0x17d7[121]],mxConstants[_0x17d7[107]]],[mxConstants[_0x17d7[112]],mxConstants[_0x17d7[108]]],null,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[82]),[mxConstants[_0x17d7[122]],mxConstants[_0x17d7[114]]],[mxConstants[_0x17d7[115]],mxConstants[_0x17d7[119]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[116]),[mxConstants[_0x17d7[122]],mxConstants[_0x17d7[114]]],[mxConstants[_0x17d7[117]],mxConstants[_0x17d7[117]]],null,_0x682ex4);this[_0x17d7[20]](_0x682ex3,mxResources[_0x17d7[26]](_0x17d7[85]),[mxConstants[_0x17d7[122]],mxConstants[_0x17d7[114]]],[mxConstants[_0x17d7[119]],mxConstants[_0x17d7[115]]],null,_0x682ex4)})));this[_0x17d7[30]](_0x17d7[123], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[124]),null,function(){_0x682ex2[_0x17d7[71]](mxConstants.STYLE_FLIPH,false)},_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[125]),null,function(){_0x682ex2[_0x17d7[71]](mxConstants.STYLE_FLIPV,false)},_0x682ex4);this[_0x17d7[99]](_0x682ex3,[_0x17d7[95],_0x17d7[126],_0x17d7[127]],_0x682ex4)})));this[_0x17d7[30]](_0x17d7[128], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[106]),null,function(){_0x682ex2[_0x17d7[129]](mxConstants.ALIGN_LEFT)},_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[109]),null,function(){_0x682ex2[_0x17d7[129]](mxConstants.ALIGN_CENTER)},_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[111]),null,function(){_0x682ex2[_0x17d7[129]](mxConstants.ALIGN_RIGHT)},_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[113]),null,function(){_0x682ex2[_0x17d7[129]](mxConstants.ALIGN_TOP)},_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[116]),null,function(){_0x682ex2[_0x17d7[129]](mxConstants.ALIGN_MIDDLE)},_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[118]),null,function(){_0x682ex2[_0x17d7[129]](mxConstants.ALIGN_BOTTOM)},_0x682ex4)})));this[_0x17d7[30]](_0x17d7[130], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[131]),null,mxUtils[_0x17d7[29]](this,function(){var _0x682exc= new mxHierarchicalLayout(_0x682ex2,mxConstants.DIRECTION_WEST);this[_0x17d7[0]][_0x17d7[132]](_0x682exc,true,true)}),_0x682ex4);_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x17d7[133]),null,mxUtils[_0x17d7[29]](this,function(){var _0x682exc= new mxHierarchicalLayout(_0x682ex2,mxConstants.DIRECTION_NORTH);this[_0x17d7[0]][_0x17d7[132]](_0x682exc,true,true)}),_0x682ex4)})));this[_0x17d7[30]](_0x17d7[134], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[99]](_0x682ex3,[_0x17d7[135],_0x17d7[95],_0x17d7[136],_0x17d7[137],_0x17d7[95],_0x17d7[138],_0x17d7[139]],_0x682ex4)})));this[_0x17d7[30]](_0x17d7[140], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[99]](_0x682ex3,[_0x17d7[141],_0x17d7[142],_0x17d7[95]],_0x682ex4);this[_0x17d7[94]](_0x17d7[130],_0x682ex3,_0x682ex4);_0x682ex3[_0x17d7[24]](_0x682ex4);this[_0x17d7[99]](_0x682ex3,[_0x17d7[95],_0x17d7[143],_0x17d7[144],_0x17d7[145]],_0x682ex4)})));this[_0x17d7[30]](_0x17d7[146], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[99]](_0x682ex3,[_0x17d7[147]],_0x682ex4);_0x682ex3[_0x17d7[24]]();var _0x682exd=[0.25,0.5,0.75,1,2,4];for(var _0x682ex6=0;_0x682ex6< _0x682exd[_0x17d7[18]];_0x682ex6++){(function(_0x682exe){_0x682ex3[_0x17d7[72]]((_0x682exe* 100)+ _0x17d7[148],null,function(){_0x682ex2[_0x17d7[149]](_0x682exe)},_0x682ex4)})(_0x682exd[_0x682ex6])};this[_0x17d7[99]](_0x682ex3,[_0x17d7[95],_0x17d7[150],_0x17d7[151],_0x17d7[95],_0x17d7[152],_0x17d7[153],_0x17d7[95],_0x17d7[154],_0x17d7[155]],_0x682ex4)})));this[_0x17d7[30]](_0x17d7[156], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[99]](_0x682ex3,[_0x17d7[157],_0x17d7[158],_0x17d7[95],_0x17d7[159],_0x17d7[160],_0x17d7[161],_0x17d7[95],_0x17d7[162],_0x17d7[95],_0x17d7[163],_0x17d7[164],_0x17d7[95],_0x17d7[165],_0x17d7[166],_0x17d7[95],_0x17d7[167]],_0x682ex4)})));this[_0x17d7[30]](_0x17d7[168], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[99]](_0x682ex3,[_0x17d7[169],_0x17d7[170],_0x17d7[95],_0x17d7[171],_0x17d7[172],_0x17d7[173],_0x17d7[174],_0x17d7[95],_0x17d7[175],_0x17d7[95],_0x17d7[176],_0x17d7[177],_0x17d7[178]])})));this[_0x17d7[30]](_0x17d7[179], new Menu(mxUtils[_0x17d7[29]](this,function(_0x682ex3,_0x682ex4){this[_0x17d7[99]](_0x682ex3,[_0x17d7[179],_0x17d7[95],_0x17d7[180]])})))};Menus[_0x17d7[5]][_0x17d7[30]]= function(_0x682exf,_0x682ex3){this[_0x17d7[1]][_0x682exf]= _0x682ex3};Menus[_0x17d7[5]][_0x17d7[26]]= function(_0x682exf){return this[_0x17d7[1]][_0x682exf]};Menus[_0x17d7[5]][_0x17d7[94]]= function(_0x682exf,_0x682ex3,_0x682ex4){var _0x682exb=this[_0x17d7[26]](_0x682exf)[_0x17d7[78]];if(_0x682ex3[_0x17d7[81]]|| _0x682exb){var _0x682ex10=_0x682ex3[_0x17d7[72]](mxResources[_0x17d7[26]](_0x682exf),null,null,_0x682ex4,null,_0x682exb);this[_0x17d7[181]](_0x682exf,_0x682ex3,_0x682ex10)}};Menus[_0x17d7[5]][_0x17d7[181]]= function(_0x682exf,_0x682ex11,_0x682ex4){var _0x682ex3=this[_0x17d7[26]](_0x682exf);if(_0x682ex3!= null&& (_0x682ex11[_0x17d7[81]]|| _0x682ex3[_0x17d7[78]])){this[_0x17d7[26]](_0x682exf)[_0x17d7[182]](_0x682ex11,_0x682ex4)}};Menus[_0x17d7[5]][_0x17d7[20]]= function(_0x682ex3,_0x682ex12,_0x682ex13,_0x682ex14,_0x682ex15,_0x682ex4){return _0x682ex3[_0x17d7[72]](_0x682ex12,null,mxUtils[_0x17d7[29]](this,function(){var _0x682ex2=this[_0x17d7[0]][_0x17d7[7]][_0x17d7[6]];_0x682ex2[_0x17d7[184]]()[_0x17d7[183]]();try{for(var _0x682ex6=0;_0x682ex6< _0x682ex13[_0x17d7[18]];_0x682ex6++){_0x682ex2[_0x17d7[185]](_0x682ex13[_0x682ex6],_0x682ex14[_0x682ex6])}}finally{_0x682ex2[_0x17d7[184]]()[_0x17d7[186]]()}}),_0x682ex4,_0x682ex15)};Menus[_0x17d7[5]][_0x17d7[28]]= function(_0x682ex3,_0x682ex12,_0x682ex16,_0x682ex17,_0x682ex18,_0x682ex4,_0x682exb){return _0x682ex3[_0x17d7[72]](_0x682ex12,null,mxUtils[_0x17d7[29]](this,function(){var _0x682ex2=this[_0x17d7[0]][_0x17d7[7]][_0x17d7[6]];var _0x682ex19=_0x682ex17;var _0x682ex1a=_0x682ex2[_0x17d7[189]]()[_0x17d7[188]](_0x682ex2[_0x17d7[187]]());if(_0x682ex1a!= null){_0x682ex19= _0x682ex1a[_0x17d7[21]][_0x682ex18]|| _0x682ex19};_0x682ex19= mxUtils[_0x17d7[192]](mxResources[_0x17d7[26]](_0x17d7[190])+ ((_0x682ex16[_0x17d7[18]]> 0)?(_0x17d7[191]+ _0x682ex16):_0x17d7[27]),_0x682ex19);if(_0x682ex19!= null&& _0x682ex19[_0x17d7[18]]> 0){_0x682ex2[_0x17d7[185]](_0x682ex18,_0x682ex19)}}),_0x682ex4,null,_0x682exb)};Menus[_0x17d7[5]][_0x17d7[92]]= function(_0x682ex3,_0x682ex18,_0x682ex4){var _0x682ex1b=this[_0x17d7[0]][_0x17d7[80]][_0x17d7[26]](_0x682ex18);if(_0x682ex1b!= null&& (_0x682ex3[_0x17d7[81]]|| _0x682ex1b[_0x17d7[78]])){var _0x682ex1c=_0x682ex3[_0x17d7[72]](_0x682ex1b[_0x17d7[193]],null,_0x682ex1b[_0x17d7[194]],_0x682ex4,null,_0x682ex1b[_0x17d7[78]]);if(_0x682ex1b[_0x17d7[195]]&& _0x682ex1b[_0x17d7[196]]()){this[_0x17d7[197]](_0x682ex1c)};this[_0x17d7[198]](_0x682ex1c,_0x682ex1b);return _0x682ex1c};return null};Menus[_0x17d7[5]][_0x17d7[198]]= function(_0x682ex1c,_0x682ex1b){if(_0x682ex1b[_0x17d7[199]]!= null){var _0x682ex1d=_0x682ex1c[_0x17d7[23]][_0x17d7[22]][_0x17d7[22]];var _0x682ex1e=document[_0x17d7[201]](_0x17d7[200]);_0x682ex1e[_0x17d7[21]][_0x17d7[202]]= _0x17d7[203];mxUtils[_0x17d7[204]](_0x682ex1e,_0x682ex1b[_0x17d7[199]]);_0x682ex1d[_0x17d7[205]](_0x682ex1e)}};Menus[_0x17d7[5]][_0x17d7[197]]= function(_0x682ex1c){var _0x682ex1d=_0x682ex1c[_0x17d7[23]][_0x17d7[22]];_0x682ex1d[_0x17d7[21]][_0x17d7[206]]= _0x17d7[207]+ IMAGE_PATH+ _0x17d7[208];_0x682ex1d[_0x17d7[21]][_0x17d7[209]]= _0x17d7[210];_0x682ex1d[_0x17d7[21]][_0x17d7[211]]= _0x17d7[212]};Menus[_0x17d7[5]][_0x17d7[99]]= function(_0x682ex3,_0x682ex13,_0x682ex4){for(var _0x682ex6=0;_0x682ex6< _0x682ex13[_0x17d7[18]];_0x682ex6++){if(_0x682ex13[_0x682ex6]== _0x17d7[95]){_0x682ex3[_0x17d7[24]](_0x682ex4)}else {this[_0x17d7[92]](_0x682ex3,_0x682ex13[_0x682ex6],_0x682ex4)}}};Menus[_0x17d7[5]][_0x17d7[213]]= function(_0x682ex3,_0x682ex1f,_0x682ex20){var _0x682ex2=this[_0x17d7[0]][_0x17d7[7]][_0x17d7[6]];_0x682ex3[_0x17d7[214]]= true;if(_0x682ex2[_0x17d7[215]]()){this[_0x17d7[99]](_0x682ex3,[_0x17d7[169],_0x17d7[170],_0x17d7[95],_0x17d7[173],_0x17d7[95]])}else {this[_0x17d7[99]](_0x682ex3,[_0x17d7[174],_0x17d7[95],_0x17d7[171],_0x17d7[172],_0x17d7[95],_0x17d7[175]]);if(_0x682ex2[_0x17d7[216]]()== 1&& _0x682ex2[_0x17d7[184]]()[_0x17d7[217]](_0x682ex2[_0x17d7[187]]())){this[_0x17d7[99]](_0x682ex3,[_0x17d7[218]])};_0x682ex3[_0x17d7[24]]()};if(_0x682ex2[_0x17d7[216]]()> 0){this[_0x17d7[99]](_0x682ex3,[_0x17d7[141],_0x17d7[142],_0x17d7[95]]);if(_0x682ex2[_0x17d7[184]]()[_0x17d7[217]](_0x682ex2[_0x17d7[187]]())){var _0x682ex21=false;var _0x682ex1f=_0x682ex2[_0x17d7[187]]();if(_0x682ex1f!= null&& _0x682ex2[_0x17d7[184]]()[_0x17d7[217]](_0x682ex1f)){var _0x682ex22=_0x682ex2[_0x17d7[220]][_0x17d7[219]](_0x682ex1f);if(_0x682ex22 instanceof mxEdgeHandler&& _0x682ex22[_0x17d7[221]]!= null&& _0x682ex22[_0x17d7[221]][_0x17d7[18]]> 2){var _0x682ex23=_0x682ex22[_0x17d7[222]]( new mxMouseEvent(_0x682ex20));var _0x682ex24=this[_0x17d7[0]][_0x17d7[80]][_0x17d7[26]](_0x17d7[223]);_0x682ex24[_0x17d7[224]]= _0x682ex22;_0x682ex24[_0x17d7[225]]= _0x682ex23;_0x682ex21= _0x682ex23> 0&& _0x682ex23< _0x682ex22[_0x17d7[221]][_0x17d7[18]]}};this[_0x17d7[99]](_0x682ex3,[_0x17d7[95],(_0x682ex21)?_0x17d7[223]:_0x17d7[226]])}else {if(_0x682ex2[_0x17d7[216]]()> 1){_0x682ex3[_0x17d7[24]]();this[_0x17d7[99]](_0x682ex3,[_0x17d7[143]])}};_0x682ex3[_0x17d7[24]]();if(_0x682ex2[_0x17d7[216]]()== 1){var _0x682ex25=_0x682ex2[_0x17d7[227]](_0x682ex2[_0x17d7[187]]());if(_0x682ex25!= null){this[_0x17d7[99]](_0x682ex3,[_0x17d7[228]])}}}else {this[_0x17d7[99]](_0x682ex3,[_0x17d7[95],_0x17d7[176],_0x17d7[177],_0x17d7[95],_0x17d7[178]])}};Menus[_0x17d7[5]][_0x17d7[229]]= function(_0x682ex26){var _0x682ex27= new Menubar(this[_0x17d7[0]],_0x682ex26);var _0x682ex28=[_0x17d7[156],_0x17d7[168],_0x17d7[146],_0x17d7[91],_0x17d7[93],_0x17d7[140]];for(var _0x682ex6=0;_0x682ex6< _0x682ex28[_0x17d7[18]];_0x682ex6++){_0x682ex27[_0x17d7[181]](mxResources[_0x17d7[26]](_0x682ex28[_0x682ex6]),this[_0x17d7[26]](_0x682ex28[_0x682ex6])[_0x17d7[194]])};return _0x682ex27};function Menubar(_0x682ex1,_0x682ex26){this[_0x17d7[0]]= _0x682ex1;this[_0x17d7[230]]= _0x682ex26;mxEvent[_0x17d7[232]](document,mxUtils[_0x17d7[29]](this,function(_0x682ex20){this[_0x17d7[231]]()}))}Menubar[_0x17d7[5]][_0x17d7[231]]= function(){if(this[_0x17d7[233]]!= null){this[_0x17d7[233]][_0x17d7[231]]()}};Menubar[_0x17d7[5]][_0x17d7[181]]= function(_0x682ex12,_0x682ex2a){var _0x682ex2b=document[_0x17d7[201]](_0x17d7[234]);_0x682ex2b[_0x17d7[237]](_0x17d7[235],_0x17d7[236]);_0x682ex2b[_0x17d7[238]]= _0x17d7[239];mxUtils[_0x17d7[204]](_0x682ex2b,_0x682ex12);this[_0x17d7[240]](_0x682ex2b,_0x682ex2a);this[_0x17d7[230]][_0x17d7[205]](_0x682ex2b);return _0x682ex2b};Menubar[_0x17d7[5]][_0x17d7[240]]= function(_0x682ex2b,_0x682ex2a){if(_0x682ex2a!= null){var _0x682ex2c=true;var _0x682ex2d=mxUtils[_0x17d7[29]](this,function(_0x682ex20){if(_0x682ex2c&& _0x682ex2b[_0x17d7[78]]== null|| _0x682ex2b[_0x17d7[78]]){this[_0x17d7[0]][_0x17d7[7]][_0x17d7[6]][_0x17d7[241]][_0x17d7[231]]();var _0x682ex3= new mxPopupMenu(_0x682ex2a);_0x682ex3[_0x17d7[242]][_0x17d7[238]]+= _0x17d7[243];_0x682ex3[_0x17d7[214]]= true;_0x682ex3[_0x17d7[81]]= true;_0x682ex3[_0x17d7[244]]= true;_0x682ex3[_0x17d7[231]]= mxUtils[_0x17d7[29]](this,function(){mxPopupMenu[_0x17d7[5]][_0x17d7[231]][_0x17d7[245]](_0x682ex3,arguments);_0x682ex3[_0x17d7[246]]();this[_0x17d7[233]]= null;this[_0x17d7[247]]= null});var _0x682ex2e=_0x682ex2b[_0x17d7[248]]+ document[_0x17d7[251]](_0x17d7[250])[_0x17d7[249]]+ 22;var _0x682ex2f=_0x682ex2b[_0x17d7[252]]+ _0x682ex2b[_0x17d7[253]]+ 140;_0x682ex3[_0x17d7[254]](_0x682ex2e,_0x682ex2f,null,_0x682ex20);this[_0x17d7[233]]= _0x682ex3;this[_0x17d7[247]]= _0x682ex2b};_0x682ex2c= true;mxEvent[_0x17d7[255]](_0x682ex20)});mxEvent[_0x17d7[257]](_0x682ex2b,_0x17d7[256],mxUtils[_0x17d7[29]](this,function(_0x682ex20){if(this[_0x17d7[233]]!= null&& this[_0x17d7[247]]!= _0x682ex2b){this[_0x17d7[231]]();_0x682ex2d(_0x682ex20)}}));mxEvent[_0x17d7[257]](_0x682ex2b,_0x17d7[258],mxUtils[_0x17d7[29]](this,function(){_0x682ex2c= this[_0x17d7[247]]!= _0x682ex2b}));mxEvent[_0x17d7[257]](_0x682ex2b,_0x17d7[259],_0x682ex2d)}};function Menu(_0x682ex2a,_0x682exb){mxEventSource[_0x17d7[260]](this);this[_0x17d7[194]]= _0x682ex2a;this[_0x17d7[78]]= (_0x682exb!= null)?_0x682exb:true}mxUtils[_0x17d7[261]](Menu,mxEventSource);Menu[_0x17d7[5]][_0x17d7[262]]= function(_0x682ex19){if(this[_0x17d7[78]]!= _0x682ex19){this[_0x17d7[78]]= _0x682ex19;this[_0x17d7[264]]( new mxEventObject(_0x17d7[263]))}};Menu[_0x17d7[5]][_0x17d7[182]]= function(_0x682ex3,_0x682ex4){this[_0x17d7[194]](_0x682ex3,_0x682ex4)} \ 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 5b0666e..440190f 100644 --- a/public/assets/plugins/jscripty/js/Shapes.js +++ b/public/assets/plugins/jscripty/js/Shapes.js @@ -1 +1 @@ -var _0x7734=["\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x73\x69\x7A\x65","\x72\x65\x64\x72\x61\x77\x50\x61\x74\x68","\x73\x74\x79\x6C\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x6D\x69\x6E","\x6D\x6F\x76\x65\x54\x6F","\x6C\x69\x6E\x65\x54\x6F","\x65\x6E\x64","\x63\x6C\x6F\x73\x65","\x63\x75\x62\x65","\x64\x65\x66\x61\x75\x6C\x74\x53\x68\x61\x70\x65\x73","\x6E\x6F\x74\x65","\x74\x61\x62\x57\x69\x64\x74\x68","\x74\x61\x62\x48\x65\x69\x67\x68\x74","\x74\x61\x62\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x72\x69\x67\x68\x74","\x6C\x65\x66\x74","\x66\x6F\x6C\x64\x65\x72","\x63\x61\x72\x64","\x71\x75\x61\x64\x54\x6F","\x74\x61\x70\x65","\x73\x74\x65\x70","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x69\x73\x48\x74\x6D\x6C\x41\x6C\x6C\x6F\x77\x65\x64","\x70\x61\x69\x6E\x74\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x62\x65\x67\x69\x6E","\x73\x74\x72\x6F\x6B\x65","\x61\x70\x70\x6C\x79","\x70\x6C\x75\x73","\x64\x6F\x75\x62\x6C\x65","\x73\x74\x72\x6F\x6B\x65\x77\x69\x64\x74\x68","\x6D\x61\x78","\x70\x61\x69\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x73\x65\x74\x44\x61\x73\x68\x65\x64","\x73\x79\x6D\x62\x6F\x6C","\x41\x6C\x69\x67\x6E","\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x57\x69\x64\x74\x68","\x48\x65\x69\x67\x68\x74","\x53\x70\x61\x63\x69\x6E\x67","\x41\x72\x63\x53\x70\x61\x63\x69\x6E\x67","\x67\x65\x74\x41\x72\x63\x53\x69\x7A\x65","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x73\x61\x76\x65","\x70\x61\x69\x6E\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x72\x65\x73\x74\x6F\x72\x65","\x65\x78\x74","\x6D\x65\x73\x73\x61\x67\x65","\x61\x64\x64\x50\x69\x70\x65","\x63\x75\x72\x76\x65\x54\x6F","\x75\x6D\x6C\x41\x63\x74\x6F\x72","\x6C\x6F\x6C\x6C\x69\x70\x6F\x70","\x6A\x65\x74\x74\x79\x57\x69\x64\x74\x68","\x6A\x65\x74\x74\x79\x48\x65\x69\x67\x68\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x6F\x75\x74\x65\x72\x53\x74\x72\x6F\x6B\x65","\x65\x6C\x6C\x69\x70\x73\x65","\x66\x69\x6C\x6C\x41\x6E\x64\x53\x74\x72\x6F\x6B\x65","\x73\x65\x74\x53\x68\x61\x64\x6F\x77","\x65\x6E\x64\x53\x74\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x74\x61\x74\x65","\x69\x6E\x69\x74\x53\x68\x61\x70\x65\x73","\x78","\x79","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x73\x68\x61\x70\x65\x73","\x70\x61\x69\x6E\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x6C\x65\x6E\x67\x74\x68","\x73\x71\x72\x74","\x6C\x69\x6E\x6B","\x64\x61\x73\x68","\x61\x64\x64\x4D\x61\x72\x6B\x65\x72","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x75\x73\x65\x47\x72\x69\x64\x46\x6F\x72\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x69\x6E\x69\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x74\x61\x74\x65","\x67\x72\x61\x70\x68","\x76\x69\x65\x77","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x73\x72\x63","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x44\x49\x41\x4C\x45\x43\x54\x5F\x56\x4D\x4C","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x74\x56\x69\x65\x77","\x63\x75\x72\x73\x6F\x72","\x6E\x6F\x64\x65","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x43\x75\x72\x73\x6F\x72","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x64\x65\x66\x61\x75\x6C\x74","\x72\x65\x64\x72\x61\x77","\x62\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x42\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x6F\x75\x72\x63\x65","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x50\x6F\x69\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64\x45\x76\x65\x6E\x74","\x73\x63\x61\x6C\x65","\x73\x6E\x61\x70","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65","\x6D\x6F\x76\x65\x53\x69\x7A\x65\x72\x54\x6F","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x55\x70","\x61\x70\x70\x6C\x79\x53\x74\x79\x6C\x65","\x72\x65\x73\x65\x74","\x67\x65\x74\x53\x68\x61\x70\x65\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x73\x68\x61\x70\x65","\x74\x6F\x52\x61\x64\x69\x61\x6E\x73","\x63\x6F\x73","\x73\x69\x6E","\x69\x73\x50\x61\x69\x6E\x74\x42\x6F\x75\x6E\x64\x73\x49\x6E\x76\x65\x72\x74\x65\x64","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x50\x6F\x69\x6E\x74","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x58","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x59","\x67\x65\x74\x52\x6F\x74\x61\x74\x65\x64\x50\x6F\x69\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65\x55\x6E\x72\x6F\x74\x61\x74\x65\x64","\x72\x6F\x75\x6E\x64","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x63\x65\x6C\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x69\x7A\x65","\x64\x65\x66\x61\x75\x6C\x74\x56\x61\x6C\x75\x65","\x73\x63\x61\x6C\x65\x46\x61\x63\x74\x6F\x72","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x41\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x73\x74\x65\x6E\x63\x69\x6C","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73"];(function(){function _0x75c1x1(){}_0x75c1x1[_0x7734[0]]= new mxCylinder();_0x75c1x1[_0x7734[0]][_0x7734[1]]= _0x75c1x1;_0x75c1x1[_0x7734[0]][_0x7734[2]]= 20;_0x75c1x1[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x8=Math[_0x7734[6]](_0x75c1x5,Math[_0x7734[6]](_0x75c1x6,mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[2],this[_0x7734[2]])));if(_0x75c1x7){_0x75c1x2[_0x7734[7]](_0x75c1x8,_0x75c1x6);_0x75c1x2[_0x7734[8]](_0x75c1x8,_0x75c1x8);_0x75c1x2[_0x7734[8]](0,0);_0x75c1x2[_0x7734[7]](_0x75c1x8,_0x75c1x8);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x8);_0x75c1x2[_0x7734[9]]()}else {_0x75c1x2[_0x7734[7]](0,0);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1x8,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x8);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[8]](_0x75c1x8,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x6- _0x75c1x8);_0x75c1x2[_0x7734[8]](0,0);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[11]]= _0x75c1x1;function _0x75c1x9(){}_0x75c1x9[_0x7734[0]]= new mxCylinder();_0x75c1x9[_0x7734[0]][_0x7734[1]]= _0x75c1x9;_0x75c1x9[_0x7734[0]][_0x7734[2]]= 30;_0x75c1x9[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x8=Math[_0x7734[6]](_0x75c1x5,Math[_0x7734[6]](_0x75c1x6,mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[2],this[_0x7734[2]])));if(_0x75c1x7){_0x75c1x2[_0x7734[7]](_0x75c1x5- _0x75c1x8,0);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1x8,_0x75c1x8);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x8);_0x75c1x2[_0x7734[9]]()}else {_0x75c1x2[_0x7734[7]](0,0);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1x8,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x8);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,0);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[13]]= _0x75c1x9;function _0x75c1xa(){}_0x75c1xa[_0x7734[0]]= new mxCylinder();_0x75c1xa[_0x7734[0]][_0x7734[1]]= _0x75c1xa;_0x75c1xa[_0x7734[0]][_0x7734[14]]= 60;_0x75c1xa[_0x7734[0]][_0x7734[15]]= 20;_0x75c1xa[_0x7734[0]][_0x7734[16]]= _0x7734[17];_0x75c1xa[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1xb=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[14],this[_0x7734[14]]);var _0x75c1xc=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[15],this[_0x7734[15]]);var _0x75c1xd=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[16],this[_0x7734[16]]);var _0x75c1xe=Math[_0x7734[6]](_0x75c1x5,_0x75c1xb);var _0x75c1xf=Math[_0x7734[6]](_0x75c1x6,_0x75c1xc);if(_0x75c1x7){if(_0x75c1xd== _0x7734[18]){_0x75c1x2[_0x7734[7]](0,_0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1xe,_0x75c1xf)}else {_0x75c1x2[_0x7734[7]](_0x75c1x5- _0x75c1xe,_0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1xf)};_0x75c1x2[_0x7734[9]]()}else {if(_0x75c1xd== _0x7734[18]){_0x75c1x2[_0x7734[7]](0,0);_0x75c1x2[_0x7734[8]](_0x75c1xe,0);_0x75c1x2[_0x7734[8]](_0x75c1xe,_0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1xf)}else {_0x75c1x2[_0x7734[7]](0,_0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1xe,_0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1xe,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,0)};_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1xf);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[19]]= _0x75c1xa;function _0x75c1x10(){}_0x75c1x10[_0x7734[0]]= new mxCylinder();_0x75c1x10[_0x7734[0]][_0x7734[1]]= _0x75c1x10;_0x75c1x10[_0x7734[0]][_0x7734[2]]= 30;_0x75c1x10[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x8=Math[_0x7734[6]](_0x75c1x5,Math[_0x7734[6]](_0x75c1x6,mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[2],this[_0x7734[2]])));if(!_0x75c1x7){_0x75c1x2[_0x7734[7]](_0x75c1x8,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x8);_0x75c1x2[_0x7734[8]](_0x75c1x8,0);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[20]]= _0x75c1x10;function _0x75c1x11(){}_0x75c1x11[_0x7734[0]]= new mxCylinder();_0x75c1x11[_0x7734[0]][_0x7734[1]]= _0x75c1x11;_0x75c1x11[_0x7734[0]][_0x7734[2]]= 0.4;_0x75c1x11[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x8=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[2],this[_0x7734[2]]);var _0x75c1xf=_0x75c1x6* _0x75c1x8;var _0x75c1x12=1.4;if(!_0x75c1x7){_0x75c1x2[_0x7734[7]](0,_0x75c1xf/ 2);_0x75c1x2[_0x7734[21]](_0x75c1x5/ 4,_0x75c1xf* _0x75c1x12,_0x75c1x5/ 2,_0x75c1xf/ 2);_0x75c1x2[_0x7734[21]](_0x75c1x5* 3/ 4,_0x75c1xf* (1- _0x75c1x12),_0x75c1x5,_0x75c1xf/ 2);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6- _0x75c1xf/ 2);_0x75c1x2[_0x7734[21]](_0x75c1x5* 3/ 4,_0x75c1x6- _0x75c1xf* _0x75c1x12,_0x75c1x5/ 2,_0x75c1x6- _0x75c1xf/ 2);_0x75c1x2[_0x7734[21]](_0x75c1x5/ 4,_0x75c1x6- _0x75c1xf* (1- _0x75c1x12),0,_0x75c1x6- _0x75c1xf/ 2);_0x75c1x2[_0x7734[8]](0,_0x75c1xf/ 2);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[22]]= _0x75c1x11;function _0x75c1x13(){}_0x75c1x13[_0x7734[0]]= new mxCylinder();_0x75c1x13[_0x7734[0]][_0x7734[1]]= _0x75c1x13;_0x75c1x13[_0x7734[0]][_0x7734[2]]= 0.2;_0x75c1x13[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x8=_0x75c1x5* mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[2],this[_0x7734[2]]);if(!_0x75c1x7){_0x75c1x2[_0x7734[7]](0,0);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1x8,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6/ 2);_0x75c1x2[_0x7734[8]](_0x75c1x5- _0x75c1x8,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x6);_0x75c1x2[_0x7734[8]](_0x75c1x8,_0x75c1x6/ 2);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[23]]= _0x75c1x13;function _0x75c1x14(){mxRectangleShape[_0x7734[24]](this)}mxUtils[_0x7734[25]](_0x75c1x14,mxRectangleShape);_0x75c1x14[_0x7734[0]][_0x7734[26]]= function(){return false};_0x75c1x14[_0x7734[0]][_0x7734[27]]= function(_0x75c1x15,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6){var _0x75c1x16=Math[_0x7734[6]](_0x75c1x5/ 5,_0x75c1x6/ 5)+ 1;_0x75c1x15[_0x7734[28]]();_0x75c1x15[_0x7734[7]](_0x75c1x3+ _0x75c1x5/ 2,_0x75c1x4+ _0x75c1x16);_0x75c1x15[_0x7734[8]](_0x75c1x3+ _0x75c1x5/ 2,_0x75c1x4+ _0x75c1x6- _0x75c1x16);_0x75c1x15[_0x7734[7]](_0x75c1x3+ _0x75c1x16,_0x75c1x4+ _0x75c1x6/ 2);_0x75c1x15[_0x7734[8]](_0x75c1x3+ _0x75c1x5- _0x75c1x16,_0x75c1x4+ _0x75c1x6/ 2);_0x75c1x15[_0x7734[9]]();_0x75c1x15[_0x7734[29]]();mxRectangleShape[_0x7734[0]][_0x7734[27]][_0x7734[30]](this,arguments)};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[31]]= _0x75c1x14;function _0x75c1x17(){mxRectangleShape[_0x7734[24]](this)}mxUtils[_0x7734[25]](_0x75c1x17,mxRectangleShape);_0x75c1x17[_0x7734[0]][_0x7734[26]]= function(){return false};_0x75c1x17[_0x7734[0]][_0x7734[27]]= function(_0x75c1x15,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6){if(this[_0x7734[4]]!= null){if(this[_0x7734[4]][_0x7734[32]]== 1){var _0x75c1x18=Math[_0x7734[34]](2,this[_0x7734[33]]+ 1);mxRectangleShape[_0x7734[0]][_0x7734[35]][_0x7734[24]](this,_0x75c1x15,_0x75c1x3+ _0x75c1x18,_0x75c1x4+ _0x75c1x18,_0x75c1x5- 2* _0x75c1x18,_0x75c1x6- 2* _0x75c1x18);mxRectangleShape[_0x7734[0]][_0x7734[27]][_0x7734[30]](this,arguments);_0x75c1x3+= _0x75c1x18;_0x75c1x4+= _0x75c1x18;_0x75c1x5-= 2* _0x75c1x18;_0x75c1x6-= 2* _0x75c1x18};_0x75c1x15[_0x7734[36]](false);var _0x75c1x19=0;var _0x75c1x1a=null;do{_0x75c1x1a= mxCellRenderer[_0x7734[0]][_0x7734[12]][this[_0x7734[4]][_0x7734[37]+ _0x75c1x19]];if(_0x75c1x1a!= null){var _0x75c1x1b=this[_0x7734[4]][_0x7734[37]+ _0x75c1x19+ _0x7734[38]];var _0x75c1x1c=this[_0x7734[4]][_0x7734[37]+ _0x75c1x19+ _0x7734[39]];var _0x75c1x1d=this[_0x7734[4]][_0x7734[37]+ _0x75c1x19+ _0x7734[40]];var _0x75c1x1e=this[_0x7734[4]][_0x7734[37]+ _0x75c1x19+ _0x7734[41]];var _0x75c1x1f=this[_0x7734[4]][_0x7734[37]+ _0x75c1x19+ _0x7734[42]]|| 0;var _0x75c1x20=this[_0x7734[4]][_0x7734[37]+ _0x75c1x19+ _0x7734[43]];if(_0x75c1x20!= null){_0x75c1x1f+= this[_0x7734[44]](_0x75c1x5+ this[_0x7734[33]],_0x75c1x6+ this[_0x7734[33]])* _0x75c1x20};var _0x75c1x21=_0x75c1x3;var _0x75c1x22=_0x75c1x4;if(_0x75c1x1b== mxConstants[_0x7734[45]]){_0x75c1x21+= (_0x75c1x5- _0x75c1x1d)/ 2}else {if(_0x75c1x1b== mxConstants[_0x7734[46]]){_0x75c1x21+= _0x75c1x5- _0x75c1x1d- _0x75c1x1f}else {_0x75c1x21+= _0x75c1x1f}};if(_0x75c1x1c== mxConstants[_0x7734[47]]){_0x75c1x22+= (_0x75c1x6- _0x75c1x1e)/ 2}else {if(_0x75c1x1c== mxConstants[_0x7734[48]]){_0x75c1x22+= _0x75c1x6- _0x75c1x1e- _0x75c1x1f}else {_0x75c1x22+= _0x75c1x1f}};_0x75c1x15[_0x7734[49]]();var _0x75c1x23= new _0x75c1x1a();_0x75c1x23[_0x7734[4]]= this[_0x7734[4]];_0x75c1x1a[_0x7734[0]][_0x7734[50]][_0x7734[24]](_0x75c1x23,_0x75c1x15,_0x75c1x21,_0x75c1x22,_0x75c1x1d,_0x75c1x1e);_0x75c1x15[_0x7734[51]]()};_0x75c1x19++}while(_0x75c1x1a!= null);}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[52]]= _0x75c1x17;function _0x75c1x24(){}_0x75c1x24[_0x7734[0]]= new mxCylinder();_0x75c1x24[_0x7734[0]][_0x7734[1]]= _0x75c1x24;_0x75c1x24[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){if(_0x75c1x7){_0x75c1x2[_0x7734[7]](0,0);_0x75c1x2[_0x7734[8]](_0x75c1x5/ 2,_0x75c1x6/ 2);_0x75c1x2[_0x7734[8]](_0x75c1x5,0);_0x75c1x2[_0x7734[9]]()}else {_0x75c1x2[_0x7734[7]](0,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[8]](0,_0x75c1x6);_0x75c1x2[_0x7734[10]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[53]]= _0x75c1x24;function _0x75c1x25(){}_0x75c1x25[_0x7734[0]]= new mxCylinder();_0x75c1x25[_0x7734[0]][_0x7734[1]]= _0x75c1x25;_0x75c1x25[_0x7734[0]][_0x7734[54]]= true;_0x75c1x25[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x1d=_0x75c1x5/ 3;var _0x75c1x1e=_0x75c1x6/ 4;if(!_0x75c1x7){_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,_0x75c1x1e);_0x75c1x2[_0x7734[55]](_0x75c1x5/ 2- _0x75c1x1d,_0x75c1x1e,_0x75c1x5/ 2- _0x75c1x1d,0,_0x75c1x5/ 2,0);_0x75c1x2[_0x7734[55]](_0x75c1x5/ 2+ _0x75c1x1d,0,_0x75c1x5/ 2+ _0x75c1x1d,_0x75c1x1e,_0x75c1x5/ 2,_0x75c1x1e);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,_0x75c1x1e);_0x75c1x2[_0x7734[8]](_0x75c1x5/ 2,2* _0x75c1x6/ 3);_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,_0x75c1x6/ 3);_0x75c1x2[_0x7734[8]](0,_0x75c1x6/ 3);_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,_0x75c1x6/ 3);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6/ 3);_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,2* _0x75c1x6/ 3);_0x75c1x2[_0x7734[8]](0,_0x75c1x6);_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,2* _0x75c1x6/ 3);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[56]]= _0x75c1x25;function _0x75c1x26(){}_0x75c1x26[_0x7734[0]]= new mxCylinder();_0x75c1x26[_0x7734[0]][_0x7734[1]]= _0x75c1x26;_0x75c1x26[_0x7734[0]][_0x7734[2]]= 10;_0x75c1x26[_0x7734[0]][_0x7734[54]]= true;_0x75c1x26[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1x27=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[2],this[_0x7734[2]]);var _0x75c1x1d=_0x75c1x27* 2/ 3;var _0x75c1x1e=_0x75c1x27;if(!_0x75c1x7){_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,_0x75c1x1e);_0x75c1x2[_0x7734[55]](_0x75c1x5/ 2- _0x75c1x1d,_0x75c1x1e,_0x75c1x5/ 2- _0x75c1x1d,0,_0x75c1x5/ 2,0);_0x75c1x2[_0x7734[55]](_0x75c1x5/ 2+ _0x75c1x1d,0,_0x75c1x5/ 2+ _0x75c1x1d,_0x75c1x1e,_0x75c1x5/ 2,_0x75c1x1e);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[7]](_0x75c1x5/ 2,_0x75c1x1e);_0x75c1x2[_0x7734[8]](_0x75c1x5/ 2,_0x75c1x6);_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[57]]= _0x75c1x26;function _0x75c1x28(){}_0x75c1x28[_0x7734[0]]= new mxCylinder();_0x75c1x28[_0x7734[0]][_0x7734[1]]= _0x75c1x28;_0x75c1x28[_0x7734[0]][_0x7734[58]]= 32;_0x75c1x28[_0x7734[0]][_0x7734[59]]= 12;_0x75c1x28[_0x7734[0]][_0x7734[3]]= function(_0x75c1x2,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6,_0x75c1x7){var _0x75c1xe=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[58],this[_0x7734[58]]);var _0x75c1xf=mxUtils[_0x7734[5]](this[_0x7734[4]],_0x7734[59],this[_0x7734[59]]);var _0x75c1x29=_0x75c1xe/ 2;var _0x75c1x2a=_0x75c1x29+ _0x75c1xe/ 2;var _0x75c1x2b=0.3* _0x75c1x6- _0x75c1xf/ 2;var _0x75c1x2c=0.7* _0x75c1x6- _0x75c1xf/ 2;if(_0x75c1x7){_0x75c1x2[_0x7734[7]](_0x75c1x29,_0x75c1x2b);_0x75c1x2[_0x7734[8]](_0x75c1x2a,_0x75c1x2b);_0x75c1x2[_0x7734[8]](_0x75c1x2a,_0x75c1x2b+ _0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x2b+ _0x75c1xf);_0x75c1x2[_0x7734[7]](_0x75c1x29,_0x75c1x2c);_0x75c1x2[_0x7734[8]](_0x75c1x2a,_0x75c1x2c);_0x75c1x2[_0x7734[8]](_0x75c1x2a,_0x75c1x2c+ _0x75c1xf);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x2c+ _0x75c1xf);_0x75c1x2[_0x7734[9]]()}else {_0x75c1x2[_0x7734[7]](_0x75c1x29,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,0);_0x75c1x2[_0x7734[8]](_0x75c1x5,_0x75c1x6);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x6);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x2c+ _0x75c1xf);_0x75c1x2[_0x7734[8]](0,_0x75c1x2c+ _0x75c1xf);_0x75c1x2[_0x7734[8]](0,_0x75c1x2c);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x2c);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x2b+ _0x75c1xf);_0x75c1x2[_0x7734[8]](0,_0x75c1x2b+ _0x75c1xf);_0x75c1x2[_0x7734[8]](0,_0x75c1x2b);_0x75c1x2[_0x7734[8]](_0x75c1x29,_0x75c1x2b);_0x75c1x2[_0x7734[10]]();_0x75c1x2[_0x7734[9]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[60]]= _0x75c1x28;function _0x75c1x2d(){}_0x75c1x2d[_0x7734[0]]= new mxDoubleEllipse();_0x75c1x2d[_0x7734[0]][_0x7734[1]]= _0x75c1x2d;_0x75c1x2d[_0x7734[0]][_0x7734[61]]= true;_0x75c1x2d[_0x7734[0]][_0x7734[50]]= function(_0x75c1x15,_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6){var _0x75c1x18=Math[_0x7734[6]](4,Math[_0x7734[6]](_0x75c1x5/ 5,_0x75c1x6/ 5));if(_0x75c1x5> 0&& _0x75c1x6> 0){_0x75c1x15[_0x7734[62]](_0x75c1x3+ _0x75c1x18,_0x75c1x4+ _0x75c1x18,_0x75c1x5- 2* _0x75c1x18,_0x75c1x6- 2* _0x75c1x18);_0x75c1x15[_0x7734[63]]()};_0x75c1x15[_0x7734[64]](false);if(this[_0x7734[61]]){_0x75c1x15[_0x7734[62]](_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6);_0x75c1x15[_0x7734[29]]()}};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[65]]= _0x75c1x2d;function _0x75c1x2e(){}_0x75c1x2e[_0x7734[0]]= new _0x75c1x2d();_0x75c1x2e[_0x7734[0]][_0x7734[1]]= _0x75c1x2e;_0x75c1x2e[_0x7734[0]][_0x7734[61]]= false;mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[66]]= _0x75c1x2e;var _0x75c1x2f=mxImageExport[_0x7734[0]][_0x7734[67]];mxImageExport[_0x7734[0]][_0x7734[67]]= function(){_0x75c1x2f[_0x7734[30]](this,arguments);function _0x75c1x30(_0x75c1x31){return {drawShape:function(_0x75c1x32,_0x75c1x33,_0x75c1x34,_0x75c1x35){var _0x75c1x3=_0x75c1x34[_0x7734[68]];var _0x75c1x4=_0x75c1x34[_0x7734[69]];var _0x75c1x5=_0x75c1x34[_0x7734[70]];var _0x75c1x6=_0x75c1x34[_0x7734[71]];if(_0x75c1x35){var _0x75c1x18=Math[_0x7734[6]](4,Math[_0x7734[6]](_0x75c1x5/ 5,_0x75c1x6/ 5));_0x75c1x3+= _0x75c1x18;_0x75c1x4+= _0x75c1x18;_0x75c1x5-= 2* _0x75c1x18;_0x75c1x6-= 2* _0x75c1x18;if(_0x75c1x5> 0&& _0x75c1x6> 0){_0x75c1x32[_0x7734[62]](_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6)};return true}else {_0x75c1x32[_0x7734[63]]();if(_0x75c1x31){_0x75c1x32[_0x7734[62]](_0x75c1x3,_0x75c1x4,_0x75c1x5,_0x75c1x6);_0x75c1x32[_0x7734[29]]()}}}}}this[_0x7734[72]][_0x7734[65]]= _0x75c1x30(true);this[_0x7734[72]][_0x7734[66]]= _0x75c1x30(false)};function _0x75c1x36(){mxArrow[_0x7734[24]](this)}mxUtils[_0x7734[25]](_0x75c1x36,mxArrow);_0x75c1x36[_0x7734[0]][_0x7734[73]]= function(_0x75c1x15,_0x75c1x37){var _0x75c1x1d=10;var _0x75c1x38=_0x75c1x37[0];var _0x75c1x39=_0x75c1x37[_0x75c1x37[_0x7734[74]]- 1];var _0x75c1xe=_0x75c1x39[_0x7734[68]]- _0x75c1x38[_0x7734[68]];var _0x75c1xf=_0x75c1x39[_0x7734[69]]- _0x75c1x38[_0x7734[69]];var _0x75c1x3a=Math[_0x7734[75]](_0x75c1xe* _0x75c1xe+ _0x75c1xf* _0x75c1xf);var _0x75c1x3b=_0x75c1x3a;var _0x75c1x3c=_0x75c1xe/ _0x75c1x3a;var _0x75c1x3d=_0x75c1xf/ _0x75c1x3a;var _0x75c1x3e=_0x75c1x3b* _0x75c1x3c;var _0x75c1x3f=_0x75c1x3b* _0x75c1x3d;var _0x75c1x40=_0x75c1x1d* _0x75c1x3d/ 3;var _0x75c1x41=-_0x75c1x1d* _0x75c1x3c/ 3;var _0x75c1x42=_0x75c1x38[_0x7734[68]]- _0x75c1x40/ 2;var _0x75c1x43=_0x75c1x38[_0x7734[69]]- _0x75c1x41/ 2;var _0x75c1x44=_0x75c1x42+ _0x75c1x40;var _0x75c1x45=_0x75c1x43+ _0x75c1x41;var _0x75c1x46=_0x75c1x44+ _0x75c1x3e;var _0x75c1x47=_0x75c1x45+ _0x75c1x3f;var _0x75c1x48=_0x75c1x46+ _0x75c1x40;var _0x75c1x49=_0x75c1x47+ _0x75c1x41;var _0x75c1x4a=_0x75c1x48- 3* _0x75c1x40;var _0x75c1x4b=_0x75c1x49- 3* _0x75c1x41;_0x75c1x15[_0x7734[28]]();_0x75c1x15[_0x7734[7]](_0x75c1x44,_0x75c1x45);_0x75c1x15[_0x7734[8]](_0x75c1x46,_0x75c1x47);_0x75c1x15[_0x7734[7]](_0x75c1x4a+ _0x75c1x40,_0x75c1x4b+ _0x75c1x41);_0x75c1x15[_0x7734[8]](_0x75c1x42,_0x75c1x43);_0x75c1x15[_0x7734[29]]()};mxCellRenderer[_0x7734[0]][_0x7734[12]][_0x7734[76]]= _0x75c1x36;mxMarker[_0x7734[78]](_0x7734[77],function(_0x75c1x32,_0x75c1x1a,_0x75c1x4c,_0x75c1x39,_0x75c1x4d,_0x75c1x4e,_0x75c1x4f,_0x75c1x50,_0x75c1x51,_0x75c1x52){var _0x75c1x3c=_0x75c1x4d* (_0x75c1x4f+ _0x75c1x51+ 1);var _0x75c1x3d=_0x75c1x4e* (_0x75c1x4f+ _0x75c1x51+ 1);return function(){_0x75c1x32[_0x7734[28]]();_0x75c1x32[_0x7734[7]](_0x75c1x39[_0x7734[68]]- _0x75c1x3c/ 2- _0x75c1x3d/ 2,_0x75c1x39[_0x7734[69]]- _0x75c1x3d/ 2+ _0x75c1x3c/ 2);_0x75c1x32[_0x7734[8]](_0x75c1x39[_0x7734[68]]+ _0x75c1x3d/ 2- 3* _0x75c1x3c/ 2,_0x75c1x39[_0x7734[69]]- 3* _0x75c1x3d/ 2- _0x75c1x3c/ 2);_0x75c1x32[_0x7734[29]]()}});var _0x75c1x53=-99;if( typeof (mxVertexHandler)!= _0x7734[79]){function _0x75c1x54(_0x75c1x33){mxVertexHandler[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x54,mxVertexHandler);_0x75c1x54[_0x7734[0]][_0x7734[80]]= false;_0x75c1x54[_0x7734[0]][_0x7734[81]]= function(){this[_0x7734[82]]= mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],mxConstants.STYLE_HORIZONTAL,true);var _0x75c1x55=this[_0x7734[83]][_0x7734[85]][_0x7734[84]];if(this[_0x7734[86]]!= null){var _0x75c1x34= new mxRectangle(0,0,this[_0x7734[86]][_0x7734[70]],this[_0x7734[86]][_0x7734[71]]);this[_0x7734[87]]= new mxImageShape(_0x75c1x34,this[_0x7734[86]][_0x7734[88]])}else {var _0x75c1x4f=10;var _0x75c1x34= new mxRectangle(0,0,_0x75c1x4f,_0x75c1x4f);this[_0x7734[87]]= new mxRhombus(_0x75c1x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0x7734[87]][_0x7734[89]]= (_0x75c1x55[_0x7734[89]]!= mxConstants[_0x7734[90]])?mxConstants[_0x7734[91]]:mxConstants[_0x7734[90]];this[_0x7734[87]][_0x7734[81]](_0x75c1x55[_0x7734[93]]()[_0x7734[92]]());this[_0x7734[87]][_0x7734[95]][_0x7734[4]][_0x7734[94]]= this[_0x7734[96]]();mxEvent[_0x7734[97]](this[_0x7734[87]][_0x7734[95]],_0x75c1x55,this[_0x7734[83]]);mxVertexHandler[_0x7734[0]][_0x7734[81]][_0x7734[30]](this,arguments)};_0x75c1x54[_0x7734[0]][_0x7734[96]]= function(){return _0x7734[98]};_0x75c1x54[_0x7734[0]][_0x7734[99]]= function(){mxVertexHandler[_0x7734[0]][_0x7734[99]][_0x7734[30]](this,arguments);var _0x75c1x4f=this[_0x7734[87]][_0x7734[100]][_0x7734[70]];this[_0x7734[87]][_0x7734[100]]= this[_0x7734[101]](_0x75c1x4f);this[_0x7734[87]][_0x7734[99]]()};_0x75c1x54[_0x7734[0]][_0x7734[102]]= function(){mxVertexHandler[_0x7734[0]][_0x7734[102]][_0x7734[30]](this,arguments);if(this[_0x7734[87]]!= null){this[_0x7734[87]][_0x7734[102]]();this[_0x7734[87]]= null}};_0x75c1x54[_0x7734[0]][_0x7734[103]]= function(_0x75c1x56){if(_0x75c1x56[_0x7734[104]](this[_0x7734[87]])){return _0x75c1x53};return mxVertexHandler[_0x7734[0]][_0x7734[103]][_0x7734[30]](this,arguments)};_0x75c1x54[_0x7734[0]][_0x7734[105]]= function(_0x75c1x57,_0x75c1x56){if(!_0x75c1x56[_0x7734[106]]()&& this[_0x7734[107]]== _0x75c1x53){var _0x75c1x58= new mxPoint(_0x75c1x56[_0x7734[108]](),_0x75c1x56[_0x7734[109]]());this[_0x7734[110]](_0x75c1x58);var _0x75c1x59=this[_0x7734[84]][_0x7734[112]](_0x75c1x56[_0x7734[111]]());var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];if(_0x75c1x59&& this[_0x7734[80]]){_0x75c1x58[_0x7734[68]]= this[_0x7734[84]][_0x7734[114]](_0x75c1x58[_0x7734[68]]/ _0x75c1x5a)* _0x75c1x5a;_0x75c1x58[_0x7734[69]]= this[_0x7734[84]][_0x7734[114]](_0x75c1x58[_0x7734[69]]/ _0x75c1x5a)* _0x75c1x5a};this[_0x7734[115]](_0x75c1x58);this[_0x7734[116]](this[_0x7734[87]],_0x75c1x58[_0x7734[68]],_0x75c1x58[_0x7734[69]]);this[_0x7734[83]][_0x7734[85]][_0x7734[84]][_0x7734[117]][_0x7734[99]](this[_0x7734[83]],true);_0x75c1x56[_0x7734[118]]()}else {mxVertexHandler[_0x7734[0]][_0x7734[105]][_0x7734[30]](this,arguments)}};_0x75c1x54[_0x7734[0]][_0x7734[119]]= function(_0x75c1x57,_0x75c1x56){if(!_0x75c1x56[_0x7734[106]]()&& this[_0x7734[107]]== _0x75c1x53){this[_0x7734[120]]();this[_0x7734[121]]();_0x75c1x56[_0x7734[118]]()}else {mxVertexHandler[_0x7734[0]][_0x7734[119]][_0x7734[30]](this,arguments)}};_0x75c1x54[_0x7734[0]][_0x7734[101]]= function(_0x75c1x4f){var _0x75c1x5b=this[_0x7734[83]][_0x7734[123]][_0x7734[122]]();var _0x75c1x5c=mxUtils[_0x7734[124]](_0x75c1x5b);var _0x75c1x5d=Math[_0x7734[125]](_0x75c1x5c);var _0x75c1x5e=Math[_0x7734[126]](_0x75c1x5c);var _0x75c1x34= new mxRectangle(this[_0x7734[83]][_0x7734[68]],this[_0x7734[83]][_0x7734[69]],this[_0x7734[83]][_0x7734[70]],this[_0x7734[83]][_0x7734[71]]);if(this[_0x7734[83]][_0x7734[123]][_0x7734[127]]()){var _0x75c1x5f=(_0x75c1x34[_0x7734[70]]- _0x75c1x34[_0x7734[71]])/ 2;_0x75c1x34[_0x7734[68]]+= _0x75c1x5f;_0x75c1x34[_0x7734[69]]-= _0x75c1x5f;var _0x75c1x23=_0x75c1x34[_0x7734[70]];_0x75c1x34[_0x7734[70]]= _0x75c1x34[_0x7734[71]];_0x75c1x34[_0x7734[71]]= _0x75c1x23};var _0x75c1x60=this[_0x7734[128]](_0x75c1x34);if(this[_0x7734[83]][_0x7734[123]][_0x7734[129]]){_0x75c1x60[_0x7734[68]]= 2* _0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1x60[_0x7734[68]]};if(this[_0x7734[83]][_0x7734[123]][_0x7734[130]]){_0x75c1x60[_0x7734[69]]= 2* _0x75c1x34[_0x7734[69]]+ _0x75c1x34[_0x7734[71]]- _0x75c1x60[_0x7734[69]]};_0x75c1x60= mxUtils[_0x7734[133]](_0x75c1x60,_0x75c1x5d,_0x75c1x5e, new mxPoint(this[_0x7734[83]][_0x7734[131]](),this[_0x7734[83]][_0x7734[132]]()));return new mxRectangle(_0x75c1x60[_0x7734[68]]- _0x75c1x4f/ 2,_0x75c1x60[_0x7734[69]]- _0x75c1x4f/ 2,_0x75c1x4f,_0x75c1x4f)};_0x75c1x54[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){return null};_0x75c1x54[_0x7734[0]][_0x7734[115]]= function(_0x75c1x58){};_0x75c1x54[_0x7734[0]][_0x7734[110]]= function(_0x75c1x58){_0x75c1x58[_0x7734[68]]= Math[_0x7734[34]](this[_0x7734[83]][_0x7734[68]],Math[_0x7734[6]](this[_0x7734[83]][_0x7734[68]]+ this[_0x7734[83]][_0x7734[70]],_0x75c1x58[_0x7734[68]]));_0x75c1x58[_0x7734[69]]= Math[_0x7734[34]](this[_0x7734[83]][_0x7734[69]],Math[_0x7734[6]](this[_0x7734[83]][_0x7734[69]]+ this[_0x7734[83]][_0x7734[71]],_0x75c1x58[_0x7734[69]]))};_0x75c1x54[_0x7734[0]][_0x7734[120]]= function(){};function _0x75c1x61(_0x75c1x33){_0x75c1x54[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x61,_0x75c1x54);_0x75c1x61[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];var _0x75c1xb=Math[_0x7734[6]](_0x75c1x34[_0x7734[70]],mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[14],60)* _0x75c1x5a);var _0x75c1xc=Math[_0x7734[6]](_0x75c1x34[_0x7734[71]],mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[15],20)* _0x75c1x5a);var _0x75c1xd=mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[16],_0x7734[17]);var _0x75c1x3=(_0x75c1xd== _0x7734[18])?_0x75c1x34[_0x7734[68]]+ _0x75c1xb:_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1xb;return new mxPoint(_0x75c1x3,_0x75c1x34[_0x7734[69]]+ _0x75c1xc)};_0x75c1x61[_0x7734[0]][_0x7734[115]]= function(_0x75c1x58){var _0x75c1x5b=this[_0x7734[83]][_0x7734[123]][_0x7734[122]]();var _0x75c1x5c=mxUtils[_0x7734[124]](_0x75c1x5b);var _0x75c1x5d=Math[_0x7734[125]](-_0x75c1x5c);var _0x75c1x5e=Math[_0x7734[126]](-_0x75c1x5c);var _0x75c1x34= new mxRectangle(this[_0x7734[83]][_0x7734[68]],this[_0x7734[83]][_0x7734[69]],this[_0x7734[83]][_0x7734[70]],this[_0x7734[83]][_0x7734[71]]);if(this[_0x7734[83]][_0x7734[123]][_0x7734[127]]()){var _0x75c1x5f=(_0x75c1x34[_0x7734[70]]- _0x75c1x34[_0x7734[71]])/ 2;_0x75c1x34[_0x7734[68]]+= _0x75c1x5f;_0x75c1x34[_0x7734[69]]-= _0x75c1x5f;var _0x75c1x23=_0x75c1x34[_0x7734[70]];_0x75c1x34[_0x7734[70]]= _0x75c1x34[_0x7734[71]];_0x75c1x34[_0x7734[71]]= _0x75c1x23};var _0x75c1x60= new mxPoint(_0x75c1x58[_0x7734[68]],_0x75c1x58[_0x7734[69]]);_0x75c1x60= mxUtils[_0x7734[133]](_0x75c1x60,_0x75c1x5d,_0x75c1x5e, new mxPoint(this[_0x7734[83]][_0x7734[131]](),this[_0x7734[83]][_0x7734[132]]()));if(this[_0x7734[83]][_0x7734[123]][_0x7734[129]]){_0x75c1x60[_0x7734[68]]= 2* _0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1x60[_0x7734[68]]};if(this[_0x7734[83]][_0x7734[123]][_0x7734[130]]){_0x75c1x60[_0x7734[69]]= 2* _0x75c1x34[_0x7734[69]]+ _0x75c1x34[_0x7734[71]]- _0x75c1x60[_0x7734[69]]};var _0x75c1x62=this[_0x7734[134]](_0x75c1x60,_0x75c1x34);if(_0x75c1x62!= null){if(this[_0x7734[83]][_0x7734[123]][_0x7734[129]]){_0x75c1x62[_0x7734[68]]= 2* _0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1x62[_0x7734[68]]};if(this[_0x7734[83]][_0x7734[123]][_0x7734[130]]){_0x75c1x62[_0x7734[69]]= 2* _0x75c1x34[_0x7734[69]]+ _0x75c1x34[_0x7734[71]]- _0x75c1x62[_0x7734[69]]};_0x75c1x5d= Math[_0x7734[125]](_0x75c1x5c);_0x75c1x5e= Math[_0x7734[126]](_0x75c1x5c);_0x75c1x62= mxUtils[_0x7734[133]](_0x75c1x62,_0x75c1x5d,_0x75c1x5e, new mxPoint(this[_0x7734[83]][_0x7734[131]](),this[_0x7734[83]][_0x7734[132]]()));_0x75c1x58[_0x7734[68]]= _0x75c1x62[_0x7734[68]];_0x75c1x58[_0x7734[69]]= _0x75c1x62[_0x7734[69]]}};_0x75c1x61[_0x7734[0]][_0x7734[134]]= function(_0x75c1x60,_0x75c1x34){var _0x75c1xd=mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[16],_0x7734[17]);var _0x75c1xb=(_0x75c1xd== _0x7734[18])?_0x75c1x60[_0x7734[68]]- _0x75c1x34[_0x7734[68]]:_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1x60[_0x7734[68]];var _0x75c1xc=_0x75c1x60[_0x7734[69]]- _0x75c1x34[_0x7734[69]];var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];this[_0x7734[83]][_0x7734[4]][_0x7734[14]]= Math[_0x7734[135]](Math[_0x7734[34]](1,_0x75c1xb)/ _0x75c1x5a);this[_0x7734[83]][_0x7734[4]][_0x7734[15]]= Math[_0x7734[135]](Math[_0x7734[34]](1,_0x75c1xc)/ _0x75c1x5a)};_0x75c1x61[_0x7734[0]][_0x7734[120]]= function(){var _0x75c1x63=this[_0x7734[84]][_0x7734[136]]();_0x75c1x63[_0x7734[137]]();try{this[_0x7734[83]][_0x7734[85]][_0x7734[84]][_0x7734[139]](_0x7734[14],this[_0x7734[83]][_0x7734[4]][_0x7734[14]],[this[_0x7734[83]][_0x7734[138]]]);this[_0x7734[83]][_0x7734[85]][_0x7734[84]][_0x7734[139]](_0x7734[15],this[_0x7734[83]][_0x7734[4]][_0x7734[15]],[this[_0x7734[83]][_0x7734[138]]])}finally{_0x75c1x63[_0x7734[140]]()}};function _0x75c1x64(_0x75c1x33){_0x75c1x61[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x64,_0x75c1x61);_0x75c1x64[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];var _0x75c1x65=mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]/ 2,_0x75c1x34[_0x7734[69]]+ Math[_0x7734[6]](_0x75c1x34[_0x7734[71]],_0x75c1x65* _0x75c1x5a))};_0x75c1x64[_0x7734[0]][_0x7734[134]]= function(_0x75c1x58,_0x75c1x34){_0x75c1x58[_0x7734[68]]= _0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]/ 2;startSize= _0x75c1x58[_0x7734[69]]- _0x75c1x34[_0x7734[69]];var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];this[_0x7734[83]][_0x7734[4]][_0x7734[141]]= Math[_0x7734[135]](Math[_0x7734[34]](1,startSize)/ _0x75c1x5a);return _0x75c1x58};_0x75c1x64[_0x7734[0]][_0x7734[120]]= function(){this[_0x7734[83]][_0x7734[85]][_0x7734[84]][_0x7734[139]](_0x7734[141],this[_0x7734[83]][_0x7734[4]][_0x7734[141]],[this[_0x7734[83]][_0x7734[138]]])};function _0x75c1x66(_0x75c1x33){_0x75c1x61[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x66,_0x75c1x61);_0x75c1x66[_0x7734[0]][_0x7734[142]]= 20;_0x75c1x66[_0x7734[0]][_0x7734[143]]= 1;_0x75c1x66[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];var _0x75c1x67=Math[_0x7734[6]](_0x75c1x34[_0x7734[70]],Math[_0x7734[6]](_0x75c1x34[_0x7734[71]],mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[2],this[_0x7734[142]])* _0x75c1x5a/ this[_0x7734[143]]));return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x67,_0x75c1x34[_0x7734[69]]+ _0x75c1x67)};_0x75c1x66[_0x7734[0]][_0x7734[134]]= function(_0x75c1x60,_0x75c1x34){var _0x75c1x4f=Math[_0x7734[34]](0,Math[_0x7734[6]](Math[_0x7734[6]](_0x75c1x34[_0x7734[70]]/ this[_0x7734[143]],_0x75c1x60[_0x7734[68]]- _0x75c1x34[_0x7734[68]]),Math[_0x7734[6]](_0x75c1x34[_0x7734[71]]/ this[_0x7734[143]],_0x75c1x60[_0x7734[69]]- _0x75c1x34[_0x7734[69]])));var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];this[_0x7734[83]][_0x7734[4]][_0x7734[2]]= Math[_0x7734[135]](Math[_0x7734[34]](1,_0x75c1x4f)/ _0x75c1x5a)* this[_0x7734[143]];return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x4f,_0x75c1x34[_0x7734[69]]+ _0x75c1x4f)};_0x75c1x66[_0x7734[0]][_0x7734[120]]= function(){this[_0x7734[83]][_0x7734[85]][_0x7734[84]][_0x7734[139]](_0x7734[2],this[_0x7734[83]][_0x7734[4]][_0x7734[2]],[this[_0x7734[83]][_0x7734[138]]])};function _0x75c1x68(_0x75c1x33){_0x75c1x66[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x68,_0x75c1x66);_0x75c1x68[_0x7734[0]][_0x7734[142]]= 30;_0x75c1x68[_0x7734[0]][_0x7734[143]]= 2;function _0x75c1x69(_0x75c1x33){_0x75c1x66[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x69,_0x75c1x66);_0x75c1x69[_0x7734[0]][_0x7734[142]]= 30;_0x75c1x69[_0x7734[0]][_0x7734[143]]= 1;_0x75c1x69[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];var _0x75c1x67=Math[_0x7734[6]](_0x75c1x34[_0x7734[70]],Math[_0x7734[6]](_0x75c1x34[_0x7734[71]],mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[2],this[_0x7734[142]])* _0x75c1x5a/ this[_0x7734[143]]));return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1x67,_0x75c1x34[_0x7734[69]]+ _0x75c1x67)};_0x75c1x69[_0x7734[0]][_0x7734[134]]= function(_0x75c1x60,_0x75c1x34){var _0x75c1x4f=Math[_0x7734[34]](0,Math[_0x7734[6]](Math[_0x7734[6]](_0x75c1x34[_0x7734[70]]/ this[_0x7734[143]],_0x75c1x60[_0x7734[68]]- _0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]),Math[_0x7734[6]](_0x75c1x34[_0x7734[71]]/ this[_0x7734[143]],_0x75c1x60[_0x7734[69]]- _0x75c1x34[_0x7734[69]])));var _0x75c1x5a=this[_0x7734[84]][_0x7734[93]]()[_0x7734[113]];this[_0x7734[83]][_0x7734[4]][_0x7734[2]]= Math[_0x7734[135]](Math[_0x7734[34]](1,_0x75c1x4f)/ _0x75c1x5a)* this[_0x7734[143]];return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]- _0x75c1x4f,_0x75c1x34[_0x7734[69]]+ _0x75c1x4f)};function _0x75c1x6a(_0x75c1x33){_0x75c1x66[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x6a,_0x75c1x66);_0x75c1x6a[_0x7734[0]][_0x7734[142]]= 0.2;_0x75c1x6a[_0x7734[0]][_0x7734[143]]= 1;_0x75c1x6a[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){var _0x75c1x67=mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[2],this[_0x7734[142]]);return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]* _0x75c1x67,_0x75c1x34[_0x7734[69]]+ _0x75c1x34[_0x7734[71]]/ 2)};_0x75c1x6a[_0x7734[0]][_0x7734[134]]= function(_0x75c1x60,_0x75c1x34){var _0x75c1x4f=Math[_0x7734[6]](1,(_0x75c1x60[_0x7734[68]]- _0x75c1x34[_0x7734[68]])/ _0x75c1x34[_0x7734[70]]);this[_0x7734[83]][_0x7734[4]][_0x7734[2]]= _0x75c1x4f;return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x4f* _0x75c1x34[_0x7734[70]],_0x75c1x34[_0x7734[69]]+ _0x75c1x34[_0x7734[71]]/ 2)};function _0x75c1x6b(_0x75c1x33){_0x75c1x66[_0x7734[24]](this,_0x75c1x33)}mxUtils[_0x7734[25]](_0x75c1x6b,_0x75c1x66);_0x75c1x6b[_0x7734[0]][_0x7734[142]]= 0.4;_0x75c1x6b[_0x7734[0]][_0x7734[143]]= 1;_0x75c1x6b[_0x7734[0]][_0x7734[128]]= function(_0x75c1x34){var _0x75c1x67=mxUtils[_0x7734[5]](this[_0x7734[83]][_0x7734[4]],_0x7734[2],this[_0x7734[142]]);return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]/ 2,_0x75c1x34[_0x7734[69]]+ _0x75c1x67* _0x75c1x34[_0x7734[71]]/ 2)};_0x75c1x6b[_0x7734[0]][_0x7734[134]]= function(_0x75c1x60,_0x75c1x34){var _0x75c1x4f=Math[_0x7734[34]](0,Math[_0x7734[6]](1,((_0x75c1x60[_0x7734[69]]- _0x75c1x34[_0x7734[69]])/ _0x75c1x34[_0x7734[71]])* 2));this[_0x7734[83]][_0x7734[4]][_0x7734[2]]= _0x75c1x4f;return new mxPoint(_0x75c1x34[_0x7734[68]]+ _0x75c1x34[_0x7734[70]]/ 2,_0x75c1x34[_0x7734[69]]+ _0x75c1x4f* _0x75c1x34[_0x7734[71]]/ 2)};var _0x75c1x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0x75c1x64,"\x66\x6F\x6C\x64\x65\x72":_0x75c1x61,"\x63\x75\x62\x65":_0x75c1x66,"\x63\x61\x72\x64":_0x75c1x68,"\x6E\x6F\x74\x65":_0x75c1x69,"\x73\x74\x65\x70":_0x75c1x6a,"\x74\x61\x70\x65":_0x75c1x6b};var _0x75c1x6d=mxGraph[_0x7734[0]][_0x7734[144]];mxGraph[_0x7734[0]][_0x7734[144]]= function(_0x75c1x33){if(_0x75c1x33!= null){var _0x75c1x6e=_0x75c1x6c[_0x75c1x33[_0x7734[4]][_0x7734[123]]];if(_0x75c1x6e!= null){return new _0x75c1x6e(_0x75c1x33)}};return _0x75c1x6d[_0x7734[30]](this,arguments)}};mxGraph[_0x7734[0]][_0x7734[145]]= function(_0x75c1x6f,_0x75c1x50){if(_0x75c1x6f!= null&& _0x75c1x6f[_0x7734[123]]!= null){if(_0x75c1x6f[_0x7734[123]][_0x7734[146]]!= null){if(_0x75c1x6f[_0x7734[123]][_0x7734[146]]!= null){return _0x75c1x6f[_0x7734[123]][_0x7734[146]][_0x7734[147]]}}else {if(_0x75c1x6f[_0x7734[123]][_0x7734[147]]!= null){return _0x75c1x6f[_0x7734[123]][_0x7734[147]]}}};return null};mxRectangleShape[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxLabel[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];mxImageShape[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];mxSwimlane[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];_0x75c1x14[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];_0x75c1x9[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];_0x75c1x10[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];_0x75c1x1[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];_0x75c1xa[_0x7734[0]][_0x7734[147]]= mxRectangleShape[_0x7734[0]][_0x7734[147]];mxCylinder[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.15,0.05),false), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.85,0.05),false), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.3),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.7),true), new mxConnectionConstraint( new mxPoint(0.15,0.95),false), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.85,0.95),false)];_0x75c1x25[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.1),false), new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.75,0.1),false), new mxConnectionConstraint( new mxPoint(0,1/ 3),false), new mxConnectionConstraint( new mxPoint(0,1),false), new mxConnectionConstraint( new mxPoint(1,1/ 3),false), new mxConnectionConstraint( new mxPoint(1,1),false), new mxConnectionConstraint( new mxPoint(0.5,0.5),false)];_0x75c1x28[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxActor[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.25,0.2),false), new mxConnectionConstraint( new mxPoint(0.1,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.75,0.25),false), new mxConnectionConstraint( new mxPoint(0.9,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];_0x75c1x11[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.35),false), new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.65),false), new mxConnectionConstraint( new mxPoint(1,0.35),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.65),false), new mxConnectionConstraint( new mxPoint(0.25,1),false), new mxConnectionConstraint( new mxPoint(0.75,0),false)];_0x75c1x13[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true), new mxConnectionConstraint( new mxPoint(0.1,0.25),false), new mxConnectionConstraint( new mxPoint(0.2,0.5),false), new mxConnectionConstraint( new mxPoint(0.1,0.75),false), new mxConnectionConstraint( new mxPoint(0.9,0.25),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(0.9,0.75),false)];mxLine[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0.25,0.5),false), new mxConnectionConstraint( new mxPoint(0.75,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.5),false)];_0x75c1x26[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0,0),true), new mxConnectionConstraint( new mxPoint(1,0),true), new mxConnectionConstraint( new mxPoint(0,1),true), new mxConnectionConstraint( new mxPoint(1,1),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5))];mxDoubleEllipse[_0x7734[0]][_0x7734[147]]= mxEllipse[_0x7734[0]][_0x7734[147]];mxRhombus[_0x7734[0]][_0x7734[147]]= mxEllipse[_0x7734[0]][_0x7734[147]];mxTriangle[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(1,0.5),true)];mxHexagon[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.375,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.625,0),true), new mxConnectionConstraint( new mxPoint(0.125,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0.125,0.75),false), new mxConnectionConstraint( new mxPoint(0.875,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(0.875,0.75),false), new mxConnectionConstraint( new mxPoint(0.375,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.625,1),true)];mxCloud[_0x7734[0]][_0x7734[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.25),false), new mxConnectionConstraint( new mxPoint(0.4,0.1),false), new mxConnectionConstraint( new mxPoint(0.16,0.55),false), new mxConnectionConstraint( new mxPoint(0.07,0.4),false), new mxConnectionConstraint( new mxPoint(0.31,0.8),false), new mxConnectionConstraint( new mxPoint(0.13,0.77),false), new mxConnectionConstraint( new mxPoint(0.8,0.8),false), new mxConnectionConstraint( new mxPoint(0.55,0.95),false), new mxConnectionConstraint( new mxPoint(0.875,0.5),false), new mxConnectionConstraint( new mxPoint(0.96,0.7),false), new mxConnectionConstraint( new mxPoint(0.625,0.2),false), new mxConnectionConstraint( new mxPoint(0.88,0.25),false)];mxArrow[_0x7734[0]][_0x7734[147]]= null})() \ No newline at end of file +var _0xdedf=["\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x73\x69\x7A\x65","\x72\x65\x64\x72\x61\x77\x50\x61\x74\x68","\x73\x74\x79\x6C\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x6D\x69\x6E","\x6D\x6F\x76\x65\x54\x6F","\x6C\x69\x6E\x65\x54\x6F","\x65\x6E\x64","\x63\x6C\x6F\x73\x65","\x63\x75\x62\x65","\x64\x65\x66\x61\x75\x6C\x74\x53\x68\x61\x70\x65\x73","\x6E\x6F\x74\x65","\x74\x61\x62\x57\x69\x64\x74\x68","\x74\x61\x62\x48\x65\x69\x67\x68\x74","\x74\x61\x62\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x72\x69\x67\x68\x74","\x6C\x65\x66\x74","\x66\x6F\x6C\x64\x65\x72","\x63\x61\x72\x64","\x71\x75\x61\x64\x54\x6F","\x74\x61\x70\x65","\x73\x74\x65\x70","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x69\x73\x48\x74\x6D\x6C\x41\x6C\x6C\x6F\x77\x65\x64","\x70\x61\x69\x6E\x74\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x62\x65\x67\x69\x6E","\x73\x74\x72\x6F\x6B\x65","\x61\x70\x70\x6C\x79","\x70\x6C\x75\x73","\x64\x6F\x75\x62\x6C\x65","\x73\x74\x72\x6F\x6B\x65\x77\x69\x64\x74\x68","\x6D\x61\x78","\x70\x61\x69\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x73\x65\x74\x44\x61\x73\x68\x65\x64","\x73\x79\x6D\x62\x6F\x6C","\x41\x6C\x69\x67\x6E","\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x57\x69\x64\x74\x68","\x48\x65\x69\x67\x68\x74","\x53\x70\x61\x63\x69\x6E\x67","\x41\x72\x63\x53\x70\x61\x63\x69\x6E\x67","\x67\x65\x74\x41\x72\x63\x53\x69\x7A\x65","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x73\x61\x76\x65","\x70\x61\x69\x6E\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x72\x65\x73\x74\x6F\x72\x65","\x65\x78\x74","\x6D\x65\x73\x73\x61\x67\x65","\x61\x64\x64\x50\x69\x70\x65","\x63\x75\x72\x76\x65\x54\x6F","\x75\x6D\x6C\x41\x63\x74\x6F\x72","\x6C\x6F\x6C\x6C\x69\x70\x6F\x70","\x6A\x65\x74\x74\x79\x57\x69\x64\x74\x68","\x6A\x65\x74\x74\x79\x48\x65\x69\x67\x68\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x6F\x75\x74\x65\x72\x53\x74\x72\x6F\x6B\x65","\x65\x6C\x6C\x69\x70\x73\x65","\x66\x69\x6C\x6C\x41\x6E\x64\x53\x74\x72\x6F\x6B\x65","\x73\x65\x74\x53\x68\x61\x64\x6F\x77","\x65\x6E\x64\x53\x74\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x74\x61\x74\x65","\x69\x6E\x69\x74\x53\x68\x61\x70\x65\x73","\x78","\x79","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x73\x68\x61\x70\x65\x73","\x70\x61\x69\x6E\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x6C\x65\x6E\x67\x74\x68","\x73\x71\x72\x74","\x6C\x69\x6E\x6B","\x64\x61\x73\x68","\x61\x64\x64\x4D\x61\x72\x6B\x65\x72","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x75\x73\x65\x47\x72\x69\x64\x46\x6F\x72\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x69\x6E\x69\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x74\x61\x74\x65","\x67\x72\x61\x70\x68","\x76\x69\x65\x77","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x73\x72\x63","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x44\x49\x41\x4C\x45\x43\x54\x5F\x56\x4D\x4C","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x74\x56\x69\x65\x77","\x63\x75\x72\x73\x6F\x72","\x6E\x6F\x64\x65","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x43\x75\x72\x73\x6F\x72","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x64\x65\x66\x61\x75\x6C\x74","\x72\x65\x64\x72\x61\x77","\x62\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x42\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x6F\x75\x72\x63\x65","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x50\x6F\x69\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64\x45\x76\x65\x6E\x74","\x73\x63\x61\x6C\x65","\x73\x6E\x61\x70","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65","\x6D\x6F\x76\x65\x53\x69\x7A\x65\x72\x54\x6F","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x55\x70","\x61\x70\x70\x6C\x79\x53\x74\x79\x6C\x65","\x72\x65\x73\x65\x74","\x67\x65\x74\x53\x68\x61\x70\x65\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x73\x68\x61\x70\x65","\x74\x6F\x52\x61\x64\x69\x61\x6E\x73","\x63\x6F\x73","\x73\x69\x6E","\x69\x73\x50\x61\x69\x6E\x74\x42\x6F\x75\x6E\x64\x73\x49\x6E\x76\x65\x72\x74\x65\x64","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x50\x6F\x69\x6E\x74","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x58","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x59","\x67\x65\x74\x52\x6F\x74\x61\x74\x65\x64\x50\x6F\x69\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65\x55\x6E\x72\x6F\x74\x61\x74\x65\x64","\x72\x6F\x75\x6E\x64","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x63\x65\x6C\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x69\x7A\x65","\x64\x65\x66\x61\x75\x6C\x74\x56\x61\x6C\x75\x65","\x73\x63\x61\x6C\x65\x46\x61\x63\x74\x6F\x72","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x41\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x73\x74\x65\x6E\x63\x69\x6C","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73"];(function(){function _0x4802x1(){}_0x4802x1[_0xdedf[0]]= new mxCylinder();_0x4802x1[_0xdedf[0]][_0xdedf[1]]= _0x4802x1;_0x4802x1[_0xdedf[0]][_0xdedf[2]]= 20;_0x4802x1[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x8=Math[_0xdedf[6]](_0x4802x5,Math[_0xdedf[6]](_0x4802x6,mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[2],this[_0xdedf[2]])));if(_0x4802x7){_0x4802x2[_0xdedf[7]](_0x4802x8,_0x4802x6);_0x4802x2[_0xdedf[8]](_0x4802x8,_0x4802x8);_0x4802x2[_0xdedf[8]](0,0);_0x4802x2[_0xdedf[7]](_0x4802x8,_0x4802x8);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x8);_0x4802x2[_0xdedf[9]]()}else {_0x4802x2[_0xdedf[7]](0,0);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802x8,0);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x8);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[8]](_0x4802x8,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x6- _0x4802x8);_0x4802x2[_0xdedf[8]](0,0);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[11]]= _0x4802x1;function _0x4802x9(){}_0x4802x9[_0xdedf[0]]= new mxCylinder();_0x4802x9[_0xdedf[0]][_0xdedf[1]]= _0x4802x9;_0x4802x9[_0xdedf[0]][_0xdedf[2]]= 30;_0x4802x9[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x8=Math[_0xdedf[6]](_0x4802x5,Math[_0xdedf[6]](_0x4802x6,mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[2],this[_0xdedf[2]])));if(_0x4802x7){_0x4802x2[_0xdedf[7]](_0x4802x5- _0x4802x8,0);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802x8,_0x4802x8);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x8);_0x4802x2[_0xdedf[9]]()}else {_0x4802x2[_0xdedf[7]](0,0);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802x8,0);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x8);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x6);_0x4802x2[_0xdedf[8]](0,0);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[13]]= _0x4802x9;function _0x4802xa(){}_0x4802xa[_0xdedf[0]]= new mxCylinder();_0x4802xa[_0xdedf[0]][_0xdedf[1]]= _0x4802xa;_0x4802xa[_0xdedf[0]][_0xdedf[14]]= 60;_0x4802xa[_0xdedf[0]][_0xdedf[15]]= 20;_0x4802xa[_0xdedf[0]][_0xdedf[16]]= _0xdedf[17];_0x4802xa[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802xb=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[14],this[_0xdedf[14]]);var _0x4802xc=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[15],this[_0xdedf[15]]);var _0x4802xd=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[16],this[_0xdedf[16]]);var _0x4802xe=Math[_0xdedf[6]](_0x4802x5,_0x4802xb);var _0x4802xf=Math[_0xdedf[6]](_0x4802x6,_0x4802xc);if(_0x4802x7){if(_0x4802xd== _0xdedf[18]){_0x4802x2[_0xdedf[7]](0,_0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802xe,_0x4802xf)}else {_0x4802x2[_0xdedf[7]](_0x4802x5- _0x4802xe,_0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802xf)};_0x4802x2[_0xdedf[9]]()}else {if(_0x4802xd== _0xdedf[18]){_0x4802x2[_0xdedf[7]](0,0);_0x4802x2[_0xdedf[8]](_0x4802xe,0);_0x4802x2[_0xdedf[8]](_0x4802xe,_0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802xf)}else {_0x4802x2[_0xdedf[7]](0,_0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802xe,_0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802xe,0);_0x4802x2[_0xdedf[8]](_0x4802x5,0)};_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802xf);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[19]]= _0x4802xa;function _0x4802x10(){}_0x4802x10[_0xdedf[0]]= new mxCylinder();_0x4802x10[_0xdedf[0]][_0xdedf[1]]= _0x4802x10;_0x4802x10[_0xdedf[0]][_0xdedf[2]]= 30;_0x4802x10[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x8=Math[_0xdedf[6]](_0x4802x5,Math[_0xdedf[6]](_0x4802x6,mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[2],this[_0xdedf[2]])));if(!_0x4802x7){_0x4802x2[_0xdedf[7]](_0x4802x8,0);_0x4802x2[_0xdedf[8]](_0x4802x5,0);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x8);_0x4802x2[_0xdedf[8]](_0x4802x8,0);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[20]]= _0x4802x10;function _0x4802x11(){}_0x4802x11[_0xdedf[0]]= new mxCylinder();_0x4802x11[_0xdedf[0]][_0xdedf[1]]= _0x4802x11;_0x4802x11[_0xdedf[0]][_0xdedf[2]]= 0.4;_0x4802x11[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x8=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[2],this[_0xdedf[2]]);var _0x4802xf=_0x4802x6* _0x4802x8;var _0x4802x12=1.4;if(!_0x4802x7){_0x4802x2[_0xdedf[7]](0,_0x4802xf/ 2);_0x4802x2[_0xdedf[21]](_0x4802x5/ 4,_0x4802xf* _0x4802x12,_0x4802x5/ 2,_0x4802xf/ 2);_0x4802x2[_0xdedf[21]](_0x4802x5* 3/ 4,_0x4802xf* (1- _0x4802x12),_0x4802x5,_0x4802xf/ 2);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6- _0x4802xf/ 2);_0x4802x2[_0xdedf[21]](_0x4802x5* 3/ 4,_0x4802x6- _0x4802xf* _0x4802x12,_0x4802x5/ 2,_0x4802x6- _0x4802xf/ 2);_0x4802x2[_0xdedf[21]](_0x4802x5/ 4,_0x4802x6- _0x4802xf* (1- _0x4802x12),0,_0x4802x6- _0x4802xf/ 2);_0x4802x2[_0xdedf[8]](0,_0x4802xf/ 2);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[22]]= _0x4802x11;function _0x4802x13(){}_0x4802x13[_0xdedf[0]]= new mxCylinder();_0x4802x13[_0xdedf[0]][_0xdedf[1]]= _0x4802x13;_0x4802x13[_0xdedf[0]][_0xdedf[2]]= 0.2;_0x4802x13[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x8=_0x4802x5* mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[2],this[_0xdedf[2]]);if(!_0x4802x7){_0x4802x2[_0xdedf[7]](0,0);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802x8,0);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6/ 2);_0x4802x2[_0xdedf[8]](_0x4802x5- _0x4802x8,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x6);_0x4802x2[_0xdedf[8]](_0x4802x8,_0x4802x6/ 2);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[23]]= _0x4802x13;function _0x4802x14(){mxRectangleShape[_0xdedf[24]](this)}mxUtils[_0xdedf[25]](_0x4802x14,mxRectangleShape);_0x4802x14[_0xdedf[0]][_0xdedf[26]]= function(){return false};_0x4802x14[_0xdedf[0]][_0xdedf[27]]= function(_0x4802x15,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6){var _0x4802x16=Math[_0xdedf[6]](_0x4802x5/ 5,_0x4802x6/ 5)+ 1;_0x4802x15[_0xdedf[28]]();_0x4802x15[_0xdedf[7]](_0x4802x3+ _0x4802x5/ 2,_0x4802x4+ _0x4802x16);_0x4802x15[_0xdedf[8]](_0x4802x3+ _0x4802x5/ 2,_0x4802x4+ _0x4802x6- _0x4802x16);_0x4802x15[_0xdedf[7]](_0x4802x3+ _0x4802x16,_0x4802x4+ _0x4802x6/ 2);_0x4802x15[_0xdedf[8]](_0x4802x3+ _0x4802x5- _0x4802x16,_0x4802x4+ _0x4802x6/ 2);_0x4802x15[_0xdedf[9]]();_0x4802x15[_0xdedf[29]]();mxRectangleShape[_0xdedf[0]][_0xdedf[27]][_0xdedf[30]](this,arguments)};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[31]]= _0x4802x14;function _0x4802x17(){mxRectangleShape[_0xdedf[24]](this)}mxUtils[_0xdedf[25]](_0x4802x17,mxRectangleShape);_0x4802x17[_0xdedf[0]][_0xdedf[26]]= function(){return false};_0x4802x17[_0xdedf[0]][_0xdedf[27]]= function(_0x4802x15,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6){if(this[_0xdedf[4]]!= null){if(this[_0xdedf[4]][_0xdedf[32]]== 1){var _0x4802x18=Math[_0xdedf[34]](2,this[_0xdedf[33]]+ 1);mxRectangleShape[_0xdedf[0]][_0xdedf[35]][_0xdedf[24]](this,_0x4802x15,_0x4802x3+ _0x4802x18,_0x4802x4+ _0x4802x18,_0x4802x5- 2* _0x4802x18,_0x4802x6- 2* _0x4802x18);mxRectangleShape[_0xdedf[0]][_0xdedf[27]][_0xdedf[30]](this,arguments);_0x4802x3+= _0x4802x18;_0x4802x4+= _0x4802x18;_0x4802x5-= 2* _0x4802x18;_0x4802x6-= 2* _0x4802x18};_0x4802x15[_0xdedf[36]](false);var _0x4802x19=0;var _0x4802x1a=null;do{_0x4802x1a= mxCellRenderer[_0xdedf[0]][_0xdedf[12]][this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19]];if(_0x4802x1a!= null){var _0x4802x1b=this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19+ _0xdedf[38]];var _0x4802x1c=this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19+ _0xdedf[39]];var _0x4802x1d=this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19+ _0xdedf[40]];var _0x4802x1e=this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19+ _0xdedf[41]];var _0x4802x1f=this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19+ _0xdedf[42]]|| 0;var _0x4802x20=this[_0xdedf[4]][_0xdedf[37]+ _0x4802x19+ _0xdedf[43]];if(_0x4802x20!= null){_0x4802x1f+= this[_0xdedf[44]](_0x4802x5+ this[_0xdedf[33]],_0x4802x6+ this[_0xdedf[33]])* _0x4802x20};var _0x4802x21=_0x4802x3;var _0x4802x22=_0x4802x4;if(_0x4802x1b== mxConstants[_0xdedf[45]]){_0x4802x21+= (_0x4802x5- _0x4802x1d)/ 2}else {if(_0x4802x1b== mxConstants[_0xdedf[46]]){_0x4802x21+= _0x4802x5- _0x4802x1d- _0x4802x1f}else {_0x4802x21+= _0x4802x1f}};if(_0x4802x1c== mxConstants[_0xdedf[47]]){_0x4802x22+= (_0x4802x6- _0x4802x1e)/ 2}else {if(_0x4802x1c== mxConstants[_0xdedf[48]]){_0x4802x22+= _0x4802x6- _0x4802x1e- _0x4802x1f}else {_0x4802x22+= _0x4802x1f}};_0x4802x15[_0xdedf[49]]();var _0x4802x23= new _0x4802x1a();_0x4802x23[_0xdedf[4]]= this[_0xdedf[4]];_0x4802x1a[_0xdedf[0]][_0xdedf[50]][_0xdedf[24]](_0x4802x23,_0x4802x15,_0x4802x21,_0x4802x22,_0x4802x1d,_0x4802x1e);_0x4802x15[_0xdedf[51]]()};_0x4802x19++}while(_0x4802x1a!= null);}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[52]]= _0x4802x17;function _0x4802x24(){}_0x4802x24[_0xdedf[0]]= new mxCylinder();_0x4802x24[_0xdedf[0]][_0xdedf[1]]= _0x4802x24;_0x4802x24[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){if(_0x4802x7){_0x4802x2[_0xdedf[7]](0,0);_0x4802x2[_0xdedf[8]](_0x4802x5/ 2,_0x4802x6/ 2);_0x4802x2[_0xdedf[8]](_0x4802x5,0);_0x4802x2[_0xdedf[9]]()}else {_0x4802x2[_0xdedf[7]](0,0);_0x4802x2[_0xdedf[8]](_0x4802x5,0);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[8]](0,_0x4802x6);_0x4802x2[_0xdedf[10]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[53]]= _0x4802x24;function _0x4802x25(){}_0x4802x25[_0xdedf[0]]= new mxCylinder();_0x4802x25[_0xdedf[0]][_0xdedf[1]]= _0x4802x25;_0x4802x25[_0xdedf[0]][_0xdedf[54]]= true;_0x4802x25[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x1d=_0x4802x5/ 3;var _0x4802x1e=_0x4802x6/ 4;if(!_0x4802x7){_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,_0x4802x1e);_0x4802x2[_0xdedf[55]](_0x4802x5/ 2- _0x4802x1d,_0x4802x1e,_0x4802x5/ 2- _0x4802x1d,0,_0x4802x5/ 2,0);_0x4802x2[_0xdedf[55]](_0x4802x5/ 2+ _0x4802x1d,0,_0x4802x5/ 2+ _0x4802x1d,_0x4802x1e,_0x4802x5/ 2,_0x4802x1e);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,_0x4802x1e);_0x4802x2[_0xdedf[8]](_0x4802x5/ 2,2* _0x4802x6/ 3);_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,_0x4802x6/ 3);_0x4802x2[_0xdedf[8]](0,_0x4802x6/ 3);_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,_0x4802x6/ 3);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6/ 3);_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,2* _0x4802x6/ 3);_0x4802x2[_0xdedf[8]](0,_0x4802x6);_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,2* _0x4802x6/ 3);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[56]]= _0x4802x25;function _0x4802x26(){}_0x4802x26[_0xdedf[0]]= new mxCylinder();_0x4802x26[_0xdedf[0]][_0xdedf[1]]= _0x4802x26;_0x4802x26[_0xdedf[0]][_0xdedf[2]]= 10;_0x4802x26[_0xdedf[0]][_0xdedf[54]]= true;_0x4802x26[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802x27=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[2],this[_0xdedf[2]]);var _0x4802x1d=_0x4802x27* 2/ 3;var _0x4802x1e=_0x4802x27;if(!_0x4802x7){_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,_0x4802x1e);_0x4802x2[_0xdedf[55]](_0x4802x5/ 2- _0x4802x1d,_0x4802x1e,_0x4802x5/ 2- _0x4802x1d,0,_0x4802x5/ 2,0);_0x4802x2[_0xdedf[55]](_0x4802x5/ 2+ _0x4802x1d,0,_0x4802x5/ 2+ _0x4802x1d,_0x4802x1e,_0x4802x5/ 2,_0x4802x1e);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[7]](_0x4802x5/ 2,_0x4802x1e);_0x4802x2[_0xdedf[8]](_0x4802x5/ 2,_0x4802x6);_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[57]]= _0x4802x26;function _0x4802x28(){}_0x4802x28[_0xdedf[0]]= new mxCylinder();_0x4802x28[_0xdedf[0]][_0xdedf[1]]= _0x4802x28;_0x4802x28[_0xdedf[0]][_0xdedf[58]]= 32;_0x4802x28[_0xdedf[0]][_0xdedf[59]]= 12;_0x4802x28[_0xdedf[0]][_0xdedf[3]]= function(_0x4802x2,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6,_0x4802x7){var _0x4802xe=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[58],this[_0xdedf[58]]);var _0x4802xf=mxUtils[_0xdedf[5]](this[_0xdedf[4]],_0xdedf[59],this[_0xdedf[59]]);var _0x4802x29=_0x4802xe/ 2;var _0x4802x2a=_0x4802x29+ _0x4802xe/ 2;var _0x4802x2b=0.3* _0x4802x6- _0x4802xf/ 2;var _0x4802x2c=0.7* _0x4802x6- _0x4802xf/ 2;if(_0x4802x7){_0x4802x2[_0xdedf[7]](_0x4802x29,_0x4802x2b);_0x4802x2[_0xdedf[8]](_0x4802x2a,_0x4802x2b);_0x4802x2[_0xdedf[8]](_0x4802x2a,_0x4802x2b+ _0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x2b+ _0x4802xf);_0x4802x2[_0xdedf[7]](_0x4802x29,_0x4802x2c);_0x4802x2[_0xdedf[8]](_0x4802x2a,_0x4802x2c);_0x4802x2[_0xdedf[8]](_0x4802x2a,_0x4802x2c+ _0x4802xf);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x2c+ _0x4802xf);_0x4802x2[_0xdedf[9]]()}else {_0x4802x2[_0xdedf[7]](_0x4802x29,0);_0x4802x2[_0xdedf[8]](_0x4802x5,0);_0x4802x2[_0xdedf[8]](_0x4802x5,_0x4802x6);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x6);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x2c+ _0x4802xf);_0x4802x2[_0xdedf[8]](0,_0x4802x2c+ _0x4802xf);_0x4802x2[_0xdedf[8]](0,_0x4802x2c);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x2c);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x2b+ _0x4802xf);_0x4802x2[_0xdedf[8]](0,_0x4802x2b+ _0x4802xf);_0x4802x2[_0xdedf[8]](0,_0x4802x2b);_0x4802x2[_0xdedf[8]](_0x4802x29,_0x4802x2b);_0x4802x2[_0xdedf[10]]();_0x4802x2[_0xdedf[9]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[60]]= _0x4802x28;function _0x4802x2d(){}_0x4802x2d[_0xdedf[0]]= new mxDoubleEllipse();_0x4802x2d[_0xdedf[0]][_0xdedf[1]]= _0x4802x2d;_0x4802x2d[_0xdedf[0]][_0xdedf[61]]= true;_0x4802x2d[_0xdedf[0]][_0xdedf[50]]= function(_0x4802x15,_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6){var _0x4802x18=Math[_0xdedf[6]](4,Math[_0xdedf[6]](_0x4802x5/ 5,_0x4802x6/ 5));if(_0x4802x5> 0&& _0x4802x6> 0){_0x4802x15[_0xdedf[62]](_0x4802x3+ _0x4802x18,_0x4802x4+ _0x4802x18,_0x4802x5- 2* _0x4802x18,_0x4802x6- 2* _0x4802x18);_0x4802x15[_0xdedf[63]]()};_0x4802x15[_0xdedf[64]](false);if(this[_0xdedf[61]]){_0x4802x15[_0xdedf[62]](_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6);_0x4802x15[_0xdedf[29]]()}};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[65]]= _0x4802x2d;function _0x4802x2e(){}_0x4802x2e[_0xdedf[0]]= new _0x4802x2d();_0x4802x2e[_0xdedf[0]][_0xdedf[1]]= _0x4802x2e;_0x4802x2e[_0xdedf[0]][_0xdedf[61]]= false;mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[66]]= _0x4802x2e;var _0x4802x2f=mxImageExport[_0xdedf[0]][_0xdedf[67]];mxImageExport[_0xdedf[0]][_0xdedf[67]]= function(){_0x4802x2f[_0xdedf[30]](this,arguments);function _0x4802x30(_0x4802x31){return {drawShape:function(_0x4802x32,_0x4802x33,_0x4802x34,_0x4802x35){var _0x4802x3=_0x4802x34[_0xdedf[68]];var _0x4802x4=_0x4802x34[_0xdedf[69]];var _0x4802x5=_0x4802x34[_0xdedf[70]];var _0x4802x6=_0x4802x34[_0xdedf[71]];if(_0x4802x35){var _0x4802x18=Math[_0xdedf[6]](4,Math[_0xdedf[6]](_0x4802x5/ 5,_0x4802x6/ 5));_0x4802x3+= _0x4802x18;_0x4802x4+= _0x4802x18;_0x4802x5-= 2* _0x4802x18;_0x4802x6-= 2* _0x4802x18;if(_0x4802x5> 0&& _0x4802x6> 0){_0x4802x32[_0xdedf[62]](_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6)};return true}else {_0x4802x32[_0xdedf[63]]();if(_0x4802x31){_0x4802x32[_0xdedf[62]](_0x4802x3,_0x4802x4,_0x4802x5,_0x4802x6);_0x4802x32[_0xdedf[29]]()}}}}}this[_0xdedf[72]][_0xdedf[65]]= _0x4802x30(true);this[_0xdedf[72]][_0xdedf[66]]= _0x4802x30(false)};function _0x4802x36(){mxArrow[_0xdedf[24]](this)}mxUtils[_0xdedf[25]](_0x4802x36,mxArrow);_0x4802x36[_0xdedf[0]][_0xdedf[73]]= function(_0x4802x15,_0x4802x37){var _0x4802x1d=10;var _0x4802x38=_0x4802x37[0];var _0x4802x39=_0x4802x37[_0x4802x37[_0xdedf[74]]- 1];var _0x4802xe=_0x4802x39[_0xdedf[68]]- _0x4802x38[_0xdedf[68]];var _0x4802xf=_0x4802x39[_0xdedf[69]]- _0x4802x38[_0xdedf[69]];var _0x4802x3a=Math[_0xdedf[75]](_0x4802xe* _0x4802xe+ _0x4802xf* _0x4802xf);var _0x4802x3b=_0x4802x3a;var _0x4802x3c=_0x4802xe/ _0x4802x3a;var _0x4802x3d=_0x4802xf/ _0x4802x3a;var _0x4802x3e=_0x4802x3b* _0x4802x3c;var _0x4802x3f=_0x4802x3b* _0x4802x3d;var _0x4802x40=_0x4802x1d* _0x4802x3d/ 3;var _0x4802x41=-_0x4802x1d* _0x4802x3c/ 3;var _0x4802x42=_0x4802x38[_0xdedf[68]]- _0x4802x40/ 2;var _0x4802x43=_0x4802x38[_0xdedf[69]]- _0x4802x41/ 2;var _0x4802x44=_0x4802x42+ _0x4802x40;var _0x4802x45=_0x4802x43+ _0x4802x41;var _0x4802x46=_0x4802x44+ _0x4802x3e;var _0x4802x47=_0x4802x45+ _0x4802x3f;var _0x4802x48=_0x4802x46+ _0x4802x40;var _0x4802x49=_0x4802x47+ _0x4802x41;var _0x4802x4a=_0x4802x48- 3* _0x4802x40;var _0x4802x4b=_0x4802x49- 3* _0x4802x41;_0x4802x15[_0xdedf[28]]();_0x4802x15[_0xdedf[7]](_0x4802x44,_0x4802x45);_0x4802x15[_0xdedf[8]](_0x4802x46,_0x4802x47);_0x4802x15[_0xdedf[7]](_0x4802x4a+ _0x4802x40,_0x4802x4b+ _0x4802x41);_0x4802x15[_0xdedf[8]](_0x4802x42,_0x4802x43);_0x4802x15[_0xdedf[29]]()};mxCellRenderer[_0xdedf[0]][_0xdedf[12]][_0xdedf[76]]= _0x4802x36;mxMarker[_0xdedf[78]](_0xdedf[77],function(_0x4802x32,_0x4802x1a,_0x4802x4c,_0x4802x39,_0x4802x4d,_0x4802x4e,_0x4802x4f,_0x4802x50,_0x4802x51,_0x4802x52){var _0x4802x3c=_0x4802x4d* (_0x4802x4f+ _0x4802x51+ 1);var _0x4802x3d=_0x4802x4e* (_0x4802x4f+ _0x4802x51+ 1);return function(){_0x4802x32[_0xdedf[28]]();_0x4802x32[_0xdedf[7]](_0x4802x39[_0xdedf[68]]- _0x4802x3c/ 2- _0x4802x3d/ 2,_0x4802x39[_0xdedf[69]]- _0x4802x3d/ 2+ _0x4802x3c/ 2);_0x4802x32[_0xdedf[8]](_0x4802x39[_0xdedf[68]]+ _0x4802x3d/ 2- 3* _0x4802x3c/ 2,_0x4802x39[_0xdedf[69]]- 3* _0x4802x3d/ 2- _0x4802x3c/ 2);_0x4802x32[_0xdedf[29]]()}});var _0x4802x53=-99;if( typeof (mxVertexHandler)!= _0xdedf[79]){function _0x4802x54(_0x4802x33){mxVertexHandler[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x54,mxVertexHandler);_0x4802x54[_0xdedf[0]][_0xdedf[80]]= false;_0x4802x54[_0xdedf[0]][_0xdedf[81]]= function(){this[_0xdedf[82]]= mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],mxConstants.STYLE_HORIZONTAL,true);var _0x4802x55=this[_0xdedf[83]][_0xdedf[85]][_0xdedf[84]];if(this[_0xdedf[86]]!= null){var _0x4802x34= new mxRectangle(0,0,this[_0xdedf[86]][_0xdedf[70]],this[_0xdedf[86]][_0xdedf[71]]);this[_0xdedf[87]]= new mxImageShape(_0x4802x34,this[_0xdedf[86]][_0xdedf[88]])}else {var _0x4802x4f=10;var _0x4802x34= new mxRectangle(0,0,_0x4802x4f,_0x4802x4f);this[_0xdedf[87]]= new mxRhombus(_0x4802x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0xdedf[87]][_0xdedf[89]]= (_0x4802x55[_0xdedf[89]]!= mxConstants[_0xdedf[90]])?mxConstants[_0xdedf[91]]:mxConstants[_0xdedf[90]];this[_0xdedf[87]][_0xdedf[81]](_0x4802x55[_0xdedf[93]]()[_0xdedf[92]]());this[_0xdedf[87]][_0xdedf[95]][_0xdedf[4]][_0xdedf[94]]= this[_0xdedf[96]]();mxEvent[_0xdedf[97]](this[_0xdedf[87]][_0xdedf[95]],_0x4802x55,this[_0xdedf[83]]);mxVertexHandler[_0xdedf[0]][_0xdedf[81]][_0xdedf[30]](this,arguments)};_0x4802x54[_0xdedf[0]][_0xdedf[96]]= function(){return _0xdedf[98]};_0x4802x54[_0xdedf[0]][_0xdedf[99]]= function(){mxVertexHandler[_0xdedf[0]][_0xdedf[99]][_0xdedf[30]](this,arguments);var _0x4802x4f=this[_0xdedf[87]][_0xdedf[100]][_0xdedf[70]];this[_0xdedf[87]][_0xdedf[100]]= this[_0xdedf[101]](_0x4802x4f);this[_0xdedf[87]][_0xdedf[99]]()};_0x4802x54[_0xdedf[0]][_0xdedf[102]]= function(){mxVertexHandler[_0xdedf[0]][_0xdedf[102]][_0xdedf[30]](this,arguments);if(this[_0xdedf[87]]!= null){this[_0xdedf[87]][_0xdedf[102]]();this[_0xdedf[87]]= null}};_0x4802x54[_0xdedf[0]][_0xdedf[103]]= function(_0x4802x56){if(_0x4802x56[_0xdedf[104]](this[_0xdedf[87]])){return _0x4802x53};return mxVertexHandler[_0xdedf[0]][_0xdedf[103]][_0xdedf[30]](this,arguments)};_0x4802x54[_0xdedf[0]][_0xdedf[105]]= function(_0x4802x57,_0x4802x56){if(!_0x4802x56[_0xdedf[106]]()&& this[_0xdedf[107]]== _0x4802x53){var _0x4802x58= new mxPoint(_0x4802x56[_0xdedf[108]](),_0x4802x56[_0xdedf[109]]());this[_0xdedf[110]](_0x4802x58);var _0x4802x59=this[_0xdedf[84]][_0xdedf[112]](_0x4802x56[_0xdedf[111]]());var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];if(_0x4802x59&& this[_0xdedf[80]]){_0x4802x58[_0xdedf[68]]= this[_0xdedf[84]][_0xdedf[114]](_0x4802x58[_0xdedf[68]]/ _0x4802x5a)* _0x4802x5a;_0x4802x58[_0xdedf[69]]= this[_0xdedf[84]][_0xdedf[114]](_0x4802x58[_0xdedf[69]]/ _0x4802x5a)* _0x4802x5a};this[_0xdedf[115]](_0x4802x58);this[_0xdedf[116]](this[_0xdedf[87]],_0x4802x58[_0xdedf[68]],_0x4802x58[_0xdedf[69]]);this[_0xdedf[83]][_0xdedf[85]][_0xdedf[84]][_0xdedf[117]][_0xdedf[99]](this[_0xdedf[83]],true);_0x4802x56[_0xdedf[118]]()}else {mxVertexHandler[_0xdedf[0]][_0xdedf[105]][_0xdedf[30]](this,arguments)}};_0x4802x54[_0xdedf[0]][_0xdedf[119]]= function(_0x4802x57,_0x4802x56){if(!_0x4802x56[_0xdedf[106]]()&& this[_0xdedf[107]]== _0x4802x53){this[_0xdedf[120]]();this[_0xdedf[121]]();_0x4802x56[_0xdedf[118]]()}else {mxVertexHandler[_0xdedf[0]][_0xdedf[119]][_0xdedf[30]](this,arguments)}};_0x4802x54[_0xdedf[0]][_0xdedf[101]]= function(_0x4802x4f){var _0x4802x5b=this[_0xdedf[83]][_0xdedf[123]][_0xdedf[122]]();var _0x4802x5c=mxUtils[_0xdedf[124]](_0x4802x5b);var _0x4802x5d=Math[_0xdedf[125]](_0x4802x5c);var _0x4802x5e=Math[_0xdedf[126]](_0x4802x5c);var _0x4802x34= new mxRectangle(this[_0xdedf[83]][_0xdedf[68]],this[_0xdedf[83]][_0xdedf[69]],this[_0xdedf[83]][_0xdedf[70]],this[_0xdedf[83]][_0xdedf[71]]);if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[127]]()){var _0x4802x5f=(_0x4802x34[_0xdedf[70]]- _0x4802x34[_0xdedf[71]])/ 2;_0x4802x34[_0xdedf[68]]+= _0x4802x5f;_0x4802x34[_0xdedf[69]]-= _0x4802x5f;var _0x4802x23=_0x4802x34[_0xdedf[70]];_0x4802x34[_0xdedf[70]]= _0x4802x34[_0xdedf[71]];_0x4802x34[_0xdedf[71]]= _0x4802x23};var _0x4802x60=this[_0xdedf[128]](_0x4802x34);if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[129]]){_0x4802x60[_0xdedf[68]]= 2* _0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802x60[_0xdedf[68]]};if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[130]]){_0x4802x60[_0xdedf[69]]= 2* _0x4802x34[_0xdedf[69]]+ _0x4802x34[_0xdedf[71]]- _0x4802x60[_0xdedf[69]]};_0x4802x60= mxUtils[_0xdedf[133]](_0x4802x60,_0x4802x5d,_0x4802x5e, new mxPoint(this[_0xdedf[83]][_0xdedf[131]](),this[_0xdedf[83]][_0xdedf[132]]()));return new mxRectangle(_0x4802x60[_0xdedf[68]]- _0x4802x4f/ 2,_0x4802x60[_0xdedf[69]]- _0x4802x4f/ 2,_0x4802x4f,_0x4802x4f)};_0x4802x54[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){return null};_0x4802x54[_0xdedf[0]][_0xdedf[115]]= function(_0x4802x58){};_0x4802x54[_0xdedf[0]][_0xdedf[110]]= function(_0x4802x58){_0x4802x58[_0xdedf[68]]= Math[_0xdedf[34]](this[_0xdedf[83]][_0xdedf[68]],Math[_0xdedf[6]](this[_0xdedf[83]][_0xdedf[68]]+ this[_0xdedf[83]][_0xdedf[70]],_0x4802x58[_0xdedf[68]]));_0x4802x58[_0xdedf[69]]= Math[_0xdedf[34]](this[_0xdedf[83]][_0xdedf[69]],Math[_0xdedf[6]](this[_0xdedf[83]][_0xdedf[69]]+ this[_0xdedf[83]][_0xdedf[71]],_0x4802x58[_0xdedf[69]]))};_0x4802x54[_0xdedf[0]][_0xdedf[120]]= function(){};function _0x4802x61(_0x4802x33){_0x4802x54[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x61,_0x4802x54);_0x4802x61[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];var _0x4802xb=Math[_0xdedf[6]](_0x4802x34[_0xdedf[70]],mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[14],60)* _0x4802x5a);var _0x4802xc=Math[_0xdedf[6]](_0x4802x34[_0xdedf[71]],mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[15],20)* _0x4802x5a);var _0x4802xd=mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[16],_0xdedf[17]);var _0x4802x3=(_0x4802xd== _0xdedf[18])?_0x4802x34[_0xdedf[68]]+ _0x4802xb:_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802xb;return new mxPoint(_0x4802x3,_0x4802x34[_0xdedf[69]]+ _0x4802xc)};_0x4802x61[_0xdedf[0]][_0xdedf[115]]= function(_0x4802x58){var _0x4802x5b=this[_0xdedf[83]][_0xdedf[123]][_0xdedf[122]]();var _0x4802x5c=mxUtils[_0xdedf[124]](_0x4802x5b);var _0x4802x5d=Math[_0xdedf[125]](-_0x4802x5c);var _0x4802x5e=Math[_0xdedf[126]](-_0x4802x5c);var _0x4802x34= new mxRectangle(this[_0xdedf[83]][_0xdedf[68]],this[_0xdedf[83]][_0xdedf[69]],this[_0xdedf[83]][_0xdedf[70]],this[_0xdedf[83]][_0xdedf[71]]);if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[127]]()){var _0x4802x5f=(_0x4802x34[_0xdedf[70]]- _0x4802x34[_0xdedf[71]])/ 2;_0x4802x34[_0xdedf[68]]+= _0x4802x5f;_0x4802x34[_0xdedf[69]]-= _0x4802x5f;var _0x4802x23=_0x4802x34[_0xdedf[70]];_0x4802x34[_0xdedf[70]]= _0x4802x34[_0xdedf[71]];_0x4802x34[_0xdedf[71]]= _0x4802x23};var _0x4802x60= new mxPoint(_0x4802x58[_0xdedf[68]],_0x4802x58[_0xdedf[69]]);_0x4802x60= mxUtils[_0xdedf[133]](_0x4802x60,_0x4802x5d,_0x4802x5e, new mxPoint(this[_0xdedf[83]][_0xdedf[131]](),this[_0xdedf[83]][_0xdedf[132]]()));if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[129]]){_0x4802x60[_0xdedf[68]]= 2* _0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802x60[_0xdedf[68]]};if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[130]]){_0x4802x60[_0xdedf[69]]= 2* _0x4802x34[_0xdedf[69]]+ _0x4802x34[_0xdedf[71]]- _0x4802x60[_0xdedf[69]]};var _0x4802x62=this[_0xdedf[134]](_0x4802x60,_0x4802x34);if(_0x4802x62!= null){if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[129]]){_0x4802x62[_0xdedf[68]]= 2* _0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802x62[_0xdedf[68]]};if(this[_0xdedf[83]][_0xdedf[123]][_0xdedf[130]]){_0x4802x62[_0xdedf[69]]= 2* _0x4802x34[_0xdedf[69]]+ _0x4802x34[_0xdedf[71]]- _0x4802x62[_0xdedf[69]]};_0x4802x5d= Math[_0xdedf[125]](_0x4802x5c);_0x4802x5e= Math[_0xdedf[126]](_0x4802x5c);_0x4802x62= mxUtils[_0xdedf[133]](_0x4802x62,_0x4802x5d,_0x4802x5e, new mxPoint(this[_0xdedf[83]][_0xdedf[131]](),this[_0xdedf[83]][_0xdedf[132]]()));_0x4802x58[_0xdedf[68]]= _0x4802x62[_0xdedf[68]];_0x4802x58[_0xdedf[69]]= _0x4802x62[_0xdedf[69]]}};_0x4802x61[_0xdedf[0]][_0xdedf[134]]= function(_0x4802x60,_0x4802x34){var _0x4802xd=mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[16],_0xdedf[17]);var _0x4802xb=(_0x4802xd== _0xdedf[18])?_0x4802x60[_0xdedf[68]]- _0x4802x34[_0xdedf[68]]:_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802x60[_0xdedf[68]];var _0x4802xc=_0x4802x60[_0xdedf[69]]- _0x4802x34[_0xdedf[69]];var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];this[_0xdedf[83]][_0xdedf[4]][_0xdedf[14]]= Math[_0xdedf[135]](Math[_0xdedf[34]](1,_0x4802xb)/ _0x4802x5a);this[_0xdedf[83]][_0xdedf[4]][_0xdedf[15]]= Math[_0xdedf[135]](Math[_0xdedf[34]](1,_0x4802xc)/ _0x4802x5a)};_0x4802x61[_0xdedf[0]][_0xdedf[120]]= function(){var _0x4802x63=this[_0xdedf[84]][_0xdedf[136]]();_0x4802x63[_0xdedf[137]]();try{this[_0xdedf[83]][_0xdedf[85]][_0xdedf[84]][_0xdedf[139]](_0xdedf[14],this[_0xdedf[83]][_0xdedf[4]][_0xdedf[14]],[this[_0xdedf[83]][_0xdedf[138]]]);this[_0xdedf[83]][_0xdedf[85]][_0xdedf[84]][_0xdedf[139]](_0xdedf[15],this[_0xdedf[83]][_0xdedf[4]][_0xdedf[15]],[this[_0xdedf[83]][_0xdedf[138]]])}finally{_0x4802x63[_0xdedf[140]]()}};function _0x4802x64(_0x4802x33){_0x4802x61[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x64,_0x4802x61);_0x4802x64[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];var _0x4802x65=mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]/ 2,_0x4802x34[_0xdedf[69]]+ Math[_0xdedf[6]](_0x4802x34[_0xdedf[71]],_0x4802x65* _0x4802x5a))};_0x4802x64[_0xdedf[0]][_0xdedf[134]]= function(_0x4802x58,_0x4802x34){_0x4802x58[_0xdedf[68]]= _0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]/ 2;startSize= _0x4802x58[_0xdedf[69]]- _0x4802x34[_0xdedf[69]];var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];this[_0xdedf[83]][_0xdedf[4]][_0xdedf[141]]= Math[_0xdedf[135]](Math[_0xdedf[34]](1,startSize)/ _0x4802x5a);return _0x4802x58};_0x4802x64[_0xdedf[0]][_0xdedf[120]]= function(){this[_0xdedf[83]][_0xdedf[85]][_0xdedf[84]][_0xdedf[139]](_0xdedf[141],this[_0xdedf[83]][_0xdedf[4]][_0xdedf[141]],[this[_0xdedf[83]][_0xdedf[138]]])};function _0x4802x66(_0x4802x33){_0x4802x61[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x66,_0x4802x61);_0x4802x66[_0xdedf[0]][_0xdedf[142]]= 20;_0x4802x66[_0xdedf[0]][_0xdedf[143]]= 1;_0x4802x66[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];var _0x4802x67=Math[_0xdedf[6]](_0x4802x34[_0xdedf[70]],Math[_0xdedf[6]](_0x4802x34[_0xdedf[71]],mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[2],this[_0xdedf[142]])* _0x4802x5a/ this[_0xdedf[143]]));return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x67,_0x4802x34[_0xdedf[69]]+ _0x4802x67)};_0x4802x66[_0xdedf[0]][_0xdedf[134]]= function(_0x4802x60,_0x4802x34){var _0x4802x4f=Math[_0xdedf[34]](0,Math[_0xdedf[6]](Math[_0xdedf[6]](_0x4802x34[_0xdedf[70]]/ this[_0xdedf[143]],_0x4802x60[_0xdedf[68]]- _0x4802x34[_0xdedf[68]]),Math[_0xdedf[6]](_0x4802x34[_0xdedf[71]]/ this[_0xdedf[143]],_0x4802x60[_0xdedf[69]]- _0x4802x34[_0xdedf[69]])));var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];this[_0xdedf[83]][_0xdedf[4]][_0xdedf[2]]= Math[_0xdedf[135]](Math[_0xdedf[34]](1,_0x4802x4f)/ _0x4802x5a)* this[_0xdedf[143]];return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x4f,_0x4802x34[_0xdedf[69]]+ _0x4802x4f)};_0x4802x66[_0xdedf[0]][_0xdedf[120]]= function(){this[_0xdedf[83]][_0xdedf[85]][_0xdedf[84]][_0xdedf[139]](_0xdedf[2],this[_0xdedf[83]][_0xdedf[4]][_0xdedf[2]],[this[_0xdedf[83]][_0xdedf[138]]])};function _0x4802x68(_0x4802x33){_0x4802x66[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x68,_0x4802x66);_0x4802x68[_0xdedf[0]][_0xdedf[142]]= 30;_0x4802x68[_0xdedf[0]][_0xdedf[143]]= 2;function _0x4802x69(_0x4802x33){_0x4802x66[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x69,_0x4802x66);_0x4802x69[_0xdedf[0]][_0xdedf[142]]= 30;_0x4802x69[_0xdedf[0]][_0xdedf[143]]= 1;_0x4802x69[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];var _0x4802x67=Math[_0xdedf[6]](_0x4802x34[_0xdedf[70]],Math[_0xdedf[6]](_0x4802x34[_0xdedf[71]],mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[2],this[_0xdedf[142]])* _0x4802x5a/ this[_0xdedf[143]]));return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802x67,_0x4802x34[_0xdedf[69]]+ _0x4802x67)};_0x4802x69[_0xdedf[0]][_0xdedf[134]]= function(_0x4802x60,_0x4802x34){var _0x4802x4f=Math[_0xdedf[34]](0,Math[_0xdedf[6]](Math[_0xdedf[6]](_0x4802x34[_0xdedf[70]]/ this[_0xdedf[143]],_0x4802x60[_0xdedf[68]]- _0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]),Math[_0xdedf[6]](_0x4802x34[_0xdedf[71]]/ this[_0xdedf[143]],_0x4802x60[_0xdedf[69]]- _0x4802x34[_0xdedf[69]])));var _0x4802x5a=this[_0xdedf[84]][_0xdedf[93]]()[_0xdedf[113]];this[_0xdedf[83]][_0xdedf[4]][_0xdedf[2]]= Math[_0xdedf[135]](Math[_0xdedf[34]](1,_0x4802x4f)/ _0x4802x5a)* this[_0xdedf[143]];return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]- _0x4802x4f,_0x4802x34[_0xdedf[69]]+ _0x4802x4f)};function _0x4802x6a(_0x4802x33){_0x4802x66[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x6a,_0x4802x66);_0x4802x6a[_0xdedf[0]][_0xdedf[142]]= 0.2;_0x4802x6a[_0xdedf[0]][_0xdedf[143]]= 1;_0x4802x6a[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){var _0x4802x67=mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[2],this[_0xdedf[142]]);return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]* _0x4802x67,_0x4802x34[_0xdedf[69]]+ _0x4802x34[_0xdedf[71]]/ 2)};_0x4802x6a[_0xdedf[0]][_0xdedf[134]]= function(_0x4802x60,_0x4802x34){var _0x4802x4f=Math[_0xdedf[6]](1,(_0x4802x60[_0xdedf[68]]- _0x4802x34[_0xdedf[68]])/ _0x4802x34[_0xdedf[70]]);this[_0xdedf[83]][_0xdedf[4]][_0xdedf[2]]= _0x4802x4f;return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x4f* _0x4802x34[_0xdedf[70]],_0x4802x34[_0xdedf[69]]+ _0x4802x34[_0xdedf[71]]/ 2)};function _0x4802x6b(_0x4802x33){_0x4802x66[_0xdedf[24]](this,_0x4802x33)}mxUtils[_0xdedf[25]](_0x4802x6b,_0x4802x66);_0x4802x6b[_0xdedf[0]][_0xdedf[142]]= 0.4;_0x4802x6b[_0xdedf[0]][_0xdedf[143]]= 1;_0x4802x6b[_0xdedf[0]][_0xdedf[128]]= function(_0x4802x34){var _0x4802x67=mxUtils[_0xdedf[5]](this[_0xdedf[83]][_0xdedf[4]],_0xdedf[2],this[_0xdedf[142]]);return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]/ 2,_0x4802x34[_0xdedf[69]]+ _0x4802x67* _0x4802x34[_0xdedf[71]]/ 2)};_0x4802x6b[_0xdedf[0]][_0xdedf[134]]= function(_0x4802x60,_0x4802x34){var _0x4802x4f=Math[_0xdedf[34]](0,Math[_0xdedf[6]](1,((_0x4802x60[_0xdedf[69]]- _0x4802x34[_0xdedf[69]])/ _0x4802x34[_0xdedf[71]])* 2));this[_0xdedf[83]][_0xdedf[4]][_0xdedf[2]]= _0x4802x4f;return new mxPoint(_0x4802x34[_0xdedf[68]]+ _0x4802x34[_0xdedf[70]]/ 2,_0x4802x34[_0xdedf[69]]+ _0x4802x4f* _0x4802x34[_0xdedf[71]]/ 2)};var _0x4802x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0x4802x64,"\x66\x6F\x6C\x64\x65\x72":_0x4802x61,"\x63\x75\x62\x65":_0x4802x66,"\x63\x61\x72\x64":_0x4802x68,"\x6E\x6F\x74\x65":_0x4802x69,"\x73\x74\x65\x70":_0x4802x6a,"\x74\x61\x70\x65":_0x4802x6b};var _0x4802x6d=mxGraph[_0xdedf[0]][_0xdedf[144]];mxGraph[_0xdedf[0]][_0xdedf[144]]= function(_0x4802x33){if(_0x4802x33!= null){var _0x4802x6e=_0x4802x6c[_0x4802x33[_0xdedf[4]][_0xdedf[123]]];if(_0x4802x6e!= null){return new _0x4802x6e(_0x4802x33)}};return _0x4802x6d[_0xdedf[30]](this,arguments)}};mxGraph[_0xdedf[0]][_0xdedf[145]]= function(_0x4802x6f,_0x4802x50){if(_0x4802x6f!= null&& _0x4802x6f[_0xdedf[123]]!= null){if(_0x4802x6f[_0xdedf[123]][_0xdedf[146]]!= null){if(_0x4802x6f[_0xdedf[123]][_0xdedf[146]]!= null){return _0x4802x6f[_0xdedf[123]][_0xdedf[146]][_0xdedf[147]]}}else {if(_0x4802x6f[_0xdedf[123]][_0xdedf[147]]!= null){return _0x4802x6f[_0xdedf[123]][_0xdedf[147]]}}};return null};mxRectangleShape[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxLabel[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];mxImageShape[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];mxSwimlane[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];_0x4802x14[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];_0x4802x9[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];_0x4802x10[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];_0x4802x1[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];_0x4802xa[_0xdedf[0]][_0xdedf[147]]= mxRectangleShape[_0xdedf[0]][_0xdedf[147]];mxCylinder[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.15,0.05),false), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.85,0.05),false), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.3),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.7),true), new mxConnectionConstraint( new mxPoint(0.15,0.95),false), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.85,0.95),false)];_0x4802x25[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.1),false), new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.75,0.1),false), new mxConnectionConstraint( new mxPoint(0,1/ 3),false), new mxConnectionConstraint( new mxPoint(0,1),false), new mxConnectionConstraint( new mxPoint(1,1/ 3),false), new mxConnectionConstraint( new mxPoint(1,1),false), new mxConnectionConstraint( new mxPoint(0.5,0.5),false)];_0x4802x28[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxActor[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.25,0.2),false), new mxConnectionConstraint( new mxPoint(0.1,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.75,0.25),false), new mxConnectionConstraint( new mxPoint(0.9,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];_0x4802x11[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.35),false), new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.65),false), new mxConnectionConstraint( new mxPoint(1,0.35),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.65),false), new mxConnectionConstraint( new mxPoint(0.25,1),false), new mxConnectionConstraint( new mxPoint(0.75,0),false)];_0x4802x13[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true), new mxConnectionConstraint( new mxPoint(0.1,0.25),false), new mxConnectionConstraint( new mxPoint(0.2,0.5),false), new mxConnectionConstraint( new mxPoint(0.1,0.75),false), new mxConnectionConstraint( new mxPoint(0.9,0.25),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(0.9,0.75),false)];mxLine[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0.25,0.5),false), new mxConnectionConstraint( new mxPoint(0.75,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.5),false)];_0x4802x26[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0,0),true), new mxConnectionConstraint( new mxPoint(1,0),true), new mxConnectionConstraint( new mxPoint(0,1),true), new mxConnectionConstraint( new mxPoint(1,1),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5))];mxDoubleEllipse[_0xdedf[0]][_0xdedf[147]]= mxEllipse[_0xdedf[0]][_0xdedf[147]];mxRhombus[_0xdedf[0]][_0xdedf[147]]= mxEllipse[_0xdedf[0]][_0xdedf[147]];mxTriangle[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(1,0.5),true)];mxHexagon[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.375,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.625,0),true), new mxConnectionConstraint( new mxPoint(0.125,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0.125,0.75),false), new mxConnectionConstraint( new mxPoint(0.875,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(0.875,0.75),false), new mxConnectionConstraint( new mxPoint(0.375,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.625,1),true)];mxCloud[_0xdedf[0]][_0xdedf[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.25),false), new mxConnectionConstraint( new mxPoint(0.4,0.1),false), new mxConnectionConstraint( new mxPoint(0.16,0.55),false), new mxConnectionConstraint( new mxPoint(0.07,0.4),false), new mxConnectionConstraint( new mxPoint(0.31,0.8),false), new mxConnectionConstraint( new mxPoint(0.13,0.77),false), new mxConnectionConstraint( new mxPoint(0.8,0.8),false), new mxConnectionConstraint( new mxPoint(0.55,0.95),false), new mxConnectionConstraint( new mxPoint(0.875,0.5),false), new mxConnectionConstraint( new mxPoint(0.96,0.7),false), new mxConnectionConstraint( new mxPoint(0.625,0.2),false), new mxConnectionConstraint( new mxPoint(0.88,0.25),false)];mxArrow[_0xdedf[0]][_0xdedf[147]]= null})() \ 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 d494dbe..d677965 100644 --- a/public/assets/plugins/jscripty/js/Sidebar.js +++ b/public/assets/plugins/jscripty/js/Sidebar.js @@ -1 +1 @@ -var _0x55c0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x61\x6C\x65\x74\x74\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x67\x72\x61\x70\x68","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x65\x64\x69\x74\x6F\x72","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x6D\x6F\x75\x73\x65\x75\x70","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x74\x6F\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C\x61\x74\x65\x64\x54\x61\x72\x67\x65\x74","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x74\x6F\x6F\x6C\x74\x69\x70\x2E\x70\x6E\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67","\x65\x6E\x74\x72\x79","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x67\x65\x74","\x2F","\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x73\x74\x61\x72\x74","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x69\x6E\x70\x75\x74","\x65\x6E\x64","\x61\x64\x64\x49\x6D\x61\x67\x65\x50\x61\x6C\x65\x74\x74\x65","\x65\x6E\x61\x62\x6C\x65\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x42\x6F\x72\x64\x65\x72","\x74\x68\x75\x6D\x62\x42\x6F\x72\x64\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x44\x65\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x61\x72\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x69\x70\x61\x72\x74\x2F\x47\x65\x61\x72\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x74\x68\x75\x6D\x62\x57\x69\x64\x74\x68","\x74\x68\x75\x6D\x62\x48\x65\x69\x67\x68\x74","\x74\x68\x75\x6D\x62\x50\x61\x64\x64\x69\x6E\x67","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x53\x69\x7A\x65","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70","\x74\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x72\x61\x70\x68\x32","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x76\x69\x65\x77","\x49\x53\x5F\x53\x56\x47","\x63\x61\x6E\x76\x61\x73","\x72\x65\x6C\x61\x74\x69\x76\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x31\x34\x70\x78","\x68\x65\x69\x67\x68\x74","\x32\x37\x70\x78","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x63\x6C\x65\x61\x72","\x6D\x6F\x64\x65\x6C","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x76\x69\x73\x69\x62\x6C\x65","\x70\x78","\x6C\x65\x6E\x67\x74\x68","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x61\x79","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x65\x6E\x74\x65\x72","\x31\x30\x30\x25","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x32\x70\x78","\x36\x70\x78","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x77\x72\x69\x74\x65","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x74\x6F\x70","\x6E\x6F\x6E\x65","\x78","\x6D\x69\x6E","\x79","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x6D\x61\x78","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x29","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x65\x66\x74","\x64\x72\x61\x77\x50\x61\x6E\x65","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x54\x69\x74\x6C\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x68\x75\x6D\x62","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x66\x6C\x6F\x6F\x72","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x4E\x4F\x5F\x46\x4F","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x49\x53\x5F\x49\x45\x36","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x63\x75\x72\x73\x6F\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x49\x53\x5F\x49\x45","\x34\x70\x78","\x63\x72\x65\x61\x74\x65\x49\x74\x65\x6D","\x67\x65\x49\x74\x65\x6D","\x70\x61\x64\x64\x69\x6E\x67","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x63\x72\x65\x61\x74\x65\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x50\x72\x65\x76\x69\x65\x77","\x62\x6F\x72\x64\x65\x72","\x31\x70\x78\x20\x64\x61\x73\x68\x65\x64\x20\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x53\x6F\x75\x72\x63\x65","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x61\x70\x70\x6C\x79","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x6D\x6F\x75\x73\x65\x55\x70","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x61\x62\x73","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x64\x72\x6F\x70","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6C\x61\x62\x65\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65","\x69\x64","\x74\x65\x78\x74","\x73\x74\x61\x74\x65","\x30","\x4F\x46\x46","\x6F\x74\x68\x65\x72","\x61\x64\x64","\x76\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x65\x64\x67\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x23\x66\x66\x66\x66\x66\x66","\x61\x64\x64\x50\x61\x6C\x65\x74\x74\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72","\x61\x64\x64\x46\x6F\x6C\x64\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66\x29","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x31\x30\x30\x25\x20\x35\x30\x25","\x77\x61\x69\x74","\x72\x65\x6D\x6F\x76\x65\x50\x61\x6C\x65\x74\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D"];_0x55c0[0];function Sidebar(_0x74d7x2,_0x74d7x3){this[_0x55c0[1]]= _0x74d7x2;this[_0x55c0[2]]= _0x74d7x3;this[_0x55c0[3]]= new Object();this[_0x55c0[4]]= true;this[_0x55c0[5]]= new Graph(document[_0x55c0[7]](_0x55c0[6]),null,null,this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]][_0x55c0[8]]());this[_0x55c0[5]][_0x55c0[10]]= false;this[_0x55c0[5]][_0x55c0[11]]= false;this[_0x55c0[5]][_0x55c0[12]](false);this[_0x55c0[5]][_0x55c0[13]]= false;this[_0x55c0[5]][_0x55c0[14]](false);this[_0x55c0[5]][_0x55c0[15]](false);this[_0x55c0[5]][_0x55c0[2]][_0x55c0[17]][_0x55c0[16]]= _0x55c0[18];this[_0x55c0[5]][_0x55c0[2]][_0x55c0[17]][_0x55c0[19]]= _0x55c0[20];document[_0x55c0[22]][_0x55c0[21]](this[_0x55c0[5]][_0x55c0[2]]);if(!mxClient[_0x55c0[23]]){mxEvent[_0x55c0[26]](document,_0x55c0[24],mxUtils[_0x55c0[25]](this,function(){this[_0x55c0[4]]= true}));mxEvent[_0x55c0[26]](_0x74d7x3,_0x55c0[27],mxUtils[_0x55c0[25]](this,function(){this[_0x55c0[4]]= true}));mxEvent[_0x55c0[26]](document,_0x55c0[28],mxUtils[_0x55c0[25]](this,function(){this[_0x55c0[4]]= false;this[_0x55c0[29]]()}));mxEvent[_0x55c0[26]](document,_0x55c0[30],mxUtils[_0x55c0[25]](this,function(_0x74d7x4){var _0x74d7x5=mxEvent[_0x55c0[31]](_0x74d7x4);while(_0x74d7x5!= null){if(_0x74d7x5== this[_0x55c0[32]]){return};_0x74d7x5= _0x74d7x5[_0x55c0[33]]};this[_0x55c0[29]]()}));mxEvent[_0x55c0[26]](document,_0x55c0[34],mxUtils[_0x55c0[25]](this,function(_0x74d7x4){if(_0x74d7x4[_0x55c0[35]]== null&& _0x74d7x4[_0x55c0[36]]== null){this[_0x55c0[29]]()}}))};this[_0x55c0[37]](); new Image()[_0x55c0[38]]= IMAGE_PATH+ _0x55c0[39]}Sidebar[_0x55c0[40]][_0x55c0[37]]= function(){var _0x74d7x6=STENCIL_PATH;console[_0x55c0[41]](_0x74d7x6);this[_0x55c0[51]](_0x55c0[42],mxResources[_0x55c0[44]](_0x55c0[43]),_0x74d7x6+ _0x55c0[45],_0x55c0[46],[_0x55c0[47],_0x55c0[48],_0x55c0[49],_0x55c0[50]],[mxResources[_0x55c0[44]](_0x55c0[47]),mxResources[_0x55c0[44]](_0x55c0[48]),mxResources[_0x55c0[44]](_0x55c0[49]),mxResources[_0x55c0[44]](_0x55c0[50])])};Sidebar[_0x55c0[40]][_0x55c0[52]]= !mxClient[_0x55c0[23]];Sidebar[_0x55c0[40]][_0x55c0[53]]= 16;Sidebar[_0x55c0[40]][_0x55c0[54]]= 3;Sidebar[_0x55c0[40]][_0x55c0[55]]= 300;Sidebar[_0x55c0[40]][_0x55c0[56]]= true;Sidebar[_0x55c0[40]][_0x55c0[57]]= STENCIL_PATH+ _0x55c0[58];Sidebar[_0x55c0[40]][_0x55c0[59]]= 34;Sidebar[_0x55c0[40]][_0x55c0[60]]= 34;Sidebar[_0x55c0[40]][_0x55c0[61]]= 2;Sidebar[_0x55c0[40]][_0x55c0[62]]= 9;Sidebar[_0x55c0[40]][_0x55c0[63]]= false;Sidebar[_0x55c0[40]][_0x55c0[64]]= false;Sidebar[_0x55c0[40]][_0x55c0[65]]= function(_0x74d7x7,_0x74d7x8,_0x74d7x9,_0x74d7xa){if(this[_0x55c0[52]]&& this[_0x55c0[4]]){if(this[_0x55c0[32]]!= _0x74d7x7){if(this[_0x55c0[66]]!= null){window[_0x55c0[67]](this[_0x55c0[66]]);this[_0x55c0[66]]= null};var _0x74d7xb=mxUtils[_0x55c0[25]](this,function(){if(this[_0x55c0[68]]== null){this[_0x55c0[68]]= document[_0x55c0[7]](_0x55c0[6]);this[_0x55c0[68]][_0x55c0[69]]= _0x55c0[70];document[_0x55c0[22]][_0x55c0[21]](this[_0x55c0[68]]);this[_0x55c0[71]]= new Graph(this[_0x55c0[68]],null,null,this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]][_0x55c0[8]]());this[_0x55c0[71]][_0x55c0[73]][_0x55c0[72]](this[_0x55c0[53]],this[_0x55c0[53]]);this[_0x55c0[71]][_0x55c0[10]]= false;this[_0x55c0[71]][_0x55c0[11]]= false;this[_0x55c0[71]][_0x55c0[13]]= false;this[_0x55c0[71]][_0x55c0[14]](false);this[_0x55c0[71]][_0x55c0[12]](false);this[_0x55c0[71]][_0x55c0[15]](false);if(!mxClient[_0x55c0[74]]){this[_0x55c0[71]][_0x55c0[73]][_0x55c0[75]][_0x55c0[17]][_0x55c0[19]]= _0x55c0[76]};this[_0x55c0[77]]= mxUtils[_0x55c0[78]](IMAGE_PATH+ _0x55c0[39]);this[_0x55c0[77]][_0x55c0[17]][_0x55c0[19]]= _0x55c0[20];this[_0x55c0[77]][_0x55c0[17]][_0x55c0[79]]= _0x55c0[80];this[_0x55c0[77]][_0x55c0[17]][_0x55c0[81]]= _0x55c0[82];document[_0x55c0[22]][_0x55c0[21]](this[_0x55c0[77]])};this[_0x55c0[68]][_0x55c0[17]][_0x55c0[83]]= _0x55c0[84];this[_0x55c0[71]][_0x55c0[85]]= (_0x74d7xa== null|| _0x74d7xa);this[_0x55c0[71]][_0x55c0[87]][_0x55c0[86]]();this[_0x55c0[71]][_0x55c0[88]](_0x74d7x8);var _0x74d7xc=this[_0x55c0[71]][_0x55c0[89]]();var _0x74d7xd=_0x74d7xc[_0x55c0[79]]+ 2* this[_0x55c0[53]];var _0x74d7xe=_0x74d7xc[_0x55c0[81]]+ 2* this[_0x55c0[53]];if(mxClient[_0x55c0[90]]){_0x74d7xd+= 4;_0x74d7xe+= 4;this[_0x55c0[68]][_0x55c0[17]][_0x55c0[91]]= _0x55c0[18]}else {this[_0x55c0[68]][_0x55c0[17]][_0x55c0[91]]= _0x55c0[92]};this[_0x55c0[77]][_0x55c0[17]][_0x55c0[16]]= _0x55c0[92];this[_0x55c0[68]][_0x55c0[17]][_0x55c0[79]]= _0x74d7xd+ _0x55c0[93];if(this[_0x55c0[64]]&& _0x74d7x9!= null&& _0x74d7x9[_0x55c0[94]]> 0){if(this[_0x55c0[95]]== null){this[_0x55c0[95]]= document[_0x55c0[7]](_0x55c0[6]);this[_0x55c0[95]][_0x55c0[17]][_0x55c0[96]]= _0x55c0[97];this[_0x55c0[95]][_0x55c0[17]][_0x55c0[98]]= _0x55c0[99];this[_0x55c0[95]][_0x55c0[17]][_0x55c0[79]]= _0x55c0[100];this[_0x55c0[95]][_0x55c0[17]][_0x55c0[91]]= _0x55c0[18];if(mxClient[_0x55c0[74]]){this[_0x55c0[95]][_0x55c0[17]][_0x55c0[101]]= _0x55c0[102]}else {this[_0x55c0[95]][_0x55c0[17]][_0x55c0[19]]= _0x55c0[20];this[_0x55c0[95]][_0x55c0[17]][_0x55c0[101]]= _0x55c0[103]};this[_0x55c0[68]][_0x55c0[21]](this[_0x55c0[95]])}else {this[_0x55c0[95]][_0x55c0[104]]= _0x55c0[105]};this[_0x55c0[95]][_0x55c0[17]][_0x55c0[83]]= _0x55c0[105];mxUtils[_0x55c0[106]](this[_0x55c0[95]],_0x74d7x9);var _0x74d7xf=this[_0x55c0[95]][_0x55c0[107]]+ 10;_0x74d7xe+= _0x74d7xf;if(mxClient[_0x55c0[74]]){this[_0x55c0[95]][_0x55c0[17]][_0x55c0[108]]= (-_0x74d7xf) + _0x55c0[93]}else {_0x74d7xe-= 6;this[_0x55c0[95]][_0x55c0[17]][_0x55c0[109]]= (_0x74d7xe- _0x74d7xf)+ _0x55c0[93]}}else {if(this[_0x55c0[95]]!= null&& this[_0x55c0[95]][_0x55c0[33]]!= null){this[_0x55c0[95]][_0x55c0[17]][_0x55c0[83]]= _0x55c0[110]}};this[_0x55c0[68]][_0x55c0[17]][_0x55c0[81]]= _0x74d7xe+ _0x55c0[93];var _0x74d7x10=-Math[_0x55c0[112]](0,_0x74d7xc[_0x55c0[111]]- this[_0x55c0[53]]);var _0x74d7x11=-Math[_0x55c0[112]](0,_0x74d7xc[_0x55c0[113]]- this[_0x55c0[53]]);var _0x74d7x12=this[_0x55c0[2]][_0x55c0[114]]+ this[_0x55c0[1]][_0x55c0[115]]+ 3;var _0x74d7x13=Math[_0x55c0[118]](0,(this[_0x55c0[2]][_0x55c0[116]]+ _0x74d7x7[_0x55c0[116]]- this[_0x55c0[2]][_0x55c0[117]]- _0x74d7xe/ 2+ 16));if(mxClient[_0x55c0[74]]){this[_0x55c0[71]][_0x55c0[73]][_0x55c0[75]][_0x55c0[123]](_0x55c0[119],_0x55c0[120]+ _0x74d7x10+ _0x55c0[121]+ _0x74d7x11+ _0x55c0[122])}else {this[_0x55c0[71]][_0x55c0[73]][_0x55c0[125]][_0x55c0[17]][_0x55c0[124]]= _0x74d7x10+ _0x55c0[93];this[_0x55c0[71]][_0x55c0[73]][_0x55c0[125]][_0x55c0[17]][_0x55c0[109]]= _0x74d7x11+ _0x55c0[93]};_0x74d7x13+= 90;this[_0x55c0[68]][_0x55c0[17]][_0x55c0[19]]= _0x55c0[20];this[_0x55c0[68]][_0x55c0[17]][_0x55c0[124]]= _0x74d7x12+ _0x55c0[93];this[_0x55c0[68]][_0x55c0[17]][_0x55c0[109]]= _0x74d7x13+ _0x55c0[93];this[_0x55c0[77]][_0x55c0[17]][_0x55c0[124]]= (_0x74d7x12- 13)+ _0x55c0[93];this[_0x55c0[77]][_0x55c0[17]][_0x55c0[109]]= (_0x74d7x13+ _0x74d7xe/ 2- 13)+ _0x55c0[93]});if(this[_0x55c0[68]]!= null&& this[_0x55c0[68]][_0x55c0[17]][_0x55c0[83]]!= _0x55c0[110]){_0x74d7xb()}else {this[_0x55c0[66]]= window[_0x55c0[126]](_0x74d7xb,this[_0x55c0[55]])};this[_0x55c0[32]]= _0x74d7x7}}};Sidebar[_0x55c0[40]][_0x55c0[29]]= function(){if(this[_0x55c0[66]]!= null){window[_0x55c0[67]](this[_0x55c0[66]]);this[_0x55c0[66]]= null};if(this[_0x55c0[68]]!= null){this[_0x55c0[68]][_0x55c0[17]][_0x55c0[83]]= _0x55c0[110];this[_0x55c0[77]][_0x55c0[17]][_0x55c0[16]]= _0x55c0[18];this[_0x55c0[32]]= null}};Sidebar[_0x55c0[40]][_0x55c0[127]]= function(_0x74d7x14){var _0x74d7x7=document[_0x55c0[7]](_0x55c0[128]);_0x74d7x7[_0x55c0[123]](_0x55c0[129],_0x55c0[130]);_0x74d7x7[_0x55c0[69]]= _0x55c0[131];mxUtils[_0x55c0[106]](_0x74d7x7,_0x74d7x14);return _0x74d7x7};Sidebar[_0x55c0[40]][_0x55c0[132]]= function(_0x74d7x8,_0x74d7xd,_0x74d7xe,_0x74d7x15,_0x74d7x9,_0x74d7xa){this[_0x55c0[5]][_0x55c0[85]]= (_0x74d7xa== null|| _0x74d7xa);this[_0x55c0[5]][_0x55c0[73]][_0x55c0[133]](1,0,0);this[_0x55c0[5]][_0x55c0[88]](_0x74d7x8);var _0x74d7xc=this[_0x55c0[5]][_0x55c0[89]]();var _0x74d7x16=this[_0x55c0[54]];var _0x74d7x17=Math[_0x55c0[112]]((_0x74d7xd- 2)/ (_0x74d7xc[_0x55c0[79]]- _0x74d7xc[_0x55c0[111]]+ _0x74d7x16),(_0x74d7xe- 2)/ (_0x74d7xc[_0x55c0[81]]- _0x74d7xc[_0x55c0[113]]+ _0x74d7x16));var _0x74d7x10=-Math[_0x55c0[112]](_0x74d7xc[_0x55c0[111]],0);var _0x74d7x11=-Math[_0x55c0[112]](_0x74d7xc[_0x55c0[113]],0);this[_0x55c0[5]][_0x55c0[73]][_0x55c0[133]](_0x74d7x17,_0x74d7x10,_0x74d7x11);_0x74d7xc= this[_0x55c0[5]][_0x55c0[89]]();var _0x74d7x18=Math[_0x55c0[118]](0,Math[_0x55c0[134]]((_0x74d7xd- _0x74d7xc[_0x55c0[79]]- _0x74d7xc[_0x55c0[111]])/ 2));var _0x74d7xf=Math[_0x55c0[118]](0,Math[_0x55c0[134]]((_0x74d7xe- _0x74d7xc[_0x55c0[81]]- _0x74d7xc[_0x55c0[113]])/ 2));var _0x74d7x19=null;if(this[_0x55c0[5]][_0x55c0[135]]== mxConstants[_0x55c0[136]]&& !mxClient[_0x55c0[137]]){_0x74d7x19= this[_0x55c0[5]][_0x55c0[73]][_0x55c0[140]]()[_0x55c0[139]][_0x55c0[138]](true)}else {_0x74d7x19= this[_0x55c0[5]][_0x55c0[2]][_0x55c0[138]](false);_0x74d7x19[_0x55c0[104]]= this[_0x55c0[5]][_0x55c0[2]][_0x55c0[104]]};this[_0x55c0[5]][_0x55c0[141]]()[_0x55c0[86]]();if(mxClient[_0x55c0[142]]){_0x74d7x15[_0x55c0[17]][_0x55c0[143]]= _0x55c0[144]+ this[_0x55c0[1]][_0x55c0[9]][_0x55c0[145]]+ _0x55c0[122]};var _0x74d7x1a=3;_0x74d7x19[_0x55c0[17]][_0x55c0[19]]= _0x55c0[76];_0x74d7x19[_0x55c0[17]][_0x55c0[91]]= _0x55c0[18];_0x74d7x19[_0x55c0[17]][_0x55c0[146]]= _0x55c0[147];_0x74d7x19[_0x55c0[17]][_0x55c0[124]]= (_0x74d7x18+ _0x74d7x1a)+ _0x55c0[93];_0x74d7x19[_0x55c0[17]][_0x55c0[109]]= (_0x74d7xf+ _0x74d7x1a)+ _0x55c0[93];_0x74d7x19[_0x55c0[17]][_0x55c0[79]]= _0x74d7xd+ _0x55c0[93];_0x74d7x19[_0x55c0[17]][_0x55c0[81]]= _0x74d7xe+ _0x55c0[93];_0x74d7x19[_0x55c0[17]][_0x55c0[16]]= _0x55c0[105];_0x74d7x19[_0x55c0[17]][_0x55c0[148]]= _0x55c0[105];_0x74d7x19[_0x55c0[17]][_0x55c0[149]]= _0x55c0[105];_0x74d7x15[_0x55c0[21]](_0x74d7x19);if(this[_0x55c0[63]]&& _0x74d7x9!= null){var _0x74d7x1b=(mxClient[_0x55c0[90]])?2* this[_0x55c0[61]]+ 2:0;_0x74d7x15[_0x55c0[17]][_0x55c0[81]]= (this[_0x55c0[60]]+ _0x74d7x1b+ this[_0x55c0[62]]+ 8)+ _0x55c0[93];var _0x74d7x1c=document[_0x55c0[7]](_0x55c0[6]);_0x74d7x1c[_0x55c0[17]][_0x55c0[150]]= this[_0x55c0[62]]+ _0x55c0[93];_0x74d7x1c[_0x55c0[17]][_0x55c0[98]]= _0x55c0[99];_0x74d7x1c[_0x55c0[17]][_0x55c0[151]]= _0x55c0[152];if(mxClient[_0x55c0[153]]){_0x74d7x1c[_0x55c0[17]][_0x55c0[81]]= (this[_0x55c0[62]]+ 12)+ _0x55c0[93]};_0x74d7x1c[_0x55c0[17]][_0x55c0[101]]= _0x55c0[154];mxUtils[_0x55c0[106]](_0x74d7x1c,_0x74d7x9);_0x74d7x15[_0x55c0[21]](_0x74d7x1c)}};Sidebar[_0x55c0[40]][_0x55c0[155]]= function(_0x74d7x8,_0x74d7x9,_0x74d7xa){var _0x74d7x7=document[_0x55c0[7]](_0x55c0[128]);_0x74d7x7[_0x55c0[123]](_0x55c0[129],_0x55c0[130]);_0x74d7x7[_0x55c0[69]]= _0x55c0[156];_0x74d7x7[_0x55c0[17]][_0x55c0[91]]= _0x55c0[18];var _0x74d7x1b=(mxClient[_0x55c0[90]])?8+ 2* this[_0x55c0[61]]:6;_0x74d7x7[_0x55c0[17]][_0x55c0[79]]= (this[_0x55c0[59]]+ _0x74d7x1b)+ _0x55c0[93];_0x74d7x7[_0x55c0[17]][_0x55c0[81]]= (this[_0x55c0[60]]+ _0x74d7x1b)+ _0x55c0[93];_0x74d7x7[_0x55c0[17]][_0x55c0[157]]= this[_0x55c0[61]]+ _0x55c0[93];mxEvent[_0x55c0[26]](_0x74d7x7,_0x55c0[158],function(_0x74d7x4){mxEvent[_0x55c0[159]](_0x74d7x4)});this[_0x55c0[132]](_0x74d7x8,this[_0x55c0[59]],this[_0x55c0[60]],_0x74d7x7,_0x74d7x9,_0x74d7xa);return _0x74d7x7};Sidebar[_0x55c0[40]][_0x55c0[160]]= function(_0x74d7x8,_0x74d7x1d){return function(_0x74d7x1e,_0x74d7x4,_0x74d7x1f,_0x74d7x20,_0x74d7x21){if(_0x74d7x1e[_0x55c0[161]]()){_0x74d7x8= _0x74d7x1e[_0x55c0[162]](_0x74d7x8);if(_0x74d7x8[_0x55c0[94]]> 0){var _0x74d7x22=(_0x74d7x1f!= null)?_0x74d7x1e[_0x55c0[163]](_0x74d7x1f,_0x74d7x8,_0x74d7x4):false;var _0x74d7x23=null;if(_0x74d7x1f!= null&& !_0x74d7x22){_0x74d7x1f= null};if(_0x74d7x1d&& _0x74d7x1e[_0x55c0[164]]()&& _0x74d7x1e[_0x55c0[165]](_0x74d7x1f,_0x74d7x8,_0x74d7x4)){_0x74d7x1e[_0x55c0[166]](_0x74d7x1f,_0x74d7x8,null,_0x74d7x20,_0x74d7x21);_0x74d7x23= _0x74d7x8}else {if(_0x74d7x8[_0x55c0[94]]> 0){_0x74d7x23= _0x74d7x1e[_0x55c0[167]](_0x74d7x8,_0x74d7x20,_0x74d7x21,_0x74d7x1f)}};if(_0x74d7x23!= null&& _0x74d7x23[_0x55c0[94]]> 0){_0x74d7x1e[_0x55c0[168]](_0x74d7x23[0]);_0x74d7x1e[_0x55c0[169]](_0x74d7x23)}}}}};Sidebar[_0x55c0[40]][_0x55c0[170]]= function(_0x74d7xd,_0x74d7xe){var _0x74d7x7=document[_0x55c0[7]](_0x55c0[6]);_0x74d7x7[_0x55c0[17]][_0x55c0[171]]= _0x55c0[172];_0x74d7x7[_0x55c0[17]][_0x55c0[79]]= _0x74d7xd+ _0x55c0[93];_0x74d7x7[_0x55c0[17]][_0x55c0[81]]= _0x74d7xe+ _0x55c0[93];return _0x74d7x7};Sidebar[_0x55c0[40]][_0x55c0[173]]= function(_0x74d7x7,_0x74d7x24,_0x74d7x25){var _0x74d7x26=mxUtils[_0x55c0[175]](_0x74d7x7,this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]],_0x74d7x24,_0x74d7x25,0,0,this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]][_0x55c0[174]],true,true);_0x74d7x26[_0x55c0[176]]= function(_0x74d7x1e,_0x74d7x20,_0x74d7x21){var _0x74d7x1f=mxDragSource[_0x55c0[40]][_0x55c0[176]][_0x55c0[177]](this,arguments);if(!_0x74d7x1e[_0x55c0[178]](_0x74d7x1f)){_0x74d7x1f= null};return _0x74d7x1f};return _0x74d7x26};Sidebar[_0x55c0[40]][_0x55c0[179]]= function(_0x74d7x7,_0x74d7x27){var _0x74d7x1e=this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]];var _0x74d7x28=null;mxEvent[_0x55c0[182]](_0x74d7x7,function(_0x74d7x4){_0x74d7x28= new mxPoint(mxEvent[_0x55c0[180]](_0x74d7x4),mxEvent[_0x55c0[181]](_0x74d7x4))});var _0x74d7x29=_0x74d7x27[_0x55c0[183]];_0x74d7x27[_0x55c0[183]]= function(_0x74d7x4){if(!mxEvent[_0x55c0[184]](_0x74d7x4)&& this[_0x55c0[185]]== null&& _0x74d7x28!= null){var _0x74d7x2a=_0x74d7x1e[_0x55c0[186]];if(Math[_0x55c0[187]](_0x74d7x28[_0x55c0[111]]- mxEvent[_0x55c0[180]](_0x74d7x4))<= _0x74d7x2a&& Math[_0x55c0[187]](_0x74d7x28[_0x55c0[113]]- mxEvent[_0x55c0[181]](_0x74d7x4))<= _0x74d7x2a){var _0x74d7x2b=_0x74d7x1e[_0x55c0[188]]();_0x74d7x27[_0x55c0[189]](_0x74d7x1e,_0x74d7x4,null,_0x74d7x2b,_0x74d7x2b)}};_0x74d7x29[_0x55c0[177]](this,arguments);_0x74d7x28= null}};Sidebar[_0x55c0[40]][_0x55c0[190]]= function(_0x74d7x2c,_0x74d7x14,_0x74d7x2d,_0x74d7x2e){var _0x74d7x2f=mxUtils[_0x55c0[190]]();var _0x74d7x19=_0x74d7x2f[_0x55c0[7]](_0x74d7x2c);_0x74d7x19[_0x55c0[123]](_0x55c0[191],_0x74d7x14);_0x74d7x2d[_0x55c0[192]](function(_0x74d7x30,_0x74d7x31){_0x74d7x19[_0x55c0[123]](_0x74d7x30,_0x74d7x2e[_0x74d7x31]?_0x74d7x2e[_0x74d7x31]:_0x55c0[105])});return _0x74d7x19};Sidebar[_0x55c0[40]][_0x55c0[193]]= function(_0x74d7x32,_0x74d7xd,_0x74d7xe,_0x74d7x33,_0x74d7x9,_0x74d7xa){var _0x74d7x2d=[];var _0x74d7x2e=[];switch(_0x74d7x33){case _0x55c0[47]:_0x74d7x2d= [_0x55c0[194],_0x55c0[195],_0x55c0[196]];_0x74d7x2e= [_0x55c0[197],_0x55c0[105],_0x55c0[198]];break;case _0x55c0[50]:_0x74d7x2d= [_0x55c0[194],_0x55c0[195]];_0x74d7x2e= [_0x55c0[197],_0x55c0[105]];break;case _0x55c0[48]:_0x74d7x2d= [_0x55c0[194],_0x55c0[48],_0x55c0[199]];_0x74d7x2e= [_0x55c0[197],_0x55c0[105]];break;case _0x55c0[49]:_0x74d7x2d= [_0x55c0[194],_0x55c0[48],_0x55c0[200]];_0x74d7x2e= [_0x55c0[197],_0x55c0[105]];break;default:_0x74d7x2d= [];_0x74d7x2e= [];break};var _0x74d7x19=this[_0x55c0[190]](_0x74d7x33,_0x74d7x9,_0x74d7x2d,_0x74d7x2e);var _0x74d7x8=[ new mxCell(_0x74d7x19, new mxGeometry(0,0,_0x74d7xd,_0x74d7xe),_0x74d7x32)];_0x74d7x8[0][_0x55c0[201]]= true;return this[_0x55c0[202]](_0x74d7x8,_0x74d7xd,_0x74d7xe,_0x74d7x9,_0x74d7xa)};Sidebar[_0x55c0[40]][_0x55c0[202]]= function(_0x74d7x8,_0x74d7xd,_0x74d7xe,_0x74d7x9,_0x74d7xa){var _0x74d7x7=this[_0x55c0[155]](_0x74d7x8,_0x74d7x9,_0x74d7xa);var _0x74d7x27=this[_0x55c0[173]](_0x74d7x7,this[_0x55c0[160]](_0x74d7x8,true),this[_0x55c0[170]](_0x74d7xd,_0x74d7xe));this[_0x55c0[179]](_0x74d7x7,_0x74d7x27);_0x74d7x27[_0x55c0[203]]= mxUtils[_0x55c0[25]](this,function(){return this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]][_0x55c0[205]][_0x55c0[204]]});if(!touchStyle){mxEvent[_0x55c0[26]](_0x74d7x7,_0x55c0[30],mxUtils[_0x55c0[25]](this,function(_0x74d7x4){this[_0x55c0[65]](_0x74d7x7,_0x74d7x8,_0x74d7x9,_0x74d7xa)}))};return _0x74d7x7};Sidebar[_0x55c0[40]][_0x55c0[206]]= function(_0x74d7x32,_0x74d7xd,_0x74d7xe,_0x74d7x33,_0x74d7x9,_0x74d7xa){var _0x74d7x8=[ new mxCell((_0x74d7x33!= null)?_0x74d7x33:_0x55c0[105], new mxGeometry(0,0,_0x74d7xd,_0x74d7xe),_0x74d7x32)];_0x74d7x8[0][_0x55c0[208]][_0x55c0[207]]( new mxPoint(0,_0x74d7xe),true);_0x74d7x8[0][_0x55c0[208]][_0x55c0[207]]( new mxPoint(_0x74d7xd,0),false);_0x74d7x8[0][_0x55c0[208]][_0x55c0[76]]= true;_0x74d7x8[0][_0x55c0[209]]= true;return this[_0x55c0[210]](_0x74d7x8,_0x74d7xd,_0x74d7xe,_0x74d7x9,_0x74d7xa)};Sidebar[_0x55c0[40]][_0x55c0[210]]= function(_0x74d7x8,_0x74d7xd,_0x74d7xe,_0x74d7x9,_0x74d7xa){var _0x74d7x7=this[_0x55c0[155]](_0x74d7x8,_0x74d7x9,_0x74d7xa);this[_0x55c0[173]](_0x74d7x7,this[_0x55c0[160]](_0x74d7x8,false),this[_0x55c0[170]](_0x74d7xd,_0x74d7xe));var _0x74d7x1e=this[_0x55c0[1]][_0x55c0[9]][_0x55c0[5]];mxEvent[_0x55c0[26]](_0x74d7x7,_0x55c0[158],mxUtils[_0x55c0[25]](this,function(_0x74d7x4){if(this[_0x55c0[56]]){_0x74d7x1e[_0x55c0[211]](_0x74d7x8[0])};_0x74d7x7[_0x55c0[17]][_0x55c0[212]]= _0x55c0[213];window[_0x55c0[126]](function(){_0x74d7x7[_0x55c0[17]][_0x55c0[212]]= _0x55c0[105]},300);mxEvent[_0x55c0[159]](_0x74d7x4)}));touchStyle= false;if(!touchStyle){mxEvent[_0x55c0[26]](_0x74d7x7,_0x55c0[30],mxUtils[_0x55c0[25]](this,function(_0x74d7x4){this[_0x55c0[65]](_0x74d7x7,_0x74d7x8,_0x74d7x9,_0x74d7xa)}))};return _0x74d7x7};Sidebar[_0x55c0[40]][_0x55c0[214]]= function(_0x74d7x34,_0x74d7x9,_0x74d7x35,_0x74d7x36){var _0x74d7x7=this[_0x55c0[127]](_0x74d7x9);this[_0x55c0[2]][_0x55c0[21]](_0x74d7x7);var _0x74d7x1c=document[_0x55c0[7]](_0x55c0[6]);_0x74d7x1c[_0x55c0[69]]= _0x55c0[215];if(_0x74d7x35){_0x74d7x36(_0x74d7x1c);_0x74d7x36= null}else {_0x74d7x1c[_0x55c0[17]][_0x55c0[83]]= _0x55c0[110]};this[_0x55c0[216]](_0x74d7x7,_0x74d7x1c,_0x74d7x36);var _0x74d7x37=document[_0x55c0[7]](_0x55c0[6]);_0x74d7x37[_0x55c0[21]](_0x74d7x1c);this[_0x55c0[2]][_0x55c0[21]](_0x74d7x37);if(_0x74d7x34!= null){this[_0x55c0[3]][_0x74d7x34]= [_0x74d7x7,_0x74d7x37]}};Sidebar[_0x55c0[40]][_0x55c0[216]]= function(_0x74d7x9,_0x74d7x38,_0x74d7x39){var _0x74d7x3a=false;_0x74d7x9[_0x55c0[17]][_0x55c0[143]]= (_0x74d7x38[_0x55c0[17]][_0x55c0[83]]== _0x55c0[110])?_0x55c0[144]+ IMAGE_PATH+ _0x55c0[217]:_0x55c0[144]+ IMAGE_PATH+ _0x55c0[218];_0x74d7x9[_0x55c0[17]][_0x55c0[219]]= _0x55c0[220];_0x74d7x9[_0x55c0[17]][_0x55c0[221]]= _0x55c0[222];mxEvent[_0x55c0[26]](_0x74d7x9,_0x55c0[158],function(_0x74d7x4){if(_0x74d7x38[_0x55c0[17]][_0x55c0[83]]== _0x55c0[110]){if(!_0x74d7x3a){_0x74d7x3a= true;if(_0x74d7x39!= null){_0x74d7x9[_0x55c0[17]][_0x55c0[146]]= _0x55c0[223];window[_0x55c0[126]](function(){_0x74d7x39(_0x74d7x38);_0x74d7x9[_0x55c0[17]][_0x55c0[146]]= _0x55c0[105]},0)}};_0x74d7x9[_0x55c0[17]][_0x55c0[143]]= _0x55c0[144]+ IMAGE_PATH+ _0x55c0[218];_0x74d7x38[_0x55c0[17]][_0x55c0[83]]= _0x55c0[84]}else {_0x74d7x9[_0x55c0[17]][_0x55c0[143]]= _0x55c0[144]+ IMAGE_PATH+ _0x55c0[217];_0x74d7x38[_0x55c0[17]][_0x55c0[83]]= _0x55c0[110]};mxEvent[_0x55c0[159]](_0x74d7x4)})};Sidebar[_0x55c0[40]][_0x55c0[224]]= function(_0x74d7x34){var _0x74d7x3b=this[_0x55c0[3]][_0x74d7x34];if(_0x74d7x3b!= null){this[_0x55c0[3]][_0x74d7x34]= null;for(var _0x74d7x3c=0;_0x74d7x3c< _0x74d7x3b[_0x55c0[94]];_0x74d7x3c++){this[_0x55c0[2]][_0x55c0[225]](_0x74d7x3b[_0x74d7x3c])};return true};return false};Sidebar[_0x55c0[40]][_0x55c0[51]]= function(_0x74d7x34,_0x74d7x9,_0x74d7x3d,_0x74d7x3e,_0x74d7x3f,_0x74d7x40){this[_0x55c0[214]](_0x74d7x34,_0x74d7x9,(_0x74d7x34=== _0x55c0[42]),mxUtils[_0x55c0[25]](this,function(_0x74d7x38){var _0x74d7x41=_0x74d7x40!= null;for(var _0x74d7x3c=0;_0x74d7x3c< _0x74d7x3f[_0x55c0[94]];_0x74d7x3c++){var _0x74d7x42=_0x74d7x3d+ _0x74d7x3f[_0x74d7x3c]+ _0x74d7x3e;_0x74d7x38[_0x55c0[21]](this[_0x55c0[193]](_0x55c0[226]+ _0x74d7x42,80,80,_0x74d7x3f[_0x74d7x3c],(_0x74d7x41)?_0x74d7x40[_0x74d7x3c]:null,_0x74d7x41))}}))} \ No newline at end of file +var _0xd185=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x61\x6C\x65\x74\x74\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x67\x72\x61\x70\x68","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x65\x64\x69\x74\x6F\x72","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x6D\x6F\x75\x73\x65\x75\x70","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x74\x6F\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C\x61\x74\x65\x64\x54\x61\x72\x67\x65\x74","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x74\x6F\x6F\x6C\x74\x69\x70\x2E\x70\x6E\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67","\x65\x6E\x74\x72\x79","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x67\x65\x74","\x2F","\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x73\x74\x61\x72\x74","\x71\x75\x65\x73\x74\x69\x6F\x6E","\x69\x6E\x70\x75\x74","\x65\x6E\x64","\x61\x64\x64\x49\x6D\x61\x67\x65\x50\x61\x6C\x65\x74\x74\x65","\x65\x6E\x61\x62\x6C\x65\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x42\x6F\x72\x64\x65\x72","\x74\x68\x75\x6D\x62\x42\x6F\x72\x64\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x44\x65\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x61\x72\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x69\x70\x61\x72\x74\x2F\x47\x65\x61\x72\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x74\x68\x75\x6D\x62\x57\x69\x64\x74\x68","\x74\x68\x75\x6D\x62\x48\x65\x69\x67\x68\x74","\x74\x68\x75\x6D\x62\x50\x61\x64\x64\x69\x6E\x67","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x53\x69\x7A\x65","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70","\x74\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x72\x61\x70\x68\x32","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x76\x69\x65\x77","\x49\x53\x5F\x53\x56\x47","\x63\x61\x6E\x76\x61\x73","\x72\x65\x6C\x61\x74\x69\x76\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x31\x34\x70\x78","\x68\x65\x69\x67\x68\x74","\x32\x37\x70\x78","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x63\x6C\x65\x61\x72","\x6D\x6F\x64\x65\x6C","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x76\x69\x73\x69\x62\x6C\x65","\x70\x78","\x6C\x65\x6E\x67\x74\x68","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x61\x79","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x65\x6E\x74\x65\x72","\x31\x30\x30\x25","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x32\x70\x78","\x36\x70\x78","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x77\x72\x69\x74\x65","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x74\x6F\x70","\x6E\x6F\x6E\x65","\x78","\x6D\x69\x6E","\x79","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x6D\x61\x78","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x29","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x65\x66\x74","\x64\x72\x61\x77\x50\x61\x6E\x65","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x54\x69\x74\x6C\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x68\x75\x6D\x62","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x66\x6C\x6F\x6F\x72","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x4E\x4F\x5F\x46\x4F","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x49\x53\x5F\x49\x45\x36","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x63\x75\x72\x73\x6F\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x49\x53\x5F\x49\x45","\x34\x70\x78","\x63\x72\x65\x61\x74\x65\x49\x74\x65\x6D","\x67\x65\x49\x74\x65\x6D","\x70\x61\x64\x64\x69\x6E\x67","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x63\x72\x65\x61\x74\x65\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x50\x72\x65\x76\x69\x65\x77","\x62\x6F\x72\x64\x65\x72","\x31\x70\x78\x20\x64\x61\x73\x68\x65\x64\x20\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x53\x6F\x75\x72\x63\x65","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x61\x70\x70\x6C\x79","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x6D\x6F\x75\x73\x65\x55\x70","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x61\x62\x73","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x64\x72\x6F\x70","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6C\x61\x62\x65\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65","\x69\x64","\x74\x65\x78\x74","\x73\x74\x61\x74\x65","\x30","\x4F\x46\x46","\x6F\x74\x68\x65\x72","\x61\x64\x64","\x76\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x65\x64\x67\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x23\x66\x66\x66\x66\x66\x66","\x61\x64\x64\x50\x61\x6C\x65\x74\x74\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72","\x61\x64\x64\x46\x6F\x6C\x64\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66\x29","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x31\x30\x30\x25\x20\x35\x30\x25","\x77\x61\x69\x74","\x72\x65\x6D\x6F\x76\x65\x50\x61\x6C\x65\x74\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D"];_0xd185[0];function Sidebar(_0xa2cfx2,_0xa2cfx3){this[_0xd185[1]]= _0xa2cfx2;this[_0xd185[2]]= _0xa2cfx3;this[_0xd185[3]]= new Object();this[_0xd185[4]]= true;this[_0xd185[5]]= new Graph(document[_0xd185[7]](_0xd185[6]),null,null,this[_0xd185[1]][_0xd185[9]][_0xd185[5]][_0xd185[8]]());this[_0xd185[5]][_0xd185[10]]= false;this[_0xd185[5]][_0xd185[11]]= false;this[_0xd185[5]][_0xd185[12]](false);this[_0xd185[5]][_0xd185[13]]= false;this[_0xd185[5]][_0xd185[14]](false);this[_0xd185[5]][_0xd185[15]](false);this[_0xd185[5]][_0xd185[2]][_0xd185[17]][_0xd185[16]]= _0xd185[18];this[_0xd185[5]][_0xd185[2]][_0xd185[17]][_0xd185[19]]= _0xd185[20];document[_0xd185[22]][_0xd185[21]](this[_0xd185[5]][_0xd185[2]]);if(!mxClient[_0xd185[23]]){mxEvent[_0xd185[26]](document,_0xd185[24],mxUtils[_0xd185[25]](this,function(){this[_0xd185[4]]= true}));mxEvent[_0xd185[26]](_0xa2cfx3,_0xd185[27],mxUtils[_0xd185[25]](this,function(){this[_0xd185[4]]= true}));mxEvent[_0xd185[26]](document,_0xd185[28],mxUtils[_0xd185[25]](this,function(){this[_0xd185[4]]= false;this[_0xd185[29]]()}));mxEvent[_0xd185[26]](document,_0xd185[30],mxUtils[_0xd185[25]](this,function(_0xa2cfx4){var _0xa2cfx5=mxEvent[_0xd185[31]](_0xa2cfx4);while(_0xa2cfx5!= null){if(_0xa2cfx5== this[_0xd185[32]]){return};_0xa2cfx5= _0xa2cfx5[_0xd185[33]]};this[_0xd185[29]]()}));mxEvent[_0xd185[26]](document,_0xd185[34],mxUtils[_0xd185[25]](this,function(_0xa2cfx4){if(_0xa2cfx4[_0xd185[35]]== null&& _0xa2cfx4[_0xd185[36]]== null){this[_0xd185[29]]()}}))};this[_0xd185[37]](); new Image()[_0xd185[38]]= IMAGE_PATH+ _0xd185[39]}Sidebar[_0xd185[40]][_0xd185[37]]= function(){var _0xa2cfx6=STENCIL_PATH;console[_0xd185[41]](_0xa2cfx6);this[_0xd185[51]](_0xd185[42],mxResources[_0xd185[44]](_0xd185[43]),_0xa2cfx6+ _0xd185[45],_0xd185[46],[_0xd185[47],_0xd185[48],_0xd185[49],_0xd185[50]],[mxResources[_0xd185[44]](_0xd185[47]),mxResources[_0xd185[44]](_0xd185[48]),mxResources[_0xd185[44]](_0xd185[49]),mxResources[_0xd185[44]](_0xd185[50])])};Sidebar[_0xd185[40]][_0xd185[52]]= !mxClient[_0xd185[23]];Sidebar[_0xd185[40]][_0xd185[53]]= 16;Sidebar[_0xd185[40]][_0xd185[54]]= 3;Sidebar[_0xd185[40]][_0xd185[55]]= 300;Sidebar[_0xd185[40]][_0xd185[56]]= true;Sidebar[_0xd185[40]][_0xd185[57]]= STENCIL_PATH+ _0xd185[58];Sidebar[_0xd185[40]][_0xd185[59]]= 34;Sidebar[_0xd185[40]][_0xd185[60]]= 34;Sidebar[_0xd185[40]][_0xd185[61]]= 2;Sidebar[_0xd185[40]][_0xd185[62]]= 9;Sidebar[_0xd185[40]][_0xd185[63]]= false;Sidebar[_0xd185[40]][_0xd185[64]]= false;Sidebar[_0xd185[40]][_0xd185[65]]= function(_0xa2cfx7,_0xa2cfx8,_0xa2cfx9,_0xa2cfxa){if(this[_0xd185[52]]&& this[_0xd185[4]]){if(this[_0xd185[32]]!= _0xa2cfx7){if(this[_0xd185[66]]!= null){window[_0xd185[67]](this[_0xd185[66]]);this[_0xd185[66]]= null};var _0xa2cfxb=mxUtils[_0xd185[25]](this,function(){if(this[_0xd185[68]]== null){this[_0xd185[68]]= document[_0xd185[7]](_0xd185[6]);this[_0xd185[68]][_0xd185[69]]= _0xd185[70];document[_0xd185[22]][_0xd185[21]](this[_0xd185[68]]);this[_0xd185[71]]= new Graph(this[_0xd185[68]],null,null,this[_0xd185[1]][_0xd185[9]][_0xd185[5]][_0xd185[8]]());this[_0xd185[71]][_0xd185[73]][_0xd185[72]](this[_0xd185[53]],this[_0xd185[53]]);this[_0xd185[71]][_0xd185[10]]= false;this[_0xd185[71]][_0xd185[11]]= false;this[_0xd185[71]][_0xd185[13]]= false;this[_0xd185[71]][_0xd185[14]](false);this[_0xd185[71]][_0xd185[12]](false);this[_0xd185[71]][_0xd185[15]](false);if(!mxClient[_0xd185[74]]){this[_0xd185[71]][_0xd185[73]][_0xd185[75]][_0xd185[17]][_0xd185[19]]= _0xd185[76]};this[_0xd185[77]]= mxUtils[_0xd185[78]](IMAGE_PATH+ _0xd185[39]);this[_0xd185[77]][_0xd185[17]][_0xd185[19]]= _0xd185[20];this[_0xd185[77]][_0xd185[17]][_0xd185[79]]= _0xd185[80];this[_0xd185[77]][_0xd185[17]][_0xd185[81]]= _0xd185[82];document[_0xd185[22]][_0xd185[21]](this[_0xd185[77]])};this[_0xd185[68]][_0xd185[17]][_0xd185[83]]= _0xd185[84];this[_0xd185[71]][_0xd185[85]]= (_0xa2cfxa== null|| _0xa2cfxa);this[_0xd185[71]][_0xd185[87]][_0xd185[86]]();this[_0xd185[71]][_0xd185[88]](_0xa2cfx8);var _0xa2cfxc=this[_0xd185[71]][_0xd185[89]]();var _0xa2cfxd=_0xa2cfxc[_0xd185[79]]+ 2* this[_0xd185[53]];var _0xa2cfxe=_0xa2cfxc[_0xd185[81]]+ 2* this[_0xd185[53]];if(mxClient[_0xd185[90]]){_0xa2cfxd+= 4;_0xa2cfxe+= 4;this[_0xd185[68]][_0xd185[17]][_0xd185[91]]= _0xd185[18]}else {this[_0xd185[68]][_0xd185[17]][_0xd185[91]]= _0xd185[92]};this[_0xd185[77]][_0xd185[17]][_0xd185[16]]= _0xd185[92];this[_0xd185[68]][_0xd185[17]][_0xd185[79]]= _0xa2cfxd+ _0xd185[93];if(this[_0xd185[64]]&& _0xa2cfx9!= null&& _0xa2cfx9[_0xd185[94]]> 0){if(this[_0xd185[95]]== null){this[_0xd185[95]]= document[_0xd185[7]](_0xd185[6]);this[_0xd185[95]][_0xd185[17]][_0xd185[96]]= _0xd185[97];this[_0xd185[95]][_0xd185[17]][_0xd185[98]]= _0xd185[99];this[_0xd185[95]][_0xd185[17]][_0xd185[79]]= _0xd185[100];this[_0xd185[95]][_0xd185[17]][_0xd185[91]]= _0xd185[18];if(mxClient[_0xd185[74]]){this[_0xd185[95]][_0xd185[17]][_0xd185[101]]= _0xd185[102]}else {this[_0xd185[95]][_0xd185[17]][_0xd185[19]]= _0xd185[20];this[_0xd185[95]][_0xd185[17]][_0xd185[101]]= _0xd185[103]};this[_0xd185[68]][_0xd185[21]](this[_0xd185[95]])}else {this[_0xd185[95]][_0xd185[104]]= _0xd185[105]};this[_0xd185[95]][_0xd185[17]][_0xd185[83]]= _0xd185[105];mxUtils[_0xd185[106]](this[_0xd185[95]],_0xa2cfx9);var _0xa2cfxf=this[_0xd185[95]][_0xd185[107]]+ 10;_0xa2cfxe+= _0xa2cfxf;if(mxClient[_0xd185[74]]){this[_0xd185[95]][_0xd185[17]][_0xd185[108]]= (-_0xa2cfxf) + _0xd185[93]}else {_0xa2cfxe-= 6;this[_0xd185[95]][_0xd185[17]][_0xd185[109]]= (_0xa2cfxe- _0xa2cfxf)+ _0xd185[93]}}else {if(this[_0xd185[95]]!= null&& this[_0xd185[95]][_0xd185[33]]!= null){this[_0xd185[95]][_0xd185[17]][_0xd185[83]]= _0xd185[110]}};this[_0xd185[68]][_0xd185[17]][_0xd185[81]]= _0xa2cfxe+ _0xd185[93];var _0xa2cfx10=-Math[_0xd185[112]](0,_0xa2cfxc[_0xd185[111]]- this[_0xd185[53]]);var _0xa2cfx11=-Math[_0xd185[112]](0,_0xa2cfxc[_0xd185[113]]- this[_0xd185[53]]);var _0xa2cfx12=this[_0xd185[2]][_0xd185[114]]+ this[_0xd185[1]][_0xd185[115]]+ 3;var _0xa2cfx13=Math[_0xd185[118]](0,(this[_0xd185[2]][_0xd185[116]]+ _0xa2cfx7[_0xd185[116]]- this[_0xd185[2]][_0xd185[117]]- _0xa2cfxe/ 2+ 16));if(mxClient[_0xd185[74]]){this[_0xd185[71]][_0xd185[73]][_0xd185[75]][_0xd185[123]](_0xd185[119],_0xd185[120]+ _0xa2cfx10+ _0xd185[121]+ _0xa2cfx11+ _0xd185[122])}else {this[_0xd185[71]][_0xd185[73]][_0xd185[125]][_0xd185[17]][_0xd185[124]]= _0xa2cfx10+ _0xd185[93];this[_0xd185[71]][_0xd185[73]][_0xd185[125]][_0xd185[17]][_0xd185[109]]= _0xa2cfx11+ _0xd185[93]};_0xa2cfx13+= 90;this[_0xd185[68]][_0xd185[17]][_0xd185[19]]= _0xd185[20];this[_0xd185[68]][_0xd185[17]][_0xd185[124]]= _0xa2cfx12+ _0xd185[93];this[_0xd185[68]][_0xd185[17]][_0xd185[109]]= _0xa2cfx13+ _0xd185[93];this[_0xd185[77]][_0xd185[17]][_0xd185[124]]= (_0xa2cfx12- 13)+ _0xd185[93];this[_0xd185[77]][_0xd185[17]][_0xd185[109]]= (_0xa2cfx13+ _0xa2cfxe/ 2- 13)+ _0xd185[93]});if(this[_0xd185[68]]!= null&& this[_0xd185[68]][_0xd185[17]][_0xd185[83]]!= _0xd185[110]){_0xa2cfxb()}else {this[_0xd185[66]]= window[_0xd185[126]](_0xa2cfxb,this[_0xd185[55]])};this[_0xd185[32]]= _0xa2cfx7}}};Sidebar[_0xd185[40]][_0xd185[29]]= function(){if(this[_0xd185[66]]!= null){window[_0xd185[67]](this[_0xd185[66]]);this[_0xd185[66]]= null};if(this[_0xd185[68]]!= null){this[_0xd185[68]][_0xd185[17]][_0xd185[83]]= _0xd185[110];this[_0xd185[77]][_0xd185[17]][_0xd185[16]]= _0xd185[18];this[_0xd185[32]]= null}};Sidebar[_0xd185[40]][_0xd185[127]]= function(_0xa2cfx14){var _0xa2cfx7=document[_0xd185[7]](_0xd185[128]);_0xa2cfx7[_0xd185[123]](_0xd185[129],_0xd185[130]);_0xa2cfx7[_0xd185[69]]= _0xd185[131];mxUtils[_0xd185[106]](_0xa2cfx7,_0xa2cfx14);return _0xa2cfx7};Sidebar[_0xd185[40]][_0xd185[132]]= function(_0xa2cfx8,_0xa2cfxd,_0xa2cfxe,_0xa2cfx15,_0xa2cfx9,_0xa2cfxa){this[_0xd185[5]][_0xd185[85]]= (_0xa2cfxa== null|| _0xa2cfxa);this[_0xd185[5]][_0xd185[73]][_0xd185[133]](1,0,0);this[_0xd185[5]][_0xd185[88]](_0xa2cfx8);var _0xa2cfxc=this[_0xd185[5]][_0xd185[89]]();var _0xa2cfx16=this[_0xd185[54]];var _0xa2cfx17=Math[_0xd185[112]]((_0xa2cfxd- 2)/ (_0xa2cfxc[_0xd185[79]]- _0xa2cfxc[_0xd185[111]]+ _0xa2cfx16),(_0xa2cfxe- 2)/ (_0xa2cfxc[_0xd185[81]]- _0xa2cfxc[_0xd185[113]]+ _0xa2cfx16));var _0xa2cfx10=-Math[_0xd185[112]](_0xa2cfxc[_0xd185[111]],0);var _0xa2cfx11=-Math[_0xd185[112]](_0xa2cfxc[_0xd185[113]],0);this[_0xd185[5]][_0xd185[73]][_0xd185[133]](_0xa2cfx17,_0xa2cfx10,_0xa2cfx11);_0xa2cfxc= this[_0xd185[5]][_0xd185[89]]();var _0xa2cfx18=Math[_0xd185[118]](0,Math[_0xd185[134]]((_0xa2cfxd- _0xa2cfxc[_0xd185[79]]- _0xa2cfxc[_0xd185[111]])/ 2));var _0xa2cfxf=Math[_0xd185[118]](0,Math[_0xd185[134]]((_0xa2cfxe- _0xa2cfxc[_0xd185[81]]- _0xa2cfxc[_0xd185[113]])/ 2));var _0xa2cfx19=null;if(this[_0xd185[5]][_0xd185[135]]== mxConstants[_0xd185[136]]&& !mxClient[_0xd185[137]]){_0xa2cfx19= this[_0xd185[5]][_0xd185[73]][_0xd185[140]]()[_0xd185[139]][_0xd185[138]](true)}else {_0xa2cfx19= this[_0xd185[5]][_0xd185[2]][_0xd185[138]](false);_0xa2cfx19[_0xd185[104]]= this[_0xd185[5]][_0xd185[2]][_0xd185[104]]};this[_0xd185[5]][_0xd185[141]]()[_0xd185[86]]();if(mxClient[_0xd185[142]]){_0xa2cfx15[_0xd185[17]][_0xd185[143]]= _0xd185[144]+ this[_0xd185[1]][_0xd185[9]][_0xd185[145]]+ _0xd185[122]};var _0xa2cfx1a=3;_0xa2cfx19[_0xd185[17]][_0xd185[19]]= _0xd185[76];_0xa2cfx19[_0xd185[17]][_0xd185[91]]= _0xd185[18];_0xa2cfx19[_0xd185[17]][_0xd185[146]]= _0xd185[147];_0xa2cfx19[_0xd185[17]][_0xd185[124]]= (_0xa2cfx18+ _0xa2cfx1a)+ _0xd185[93];_0xa2cfx19[_0xd185[17]][_0xd185[109]]= (_0xa2cfxf+ _0xa2cfx1a)+ _0xd185[93];_0xa2cfx19[_0xd185[17]][_0xd185[79]]= _0xa2cfxd+ _0xd185[93];_0xa2cfx19[_0xd185[17]][_0xd185[81]]= _0xa2cfxe+ _0xd185[93];_0xa2cfx19[_0xd185[17]][_0xd185[16]]= _0xd185[105];_0xa2cfx19[_0xd185[17]][_0xd185[148]]= _0xd185[105];_0xa2cfx19[_0xd185[17]][_0xd185[149]]= _0xd185[105];_0xa2cfx15[_0xd185[21]](_0xa2cfx19);if(this[_0xd185[63]]&& _0xa2cfx9!= null){var _0xa2cfx1b=(mxClient[_0xd185[90]])?2* this[_0xd185[61]]+ 2:0;_0xa2cfx15[_0xd185[17]][_0xd185[81]]= (this[_0xd185[60]]+ _0xa2cfx1b+ this[_0xd185[62]]+ 8)+ _0xd185[93];var _0xa2cfx1c=document[_0xd185[7]](_0xd185[6]);_0xa2cfx1c[_0xd185[17]][_0xd185[150]]= this[_0xd185[62]]+ _0xd185[93];_0xa2cfx1c[_0xd185[17]][_0xd185[98]]= _0xd185[99];_0xa2cfx1c[_0xd185[17]][_0xd185[151]]= _0xd185[152];if(mxClient[_0xd185[153]]){_0xa2cfx1c[_0xd185[17]][_0xd185[81]]= (this[_0xd185[62]]+ 12)+ _0xd185[93]};_0xa2cfx1c[_0xd185[17]][_0xd185[101]]= _0xd185[154];mxUtils[_0xd185[106]](_0xa2cfx1c,_0xa2cfx9);_0xa2cfx15[_0xd185[21]](_0xa2cfx1c)}};Sidebar[_0xd185[40]][_0xd185[155]]= function(_0xa2cfx8,_0xa2cfx9,_0xa2cfxa){var _0xa2cfx7=document[_0xd185[7]](_0xd185[128]);_0xa2cfx7[_0xd185[123]](_0xd185[129],_0xd185[130]);_0xa2cfx7[_0xd185[69]]= _0xd185[156];_0xa2cfx7[_0xd185[17]][_0xd185[91]]= _0xd185[18];var _0xa2cfx1b=(mxClient[_0xd185[90]])?8+ 2* this[_0xd185[61]]:6;_0xa2cfx7[_0xd185[17]][_0xd185[79]]= (this[_0xd185[59]]+ _0xa2cfx1b)+ _0xd185[93];_0xa2cfx7[_0xd185[17]][_0xd185[81]]= (this[_0xd185[60]]+ _0xa2cfx1b)+ _0xd185[93];_0xa2cfx7[_0xd185[17]][_0xd185[157]]= this[_0xd185[61]]+ _0xd185[93];mxEvent[_0xd185[26]](_0xa2cfx7,_0xd185[158],function(_0xa2cfx4){mxEvent[_0xd185[159]](_0xa2cfx4)});this[_0xd185[132]](_0xa2cfx8,this[_0xd185[59]],this[_0xd185[60]],_0xa2cfx7,_0xa2cfx9,_0xa2cfxa);return _0xa2cfx7};Sidebar[_0xd185[40]][_0xd185[160]]= function(_0xa2cfx8,_0xa2cfx1d){return function(_0xa2cfx1e,_0xa2cfx4,_0xa2cfx1f,_0xa2cfx20,_0xa2cfx21){if(_0xa2cfx1e[_0xd185[161]]()){_0xa2cfx8= _0xa2cfx1e[_0xd185[162]](_0xa2cfx8);if(_0xa2cfx8[_0xd185[94]]> 0){var _0xa2cfx22=(_0xa2cfx1f!= null)?_0xa2cfx1e[_0xd185[163]](_0xa2cfx1f,_0xa2cfx8,_0xa2cfx4):false;var _0xa2cfx23=null;if(_0xa2cfx1f!= null&& !_0xa2cfx22){_0xa2cfx1f= null};if(_0xa2cfx1d&& _0xa2cfx1e[_0xd185[164]]()&& _0xa2cfx1e[_0xd185[165]](_0xa2cfx1f,_0xa2cfx8,_0xa2cfx4)){_0xa2cfx1e[_0xd185[166]](_0xa2cfx1f,_0xa2cfx8,null,_0xa2cfx20,_0xa2cfx21);_0xa2cfx23= _0xa2cfx8}else {if(_0xa2cfx8[_0xd185[94]]> 0){_0xa2cfx23= _0xa2cfx1e[_0xd185[167]](_0xa2cfx8,_0xa2cfx20,_0xa2cfx21,_0xa2cfx1f)}};if(_0xa2cfx23!= null&& _0xa2cfx23[_0xd185[94]]> 0){_0xa2cfx1e[_0xd185[168]](_0xa2cfx23[0]);_0xa2cfx1e[_0xd185[169]](_0xa2cfx23)}}}}};Sidebar[_0xd185[40]][_0xd185[170]]= function(_0xa2cfxd,_0xa2cfxe){var _0xa2cfx7=document[_0xd185[7]](_0xd185[6]);_0xa2cfx7[_0xd185[17]][_0xd185[171]]= _0xd185[172];_0xa2cfx7[_0xd185[17]][_0xd185[79]]= _0xa2cfxd+ _0xd185[93];_0xa2cfx7[_0xd185[17]][_0xd185[81]]= _0xa2cfxe+ _0xd185[93];return _0xa2cfx7};Sidebar[_0xd185[40]][_0xd185[173]]= function(_0xa2cfx7,_0xa2cfx24,_0xa2cfx25){var _0xa2cfx26=mxUtils[_0xd185[175]](_0xa2cfx7,this[_0xd185[1]][_0xd185[9]][_0xd185[5]],_0xa2cfx24,_0xa2cfx25,0,0,this[_0xd185[1]][_0xd185[9]][_0xd185[5]][_0xd185[174]],true,true);_0xa2cfx26[_0xd185[176]]= function(_0xa2cfx1e,_0xa2cfx20,_0xa2cfx21){var _0xa2cfx1f=mxDragSource[_0xd185[40]][_0xd185[176]][_0xd185[177]](this,arguments);if(!_0xa2cfx1e[_0xd185[178]](_0xa2cfx1f)){_0xa2cfx1f= null};return _0xa2cfx1f};return _0xa2cfx26};Sidebar[_0xd185[40]][_0xd185[179]]= function(_0xa2cfx7,_0xa2cfx27){var _0xa2cfx1e=this[_0xd185[1]][_0xd185[9]][_0xd185[5]];var _0xa2cfx28=null;mxEvent[_0xd185[182]](_0xa2cfx7,function(_0xa2cfx4){_0xa2cfx28= new mxPoint(mxEvent[_0xd185[180]](_0xa2cfx4),mxEvent[_0xd185[181]](_0xa2cfx4))});var _0xa2cfx29=_0xa2cfx27[_0xd185[183]];_0xa2cfx27[_0xd185[183]]= function(_0xa2cfx4){if(!mxEvent[_0xd185[184]](_0xa2cfx4)&& this[_0xd185[185]]== null&& _0xa2cfx28!= null){var _0xa2cfx2a=_0xa2cfx1e[_0xd185[186]];if(Math[_0xd185[187]](_0xa2cfx28[_0xd185[111]]- mxEvent[_0xd185[180]](_0xa2cfx4))<= _0xa2cfx2a&& Math[_0xd185[187]](_0xa2cfx28[_0xd185[113]]- mxEvent[_0xd185[181]](_0xa2cfx4))<= _0xa2cfx2a){var _0xa2cfx2b=_0xa2cfx1e[_0xd185[188]]();_0xa2cfx27[_0xd185[189]](_0xa2cfx1e,_0xa2cfx4,null,_0xa2cfx2b,_0xa2cfx2b)}};_0xa2cfx29[_0xd185[177]](this,arguments);_0xa2cfx28= null}};Sidebar[_0xd185[40]][_0xd185[190]]= function(_0xa2cfx2c,_0xa2cfx14,_0xa2cfx2d,_0xa2cfx2e){var _0xa2cfx2f=mxUtils[_0xd185[190]]();var _0xa2cfx19=_0xa2cfx2f[_0xd185[7]](_0xa2cfx2c);_0xa2cfx19[_0xd185[123]](_0xd185[191],_0xa2cfx14);_0xa2cfx2d[_0xd185[192]](function(_0xa2cfx30,_0xa2cfx31){_0xa2cfx19[_0xd185[123]](_0xa2cfx30,_0xa2cfx2e[_0xa2cfx31]?_0xa2cfx2e[_0xa2cfx31]:_0xd185[105])});return _0xa2cfx19};Sidebar[_0xd185[40]][_0xd185[193]]= function(_0xa2cfx32,_0xa2cfxd,_0xa2cfxe,_0xa2cfx33,_0xa2cfx9,_0xa2cfxa){var _0xa2cfx2d=[];var _0xa2cfx2e=[];switch(_0xa2cfx33){case _0xd185[47]:_0xa2cfx2d= [_0xd185[194],_0xd185[195],_0xd185[196]];_0xa2cfx2e= [_0xd185[197],_0xd185[105],_0xd185[198]];break;case _0xd185[50]:_0xa2cfx2d= [_0xd185[194],_0xd185[195]];_0xa2cfx2e= [_0xd185[197],_0xd185[105]];break;case _0xd185[48]:_0xa2cfx2d= [_0xd185[194],_0xd185[48],_0xd185[199]];_0xa2cfx2e= [_0xd185[197],_0xd185[105]];break;case _0xd185[49]:_0xa2cfx2d= [_0xd185[194],_0xd185[48],_0xd185[200]];_0xa2cfx2e= [_0xd185[197],_0xd185[105]];break;default:_0xa2cfx2d= [];_0xa2cfx2e= [];break};var _0xa2cfx19=this[_0xd185[190]](_0xa2cfx33,_0xa2cfx9,_0xa2cfx2d,_0xa2cfx2e);var _0xa2cfx8=[ new mxCell(_0xa2cfx19, new mxGeometry(0,0,_0xa2cfxd,_0xa2cfxe),_0xa2cfx32)];_0xa2cfx8[0][_0xd185[201]]= true;return this[_0xd185[202]](_0xa2cfx8,_0xa2cfxd,_0xa2cfxe,_0xa2cfx9,_0xa2cfxa)};Sidebar[_0xd185[40]][_0xd185[202]]= function(_0xa2cfx8,_0xa2cfxd,_0xa2cfxe,_0xa2cfx9,_0xa2cfxa){var _0xa2cfx7=this[_0xd185[155]](_0xa2cfx8,_0xa2cfx9,_0xa2cfxa);var _0xa2cfx27=this[_0xd185[173]](_0xa2cfx7,this[_0xd185[160]](_0xa2cfx8,true),this[_0xd185[170]](_0xa2cfxd,_0xa2cfxe));this[_0xd185[179]](_0xa2cfx7,_0xa2cfx27);_0xa2cfx27[_0xd185[203]]= mxUtils[_0xd185[25]](this,function(){return this[_0xd185[1]][_0xd185[9]][_0xd185[5]][_0xd185[205]][_0xd185[204]]});if(!touchStyle){mxEvent[_0xd185[26]](_0xa2cfx7,_0xd185[30],mxUtils[_0xd185[25]](this,function(_0xa2cfx4){this[_0xd185[65]](_0xa2cfx7,_0xa2cfx8,_0xa2cfx9,_0xa2cfxa)}))};return _0xa2cfx7};Sidebar[_0xd185[40]][_0xd185[206]]= function(_0xa2cfx32,_0xa2cfxd,_0xa2cfxe,_0xa2cfx33,_0xa2cfx9,_0xa2cfxa){var _0xa2cfx8=[ new mxCell((_0xa2cfx33!= null)?_0xa2cfx33:_0xd185[105], new mxGeometry(0,0,_0xa2cfxd,_0xa2cfxe),_0xa2cfx32)];_0xa2cfx8[0][_0xd185[208]][_0xd185[207]]( new mxPoint(0,_0xa2cfxe),true);_0xa2cfx8[0][_0xd185[208]][_0xd185[207]]( new mxPoint(_0xa2cfxd,0),false);_0xa2cfx8[0][_0xd185[208]][_0xd185[76]]= true;_0xa2cfx8[0][_0xd185[209]]= true;return this[_0xd185[210]](_0xa2cfx8,_0xa2cfxd,_0xa2cfxe,_0xa2cfx9,_0xa2cfxa)};Sidebar[_0xd185[40]][_0xd185[210]]= function(_0xa2cfx8,_0xa2cfxd,_0xa2cfxe,_0xa2cfx9,_0xa2cfxa){var _0xa2cfx7=this[_0xd185[155]](_0xa2cfx8,_0xa2cfx9,_0xa2cfxa);this[_0xd185[173]](_0xa2cfx7,this[_0xd185[160]](_0xa2cfx8,false),this[_0xd185[170]](_0xa2cfxd,_0xa2cfxe));var _0xa2cfx1e=this[_0xd185[1]][_0xd185[9]][_0xd185[5]];mxEvent[_0xd185[26]](_0xa2cfx7,_0xd185[158],mxUtils[_0xd185[25]](this,function(_0xa2cfx4){if(this[_0xd185[56]]){_0xa2cfx1e[_0xd185[211]](_0xa2cfx8[0])};_0xa2cfx7[_0xd185[17]][_0xd185[212]]= _0xd185[213];window[_0xd185[126]](function(){_0xa2cfx7[_0xd185[17]][_0xd185[212]]= _0xd185[105]},300);mxEvent[_0xd185[159]](_0xa2cfx4)}));touchStyle= false;if(!touchStyle){mxEvent[_0xd185[26]](_0xa2cfx7,_0xd185[30],mxUtils[_0xd185[25]](this,function(_0xa2cfx4){this[_0xd185[65]](_0xa2cfx7,_0xa2cfx8,_0xa2cfx9,_0xa2cfxa)}))};return _0xa2cfx7};Sidebar[_0xd185[40]][_0xd185[214]]= function(_0xa2cfx34,_0xa2cfx9,_0xa2cfx35,_0xa2cfx36){var _0xa2cfx7=this[_0xd185[127]](_0xa2cfx9);this[_0xd185[2]][_0xd185[21]](_0xa2cfx7);var _0xa2cfx1c=document[_0xd185[7]](_0xd185[6]);_0xa2cfx1c[_0xd185[69]]= _0xd185[215];if(_0xa2cfx35){_0xa2cfx36(_0xa2cfx1c);_0xa2cfx36= null}else {_0xa2cfx1c[_0xd185[17]][_0xd185[83]]= _0xd185[110]};this[_0xd185[216]](_0xa2cfx7,_0xa2cfx1c,_0xa2cfx36);var _0xa2cfx37=document[_0xd185[7]](_0xd185[6]);_0xa2cfx37[_0xd185[21]](_0xa2cfx1c);this[_0xd185[2]][_0xd185[21]](_0xa2cfx37);if(_0xa2cfx34!= null){this[_0xd185[3]][_0xa2cfx34]= [_0xa2cfx7,_0xa2cfx37]}};Sidebar[_0xd185[40]][_0xd185[216]]= function(_0xa2cfx9,_0xa2cfx38,_0xa2cfx39){var _0xa2cfx3a=false;_0xa2cfx9[_0xd185[17]][_0xd185[143]]= (_0xa2cfx38[_0xd185[17]][_0xd185[83]]== _0xd185[110])?_0xd185[144]+ IMAGE_PATH+ _0xd185[217]:_0xd185[144]+ IMAGE_PATH+ _0xd185[218];_0xa2cfx9[_0xd185[17]][_0xd185[219]]= _0xd185[220];_0xa2cfx9[_0xd185[17]][_0xd185[221]]= _0xd185[222];mxEvent[_0xd185[26]](_0xa2cfx9,_0xd185[158],function(_0xa2cfx4){if(_0xa2cfx38[_0xd185[17]][_0xd185[83]]== _0xd185[110]){if(!_0xa2cfx3a){_0xa2cfx3a= true;if(_0xa2cfx39!= null){_0xa2cfx9[_0xd185[17]][_0xd185[146]]= _0xd185[223];window[_0xd185[126]](function(){_0xa2cfx39(_0xa2cfx38);_0xa2cfx9[_0xd185[17]][_0xd185[146]]= _0xd185[105]},0)}};_0xa2cfx9[_0xd185[17]][_0xd185[143]]= _0xd185[144]+ IMAGE_PATH+ _0xd185[218];_0xa2cfx38[_0xd185[17]][_0xd185[83]]= _0xd185[84]}else {_0xa2cfx9[_0xd185[17]][_0xd185[143]]= _0xd185[144]+ IMAGE_PATH+ _0xd185[217];_0xa2cfx38[_0xd185[17]][_0xd185[83]]= _0xd185[110]};mxEvent[_0xd185[159]](_0xa2cfx4)})};Sidebar[_0xd185[40]][_0xd185[224]]= function(_0xa2cfx34){var _0xa2cfx3b=this[_0xd185[3]][_0xa2cfx34];if(_0xa2cfx3b!= null){this[_0xd185[3]][_0xa2cfx34]= null;for(var _0xa2cfx3c=0;_0xa2cfx3c< _0xa2cfx3b[_0xd185[94]];_0xa2cfx3c++){this[_0xd185[2]][_0xd185[225]](_0xa2cfx3b[_0xa2cfx3c])};return true};return false};Sidebar[_0xd185[40]][_0xd185[51]]= function(_0xa2cfx34,_0xa2cfx9,_0xa2cfx3d,_0xa2cfx3e,_0xa2cfx3f,_0xa2cfx40){this[_0xd185[214]](_0xa2cfx34,_0xa2cfx9,(_0xa2cfx34=== _0xd185[42]),mxUtils[_0xd185[25]](this,function(_0xa2cfx38){var _0xa2cfx41=_0xa2cfx40!= null;for(var _0xa2cfx3c=0;_0xa2cfx3c< _0xa2cfx3f[_0xd185[94]];_0xa2cfx3c++){var _0xa2cfx42=_0xa2cfx3d+ _0xa2cfx3f[_0xa2cfx3c]+ _0xa2cfx3e;_0xa2cfx38[_0xd185[21]](this[_0xd185[193]](_0xd185[226]+ _0xa2cfx42,80,80,_0xa2cfx3f[_0xa2cfx3c],(_0xa2cfx41)?_0xa2cfx40[_0xa2cfx3c]:null,_0xa2cfx41))}}))} \ 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 636d41a..b24ae53 100644 --- a/public/assets/plugins/jscripty/js/Toolbar.js +++ b/public/assets/plugins/jscripty/js/Toolbar.js @@ -1 +1 @@ -var _0xf1cd=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x69\x6E\x69\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x62\x69\x6E\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x61\x76\x65","\x70\x75\x62\x6C\x69\x73\x68","\x2D","\x70\x72\x69\x6E\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x6F\x70\x79","\x63\x75\x74","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x61\x64\x64\x49\x74\x65\x6D\x73","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x67\x65\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x73\x74\x79\x6C\x65","\x6E\x6F\x77\x72\x61\x70","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x77\x69\x64\x74\x68","\x37\x30\x70\x78","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x31\x32","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x33\x30\x70\x78","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x6C\x65\x6E\x67\x74\x68","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x2E\x2E\x2E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x6E\x75\x73","\x66\x75\x6E\x63\x74","\x61\x64\x64\x4D\x65\x6E\x75\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x63\x72\x65\x61\x74\x65\x42\x75\x74\x74\x6F\x6E","\x69\x6E\x69\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x67\x65\x53\x70\x72\x69\x74\x65\x2D","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x64\x64\x49\x74\x65\x6D","\x61\x63\x74\x69\x6F\x6E\x73","\x6C\x61\x62\x65\x6C","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x61\x64\x64\x45\x64\x67\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x69\x73\x45\x64\x67\x65","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x74\x69\x74\x6C\x65","\x61\x64\x64\x45\x6E\x61\x62\x6C\x65\x64\x53\x74\x61\x74\x65","\x20\x67\x65\x44\x69\x73\x61\x62\x6C\x65\x64","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x42\x75\x74\x74\x6F\x6E","\x67\x65\x53\x70\x72\x69\x74\x65\x20","\x67\x65\x4C\x61\x62\x65\x6C","\x77\x72\x69\x74\x65","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x20\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x4D\x65\x6E\x75","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x6C\x61\x62\x65\x6C\x73","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70"];function Toolbar(_0x4ac5x2,_0x4ac5x3){this[_0xf1cd[0]]= _0x4ac5x2;this[_0xf1cd[1]]= _0x4ac5x3;this[_0xf1cd[2]]();mxEvent[_0xf1cd[5]](document,mxUtils[_0xf1cd[4]](this,function(_0x4ac5x4){this[_0xf1cd[3]]()}))}Toolbar[_0xf1cd[6]][_0xf1cd[2]]= function(){this[_0xf1cd[21]]([_0xf1cd[7],_0xf1cd[8],_0xf1cd[9],_0xf1cd[10],_0xf1cd[11],_0xf1cd[12],_0xf1cd[9],_0xf1cd[13],_0xf1cd[14],_0xf1cd[15],_0xf1cd[16],_0xf1cd[9],_0xf1cd[17],_0xf1cd[9],_0xf1cd[18],_0xf1cd[19],_0xf1cd[20],_0xf1cd[9]]);var _0x4ac5x5=this[_0xf1cd[25]](_0xf1cd[22],mxResources[_0xf1cd[24]](_0xf1cd[23]),true,_0xf1cd[23]);_0x4ac5x5[_0xf1cd[27]][_0xf1cd[26]]= _0xf1cd[28];_0x4ac5x5[_0xf1cd[27]][_0xf1cd[29]]= _0xf1cd[30];_0x4ac5x5[_0xf1cd[27]][_0xf1cd[31]]= _0xf1cd[32];this[_0xf1cd[33]]();var _0x4ac5x6=this[_0xf1cd[25]](_0xf1cd[34],mxResources[_0xf1cd[24]](_0xf1cd[35]),true,_0xf1cd[35]);_0x4ac5x6[_0xf1cd[27]][_0xf1cd[26]]= _0xf1cd[28];_0x4ac5x6[_0xf1cd[27]][_0xf1cd[29]]= _0xf1cd[30];_0x4ac5x6[_0xf1cd[27]][_0xf1cd[31]]= _0xf1cd[36];this[_0xf1cd[21]]([_0xf1cd[9],_0xf1cd[37],_0xf1cd[38],_0xf1cd[39]]);var _0x4ac5x7=this[_0xf1cd[0]][_0xf1cd[41]][_0xf1cd[40]];var _0x4ac5x8=mxUtils[_0xf1cd[4]](this,function(){var _0x4ac5x9=_0xf1cd[22];var _0x4ac5xa=_0xf1cd[34];var _0x4ac5xb=_0x4ac5x7[_0xf1cd[44]]()[_0xf1cd[43]](_0x4ac5x7[_0xf1cd[42]]());if(_0x4ac5xb!= null){_0x4ac5x9= _0x4ac5xb[_0xf1cd[27]][mxConstants[_0xf1cd[45]]]|| _0x4ac5x9;_0x4ac5xa= _0x4ac5xb[_0xf1cd[27]][mxConstants[_0xf1cd[46]]]|| _0x4ac5xa;if(_0x4ac5x9[_0xf1cd[47]]> 10){_0x4ac5x9= _0x4ac5x9[_0xf1cd[48]](0,8)+ _0xf1cd[49]};_0x4ac5x5[_0xf1cd[50]]= _0x4ac5x9;_0x4ac5x6[_0xf1cd[50]]= _0x4ac5xa}});_0x4ac5x7[_0xf1cd[52]]()[_0xf1cd[51]](mxEvent.CHANGE,_0x4ac5x8);_0x4ac5x7[_0xf1cd[53]]()[_0xf1cd[51]](mxEvent.CHANGE,_0x4ac5x8)};Toolbar[_0xf1cd[6]][_0xf1cd[3]]= function(){if(this[_0xf1cd[54]]!= null){this[_0xf1cd[54]][_0xf1cd[3]]();this[_0xf1cd[54]][_0xf1cd[55]]();this[_0xf1cd[54]]= null}};Toolbar[_0xf1cd[6]][_0xf1cd[25]]= function(_0x4ac5xc,_0x4ac5xd,_0x4ac5xe,_0x4ac5xf){var _0x4ac5x10=this[_0xf1cd[0]][_0xf1cd[56]][_0xf1cd[24]](_0x4ac5xf);var _0x4ac5x11=this[_0xf1cd[58]](_0x4ac5xc,_0x4ac5xd,_0x4ac5xe,_0x4ac5x10[_0xf1cd[57]]);_0x4ac5x10[_0xf1cd[51]](_0xf1cd[59],function(){_0x4ac5x11[_0xf1cd[61]](_0x4ac5x10[_0xf1cd[60]])});return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[58]]= function(_0x4ac5xc,_0x4ac5xd,_0x4ac5xe,_0x4ac5x12){var _0x4ac5x11=(_0x4ac5xe)?this[_0xf1cd[62]](_0x4ac5xc):this[_0xf1cd[63]](_0x4ac5xc);this[_0xf1cd[64]](_0x4ac5x11,_0x4ac5xd);this[_0xf1cd[65]](_0x4ac5x11,_0x4ac5xe,_0x4ac5x12);this[_0xf1cd[1]][_0xf1cd[66]](_0x4ac5x11);return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[33]]= function(){var _0x4ac5x11=document[_0xf1cd[68]](_0xf1cd[67]);_0x4ac5x11[_0xf1cd[69]]= _0xf1cd[70];this[_0xf1cd[1]][_0xf1cd[66]](_0x4ac5x11);return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[21]]= function(_0x4ac5x13){for(var _0x4ac5x14=0;_0x4ac5x14< _0x4ac5x13[_0xf1cd[47]];_0x4ac5x14++){var _0x4ac5x15=_0x4ac5x13[_0x4ac5x14];if(_0x4ac5x15== _0xf1cd[9]){this[_0xf1cd[33]]()}else {this[_0xf1cd[73]](_0xf1cd[71]+ _0x4ac5x15[_0xf1cd[72]](),_0x4ac5x15)}}};Toolbar[_0xf1cd[6]][_0xf1cd[73]]= function(_0x4ac5x16,_0x4ac5x15){var _0x4ac5x17=this[_0xf1cd[0]][_0xf1cd[74]][_0xf1cd[24]](_0x4ac5x15);var _0x4ac5x11=null;if(_0x4ac5x17!= null){_0x4ac5x11= this[_0xf1cd[76]](_0x4ac5x16,_0x4ac5x17[_0xf1cd[75]],_0x4ac5x17[_0xf1cd[57]]);_0x4ac5x11[_0xf1cd[61]](_0x4ac5x17[_0xf1cd[60]]);_0x4ac5x17[_0xf1cd[51]](_0xf1cd[59],function(){_0x4ac5x11[_0xf1cd[61]](_0x4ac5x17[_0xf1cd[60]])})};return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[76]]= function(_0x4ac5x18,_0x4ac5xd,_0x4ac5x12){var _0x4ac5x11=this[_0xf1cd[63]](_0x4ac5x18);this[_0xf1cd[64]](_0x4ac5x11,_0x4ac5xd);this[_0xf1cd[77]](_0x4ac5x11,_0x4ac5x12);this[_0xf1cd[1]][_0xf1cd[66]](_0x4ac5x11);return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[78]]= function(_0x4ac5x19){var _0x4ac5x7=this[_0xf1cd[0]][_0xf1cd[41]][_0xf1cd[40]];var _0x4ac5x1a=function(){var _0x4ac5x1b=!_0x4ac5x7[_0xf1cd[79]]();for(var _0x4ac5x14=0;_0x4ac5x14< _0x4ac5x19[_0xf1cd[47]];_0x4ac5x14++){_0x4ac5x19[_0x4ac5x14][_0xf1cd[61]](_0x4ac5x1b)}};_0x4ac5x7[_0xf1cd[52]]()[_0xf1cd[51]](mxEvent.CHANGE,_0x4ac5x1a);_0x4ac5x1a()};Toolbar[_0xf1cd[6]][_0xf1cd[80]]= function(_0x4ac5x19){var _0x4ac5x7=this[_0xf1cd[0]][_0xf1cd[41]][_0xf1cd[40]];var _0x4ac5x1a=function(){var _0x4ac5x1c=false;if(!_0x4ac5x7[_0xf1cd[79]]()){var _0x4ac5x1d=_0x4ac5x7[_0xf1cd[81]]();for(var _0x4ac5x14=0;_0x4ac5x14< _0x4ac5x1d[_0xf1cd[47]];_0x4ac5x14++){if(_0x4ac5x7[_0xf1cd[53]]()[_0xf1cd[82]](_0x4ac5x1d[_0x4ac5x14])){_0x4ac5x1c= true;break}}};for(var _0x4ac5x14=0;_0x4ac5x14< _0x4ac5x19[_0xf1cd[47]];_0x4ac5x14++){_0x4ac5x19[_0x4ac5x14][_0xf1cd[61]](_0x4ac5x1c)}};_0x4ac5x7[_0xf1cd[52]]()[_0xf1cd[51]](mxEvent.CHANGE,_0x4ac5x1a);_0x4ac5x1a()};Toolbar[_0xf1cd[6]][_0xf1cd[64]]= function(_0x4ac5x11,_0x4ac5xd){_0x4ac5x11[_0xf1cd[85]](_0xf1cd[83],_0xf1cd[84]);if(_0x4ac5xd!= null){_0x4ac5x11[_0xf1cd[85]](_0xf1cd[86],_0x4ac5xd)};this[_0xf1cd[87]](_0x4ac5x11)};Toolbar[_0xf1cd[6]][_0xf1cd[87]]= function(_0x4ac5x11){var _0x4ac5x18=_0x4ac5x11[_0xf1cd[69]];_0x4ac5x11[_0xf1cd[61]]= function(_0x4ac5x1e){_0x4ac5x11[_0xf1cd[60]]= _0x4ac5x1e;if(_0x4ac5x1e){_0x4ac5x11[_0xf1cd[69]]= _0x4ac5x18}else {_0x4ac5x11[_0xf1cd[69]]= _0x4ac5x18+ _0xf1cd[88]}};_0x4ac5x11[_0xf1cd[61]](true)};Toolbar[_0xf1cd[6]][_0xf1cd[77]]= function(_0x4ac5x11,_0x4ac5x12){if(_0x4ac5x12!= null){mxEvent[_0xf1cd[51]](_0x4ac5x11,_0xf1cd[89],function(_0x4ac5x4){if(_0x4ac5x11[_0xf1cd[60]]){_0x4ac5x12(_0x4ac5x4)};mxEvent[_0xf1cd[90]](_0x4ac5x4)})}};Toolbar[_0xf1cd[6]][_0xf1cd[63]]= function(_0x4ac5x18){var _0x4ac5x11=document[_0xf1cd[68]](_0xf1cd[91]);_0x4ac5x11[_0xf1cd[85]](_0xf1cd[92],_0xf1cd[93]);_0x4ac5x11[_0xf1cd[69]]= _0xf1cd[94];var _0x4ac5x1f=document[_0xf1cd[68]](_0xf1cd[67]);_0x4ac5x1f[_0xf1cd[69]]= _0xf1cd[95]+ _0x4ac5x18;_0x4ac5x11[_0xf1cd[66]](_0x4ac5x1f);return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[62]]= function(_0x4ac5xc,_0x4ac5xd){var _0x4ac5x11=document[_0xf1cd[68]](_0xf1cd[91]);_0x4ac5x11[_0xf1cd[85]](_0xf1cd[92],_0xf1cd[93]);_0x4ac5x11[_0xf1cd[69]]= _0xf1cd[96];mxUtils[_0xf1cd[97]](_0x4ac5x11,_0x4ac5xc);return _0x4ac5x11};Toolbar[_0xf1cd[6]][_0xf1cd[65]]= function(_0x4ac5x11,_0x4ac5xe,_0x4ac5x12,_0x4ac5x20){if(_0x4ac5x12!= null){var _0x4ac5x7=this[_0xf1cd[0]][_0xf1cd[41]][_0xf1cd[40]];var _0x4ac5x10=null;mxEvent[_0xf1cd[51]](_0x4ac5x11,_0xf1cd[89],mxUtils[_0xf1cd[4]](this,function(_0x4ac5x4){if(_0x4ac5x11[_0xf1cd[60]]== null|| _0x4ac5x11[_0xf1cd[60]]){_0x4ac5x7[_0xf1cd[98]][_0xf1cd[3]]();_0x4ac5x10= new mxPopupMenu(_0x4ac5x12);_0x4ac5x10[_0xf1cd[67]][_0xf1cd[69]]+= _0xf1cd[99];_0x4ac5x10[_0xf1cd[100]]= _0x4ac5x20;_0x4ac5x10[_0xf1cd[101]]= _0x4ac5xe;_0x4ac5x10[_0xf1cd[102]]= true;_0x4ac5x10[_0xf1cd[106]](_0x4ac5x11[_0xf1cd[103]],_0x4ac5x11[_0xf1cd[104]]+ _0x4ac5x11[_0xf1cd[105]]+ 34,null,_0x4ac5x4);this[_0xf1cd[54]]= _0x4ac5x10};mxEvent[_0xf1cd[90]](_0x4ac5x4)}))}} \ No newline at end of file +var _0x962b=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x69\x6E\x69\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x62\x69\x6E\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x61\x76\x65","\x70\x75\x62\x6C\x69\x73\x68","\x2D","\x70\x72\x69\x6E\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x6F\x70\x79","\x63\x75\x74","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x61\x64\x64\x49\x74\x65\x6D\x73","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x67\x65\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x73\x74\x79\x6C\x65","\x6E\x6F\x77\x72\x61\x70","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x77\x69\x64\x74\x68","\x37\x30\x70\x78","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x31\x32","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x33\x30\x70\x78","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x6C\x65\x6E\x67\x74\x68","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x2E\x2E\x2E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x6E\x75\x73","\x66\x75\x6E\x63\x74","\x61\x64\x64\x4D\x65\x6E\x75\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x63\x72\x65\x61\x74\x65\x42\x75\x74\x74\x6F\x6E","\x69\x6E\x69\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x67\x65\x53\x70\x72\x69\x74\x65\x2D","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x64\x64\x49\x74\x65\x6D","\x61\x63\x74\x69\x6F\x6E\x73","\x6C\x61\x62\x65\x6C","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x61\x64\x64\x45\x64\x67\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x69\x73\x45\x64\x67\x65","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x74\x69\x74\x6C\x65","\x61\x64\x64\x45\x6E\x61\x62\x6C\x65\x64\x53\x74\x61\x74\x65","\x20\x67\x65\x44\x69\x73\x61\x62\x6C\x65\x64","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x42\x75\x74\x74\x6F\x6E","\x67\x65\x53\x70\x72\x69\x74\x65\x20","\x67\x65\x4C\x61\x62\x65\x6C","\x77\x72\x69\x74\x65","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x20\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x4D\x65\x6E\x75","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x6C\x61\x62\x65\x6C\x73","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70"];function Toolbar(_0xeb46x2,_0xeb46x3){this[_0x962b[0]]= _0xeb46x2;this[_0x962b[1]]= _0xeb46x3;this[_0x962b[2]]();mxEvent[_0x962b[5]](document,mxUtils[_0x962b[4]](this,function(_0xeb46x4){this[_0x962b[3]]()}))}Toolbar[_0x962b[6]][_0x962b[2]]= function(){this[_0x962b[21]]([_0x962b[7],_0x962b[8],_0x962b[9],_0x962b[10],_0x962b[11],_0x962b[12],_0x962b[9],_0x962b[13],_0x962b[14],_0x962b[15],_0x962b[16],_0x962b[9],_0x962b[17],_0x962b[9],_0x962b[18],_0x962b[19],_0x962b[20],_0x962b[9]]);var _0xeb46x5=this[_0x962b[25]](_0x962b[22],mxResources[_0x962b[24]](_0x962b[23]),true,_0x962b[23]);_0xeb46x5[_0x962b[27]][_0x962b[26]]= _0x962b[28];_0xeb46x5[_0x962b[27]][_0x962b[29]]= _0x962b[30];_0xeb46x5[_0x962b[27]][_0x962b[31]]= _0x962b[32];this[_0x962b[33]]();var _0xeb46x6=this[_0x962b[25]](_0x962b[34],mxResources[_0x962b[24]](_0x962b[35]),true,_0x962b[35]);_0xeb46x6[_0x962b[27]][_0x962b[26]]= _0x962b[28];_0xeb46x6[_0x962b[27]][_0x962b[29]]= _0x962b[30];_0xeb46x6[_0x962b[27]][_0x962b[31]]= _0x962b[36];this[_0x962b[21]]([_0x962b[9],_0x962b[37],_0x962b[38],_0x962b[39]]);var _0xeb46x7=this[_0x962b[0]][_0x962b[41]][_0x962b[40]];var _0xeb46x8=mxUtils[_0x962b[4]](this,function(){var _0xeb46x9=_0x962b[22];var _0xeb46xa=_0x962b[34];var _0xeb46xb=_0xeb46x7[_0x962b[44]]()[_0x962b[43]](_0xeb46x7[_0x962b[42]]());if(_0xeb46xb!= null){_0xeb46x9= _0xeb46xb[_0x962b[27]][mxConstants[_0x962b[45]]]|| _0xeb46x9;_0xeb46xa= _0xeb46xb[_0x962b[27]][mxConstants[_0x962b[46]]]|| _0xeb46xa;if(_0xeb46x9[_0x962b[47]]> 10){_0xeb46x9= _0xeb46x9[_0x962b[48]](0,8)+ _0x962b[49]};_0xeb46x5[_0x962b[50]]= _0xeb46x9;_0xeb46x6[_0x962b[50]]= _0xeb46xa}});_0xeb46x7[_0x962b[52]]()[_0x962b[51]](mxEvent.CHANGE,_0xeb46x8);_0xeb46x7[_0x962b[53]]()[_0x962b[51]](mxEvent.CHANGE,_0xeb46x8)};Toolbar[_0x962b[6]][_0x962b[3]]= function(){if(this[_0x962b[54]]!= null){this[_0x962b[54]][_0x962b[3]]();this[_0x962b[54]][_0x962b[55]]();this[_0x962b[54]]= null}};Toolbar[_0x962b[6]][_0x962b[25]]= function(_0xeb46xc,_0xeb46xd,_0xeb46xe,_0xeb46xf){var _0xeb46x10=this[_0x962b[0]][_0x962b[56]][_0x962b[24]](_0xeb46xf);var _0xeb46x11=this[_0x962b[58]](_0xeb46xc,_0xeb46xd,_0xeb46xe,_0xeb46x10[_0x962b[57]]);_0xeb46x10[_0x962b[51]](_0x962b[59],function(){_0xeb46x11[_0x962b[61]](_0xeb46x10[_0x962b[60]])});return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[58]]= function(_0xeb46xc,_0xeb46xd,_0xeb46xe,_0xeb46x12){var _0xeb46x11=(_0xeb46xe)?this[_0x962b[62]](_0xeb46xc):this[_0x962b[63]](_0xeb46xc);this[_0x962b[64]](_0xeb46x11,_0xeb46xd);this[_0x962b[65]](_0xeb46x11,_0xeb46xe,_0xeb46x12);this[_0x962b[1]][_0x962b[66]](_0xeb46x11);return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[33]]= function(){var _0xeb46x11=document[_0x962b[68]](_0x962b[67]);_0xeb46x11[_0x962b[69]]= _0x962b[70];this[_0x962b[1]][_0x962b[66]](_0xeb46x11);return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[21]]= function(_0xeb46x13){for(var _0xeb46x14=0;_0xeb46x14< _0xeb46x13[_0x962b[47]];_0xeb46x14++){var _0xeb46x15=_0xeb46x13[_0xeb46x14];if(_0xeb46x15== _0x962b[9]){this[_0x962b[33]]()}else {this[_0x962b[73]](_0x962b[71]+ _0xeb46x15[_0x962b[72]](),_0xeb46x15)}}};Toolbar[_0x962b[6]][_0x962b[73]]= function(_0xeb46x16,_0xeb46x15){var _0xeb46x17=this[_0x962b[0]][_0x962b[74]][_0x962b[24]](_0xeb46x15);var _0xeb46x11=null;if(_0xeb46x17!= null){_0xeb46x11= this[_0x962b[76]](_0xeb46x16,_0xeb46x17[_0x962b[75]],_0xeb46x17[_0x962b[57]]);_0xeb46x11[_0x962b[61]](_0xeb46x17[_0x962b[60]]);_0xeb46x17[_0x962b[51]](_0x962b[59],function(){_0xeb46x11[_0x962b[61]](_0xeb46x17[_0x962b[60]])})};return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[76]]= function(_0xeb46x18,_0xeb46xd,_0xeb46x12){var _0xeb46x11=this[_0x962b[63]](_0xeb46x18);this[_0x962b[64]](_0xeb46x11,_0xeb46xd);this[_0x962b[77]](_0xeb46x11,_0xeb46x12);this[_0x962b[1]][_0x962b[66]](_0xeb46x11);return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[78]]= function(_0xeb46x19){var _0xeb46x7=this[_0x962b[0]][_0x962b[41]][_0x962b[40]];var _0xeb46x1a=function(){var _0xeb46x1b=!_0xeb46x7[_0x962b[79]]();for(var _0xeb46x14=0;_0xeb46x14< _0xeb46x19[_0x962b[47]];_0xeb46x14++){_0xeb46x19[_0xeb46x14][_0x962b[61]](_0xeb46x1b)}};_0xeb46x7[_0x962b[52]]()[_0x962b[51]](mxEvent.CHANGE,_0xeb46x1a);_0xeb46x1a()};Toolbar[_0x962b[6]][_0x962b[80]]= function(_0xeb46x19){var _0xeb46x7=this[_0x962b[0]][_0x962b[41]][_0x962b[40]];var _0xeb46x1a=function(){var _0xeb46x1c=false;if(!_0xeb46x7[_0x962b[79]]()){var _0xeb46x1d=_0xeb46x7[_0x962b[81]]();for(var _0xeb46x14=0;_0xeb46x14< _0xeb46x1d[_0x962b[47]];_0xeb46x14++){if(_0xeb46x7[_0x962b[53]]()[_0x962b[82]](_0xeb46x1d[_0xeb46x14])){_0xeb46x1c= true;break}}};for(var _0xeb46x14=0;_0xeb46x14< _0xeb46x19[_0x962b[47]];_0xeb46x14++){_0xeb46x19[_0xeb46x14][_0x962b[61]](_0xeb46x1c)}};_0xeb46x7[_0x962b[52]]()[_0x962b[51]](mxEvent.CHANGE,_0xeb46x1a);_0xeb46x1a()};Toolbar[_0x962b[6]][_0x962b[64]]= function(_0xeb46x11,_0xeb46xd){_0xeb46x11[_0x962b[85]](_0x962b[83],_0x962b[84]);if(_0xeb46xd!= null){_0xeb46x11[_0x962b[85]](_0x962b[86],_0xeb46xd)};this[_0x962b[87]](_0xeb46x11)};Toolbar[_0x962b[6]][_0x962b[87]]= function(_0xeb46x11){var _0xeb46x18=_0xeb46x11[_0x962b[69]];_0xeb46x11[_0x962b[61]]= function(_0xeb46x1e){_0xeb46x11[_0x962b[60]]= _0xeb46x1e;if(_0xeb46x1e){_0xeb46x11[_0x962b[69]]= _0xeb46x18}else {_0xeb46x11[_0x962b[69]]= _0xeb46x18+ _0x962b[88]}};_0xeb46x11[_0x962b[61]](true)};Toolbar[_0x962b[6]][_0x962b[77]]= function(_0xeb46x11,_0xeb46x12){if(_0xeb46x12!= null){mxEvent[_0x962b[51]](_0xeb46x11,_0x962b[89],function(_0xeb46x4){if(_0xeb46x11[_0x962b[60]]){_0xeb46x12(_0xeb46x4)};mxEvent[_0x962b[90]](_0xeb46x4)})}};Toolbar[_0x962b[6]][_0x962b[63]]= function(_0xeb46x18){var _0xeb46x11=document[_0x962b[68]](_0x962b[91]);_0xeb46x11[_0x962b[85]](_0x962b[92],_0x962b[93]);_0xeb46x11[_0x962b[69]]= _0x962b[94];var _0xeb46x1f=document[_0x962b[68]](_0x962b[67]);_0xeb46x1f[_0x962b[69]]= _0x962b[95]+ _0xeb46x18;_0xeb46x11[_0x962b[66]](_0xeb46x1f);return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[62]]= function(_0xeb46xc,_0xeb46xd){var _0xeb46x11=document[_0x962b[68]](_0x962b[91]);_0xeb46x11[_0x962b[85]](_0x962b[92],_0x962b[93]);_0xeb46x11[_0x962b[69]]= _0x962b[96];mxUtils[_0x962b[97]](_0xeb46x11,_0xeb46xc);return _0xeb46x11};Toolbar[_0x962b[6]][_0x962b[65]]= function(_0xeb46x11,_0xeb46xe,_0xeb46x12,_0xeb46x20){if(_0xeb46x12!= null){var _0xeb46x7=this[_0x962b[0]][_0x962b[41]][_0x962b[40]];var _0xeb46x10=null;mxEvent[_0x962b[51]](_0xeb46x11,_0x962b[89],mxUtils[_0x962b[4]](this,function(_0xeb46x4){if(_0xeb46x11[_0x962b[60]]== null|| _0xeb46x11[_0x962b[60]]){_0xeb46x7[_0x962b[98]][_0x962b[3]]();_0xeb46x10= new mxPopupMenu(_0xeb46x12);_0xeb46x10[_0x962b[67]][_0x962b[69]]+= _0x962b[99];_0xeb46x10[_0x962b[100]]= _0xeb46x20;_0xeb46x10[_0x962b[101]]= _0xeb46xe;_0xeb46x10[_0x962b[102]]= true;_0xeb46x10[_0x962b[106]](_0xeb46x11[_0x962b[103]],_0xeb46x11[_0x962b[104]]+ _0xeb46x11[_0x962b[105]]+ 34,null,_0xeb46x4);this[_0x962b[54]]= _0xeb46x10};mxEvent[_0x962b[90]](_0xeb46x4)}))}} \ 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 d1fceb2..f2307ea 100644 --- a/public/assets/plugins/jscripty/js/custom.js +++ b/public/assets/plugins/jscripty/js/custom.js @@ -1 +1 @@ -var _0xfc53=["\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x26","\x73\x70\x6C\x69\x74","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x6C\x65\x6E\x67\x74\x68","\x3D","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x65\x78\x70\x2E\x64\x72\x61\x77\x2E\x69\x6F\x2F\x49\x6D\x61\x67\x65\x45\x78\x70\x6F\x72\x74\x32\x2F\x65\x78\x70\x6F\x72\x74","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x33\x30\x30\x30","\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F","\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73\x2F","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x73\x68\x61\x70\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x69\x6D\x61\x67\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x73\x74\x79\x6C\x65\x73","\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6F\x70\x65\x6E","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73","\x2F\x64\x69\x61","\x63\x75\x73\x74\x6F\x6D","\x4E\x47\x5F\x54\x52\x41\x4E\x53\x4C\x41\x54\x45\x5F\x4C\x41\x4E\x47\x5F\x4B\x45\x59","\x67\x65\x74\x49\x74\x65\x6D","\x6C\x6F\x67","\x65\x6E","\x65\x6E\x5F\x45\x4E","\x69\x74","\x6D\x78\x4C\x61\x6E\x67\x75\x61\x67\x65","\x61\x72","\x62\x73","\x63\x73","\x64\x61","\x64\x65","\x65\x6C","\x65\x73","\x65\x73\x2D\x61\x72","\x66\x72","\x68\x75","\x69\x64","\x6A\x61","\x6B\x6F","\x6E\x6C","\x6E\x6F","\x70\x6C","\x70\x74\x2D\x62\x72","\x70\x74","\x72\x6F","\x72\x75","\x73\x72","\x73\x76","\x74\x68","\x74\x72","\x75\x6B","\x7A\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x6A\x73","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x20\x43\x61\x6E\x74\x6F\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x54\x61\x69\x77\x61\x6E\x20\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x4D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x42\x72\x61\x7A\x69\x6C\x69\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x61\x74\x61\x6C\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x7A\x65\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x75\x74\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x49\x74\x61\x6C\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65\x09","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x4D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x4D\x61\x6C\x65","\x53\x77\x65\x64\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x53\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x4B\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x53\x70\x61\x69\x6E\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x4D\x65\x78\x69\x63\x6F\x29","\x49\x74\x61\x6C\x69\x61\x6E\x20\x28\x49\x74\x61\x6C\x79\x29\x20\x2F\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x28\x46\x69\x6E\x6C\x61\x6E\x64\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x46\x72\x61\x6E\x63\x65\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x50\x6F\x6C\x69\x73\x68\x20\x28\x50\x6F\x6C\x61\x6E\x64\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x50\x6F\x72\x74\x75\x67\x61\x6C\x29","\x43\x61\x74\x61\x6C\x61\x6E\x20\x28\x43\x61\x74\x61\x6C\x61\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x61\x69\x77\x61\x6E\x29","\x44\x61\x6E\x69\x73\x68\x20\x28\x44\x65\x6E\x6D\x61\x72\x6B\x29","\x47\x65\x72\x6D\x61\x6E\x20\x28\x47\x65\x72\x6D\x61\x6E\x79\x29","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x28\x4A\x61\x70\x61\x6E\x29","\x4B\x6F\x72\x65\x61\x6E\x20\x28\x4B\x6F\x72\x65\x61\x29","\x44\x75\x74\x63\x68\x20\x28\x4E\x65\x74\x68\x65\x72\x6C\x61\x6E\x64\x73\x29","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x6F\x72\x77\x61\x79\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x42\x72\x61\x7A\x69\x6C\x29","\x52\x75\x73\x73\x69\x61\x6E\x20\x28\x52\x75\x73\x73\x69\x61\x29","\x53\x77\x65\x64\x69\x73\x68\x20\x28\x53\x77\x65\x64\x65\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x43\x68\x69\x6E\x61\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x29","\x44\x65\x66\x61\x75\x6C\x74","\x44\x61\x74\x65","\x55\x53\x20\x4D\x6F\x6E\x65\x79","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39\x39","\x54\x69\x6D\x65","\x50\x68\x6F\x6E\x65\x20\x6E\x75\x6D\x62\x65\x72","\x53\x74\x72\x65\x65\x74\x73","\x55\x53\x20\x43\x69\x74\x79\x2F\x53\x74\x61\x74\x65\x73","\x41\x66\x72\x69\x6B\x61\x61\x6E\x73","\x41\x6C\x62\x61\x6E\x69\x61\x6E","\x41\x6D\x68\x61\x72\x69\x63","\x41\x72\x61\x62\x69\x63","\x41\x72\x6D\x65\x6E\x69\x61\x6E","\x41\x7A\x65\x72\x62\x61\x69\x6A\x61\x6E\x69","\x42\x61\x73\x71\x75\x65","\x42\x65\x6C\x61\x72\x75\x73\x69\x61\x6E","\x42\x65\x6E\x67\x61\x6C\x69","\x42\x69\x68\x61\x72\x69","\x42\x6F\x73\x6E\x69\x61\x6E","\x42\x72\x65\x74\x6F\x6E","\x42\x75\x6C\x67\x61\x72\x69\x61\x6E","\x43\x61\x6D\x62\x6F\x64\x69\x61\x6E","\x43\x61\x74\x61\x6C\x61\x6E","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x53\x69\x6D\x70\x6C\x69\x66\x69\x65\x64\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x72\x61\x64\x69\x74\x69\x6F\x6E\x61\x6C\x29","\x43\x6F\x72\x73\x69\x63\x61\x6E","\x43\x72\x6F\x61\x74\x69\x61\x6E","\x43\x7A\x65\x63\x68","\x44\x61\x6E\x69\x73\x68","\x44\x75\x74\x63\x68","\x45\x6E\x67\x6C\x69\x73\x68","\x45\x73\x70\x65\x72\x61\x6E\x74\x6F","\x45\x73\x74\x6F\x6E\x69\x61\x6E","\x46\x61\x72\x6F\x65\x73\x65","\x46\x69\x6C\x69\x70\x69\x6E\x6F","\x46\x69\x6E\x6E\x69\x73\x68","\x46\x72\x65\x6E\x63\x68","\x46\x72\x69\x73\x69\x61\x6E","\x47\x61\x6C\x69\x63\x69\x61\x6E","\x47\x65\x6F\x72\x67\x69\x61\x6E","\x47\x65\x72\x6D\x61\x6E","\x47\x72\x65\x65\x6B","\x47\x75\x61\x72\x61\x6E\x69","\x47\x75\x6A\x61\x72\x61\x74\x69","\x48\x61\x63\x6B\x65\x72","\x48\x61\x75\x73\x61","\x48\x65\x62\x72\x65\x77","\x48\x69\x6E\x64\x69","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E","\x49\x63\x65\x6C\x61\x6E\x64\x69\x63","\x49\x6E\x64\x6F\x6E\x65\x73\x69\x61\x6E","\x49\x6E\x74\x65\x72\x6C\x69\x6E\x67\x75\x61","\x49\x72\x69\x73\x68","\x49\x74\x61\x6C\x69\x61\x6E","\x4A\x61\x76\x61\x6E\x65\x73\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65","\x4B\x61\x6E\x6E\x61\x64\x61","\x4B\x61\x7A\x61\x6B\x68","\x4B\x69\x6E\x79\x61\x72\x77\x61\x6E\x64\x61","\x4B\x69\x72\x75\x6E\x64\x69","\x4B\x6C\x69\x6E\x67\x6F\x6E","\x4B\x75\x72\x64\x69\x73\x68","\x4B\x6F\x72\x65\x61\x6E","\x4B\x79\x72\x67\x79\x7A","\x4C\x61\x6F\x74\x68\x69\x61\x6E","\x4C\x61\x74\x69\x6E","\x4C\x61\x74\x76\x69\x61\x6E","\x4C\x69\x6E\x67\x61\x6C\x61","\x4C\x69\x74\x68\x75\x61\x6E\x69\x61\x6E","\x4D\x61\x63\x65\x64\x6F\x6E\x69\x61\x6E","\x4D\x61\x6C\x61\x67\x61\x73\x79","\x4D\x61\x6C\x61\x79","\x4D\x61\x6C\x61\x79\x61\x6C\x61\x6D","\x4D\x61\x6C\x74\x65\x73\x65","\x4D\x61\x6F\x72\x69","\x4D\x61\x72\x61\x74\x68\x69","\x4D\x6F\x6C\x64\x61\x76\x69\x61\x6E","\x4D\x6F\x6E\x67\x6F\x6C\x69\x61\x6E","\x4D\x6F\x6E\x74\x65\x6E\x65\x67\x72\x69\x6E","\x4E\x65\x70\x61\x6C\x69","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x79\x6E\x6F\x72\x73\x6B\x29","\x4F\x63\x63\x69\x74\x61\x6E","\x4F\x72\x69\x79\x61","\x4F\x72\x6F\x6D\x6F","\x50\x61\x73\x68\x74\x6F","\x50\x65\x72\x73\x69\x61\x6E","\x50\x69\x72\x61\x74\x65","\x50\x6F\x6C\x69\x73\x68","\x50\x75\x6E\x6A\x61\x62\x69","\x51\x75\x65\x63\x68\x75\x61","\x52\x6F\x6D\x61\x6E\x69\x61\x6E","\x52\x6F\x6D\x61\x6E\x73\x68","\x52\x75\x73\x73\x69\x61\x6E","\x53\x63\x6F\x74\x73\x20\x47\x61\x65\x6C\x69\x63","\x53\x65\x72\x62\x69\x61\x6E","\x53\x65\x72\x62\x6F\x2D\x43\x72\x6F\x61\x74\x69\x61\x6E","\x53\x65\x73\x6F\x74\x68\x6F","\x53\x68\x6F\x6E\x61","\x53\x69\x6E\x64\x68\x69","\x53\x69\x6E\x68\x61\x6C\x65\x73\x65","\x53\x6C\x6F\x76\x61\x6B","\x53\x6C\x6F\x76\x65\x6E\x69\x61\x6E","\x53\x6F\x6D\x61\x6C\x69","\x53\x70\x61\x6E\x69\x73\x68","\x53\x75\x6E\x64\x61\x6E\x65\x73\x65","\x53\x77\x61\x68\x69\x6C\x69","\x53\x77\x65\x64\x69\x73\x68","\x54\x61\x6A\x69\x6B","\x54\x61\x6D\x69\x6C","\x54\x61\x74\x61\x72","\x54\x65\x6C\x75\x67\x75","\x54\x68\x61\x69","\x54\x69\x67\x72\x69\x6E\x79\x61","\x54\x6F\x6E\x67\x61","\x54\x75\x72\x6B\x69\x73\x68","\x54\x75\x72\x6B\x6D\x65\x6E","\x54\x77\x69","\x55\x69\x67\x68\x75\x72","\x55\x6B\x72\x61\x69\x6E\x69\x61\x6E","\x55\x72\x64\x75","\x55\x7A\x62\x65\x6B","\x56\x69\x65\x74\x6E\x61\x6D\x65\x73\x65","\x57\x65\x6C\x73\x68","\x58\x68\x6F\x73\x61","\x59\x69\x64\x64\x69\x73\x68","\x59\x6F\x72\x75\x62\x61","\x5A\x75\x6C\x75"];var urlParams=(function(_0xe97fx2){var _0xe97fx3= new Object();var _0xe97fx4=_0xe97fx2[_0xfc53[3]](_0xfc53[2]);if(_0xe97fx4> 0){var _0xe97fx5=_0xe97fx2[_0xfc53[6]](_0xe97fx4+ 1)[_0xfc53[5]](_0xfc53[4]);for(var _0xe97fx6=0;_0xe97fx6< _0xe97fx5[_0xfc53[7]];_0xe97fx6++){_0xe97fx4= _0xe97fx5[_0xe97fx6][_0xfc53[9]](_0xfc53[8]);if(_0xe97fx4> 0){_0xe97fx3[_0xe97fx5[_0xe97fx6][_0xfc53[6]](0,_0xe97fx4)]= _0xe97fx5[_0xe97fx6][_0xfc53[6]](_0xe97fx4+ 1)}}};return _0xe97fx3})(window[_0xfc53[1]][_0xfc53[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0xfc53[10];var SHARE_HOST=_0xfc53[11];var SAVE_URL=_0xfc53[12];var VARIABLE_URL=_0xfc53[13];var STENCIL_PATH=_0xfc53[14];var SHAPES_PATH=_0xfc53[15];var IMAGE_PATH=_0xfc53[16];var STYLE_PATH=_0xfc53[17];var CSS_PATH=_0xfc53[17];var OPEN_FORM=_0xfc53[18];var TEMPLATE_PATH=_0xfc53[19];var RESOURCES_PATH=_0xfc53[20];var RESOURCE_BASE=RESOURCES_PATH+ _0xfc53[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;console[_0xfc53[25]](_0xfc53[22],localStorage[_0xfc53[24]](_0xfc53[23]));switch(localStorage[_0xfc53[24]](_0xfc53[23])){case _0xfc53[27]:mxLanguage= _0xfc53[26];break;case _0xfc53[28]:mxLanguage= _0xfc53[28];break;default:mxLanguage= _0xfc53[28]};console[_0xfc53[25]](_0xfc53[29],mxLanguage);var mxLanguages=[_0xfc53[30],_0xfc53[31],_0xfc53[32],_0xfc53[33],_0xfc53[34],_0xfc53[35],_0xfc53[36],_0xfc53[37],_0xfc53[38],_0xfc53[39],_0xfc53[40],_0xfc53[28],_0xfc53[41],_0xfc53[42],_0xfc53[43],_0xfc53[44],_0xfc53[45],_0xfc53[46],_0xfc53[47],_0xfc53[48],_0xfc53[49],_0xfc53[50],_0xfc53[51],_0xfc53[52],_0xfc53[53],_0xfc53[54],_0xfc53[55]];var mxBasePath=_0xfc53[56];var geBasePath=_0xfc53[57];var ISPEECHLANG={usenglishfemale:_0xfc53[58],usenglishmale:_0xfc53[59],ukenglishfemale:_0xfc53[60],ukenglishmale:_0xfc53[61],auenglishfemale:_0xfc53[62],usspanishfemale:_0xfc53[63],usspanishmale:_0xfc53[64],chchinesefemale:_0xfc53[65],chchinesemale:_0xfc53[66],hkchinesefemale:_0xfc53[67],twchinesefemale:_0xfc53[68],jpjapanesefemale:_0xfc53[69],jpjapanesemale:_0xfc53[70],krkoreanfemale:_0xfc53[71],krkoreanmale:_0xfc53[72],caenglishfemale:_0xfc53[73],huhungarianfemale:_0xfc53[74],brportuguesefemale:_0xfc53[75],eurportuguesefemale:_0xfc53[76],eurportuguesemale:_0xfc53[77],eurspanishfemale:_0xfc53[78],eurspanishmale:_0xfc53[79],eurcatalanfemale:_0xfc53[80],eurczechfemale:_0xfc53[81],eurdanishfemale:_0xfc53[82],eurfinnishfemale:_0xfc53[83],eurfrenchfemale:_0xfc53[84],eurfrenchmale:_0xfc53[85],eurnorwegianfemale:_0xfc53[86],eurdutchfemale:_0xfc53[87],eurpolishfemale:_0xfc53[88],euritalianfemale:_0xfc53[89],eurturkishfemale:_0xfc53[90],eurturkishmale:_0xfc53[91],eurgermanfemale:_0xfc53[92],eurgermanmale:_0xfc53[93],rurussianfemale:_0xfc53[94],rurussianmale:_0xfc53[95],swswedishfemale:_0xfc53[96],cafrenchfemale:_0xfc53[97],cafrenchmale:_0xfc53[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0xfc53[99],"\x65\x6E\x2D\x43\x41":_0xfc53[100],"\x65\x6E\x2D\x47\x42":_0xfc53[101],"\x65\x6E\x2D\x41\x55":_0xfc53[102],"\x65\x73\x2D\x45\x53":_0xfc53[103],"\x65\x73\x2D\x4D\x58":_0xfc53[104],"\x69\x74\x2D\x49\x54":_0xfc53[105],"\x66\x72\x2D\x46\x52":_0xfc53[106],"\x66\x72\x2D\x43\x41":_0xfc53[107],"\x70\x6C\x2D\x50\x4C":_0xfc53[108],"\x70\x74\x2D\x50\x54":_0xfc53[109],"\x63\x61\x2D\x45\x53":_0xfc53[110],"\x7A\x68\x2D\x54\x57":_0xfc53[111],"\x64\x61\x2D\x44\x4B":_0xfc53[112],"\x66\x72\x2D\x46\x52":_0xfc53[113],"\x6A\x61\x2D\x4A\x50":_0xfc53[114],"\x6B\x6F\x2D\x4B\x52":_0xfc53[115],"\x6E\x6C\x2D\x4E\x4C":_0xfc53[116],"\x6E\x62\x2D\x4E\x4F":_0xfc53[117],"\x70\x74\x2D\x42\x52":_0xfc53[118],"\x72\x75\x2D\x52\x55":_0xfc53[119],"\x73\x76\x2D\x53\x45":_0xfc53[120],"\x7A\x68\x2D\x43\x4E":_0xfc53[121],"\x7A\x68\x2D\x48\x4B":_0xfc53[122]};var ISPEECHASRMODEL={0:_0xfc53[123],date:_0xfc53[124],usmoney:_0xfc53[125],numbersto9:_0xfc53[126],numbersto99:_0xfc53[127],numbersto999:_0xfc53[128],time:_0xfc53[129],phonenumber:_0xfc53[130],streets:_0xfc53[131],citystate:_0xfc53[132]};var GOOGLETTSLANG={"\x61\x66":_0xfc53[133],"\x73\x71":_0xfc53[134],"\x61\x6D":_0xfc53[135],"\x61\x72":_0xfc53[136],"\x68\x79":_0xfc53[137],"\x61\x7A":_0xfc53[138],"\x65\x75":_0xfc53[139],"\x62\x65":_0xfc53[140],"\x62\x6E":_0xfc53[141],"\x62\x68":_0xfc53[142],"\x62\x73":_0xfc53[143],"\x62\x72":_0xfc53[144],"\x62\x67":_0xfc53[145],"\x6B\x6D":_0xfc53[146],"\x63\x61":_0xfc53[147],"\x7A\x68\x2D\x43\x4E":_0xfc53[148],"\x7A\x68\x2D\x54\x57":_0xfc53[149],"\x63\x6F":_0xfc53[150],"\x68\x72":_0xfc53[151],"\x63\x73":_0xfc53[152],"\x64\x61":_0xfc53[153],"\x6E\x6C":_0xfc53[154],"\x65\x6E":_0xfc53[155],"\x65\x6F":_0xfc53[156],"\x65\x74":_0xfc53[157],"\x66\x6F":_0xfc53[158],"\x74\x6C":_0xfc53[159],"\x66\x69":_0xfc53[160],"\x66\x72":_0xfc53[161],"\x66\x79":_0xfc53[162],"\x67\x6C":_0xfc53[163],"\x6B\x61":_0xfc53[164],"\x64\x65":_0xfc53[165],"\x65\x6C":_0xfc53[166],"\x67\x6E":_0xfc53[167],"\x67\x75":_0xfc53[168],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0xfc53[169],"\x68\x61":_0xfc53[170],"\x69\x77":_0xfc53[171],"\x68\x69":_0xfc53[172],"\x68\x75":_0xfc53[173],"\x69\x73":_0xfc53[174],"\x69\x64":_0xfc53[175],"\x69\x61":_0xfc53[176],"\x67\x61":_0xfc53[177],"\x69\x74":_0xfc53[178],"\x6A\x77":_0xfc53[179],"\x6A\x61":_0xfc53[180],"\x6B\x6E":_0xfc53[181],"\x6B\x6B":_0xfc53[182],"\x72\x77":_0xfc53[183],"\x72\x6E":_0xfc53[184],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0xfc53[185],"\x6B\x75":_0xfc53[186],"\x6B\x6F":_0xfc53[187],"\x6B\x79":_0xfc53[188],"\x6C\x6F":_0xfc53[189],"\x6C\x61":_0xfc53[190],"\x6C\x76":_0xfc53[191],"\x6C\x6E":_0xfc53[192],"\x6C\x74":_0xfc53[193],"\x6D\x6B":_0xfc53[194],"\x6D\x67":_0xfc53[195],"\x6D\x73":_0xfc53[196],"\x6D\x6C":_0xfc53[197],"\x6D\x74":_0xfc53[198],"\x6D\x69":_0xfc53[199],"\x6D\x72":_0xfc53[200],"\x6D\x6F":_0xfc53[201],"\x6D\x6E":_0xfc53[202],"\x73\x72\x2D\x4D\x45":_0xfc53[203],"\x6E\x65":_0xfc53[204],"\x6E\x6F":_0xfc53[205],"\x6E\x6E":_0xfc53[206],"\x6F\x63":_0xfc53[207],"\x6F\x72":_0xfc53[208],"\x6F\x6D":_0xfc53[209],"\x70\x73":_0xfc53[210],"\x66\x61":_0xfc53[211],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0xfc53[212],"\x70\x6C":_0xfc53[213],"\x70\x74\x2D\x42\x52":_0xfc53[118],"\x70\x74\x2D\x50\x54":_0xfc53[109],"\x70\x61":_0xfc53[214],"\x71\x75":_0xfc53[215],"\x72\x6F":_0xfc53[216],"\x72\x6D":_0xfc53[217],"\x72\x75":_0xfc53[218],"\x67\x64":_0xfc53[219],"\x73\x72":_0xfc53[220],"\x73\x68":_0xfc53[221],"\x73\x74":_0xfc53[222],"\x73\x6E":_0xfc53[223],"\x73\x64":_0xfc53[224],"\x73\x69":_0xfc53[225],"\x73\x6B":_0xfc53[226],"\x73\x6C":_0xfc53[227],"\x73\x6F":_0xfc53[228],"\x65\x73":_0xfc53[229],"\x73\x75":_0xfc53[230],"\x73\x77":_0xfc53[231],"\x73\x76":_0xfc53[232],"\x74\x67":_0xfc53[233],"\x74\x61":_0xfc53[234],"\x74\x74":_0xfc53[235],"\x74\x65":_0xfc53[236],"\x74\x68":_0xfc53[237],"\x74\x69":_0xfc53[238],"\x74\x6F":_0xfc53[239],"\x74\x72":_0xfc53[240],"\x74\x6B":_0xfc53[241],"\x74\x77":_0xfc53[242],"\x75\x67":_0xfc53[243],"\x75\x6B":_0xfc53[244],"\x75\x72":_0xfc53[245],"\x75\x7A":_0xfc53[246],"\x76\x69":_0xfc53[247],"\x63\x79":_0xfc53[248],"\x78\x68":_0xfc53[249],"\x79\x69":_0xfc53[250],"\x79\x6F":_0xfc53[251],"\x7A\x75":_0xfc53[252]} \ No newline at end of file +var _0x275e=["\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x26","\x73\x70\x6C\x69\x74","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x6C\x65\x6E\x67\x74\x68","\x3D","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x65\x78\x70\x2E\x64\x72\x61\x77\x2E\x69\x6F\x2F\x49\x6D\x61\x67\x65\x45\x78\x70\x6F\x72\x74\x32\x2F\x65\x78\x70\x6F\x72\x74","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x33\x30\x30\x30","\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F","\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73\x2F","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x73\x68\x61\x70\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x69\x6D\x61\x67\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x73\x74\x79\x6C\x65\x73","\x61\x70\x69\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6F\x70\x65\x6E","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6A\x73\x63\x72\x69\x70\x74\x79\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73","\x2F\x64\x69\x61","\x63\x75\x73\x74\x6F\x6D","\x4E\x47\x5F\x54\x52\x41\x4E\x53\x4C\x41\x54\x45\x5F\x4C\x41\x4E\x47\x5F\x4B\x45\x59","\x67\x65\x74\x49\x74\x65\x6D","\x6C\x6F\x67","\x65\x6E","\x65\x6E\x5F\x45\x4E","\x69\x74","\x6D\x78\x4C\x61\x6E\x67\x75\x61\x67\x65","\x61\x72","\x62\x73","\x63\x73","\x64\x61","\x64\x65","\x65\x6C","\x65\x73","\x65\x73\x2D\x61\x72","\x66\x72","\x68\x75","\x69\x64","\x6A\x61","\x6B\x6F","\x6E\x6C","\x6E\x6F","\x70\x6C","\x70\x74\x2D\x62\x72","\x70\x74","\x72\x6F","\x72\x75","\x73\x72","\x73\x76","\x74\x68","\x74\x72","\x75\x6B","\x7A\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x6A\x73","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x20\x43\x61\x6E\x74\x6F\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x54\x61\x69\x77\x61\x6E\x20\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x4D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x42\x72\x61\x7A\x69\x6C\x69\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x61\x74\x61\x6C\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x7A\x65\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x75\x74\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x49\x74\x61\x6C\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65\x09","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x4D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x4D\x61\x6C\x65","\x53\x77\x65\x64\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x53\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x4B\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x53\x70\x61\x69\x6E\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x4D\x65\x78\x69\x63\x6F\x29","\x49\x74\x61\x6C\x69\x61\x6E\x20\x28\x49\x74\x61\x6C\x79\x29\x20\x2F\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x28\x46\x69\x6E\x6C\x61\x6E\x64\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x46\x72\x61\x6E\x63\x65\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x50\x6F\x6C\x69\x73\x68\x20\x28\x50\x6F\x6C\x61\x6E\x64\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x50\x6F\x72\x74\x75\x67\x61\x6C\x29","\x43\x61\x74\x61\x6C\x61\x6E\x20\x28\x43\x61\x74\x61\x6C\x61\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x61\x69\x77\x61\x6E\x29","\x44\x61\x6E\x69\x73\x68\x20\x28\x44\x65\x6E\x6D\x61\x72\x6B\x29","\x47\x65\x72\x6D\x61\x6E\x20\x28\x47\x65\x72\x6D\x61\x6E\x79\x29","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x28\x4A\x61\x70\x61\x6E\x29","\x4B\x6F\x72\x65\x61\x6E\x20\x28\x4B\x6F\x72\x65\x61\x29","\x44\x75\x74\x63\x68\x20\x28\x4E\x65\x74\x68\x65\x72\x6C\x61\x6E\x64\x73\x29","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x6F\x72\x77\x61\x79\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x42\x72\x61\x7A\x69\x6C\x29","\x52\x75\x73\x73\x69\x61\x6E\x20\x28\x52\x75\x73\x73\x69\x61\x29","\x53\x77\x65\x64\x69\x73\x68\x20\x28\x53\x77\x65\x64\x65\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x43\x68\x69\x6E\x61\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x29","\x44\x65\x66\x61\x75\x6C\x74","\x44\x61\x74\x65","\x55\x53\x20\x4D\x6F\x6E\x65\x79","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39\x39","\x54\x69\x6D\x65","\x50\x68\x6F\x6E\x65\x20\x6E\x75\x6D\x62\x65\x72","\x53\x74\x72\x65\x65\x74\x73","\x55\x53\x20\x43\x69\x74\x79\x2F\x53\x74\x61\x74\x65\x73","\x41\x66\x72\x69\x6B\x61\x61\x6E\x73","\x41\x6C\x62\x61\x6E\x69\x61\x6E","\x41\x6D\x68\x61\x72\x69\x63","\x41\x72\x61\x62\x69\x63","\x41\x72\x6D\x65\x6E\x69\x61\x6E","\x41\x7A\x65\x72\x62\x61\x69\x6A\x61\x6E\x69","\x42\x61\x73\x71\x75\x65","\x42\x65\x6C\x61\x72\x75\x73\x69\x61\x6E","\x42\x65\x6E\x67\x61\x6C\x69","\x42\x69\x68\x61\x72\x69","\x42\x6F\x73\x6E\x69\x61\x6E","\x42\x72\x65\x74\x6F\x6E","\x42\x75\x6C\x67\x61\x72\x69\x61\x6E","\x43\x61\x6D\x62\x6F\x64\x69\x61\x6E","\x43\x61\x74\x61\x6C\x61\x6E","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x53\x69\x6D\x70\x6C\x69\x66\x69\x65\x64\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x72\x61\x64\x69\x74\x69\x6F\x6E\x61\x6C\x29","\x43\x6F\x72\x73\x69\x63\x61\x6E","\x43\x72\x6F\x61\x74\x69\x61\x6E","\x43\x7A\x65\x63\x68","\x44\x61\x6E\x69\x73\x68","\x44\x75\x74\x63\x68","\x45\x6E\x67\x6C\x69\x73\x68","\x45\x73\x70\x65\x72\x61\x6E\x74\x6F","\x45\x73\x74\x6F\x6E\x69\x61\x6E","\x46\x61\x72\x6F\x65\x73\x65","\x46\x69\x6C\x69\x70\x69\x6E\x6F","\x46\x69\x6E\x6E\x69\x73\x68","\x46\x72\x65\x6E\x63\x68","\x46\x72\x69\x73\x69\x61\x6E","\x47\x61\x6C\x69\x63\x69\x61\x6E","\x47\x65\x6F\x72\x67\x69\x61\x6E","\x47\x65\x72\x6D\x61\x6E","\x47\x72\x65\x65\x6B","\x47\x75\x61\x72\x61\x6E\x69","\x47\x75\x6A\x61\x72\x61\x74\x69","\x48\x61\x63\x6B\x65\x72","\x48\x61\x75\x73\x61","\x48\x65\x62\x72\x65\x77","\x48\x69\x6E\x64\x69","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E","\x49\x63\x65\x6C\x61\x6E\x64\x69\x63","\x49\x6E\x64\x6F\x6E\x65\x73\x69\x61\x6E","\x49\x6E\x74\x65\x72\x6C\x69\x6E\x67\x75\x61","\x49\x72\x69\x73\x68","\x49\x74\x61\x6C\x69\x61\x6E","\x4A\x61\x76\x61\x6E\x65\x73\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65","\x4B\x61\x6E\x6E\x61\x64\x61","\x4B\x61\x7A\x61\x6B\x68","\x4B\x69\x6E\x79\x61\x72\x77\x61\x6E\x64\x61","\x4B\x69\x72\x75\x6E\x64\x69","\x4B\x6C\x69\x6E\x67\x6F\x6E","\x4B\x75\x72\x64\x69\x73\x68","\x4B\x6F\x72\x65\x61\x6E","\x4B\x79\x72\x67\x79\x7A","\x4C\x61\x6F\x74\x68\x69\x61\x6E","\x4C\x61\x74\x69\x6E","\x4C\x61\x74\x76\x69\x61\x6E","\x4C\x69\x6E\x67\x61\x6C\x61","\x4C\x69\x74\x68\x75\x61\x6E\x69\x61\x6E","\x4D\x61\x63\x65\x64\x6F\x6E\x69\x61\x6E","\x4D\x61\x6C\x61\x67\x61\x73\x79","\x4D\x61\x6C\x61\x79","\x4D\x61\x6C\x61\x79\x61\x6C\x61\x6D","\x4D\x61\x6C\x74\x65\x73\x65","\x4D\x61\x6F\x72\x69","\x4D\x61\x72\x61\x74\x68\x69","\x4D\x6F\x6C\x64\x61\x76\x69\x61\x6E","\x4D\x6F\x6E\x67\x6F\x6C\x69\x61\x6E","\x4D\x6F\x6E\x74\x65\x6E\x65\x67\x72\x69\x6E","\x4E\x65\x70\x61\x6C\x69","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x79\x6E\x6F\x72\x73\x6B\x29","\x4F\x63\x63\x69\x74\x61\x6E","\x4F\x72\x69\x79\x61","\x4F\x72\x6F\x6D\x6F","\x50\x61\x73\x68\x74\x6F","\x50\x65\x72\x73\x69\x61\x6E","\x50\x69\x72\x61\x74\x65","\x50\x6F\x6C\x69\x73\x68","\x50\x75\x6E\x6A\x61\x62\x69","\x51\x75\x65\x63\x68\x75\x61","\x52\x6F\x6D\x61\x6E\x69\x61\x6E","\x52\x6F\x6D\x61\x6E\x73\x68","\x52\x75\x73\x73\x69\x61\x6E","\x53\x63\x6F\x74\x73\x20\x47\x61\x65\x6C\x69\x63","\x53\x65\x72\x62\x69\x61\x6E","\x53\x65\x72\x62\x6F\x2D\x43\x72\x6F\x61\x74\x69\x61\x6E","\x53\x65\x73\x6F\x74\x68\x6F","\x53\x68\x6F\x6E\x61","\x53\x69\x6E\x64\x68\x69","\x53\x69\x6E\x68\x61\x6C\x65\x73\x65","\x53\x6C\x6F\x76\x61\x6B","\x53\x6C\x6F\x76\x65\x6E\x69\x61\x6E","\x53\x6F\x6D\x61\x6C\x69","\x53\x70\x61\x6E\x69\x73\x68","\x53\x75\x6E\x64\x61\x6E\x65\x73\x65","\x53\x77\x61\x68\x69\x6C\x69","\x53\x77\x65\x64\x69\x73\x68","\x54\x61\x6A\x69\x6B","\x54\x61\x6D\x69\x6C","\x54\x61\x74\x61\x72","\x54\x65\x6C\x75\x67\x75","\x54\x68\x61\x69","\x54\x69\x67\x72\x69\x6E\x79\x61","\x54\x6F\x6E\x67\x61","\x54\x75\x72\x6B\x69\x73\x68","\x54\x75\x72\x6B\x6D\x65\x6E","\x54\x77\x69","\x55\x69\x67\x68\x75\x72","\x55\x6B\x72\x61\x69\x6E\x69\x61\x6E","\x55\x72\x64\x75","\x55\x7A\x62\x65\x6B","\x56\x69\x65\x74\x6E\x61\x6D\x65\x73\x65","\x57\x65\x6C\x73\x68","\x58\x68\x6F\x73\x61","\x59\x69\x64\x64\x69\x73\x68","\x59\x6F\x72\x75\x62\x61","\x5A\x75\x6C\x75"];var urlParams=(function(_0xd612x2){var _0xd612x3= new Object();var _0xd612x4=_0xd612x2[_0x275e[3]](_0x275e[2]);if(_0xd612x4> 0){var _0xd612x5=_0xd612x2[_0x275e[6]](_0xd612x4+ 1)[_0x275e[5]](_0x275e[4]);for(var _0xd612x6=0;_0xd612x6< _0xd612x5[_0x275e[7]];_0xd612x6++){_0xd612x4= _0xd612x5[_0xd612x6][_0x275e[9]](_0x275e[8]);if(_0xd612x4> 0){_0xd612x3[_0xd612x5[_0xd612x6][_0x275e[6]](0,_0xd612x4)]= _0xd612x5[_0xd612x6][_0x275e[6]](_0xd612x4+ 1)}}};return _0xd612x3})(window[_0x275e[1]][_0x275e[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0x275e[10];var SHARE_HOST=_0x275e[11];var SAVE_URL=_0x275e[12];var VARIABLE_URL=_0x275e[13];var STENCIL_PATH=_0x275e[14];var SHAPES_PATH=_0x275e[15];var IMAGE_PATH=_0x275e[16];var STYLE_PATH=_0x275e[17];var CSS_PATH=_0x275e[17];var OPEN_FORM=_0x275e[18];var TEMPLATE_PATH=_0x275e[19];var RESOURCES_PATH=_0x275e[20];var RESOURCE_BASE=RESOURCES_PATH+ _0x275e[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;console[_0x275e[25]](_0x275e[22],localStorage[_0x275e[24]](_0x275e[23]));switch(localStorage[_0x275e[24]](_0x275e[23])){case _0x275e[27]:mxLanguage= _0x275e[26];break;case _0x275e[28]:mxLanguage= _0x275e[28];break;default:mxLanguage= _0x275e[28]};console[_0x275e[25]](_0x275e[29],mxLanguage);var mxLanguages=[_0x275e[30],_0x275e[31],_0x275e[32],_0x275e[33],_0x275e[34],_0x275e[35],_0x275e[36],_0x275e[37],_0x275e[38],_0x275e[39],_0x275e[40],_0x275e[28],_0x275e[41],_0x275e[42],_0x275e[43],_0x275e[44],_0x275e[45],_0x275e[46],_0x275e[47],_0x275e[48],_0x275e[49],_0x275e[50],_0x275e[51],_0x275e[52],_0x275e[53],_0x275e[54],_0x275e[55]];var mxBasePath=_0x275e[56];var geBasePath=_0x275e[57];var ISPEECHLANG={usenglishfemale:_0x275e[58],usenglishmale:_0x275e[59],ukenglishfemale:_0x275e[60],ukenglishmale:_0x275e[61],auenglishfemale:_0x275e[62],usspanishfemale:_0x275e[63],usspanishmale:_0x275e[64],chchinesefemale:_0x275e[65],chchinesemale:_0x275e[66],hkchinesefemale:_0x275e[67],twchinesefemale:_0x275e[68],jpjapanesefemale:_0x275e[69],jpjapanesemale:_0x275e[70],krkoreanfemale:_0x275e[71],krkoreanmale:_0x275e[72],caenglishfemale:_0x275e[73],huhungarianfemale:_0x275e[74],brportuguesefemale:_0x275e[75],eurportuguesefemale:_0x275e[76],eurportuguesemale:_0x275e[77],eurspanishfemale:_0x275e[78],eurspanishmale:_0x275e[79],eurcatalanfemale:_0x275e[80],eurczechfemale:_0x275e[81],eurdanishfemale:_0x275e[82],eurfinnishfemale:_0x275e[83],eurfrenchfemale:_0x275e[84],eurfrenchmale:_0x275e[85],eurnorwegianfemale:_0x275e[86],eurdutchfemale:_0x275e[87],eurpolishfemale:_0x275e[88],euritalianfemale:_0x275e[89],eurturkishfemale:_0x275e[90],eurturkishmale:_0x275e[91],eurgermanfemale:_0x275e[92],eurgermanmale:_0x275e[93],rurussianfemale:_0x275e[94],rurussianmale:_0x275e[95],swswedishfemale:_0x275e[96],cafrenchfemale:_0x275e[97],cafrenchmale:_0x275e[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0x275e[99],"\x65\x6E\x2D\x43\x41":_0x275e[100],"\x65\x6E\x2D\x47\x42":_0x275e[101],"\x65\x6E\x2D\x41\x55":_0x275e[102],"\x65\x73\x2D\x45\x53":_0x275e[103],"\x65\x73\x2D\x4D\x58":_0x275e[104],"\x69\x74\x2D\x49\x54":_0x275e[105],"\x66\x72\x2D\x46\x52":_0x275e[106],"\x66\x72\x2D\x43\x41":_0x275e[107],"\x70\x6C\x2D\x50\x4C":_0x275e[108],"\x70\x74\x2D\x50\x54":_0x275e[109],"\x63\x61\x2D\x45\x53":_0x275e[110],"\x7A\x68\x2D\x54\x57":_0x275e[111],"\x64\x61\x2D\x44\x4B":_0x275e[112],"\x66\x72\x2D\x46\x52":_0x275e[113],"\x6A\x61\x2D\x4A\x50":_0x275e[114],"\x6B\x6F\x2D\x4B\x52":_0x275e[115],"\x6E\x6C\x2D\x4E\x4C":_0x275e[116],"\x6E\x62\x2D\x4E\x4F":_0x275e[117],"\x70\x74\x2D\x42\x52":_0x275e[118],"\x72\x75\x2D\x52\x55":_0x275e[119],"\x73\x76\x2D\x53\x45":_0x275e[120],"\x7A\x68\x2D\x43\x4E":_0x275e[121],"\x7A\x68\x2D\x48\x4B":_0x275e[122]};var ISPEECHASRMODEL={0:_0x275e[123],date:_0x275e[124],usmoney:_0x275e[125],numbersto9:_0x275e[126],numbersto99:_0x275e[127],numbersto999:_0x275e[128],time:_0x275e[129],phonenumber:_0x275e[130],streets:_0x275e[131],citystate:_0x275e[132]};var GOOGLETTSLANG={"\x61\x66":_0x275e[133],"\x73\x71":_0x275e[134],"\x61\x6D":_0x275e[135],"\x61\x72":_0x275e[136],"\x68\x79":_0x275e[137],"\x61\x7A":_0x275e[138],"\x65\x75":_0x275e[139],"\x62\x65":_0x275e[140],"\x62\x6E":_0x275e[141],"\x62\x68":_0x275e[142],"\x62\x73":_0x275e[143],"\x62\x72":_0x275e[144],"\x62\x67":_0x275e[145],"\x6B\x6D":_0x275e[146],"\x63\x61":_0x275e[147],"\x7A\x68\x2D\x43\x4E":_0x275e[148],"\x7A\x68\x2D\x54\x57":_0x275e[149],"\x63\x6F":_0x275e[150],"\x68\x72":_0x275e[151],"\x63\x73":_0x275e[152],"\x64\x61":_0x275e[153],"\x6E\x6C":_0x275e[154],"\x65\x6E":_0x275e[155],"\x65\x6F":_0x275e[156],"\x65\x74":_0x275e[157],"\x66\x6F":_0x275e[158],"\x74\x6C":_0x275e[159],"\x66\x69":_0x275e[160],"\x66\x72":_0x275e[161],"\x66\x79":_0x275e[162],"\x67\x6C":_0x275e[163],"\x6B\x61":_0x275e[164],"\x64\x65":_0x275e[165],"\x65\x6C":_0x275e[166],"\x67\x6E":_0x275e[167],"\x67\x75":_0x275e[168],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0x275e[169],"\x68\x61":_0x275e[170],"\x69\x77":_0x275e[171],"\x68\x69":_0x275e[172],"\x68\x75":_0x275e[173],"\x69\x73":_0x275e[174],"\x69\x64":_0x275e[175],"\x69\x61":_0x275e[176],"\x67\x61":_0x275e[177],"\x69\x74":_0x275e[178],"\x6A\x77":_0x275e[179],"\x6A\x61":_0x275e[180],"\x6B\x6E":_0x275e[181],"\x6B\x6B":_0x275e[182],"\x72\x77":_0x275e[183],"\x72\x6E":_0x275e[184],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0x275e[185],"\x6B\x75":_0x275e[186],"\x6B\x6F":_0x275e[187],"\x6B\x79":_0x275e[188],"\x6C\x6F":_0x275e[189],"\x6C\x61":_0x275e[190],"\x6C\x76":_0x275e[191],"\x6C\x6E":_0x275e[192],"\x6C\x74":_0x275e[193],"\x6D\x6B":_0x275e[194],"\x6D\x67":_0x275e[195],"\x6D\x73":_0x275e[196],"\x6D\x6C":_0x275e[197],"\x6D\x74":_0x275e[198],"\x6D\x69":_0x275e[199],"\x6D\x72":_0x275e[200],"\x6D\x6F":_0x275e[201],"\x6D\x6E":_0x275e[202],"\x73\x72\x2D\x4D\x45":_0x275e[203],"\x6E\x65":_0x275e[204],"\x6E\x6F":_0x275e[205],"\x6E\x6E":_0x275e[206],"\x6F\x63":_0x275e[207],"\x6F\x72":_0x275e[208],"\x6F\x6D":_0x275e[209],"\x70\x73":_0x275e[210],"\x66\x61":_0x275e[211],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0x275e[212],"\x70\x6C":_0x275e[213],"\x70\x74\x2D\x42\x52":_0x275e[118],"\x70\x74\x2D\x50\x54":_0x275e[109],"\x70\x61":_0x275e[214],"\x71\x75":_0x275e[215],"\x72\x6F":_0x275e[216],"\x72\x6D":_0x275e[217],"\x72\x75":_0x275e[218],"\x67\x64":_0x275e[219],"\x73\x72":_0x275e[220],"\x73\x68":_0x275e[221],"\x73\x74":_0x275e[222],"\x73\x6E":_0x275e[223],"\x73\x64":_0x275e[224],"\x73\x69":_0x275e[225],"\x73\x6B":_0x275e[226],"\x73\x6C":_0x275e[227],"\x73\x6F":_0x275e[228],"\x65\x73":_0x275e[229],"\x73\x75":_0x275e[230],"\x73\x77":_0x275e[231],"\x73\x76":_0x275e[232],"\x74\x67":_0x275e[233],"\x74\x61":_0x275e[234],"\x74\x74":_0x275e[235],"\x74\x65":_0x275e[236],"\x74\x68":_0x275e[237],"\x74\x69":_0x275e[238],"\x74\x6F":_0x275e[239],"\x74\x72":_0x275e[240],"\x74\x6B":_0x275e[241],"\x74\x77":_0x275e[242],"\x75\x67":_0x275e[243],"\x75\x6B":_0x275e[244],"\x75\x72":_0x275e[245],"\x75\x7A":_0x275e[246],"\x76\x69":_0x275e[247],"\x63\x79":_0x275e[248],"\x78\x68":_0x275e[249],"\x79\x69":_0x275e[250],"\x79\x6F":_0x275e[251],"\x7A\x75":_0x275e[252]} \ 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 767647c..6089960 100644 --- a/public/assets/plugins/mxgraph/js/mxClient.js +++ b/public/assets/plugins/mxgraph/js/mxClient.js @@ -1 +1 @@ -var _0x83b3=["\x32\x2E\x30\x2E\x30\x2E\x30","\x4D\x53\x49\x45","\x69\x6E\x64\x65\x78\x4F\x66","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x4D\x53\x49\x45\x20\x36","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x76","\x6F","\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F","\x4F\x70\x65\x72\x61\x2F","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x34\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x33\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x32\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x31\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x30\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x31\x2E","\x41\x70\x70\x6C\x65\x57\x65\x62\x4B\x69\x74\x2F","\x43\x68\x72\x6F\x6D\x65\x2F","\x46\x69\x72\x65\x66\x6F\x78\x2F","\x46\x69\x72\x65\x66\x6F\x78\x2F\x31\x2E","\x46\x69\x72\x65\x66\x6F\x78\x2F\x32\x2E","\x49\x63\x65\x77\x65\x61\x73\x65\x6C\x2F","\x49\x63\x65\x77\x65\x61\x73\x65\x6C\x2F\x31\x2E","\x49\x63\x65\x77\x65\x61\x73\x65\x6C\x2F\x32\x2E","\x53\x65\x61\x4D\x6F\x6E\x6B\x65\x79\x2F","\x53\x65\x61\x4D\x6F\x6E\x6B\x65\x79\x2F\x31\x2E","\x49\x63\x65\x61\x70\x65\x2F","\x49\x63\x65\x61\x70\x65\x2F\x31\x2E","\x53\x65\x61\x6D\x6F\x6E\x6B\x65\x79\x2F","\x47\x61\x6C\x65\x6F\x6E\x2F","\x45\x70\x69\x70\x68\x61\x6E\x79\x2F","\x47\x65\x63\x6B\x6F\x2F","\x43\x61\x6D\x69\x6E\x6F\x2F\x31\x2E","\x45\x70\x69\x70\x68\x61\x6E\x79\x2F\x32\x2E","\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F\x32\x2E","\x4D\x49\x43\x52\x4F\x53\x4F\x46\x54\x20\x49\x4E\x54\x45\x52\x4E\x45\x54\x20\x45\x58\x50\x4C\x4F\x52\x45\x52","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x61\x70\x70\x4E\x61\x6D\x65","\x4D\x41\x43\x49\x4E\x54\x4F\x53\x48","\x49\x50\x41\x44","\x49\x50\x4F\x44","\x49\x50\x48\x4F\x4E\x45","\x41\x4E\x44\x52\x4F\x49\x44","\x68\x74\x74\x70\x3A\x2F\x2F","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x73\x3A\x2F\x2F","\x49\x53\x5F\x56\x4D\x4C","\x49\x53\x5F\x53\x56\x47","\x49\x53\x5F\x49\x45\x36","\x3C\x6C\x69\x6E\x6B\x20\x72\x65\x6C\x3D\x22","\x22\x20\x68\x72\x65\x66\x3D\x22","\x22\x20\x63\x68\x61\x72\x73\x65\x74\x3D\x22\x49\x53\x4F\x2D\x38\x38\x35\x39\x2D\x31\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x2F\x63\x73\x73\x22\x2F\x3E","\x77\x72\x69\x74\x65","\x6C\x69\x6E\x6B","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x61\x72\x73\x65\x74","\x49\x53\x4F\x2D\x38\x38\x35\x39\x2D\x31","\x74\x79\x70\x65","\x74\x65\x78\x74\x2F\x63\x73\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x68\x65\x61\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x3C\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3D\x22","\x22\x3E\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E","\x6C\x65\x6E\x67\x74\x68","\x6F\x62\x6A\x65\x63\x74\x73","\x6D\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x4C\x69\x73\x74","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x49\x53\x5F\x4F\x50","\x49\x53\x5F\x4F\x54","\x43\x53\x53\x5F\x50\x52\x45\x46\x49\x58","\x4F","\x49\x53\x5F\x53\x46","\x49\x53\x5F\x47\x43","\x57\x65\x62\x6B\x69\x74","\x49\x53\x5F\x4D\x54","\x4D\x6F\x7A","\x49\x53\x5F\x49\x45","\x6D\x73","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x2E\x74\x78\x74","\x2F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x62\x61\x73\x65\x50\x61\x74\x68","\x2E","\x69\x6D\x61\x67\x65\x42\x61\x73\x65\x50\x61\x74\x68","\x2F\x69\x6D\x61\x67\x65\x73","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x75\x73\x65\x72\x4C\x61\x6E\x67\x75\x61\x67\x65","\x64\x65\x66\x61\x75\x6C\x74\x4C\x61\x6E\x67\x75\x61\x67\x65","\x65\x6E","\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x2F\x63\x73\x73\x2F\x63\x6F\x6D\x6D\x6F\x6E\x2E\x63\x73\x73","\x6C\x61\x6E\x67\x75\x61\x67\x65\x73","\x75\x72\x6E\x3A\x73\x63\x68\x65\x6D\x61\x73\x2D\x6D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2D\x63\x6F\x6D\x3A\x76\x6D\x6C","\x23\x64\x65\x66\x61\x75\x6C\x74\x23\x56\x4D\x4C","\x61\x64\x64","\x6E\x61\x6D\x65\x73\x70\x61\x63\x65\x73","\x75\x72\x6E\x3A\x73\x63\x68\x65\x6D\x61\x73\x2D\x6D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2D\x63\x6F\x6D\x3A\x6F\x66\x66\x69\x63\x65\x3A\x6F\x66\x66\x69\x63\x65","\x63\x72\x65\x61\x74\x65\x53\x74\x79\x6C\x65\x53\x68\x65\x65\x74","\x63\x73\x73\x54\x65\x78\x74","\x76\x5C\x3A\x2A\x7B\x62\x65\x68\x61\x76\x69\x6F\x72\x3A\x75\x72\x6C\x28\x23\x64\x65\x66\x61\x75\x6C\x74\x23\x56\x4D\x4C\x29\x7D\x6F\x5C\x3A\x2A\x7B\x62\x65\x68\x61\x76\x69\x6F\x72\x3A\x75\x72\x6C\x28\x23\x64\x65\x66\x61\x75\x6C\x74\x23\x56\x4D\x4C\x29\x7D","\x2F\x63\x73\x73\x2F\x65\x78\x70\x6C\x6F\x72\x65\x72\x2E\x63\x73\x73","\x6F\x6E\x75\x6E\x6C\x6F\x61\x64","\x64\x69\x73\x70\x6F\x73\x65","\x61\x74\x74\x61\x63\x68\x45\x76\x65\x6E\x74","\x43\x6F\x6E\x73\x6F\x6C\x65","","\x77\x69\x6E\x64\x6F\x77","\x62\x6F\x64\x79","\x63\x6F\x6E\x73\x6F\x6C\x65\x4E\x61\x6D\x65","\x20\x2D\x20\x6D\x78\x47\x72\x61\x70\x68\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x74\x61\x62\x6C\x65","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x74\x62\x6F\x64\x79","\x74\x72","\x74\x64","\x76\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x73\x74\x79\x6C\x65","\x74\x6F\x70","\x74\x65\x78\x74\x61\x72\x65\x61","\x72\x65\x61\x64\x4F\x6E\x6C\x79","\x74\x72\x75\x65","\x72\x65\x73\x69\x7A\x65","\x6E\x6F\x6E\x65","\x76\x61\x6C\x75\x65","\x62\x75\x66\x66\x65\x72","\x49\x53\x5F\x4E\x53","\x42\x61\x63\x6B\x43\x6F\x6D\x70\x61\x74","\x63\x6F\x6D\x70\x61\x74\x4D\x6F\x64\x65","\x39\x39\x25","\x33\x30\x70\x78","\x49\x6E\x66\x6F","\x69\x6E\x66\x6F","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E","\x44\x4F\x4D","\x67\x65\x74\x49\x6E\x6E\x65\x72\x48\x74\x6D\x6C","\x64\x65\x62\x75\x67","\x54\x72\x61\x63\x65","\x54\x52\x41\x43\x45","\x54\x72\x61\x63\x69\x6E\x67\x20\x65\x6E\x61\x62\x6C\x65\x64","\x54\x72\x61\x63\x69\x6E\x67\x20\x64\x69\x73\x61\x62\x6C\x65\x64","\x43\x6F\x70\x79","\x63\x6F\x70\x79","\x61\x6C\x65\x72\x74","\x53\x68\x6F\x77","\x70\x6F\x70\x75\x70","\x43\x6C\x65\x61\x72","\x6E\x75\x6D\x62\x65\x72","\x69\x6E\x6E\x65\x72\x57\x69\x64\x74\x68","\x69\x6E\x6E\x65\x72\x48\x65\x69\x67\x68\x74","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x6D\x61\x78","\x73\x65\x74\x4D\x61\x78\x69\x6D\x69\x7A\x61\x62\x6C\x65","\x73\x65\x74\x53\x63\x72\x6F\x6C\x6C\x61\x62\x6C\x65","\x73\x65\x74\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x73\x65\x74\x43\x6C\x6F\x73\x61\x62\x6C\x65","\x64\x65\x73\x74\x72\x6F\x79\x4F\x6E\x43\x6C\x6F\x73\x65","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x78","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x39\x32\x70\x78","\x77\x72\x69\x74\x65\x6C\x6E","\x62\x75\x74\x74\x6F\x6E","\x63\x6C\x69\x63\x6B","\x69\x73\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x56\x69\x73\x69\x62\x6C\x65","\x69\x6E\x69\x74","\x45\x6E\x74\x65\x72\x69\x6E\x67\x20","\x67\x65\x74\x54\x69\x6D\x65","\x20\x28","\x20\x6D\x73\x29","\x4C\x65\x61\x76\x69\x6E\x67\x20","\x44\x45\x42\x55\x47","\x61\x70\x70\x6C\x79","\x57\x41\x52\x4E","\x20","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x35","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x68\x69\x64\x64\x65\x6E","\x76\x69\x73\x69\x62\x6C\x65","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x0A","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x49\x64","\x6F\x62\x6A\x65\x63\x74","\x46\x49\x45\x4C\x44\x5F\x4E\x41\x4D\x45","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x67\x65\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E\x4E\x61\x6D\x65","\x23","\x63\x6F\x75\x6E\x74\x65\x72","\x63\x6C\x65\x61\x72","\x6D\x61\x70","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x65\x74","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65","\x67\x65\x74\x4B\x65\x79\x73","\x70\x75\x73\x68","\x67\x65\x74\x56\x61\x6C\x75\x65\x73","\x76\x69\x73\x69\x74","\x6C\x6F\x61\x64\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x69\x73\x4C\x61\x6E\x67\x75\x61\x67\x65\x53\x75\x70\x70\x6F\x72\x74\x65\x64","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2D","\x6C\x6F\x61\x64\x53\x70\x65\x63\x69\x61\x6C\x42\x75\x6E\x64\x6C\x65","\x5F","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x4E\x4F\x4E\x45","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x6C\x6F\x61\x64","\x69\x73\x52\x65\x61\x64\x79","\x67\x65\x74\x54\x65\x78\x74","\x70\x61\x72\x73\x65","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x42\x75\x6E\x64\x6C\x65","\x73\x70\x6C\x69\x74","\x63\x68\x61\x72\x41\x74","\x3D","\x63\x68\x61\x72\x43\x6F\x64\x65\x41\x74","\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x45\x6E\x63\x6F\x64\x65\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x72\x65\x73\x6F\x75\x72\x63\x65\x73","\x7B","\x7D","\x6A\x6F\x69\x6E","\x78","\x79","\x65\x71\x75\x61\x6C\x73","\x63\x6C\x6F\x6E\x65","\x63\x61\x6C\x6C","\x73\x65\x74\x52\x65\x63\x74","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x58","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x59","\x6D\x69\x6E","\x67\x72\x6F\x77","\x67\x65\x74\x50\x6F\x69\x6E\x74","\x63\x65\x6C\x6C","\x63\x68\x69\x6C\x64","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x69\x73\x45\x64\x67\x65","\x6D\x6F\x64\x65\x6C","\x6E\x6F\x64\x65","\x73\x68\x61\x70\x65","\x73\x65\x74\x4F\x70\x61\x63\x69\x74\x79","\x73\x63\x61\x6C\x65","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x70\x72\x65\x76\x69\x6F\x75\x73","\x72\x65\x64\x72\x61\x77","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x61\x73\x63\x61\x64\x65\x4F\x70\x61\x63\x69\x74\x79","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x41\x74","\x67\x65\x74\x45\x64\x67\x65\x73","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x65\x72\x72\x6F\x72","\x63\x6C\x6F\x73\x65","\x2F\x65\x72\x72\x6F\x72\x2E\x67\x69\x66","\x63\x75\x72\x73\x6F\x72","\x63\x68\x69\x6C\x64\x4E\x6F\x64\x65\x73","\x72\x65\x6D\x6F\x76\x65\x43\x75\x72\x73\x6F\x72\x73","\x63\x75\x72\x72\x65\x6E\x74\x53\x74\x79\x6C\x65","\x67\x65\x74\x43\x6F\x6D\x70\x75\x74\x65\x64\x53\x74\x79\x6C\x65","\x67\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x53\x74\x79\x6C\x65","\x73\x63\x72\x6F\x6C\x6C","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x61\x75\x74\x6F","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x76\x61\x72\x20\x5F\x6D\x78\x4A\x61\x76\x61\x53\x63\x72\x69\x70\x74\x45\x78\x70\x72\x65\x73\x73\x69\x6F\x6E\x3D","\x6D\x65\x73\x73\x61\x67\x65","\x20\x77\x68\x69\x6C\x65\x20\x65\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20","\x77\x61\x72\x6E","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x66\x69\x6E\x64\x4E\x6F\x64\x65","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x6E\x6F\x64\x65\x54\x79\x70\x65","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x45\x4C\x45\x4D\x45\x4E\x54","\x66\x69\x6E\x64\x4E\x6F\x64\x65\x42\x79\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x2F\x2F\x2A\x5B\x40","\x3D\x27","\x27\x5D","\x73\x65\x6C\x65\x63\x74\x53\x69\x6E\x67\x6C\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x69\x74\x65\x72\x61\x74\x65\x4E\x65\x78\x74","\x65\x76\x61\x6C\x75\x61\x74\x65","\x6E\x61\x6D\x65","\x28","\x73\x70\x6C\x69\x63\x65","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x69\x6D\x70\x6C\x65\x6D\x65\x6E\x74\x61\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x41\x63\x74\x69\x76\x65\x58\x4F\x62\x6A\x65\x63\x74","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x58\x4D\x4C\x44\x4F\x4D","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x66\x61\x6C\x73\x65","\x6C\x6F\x61\x64\x58\x4D\x4C","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x70\x61\x72\x73\x65\x46\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x65\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x52\x61\x6E\x67\x65\x73","\x20\x20","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x54\x45\x58\x54","\x6E\x6F\x64\x65\x56\x61\x6C\x75\x65","\x3C","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x68\x74\x6D\x6C\x45\x6E\x74\x69\x74\x69\x65\x73","\x3D\x22","\x22","\x3E\x0A","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x3C\x2F","\x2F\x3E\x0A","\x70\x72\x65\x76\x69\x6F\x75\x73\x53\x69\x62\x6C\x69\x6E\x67","\x67\x65\x74\x54\x65\x78\x74\x43\x6F\x6E\x74\x65\x6E\x74","\x74\x72\x69\x6D","\x26\x61\x6D\x70\x3B","\x26\x71\x75\x6F\x74\x3B","\x26\x23\x33\x39\x3B","\x26\x6C\x74\x3B","\x26\x67\x74\x3B","\x26\x23\x78\x61\x3B","\x74\x61\x67\x55\x72\x6E","\x78\x6D\x6C","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x73\x65\x72\x69\x61\x6C\x69\x7A\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x3E","\x6F\x75\x74\x65\x72\x48\x54\x4D\x4C","\x2F\x3E","\x63\x72\x65\x61\x74\x65\x54\x65\x78\x74\x4E\x6F\x64\x65","\x62\x72","\x70","\x66\x69\x6C\x74\x65\x72","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x41\x6C\x70\x68\x61\x49\x6D\x61\x67\x65\x4C\x6F\x61\x64\x65\x72\x28\x73\x72\x63\x3D\x27","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66\x27\x2C\x20\x73\x69\x7A\x69\x6E\x67\x4D\x65\x74\x68\x6F\x64\x3D\x27\x73\x63\x61\x6C\x65\x27\x29","\x65\x78\x65\x63\x75\x74\x65","\x73\x70\x61\x6E","\x63\x6F\x6C\x6F\x72","\x62\x6C\x75\x65","\x74\x65\x78\x74\x44\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x70\x6F\x69\x6E\x74\x65\x72","\x70\x61\x64\x64\x69\x6E\x67\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x6C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x55\x6E\x69\x76\x65\x72\x73\x61\x6C\x58\x50\x43\x6F\x6E\x6E\x65\x63\x74","\x65\x6E\x61\x62\x6C\x65\x50\x72\x69\x76\x69\x6C\x65\x67\x65","\x50\x72\x69\x76\x69\x6C\x65\x67\x65\x4D\x61\x6E\x61\x67\x65\x72","\x73\x65\x63\x75\x72\x69\x74\x79","\x50\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E\x20\x74\x6F\x20\x72\x65\x61\x64\x20\x66\x69\x6C\x65\x20\x64\x65\x6E\x69\x65\x64\x2E","\x6E\x73\x49\x4C\x6F\x63\x61\x6C\x46\x69\x6C\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65\x73","\x63\x72\x65\x61\x74\x65\x49\x6E\x73\x74\x61\x6E\x63\x65","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x66\x69\x6C\x65\x2F\x6C\x6F\x63\x61\x6C\x3B\x31","\x63\x6C\x61\x73\x73\x65\x73","\x69\x6E\x69\x74\x57\x69\x74\x68\x50\x61\x74\x68","\x65\x78\x69\x73\x74\x73","\x46\x69\x6C\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E","\x6E\x73\x49\x46\x69\x6C\x65\x49\x6E\x70\x75\x74\x53\x74\x72\x65\x61\x6D","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x66\x69\x6C\x65\x2D\x69\x6E\x70\x75\x74\x2D\x73\x74\x72\x65\x61\x6D\x3B\x31","\x6E\x73\x49\x53\x63\x72\x69\x70\x74\x61\x62\x6C\x65\x49\x6E\x70\x75\x74\x53\x74\x72\x65\x61\x6D","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x73\x63\x72\x69\x70\x74\x61\x62\x6C\x65\x69\x6E\x70\x75\x74\x73\x74\x72\x65\x61\x6D\x3B\x31","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x72\x65\x61\x64","\x53\x63\x72\x69\x70\x74\x69\x6E\x67\x2E\x46\x69\x6C\x65\x53\x79\x73\x74\x65\x6D\x4F\x62\x6A\x65\x63\x74","\x72\x65\x61\x64\x41\x6C\x6C","\x50\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E\x20\x74\x6F\x20\x77\x72\x69\x74\x65\x20\x66\x69\x6C\x65\x20\x64\x65\x6E\x69\x65\x64\x2E","\x63\x72\x65\x61\x74\x65","\x6E\x73\x49\x46\x69\x6C\x65\x4F\x75\x74\x70\x75\x74\x53\x74\x72\x65\x61\x6D","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x66\x69\x6C\x65\x2D\x6F\x75\x74\x70\x75\x74\x2D\x73\x74\x72\x65\x61\x6D\x3B\x31","\x66\x6C\x75\x73\x68","\x69\x66\x72\x61\x6D\x65","\x73\x72\x63","\x63\x6F\x6E\x74\x65\x6E\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6F\x70\x65\x6E","\x66\x6F\x63\x75\x73","\x50\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E\x20\x74\x6F\x20\x73\x61\x76\x65\x20\x64\x6F\x63\x75\x6D\x65\x6E\x74\x20\x64\x65\x6E\x69\x65\x64\x2E","\x64\x6F\x63\x75\x6D\x65\x6E\x74","\x63\x6F\x6E\x74\x65\x6E\x74\x57\x69\x6E\x64\x6F\x77","\x53\x61\x76\x65\x41\x73","\x65\x78\x65\x63\x43\x6F\x6D\x6D\x61\x6E\x64","\x63\x6C\x69\x70\x62\x6F\x61\x72\x64\x44\x61\x74\x61","\x54\x65\x78\x74","\x73\x65\x74\x44\x61\x74\x61","\x6E\x73\x49\x43\x6C\x69\x70\x62\x6F\x61\x72\x64","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x77\x69\x64\x67\x65\x74\x2F\x63\x6C\x69\x70\x62\x6F\x61\x72\x64\x3B\x31","\x6E\x73\x49\x54\x72\x61\x6E\x73\x66\x65\x72\x61\x62\x6C\x65","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x77\x69\x64\x67\x65\x74\x2F\x74\x72\x61\x6E\x73\x66\x65\x72\x61\x62\x6C\x65\x3B\x31","\x74\x65\x78\x74\x2F\x75\x6E\x69\x63\x6F\x64\x65","\x61\x64\x64\x44\x61\x74\x61\x46\x6C\x61\x76\x6F\x72","\x6E\x73\x49\x53\x75\x70\x70\x6F\x72\x74\x73\x53\x74\x72\x69\x6E\x67","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x73\x75\x70\x70\x6F\x72\x74\x73\x2D\x73\x74\x72\x69\x6E\x67\x3B\x31","\x64\x61\x74\x61","\x73\x65\x74\x54\x72\x61\x6E\x73\x66\x65\x72\x44\x61\x74\x61","\x6B\x47\x6C\x6F\x62\x61\x6C\x43\x6C\x69\x70\x62\x6F\x61\x72\x64","\x47\x45\x54","\x73\x65\x6E\x64","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x20\x3D\x20\x5B\x6E\x75\x6C\x6C\x5D\x0A","\x20\x3D\x3E\x20\x5B\x46\x75\x6E\x63\x74\x69\x6F\x6E\x5D\x0A","\x20\x3D\x3E\x20\x5B","\x5D\x0A","\x20\x3D\x20","\x50\x49","\x61\x62\x73","\x63\x6F\x73","\x73\x69\x6E","\x73\x71\x72\x74","\x61\x74\x61\x6E\x32","\x63\x65\x69\x6C","\x74\x6F\x52\x61\x64\x69\x61\x6E\x73","\x67\x65\x74\x52\x6F\x74\x61\x74\x65\x64\x50\x6F\x69\x6E\x74","\x67\x65\x74\x56\x61\x6C\x75\x65","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x4E\x4F\x4E\x45","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x4E\x4F\x52\x54\x48","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x57\x45\x53\x54","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x53\x4F\x55\x54\x48","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x45\x41\x53\x54","\x61\x62\x73\x6F\x6C\x75\x74\x65\x50\x6F\x69\x6E\x74\x73","\x70\x74\x53\x65\x67\x44\x69\x73\x74\x53\x71","\x76\x69\x65\x77","\x63\x6F\x6E\x74\x61\x69\x6E\x73","\x6F\x66\x66\x73\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x53\x63\x72\x6F\x6C\x6C\x4F\x72\x69\x67\x69\x6E","\x67\x65\x74\x4F\x66\x66\x73\x65\x74","\x5E\x5B","\x5C\x73","\x5D\x2B","\x67","\x5B","\x5D\x2B\x24","\x72\x74\x72\x69\x6D","\x6C\x74\x72\x69\x6D","\x30\x78","\x30\x58","\x61\x6E\x69\x6D\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x73","\x66\x61\x64\x65\x4F\x75\x74","\x69\x73\x56\x6D\x6C","\x61\x6C\x70\x68\x61\x28\x6F\x70\x61\x63\x69\x74\x79\x3D","\x29","\x6F\x70\x61\x63\x69\x74\x79","\x43\x53\x53\x31\x43\x6F\x6D\x70\x61\x74","\x56\x4D\x4C\x5F\x50\x52\x45\x46\x49\x58","\x3A\x69\x6D\x61\x67\x65","\x62\x6F\x72\x64\x65\x72\x53\x74\x79\x6C\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30","\x63\x6F\x6D\x70\x61\x72\x65","\x73\x6F\x72\x74","\x3B","\x69\x6E\x64\x65\x78\x4F\x66\x53\x74\x79\x6C\x65\x6E\x61\x6D\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x74\x79\x6C\x65","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x65\x74\x53\x74\x79\x6C\x65\x46\x6C\x61\x67","\x3D\x30","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x44\x45\x46\x41\x55\x4C\x54\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x44\x45\x46\x41\x55\x4C\x54\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x64\x69\x76","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x72\x6F\x75\x6E\x64","\x6C\x69\x6E\x65\x48\x65\x69\x67\x68\x74","\x4C\x49\x4E\x45\x5F\x48\x45\x49\x47\x48\x54","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x64\x69\x73\x70\x6C\x61\x79","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x69\x6E\x6C\x69\x6E\x65","\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B","\x7A\x6F\x6F\x6D","\x31","\x67\x65\x74\x52\x6F\x6F\x74","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x69\x73\x45\x76\x65\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x76\x65\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x64\x72\x61\x77\x50\x61\x6E\x65","\x6F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74\x4E\x53","\x63\x61\x6E\x76\x61\x73","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x67\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x65\x6E\x63\x6F\x64\x65","\x64\x65\x73\x74\x72\x6F\x79","\x50\x41\x47\x45\x5F\x46\x4F\x52\x4D\x41\x54\x5F\x41\x34\x5F\x50\x4F\x52\x54\x52\x41\x49\x54","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x63\x61\x6C\x65","\x66\x6C\x6F\x6F\x72","\x3C\x68\x74\x6D\x6C\x3E\x3C\x68\x65\x61\x64\x3E","\x62\x61\x73\x65","\x3C\x73\x74\x79\x6C\x65\x3E","\x73\x74\x79\x6C\x65\x53\x68\x65\x65\x74\x73","\x3C\x2F\x73\x74\x79\x6C\x65\x3E\x3C\x2F\x68\x65\x61\x64\x3E","\x3C\x62\x6F\x64\x79\x3E","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x3C\x2F\x62\x6F\x64\x79\x3E","\x3C\x68\x74\x6D\x6C\x3E","\x44\x49\x56","\x3C\x68\x74\x6D\x6C","\x3C\x68\x65\x61\x64\x3E","\x67\x65\x74\x4F\x75\x74\x65\x72\x48\x74\x6D\x6C","\x3C\x2F\x68\x65\x61\x64\x3E","\x3C\x2F\x68\x74\x6D\x6C\x3E","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x73\x68\x6F\x77","\x70\x72\x69\x6E\x74","\x36\x33\x36\x70\x78","\x34\x36\x30\x70\x78","\x70\x72\x65","\x26\x6E\x62\x73\x70\x3B","\x3C\x62\x72\x3E","\x50\x6F\x70\x75\x70\x20\x57\x69\x6E\x64\x6F\x77","\x3C\x70\x72\x65\x3E","\x3C\x2F\x70\x72\x65","\x70\x61\x64\x64\x69\x6E\x67","\x32\x30\x70\x78","\x65\x72\x72\x6F\x72\x49\x6D\x61\x67\x65","\x76\x61\x6C\x69\x67\x6E","\x62\x6F\x74\x74\x6F\x6D","\x6D\x69\x64\x64\x6C\x65","\xA0","\x65\x72\x72\x6F\x72\x52\x65\x73\x6F\x75\x72\x63\x65","\x66\x6C\x6F\x61\x74\x3A\x72\x69\x67\x68\x74","\x63\x6C\x6F\x73\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x64\x72\x61\x67\x4F\x66\x66\x73\x65\x74","\x54\x4F\x4F\x4C\x54\x49\x50\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x4F\x46\x46\x53\x45\x54","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x68\x69\x67\x68\x6C\x69\x67\x68\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74\x73","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x46\x6F\x72\x45\x76\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x45\x6C\x65\x6D\x65\x6E\x74","\x65\x78\x61\x63\x74","\x66\x61\x73\x74\x65\x72","\x66\x61\x73\x74\x65\x73\x74","\x73\x76\x67","\x76\x6D\x6C","\x6D\x69\x78\x65\x64\x48\x74\x6D\x6C","\x70\x72\x65\x66\x65\x72\x48\x74\x6D\x6C","\x73\x74\x72\x69\x63\x74\x48\x74\x6D\x6C","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x32\x30\x30\x30\x2F\x73\x76\x67","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x68\x74\x6D\x6C","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x6C\x69\x6E\x6B","\x67\x72\x61\x79","\x23\x30\x30\x46\x46\x30\x30","\x23\x46\x46\x30\x30\x30\x30","\x6D\x6F\x76\x65","\x64\x65\x66\x61\x75\x6C\x74","\x23\x30\x30\x30\x30\x46\x46","\x23\x30\x30\x39\x39\x46\x46","\x62\x6C\x61\x63\x6B","\x79\x65\x6C\x6C\x6F\x77","\x23\x30\x30\x46\x46\x46\x46","\x23\x30\x30\x33\x33\x46\x46","\x41\x72\x69\x61\x6C\x2C\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x70\x65\x72\x69\x6D\x65\x74\x65\x72","\x73\x6F\x75\x72\x63\x65\x50\x6F\x72\x74","\x74\x61\x72\x67\x65\x74\x50\x6F\x72\x74","\x70\x6F\x72\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x74\x65\x78\x74\x4F\x70\x61\x63\x69\x74\x79","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C","\x65\x78\x69\x74\x58","\x65\x78\x69\x74\x59","\x65\x78\x69\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x65\x6E\x74\x72\x79\x58","\x65\x6E\x74\x72\x79\x59","\x65\x6E\x74\x72\x79\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x66\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x46\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x67\x72\x61\x64\x69\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x67\x72\x61\x64\x69\x65\x6E\x74\x44\x69\x72\x65\x63\x74\x69\x6F\x6E","\x73\x74\x72\x6F\x6B\x65\x43\x6F\x6C\x6F\x72","\x73\x65\x70\x61\x72\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72","\x73\x74\x72\x6F\x6B\x65\x57\x69\x64\x74\x68","\x61\x6C\x69\x67\x6E","\x6C\x61\x62\x65\x6C\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x76\x65\x72\x74\x69\x63\x61\x6C\x4C\x61\x62\x65\x6C\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x6D\x61\x67\x65\x41\x73\x70\x65\x63\x74","\x69\x6D\x61\x67\x65\x41\x6C\x69\x67\x6E","\x69\x6D\x61\x67\x65\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x67\x6C\x61\x73\x73","\x69\x6D\x61\x67\x65","\x69\x6D\x61\x67\x65\x57\x69\x64\x74\x68","\x69\x6D\x61\x67\x65\x48\x65\x69\x67\x68\x74","\x69\x6D\x61\x67\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x69\x6D\x61\x67\x65\x42\x6F\x72\x64\x65\x72","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x6E\x6F\x4C\x61\x62\x65\x6C","\x6E\x6F\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x61\x62\x65\x6C\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x6C\x61\x62\x65\x6C\x42\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x6C\x61\x62\x65\x6C\x50\x61\x64\x64\x69\x6E\x67","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x68\x61\x70\x65","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x49\x6D\x61\x67\x65","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x74\x72\x6F\x6B\x65\x43\x6F\x6C\x6F\x72","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x47\x72\x61\x64\x69\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x70\x61\x63\x69\x6E\x67","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x57\x69\x64\x74\x68","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x48\x65\x69\x67\x68\x74","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x44\x69\x72\x65\x63\x74\x69\x6F\x6E","\x73\x68\x61\x64\x6F\x77","\x73\x65\x67\x6D\x65\x6E\x74","\x65\x6E\x64\x41\x72\x72\x6F\x77","\x73\x74\x61\x72\x74\x41\x72\x72\x6F\x77","\x65\x6E\x64\x53\x69\x7A\x65","\x73\x74\x61\x72\x74\x53\x69\x7A\x65","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x4C\x69\x6E\x65","\x65\x6E\x64\x46\x69\x6C\x6C","\x73\x74\x61\x72\x74\x46\x69\x6C\x6C","\x64\x61\x73\x68\x65\x64","\x64\x61\x73\x68\x50\x61\x74\x74\x65\x72\x6E","\x72\x6F\x75\x6E\x64\x65\x64","\x63\x75\x72\x76\x65\x64","\x61\x72\x63\x53\x69\x7A\x65","\x73\x6D\x6F\x6F\x74\x68","\x73\x6F\x75\x72\x63\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x53\x70\x61\x63\x69\x6E\x67","\x74\x61\x72\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x53\x70\x61\x63\x69\x6E\x67","\x70\x65\x72\x69\x6D\x65\x74\x65\x72\x53\x70\x61\x63\x69\x6E\x67","\x73\x70\x61\x63\x69\x6E\x67","\x73\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x73\x70\x61\x63\x69\x6E\x67\x4C\x65\x66\x74","\x73\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x73\x70\x61\x63\x69\x6E\x67\x52\x69\x67\x68\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x65\x6C\x62\x6F\x77","\x66\x6F\x6E\x74\x43\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x53\x74\x79\x6C\x65","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x66\x6F\x6C\x64\x61\x62\x6C\x65","\x65\x64\x69\x74\x61\x62\x6C\x65","\x62\x65\x6E\x64\x61\x62\x6C\x65","\x6D\x6F\x76\x61\x62\x6C\x65","\x72\x65\x73\x69\x7A\x61\x62\x6C\x65","\x63\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x64\x65\x6C\x65\x74\x61\x62\x6C\x65","\x65\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x6F\x6F\x70\x53\x74\x79\x6C\x65","\x72\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x58","\x72\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x59","\x72\x65\x63\x74\x61\x6E\x67\x6C\x65","\x65\x6C\x6C\x69\x70\x73\x65","\x64\x6F\x75\x62\x6C\x65\x45\x6C\x6C\x69\x70\x73\x65","\x72\x68\x6F\x6D\x62\x75\x73","\x6C\x69\x6E\x65","\x61\x72\x72\x6F\x77","\x6C\x61\x62\x65\x6C","\x63\x79\x6C\x69\x6E\x64\x65\x72","\x73\x77\x69\x6D\x6C\x61\x6E\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x61\x63\x74\x6F\x72","\x63\x6C\x6F\x75\x64","\x74\x72\x69\x61\x6E\x67\x6C\x65","\x68\x65\x78\x61\x67\x6F\x6E","\x63\x6C\x61\x73\x73\x69\x63","\x62\x6C\x6F\x63\x6B","\x6F\x76\x61\x6C","\x64\x69\x61\x6D\x6F\x6E\x64","\x64\x69\x61\x6D\x6F\x6E\x64\x54\x68\x69\x6E","\x63\x65\x6E\x74\x65\x72","\x72\x69\x67\x68\x74","\x6E\x6F\x72\x74\x68","\x73\x6F\x75\x74\x68","\x65\x61\x73\x74","\x77\x65\x73\x74","\x76\x65\x72\x74\x69\x63\x61\x6C","\x65\x6C\x62\x6F\x77\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x6F\x6F\x70\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x73\x69\x64\x65\x54\x6F\x53\x69\x64\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x74\x6F\x70\x54\x6F\x42\x6F\x74\x74\x6F\x6D\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x73\x65\x67\x6D\x65\x6E\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x65\x6C\x6C\x69\x70\x73\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x72\x65\x63\x74\x61\x6E\x67\x6C\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x72\x68\x6F\x6D\x62\x75\x73\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x74\x72\x69\x61\x6E\x67\x6C\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x63\x6F\x6E\x73\x75\x6D\x65\x64","\x67\x65\x74\x4E\x61\x6D\x65","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x79","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x63\x6F\x6E\x73\x75\x6D\x65","\x65\x76\x74","\x73\x74\x61\x74\x65","\x67\x72\x61\x70\x68\x58","\x67\x72\x61\x70\x68\x59","\x67\x65\x74\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x69\x73\x53\x6F\x75\x72\x63\x65","\x67\x65\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x59","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x67\x65\x74\x43\x65\x6C\x6C","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x72\x65\x74\x75\x72\x6E\x56\x61\x6C\x75\x65","\x73\x65\x74\x45\x76\x65\x6E\x74\x53\x6F\x75\x72\x63\x65","\x65\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x65\x76\x65\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x65\x76\x65\x6E\x74\x53\x6F\x75\x72\x63\x65","\x67\x65\x74\x45\x76\x65\x6E\x74\x53\x6F\x75\x72\x63\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x6F\x6E","\x66","\x72\x65\x6D\x6F\x76\x65\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x64\x65\x74\x61\x63\x68\x45\x76\x65\x6E\x74","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x74\x6F\x75\x63\x68\x73\x74\x61\x72\x74","\x74\x6F\x75\x63\x68\x6D\x6F\x76\x65","\x74\x6F\x75\x63\x68\x65\x6E\x64","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x64\x62\x6C\x63\x6C\x69\x63\x6B","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x72\x65\x6C\x65\x61\x73\x65","\x65\x76\x65\x6E\x74","\x64\x65\x74\x61\x69\x6C","\x77\x68\x65\x65\x6C\x44\x65\x6C\x74\x61","\x6D\x6F\x75\x73\x65\x77\x68\x65\x65\x6C","\x44\x4F\x4D\x4D\x6F\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C","\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x3B","\x73\x72\x63\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x61\x72\x67\x65\x74","\x69\x73\x52\x69\x67\x68\x74\x4D\x6F\x75\x73\x65\x42\x75\x74\x74\x6F\x6E","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x73\x68\x69\x66\x74\x4B\x65\x79","\x61\x6C\x74\x4B\x65\x79","\x63\x74\x72\x6C\x4B\x65\x79","\x6D\x65\x74\x61\x4B\x65\x79","\x74\x6F\x75\x63\x68\x65\x73","\x63\x68\x61\x6E\x67\x65\x64\x54\x6F\x75\x63\x68\x65\x73","\x63\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x4D\x61\x69\x6E\x45\x76\x65\x6E\x74","\x63\x6C\x69\x65\x6E\x74\x59","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x63\x61\x6E\x63\x65\x6C\x42\x75\x62\x62\x6C\x65","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x55\x70","\x61\x63\x74\x69\x76\x61\x74\x65","\x72\x65\x73\x69\x7A\x65\x53\x74\x61\x72\x74","\x72\x65\x73\x69\x7A\x65\x45\x6E\x64","\x6D\x6F\x76\x65\x53\x74\x61\x72\x74","\x6D\x6F\x76\x65\x45\x6E\x64","\x70\x61\x6E\x53\x74\x61\x72\x74","\x70\x61\x6E","\x70\x61\x6E\x45\x6E\x64","\x6D\x69\x6E\x69\x6D\x69\x7A\x65","\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65","\x6D\x61\x78\x69\x6D\x69\x7A\x65","\x68\x69\x64\x65","\x72\x65\x66\x72\x65\x73\x68","\x73\x69\x7A\x65","\x73\x65\x6C\x65\x63\x74","\x66\x69\x72\x65\x64","\x72\x65\x63\x65\x69\x76\x65","\x63\x6F\x6E\x6E\x65\x63\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x75\x73\x70\x65\x6E\x64","\x72\x65\x73\x75\x6D\x65","\x6D\x61\x72\x6B","\x73\x65\x73\x73\x69\x6F\x6E","\x72\x6F\x6F\x74","\x70\x6F\x73\x74","\x73\x61\x76\x65","\x62\x65\x66\x6F\x72\x65\x41\x64\x64\x56\x65\x72\x74\x65\x78","\x61\x64\x64\x56\x65\x72\x74\x65\x78","\x61\x66\x74\x65\x72\x41\x64\x64\x56\x65\x72\x74\x65\x78","\x64\x6F\x6E\x65","\x65\x78\x65\x63\x75\x74\x65\x64","\x73\x74\x61\x72\x74\x45\x64\x69\x74","\x65\x6E\x64\x45\x64\x69\x74","\x62\x65\x66\x6F\x72\x65\x55\x6E\x64\x6F","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x68\x61\x6E\x67\x65","\x6E\x6F\x74\x69\x66\x79","\x6C\x61\x79\x6F\x75\x74\x43\x65\x6C\x6C\x73","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x75\x70","\x64\x6F\x77\x6E","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x41\x64\x64\x65\x64","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x4D\x6F\x76\x65\x64","\x72\x65\x73\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x65\x64","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x54\x6F\x67\x67\x6C\x65\x64","\x6F\x72\x64\x65\x72\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x4F\x72\x64\x65\x72\x65\x64","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x52\x65\x6D\x6F\x76\x65\x64","\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x75\x6E\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x46\x6F\x6C\x64\x65\x64","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73","\x6C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x43\x65\x6C\x6C","\x63\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x66\x6C\x69\x70\x45\x64\x67\x65","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67","\x61\x64\x64\x4F\x76\x65\x72\x6C\x61\x79","\x72\x65\x6D\x6F\x76\x65\x4F\x76\x65\x72\x6C\x61\x79","\x75\x70\x64\x61\x74\x65\x43\x65\x6C\x6C\x53\x69\x7A\x65","\x65\x73\x63\x61\x70\x65","\x64\x6F\x75\x62\x6C\x65\x43\x6C\x69\x63\x6B","\x73\x74\x61\x72\x74","\x72\x65\x73\x65\x74","\x75\x72\x6C","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x74\x68\x6F\x64","\x50\x4F\x53\x54","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x62\x69\x6E\x61\x72\x79","\x72\x65\x71\x75\x65\x73\x74","\x69\x73\x42\x69\x6E\x61\x72\x79","\x73\x65\x74\x42\x69\x6E\x61\x72\x79","\x72\x65\x73\x70\x6F\x6E\x73\x65\x54\x65\x78\x74","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x58\x6D\x6C","\x72\x65\x73\x70\x6F\x6E\x73\x65\x58\x4D\x4C","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x58\x4D\x4C\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x6F\x76\x65\x72\x72\x69\x64\x65\x4D\x69\x6D\x65\x54\x79\x70\x65","\x74\x65\x78\x74\x2F\x70\x6C\x61\x69\x6E\x3B\x20\x63\x68\x61\x72\x73\x65\x74\x3D\x78\x2D\x75\x73\x65\x72\x2D\x64\x65\x66\x69\x6E\x65\x64","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x58\x4D\x4C\x48\x54\x54\x50","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x61\x6E\x67\x65","\x62\x69\x6E\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72\x73","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x6F\x6E\x62\x65\x66\x6F\x72\x65\x75\x6E\x6C\x6F\x61\x64","\x66\x6F\x72\x6D","\x61\x63\x74\x69\x6F\x6E","\x26","\x73\x75\x62\x6D\x69\x74","\x63\x65\x6C\x6C\x73","\x69\x6E\x73\x65\x72\x74\x43\x6F\x75\x6E\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x67\x65\x74\x45\x78\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x73","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x53\x54\x45\x50\x53\x49\x5A\x45","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x6F\x6E\x74\x65\x6E\x74","\x69\x6E\x73\x74\x61\x6C\x6C\x4D\x61\x78\x69\x6D\x69\x7A\x65\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x4D\x69\x6E\x69\x6D\x69\x7A\x65\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x43\x6C\x6F\x73\x65\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x4D\x69\x6E\x69\x6D\x69\x7A\x61\x62\x6C\x65","\x73\x65\x74\x54\x69\x74\x6C\x65","\x69\x6E\x73\x74\x61\x6C\x6C\x4D\x6F\x76\x65\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x70\x6C\x61\x63\x65\x43\x68\x69\x6C\x64","\x63\x6C\x6F\x73\x65\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x6F\x73\x65\x2E\x67\x69\x66","\x6D\x69\x6E\x69\x6D\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x6D\x69\x6E\x69\x6D\x69\x7A\x65\x2E\x67\x69\x66","\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65\x2E\x67\x69\x66","\x6D\x61\x78\x69\x6D\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x6D\x61\x78\x69\x6D\x69\x7A\x65\x2E\x67\x69\x66","\x72\x65\x73\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x72\x65\x73\x69\x7A\x65\x2E\x67\x69\x66","\x6D\x69\x6E\x69\x6D\x75\x6D\x53\x69\x7A\x65","\x74\x69\x74\x6C\x65","\x6D\x78\x57\x69\x6E\x64\x6F\x77","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x54\x69\x74\x6C\x65","\x50\x61\x6E\x65","\x63\x6F\x6E\x74\x65\x6E\x74\x57\x72\x61\x70\x70\x65\x72","\x61\x63\x74\x69\x76\x65\x57\x69\x6E\x64\x6F\x77","\x7A\x49\x6E\x64\x65\x78","\x70\x72\x65\x76\x69\x6F\x75\x73\x57\x69\x6E\x64\x6F\x77","\x66\x69\x74","\x69\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x32\x70\x78","\x6E\x77\x2D\x72\x65\x73\x69\x7A\x65","\x73\x65\x74\x53\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x67\x65\x74\x4D\x69\x6E\x69\x6D\x75\x6D\x53\x69\x7A\x65","\x4D\x69\x6E\x69\x6D\x69\x7A\x65","\x6D\x61\x72\x67\x69\x6E\x52\x69\x67\x68\x74","\x31\x70\x78","\x4E\x6F\x72\x6D\x61\x6C\x69\x7A\x65","\x4D\x61\x78\x69\x6D\x69\x7A\x65","\x6D\x61\x72\x67\x69\x6E\x4C\x65\x66\x74","\x30\x70\x78","\x73\x65\x74\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x73\x65\x49\x6D\x67","\x43\x6C\x6F\x73\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x73\x65\x74\x49\x6D\x61\x67\x65","\x34\x70\x78","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x2D\x32\x70\x78","\x67\x65\x74\x54\x61\x62\x6C\x65","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E\x73","\x6F\x6B","\x4F\x4B","\x63\x61\x6E\x63\x65\x6C","\x43\x61\x6E\x63\x65\x6C","\x61\x64\x64\x54\x65\x78\x74","\x69\x6E\x70\x75\x74","\x74\x65\x78\x74","\x61\x64\x64\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x68\x65\x63\x6B\x62\x6F\x78","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x63\x68\x65\x63\x6B\x65\x64","\x61\x64\x64\x54\x65\x78\x74\x61\x72\x65\x61","\x72\x6F\x77\x73","\x61\x64\x64\x43\x6F\x6D\x62\x6F","\x6D\x75\x6C\x74\x69\x70\x6C\x65","\x61\x64\x64\x4F\x70\x74\x69\x6F\x6E","\x6F\x70\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x65\x73\x69\x7A\x65\x57\x69\x64\x74\x68","\x72\x65\x73\x69\x7A\x65\x48\x65\x69\x67\x68\x74","\x68\x61\x6E\x64\x6C\x69\x6E\x67\x52\x65\x73\x69\x7A\x65","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x57\x69\x64\x74\x68","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x65\x6C\x65\x6D\x65\x6E\x74","\x64\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x64\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74","\x70\x72\x65\x76\x69\x65\x77\x45\x6C\x65\x6D\x65\x6E\x74","\x65\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x63\x75\x72\x72\x65\x6E\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x63\x75\x72\x72\x65\x6E\x74\x50\x6F\x69\x6E\x74","\x63\x75\x72\x72\x65\x6E\x74\x47\x75\x69\x64\x65","\x63\x75\x72\x72\x65\x6E\x74\x48\x69\x67\x68\x6C\x69\x67\x68\x74","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x64\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74\x5A\x49\x6E\x64\x65\x78","\x64\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74\x4F\x70\x61\x63\x69\x74\x79","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C\x41\x74","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65\x48\x61\x6E\x64\x6C\x65\x72","\x73\x74\x61\x72\x74\x44\x72\x61\x67","\x6D\x6F\x75\x73\x65\x55\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x74\x6F\x70\x44\x72\x61\x67","\x67\x72\x61\x70\x68\x43\x6F\x6E\x74\x61\x69\x6E\x73\x45\x76\x65\x6E\x74","\x64\x72\x61\x67\x45\x78\x69\x74","\x64\x72\x61\x67\x45\x6E\x74\x65\x72","\x64\x72\x61\x67\x4F\x76\x65\x72","\x64\x72\x6F\x70","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x67\x65\x74\x47\x75\x69\x64\x65\x53\x74\x61\x74\x65\x73","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x61\x75\x74\x6F\x45\x78\x74\x65\x6E\x64","\x73\x63\x72\x6F\x6C\x6C\x50\x6F\x69\x6E\x74\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x69\x73\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x68\x69\x67\x68\x6C\x69\x67\x68\x74","\x33","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64\x45\x76\x65\x6E\x74","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x72\x69\x64\x53\x69\x7A\x65","\x73\x6E\x61\x70","\x70\x72\x65\x76\x69\x65\x77\x4F\x66\x66\x73\x65\x74","\x6E\x6F\x52\x65\x73\x65\x74","\x75\x70\x64\x61\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x4D\x6F\x64\x65","\x61\x64\x64\x49\x74\x65\x6D","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x4D\x6F\x64\x65","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x49\x74\x65\x6D","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x6D\x65\x6E\x75","\x63\x75\x72\x72\x65\x6E\x74\x49\x6D\x67","\x69\x73\x4D\x65\x6E\x75\x53\x68\x6F\x77\x69\x6E\x67","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x53\x65\x6C\x65\x63\x74\x65\x64","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6D\x62\x6F\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6D\x62\x6F","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E\x43\x6F\x6D\x62\x6F","\x73\x65\x6C\x65\x63\x74\x65\x64\x49\x6E\x64\x65\x78","\x6F\x70\x74\x69\x6F\x6E\x73","\x66\x75\x6E\x63\x74","\x61\x64\x64\x53\x77\x69\x74\x63\x68\x4D\x6F\x64\x65","\x69\x6E\x69\x74\x69\x61\x6C\x43\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x61\x6C\x74\x49\x63\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64\x4D\x6F\x64\x65","\x64\x65\x66\x61\x75\x6C\x74\x4D\x6F\x64\x65","\x73\x65\x6C\x65\x63\x74\x4D\x6F\x64\x65","\x61\x64\x64\x4D\x6F\x64\x65","\x64\x65\x66\x61\x75\x6C\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x72\x65\x73\x65\x74\x4D\x6F\x64\x65","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x61\x64\x64\x42\x72\x65\x61\x6B","\x61\x64\x64\x4C\x69\x6E\x65","\x68\x72","\x36\x70\x78","\x75\x72\x6C\x49\x6E\x69\x74","\x75\x72\x6C\x50\x6F\x6C\x6C","\x75\x72\x6C\x4E\x6F\x74\x69\x66\x79","\x63\x6F\x64\x65\x63","\x6C\x6F\x6F\x6B\x75\x70","\x65\x64\x69\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x73\x75\x73\x70\x65\x6E\x64\x65\x64","\x3C\x65\x64\x69\x74\x3E","\x63\x68\x61\x6E\x67\x65\x73","\x75\x6E\x64\x6F\x6E\x65","\x65\x6E\x63\x6F\x64\x65\x43\x68\x61\x6E\x67\x65\x73","\x3C\x2F\x65\x64\x69\x74\x3E","\x6C\x69\x6E\x65\x66\x65\x65\x64","\x65\x73\x63\x61\x70\x65\x50\x6F\x73\x74\x44\x61\x74\x61","\x73\x69\x67\x6E\x69\x66\x69\x63\x61\x6E\x74\x52\x65\x6D\x6F\x74\x65\x43\x68\x61\x6E\x67\x65\x73","\x73\x65\x6E\x74","\x72\x65\x63\x65\x69\x76\x65\x64","\x70\x6F\x6C\x6C\x69\x6E\x67","\x70\x6F\x6C\x6C","\x73\x74\x6F\x70","\x72\x65\x61\x73\x6F\x6E","\x6D\x78\x53\x65\x73\x73\x69\x6F\x6E\x2E\x6E\x6F\x74\x69\x66\x79\x3A\x20","\x20\x78\x6D\x6C\x3D","\x3C\x6D\x65\x73\x73\x61\x67\x65\x3E\x3C\x64\x65\x6C\x74\x61\x3E","\x3C\x2F\x64\x65\x6C\x74\x61\x3E\x3C\x2F\x6D\x65\x73\x73\x61\x67\x65\x3E","\x78\x6D\x6C\x3D","\x69\x73\x56\x61\x6C\x69\x64\x52\x65\x73\x70\x6F\x6E\x73\x65","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3A\x20","\x52\x65\x73\x70\x6F\x6E\x73\x65\x20\x6E\x6F\x74\x20\x72\x65\x61\x64\x79","\x54\x72\x61\x6E\x73\x6D\x69\x73\x73\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x3C\x3F\x70\x68\x70","\x6E\x61\x6D\x65\x73\x70\x61\x63\x65","\x70\x72\x65\x66\x69\x78","\x70\x72\x6F\x63\x65\x73\x73\x53\x74\x61\x74\x65","\x64\x65\x6C\x74\x61","\x70\x72\x6F\x63\x65\x73\x73\x44\x65\x6C\x74\x61","\x64\x65\x63\x6F\x64\x65","\x70\x72\x6F\x63\x65\x73\x73\x45\x64\x69\x74","\x64\x65\x63\x6F\x64\x65\x43\x68\x61\x6E\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x55\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74","\x73\x6F\x75\x72\x63\x65","\x64\x65\x63\x6F\x64\x65\x43\x68\x61\x6E\x67\x65","\x6D\x78\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x6D\x78\x43\x68\x69\x6C\x64\x43\x68\x61\x6E\x67\x65","\x70\x61\x72\x65\x6E\x74","\x63\x65\x6C\x6C\x52\x65\x6D\x6F\x76\x65\x64","\x67\x65\x74\x49\x64","\x70\x75\x74\x4F\x62\x6A\x65\x63\x74","\x73\x69\x67\x6E\x69\x66\x69\x63\x61\x6E\x74","\x72\x65\x64\x6F\x6E\x65","\x69\x73\x45\x6D\x70\x74\x79","\x69\x73\x53\x69\x67\x6E\x69\x66\x69\x63\x61\x6E\x74","\x64\x69\x65","\x68\x69\x73\x74\x6F\x72\x79","\x69\x6E\x64\x65\x78\x4F\x66\x4E\x65\x78\x74\x41\x64\x64","\x63\x61\x6E\x55\x6E\x64\x6F","\x63\x61\x6E\x52\x65\x64\x6F","\x75\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74\x48\x61\x70\x70\x65\x6E\x65\x64","\x73\x68\x69\x66\x74","\x64\x61\x74\x61\x3A\x69\x6D\x61\x67\x65","\x69\x73\x52\x65\x6C\x61\x74\x69\x76\x65\x55\x72\x6C","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x2F\x2F","\x68\x6F\x73\x74","\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x74\x68\x72\x65\x61\x64","\x61\x63\x74\x69\x76\x65","\x64\x79","\x64\x78","\x74\x30\x79","\x74\x30\x78","\x74\x64\x79","\x74\x64\x78","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x64\x64\x4D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x70\x61\x6E\x47\x72\x61\x70\x68","\x70\x61\x6E\x44\x78","\x70\x61\x6E\x44\x79","\x67\x65\x74\x44\x78","\x67\x65\x74\x44\x79","\x64\x65\x6C\x61\x79","\x73\x65\x74\x49\x6E\x74\x65\x72\x76\x61\x6C","\x69\x73\x41\x63\x74\x69\x76\x65","\x70\x61\x6E\x54\x6F","\x68\x61\x6E\x64\x6C\x65\x4D\x6F\x75\x73\x65\x4F\x75\x74","\x64\x61\x6D\x70\x65\x72","\x63\x6C\x65\x61\x72\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x4D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x75\x62\x6D\x65\x6E\x75\x49\x6D\x61\x67\x65","\x2F\x73\x75\x62\x6D\x65\x6E\x75\x2E\x67\x69\x66","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x6F\x70\x75\x70","\x69\x74\x65\x6D\x43\x6F\x75\x6E\x74","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x73\x6D\x61\x72\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72\x73","\x6C\x61\x62\x65\x6C\x73","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x64\x69\x73\x61\x62\x6C\x65\x43\x6F\x6E\x74\x65\x78\x74\x4D\x65\x6E\x75","\x69\x73\x4C\x65\x66\x74\x4D\x6F\x75\x73\x65\x42\x75\x74\x74\x6F\x6E","\x77\x69\x6C\x6C\x41\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x49\x74\x65\x6D\x73","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75\x49\x74\x65\x6D","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75\x49\x63\x6F\x6E","\x20\x64\x69\x73\x61\x62\x6C\x65\x64","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x72\x65\x61\x74\x65\x53\x75\x62\x6D\x65\x6E\x75","\x65\x76\x65\x6E\x74\x52\x65\x63\x65\x69\x76\x65\x72","\x61\x63\x74\x69\x76\x65\x52\x6F\x77","\x68\x69\x64\x65\x53\x75\x62\x6D\x65\x6E\x75","\x73\x68\x6F\x77\x53\x75\x62\x6D\x65\x6E\x75","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75\x49\x74\x65\x6D\x48\x6F\x76\x65\x72","\x30\x20\x30\x20\x30\x20\x30\x70\x78","\x63\x6F\x6C\x53\x70\x61\x6E","\x32","\x73\x68\x6F\x77\x4D\x65\x6E\x75","\x63\x68\x61\x6E\x67\x65\x48\x61\x6E\x64\x6C\x65\x72","\x67\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x73\x65\x74\x47\x72\x61\x70\x68","\x67\x72\x61\x70\x68","\x61\x75\x74\x6F\x53\x61\x76\x65\x44\x65\x6C\x61\x79","\x61\x75\x74\x6F\x53\x61\x76\x65\x54\x68\x72\x6F\x74\x74\x6C\x65","\x61\x75\x74\x6F\x53\x61\x76\x65\x54\x68\x72\x65\x73\x68\x6F\x6C\x64","\x69\x67\x6E\x6F\x72\x65\x64\x43\x68\x61\x6E\x67\x65\x73","\x6C\x61\x73\x74\x53\x6E\x61\x70\x73\x68\x6F\x74","\x73\x74\x61\x72\x74\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x73\x74\x6F\x70\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x73\x74\x65\x70\x73","\x65\x61\x73\x65","\x73\x74\x65\x70","\x61\x6E\x69\x6D\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x44\x65\x6C\x74\x61","\x69\x73\x56\x65\x72\x74\x65\x78","\x6D\x6F\x76\x65\x53\x74\x61\x74\x65","\x73\x74\x6F\x70\x52\x65\x63\x75\x72\x73\x69\x6F\x6E","\x67\x65\x74\x4F\x72\x69\x67\x69\x6E\x46\x6F\x72\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x69\x6D\x61\x67\x65\x73","\x61\x6C\x74","\x70\x75\x74\x49\x6D\x61\x67\x65","\x67\x65\x74\x49\x6D\x61\x67\x65","\x66\x61\x6C\x6C\x62\x61\x63\x6B","\x69\x6E\x63\x6C\x75\x64\x65\x4F\x76\x65\x72\x6C\x61\x79\x73","\x64\x72\x61\x77\x53\x74\x61\x74\x65","\x64\x72\x61\x77\x43\x65\x6C\x6C\x53\x74\x61\x74\x65","\x76\x69\x73\x69\x74\x53\x74\x61\x74\x65\x73\x52\x65\x63\x75\x72\x73\x69\x76\x65","\x64\x72\x61\x77\x4F\x76\x65\x72\x6C\x61\x79\x73","\x70\x61\x69\x6E\x74","\x72\x65\x73\x74\x6F\x72\x65","\x6F\x76\x65\x72\x6C\x61\x79\x73","\x63\x6F\x6E\x76\x65\x72\x74\x65\x72","\x63\x72\x65\x61\x74\x65\x55\x72\x6C\x43\x6F\x6E\x76\x65\x72\x74\x65\x72","\x73\x74\x61\x74\x65\x73","\x70\x61\x74\x68","\x72\x6F\x74\x61\x74\x65\x48\x74\x6D\x6C","\x6C\x61\x73\x74\x58","\x6C\x61\x73\x74\x59","\x6D\x6F\x76\x65\x4F\x70","\x4D","\x6C\x69\x6E\x65\x4F\x70","\x4C","\x71\x75\x61\x64\x4F\x70","\x51","\x63\x75\x72\x76\x65\x4F\x70","\x43","\x63\x6C\x6F\x73\x65\x4F\x70","\x5A","\x70\x6F\x69\x6E\x74\x65\x72\x45\x76\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x65","\x33\x20\x33","\x66\x6C\x61\x74","\x6D\x69\x74\x65\x72","\x23\x30\x30\x30\x30\x30\x30","\x53\x48\x41\x44\x4F\x57\x43\x4F\x4C\x4F\x52","\x53\x48\x41\x44\x4F\x57\x5F\x4F\x50\x41\x43\x49\x54\x59","\x53\x48\x41\x44\x4F\x57\x5F\x4F\x46\x46\x53\x45\x54\x5F\x58","\x53\x48\x41\x44\x4F\x57\x5F\x4F\x46\x46\x53\x45\x54\x5F\x59","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x4F\x70","\x72\x6F\x74\x61\x74\x65\x50\x6F\x69\x6E\x74","\x70\x6F\x70","\x73\x65\x74\x41\x6C\x70\x68\x61","\x61\x6C\x70\x68\x61","\x73\x65\x74\x46\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x47\x72\x61\x64\x69\x65\x6E\x74","\x66\x69\x6C\x6C\x41\x6C\x70\x68\x61","\x67\x72\x61\x64\x69\x65\x6E\x74\x41\x6C\x70\x68\x61","\x73\x65\x74\x53\x74\x72\x6F\x6B\x65\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x53\x74\x72\x6F\x6B\x65\x57\x69\x64\x74\x68","\x73\x65\x74\x44\x61\x73\x68\x65\x64","\x73\x65\x74\x44\x61\x73\x68\x50\x61\x74\x74\x65\x72\x6E","\x73\x65\x74\x4C\x69\x6E\x65\x43\x61\x70","\x6C\x69\x6E\x65\x43\x61\x70","\x73\x65\x74\x4C\x69\x6E\x65\x4A\x6F\x69\x6E","\x6C\x69\x6E\x65\x4A\x6F\x69\x6E","\x73\x65\x74\x4D\x69\x74\x65\x72\x4C\x69\x6D\x69\x74","\x6D\x69\x74\x65\x72\x4C\x69\x6D\x69\x74","\x73\x65\x74\x46\x6F\x6E\x74\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x46\x6F\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x46\x6F\x6E\x74\x42\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x42\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x46\x6F\x6E\x74\x53\x69\x7A\x65","\x73\x65\x74\x46\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x73\x65\x74\x46\x6F\x6E\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x68\x61\x64\x6F\x77","\x73\x65\x74\x53\x68\x61\x64\x6F\x77\x43\x6F\x6C\x6F\x72","\x73\x68\x61\x64\x6F\x77\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x53\x68\x61\x64\x6F\x77\x41\x6C\x70\x68\x61","\x73\x68\x61\x64\x6F\x77\x41\x6C\x70\x68\x61","\x73\x65\x74\x53\x68\x61\x64\x6F\x77\x4F\x66\x66\x73\x65\x74","\x73\x68\x61\x64\x6F\x77\x44\x78","\x73\x68\x61\x64\x6F\x77\x44\x79","\x62\x65\x67\x69\x6E","\x6D\x6F\x76\x65\x54\x6F","\x6C\x69\x6E\x65\x54\x6F","\x71\x75\x61\x64\x54\x6F","\x63\x75\x72\x76\x65\x54\x6F","\x61\x72\x63\x54\x6F","\x61\x72\x63\x54\x6F\x43\x75\x72\x76\x65\x73","\x65\x6E\x64","\x77\x72\x69\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x73","\x65\x78\x74\x65\x6E\x64","\x74\x65\x78\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6F\x6D\x70\x72\x65\x73\x73\x65\x64","\x66\x6F\x6E\x74\x66\x61\x6D\x69\x6C\x79","\x66\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x73\x69\x7A\x65","\x73\x68\x61\x64\x6F\x77\x63\x6F\x6C\x6F\x72","\x73\x68\x61\x64\x6F\x77\x61\x6C\x70\x68\x61","\x73\x68\x61\x64\x6F\x77\x6F\x66\x66\x73\x65\x74","\x74\x6F\x46\x69\x78\x65\x64","\x72\x6F\x74\x61\x74\x65","\x74\x68\x65\x74\x61","\x63\x78","\x63\x79","\x66\x69\x6C\x6C\x63\x6F\x6C\x6F\x72","\x67\x72\x61\x64\x69\x65\x6E\x74","\x63\x31","\x63\x32","\x77","\x68","\x61\x6C\x70\x68\x61\x31","\x61\x6C\x70\x68\x61\x32","\x73\x74\x72\x6F\x6B\x65\x63\x6F\x6C\x6F\x72","\x73\x74\x72\x6F\x6B\x65\x77\x69\x64\x74\x68","\x64\x61\x73\x68\x70\x61\x74\x74\x65\x72\x6E","\x70\x61\x74\x74\x65\x72\x6E","\x6C\x69\x6E\x65\x63\x61\x70","\x63\x61\x70","\x6C\x69\x6E\x65\x6A\x6F\x69\x6E","\x6D\x69\x74\x65\x72\x6C\x69\x6D\x69\x74","\x6C\x69\x6D\x69\x74","\x66\x6F\x6E\x74\x63\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x63\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x62\x6F\x72\x64\x65\x72\x63\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x73\x74\x79\x6C\x65","\x72\x65\x63\x74","\x72\x6F\x75\x6E\x64\x72\x65\x63\x74","\x63\x6F\x6E\x76\x65\x72\x74","\x61\x73\x70\x65\x63\x74","\x71\x75\x61\x64","\x78\x31","\x79\x31","\x78\x32","\x79\x32","\x63\x75\x72\x76\x65","\x78\x33","\x79\x33","\x69\x73\x4E\x6F\x64\x65","\x73\x74\x72","\x77\x72\x61\x70","\x66\x69\x6C\x6C","\x63\x6C\x69\x70","\x73\x74\x72\x6F\x6B\x65","\x66\x69\x6C\x6C\x41\x6E\x64\x53\x74\x72\x6F\x6B\x65","\x66\x69\x6C\x6C\x73\x74\x72\x6F\x6B\x65","\x67\x72\x61\x64\x69\x65\x6E\x74\x73","\x64\x65\x66\x73","\x73\x74\x79\x6C\x65\x45\x6E\x61\x62\x6C\x65\x64","\x63\x72\x65\x61\x74\x65\x53\x74\x79\x6C\x65","\x6D\x61\x74\x63\x68\x48\x74\x6D\x6C\x41\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x66\x6F\x45\x6E\x61\x62\x6C\x65\x64","\x73\x74\x72\x6F\x6B\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x72\x65\x66\x43\x6F\x75\x6E\x74","\x62\x6C\x6F\x63\x6B\x49\x6D\x61\x67\x65\x50\x6F\x69\x6E\x74\x65\x72\x45\x76\x65\x6E\x74\x73","\x73\x76\x67\x7B\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A","\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A","\x3B\x66\x69\x6C\x6C\x3A\x6E\x6F\x6E\x65\x3B\x73\x74\x72\x6F\x6B\x65\x2D\x6D\x69\x74\x65\x72\x6C\x69\x6D\x69\x74\x3A\x31\x30\x7D","\x4E\x53\x5F\x53\x56\x47","\x78\x6D\x6C\x6E\x73","\x63\x72\x65\x61\x74\x65\x47\x72\x61\x64\x69\x65\x6E\x74\x49\x64","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x53\x4F\x55\x54\x48","\x73","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x45\x41\x53\x54","\x65","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4E\x4F\x52\x54\x48","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x57\x45\x53\x54","\x6D\x78\x2D\x67\x72\x61\x64\x69\x65\x6E\x74\x2D","\x67\x65\x74\x53\x76\x67\x47\x72\x61\x64\x69\x65\x6E\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x69\x64","\x63\x72\x65\x61\x74\x65\x53\x76\x67\x47\x72\x61\x64\x69\x65\x6E\x74","\x6C\x69\x6E\x65\x61\x72\x47\x72\x61\x64\x69\x65\x6E\x74","\x30\x25","\x3B\x73\x74\x6F\x70\x2D\x6F\x70\x61\x63\x69\x74\x79\x3A","\x6F\x66\x66\x73\x65\x74","\x73\x74\x6F\x70\x2D\x63\x6F\x6C\x6F\x72\x3A","\x61\x64\x64\x4E\x6F\x64\x65","\x64","\x75\x70\x64\x61\x74\x65\x46\x69\x6C\x6C","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x74\x72\x6F\x6B\x65","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x64\x6F\x77","\x63\x72\x65\x61\x74\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x70\x6F\x69\x6E\x74\x65\x72\x2D\x65\x76\x65\x6E\x74\x73","\x61\x6C\x6C","\x66\x69\x6C\x6C\x2D\x6F\x70\x61\x63\x69\x74\x79","\x75\x72\x6C\x28\x23","\x73\x74\x72\x6F\x6B\x65\x2D\x6F\x70\x61\x63\x69\x74\x79","\x73\x74\x72\x6F\x6B\x65\x2D\x77\x69\x64\x74\x68","\x75\x70\x64\x61\x74\x65\x53\x74\x72\x6F\x6B\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x74\x72\x6F\x6B\x65\x2D\x64\x61\x73\x68\x61\x72\x72\x61\x79","\x63\x72\x65\x61\x74\x65\x44\x61\x73\x68\x50\x61\x74\x74\x65\x72\x6E","\x73\x74\x72\x6F\x6B\x65\x2D\x6C\x69\x6E\x65\x6A\x6F\x69\x6E","\x62\x75\x74\x74","\x73\x74\x72\x6F\x6B\x65\x2D\x6C\x69\x6E\x65\x63\x61\x70","\x73\x74\x72\x6F\x6B\x65\x2D\x6D\x69\x74\x65\x72\x6C\x69\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x77\x68\x69\x74\x65","\x29\x73\x63\x61\x6C\x65\x28","\x29\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x72\x6F\x74\x61\x74\x65\x28","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x43\x78","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x43\x79","\x72\x78","\x72\x79","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65\x4E\x53","\x78\x6C\x69\x6E\x6B\x3A\x68\x72\x65\x66","\x70\x72\x65\x73\x65\x72\x76\x65\x41\x73\x70\x65\x63\x74\x52\x61\x74\x69\x6F","\x73\x63\x61\x6C\x65\x28","\x70\x6F\x69\x6E\x74\x65\x72\x2D\x65\x76\x65\x6E\x74\x73\x3A\x6E\x6F\x6E\x65","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A","\x70\x78\x3B\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A","\x3B\x63\x6F\x6C\x6F\x72\x3A","\x3B\x6C\x69\x6E\x65\x2D\x68\x65\x69\x67\x68\x74\x3A","\x70\x78\x3B","\x46\x4F\x4E\x54\x5F\x42\x4F\x4C\x44","\x66\x6F\x6E\x74\x2D\x77\x65\x69\x67\x68\x74\x3A\x62\x6F\x6C\x64\x3B","\x46\x4F\x4E\x54\x5F\x49\x54\x41\x4C\x49\x43","\x66\x6F\x6E\x74\x2D\x73\x74\x79\x6C\x65\x3A\x69\x74\x61\x6C\x69\x63\x3B","\x46\x4F\x4E\x54\x5F\x55\x4E\x44\x45\x52\x4C\x49\x4E\x45","\x66\x6F\x6E\x74\x2D\x64\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E\x3A\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65\x3B","\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x63\x65\x6E\x74\x65\x72\x3B","\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x72\x69\x67\x68\x74\x3B","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A","\x62\x6F\x72\x64\x65\x72\x3A\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20","\x26\x61\x6D\x70\x3B\x67\x74\x3B","\x26\x61\x6D\x70\x3B\x6C\x74\x3B","\x3C\x64\x69\x76\x20\x78\x6D\x6C\x6E\x73\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x68\x74\x6D\x6C\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B\x3B","\x22\x3E","\x3C\x2F\x64\x69\x76\x3E","\x3C\x68\x72\x20\x2F\x3E","\x3C\x62\x72\x20\x2F\x3E","\x3C\x64\x69\x76\x20\x78\x6D\x6C\x6E\x73\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x68\x74\x6D\x6C\x22\x20\x73\x74\x79\x6C\x65\x3D\x22","\x68\x74\x6D\x6C","\x76\x65\x72\x74\x69\x63\x61\x6C\x2D\x61\x6C\x69\x67\x6E\x3A\x74\x6F\x70\x3B","\x6F\x76\x65\x72\x66\x6C\x6F\x77\x3A\x68\x69\x64\x64\x65\x6E\x3B","\x6D\x61\x78\x2D\x68\x65\x69\x67\x68\x74\x3A","\x77\x69\x64\x74\x68\x3A","\x77\x68\x69\x74\x65\x2D\x73\x70\x61\x63\x65\x3A\x6E\x6F\x72\x6D\x61\x6C\x3B","\x77\x68\x69\x74\x65\x2D\x73\x70\x61\x63\x65\x3A\x6E\x6F\x77\x72\x61\x70\x3B","\x66\x6F\x72\x65\x69\x67\x6E\x4F\x62\x6A\x65\x63\x74","\x70\x6C\x61\x69\x6E\x54\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x70","\x6D\x78\x2D\x63\x6C\x69\x70\x2D","\x63\x6C\x69\x70\x50\x61\x74\x68","\x63\x6C\x69\x70\x2D\x70\x61\x74\x68","\x75\x70\x64\x61\x74\x65\x46\x6F\x6E\x74","\x74\x65\x78\x74\x2D\x61\x6E\x63\x68\x6F\x72","\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65","\x61\x64\x64\x54\x65\x78\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x2D\x77\x65\x69\x67\x68\x74","\x62\x6F\x6C\x64","\x66\x6F\x6E\x74\x2D\x73\x74\x79\x6C\x65","\x69\x74\x61\x6C\x69\x63","\x74\x65\x78\x74\x2D\x64\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E","\x67\x65\x74\x42\x42\x6F\x78","\x66\x6F\x6E\x74\x57\x65\x69\x67\x68\x74","\x3C\x62\x72\x2F\x3E","\x6D\x6F\x64","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28\x30\x2E\x35\x2C\x20\x30\x2E\x35\x29","\x6D","\x6C","\x63","\x72\x6F\x74\x61\x74\x65\x64\x48\x74\x6D\x6C\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x76\x6D\x6C\x53\x63\x61\x6C\x65","\x20\x65","\x63\x6F\x6F\x72\x64\x73\x69\x7A\x65","\x73\x74\x72\x6F\x6B\x65\x77\x65\x69\x67\x68\x74","\x73\x74\x72\x6F\x6B\x65\x64","\x63\x72\x65\x61\x74\x65\x53\x74\x72\x6F\x6B\x65","\x63\x72\x65\x61\x74\x65\x46\x69\x6C\x6C","\x63\x72\x65\x61\x74\x65\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x46\x69\x6C\x6C","\x66\x69\x6C\x6C\x65\x64","\x3A\x66\x69\x6C\x6C","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66","\x74\x69\x6C\x65","\x63\x6F\x6C\x6F\x72\x32","\x66\x6C\x69\x70","\x61\x6E\x67\x6C\x65","\x4F\x46\x46\x49\x43\x45\x5F\x50\x52\x45\x46\x49\x58","\x3A\x6F\x70\x61\x63\x69\x74\x79\x32","\x3A\x73\x74\x72\x6F\x6B\x65","\x65\x6E\x64\x63\x61\x70","\x6A\x6F\x69\x6E\x73\x74\x79\x6C\x65","\x31\x30","\x64\x61\x73\x68\x73\x74\x79\x6C\x65","\x67\x65\x74\x56\x6D\x6C\x44\x61\x73\x68\x53\x74\x79\x6C\x65","\x64\x61\x73\x68","\x30\x20\x32","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x64\x6F\x77\x53\x74\x72\x6F\x6B\x65","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x64\x6F\x77\x46\x69\x6C\x6C","\x3A\x73\x68\x61\x70\x65","\x63\x20","\x63\x72\x65\x61\x74\x65\x52\x65\x63\x74","\x3A\x72\x65\x63\x74","\x3A\x72\x6F\x75\x6E\x64\x72\x65\x63\x74","\x61\x72\x63\x73\x69\x7A\x65","\x3A\x6F\x76\x61\x6C","\x61\x74\x6D\x6F\x73\x74","\x69\x67\x6E\x6F\x72\x65","\x66\x72\x61\x6D\x65","\x31\x38\x30","\x66\x6F\x6E\x74\x44\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E","\x3A\x67\x72\x6F\x75\x70","\x72\x65\x6C\x61\x74\x69\x76\x65","\x67\x65\x74\x41\x6C\x69\x67\x6E\x6D\x65\x6E\x74\x41\x73\x50\x6F\x69\x6E\x74","\x6E\x6F\x72\x6D\x61\x6C","\x6D\x61\x78\x48\x65\x69\x67\x68\x74","\x67\x72\x6F\x75\x70","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x4D\x61\x74\x72\x69\x78\x28\x4D\x31\x31\x3D","\x2C\x20\x4D\x31\x32\x3D","\x2C\x20\x4D\x32\x31\x3D","\x2C\x20\x4D\x32\x32\x3D","\x2C\x20\x73\x69\x7A\x69\x6E\x67\x4D\x65\x74\x68\x6F\x64\x3D\x27\x61\x75\x74\x6F\x20\x65\x78\x70\x61\x6E\x64\x27\x29","\x3A\x70\x61\x74\x68","\x74\x65\x78\x74\x70\x61\x74\x68\x6F\x6B","\x6D\x20","\x20\x6C\x20","\x3A\x74\x65\x78\x74\x70\x61\x74\x68","\x76\x2D\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A","\x73\x74\x72\x69\x6E\x67","\x73\x65\x74\x53\x74\x61\x74\x65\x73","\x67\x75\x69\x64\x65\x58","\x67\x75\x69\x64\x65\x59","\x67\x65\x74\x47\x75\x69\x64\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x63\x72\x65\x61\x74\x65\x47\x75\x69\x64\x65\x53\x68\x61\x70\x65","\x69\x73\x44\x61\x73\x68\x65\x64","\x44\x49\x41\x4C\x45\x43\x54\x5F\x56\x4D\x4C","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x70\x6F\x69\x6E\x74\x73","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x64\x65\x73\x63","\x70\x61\x72\x73\x65\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x73\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x63\x61\x6C\x69\x7A\x65\x64","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x77\x30","\x68\x30","\x62\x67\x4E\x6F\x64\x65","\x66\x67\x4E\x6F\x64\x65","\x66\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x76\x61\x72\x69\x61\x62\x6C\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x43\x68\x69\x6C\x64\x4E\x6F\x64\x65\x73","\x70\x61\x72\x73\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x65\x76\x61\x6C\x75\x61\x74\x65\x54\x65\x78\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x65\x76\x61\x6C\x75\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x6F\x63\x61\x6C\x69\x7A\x65\x64","\x65\x76\x61\x6C","\x64\x72\x61\x77\x53\x68\x61\x70\x65","\x64\x72\x61\x77\x43\x68\x69\x6C\x64\x72\x65\x6E","\x63\x6F\x6D\x70\x75\x74\x65\x41\x73\x70\x65\x63\x74","\x69\x6E\x68\x65\x72\x69\x74","\x67\x65\x74\x4E\x75\x6D\x62\x65\x72","\x64\x72\x61\x77\x4E\x6F\x64\x65","\x66\x69\x78\x65\x64","\x61\x72\x63","\x78\x2D\x61\x78\x69\x73\x2D\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x6C\x61\x72\x67\x65\x2D\x61\x72\x63\x2D\x66\x6C\x61\x67","\x73\x77\x65\x65\x70\x2D\x66\x6C\x61\x67","\x52\x45\x43\x54\x41\x4E\x47\x4C\x45\x5F\x52\x4F\x55\x4E\x44\x49\x4E\x47\x5F\x46\x41\x43\x54\x4F\x52","\x61\x6C\x69\x67\x6E\x2D\x73\x68\x61\x70\x65","\x69\x6E\x63\x6C\x75\x64\x65\x2D\x73\x68\x61\x70\x65","\x67\x65\x74\x53\x74\x65\x6E\x63\x69\x6C","\x73\x74\x65\x6E\x63\x69\x6C","\x62\x6F\x75\x6E\x64\x73","\x62\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x73\x76\x67\x53\x74\x72\x6F\x6B\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x73\x74\x65\x6E\x63\x69\x6C\x50\x6F\x69\x6E\x74\x65\x72\x45\x76\x65\x6E\x74\x73","\x69\x73\x50\x61\x72\x73\x65\x56\x6D\x6C","\x69\x73\x48\x74\x6D\x6C\x41\x6C\x6C\x6F\x77\x65\x64","\x67\x65\x74\x53\x76\x67\x53\x63\x72\x65\x65\x6E\x4F\x66\x66\x73\x65\x74","\x63\x72\x65\x61\x74\x65\x53\x76\x67","\x63\x72\x65\x61\x74\x65\x48\x74\x6D\x6C","\x63\x72\x65\x61\x74\x65\x56\x6D\x6C","\x72\x65\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x75\x70\x64\x61\x74\x65\x42\x6F\x75\x6E\x64\x73\x46\x72\x6F\x6D\x50\x6F\x69\x6E\x74\x73","\x63\x68\x65\x63\x6B\x42\x6F\x75\x6E\x64\x73","\x72\x65\x64\x72\x61\x77\x48\x74\x6D\x6C\x53\x68\x61\x70\x65","\x72\x65\x64\x72\x61\x77\x53\x68\x61\x70\x65","\x75\x70\x64\x61\x74\x65\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x63\x72\x65\x61\x74\x65\x56\x6D\x6C\x47\x72\x6F\x75\x70","\x63\x72\x65\x61\x74\x65\x43\x61\x6E\x76\x61\x73","\x68\x61\x73\x43\x68\x69\x6C\x64\x4E\x6F\x64\x65\x73","\x6C\x61\x73\x74\x43\x68\x69\x6C\x64","\x62\x65\x66\x6F\x72\x65\x65\x6E\x64","\x69\x6E\x73\x65\x72\x74\x41\x64\x6A\x61\x63\x65\x6E\x74\x48\x54\x4D\x4C","\x61\x64\x64\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x46\x69\x6C\x74\x65\x72","\x64\x65\x73\x74\x72\x6F\x79\x43\x61\x6E\x76\x61\x73","\x75\x70\x64\x61\x74\x65\x56\x6D\x6C\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6D\x78\x52\x65\x66\x43\x6F\x75\x6E\x74","\x6F\x6C\x64\x47\x72\x61\x64\x69\x65\x6E\x74\x73","\x72\x65\x6C\x65\x61\x73\x65\x53\x76\x67\x47\x72\x61\x64\x69\x65\x6E\x74\x73","\x69\x73\x50\x61\x69\x6E\x74\x42\x6F\x75\x6E\x64\x73\x49\x6E\x76\x65\x72\x74\x65\x64","\x75\x70\x64\x61\x74\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x43\x61\x6E\x76\x61\x73","\x70\x61\x69\x6E\x74\x53\x74\x65\x6E\x63\x69\x6C\x53\x68\x61\x70\x65","\x70\x61\x69\x6E\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x70\x61\x69\x6E\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x69\x73\x53\x68\x61\x64\x6F\x77","\x67\x65\x74\x47\x72\x61\x64\x69\x65\x6E\x74\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x68\x61\x70\x65\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x61\x64\x64\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x63\x74\x61\x6E\x67\x6C\x65","\x73\x65\x74\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x70\x61\x69\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x70\x61\x69\x6E\x74\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x41\x72\x63\x53\x69\x7A\x65","\x70\x61\x69\x6E\x74\x47\x6C\x61\x73\x73\x45\x66\x66\x65\x63\x74","\x23\x66\x66\x66\x66\x66\x66","\x69\x73\x52\x6F\x75\x6E\x64\x65\x64","\x73\x74\x65\x6E\x63\x69\x6C\x46\x6C\x69\x70\x48","\x73\x74\x65\x6E\x63\x69\x6C\x46\x6C\x69\x70\x56","\x73\x65\x74\x43\x75\x72\x73\x6F\x72","\x67\x65\x74\x43\x75\x72\x73\x6F\x72","\x63\x72\x65\x61\x74\x65\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x61\x75\x67\x6D\x65\x6E\x74\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x67\x65\x74\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x67\x65\x74\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x67\x65\x74\x54\x65\x78\x74\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x76\x65\x72\x74\x69\x63\x61\x6C\x54\x65\x78\x74\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28\x27","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66\x27\x29","\x73\x74\x65\x6E\x63\x69\x6C\x73","\x6D\x61\x72\x6B\x65\x72\x73","\x41\x52\x52\x4F\x57\x5F\x43\x4C\x41\x53\x53\x49\x43","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44","\x61\x64\x64\x4D\x61\x72\x6B\x65\x72","\x72\x65\x64\x72\x61\x77\x50\x61\x74\x68","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x46\x69\x6C\x74\x65\x72\x73","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x43\x6F\x6C\x6F\x72\x73","\x62\x6F\x72\x64\x65\x72\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x73\x6F\x6C\x69\x64","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x64\x72\x6F\x70\x53\x68\x61\x64\x6F\x77\x20\x28\x4F\x66\x66\x58\x3D\x27","\x27\x2C\x20\x4F\x66\x66\x59\x3D\x27","\x27\x2C\x20\x43\x6F\x6C\x6F\x72\x3D\x27","\x27\x29","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x67\x72\x61\x64\x69\x65\x6E\x74\x28\x73\x74\x61\x72\x74\x43\x6F\x6C\x6F\x72\x53\x74\x72\x3D\x27","\x27\x2C\x20\x65\x6E\x64\x43\x6F\x6C\x6F\x72\x53\x74\x72\x3D\x27","\x27\x2C\x20\x67\x72\x61\x64\x69\x65\x6E\x74\x54\x79\x70\x65\x3D\x27","\x70\x61\x69\x6E\x74\x4C\x69\x6E\x65","\x61\x72\x72\x6F\x77\x57\x69\x64\x74\x68","\x41\x52\x52\x4F\x57\x5F\x57\x49\x44\x54\x48","\x41\x52\x52\x4F\x57\x5F\x53\x50\x41\x43\x49\x4E\x47","\x41\x52\x52\x4F\x57\x5F\x53\x49\x5A\x45","\x44\x45\x46\x41\x55\x4C\x54\x5F\x46\x4F\x4E\x54\x53\x54\x59\x4C\x45","\x63\x6C\x69\x70\x70\x65\x64","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x4C\x65\x66\x74","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x52\x69\x67\x68\x74","\x72\x65\x70\x6C\x61\x63\x65\x4C\x69\x6E\x65\x66\x65\x65\x64\x73","\x69\x67\x6E\x6F\x72\x65\x43\x6C\x69\x70\x70\x65\x64\x53\x74\x72\x69\x6E\x67\x53\x69\x7A\x65","\x69\x67\x6E\x6F\x72\x65\x53\x74\x72\x69\x6E\x67\x53\x69\x7A\x65","\x74\x65\x78\x74\x44\x69\x76","\x75\x70\x64\x61\x74\x65\x53\x69\x7A\x65","\x6D\x61\x72\x67\x69\x6E","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x54\x52\x49\x43\x54\x48\x54\x4D\x4C","\x75\x70\x64\x61\x74\x65\x56\x61\x6C\x75\x65","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x46\x69\x6C\x74\x65\x72","\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x4F\x72\x69\x67\x69\x6E","\x25\x20","\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x25\x2C","\x25\x29\x73\x63\x61\x6C\x65\x28","\x29\x20\x72\x6F\x74\x61\x74\x65\x28","\x64\x65\x67\x29","\x30\x25\x20\x30\x25","\x25\x29","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20","\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x7A\x6F\x6F\x6D\x3A\x31\x3B","\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B\x3B\x5F\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x3B\x70\x61\x64\x64\x69\x6E\x67\x2D\x62\x6F\x74\x74\x6F\x6D\x3A\x31\x70\x78\x3B\x70\x61\x64\x64\x69\x6E\x67\x2D\x72\x69\x67\x68\x74\x3A\x31\x70\x78\x3B\x6C\x69\x6E\x65\x2D\x68\x65\x69\x67\x68\x74\x3A","\x75\x70\x64\x61\x74\x65\x4D\x61\x72\x67\x69\x6E","\x67\x65\x74\x53\x70\x61\x63\x69\x6E\x67","\x70\x72\x65\x73\x65\x72\x76\x65\x49\x6D\x61\x67\x65\x41\x73\x70\x65\x63\x74","\x69\x6D\x61\x67\x65\x46\x6C\x69\x70\x48","\x69\x6D\x61\x67\x65\x46\x6C\x69\x70\x56","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x42\x61\x73\x69\x63\x49\x6D\x61\x67\x65\x28\x72\x6F\x74\x61\x74\x69\x6F\x6E\x3D\x32\x29","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x42\x61\x73\x69\x63\x49\x6D\x61\x67\x65\x28\x6D\x69\x72\x72\x6F\x72\x3D\x31\x29","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x42\x61\x73\x69\x63\x49\x6D\x61\x67\x65\x28\x72\x6F\x74\x61\x74\x69\x6F\x6E\x3D\x32\x2C\x20\x6D\x69\x72\x72\x6F\x72\x3D\x31\x29","\x69\x6D\x61\x67\x65\x53\x69\x7A\x65","\x44\x45\x46\x41\x55\x4C\x54\x5F\x49\x4D\x41\x47\x45\x53\x49\x5A\x45","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x69\x7A\x65","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72","\x70\x61\x69\x6E\x74\x49\x6D\x61\x67\x65","\x70\x61\x69\x6E\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72","\x67\x65\x74\x49\x6D\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x41\x4C\x49\x47\x4E\x5F\x54\x4F\x50","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x42\x6F\x75\x6E\x64\x73","\x63\x72\x65\x61\x74\x65\x4D\x61\x72\x6B\x65\x72","\x53\x54\x59\x4C\x45\x5F\x43\x55\x52\x56\x45\x44","\x70\x61\x69\x6E\x74\x43\x75\x72\x76\x65\x64\x4C\x69\x6E\x65","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x53\x49\x5A\x45","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x53\x49\x5A\x45","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x41\x52\x52\x4F\x57","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x41\x52\x52\x4F\x57","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x46\x49\x4C\x4C","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x46\x49\x4C\x4C","\x70\x61\x69\x6E\x74\x52\x6F\x75\x6E\x64\x65\x64\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x70\x61\x69\x6E\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x70\x61\x69\x6E\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x75\x73\x65\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x6D\x6F\x76\x65\x43\x65\x6C\x6C","\x67\x65\x74\x47\x72\x61\x70\x68","\x67\x65\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x74\x72\x61\x76\x65\x72\x73\x65","\x67\x65\x74\x45\x64\x67\x65\x43\x6F\x75\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x41\x74","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x67\x65\x74\x56\x69\x73\x69\x62\x6C\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x69\x73\x56\x65\x72\x74\x65\x78\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x56\x65\x72\x74\x65\x78\x49\x67\x6E\x6F\x72\x65\x64","\x69\x73\x43\x65\x6C\x6C\x56\x69\x73\x69\x62\x6C\x65","\x69\x73\x45\x64\x67\x65\x49\x67\x6E\x6F\x72\x65\x64","\x73\x65\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x73\x65\x74\x4F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x4F\x66\x66\x73\x65\x74","\x69\x73\x41\x6E\x63\x65\x73\x74\x6F\x72","\x67\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x65\x74\x45\x64\x67\x65\x50\x6F\x69\x6E\x74\x73","\x73\x65\x74\x52\x65\x6C\x61\x74\x69\x76\x65","\x73\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x65\x74\x56\x65\x72\x74\x65\x78\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x67\x65\x74\x56\x65\x72\x74\x65\x78\x42\x6F\x75\x6E\x64\x73","\x61\x72\x72\x61\x6E\x67\x65\x47\x72\x6F\x75\x70\x73","\x67\x65\x74\x43\x68\x69\x6C\x64\x56\x65\x72\x74\x69\x63\x65\x73","\x67\x65\x74\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78\x46\x72\x6F\x6D\x47\x65\x6F\x6D\x65\x74\x72\x79","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x67\x65\x74\x53\x74\x61\x72\x74\x53\x69\x7A\x65","\x78\x30","\x79\x30","\x6B\x65\x65\x70\x46\x69\x72\x73\x74\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x72\x65\x73\x69\x7A\x65\x50\x61\x72\x65\x6E\x74","\x72\x65\x73\x69\x7A\x65\x4C\x61\x73\x74","\x69\x73\x48\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x67\x65\x74\x49\x6E\x64\x65\x78","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x53\x69\x7A\x65","\x69\x73\x4C\x61\x79\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x72\x65\x73\x69\x7A\x65\x56\x65\x72\x74\x69\x63\x65\x73","\x69\x6E\x76\x65\x72\x74","\x67\x72\x6F\x75\x70\x50\x61\x64\x64\x69\x6E\x67","\x70\x61\x72\x65\x6E\x74\x73\x43\x68\x61\x6E\x67\x65\x64","\x6D\x6F\x76\x65\x54\x72\x65\x65","\x6C\x65\x76\x65\x6C\x44\x69\x73\x74\x61\x6E\x63\x65","\x6E\x6F\x64\x65\x44\x69\x73\x74\x61\x6E\x63\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73","\x70\x72\x65\x66\x48\x6F\x7A\x45\x64\x67\x65\x53\x65\x70","\x70\x72\x65\x66\x56\x65\x72\x74\x45\x64\x67\x65\x4F\x66\x66","\x6D\x69\x6E\x45\x64\x67\x65\x4A\x65\x74\x74\x79","\x63\x68\x61\x6E\x6E\x65\x6C\x42\x75\x66\x66\x65\x72","\x65\x64\x67\x65\x52\x6F\x75\x74\x69\x6E\x67","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x54\x72\x65\x65\x52\x6F\x6F\x74\x73","\x64\x66\x73","\x6C\x61\x79\x6F\x75\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x4C\x61\x79\x6F\x75\x74","\x76\x65\x72\x74\x69\x63\x61\x6C\x4C\x61\x79\x6F\x75\x74","\x6D\x6F\x76\x65\x4E\x6F\x64\x65","\x61\x64\x6A\x75\x73\x74\x50\x61\x72\x65\x6E\x74\x73","\x6C\x6F\x63\x61\x6C\x45\x64\x67\x65\x50\x72\x6F\x63\x65\x73\x73\x69\x6E\x67","\x6E\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x4E\x6F\x64\x65","\x61\x74\x74\x61\x63\x68\x50\x61\x72\x65\x6E\x74","\x6C\x61\x79\x6F\x75\x74\x4C\x65\x61\x66","\x6F\x66\x66\x73\x65\x74\x58","\x6F\x66\x66\x73\x65\x74\x59","\x75\x70\x70\x65\x72\x48\x65\x61\x64","\x63\x6F\x6E\x74\x6F\x75\x72","\x63\x72\x65\x61\x74\x65\x4C\x69\x6E\x65","\x6C\x6F\x77\x65\x72\x48\x65\x61\x64","\x75\x70\x70\x65\x72\x54\x61\x69\x6C","\x6C\x6F\x77\x65\x72\x54\x61\x69\x6C","\x6D\x65\x72\x67\x65","\x62\x72\x69\x64\x67\x65","\x73\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x70\x72\x6F\x63\x65\x73\x73\x4E\x6F\x64\x65\x4F\x75\x74\x67\x6F\x69\x6E\x67","\x67\x65\x74\x45\x64\x67\x65\x73\x42\x65\x74\x77\x65\x65\x6E","\x77\x65\x69\x67\x68\x74\x65\x64\x56\x61\x6C\x75\x65","\x6E\x75\x64\x67\x65","\x76\x69\x73\x69\x74\x65\x64","\x72\x61\x6E\x6B\x49\x6E\x64\x65\x78","\x75\x73\x65\x49\x6E\x70\x75\x74\x4F\x72\x69\x67\x69\x6E","\x64\x69\x73\x61\x62\x6C\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x66\x6F\x72\x63\x65\x43\x6F\x6E\x73\x74\x61\x6E\x74","\x66\x6F\x72\x63\x65\x43\x6F\x6E\x73\x74\x61\x6E\x74\x53\x71\x75\x61\x72\x65\x64","\x6D\x69\x6E\x44\x69\x73\x74\x61\x6E\x63\x65\x4C\x69\x6D\x69\x74","\x6D\x61\x78\x44\x69\x73\x74\x61\x6E\x63\x65\x4C\x69\x6D\x69\x74","\x6D\x69\x6E\x44\x69\x73\x74\x61\x6E\x63\x65\x4C\x69\x6D\x69\x74\x53\x71\x75\x61\x72\x65\x64","\x69\x6E\x69\x74\x69\x61\x6C\x54\x65\x6D\x70","\x74\x65\x6D\x70\x65\x72\x61\x74\x75\x72\x65","\x6D\x61\x78\x49\x74\x65\x72\x61\x74\x69\x6F\x6E\x73","\x69\x74\x65\x72\x61\x74\x69\x6F\x6E","\x61\x6C\x6C\x6F\x77\x65\x64\x54\x6F\x52\x75\x6E","\x76\x65\x72\x74\x65\x78\x41\x72\x72\x61\x79","\x67\x65\x74\x42\x6F\x75\x6E\x64\x73","\x69\x6E\x64\x69\x63\x65\x73","\x64\x69\x73\x70\x58","\x64\x69\x73\x70\x59","\x63\x65\x6C\x6C\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x69\x73\x4D\x6F\x76\x65\x61\x62\x6C\x65","\x6E\x65\x69\x67\x68\x62\x6F\x75\x72\x73","\x72\x61\x64\x69\x75\x73","\x72\x61\x64\x69\x75\x73\x53\x71\x75\x61\x72\x65\x64","\x67\x65\x74\x4F\x70\x70\x6F\x73\x69\x74\x65\x73","\x72\x65\x73\x65\x74\x45\x64\x67\x65","\x63\x61\x6C\x63\x52\x65\x70\x75\x6C\x73\x69\x6F\x6E","\x63\x61\x6C\x63\x41\x74\x74\x72\x61\x63\x74\x69\x6F\x6E","\x63\x61\x6C\x63\x50\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x72\x65\x64\x75\x63\x65\x54\x65\x6D\x70\x65\x72\x61\x74\x75\x72\x65","\x72\x61\x6E\x64\x6F\x6D","\x6D\x6F\x76\x65\x43\x69\x72\x63\x6C\x65","\x67\x65\x74\x52\x61\x64\x69\x75\x73","\x63\x69\x72\x63\x6C\x65","\x66\x69\x6E\x64\x50\x61\x72\x61\x6C\x6C\x65\x6C\x73","\x67\x65\x74\x45\x64\x67\x65\x49\x64","\x72\x6F\x75\x74\x65","\x6C\x61\x79\x6F\x75\x74\x73","\x6D\x61\x73\x74\x65\x72","\x70\x6C\x61\x63\x65\x4C\x61\x62\x65\x6C\x73","\x61\x76\x6F\x69\x64","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73","\x74\x65\x6D\x70","\x6D\x61\x78\x52\x61\x6E\x6B","\x6D\x69\x6E\x52\x61\x6E\x6B","\x6E\x65\x78\x74\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x70\x72\x65\x76\x69\x6F\x75\x73\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x4E\x65\x78\x74\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x50\x72\x65\x76\x69\x6F\x75\x73\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x65\x6E\x65\x72\x61\x6C\x50\x75\x72\x70\x6F\x73\x65\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x65\x74\x47\x65\x6E\x65\x72\x61\x6C\x50\x75\x72\x70\x6F\x73\x65\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x65\x74\x58","\x73\x65\x74\x59","\x63\x6F\x6E\x6E\x65\x63\x74\x73\x41\x73\x54\x61\x72\x67\x65\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x73\x41\x73\x53\x6F\x75\x72\x63\x65","\x68\x61\x73\x68\x43\x6F\x64\x65","\x67\x65\x74\x52\x61\x6E\x6B\x56\x61\x6C\x75\x65","\x67\x65\x74\x43\x6F\x72\x65\x43\x65\x6C\x6C","\x65\x64\x67\x65\x73","\x69\x73\x52\x65\x76\x65\x72\x73\x65\x64","\x74\x69\x67\x68\x74\x65\x6E\x54\x6F\x53\x6F\x75\x72\x63\x65","\x72\x6F\x6F\x74\x73","\x76\x65\x72\x74\x65\x78\x4D\x61\x70\x70\x65\x72","\x65\x64\x67\x65\x4D\x61\x70\x70\x65\x72","\x53\x4F\x55\x52\x43\x45\x53\x43\x41\x4E\x53\x54\x41\x52\x54\x52\x41\x4E\x4B","\x63\x72\x65\x61\x74\x65\x49\x6E\x74\x65\x72\x6E\x61\x6C\x43\x65\x6C\x6C\x73","\x72\x61\x6E\x6B\x73","\x64\x66\x73\x43\x6F\x75\x6E\x74","\x69\x6E\x69\x74\x69\x61\x6C\x52\x61\x6E\x6B","\x73\x6C\x69\x63\x65","\x66\x69\x78\x52\x61\x6E\x6B\x73","\x65\x78\x74\x65\x6E\x64\x65\x64\x44\x66\x73","\x6E\x65\x73\x74\x65\x64\x42\x65\x73\x74\x52\x61\x6E\x6B\x73","\x63\x75\x72\x72\x65\x6E\x74\x42\x65\x73\x74\x43\x72\x6F\x73\x73\x69\x6E\x67\x73","\x69\x74\x65\x72\x61\x74\x69\x6F\x6E\x73\x57\x69\x74\x68\x6F\x75\x74\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74","\x6D\x61\x78\x4E\x6F\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x49\x74\x65\x72\x61\x74\x69\x6F\x6E\x73","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x43\x72\x6F\x73\x73\x69\x6E\x67\x73","\x77\x65\x69\x67\x68\x74\x65\x64\x4D\x65\x64\x69\x61\x6E","\x74\x72\x61\x6E\x73\x70\x6F\x73\x65","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x52\x61\x6E\x6B\x43\x72\x6F\x73\x73\x69\x6E\x67","\x6D\x65\x64\x69\x61\x6E\x52\x61\x6E\x6B","\x6D\x65\x64\x69\x61\x6E\x56\x61\x6C\x75\x65","\x6C\x65\x6E\x74\x68","\x67\x65\x74\x49\x6E\x63\x6F\x6D\x69\x6E\x67\x45\x64\x67\x65\x73","\x69\x6E\x74\x72\x61\x43\x65\x6C\x6C\x53\x70\x61\x63\x69\x6E\x67","\x69\x6E\x74\x65\x72\x52\x61\x6E\x6B\x43\x65\x6C\x6C\x53\x70\x61\x63\x69\x6E\x67","\x6F\x72\x69\x65\x6E\x74\x61\x74\x69\x6F\x6E","\x69\x6E\x69\x74\x69\x61\x6C\x58","\x70\x61\x72\x61\x6C\x6C\x65\x6C\x45\x64\x67\x65\x53\x70\x61\x63\x69\x6E\x67","\x6A\x65\x74\x74\x79\x50\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x69\x6D\x69\x74\x58","\x63\x75\x72\x72\x65\x6E\x74\x58\x44\x65\x6C\x74\x61","\x77\x69\x64\x65\x73\x74\x52\x61\x6E\x6B","\x72\x61\x6E\x6B\x54\x6F\x70\x59","\x72\x61\x6E\x6B\x42\x6F\x74\x74\x6F\x6D\x59","\x77\x69\x64\x65\x73\x74\x52\x61\x6E\x6B\x56\x61\x6C\x75\x65","\x72\x61\x6E\x6B\x57\x69\x64\x74\x68\x73","\x72\x61\x6E\x6B\x59","\x66\x69\x6E\x65\x54\x75\x6E\x69\x6E\x67","\x50\x4F\x4C\x59\x4C\x49\x4E\x45","\x6E\x65\x78\x74\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x61\x63\x68\x65","\x70\x72\x65\x76\x69\x6F\x75\x73\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x61\x63\x68\x65","\x70\x72\x69\x6E\x74\x53\x74\x61\x74\x75\x73","\x3D\x3D\x3D\x3D\x3D\x3D\x43\x6F\x6F\x72\x64\x20\x61\x73\x73\x69\x67\x6E\x6D\x65\x6E\x74\x20\x64\x65\x62\x75\x67\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x52\x61\x6E\x6B\x20","\x20\x3A\x20","\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x69\x6E\x69\x74\x69\x61\x6C\x43\x6F\x6F\x72\x64\x73","\x6D\x69\x6E\x4E\x6F\x64\x65","\x6D\x65\x64\x69\x61\x6E\x50\x6F\x73","\x6D\x69\x6E\x50\x61\x74\x68","\x73\x65\x74\x43\x65\x6C\x6C\x4C\x6F\x63\x61\x74\x69\x6F\x6E\x73","\x6D\x65\x64\x69\x61\x6E\x58\x56\x61\x6C\x75\x65","\x72\x61\x6E\x6B\x4D\x65\x64\x69\x61\x6E\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x64\x57\x65\x69\x67\x68\x74\x65\x64\x56\x61\x6C\x75\x65","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x57\x69\x64\x65\x73\x74\x52\x61\x6E\x6B","\x72\x61\x6E\x6B\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x65\x64\x67\x65\x2E\x65\x64\x67\x65\x73\x20\x69\x73\x20\x6E\x75\x6C\x6C","\x41\x74\x20\x6C\x65\x61\x73\x74\x20\x6F\x6E\x65\x20\x63\x65\x6C\x6C\x20\x68\x61\x73\x20\x6E\x6F\x20\x62\x6F\x75\x6E\x64\x73","\x72\x65\x70\x6F\x73\x69\x74\x69\x6F\x6E\x56\x61\x6C\x69\x64","\x4D\x41\x58\x5F\x56\x41\x4C\x55\x45","\x4F\x52\x54\x48\x4F\x47\x4F\x4E\x41\x4C","\x43\x55\x52\x56\x45","\x73\x65\x74\x45\x64\x67\x65\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x73\x50\x6F\x72\x74","\x70\x72\x6F\x63\x65\x73\x73\x52\x65\x76\x65\x72\x73\x65\x64\x45\x64\x67\x65","\x64\x65\x74\x65\x72\x6D\x69\x6E\x69\x73\x74\x69\x63","\x6D\x6F\x76\x65\x50\x61\x72\x65\x6E\x74","\x70\x61\x72\x65\x6E\x74\x42\x6F\x72\x64\x65\x72","\x69\x6E\x74\x65\x72\x48\x69\x65\x72\x61\x72\x63\x68\x79\x53\x70\x61\x63\x69\x6E\x67","\x74\x72\x61\x76\x65\x72\x73\x65\x41\x6E\x63\x65\x73\x74\x6F\x72\x73","\x65\x64\x67\x65\x73\x43\x61\x63\x68\x65","\x72\x75\x6E","\x75\x70\x64\x61\x74\x65\x47\x72\x6F\x75\x70\x42\x6F\x75\x6E\x64\x73","\x66\x69\x6E\x64\x52\x6F\x6F\x74\x73","\x63\x6F\x6E\x63\x61\x74","\x69\x73\x56\x61\x6C\x69\x64\x41\x6E\x63\x65\x73\x74\x6F\x72","\x66\x69\x6C\x74\x65\x72\x44\x65\x73\x63\x65\x6E\x64\x61\x6E\x74\x73","\x63\x79\x63\x6C\x65\x53\x74\x61\x67\x65","\x6C\x61\x79\x65\x72\x69\x6E\x67\x53\x74\x61\x67\x65","\x63\x72\x6F\x73\x73\x69\x6E\x67\x53\x74\x61\x67\x65","\x70\x6C\x61\x63\x65\x6D\x65\x6E\x74\x53\x74\x61\x67\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x64\x69\x74","\x73\x65\x74\x52\x6F\x6F\x74","\x6D\x61\x69\x6E\x74\x61\x69\x6E\x45\x64\x67\x65\x50\x61\x72\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x49\x64\x73","\x70\x6F\x73\x74\x66\x69\x78","\x6E\x65\x78\x74\x49\x64","\x75\x70\x64\x61\x74\x65\x4C\x65\x76\x65\x6C","\x65\x6E\x64\x69\x6E\x67\x55\x70\x64\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x52\x6F\x6F\x74","\x69\x73\x43\x72\x65\x61\x74\x65\x49\x64\x73","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x49\x64\x73","\x69\x6E\x73\x65\x72\x74","\x66\x69\x6C\x74\x65\x72\x43\x65\x6C\x6C\x73","\x67\x65\x74\x44\x65\x73\x63\x65\x6E\x64\x61\x6E\x74\x73","\x72\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65\x64","\x63\x65\x6C\x6C\x41\x64\x64\x65\x64","\x69\x73\x52\x6F\x6F\x74","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x50\x61\x72\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x49\x64","\x73\x65\x74\x49\x64","\x69\x73\x4E\x75\x6D\x65\x72\x69\x63","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x4E\x65\x61\x72\x65\x73\x74\x43\x6F\x6D\x6D\x6F\x6E\x41\x6E\x63\x65\x73\x74\x6F\x72","\x67\x65\x74\x4F\x72\x69\x67\x69\x6E","\x50\x41\x54\x48\x5F\x53\x45\x50\x41\x52\x41\x54\x4F\x52","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x50\x61\x74\x68","\x70\x61\x72\x65\x6E\x74\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x74\x43\x68\x69\x6C\x64\x72\x65\x6E","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x43\x68\x69\x6C\x64\x45\x64\x67\x65\x73","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x74\x65\x72\x6D\x69\x6E\x61\x6C\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x69\x6E\x73\x65\x72\x74\x45\x64\x67\x65","\x72\x65\x6D\x6F\x76\x65\x45\x64\x67\x65","\x67\x65\x74\x44\x69\x72\x65\x63\x74\x65\x64\x45\x64\x67\x65\x43\x6F\x75\x6E\x74","\x67\x65\x74\x4F\x75\x74\x67\x6F\x69\x6E\x67\x45\x64\x67\x65\x73","\x67\x65\x74\x54\x6F\x70\x6D\x6F\x73\x74\x43\x65\x6C\x6C\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x56\x61\x6C\x75\x65","\x76\x61\x6C\x75\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x76\x61\x6C\x75\x65\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x6F\x6D\x65\x74\x72\x79\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x73\x74\x79\x6C\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x69\x73\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x73\x65\x74\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x53\x74\x61\x74\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x76\x69\x73\x69\x62\x6C\x65\x53\x74\x61\x74\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x6D\x65\x72\x67\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x6D\x65\x72\x67\x65\x43\x68\x69\x6C\x64\x72\x65\x6E\x49\x6D\x70\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x73","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x49\x6D\x70\x6C","\x72\x65\x73\x74\x6F\x72\x65\x43\x6C\x6F\x6E\x65","\x63\x65\x6C\x6C\x43\x6C\x6F\x6E\x65\x64","\x70\x72\x65\x76\x69\x6F\x75\x73\x49\x6E\x64\x65\x78","\x69\x6E\x64\x65\x78","\x74\x65\x72\x6D\x69\x6E\x61\x6C","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x61\x74\x74\x72\x69\x62\x75\x74\x65","\x6F\x6E\x49\x6E\x69\x74","\x76\x65\x72\x74\x65\x78","\x65\x64\x67\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x6D\x78\x54\x72\x61\x6E\x73\x69\x65\x6E\x74","\x69\x64\x20\x76\x61\x6C\x75\x65\x20\x70\x61\x72\x65\x6E\x74\x20\x73\x6F\x75\x72\x63\x65\x20\x74\x61\x72\x67\x65\x74\x20\x63\x68\x69\x6C\x64\x72\x65\x6E\x20\x65\x64\x67\x65\x73","\x73\x65\x74\x56\x65\x72\x74\x65\x78","\x73\x65\x74\x45\x64\x67\x65","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x50\x61\x72\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x49\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x63\x6C\x6F\x6E\x65\x56\x61\x6C\x75\x65","\x54\x52\x41\x4E\x53\x4C\x41\x54\x45\x5F\x43\x4F\x4E\x54\x52\x4F\x4C\x5F\x50\x4F\x49\x4E\x54\x53","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x42\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65\x50\x6F\x69\x6E\x74","\x74\x61\x72\x67\x65\x74\x50\x6F\x69\x6E\x74","\x73\x77\x61\x70","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x74\x61\x6E","\x70\x6F\x77","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x50\x72\x69\x6E\x74\x65\x72\x2D\x66\x72\x69\x65\x6E\x64\x6C\x79\x20\x76\x65\x72\x73\x69\x6F\x6E","\x70\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72","\x61\x75\x74\x6F\x4F\x72\x69\x67\x69\x6E","\x70\x72\x69\x6E\x74\x4F\x76\x65\x72\x6C\x61\x79\x73","\x77\x6E\x64","\x70\x61\x67\x65\x43\x6F\x75\x6E\x74","\x67\x65\x74\x57\x69\x6E\x64\x6F\x77","\x67\x65\x74\x44\x6F\x63\x74\x79\x70\x65","\x3C\x6D\x65\x74\x61\x20\x68\x74\x74\x70\x2D\x65\x71\x75\x69\x76\x3D\x22\x58\x2D\x55\x41\x2D\x43\x6F\x6D\x70\x61\x74\x69\x62\x6C\x65\x22\x20\x63\x6F\x6E\x74\x65\x6E\x74\x3D\x22\x49\x45\x3D\x38\x22\x3E","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65\x4F\x76\x65\x72\x6C\x61\x79","\x67\x65\x74\x44\x72\x61\x77\x50\x61\x6E\x65","\x77\x72\x69\x74\x65\x48\x65\x61\x64","\x3C\x62\x6F\x64\x79\x20\x63\x6C\x61\x73\x73\x3D\x22\x6D\x78\x50\x61\x67\x65\x22\x3E","\x63\x72\x65\x61\x74\x65\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x41\x66\x74\x65\x72","\x61\x6C\x77\x61\x79\x73","\x6D\x78\x50\x61\x67\x65\x42\x72\x65\x61\x6B","\x67\x65\x74\x43\x6F\x76\x65\x72\x50\x61\x67\x65\x73","\x67\x65\x74\x41\x70\x70\x65\x6E\x64\x69\x63\x65\x73","\x61\x64\x64\x47\x72\x61\x70\x68\x46\x72\x61\x67\x6D\x65\x6E\x74","\x72\x65\x6E\x64\x65\x72\x50\x61\x67\x65","\x6D\x78\x50\x61\x67\x65\x2D","\x3C\x74\x69\x74\x6C\x65\x3E","\x3C\x2F\x74\x69\x74\x6C\x65\x3E","\x3C\x73\x74\x79\x6C\x65\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x2F\x63\x73\x73\x22\x3E","\x40\x6D\x65\x64\x69\x61\x20\x70\x72\x69\x6E\x74\x20\x7B","\x20\x20\x74\x61\x62\x6C\x65\x2E\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72\x20\x7B\x20\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x6E\x6F\x6E\x65\x3B\x20\x7D","\x20\x20\x68\x72\x2E\x6D\x78\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x20\x7B\x20\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x6E\x6F\x6E\x65\x3B\x20\x7D","\x40\x6D\x65\x64\x69\x61\x20\x73\x63\x72\x65\x65\x6E\x20\x7B","\x20\x20\x74\x61\x62\x6C\x65\x2E\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72\x20\x7B\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x66\x69\x78\x65\x64\x3B\x20\x72\x69\x67\x68\x74\x3A\x20\x31\x30\x70\x78\x3B\x20\x74\x6F\x70\x3A\x20\x31\x30\x70\x78\x3B\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A\x20\x41\x72\x69\x61\x6C\x3B\x20\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x31\x30\x70\x74\x3B\x20\x62\x6F\x72\x64\x65\x72\x3A\x20\x73\x6F\x6C\x69\x64\x20\x31\x70\x78\x20\x64\x61\x72\x6B\x67\x72\x61\x79\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3A\x20\x77\x68\x69\x74\x65\x3B\x20\x62\x6F\x72\x64\x65\x72\x2D\x63\x6F\x6C\x6C\x61\x70\x73\x65\x3A\x63\x6F\x6C\x6C\x61\x70\x73\x65\x3B\x20\x7D","\x20\x20\x74\x61\x62\x6C\x65\x2E\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72\x20\x74\x64\x20\x7B\x20\x62\x6F\x72\x64\x65\x72\x3A\x20\x73\x6F\x6C\x69\x64\x20\x31\x70\x78\x20\x67\x72\x61\x79\x3B\x20\x70\x61\x64\x64\x69\x6E\x67\x3A\x34\x70\x78\x3B\x20\x7D","\x20\x20\x62\x6F\x64\x79\x2E\x6D\x78\x50\x61\x67\x65\x20\x7B\x20\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3A\x20\x67\x72\x61\x79\x3B\x20\x7D","\x3C\x2F\x73\x74\x79\x6C\x65\x3E","\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72","\x61","\x23\x6D\x78\x50\x61\x67\x65\x2D","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x49\x6E\x73\x69\x64\x65","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x73\x74\x79\x6C\x65\x73","\x63\x72\x65\x61\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x74\x79\x6C\x65","\x70\x75\x74\x44\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x70\x75\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x53\x48\x41\x50\x45","\x53\x48\x41\x50\x45\x5F\x52\x45\x43\x54\x41\x4E\x47\x4C\x45","\x53\x54\x59\x4C\x45\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52","\x52\x65\x63\x74\x61\x6E\x67\x6C\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x41\x4C\x49\x47\x4E","\x53\x54\x59\x4C\x45\x5F\x41\x4C\x49\x47\x4E","\x53\x54\x59\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x43\x33\x44\x39\x46\x46","\x53\x54\x59\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x23\x36\x34\x38\x32\x42\x39","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x43\x4F\x4C\x4F\x52","\x23\x37\x37\x34\x34\x30\x30","\x53\x48\x41\x50\x45\x5F\x43\x4F\x4E\x4E\x45\x43\x54\x4F\x52","\x23\x34\x34\x36\x32\x39\x39","\x64\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78","\x70\x75\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x74\x79\x6C\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6F\x72\x69\x67\x69\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65\x4F\x66\x66\x73\x65\x74","\x69\x6E\x76\x61\x6C\x69\x64","\x69\x6E\x76\x61\x6C\x69\x64\x4F\x72\x64\x65\x72","\x6F\x72\x64\x65\x72\x43\x68\x61\x6E\x67\x65\x64","\x76\x69\x73\x69\x62\x6C\x65\x53\x6F\x75\x72\x63\x65\x53\x74\x61\x74\x65","\x76\x69\x73\x69\x62\x6C\x65\x54\x61\x72\x67\x65\x74\x53\x74\x61\x74\x65","\x74\x65\x72\x6D\x69\x6E\x61\x6C\x44\x69\x73\x74\x61\x6E\x63\x65","\x73\x65\x67\x6D\x65\x6E\x74\x73","\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x42\x6F\x75\x6E\x64\x73","\x73\x65\x74\x41\x62\x73\x6F\x6C\x75\x74\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x56\x69\x73\x69\x62\x6C\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x53\x74\x61\x74\x65","\x73\x65\x74\x56\x69\x73\x69\x62\x6C\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x53\x74\x61\x74\x65","\x64\x6F\x6E\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x69\x6E\x67\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x52\x65\x73\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x69\x6E\x67\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x69\x6E\x67\x6C\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x69\x73\x53\x69\x6E\x67\x6C\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x74\x53\x69\x6E\x67\x6C\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x63\x68\x61\x6E\x67\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x74\x43\x65\x6C\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x73","\x67\x65\x74\x46\x69\x72\x73\x74\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x61\x64\x64\x43\x65\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x61\x64\x64\x65\x64","\x72\x65\x6D\x6F\x76\x65\x64","\x6D\x78\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x68\x61\x6E\x67\x65\x2E\x65\x78\x65\x63\x75\x74\x65","\x65\x6E\x74\x65\x72","\x6C\x65\x61\x76\x65","\x65\x64\x69\x74\x69\x6E\x67\x43\x65\x6C\x6C","\x74\x72\x69\x67\x67\x65\x72","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x61\x75\x74\x6F\x53\x69\x7A\x65","\x65\x6D\x70\x74\x79\x4C\x61\x62\x65\x6C\x54\x65\x78\x74","\x74\x65\x78\x74\x4E\x6F\x64\x65","\x6D\x78\x43\x65\x6C\x6C\x45\x64\x69\x74\x6F\x72","\x63\x6F\x6C\x73","\x32\x30","\x34","\x62\x6C\x75\x72","\x66\x6F\x63\x75\x73\x4C\x6F\x73\x74","\x6B\x65\x79\x64\x6F\x77\x6E","\x6B\x65\x79\x43\x6F\x64\x65","\x69\x73\x45\x6E\x74\x65\x72\x53\x74\x6F\x70\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x73\x74\x6F\x70\x45\x64\x69\x74\x69\x6E\x67","\x63\x6C\x65\x61\x72\x4F\x6E\x43\x68\x61\x6E\x67\x65","\x73\x65\x74\x4D\x6F\x64\x69\x66\x69\x65\x64","\x6B\x65\x79\x70\x72\x65\x73\x73","\x69\x73\x4C\x61\x62\x65\x6C\x43\x6C\x69\x70\x70\x65\x64","\x69\x73\x57\x72\x61\x70\x70\x69\x6E\x67","\x41\x4C\x49\x47\x4E\x5F\x4C\x45\x46\x54","\x69\x73\x4D\x6F\x64\x69\x66\x69\x65\x64","\x69\x73\x49\x6E\x76\x6F\x6B\x65\x73\x53\x74\x6F\x70\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x69\x73\x48\x69\x64\x65\x4C\x61\x62\x65\x6C","\x6F\x75\x74\x6C\x69\x6E\x65","\x67\x65\x74\x45\x64\x69\x74\x6F\x72\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x56\x61\x6C\x75\x65","\x67\x65\x74\x45\x6D\x70\x74\x79\x4C\x61\x62\x65\x6C\x54\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x54\x65\x78\x74\x44\x69\x76","\x67\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x56\x61\x6C\x75\x65","\x67\x65\x74\x45\x64\x69\x74\x69\x6E\x67\x56\x61\x6C\x75\x65","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x54\x4F\x50","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x52\x49\x47\x48\x54","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x42\x4F\x54\x54\x4F\x4D","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x4C\x45\x46\x54","\x67\x65\x74\x45\x64\x69\x74\x69\x6E\x67\x43\x65\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x64\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x64\x65\x66\x61\x75\x6C\x74\x54\x65\x78\x74\x53\x68\x61\x70\x65","\x6C\x65\x67\x61\x63\x79\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x66\x61\x75\x6C\x74\x53\x68\x61\x70\x65\x73","\x72\x65\x67\x69\x73\x74\x65\x72\x53\x68\x61\x70\x65","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x70\x65","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65\x53\x68\x61\x70\x65","\x6F\x72\x64\x65\x72\x65\x64","\x6B\x65\x65\x70\x45\x64\x67\x65\x73\x49\x6E\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x66\x69\x72\x73\x74\x45\x64\x67\x65","\x69\x6E\x73\x65\x72\x74\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x69\x6E\x73\x74\x61\x6C\x6C\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x67\x65\x74\x50\x72\x65\x76\x69\x6F\x75\x73\x53\x74\x61\x74\x65\x49\x6E\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x66\x69\x6E\x64\x50\x72\x65\x76\x69\x6F\x75\x73\x53\x74\x61\x74\x65\x49\x6E\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x72\x64\x65\x72","\x6F\x72\x64\x65\x72\x45\x64\x67\x65","\x6B\x65\x65\x70\x45\x64\x67\x65\x73\x49\x6E\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x53\x68\x61\x70\x65\x43\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x53\x68\x61\x70\x65","\x67\x65\x74\x53\x68\x61\x70\x65","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x68\x61\x70\x65","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x47\x72\x61\x64\x69\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x49\x6D\x61\x67\x65","\x70\x6F\x73\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x65\x53\x68\x61\x70\x65","\x72\x65\x73\x6F\x6C\x76\x65\x43\x6F\x6C\x6F\x72","\x67\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x6E\x64\x69\x63\x61\x74\x65\x64","\x67\x65\x74\x4C\x61\x62\x65\x6C\x56\x61\x6C\x75\x65","\x67\x65\x74\x4C\x61\x62\x65\x6C","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C","\x67\x65\x74\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x54\x59\x4C\x45","\x53\x54\x59\x4C\x45\x5F\x48\x4F\x52\x49\x5A\x4F\x4E\x54\x41\x4C","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x42\x41\x43\x4B\x47\x52\x4F\x55\x4E\x44\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x42\x4F\x52\x44\x45\x52\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x4F\x56\x45\x52\x46\x4C\x4F\x57","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x41\x44\x44\x49\x4E\x47","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65\x4C\x61\x62\x65\x6C","\x63\x6F\x6E\x76\x65\x72\x74\x50\x6F\x69\x6E\x74","\x69\x73\x4C\x61\x62\x65\x6C\x45\x76\x65\x6E\x74","\x49\x4D\x47","\x4E\x4F\x5F\x46\x4F","\x67\x65\x74\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x6F\x76\x65\x72\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C","\x67\x65\x74\x46\x6F\x6C\x64\x69\x6E\x67\x49\x6D\x61\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6F\x6E\x74\x72\x6F\x6C","\x69\x6E\x69\x74\x43\x6F\x6E\x74\x72\x6F\x6C","\x44\x49\x41\x4C\x45\x43\x54\x5F\x50\x52\x45\x46\x45\x52\x48\x54\x4D\x4C","\x69\x6E\x6E\x65\x72\x4E\x6F\x64\x65","\x69\x73\x53\x68\x61\x70\x65\x45\x76\x65\x6E\x74","\x67\x65\x73\x74\x75\x72\x65\x73\x74\x61\x72\x74","\x6C\x61\x73\x74\x54\x6F\x75\x63\x68\x54\x69\x6D\x65","\x67\x65\x73\x74\x75\x72\x65\x65\x6E\x64","\x67\x65\x73\x74\x75\x72\x65\x45\x6E\x61\x62\x6C\x65\x64","\x68\x61\x6E\x64\x6C\x65\x47\x65\x73\x74\x75\x72\x65","\x72\x65\x64\x72\x61\x77\x4C\x61\x62\x65\x6C","\x67\x65\x74\x4C\x61\x62\x65\x6C\x42\x6F\x75\x6E\x64\x73","\x69\x73\x43\x6C\x69\x70\x70\x69\x6E\x67","\x67\x65\x74\x54\x65\x78\x74\x53\x63\x61\x6C\x65","\x72\x6F\x74\x61\x74\x65\x4C\x61\x62\x65\x6C\x42\x6F\x75\x6E\x64\x73","\x72\x65\x64\x72\x61\x77\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x72\x65\x64\x72\x61\x77\x43\x6F\x6E\x74\x72\x6F\x6C","\x67\x65\x74\x43\x6F\x6E\x74\x72\x6F\x6C\x42\x6F\x75\x6E\x64\x73","\x65\x71\x75\x61\x6C\x45\x6E\x74\x72\x69\x65\x73","\x65\x71\x75\x61\x6C\x50\x6F\x69\x6E\x74\x73","\x67\x65\x74\x50\x6F\x72\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x67\x65\x74\x52\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x59","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x52\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x58","\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x45\x4C\x42\x4F\x57\x5F\x56\x45\x52\x54\x49\x43\x41\x4C","\x6F\x72\x74\x68\x42\x75\x66\x66\x65\x72","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x41\x4C\x4C","\x6C\x69\x6D\x69\x74\x73","\x76\x65\x72\x74\x65\x78\x53\x65\x70\x65\x72\x61\x74\x69\x6F\x6E\x73","\x72\x65\x76\x65\x72\x73\x65\x50\x6F\x72\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x72\x6F\x75\x74\x65\x50\x61\x74\x74\x65\x72\x6E\x73","\x77\x61\x79\x50\x6F\x69\x6E\x74\x73\x31","\x64\x69\x72\x56\x65\x63\x74\x6F\x72\x73","\x54\x41\x52\x47\x45\x54\x5F\x4D\x41\x53\x4B","\x53\x4F\x55\x52\x43\x45\x5F\x4D\x41\x53\x4B","\x53\x49\x44\x45\x5F\x4D\x41\x53\x4B","\x43\x45\x4E\x54\x45\x52\x5F\x4D\x41\x53\x4B","\x76\x61\x6C\x75\x65\x73","\x70\x75\x74\x56\x61\x6C\x75\x65","\x67\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x45\x4D\x50\x54\x59\x5F\x50\x4F\x49\x4E\x54","\x75\x70\x64\x61\x74\x69\x6E\x67\x44\x6F\x63\x75\x6D\x65\x6E\x74\x52\x65\x73\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x69\x6E\x67\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x61\x6C\x6C\x6F\x77\x45\x76\x61\x6C","\x63\x61\x70\x74\x75\x72\x65\x44\x6F\x63\x75\x6D\x65\x6E\x74\x47\x65\x73\x74\x75\x72\x65","\x6F\x70\x74\x69\x6D\x69\x7A\x65\x56\x6D\x6C\x52\x65\x66\x6C\x6F\x77\x73","\x72\x65\x6E\x64\x65\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65","\x73\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x73\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65","\x70\x72\x65\x76\x69\x6F\x75\x73\x53\x63\x61\x6C\x65","\x70\x72\x65\x76\x69\x6F\x75\x73\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x73\x65\x74\x53\x63\x61\x6C\x65","\x69\x6E\x76\x61\x6C\x69\x64\x61\x74\x65","\x76\x61\x6C\x69\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x53\x74\x61\x74\x65","\x6D\x78\x47\x72\x61\x70\x68\x56\x69\x65\x77\x2E\x76\x61\x6C\x69\x64\x61\x74\x65","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x6F\x75\x6E\x64\x73","\x76\x61\x6C\x69\x64\x61\x74\x65\x50\x6F\x69\x6E\x74\x73","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x63\x72\x65\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x72\x65\x64\x72\x61\x77\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x54\x41\x54\x49\x4F\x4E","\x75\x70\x64\x61\x74\x65\x56\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x4F\x66\x66\x73\x65\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x4F\x66\x66\x73\x65\x74\x46\x6F\x72\x43\x65\x6C\x6C","\x75\x70\x64\x61\x74\x65\x46\x69\x78\x65\x64\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x46\x6C\x6F\x61\x74\x69\x6E\x67\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x4C\x61\x62\x65\x6C\x4F\x66\x66\x73\x65\x74","\x63\x68\x69\x6C\x64\x4D\x6F\x76\x65\x64","\x69\x73\x52\x65\x6E\x64\x65\x72\x69\x6E\x67","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x75\x70\x64\x61\x74\x65\x46\x69\x78\x65\x64\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x50\x6F\x69\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x72\x74","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x6F\x70\x53\x74\x79\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x45\x44\x47\x45","\x69\x73\x41\x6C\x6C\x6F\x77\x45\x76\x61\x6C","\x75\x70\x64\x61\x74\x65\x46\x6C\x6F\x61\x74\x69\x6E\x67\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x4E\x65\x78\x74\x50\x6F\x69\x6E\x74","\x69\x73\x4F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C","\x53\x54\x59\x4C\x45\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52\x5F\x53\x50\x41\x43\x49\x4E\x47","\x53\x54\x59\x4C\x45\x5F\x53\x4F\x55\x52\x43\x45\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52\x5F\x53\x50\x41\x43\x49\x4E\x47","\x53\x54\x59\x4C\x45\x5F\x54\x41\x52\x47\x45\x54\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52\x5F\x53\x50\x41\x43\x49\x4E\x47","\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x50\x6F\x69\x6E\x74","\x53\x54\x59\x4C\x45\x5F\x53\x4F\x55\x52\x43\x45\x5F\x50\x4F\x52\x54","\x53\x54\x59\x4C\x45\x5F\x54\x41\x52\x47\x45\x54\x5F\x50\x4F\x52\x54","\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x55\x54\x49\x4E\x47\x5F\x43\x45\x4E\x54\x45\x52\x5F\x58","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x55\x54\x49\x4E\x47\x5F\x43\x45\x4E\x54\x45\x52\x5F\x59","\x67\x65\x74\x52\x65\x6C\x61\x74\x69\x76\x65\x50\x6F\x69\x6E\x74","\x72\x65\x6C\x61\x74\x69\x76\x65\x43\x63\x77","\x73\x65\x74\x52\x65\x6E\x64\x65\x72\x69\x6E\x67","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x45\x76\x61\x6C","\x67\x65\x74\x53\x74\x61\x74\x65\x73","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x61\x74\x65\x73","\x69\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x63\x72\x6F\x6C\x6C\x45\x76\x65\x6E\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x6D\x6F\x76\x65\x48\x61\x6E\x64\x6C\x65\x72","\x65\x6E\x64\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x48\x74\x6D\x6C\x50\x61\x6E\x65","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x43\x61\x6E\x76\x61\x73\x53\x69\x7A\x65","\x63\x72\x65\x61\x74\x65\x56\x6D\x6C\x50\x61\x6E\x65","\x63\x6F\x6F\x72\x64\x6F\x72\x69\x67\x69\x6E","\x30\x2C\x30","\x73\x74\x61\x74\x69\x63","\x69\x73\x55\x70","\x67\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65\x46\x6F\x72\x52\x6F\x6F\x74","\x55\x50","\x44\x4F\x57\x4E","\x6D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x72\x65\x6E\x64\x65\x72\x48\x69\x6E\x74","\x52\x45\x4E\x44\x45\x52\x49\x4E\x47\x5F\x48\x49\x4E\x54\x5F\x45\x58\x41\x43\x54","\x52\x45\x4E\x44\x45\x52\x49\x4E\x47\x5F\x48\x49\x4E\x54\x5F\x46\x41\x53\x54\x45\x53\x54","\x52\x45\x4E\x44\x45\x52\x49\x4E\x47\x5F\x48\x49\x4E\x54\x5F\x46\x41\x53\x54\x45\x52","\x44\x49\x41\x4C\x45\x43\x54\x5F\x4D\x49\x58\x45\x44\x48\x54\x4D\x4C","\x6D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x69\x6D\x61\x67\x65\x42\x75\x6E\x64\x6C\x65\x73","\x63\x72\x65\x61\x74\x65\x43\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x63\x72\x65\x61\x74\x65\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x73\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x63\x72\x65\x61\x74\x65\x47\x72\x61\x70\x68\x56\x69\x65\x77","\x67\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x43\x68\x61\x6E\x67\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72\x73","\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x2F\x67\x72\x61\x70\x68","\x45\x4D\x50\x54\x59\x5F\x41\x52\x52\x41\x59","\x63\x65\x6C\x6C\x45\x64\x69\x74\x6F\x72","\x70\x6F\x72\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x64\x6F\x75\x62\x6C\x65\x54\x61\x70\x45\x6E\x61\x62\x6C\x65\x64","\x64\x6F\x75\x62\x6C\x65\x54\x61\x70\x54\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x75\x62\x6C\x65\x54\x61\x70\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x6C\x61\x73\x74\x54\x6F\x75\x63\x68\x59","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x64\x65\x66\x61\x75\x6C\x74\x4F\x76\x65\x72\x6C\x61\x70","\x64\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x43\x6F\x6C\x6F\x72","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x61\x73\x68\x65\x64","\x6D\x69\x6E\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x69\x73\x74","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x65\x73\x63\x61\x70\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x6E\x76\x6F\x6B\x65\x73\x53\x74\x6F\x70\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x65\x6E\x74\x65\x72\x53\x74\x6F\x70\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x65\x78\x70\x6F\x72\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x6D\x70\x6F\x72\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x65\x6C\x6C\x73\x4C\x6F\x63\x6B\x65\x64","\x63\x65\x6C\x6C\x73\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x45\x64\x69\x74\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x65\x64\x67\x65\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x76\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x64\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x73\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x42\x65\x6E\x64\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x74\x69\x6D\x65\x72\x41\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x61\x6C\x6C\x6F\x77\x41\x75\x74\x6F\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x67\x6E\x6F\x72\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x61\x78\x69\x6D\x75\x6D\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x6D\x69\x6E\x69\x6D\x75\x6D\x47\x72\x61\x70\x68\x53\x69\x7A\x65","\x6D\x69\x6E\x69\x6D\x75\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x53\x69\x7A\x65","\x6D\x61\x78\x69\x6D\x75\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x53\x69\x7A\x65","\x72\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x61\x6C\x6C\x6F\x77\x4E\x65\x67\x61\x74\x69\x76\x65\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x65\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73","\x65\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73\x4F\x6E\x41\x64\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x54\x6F\x50\x72\x65\x66\x65\x72\x72\x65\x64\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x46\x61\x63\x74\x6F\x72","\x6B\x65\x65\x70\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x56\x69\x73\x69\x62\x6C\x65\x4F\x6E\x5A\x6F\x6F\x6D","\x63\x65\x6E\x74\x65\x72\x5A\x6F\x6F\x6D","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x52\x65\x73\x69\x7A\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x4D\x6F\x76\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x43\x6F\x6E\x6E\x65\x63\x74","\x61\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x4C\x6F\x6F\x70","\x6D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x45\x64\x67\x65\x73","\x61\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x63\x6C\x6F\x6E\x65\x49\x6E\x76\x61\x6C\x69\x64\x45\x64\x67\x65\x73","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x4D\x6F\x76\x65","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x68\x74\x6D\x6C\x4C\x61\x62\x65\x6C\x73","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x4E\x65\x73\x74\x69\x6E\x67","\x6D\x69\x6E\x46\x69\x74\x53\x63\x61\x6C\x65","\x6D\x61\x78\x46\x69\x74\x53\x63\x61\x6C\x65","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x49\x6D\x61\x67\x65","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66","\x65\x78\x70\x61\x6E\x64\x65\x64\x49\x6D\x61\x67\x65","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66","\x77\x61\x72\x6E\x69\x6E\x67\x49\x6D\x61\x67\x65","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x69\x6D\x61\x67\x65\x73\x2F\x77\x61\x72\x6E\x69\x6E\x67\x2E\x67\x69\x66","\x61\x6C\x72\x65\x61\x64\x79\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x52\x65\x73\x6F\x75\x72\x63\x65","\x61\x6C\x72\x65\x61\x64\x79\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x45\x78\x70\x61\x6E\x64\x52\x65\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x2D\x65\x78\x70\x61\x6E\x64","\x63\x72\x65\x61\x74\x65\x43\x65\x6C\x6C\x45\x64\x69\x74\x6F\x72","\x75\x6E\x6C\x6F\x61\x64","\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x3C\x76\x3A\x67\x72\x6F\x75\x70\x20\x73\x74\x79\x6C\x65\x3D\x22\x44\x49\x53\x50\x4C\x41\x59\x3A\x20\x6E\x6F\x6E\x65\x3B\x22\x3E\x3C\x2F\x76\x3A\x67\x72\x6F\x75\x70\x3E","\x70\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x70\x72\x6F\x63\x65\x73\x73\x43\x68\x61\x6E\x67\x65","\x67\x65\x74\x52\x65\x6D\x6F\x76\x65\x64\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x6C\x65\x61\x72\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x76\x65\x53\x74\x61\x74\x65\x46\x6F\x72\x43\x65\x6C\x6C","\x68\x6F\x6D\x65","\x61\x64\x64\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x63\x6C\x65\x61\x72\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x73\x65\x74\x43\x65\x6C\x6C\x57\x61\x72\x6E\x69\x6E\x67","\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x72\x65\x64\x3E","\x3C\x2F\x66\x6F\x6E\x74\x3E","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67\x41\x74\x43\x65\x6C\x6C","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x61\x62\x6C\x65","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x69\x73\x41\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C","\x63\x65\x6C\x6C\x4C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x65\x6C\x6C\x53\x69\x7A\x65\x55\x70\x64\x61\x74\x65\x64","\x68\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x41\x74","\x69\x73\x54\x6F\x67\x67\x6C\x65\x45\x76\x65\x6E\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x50\x61\x6E\x6E\x69\x6E\x67\x4D\x61\x6E\x61\x67\x65\x72","\x67\x65\x74\x42\x6F\x72\x64\x65\x72\x53\x69\x7A\x65\x73","\x74\x68\x69\x6E","\x6D\x65\x64\x69\x75\x6D","\x74\x68\x69\x63\x6B","\x62\x6F\x72\x64\x65\x72\x4C\x65\x66\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70\x57\x69\x64\x74\x68","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x62\x6F\x72\x64\x65\x72\x52\x69\x67\x68\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x42\x6F\x74\x74\x6F\x6D\x57\x69\x64\x74\x68","\x70\x61\x64\x64\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x67\x65\x74\x50\x72\x65\x66\x65\x72\x72\x65\x64\x50\x61\x67\x65\x53\x69\x7A\x65","\x67\x65\x74\x42\x6F\x72\x64\x65\x72","\x64\x6F\x52\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x76\x65\x72\x74\x69\x63\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x70\x6F\x73\x74\x50\x72\x6F\x63\x65\x73\x73\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45","\x67\x65\x74\x49\x6D\x61\x67\x65\x46\x72\x6F\x6D\x42\x75\x6E\x64\x6C\x65\x73","\x64\x61\x74\x61\x3A\x69\x6D\x61\x67\x65\x2F","\x3B\x62\x61\x73\x65\x36\x34\x2C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x61\x64\x64\x49\x6D\x61\x67\x65\x42\x75\x6E\x64\x6C\x65","\x72\x65\x6D\x6F\x76\x65\x49\x6D\x61\x67\x65\x42\x75\x6E\x64\x6C\x65","\x62\x61\x63\x6B","\x67\x65\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x47\x72\x6F\x75\x70","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70\x43\x65\x6C\x6C","\x67\x65\x74\x42\x6F\x75\x6E\x64\x73\x46\x6F\x72\x47\x72\x6F\x75\x70","\x61\x64\x64\x41\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x74\x45\x64\x67\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x69\x6E\x73\x65\x72\x74\x56\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65","\x61\x64\x64\x45\x64\x67\x65","\x69\x73\x41\x6C\x6C\x6F\x77\x4E\x65\x67\x61\x74\x69\x76\x65\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x69\x73\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73\x4F\x6E\x41\x64\x64","\x69\x73\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74","\x65\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64","\x67\x65\x74\x44\x65\x6C\x65\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x6E\x63\x6C\x75\x64\x65\x45\x64\x67\x65\x73","\x6E\x65\x77\x45\x64\x67\x65","\x67\x65\x74\x46\x6F\x6C\x64\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x72\x65\x63\x75\x72\x73\x65","\x69\x73\x43\x65\x6C\x6C\x46\x6F\x6C\x64\x61\x62\x6C\x65","\x73\x77\x61\x70\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x41\x6C\x74\x65\x72\x6E\x61\x74\x65\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x50\x72\x65\x66\x65\x72\x72\x65\x64\x53\x69\x7A\x65\x46\x6F\x72\x43\x65\x6C\x6C","\x67\x65\x74\x41\x6C\x6C\x45\x64\x67\x65\x73","\x69\x67\x6E\x6F\x72\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x53\x48\x41\x50\x45\x5F\x4C\x41\x42\x45\x4C","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45\x5F\x57\x49\x44\x54\x48","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45\x5F\x48\x45\x49\x47\x48\x54","\x67\x65\x74\x53\x69\x7A\x65\x46\x6F\x72\x53\x74\x72\x69\x6E\x67","\x72\x65\x73\x69\x7A\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6C\x6F\x6E\x65\x49\x6E\x76\x61\x6C\x69\x64\x45\x64\x67\x65\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4E\x65\x67\x61\x74\x69\x76\x65\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x69\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x4D\x6F\x76\x65","\x69\x73\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x47\x72\x61\x70\x68","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x43\x65\x6C\x6C\x43\x6F\x6E\x74\x61\x69\x6E\x6D\x65\x6E\x74\x41\x72\x65\x61","\x67\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x67\x65\x74\x4D\x61\x78\x69\x6D\x75\x6D\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x70","\x67\x65\x74\x41\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x53\x54\x59\x4C\x45\x5F\x45\x58\x49\x54\x5F\x58","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x54\x52\x59\x5F\x58","\x53\x54\x59\x4C\x45\x5F\x45\x58\x49\x54\x5F\x59","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x54\x52\x59\x5F\x59","\x53\x54\x59\x4C\x45\x5F\x45\x58\x49\x54\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x54\x52\x59\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x70\x6F\x69\x6E\x74","\x53\x54\x59\x4C\x45\x5F\x46\x4C\x49\x50\x48","\x53\x54\x59\x4C\x45\x5F\x46\x4C\x49\x50\x56","\x69\x73\x50\x6F\x72\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x46\x6F\x72\x50\x6F\x72\x74","\x69\x73\x43\x65\x6C\x6C\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x67\x65\x74\x43\x65\x6C\x6C\x42\x6F\x75\x6E\x64\x73","\x73\x68\x69\x66\x74\x50\x72\x65\x76\x69\x65\x77\x31","\x73\x68\x69\x66\x74\x50\x72\x65\x76\x69\x65\x77\x32","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x7A\x6F\x6F\x6D\x41\x63\x74\x75\x61\x6C","\x7A\x6F\x6F\x6D\x54\x6F","\x73\x63\x72\x6F\x6C\x6C\x52\x65\x63\x74\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x7A\x6F\x6F\x6D\x54\x6F\x52\x65\x63\x74","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x4F\x52\x54\x48\x4F\x47\x4F\x4E\x41\x4C","\x53\x65\x67\x6D\x65\x6E\x74\x43\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x45\x6C\x62\x6F\x77\x43\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x53\x69\x64\x65\x54\x6F\x53\x69\x64\x65","\x54\x6F\x70\x54\x6F\x42\x6F\x74\x74\x6F\x6D","\x45\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E","\x4F\x72\x74\x68\x43\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x69\x73\x4C\x6F\x6F\x70","\x69\x73\x43\x6C\x6F\x6E\x65\x45\x76\x65\x6E\x74","\x49\x53\x5F\x4D\x41\x43","\x69\x73\x4D\x65\x74\x61\x44\x6F\x77\x6E","\x69\x73\x41\x6C\x74\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x65\x64\x45\x76\x65\x6E\x74","\x69\x73\x46\x6F\x72\x63\x65\x4D\x61\x72\x71\x75\x65\x65\x45\x76\x65\x6E\x74","\x76\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x41\x6C\x65\x72\x74","\x69\x73\x45\x64\x67\x65\x56\x61\x6C\x69\x64","\x69\x73\x56\x61\x6C\x69\x64\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x63\x68\x65\x63\x6B","\x76\x61\x6C\x69\x64\x61\x74\x65\x45\x64\x67\x65","\x76\x61\x6C\x69\x64\x61\x74\x65\x47\x72\x61\x70\x68","\x67\x65\x74\x43\x65\x6C\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x65\x6C\x6C","\x61\x74\x74\x72","\x63\x6F\x75\x6E\x74\x45\x72\x72\x6F\x72","\x73\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x74\x6F\x53\x74\x72\x69\x6E\x67","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C\x73","\x73\x65\x74\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C\x73","\x53\x54\x59\x4C\x45\x5F\x57\x48\x49\x54\x45\x5F\x53\x50\x41\x43\x45","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x4E\x6F\x64\x65","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x43\x65\x6C\x6C","\x67\x65\x74\x43\x75\x72\x73\x6F\x72\x46\x6F\x72\x43\x65\x6C\x6C","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x47\x52\x41\x44\x49\x45\x4E\x54\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x53\x48\x41\x50\x45","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x49\x4D\x41\x47\x45","\x73\x65\x74\x42\x6F\x72\x64\x65\x72","\x53\x48\x41\x50\x45\x5F\x53\x57\x49\x4D\x4C\x41\x4E\x45","\x69\x73\x52\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x65\x74\x52\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x69\x73\x45\x73\x63\x61\x70\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x73\x63\x61\x70\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x49\x6E\x76\x6F\x6B\x65\x73\x53\x74\x6F\x70\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x73\x65\x74\x45\x6E\x74\x65\x72\x53\x74\x6F\x70\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x69\x73\x43\x65\x6C\x6C\x4C\x6F\x63\x6B\x65\x64","\x69\x73\x43\x65\x6C\x6C\x73\x4C\x6F\x63\x6B\x65\x64","\x73\x65\x74\x43\x65\x6C\x6C\x73\x4C\x6F\x63\x6B\x65\x64","\x67\x65\x74\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x43\x65\x6C\x6C\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x43\x4C\x4F\x4E\x45\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x63\x61\x6E\x45\x78\x70\x6F\x72\x74\x43\x65\x6C\x6C","\x63\x61\x6E\x49\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x73\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x73\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x44\x45\x4C\x45\x54\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x69\x73\x4C\x61\x62\x65\x6C\x4D\x6F\x76\x61\x62\x6C\x65","\x67\x65\x74\x4D\x6F\x76\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x43\x65\x6C\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x4D\x4F\x56\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x73\x65\x74\x50\x6F\x72\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x73\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x73\x65\x74\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x69\x73\x56\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x73\x65\x74\x56\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x45\x64\x67\x65\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x73\x65\x74\x45\x64\x67\x65\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4E\x65\x73\x74\x69\x6E\x67","\x73\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4E\x65\x73\x74\x69\x6E\x67","\x73\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x73\x65\x74\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x69\x73\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x45\x64\x67\x65\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x6C\x6F\x6E\x65\x49\x6E\x76\x61\x6C\x69\x64\x45\x64\x67\x65\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x4D\x6F\x76\x65","\x73\x65\x74\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x65\x6C\x6C\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x52\x45\x53\x49\x5A\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x69\x73\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x42\x65\x6E\x64\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x42\x65\x6E\x64\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x42\x45\x4E\x44\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x42\x65\x6E\x64\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x45\x64\x69\x74\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x45\x44\x49\x54\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x45\x64\x69\x74\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x69\x73\x56\x61\x6C\x69\x64\x53\x6F\x75\x72\x63\x65","\x69\x73\x56\x61\x6C\x69\x64\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x73\x41\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x53\x54\x59\x4C\x45\x5F\x41\x55\x54\x4F\x53\x49\x5A\x45","\x73\x65\x74\x41\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x69\x73\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73","\x73\x65\x74\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73","\x73\x65\x74\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73\x4F\x6E\x41\x64\x64","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x73\x65\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x69\x73\x41\x6C\x6C\x6F\x77\x4F\x76\x65\x72\x6C\x61\x70\x50\x61\x72\x65\x6E\x74","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4C\x44\x41\x42\x4C\x45","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x68\x69\x74\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x43\x6F\x6E\x74\x65\x6E\x74","\x67\x65\x74\x50\x6F\x69\x6E\x74\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x73","\x67\x65\x74\x43\x65\x6C\x6C\x73\x42\x65\x79\x6F\x6E\x64","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x52\x65\x67\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x4E\x65\x78\x74\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x50\x72\x65\x76\x69\x6F\x75\x73\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x50\x61\x72\x65\x6E\x74\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x43\x68\x69\x6C\x64\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x75\x70\x64\x61\x74\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x6C\x61\x73\x74\x54\x6F\x75\x63\x68\x58","\x6C\x61\x73\x74\x4D\x6F\x75\x73\x65\x58","\x6C\x61\x73\x74\x4D\x6F\x75\x73\x65\x59","\x4D\x4F\x55\x53\x45\x5F\x55\x50","\x4D\x4F\x55\x53\x45\x5F\x4D\x4F\x56\x45","\x64\x65\x73\x74\x72\x6F\x79\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70","\x68\x65\x6C\x70","\x67\x72\x61\x70\x68\x52\x65\x6E\x64\x65\x72\x48\x69\x6E\x74","\x73\x68\x6F\x77\x56\x69\x65\x77\x70\x6F\x72\x74","\x73\x69\x7A\x65\x72\x53\x69\x7A\x65","\x75\x70\x64\x61\x74\x65\x4F\x6E\x50\x61\x6E","\x73\x69\x7A\x65\x72\x49\x6D\x61\x67\x65","\x73\x68\x61\x70\x65\x2D\x72\x65\x6E\x64\x65\x72\x69\x6E\x67","\x6F\x70\x74\x69\x6D\x69\x7A\x65\x53\x70\x65\x65\x64","\x69\x6D\x61\x67\x65\x2D\x72\x65\x6E\x64\x65\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x75\x70\x64\x61\x74\x65","\x70\x61\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x66\x72\x65\x73\x68\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x42\x6F\x72\x64\x65\x72","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x73\x69\x7A\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x69\x7A\x65\x72","\x73\x65\x74\x5A\x6F\x6F\x6D\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x53\x6F\x75\x72\x63\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x53\x69\x7A\x65","\x67\x65\x74\x4F\x75\x74\x6C\x69\x6E\x65\x4F\x66\x66\x73\x65\x74","\x73\x74\x61\x72\x74\x58","\x73\x74\x61\x72\x74\x59","\x64\x78\x30","\x64\x79\x30","\x6E","\x76\x61\x6C\x69\x64\x4E\x65\x69\x67\x68\x62\x6F\x72\x73","\x74\x79\x70\x65\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x4E\x65\x69\x67\x68\x62\x6F\x72\x73\x41\x6C\x6C\x6F\x77\x65\x64","\x63\x68\x65\x63\x6B\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x63\x68\x65\x63\x6B\x4E\x65\x69\x67\x68\x62\x6F\x72\x73","\x63\x68\x65\x63\x6B\x54\x79\x70\x65","\x75\x6E\x64\x6F\x48\x61\x6E\x64\x6C\x65\x72","\x62\x75\x62\x62\x6C\x69\x6E\x67","\x69\x73\x42\x75\x62\x62\x6C\x69\x6E\x67","\x73\x65\x74\x42\x75\x62\x62\x6C\x69\x6E\x67","\x67\x65\x74\x4C\x61\x79\x6F\x75\x74","\x67\x65\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x72\x65\x73\x69\x7A\x65\x48\x61\x6E\x64\x6C\x65\x72","\x66\x6F\x6C\x64\x48\x61\x6E\x64\x6C\x65\x72","\x73\x68\x69\x66\x74\x52\x69\x67\x68\x74\x77\x61\x72\x64\x73","\x73\x68\x69\x66\x74\x44\x6F\x77\x6E\x77\x61\x72\x64\x73","\x69\x73\x43\x65\x6C\x6C\x49\x67\x6E\x6F\x72\x65\x64","\x69\x73\x43\x65\x6C\x6C\x53\x68\x69\x66\x74\x61\x62\x6C\x65","\x69\x73\x53\x68\x69\x66\x74\x52\x69\x67\x68\x74\x77\x61\x72\x64\x73","\x73\x65\x74\x53\x68\x69\x66\x74\x52\x69\x67\x68\x74\x77\x61\x72\x64\x73","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E\x77\x61\x72\x64\x73","\x73\x65\x74\x53\x68\x69\x66\x74\x44\x6F\x77\x6E\x77\x61\x72\x64\x73","\x63\x65\x6C\x6C\x52\x65\x73\x69\x7A\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C\x73\x54\x6F\x53\x68\x69\x66\x74","\x73\x68\x69\x66\x74\x43\x65\x6C\x6C","\x61\x64\x64\x45\x6E\x61\x62\x6C\x65\x64","\x72\x65\x73\x69\x7A\x65\x45\x6E\x61\x62\x6C\x65\x64","\x61\x64\x64\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x41\x64\x64\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x52\x65\x73\x69\x7A\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x48\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x65\x74\x41\x64\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x52\x65\x73\x69\x7A\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x49\x67\x6E\x6F\x72\x65\x64","\x69\x73\x43\x65\x6C\x6C\x48\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x41\x64\x64\x65\x64","\x72\x65\x73\x69\x7A\x65\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x6F\x6C\x64\x42\x6F\x75\x6E\x64\x73","\x6F\x6C\x64\x53\x74\x61\x74\x65\x73","\x6F\x6C\x64\x53\x63\x61\x6C\x65","\x64\x65\x6C\x74\x61\x73","\x63\x6F\x75\x6E\x74","\x58","\x59","\x61\x64\x64\x45\x64\x67\x65\x73","\x72\x65\x73\x6F\x6C\x76\x65","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x53\x74\x61\x74\x65","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65\x53\x74\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x53\x68\x61\x70\x65","\x6D\x61\x78\x43\x65\x6C\x6C\x73","\x68\x69\x67\x68\x6C\x69\x67\x68\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6C\x6F\x6E\x65\x45\x6E\x61\x62\x6C\x65\x64","\x6D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65","\x63\x75\x72\x72\x65\x6E\x74\x44\x78","\x63\x75\x72\x72\x65\x6E\x74\x44\x79","\x75\x70\x64\x61\x74\x65\x43\x75\x72\x73\x6F\x72","\x73\x65\x6C\x65\x63\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x44\x72\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x4F\x6E\x4D\x6F\x76\x65","\x70\x72\x65\x76\x69\x65\x77\x43\x6F\x6C\x6F\x72","\x68\x74\x6D\x6C\x50\x72\x65\x76\x69\x65\x77","\x73\x63\x61\x6C\x65\x47\x72\x69\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x6C\x6F\x6E\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6C\x6F\x6E\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x4D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x4D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x65\x6C\x65\x63\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x73\x65\x74\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x44\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x64\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x65\x6C\x6C\x57\x61\x73\x43\x6C\x69\x63\x6B\x65\x64","\x53\x45\x4C\x45\x43\x54","\x66\x69\x72\x73\x74","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77\x42\x6F\x75\x6E\x64\x73","\x63\x72\x65\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x53\x68\x61\x70\x65","\x70\x42\x6F\x75\x6E\x64\x73","\x75\x73\x65\x47\x75\x69\x64\x65\x73\x46\x6F\x72\x45\x76\x65\x6E\x74","\x73\x65\x74\x48\x69\x67\x68\x6C\x69\x67\x68\x74\x43\x6F\x6C\x6F\x72","\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x49\x4E\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x54\x41\x52\x47\x45\x54\x5F\x43\x4F\x4C\x4F\x52","\x43\x55\x52\x53\x4F\x52\x5F\x4D\x4F\x56\x41\x42\x4C\x45\x5F\x45\x44\x47\x45","\x43\x55\x52\x53\x4F\x52\x5F\x4D\x4F\x56\x41\x42\x4C\x45\x5F\x56\x45\x52\x54\x45\x58","\x73\x65\x6C\x65\x63\x74\x44\x65\x6C\x61\x79\x65\x64","\x64\x65\x73\x74\x72\x6F\x79\x53\x68\x61\x70\x65\x73","\x67\x75\x69\x64\x65\x73","\x73\x68\x6F\x75\x6C\x64\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x74\x72\x69\x67\x67\x65\x72\x58","\x74\x72\x69\x67\x67\x65\x72\x59","\x75\x73\x65\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x73\x65\x6C\x65\x63\x74\x4F\x6E\x50\x6F\x70\x75\x70","\x63\x6C\x65\x61\x72\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4F\x6E\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x69\x67\x6E\x6F\x72\x65\x43\x65\x6C\x6C","\x70\x72\x65\x76\x69\x65\x77\x45\x6E\x61\x62\x6C\x65\x64","\x75\x73\x65\x47\x72\x69\x64","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x70\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x67\x65\x74\x43\x65\x6C\x6C\x46\x6F\x72\x50\x6F\x70\x75\x70\x45\x76\x65\x6E\x74","\x76\x61\x6C\x69\x64\x43\x6F\x6C\x6F\x72","\x44\x45\x46\x41\x55\x4C\x54\x5F\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x69\x6E\x76\x61\x6C\x69\x64\x43\x6F\x6C\x6F\x72","\x44\x45\x46\x41\x55\x4C\x54\x5F\x49\x4E\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x68\x6F\x74\x73\x70\x6F\x74","\x44\x45\x46\x41\x55\x4C\x54\x5F\x48\x4F\x54\x53\x50\x4F\x54","\x68\x6F\x74\x73\x70\x6F\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x76\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x6D\x61\x72\x6B\x65\x64\x53\x74\x61\x74\x65","\x73\x65\x74\x48\x6F\x74\x73\x70\x6F\x74","\x67\x65\x74\x48\x6F\x74\x73\x70\x6F\x74","\x73\x65\x74\x48\x6F\x74\x73\x70\x6F\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x48\x6F\x74\x73\x70\x6F\x74\x45\x6E\x61\x62\x6C\x65\x64","\x68\x61\x73\x56\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x67\x65\x74\x4D\x61\x72\x6B\x65\x64\x53\x74\x61\x74\x65","\x75\x6E\x6D\x61\x72\x6B","\x70\x72\x6F\x63\x65\x73\x73","\x69\x73\x56\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x67\x65\x74\x4D\x61\x72\x6B\x65\x72\x43\x6F\x6C\x6F\x72","\x6D\x61\x72\x6B\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65\x54\x6F\x4D\x61\x72\x6B","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73\x48\x6F\x74\x73\x70\x6F\x74","\x72\x65\x73\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x68\x61\x6E\x64\x6C\x65\x72\x73","\x6D\x61\x78\x48\x61\x6E\x64\x6C\x65\x72\x73","\x6D\x6F\x76\x65\x49\x63\x6F\x6E\x46\x72\x6F\x6E\x74","\x6D\x6F\x76\x65\x49\x63\x6F\x6E\x42\x61\x63\x6B","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x74\x61\x72\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x6D\x61\x72\x6B\x65\x72","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x48\x61\x6E\x64\x6C\x65\x72","\x77\x61\x79\x70\x6F\x69\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x45\x6E\x61\x62\x6C\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x44\x65\x6C\x61\x79","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x49\x6E\x50\x72\x6F\x67\x72\x65\x73\x73","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x56\x61\x6C\x69\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x69\x6E\x69\x74\x69\x61\x6C\x54\x6F\x75\x63\x68\x58","\x69\x6E\x69\x74\x69\x61\x6C\x54\x6F\x75\x63\x68\x59","\x69\x67\x6E\x6F\x72\x65\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x63\x6F\x6E\x4F\x66\x66\x73\x65\x74","\x65\x64\x67\x65\x53\x74\x61\x74\x65","\x64\x72\x69\x6C\x6C\x48\x61\x6E\x64\x6C\x65\x72","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E\x43\x6F\x75\x6E\x74\x65\x72","\x6D\x6F\x76\x65\x50\x72\x65\x76\x69\x65\x77\x41\x77\x61\x79","\x69\x73\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x69\x63\x6F\x6E\x53\x74\x61\x74\x65","\x69\x63\x6F\x6E\x73","\x72\x65\x64\x72\x61\x77\x49\x63\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x49\x63\x6F\x6E\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6E\x67","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x53\x74\x61\x74\x65","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x69\x73\x4D\x6F\x76\x65\x49\x63\x6F\x6E\x54\x6F\x46\x72\x6F\x6E\x74\x46\x6F\x72\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x49\x63\x6F\x6E\x73","\x43\x55\x52\x53\x4F\x52\x5F\x43\x4F\x4E\x4E\x45\x43\x54","\x63\x75\x72\x72\x65\x6E\x74\x53\x74\x61\x74\x65","\x69\x63\x6F\x6E","\x67\x65\x74\x49\x63\x6F\x6E\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x73\x53\x74\x61\x72\x74\x45\x76\x65\x6E\x74","\x63\x75\x72\x72\x65\x6E\x74\x46\x6F\x63\x75\x73","\x63\x75\x72\x72\x65\x6E\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x73\x6F\x75\x72\x63\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x77\x61\x79\x70\x6F\x69\x6E\x74\x73","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64","\x73\x65\x6C\x65\x63\x74\x65\x64\x49\x63\x6F\x6E","\x69\x73\x49\x6D\x6D\x65\x64\x69\x61\x74\x65\x43\x6F\x6E\x6E\x65\x63\x74\x53\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x65\x43\x75\x72\x72\x65\x6E\x74\x53\x74\x61\x74\x65","\x63\x6F\x6E\x76\x65\x72\x74\x57\x61\x79\x70\x6F\x69\x6E\x74","\x67\x65\x74\x54\x61\x72\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x50\x6F\x69\x6E\x74","\x67\x65\x74\x53\x6F\x75\x72\x63\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x50\x6F\x69\x6E\x74","\x64\x72\x61\x77\x50\x72\x65\x76\x69\x65\x77","\x75\x70\x64\x61\x74\x65\x49\x63\x6F\x6E\x73","\x69\x73\x53\x74\x6F\x70\x45\x76\x65\x6E\x74","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x57\x69\x64\x74\x68","\x67\x65\x74\x45\x64\x67\x65\x43\x6F\x6C\x6F\x72","\x49\x4E\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x63\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x41\x6C\x69\x67\x6E\x6D\x65\x6E\x74\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x70\x6F\x69\x6E\x74\x49\x6D\x61\x67\x65","\x2F\x70\x6F\x69\x6E\x74\x2E\x67\x69\x66","\x68\x69\x67\x68\x6C\x69\x67\x68\x74\x43\x6F\x6C\x6F\x72","\x66\x6F\x63\x75\x73\x49\x63\x6F\x6E\x73","\x66\x6F\x63\x75\x73\x48\x69\x67\x68\x6C\x69\x67\x68\x74","\x66\x6F\x63\x75\x73\x50\x6F\x69\x6E\x74\x73","\x63\x75\x72\x72\x65\x6E\x74\x46\x6F\x63\x75\x73\x41\x72\x65\x61","\x67\x65\x74\x49\x6D\x61\x67\x65\x46\x6F\x72\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x69\x73\x45\x76\x65\x6E\x74\x49\x67\x6E\x6F\x72\x65\x64","\x72\x65\x70\x61\x69\x6E\x74","\x64\x65\x66\x61\x75\x6C\x74\x4F\x70\x61\x63\x69\x74\x79","\x73\x68\x61\x72\x65\x64\x44\x69\x76","\x63\x75\x72\x72\x65\x6E\x74\x58","\x63\x75\x72\x72\x65\x6E\x74\x59","\x64\x72\x61\x67\x48\x61\x6E\x64\x6C\x65\x72","\x6D\x78\x52\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x73\x69\x6E\x67\x6C\x65\x53\x69\x7A\x65\x72","\x61\x6C\x6C\x6F\x77\x48\x61\x6E\x64\x6C\x65\x42\x6F\x75\x6E\x64\x73\x43\x68\x65\x63\x6B","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x52\x61\x73\x74\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x42\x6F\x75\x6E\x64\x73","\x63\x72\x65\x61\x74\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x53\x68\x61\x70\x65","\x73\x69\x7A\x65\x72\x73","\x6E\x2D\x72\x65\x73\x69\x7A\x65","\x6E\x65\x2D\x72\x65\x73\x69\x7A\x65","\x77\x2D\x72\x65\x73\x69\x7A\x65","\x65\x2D\x72\x65\x73\x69\x7A\x65","\x73\x77\x2D\x72\x65\x73\x69\x7A\x65","\x73\x2D\x72\x65\x73\x69\x7A\x65","\x73\x65\x2D\x72\x65\x73\x69\x7A\x65","\x6C\x61\x62\x65\x6C\x53\x68\x61\x70\x65","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x53\x68\x61\x70\x65","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6C\x6F\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x53\x74\x72\x6F\x6B\x65\x57\x69\x64\x74\x68","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x44\x61\x73\x68\x65\x64","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x45\x44","\x63\x72\x65\x61\x74\x65\x53\x69\x7A\x65\x72\x53\x68\x61\x70\x65","\x69\x73\x53\x69\x7A\x65\x72\x56\x69\x73\x69\x62\x6C\x65","\x52\x4F\x54\x41\x54\x49\x4F\x4E\x5F\x48\x41\x4E\x44\x4C\x45","\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x6D\x6F\x76\x65\x53\x69\x7A\x65\x72\x54\x6F","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45","\x70\x72\x65\x76\x69\x65\x77","\x63\x75\x72\x72\x65\x6E\x74\x41\x6C\x70\x68\x61","\x61\x74\x61\x6E","\x75\x6E\x69\x6F\x6E","\x72\x6F\x74\x61\x74\x65\x43\x65\x6C\x6C","\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x62\x65\x6E\x64\x73","\x72\x65\x6D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x61\x62\x73\x70\x6F\x69\x6E\x74\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x50\x6F\x69\x6E\x74\x73","\x69\x73\x41\x64\x64\x50\x6F\x69\x6E\x74\x45\x76\x65\x6E\x74","\x61\x64\x64\x50\x6F\x69\x6E\x74","\x63\x72\x65\x61\x74\x65\x42\x65\x6E\x64\x73","\x69\x6E\x69\x74\x42\x65\x6E\x64","\x43\x55\x52\x53\x4F\x52\x5F\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45","\x69\x73\x52\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74\x45\x76\x65\x6E\x74","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x45\x44","\x69\x73\x48\x61\x6E\x64\x6C\x65\x56\x69\x73\x69\x62\x6C\x65","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x53\x68\x61\x70\x65","\x69\x73\x48\x61\x6E\x64\x6C\x65\x45\x6E\x61\x62\x6C\x65\x64","\x43\x55\x52\x53\x4F\x52\x5F\x42\x45\x4E\x44\x5F\x48\x41\x4E\x44\x4C\x45","\x72\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74","\x69\x73\x54\x61\x72\x67\x65\x74","\x69\x73\x4C\x61\x62\x65\x6C","\x63\x6C\x6F\x6E\x65\x50\x72\x65\x76\x69\x65\x77\x53\x74\x61\x74\x65","\x67\x65\x74\x53\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77\x54\x65\x72\x6D\x69\x6E\x61\x6C\x53\x74\x61\x74\x65","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x53\x74\x61\x74\x65","\x73\x65\x74\x50\x72\x65\x76\x69\x65\x77\x43\x6F\x6C\x6F\x72","\x6D\x6F\x76\x65\x4C\x61\x62\x65\x6C","\x63\x68\x61\x6E\x67\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x63\x68\x61\x6E\x67\x65\x50\x6F\x69\x6E\x74\x73","\x61\x64\x64\x50\x6F\x69\x6E\x74\x41\x74","\x66\x69\x6E\x64\x4E\x65\x61\x72\x65\x73\x74\x53\x65\x67\x6D\x65\x6E\x74","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x4C\x4F\x43\x4B\x45\x44\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x72\x65\x64\x72\x61\x77\x49\x6E\x6E\x65\x72\x42\x65\x6E\x64\x73","\x66\x6C\x69\x70\x45\x6E\x61\x62\x6C\x65\x64","\x64\x6F\x75\x62\x6C\x65\x43\x6C\x69\x63\x6B\x4F\x72\x69\x65\x6E\x74\x61\x74\x69\x6F\x6E\x52\x65\x73\x6F\x75\x72\x63\x65","\x64\x6F\x75\x62\x6C\x65\x43\x6C\x69\x63\x6B\x4F\x72\x69\x65\x6E\x74\x61\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x56\x69\x72\x74\x75\x61\x6C\x42\x65\x6E\x64","\x67\x65\x74\x43\x75\x72\x73\x6F\x72\x46\x6F\x72\x42\x65\x6E\x64","\x45\x44\x47\x45\x53\x54\x59\x4C\x45\x5F\x54\x4F\x50\x54\x4F\x42\x4F\x54\x54\x4F\x4D","\x45\x44\x47\x45\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x72\x6F\x77\x2D\x72\x65\x73\x69\x7A\x65","\x63\x6F\x6C\x2D\x72\x65\x73\x69\x7A\x65","\x6E\x6F\x72\x6D\x61\x6C\x4B\x65\x79\x73","\x73\x68\x69\x66\x74\x4B\x65\x79\x73","\x63\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79\x73","\x63\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79\x73","\x6B\x65\x79\x44\x6F\x77\x6E","\x62\x69\x6E\x64\x4B\x65\x79","\x62\x69\x6E\x64\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79","\x67\x65\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x69\x73\x47\x72\x61\x70\x68\x45\x76\x65\x6E\x74","\x68\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x73\x65\x74\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x6D\x78\x54\x6F\x6F\x6C\x74\x69\x70","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x73\x74\x61\x74\x65\x53\x6F\x75\x72\x63\x65","\x72\x65\x73\x65\x74\x54\x69\x6D\x65\x72","\x48\x49\x47\x48\x4C\x49\x47\x48\x54\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x72\x65\x70\x61\x69\x6E\x74\x48\x61\x6E\x64\x6C\x65\x72","\x6B\x65\x65\x70\x4F\x6E\x54\x6F\x70","\x64\x72\x61\x77\x48\x69\x67\x68\x6C\x69\x67\x68\x74","\x65\x64\x69\x74\x6F\x72","\x68\x69\x64\x65\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x62\x69\x6E\x64\x41\x63\x74\x69\x6F\x6E","\x63\x6F\x6E\x66\x69\x67","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x61\x64\x64\x49\x74\x65\x6D\x73","\x69\x66","\x61\x73","\x69\x63\x6F\x6E\x43\x6C\x73","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E","\x73\x65\x70\x61\x72\x61\x74\x6F\x72","\x6E\x6F\x63\x65\x6C\x6C","\x6E\x63\x65\x6C\x6C\x73","\x6E\x6F\x74\x52\x6F\x6F\x74","\x6E\x6F\x6E\x45\x6D\x70\x74\x79","\x65\x78\x70\x61\x6E\x64\x61\x62\x6C\x65","\x63\x6F\x6C\x6C\x61\x70\x73\x61\x62\x6C\x65","\x76\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x65\x6D\x70\x74\x79\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x74\x6F\x6F\x6C\x62\x61\x72","\x69\x6E\x73\x65\x72\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x2F\x73\x65\x70\x61\x72\x61\x74\x6F\x72\x2E\x67\x69\x66","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E\x4F\x70\x74\x69\x6F\x6E","\x73\x65\x74\x4D\x6F\x64\x65","\x61\x64\x64\x50\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x6E\x73\x74\x61\x6C\x6C\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x46\x6C\x6F\x77","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E\x73","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x56\x61\x6C\x75\x65\x73","\x70\x6F\x70\x75\x70\x48\x61\x6E\x64\x6C\x65\x72","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x47\x72\x61\x70\x68","\x63\x72\x65\x61\x74\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x6B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x4E\x61\x6D\x65","\x49\x53\x5F\x4C\x4F\x43\x41\x4C","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x2F\x65\x64\x69\x74\x6F\x72","\x61\x73\x6B\x5A\x6F\x6F\x6D\x52\x65\x73\x6F\x75\x72\x63\x65","\x61\x73\x6B\x5A\x6F\x6F\x6D","\x6C\x61\x73\x74\x53\x61\x76\x65\x64\x52\x65\x73\x6F\x75\x72\x63\x65","\x6C\x61\x73\x74\x53\x61\x76\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x46\x69\x6C\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x46\x69\x6C\x65","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x74\x61\x73\x6B\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x74\x61\x73\x6B\x73","\x68\x65\x6C\x70\x52\x65\x73\x6F\x75\x72\x63\x65","\x6F\x75\x74\x6C\x69\x6E\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x64\x62\x6C\x43\x6C\x69\x63\x6B\x41\x63\x74\x69\x6F\x6E","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x52\x65\x71\x75\x69\x72\x65\x64","\x66\x6F\x72\x63\x65\x64\x49\x6E\x73\x65\x72\x74\x69\x6E\x67","\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x64\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x47\x72\x6F\x75\x70","\x67\x72\x6F\x75\x70\x42\x6F\x72\x64\x65\x72\x53\x69\x7A\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x70\x6F\x73\x74\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x4E\x61\x6D\x65","\x75\x72\x6C\x50\x6F\x73\x74","\x75\x72\x6C\x49\x6D\x61\x67\x65","\x6C\x61\x79\x6F\x75\x74\x44\x69\x61\x67\x72\x61\x6D","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x53\x70\x61\x63\x69\x6E\x67","\x6D\x61\x69\x6E\x74\x61\x69\x6E\x53\x77\x69\x6D\x6C\x61\x6E\x65\x73","\x6C\x61\x79\x6F\x75\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x73","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x49\x6E\x64\x65\x78","\x74\x61\x73\x6B\x73\x57\x69\x6E\x64\x6F\x77\x49\x6D\x61\x67\x65","\x74\x61\x73\x6B\x73\x54\x6F\x70","\x68\x65\x6C\x70\x57\x69\x6E\x64\x6F\x77\x49\x6D\x61\x67\x65","\x75\x72\x6C\x48\x65\x6C\x70","\x68\x65\x6C\x70\x57\x69\x64\x74\x68","\x68\x65\x6C\x70\x48\x65\x69\x67\x68\x74","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x57\x69\x64\x74\x68","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x48\x65\x69\x67\x68\x74","\x6D\x6F\x76\x65\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x44\x69\x61\x6C\x6F\x67","\x76\x61\x6C\x69\x64\x61\x74\x69\x6E\x67","\x65\x78\x70\x6F\x72\x74\x49\x6D\x61\x67\x65","\x67\x65\x74\x55\x72\x6C\x49\x6D\x61\x67\x65","\x67\x65\x74\x56\x69\x65\x77\x58\x6D\x6C","\x5F\x62\x6C\x61\x6E\x6B","\x63\x75\x74","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x75\x6E\x67\x72\x6F\x75\x70","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x73\x68\x6F\x77\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x73\x65\x6C\x65\x63\x74\x4E\x6F\x6E\x65","\x74\x6F\x42\x61\x63\x6B","\x74\x6F\x46\x72\x6F\x6E\x74","\x73\x65\x6C\x65\x63\x74\x50\x72\x65\x76\x69\x6F\x75\x73","\x73\x65\x6C\x65\x63\x74\x4E\x65\x78\x74","\x73\x65\x6C\x65\x63\x74\x50\x61\x72\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x43\x68\x69\x6C\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x41\x6C\x6C","\x65\x78\x70\x61\x6E\x64","\x65\x78\x70\x61\x6E\x64\x41\x6C\x6C","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x4C\x65\x66\x74","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x43\x65\x6E\x74\x65\x72","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x52\x69\x67\x68\x74","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x54\x6F\x70","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x4D\x69\x64\x64\x6C\x65","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x42\x6F\x74\x74\x6F\x6D","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x4C\x65\x66\x74","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x43\x65\x6E\x74\x65\x72","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x52\x69\x67\x68\x74","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x54\x6F\x70","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x4D\x69\x64\x64\x6C\x65","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x42\x6F\x74\x74\x6F\x6D","\x70\x72\x6F\x6D\x70\x74","\x74\x6F\x67\x67\x6C\x65\x54\x61\x73\x6B\x73","\x73\x68\x6F\x77\x54\x61\x73\x6B\x73","\x74\x6F\x67\x67\x6C\x65\x48\x65\x6C\x70","\x73\x68\x6F\x77\x48\x65\x6C\x70","\x74\x6F\x67\x67\x6C\x65\x4F\x75\x74\x6C\x69\x6E\x65","\x73\x68\x6F\x77\x4F\x75\x74\x6C\x69\x6E\x65","\x74\x6F\x67\x67\x6C\x65\x43\x6F\x6E\x73\x6F\x6C\x65","\x72\x65\x73\x65\x74\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x73\x65\x74\x46\x69\x72\x73\x74\x54\x69\x6D\x65","\x63\x6F\x6F\x6B\x69\x65","\x6D\x78\x67\x72\x61\x70\x68\x3D\x73\x65\x65\x6E\x3B\x20\x65\x78\x70\x69\x72\x65\x73\x3D\x46\x72\x69\x2C\x20\x32\x37\x20\x4A\x75\x6C\x20\x32\x30\x30\x31\x20\x30\x32\x3A\x34\x37\x3A\x31\x31\x20\x55\x54\x43\x3B\x20\x70\x61\x74\x68\x3D\x2F","\x43\x61\x6E\x6E\x6F\x74\x20\x65\x78\x65\x63\x75\x74\x65\x20","\x3A\x20","\x43\x61\x6E\x6E\x6F\x74\x20\x66\x69\x6E\x64\x20\x61\x63\x74\x69\x6F\x6E\x20","\x61\x64\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x67\x65\x74\x54\x65\x6D\x70\x6C\x61\x74\x65","\x69\x6E\x73\x74\x61\x6C\x6C\x44\x62\x6C\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x55\x6E\x64\x6F\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x44\x72\x69\x6C\x6C\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x43\x68\x61\x6E\x67\x65\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x49\x6E\x73\x65\x72\x74\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x63\x72\x65\x61\x74\x65\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x4C\x61\x79\x6F\x75\x74\x4D\x61\x6E\x61\x67\x65\x72","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x4C\x61\x79\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4C\x61\x79\x6F\x75\x74","\x64\x69\x61\x67\x72\x61\x6D\x4C\x61\x79\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x61\x67\x72\x61\x6D\x4C\x61\x79\x6F\x75\x74","\x73\x65\x74\x47\x72\x61\x70\x68\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x72\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x73\x65\x74\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x65\x74\x53\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x74\x6F\x4C\x6F\x63\x61\x6C\x65\x53\x74\x72\x69\x6E\x67","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x74\x54\x69\x74\x6C\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x74\x54\x69\x74\x6C\x65","\x74\x72\x65\x65\x4C\x61\x79\x6F\x75\x74","\x20\x3E\x20","\x67\x65\x74\x52\x6F\x6F\x74\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70","\x72\x65\x61\x64\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x55\x72\x6C\x50\x6F\x73\x74","\x77\x72\x69\x74\x65\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x70\x6F\x73\x74\x44\x69\x61\x67\x72\x61\x6D","\x73\x77\x61\x70\x53\x74\x79\x6C\x65\x73","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x69\x73\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x56\x69\x73\x69\x62\x6C\x65","\x72\x65\x61\x64\x6F\x6E\x6C\x79","\x49\x44","\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x61\x73\x6B\x73","\x72\x65\x66\x72\x65\x73\x68\x54\x61\x73\x6B\x73","\x66\x72\x61\x6D\x65\x42\x6F\x72\x64\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x43\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x65\x64\x4D\x6F\x76\x69\x6E\x67","\x63\x6F\x64\x65\x63\x73","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x61\x64\x64\x41\x6C\x69\x61\x73","\x61\x6C\x69\x61\x73\x65\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x65\x6E\x63\x6F\x64\x65\x44\x65\x66\x61\x75\x6C\x74\x73","\x67\x65\x74\x4F\x62\x6A\x65\x63\x74","\x72\x65\x66\x65\x72\x65\x6E\x63\x65","\x67\x65\x74\x43\x6F\x64\x65\x63","\x69\x6D\x70\x6F\x72\x74\x4E\x6F\x64\x65","\x6D\x78\x43\x6F\x64\x65\x63\x2E\x65\x6E\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x63\x6F\x64\x65\x63\x20\x66\x6F\x72\x20","\x43\x61\x6E\x6E\x6F\x74\x20\x64\x65\x63\x6F\x64\x65\x20","\x65\x6E\x63\x6F\x64\x65\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x64\x65\x63","\x64\x65\x63\x6F\x64\x65\x43\x65\x6C\x6C","\x69\x6E\x73\x65\x72\x74\x49\x6E\x74\x6F\x47\x72\x61\x70\x68","\x65\x78\x63\x6C\x75\x64\x65","\x69\x64\x72\x65\x66\x73","\x6D\x61\x70\x70\x69\x6E\x67","\x72\x65\x76\x65\x72\x73\x65","\x63\x6C\x6F\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x4E\x61\x6D\x65","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65\x4E\x61\x6D\x65","\x69\x73\x45\x78\x63\x6C\x75\x64\x65\x64","\x69\x73\x52\x65\x66\x65\x72\x65\x6E\x63\x65","\x62\x65\x66\x6F\x72\x65\x45\x6E\x63\x6F\x64\x65","\x65\x6E\x63\x6F\x64\x65\x4F\x62\x6A\x65\x63\x74","\x61\x66\x74\x65\x72\x45\x6E\x63\x6F\x64\x65","\x65\x6E\x63\x6F\x64\x65\x56\x61\x6C\x75\x65","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x43\x6F\x64\x65\x63\x2E\x65\x6E\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x49\x44\x20\x66\x6F\x72\x20","\x77\x72\x69\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x77\x72\x69\x74\x65\x50\x72\x69\x6D\x69\x74\x69\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x77\x72\x69\x74\x65\x43\x6F\x6D\x70\x6C\x65\x78\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x58\x6D\x6C","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x43\x6F\x64\x65\x63\x2E\x65\x6E\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x6E\x6F\x64\x65\x20\x66\x6F\x72\x20","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x46\x72\x6F\x6D\x58\x6D\x6C","\x62\x65\x66\x6F\x72\x65\x44\x65\x63\x6F\x64\x65","\x64\x65\x63\x6F\x64\x65\x4E\x6F\x64\x65","\x61\x66\x74\x65\x72\x44\x65\x63\x6F\x64\x65","\x64\x65\x63\x6F\x64\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x63\x6F\x64\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x64\x65\x63\x6F\x64\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x43\x6F\x64\x65\x63\x2E\x64\x65\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x6F\x62\x6A\x65\x63\x74\x20\x66\x6F\x72\x20","\x70\x72\x6F\x63\x65\x73\x73\x49\x6E\x63\x6C\x75\x64\x65","\x64\x65\x63\x6F\x64\x65\x43\x68\x69\x6C\x64","\x67\x65\x74\x46\x69\x65\x6C\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x61\x64\x64\x4F\x62\x6A\x65\x63\x74\x56\x61\x6C\x75\x65","\x69\x6E\x63\x6C\x75\x64\x65","\x72\x65\x6D\x6F\x76\x65\x57\x68\x69\x74\x65\x73\x70\x61\x63\x65","\x64\x65\x63\x6F\x64\x65\x52\x6F\x6F\x74","\x67\x72\x61\x70\x68\x4C\x69\x73\x74\x65\x6E\x65\x72\x73\x20\x65\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72\x73\x20\x76\x69\x65\x77\x20\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72\x20\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72\x20\x65\x64\x69\x74\x6F\x72\x20\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x6C\x61\x79\x65\x72","\x67\x65\x74\x53\x74\x72\x69\x6E\x67\x56\x61\x6C\x75\x65","\x6D\x78\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74\x43\x6F\x64\x65\x63\x2E\x64\x65\x63\x6F\x64\x65\x3A\x20\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74\x20","\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x20\x74\x6F\x20\x65\x78\x74\x65\x6E\x64","\x70\x72\x65\x73\x73\x65\x64\x49\x63\x6F\x6E","\x6D\x6F\x64\x65","\x74\x6F\x67\x67\x6C\x65","\x2D\x2D\x2D","\x63\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x54\x65\x6D\x70\x6C\x61\x74\x65\x20","\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6D\x6F\x64\x69\x66\x69\x65\x64\x20\x6C\x61\x73\x74\x53\x6E\x61\x70\x73\x68\x6F\x74\x20\x69\x67\x6E\x6F\x72\x65\x64\x43\x68\x61\x6E\x67\x65\x73\x20\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72\x20\x67\x72\x61\x70\x68\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x20\x74\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x41\x72\x72\x61\x79","\x64\x65\x63\x6F\x64\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x73","\x75\x69","\x64\x65\x63\x6F\x64\x65\x55\x69","\x73\x65\x74\x4D\x61\x70\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x72\x65\x73\x6F\x75\x72\x63\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65"];var mxClient={VERSION:_0x83b3[0],IS_IE:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[1]),IS_IE6:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[4]),IS_QUIRKS:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[1])&& (null== document[_0x83b3[5]]|| 5== document[_0x83b3[5]]),VML_PREFIX:_0x83b3[6],OFFICE_PREFIX:_0x83b3[7],IS_NS:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[8])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[1]),IS_OP:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[9]),IS_OT:0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[10])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[11])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[12])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[13])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[14])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[15]),IS_SF:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[16])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[17]),IS_GC:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[17]),IS_MT:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[18])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[19])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[20])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[21])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[22])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[23])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[24])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[25])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[26])&& 0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[27]),IS_SVG:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[18])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[21])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[28])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[26])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[29])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[30])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[16])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[31])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[9]),NO_FO:0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[19])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[22])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[20])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[23])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[25])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[27])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[32])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[33])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[9])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[1])|| 0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[34]),IS_VML:_0x83b3[35]== navigator[_0x83b3[37]][_0x83b3[36]](),IS_MAC:0< navigator[_0x83b3[3]][_0x83b3[36]]()[_0x83b3[2]](_0x83b3[38]),IS_TOUCH:0< navigator[_0x83b3[3]][_0x83b3[36]]()[_0x83b3[2]](_0x83b3[39])|| 0< navigator[_0x83b3[3]][_0x83b3[36]]()[_0x83b3[2]](_0x83b3[40])|| 0< navigator[_0x83b3[3]][_0x83b3[36]]()[_0x83b3[2]](_0x83b3[41])|| 0< navigator[_0x83b3[3]][_0x83b3[36]]()[_0x83b3[2]](_0x83b3[42]),IS_LOCAL:0> document[_0x83b3[45]][_0x83b3[44]][_0x83b3[2]](_0x83b3[43])&& 0> document[_0x83b3[45]][_0x83b3[44]][_0x83b3[2]](_0x83b3[46]),isBrowserSupported:function(){return mxClient[_0x83b3[47]]|| mxClient[_0x83b3[48]]},link:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= _0x187fx4|| document;if(mxClient[_0x83b3[49]]){_0x187fx4[_0x83b3[53]](_0x83b3[50]+ _0x187fx2+ _0x83b3[51]+ _0x187fx3+ _0x83b3[52])}else {var _0x187fx5=_0x187fx4[_0x83b3[55]](_0x83b3[54]);_0x187fx5[_0x83b3[57]](_0x83b3[56],_0x187fx2);_0x187fx5[_0x83b3[57]](_0x83b3[44],_0x187fx3);_0x187fx5[_0x83b3[57]](_0x83b3[58],_0x83b3[59]);_0x187fx5[_0x83b3[57]](_0x83b3[60],_0x83b3[61]);_0x187fx4[_0x83b3[64]](_0x83b3[63])[0][_0x83b3[62]](_0x187fx5)}},include:function(_0x187fx2){document[_0x83b3[53]](_0x83b3[65]+ _0x187fx2+ _0x83b3[66])},dispose:function(){for(var _0x187fx2=0;_0x187fx2< mxEvent[_0x83b3[68]][_0x83b3[67]];_0x187fx2++){null!= mxEvent[_0x83b3[68]][_0x187fx2][_0x83b3[69]]&& mxEvent[_0x83b3[70]](mxEvent[_0x83b3[68]][_0x187fx2])}}};mxClient[_0x83b3[71]]&& mxClient[_0x83b3[72]]?mxClient[_0x83b3[73]]= _0x83b3[74]:mxClient[_0x83b3[75]]|| mxClient[_0x83b3[76]]?mxClient[_0x83b3[73]]= _0x83b3[77]:mxClient[_0x83b3[78]]?mxClient[_0x83b3[73]]= _0x83b3[79]:mxClient[_0x83b3[80]]&& 9<= document[_0x83b3[5]]&& (mxClient[_0x83b3[73]]= _0x83b3[81]);_0x83b3[82]== typeof mxLoadResources&& (mxLoadResources= !0);_0x83b3[82]== typeof mxResourceExtension&& (mxResourceExtension= _0x83b3[83]);_0x83b3[82]== typeof mxLoadStylesheets&& (mxLoadStylesheets= !0);_0x83b3[82]!= typeof mxBasePath&& 0< mxBasePath[_0x83b3[67]]?(_0x83b3[84]== mxBasePath[_0x83b3[85]](mxBasePath[_0x83b3[67]]- 1)&& (mxBasePath= mxBasePath[_0x83b3[85]](0,mxBasePath[_0x83b3[67]]- 1)),mxClient[_0x83b3[86]]= mxBasePath):mxClient[_0x83b3[86]]= _0x83b3[87];_0x83b3[82]!= typeof mxImageBasePath&& 0< mxImageBasePath[_0x83b3[67]]?(_0x83b3[84]== mxImageBasePath[_0x83b3[85]](mxImageBasePath[_0x83b3[67]]- 1)&& (mxImageBasePath= mxImageBasePath[_0x83b3[85]](0,mxImageBasePath[_0x83b3[67]]- 1)),mxClient[_0x83b3[88]]= mxImageBasePath):mxClient[_0x83b3[88]]= mxClient[_0x83b3[86]]+ _0x83b3[89];mxClient[_0x83b3[90]]= _0x83b3[82]!= typeof mxLanguage?mxLanguage:mxClient[_0x83b3[80]]?navigator[_0x83b3[91]]:navigator[_0x83b3[90]];mxClient[_0x83b3[92]]= _0x83b3[82]!= typeof mxDefaultLanguage?mxDefaultLanguage:_0x83b3[93];mxLoadStylesheets&& mxClient[_0x83b3[54]](_0x83b3[94],mxClient[_0x83b3[86]]+ _0x83b3[95]);_0x83b3[82]!= typeof mxLanguages&& (mxClient[_0x83b3[96]]= mxLanguages);if(mxClient[_0x83b3[80]]){if(9<= document[_0x83b3[5]]){mxClient[_0x83b3[47]]= !1,mxClient[_0x83b3[48]]= !0}else {8== document[_0x83b3[5]]?(document[_0x83b3[100]][_0x83b3[99]](mxClient.VML_PREFIX,_0x83b3[97],_0x83b3[98]),document[_0x83b3[100]][_0x83b3[99]](mxClient.OFFICE_PREFIX,_0x83b3[101],_0x83b3[98])):(document[_0x83b3[100]][_0x83b3[99]](mxClient.VML_PREFIX,_0x83b3[97]),document[_0x83b3[100]][_0x83b3[99]](mxClient.OFFICE_PREFIX,_0x83b3[101]));var ss=document[_0x83b3[102]]();ss[_0x83b3[103]]= _0x83b3[104];mxLoadStylesheets&& mxClient[_0x83b3[54]](_0x83b3[94],mxClient[_0x83b3[86]]+ _0x83b3[105])};window[_0x83b3[108]](_0x83b3[106],mxClient[_0x83b3[107]])};var mxLog={consoleName:_0x83b3[109],TRACE:!1,DEBUG:!0,WARN:!0,buffer:_0x83b3[110],init:function(){if(null== mxLog[_0x83b3[111]]&& null!= document[_0x83b3[112]]){var _0x187fx2=mxLog[_0x83b3[113]]+ _0x83b3[114]+ mxClient[_0x83b3[115]],_0x187fx3=document[_0x83b3[55]](_0x83b3[116]);_0x187fx3[_0x83b3[57]](_0x83b3[117],_0x83b3[118]);_0x187fx3[_0x83b3[57]](_0x83b3[119],_0x83b3[118]);var _0x187fx4=document[_0x83b3[55]](_0x83b3[120]),_0x187fx5=document[_0x83b3[55]](_0x83b3[121]),_0x187fx9=document[_0x83b3[55]](_0x83b3[122]);_0x187fx9[_0x83b3[124]][_0x83b3[123]]= _0x83b3[125];mxLog[_0x83b3[126]]= document[_0x83b3[55]](_0x83b3[126]);mxLog[_0x83b3[126]][_0x83b3[57]](_0x83b3[127],_0x83b3[128]);mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[119]]= _0x83b3[118];mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[129]]= _0x83b3[130];mxLog[_0x83b3[126]][_0x83b3[131]]= mxLog[_0x83b3[132]];mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[117]]= mxClient[_0x83b3[133]]&& _0x83b3[134]!= document[_0x83b3[135]]?_0x83b3[136]:_0x83b3[118];_0x187fx9[_0x83b3[62]](mxLog[_0x83b3[126]]);_0x187fx5[_0x83b3[62]](_0x187fx9);_0x187fx4[_0x83b3[62]](_0x187fx5);_0x187fx5= document[_0x83b3[55]](_0x83b3[121]);mxLog[_0x83b3[122]]= document[_0x83b3[55]](_0x83b3[122]);mxLog[_0x83b3[122]][_0x83b3[124]][_0x83b3[123]]= _0x83b3[125];mxLog[_0x83b3[122]][_0x83b3[57]](_0x83b3[119],_0x83b3[137]);_0x187fx5[_0x83b3[62]](mxLog[_0x83b3[122]]);_0x187fx4[_0x83b3[62]](_0x187fx5);_0x187fx3[_0x83b3[62]](_0x187fx4);mxLog[_0x83b3[140]](_0x83b3[138],function(_0x187fx2){mxLog[_0x83b3[139]]()});mxLog[_0x83b3[140]](_0x83b3[141],function(_0x187fx2){_0x187fx2= mxUtils[_0x83b3[142]](document[_0x83b3[112]]);mxLog[_0x83b3[143]](_0x187fx2)});mxLog[_0x83b3[140]](_0x83b3[144],function(_0x187fx2){mxLog[_0x83b3[145]]= !mxLog[_0x83b3[145]];mxLog[_0x83b3[145]]?mxLog[_0x83b3[143]](_0x83b3[146]):mxLog[_0x83b3[143]](_0x83b3[147])});mxLog[_0x83b3[140]](_0x83b3[148],function(_0x187fx2){try{mxUtils[_0x83b3[149]](mxLog[_0x83b3[126]][_0x83b3[131]])}catch(_0x187fx3){mxUtils[_0x83b3[150]](_0x187fx3)}});mxLog[_0x83b3[140]](_0x83b3[151],function(_0x187fx2){try{mxUtils[_0x83b3[152]](mxLog[_0x83b3[126]][_0x83b3[131]])}catch(_0x187fx3){mxUtils[_0x83b3[150]](_0x187fx3)}});mxLog[_0x83b3[140]](_0x83b3[153],function(_0x187fx2){mxLog[_0x83b3[126]][_0x83b3[131]]= _0x83b3[110]});_0x187fx5= _0x187fx4= 0;_0x83b3[154]=== typeof window[_0x83b3[155]]?(_0x187fx4= window[_0x83b3[156]],_0x187fx5= window[_0x83b3[155]]):(_0x187fx4= document[_0x83b3[158]][_0x83b3[157]]|| document[_0x83b3[112]][_0x83b3[157]],_0x187fx5= document[_0x83b3[112]][_0x83b3[159]]);mxLog[_0x83b3[111]]= new mxWindow(_0x187fx2,_0x187fx3,Math[_0x83b3[160]](0,_0x187fx5- 320),Math[_0x83b3[160]](0,_0x187fx4- 210),300,160);mxLog[_0x83b3[111]][_0x83b3[161]](!0);mxLog[_0x83b3[111]][_0x83b3[162]](!1);mxLog[_0x83b3[111]][_0x83b3[163]](!0);mxLog[_0x83b3[111]][_0x83b3[164]](!0);mxLog[_0x83b3[111]][_0x83b3[165]]= !1;if((mxClient[_0x83b3[133]]|| mxClient[_0x83b3[80]])&& !mxClient[_0x83b3[76]]&& !mxClient[_0x83b3[75]]&& _0x83b3[134]!= document[_0x83b3[135]]){var _0x187fxa=mxLog[_0x83b3[111]][_0x83b3[166]](),_0x187fx2=function(_0x187fx2,_0x187fx3){mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[160]](0,_0x187fxa[_0x83b3[167]]- 70)+ _0x83b3[168]};mxLog[_0x83b3[111]][_0x83b3[169]](mxEvent.RESIZE_END,_0x187fx2);mxLog[_0x83b3[111]][_0x83b3[169]](mxEvent.MAXIMIZE,_0x187fx2);mxLog[_0x83b3[111]][_0x83b3[169]](mxEvent.NORMALIZE,_0x187fx2);mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[119]]= _0x83b3[170]}}},info:function(){mxLog[_0x83b3[171]](mxUtils.toString(navigator))},addButton:function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[172]);mxUtils[_0x83b3[53]](_0x187fx4,_0x187fx2);mxEvent[_0x83b3[169]](_0x187fx4,_0x83b3[173],_0x187fx3);mxLog[_0x83b3[122]][_0x83b3[62]](_0x187fx4)},isVisible:function(){return null!= mxLog[_0x83b3[111]]?mxLog[_0x83b3[111]][_0x83b3[174]]():!1},show:function(){mxLog[_0x83b3[175]](!0)},setVisible:function(_0x187fx2){null== mxLog[_0x83b3[111]]&& mxLog[_0x83b3[176]]();null!= mxLog[_0x83b3[111]]&& mxLog[_0x83b3[111]][_0x83b3[175]](_0x187fx2)},enter:function(_0x187fx2){if(mxLog[_0x83b3[145]]){return mxLog[_0x83b3[171]](_0x83b3[177]+ _0x187fx2),( new Date)[_0x83b3[178]]()}},leave:function(_0x187fx2,_0x187fx3){if(mxLog[_0x83b3[145]]){var _0x187fx4=0!= _0x187fx3?_0x83b3[179]+ (( new Date)[_0x83b3[178]]()- _0x187fx3)+ _0x83b3[180]:_0x83b3[110];mxLog[_0x83b3[171]](_0x83b3[181]+ _0x187fx2+ _0x187fx4)}},debug:function(){mxLog[_0x83b3[182]]&& mxLog[_0x83b3[171]][_0x83b3[183]](this,arguments)},warn:function(){mxLog[_0x83b3[184]]&& mxLog[_0x83b3[171]][_0x83b3[183]](this,arguments)},write:function(){for(var _0x187fx2=_0x83b3[110],_0x187fx3=0;_0x187fx3< arguments[_0x83b3[67]];_0x187fx3++){_0x187fx2+= arguments[_0x187fx3],_0x187fx3< arguments[_0x83b3[67]]- 1&& (_0x187fx2+= _0x83b3[185])};null!= mxLog[_0x83b3[126]]?(mxLog[_0x83b3[126]][_0x83b3[131]]+= _0x187fx2,0<= navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[186])&& (mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],mxLog[_0x83b3[126]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189]),mxLog[_0x83b3[126]][_0x83b3[190]]= mxLog[_0x83b3[126]][_0x83b3[191]]):mxLog[_0x83b3[132]]+= _0x187fx2},writeln:function(){for(var _0x187fx2=_0x83b3[110],_0x187fx3=0;_0x187fx3< arguments[_0x83b3[67]];_0x187fx3++){_0x187fx2+= arguments[_0x187fx3],_0x187fx3< arguments[_0x83b3[67]]- 1&& (_0x187fx2+= _0x83b3[185])};mxLog[_0x83b3[53]](_0x187fx2+ _0x83b3[192])}},mxObjectIdentity={FIELD_NAME:_0x83b3[193],counter:0,get:function(_0x187fx2){if(_0x83b3[194]== typeof _0x187fx2&& null== _0x187fx2[mxObjectIdentity[_0x83b3[195]]]){var _0x187fx3=mxUtils[_0x83b3[197]](_0x187fx2[_0x83b3[196]]);_0x187fx2[mxObjectIdentity[_0x83b3[195]]]= _0x187fx3+ _0x83b3[198]+ mxObjectIdentity[_0x83b3[199]]++};return _0x187fx2[mxObjectIdentity[_0x83b3[195]]]},clear:function(_0x187fx2){_0x83b3[194]== typeof _0x187fx2&& delete _0x187fx2[mxObjectIdentity[_0x83b3[195]]]}};function mxDictionary(){this[_0x83b3[200]]()}mxDictionary[_0x83b3[202]][_0x83b3[201]]= null;mxDictionary[_0x83b3[202]][_0x83b3[200]]= function(){this[_0x83b3[201]]= {}};mxDictionary[_0x83b3[202]][_0x83b3[203]]= function(_0x187fx2){_0x187fx2= mxObjectIdentity[_0x83b3[203]](_0x187fx2);return this[_0x83b3[201]][_0x187fx2]};mxDictionary[_0x83b3[202]][_0x83b3[204]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxObjectIdentity[_0x83b3[203]](_0x187fx2),_0x187fx5=this[_0x83b3[201]][_0x187fx4];this[_0x83b3[201]][_0x187fx4]= _0x187fx3;return _0x187fx5};mxDictionary[_0x83b3[202]][_0x83b3[205]]= function(_0x187fx2){_0x187fx2= mxObjectIdentity[_0x83b3[203]](_0x187fx2);var _0x187fx3=this[_0x83b3[201]][_0x187fx2];delete this[_0x83b3[201]][_0x187fx2];return _0x187fx3};mxDictionary[_0x83b3[202]][_0x83b3[206]]= function(){var _0x187fx2=[],_0x187fx3;for(_0x187fx3 in this[_0x83b3[201]]){_0x187fx2[_0x83b3[207]](_0x187fx3)};return _0x187fx2};mxDictionary[_0x83b3[202]][_0x83b3[208]]= function(){var _0x187fx2=[],_0x187fx3;for(_0x187fx3 in this[_0x83b3[201]]){_0x187fx2[_0x83b3[207]](this[_0x83b3[201]][_0x187fx3])};return _0x187fx2};mxDictionary[_0x83b3[202]][_0x83b3[209]]= function(_0x187fx2){for(var _0x187fx3 in this[_0x83b3[201]]){_0x187fx2(_0x187fx3,this[_0x83b3[201]][_0x187fx3])}};var mxResources={resources:[],extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(_0x187fx2){return null!= mxClient[_0x83b3[96]]?0<= mxUtils[_0x83b3[2]](mxClient[_0x83b3[96]],_0x187fx2):!0},getDefaultBundle:function(_0x187fx2,_0x187fx3){return mxResources[_0x83b3[210]]|| !mxResources[_0x83b3[211]](_0x187fx3)?_0x187fx2+ mxResources[_0x83b3[212]]:null},getSpecialBundle:function(_0x187fx2,_0x187fx3){if(null== mxClient[_0x83b3[96]]|| !this[_0x83b3[211]](_0x187fx3)){var _0x187fx4=_0x187fx3[_0x83b3[2]](_0x83b3[213]);0< _0x187fx4&& (_0x187fx3= _0x187fx3[_0x83b3[85]](0,_0x187fx4))};return mxResources[_0x83b3[214]]&& mxResources[_0x83b3[211]](_0x187fx3)&& _0x187fx3!= mxClient[_0x83b3[92]]?_0x187fx2+ _0x83b3[215]+ _0x187fx3+ mxResources[_0x83b3[212]]:null},add:function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:mxClient[_0x83b3[90]][_0x83b3[216]]();if(_0x187fx3!= mxConstants[_0x83b3[217]]){var _0x187fx4=mxResources[_0x83b3[218]](_0x187fx2,_0x187fx3);if(null!= _0x187fx4){try{var _0x187fx5=mxUtils[_0x83b3[219]](_0x187fx4);_0x187fx5[_0x83b3[220]]()&& mxResources[_0x83b3[222]](_0x187fx5[_0x83b3[221]]())}catch(e){}};_0x187fx4= mxResources[_0x83b3[223]](_0x187fx2,_0x187fx3);if(null!= _0x187fx4){try{_0x187fx5= mxUtils[_0x83b3[219]](_0x187fx4),_0x187fx5[_0x83b3[220]]()&& mxResources[_0x83b3[222]](_0x187fx5[_0x83b3[221]]())}catch(f){}}}},parse:function(_0x187fx2){if(null!= _0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[224]](_0x83b3[192]);for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){if(_0x83b3[198]!= _0x187fx2[_0x187fx3][_0x83b3[225]](0)){var _0x187fx4=_0x187fx2[_0x187fx3][_0x83b3[2]](_0x83b3[226]);if(0< _0x187fx4){var _0x187fx5=_0x187fx2[_0x187fx3][_0x83b3[85]](0,_0x187fx4),_0x187fx9=_0x187fx2[_0x187fx3][_0x83b3[67]];13== _0x187fx2[_0x187fx3][_0x83b3[227]](_0x187fx9- 1)&& _0x187fx9--;_0x187fx4= _0x187fx2[_0x187fx3][_0x83b3[85]](_0x187fx4+ 1,_0x187fx9);this[_0x83b3[228]]?(_0x187fx4= _0x187fx4[_0x83b3[230]](/\\(?=u[a-fA-F\d]{4})/g,_0x83b3[229]),mxResources[_0x83b3[231]][_0x187fx5]= unescape(_0x187fx4)):mxResources[_0x83b3[231]][_0x187fx5]= _0x187fx4}}}}},get:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= mxResources[_0x83b3[231]][_0x187fx2];null== _0x187fx2&& (_0x187fx2= _0x187fx4);if(null!= _0x187fx2&& null!= _0x187fx3){_0x187fx4= [];for(var _0x187fx5=null,_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){var _0x187fxa=_0x187fx2[_0x83b3[225]](_0x187fx9);_0x83b3[232]== _0x187fxa?_0x187fx5= _0x83b3[110]:null!= _0x187fx5&& _0x83b3[233]== _0x187fxa?(_0x187fx5= parseInt(_0x187fx5)- 1,0<= _0x187fx5&& _0x187fx5< _0x187fx3[_0x83b3[67]]&& _0x187fx4[_0x83b3[207]](_0x187fx3[_0x187fx5]),_0x187fx5= null):null!= _0x187fx5?_0x187fx5+= _0x187fxa:_0x187fx4[_0x83b3[207]](_0x187fxa)};_0x187fx2= _0x187fx4[_0x83b3[234]](_0x83b3[110])};return _0x187fx2}};function mxPoint(_0x187fx2,_0x187fx3){this[_0x83b3[235]]= null!= _0x187fx2?_0x187fx2:0;this[_0x83b3[236]]= null!= _0x187fx3?_0x187fx3:0}mxPoint[_0x83b3[202]][_0x83b3[235]]= null;mxPoint[_0x83b3[202]][_0x83b3[236]]= null;mxPoint[_0x83b3[202]][_0x83b3[237]]= function(_0x187fx2){return _0x187fx2[_0x83b3[235]]== this[_0x83b3[235]]&& _0x187fx2[_0x83b3[236]]== this[_0x83b3[236]]};mxPoint[_0x83b3[202]][_0x83b3[238]]= function(){return mxUtils[_0x83b3[238]](this)};function mxRectangle(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxPoint[_0x83b3[239]](this,_0x187fx2,_0x187fx3);this[_0x83b3[117]]= null!= _0x187fx4?_0x187fx4:0;this[_0x83b3[119]]= null!= _0x187fx5?_0x187fx5:0}mxRectangle[_0x83b3[202]]= new mxPoint;mxRectangle[_0x83b3[202]][_0x83b3[196]]= mxRectangle;mxRectangle[_0x83b3[202]][_0x83b3[117]]= null;mxRectangle[_0x83b3[202]][_0x83b3[119]]= null;mxRectangle[_0x83b3[202]][_0x83b3[240]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[235]]= _0x187fx2;this[_0x83b3[236]]= _0x187fx3;this[_0x83b3[117]]= _0x187fx4;this[_0x83b3[119]]= _0x187fx5};mxRectangle[_0x83b3[202]][_0x83b3[241]]= function(){return this[_0x83b3[235]]+ this[_0x83b3[117]]/ 2};mxRectangle[_0x83b3[202]][_0x83b3[242]]= function(){return this[_0x83b3[236]]+ this[_0x83b3[119]]/ 2};mxRectangle[_0x83b3[202]][_0x83b3[99]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=Math[_0x83b3[243]](this[_0x83b3[235]],_0x187fx2[_0x83b3[235]]),_0x187fx4=Math[_0x83b3[243]](this[_0x83b3[236]],_0x187fx2[_0x83b3[236]]),_0x187fx5=Math[_0x83b3[160]](this[_0x83b3[235]]+ this[_0x83b3[117]],_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]);_0x187fx2= Math[_0x83b3[160]](this[_0x83b3[236]]+ this[_0x83b3[119]],_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]);this[_0x83b3[235]]= _0x187fx3;this[_0x83b3[236]]= _0x187fx4;this[_0x83b3[117]]= _0x187fx5- _0x187fx3;this[_0x83b3[119]]= _0x187fx2- _0x187fx4}};mxRectangle[_0x83b3[202]][_0x83b3[244]]= function(_0x187fx2){this[_0x83b3[235]]-= _0x187fx2;this[_0x83b3[236]]-= _0x187fx2;this[_0x83b3[117]]+= 2* _0x187fx2;this[_0x83b3[119]]+= 2* _0x187fx2};mxRectangle[_0x83b3[202]][_0x83b3[245]]= function(){return new mxPoint(this[_0x83b3[235]],this[_0x83b3[236]])};mxRectangle[_0x83b3[202]][_0x83b3[237]]= function(_0x187fx2){return _0x187fx2[_0x83b3[235]]== this[_0x83b3[235]]&& _0x187fx2[_0x83b3[236]]== this[_0x83b3[236]]&& _0x187fx2[_0x83b3[117]]== this[_0x83b3[117]]&& _0x187fx2[_0x83b3[119]]== this[_0x83b3[119]]};var mxEffects={animateChanges:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=0,_0x187fx9=function(){for(var _0x187fx12=!1,_0x187fx13=0;_0x187fx13< _0x187fx3[_0x83b3[67]];_0x187fx13++){var _0x187fx14=_0x187fx3[_0x187fx13];if(_0x187fx14 instanceof mxGeometryChange|| _0x187fx14 instanceof mxTerminalChange|| _0x187fx14 instanceof mxValueChange|| _0x187fx14 instanceof mxChildChange|| _0x187fx14 instanceof mxStyleChange){var _0x187fx15=_0x187fx2[_0x83b3[249]]()[_0x83b3[248]](_0x187fx14[_0x83b3[246]]|| _0x187fx14[_0x83b3[247]],!1);if(null!= _0x187fx15){if(_0x187fx12= !0,_0x187fx14[_0x83b3[196]]!= mxGeometryChange|| _0x187fx2[_0x83b3[251]][_0x83b3[250]](_0x187fx14[_0x83b3[246]])){mxUtils[_0x83b3[254]](_0x187fx15[_0x83b3[253]][_0x83b3[252]],100* _0x187fx5/ 10)}else {var _0x187fx16=_0x187fx2[_0x83b3[249]]()[_0x83b3[255]],_0x187fx17=(_0x187fx14[_0x83b3[256]][_0x83b3[235]]- _0x187fx14[_0x83b3[257]][_0x83b3[235]])* _0x187fx16,_0x187fx18=(_0x187fx14[_0x83b3[256]][_0x83b3[236]]- _0x187fx14[_0x83b3[257]][_0x83b3[236]])* _0x187fx16,_0x187fx19=(_0x187fx14[_0x83b3[256]][_0x83b3[117]]- _0x187fx14[_0x83b3[257]][_0x83b3[117]])* _0x187fx16,_0x187fx16=(_0x187fx14[_0x83b3[256]][_0x83b3[119]]- _0x187fx14[_0x83b3[257]][_0x83b3[119]])* _0x187fx16;0== _0x187fx5?(_0x187fx15[_0x83b3[235]]-= _0x187fx17,_0x187fx15[_0x83b3[236]]-= _0x187fx18,_0x187fx15[_0x83b3[117]]-= _0x187fx19,_0x187fx15[_0x83b3[119]]-= _0x187fx16):(_0x187fx15[_0x83b3[235]]+= _0x187fx17/ 10,_0x187fx15[_0x83b3[236]]+= _0x187fx18/ 10,_0x187fx15[_0x83b3[117]]+= _0x187fx19/ 10,_0x187fx15[_0x83b3[119]]+= _0x187fx16/ 10);_0x187fx2[_0x83b3[259]][_0x83b3[258]](_0x187fx15);mxEffects[_0x83b3[260]](_0x187fx2,_0x187fx14[_0x83b3[246]],100* _0x187fx5/ 10)}}}};10> _0x187fx5&& _0x187fx12?(_0x187fx5++,window[_0x83b3[261]](_0x187fx9,_0x187fxa)):null!= _0x187fx4&& _0x187fx4()},_0x187fxa=30;_0x187fx9()},cascadeOpacity:function(_0x187fx2,_0x187fx3,_0x187fx4){for(var _0x187fx5=_0x187fx2[_0x83b3[251]][_0x83b3[262]](_0x187fx3),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){var _0x187fxa=_0x187fx2[_0x83b3[251]][_0x83b3[263]](_0x187fx3,_0x187fx9),_0x187fx12=_0x187fx2[_0x83b3[249]]()[_0x83b3[248]](_0x187fxa);null!= _0x187fx12&& (mxUtils[_0x83b3[254]](_0x187fx12[_0x83b3[253]][_0x83b3[252]],_0x187fx4),mxEffects[_0x83b3[260]](_0x187fx2,_0x187fxa,_0x187fx4))};_0x187fx3= _0x187fx2[_0x83b3[251]][_0x83b3[264]](_0x187fx3);if(null!= _0x187fx3){for(_0x187fx9= 0;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){_0x187fx5= _0x187fx2[_0x83b3[249]]()[_0x83b3[248]](_0x187fx3[_0x187fx9]),null!= _0x187fx5&& mxUtils[_0x83b3[254]](_0x187fx5[_0x83b3[253]][_0x83b3[252]],_0x187fx4)}}},fadeOut:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx5= _0x187fx5|| 40;_0x187fx9= _0x187fx9|| 30;var _0x187fx12=_0x187fx3|| 100;mxUtils[_0x83b3[254]](_0x187fx2,_0x187fx12);if(_0x187fxa|| null== _0x187fxa){var _0x187fx13=function(){_0x187fx12= Math[_0x83b3[160]](_0x187fx12- _0x187fx5,0);mxUtils[_0x83b3[254]](_0x187fx2,_0x187fx12);0< _0x187fx12?window[_0x83b3[261]](_0x187fx13,_0x187fx9):(_0x187fx2[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],_0x187fx4&& _0x187fx2[_0x83b3[265]]&& _0x187fx2[_0x83b3[265]][_0x83b3[266]](_0x187fx2))};window[_0x83b3[261]](_0x187fx13,_0x187fx9)}else {_0x187fx2[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],_0x187fx4&& _0x187fx2[_0x83b3[265]]&& _0x187fx2[_0x83b3[265]][_0x83b3[266]](_0x187fx2)}}},mxUtils={errorResource:_0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[267]:_0x83b3[110],closeResource:_0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[268]:_0x83b3[110],errorImage:mxClient[_0x83b3[88]]+ _0x83b3[269],removeCursors:function(_0x187fx2){null!= _0x187fx2[_0x83b3[124]]&& (_0x187fx2[_0x83b3[124]][_0x83b3[270]]= _0x83b3[110]);_0x187fx2= _0x187fx2[_0x83b3[271]];if(null!= _0x187fx2){for(var _0x187fx3=_0x187fx2[_0x83b3[67]],_0x187fx4=0;_0x187fx4< _0x187fx3;_0x187fx4+= 1){mxUtils[_0x83b3[272]](_0x187fx2[_0x187fx4])}}},getCurrentStyle:function(){return mxClient[_0x83b3[80]]?function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[273]]:null}:function(_0x187fx2){return null!= _0x187fx2?window[_0x83b3[274]](_0x187fx2,_0x83b3[110]):null}}(),hasScrollbars:function(_0x187fx2){_0x187fx2= mxUtils[_0x83b3[275]](_0x187fx2);return null!= _0x187fx2&& (_0x83b3[276]== _0x187fx2[_0x83b3[277]]|| _0x83b3[278]== _0x187fx2[_0x83b3[277]])},bind:function(_0x187fx2,_0x187fx3){return function(){return _0x187fx3[_0x83b3[183]](_0x187fx2,arguments)}},eval:function(_0x187fx2){var _0x187fx3=null;if(0<= _0x187fx2[_0x83b3[2]](_0x83b3[279])){try{eval(_0x83b3[280]+ _0x187fx2),_0x187fx3= _mxJavaScriptExpression,_mxJavaScriptExpression= null}catch(c){mxLog[_0x83b3[283]](c[_0x83b3[281]]+ _0x83b3[282]+ _0x187fx2)}}else {try{_0x187fx3= eval(_0x187fx2)}catch(d){mxLog[_0x83b3[283]](d[_0x83b3[281]]+ _0x83b3[282]+ _0x187fx2)}};return _0x187fx3},findNode:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[284]](_0x187fx3);if(null!= _0x187fx5&& _0x187fx5== _0x187fx4){return _0x187fx2};for(_0x187fx2= _0x187fx2[_0x83b3[285]];null!= _0x187fx2;){_0x187fx5= mxUtils[_0x83b3[286]](_0x187fx2,_0x187fx3,_0x187fx4);if(null!= _0x187fx5){return _0x187fx5};_0x187fx2= _0x187fx2[_0x83b3[287]]};return null},findNodeByAttribute:function(){return 9<= document[_0x83b3[5]]?function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=null;if(null!= _0x187fx2){if(_0x187fx2[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& _0x187fx2[_0x83b3[284]](_0x187fx3)== _0x187fx4){_0x187fx5= _0x187fx2}else {for(_0x187fx2= _0x187fx2[_0x83b3[285]];null!= _0x187fx2&& null== _0x187fx5;){_0x187fx5= mxUtils[_0x83b3[290]](_0x187fx2,_0x187fx3,_0x187fx4),_0x187fx2= _0x187fx2[_0x83b3[287]]}}};return _0x187fx5}:mxClient[_0x83b3[80]]?function(_0x187fx2,_0x187fx3,_0x187fx4){return null== _0x187fx2?null:_0x187fx2[_0x83b3[295]][_0x83b3[294]](_0x83b3[291]+ _0x187fx3+ _0x83b3[292]+ _0x187fx4+ _0x83b3[293])}:function(_0x187fx2,_0x187fx3,_0x187fx4){return null== _0x187fx2?null:_0x187fx2[_0x83b3[295]][_0x83b3[297]](_0x83b3[291]+ _0x187fx3+ _0x83b3[292]+ _0x187fx4+ _0x83b3[293],_0x187fx2[_0x83b3[295]],null,XPathResult.ANY_TYPE,null)[_0x83b3[296]]()}}(),getFunctionName:function(_0x187fx2){var _0x187fx3=null;if(null!= _0x187fx2){if(null!= _0x187fx2[_0x83b3[298]]){_0x187fx3= _0x187fx2[_0x83b3[298]]}else {_0x187fx2= _0x187fx2.toString();for(_0x187fx3= 9;_0x83b3[185]== _0x187fx2[_0x83b3[225]](_0x187fx3);){_0x187fx3++};var _0x187fx4=_0x187fx2[_0x83b3[2]](_0x83b3[299],_0x187fx3),_0x187fx3=_0x187fx2[_0x83b3[85]](_0x187fx3,_0x187fx4)}};return _0x187fx3},indexOf:function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& null!= _0x187fx3){for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){if(_0x187fx2[_0x187fx4]== _0x187fx3){return _0x187fx4}}};return -1},remove:function(_0x187fx2,_0x187fx3){var _0x187fx4=null;if(_0x83b3[194]== typeof _0x187fx3){for(var _0x187fx5=mxUtils[_0x83b3[2]](_0x187fx3,_0x187fx2);0<= _0x187fx5;){_0x187fx3[_0x83b3[300]](_0x187fx5,1),_0x187fx4= _0x187fx2,_0x187fx5= mxUtils[_0x83b3[2]](_0x187fx3,_0x187fx2)}};for(var _0x187fx9 in _0x187fx3){_0x187fx3[_0x187fx9]== _0x187fx2&& ( delete _0x187fx3[_0x187fx9],_0x187fx4= _0x187fx2)};return _0x187fx4},isNode:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){return null!= _0x187fx2&& !isNaN(_0x187fx2[_0x83b3[288]])&& (null== _0x187fx3|| _0x187fx2[_0x83b3[301]][_0x83b3[216]]()== _0x187fx3[_0x83b3[216]]())?null== _0x187fx4|| _0x187fx2[_0x83b3[284]](_0x187fx4)== _0x187fx5:!1},getChildNodes:function(_0x187fx2,_0x187fx3){_0x187fx3= _0x187fx3|| mxConstants[_0x83b3[289]];for(var _0x187fx4=[],_0x187fx5=_0x187fx2[_0x83b3[285]];null!= _0x187fx5;){_0x187fx5[_0x83b3[288]]== _0x187fx3&& _0x187fx4[_0x83b3[207]](_0x187fx5),_0x187fx5= _0x187fx5[_0x83b3[287]]};return _0x187fx4},createXmlDocument:function(){var _0x187fx2=null;document[_0x83b3[302]]&& document[_0x83b3[302]][_0x83b3[303]]?_0x187fx2= document[_0x83b3[302]][_0x83b3[303]](_0x83b3[110],_0x83b3[110],null):window[_0x83b3[304]]&& (_0x187fx2= new ActiveXObject(_0x83b3[305]));return _0x187fx2},parseXml:function(){return mxClient[_0x83b3[80]]&& (_0x83b3[82]=== typeof document[_0x83b3[5]]|| 9> document[_0x83b3[5]])?function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[306]]();_0x187fx3[_0x83b3[307]]= _0x83b3[308];_0x187fx3[_0x83b3[309]](_0x187fx2);return _0x187fx3}:function(_0x187fx2){return ( new DOMParser)[_0x83b3[311]](_0x187fx2,_0x83b3[310])}}(),clearSelection:function(){if(document[_0x83b3[312]]){return function(){document[_0x83b3[312]][_0x83b3[313]]()}};if(window[_0x83b3[314]]){return function(){window[_0x83b3[314]]()[_0x83b3[315]]()}}}(),getPrettyXml:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=[];if(null!= _0x187fx2){if(_0x187fx3= _0x187fx3|| _0x83b3[316],_0x187fx4= _0x187fx4|| _0x83b3[110],_0x187fx2[_0x83b3[288]]== mxConstants[_0x83b3[317]]){_0x187fx5[_0x83b3[207]](_0x187fx2[_0x83b3[318]])}else {_0x187fx5[_0x83b3[207]](_0x187fx4+ _0x83b3[319]+ _0x187fx2[_0x83b3[301]]);var _0x187fx9=_0x187fx2[_0x83b3[320]];if(null!= _0x187fx9){for(var _0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){var _0x187fx12=mxUtils[_0x83b3[321]](_0x187fx9[_0x187fxa][_0x83b3[318]]);_0x187fx5[_0x83b3[207]](_0x83b3[185]+ _0x187fx9[_0x187fxa][_0x83b3[301]]+ _0x83b3[322]+ _0x187fx12+ _0x83b3[323])}};_0x187fx9= _0x187fx2[_0x83b3[285]];if(null!= _0x187fx9){for(_0x187fx5[_0x83b3[207]](_0x83b3[324]);null!= _0x187fx9;){_0x187fx5[_0x83b3[207]](mxUtils[_0x83b3[325]](_0x187fx9,_0x187fx3,_0x187fx4+ _0x187fx3)),_0x187fx9= _0x187fx9[_0x83b3[287]]};_0x187fx5[_0x83b3[207]](_0x187fx4+ _0x83b3[326]+ _0x187fx2[_0x83b3[301]]+ _0x83b3[324])}else {_0x187fx5[_0x83b3[207]](_0x83b3[327])}}};return _0x187fx5[_0x83b3[234]](_0x83b3[110])},removeWhitespace:function(_0x187fx2,_0x187fx3){for(var _0x187fx4=_0x187fx3?_0x187fx2[_0x83b3[328]]:_0x187fx2[_0x83b3[287]];null!= _0x187fx4&& _0x187fx4[_0x83b3[288]]== mxConstants[_0x83b3[317]];){var _0x187fx5=_0x187fx3?_0x187fx4[_0x83b3[328]]:_0x187fx4[_0x83b3[287]],_0x187fx9=mxUtils[_0x83b3[329]](_0x187fx4);0== mxUtils[_0x83b3[330]](_0x187fx9)[_0x83b3[67]]&& _0x187fx4[_0x83b3[265]][_0x83b3[266]](_0x187fx4);_0x187fx4= _0x187fx5}},htmlEntities:function(_0x187fx2,_0x187fx3){_0x187fx2= (_0x187fx2|| _0x83b3[110])[_0x83b3[230]](/&/g,_0x83b3[331]);_0x187fx2= _0x187fx2[_0x83b3[230]](/"/g,_0x83b3[332]);_0x187fx2= _0x187fx2[_0x83b3[230]](/\'/g,_0x83b3[333]);_0x187fx2= _0x187fx2[_0x83b3[230]](/</g,_0x83b3[334]);_0x187fx2= _0x187fx2[_0x83b3[230]](/>/g,_0x83b3[335]);if(null== _0x187fx3|| _0x187fx3){_0x187fx2= _0x187fx2[_0x83b3[230]](/\n/g,_0x83b3[336])};return _0x187fx2},isVml:function(_0x187fx2){return null!= _0x187fx2&& _0x83b3[97]== _0x187fx2[_0x83b3[337]]},getXml:function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x83b3[110];null!= _0x187fx2&& (_0x187fx4= _0x187fx2[_0x83b3[338]],_0x187fx4= null== _0x187fx4?_0x187fx2[_0x83b3[339]]?_0x187fx2[_0x83b3[339]]:( new XMLSerializer)[_0x83b3[340]](_0x187fx2):_0x187fx4[_0x83b3[230]](/\r\n\t[\t]*/g,_0x83b3[110])[_0x83b3[230]](/>\r\n/g,_0x83b3[341])[_0x83b3[230]](/\r\n/g,_0x83b3[192]));return _0x187fx4= _0x187fx4[_0x83b3[230]](/\n/g,_0x187fx3|| _0x83b3[336])},getTextContent:function(_0x187fx2){var _0x187fx3=_0x83b3[110];null!= _0x187fx2&& (null!= _0x187fx2[_0x83b3[285]]&& (_0x187fx2= _0x187fx2[_0x83b3[285]]),_0x187fx3= _0x187fx2[_0x83b3[318]]|| _0x83b3[110]);return _0x187fx3},getInnerHtml:function(){return mxClient[_0x83b3[80]]?function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[339]]:_0x83b3[110]}:function(_0x187fx2){return null!= _0x187fx2?( new XMLSerializer)[_0x83b3[340]](_0x187fx2):_0x83b3[110]}}(),getOuterHtml:function(){return mxClient[_0x83b3[80]]?function(_0x187fx2){if(null!= _0x187fx2){if(null!= _0x187fx2[_0x83b3[342]]){return _0x187fx2[_0x83b3[342]]};var _0x187fx3=[];_0x187fx3[_0x83b3[207]](_0x83b3[319]+ _0x187fx2[_0x83b3[301]]);var _0x187fx4=_0x187fx2[_0x83b3[320]];if(null!= _0x187fx4){for(var _0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){var _0x187fx9=_0x187fx4[_0x187fx5][_0x83b3[318]];null!= _0x187fx9&& 0< _0x187fx9[_0x83b3[67]]&& (_0x187fx3[_0x83b3[207]](_0x83b3[185]),_0x187fx3[_0x83b3[207]](_0x187fx4[_0x187fx5][_0x83b3[301]]),_0x187fx3[_0x83b3[207]](_0x83b3[322]),_0x187fx3[_0x83b3[207]](_0x187fx9),_0x187fx3[_0x83b3[207]](_0x83b3[323]))}};0== _0x187fx2[_0x83b3[339]][_0x83b3[67]]?_0x187fx3[_0x83b3[207]](_0x83b3[343]):(_0x187fx3[_0x83b3[207]](_0x83b3[341]),_0x187fx3[_0x83b3[207]](_0x187fx2[_0x83b3[339]]),_0x187fx3[_0x83b3[207]](_0x83b3[326]+ _0x187fx2[_0x83b3[301]]+ _0x83b3[341]));return _0x187fx3[_0x83b3[234]](_0x83b3[110])};return _0x83b3[110]}:function(_0x187fx2){return null!= _0x187fx2?( new XMLSerializer)[_0x83b3[340]](_0x187fx2):_0x83b3[110]}}(),write:function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[295]][_0x83b3[344]](_0x187fx3);null!= _0x187fx2&& _0x187fx2[_0x83b3[62]](_0x187fx4);return _0x187fx4},writeln:function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[295]][_0x83b3[344]](_0x187fx3);null!= _0x187fx2&& (_0x187fx2[_0x83b3[62]](_0x187fx4),_0x187fx2[_0x83b3[62]](document[_0x83b3[55]](_0x83b3[345])));return _0x187fx4},br:function(_0x187fx2,_0x187fx3){_0x187fx3= _0x187fx3|| 1;for(var _0x187fx4=null,_0x187fx5=0;_0x187fx5< _0x187fx3;_0x187fx5++){null!= _0x187fx2&& (_0x187fx4= _0x187fx2[_0x83b3[295]][_0x83b3[55]](_0x83b3[345]),_0x187fx2[_0x83b3[62]](_0x187fx4))};return _0x187fx4},button:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:document;_0x187fx4= _0x187fx4[_0x83b3[55]](_0x83b3[172]);mxUtils[_0x83b3[53]](_0x187fx4,_0x187fx2);mxEvent[_0x83b3[169]](_0x187fx4,_0x83b3[173],function(_0x187fx2){_0x187fx3(_0x187fx2)});return _0x187fx4},para:function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[346]);mxUtils[_0x83b3[53]](_0x187fx4,_0x187fx3);null!= _0x187fx2&& _0x187fx2[_0x83b3[62]](_0x187fx4);return _0x187fx4},addTransparentBackgroundFilter:function(_0x187fx2){_0x187fx2[_0x83b3[124]][_0x83b3[347]]+= _0x83b3[348]+ mxClient[_0x83b3[88]]+ _0x83b3[349]},linkAction:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){return mxUtils[_0x83b3[54]](_0x187fx2,_0x187fx3,function(){_0x187fx4[_0x83b3[350]](_0x187fx5)},_0x187fx9)},linkInvoke:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){return mxUtils[_0x83b3[54]](_0x187fx2,_0x187fx3,function(){_0x187fx4[_0x187fx5](_0x187fx9)},_0x187fxa)},link:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=document[_0x83b3[55]](_0x83b3[351]);_0x187fx9[_0x83b3[124]][_0x83b3[352]]= _0x83b3[353];_0x187fx9[_0x83b3[124]][_0x83b3[354]]= _0x83b3[355];_0x187fx9[_0x83b3[124]][_0x83b3[270]]= _0x83b3[356];null!= _0x187fx5&& (_0x187fx9[_0x83b3[124]][_0x83b3[357]]= _0x187fx5+ _0x83b3[168]);mxEvent[_0x83b3[169]](_0x187fx9,_0x83b3[173],_0x187fx4);mxUtils[_0x83b3[53]](_0x187fx9,_0x187fx3);null!= _0x187fx2&& _0x187fx2[_0x83b3[62]](_0x187fx9);return _0x187fx9},fit:function(_0x187fx2){var _0x187fx3=parseInt(_0x187fx2[_0x83b3[358]]),_0x187fx4=parseInt(_0x187fx2[_0x83b3[359]]),_0x187fx5=document[_0x83b3[112]],_0x187fx9=document[_0x83b3[158]],_0x187fxa=(_0x187fx5[_0x83b3[360]]|| _0x187fx9[_0x83b3[360]])+ (_0x187fx5[_0x83b3[159]]|| _0x187fx9[_0x83b3[159]]);_0x187fx3+ _0x187fx4> _0x187fxa&& (_0x187fx2[_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[160]](_0x187fx5[_0x83b3[360]]|| _0x187fx9[_0x83b3[360]],_0x187fxa- _0x187fx4)+ _0x83b3[168]);_0x187fx3= parseInt(_0x187fx2[_0x83b3[362]]);_0x187fx4= parseInt(_0x187fx2[_0x83b3[167]]);_0x187fxa= (_0x187fx5[_0x83b3[190]]|| _0x187fx9[_0x83b3[190]])+ Math[_0x83b3[160]](_0x187fx5[_0x83b3[157]]|| 0,_0x187fx9[_0x83b3[157]]);_0x187fx3+ _0x187fx4> _0x187fxa&& (_0x187fx2[_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[160]](_0x187fx5[_0x83b3[190]]|| _0x187fx9[_0x83b3[190]],_0x187fxa- _0x187fx4)+ _0x83b3[168])},open:function(_0x187fx2){if(mxClient[_0x83b3[133]]){try{netscape[_0x83b3[366]][_0x83b3[365]][_0x83b3[364]](_0x83b3[363])}catch(b){return mxUtils[_0x83b3[150]](_0x83b3[367]),_0x83b3[110]};var _0x187fx4=Components[_0x83b3[372]][_0x83b3[371]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[368]]);_0x187fx4[_0x83b3[373]](_0x187fx2);if(!_0x187fx4[_0x83b3[374]]()){return mxUtils[_0x83b3[150]](_0x83b3[375]),_0x83b3[110]};_0x187fx2= Components[_0x83b3[372]][_0x83b3[377]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[376]]);_0x187fx2[_0x83b3[176]](_0x187fx4,1,4,null);_0x187fx4= Components[_0x83b3[372]][_0x83b3[379]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[378]]);_0x187fx4[_0x83b3[176]](_0x187fx2);return _0x187fx4[_0x83b3[381]](_0x187fx4[_0x83b3[380]]())};_0x187fx4= ( new ActiveXObject(_0x83b3[382])).OpenTextFile(_0x187fx2,1);_0x187fx2= _0x187fx4[_0x83b3[383]]();_0x187fx4[_0x83b3[268]]();return _0x187fx2},save:function(_0x187fx2,_0x187fx3){if(mxClient[_0x83b3[133]]){try{netscape[_0x83b3[366]][_0x83b3[365]][_0x83b3[364]](_0x83b3[363])}catch(c){mxUtils[_0x83b3[150]](_0x83b3[384]);return};var _0x187fx5=Components[_0x83b3[372]][_0x83b3[371]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[368]]);_0x187fx5[_0x83b3[373]](_0x187fx2);_0x187fx5[_0x83b3[374]]()|| _0x187fx5[_0x83b3[385]](0,420);var _0x187fx9=Components[_0x83b3[372]][_0x83b3[387]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[386]]);_0x187fx9[_0x83b3[176]](_0x187fx5,34,4,null);_0x187fx9[_0x83b3[53]](_0x187fx3,_0x187fx3[_0x83b3[67]]);_0x187fx9[_0x83b3[388]]();_0x187fx9[_0x83b3[268]]()}else {_0x187fx5= ( new ActiveXObject(_0x83b3[382])).CreateTextFile(_0x187fx2,!0),_0x187fx5.Write(_0x187fx3),_0x187fx5.Close()}},saveAs:function(_0x187fx2){var _0x187fx3=document[_0x83b3[55]](_0x83b3[389]);_0x187fx3[_0x83b3[57]](_0x83b3[390],_0x83b3[110]);_0x187fx3[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];document[_0x83b3[112]][_0x83b3[62]](_0x187fx3);try{if(mxClient[_0x83b3[133]]){var _0x187fx4=_0x187fx3[_0x83b3[391]];_0x187fx4[_0x83b3[392]]();_0x187fx4[_0x83b3[53]](_0x187fx2);_0x187fx4[_0x83b3[268]]();try{netscape[_0x83b3[366]][_0x83b3[365]][_0x83b3[364]](_0x83b3[363]),_0x187fx3[_0x83b3[393]](),saveDocument(_0x187fx4)}catch(d){mxUtils[_0x83b3[150]](_0x83b3[394])}}else {_0x187fx4= _0x187fx3[_0x83b3[396]][_0x83b3[395]],_0x187fx4[_0x83b3[53]](_0x187fx2),_0x187fx4[_0x83b3[398]](_0x83b3[397],!1,document[_0x83b3[45]])}}finally{document[_0x83b3[112]][_0x83b3[266]](_0x187fx3)}},copy:function(_0x187fx2){if(window[_0x83b3[399]]){window[_0x83b3[399]][_0x83b3[401]](_0x83b3[400],_0x187fx2)}else {netscape[_0x83b3[366]][_0x83b3[365]][_0x83b3[364]](_0x83b3[363]);var _0x187fx3=Components[_0x83b3[372]][_0x83b3[403]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[402]]);if(_0x187fx3){var _0x187fx4=Components[_0x83b3[372]][_0x83b3[405]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[404]]);if(_0x187fx4){_0x187fx4[_0x83b3[407]](_0x83b3[406]);var _0x187fx5=Components[_0x83b3[372]][_0x83b3[409]][_0x83b3[370]](Components[_0x83b3[369]][_0x83b3[408]]);_0x187fx5[_0x83b3[410]]= _0x187fx2;_0x187fx4[_0x83b3[411]](_0x83b3[406],_0x187fx5,2* _0x187fx2[_0x83b3[67]]);_0x187fx3[_0x83b3[401]](_0x187fx4,null,Components[_0x83b3[369]][_0x83b3[402]][_0x83b3[412]])}}}},load:function(_0x187fx2){_0x187fx2= new mxXmlRequest(_0x187fx2,null,_0x83b3[413],!1);_0x187fx2[_0x83b3[414]]();return _0x187fx2},get:function(_0x187fx2,_0x187fx3,_0x187fx4){return ( new mxXmlRequest(_0x187fx2,null,_0x83b3[413]))[_0x83b3[414]](_0x187fx3,_0x187fx4)},post:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){return ( new mxXmlRequest(_0x187fx2,_0x187fx3))[_0x83b3[414]](_0x187fx4,_0x187fx5)},submit:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){return ( new mxXmlRequest(_0x187fx2,_0x187fx3))[_0x83b3[415]](_0x187fx4,_0x187fx5)},loadInto:function(_0x187fx2,_0x187fx3,_0x187fx4){mxClient[_0x83b3[80]]?_0x187fx3[_0x83b3[416]]= function(){4== _0x187fx3[_0x83b3[417]]&& _0x187fx4()}:_0x187fx3[_0x83b3[418]](_0x83b3[219],_0x187fx4,!1);_0x187fx3[_0x83b3[219]](_0x187fx2)},getValue:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= null!= _0x187fx2?_0x187fx2[_0x187fx3]:null;null== _0x187fx2&& (_0x187fx2= _0x187fx4);return _0x187fx2},getNumber:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= null!= _0x187fx2?_0x187fx2[_0x187fx3]:null;null== _0x187fx2&& (_0x187fx2= _0x187fx4|| 0);return Number(_0x187fx2)},getColor:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= null!= _0x187fx2?_0x187fx2[_0x187fx3]:null;null== _0x187fx2?_0x187fx2= _0x187fx4:_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);return _0x187fx2},clone:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;var _0x187fx5=null;if(null!= _0x187fx2&& _0x83b3[279]== typeof _0x187fx2[_0x83b3[196]]){var _0x187fx5= new _0x187fx2[_0x83b3[196]],_0x187fx9;for(_0x187fx9 in _0x187fx2){if(_0x187fx9!= mxObjectIdentity[_0x83b3[195]]&& (null== _0x187fx3|| 0> mxUtils[_0x83b3[2]](_0x187fx3,_0x187fx9))){_0x187fx5[_0x187fx9]= !_0x187fx4&& _0x83b3[194]== typeof _0x187fx2[_0x187fx9]?mxUtils[_0x83b3[238]](_0x187fx2[_0x187fx9]):_0x187fx2[_0x187fx9]}}};return _0x187fx5},equalPoints:function(_0x187fx2,_0x187fx3){if(null== _0x187fx2&& null!= _0x187fx3|| null!= _0x187fx2&& null== _0x187fx3|| null!= _0x187fx2&& null!= _0x187fx3&& _0x187fx2[_0x83b3[67]]!= _0x187fx3[_0x83b3[67]]){return !1};if(null!= _0x187fx2&& null!= _0x187fx3){for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){if(_0x187fx2[_0x187fx4]== _0x187fx3[_0x187fx4]|| null!= _0x187fx2[_0x187fx4]&& !_0x187fx2[_0x187fx4][_0x83b3[237]](_0x187fx3[_0x187fx4])){return !1}}};return !0},equalEntries:function(_0x187fx2,_0x187fx3){if(null== _0x187fx2&& null!= _0x187fx3|| null!= _0x187fx2&& null== _0x187fx3|| null!= _0x187fx2&& null!= _0x187fx3&& _0x187fx2[_0x83b3[67]]!= _0x187fx3[_0x83b3[67]]){return !1};if(null!= _0x187fx2&& null!= _0x187fx3){for(var _0x187fx4 in _0x187fx2){if(_0x187fx2[_0x187fx4]!= _0x187fx3[_0x187fx4]){return !1}}};return !0},extend:function(_0x187fx2,_0x187fx3){var _0x187fx4=function(){};_0x187fx4[_0x83b3[202]]= _0x187fx3[_0x83b3[202]];_0x187fx2[_0x83b3[202]]= new _0x187fx4;_0x187fx2[_0x83b3[202]][_0x83b3[196]]= _0x187fx2},toString:function(_0x187fx2){var _0x187fx3=_0x83b3[110],_0x187fx4;for(_0x187fx4 in _0x187fx2){try{if(null== _0x187fx2[_0x187fx4]){_0x187fx3+= _0x187fx4+ _0x83b3[419]}else {if(_0x83b3[279]== typeof _0x187fx2[_0x187fx4]){_0x187fx3+= _0x187fx4+ _0x83b3[420]}else {if(_0x83b3[194]== typeof _0x187fx2[_0x187fx4]){var _0x187fx5=mxUtils[_0x83b3[197]](_0x187fx2[_0x187fx4][_0x83b3[196]]),_0x187fx3=_0x187fx3+ (_0x187fx4+ _0x83b3[421]+ _0x187fx5+ _0x83b3[422])}else {_0x187fx3+= _0x187fx4+ _0x83b3[423]+ _0x187fx2[_0x187fx4]+ _0x83b3[192]}}}}catch(e){_0x187fx3+= _0x187fx4+ _0x83b3[226]+ e[_0x83b3[281]]}};return _0x187fx3},toRadians:function(_0x187fx2){return Math[_0x83b3[424]]* _0x187fx2/ 180},arcToCurves:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){_0x187fx13-= _0x187fx2;_0x187fx14-= _0x187fx3;if(0=== _0x187fx4|| 0=== _0x187fx5){return _0x187fx18};_0x187fx4= Math[_0x83b3[425]](_0x187fx4);_0x187fx5= Math[_0x83b3[425]](_0x187fx5);var _0x187fx15=-_0x187fx13/ 2,_0x187fx16=-_0x187fx14/ 2,_0x187fx17=Math[_0x83b3[426]](_0x187fx9* Math[_0x83b3[424]]/ 180),_0x187fx18=Math[_0x83b3[427]](_0x187fx9* Math[_0x83b3[424]]/ 180);_0x187fx9= _0x187fx17* _0x187fx15+ _0x187fx18* _0x187fx16;var _0x187fx15=-1* _0x187fx18* _0x187fx15+ _0x187fx17* _0x187fx16,_0x187fx16=_0x187fx9* _0x187fx9,_0x187fx19=_0x187fx15* _0x187fx15,_0x187fx1a=_0x187fx4* _0x187fx4,_0x187fx1b=_0x187fx5* _0x187fx5,_0x187fx1c=_0x187fx16/ _0x187fx1a+ _0x187fx19/ _0x187fx1b;1< _0x187fx1c?(_0x187fx4*= Math[_0x83b3[428]](_0x187fx1c),_0x187fx5*= Math[_0x83b3[428]](_0x187fx1c),_0x187fxa= 0):(_0x187fx1c= 1,_0x187fxa=== _0x187fx12&& (_0x187fx1c= -1),_0x187fxa= _0x187fx1c* Math[_0x83b3[428]]((_0x187fx1a* _0x187fx1b- _0x187fx1a* _0x187fx19- _0x187fx1b* _0x187fx16)/ (_0x187fx1a* _0x187fx19+ _0x187fx1b* _0x187fx16)));_0x187fx16= _0x187fxa* _0x187fx4* _0x187fx15/ _0x187fx5;_0x187fx19= -1* _0x187fxa* _0x187fx5* _0x187fx9/ _0x187fx4;_0x187fx13= _0x187fx17* _0x187fx16- _0x187fx18* _0x187fx19+ _0x187fx13/ 2;_0x187fx14= _0x187fx18* _0x187fx16+ _0x187fx17* _0x187fx19+ _0x187fx14/ 2;_0x187fx1a= Math[_0x83b3[429]]((_0x187fx15- _0x187fx19)/ _0x187fx5,(_0x187fx9- _0x187fx16)/ _0x187fx4)- Math[_0x83b3[429]](0,1);_0x187fxa= 0<= _0x187fx1a?_0x187fx1a:2* Math[_0x83b3[424]]+ _0x187fx1a;_0x187fx1a= Math[_0x83b3[429]]((-_0x187fx15- _0x187fx19) / _0x187fx5,(-_0x187fx9- _0x187fx16) / _0x187fx4) - Math[_0x83b3[429]]((_0x187fx15- _0x187fx19)/ _0x187fx5,(_0x187fx9- _0x187fx16)/ _0x187fx4);_0x187fx9= 0<= _0x187fx1a?_0x187fx1a:2* Math[_0x83b3[424]]+ _0x187fx1a;0== _0x187fx12&& 0< _0x187fx9?_0x187fx9-= 2* Math[_0x83b3[424]]:0!= _0x187fx12&& 0> _0x187fx9&& (_0x187fx9+= 2* Math[_0x83b3[424]]);_0x187fx12= 2* _0x187fx9/ Math[_0x83b3[424]];_0x187fx12= Math[_0x83b3[430]](0> _0x187fx12?-1* _0x187fx12:_0x187fx12);_0x187fx9/= _0x187fx12;_0x187fx15= 8/ 3* Math[_0x83b3[427]](_0x187fx9/ 4)* Math[_0x83b3[427]](_0x187fx9/ 4)/ Math[_0x83b3[427]](_0x187fx9/ 2);_0x187fx16= _0x187fx17* _0x187fx4;_0x187fx17*= _0x187fx5;_0x187fx4*= _0x187fx18;_0x187fx5*= _0x187fx18;for(var _0x187fx1d=Math[_0x83b3[426]](_0x187fxa),_0x187fx1e=Math[_0x83b3[427]](_0x187fxa),_0x187fx19=-_0x187fx15* (_0x187fx16* _0x187fx1e+ _0x187fx5* _0x187fx1d),_0x187fx1a=-_0x187fx15* (_0x187fx4* _0x187fx1e- _0x187fx17* _0x187fx1d),_0x187fx1c=_0x187fx1b= 0,_0x187fx18=[],_0x187fx1f=0;_0x187fx1f< _0x187fx12;++_0x187fx1f){_0x187fxa+= _0x187fx9;var _0x187fx1d=Math[_0x83b3[426]](_0x187fxa),_0x187fx1e=Math[_0x83b3[427]](_0x187fxa),_0x187fx1b=_0x187fx16* _0x187fx1d- _0x187fx5* _0x187fx1e+ _0x187fx13,_0x187fx1c=_0x187fx4* _0x187fx1d+ _0x187fx17* _0x187fx1e+ _0x187fx14,_0x187fx20=-_0x187fx15* (_0x187fx16* _0x187fx1e+ _0x187fx5* _0x187fx1d),_0x187fx1d=-_0x187fx15* (_0x187fx4* _0x187fx1e- _0x187fx17* _0x187fx1d),_0x187fx1e=6* _0x187fx1f;_0x187fx18[_0x187fx1e]= Number(_0x187fx19+ _0x187fx2);_0x187fx18[_0x187fx1e+ 1]= Number(_0x187fx1a+ _0x187fx3);_0x187fx18[_0x187fx1e+ 2]= Number(_0x187fx1b- _0x187fx20+ _0x187fx2);_0x187fx18[_0x187fx1e+ 3]= Number(_0x187fx1c- _0x187fx1d+ _0x187fx3);_0x187fx18[_0x187fx1e+ 4]= Number(_0x187fx1b+ _0x187fx2);_0x187fx18[_0x187fx1e+ 5]= Number(_0x187fx1c+ _0x187fx3);_0x187fx19= _0x187fx1b+ _0x187fx20;_0x187fx1a= _0x187fx1c+ _0x187fx1d};return _0x187fx18},getBoundingBox:function(_0x187fx2,_0x187fx3){var _0x187fx4=null;if(null!= _0x187fx2&& null!= _0x187fx3&& 0!= _0x187fx3){var _0x187fx5=mxUtils[_0x83b3[431]](_0x187fx3),_0x187fx4=Math[_0x83b3[426]](_0x187fx5),_0x187fx9=Math[_0x83b3[427]](_0x187fx5),_0x187fxa= new mxPoint(_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]/ 2,_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]/ 2),_0x187fx12= new mxPoint(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]]),_0x187fx5= new mxPoint(_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]],_0x187fx2[_0x83b3[236]]),_0x187fx13= new mxPoint(_0x187fx5[_0x83b3[235]],_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]),_0x187fx14= new mxPoint(_0x187fx2[_0x83b3[235]],_0x187fx13[_0x83b3[236]]),_0x187fx12=mxUtils[_0x83b3[432]](_0x187fx12,_0x187fx4,_0x187fx9,_0x187fxa),_0x187fx5=mxUtils[_0x83b3[432]](_0x187fx5,_0x187fx4,_0x187fx9,_0x187fxa),_0x187fx13=mxUtils[_0x83b3[432]](_0x187fx13,_0x187fx4,_0x187fx9,_0x187fxa),_0x187fx14=mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx4,_0x187fx9,_0x187fxa),_0x187fx4= new mxRectangle(_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],0,0);_0x187fx4[_0x83b3[99]]( new mxRectangle(_0x187fx5[_0x83b3[235]],_0x187fx5[_0x83b3[236]],0,0));_0x187fx4[_0x83b3[99]]( new mxRectangle(_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],0,0));_0x187fx4[_0x83b3[99]]( new mxRectangle(_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]],0,0))};return _0x187fx4},getRotatedPoint:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx5= null!= _0x187fx5?_0x187fx5: new mxPoint;var _0x187fx9=_0x187fx2[_0x83b3[235]]- _0x187fx5[_0x83b3[235]];_0x187fx2= _0x187fx2[_0x83b3[236]]- _0x187fx5[_0x83b3[236]];return new mxPoint(_0x187fx9* _0x187fx3- _0x187fx2* _0x187fx4+ _0x187fx5[_0x83b3[235]],_0x187fx2* _0x187fx3+ _0x187fx9* _0x187fx4+ _0x187fx5[_0x83b3[236]])},getPortConstraints:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx2= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_PORT_CONSTRAINT,null);if(null== _0x187fx2){return _0x187fx5};_0x187fx5= _0x187fx2.toString();_0x187fx2= mxConstants[_0x83b3[434]];0<= _0x187fx5[_0x83b3[2]](mxConstants.DIRECTION_NORTH)&& (_0x187fx2|= mxConstants[_0x83b3[435]]);0<= _0x187fx5[_0x83b3[2]](mxConstants.DIRECTION_WEST)&& (_0x187fx2|= mxConstants[_0x83b3[436]]);0<= _0x187fx5[_0x83b3[2]](mxConstants.DIRECTION_SOUTH)&& (_0x187fx2|= mxConstants[_0x83b3[437]]);0<= _0x187fx5[_0x83b3[2]](mxConstants.DIRECTION_EAST)&& (_0x187fx2|= mxConstants[_0x83b3[438]]);return _0x187fx2},reversePortConstraints:function(_0x187fx2){var _0x187fx3=0,_0x187fx3=(_0x187fx2& mxConstants[_0x83b3[436]])<< 3,_0x187fx3=_0x187fx3| (_0x187fx2& mxConstants[_0x83b3[435]])<< 1,_0x187fx3=_0x187fx3| (_0x187fx2& mxConstants[_0x83b3[437]])>> 1;return _0x187fx3|= (_0x187fx2& mxConstants[_0x83b3[438]])>> 3},findNearestSegment:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=-1;if(0< _0x187fx2[_0x83b3[439]][_0x83b3[67]]){for(var _0x187fx9=_0x187fx2[_0x83b3[439]][0],_0x187fxa=null,_0x187fx12=1;_0x187fx12< _0x187fx2[_0x83b3[439]][_0x83b3[67]];_0x187fx12++){var _0x187fx13=_0x187fx2[_0x83b3[439]][_0x187fx12],_0x187fx9=mxUtils[_0x83b3[440]](_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],_0x187fx3,_0x187fx4);if(null== _0x187fxa|| _0x187fx9< _0x187fxa){_0x187fxa= _0x187fx9,_0x187fx5= _0x187fx12- 1};_0x187fx9= _0x187fx13}};return _0x187fx5},rectangleIntersectsSegment:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[236]],_0x187fx9=_0x187fx2[_0x83b3[235]],_0x187fxa=_0x187fx5+ _0x187fx2[_0x83b3[119]],_0x187fx12=_0x187fx9+ _0x187fx2[_0x83b3[117]];_0x187fx2= _0x187fx3[_0x83b3[235]];var _0x187fx13=_0x187fx4[_0x83b3[235]];_0x187fx3[_0x83b3[235]]> _0x187fx4[_0x83b3[235]]&& (_0x187fx2= _0x187fx4[_0x83b3[235]],_0x187fx13= _0x187fx3[_0x83b3[235]]);_0x187fx13> _0x187fx12&& (_0x187fx13= _0x187fx12);_0x187fx2< _0x187fx9&& (_0x187fx2= _0x187fx9);if(_0x187fx2> _0x187fx13){return !1};var _0x187fx9=_0x187fx3[_0x83b3[236]],_0x187fx12=_0x187fx4[_0x83b3[236]],_0x187fx14=_0x187fx4[_0x83b3[235]]- _0x187fx3[_0x83b3[235]];1E-7< Math[_0x83b3[425]](_0x187fx14)&& (_0x187fx4= (_0x187fx4[_0x83b3[236]]- _0x187fx3[_0x83b3[236]])/ _0x187fx14,_0x187fx3= _0x187fx3[_0x83b3[236]]- _0x187fx4* _0x187fx3[_0x83b3[235]],_0x187fx9= _0x187fx4* _0x187fx2+ _0x187fx3,_0x187fx12= _0x187fx4* _0x187fx13+ _0x187fx3);_0x187fx9> _0x187fx12&& (_0x187fx3= _0x187fx12,_0x187fx12= _0x187fx9,_0x187fx9= _0x187fx3);_0x187fx12> _0x187fxa&& (_0x187fx12= _0x187fxa);_0x187fx9< _0x187fx5&& (_0x187fx9= _0x187fx5);return _0x187fx9> _0x187fx12?!1:!0},contains:function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx2[_0x83b3[235]]<= _0x187fx3&& _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]>= _0x187fx3&& _0x187fx2[_0x83b3[236]]<= _0x187fx4&& _0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]>= _0x187fx4},intersects:function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[117]],_0x187fx5=_0x187fx2[_0x83b3[119]],_0x187fx9=_0x187fx3[_0x83b3[117]],_0x187fxa=_0x187fx3[_0x83b3[119]];if(0>= _0x187fx9|| 0>= _0x187fxa|| 0>= _0x187fx4|| 0>= _0x187fx5){return !1};var _0x187fx12=_0x187fx2[_0x83b3[235]],_0x187fx13=_0x187fx2[_0x83b3[236]],_0x187fx14=_0x187fx3[_0x83b3[235]],_0x187fx15=_0x187fx3[_0x83b3[236]],_0x187fx9=_0x187fx9+ _0x187fx14,_0x187fxa=_0x187fxa+ _0x187fx15,_0x187fx4=_0x187fx4+ _0x187fx12,_0x187fx5=_0x187fx5+ _0x187fx13;return (_0x187fx9< _0x187fx14|| _0x187fx9> _0x187fx12)&& (_0x187fxa< _0x187fx15|| _0x187fxa> _0x187fx13)&& (_0x187fx4< _0x187fx12|| _0x187fx4> _0x187fx14)&& (_0x187fx5< _0x187fx13|| _0x187fx5> _0x187fx15)},intersectsHotspot:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx5= null!= _0x187fx5?_0x187fx5:1;_0x187fx9= null!= _0x187fx9?_0x187fx9:0;_0x187fxa= null!= _0x187fxa?_0x187fxa:0;if(0< _0x187fx5){var _0x187fx12=_0x187fx2[_0x83b3[241]](),_0x187fx13=_0x187fx2[_0x83b3[242]](),_0x187fx14=_0x187fx2[_0x83b3[117]],_0x187fx15=_0x187fx2[_0x83b3[119]],_0x187fx16=mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_STARTSIZE)* _0x187fx2[_0x83b3[441]][_0x83b3[255]];0< _0x187fx16&& (mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_HORIZONTAL,!0)?(_0x187fx13= _0x187fx2[_0x83b3[236]]+ _0x187fx16/ 2,_0x187fx15= _0x187fx16):(_0x187fx12= _0x187fx2[_0x83b3[235]]+ _0x187fx16/ 2,_0x187fx14= _0x187fx16));_0x187fx14= Math[_0x83b3[160]](_0x187fx9,_0x187fx14* _0x187fx5);_0x187fx15= Math[_0x83b3[160]](_0x187fx9,_0x187fx15* _0x187fx5);0< _0x187fxa&& (_0x187fx14= Math[_0x83b3[243]](_0x187fx14,_0x187fxa),_0x187fx15= Math[_0x83b3[243]](_0x187fx15,_0x187fxa));_0x187fx5= new mxRectangle(_0x187fx12- _0x187fx14/ 2,_0x187fx13- _0x187fx15/ 2,_0x187fx14,_0x187fx15);_0x187fx12= mxUtils[_0x83b3[431]](mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION)|| 0);0!= _0x187fx12&& (_0x187fx9= Math[_0x83b3[426]](-_0x187fx12),_0x187fxa= Math[_0x83b3[427]](-_0x187fx12),_0x187fx12= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]()),_0x187fx2= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx3,_0x187fx4),_0x187fx9,_0x187fxa,_0x187fx12),_0x187fx3= _0x187fx2[_0x83b3[235]],_0x187fx4= _0x187fx2[_0x83b3[236]]);return mxUtils[_0x83b3[442]](_0x187fx5,_0x187fx3,_0x187fx4)};return !0},getOffset:function(_0x187fx2,_0x187fx3){var _0x187fx4=0,_0x187fx5=0;if(null!= _0x187fx3&& _0x187fx3){var _0x187fx9=document[_0x83b3[112]],_0x187fxa=document[_0x83b3[158]],_0x187fx4=_0x187fx4+ (_0x187fx9[_0x83b3[360]]|| _0x187fxa[_0x83b3[360]]),_0x187fx5=_0x187fx5+ (_0x187fx9[_0x83b3[190]]|| _0x187fxa[_0x83b3[190]])};for(;_0x187fx2[_0x83b3[443]];){_0x187fx4+= _0x187fx2[_0x83b3[358]],_0x187fx5+= _0x187fx2[_0x83b3[362]],_0x187fx2= _0x187fx2[_0x83b3[443]]};return new mxPoint(_0x187fx4,_0x187fx5)},getScrollOrigin:function(_0x187fx2){for(var _0x187fx3=document[_0x83b3[112]],_0x187fx4=document[_0x83b3[158]],_0x187fx5= new mxPoint(_0x187fx3[_0x83b3[360]]|| _0x187fx4[_0x83b3[360]],_0x187fx3[_0x83b3[190]]|| _0x187fx4[_0x83b3[190]]);null!= _0x187fx2&& _0x187fx2!= _0x187fx3&& _0x187fx2!= _0x187fx4;){!isNaN(_0x187fx2[_0x83b3[360]])&& !isNaN(_0x187fx2[_0x83b3[190]])&& (_0x187fx5[_0x83b3[235]]+= _0x187fx2[_0x83b3[360]],_0x187fx5[_0x83b3[236]]+= _0x187fx2[_0x83b3[190]]),_0x187fx2= _0x187fx2[_0x83b3[265]]};return _0x187fx5},convertPoint:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=mxUtils[_0x83b3[444]](_0x187fx2);_0x187fx2= mxUtils[_0x83b3[445]](_0x187fx2);_0x187fx2[_0x83b3[235]]-= _0x187fx5[_0x83b3[235]];_0x187fx2[_0x83b3[236]]-= _0x187fx5[_0x83b3[236]];return new mxPoint(_0x187fx3- _0x187fx2[_0x83b3[235]],_0x187fx4- _0x187fx2[_0x83b3[236]])},ltrim:function(_0x187fx2,_0x187fx3){return _0x187fx2[_0x83b3[230]](RegExp(_0x83b3[446]+ (_0x187fx3|| _0x83b3[447])+ _0x83b3[448],_0x83b3[449]),_0x83b3[110])},rtrim:function(_0x187fx2,_0x187fx3){return _0x187fx2[_0x83b3[230]](RegExp(_0x83b3[450]+ (_0x187fx3|| _0x83b3[447])+ _0x83b3[451],_0x83b3[449]),_0x83b3[110])},trim:function(_0x187fx2,_0x187fx3){return mxUtils[_0x83b3[453]](mxUtils[_0x83b3[452]](_0x187fx2,_0x187fx3),_0x187fx3)},isNumeric:function(_0x187fx2){return null!= _0x187fx2&& (null== _0x187fx2[_0x83b3[67]]|| 0< _0x187fx2[_0x83b3[67]]&& 0> _0x187fx2[_0x83b3[2]](_0x83b3[454])&& 0> _0x187fx2[_0x83b3[2]](_0x83b3[455]))&& !isNaN(_0x187fx2)},mod:function(_0x187fx2,_0x187fx3){return (_0x187fx2% _0x187fx3+ _0x187fx3)% _0x187fx3},intersection:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){var _0x187fx14=(_0x187fx13- _0x187fxa)* (_0x187fx4- _0x187fx2)- (_0x187fx12- _0x187fx9)* (_0x187fx5- _0x187fx3);_0x187fx12= ((_0x187fx12- _0x187fx9)* (_0x187fx3- _0x187fxa)- (_0x187fx13- _0x187fxa)* (_0x187fx2- _0x187fx9))/ _0x187fx14;_0x187fx9= ((_0x187fx4- _0x187fx2)* (_0x187fx3- _0x187fxa)- (_0x187fx5- _0x187fx3)* (_0x187fx2- _0x187fx9))/ _0x187fx14;return 0<= _0x187fx12&& 1>= _0x187fx12&& 0<= _0x187fx9&& 1>= _0x187fx9? new mxPoint(_0x187fx2+ _0x187fx12* (_0x187fx4- _0x187fx2),_0x187fx3+ _0x187fx12* (_0x187fx5- _0x187fx3)):null},ptSegDistSq:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx4-= _0x187fx2;_0x187fx5-= _0x187fx3;_0x187fx9-= _0x187fx2;_0x187fxa-= _0x187fx3;0>= _0x187fx9* _0x187fx4+ _0x187fxa* _0x187fx5?_0x187fx4= 0:(_0x187fx9= _0x187fx4- _0x187fx9,_0x187fxa= _0x187fx5- _0x187fxa,_0x187fx2= _0x187fx9* _0x187fx4+ _0x187fxa* _0x187fx5,_0x187fx4= 0>= _0x187fx2?0:_0x187fx2* _0x187fx2/ (_0x187fx4* _0x187fx4+ _0x187fx5* _0x187fx5));_0x187fx9= _0x187fx9* _0x187fx9+ _0x187fxa* _0x187fxa- _0x187fx4;0> _0x187fx9&& (_0x187fx9= 0);return _0x187fx9},relativeCcw:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx4-= _0x187fx2;_0x187fx5-= _0x187fx3;_0x187fx9-= _0x187fx2;_0x187fxa-= _0x187fx3;_0x187fx2= _0x187fx9* _0x187fx5- _0x187fxa* _0x187fx4;0== _0x187fx2&& (_0x187fx2= _0x187fx9* _0x187fx4+ _0x187fxa* _0x187fx5,0< _0x187fx2&& (_0x187fx2= (_0x187fx9- _0x187fx4)* _0x187fx4+ (_0x187fxa- _0x187fx5)* _0x187fx5,0> _0x187fx2&& (_0x187fx2= 0)));return 0> _0x187fx2?-1:0< _0x187fx2?1:0},animateChanges:function(_0x187fx2,_0x187fx3){mxEffects[_0x83b3[456]][_0x83b3[183]](this,arguments)},cascadeOpacity:function(_0x187fx2,_0x187fx3,_0x187fx4){mxEffects[_0x83b3[260]][_0x83b3[183]](this,arguments)},fadeOut:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){mxEffects[_0x83b3[457]][_0x83b3[183]](this,arguments)},setOpacity:function(_0x187fx2,_0x187fx3){mxUtils[_0x83b3[458]](_0x187fx2)?_0x187fx2[_0x83b3[124]][_0x83b3[347]]= 100<= _0x187fx3?null:_0x83b3[459]+ _0x187fx3/ 5+ _0x83b3[460]:mxClient[_0x83b3[80]]&& (_0x83b3[82]=== typeof document[_0x83b3[5]]|| 9> document[_0x83b3[5]])?_0x187fx2[_0x83b3[124]][_0x83b3[347]]= 100<= _0x187fx3?null:_0x83b3[459]+ _0x187fx3+ _0x83b3[460]:_0x187fx2[_0x83b3[124]][_0x83b3[461]]= _0x187fx3/ 100},createImage:function(_0x187fx2){var _0x187fx3=null;mxClient[_0x83b3[49]]&& _0x83b3[462]!= document[_0x83b3[135]]?(_0x187fx3= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[464]),_0x187fx3[_0x83b3[57]](_0x83b3[390],_0x187fx2),_0x187fx3[_0x83b3[124]][_0x83b3[465]]= _0x83b3[130]):(_0x187fx3= document[_0x83b3[55]](_0x83b3[466]),_0x187fx3[_0x83b3[57]](_0x83b3[390],_0x187fx2),_0x187fx3[_0x83b3[57]](_0x83b3[467],_0x83b3[468]));return _0x187fx3},sortCells:function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;var _0x187fx4= new mxDictionary;_0x187fx2[_0x83b3[470]](function(_0x187fx2,_0x187fx9){var _0x187fxa=_0x187fx4[_0x83b3[203]](_0x187fx2);null== _0x187fxa&& (_0x187fxa= mxCellPath[_0x83b3[385]](_0x187fx2)[_0x83b3[224]](mxCellPath.PATH_SEPARATOR),_0x187fx4[_0x83b3[204]](_0x187fx2,_0x187fxa));var _0x187fx12=_0x187fx4[_0x83b3[203]](_0x187fx9);null== _0x187fx12&& (_0x187fx12= mxCellPath[_0x83b3[385]](_0x187fx9)[_0x83b3[224]](mxCellPath.PATH_SEPARATOR),_0x187fx4[_0x83b3[204]](_0x187fx9,_0x187fx12));_0x187fxa= mxCellPath[_0x83b3[469]](_0x187fxa,_0x187fx12);return 0== _0x187fxa?0:0< _0x187fxa== _0x187fx3?1:-1});return _0x187fx2},getStylename:function(_0x187fx2){return null!= _0x187fx2&& (_0x187fx2= _0x187fx2[_0x83b3[224]](_0x83b3[471])[0],0> _0x187fx2[_0x83b3[2]](_0x83b3[226]))?_0x187fx2:_0x83b3[110]},getStylenames:function(_0x187fx2){var _0x187fx3=[];if(null!= _0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[224]](_0x83b3[471]);for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){0> _0x187fx2[_0x187fx4][_0x83b3[2]](_0x83b3[226])&& _0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx4])}};return _0x187fx3},indexOfStylename:function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& null!= _0x187fx3){for(var _0x187fx4=_0x187fx2[_0x83b3[224]](_0x83b3[471]),_0x187fx5=0,_0x187fx9=0;_0x187fx9< _0x187fx4[_0x83b3[67]];_0x187fx9++){if(_0x187fx4[_0x187fx9]== _0x187fx3){return _0x187fx5};_0x187fx5+= _0x187fx4[_0x187fx9][_0x83b3[67]]+ 1}};return -1},addStylename:function(_0x187fx2,_0x187fx3){0> mxUtils[_0x83b3[472]](_0x187fx2,_0x187fx3)&& (null== _0x187fx2?_0x187fx2= _0x83b3[110]:0< _0x187fx2[_0x83b3[67]]&& _0x83b3[471]!= _0x187fx2[_0x83b3[225]](_0x187fx2[_0x83b3[67]]- 1)&& (_0x187fx2+= _0x83b3[471]),_0x187fx2+= _0x187fx3);return _0x187fx2},removeStylename:function(_0x187fx2,_0x187fx3){var _0x187fx4=[];if(null!= _0x187fx2){for(var _0x187fx5=_0x187fx2[_0x83b3[224]](_0x83b3[471]),_0x187fx9=0;_0x187fx9< _0x187fx5[_0x83b3[67]];_0x187fx9++){_0x187fx5[_0x187fx9]!= _0x187fx3&& _0x187fx4[_0x83b3[207]](_0x187fx5[_0x187fx9])}};return _0x187fx4[_0x83b3[234]](_0x83b3[471])},removeAllStylenames:function(_0x187fx2){var _0x187fx3=[];if(null!= _0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[224]](_0x83b3[471]);for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){0<= _0x187fx2[_0x187fx4][_0x83b3[2]](_0x83b3[226])&& _0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx4])}};return _0x187fx3[_0x83b3[234]](_0x83b3[471])},setCellStyles:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]){_0x187fx2[_0x83b3[473]]();try{for(var _0x187fx9=0;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){if(null!= _0x187fx3[_0x187fx9]){var _0x187fxa=mxUtils[_0x83b3[475]](_0x187fx2[_0x83b3[474]](_0x187fx3[_0x187fx9]),_0x187fx4,_0x187fx5);_0x187fx2[_0x83b3[475]](_0x187fx3[_0x187fx9],_0x187fxa)}}}finally{_0x187fx2[_0x83b3[476]]()}}},setStyle:function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=null!= _0x187fx4&& (_0x83b3[82]== typeof _0x187fx4[_0x83b3[67]]|| 0< _0x187fx4[_0x83b3[67]]);if(null== _0x187fx2|| 0== _0x187fx2[_0x83b3[67]]){_0x187fx5&& (_0x187fx2= _0x187fx3+ _0x83b3[226]+ _0x187fx4)}else {var _0x187fx9=_0x187fx2[_0x83b3[2]](_0x187fx3+ _0x83b3[226]);0> _0x187fx9?_0x187fx5&& (_0x187fx5= _0x83b3[471]== _0x187fx2[_0x83b3[225]](_0x187fx2[_0x83b3[67]]- 1)?_0x83b3[110]:_0x83b3[471],_0x187fx2= _0x187fx2+ _0x187fx5+ _0x187fx3+ _0x83b3[226]+ _0x187fx4):(_0x187fx3= _0x187fx5?_0x187fx3+ _0x83b3[226]+ _0x187fx4:_0x83b3[110],_0x187fx4= _0x187fx2[_0x83b3[2]](_0x83b3[471],_0x187fx9),_0x187fx5|| _0x187fx4++,_0x187fx2= _0x187fx2[_0x83b3[85]](0,_0x187fx9)+ _0x187fx3+ (_0x187fx4> _0x187fx9?_0x187fx2[_0x83b3[85]](_0x187fx4):_0x83b3[110]))};return _0x187fx2},setCellStyleFlags:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]){_0x187fx2[_0x83b3[473]]();try{for(var _0x187fxa=0;_0x187fxa< _0x187fx3[_0x83b3[67]];_0x187fxa++){if(null!= _0x187fx3[_0x187fxa]){var _0x187fx12=mxUtils[_0x83b3[477]](_0x187fx2[_0x83b3[474]](_0x187fx3[_0x187fxa]),_0x187fx4,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[475]](_0x187fx3[_0x187fxa],_0x187fx12)}}}finally{_0x187fx2[_0x83b3[476]]()}}},setStyleFlag:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null== _0x187fx2|| 0== _0x187fx2[_0x83b3[67]]){_0x187fx2= _0x187fx5|| null== _0x187fx5?_0x187fx3+ _0x83b3[226]+ _0x187fx4:_0x187fx3+ _0x83b3[478]}else {var _0x187fx9=_0x187fx2[_0x83b3[2]](_0x187fx3+ _0x83b3[226]);if(0> _0x187fx9){_0x187fx9= _0x83b3[471]== _0x187fx2[_0x83b3[225]](_0x187fx2[_0x83b3[67]]- 1)?_0x83b3[110]:_0x83b3[471],_0x187fx2= _0x187fx5|| null== _0x187fx5?_0x187fx2+ _0x187fx9+ _0x187fx3+ _0x83b3[226]+ _0x187fx4:_0x187fx2+ _0x187fx9+ _0x187fx3+ _0x83b3[478]}else {var _0x187fxa=_0x187fx2[_0x83b3[2]](_0x83b3[471],_0x187fx9),_0x187fx12=_0x83b3[110],_0x187fx12=0> _0x187fxa?_0x187fx2[_0x83b3[85]](_0x187fx9+ _0x187fx3[_0x83b3[67]]+ 1):_0x187fx2[_0x83b3[85]](_0x187fx9+ _0x187fx3[_0x83b3[67]]+ 1,_0x187fxa),_0x187fx12=null== _0x187fx5?parseInt(_0x187fx12)^ _0x187fx4:_0x187fx5?parseInt(_0x187fx12)| _0x187fx4:parseInt(_0x187fx12)& ~_0x187fx4;_0x187fx2= _0x187fx2[_0x83b3[85]](0,_0x187fx9)+ _0x187fx3+ _0x83b3[226]+ _0x187fx12+ (0<= _0x187fxa?_0x187fx2[_0x83b3[85]](_0x187fxa):_0x83b3[110])}};return _0x187fx2},getAlignmentAsPoint:function(_0x187fx2,_0x187fx3){var _0x187fx4=0,_0x187fx5=0;_0x187fx2== mxConstants[_0x83b3[479]]?_0x187fx4= -0.5:_0x187fx2== mxConstants[_0x83b3[480]]&& (_0x187fx4= -1);_0x187fx3== mxConstants[_0x83b3[481]]?_0x187fx5= -0.5:_0x187fx3== mxConstants[_0x83b3[482]]&& (_0x187fx5= -1);return new mxPoint(_0x187fx4,_0x187fx5)},getSizeForString:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= null!= _0x187fx3?_0x187fx3:mxConstants[_0x83b3[483]];_0x187fx4= null!= _0x187fx4?_0x187fx4:mxConstants[_0x83b3[484]];var _0x187fx5=document[_0x83b3[55]](_0x83b3[485]);_0x187fx5[_0x83b3[124]][_0x83b3[486]]= _0x187fx4;_0x187fx5[_0x83b3[124]][_0x83b3[487]]= Math[_0x83b3[488]](_0x187fx3)+ _0x83b3[168];_0x187fx5[_0x83b3[124]][_0x83b3[489]]= Math[_0x83b3[488]](_0x187fx3* mxConstants[_0x83b3[490]])+ _0x83b3[168];_0x187fx5[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx5[_0x83b3[124]][_0x83b3[493]]= _0x83b3[494];_0x187fx5[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];_0x187fx5[_0x83b3[124]][_0x83b3[495]]= mxClient[_0x83b3[496]]?_0x83b3[497]:_0x83b3[498];_0x187fx5[_0x83b3[124]][_0x83b3[499]]= _0x83b3[500];_0x187fx5[_0x83b3[339]]= _0x187fx2;document[_0x83b3[112]][_0x83b3[62]](_0x187fx5);_0x187fx2= new mxRectangle(0,0,_0x187fx5[_0x83b3[359]],_0x187fx5[_0x83b3[167]]);document[_0x83b3[112]][_0x83b3[266]](_0x187fx5);return _0x187fx2},getViewXml:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx5= null!= _0x187fx5?_0x187fx5:0;_0x187fx9= null!= _0x187fx9?_0x187fx9:0;_0x187fx3= null!= _0x187fx3?_0x187fx3:1;null== _0x187fx4&& (_0x187fx4= [_0x187fx2[_0x83b3[502]]()[_0x83b3[501]]()]);var _0x187fxa=_0x187fx2[_0x83b3[249]](),_0x187fx12=null,_0x187fx13=_0x187fxa[_0x83b3[503]]();_0x187fxa[_0x83b3[504]](!1);var _0x187fx14=_0x187fxa[_0x83b3[505]],_0x187fx15=_0x187fxa[_0x83b3[506]];_0x187fx2[_0x83b3[507]]== mxConstants[_0x83b3[508]]?(_0x187fxa[_0x83b3[505]]= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449]),_0x187fxa[_0x83b3[510]][_0x83b3[62]](_0x187fxa[_0x83b3[505]]),_0x187fxa[_0x83b3[506]]= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449])):(_0x187fxa[_0x83b3[505]]= _0x187fxa[_0x83b3[505]][_0x83b3[511]](!1),_0x187fxa[_0x83b3[510]][_0x83b3[62]](_0x187fxa[_0x83b3[505]]),_0x187fxa[_0x83b3[506]]= _0x187fxa[_0x83b3[506]][_0x83b3[511]](!1));_0x187fxa[_0x83b3[510]][_0x83b3[62]](_0x187fxa[_0x83b3[506]]);var _0x187fx16=_0x187fxa[_0x83b3[512]]();_0x187fxa[_0x83b3[513]]= new mxPoint(_0x187fx5,_0x187fx9);_0x187fx3= new mxTemporaryCellStates(_0x187fx2[_0x83b3[249]](),_0x187fx3,_0x187fx4);try{_0x187fx12= ( new mxCodec)[_0x83b3[514]](_0x187fx2[_0x83b3[249]]())}finally{_0x187fx3[_0x83b3[515]](),_0x187fxa[_0x83b3[513]]= _0x187fx16,_0x187fxa[_0x83b3[510]][_0x83b3[266]](_0x187fxa[_0x83b3[505]]),_0x187fxa[_0x83b3[510]][_0x83b3[266]](_0x187fxa[_0x83b3[506]]),_0x187fxa[_0x83b3[505]]= _0x187fx14,_0x187fxa[_0x83b3[506]]= _0x187fx15,_0x187fxa[_0x83b3[504]](_0x187fx13)};return _0x187fx12},getScaleForPageCount:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(1> _0x187fx2){return 1};_0x187fx4= null!= _0x187fx4?_0x187fx4:mxConstants[_0x83b3[516]];_0x187fx5= null!= _0x187fx5?_0x187fx5:0;var _0x187fx9=_0x187fx4[_0x83b3[117]]- 2* _0x187fx5;_0x187fx4= _0x187fx4[_0x83b3[119]]- 2* _0x187fx5;_0x187fx5= _0x187fx3[_0x83b3[517]]()[_0x83b3[238]]();_0x187fx3= _0x187fx3[_0x83b3[249]]()[_0x83b3[518]]();_0x187fx5[_0x83b3[117]]/= _0x187fx3;_0x187fx5[_0x83b3[119]]/= _0x187fx3;_0x187fx3= _0x187fx5[_0x83b3[117]];_0x187fx4= _0x187fx3/ _0x187fx5[_0x83b3[119]]/ (_0x187fx9/ _0x187fx4);_0x187fx5= Math[_0x83b3[428]](_0x187fx2);var _0x187fxa=Math[_0x83b3[428]](_0x187fx4);_0x187fx4= _0x187fx5* _0x187fxa;_0x187fx5/= _0x187fxa;if(1> _0x187fx4&& _0x187fx5> _0x187fx2){var _0x187fx12=_0x187fx5/ _0x187fx2;_0x187fx5= _0x187fx2;_0x187fx4/= _0x187fx12};1> _0x187fx5&& _0x187fx4> _0x187fx2&& (_0x187fx12= _0x187fx4/ _0x187fx2,_0x187fx4= _0x187fx2,_0x187fx5/= _0x187fx12);_0x187fx12= Math[_0x83b3[430]](_0x187fx4)* Math[_0x83b3[430]](_0x187fx5);for(_0x187fxa= 0;_0x187fx12> _0x187fx2;){var _0x187fx12=Math[_0x83b3[519]](_0x187fx4)/ _0x187fx4,_0x187fx13=Math[_0x83b3[519]](_0x187fx5)/ _0x187fx5;1== _0x187fx12&& (_0x187fx12= Math[_0x83b3[519]](_0x187fx4- 1)/ _0x187fx4);1== _0x187fx13&& (_0x187fx13= Math[_0x83b3[519]](_0x187fx5- 1)/ _0x187fx5);_0x187fx12= _0x187fx12> _0x187fx13?_0x187fx12:_0x187fx13;_0x187fx4*= _0x187fx12;_0x187fx5*= _0x187fx12;_0x187fx12= Math[_0x83b3[430]](_0x187fx4)* Math[_0x83b3[430]](_0x187fx5);_0x187fxa++;if(10< _0x187fxa){break}};return 0.99999* (_0x187fx9* _0x187fx4/ _0x187fx3)},show:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx4= null!= _0x187fx4?_0x187fx4:0;_0x187fx5= null!= _0x187fx5?_0x187fx5:0;null== _0x187fx3?_0x187fx3= window[_0x83b3[392]]()[_0x83b3[395]]:_0x187fx3[_0x83b3[392]]();var _0x187fx9=_0x187fx2[_0x83b3[517]]();_0x187fx4= -_0x187fx9[_0x83b3[235]]+ _0x187fx4;_0x187fx5= -_0x187fx9[_0x83b3[236]]+ _0x187fx5;if(mxClient[_0x83b3[80]]){for(var _0x187fx9=_0x83b3[520],_0x187fxa=document[_0x83b3[64]](_0x83b3[521]),_0x187fx12=0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){_0x187fx9+= _0x187fxa[_0x187fx12][_0x83b3[342]]};_0x187fx9+= _0x83b3[522];for(_0x187fx12= 0;_0x187fx12< document[_0x83b3[523]][_0x83b3[67]];_0x187fx12++){try{_0x187fx9+= document[_0x83b3[523]](_0x187fx12)[_0x83b3[103]]}catch(h){}};_0x187fx9+= _0x83b3[524];_0x187fx9+= _0x83b3[525];_0x187fx9+= _0x187fx2[_0x83b3[526]][_0x83b3[339]];_0x187fx9+= _0x83b3[527];_0x187fx9+= _0x83b3[528];_0x187fx3[_0x83b3[171]](_0x187fx9);_0x187fx3[_0x83b3[268]]();_0x187fx2= _0x187fx3[_0x83b3[112]][_0x83b3[64]](_0x83b3[529])[0];null!= _0x187fx2&& (_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492],_0x187fx2[_0x83b3[124]][_0x83b3[361]]= _0x187fx4+ _0x83b3[168],_0x187fx2[_0x83b3[124]][_0x83b3[125]]= _0x187fx5+ _0x83b3[168])}else {_0x187fx3[_0x83b3[171]](_0x83b3[530]);_0x187fx3[_0x83b3[171]](_0x83b3[531]);_0x187fxa= document[_0x83b3[64]](_0x83b3[521]);for(_0x187fx12= 0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){_0x187fx3[_0x83b3[171]](mxUtils[_0x83b3[532]](_0x187fxa[_0x187fx12]))};_0x187fxa= document[_0x83b3[64]](_0x83b3[54]);for(_0x187fx12= 0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){_0x187fx3[_0x83b3[171]](mxUtils[_0x83b3[532]](_0x187fxa[_0x187fx12]))};_0x187fxa= document[_0x83b3[64]](_0x83b3[124]);for(_0x187fx12= 0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){_0x187fx3[_0x83b3[171]](mxUtils[_0x83b3[532]](_0x187fxa[_0x187fx12]))};_0x187fx3[_0x83b3[171]](_0x83b3[533]);_0x187fx3[_0x83b3[171]](_0x83b3[534]);_0x187fx3[_0x83b3[268]]();null== _0x187fx3[_0x83b3[112]]&& _0x187fx3[_0x83b3[158]][_0x83b3[62]](_0x187fx3[_0x83b3[55]](_0x83b3[112]));_0x187fx3[_0x83b3[112]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[278];for(_0x187fx2= _0x187fx2[_0x83b3[526]][_0x83b3[285]];null!= _0x187fx2;){_0x187fx12= _0x187fx2[_0x83b3[511]](!0),_0x187fx3[_0x83b3[112]][_0x83b3[62]](_0x187fx12),_0x187fx2= _0x187fx2[_0x83b3[287]]};_0x187fx2= _0x187fx3[_0x83b3[64]](_0x83b3[449])[0];null!= _0x187fx2&& (_0x187fx2[_0x83b3[57]](_0x83b3[535],_0x83b3[536]+ _0x187fx4+ _0x83b3[537]+ _0x187fx5+ _0x83b3[460]),_0x187fx4= _0x187fx2[_0x83b3[538]],_0x187fx4[_0x83b3[57]](_0x83b3[117],_0x187fx9[_0x83b3[117]]+ Math[_0x83b3[160]](_0x187fx9[_0x83b3[235]],0)+ 3),_0x187fx4[_0x83b3[57]](_0x83b3[119],_0x187fx9[_0x83b3[119]]+ Math[_0x83b3[160]](_0x187fx9[_0x83b3[236]],0)+ 3))};mxUtils[_0x83b3[272]](_0x187fx3[_0x83b3[112]]);return _0x187fx3},printScreen:function(_0x187fx2){var _0x187fx3=window[_0x83b3[392]]();mxUtils[_0x83b3[539]](_0x187fx2,_0x187fx3[_0x83b3[395]]);_0x187fx2= function(){_0x187fx3[_0x83b3[393]]();_0x187fx3[_0x83b3[540]]();_0x187fx3[_0x83b3[268]]()};mxClient[_0x83b3[76]]?_0x187fx3[_0x83b3[261]](_0x187fx2,500):_0x187fx2()},popup:function(_0x187fx2,_0x187fx3){if(_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[485]);_0x187fx4[_0x83b3[124]][_0x83b3[277]]= _0x83b3[276];_0x187fx4[_0x83b3[124]][_0x83b3[117]]= _0x83b3[541];_0x187fx4[_0x83b3[124]][_0x83b3[119]]= _0x83b3[542];var _0x187fx5=document[_0x83b3[55]](_0x83b3[543]);_0x187fx5[_0x83b3[339]]= mxUtils[_0x83b3[321]](_0x187fx2,!1)[_0x83b3[230]](/\n/g,_0x83b3[545])[_0x83b3[230]](/ /g,_0x83b3[544]);_0x187fx4[_0x83b3[62]](_0x187fx5);_0x187fx4= new mxWindow(_0x83b3[546],_0x187fx4,document[_0x83b3[112]][_0x83b3[159]]/ 2- 320,(document[_0x83b3[112]][_0x83b3[157]]|| document[_0x83b3[158]][_0x83b3[157]])/ 2- 240,640,480,!1,!0);_0x187fx4[_0x83b3[164]](!0);_0x187fx4[_0x83b3[175]](!0)}else {mxClient[_0x83b3[133]]?(_0x187fx4= window[_0x83b3[392]](),_0x187fx4[_0x83b3[395]][_0x83b3[171]](_0x83b3[547]+ mxUtils[_0x83b3[321]](_0x187fx2)+ _0x83b3[548]),_0x187fx4[_0x83b3[395]][_0x83b3[268]]()):(_0x187fx4= window[_0x83b3[392]](),_0x187fx5= _0x187fx4[_0x83b3[395]][_0x83b3[55]](_0x83b3[543]),_0x187fx5[_0x83b3[339]]= mxUtils[_0x83b3[321]](_0x187fx2,!1)[_0x83b3[230]](/\n/g,_0x83b3[545])[_0x83b3[230]](/ /g,_0x83b3[544]),_0x187fx4[_0x83b3[395]][_0x83b3[112]][_0x83b3[62]](_0x187fx5))}},alert:function(_0x187fx2){alert(_0x187fx2)},prompt:function(_0x187fx2,_0x187fx3){return prompt(_0x187fx2,_0x187fx3)},confirm:function(_0x187fx2){return confirm(_0x187fx2)},error:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=document[_0x83b3[55]](_0x83b3[485]);_0x187fx9[_0x83b3[124]][_0x83b3[549]]= _0x83b3[550];var _0x187fxa=document[_0x83b3[55]](_0x83b3[466]);_0x187fxa[_0x83b3[57]](_0x83b3[390],_0x187fx5|| mxUtils[_0x83b3[551]]);_0x187fxa[_0x83b3[57]](_0x83b3[552],_0x83b3[553]);_0x187fxa[_0x83b3[124]][_0x83b3[123]]= _0x83b3[554];_0x187fx9[_0x83b3[62]](_0x187fxa);_0x187fx9[_0x83b3[62]](document[_0x83b3[344]](_0x83b3[555]));_0x187fx9[_0x83b3[62]](document[_0x83b3[344]](_0x83b3[555]));_0x187fx9[_0x83b3[62]](document[_0x83b3[344]](_0x83b3[555]));mxUtils[_0x83b3[53]](_0x187fx9,_0x187fx2);_0x187fx2= document[_0x83b3[112]][_0x83b3[159]];_0x187fx5= document[_0x83b3[112]][_0x83b3[157]]|| document[_0x83b3[158]][_0x83b3[157]];var _0x187fx12= new mxWindow(mxResources[_0x83b3[203]](mxUtils[_0x83b3[556]])|| mxUtils[_0x83b3[556]],_0x187fx9,(_0x187fx2- _0x187fx3)/ 2,_0x187fx5/ 4,_0x187fx3,null,!1,!0);_0x187fx4&& (mxUtils[_0x83b3[345]](_0x187fx9),_0x187fx3= document[_0x83b3[55]](_0x83b3[346]),_0x187fx4= document[_0x83b3[55]](_0x83b3[172]),mxClient[_0x83b3[80]]?_0x187fx4[_0x83b3[124]][_0x83b3[103]]= _0x83b3[557]:_0x187fx4[_0x83b3[57]](_0x83b3[124],_0x83b3[557]),mxEvent[_0x83b3[169]](_0x187fx4,_0x83b3[173],function(_0x187fx2){_0x187fx12[_0x83b3[515]]()}),mxUtils[_0x83b3[53]](_0x187fx4,mxResources[_0x83b3[203]](mxUtils[_0x83b3[558]])|| mxUtils[_0x83b3[558]]),_0x187fx3[_0x83b3[62]](_0x187fx4),_0x187fx9[_0x83b3[62]](_0x187fx3),mxUtils[_0x83b3[345]](_0x187fx9),_0x187fx12[_0x83b3[164]](!0));_0x187fx12[_0x83b3[175]](!0);return _0x187fx12},makeDraggable:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15){_0x187fx2= new mxDragSource(_0x187fx2,_0x187fx4);_0x187fx2[_0x83b3[559]]= new mxPoint(null!= _0x187fx9?_0x187fx9:0,null!= _0x187fxa?_0x187fxa:mxConstants[_0x83b3[560]]);_0x187fx2[_0x83b3[561]]= _0x187fx12;_0x187fx2[_0x83b3[562]](!1);null!= _0x187fx14&& (_0x187fx2[_0x83b3[563]]= _0x187fx14);null!= _0x187fx15&& (_0x187fx2[_0x83b3[564]]= _0x187fx15);_0x187fx2[_0x83b3[565]]= function(_0x187fx2){return _0x83b3[279]== typeof _0x187fx3?_0x187fx3(_0x187fx2):_0x187fx3};null!= _0x187fx5&& (_0x187fx2[_0x83b3[566]]= function(){return _0x187fx5[_0x83b3[511]](!0)},_0x187fx13&& (_0x187fx2[_0x83b3[567]]= function(_0x187fx2){var _0x187fx3=_0x187fx5[_0x83b3[511]](!0),_0x187fx4=parseInt(_0x187fx3[_0x83b3[124]][_0x83b3[117]]),_0x187fx9=parseInt(_0x187fx3[_0x83b3[124]][_0x83b3[119]]);_0x187fx3[_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[488]](_0x187fx4* _0x187fx2[_0x83b3[441]][_0x83b3[255]])+ _0x83b3[168];_0x187fx3[_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[488]](_0x187fx9* _0x187fx2[_0x83b3[441]][_0x83b3[255]])+ _0x83b3[168];return _0x187fx3}));return _0x187fx2}},mxConstants={DEFAULT_HOTSPOT:0.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:_0x83b3[568],RENDERING_HINT_FASTER:_0x83b3[569],RENDERING_HINT_FASTEST:_0x83b3[570],DIALECT_SVG:_0x83b3[571],DIALECT_VML:_0x83b3[572],DIALECT_MIXEDHTML:_0x83b3[573],DIALECT_PREFERHTML:_0x83b3[574],DIALECT_STRICTHTML:_0x83b3[575],NS_SVG:_0x83b3[576],NS_XHTML:_0x83b3[577],NS_XLINK:_0x83b3[578],SHADOWCOLOR:_0x83b3[579],SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_OPACITY:1,NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:_0x83b3[580],DEFAULT_INVALID_COLOR:_0x83b3[581],HIGHLIGHT_STROKEWIDTH:3,CURSOR_MOVABLE_VERTEX:_0x83b3[582],CURSOR_MOVABLE_EDGE:_0x83b3[582],CURSOR_LABEL_HANDLE:_0x83b3[583],CURSOR_BEND_HANDLE:_0x83b3[356],CURSOR_CONNECT:_0x83b3[356],HIGHLIGHT_COLOR:_0x83b3[580],CONNECT_TARGET_COLOR:_0x83b3[584],INVALID_CONNECT_TARGET_COLOR:_0x83b3[581],DROP_TARGET_COLOR:_0x83b3[584],VALID_COLOR:_0x83b3[580],INVALID_COLOR:_0x83b3[581],EDGE_SELECTION_COLOR:_0x83b3[580],VERTEX_SELECTION_COLOR:_0x83b3[580],VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:_0x83b3[581],GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:_0x83b3[585],OUTLINE_STROKEWIDTH:mxClient[_0x83b3[80]]?2:3,HANDLE_SIZE:7,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:_0x83b3[580],HANDLE_STROKECOLOR:_0x83b3[586],LABEL_HANDLE_FILLCOLOR:_0x83b3[587],CONNECT_HANDLE_FILLCOLOR:_0x83b3[584],LOCKED_HANDLE_FILLCOLOR:_0x83b3[581],OUTLINE_HANDLE_FILLCOLOR:_0x83b3[588],OUTLINE_HANDLE_STROKECOLOR:_0x83b3[589],DEFAULT_FONTFAMILY:_0x83b3[590],DEFAULT_FONTSIZE:11,LINE_HEIGHT:1.2,DEFAULT_FONTSTYLE:0,DEFAULT_STARTSIZE:40,DEFAULT_MARKERSIZE:6,DEFAULT_IMAGESIZE:24,ENTITY_SEGMENT:30,RECTANGLE_ROUNDING_FACTOR:0.15,LINE_ARCSIZE:20,ARROW_SPACING:10,ARROW_WIDTH:30,ARROW_SIZE:30,PAGE_FORMAT_A4_PORTRAIT: new mxRectangle(0,0,826,1169),PAGE_FORMAT_A4_LANDSCAPE: new mxRectangle(0,0,1169,826),PAGE_FORMAT_LETTER_PORTRAIT: new mxRectangle(0,0,850,1100),PAGE_FORMAT_LETTER_LANDSCAPE: new mxRectangle(0,0,1100,850),NONE:_0x83b3[130],STYLE_PERIMETER:_0x83b3[591],STYLE_SOURCE_PORT:_0x83b3[592],STYLE_TARGET_PORT:_0x83b3[593],STYLE_PORT_CONSTRAINT:_0x83b3[594],STYLE_OPACITY:_0x83b3[461],STYLE_TEXT_OPACITY:_0x83b3[595],STYLE_OVERFLOW:_0x83b3[277],STYLE_ORTHOGONAL:_0x83b3[596],STYLE_EXIT_X:_0x83b3[597],STYLE_EXIT_Y:_0x83b3[598],STYLE_EXIT_PERIMETER:_0x83b3[599],STYLE_ENTRY_X:_0x83b3[600],STYLE_ENTRY_Y:_0x83b3[601],STYLE_ENTRY_PERIMETER:_0x83b3[602],STYLE_WHITE_SPACE:_0x83b3[493],STYLE_ROTATION:_0x83b3[603],STYLE_FILLCOLOR:_0x83b3[604],STYLE_SWIMLANE_FILLCOLOR:_0x83b3[605],STYLE_GRADIENTCOLOR:_0x83b3[606],STYLE_GRADIENT_DIRECTION:_0x83b3[607],STYLE_STROKECOLOR:_0x83b3[608],STYLE_SEPARATORCOLOR:_0x83b3[609],STYLE_STROKEWIDTH:_0x83b3[610],STYLE_ALIGN:_0x83b3[611],STYLE_VERTICAL_ALIGN:_0x83b3[123],STYLE_LABEL_POSITION:_0x83b3[612],STYLE_VERTICAL_LABEL_POSITION:_0x83b3[613],STYLE_IMAGE_ASPECT:_0x83b3[614],STYLE_IMAGE_ALIGN:_0x83b3[615],STYLE_IMAGE_VERTICAL_ALIGN:_0x83b3[616],STYLE_GLASS:_0x83b3[617],STYLE_IMAGE:_0x83b3[618],STYLE_IMAGE_WIDTH:_0x83b3[619],STYLE_IMAGE_HEIGHT:_0x83b3[620],STYLE_IMAGE_BACKGROUND:_0x83b3[621],STYLE_IMAGE_BORDER:_0x83b3[622],STYLE_FLIPH:_0x83b3[623],STYLE_FLIPV:_0x83b3[624],STYLE_NOLABEL:_0x83b3[625],STYLE_NOEDGESTYLE:_0x83b3[626],STYLE_LABEL_BACKGROUNDCOLOR:_0x83b3[627],STYLE_LABEL_BORDERCOLOR:_0x83b3[628],STYLE_LABEL_PADDING:_0x83b3[629],STYLE_INDICATOR_SHAPE:_0x83b3[630],STYLE_INDICATOR_IMAGE:_0x83b3[631],STYLE_INDICATOR_COLOR:_0x83b3[632],STYLE_INDICATOR_STROKECOLOR:_0x83b3[633],STYLE_INDICATOR_GRADIENTCOLOR:_0x83b3[634],STYLE_INDICATOR_SPACING:_0x83b3[635],STYLE_INDICATOR_WIDTH:_0x83b3[636],STYLE_INDICATOR_HEIGHT:_0x83b3[637],STYLE_INDICATOR_DIRECTION:_0x83b3[638],STYLE_SHADOW:_0x83b3[639],STYLE_SEGMENT:_0x83b3[640],STYLE_ENDARROW:_0x83b3[641],STYLE_STARTARROW:_0x83b3[642],STYLE_ENDSIZE:_0x83b3[643],STYLE_STARTSIZE:_0x83b3[644],STYLE_SWIMLANE_LINE:_0x83b3[645],STYLE_ENDFILL:_0x83b3[646],STYLE_STARTFILL:_0x83b3[647],STYLE_DASHED:_0x83b3[648],STYLE_DASH_PATTERN:_0x83b3[649],STYLE_ROUNDED:_0x83b3[650],STYLE_CURVED:_0x83b3[651],STYLE_ARCSIZE:_0x83b3[652],STYLE_SMOOTH:_0x83b3[653],STYLE_SOURCE_PERIMETER_SPACING:_0x83b3[654],STYLE_TARGET_PERIMETER_SPACING:_0x83b3[655],STYLE_PERIMETER_SPACING:_0x83b3[656],STYLE_SPACING:_0x83b3[657],STYLE_SPACING_TOP:_0x83b3[658],STYLE_SPACING_LEFT:_0x83b3[659],STYLE_SPACING_BOTTOM:_0x83b3[660],STYLE_SPACING_RIGHT:_0x83b3[661],STYLE_HORIZONTAL:_0x83b3[662],STYLE_DIRECTION:_0x83b3[663],STYLE_ELBOW:_0x83b3[664],STYLE_FONTCOLOR:_0x83b3[665],STYLE_FONTFAMILY:_0x83b3[486],STYLE_FONTSIZE:_0x83b3[487],STYLE_FONTSTYLE:_0x83b3[666],STYLE_AUTOSIZE:_0x83b3[667],STYLE_FOLDABLE:_0x83b3[668],STYLE_EDITABLE:_0x83b3[669],STYLE_BENDABLE:_0x83b3[670],STYLE_MOVABLE:_0x83b3[671],STYLE_RESIZABLE:_0x83b3[672],STYLE_CLONEABLE:_0x83b3[673],STYLE_DELETABLE:_0x83b3[674],STYLE_SHAPE:_0x83b3[253],STYLE_EDGE:_0x83b3[675],STYLE_LOOP:_0x83b3[676],STYLE_ROUTING_CENTER_X:_0x83b3[677],STYLE_ROUTING_CENTER_Y:_0x83b3[678],FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,FONT_SHADOW:8,SHAPE_RECTANGLE:_0x83b3[679],SHAPE_ELLIPSE:_0x83b3[680],SHAPE_DOUBLE_ELLIPSE:_0x83b3[681],SHAPE_RHOMBUS:_0x83b3[682],SHAPE_LINE:_0x83b3[683],SHAPE_IMAGE:_0x83b3[618],SHAPE_ARROW:_0x83b3[684],SHAPE_LABEL:_0x83b3[685],SHAPE_CYLINDER:_0x83b3[686],SHAPE_SWIMLANE:_0x83b3[687],SHAPE_CONNECTOR:_0x83b3[688],SHAPE_ACTOR:_0x83b3[689],SHAPE_CLOUD:_0x83b3[690],SHAPE_TRIANGLE:_0x83b3[691],SHAPE_HEXAGON:_0x83b3[692],ARROW_CLASSIC:_0x83b3[693],ARROW_BLOCK:_0x83b3[694],ARROW_OPEN:_0x83b3[392],ARROW_OVAL:_0x83b3[695],ARROW_DIAMOND:_0x83b3[696],ARROW_DIAMOND_THIN:_0x83b3[697],ALIGN_LEFT:_0x83b3[361],ALIGN_CENTER:_0x83b3[698],ALIGN_RIGHT:_0x83b3[699],ALIGN_TOP:_0x83b3[125],ALIGN_MIDDLE:_0x83b3[554],ALIGN_BOTTOM:_0x83b3[553],DIRECTION_NORTH:_0x83b3[700],DIRECTION_SOUTH:_0x83b3[701],DIRECTION_EAST:_0x83b3[702],DIRECTION_WEST:_0x83b3[703],DIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8,DIRECTION_MASK_ALL:15,ELBOW_VERTICAL:_0x83b3[704],ELBOW_HORIZONTAL:_0x83b3[662],EDGESTYLE_ELBOW:_0x83b3[705],EDGESTYLE_ENTITY_RELATION:_0x83b3[706],EDGESTYLE_LOOP:_0x83b3[707],EDGESTYLE_SIDETOSIDE:_0x83b3[708],EDGESTYLE_TOPTOBOTTOM:_0x83b3[709],EDGESTYLE_ORTHOGONAL:_0x83b3[710],EDGESTYLE_SEGMENT:_0x83b3[711],PERIMETER_ELLIPSE:_0x83b3[712],PERIMETER_RECTANGLE:_0x83b3[713],PERIMETER_RHOMBUS:_0x83b3[714],PERIMETER_TRIANGLE:_0x83b3[715]};function mxEventObject(_0x187fx2){this[_0x83b3[298]]= _0x187fx2;this[_0x83b3[716]]= [];for(var _0x187fx3=1;_0x187fx3< arguments[_0x83b3[67]];_0x187fx3+= 2){null!= arguments[_0x187fx3+ 1]&& (this[_0x83b3[716]][arguments[_0x187fx3]]= arguments[_0x187fx3+ 1])}}mxEventObject[_0x83b3[202]][_0x83b3[298]]= null;mxEventObject[_0x83b3[202]][_0x83b3[716]]= null;mxEventObject[_0x83b3[202]][_0x83b3[717]]= !1;mxEventObject[_0x83b3[202]][_0x83b3[718]]= function(){return this[_0x83b3[298]]};mxEventObject[_0x83b3[202]][_0x83b3[719]]= function(){return this[_0x83b3[716]]};mxEventObject[_0x83b3[202]][_0x83b3[720]]= function(_0x187fx2){return this[_0x83b3[716]][_0x187fx2]};mxEventObject[_0x83b3[202]][_0x83b3[721]]= function(){return this[_0x83b3[717]]};mxEventObject[_0x83b3[202]][_0x83b3[722]]= function(){this[_0x83b3[717]]= !0};function mxMouseEvent(_0x187fx2,_0x187fx3){this[_0x83b3[723]]= _0x187fx2;this[_0x83b3[724]]= _0x187fx3}mxMouseEvent[_0x83b3[202]][_0x83b3[717]]= !1;mxMouseEvent[_0x83b3[202]][_0x83b3[723]]= null;mxMouseEvent[_0x83b3[202]][_0x83b3[725]]= null;mxMouseEvent[_0x83b3[202]][_0x83b3[726]]= null;mxMouseEvent[_0x83b3[202]][_0x83b3[724]]= null;mxMouseEvent[_0x83b3[202]][_0x83b3[727]]= function(){return this[_0x83b3[723]]};mxMouseEvent[_0x83b3[202]][_0x83b3[728]]= function(){return mxEvent[_0x83b3[728]](this[_0x83b3[723]])};mxMouseEvent[_0x83b3[202]][_0x83b3[729]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3=this[_0x83b3[728]]();null!= _0x187fx3;){if(_0x187fx3== _0x187fx2[_0x83b3[252]]){return !0};_0x187fx3= _0x187fx3[_0x83b3[265]]}};return !1};mxMouseEvent[_0x83b3[202]][_0x83b3[730]]= function(){return mxEvent[_0x83b3[731]](this[_0x83b3[727]]())};mxMouseEvent[_0x83b3[202]][_0x83b3[732]]= function(){return mxEvent[_0x83b3[733]](this[_0x83b3[727]]())};mxMouseEvent[_0x83b3[202]][_0x83b3[734]]= function(){return this[_0x83b3[725]]};mxMouseEvent[_0x83b3[202]][_0x83b3[735]]= function(){return this[_0x83b3[726]]};mxMouseEvent[_0x83b3[202]][_0x83b3[248]]= function(){return this[_0x83b3[724]]};mxMouseEvent[_0x83b3[202]][_0x83b3[736]]= function(){var _0x187fx2=this[_0x83b3[248]]();return null!= _0x187fx2?_0x187fx2[_0x83b3[246]]:null};mxMouseEvent[_0x83b3[202]][_0x83b3[737]]= function(){return mxEvent[_0x83b3[737]](this[_0x83b3[727]]())};mxMouseEvent[_0x83b3[202]][_0x83b3[721]]= function(){return this[_0x83b3[717]]};mxMouseEvent[_0x83b3[202]][_0x83b3[722]]= function(_0x187fx2){(null!= _0x187fx2?_0x187fx2:1)&& this[_0x83b3[723]][_0x83b3[738]]&& this[_0x83b3[723]][_0x83b3[738]]();this[_0x83b3[723]][_0x83b3[739]]= !1;this[_0x83b3[717]]= !0};function mxEventSource(_0x187fx2){this[_0x83b3[740]](_0x187fx2)}mxEventSource[_0x83b3[202]][_0x83b3[741]]= null;mxEventSource[_0x83b3[202]][_0x83b3[742]]= !0;mxEventSource[_0x83b3[202]][_0x83b3[743]]= null;mxEventSource[_0x83b3[202]][_0x83b3[503]]= function(){return this[_0x83b3[742]]};mxEventSource[_0x83b3[202]][_0x83b3[504]]= function(_0x187fx2){this[_0x83b3[742]]= _0x187fx2};mxEventSource[_0x83b3[202]][_0x83b3[744]]= function(){return this[_0x83b3[743]]};mxEventSource[_0x83b3[202]][_0x83b3[740]]= function(_0x187fx2){this[_0x83b3[743]]= _0x187fx2};mxEventSource[_0x83b3[202]][_0x83b3[169]]= function(_0x187fx2,_0x187fx3){null== this[_0x83b3[741]]&& (this[_0x83b3[741]]= []);this[_0x83b3[741]][_0x83b3[207]](_0x187fx2);this[_0x83b3[741]][_0x83b3[207]](_0x187fx3)};mxEventSource[_0x83b3[202]][_0x83b3[745]]= function(_0x187fx2){if(null!= this[_0x83b3[741]]){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[741]][_0x83b3[67]];){this[_0x83b3[741]][_0x187fx3+ 1]== _0x187fx2?this[_0x83b3[741]][_0x83b3[300]](_0x187fx3,2):_0x187fx3+= 2}}};mxEventSource[_0x83b3[202]][_0x83b3[746]]= function(_0x187fx2,_0x187fx3){if(null!= this[_0x83b3[741]]&& this[_0x83b3[503]]()){null== _0x187fx2&& (_0x187fx2= new mxEventObject);null== _0x187fx3&& (_0x187fx3= this[_0x83b3[744]]());null== _0x187fx3&& (_0x187fx3= this);for(var _0x187fx4=[_0x187fx3,_0x187fx2],_0x187fx5=0;_0x187fx5< this[_0x83b3[741]][_0x83b3[67]];_0x187fx5+= 2){var _0x187fx9=this[_0x83b3[741]][_0x187fx5];(null== _0x187fx9|| _0x187fx9== _0x187fx2[_0x83b3[718]]())&& this[_0x83b3[741]][_0x187fx5+ 1][_0x83b3[183]](this,_0x187fx4)}}};var mxEvent={objects:[],addListener:function(){var _0x187fx2=function(_0x187fx2,_0x187fx4,_0x187fx5){null== _0x187fx2[_0x83b3[69]]&& (_0x187fx2[_0x83b3[69]]= [],mxEvent[_0x83b3[68]][_0x83b3[207]](_0x187fx2));_0x187fx2[_0x83b3[69]][_0x83b3[207]]({name:_0x187fx4,f:_0x187fx5})};return window[_0x83b3[418]]?function(_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3[_0x83b3[418]](_0x187fx4,_0x187fx5,!1);_0x187fx2(_0x187fx3,_0x187fx4,_0x187fx5)}:function(_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3[_0x83b3[108]](_0x83b3[747]+ _0x187fx4,_0x187fx5);_0x187fx2(_0x187fx3,_0x187fx4,_0x187fx5)}}(),removeListener:function(){var _0x187fx2=function(_0x187fx2,_0x187fx4,_0x187fx5){if(null!= _0x187fx2[_0x83b3[69]]){_0x187fx4= _0x187fx2[_0x83b3[69]][_0x83b3[67]];for(var _0x187fx9=0;_0x187fx9< _0x187fx4;_0x187fx9++){if(_0x187fx2[_0x83b3[69]][_0x187fx9][_0x83b3[748]]== _0x187fx5){_0x187fx2[_0x83b3[69]][_0x83b3[300]](_0x187fx9,1);break}};0== _0x187fx2[_0x83b3[69]][_0x83b3[67]]&& (_0x187fx2[_0x83b3[69]]= null)}};return window[_0x83b3[749]]?function(_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3[_0x83b3[749]](_0x187fx4,_0x187fx5,!1);_0x187fx2(_0x187fx3,_0x187fx4,_0x187fx5)}:function(_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3[_0x83b3[750]](_0x83b3[747]+ _0x187fx4,_0x187fx5);_0x187fx2(_0x187fx3,_0x187fx4,_0x187fx5)}}(),removeAllListeners:function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[69]];if(null!= _0x187fx3){for(;0< _0x187fx3[_0x83b3[67]];){var _0x187fx4=_0x187fx3[0];mxEvent[_0x83b3[745]](_0x187fx2,_0x187fx4[_0x83b3[298]],_0x187fx4[_0x83b3[748]])}}},addGestureListeners:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){null!= _0x187fx3&& mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[751],_0x187fx3);null!= _0x187fx4&& mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[752],_0x187fx4);null!= _0x187fx5&& mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[753],_0x187fx5);mxClient[_0x83b3[754]]&& (null!= _0x187fx3&& mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[755],_0x187fx3),null!= _0x187fx4&& mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[756],_0x187fx4),null!= _0x187fx5&& mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[757],_0x187fx5))},removeGestureListeners:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){null!= _0x187fx3&& mxEvent[_0x83b3[745]](_0x187fx2,_0x83b3[751],_0x187fx3);null!= _0x187fx4&& mxEvent[_0x83b3[745]](_0x187fx2,_0x83b3[752],_0x187fx4);null!= _0x187fx5&& mxEvent[_0x83b3[745]](_0x187fx2,_0x83b3[753],_0x187fx5);mxClient[_0x83b3[754]]&& (null!= _0x187fx3&& mxEvent[_0x83b3[745]](_0x187fx2,_0x83b3[755],_0x187fx3),null!= _0x187fx4&& mxEvent[_0x83b3[745]](_0x187fx2,_0x83b3[756],_0x187fx4),null!= _0x187fx5&& mxEvent[_0x83b3[745]](_0x187fx2,_0x83b3[757],_0x187fx5))},redirectMouseEvents:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){var _0x187fx13=function(_0x187fx2){return _0x83b3[279]== typeof _0x187fx4?_0x187fx4(_0x187fx2):_0x187fx4};mxEvent[_0x83b3[759]](_0x187fx2,function(_0x187fx2){null!= _0x187fx5?_0x187fx5(_0x187fx2):mxEvent[_0x83b3[721]](_0x187fx2)|| _0x187fx3[_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx2,_0x187fx13(_0x187fx2)))},function(_0x187fx2){null!= _0x187fx9?_0x187fx9(_0x187fx2):mxEvent[_0x83b3[721]](_0x187fx2)|| _0x187fx3[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx2,_0x187fx13(_0x187fx2)))},function(_0x187fx2){null!= _0x187fxa?_0x187fxa(_0x187fx2):mxEvent[_0x83b3[721]](_0x187fx2)|| _0x187fx3[_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx2,_0x187fx13(_0x187fx2)))});mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[760],function(_0x187fx2){if(null!= _0x187fx12){_0x187fx12(_0x187fx2)}else {if(!mxEvent[_0x83b3[721]](_0x187fx2)){var _0x187fx4=_0x187fx13(_0x187fx2);_0x187fx3[_0x83b3[761]](_0x187fx2,null!= _0x187fx4?_0x187fx4[_0x83b3[246]]:null)}}})},release:function(_0x187fx2){if(null!= _0x187fx2&& (mxEvent[_0x83b3[70]](_0x187fx2),_0x187fx2= _0x187fx2[_0x83b3[271]],null!= _0x187fx2)){for(var _0x187fx3=_0x187fx2[_0x83b3[67]],_0x187fx4=0;_0x187fx4< _0x187fx3;_0x187fx4+= 1){mxEvent[_0x83b3[762]](_0x187fx2[_0x187fx4])}}},addMouseWheelListener:function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=function(_0x187fx3){null== _0x187fx3&& (_0x187fx3= window[_0x83b3[763]]);var _0x187fx5=0,_0x187fx5=mxClient[_0x83b3[133]]&& !mxClient[_0x83b3[75]]&& !mxClient[_0x83b3[76]]?-_0x187fx3[_0x83b3[764]]/ 2:_0x187fx3[_0x83b3[765]]/ 120;0!= _0x187fx5&& _0x187fx2(_0x187fx3,0< _0x187fx5)};mxClient[_0x83b3[133]]?mxEvent[_0x83b3[169]](window,mxClient[_0x83b3[75]]|| mxClient[_0x83b3[76]]?_0x83b3[766]:_0x83b3[767],_0x187fx3):mxEvent[_0x83b3[169]](document,_0x83b3[766],_0x187fx3)}},disableContextMenu:function(){return mxClient[_0x83b3[80]]&& (_0x83b3[82]=== typeof document[_0x83b3[5]]|| 9> document[_0x83b3[5]])?function(_0x187fx2){mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[768],function(){return !1})}:function(_0x187fx2){_0x187fx2[_0x83b3[57]](_0x83b3[769],_0x83b3[770])}}(),getSource:function(_0x187fx2){return null!= _0x187fx2[_0x83b3[771]]?_0x187fx2[_0x83b3[771]]:_0x187fx2[_0x83b3[772]]},isConsumed:function(_0x187fx2){return null!= _0x187fx2[_0x83b3[721]]&& _0x187fx2[_0x83b3[721]]},isLeftMouseButton:function(_0x187fx2){return _0x187fx2[_0x83b3[172]]== (mxClient[_0x83b3[80]]&& (_0x83b3[82]=== typeof document[_0x83b3[5]]|| 9> document[_0x83b3[5]])?1:0)},isRightMouseButton:function(_0x187fx2){return 2== _0x187fx2[_0x83b3[172]]},isPopupTrigger:function(_0x187fx2){return mxEvent[_0x83b3[773]](_0x187fx2)|| mxEvent[_0x83b3[774]](_0x187fx2)&& !mxEvent[_0x83b3[775]](_0x187fx2)},isShiftDown:function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[776]]:!1},isAltDown:function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[777]]:!1},isControlDown:function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[778]]:!1},isMetaDown:function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[779]]:!1},getMainEvent:function(_0x187fx2){(_0x83b3[755]== _0x187fx2[_0x83b3[60]]|| _0x83b3[756]== _0x187fx2[_0x83b3[60]])&& null!= _0x187fx2[_0x83b3[780]]&& null!= _0x187fx2[_0x83b3[780]][0]?_0x187fx2= _0x187fx2[_0x83b3[780]][0]:_0x83b3[757]== _0x187fx2[_0x83b3[60]]&& (null!= _0x187fx2[_0x83b3[781]]&& null!= _0x187fx2[_0x83b3[781]][0])&& (_0x187fx2= _0x187fx2[_0x83b3[781]][0]);return _0x187fx2},getClientX:function(_0x187fx2){return mxEvent[_0x83b3[783]](_0x187fx2)[_0x83b3[782]]},getClientY:function(_0x187fx2){return mxEvent[_0x83b3[783]](_0x187fx2)[_0x83b3[784]]},consume:function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;if(null!= _0x187fx3?_0x187fx3:1){_0x187fx2[_0x83b3[738]]?(_0x187fx4&& _0x187fx2[_0x83b3[785]](),_0x187fx2[_0x83b3[738]]()):_0x187fx4&& (_0x187fx2[_0x83b3[786]]= !0)};_0x187fx2[_0x83b3[721]]= !0;_0x187fx2[_0x83b3[739]]= !1},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,MOUSE_DOWN:_0x83b3[787],MOUSE_MOVE:_0x83b3[788],MOUSE_UP:_0x83b3[789],ACTIVATE:_0x83b3[790],RESIZE_START:_0x83b3[791],RESIZE:_0x83b3[129],RESIZE_END:_0x83b3[792],MOVE_START:_0x83b3[793],MOVE:_0x83b3[582],MOVE_END:_0x83b3[794],PAN_START:_0x83b3[795],PAN:_0x83b3[796],PAN_END:_0x83b3[797],MINIMIZE:_0x83b3[798],NORMALIZE:_0x83b3[799],MAXIMIZE:_0x83b3[800],HIDE:_0x83b3[801],SHOW:_0x83b3[539],CLOSE:_0x83b3[268],DESTROY:_0x83b3[515],REFRESH:_0x83b3[802],SIZE:_0x83b3[803],SELECT:_0x83b3[804],FIRED:_0x83b3[805],GET:_0x83b3[203],RECEIVE:_0x83b3[806],CONNECT:_0x83b3[807],DISCONNECT:_0x83b3[808],SUSPEND:_0x83b3[809],RESUME:_0x83b3[810],MARK:_0x83b3[811],SESSION:_0x83b3[812],ROOT:_0x83b3[813],POST:_0x83b3[814],OPEN:_0x83b3[392],SAVE:_0x83b3[815],BEFORE_ADD_VERTEX:_0x83b3[816],ADD_VERTEX:_0x83b3[817],AFTER_ADD_VERTEX:_0x83b3[818],DONE:_0x83b3[819],EXECUTE:_0x83b3[350],EXECUTED:_0x83b3[820],BEGIN_UPDATE:_0x83b3[473],START_EDIT:_0x83b3[821],END_UPDATE:_0x83b3[476],END_EDIT:_0x83b3[822],BEFORE_UNDO:_0x83b3[823],UNDO:_0x83b3[824],REDO:_0x83b3[825],CHANGE:_0x83b3[826],NOTIFY:_0x83b3[827],LAYOUT_CELLS:_0x83b3[828],CLICK:_0x83b3[173],SCALE:_0x83b3[255],TRANSLATE:_0x83b3[513],SCALE_AND_TRANSLATE:_0x83b3[829],UP:_0x83b3[830],DOWN:_0x83b3[831],ADD:_0x83b3[99],REMOVE:_0x83b3[205],CLEAR:_0x83b3[200],ADD_CELLS:_0x83b3[832],CELLS_ADDED:_0x83b3[833],MOVE_CELLS:_0x83b3[834],CELLS_MOVED:_0x83b3[835],RESIZE_CELLS:_0x83b3[836],CELLS_RESIZED:_0x83b3[837],TOGGLE_CELLS:_0x83b3[838],CELLS_TOGGLED:_0x83b3[839],ORDER_CELLS:_0x83b3[840],CELLS_ORDERED:_0x83b3[841],REMOVE_CELLS:_0x83b3[842],CELLS_REMOVED:_0x83b3[843],GROUP_CELLS:_0x83b3[844],UNGROUP_CELLS:_0x83b3[845],REMOVE_CELLS_FROM_PARENT:_0x83b3[846],FOLD_CELLS:_0x83b3[847],CELLS_FOLDED:_0x83b3[848],ALIGN_CELLS:_0x83b3[849],LABEL_CHANGED:_0x83b3[850],CONNECT_CELL:_0x83b3[851],CELL_CONNECTED:_0x83b3[852],SPLIT_EDGE:_0x83b3[853],FLIP_EDGE:_0x83b3[854],START_EDITING:_0x83b3[855],ADD_OVERLAY:_0x83b3[856],REMOVE_OVERLAY:_0x83b3[857],UPDATE_CELL_SIZE:_0x83b3[858],ESCAPE:_0x83b3[859],CLICK:_0x83b3[173],DOUBLE_CLICK:_0x83b3[860],START:_0x83b3[861],RESET:_0x83b3[862]};function mxXmlRequest(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[863]]= _0x187fx2;this[_0x83b3[864]]= _0x187fx3;this[_0x83b3[865]]= _0x187fx4|| _0x83b3[866];this[_0x83b3[307]]= null!= _0x187fx5?_0x187fx5:!0;this[_0x83b3[867]]= _0x187fx9;this[_0x83b3[868]]= _0x187fxa}mxXmlRequest[_0x83b3[202]][_0x83b3[863]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[864]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[865]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[307]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[869]]= !1;mxXmlRequest[_0x83b3[202]][_0x83b3[867]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[868]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[870]]= null;mxXmlRequest[_0x83b3[202]][_0x83b3[871]]= function(){return this[_0x83b3[869]]};mxXmlRequest[_0x83b3[202]][_0x83b3[872]]= function(_0x187fx2){this[_0x83b3[869]]= _0x187fx2};mxXmlRequest[_0x83b3[202]][_0x83b3[221]]= function(){return this[_0x83b3[870]][_0x83b3[873]]};mxXmlRequest[_0x83b3[202]][_0x83b3[220]]= function(){return 4== this[_0x83b3[870]][_0x83b3[417]]};mxXmlRequest[_0x83b3[202]][_0x83b3[874]]= function(){var _0x187fx2=this[_0x83b3[875]]();return null!= _0x187fx2?_0x187fx2[_0x83b3[158]]:null};mxXmlRequest[_0x83b3[202]][_0x83b3[875]]= function(){var _0x187fx2=this[_0x83b3[870]][_0x83b3[876]];if(9<= document[_0x83b3[5]]|| null== _0x187fx2|| null== _0x187fx2[_0x83b3[158]]){_0x187fx2= mxUtils[_0x83b3[877]](this[_0x83b3[870]][_0x83b3[873]])};return _0x187fx2};mxXmlRequest[_0x83b3[202]][_0x83b3[221]]= function(){return this[_0x83b3[870]][_0x83b3[873]]};mxXmlRequest[_0x83b3[202]][_0x83b3[878]]= function(){return this[_0x83b3[870]][_0x83b3[879]]};mxXmlRequest[_0x83b3[202]][_0x83b3[385]]= function(){if(window[_0x83b3[880]]){return function(){var _0x187fx2= new XMLHttpRequest;this[_0x83b3[871]]()&& _0x187fx2[_0x83b3[881]]&& _0x187fx2[_0x83b3[881]](_0x83b3[882]);return _0x187fx2}};if(_0x83b3[82]!= typeof ActiveXObject){return function(){return new ActiveXObject(_0x83b3[883])}}}();mxXmlRequest[_0x83b3[202]][_0x83b3[414]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[870]]= this[_0x83b3[385]]();null!= this[_0x83b3[870]]&& (null!= _0x187fx2&& (this[_0x83b3[870]][_0x83b3[416]]= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[220]]()&& (_0x187fx2(this),this[_0x83b3[884]]= null)})),this[_0x83b3[870]][_0x83b3[392]](this[_0x83b3[865]],this[_0x83b3[863]],this[_0x83b3[307]],this[_0x83b3[867]],this[_0x83b3[868]]),this[_0x83b3[886]](this[_0x83b3[870]],this[_0x83b3[864]]),this[_0x83b3[870]][_0x83b3[414]](this[_0x83b3[864]]))};mxXmlRequest[_0x83b3[202]][_0x83b3[886]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx3&& _0x187fx2[_0x83b3[889]](_0x83b3[887],_0x83b3[888])};mxXmlRequest[_0x83b3[202]][_0x83b3[415]]= function(_0x187fx2,_0x187fx3){_0x187fx2= _0x187fx2|| document;var _0x187fx4=null;_0x187fx2== document&& (_0x187fx4= window[_0x83b3[890]],window[_0x83b3[890]]= null);var _0x187fx5=_0x187fx2[_0x83b3[55]](_0x83b3[891]);_0x187fx5[_0x83b3[57]](_0x83b3[865],this[_0x83b3[865]]);_0x187fx5[_0x83b3[57]](_0x83b3[892],this[_0x83b3[863]]);null!= _0x187fx3&& _0x187fx5[_0x83b3[57]](_0x83b3[772],_0x187fx3);_0x187fx5[_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];_0x187fx5[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];for(var _0x187fx9=0< this[_0x83b3[864]][_0x83b3[2]](_0x83b3[893])?this[_0x83b3[864]][_0x83b3[224]](_0x83b3[893]):this[_0x83b3[864]][_0x83b3[224]](),_0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx9[_0x187fxa][_0x83b3[2]](_0x83b3[226]);if(0< _0x187fx12){var _0x187fx13=_0x187fx9[_0x187fxa][_0x83b3[85]](0,_0x187fx12),_0x187fx14=_0x187fx9[_0x187fxa][_0x83b3[85]](_0x187fx12+ 1),_0x187fx12=_0x187fx2[_0x83b3[55]](_0x83b3[126]);_0x187fx12[_0x83b3[57]](_0x83b3[298],_0x187fx13);_0x187fx14= _0x187fx14[_0x83b3[230]](/\n/g,_0x83b3[336]);_0x187fx13= _0x187fx2[_0x83b3[344]](_0x187fx14);_0x187fx12[_0x83b3[62]](_0x187fx13);_0x187fx5[_0x83b3[62]](_0x187fx12)}};_0x187fx2[_0x83b3[112]][_0x83b3[62]](_0x187fx5);_0x187fx5[_0x83b3[894]]();_0x187fx2[_0x83b3[112]][_0x83b3[266]](_0x187fx5);null!= _0x187fx4&& (window[_0x83b3[890]]= _0x187fx4)};var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,isEmpty:function(){return null== mxClipboard[_0x83b3[895]]},cut:function(_0x187fx2,_0x187fx3){_0x187fx3= mxClipboard[_0x83b3[149]](_0x187fx2,_0x187fx3);mxClipboard[_0x83b3[896]]= 0;mxClipboard[_0x83b3[842]](_0x187fx2,_0x187fx3);return _0x187fx3},removeCells:function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[842]](_0x187fx3)},copy:function(_0x187fx2,_0x187fx3){_0x187fx3= _0x187fx3|| _0x187fx2[_0x83b3[897]]();var _0x187fx4=_0x187fx2[_0x83b3[898]](_0x187fx3);mxClipboard[_0x83b3[896]]= 1;mxClipboard[_0x83b3[895]]= _0x187fx2[_0x83b3[899]](_0x187fx4);return _0x187fx4},paste:function(_0x187fx2){if(null!= mxClipboard[_0x83b3[895]]){var _0x187fx3=_0x187fx2[_0x83b3[900]](mxClipboard[_0x83b3[895]]),_0x187fx4=mxClipboard[_0x83b3[896]]* mxClipboard[_0x83b3[901]],_0x187fx5=_0x187fx2[_0x83b3[902]](),_0x187fx3=_0x187fx2[_0x83b3[903]](_0x187fx3,_0x187fx4,_0x187fx4,_0x187fx5);mxClipboard[_0x83b3[896]]++;_0x187fx2[_0x83b3[904]](_0x187fx3)}}};function mxWindow(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15){null!= _0x187fx3&& (_0x187fx12= null!= _0x187fx12?_0x187fx12:!0,this[_0x83b3[905]]= _0x187fx3,this[_0x83b3[176]](_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx15),this[_0x83b3[906]](),this[_0x83b3[907]](),this[_0x83b3[908]](),this[_0x83b3[909]](_0x187fx12),this[_0x83b3[910]](_0x187fx2),(null== _0x187fx13|| _0x187fx13)&& this[_0x83b3[911]](),null!= _0x187fx14&& null!= _0x187fx14[_0x83b3[265]]?_0x187fx14[_0x83b3[265]][_0x83b3[912]](this[_0x83b3[485]],_0x187fx14):document[_0x83b3[112]][_0x83b3[62]](this[_0x83b3[485]]))}mxWindow[_0x83b3[202]]= new mxEventSource;mxWindow[_0x83b3[202]][_0x83b3[196]]= mxWindow;mxWindow[_0x83b3[202]][_0x83b3[913]]= mxClient[_0x83b3[88]]+ _0x83b3[914];mxWindow[_0x83b3[202]][_0x83b3[915]]= mxClient[_0x83b3[88]]+ _0x83b3[916];mxWindow[_0x83b3[202]][_0x83b3[917]]= mxClient[_0x83b3[88]]+ _0x83b3[918];mxWindow[_0x83b3[202]][_0x83b3[919]]= mxClient[_0x83b3[88]]+ _0x83b3[920];mxWindow[_0x83b3[202]][_0x83b3[921]]= mxClient[_0x83b3[88]]+ _0x83b3[922];mxWindow[_0x83b3[202]][_0x83b3[189]]= !1;mxWindow[_0x83b3[202]][_0x83b3[905]]= !1;mxWindow[_0x83b3[202]][_0x83b3[923]]= new mxRectangle(0,0,50,40);mxWindow[_0x83b3[202]][_0x83b3[924]]= !1;mxWindow[_0x83b3[202]][_0x83b3[905]]= !1;mxWindow[_0x83b3[202]][_0x83b3[165]]= !0;mxWindow[_0x83b3[202]][_0x83b3[176]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx9= null!= _0x187fx9?_0x187fx9:_0x83b3[925];this[_0x83b3[485]]= document[_0x83b3[55]](_0x83b3[485]);this[_0x83b3[485]][_0x83b3[926]]= _0x187fx9;this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x187fx3+ _0x83b3[168];this[_0x83b3[116]]= document[_0x83b3[55]](_0x83b3[116]);this[_0x83b3[116]][_0x83b3[926]]= _0x187fx9;null!= _0x187fx4&& (mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= _0x187fx4+ _0x83b3[168]),this[_0x83b3[116]][_0x83b3[124]][_0x83b3[117]]= _0x187fx4+ _0x83b3[168]);null!= _0x187fx5&& (mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= _0x187fx5+ _0x83b3[168]),this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]]= _0x187fx5+ _0x83b3[168]);_0x187fx2= document[_0x83b3[55]](_0x83b3[120]);_0x187fx3= document[_0x83b3[55]](_0x83b3[121]);this[_0x83b3[924]]= document[_0x83b3[55]](_0x83b3[122]);this[_0x83b3[924]][_0x83b3[926]]= _0x187fx9+ _0x83b3[927];_0x187fx3[_0x83b3[62]](this[_0x83b3[924]]);_0x187fx2[_0x83b3[62]](_0x187fx3);_0x187fx3= document[_0x83b3[55]](_0x83b3[121]);this[_0x83b3[122]]= document[_0x83b3[55]](_0x83b3[122]);this[_0x83b3[122]][_0x83b3[926]]= _0x187fx9+ _0x83b3[928];this[_0x83b3[929]]= document[_0x83b3[55]](_0x83b3[485]);this[_0x83b3[929]][_0x83b3[926]]= _0x187fx9+ _0x83b3[928];this[_0x83b3[929]][_0x83b3[124]][_0x83b3[117]]= _0x83b3[118];this[_0x83b3[929]][_0x83b3[62]](this[_0x83b3[905]]);if(mxClient[_0x83b3[80]]|| _0x83b3[529]!= this[_0x83b3[905]][_0x83b3[301]][_0x83b3[36]]()){this[_0x83b3[929]][_0x83b3[124]][_0x83b3[119]]= _0x83b3[118]};this[_0x83b3[122]][_0x83b3[62]](this[_0x83b3[929]]);_0x187fx3[_0x83b3[62]](this[_0x83b3[122]]);_0x187fx2[_0x83b3[62]](_0x187fx3);this[_0x83b3[116]][_0x83b3[62]](_0x187fx2);this[_0x83b3[485]][_0x83b3[62]](this[_0x83b3[116]]);_0x187fx9= mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[790]]()});mxEvent[_0x83b3[169]](this[_0x83b3[924]],_0x83b3[751],_0x187fx9);mxEvent[_0x83b3[169]](this[_0x83b3[116]],_0x83b3[751],_0x187fx9);mxClient[_0x83b3[754]]&& (mxEvent[_0x83b3[169]](this[_0x83b3[924]],_0x83b3[755],_0x187fx9),mxEvent[_0x83b3[169]](this[_0x83b3[116]],_0x83b3[755],_0x187fx9));this[_0x83b3[801]]()};mxWindow[_0x83b3[202]][_0x83b3[910]]= function(_0x187fx2){for(var _0x187fx3=this[_0x83b3[924]][_0x83b3[285]];null!= _0x187fx3;){var _0x187fx4=_0x187fx3[_0x83b3[287]];_0x187fx3[_0x83b3[288]]== mxConstants[_0x83b3[317]]&& _0x187fx3[_0x83b3[265]][_0x83b3[266]](_0x187fx3);_0x187fx3= _0x187fx4};mxUtils[_0x83b3[53]](this[_0x83b3[924]],_0x187fx2|| _0x83b3[110])};mxWindow[_0x83b3[202]][_0x83b3[162]]= function(_0x187fx2){0> navigator[_0x83b3[3]][_0x83b3[2]](_0x83b3[186])&& (this[_0x83b3[929]][_0x83b3[124]][_0x83b3[277]]= _0x187fx2?_0x83b3[278]:_0x83b3[188])};mxWindow[_0x83b3[202]][_0x83b3[790]]= function(){if(mxWindow[_0x83b3[930]]!= this){var _0x187fx2=mxUtils[_0x83b3[275]](this[_0x83b3[166]]()),_0x187fx2=null!= _0x187fx2?_0x187fx2[_0x83b3[931]]:3;if(mxWindow[_0x83b3[930]]){var _0x187fx3=mxWindow[_0x83b3[930]][_0x83b3[166]]();null!= _0x187fx3&& null!= _0x187fx3[_0x83b3[124]]&& (_0x187fx3[_0x83b3[124]][_0x83b3[931]]= _0x187fx2)};_0x187fx3= mxWindow[_0x83b3[930]];this[_0x83b3[166]]()[_0x83b3[124]][_0x83b3[931]]= parseInt(_0x187fx2)+ 1;mxWindow[_0x83b3[930]]= this;this[_0x83b3[746]]( new mxEventObject(mxEvent.ACTIVATE,_0x83b3[932],_0x187fx3))}};mxWindow[_0x83b3[202]][_0x83b3[166]]= function(){return this[_0x83b3[485]]};mxWindow[_0x83b3[202]][_0x83b3[933]]= function(){mxUtils[_0x83b3[933]](this[_0x83b3[485]])};mxWindow[_0x83b3[202]][_0x83b3[934]]= function(){return null!= this[_0x83b3[129]]?_0x83b3[130]!= this[_0x83b3[129]][_0x83b3[124]][_0x83b3[495]]:!1};mxWindow[_0x83b3[202]][_0x83b3[163]]= function(_0x187fx2){_0x187fx2?null== this[_0x83b3[129]]?(this[_0x83b3[129]]= document[_0x83b3[55]](_0x83b3[466]),this[_0x83b3[129]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492],this[_0x83b3[129]][_0x83b3[124]][_0x83b3[553]]= _0x83b3[935],this[_0x83b3[129]][_0x83b3[124]][_0x83b3[699]]= _0x83b3[935],this[_0x83b3[129]][_0x83b3[57]](_0x83b3[390],mxClient[_0x83b3[88]]+ _0x83b3[922]),this[_0x83b3[129]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[936],mxEvent[_0x83b3[759]](this[_0x83b3[129]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[790]]();var _0x187fx4=mxEvent[_0x83b3[731]](_0x187fx2),_0x187fx5=mxEvent[_0x83b3[733]](_0x187fx2),_0x187fx9=this[_0x83b3[485]][_0x83b3[359]],_0x187fxa=this[_0x83b3[485]][_0x83b3[167]],_0x187fx12=mxUtils[_0x83b3[885]](this,function(_0x187fx2){var _0x187fx3=mxEvent[_0x83b3[731]](_0x187fx2)- _0x187fx4,_0x187fx12=mxEvent[_0x83b3[733]](_0x187fx2)- _0x187fx5;this[_0x83b3[937]](_0x187fx9+ _0x187fx3,_0x187fxa+ _0x187fx12);this[_0x83b3[746]]( new mxEventObject(mxEvent.RESIZE,_0x83b3[763],_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx2)}),_0x187fx13=mxUtils[_0x83b3[885]](this,function(_0x187fx2){mxEvent[_0x83b3[938]](document,null,_0x187fx12,_0x187fx13);this[_0x83b3[746]]( new mxEventObject(mxEvent.RESIZE_END,_0x83b3[763],_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx2)});mxEvent[_0x83b3[759]](document,null,_0x187fx12,_0x187fx13);this[_0x83b3[746]]( new mxEventObject(mxEvent.RESIZE_START,_0x83b3[763],_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx2)}),null,null),this[_0x83b3[485]][_0x83b3[62]](this[_0x83b3[129]])):this[_0x83b3[129]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[497]:null!= this[_0x83b3[129]]&& (this[_0x83b3[129]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130])};mxWindow[_0x83b3[202]][_0x83b3[937]]= function(_0x187fx2,_0x187fx3){_0x187fx2= Math[_0x83b3[160]](this[_0x83b3[923]][_0x83b3[117]],_0x187fx2);_0x187fx3= Math[_0x83b3[160]](this[_0x83b3[923]][_0x83b3[119]],_0x187fx3);mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= _0x187fx2+ _0x83b3[168],this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= _0x187fx3+ _0x83b3[168]);this[_0x83b3[116]][_0x83b3[124]][_0x83b3[117]]= _0x187fx2+ _0x83b3[168];this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]]= _0x187fx3+ _0x83b3[168];mxClient[_0x83b3[80]]|| (this[_0x83b3[929]][_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[485]][_0x83b3[167]]- this[_0x83b3[924]][_0x83b3[167]]- 2+ _0x83b3[168])};mxWindow[_0x83b3[202]][_0x83b3[909]]= function(_0x187fx2){this[_0x83b3[798]][_0x83b3[124]][_0x83b3[495]]= _0x187fx2?_0x83b3[110]:_0x83b3[130]};mxWindow[_0x83b3[202]][_0x83b3[939]]= function(){return new mxRectangle(0,0,0,this[_0x83b3[924]][_0x83b3[167]])};mxWindow[_0x83b3[202]][_0x83b3[907]]= function(){this[_0x83b3[798]]= document[_0x83b3[55]](_0x83b3[466]);this[_0x83b3[798]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[915]]);this[_0x83b3[798]][_0x83b3[57]](_0x83b3[611],_0x83b3[699]);this[_0x83b3[798]][_0x83b3[57]](_0x83b3[924],_0x83b3[940]);this[_0x83b3[798]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[356];this[_0x83b3[798]][_0x83b3[124]][_0x83b3[941]]= _0x83b3[942];this[_0x83b3[798]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];this[_0x83b3[924]][_0x83b3[62]](this[_0x83b3[798]]);var _0x187fx2=!1,_0x187fx3=null,_0x187fx4=null,_0x187fx5=mxUtils[_0x83b3[885]](this,function(_0x187fx5){this[_0x83b3[790]]();if(_0x187fx2){_0x187fx2= !1,this[_0x83b3[798]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[915]]),this[_0x83b3[798]][_0x83b3[57]](_0x83b3[924],_0x83b3[940]),this[_0x83b3[929]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[110],this[_0x83b3[800]][_0x83b3[124]][_0x83b3[495]]= _0x187fx3,mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= _0x187fx4),this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]]= _0x187fx4,null!= this[_0x83b3[129]]&& (this[_0x83b3[129]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[110]),this[_0x83b3[746]]( new mxEventObject(mxEvent.NORMALIZE,_0x83b3[763],_0x187fx5))}else {_0x187fx2= !0;this[_0x83b3[798]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[917]]);this[_0x83b3[798]][_0x83b3[57]](_0x83b3[924],_0x83b3[943]);this[_0x83b3[929]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];_0x187fx3= this[_0x83b3[800]][_0x83b3[124]][_0x83b3[495]];this[_0x83b3[800]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];_0x187fx4= this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]];var _0x187fxa=this[_0x83b3[939]]();0< _0x187fxa[_0x83b3[119]]&& (mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= _0x187fxa[_0x83b3[119]]+ _0x83b3[168]),this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]]= _0x187fxa[_0x83b3[119]]+ _0x83b3[168]);0< _0x187fxa[_0x83b3[117]]&& (mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= _0x187fxa[_0x83b3[117]]+ _0x83b3[168]),this[_0x83b3[116]][_0x83b3[124]][_0x83b3[117]]= _0x187fxa[_0x83b3[117]]+ _0x83b3[168]);null!= this[_0x83b3[129]]&& (this[_0x83b3[129]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]);this[_0x83b3[746]]( new mxEventObject(mxEvent.MINIMIZE,_0x83b3[763],_0x187fx5))};mxEvent[_0x83b3[722]](_0x187fx5)});mxEvent[_0x83b3[169]](this[_0x83b3[798]],_0x83b3[751],_0x187fx5);mxClient[_0x83b3[754]]&& mxEvent[_0x83b3[169]](this[_0x83b3[798]],_0x83b3[755],_0x187fx5)};mxWindow[_0x83b3[202]][_0x83b3[161]]= function(_0x187fx2){this[_0x83b3[800]][_0x83b3[124]][_0x83b3[495]]= _0x187fx2?_0x83b3[110]:_0x83b3[130]};mxWindow[_0x83b3[202]][_0x83b3[906]]= function(){this[_0x83b3[800]]= document[_0x83b3[55]](_0x83b3[466]);this[_0x83b3[800]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[919]]);this[_0x83b3[800]][_0x83b3[57]](_0x83b3[611],_0x83b3[699]);this[_0x83b3[800]][_0x83b3[57]](_0x83b3[924],_0x83b3[944]);this[_0x83b3[800]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[583];this[_0x83b3[800]][_0x83b3[124]][_0x83b3[945]]= _0x83b3[942];this[_0x83b3[800]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[356];this[_0x83b3[800]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];this[_0x83b3[924]][_0x83b3[62]](this[_0x83b3[800]]);var _0x187fx2=!1,_0x187fx3=null,_0x187fx4=null,_0x187fx5=null,_0x187fx9=null,_0x187fxa=mxUtils[_0x83b3[885]](this,function(_0x187fxa){this[_0x83b3[790]]();if(_0x83b3[130]!= this[_0x83b3[800]][_0x83b3[124]][_0x83b3[495]]){if(_0x187fx2){_0x187fx2= !1;this[_0x83b3[800]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[919]]);this[_0x83b3[800]][_0x83b3[57]](_0x83b3[924],_0x83b3[944]);this[_0x83b3[929]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[110];this[_0x83b3[798]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[110];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx3+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x187fx4+ _0x83b3[168];if(!mxClient[_0x83b3[80]]&& (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= _0x187fx5,this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= _0x187fx9,_0x187fx13= mxUtils[_0x83b3[275]](this[_0x83b3[929]]),_0x83b3[278]== _0x187fx13[_0x83b3[277]]|| null!= this[_0x83b3[129]])){this[_0x83b3[929]][_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[485]][_0x83b3[167]]- this[_0x83b3[924]][_0x83b3[167]]- 2+ _0x83b3[168]};this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]]= _0x187fx5;this[_0x83b3[116]][_0x83b3[124]][_0x83b3[117]]= _0x187fx9;null!= this[_0x83b3[129]]&& (this[_0x83b3[129]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[110]);this[_0x83b3[746]]( new mxEventObject(mxEvent.NORMALIZE,_0x83b3[763],_0x187fxa))}else {_0x187fx2= !0;this[_0x83b3[800]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[917]]);this[_0x83b3[800]][_0x83b3[57]](_0x83b3[924],_0x83b3[943]);this[_0x83b3[929]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[110];this[_0x83b3[798]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];_0x187fx3= parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]);_0x187fx4= parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]);_0x187fx5= this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]];_0x187fx9= this[_0x83b3[116]][_0x83b3[124]][_0x83b3[117]];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x83b3[946];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x83b3[946];mxClient[_0x83b3[80]]|| (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= document[_0x83b3[112]][_0x83b3[157]]- 2+ _0x83b3[168],this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= document[_0x83b3[112]][_0x83b3[159]]- 2+ _0x83b3[168]);this[_0x83b3[116]][_0x83b3[124]][_0x83b3[117]]= document[_0x83b3[112]][_0x83b3[159]]- 2+ _0x83b3[168];this[_0x83b3[116]][_0x83b3[124]][_0x83b3[119]]= document[_0x83b3[112]][_0x83b3[157]]- 2+ _0x83b3[168];null!= this[_0x83b3[129]]&& (this[_0x83b3[129]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]);if(!mxClient[_0x83b3[80]]){var _0x187fx13=mxUtils[_0x83b3[275]](this[_0x83b3[929]]);if(_0x83b3[278]== _0x187fx13[_0x83b3[277]]|| null!= this[_0x83b3[129]]){this[_0x83b3[929]][_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[485]][_0x83b3[167]]- this[_0x83b3[924]][_0x83b3[167]]- 2+ _0x83b3[168]}};this[_0x83b3[746]]( new mxEventObject(mxEvent.MAXIMIZE,_0x83b3[763],_0x187fxa))};mxEvent[_0x83b3[722]](_0x187fxa)}});mxEvent[_0x83b3[759]](this[_0x83b3[800]],_0x187fxa);mxEvent[_0x83b3[169]](this[_0x83b3[924]],_0x83b3[760],_0x187fxa)};mxWindow[_0x83b3[202]][_0x83b3[911]]= function(){this[_0x83b3[924]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[582];mxEvent[_0x83b3[759]](this[_0x83b3[924]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){var _0x187fx3=mxEvent[_0x83b3[731]](_0x187fx2),_0x187fx4=mxEvent[_0x83b3[733]](_0x187fx2),_0x187fx5=this[_0x83b3[730]](),_0x187fx9=this[_0x83b3[732]](),_0x187fxa=mxUtils[_0x83b3[885]](this,function(_0x187fx2){var _0x187fxa=mxEvent[_0x83b3[731]](_0x187fx2)- _0x187fx3,_0x187fx12=mxEvent[_0x83b3[733]](_0x187fx2)- _0x187fx4;this[_0x83b3[947]](_0x187fx5+ _0x187fxa,_0x187fx9+ _0x187fx12);this[_0x83b3[746]]( new mxEventObject(mxEvent.MOVE,_0x83b3[763],_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx2)}),_0x187fx12=mxUtils[_0x83b3[885]](this,function(_0x187fx2){mxEvent[_0x83b3[938]](document,null,_0x187fxa,_0x187fx12);this[_0x83b3[746]]( new mxEventObject(mxEvent.MOVE_END,_0x83b3[763],_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx2)});mxEvent[_0x83b3[759]](document,null,_0x187fxa,_0x187fx12);this[_0x83b3[746]]( new mxEventObject(mxEvent.MOVE_START,_0x83b3[763],_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx2)}))};mxWindow[_0x83b3[202]][_0x83b3[947]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x187fx3+ _0x83b3[168]};mxWindow[_0x83b3[202]][_0x83b3[730]]= function(){return parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]])};mxWindow[_0x83b3[202]][_0x83b3[732]]= function(){return parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]])};mxWindow[_0x83b3[202]][_0x83b3[908]]= function(){this[_0x83b3[948]]= document[_0x83b3[55]](_0x83b3[466]);this[_0x83b3[948]][_0x83b3[57]](_0x83b3[390],this[_0x83b3[913]]);this[_0x83b3[948]][_0x83b3[57]](_0x83b3[611],_0x83b3[699]);this[_0x83b3[948]][_0x83b3[57]](_0x83b3[924],_0x83b3[949]);this[_0x83b3[948]][_0x83b3[124]][_0x83b3[945]]= _0x83b3[935];this[_0x83b3[948]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[356];this[_0x83b3[948]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];this[_0x83b3[924]][_0x83b3[950]](this[_0x83b3[948]],this[_0x83b3[924]][_0x83b3[285]]);mxEvent[_0x83b3[759]](this[_0x83b3[948]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[746]]( new mxEventObject(mxEvent.CLOSE,_0x83b3[763],_0x187fx2));this[_0x83b3[165]]?this[_0x83b3[515]]():this[_0x83b3[175]](!1);mxEvent[_0x83b3[722]](_0x187fx2)}))};mxWindow[_0x83b3[202]][_0x83b3[951]]= function(_0x187fx2){this[_0x83b3[618]]= document[_0x83b3[55]](_0x83b3[466]);this[_0x83b3[618]][_0x83b3[57]](_0x83b3[390],_0x187fx2);this[_0x83b3[618]][_0x83b3[57]](_0x83b3[611],_0x83b3[361]);this[_0x83b3[618]][_0x83b3[124]][_0x83b3[941]]= _0x83b3[952];this[_0x83b3[618]][_0x83b3[124]][_0x83b3[945]]= _0x83b3[946];this[_0x83b3[618]][_0x83b3[124]][_0x83b3[953]]= _0x83b3[954];this[_0x83b3[924]][_0x83b3[950]](this[_0x83b3[618]],this[_0x83b3[924]][_0x83b3[285]])};mxWindow[_0x83b3[202]][_0x83b3[164]]= function(_0x187fx2){this[_0x83b3[948]][_0x83b3[124]][_0x83b3[495]]= _0x187fx2?_0x83b3[110]:_0x83b3[130]};mxWindow[_0x83b3[202]][_0x83b3[174]]= function(){return null!= this[_0x83b3[485]]?_0x83b3[188]!= this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]]:!1};mxWindow[_0x83b3[202]][_0x83b3[175]]= function(_0x187fx2){null!= this[_0x83b3[485]]&& this[_0x83b3[174]]()!= _0x187fx2&& (_0x187fx2?this[_0x83b3[539]]():this[_0x83b3[801]]())};mxWindow[_0x83b3[202]][_0x83b3[539]]= function(){this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[110];this[_0x83b3[790]]();var _0x187fx2=mxUtils[_0x83b3[275]](this[_0x83b3[929]]);if(!mxClient[_0x83b3[80]]&& (_0x83b3[278]== _0x187fx2[_0x83b3[277]]|| null!= this[_0x83b3[129]])){this[_0x83b3[929]][_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[485]][_0x83b3[167]]- this[_0x83b3[924]][_0x83b3[167]]- 2+ _0x83b3[168]};this[_0x83b3[746]]( new mxEventObject(mxEvent.SHOW))};mxWindow[_0x83b3[202]][_0x83b3[801]]= function(){this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];this[_0x83b3[746]]( new mxEventObject(mxEvent.HIDE))};mxWindow[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[746]]( new mxEventObject(mxEvent.DESTROY));null!= this[_0x83b3[485]]&& (mxEvent[_0x83b3[762]](this[_0x83b3[485]]),this[_0x83b3[485]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[485]]),this[_0x83b3[485]]= null);this[_0x83b3[929]]= this[_0x83b3[905]]= this[_0x83b3[924]]= null};function mxForm(_0x187fx2){this[_0x83b3[116]]= document[_0x83b3[55]](_0x83b3[116]);this[_0x83b3[116]][_0x83b3[926]]= _0x187fx2;this[_0x83b3[112]]= document[_0x83b3[55]](_0x83b3[120]);this[_0x83b3[116]][_0x83b3[62]](this[_0x83b3[112]])}mxForm[_0x83b3[202]][_0x83b3[116]]= null;mxForm[_0x83b3[202]][_0x83b3[112]]= !1;mxForm[_0x83b3[202]][_0x83b3[955]]= function(){return this[_0x83b3[116]]};mxForm[_0x83b3[202]][_0x83b3[956]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[121]),_0x187fx5=document[_0x83b3[55]](_0x83b3[122]);_0x187fx4[_0x83b3[62]](_0x187fx5);var _0x187fx5=document[_0x83b3[55]](_0x83b3[122]),_0x187fx9=document[_0x83b3[55]](_0x83b3[172]);mxUtils[_0x83b3[53]](_0x187fx9,mxResources[_0x83b3[203]](_0x83b3[957])|| _0x83b3[958]);_0x187fx5[_0x83b3[62]](_0x187fx9);mxEvent[_0x83b3[169]](_0x187fx9,_0x83b3[173],function(){_0x187fx2()});_0x187fx9= document[_0x83b3[55]](_0x83b3[172]);mxUtils[_0x83b3[53]](_0x187fx9,mxResources[_0x83b3[203]](_0x83b3[959])|| _0x83b3[960]);_0x187fx5[_0x83b3[62]](_0x187fx9);mxEvent[_0x83b3[169]](_0x187fx9,_0x83b3[173],function(){_0x187fx3()});_0x187fx4[_0x83b3[62]](_0x187fx5);this[_0x83b3[112]][_0x83b3[62]](_0x187fx4)};mxForm[_0x83b3[202]][_0x83b3[961]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[962]);_0x187fx4[_0x83b3[57]](_0x83b3[60],_0x83b3[963]);_0x187fx4[_0x83b3[131]]= _0x187fx3;return this[_0x83b3[964]](_0x187fx2,_0x187fx4)};mxForm[_0x83b3[202]][_0x83b3[965]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[962]);_0x187fx4[_0x83b3[57]](_0x83b3[60],_0x83b3[966]);this[_0x83b3[964]](_0x187fx2,_0x187fx4);_0x187fx3&& (_0x187fx4[_0x83b3[967]]= !0);return _0x187fx4};mxForm[_0x83b3[202]][_0x83b3[968]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=document[_0x83b3[55]](_0x83b3[126]);mxClient[_0x83b3[133]]&& _0x187fx4--;_0x187fx5[_0x83b3[57]](_0x83b3[969],_0x187fx4|| 2);_0x187fx5[_0x83b3[131]]= _0x187fx3;return this[_0x83b3[964]](_0x187fx2,_0x187fx5)};mxForm[_0x83b3[202]][_0x83b3[970]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=document[_0x83b3[55]](_0x83b3[804]);null!= _0x187fx4&& _0x187fx5[_0x83b3[57]](_0x83b3[803],_0x187fx4);_0x187fx3&& _0x187fx5[_0x83b3[57]](_0x83b3[971],_0x83b3[128]);return this[_0x83b3[964]](_0x187fx2,_0x187fx5)};mxForm[_0x83b3[202]][_0x83b3[972]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=document[_0x83b3[55]](_0x83b3[973]);mxUtils[_0x83b3[171]](_0x187fx9,_0x187fx3);_0x187fx9[_0x83b3[57]](_0x83b3[131],_0x187fx4);_0x187fx5&& _0x187fx9[_0x83b3[57]](_0x83b3[974],_0x187fx5);_0x187fx2[_0x83b3[62]](_0x187fx9)};mxForm[_0x83b3[202]][_0x83b3[964]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[121]),_0x187fx5=document[_0x83b3[55]](_0x83b3[122]);mxUtils[_0x83b3[53]](_0x187fx5,_0x187fx2);_0x187fx4[_0x83b3[62]](_0x187fx5);_0x187fx5= document[_0x83b3[55]](_0x83b3[122]);_0x187fx5[_0x83b3[62]](_0x187fx3);_0x187fx4[_0x83b3[62]](_0x187fx5);this[_0x83b3[112]][_0x83b3[62]](_0x187fx4);return _0x187fx3};function mxImage(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[390]]= _0x187fx2;this[_0x83b3[117]]= _0x187fx3;this[_0x83b3[119]]= _0x187fx4}mxImage[_0x83b3[202]][_0x83b3[390]]= null;mxImage[_0x83b3[202]][_0x83b3[117]]= null;mxImage[_0x83b3[202]][_0x83b3[119]]= null;function mxDivResizer(_0x187fx2,_0x187fx3){if(_0x83b3[485]== _0x187fx2[_0x83b3[301]][_0x83b3[216]]()){null== _0x187fx3&& (_0x187fx3= window);this[_0x83b3[485]]= _0x187fx2;var _0x187fx4=mxUtils[_0x83b3[275]](_0x187fx2);null!= _0x187fx4&& (this[_0x83b3[975]]= _0x83b3[278]== _0x187fx4[_0x83b3[117]],this[_0x83b3[976]]= _0x83b3[278]== _0x187fx4[_0x83b3[119]]);mxEvent[_0x83b3[169]](_0x187fx3,_0x83b3[129],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[977]]|| (this[_0x83b3[977]]= !0,this[_0x83b3[129]](),this[_0x83b3[977]]= !1)}));this[_0x83b3[129]]()}}mxDivResizer[_0x83b3[202]][_0x83b3[975]]= !0;mxDivResizer[_0x83b3[202]][_0x83b3[976]]= !0;mxDivResizer[_0x83b3[202]][_0x83b3[977]]= !1;mxDivResizer[_0x83b3[202]][_0x83b3[129]]= function(){var _0x187fx2=this[_0x83b3[978]](),_0x187fx3=this[_0x83b3[979]](),_0x187fx4=parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]),_0x187fx5=parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[699]]),_0x187fx9=parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]),_0x187fxa=parseInt(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[553]]);this[_0x83b3[975]]&& (!isNaN(_0x187fx4)&& !isNaN(_0x187fx5)&& 0<= _0x187fx4&& 0<= _0x187fx5&& 0< _0x187fx2- _0x187fx5- _0x187fx4)&& (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= _0x187fx2- _0x187fx5- _0x187fx4+ _0x83b3[168]);this[_0x83b3[976]]&& (!isNaN(_0x187fx9)&& !isNaN(_0x187fxa)&& 0<= _0x187fx9&& 0<= _0x187fxa&& 0< _0x187fx3- _0x187fx9- _0x187fxa)&& (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= _0x187fx3- _0x187fx9- _0x187fxa+ _0x83b3[168])};mxDivResizer[_0x83b3[202]][_0x83b3[978]]= function(){return document[_0x83b3[112]][_0x83b3[159]]};mxDivResizer[_0x83b3[202]][_0x83b3[979]]= function(){return document[_0x83b3[112]][_0x83b3[157]]};function mxDragSource(_0x187fx2,_0x187fx3){this[_0x83b3[980]]= _0x187fx2;this[_0x83b3[981]]= _0x187fx3;mxEvent[_0x83b3[759]](_0x187fx2,mxUtils[_0x83b3[885]](this,this[_0x83b3[787]]))}mxDragSource[_0x83b3[202]][_0x83b3[980]]= null;mxDragSource[_0x83b3[202]][_0x83b3[981]]= null;mxDragSource[_0x83b3[202]][_0x83b3[559]]= null;mxDragSource[_0x83b3[202]][_0x83b3[982]]= null;mxDragSource[_0x83b3[202]][_0x83b3[983]]= null;mxDragSource[_0x83b3[202]][_0x83b3[984]]= !0;mxDragSource[_0x83b3[202]][_0x83b3[985]]= null;mxDragSource[_0x83b3[202]][_0x83b3[986]]= null;mxDragSource[_0x83b3[202]][_0x83b3[987]]= null;mxDragSource[_0x83b3[202]][_0x83b3[988]]= null;mxDragSource[_0x83b3[202]][_0x83b3[989]]= null;mxDragSource[_0x83b3[202]][_0x83b3[561]]= !0;mxDragSource[_0x83b3[202]][_0x83b3[990]]= !0;mxDragSource[_0x83b3[202]][_0x83b3[991]]= !0;mxDragSource[_0x83b3[202]][_0x83b3[563]]= !0;mxDragSource[_0x83b3[202]][_0x83b3[992]]= 100;mxDragSource[_0x83b3[202]][_0x83b3[993]]= 70;mxDragSource[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxDragSource[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxDragSource[_0x83b3[202]][_0x83b3[996]]= function(){return this[_0x83b3[990]]};mxDragSource[_0x83b3[202]][_0x83b3[562]]= function(_0x187fx2){this[_0x83b3[990]]= _0x187fx2};mxDragSource[_0x83b3[202]][_0x83b3[997]]= function(){return this[_0x83b3[991]]};mxDragSource[_0x83b3[202]][_0x83b3[998]]= function(_0x187fx2){this[_0x83b3[991]]= _0x187fx2};mxDragSource[_0x83b3[202]][_0x83b3[565]]= function(_0x187fx2){return null};mxDragSource[_0x83b3[202]][_0x83b3[564]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx2[_0x83b3[999]](_0x187fx3,_0x187fx4)};mxDragSource[_0x83b3[202]][_0x83b3[566]]= function(_0x187fx2){return this[_0x83b3[980]][_0x83b3[511]](!0)};mxDragSource[_0x83b3[202]][_0x83b3[567]]= function(_0x187fx2){return null};mxDragSource[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2){this[_0x83b3[984]]&& (!mxEvent[_0x83b3[721]](_0x187fx2)&& null== this[_0x83b3[1000]])&& (this[_0x83b3[1001]](_0x187fx2),this[_0x83b3[1000]]= mxUtils[_0x83b3[885]](this,this[_0x83b3[788]]),this[_0x83b3[1002]]= mxUtils[_0x83b3[885]](this,this[_0x83b3[789]]),mxEvent[_0x83b3[759]](document,null,this[_0x83b3[1000]],this[_0x83b3[1002]]),mxEvent[_0x83b3[722]](_0x187fx2,!0,!1))};mxDragSource[_0x83b3[202]][_0x83b3[1001]]= function(_0x187fx2){this[_0x83b3[982]]= this[_0x83b3[566]](_0x187fx2);this[_0x83b3[982]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];this[_0x83b3[982]][_0x83b3[124]][_0x83b3[931]]= this[_0x83b3[992]];mxUtils[_0x83b3[254]](this[_0x83b3[982]],this[_0x83b3[993]])};mxDragSource[_0x83b3[202]][_0x83b3[1003]]= function(_0x187fx2){null!= this[_0x83b3[982]]&& (null!= this[_0x83b3[982]][_0x83b3[265]]&& this[_0x83b3[982]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[982]]),this[_0x83b3[982]]= null)};mxDragSource[_0x83b3[202]][_0x83b3[1004]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxEvent[_0x83b3[731]](_0x187fx3),_0x187fx5=mxEvent[_0x83b3[733]](_0x187fx3),_0x187fx9=mxUtils[_0x83b3[445]](_0x187fx2[_0x83b3[526]]),_0x187fxa=mxUtils[_0x83b3[444]]();return _0x187fx4>= _0x187fx9[_0x83b3[235]]- _0x187fxa[_0x83b3[235]]&& _0x187fx5>= _0x187fx9[_0x83b3[236]]- _0x187fxa[_0x83b3[236]]&& _0x187fx4<= _0x187fx9[_0x83b3[235]]- _0x187fxa[_0x83b3[235]]+ _0x187fx2[_0x83b3[526]][_0x83b3[359]]&& _0x187fx5<= _0x187fx9[_0x83b3[236]]- _0x187fxa[_0x83b3[236]]+ _0x187fx2[_0x83b3[526]][_0x83b3[167]]};mxDragSource[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[565]](_0x187fx2);null!= _0x187fx3&& !this[_0x83b3[1004]](_0x187fx3,_0x187fx2)&& (_0x187fx3= null);_0x187fx3!= this[_0x83b3[985]]&& (null!= this[_0x83b3[985]]&& this[_0x83b3[1005]](this[_0x83b3[985]]),this[_0x83b3[985]]= _0x187fx3,null!= this[_0x83b3[985]]&& this[_0x83b3[1006]](this[_0x83b3[985]]));null!= this[_0x83b3[985]]&& this[_0x83b3[1007]](this[_0x83b3[985]],_0x187fx2);if(null!= this[_0x83b3[982]]&& (null== this[_0x83b3[983]]|| _0x83b3[189]!= this[_0x83b3[983]][_0x83b3[124]][_0x83b3[187]])){var _0x187fx3=mxEvent[_0x83b3[731]](_0x187fx2),_0x187fx4=mxEvent[_0x83b3[733]](_0x187fx2);null== this[_0x83b3[982]][_0x83b3[265]]&& document[_0x83b3[112]][_0x83b3[62]](this[_0x83b3[982]]);this[_0x83b3[982]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189];null!= this[_0x83b3[559]]&& (_0x187fx3+= this[_0x83b3[559]][_0x83b3[235]],_0x187fx4+= this[_0x83b3[559]][_0x83b3[236]]);_0x187fx3+= document[_0x83b3[112]][_0x83b3[360]]|| document[_0x83b3[158]][_0x83b3[360]];_0x187fx4+= document[_0x83b3[112]][_0x83b3[190]]|| document[_0x83b3[158]][_0x83b3[190]];this[_0x83b3[982]][_0x83b3[124]][_0x83b3[361]]= _0x187fx3+ _0x83b3[168];this[_0x83b3[982]][_0x83b3[124]][_0x83b3[125]]= _0x187fx4+ _0x83b3[168]}else {null!= this[_0x83b3[982]]&& (this[_0x83b3[982]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188])};mxEvent[_0x83b3[722]](_0x187fx2)};mxDragSource[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2){if(null!= this[_0x83b3[985]]){if(null!= this[_0x83b3[987]]&& (null== this[_0x83b3[983]]|| _0x83b3[188]!= this[_0x83b3[983]][_0x83b3[124]][_0x83b3[187]])){var _0x187fx3=this[_0x83b3[985]][_0x83b3[441]][_0x83b3[255]],_0x187fx4=this[_0x83b3[985]][_0x83b3[441]][_0x83b3[513]];this[_0x83b3[1008]](this[_0x83b3[985]],_0x187fx2,this[_0x83b3[986]],this[_0x83b3[987]][_0x83b3[235]]/ _0x187fx3- _0x187fx4[_0x83b3[235]],this[_0x83b3[987]][_0x83b3[236]]/ _0x187fx3- _0x187fx4[_0x83b3[236]])};this[_0x83b3[1005]](this[_0x83b3[985]])};this[_0x83b3[1003]](_0x187fx2);mxEvent[_0x83b3[938]](document,null,this[_0x83b3[1000]],this[_0x83b3[1002]]);this[_0x83b3[985]]= this[_0x83b3[1002]]= this[_0x83b3[1000]]= null;mxEvent[_0x83b3[722]](_0x187fx2)};mxDragSource[_0x83b3[202]][_0x83b3[1006]]= function(_0x187fx2){_0x187fx2[_0x83b3[1009]]= !0;this[_0x83b3[983]]= this[_0x83b3[567]](_0x187fx2);this[_0x83b3[996]]()&& null!= this[_0x83b3[983]]&& (this[_0x83b3[988]]= new mxGuide(_0x187fx2,_0x187fx2[_0x83b3[1011]][_0x83b3[1010]]()));this[_0x83b3[563]]&& (this[_0x83b3[989]]= new mxCellHighlight(_0x187fx2,mxConstants.DROP_TARGET_COLOR))};mxDragSource[_0x83b3[202]][_0x83b3[1005]]= function(_0x187fx2){this[_0x83b3[987]]= this[_0x83b3[986]]= null;_0x187fx2[_0x83b3[1009]]= !1;null!= this[_0x83b3[983]]&& (null!= this[_0x83b3[983]][_0x83b3[265]]&& this[_0x83b3[983]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[983]]),this[_0x83b3[983]]= null);null!= this[_0x83b3[988]]&& (this[_0x83b3[988]][_0x83b3[515]](),this[_0x83b3[988]]= null);null!= this[_0x83b3[989]]&& (this[_0x83b3[989]][_0x83b3[515]](),this[_0x83b3[989]]= null)};mxDragSource[_0x83b3[202]][_0x83b3[1007]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxUtils[_0x83b3[445]](_0x187fx2[_0x83b3[526]]),_0x187fx5=mxUtils[_0x83b3[444]](_0x187fx2[_0x83b3[526]]),_0x187fx9=mxEvent[_0x83b3[731]](_0x187fx3)- _0x187fx4[_0x83b3[235]]+ _0x187fx5[_0x83b3[235]],_0x187fx4=mxEvent[_0x83b3[733]](_0x187fx3)- _0x187fx4[_0x83b3[236]]+ _0x187fx5[_0x83b3[236]];_0x187fx2[_0x83b3[1012]]&& (null== this[_0x83b3[561]]|| this[_0x83b3[561]])&& _0x187fx2[_0x83b3[1014]](_0x187fx9,_0x187fx4,_0x187fx2[_0x83b3[1013]]);null!= this[_0x83b3[989]]&& _0x187fx2[_0x83b3[1015]]()&& (this[_0x83b3[986]]= this[_0x83b3[564]](_0x187fx2,_0x187fx9,_0x187fx4),_0x187fx5= _0x187fx2[_0x83b3[249]]()[_0x83b3[248]](this[_0x83b3[986]]),this[_0x83b3[989]][_0x83b3[1016]](_0x187fx5));if(null!= this[_0x83b3[983]]){null== this[_0x83b3[983]][_0x83b3[265]]&& (_0x187fx2[_0x83b3[526]][_0x83b3[62]](this[_0x83b3[983]]),this[_0x83b3[983]][_0x83b3[124]][_0x83b3[931]]= _0x83b3[1017],this[_0x83b3[983]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492]);var _0x187fx5=this[_0x83b3[997]]()&& _0x187fx2[_0x83b3[1018]](_0x187fx3),_0x187fxa=!0;if(null!= this[_0x83b3[988]]&& this[_0x83b3[988]][_0x83b3[1019]](_0x187fx3)){var _0x187fxa=parseInt(this[_0x83b3[983]][_0x83b3[124]][_0x83b3[117]]),_0x187fx12=parseInt(this[_0x83b3[983]][_0x83b3[124]][_0x83b3[119]]),_0x187fxa= new mxRectangle(0,0,_0x187fxa,_0x187fx12),_0x187fx4= new mxPoint(_0x187fx9,_0x187fx4),_0x187fx4=this[_0x83b3[988]][_0x83b3[582]](_0x187fxa,_0x187fx4,_0x187fx5),_0x187fxa=!1,_0x187fx9=_0x187fx4[_0x83b3[235]],_0x187fx4=_0x187fx4[_0x83b3[236]]}else {if(_0x187fx5){var _0x187fx5=_0x187fx2[_0x83b3[441]][_0x83b3[255]],_0x187fx12=_0x187fx2[_0x83b3[441]][_0x83b3[513]],_0x187fx13=_0x187fx2[_0x83b3[1020]]/ 2,_0x187fx9=(_0x187fx2[_0x83b3[1021]](_0x187fx9/ _0x187fx5- _0x187fx12[_0x83b3[235]]- _0x187fx13)+ _0x187fx12[_0x83b3[235]])* _0x187fx5,_0x187fx4=(_0x187fx2[_0x83b3[1021]](_0x187fx4/ _0x187fx5- _0x187fx12[_0x83b3[236]]- _0x187fx13)+ _0x187fx12[_0x83b3[236]])* _0x187fx5}};null!= this[_0x83b3[988]]&& _0x187fxa&& this[_0x83b3[988]][_0x83b3[801]]();null!= this[_0x83b3[1022]]&& (_0x187fx9+= this[_0x83b3[1022]][_0x83b3[235]],_0x187fx4+= this[_0x83b3[1022]][_0x83b3[236]]);this[_0x83b3[983]][_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[488]](_0x187fx9)+ _0x83b3[168];this[_0x83b3[983]][_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[488]](_0x187fx4)+ _0x83b3[168];this[_0x83b3[983]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189]};this[_0x83b3[987]]= new mxPoint(_0x187fx9,_0x187fx4)};mxDragSource[_0x83b3[202]][_0x83b3[1008]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){this[_0x83b3[981]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[526]][_0x83b3[393]]()};function mxToolbar(_0x187fx2){this[_0x83b3[526]]= _0x187fx2}mxToolbar[_0x83b3[202]]= new mxEventSource;mxToolbar[_0x83b3[202]][_0x83b3[196]]= mxToolbar;mxToolbar[_0x83b3[202]][_0x83b3[526]]= null;mxToolbar[_0x83b3[202]][_0x83b3[984]]= !0;mxToolbar[_0x83b3[202]][_0x83b3[1023]]= !1;mxToolbar[_0x83b3[202]][_0x83b3[1024]]= !0;mxToolbar[_0x83b3[202]][_0x83b3[1025]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=document[_0x83b3[55]](null!= _0x187fx3?_0x83b3[466]:_0x83b3[172]),_0x187fx13=_0x187fx9|| (null!= _0x187fxa?_0x83b3[1026]:_0x83b3[1027]);_0x187fx12[_0x83b3[926]]= _0x187fx13;_0x187fx12[_0x83b3[57]](_0x83b3[390],_0x187fx3);null!= _0x187fx2&& (null!= _0x187fx3?_0x187fx12[_0x83b3[57]](_0x83b3[924],_0x187fx2):mxUtils[_0x83b3[53]](_0x187fx12,_0x187fx2));this[_0x83b3[526]][_0x83b3[62]](_0x187fx12);null!= _0x187fx4&& (mxEvent[_0x83b3[169]](_0x187fx12,_0x83b3[173],_0x187fx4),mxClient[_0x83b3[754]]&& mxEvent[_0x83b3[169]](_0x187fx12,_0x83b3[757],_0x187fx4));_0x187fx2= mxUtils[_0x83b3[885]](this,function(_0x187fx2){null!= _0x187fx5?_0x187fx12[_0x83b3[57]](_0x83b3[390],_0x187fx3):_0x187fx12[_0x83b3[124]][_0x83b3[1028]]= _0x83b3[110]});mxEvent[_0x83b3[759]](_0x187fx12,mxUtils[_0x83b3[885]](this,function(_0x187fx2){null!= _0x187fx5?_0x187fx12[_0x83b3[57]](_0x83b3[390],_0x187fx5):_0x187fx12[_0x83b3[124]][_0x83b3[1028]]= _0x83b3[579];if(null!= _0x187fxa){null== this[_0x83b3[1029]]&& (this[_0x83b3[1029]]= new mxPopupMenu,this[_0x83b3[1029]][_0x83b3[176]]());var _0x187fx3=this[_0x83b3[1030]];this[_0x83b3[1029]][_0x83b3[1031]]()&& this[_0x83b3[1029]][_0x83b3[1032]]();_0x187fx3!= _0x187fx12&& (this[_0x83b3[1030]]= _0x187fx12,this[_0x83b3[1029]][_0x83b3[1033]]= _0x187fxa,_0x187fx3= new mxPoint(_0x187fx12[_0x83b3[358]],_0x187fx12[_0x83b3[362]]+ _0x187fx12[_0x83b3[167]]),this[_0x83b3[1029]][_0x83b3[152]](_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],null,_0x187fx2),this[_0x83b3[1029]][_0x83b3[1031]]()&& (_0x187fx12[_0x83b3[926]]= _0x187fx13+ _0x83b3[1034],this[_0x83b3[1029]][_0x83b3[1032]]= function(){mxPopupMenu[_0x83b3[202]][_0x83b3[1032]][_0x83b3[183]](this);_0x187fx12[_0x83b3[926]]= _0x187fx13;this[_0x83b3[1030]]= null}))}}),null,_0x187fx2);mxEvent[_0x83b3[169]](_0x187fx12,_0x83b3[1035],_0x187fx2);return _0x187fx12};mxToolbar[_0x83b3[202]][_0x83b3[970]]= function(_0x187fx2){var _0x187fx3=document[_0x83b3[55]](_0x83b3[485]);_0x187fx3[_0x83b3[124]][_0x83b3[495]]= _0x83b3[497];_0x187fx3[_0x83b3[926]]= _0x83b3[1036];var _0x187fx4=document[_0x83b3[55]](_0x83b3[804]);_0x187fx4[_0x83b3[926]]= _0x187fx2|| _0x83b3[1037];_0x187fx3[_0x83b3[62]](_0x187fx4);this[_0x83b3[526]][_0x83b3[62]](_0x187fx3);return _0x187fx4};mxToolbar[_0x83b3[202]][_0x83b3[1038]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[804]);_0x187fx4[_0x83b3[926]]= _0x187fx3|| _0x83b3[1037];this[_0x83b3[972]](_0x187fx4,_0x187fx2,null);mxEvent[_0x83b3[169]](_0x187fx4,_0x83b3[826],function(_0x187fx2){var _0x187fx3=_0x187fx4[_0x83b3[1040]][_0x187fx4[_0x83b3[1039]]];_0x187fx4[_0x83b3[1039]]= 0;null!= _0x187fx3[_0x83b3[1041]]&& _0x187fx3[_0x83b3[1041]](_0x187fx2)});this[_0x83b3[526]][_0x83b3[62]](_0x187fx4);return _0x187fx4};mxToolbar[_0x83b3[202]][_0x83b3[972]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=document[_0x83b3[55]](_0x83b3[973]);mxUtils[_0x83b3[171]](_0x187fx5,_0x187fx3);_0x83b3[279]== typeof _0x187fx4?_0x187fx5[_0x83b3[1041]]= _0x187fx4:_0x187fx5[_0x83b3[57]](_0x83b3[131],_0x187fx4);_0x187fx2[_0x83b3[62]](_0x187fx5);return _0x187fx5};mxToolbar[_0x83b3[202]][_0x83b3[1042]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=document[_0x83b3[55]](_0x83b3[466]);_0x187fxa[_0x83b3[1043]]= _0x187fx9|| _0x83b3[1026];_0x187fxa[_0x83b3[926]]= _0x187fxa[_0x83b3[1043]];_0x187fxa[_0x83b3[57]](_0x83b3[390],_0x187fx3);_0x187fxa[_0x83b3[1044]]= _0x187fx5;null!= _0x187fx2&& _0x187fxa[_0x83b3[57]](_0x83b3[924],_0x187fx2);mxEvent[_0x83b3[169]](_0x187fxa,_0x83b3[173],mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx2= this[_0x83b3[1045]][_0x83b3[1044]];null!= _0x187fx2?(this[_0x83b3[1045]][_0x83b3[1044]]= this[_0x83b3[1045]][_0x83b3[284]](_0x83b3[390]),this[_0x83b3[1045]][_0x83b3[57]](_0x83b3[390],_0x187fx2)):this[_0x83b3[1045]][_0x83b3[926]]= this[_0x83b3[1045]][_0x83b3[1043]];this[_0x83b3[1024]]&& (this[_0x83b3[1046]]= _0x187fxa);this[_0x83b3[1045]]= _0x187fxa;_0x187fx2= _0x187fxa[_0x83b3[1044]];null!= _0x187fx2?(_0x187fxa[_0x83b3[1044]]= _0x187fxa[_0x83b3[284]](_0x83b3[390]),_0x187fxa[_0x83b3[57]](_0x83b3[390],_0x187fx2)):_0x187fxa[_0x83b3[926]]= _0x187fxa[_0x83b3[1043]]+ _0x83b3[1034];this[_0x83b3[746]]( new mxEventObject(mxEvent.SELECT));_0x187fx4()}));this[_0x83b3[526]][_0x83b3[62]](_0x187fxa);null== this[_0x83b3[1046]]&& (this[_0x83b3[1046]]= _0x187fxa,this[_0x83b3[1047]](_0x187fxa),_0x187fx4());return _0x187fxa};mxToolbar[_0x83b3[202]][_0x83b3[1048]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fxa= null!= _0x187fxa?_0x187fxa:!0;var _0x187fx12=document[_0x83b3[55]](null!= _0x187fx3?_0x83b3[466]:_0x83b3[172]);_0x187fx12[_0x83b3[1043]]= _0x187fx9|| _0x83b3[1026];_0x187fx12[_0x83b3[926]]= _0x187fx12[_0x83b3[1043]];_0x187fx12[_0x83b3[57]](_0x83b3[390],_0x187fx3);_0x187fx12[_0x83b3[1044]]= _0x187fx5;null!= _0x187fx2&& _0x187fx12[_0x83b3[57]](_0x83b3[924],_0x187fx2);this[_0x83b3[984]]&& _0x187fxa&& (mxEvent[_0x83b3[169]](_0x187fx12,_0x83b3[173],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1047]](_0x187fx12,_0x187fx4);this[_0x83b3[1023]]= !1})),mxEvent[_0x83b3[169]](_0x187fx12,_0x83b3[760],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1047]](_0x187fx12,_0x187fx4);this[_0x83b3[1023]]= !0})),null== this[_0x83b3[1046]]&& (this[_0x83b3[1046]]= _0x187fx12,this[_0x83b3[1049]]= _0x187fx4,this[_0x83b3[1047]](_0x187fx12,_0x187fx4)));this[_0x83b3[526]][_0x83b3[62]](_0x187fx12);return _0x187fx12};mxToolbar[_0x83b3[202]][_0x83b3[1047]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1045]]!= _0x187fx2){if(null!= this[_0x83b3[1045]]){var _0x187fx4=this[_0x83b3[1045]][_0x83b3[1044]];null!= _0x187fx4?(this[_0x83b3[1045]][_0x83b3[1044]]= this[_0x83b3[1045]][_0x83b3[284]](_0x83b3[390]),this[_0x83b3[1045]][_0x83b3[57]](_0x83b3[390],_0x187fx4)):this[_0x83b3[1045]][_0x83b3[926]]= this[_0x83b3[1045]][_0x83b3[1043]]};this[_0x83b3[1045]]= _0x187fx2;_0x187fx4= this[_0x83b3[1045]][_0x83b3[1044]];null!= _0x187fx4?(this[_0x83b3[1045]][_0x83b3[1044]]= this[_0x83b3[1045]][_0x83b3[284]](_0x83b3[390]),this[_0x83b3[1045]][_0x83b3[57]](_0x83b3[390],_0x187fx4)):this[_0x83b3[1045]][_0x83b3[926]]= this[_0x83b3[1045]][_0x83b3[1043]]+ _0x83b3[1034];this[_0x83b3[746]]( new mxEventObject(mxEvent.SELECT,_0x83b3[279],_0x187fx3))}};mxToolbar[_0x83b3[202]][_0x83b3[1050]]= function(_0x187fx2){(_0x187fx2|| !this[_0x83b3[1023]])&& this[_0x83b3[1045]]!= this[_0x83b3[1046]]&& this[_0x83b3[1047]](this[_0x83b3[1046]],this[_0x83b3[1049]])};mxToolbar[_0x83b3[202]][_0x83b3[1051]]= function(_0x187fx2){return this[_0x83b3[1025]](null,_0x187fx2,null)};mxToolbar[_0x83b3[202]][_0x83b3[1052]]= function(){mxUtils[_0x83b3[345]](this[_0x83b3[526]])};mxToolbar[_0x83b3[202]][_0x83b3[1053]]= function(){var _0x187fx2=document[_0x83b3[55]](_0x83b3[1054]);_0x187fx2[_0x83b3[124]][_0x83b3[941]]= _0x83b3[1055];_0x187fx2[_0x83b3[57]](_0x83b3[803],_0x83b3[500]);this[_0x83b3[526]][_0x83b3[62]](_0x187fx2)};mxToolbar[_0x83b3[202]][_0x83b3[515]]= function(){mxEvent[_0x83b3[762]](this[_0x83b3[526]]);this[_0x83b3[1045]]= this[_0x83b3[1049]]= this[_0x83b3[1046]]= this[_0x83b3[526]]= null;null!= this[_0x83b3[1029]]&& this[_0x83b3[1029]][_0x83b3[515]]()};function mxSession(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[1056]]= _0x187fx3;this[_0x83b3[1057]]= _0x187fx4;this[_0x83b3[1058]]= _0x187fx5;null!= _0x187fx2&& (this[_0x83b3[1059]]= new mxCodec,this[_0x83b3[1059]][_0x83b3[1060]]= function(_0x187fx3){return _0x187fx2[_0x83b3[736]](_0x187fx3)});_0x187fx2[_0x83b3[169]](mxEvent.NOTIFY,mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx3[_0x83b3[720]](_0x83b3[1061]);(null!= _0x187fx4&& this[_0x83b3[143]]|| this[_0x83b3[1062]]&& !this[_0x83b3[1063]])&& this[_0x83b3[827]](_0x83b3[1064]+ this[_0x83b3[1067]](_0x187fx4[_0x83b3[1065]],_0x187fx4[_0x83b3[1066]])+ _0x83b3[1068])}))}mxSession[_0x83b3[202]]= new mxEventSource;mxSession[_0x83b3[202]][_0x83b3[196]]= mxSession;mxSession[_0x83b3[202]][_0x83b3[251]]= null;mxSession[_0x83b3[202]][_0x83b3[1056]]= null;mxSession[_0x83b3[202]][_0x83b3[1057]]= null;mxSession[_0x83b3[202]][_0x83b3[1058]]= null;mxSession[_0x83b3[202]][_0x83b3[1059]]= null;mxSession[_0x83b3[202]][_0x83b3[1069]]= _0x83b3[336];mxSession[_0x83b3[202]][_0x83b3[1070]]= !0;mxSession[_0x83b3[202]][_0x83b3[1071]]= !0;mxSession[_0x83b3[202]][_0x83b3[1072]]= 0;mxSession[_0x83b3[202]][_0x83b3[1073]]= 0;mxSession[_0x83b3[202]][_0x83b3[143]]= !1;mxSession[_0x83b3[202]][_0x83b3[1062]]= !1;mxSession[_0x83b3[202]][_0x83b3[1063]]= !1;mxSession[_0x83b3[202]][_0x83b3[1074]]= !1;mxSession[_0x83b3[202]][_0x83b3[861]]= function(){this[_0x83b3[143]]?(this[_0x83b3[1062]]= !0,this[_0x83b3[746]]( new mxEventObject(mxEvent.CONNECT))):this[_0x83b3[1062]]|| this[_0x83b3[203]](this[_0x83b3[1056]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1062]]= !0;this[_0x83b3[746]]( new mxEventObject(mxEvent.CONNECT));this[_0x83b3[1075]]()}))};mxSession[_0x83b3[202]][_0x83b3[809]]= function(){this[_0x83b3[1062]]&& !this[_0x83b3[1063]]&& (this[_0x83b3[1063]]= !0,this[_0x83b3[746]]( new mxEventObject(mxEvent.SUSPEND)))};mxSession[_0x83b3[202]][_0x83b3[810]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[1062]]&& this[_0x83b3[1063]]&& (this[_0x83b3[1063]]= !1,this[_0x83b3[746]]( new mxEventObject(mxEvent.RESUME)),this[_0x83b3[1074]]|| this[_0x83b3[1075]]())};mxSession[_0x83b3[202]][_0x83b3[1076]]= function(_0x187fx2){this[_0x83b3[1062]]&& (this[_0x83b3[1062]]= !1);this[_0x83b3[746]]( new mxEventObject(mxEvent.DISCONNECT,_0x83b3[1077],_0x187fx2))};mxSession[_0x83b3[202]][_0x83b3[1075]]= function(){this[_0x83b3[1062]]&& !this[_0x83b3[1063]]&& null!= this[_0x83b3[1057]]?(this[_0x83b3[1074]]= !0,this[_0x83b3[203]](this[_0x83b3[1057]],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[1075]]()}))):this[_0x83b3[1074]]= !1};mxSession[_0x83b3[202]][_0x83b3[827]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]&& (null!= this[_0x83b3[1058]]&& (this[_0x83b3[143]]?(mxLog[_0x83b3[539]](),mxLog[_0x83b3[143]](_0x83b3[1078]+ this[_0x83b3[1058]]+ _0x83b3[1079]+ _0x187fx2)):(_0x187fx2= _0x83b3[1080]+ _0x187fx2+ _0x83b3[1081],this[_0x83b3[1070]]&& (_0x187fx2= encodeURIComponent(_0x187fx2)),mxUtils[_0x83b3[814]](this[_0x83b3[1058]],_0x83b3[1082]+ _0x187fx2,_0x187fx3,_0x187fx4))),this[_0x83b3[1072]]+= _0x187fx2[_0x83b3[67]],this[_0x83b3[746]]( new mxEventObject(mxEvent.NOTIFY,_0x83b3[863],this[_0x83b3[1058]],_0x83b3[338],_0x187fx2)))};mxSession[_0x83b3[202]][_0x83b3[203]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(_0x83b3[82]!= typeof mxUtils){var _0x187fx5=mxUtils[_0x83b3[885]](this,function(_0x187fx2){null!= _0x187fx4?_0x187fx4(_0x187fx2):this[_0x83b3[1076]](_0x187fx2)});mxUtils[_0x83b3[203]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx4){if(_0x83b3[82]!= typeof mxUtils){if(_0x187fx4[_0x83b3[220]]()&& 404!= _0x187fx4[_0x83b3[878]]()){if(this[_0x83b3[1073]]+= _0x187fx4[_0x83b3[221]]()[_0x83b3[67]],this[_0x83b3[746]]( new mxEventObject(mxEvent.GET,_0x83b3[863],_0x187fx2,_0x83b3[870],_0x187fx4)),this[_0x83b3[1083]](_0x187fx4)){if(0< _0x187fx4[_0x83b3[221]]()[_0x83b3[67]]){var _0x187fxa=_0x187fx4[_0x83b3[874]]();null== _0x187fxa?_0x187fx5(_0x83b3[1084]+ _0x187fx4[_0x83b3[221]]()):this[_0x83b3[806]](_0x187fxa)};null!= _0x187fx3&& _0x187fx3(_0x187fx4)}}else {_0x187fx5(_0x83b3[1085])}}}),function(_0x187fx2){_0x187fx5(_0x83b3[1086])})}};mxSession[_0x83b3[202]][_0x83b3[1083]]= function(_0x187fx2){return 0> _0x187fx2[_0x83b3[221]]()[_0x83b3[2]](_0x83b3[1087])};mxSession[_0x83b3[202]][_0x83b3[1067]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=_0x83b3[110],_0x187fx5=_0x187fx3?-1:1,_0x187fx9=_0x187fx3?_0x187fx2[_0x83b3[67]]- 1:0;0<= _0x187fx9&& _0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9+= _0x187fx5){var _0x187fxa=this[_0x83b3[1059]][_0x83b3[514]](_0x187fx2[_0x187fx9]),_0x187fx4=_0x187fx4+ mxUtils[_0x83b3[875]](_0x187fxa,this[_0x83b3[1069]])};return _0x187fx4};mxSession[_0x83b3[202]][_0x83b3[806]]= function(_0x187fx2){if(null!= _0x187fx2&& _0x187fx2[_0x83b3[288]]== mxConstants[_0x83b3[289]]){var _0x187fx3=_0x187fx2[_0x83b3[284]](_0x83b3[1088]);null!= _0x187fx3&& (this[_0x83b3[251]][_0x83b3[1089]]= _0x187fx3+ _0x83b3[213]);for(_0x187fx3= _0x187fx2[_0x83b3[285]];null!= _0x187fx3;){var _0x187fx4=_0x187fx3[_0x83b3[301]][_0x83b3[216]]();_0x83b3[724]== _0x187fx4?this[_0x83b3[1090]](_0x187fx3):_0x83b3[1091]== _0x187fx4&& this[_0x83b3[1092]](_0x187fx3);_0x187fx3= _0x187fx3[_0x83b3[287]]};this[_0x83b3[746]]( new mxEventObject(mxEvent.RECEIVE,_0x83b3[252],_0x187fx2))}};mxSession[_0x83b3[202]][_0x83b3[1090]]= function(_0x187fx2){( new mxCodec(_0x187fx2[_0x83b3[295]]))[_0x83b3[1093]](_0x187fx2[_0x83b3[285]],this[_0x83b3[251]])};mxSession[_0x83b3[202]][_0x83b3[1092]]= function(_0x187fx2){for(_0x187fx2= _0x187fx2[_0x83b3[285]];null!= _0x187fx2;){_0x83b3[1061]== _0x187fx2[_0x83b3[301]]&& this[_0x83b3[1094]](_0x187fx2),_0x187fx2= _0x187fx2[_0x83b3[287]]}};mxSession[_0x83b3[202]][_0x83b3[1094]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[1095]](_0x187fx2);if(0< _0x187fx2[_0x83b3[67]]){var _0x187fx3=this[_0x83b3[1096]](_0x187fx2);this[_0x83b3[251]][_0x83b3[746]]( new mxEventObject(mxEvent.CHANGE,_0x83b3[1061],_0x187fx3,_0x83b3[1065],_0x187fx2));this[_0x83b3[251]][_0x83b3[746]]( new mxEventObject(mxEvent.UNDO,_0x83b3[1061],_0x187fx3));this[_0x83b3[746]]( new mxEventObject(mxEvent.FIRED,_0x83b3[1061],_0x187fx3))}};mxSession[_0x83b3[202]][_0x83b3[1096]]= function(_0x187fx2){var _0x187fx3= new mxUndoableEdit(this[_0x83b3[251]],this[_0x83b3[1071]]);_0x187fx3[_0x83b3[1065]]= _0x187fx2;_0x187fx3[_0x83b3[827]]= function(){_0x187fx3[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.CHANGE,_0x83b3[1061],_0x187fx3,_0x83b3[1065],_0x187fx3[_0x83b3[1065]]));_0x187fx3[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.NOTIFY,_0x83b3[1061],_0x187fx3,_0x83b3[1065],_0x187fx3[_0x83b3[1065]]))};return _0x187fx3};mxSession[_0x83b3[202]][_0x83b3[1095]]= function(_0x187fx2){this[_0x83b3[1059]][_0x83b3[395]]= _0x187fx2[_0x83b3[295]];var _0x187fx3=[];for(_0x187fx2= _0x187fx2[_0x83b3[285]];null!= _0x187fx2;){var _0x187fx4=this[_0x83b3[1098]](_0x187fx2);null!= _0x187fx4&& _0x187fx3[_0x83b3[207]](_0x187fx4);_0x187fx2= _0x187fx2[_0x83b3[287]]};return _0x187fx3};mxSession[_0x83b3[202]][_0x83b3[1098]]= function(_0x187fx2){var _0x187fx3=null;_0x187fx2[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& (_0x187fx3= _0x83b3[1099]== _0x187fx2[_0x83b3[301]]?( new mxCodec(_0x187fx2[_0x83b3[295]]))[_0x83b3[1093]](_0x187fx2):this[_0x83b3[1059]][_0x83b3[1093]](_0x187fx2),null!= _0x187fx3&& (_0x187fx3[_0x83b3[251]]= this[_0x83b3[251]],_0x187fx3[_0x83b3[350]](),_0x83b3[1100]== _0x187fx2[_0x83b3[301]]&& null== _0x187fx3[_0x83b3[1101]]&& this[_0x83b3[1102]](_0x187fx3[_0x83b3[247]])));return _0x187fx3};mxSession[_0x83b3[202]][_0x83b3[1102]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1059]][_0x83b3[1104]](_0x187fx2[_0x83b3[1103]](),_0x187fx2);for(var _0x187fx4=this[_0x83b3[251]][_0x83b3[262]](_0x187fx2),_0x187fx5=0;_0x187fx5< _0x187fx4;_0x187fx5++){this[_0x83b3[1102]](this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx5))}};function mxUndoableEdit(_0x187fx2,_0x187fx3){this[_0x83b3[1097]]= _0x187fx2;this[_0x83b3[1065]]= [];this[_0x83b3[1105]]= null!= _0x187fx3?_0x187fx3:!0}mxUndoableEdit[_0x83b3[202]][_0x83b3[1097]]= null;mxUndoableEdit[_0x83b3[202]][_0x83b3[1065]]= null;mxUndoableEdit[_0x83b3[202]][_0x83b3[1105]]= null;mxUndoableEdit[_0x83b3[202]][_0x83b3[1066]]= !1;mxUndoableEdit[_0x83b3[202]][_0x83b3[1106]]= !1;mxUndoableEdit[_0x83b3[202]][_0x83b3[1107]]= function(){return 0== this[_0x83b3[1065]][_0x83b3[67]]};mxUndoableEdit[_0x83b3[202]][_0x83b3[1108]]= function(){return this[_0x83b3[1105]]};mxUndoableEdit[_0x83b3[202]][_0x83b3[99]]= function(_0x187fx2){this[_0x83b3[1065]][_0x83b3[207]](_0x187fx2)};mxUndoableEdit[_0x83b3[202]][_0x83b3[827]]= function(){};mxUndoableEdit[_0x83b3[202]][_0x83b3[1109]]= function(){};mxUndoableEdit[_0x83b3[202]][_0x83b3[824]]= function(){if(!this[_0x83b3[1066]]){this[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0x187fx2=this[_0x83b3[1065]][_0x83b3[67]]- 1;0<= _0x187fx2;_0x187fx2--){var _0x187fx3=this[_0x83b3[1065]][_0x187fx2];null!= _0x187fx3[_0x83b3[350]]?_0x187fx3[_0x83b3[350]]():null!= _0x187fx3[_0x83b3[824]]&& _0x187fx3[_0x83b3[824]]();this[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.EXECUTED,_0x83b3[826],_0x187fx3))};this[_0x83b3[1066]]= !0;this[_0x83b3[1106]]= !1;this[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0x83b3[827]]()};mxUndoableEdit[_0x83b3[202]][_0x83b3[825]]= function(){if(!this[_0x83b3[1106]]){this[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0x187fx2=this[_0x83b3[1065]][_0x83b3[67]],_0x187fx3=0;_0x187fx3< _0x187fx2;_0x187fx3++){var _0x187fx4=this[_0x83b3[1065]][_0x187fx3];null!= _0x187fx4[_0x83b3[350]]?_0x187fx4[_0x83b3[350]]():null!= _0x187fx4[_0x83b3[825]]&& _0x187fx4[_0x83b3[825]]();this[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.EXECUTED,_0x83b3[826],_0x187fx4))};this[_0x83b3[1066]]= !1;this[_0x83b3[1106]]= !0;this[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0x83b3[827]]()};function mxUndoManager(_0x187fx2){this[_0x83b3[803]]= null!= _0x187fx2?_0x187fx2:100;this[_0x83b3[200]]()}mxUndoManager[_0x83b3[202]]= new mxEventSource;mxUndoManager[_0x83b3[202]][_0x83b3[196]]= mxUndoManager;mxUndoManager[_0x83b3[202]][_0x83b3[803]]= null;mxUndoManager[_0x83b3[202]][_0x83b3[1110]]= null;mxUndoManager[_0x83b3[202]][_0x83b3[1111]]= 0;mxUndoManager[_0x83b3[202]][_0x83b3[1107]]= function(){return 0== this[_0x83b3[1110]][_0x83b3[67]]};mxUndoManager[_0x83b3[202]][_0x83b3[200]]= function(){this[_0x83b3[1110]]= [];this[_0x83b3[1111]]= 0;this[_0x83b3[746]]( new mxEventObject(mxEvent.CLEAR))};mxUndoManager[_0x83b3[202]][_0x83b3[1112]]= function(){return 0< this[_0x83b3[1111]]};mxUndoManager[_0x83b3[202]][_0x83b3[824]]= function(){for(;0< this[_0x83b3[1111]];){var _0x187fx2=this[_0x83b3[1110]][--this[_0x83b3[1111]]];_0x187fx2[_0x83b3[824]]();if(_0x187fx2[_0x83b3[1108]]()){this[_0x83b3[746]]( new mxEventObject(mxEvent.UNDO,_0x83b3[1061],_0x187fx2));break}}};mxUndoManager[_0x83b3[202]][_0x83b3[1113]]= function(){return this[_0x83b3[1111]]< this[_0x83b3[1110]][_0x83b3[67]]};mxUndoManager[_0x83b3[202]][_0x83b3[825]]= function(){for(var _0x187fx2=this[_0x83b3[1110]][_0x83b3[67]];this[_0x83b3[1111]]< _0x187fx2;){var _0x187fx3=this[_0x83b3[1110]][this[_0x83b3[1111]]++];_0x187fx3[_0x83b3[825]]();if(_0x187fx3[_0x83b3[1108]]()){this[_0x83b3[746]]( new mxEventObject(mxEvent.REDO,_0x83b3[1061],_0x187fx3));break}}};mxUndoManager[_0x83b3[202]][_0x83b3[1114]]= function(_0x187fx2){this[_0x83b3[330]]();0< this[_0x83b3[803]]&& this[_0x83b3[803]]== this[_0x83b3[1110]][_0x83b3[67]]&& this[_0x83b3[1110]][_0x83b3[1115]]();this[_0x83b3[1110]][_0x83b3[207]](_0x187fx2);this[_0x83b3[1111]]= this[_0x83b3[1110]][_0x83b3[67]];this[_0x83b3[746]]( new mxEventObject(mxEvent.ADD,_0x83b3[1061],_0x187fx2))};mxUndoManager[_0x83b3[202]][_0x83b3[330]]= function(){if(this[_0x83b3[1110]][_0x83b3[67]]> this[_0x83b3[1111]]){for(var _0x187fx2=this[_0x83b3[1110]][_0x83b3[300]](this[_0x83b3[1111]],this[_0x83b3[1110]][_0x83b3[67]]- this[_0x83b3[1111]]),_0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){_0x187fx2[_0x187fx3][_0x83b3[1109]]()}}};var mxUrlConverter=function(_0x187fx2){var _0x187fx3=!0,_0x187fx4=null,_0x187fx5=null;return {isEnabled:function(){return _0x187fx3},setEnabled:function(_0x187fx2){_0x187fx3= _0x187fx2},getBaseUrl:function(){return _0x187fx4},setBaseUrl:function(_0x187fx2){_0x187fx4= _0x187fx2},getBaseDomain:function(){return _0x187fx4},setBaseDomain:function(_0x187fx2){_0x187fx4= _0x187fx2},isRelativeUrl:function(_0x187fx2){return _0x83b3[43]!= _0x187fx2[_0x83b3[85]](0,7)&& _0x83b3[46]!= _0x187fx2[_0x83b3[85]](0,8)&& _0x83b3[1116]!= _0x187fx2[_0x83b3[85]](0,10)},convert:function(_0x187fx2){if(_0x187fx3&& this[_0x83b3[1117]](_0x187fx2)){if(null== _0x187fx4){_0x187fx5= location[_0x83b3[1118]]+ _0x83b3[1119]+ location[_0x83b3[1120]];_0x187fx4= _0x187fx5+ location[_0x83b3[1121]];var _0x187fxa=_0x187fx4[_0x83b3[1122]](_0x83b3[84]);0< _0x187fxa&& (_0x187fx4= _0x187fx4[_0x83b3[85]](0,_0x187fxa+ 1))};_0x187fx2= _0x83b3[84]== _0x187fx2[_0x83b3[225]](0)?_0x187fx5+ _0x187fx2:_0x187fx4+ _0x187fx2};return _0x187fx2}}};function mxPanningManager(_0x187fx2){this[_0x83b3[1123]]= null;this[_0x83b3[1124]]= !1;this[_0x83b3[1125]]= this[_0x83b3[1126]]= this[_0x83b3[1127]]= this[_0x83b3[1128]]= this[_0x83b3[1129]]= this[_0x83b3[1130]]= 0;this[_0x83b3[1131]]= !1;this[_0x83b3[190]]= this[_0x83b3[360]]= 0;this[_0x83b3[1132]]= {mouseDown:function(_0x187fx2,_0x187fx3){},mouseMove:function(_0x187fx2,_0x187fx3){},mouseUp:mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[1124]]&& this[_0x83b3[1076]]()})};_0x187fx2[_0x83b3[1133]](this[_0x83b3[1132]]);mxEvent[_0x83b3[169]](document,_0x83b3[753],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[1124]]&& this[_0x83b3[1076]]()}));var _0x187fx3=mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[1131]]= mxUtils[_0x83b3[1134]](_0x187fx2[_0x83b3[526]]);this[_0x83b3[360]]= _0x187fx2[_0x83b3[526]][_0x83b3[360]];this[_0x83b3[190]]= _0x187fx2[_0x83b3[526]][_0x83b3[190]];return window[_0x83b3[1141]](mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[1130]]-= this[_0x83b3[1126]];this[_0x83b3[1129]]-= this[_0x83b3[1125]];if(this[_0x83b3[1131]]){var _0x187fx3=-_0x187fx2[_0x83b3[526]][_0x83b3[360]]- Math[_0x83b3[430]](this[_0x83b3[1126]]),_0x187fx5=-_0x187fx2[_0x83b3[526]][_0x83b3[190]]- Math[_0x83b3[430]](this[_0x83b3[1125]]);_0x187fx2[_0x83b3[1135]](_0x187fx3,_0x187fx5);_0x187fx2[_0x83b3[1136]]= this[_0x83b3[360]]- _0x187fx2[_0x83b3[526]][_0x83b3[360]];_0x187fx2[_0x83b3[1137]]= this[_0x83b3[190]]- _0x187fx2[_0x83b3[526]][_0x83b3[190]];_0x187fx2[_0x83b3[746]]( new mxEventObject(mxEvent.PAN))}else {_0x187fx2[_0x83b3[1135]](this[_0x83b3[1138]](),this[_0x83b3[1139]]())}}),this[_0x83b3[1140]])});this[_0x83b3[1142]]= function(){return active};this[_0x83b3[1138]]= function(){return Math[_0x83b3[488]](this[_0x83b3[1130]])};this[_0x83b3[1139]]= function(){return Math[_0x83b3[488]](this[_0x83b3[1129]])};this[_0x83b3[861]]= function(){this[_0x83b3[1128]]= _0x187fx2[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]];this[_0x83b3[1127]]= _0x187fx2[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]];this[_0x83b3[1124]]= !0};this[_0x83b3[1143]]= function(_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[1124]]|| this[_0x83b3[861]]();this[_0x83b3[360]]= _0x187fx2[_0x83b3[526]][_0x83b3[360]];this[_0x83b3[190]]= _0x187fx2[_0x83b3[526]][_0x83b3[190]];_0x187fxa= null!= _0x187fxa?_0x187fxa:0;var _0x187fx12=_0x187fx2[_0x83b3[526]];this[_0x83b3[1126]]= _0x187fx4+ (null!= _0x187fx9?_0x187fx9:0)- _0x187fx12[_0x83b3[360]]- _0x187fx12[_0x83b3[159]];0> this[_0x83b3[1126]]&& Math[_0x83b3[425]](this[_0x83b3[1126]])< this[_0x83b3[467]]?this[_0x83b3[1126]]= this[_0x83b3[467]]+ this[_0x83b3[1126]]:this[_0x83b3[1126]]= this[_0x83b3[1144]]?Math[_0x83b3[160]](this[_0x83b3[1126]],0):0;0== this[_0x83b3[1126]]&& (this[_0x83b3[1126]]= _0x187fx4- _0x187fx12[_0x83b3[360]],this[_0x83b3[1126]]= 0< this[_0x83b3[1126]]&& this[_0x83b3[1126]]< this[_0x83b3[467]]?this[_0x83b3[1126]]- this[_0x83b3[467]]:this[_0x83b3[1144]]?Math[_0x83b3[243]](0,this[_0x83b3[1126]]):0);this[_0x83b3[1125]]= _0x187fx5+ _0x187fxa- _0x187fx12[_0x83b3[190]]- _0x187fx12[_0x83b3[157]];0> this[_0x83b3[1125]]&& Math[_0x83b3[425]](this[_0x83b3[1125]])< this[_0x83b3[467]]?this[_0x83b3[1125]]= this[_0x83b3[467]]+ this[_0x83b3[1125]]:this[_0x83b3[1125]]= this[_0x83b3[1144]]?Math[_0x83b3[160]](this[_0x83b3[1125]],0):0;0== this[_0x83b3[1125]]&& (this[_0x83b3[1125]]= _0x187fx5- _0x187fx12[_0x83b3[190]],this[_0x83b3[1125]]= 0< this[_0x83b3[1125]]&& this[_0x83b3[1125]]< this[_0x83b3[467]]?this[_0x83b3[1125]]- this[_0x83b3[467]]:this[_0x83b3[1144]]?Math[_0x83b3[243]](0,this[_0x83b3[1125]]):0);0!= this[_0x83b3[1126]]|| 0!= this[_0x83b3[1125]]?(this[_0x83b3[1126]]*= this[_0x83b3[1145]],this[_0x83b3[1125]]*= this[_0x83b3[1145]],null== this[_0x83b3[1123]]&& (this[_0x83b3[1123]]= _0x187fx3())):null!= this[_0x83b3[1123]]&& (window[_0x83b3[1146]](this[_0x83b3[1123]]),this[_0x83b3[1123]]= null)};this[_0x83b3[1076]]= function(){if(this[_0x83b3[1124]]){if(this[_0x83b3[1124]]= !1,null!= this[_0x83b3[1123]]&& (window[_0x83b3[1146]](this[_0x83b3[1123]]),this[_0x83b3[1123]]= null),this[_0x83b3[1129]]= this[_0x83b3[1130]]= 0,this[_0x83b3[1131]]){_0x187fx2[_0x83b3[1136]]= 0,_0x187fx2[_0x83b3[1137]]= 0,_0x187fx2[_0x83b3[746]]( new mxEventObject(mxEvent.PAN))}else {var _0x187fx3=_0x187fx2[_0x83b3[1136]],_0x187fx5=_0x187fx2[_0x83b3[1137]];if(0!= _0x187fx3|| 0!= _0x187fx5){_0x187fx2[_0x83b3[1135]](0,0),_0x187fx2[_0x83b3[441]][_0x83b3[1147]](this[_0x83b3[1128]]+ _0x187fx3/ _0x187fx2[_0x83b3[441]][_0x83b3[255]],this[_0x83b3[1127]]+ _0x187fx5/ _0x187fx2[_0x83b3[441]][_0x83b3[255]])}}}};this[_0x83b3[515]]= function(){_0x187fx2[_0x83b3[1148]](this[_0x83b3[1132]])}}mxPanningManager[_0x83b3[202]][_0x83b3[1145]]= 1/ 6;mxPanningManager[_0x83b3[202]][_0x83b3[1140]]= 10;mxPanningManager[_0x83b3[202]][_0x83b3[1144]]= !0;mxPanningManager[_0x83b3[202]][_0x83b3[467]]= 0;function mxPopupMenu(_0x187fx2){this[_0x83b3[1033]]= _0x187fx2;null!= _0x187fx2&& this[_0x83b3[176]]()}mxPopupMenu[_0x83b3[202]]= new mxEventSource;mxPopupMenu[_0x83b3[202]][_0x83b3[196]]= mxPopupMenu;mxPopupMenu[_0x83b3[202]][_0x83b3[1149]]= mxClient[_0x83b3[88]]+ _0x83b3[1150];mxPopupMenu[_0x83b3[202]][_0x83b3[931]]= 10006;mxPopupMenu[_0x83b3[202]][_0x83b3[1033]]= null;mxPopupMenu[_0x83b3[202]][_0x83b3[1151]]= !1;mxPopupMenu[_0x83b3[202]][_0x83b3[984]]= !0;mxPopupMenu[_0x83b3[202]][_0x83b3[1152]]= 0;mxPopupMenu[_0x83b3[202]][_0x83b3[1153]]= !1;mxPopupMenu[_0x83b3[202]][_0x83b3[1154]]= !1;mxPopupMenu[_0x83b3[202]][_0x83b3[1155]]= !0;mxPopupMenu[_0x83b3[202]][_0x83b3[176]]= function(){this[_0x83b3[116]]= document[_0x83b3[55]](_0x83b3[116]);this[_0x83b3[116]][_0x83b3[926]]= _0x83b3[1156];this[_0x83b3[120]]= document[_0x83b3[55]](_0x83b3[120]);this[_0x83b3[116]][_0x83b3[62]](this[_0x83b3[120]]);this[_0x83b3[485]]= document[_0x83b3[55]](_0x83b3[485]);this[_0x83b3[485]][_0x83b3[926]]= _0x83b3[1156];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[497];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[931]]= this[_0x83b3[931]];this[_0x83b3[485]][_0x83b3[62]](this[_0x83b3[116]]);mxEvent[_0x83b3[1157]](this[_0x83b3[485]])};mxPopupMenu[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxPopupMenu[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxPopupMenu[_0x83b3[202]][_0x83b3[737]]= function(_0x187fx2){return _0x187fx2[_0x83b3[737]]()|| this[_0x83b3[1151]]&& mxEvent[_0x83b3[1158]](_0x187fx2[_0x83b3[727]]())};mxPopupMenu[_0x83b3[202]][_0x83b3[1025]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx5= _0x187fx5|| this;this[_0x83b3[1152]]++;_0x187fx5[_0x83b3[1159]]&& (_0x187fx5[_0x83b3[1160]]&& this[_0x83b3[1051]](_0x187fx5,!0),_0x187fx5[_0x83b3[1159]]= !1);_0x187fx5[_0x83b3[1160]]= !0;var _0x187fx12=document[_0x83b3[55]](_0x83b3[121]);_0x187fx12[_0x83b3[926]]= _0x83b3[1161];var _0x187fx13=document[_0x83b3[55]](_0x83b3[122]);_0x187fx13[_0x83b3[926]]= _0x83b3[1162];null!= _0x187fx3?(_0x187fx9= document[_0x83b3[55]](_0x83b3[466]),_0x187fx9[_0x83b3[390]]= _0x187fx3,_0x187fx13[_0x83b3[62]](_0x187fx9)):null!= _0x187fx9&& (_0x187fx3= document[_0x83b3[55]](_0x83b3[485]),_0x187fx3[_0x83b3[926]]= _0x187fx9,_0x187fx13[_0x83b3[62]](_0x187fx3));_0x187fx12[_0x83b3[62]](_0x187fx13);this[_0x83b3[1155]]&& (_0x187fx13= document[_0x83b3[55]](_0x83b3[122]),_0x187fx13[_0x83b3[926]]= _0x83b3[1161]+ (null!= _0x187fxa&& !_0x187fxa?_0x83b3[1163]:_0x83b3[110]),mxUtils[_0x83b3[53]](_0x187fx13,_0x187fx2),_0x187fx13[_0x83b3[611]]= _0x83b3[361],_0x187fx12[_0x83b3[62]](_0x187fx13),_0x187fx2= document[_0x83b3[55]](_0x83b3[122]),_0x187fx2[_0x83b3[926]]= _0x83b3[1161]+ (null!= _0x187fxa&& !_0x187fxa?_0x83b3[1163]:_0x83b3[110]),_0x187fx2[_0x83b3[124]][_0x83b3[1164]]= _0x83b3[1055],_0x187fx2[_0x83b3[124]][_0x83b3[1165]]= _0x83b3[699],_0x187fx12[_0x83b3[62]](_0x187fx2),null== _0x187fx5[_0x83b3[485]]&& this[_0x83b3[1166]](_0x187fx5));_0x187fx5[_0x83b3[120]][_0x83b3[62]](_0x187fx12);if(null== _0x187fxa|| _0x187fxa){mxEvent[_0x83b3[759]](_0x187fx12,mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1167]]= _0x187fx12;_0x187fx5[_0x83b3[1168]]!= _0x187fx12&& _0x187fx5[_0x83b3[1168]]!= _0x187fx5&& (null!= _0x187fx5[_0x83b3[1168]]&& null!= _0x187fx5[_0x83b3[1168]][_0x83b3[485]][_0x83b3[265]]&& this[_0x83b3[1169]](_0x187fx5),null!= _0x187fx12[_0x83b3[485]]&& (this[_0x83b3[1170]](_0x187fx5,_0x187fx12),_0x187fx5[_0x83b3[1168]]= _0x187fx12));mxEvent[_0x83b3[722]](_0x187fx2)}),mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx5[_0x83b3[1168]]!= _0x187fx12&& _0x187fx5[_0x83b3[1168]]!= _0x187fx5&& (null!= _0x187fx5[_0x83b3[1168]]&& null!= _0x187fx5[_0x83b3[1168]][_0x83b3[485]][_0x83b3[265]]&& this[_0x83b3[1169]](_0x187fx5),this[_0x83b3[1153]]&& null!= _0x187fx12[_0x83b3[485]]&& (this[_0x83b3[1170]](_0x187fx5,_0x187fx12),_0x187fx5[_0x83b3[1168]]= _0x187fx12));_0x187fx12[_0x83b3[926]]= _0x83b3[1171]}),mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1167]]== _0x187fx12&& (_0x187fx5[_0x83b3[1168]]!= _0x187fx12&& this[_0x83b3[1032]](),null!= _0x187fx4&& _0x187fx4(_0x187fx2));this[_0x83b3[1167]]= null;mxEvent[_0x83b3[722]](_0x187fx2)})),mxEvent[_0x83b3[169]](_0x187fx12,_0x83b3[1035],mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx12[_0x83b3[926]]= _0x83b3[1161]}))};return _0x187fx12};mxPopupMenu[_0x83b3[202]][_0x83b3[1166]]= function(_0x187fx2){_0x187fx2[_0x83b3[116]]= document[_0x83b3[55]](_0x83b3[116]);_0x187fx2[_0x83b3[116]][_0x83b3[926]]= _0x83b3[1156];_0x187fx2[_0x83b3[120]]= document[_0x83b3[55]](_0x83b3[120]);_0x187fx2[_0x83b3[116]][_0x83b3[62]](_0x187fx2[_0x83b3[120]]);_0x187fx2[_0x83b3[485]]= document[_0x83b3[55]](_0x83b3[485]);_0x187fx2[_0x83b3[485]][_0x83b3[926]]= _0x83b3[1156];_0x187fx2[_0x83b3[485]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx2[_0x83b3[485]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[497];_0x187fx2[_0x83b3[485]][_0x83b3[124]][_0x83b3[931]]= this[_0x83b3[931]];_0x187fx2[_0x83b3[485]][_0x83b3[62]](_0x187fx2[_0x83b3[116]]);var _0x187fx3=document[_0x83b3[55]](_0x83b3[466]);_0x187fx3[_0x83b3[57]](_0x83b3[390],this[_0x83b3[1149]]);td= _0x187fx2[_0x83b3[285]][_0x83b3[287]][_0x83b3[287]];td[_0x83b3[62]](_0x187fx3)};mxPopupMenu[_0x83b3[202]][_0x83b3[1170]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx3[_0x83b3[485]]){_0x187fx3[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2[_0x83b3[485]][_0x83b3[358]]+ _0x187fx3[_0x83b3[358]]+ _0x187fx3[_0x83b3[359]]- 1+ _0x83b3[168];_0x187fx3[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x187fx2[_0x83b3[485]][_0x83b3[362]]+ _0x187fx3[_0x83b3[362]]+ _0x83b3[168];document[_0x83b3[112]][_0x83b3[62]](_0x187fx3[_0x83b3[485]]);var _0x187fx4=parseInt(_0x187fx3[_0x83b3[485]][_0x83b3[358]]),_0x187fx5=parseInt(_0x187fx3[_0x83b3[485]][_0x83b3[359]]),_0x187fx9=document[_0x83b3[112]],_0x187fxa=document[_0x83b3[158]];if(_0x187fx4+ _0x187fx5> (_0x187fx9[_0x83b3[360]]|| _0x187fxa[_0x83b3[360]])+ (_0x187fx9[_0x83b3[159]]|| _0x187fxa[_0x83b3[159]])){_0x187fx3[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2[_0x83b3[485]][_0x83b3[358]]- _0x187fx5+ (mxClient[_0x83b3[80]]?6:-6)+ _0x83b3[168]};mxUtils[_0x83b3[933]](_0x187fx3[_0x83b3[485]])}};mxPopupMenu[_0x83b3[202]][_0x83b3[1051]]= function(_0x187fx2,_0x187fx3){_0x187fx2= _0x187fx2|| this;if(this[_0x83b3[1154]]&& !_0x187fx3){_0x187fx2[_0x83b3[1159]]= !0}else {if(null!= _0x187fx2[_0x83b3[120]]){_0x187fx2[_0x83b3[1159]]= !1;var _0x187fx4=document[_0x83b3[55]](_0x83b3[121]),_0x187fx5=document[_0x83b3[55]](_0x83b3[122]);_0x187fx5[_0x83b3[926]]= _0x83b3[1162];_0x187fx5[_0x83b3[124]][_0x83b3[549]]= _0x83b3[1172];_0x187fx4[_0x83b3[62]](_0x187fx5);_0x187fx5= document[_0x83b3[55]](_0x83b3[122]);_0x187fx5[_0x83b3[124]][_0x83b3[549]]= _0x83b3[1172];_0x187fx5[_0x83b3[57]](_0x83b3[1173],_0x83b3[1174]);var _0x187fx9=document[_0x83b3[55]](_0x83b3[1054]);_0x187fx9[_0x83b3[57]](_0x83b3[803],_0x83b3[500]);_0x187fx5[_0x83b3[62]](_0x187fx9);_0x187fx4[_0x83b3[62]](_0x187fx5);_0x187fx2[_0x83b3[120]][_0x83b3[62]](_0x187fx4)}}};mxPopupMenu[_0x83b3[202]][_0x83b3[152]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= this[_0x83b3[485]]&& null!= this[_0x83b3[120]]&& null!= this[_0x83b3[1033]]){this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2+ _0x83b3[168];for(this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x187fx3+ _0x83b3[168];null!= this[_0x83b3[120]][_0x83b3[285]];){mxEvent[_0x83b3[762]](this[_0x83b3[120]][_0x83b3[285]]),this[_0x83b3[120]][_0x83b3[266]](this[_0x83b3[120]][_0x83b3[285]])};this[_0x83b3[1152]]= 0;this[_0x83b3[1033]](this,_0x187fx4,_0x187fx5);0< this[_0x83b3[1152]]&& (this[_0x83b3[1175]](),this[_0x83b3[746]]( new mxEventObject(mxEvent.SHOW)))}};mxPopupMenu[_0x83b3[202]][_0x83b3[1031]]= function(){return null!= this[_0x83b3[485]]&& this[_0x83b3[485]][_0x83b3[265]]== document[_0x83b3[112]]};mxPopupMenu[_0x83b3[202]][_0x83b3[1175]]= function(){9<= document[_0x83b3[5]]&& (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[347]]= _0x83b3[130]);document[_0x83b3[112]][_0x83b3[62]](this[_0x83b3[485]]);mxUtils[_0x83b3[933]](this[_0x83b3[485]])};mxPopupMenu[_0x83b3[202]][_0x83b3[1032]]= function(){null!= this[_0x83b3[485]]&& (null!= this[_0x83b3[485]][_0x83b3[265]]&& this[_0x83b3[485]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[485]]),this[_0x83b3[1169]](this),this[_0x83b3[1160]]= !1)};mxPopupMenu[_0x83b3[202]][_0x83b3[1169]]= function(_0x187fx2){null!= _0x187fx2[_0x83b3[1168]]&& (this[_0x83b3[1169]](_0x187fx2[_0x83b3[1168]]),null!= _0x187fx2[_0x83b3[1168]][_0x83b3[485]][_0x83b3[265]]&& _0x187fx2[_0x83b3[1168]][_0x83b3[485]][_0x83b3[265]][_0x83b3[266]](_0x187fx2[_0x83b3[1168]][_0x83b3[485]]),_0x187fx2[_0x83b3[1168]]= null)};mxPopupMenu[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[485]]&& (mxEvent[_0x83b3[762]](this[_0x83b3[485]]),null!= this[_0x83b3[485]][_0x83b3[265]]&& this[_0x83b3[485]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[485]]),this[_0x83b3[485]]= null)};function mxAutoSaveManager(_0x187fx2){this[_0x83b3[1176]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4){this[_0x83b3[994]]()&& this[_0x83b3[1177]](_0x187fx4[_0x83b3[720]](_0x83b3[1061])[_0x83b3[1065]])});this[_0x83b3[1178]](_0x187fx2)}mxAutoSaveManager[_0x83b3[202]]= new mxEventSource;mxAutoSaveManager[_0x83b3[202]][_0x83b3[196]]= mxAutoSaveManager;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1179]]= null;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1180]]= 10;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1181]]= 2;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1182]]= 5;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1183]]= 0;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1184]]= 0;mxAutoSaveManager[_0x83b3[202]][_0x83b3[984]]= !0;mxAutoSaveManager[_0x83b3[202]][_0x83b3[1176]]= null;mxAutoSaveManager[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxAutoSaveManager[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxAutoSaveManager[_0x83b3[202]][_0x83b3[1178]]= function(_0x187fx2){null!= this[_0x83b3[1179]]&& this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[1176]]);this[_0x83b3[1179]]= _0x187fx2;null!= this[_0x83b3[1179]]&& this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[1176]])};mxAutoSaveManager[_0x83b3[202]][_0x83b3[815]]= function(){};mxAutoSaveManager[_0x83b3[202]][_0x83b3[1177]]= function(_0x187fx2){_0x187fx2= (( new Date)[_0x83b3[178]]()- this[_0x83b3[1184]])/ 1E3;_0x187fx2> this[_0x83b3[1180]]|| this[_0x83b3[1183]]>= this[_0x83b3[1182]]&& _0x187fx2> this[_0x83b3[1181]]?(this[_0x83b3[815]](),this[_0x83b3[862]]()):this[_0x83b3[1183]]++};mxAutoSaveManager[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[1184]]= ( new Date)[_0x83b3[178]]();this[_0x83b3[1183]]= 0};mxAutoSaveManager[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1178]](null)};function mxAnimation(_0x187fx2){this[_0x83b3[1140]]= null!= _0x187fx2?_0x187fx2:20}mxAnimation[_0x83b3[202]]= new mxEventSource;mxAnimation[_0x83b3[202]][_0x83b3[196]]= mxAnimation;mxAnimation[_0x83b3[202]][_0x83b3[1140]]= null;mxAnimation[_0x83b3[202]][_0x83b3[1123]]= null;mxAnimation[_0x83b3[202]][_0x83b3[1185]]= function(){null== this[_0x83b3[1123]]&& (this[_0x83b3[1123]]= window[_0x83b3[1141]](mxUtils[_0x83b3[885]](this,this[_0x83b3[1186]]),this[_0x83b3[1140]]))};mxAnimation[_0x83b3[202]][_0x83b3[1186]]= function(){this[_0x83b3[746]]( new mxEventObject(mxEvent.EXECUTE))};mxAnimation[_0x83b3[202]][_0x83b3[1187]]= function(){null!= this[_0x83b3[1123]]&& (window[_0x83b3[1146]](this[_0x83b3[1123]]),this[_0x83b3[1123]]= null,this[_0x83b3[746]]( new mxEventObject(mxEvent.DONE)))};function mxMorphing(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxAnimation[_0x83b3[239]](this,_0x187fx5);this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[1188]]= null!= _0x187fx3?_0x187fx3:6;this[_0x83b3[1189]]= null!= _0x187fx4?_0x187fx4:1.5}mxMorphing[_0x83b3[202]]= new mxAnimation;mxMorphing[_0x83b3[202]][_0x83b3[196]]= mxMorphing;mxMorphing[_0x83b3[202]][_0x83b3[1179]]= null;mxMorphing[_0x83b3[202]][_0x83b3[1188]]= null;mxMorphing[_0x83b3[202]][_0x83b3[1190]]= 0;mxMorphing[_0x83b3[202]][_0x83b3[1189]]= null;mxMorphing[_0x83b3[202]][_0x83b3[895]]= null;mxMorphing[_0x83b3[202]][_0x83b3[1186]]= function(){var _0x187fx2= new mxCellStatePreview(this[_0x83b3[1179]]);if(null!= this[_0x83b3[895]]){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[895]][_0x83b3[67]];_0x187fx3++){this[_0x83b3[1191]](cells[_0x187fx3],_0x187fx2,!1)}}else {this[_0x83b3[1191]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[501]](),_0x187fx2,!0)};this[_0x83b3[539]](_0x187fx2);(_0x187fx2[_0x83b3[1107]]()|| this[_0x83b3[1190]]++ >= this[_0x83b3[1188]])&& this[_0x83b3[1187]]()};mxMorphing[_0x83b3[202]][_0x83b3[539]]= function(_0x187fx2){_0x187fx2[_0x83b3[539]]()};mxMorphing[_0x83b3[202]][_0x83b3[1191]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2),_0x187fx9=null;if(null!= _0x187fx5&& (_0x187fx9= this[_0x83b3[1192]](_0x187fx5),this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2)&& (0!= _0x187fx9[_0x83b3[235]]|| 0!= _0x187fx9[_0x83b3[236]]))){var _0x187fxa=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[512]](),_0x187fx12=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[518]]();_0x187fx9[_0x83b3[235]]+= _0x187fxa[_0x83b3[235]]* _0x187fx12;_0x187fx9[_0x83b3[236]]+= _0x187fxa[_0x83b3[236]]* _0x187fx12;_0x187fx3[_0x83b3[1194]](_0x187fx5,-_0x187fx9[_0x83b3[235]]/ this[_0x83b3[1189]],-_0x187fx9[_0x83b3[236]]/ this[_0x83b3[1189]])};if(_0x187fx4&& !this[_0x83b3[1195]](_0x187fx5,_0x187fx9)){_0x187fx5= this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[262]](_0x187fx2);for(_0x187fx9= 0;_0x187fx9< _0x187fx5;_0x187fx9++){this[_0x83b3[1191]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[263]](_0x187fx2,_0x187fx9),_0x187fx3,_0x187fx4)}}};mxMorphing[_0x83b3[202]][_0x83b3[1195]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx3&& (0!= _0x187fx3[_0x83b3[235]]|| 0!= _0x187fx3[_0x83b3[236]])};mxMorphing[_0x83b3[202]][_0x83b3[1192]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1196]](_0x187fx2[_0x83b3[246]]),_0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[512]](),_0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[518]]();_0x187fx2= new mxPoint(_0x187fx2[_0x83b3[235]]/ _0x187fx5- _0x187fx4[_0x83b3[235]],_0x187fx2[_0x83b3[236]]/ _0x187fx5- _0x187fx4[_0x83b3[236]]);return new mxPoint((_0x187fx3[_0x83b3[235]]- _0x187fx2[_0x83b3[235]])* _0x187fx5,(_0x187fx3[_0x83b3[236]]- _0x187fx2[_0x83b3[236]])* _0x187fx5)};mxMorphing[_0x83b3[202]][_0x83b3[1196]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2&& (_0x187fx3= this[_0x83b3[1196]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](_0x187fx2)),_0x187fx2= this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx2),null!= _0x187fx2&& (_0x187fx3[_0x83b3[235]]+= _0x187fx2[_0x83b3[235]],_0x187fx3[_0x83b3[236]]+= _0x187fx2[_0x83b3[236]]));null== _0x187fx3&& (_0x187fx3= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[512]](),_0x187fx3= new mxPoint(-_0x187fx3[_0x83b3[235]],-_0x187fx3[_0x83b3[236]]));return _0x187fx3};function mxImageBundle(_0x187fx2){this[_0x83b3[1199]]= [];this[_0x83b3[1200]]= null!= _0x187fx2?_0x187fx2:!1}mxImageBundle[_0x83b3[202]][_0x83b3[1199]]= null;mxImageBundle[_0x83b3[202]][_0x83b3[1199]]= null;mxImageBundle[_0x83b3[202]][_0x83b3[1201]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[1199]][_0x187fx2]= {value:_0x187fx3,fallback:_0x187fx4}};mxImageBundle[_0x83b3[202]][_0x83b3[1202]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2&& (_0x187fx2= this[_0x83b3[1199]][_0x187fx2],null!= _0x187fx2&& (_0x187fx3= this[_0x83b3[1200]]?_0x187fx2[_0x83b3[1203]]:_0x187fx2[_0x83b3[131]]));return _0x187fx3};function mxImageExport(){}mxImageExport[_0x83b3[202]][_0x83b3[1204]]= !1;mxImageExport[_0x83b3[202]][_0x83b3[1205]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx2&& (this[_0x83b3[1207]](_0x187fx2,_0x187fx3,this[_0x83b3[1206]]),this[_0x83b3[1204]]&& this[_0x83b3[1207]](_0x187fx2,_0x187fx3,this[_0x83b3[1208]]))};mxImageExport[_0x83b3[202]][_0x83b3[1207]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= _0x187fx2){_0x187fx4(_0x187fx2,_0x187fx3);for(var _0x187fx5=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx9=_0x187fx5[_0x83b3[251]][_0x83b3[262]](_0x187fx2[_0x83b3[246]]),_0x187fxa=0;_0x187fxa< _0x187fx9;_0x187fxa++){var _0x187fx12=_0x187fx5[_0x83b3[441]][_0x83b3[248]](_0x187fx5[_0x83b3[251]][_0x83b3[263]](_0x187fx2[_0x83b3[246]],_0x187fxa));this[_0x83b3[1207]](_0x187fx12,_0x187fx3,_0x187fx4)}}};mxImageExport[_0x83b3[202]][_0x83b3[1206]]= function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[253]] instanceof mxShape&& (_0x187fx3[_0x83b3[815]](),_0x187fx2[_0x83b3[253]][_0x83b3[1209]](_0x187fx3),_0x187fx3[_0x83b3[1210]]());null!= _0x187fx2[_0x83b3[963]]&& (_0x187fx3[_0x83b3[815]](),_0x187fx2[_0x83b3[963]][_0x83b3[1209]](_0x187fx3),_0x187fx3[_0x83b3[1210]]())};mxImageExport[_0x83b3[202]][_0x83b3[1208]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx2[_0x83b3[1211]]&& _0x187fx2[_0x83b3[1211]][_0x83b3[209]](function(_0x187fx2,_0x187fx5){_0x187fx5 instanceof mxShape&& _0x187fx5[_0x83b3[1209]](_0x187fx3)})};function mxAbstractCanvas2D(){this[_0x83b3[1212]]= this[_0x83b3[1213]]();this[_0x83b3[862]]()}mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[724]]= null;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1214]]= null;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1215]]= null;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1216]]= !0;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1217]]= 0;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1218]]= 0;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1219]]= _0x83b3[1220];mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1221]]= _0x83b3[1222];mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1223]]= _0x83b3[1224];mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1225]]= _0x83b3[1226];mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1227]]= _0x83b3[1228];mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1229]]= !1;mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1213]]= function(){return new mxUrlConverter};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[724]]= this[_0x83b3[1230]]();this[_0x83b3[1214]]= []};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1230]]= function(){return {dx:0,dy:0,scale:1,alpha:1,fillColor:null,fillAlpha:1,gradientColor:null,gradientAlpha:1,gradientDirection:null,strokeColor:null,strokeWidth:1,dashed:!1,dashPattern:_0x83b3[1231],lineCap:_0x83b3[1232],lineJoin:_0x83b3[1233],miterLimit:10,fontColor:_0x83b3[1234],fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants[_0x83b3[483]],fontFamily:mxConstants[_0x83b3[484]],fontStyle:0,shadow:!1,shadowColor:mxConstants[_0x83b3[1235]],shadowAlpha:mxConstants[_0x83b3[1236]],shadowDx:mxConstants[_0x83b3[1237]],shadowDy:mxConstants[_0x83b3[1238]],rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1239]]= function(_0x187fx2){return Math[_0x83b3[488]](parseFloat(_0x187fx2))};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1240]]= function(){if(null!= this[_0x83b3[1215]]&& (this[_0x83b3[1215]][_0x83b3[207]](arguments[0]),2< arguments[_0x83b3[67]])){for(var _0x187fx2=this[_0x83b3[724]],_0x187fx3=2;_0x187fx3< arguments[_0x83b3[67]];_0x187fx3+= 2){this[_0x83b3[1217]]= arguments[_0x187fx3- 1],this[_0x83b3[1218]]= arguments[_0x187fx3],this[_0x83b3[1215]][_0x83b3[207]](this[_0x83b3[1239]]((this[_0x83b3[1217]]+ _0x187fx2[_0x83b3[1126]])* _0x187fx2[_0x83b3[255]])),this[_0x83b3[1215]][_0x83b3[207]](this[_0x83b3[1239]]((this[_0x83b3[1218]]+ _0x187fx2[_0x83b3[1125]])* _0x187fx2[_0x83b3[255]]))}}};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1241]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx4*= Math[_0x83b3[424]]/ 180;return mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx2,_0x187fx3),Math[_0x83b3[426]](_0x187fx4),Math[_0x83b3[427]](_0x187fx4), new mxPoint(_0x187fx5,_0x187fx9))};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[815]]= function(){this[_0x83b3[1214]][_0x83b3[207]](this[_0x83b3[724]]);this[_0x83b3[724]]= mxUtils[_0x83b3[238]](this[_0x83b3[724]])};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1210]]= function(){this[_0x83b3[724]]= this[_0x83b3[1214]][_0x83b3[1242]]()};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[255]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[255]]*= _0x187fx2;this[_0x83b3[724]][_0x83b3[610]]*= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[513]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[724]][_0x83b3[1126]]+= _0x187fx2;this[_0x83b3[724]][_0x83b3[1125]]+= _0x187fx3};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1243]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[1244]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1245]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);this[_0x83b3[724]][_0x83b3[604]]= _0x187fx2;this[_0x83b3[724]][_0x83b3[606]]= null};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1246]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){_0x187fx4= this[_0x83b3[724]];_0x187fx4[_0x83b3[604]]= _0x187fx2;_0x187fx4[_0x83b3[1247]]= null!= _0x187fx13?_0x187fx13:1;_0x187fx4[_0x83b3[606]]= _0x187fx3;_0x187fx4[_0x83b3[1248]]= null!= _0x187fx14?_0x187fx14:1;_0x187fx4[_0x83b3[607]]= _0x187fx12};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1249]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);this[_0x83b3[724]][_0x83b3[608]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1250]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[610]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1251]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[648]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1252]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[649]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1253]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[1254]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1255]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[1256]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1257]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[1258]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1259]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);this[_0x83b3[724]][_0x83b3[665]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1260]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);this[_0x83b3[724]][_0x83b3[1261]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1262]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);this[_0x83b3[724]][_0x83b3[1263]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1264]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[487]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1265]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[486]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1266]]= function(_0x187fx2){null== _0x187fx2&& (_0x187fx2= 0);this[_0x83b3[724]][_0x83b3[666]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1267]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[639]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1268]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);this[_0x83b3[724]][_0x83b3[1269]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1270]]= function(_0x187fx2){this[_0x83b3[724]][_0x83b3[1271]]= _0x187fx2};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1272]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[724]][_0x83b3[1273]]= _0x187fx2;this[_0x83b3[724]][_0x83b3[1274]]= _0x187fx3};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1275]]= function(){this[_0x83b3[1218]]= this[_0x83b3[1217]]= 0;this[_0x83b3[1215]]= []};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1276]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1240]](this[_0x83b3[1219]],_0x187fx2,_0x187fx3)};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1277]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1240]](this[_0x83b3[1221]],_0x187fx2,_0x187fx3)};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1278]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[1240]](this[_0x83b3[1223]],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5)};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1279]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[1240]](this[_0x83b3[1225]],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa)};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1280]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){_0x187fx2= mxUtils[_0x83b3[1281]](this[_0x83b3[1217]],this[_0x83b3[1218]],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12);for(_0x187fx3= 0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3+= 6){this[_0x83b3[1279]](_0x187fx2[_0x187fx3],_0x187fx2[_0x187fx3+ 1],_0x187fx2[_0x187fx3+ 2],_0x187fx2[_0x187fx3+ 3],_0x187fx2[_0x187fx3+ 4],_0x187fx2[_0x187fx3+ 5])}};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[268]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[1240]](this[_0x83b3[1227]])};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1282]]= function(){};function mxXmlCanvas2D(_0x187fx2){mxAbstractCanvas2D[_0x83b3[239]](this);this[_0x83b3[813]]= _0x187fx2;this[_0x83b3[1283]]()}mxUtils[_0x83b3[1284]](mxXmlCanvas2D,mxAbstractCanvas2D);mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1285]]= !0;mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1286]]= !0;mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1283]]= function(){var _0x187fx2;_0x187fx2= this[_0x83b3[55]](_0x83b3[1287]);_0x187fx2[_0x83b3[57]](_0x83b3[1288],mxConstants.DEFAULT_FONTFAMILY);this[_0x83b3[813]][_0x83b3[62]](_0x187fx2);_0x187fx2= this[_0x83b3[55]](_0x83b3[1289]);_0x187fx2[_0x83b3[57]](_0x83b3[803],mxConstants.DEFAULT_FONTSIZE);this[_0x83b3[813]][_0x83b3[62]](_0x187fx2);_0x187fx2= this[_0x83b3[55]](_0x83b3[1290]);_0x187fx2[_0x83b3[57]](_0x83b3[352],mxConstants.SHADOWCOLOR);this[_0x83b3[813]][_0x83b3[62]](_0x187fx2);_0x187fx2= this[_0x83b3[55]](_0x83b3[1291]);_0x187fx2[_0x83b3[57]](_0x83b3[1244],mxConstants.SHADOW_OPACITY);this[_0x83b3[813]][_0x83b3[62]](_0x187fx2);_0x187fx2= this[_0x83b3[55]](_0x83b3[1292]);_0x187fx2[_0x83b3[57]](_0x83b3[1126],mxConstants.SHADOW_OFFSET_X);_0x187fx2[_0x83b3[57]](_0x83b3[1125],mxConstants.SHADOW_OFFSET_Y);this[_0x83b3[813]][_0x83b3[62]](_0x187fx2)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1239]]= function(_0x187fx2){return parseFloat(parseFloat(_0x187fx2)[_0x83b3[1293]](2))};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[55]]= function(_0x187fx2){return this[_0x83b3[813]][_0x83b3[295]][_0x83b3[55]](_0x187fx2)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[815]]= function(){this[_0x83b3[1286]]&& mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[815]][_0x83b3[183]](this,arguments);this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[815]))};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1210]]= function(){this[_0x83b3[1286]]&& mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1210]][_0x83b3[183]](this,arguments);this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[1210]))};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[255]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[255]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1243]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[255]);_0x187fx3[_0x83b3[57]](_0x83b3[255],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[513]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[55]](_0x83b3[513]);_0x187fx4[_0x83b3[57]](_0x83b3[1126],this[_0x83b3[1239]](_0x187fx2));_0x187fx4[_0x83b3[57]](_0x83b3[1125],this[_0x83b3[1239]](_0x187fx3));this[_0x83b3[813]][_0x83b3[62]](_0x187fx4)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1294]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=this[_0x83b3[55]](_0x83b3[1294]);if(0!= _0x187fx2|| _0x187fx3|| _0x187fx4){_0x187fxa[_0x83b3[57]](_0x83b3[1295],this[_0x83b3[1239]](_0x187fx2)),_0x187fxa[_0x83b3[57]](_0x83b3[623],_0x187fx3?_0x83b3[500]:_0x83b3[468]),_0x187fxa[_0x83b3[57]](_0x83b3[624],_0x187fx4?_0x83b3[500]:_0x83b3[468]),_0x187fxa[_0x83b3[57]](_0x83b3[1296],this[_0x83b3[1239]](_0x187fx5)),_0x187fxa[_0x83b3[57]](_0x83b3[1297],this[_0x83b3[1239]](_0x187fx9)),this[_0x83b3[813]][_0x83b3[62]](_0x187fxa)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1243]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1244]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1243]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1244]);_0x187fx3[_0x83b3[57]](_0x83b3[1244],this[_0x83b3[1239]](_0x187fx2));this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1245]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[604]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1245]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1298]);_0x187fx3[_0x83b3[57]](_0x83b3[352],null!= _0x187fx2?_0x187fx2:mxConstants[_0x83b3[217]]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1246]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){if(null!= _0x187fx2&& null!= _0x187fx3){mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1246]][_0x83b3[183]](this,arguments);var _0x187fx15=this[_0x83b3[55]](_0x83b3[1299]);_0x187fx15[_0x83b3[57]](_0x83b3[1300],_0x187fx2);_0x187fx15[_0x83b3[57]](_0x83b3[1301],_0x187fx3);_0x187fx15[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx4));_0x187fx15[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx5));_0x187fx15[_0x83b3[57]](_0x83b3[1302],this[_0x83b3[1239]](_0x187fx9));_0x187fx15[_0x83b3[57]](_0x83b3[1303],this[_0x83b3[1239]](_0x187fxa));null!= _0x187fx12&& _0x187fx15[_0x83b3[57]](_0x83b3[663],_0x187fx12);null!= _0x187fx13&& _0x187fx15[_0x83b3[57]](_0x83b3[1304],_0x187fx13);null!= _0x187fx14&& _0x187fx15[_0x83b3[57]](_0x83b3[1305],_0x187fx14);this[_0x83b3[813]][_0x83b3[62]](_0x187fx15)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1249]]= function(_0x187fx2){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[608]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1249]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1306]);_0x187fx3[_0x83b3[57]](_0x83b3[352],null!= _0x187fx2?_0x187fx2:mxConstants[_0x83b3[217]]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1250]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[610]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1250]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1307]);_0x187fx3[_0x83b3[57]](_0x83b3[117],this[_0x83b3[1239]](_0x187fx2));this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1251]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[648]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1251]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[648]);_0x187fx3[_0x83b3[57]](_0x83b3[648],_0x187fx2?_0x83b3[500]:_0x83b3[468]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1252]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[649]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1252]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1308]);_0x187fx3[_0x83b3[57]](_0x83b3[1309],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1253]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1254]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1253]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1310]);_0x187fx3[_0x83b3[57]](_0x83b3[1311],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1255]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1256]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1255]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1312]);_0x187fx3[_0x83b3[57]](_0x83b3[234],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1257]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1258]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1257]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1313]);_0x187fx3[_0x83b3[57]](_0x83b3[1314],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1259]]= function(_0x187fx2){if(this[_0x83b3[1285]]){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[665]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1259]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1315]);_0x187fx3[_0x83b3[57]](_0x83b3[352],null!= _0x187fx2?_0x187fx2:mxConstants[_0x83b3[217]]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1260]]= function(_0x187fx2){if(this[_0x83b3[1285]]){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1261]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1260]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1316]);_0x187fx3[_0x83b3[57]](_0x83b3[352],null!= _0x187fx2?_0x187fx2:mxConstants[_0x83b3[217]]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1262]]= function(_0x187fx2){if(this[_0x83b3[1285]]){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1263]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1262]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1317]);_0x187fx3[_0x83b3[57]](_0x83b3[352],null!= _0x187fx2?_0x187fx2:mxConstants[_0x83b3[217]]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1264]]= function(_0x187fx2){if(this[_0x83b3[1285]]){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[487]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1264]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1289]);_0x187fx3[_0x83b3[57]](_0x83b3[803],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1265]]= function(_0x187fx2){if(this[_0x83b3[1285]]){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[486]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1265]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1287]);_0x187fx3[_0x83b3[57]](_0x83b3[1288],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1266]]= function(_0x187fx2){if(this[_0x83b3[1285]]){null== _0x187fx2&& (_0x187fx2= 0);if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[666]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1266]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1318]);_0x187fx3[_0x83b3[57]](_0x83b3[124],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1267]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[639]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1267]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[639]);_0x187fx3[_0x83b3[57]](_0x83b3[984],_0x187fx2?_0x83b3[500]:_0x83b3[468]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1268]]= function(_0x187fx2){if(this[_0x83b3[1286]]){_0x187fx2== mxConstants[_0x83b3[217]]&& (_0x187fx2= null);if(this[_0x83b3[724]][_0x83b3[1269]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1268]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1290]);_0x187fx3[_0x83b3[57]](_0x83b3[352],null!= _0x187fx2?_0x187fx2:mxConstants[_0x83b3[217]]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1270]]= function(_0x187fx2){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1271]]== _0x187fx2){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1270]][_0x83b3[183]](this,arguments)};var _0x187fx3=this[_0x83b3[55]](_0x83b3[1291]);_0x187fx3[_0x83b3[57]](_0x83b3[1244],_0x187fx2);this[_0x83b3[813]][_0x83b3[62]](_0x187fx3)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1272]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1286]]){if(this[_0x83b3[724]][_0x83b3[1273]]== _0x187fx2&& this[_0x83b3[724]][_0x83b3[1274]]== _0x187fx3){return};mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1272]][_0x83b3[183]](this,arguments)};var _0x187fx4=this[_0x83b3[55]](_0x83b3[1292]);_0x187fx4[_0x83b3[57]](_0x83b3[1126],_0x187fx2);_0x187fx4[_0x83b3[57]](_0x83b3[1125],_0x187fx3);this[_0x83b3[813]][_0x83b3[62]](_0x187fx4)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1319]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[55]](_0x83b3[1319]);_0x187fx9[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx9[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));_0x187fx9[_0x83b3[57]](_0x83b3[1302],this[_0x83b3[1239]](_0x187fx4));_0x187fx9[_0x83b3[57]](_0x83b3[1303],this[_0x83b3[1239]](_0x187fx5));this[_0x83b3[813]][_0x83b3[62]](_0x187fx9)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1320]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=this[_0x83b3[55]](_0x83b3[1320]);_0x187fx12[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx12[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));_0x187fx12[_0x83b3[57]](_0x83b3[1302],this[_0x83b3[1239]](_0x187fx4));_0x187fx12[_0x83b3[57]](_0x83b3[1303],this[_0x83b3[1239]](_0x187fx5));_0x187fx12[_0x83b3[57]](_0x83b3[1126],this[_0x83b3[1239]](_0x187fx9));_0x187fx12[_0x83b3[57]](_0x83b3[1125],this[_0x83b3[1239]](_0x187fxa));this[_0x83b3[813]][_0x83b3[62]](_0x187fx12)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[680]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[55]](_0x83b3[680]);_0x187fx9[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx9[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));_0x187fx9[_0x83b3[57]](_0x83b3[1302],this[_0x83b3[1239]](_0x187fx4));_0x187fx9[_0x83b3[57]](_0x83b3[1303],this[_0x83b3[1239]](_0x187fx5));this[_0x83b3[813]][_0x83b3[62]](_0x187fx9)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[618]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){_0x187fx9= this[_0x83b3[1212]][_0x83b3[1321]](_0x187fx9);var _0x187fx14=this[_0x83b3[55]](_0x83b3[618]);_0x187fx14[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx14[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));_0x187fx14[_0x83b3[57]](_0x83b3[1302],this[_0x83b3[1239]](_0x187fx4));_0x187fx14[_0x83b3[57]](_0x83b3[1303],this[_0x83b3[1239]](_0x187fx5));_0x187fx14[_0x83b3[57]](_0x83b3[390],_0x187fx9);_0x187fx14[_0x83b3[57]](_0x83b3[1322],_0x187fxa?_0x83b3[500]:_0x83b3[468]);_0x187fx14[_0x83b3[57]](_0x83b3[623],_0x187fx12?_0x83b3[500]:_0x83b3[468]);_0x187fx14[_0x83b3[57]](_0x83b3[624],_0x187fx13?_0x83b3[500]:_0x83b3[468]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx14)};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1275]]= function(){this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[1275]));this[_0x83b3[1218]]= this[_0x83b3[1217]]= 0};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1276]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[55]](_0x83b3[582]);_0x187fx4[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx4[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));this[_0x83b3[813]][_0x83b3[62]](_0x187fx4);this[_0x83b3[1217]]= _0x187fx2;this[_0x83b3[1218]]= _0x187fx3};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1277]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[55]](_0x83b3[683]);_0x187fx4[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx4[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));this[_0x83b3[813]][_0x83b3[62]](_0x187fx4);this[_0x83b3[1217]]= _0x187fx2;this[_0x83b3[1218]]= _0x187fx3};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1278]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[55]](_0x83b3[1323]);_0x187fx9[_0x83b3[57]](_0x83b3[1324],this[_0x83b3[1239]](_0x187fx2));_0x187fx9[_0x83b3[57]](_0x83b3[1325],this[_0x83b3[1239]](_0x187fx3));_0x187fx9[_0x83b3[57]](_0x83b3[1326],this[_0x83b3[1239]](_0x187fx4));_0x187fx9[_0x83b3[57]](_0x83b3[1327],this[_0x83b3[1239]](_0x187fx5));this[_0x83b3[813]][_0x83b3[62]](_0x187fx9);this[_0x83b3[1217]]= _0x187fx4;this[_0x83b3[1218]]= _0x187fx5};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1279]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=this[_0x83b3[55]](_0x83b3[1328]);_0x187fx12[_0x83b3[57]](_0x83b3[1324],this[_0x83b3[1239]](_0x187fx2));_0x187fx12[_0x83b3[57]](_0x83b3[1325],this[_0x83b3[1239]](_0x187fx3));_0x187fx12[_0x83b3[57]](_0x83b3[1326],this[_0x83b3[1239]](_0x187fx4));_0x187fx12[_0x83b3[57]](_0x83b3[1327],this[_0x83b3[1239]](_0x187fx5));_0x187fx12[_0x83b3[57]](_0x83b3[1329],this[_0x83b3[1239]](_0x187fx9));_0x187fx12[_0x83b3[57]](_0x83b3[1330],this[_0x83b3[1239]](_0x187fxa));this[_0x83b3[813]][_0x83b3[62]](_0x187fx12);this[_0x83b3[1217]]= _0x187fx9;this[_0x83b3[1218]]= _0x187fxa};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[268]]= function(){this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[268]))};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[963]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){if(this[_0x83b3[1285]]&& null!= _0x187fx9){mxUtils[_0x83b3[1331]](_0x187fx9)&& (_0x187fx9= mxUtils[_0x83b3[532]](_0x187fx9));var _0x187fx18=this[_0x83b3[55]](_0x83b3[963]);_0x187fx18[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2));_0x187fx18[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3));_0x187fx18[_0x83b3[57]](_0x83b3[1302],this[_0x83b3[1239]](_0x187fx4));_0x187fx18[_0x83b3[57]](_0x83b3[1303],this[_0x83b3[1239]](_0x187fx5));_0x187fx18[_0x83b3[57]](_0x83b3[1332],_0x187fx9);null!= _0x187fxa&& _0x187fx18[_0x83b3[57]](_0x83b3[611],_0x187fxa);null!= _0x187fx12&& _0x187fx18[_0x83b3[57]](_0x83b3[552],_0x187fx12);_0x187fx18[_0x83b3[57]](_0x83b3[1333],_0x187fx13?_0x83b3[500]:_0x83b3[468]);null== _0x187fx14&& (_0x187fx14= _0x83b3[110]);_0x187fx18[_0x83b3[57]](_0x83b3[1239],_0x187fx14);null!= _0x187fx15&& _0x187fx18[_0x83b3[57]](_0x83b3[1334],_0x187fx15?_0x83b3[500]:_0x83b3[468]);null!= _0x187fx16&& _0x187fx18[_0x83b3[57]](_0x83b3[1335],_0x187fx16?_0x83b3[500]:_0x83b3[468]);null!= _0x187fx17&& _0x187fx18[_0x83b3[57]](_0x83b3[603],_0x187fx17);this[_0x83b3[813]][_0x83b3[62]](_0x187fx18)}};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1336]]= function(){this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[1336]))};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1334]]= function(){this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[1334]))};mxXmlCanvas2D[_0x83b3[202]][_0x83b3[1337]]= function(){this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[55]](_0x83b3[1338]))};function mxSvgCanvas2D(_0x187fx2,_0x187fx3){mxAbstractCanvas2D[_0x83b3[239]](this);this[_0x83b3[813]]= _0x187fx2;this[_0x83b3[1339]]= [];this[_0x83b3[1340]]= null;this[_0x83b3[1341]]= null!= _0x187fx3?_0x187fx3:!1;var _0x187fx4=null;if(_0x187fx2[_0x83b3[295]]!= document){for(_0x187fx4= _0x187fx2;null!= _0x187fx4&& _0x83b3[571]!= _0x187fx4[_0x83b3[301]];){_0x187fx4= _0x187fx4[_0x83b3[265]]}};null!= _0x187fx4&& (0< _0x187fx4[_0x83b3[64]](_0x83b3[1340])[_0x83b3[67]]&& (this[_0x83b3[1340]]= _0x187fx4[_0x83b3[64]](_0x83b3[1340])[0]),null== this[_0x83b3[1340]]&& (this[_0x83b3[1340]]= this[_0x83b3[55]](_0x83b3[1340]),null!= _0x187fx4[_0x83b3[285]]?_0x187fx4[_0x83b3[950]](this[_0x83b3[1340]],_0x187fx4[_0x83b3[285]]):_0x187fx4[_0x83b3[62]](this[_0x83b3[1340]])),this[_0x83b3[1341]]&& this[_0x83b3[1340]][_0x83b3[62]](this[_0x83b3[1342]]()))}mxUtils[_0x83b3[1284]](mxSvgCanvas2D,mxAbstractCanvas2D);mxSvgCanvas2D[_0x83b3[202]][_0x83b3[252]]= null;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1343]]= !0;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1285]]= !0;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1344]]= !0;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1345]]= 0;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1346]]= 0;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1347]]= !1;mxSvgCanvas2D[_0x83b3[202]][_0x83b3[862]]= function(){mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[862]][_0x83b3[183]](this,arguments);this[_0x83b3[1339]]= []};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1342]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[55]](_0x83b3[124]);_0x187fx2[_0x83b3[57]](_0x83b3[60],_0x83b3[61]);mxUtils[_0x83b3[53]](_0x187fx2,_0x83b3[1348]+ mxConstants[_0x83b3[484]]+ _0x83b3[1349]+ mxConstants[_0x83b3[483]]+ _0x83b3[1350]);return _0x187fx2};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[55]]= function(_0x187fx2,_0x187fx3){if(null!= this[_0x83b3[813]][_0x83b3[295]][_0x83b3[509]]){return this[_0x83b3[813]][_0x83b3[295]][_0x83b3[509]](_0x187fx3|| mxConstants[_0x83b3[1351]],_0x187fx2)};var _0x187fx4=this[_0x83b3[813]][_0x83b3[295]][_0x83b3[55]](_0x187fx2);null!= _0x187fx3&& _0x187fx4[_0x83b3[57]](_0x83b3[1352],_0x187fx3);return _0x187fx4};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1353]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x83b3[198]== _0x187fx2[_0x83b3[225]](0)&& (_0x187fx2= _0x187fx2[_0x83b3[85]](1));_0x83b3[198]== _0x187fx3[_0x83b3[225]](0)&& (_0x187fx3= _0x187fx3[_0x83b3[85]](1));_0x187fx2= _0x187fx2[_0x83b3[216]]()+ _0x83b3[213]+ _0x187fx4;_0x187fx3= _0x187fx3[_0x83b3[216]]()+ _0x83b3[213]+ _0x187fx5;_0x187fx4= null;null== _0x187fx9|| _0x187fx9== mxConstants[_0x83b3[1354]]?_0x187fx4= _0x83b3[1355]:_0x187fx9== mxConstants[_0x83b3[1356]]?_0x187fx4= _0x83b3[1357]:(_0x187fx5= _0x187fx2,_0x187fx2= _0x187fx3,_0x187fx3= _0x187fx5,_0x187fx9== mxConstants[_0x83b3[1358]]?_0x187fx4= _0x83b3[1355]:_0x187fx9== mxConstants[_0x83b3[1359]]&& (_0x187fx4= _0x83b3[1357]));return _0x83b3[1360]+ _0x187fx2+ _0x83b3[213]+ _0x187fx3+ _0x83b3[213]+ _0x187fx4};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1361]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=this[_0x83b3[1353]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx12=this[_0x83b3[1339]][_0x187fxa];if(null== _0x187fx12){var _0x187fx13=this[_0x83b3[813]][_0x83b3[538]],_0x187fx14=0,_0x187fx15=_0x187fxa+ _0x83b3[213]+ _0x187fx14;if(null!= _0x187fx13){for(_0x187fx12= _0x187fx13[_0x83b3[295]][_0x83b3[1362]](_0x187fx15);null!= _0x187fx12&& _0x187fx12[_0x83b3[538]]!= _0x187fx13;){_0x187fx15= _0x187fxa+ _0x83b3[213]+ _0x187fx14++,_0x187fx12= _0x187fx13[_0x83b3[295]][_0x83b3[1362]](_0x187fx15)}}else {_0x187fx15= _0x83b3[1363]+ ++this[_0x83b3[1346]]};null== _0x187fx12&& (_0x187fx12= this[_0x83b3[1364]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx12[_0x83b3[57]](_0x83b3[1363],_0x187fx15),null!= this[_0x83b3[1340]]?this[_0x83b3[1340]][_0x83b3[62]](_0x187fx12):_0x187fx13[_0x83b3[62]](_0x187fx12));this[_0x83b3[1339]][_0x187fxa]= _0x187fx12};return _0x187fx12[_0x83b3[284]](_0x83b3[1363])};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1364]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=this[_0x83b3[55]](_0x83b3[1365]);_0x187fxa[_0x83b3[57]](_0x83b3[1324],_0x83b3[1366]);_0x187fxa[_0x83b3[57]](_0x83b3[1325],_0x83b3[1366]);_0x187fxa[_0x83b3[57]](_0x83b3[1326],_0x83b3[1366]);_0x187fxa[_0x83b3[57]](_0x83b3[1327],_0x83b3[1366]);null== _0x187fx9|| _0x187fx9== mxConstants[_0x83b3[1354]]?_0x187fxa[_0x83b3[57]](_0x83b3[1327],_0x83b3[118]):_0x187fx9== mxConstants[_0x83b3[1356]]?_0x187fxa[_0x83b3[57]](_0x83b3[1326],_0x83b3[118]):_0x187fx9== mxConstants[_0x83b3[1358]]?_0x187fxa[_0x83b3[57]](_0x83b3[1325],_0x83b3[118]):_0x187fx9== mxConstants[_0x83b3[1359]]&& _0x187fxa[_0x83b3[57]](_0x83b3[1324],_0x83b3[118]);_0x187fx4= 1> _0x187fx4?_0x83b3[1367]+ _0x187fx4:_0x83b3[110];_0x187fx9= this[_0x83b3[55]](_0x83b3[1076]);_0x187fx9[_0x83b3[57]](_0x83b3[1368],_0x83b3[1366]);_0x187fx9[_0x83b3[57]](_0x83b3[124],_0x83b3[1369]+ _0x187fx2+ _0x187fx4);_0x187fxa[_0x83b3[62]](_0x187fx9);_0x187fx4= 1> _0x187fx5?_0x83b3[1367]+ _0x187fx5:_0x83b3[110];_0x187fx9= this[_0x83b3[55]](_0x83b3[1076]);_0x187fx9[_0x83b3[57]](_0x83b3[1368],_0x83b3[118]);_0x187fx9[_0x83b3[57]](_0x83b3[124],_0x83b3[1369]+ _0x187fx3+ _0x187fx4);_0x187fxa[_0x83b3[62]](_0x187fx9);return _0x187fxa};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1370]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[252]],_0x187fx5=this[_0x83b3[724]];if(null!= _0x187fx4){if(_0x83b3[1215]== _0x187fx4[_0x83b3[301]]){if(null!= this[_0x83b3[1215]]&& 0< this[_0x83b3[1215]][_0x83b3[67]]){_0x187fx4[_0x83b3[57]](_0x83b3[1371],this[_0x83b3[1215]][_0x83b3[234]](_0x83b3[185]))}else {return}};_0x187fx2&& null!= _0x187fx5[_0x83b3[604]]?this[_0x83b3[1372]]():this[_0x83b3[1341]]|| (_0x83b3[680]== _0x187fx4[_0x83b3[301]]&& mxClient[_0x83b3[133]]&& !mxClient[_0x83b3[76]]&& !mxClient[_0x83b3[75]]?_0x187fx4[_0x83b3[57]](_0x83b3[1334],_0x83b3[1373]):_0x187fx4[_0x83b3[57]](_0x83b3[1334],_0x83b3[130]),_0x187fx2= !1);_0x187fx3&& null!= _0x187fx5[_0x83b3[608]]?this[_0x83b3[1374]]():this[_0x83b3[1341]]|| _0x187fx4[_0x83b3[57]](_0x83b3[1336],_0x83b3[130]);null!= _0x187fx5[_0x83b3[535]]&& 0< _0x187fx5[_0x83b3[535]][_0x83b3[67]]&& _0x187fx4[_0x83b3[57]](_0x83b3[535],_0x187fx5[_0x83b3[535]]);_0x187fx5[_0x83b3[639]]&& this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[1375]](_0x187fx4));0< this[_0x83b3[1345]]&& !_0x187fx2&& this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[1376]](_0x187fx4));this[_0x83b3[1229]]&& (_0x83b3[1215]!= _0x187fx4[_0x83b3[301]]|| this[_0x83b3[1215]][this[_0x83b3[1215]][_0x83b3[67]]- 1]== this[_0x83b3[1227]])&& _0x187fx4[_0x83b3[57]](_0x83b3[1377],_0x83b3[1378]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx4)}};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1372]]= function(){var _0x187fx2=this[_0x83b3[724]];1> _0x187fx2[_0x83b3[1244]]&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1379],_0x187fx2[_0x83b3[1244]]);null!= _0x187fx2[_0x83b3[604]]&& (null!= _0x187fx2[_0x83b3[606]]?(_0x187fx2= this[_0x83b3[1361]](_0x187fx2[_0x83b3[604]],_0x187fx2[_0x83b3[606]],_0x187fx2[_0x83b3[1247]],_0x187fx2[_0x83b3[1248]],_0x187fx2[_0x83b3[607]]),this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1334],_0x83b3[1380]+ _0x187fx2+ _0x83b3[460])):this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1334],_0x187fx2[_0x83b3[604]][_0x83b3[216]]()))};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1374]]= function(){var _0x187fx2=this[_0x83b3[724]];this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1336],_0x187fx2[_0x83b3[608]][_0x83b3[216]]());1> _0x187fx2[_0x83b3[1244]]&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1381],_0x187fx2[_0x83b3[1244]]);var _0x187fx3=Math[_0x83b3[160]](1,this[_0x83b3[1239]](_0x187fx2[_0x83b3[610]]* _0x187fx2[_0x83b3[255]]));1!= _0x187fx3&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1382],_0x187fx3);_0x83b3[1215]== this[_0x83b3[252]][_0x83b3[301]]&& this[_0x83b3[1383]]();_0x187fx2[_0x83b3[648]]&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1384],this[_0x83b3[1385]](_0x187fx3))};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1383]]= function(){var _0x187fx2=this[_0x83b3[724]];null!= _0x187fx2[_0x83b3[1256]]&& _0x83b3[1233]!= _0x187fx2[_0x83b3[1256]]&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1386],_0x187fx2[_0x83b3[1256]]);if(null!= _0x187fx2[_0x83b3[1254]]){var _0x187fx3=_0x187fx2[_0x83b3[1254]];_0x83b3[1232]== _0x187fx3&& (_0x187fx3= _0x83b3[1387]);_0x83b3[1387]!= _0x187fx3&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1388],_0x187fx3)};null!= _0x187fx2[_0x83b3[1258]]&& (!this[_0x83b3[1341]]|| 10!= _0x187fx2[_0x83b3[1258]])&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1389],_0x187fx2[_0x83b3[1258]])};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1385]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[724]][_0x83b3[649]][_0x83b3[224]](_0x83b3[185]),_0x187fx4=[];if(0< _0x187fx3[_0x83b3[67]]){for(var _0x187fx5=0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){_0x187fx4[_0x187fx5]= Number(_0x187fx3[_0x187fx5])* _0x187fx2}};return _0x187fx4[_0x83b3[234]](_0x83b3[185])};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1376]]= function(_0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[511]](!0);var _0x187fx3=parseFloat(_0x187fx2[_0x83b3[284]](_0x83b3[1382])|| 1)+ this[_0x83b3[1345]];_0x187fx2[_0x83b3[57]](_0x83b3[1377],_0x83b3[1336]);_0x187fx2[_0x83b3[57]](_0x83b3[187],_0x83b3[188]);_0x187fx2[_0x83b3[1390]](_0x83b3[1384]);_0x187fx2[_0x83b3[57]](_0x83b3[1382],_0x187fx3);_0x187fx2[_0x83b3[57]](_0x83b3[1334],_0x83b3[130]);_0x187fx2[_0x83b3[57]](_0x83b3[1336],mxClient[_0x83b3[71]]?_0x83b3[130]:_0x83b3[1391]);return _0x187fx2};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1375]]= function(_0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[511]](!0);var _0x187fx3=this[_0x83b3[724]];_0x83b3[130]!= _0x187fx2[_0x83b3[284]](_0x83b3[1334])&& _0x187fx2[_0x83b3[57]](_0x83b3[1334],_0x187fx3[_0x83b3[1269]]);_0x83b3[130]!= _0x187fx2[_0x83b3[284]](_0x83b3[1336])&& _0x187fx2[_0x83b3[57]](_0x83b3[1336],_0x187fx3[_0x83b3[1269]]);_0x187fx2[_0x83b3[57]](_0x83b3[535],_0x83b3[536]+ this[_0x83b3[1239]](_0x187fx3[_0x83b3[1273]]* _0x187fx3[_0x83b3[255]])+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx3[_0x83b3[1274]]* _0x187fx3[_0x83b3[255]])+ _0x83b3[460]+ (_0x187fx3[_0x83b3[535]]|| _0x83b3[110]));_0x187fx2[_0x83b3[57]](_0x83b3[461],_0x187fx3[_0x83b3[1271]]);return _0x187fx2};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1294]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(0!= _0x187fx2|| _0x187fx3|| _0x187fx4){var _0x187fxa=this[_0x83b3[724]];_0x187fx5+= _0x187fxa[_0x83b3[1126]];_0x187fx9+= _0x187fxa[_0x83b3[1125]];_0x187fx5*= _0x187fxa[_0x83b3[255]];_0x187fx9*= _0x187fxa[_0x83b3[255]];_0x187fxa[_0x83b3[535]]= _0x187fxa[_0x83b3[535]]|| _0x83b3[110];if(_0x187fx3&& _0x187fx4){_0x187fx2+= 180}else {if(_0x187fx3^ _0x187fx4){var _0x187fx12=_0x187fx3?_0x187fx5:0,_0x187fx13=_0x187fx3?-1:1,_0x187fx14=_0x187fx4?_0x187fx9:0,_0x187fx15=_0x187fx4?-1:1;_0x187fxa[_0x83b3[535]]+= _0x83b3[536]+ this[_0x83b3[1239]](_0x187fx12)+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx14)+ _0x83b3[1392]+ this[_0x83b3[1239]](_0x187fx13)+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx15)+ _0x83b3[1393]+ this[_0x83b3[1239]](-_0x187fx12) + _0x83b3[537]+ this[_0x83b3[1239]](-_0x187fx14) + _0x83b3[460]}};if(_0x187fx3?!_0x187fx4:_0x187fx4){_0x187fx2*= -1};0!= _0x187fx2&& (_0x187fxa[_0x83b3[535]]+= _0x83b3[1394]+ this[_0x83b3[1239]](_0x187fx2)+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx5)+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx9)+ _0x83b3[460]);_0x187fxa[_0x83b3[603]]+= _0x187fx2;_0x187fxa[_0x83b3[1395]]= _0x187fx5;_0x187fxa[_0x83b3[1396]]= _0x187fx9}};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1275]]= function(){mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1275]][_0x83b3[183]](this,arguments);this[_0x83b3[252]]= this[_0x83b3[55]](_0x83b3[1215])};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1319]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[724]],_0x187fxa=this[_0x83b3[55]](_0x83b3[1319]);_0x187fxa[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]]((_0x187fx2+ _0x187fx9[_0x83b3[1126]])* _0x187fx9[_0x83b3[255]]));_0x187fxa[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]]((_0x187fx3+ _0x187fx9[_0x83b3[1125]])* _0x187fx9[_0x83b3[255]]));_0x187fxa[_0x83b3[57]](_0x83b3[117],this[_0x83b3[1239]](_0x187fx4* _0x187fx9[_0x83b3[255]]));_0x187fxa[_0x83b3[57]](_0x83b3[119],this[_0x83b3[1239]](_0x187fx5* _0x187fx9[_0x83b3[255]]));this[_0x83b3[252]]= _0x187fxa};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1320]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[1319]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5);0< _0x187fx9&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1397],this[_0x83b3[1239]](_0x187fx9* this[_0x83b3[724]][_0x83b3[255]]));0< _0x187fxa&& this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1398],this[_0x83b3[1239]](_0x187fxa* this[_0x83b3[724]][_0x83b3[255]]))};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[680]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[724]],_0x187fxa=this[_0x83b3[55]](_0x83b3[680]);_0x187fxa[_0x83b3[57]](_0x83b3[1296],Math[_0x83b3[488]]((_0x187fx2+ _0x187fx4/ 2+ _0x187fx9[_0x83b3[1126]])* _0x187fx9[_0x83b3[255]]));_0x187fxa[_0x83b3[57]](_0x83b3[1297],Math[_0x83b3[488]]((_0x187fx3+ _0x187fx5/ 2+ _0x187fx9[_0x83b3[1125]])* _0x187fx9[_0x83b3[255]]));_0x187fxa[_0x83b3[57]](_0x83b3[1397],_0x187fx4/ 2* _0x187fx9[_0x83b3[255]]);_0x187fxa[_0x83b3[57]](_0x83b3[1398],_0x187fx5/ 2* _0x187fx9[_0x83b3[255]]);this[_0x83b3[252]]= _0x187fxa};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[618]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){_0x187fx9= this[_0x83b3[1212]][_0x83b3[1321]](_0x187fx9);_0x187fxa= null!= _0x187fxa?_0x187fxa:!0;_0x187fx12= null!= _0x187fx12?_0x187fx12:!1;_0x187fx13= null!= _0x187fx13?_0x187fx13:!1;var _0x187fx14=this[_0x83b3[724]];_0x187fx2+= _0x187fx14[_0x83b3[1126]];_0x187fx3+= _0x187fx14[_0x83b3[1125]];var _0x187fx15=this[_0x83b3[55]](_0x83b3[618]);_0x187fx15[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2* _0x187fx14[_0x83b3[255]]));_0x187fx15[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3* _0x187fx14[_0x83b3[255]]));_0x187fx15[_0x83b3[57]](_0x83b3[117],this[_0x83b3[1239]](_0x187fx4* _0x187fx14[_0x83b3[255]]));_0x187fx15[_0x83b3[57]](_0x83b3[119],this[_0x83b3[1239]](_0x187fx5* _0x187fx14[_0x83b3[255]]));null== _0x187fx15[_0x83b3[1399]]?_0x187fx15[_0x83b3[57]](_0x83b3[1400],_0x187fx9):_0x187fx15[_0x83b3[1399]](mxConstants.NS_XLINK,_0x83b3[44],_0x187fx9);_0x187fxa|| _0x187fx15[_0x83b3[57]](_0x83b3[1401],_0x83b3[130]);1> _0x187fx14[_0x83b3[1244]]&& _0x187fx15[_0x83b3[57]](_0x83b3[461],_0x187fx14[_0x83b3[1244]]);_0x187fx9= this[_0x83b3[724]][_0x83b3[535]]|| _0x83b3[110];if(_0x187fx12|| _0x187fx13){var _0x187fx16=_0x187fxa= 1,_0x187fx17=0,_0x187fx18=0;_0x187fx12&& (_0x187fxa= -1,_0x187fx17= -_0x187fx4- 2* _0x187fx2);_0x187fx13&& (_0x187fx16= -1,_0x187fx18= -_0x187fx5- 2* _0x187fx3);_0x187fx9+= _0x83b3[1402]+ _0x187fxa+ _0x83b3[537]+ _0x187fx16+ _0x83b3[1393]+ _0x187fx17+ _0x83b3[537]+ _0x187fx18+ _0x83b3[460]};0< _0x187fx9[_0x83b3[67]]&& _0x187fx15[_0x83b3[57]](_0x83b3[535],_0x187fx9);this[_0x83b3[813]][_0x83b3[62]](_0x187fx15);this[_0x83b3[1347]]&& (_0x187fx15[_0x83b3[57]](_0x83b3[124],_0x83b3[1403]),_0x187fx15= this[_0x83b3[55]](_0x83b3[1319]),_0x187fx15[_0x83b3[57]](_0x83b3[187],_0x83b3[188]),_0x187fx15[_0x83b3[57]](_0x83b3[1377],_0x83b3[1334]),_0x187fx15[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2* _0x187fx14[_0x83b3[255]])),_0x187fx15[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx3* _0x187fx14[_0x83b3[255]])),_0x187fx15[_0x83b3[57]](_0x83b3[117],this[_0x83b3[1239]](_0x187fx4* _0x187fx14[_0x83b3[255]])),_0x187fx15[_0x83b3[57]](_0x83b3[119],this[_0x83b3[1239]](_0x187fx5* _0x187fx14[_0x83b3[255]])),this[_0x83b3[813]][_0x83b3[62]](_0x187fx15))};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1404]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx4= this[_0x83b3[724]];_0x187fx5= _0x83b3[1405]+ Math[_0x83b3[488]](_0x187fx4[_0x83b3[487]])+ _0x83b3[1406]+ _0x187fx4[_0x83b3[486]]+ _0x83b3[1407]+ _0x187fx4[_0x83b3[665]]+ _0x83b3[1408]+ Math[_0x83b3[488]](_0x187fx4[_0x83b3[487]]* mxConstants[_0x83b3[490]])+ _0x83b3[1409]+ _0x187fx5;(_0x187fx4[_0x83b3[666]]& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]]&& (_0x187fx5+= _0x83b3[1411]);(_0x187fx4[_0x83b3[666]]& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]]&& (_0x187fx5+= _0x83b3[1413]);(_0x187fx4[_0x83b3[666]]& mxConstants[_0x83b3[1414]])== mxConstants[_0x83b3[1414]]&& (_0x187fx5+= _0x83b3[1415]);_0x187fx3== mxConstants[_0x83b3[479]]?_0x187fx5+= _0x83b3[1416]:_0x187fx3== mxConstants[_0x83b3[480]]&& (_0x187fx5+= _0x83b3[1417]);_0x187fx3= _0x83b3[110];null!= _0x187fx4[_0x83b3[1261]]&& (_0x187fx3+= _0x83b3[1418]+ _0x187fx4[_0x83b3[1261]]+ _0x83b3[471]);null!= _0x187fx4[_0x83b3[1263]]&& (_0x187fx3+= _0x83b3[1419]+ _0x187fx4[_0x83b3[1263]]+ _0x83b3[471]);mxUtils[_0x83b3[1331]](_0x187fx2)|| (_0x187fx4= document[_0x83b3[55]](_0x83b3[126]),_0x187fx4[_0x83b3[339]]= _0x187fx2[_0x83b3[230]](/</g,_0x83b3[1421])[_0x83b3[230]](/>/g,_0x83b3[1420])[_0x83b3[230]](/</g,_0x83b3[334])[_0x83b3[230]](/>/g,_0x83b3[335]),_0x187fx2= _0x187fx4[_0x83b3[131]],_0x187fx9?_0x187fx5+= _0x187fx3:0< _0x187fx3[_0x83b3[67]]&& (_0x187fx2= _0x83b3[1422]+ _0x187fx3+ _0x83b3[1423]+ _0x187fx2+ _0x83b3[1424]));if(!mxClient[_0x83b3[80]]&& document[_0x83b3[509]]){return _0x187fx9= document[_0x83b3[509]](_0x83b3[577],_0x83b3[485]),_0x187fx9[_0x83b3[57]](_0x83b3[124],_0x187fx5),mxUtils[_0x83b3[1331]](_0x187fx2)?this[_0x83b3[813]][_0x83b3[295]]!= document?_0x187fx9[_0x83b3[62]](_0x187fx2[_0x83b3[511]](!0)):_0x187fx9[_0x83b3[62]](_0x187fx2):_0x187fx9[_0x83b3[339]]= _0x187fx2,_0x187fx9};mxUtils[_0x83b3[1331]](_0x187fx2)&& this[_0x83b3[813]][_0x83b3[295]]!= document&& (_0x187fx2= _0x187fx2[_0x83b3[342]]);_0x187fx2= _0x187fx2[_0x83b3[230]](/<br>/g,_0x83b3[1426])[_0x83b3[230]](/<hr>/g,_0x83b3[1425]);return mxUtils[_0x83b3[877]](_0x83b3[1427]+ _0x187fx5+ _0x83b3[1423]+ _0x187fx2+ _0x83b3[1424])[_0x83b3[158]]};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[963]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){if(this[_0x83b3[1285]]&& null!= _0x187fx9){_0x187fx17= null!= _0x187fx17?_0x187fx17:0;var _0x187fx18=this[_0x83b3[724]];_0x187fx2+= _0x187fx18[_0x83b3[1126]];_0x187fx3+= _0x187fx18[_0x83b3[1125]];if(this[_0x83b3[1344]]&& _0x83b3[1428]== _0x187fx14){var _0x187fx19=_0x83b3[1429];_0x187fx16?(_0x187fx19+= _0x83b3[1430],0< _0x187fx5&& (_0x187fx19+= _0x83b3[1431]+ Math[_0x83b3[488]](_0x187fx5)+ _0x83b3[1409]),0< _0x187fx4&& (_0x187fx19+= _0x83b3[1432]+ Math[_0x83b3[488]](_0x187fx4)+ _0x83b3[1409])):_0x187fx15&& (_0x187fx19+= _0x83b3[1432]+ Math[_0x83b3[488]](_0x187fx4)+ _0x83b3[1409],0< _0x187fx5&& (_0x187fx19+= _0x83b3[1431]+ Math[_0x83b3[488]](_0x187fx5)+ _0x83b3[1409]));_0x187fx13?(!_0x187fx16&& 0< _0x187fx4&& (_0x187fx19+= _0x83b3[1432]+ Math[_0x83b3[488]](_0x187fx4)+ _0x83b3[1409]),_0x187fx19+= _0x83b3[1433]):_0x187fx19+= _0x83b3[1434];_0x187fx13= this[_0x83b3[55]](_0x83b3[449]);1> _0x187fx18[_0x83b3[1244]]&& _0x187fx13[_0x83b3[57]](_0x83b3[461],_0x187fx18[_0x83b3[1244]]);_0x187fx14= this[_0x83b3[55]](_0x83b3[1435]);_0x187fx14[_0x83b3[57]](_0x83b3[1377],_0x83b3[1378]);_0x187fx19= this[_0x83b3[1404]](_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx19,_0x187fx15);if(null!= _0x187fx19){_0x187fx13[_0x83b3[62]](_0x187fx14);this[_0x83b3[813]][_0x83b3[62]](_0x187fx13);var _0x187fx1a=0;if(mxClient[_0x83b3[80]]&& !mxClient[_0x83b3[48]]){var _0x187fx1b=document[_0x83b3[55]](_0x83b3[485]);_0x187fx1b[_0x83b3[124]][_0x83b3[103]]= _0x187fx19[_0x83b3[284]](_0x83b3[124]);_0x187fx1b[_0x83b3[124]][_0x83b3[495]]= mxClient[_0x83b3[496]]?_0x83b3[497]:_0x83b3[498];_0x187fx1b[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];_0x187fx1b[_0x83b3[339]]= mxUtils[_0x83b3[1331]](_0x187fx9)?_0x187fx9[_0x83b3[342]]:_0x187fx9;document[_0x83b3[112]][_0x83b3[62]](_0x187fx1b);_0x187fx1a= _0x187fx1b[_0x83b3[359]];_0x187fx5= mxClient[_0x83b3[496]]&& 0< _0x187fx5&& _0x187fx16?Math[_0x83b3[243]](_0x187fx5,_0x187fx1b[_0x83b3[167]]+ 2):_0x187fx1b[_0x83b3[167]];_0x187fx1b[_0x83b3[265]][_0x83b3[266]](_0x187fx1b);_0x187fx14[_0x83b3[62]](_0x187fx19)}else {this[_0x83b3[813]][_0x83b3[295]]!= document?(_0x187fx19[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],document[_0x83b3[112]][_0x83b3[62]](_0x187fx19),_0x187fx1a= _0x187fx19[_0x83b3[359]],_0x187fx5= _0x187fx19[_0x83b3[167]],_0x187fx14[_0x83b3[62]](_0x187fx19),_0x187fx19[_0x83b3[124]][_0x83b3[187]]= _0x83b3[110]):(_0x187fx14[_0x83b3[62]](_0x187fx19),_0x187fx1a= _0x187fx19[_0x83b3[359]],_0x187fx5= _0x187fx19[_0x83b3[167]])};_0x187fx4= _0x187fx15?Math[_0x83b3[160]](_0x187fx4,_0x187fx1a):_0x187fx1a;1> _0x187fx18[_0x83b3[1244]]&& _0x187fx13[_0x83b3[57]](_0x83b3[461],_0x187fx18[_0x83b3[1244]]);_0x187fx15= _0x187fx9= 0;_0x187fxa== mxConstants[_0x83b3[479]]?_0x187fx9-= _0x187fx4/ 2:_0x187fxa== mxConstants[_0x83b3[480]]&& (_0x187fx9-= _0x187fx4);_0x187fx2+= _0x187fx9;_0x187fx12== mxConstants[_0x83b3[481]]?_0x187fx15-= _0x187fx5/ 2:_0x187fx12== mxConstants[_0x83b3[482]]&& (_0x187fx15-= _0x187fx5);_0x187fx3+= _0x187fx15;_0x187fxa= 1!= _0x187fx18[_0x83b3[255]]?_0x83b3[1402]+ _0x187fx18[_0x83b3[255]]+ _0x83b3[460]:_0x83b3[110];0!= _0x187fx18[_0x83b3[603]]&& this[_0x83b3[1216]]?(_0x187fxa+= _0x83b3[1394]+ _0x187fx18[_0x83b3[603]]+ _0x83b3[537]+ _0x187fx4/ 2+ _0x83b3[537]+ _0x187fx5/ 2+ _0x83b3[460],_0x187fx3= this[_0x83b3[1241]]((_0x187fx2+ _0x187fx4/ 2)* _0x187fx18[_0x83b3[255]],(_0x187fx3+ _0x187fx5/ 2)* _0x187fx18[_0x83b3[255]],_0x187fx18[_0x83b3[603]],_0x187fx18[_0x83b3[1395]],_0x187fx18[_0x83b3[1396]]),_0x187fx2= _0x187fx3[_0x83b3[235]]- _0x187fx4* _0x187fx18[_0x83b3[255]]/ 2,_0x187fx3= _0x187fx3[_0x83b3[236]]- _0x187fx5* _0x187fx18[_0x83b3[255]]/ 2):(_0x187fx2*= _0x187fx18[_0x83b3[255]],_0x187fx3*= _0x187fx18[_0x83b3[255]]);0!= _0x187fx17&& (_0x187fxa+= _0x83b3[1394]+ _0x187fx17+ _0x83b3[537]+ -_0x187fx9+ _0x83b3[537]+ -_0x187fx15+ _0x83b3[460]);_0x187fx13[_0x83b3[57]](_0x83b3[535],_0x83b3[536]+ Math[_0x83b3[488]](_0x187fx2)+ _0x83b3[537]+ Math[_0x83b3[488]](_0x187fx3)+ _0x83b3[460]+ _0x187fxa);_0x187fx14[_0x83b3[57]](_0x83b3[117],Math[_0x83b3[488]](Math[_0x83b3[160]](1,_0x187fx4)));_0x187fx14[_0x83b3[57]](_0x83b3[119],Math[_0x83b3[488]](Math[_0x83b3[160]](1,_0x187fx5)))}}else {this[_0x83b3[1436]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx15,_0x187fx16,_0x187fx17)}}};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1437]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx2= Math[_0x83b3[488]](_0x187fx2);_0x187fx3= Math[_0x83b3[488]](_0x187fx3);_0x187fx4= Math[_0x83b3[488]](_0x187fx4);_0x187fx5= Math[_0x83b3[488]](_0x187fx5);for(var _0x187fx9=_0x83b3[1438]+ _0x187fx2+ _0x83b3[213]+ _0x187fx3+ _0x83b3[213]+ _0x187fx4+ _0x83b3[213]+ _0x187fx5,_0x187fxa=0,_0x187fx12=_0x187fx9+ _0x83b3[213]+ _0x187fxa;null!= document[_0x83b3[1362]](_0x187fx12);){_0x187fx12= _0x187fx9+ _0x83b3[213]+ ++_0x187fxa};clip= this[_0x83b3[55]](_0x83b3[1439]);clip[_0x83b3[57]](_0x83b3[1363],_0x187fx12);_0x187fx9= this[_0x83b3[55]](_0x83b3[1319]);_0x187fx9[_0x83b3[57]](_0x83b3[235],_0x187fx2);_0x187fx9[_0x83b3[57]](_0x83b3[236],_0x187fx3);_0x187fx9[_0x83b3[57]](_0x83b3[117],_0x187fx4);_0x187fx9[_0x83b3[57]](_0x83b3[119],_0x187fx5);clip[_0x83b3[62]](_0x187fx9);return clip};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1436]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16){_0x187fx16= null!= _0x187fx16?_0x187fx16:0;_0x187fx13= this[_0x83b3[724]];var _0x187fx17=Math[_0x83b3[488]](_0x187fx13[_0x83b3[487]]),_0x187fx18=this[_0x83b3[55]](_0x83b3[449]),_0x187fx19=_0x187fx13[_0x83b3[535]]|| _0x83b3[110];0!= _0x187fx16&& (_0x187fx19+= _0x83b3[1394]+ _0x187fx16+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx2* _0x187fx13[_0x83b3[255]])+ _0x83b3[537]+ this[_0x83b3[1239]](_0x187fx3* _0x187fx13[_0x83b3[255]])+ _0x83b3[460]);if(_0x187fx15&& 0< _0x187fx4&& 0< _0x187fx5){var _0x187fx1a=_0x187fx2;_0x187fx16= _0x187fx3;_0x187fxa== mxConstants[_0x83b3[479]]?_0x187fx1a-= _0x187fx4/ 2:_0x187fxa== mxConstants[_0x83b3[480]]&& (_0x187fx1a-= _0x187fx4);_0x187fx12== mxConstants[_0x83b3[481]]?_0x187fx16-= _0x187fx5/ 2:_0x187fx12== mxConstants[_0x83b3[482]]&& (_0x187fx16-= _0x187fx5);_0x187fx16= this[_0x83b3[1437]](_0x187fx1a* _0x187fx13[_0x83b3[255]]- 2,_0x187fx16* _0x187fx13[_0x83b3[255]]- 2,_0x187fx4* _0x187fx13[_0x83b3[255]]+ 4,_0x187fx5* _0x187fx13[_0x83b3[255]]+ 4);null!= this[_0x83b3[1340]]?this[_0x83b3[1340]][_0x83b3[62]](_0x187fx16):this[_0x83b3[813]][_0x83b3[62]](_0x187fx16);_0x187fx18[_0x83b3[57]](_0x83b3[1440],_0x83b3[1380]+ _0x187fx16[_0x83b3[284]](_0x83b3[1363])+ _0x83b3[460])};this[_0x83b3[1441]](_0x187fx18,_0x187fxa);_0x187fx16= _0x187fxa== mxConstants[_0x83b3[480]]?_0x83b3[1282]:_0x187fxa== mxConstants[_0x83b3[479]]?_0x83b3[554]:_0x83b3[861];_0x83b3[861]!= _0x187fx16&& _0x187fx18[_0x83b3[57]](_0x83b3[1442],_0x187fx16);(!this[_0x83b3[1341]]|| _0x187fx17!= mxConstants[_0x83b3[483]])&& _0x187fx18[_0x83b3[57]](_0x83b3[1443],Math[_0x83b3[488]](_0x187fx17* _0x187fx13[_0x83b3[255]])+ _0x83b3[168]);0< _0x187fx19[_0x83b3[67]]&& _0x187fx18[_0x83b3[57]](_0x83b3[535],_0x187fx19);1> _0x187fx13[_0x83b3[1244]]&& _0x187fx18[_0x83b3[57]](_0x83b3[461],_0x187fx13[_0x83b3[1244]]);var _0x187fx19=_0x187fx9[_0x83b3[224]](_0x83b3[192]),_0x187fx1a=Math[_0x83b3[488]](_0x187fx17* mxConstants[_0x83b3[490]]),_0x187fx1b=_0x187fx17+ (_0x187fx19[_0x83b3[67]]- 1)* _0x187fx1a;_0x187fx16= _0x187fx3+ _0x187fx17- 1;_0x187fx12== mxConstants[_0x83b3[481]]?(_0x187fx5= (this[_0x83b3[1343]]&& _0x187fx15&& 0< _0x187fx5?Math[_0x83b3[243]](_0x187fx1b,_0x187fx5):_0x187fx1b)/ 2,_0x187fx16-= _0x187fx5+ 1):_0x187fx12== mxConstants[_0x83b3[482]]&& (_0x187fx5= this[_0x83b3[1343]]&& _0x187fx15&& 0< _0x187fx5?Math[_0x83b3[243]](_0x187fx1b,_0x187fx5):_0x187fx1b,_0x187fx16-= _0x187fx5+ 2);for(_0x187fx5= 0;_0x187fx5< _0x187fx19[_0x83b3[67]];_0x187fx5++){0< _0x187fx19[_0x187fx5][_0x83b3[67]]&& 0< mxUtils[_0x83b3[330]](_0x187fx19[_0x187fx5])[_0x83b3[67]]&& (_0x187fx15= this[_0x83b3[55]](_0x83b3[963]),_0x187fx15[_0x83b3[57]](_0x83b3[235],this[_0x83b3[1239]](_0x187fx2* _0x187fx13[_0x83b3[255]])),_0x187fx15[_0x83b3[57]](_0x83b3[236],this[_0x83b3[1239]](_0x187fx16* _0x187fx13[_0x83b3[255]])),mxUtils[_0x83b3[53]](_0x187fx15,_0x187fx19[_0x187fx5]),_0x187fx18[_0x83b3[62]](_0x187fx15)),_0x187fx16+= _0x187fx1a};this[_0x83b3[813]][_0x83b3[62]](_0x187fx18);this[_0x83b3[1444]](_0x187fx18,_0x187fx9,_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx1b,_0x187fxa,_0x187fx12,_0x187fx14)};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1441]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[724]];_0x187fx2[_0x83b3[57]](_0x83b3[1334],_0x187fx3[_0x83b3[665]]);(!this[_0x83b3[1341]]|| _0x187fx3[_0x83b3[486]]!= mxConstants[_0x83b3[484]])&& _0x187fx2[_0x83b3[57]](_0x83b3[1445],_0x187fx3[_0x83b3[486]]);(_0x187fx3[_0x83b3[666]]& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]]&& _0x187fx2[_0x83b3[57]](_0x83b3[1446],_0x83b3[1447]);(_0x187fx3[_0x83b3[666]]& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]]&& _0x187fx2[_0x83b3[57]](_0x83b3[1448],_0x83b3[1449]);(_0x187fx3[_0x83b3[666]]& mxConstants[_0x83b3[1414]])== mxConstants[_0x83b3[1414]]&& _0x187fx2[_0x83b3[57]](_0x83b3[1450],_0x83b3[355])};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1444]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){var _0x187fx15=this[_0x83b3[724]];if(null!= _0x187fx15[_0x83b3[1261]]|| null!= _0x187fx15[_0x83b3[1263]]){var _0x187fx16=null;_0x187fx14?(_0x187fx12== mxConstants[_0x83b3[479]]?_0x187fx4-= _0x187fx9/ 2:_0x187fx12== mxConstants[_0x83b3[480]]&& (_0x187fx4-= _0x187fx9),_0x187fx13== mxConstants[_0x83b3[481]]?_0x187fx5-= _0x187fxa/ 2:_0x187fx13== mxConstants[_0x83b3[482]]&& (_0x187fx5-= _0x187fxa),_0x187fx16= new mxRectangle((_0x187fx4+ 1)* _0x187fx15[_0x83b3[255]],_0x187fx5* _0x187fx15[_0x83b3[255]],(_0x187fx9- 2)* _0x187fx15[_0x83b3[255]],(_0x187fxa+ 2)* _0x187fx15[_0x83b3[255]])):null!= _0x187fx2[_0x83b3[1451]]&& this[_0x83b3[813]][_0x83b3[295]]== document?(_0x187fx16= _0x187fx2[_0x83b3[1451]](),_0x187fx3= mxClient[_0x83b3[80]]&& mxClient[_0x83b3[48]],_0x187fx16= new mxRectangle(_0x187fx16[_0x83b3[235]],_0x187fx16[_0x83b3[236]]+ (_0x187fx3?0:1),_0x187fx16[_0x83b3[117]],_0x187fx16[_0x83b3[119]]+ (_0x187fx3?1:0))):(_0x187fx16= document[_0x83b3[55]](_0x83b3[485]),_0x187fx16[_0x83b3[124]][_0x83b3[489]]= Math[_0x83b3[488]](_0x187fx15[_0x83b3[487]]* mxConstants[_0x83b3[490]])+ _0x83b3[168],_0x187fx16[_0x83b3[124]][_0x83b3[487]]= Math[_0x83b3[488]](_0x187fx15[_0x83b3[487]])+ _0x83b3[168],_0x187fx16[_0x83b3[124]][_0x83b3[486]]= _0x187fx15[_0x83b3[486]],_0x187fx16[_0x83b3[124]][_0x83b3[493]]= _0x83b3[494],_0x187fx16[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492],_0x187fx16[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],_0x187fx16[_0x83b3[124]][_0x83b3[495]]= mxClient[_0x83b3[496]]?_0x83b3[497]:_0x83b3[498],_0x187fx16[_0x83b3[124]][_0x83b3[499]]= _0x83b3[500],(_0x187fx15[_0x83b3[666]]& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]]&& (_0x187fx16[_0x83b3[124]][_0x83b3[1452]]= _0x83b3[1447]),(_0x187fx15[_0x83b3[666]]& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]]&& (_0x187fx16[_0x83b3[124]][_0x83b3[666]]= _0x83b3[1449]),_0x187fx3= mxUtils[_0x83b3[321]](_0x187fx3,!1),_0x187fx16[_0x83b3[339]]= _0x187fx3[_0x83b3[230]](/\n/g,_0x83b3[1453]),document[_0x83b3[112]][_0x83b3[62]](_0x187fx16),_0x187fx9= _0x187fx16[_0x83b3[359]],_0x187fxa= _0x187fx16[_0x83b3[167]],_0x187fx16[_0x83b3[265]][_0x83b3[266]](_0x187fx16),_0x187fx12== mxConstants[_0x83b3[479]]?_0x187fx4-= _0x187fx9/ 2:_0x187fx12== mxConstants[_0x83b3[480]]&& (_0x187fx4-= _0x187fx9),_0x187fx13== mxConstants[_0x83b3[481]]?_0x187fx5-= _0x187fxa/ 2:_0x187fx13== mxConstants[_0x83b3[482]]&& (_0x187fx5-= _0x187fxa),_0x187fx16= new mxRectangle((_0x187fx4+ 1)* _0x187fx15[_0x83b3[255]],(_0x187fx5+ 2)* _0x187fx15[_0x83b3[255]],_0x187fx9* _0x187fx15[_0x83b3[255]],(_0x187fxa+ 1)* _0x187fx15[_0x83b3[255]]));null!= _0x187fx16&& (_0x187fx3= this[_0x83b3[55]](_0x83b3[1319]),_0x187fx3[_0x83b3[57]](_0x83b3[1334],_0x187fx15[_0x83b3[1261]]|| _0x83b3[130]),_0x187fx3[_0x83b3[57]](_0x83b3[1336],_0x187fx15[_0x83b3[1263]]|| _0x83b3[130]),_0x187fx3[_0x83b3[57]](_0x83b3[235],Math[_0x83b3[519]](_0x187fx16[_0x83b3[235]]- 1)),_0x187fx3[_0x83b3[57]](_0x83b3[236],Math[_0x83b3[519]](_0x187fx16[_0x83b3[236]]- 1)),_0x187fx3[_0x83b3[57]](_0x83b3[117],Math[_0x83b3[430]](_0x187fx16[_0x83b3[117]]+ 2)),_0x187fx3[_0x83b3[57]](_0x83b3[119],Math[_0x83b3[430]](_0x187fx16[_0x83b3[119]])),_0x187fx15= null!= _0x187fx15[_0x83b3[1263]]?Math[_0x83b3[160]](1,this[_0x83b3[1239]](_0x187fx15[_0x83b3[255]])):0,_0x187fx3[_0x83b3[57]](_0x83b3[1382],_0x187fx15),this[_0x83b3[813]][_0x83b3[295]]== document&& 1== mxUtils[_0x83b3[1454]](_0x187fx15,2)&& _0x187fx3[_0x83b3[57]](_0x83b3[535],_0x83b3[1455]),_0x187fx2[_0x83b3[950]](_0x187fx3,_0x187fx2[_0x83b3[285]]))}};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1336]]= function(){this[_0x83b3[1370]](!1,!0)};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1334]]= function(){this[_0x83b3[1370]](!0,!1)};mxSvgCanvas2D[_0x83b3[202]][_0x83b3[1337]]= function(){this[_0x83b3[1370]](!0,!0)};var mxVmlCanvas2D=function(_0x187fx2){mxAbstractCanvas2D[_0x83b3[239]](this);this[_0x83b3[813]]= _0x187fx2};mxUtils[_0x83b3[1284]](mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D[_0x83b3[202]][_0x83b3[252]]= null;mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1285]]= !0;mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1219]]= _0x83b3[1456];mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1221]]= _0x83b3[1457];mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1225]]= _0x83b3[1458];mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1227]]= _0x83b3[235];mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1459]]= _0x83b3[110];mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1460]]= 1;mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1370]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[252]],_0x187fx5=this[_0x83b3[724]];if(null!= _0x187fx4){if(_0x83b3[253]== _0x187fx4[_0x83b3[301]]){if(null!= this[_0x83b3[1215]]&& 0< this[_0x83b3[1215]][_0x83b3[67]]){_0x187fx4[_0x83b3[1215]]= this[_0x83b3[1215]][_0x83b3[234]](_0x83b3[185])+ _0x83b3[1461],_0x187fx4[_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[813]][_0x83b3[124]][_0x83b3[117]],_0x187fx4[_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[813]][_0x83b3[124]][_0x83b3[119]],_0x187fx4[_0x83b3[1462]]= parseInt(_0x187fx4[_0x83b3[124]][_0x83b3[117]])+ _0x83b3[185]+ parseInt(_0x187fx4[_0x83b3[124]][_0x83b3[119]])}else {return}};_0x187fx4[_0x83b3[1463]]= this[_0x83b3[1239]](Math[_0x83b3[160]](1,_0x187fx5[_0x83b3[610]]* _0x187fx5[_0x83b3[255]]/ this[_0x83b3[1460]]))+ _0x83b3[168];_0x187fx5[_0x83b3[639]]&& this[_0x83b3[813]][_0x83b3[62]](this[_0x83b3[1375]](_0x187fx4,_0x187fx2&& null!= _0x187fx5[_0x83b3[604]],_0x187fx3&& null!= _0x187fx5[_0x83b3[608]]));_0x187fx3&& null!= _0x187fx5[_0x83b3[608]]?(_0x187fx4[_0x83b3[1464]]= _0x83b3[128],_0x187fx4[_0x83b3[1306]]= _0x187fx5[_0x83b3[608]]):_0x187fx4[_0x83b3[1464]]= _0x83b3[308];_0x187fx4[_0x83b3[62]](this[_0x83b3[1465]]());_0x187fx2&& null!= _0x187fx5[_0x83b3[604]]?_0x187fx4[_0x83b3[62]](this[_0x83b3[1466]]()):this[_0x83b3[1229]]&& (_0x83b3[253]!= _0x187fx4[_0x83b3[301]]|| this[_0x83b3[1215]][this[_0x83b3[1215]][_0x83b3[67]]- 1]== this[_0x83b3[1227]])?_0x187fx4[_0x83b3[62]](this[_0x83b3[1467]]()):_0x187fx4[_0x83b3[1468]]= _0x83b3[308];this[_0x83b3[813]][_0x83b3[62]](_0x187fx4)}};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1467]]= function(){var _0x187fx2=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1469]);_0x187fx2[_0x83b3[390]]= mxClient[_0x83b3[88]]+ _0x83b3[1470];_0x187fx2[_0x83b3[60]]= _0x83b3[1471];return _0x187fx2};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1466]]= function(){var _0x187fx2=this[_0x83b3[724]],_0x187fx3=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1469]);_0x187fx3[_0x83b3[352]]= _0x187fx2[_0x83b3[604]];if(null!= _0x187fx2[_0x83b3[606]]){_0x187fx3[_0x83b3[60]]= _0x83b3[1299];_0x187fx3[_0x83b3[865]]= _0x83b3[130];_0x187fx3[_0x83b3[1472]]= _0x187fx2[_0x83b3[606]];var _0x187fx4=180- _0x187fx2[_0x83b3[603]],_0x187fx4=_0x187fx2[_0x83b3[607]]== mxConstants[_0x83b3[1359]]?_0x187fx4- (90+ (_0x83b3[235]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]?180:0)):_0x187fx2[_0x83b3[607]]== mxConstants[_0x83b3[1356]]?_0x187fx4+ (90+ (_0x83b3[235]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]?180:0)):_0x187fx2[_0x83b3[607]]== mxConstants[_0x83b3[1358]]?_0x187fx4- (180+ (_0x83b3[236]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]?-180:0)):_0x187fx4+ (_0x83b3[236]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]?-180:0);if(_0x83b3[235]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]|| _0x83b3[236]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]){_0x187fx4*= -1};_0x187fx3[_0x83b3[1474]]= mxUtils[_0x83b3[1454]](_0x187fx4,360);_0x187fx3[_0x83b3[461]]= 100* _0x187fx2[_0x83b3[1244]]* _0x187fx2[_0x83b3[1247]]+ _0x83b3[229];_0x187fx3[_0x83b3[57]](mxClient[_0x83b3[1475]]+ _0x83b3[1476],100* _0x187fx2[_0x83b3[1244]]* _0x187fx2[_0x83b3[1248]]+ _0x83b3[229])}else {1> _0x187fx2[_0x83b3[1244]]&& (_0x187fx3[_0x83b3[461]]= 100* _0x187fx2[_0x83b3[1244]]+ _0x83b3[229])};return _0x187fx3};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1465]]= function(){var _0x187fx2=this[_0x83b3[724]],_0x187fx3=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1477]);_0x187fx3[_0x83b3[1478]]= _0x187fx2[_0x83b3[1254]]|| _0x83b3[1232];_0x187fx3[_0x83b3[1479]]= _0x187fx2[_0x83b3[1256]]|| _0x83b3[1233];_0x187fx3[_0x83b3[1313]]= _0x187fx2[_0x83b3[1258]]|| _0x83b3[1480];1> _0x187fx2[_0x83b3[1244]]&& (_0x187fx3[_0x83b3[461]]= 100* _0x187fx2[_0x83b3[1244]]+ _0x83b3[229]);_0x187fx2[_0x83b3[648]]&& (_0x187fx3[_0x83b3[1481]]= this[_0x83b3[1482]]());return _0x187fx3};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1482]]= function(){var _0x187fx2=_0x83b3[1483];if(null!= this[_0x83b3[724]][_0x83b3[649]]){var _0x187fx3=this[_0x83b3[724]][_0x83b3[649]][_0x83b3[224]](_0x83b3[185]);0< _0x187fx3[_0x83b3[67]]&& 1== _0x187fx3[0]&& (_0x187fx2= _0x83b3[1484])};return _0x187fx2};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1375]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[724]],_0x187fx9=-_0x187fx5[_0x83b3[603]]* (Math[_0x83b3[424]]/ 180),_0x187fxa=Math[_0x83b3[426]](_0x187fx9),_0x187fx9=Math[_0x83b3[427]](_0x187fx9),_0x187fx12=_0x187fx5[_0x83b3[1273]]* _0x187fx5[_0x83b3[255]],_0x187fx13=_0x187fx5[_0x83b3[1274]]* _0x187fx5[_0x83b3[255]];_0x83b3[235]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]?_0x187fx12*= -1:_0x83b3[236]== this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]&& (_0x187fx13*= -1);var _0x187fx14=_0x187fx2[_0x83b3[511]](!0);_0x187fx14[_0x83b3[124]][_0x83b3[945]]= Math[_0x83b3[488]](_0x187fx12* _0x187fxa- _0x187fx13* _0x187fx9)+ _0x83b3[168];_0x187fx14[_0x83b3[124]][_0x83b3[953]]= Math[_0x83b3[488]](_0x187fx12* _0x187fx9+ _0x187fx13* _0x187fxa)+ _0x83b3[168];8== document[_0x83b3[5]]&& (_0x187fx14[_0x83b3[1463]]= _0x187fx2[_0x83b3[1463]],_0x83b3[253]== _0x187fx2[_0x83b3[301]]&& (_0x187fx14[_0x83b3[1215]]= this[_0x83b3[1215]][_0x83b3[234]](_0x83b3[185])+ _0x83b3[1461],_0x187fx14[_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[813]][_0x83b3[124]][_0x83b3[117]],_0x187fx14[_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[813]][_0x83b3[124]][_0x83b3[119]],_0x187fx14[_0x83b3[1462]]= parseInt(_0x187fx2[_0x83b3[124]][_0x83b3[117]])+ _0x83b3[185]+ parseInt(_0x187fx2[_0x83b3[124]][_0x83b3[119]])));_0x187fx4?(_0x187fx14[_0x83b3[1306]]= _0x187fx5[_0x83b3[1269]],_0x187fx14[_0x83b3[62]](this[_0x83b3[1485]]())):_0x187fx14[_0x83b3[1464]]= _0x83b3[308];_0x187fx3?_0x187fx14[_0x83b3[62]](this[_0x83b3[1486]]()):_0x187fx14[_0x83b3[1468]]= _0x83b3[308];return _0x187fx14};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1486]]= function(){var _0x187fx2=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1469]);_0x187fx2[_0x83b3[352]]= this[_0x83b3[724]][_0x83b3[1269]];_0x187fx2[_0x83b3[461]]= 100* this[_0x83b3[724]][_0x83b3[1244]]* this[_0x83b3[724]][_0x83b3[1271]]+ _0x83b3[229];return _0x187fx2};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1485]]= function(){var _0x187fx2=this[_0x83b3[1465]]();_0x187fx2[_0x83b3[461]]= 100* this[_0x83b3[724]][_0x83b3[1244]]* this[_0x83b3[724]][_0x83b3[1271]]+ _0x83b3[229];return _0x187fx2};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1294]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx3&& _0x187fx4?_0x187fx2+= 180:_0x187fx3?this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]= _0x83b3[235]:_0x187fx4&& (this[_0x83b3[813]][_0x83b3[124]][_0x83b3[1473]]= _0x83b3[236]);if(_0x187fx3?!_0x187fx4:_0x187fx4){_0x187fx2*= -1};this[_0x83b3[813]][_0x83b3[124]][_0x83b3[603]]= _0x187fx2;this[_0x83b3[724]][_0x83b3[603]]+= _0x187fx2;this[_0x83b3[724]][_0x83b3[1395]]= _0x187fx5;this[_0x83b3[724]][_0x83b3[1396]]= _0x187fx9};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1275]]= function(){mxAbstractCanvas2D[_0x83b3[202]][_0x83b3[1275]][_0x83b3[183]](this,arguments);this[_0x83b3[252]]= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1487]);this[_0x83b3[252]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492]};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1278]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[724]],_0x187fxa=(this[_0x83b3[1217]]+ _0x187fx9[_0x83b3[1126]])* _0x187fx9[_0x83b3[255]],_0x187fx12=(this[_0x83b3[1218]]+ _0x187fx9[_0x83b3[1125]])* _0x187fx9[_0x83b3[255]];_0x187fx2= (_0x187fx2+ _0x187fx9[_0x83b3[1126]])* _0x187fx9[_0x83b3[255]];_0x187fx3= (_0x187fx3+ _0x187fx9[_0x83b3[1125]])* _0x187fx9[_0x83b3[255]];_0x187fx4= (_0x187fx4+ _0x187fx9[_0x83b3[1126]])* _0x187fx9[_0x83b3[255]];_0x187fx5= (_0x187fx5+ _0x187fx9[_0x83b3[1125]])* _0x187fx9[_0x83b3[255]];var _0x187fx12=_0x187fx12+ 2/ 3* (_0x187fx3- _0x187fx12),_0x187fx13=_0x187fx4+ 2/ 3* (_0x187fx2- _0x187fx4);_0x187fx3= _0x187fx5+ 2/ 3* (_0x187fx3- _0x187fx5);this[_0x83b3[1215]][_0x83b3[207]](_0x83b3[1488]+ this[_0x83b3[1239]](_0x187fxa+ 2/ 3* (_0x187fx2- _0x187fxa))+ _0x83b3[185]+ this[_0x83b3[1239]](_0x187fx12)+ _0x83b3[185]+ this[_0x83b3[1239]](_0x187fx13)+ _0x83b3[185]+ this[_0x83b3[1239]](_0x187fx3)+ _0x83b3[185]+ this[_0x83b3[1239]](_0x187fx4)+ _0x83b3[185]+ this[_0x83b3[1239]](_0x187fx5));this[_0x83b3[1217]]= _0x187fx4/ _0x187fx9[_0x83b3[255]]- _0x187fx9[_0x83b3[1126]];this[_0x83b3[1218]]= _0x187fx5/ _0x187fx9[_0x83b3[255]]- _0x187fx9[_0x83b3[1125]]};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1489]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=this[_0x83b3[724]];_0x187fx2= document[_0x83b3[55]](_0x187fx2);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx2[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[1239]]((_0x187fx3+ _0x187fxa[_0x83b3[1126]])* _0x187fxa[_0x83b3[255]])+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[1239]]((_0x187fx4+ _0x187fxa[_0x83b3[1125]])* _0x187fxa[_0x83b3[255]])+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[1239]](_0x187fx5* _0x187fxa[_0x83b3[255]])+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[1239]](_0x187fx9* _0x187fxa[_0x83b3[255]])+ _0x83b3[168];return _0x187fx2};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1319]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[252]]= this[_0x83b3[1489]](mxClient[_0x83b3[463]]+ _0x83b3[1490],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5)};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1320]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[252]]= this[_0x83b3[1489]](mxClient[_0x83b3[463]]+ _0x83b3[1491],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5);this[_0x83b3[252]][_0x83b3[57]](_0x83b3[1492],Math[_0x83b3[160]](100* _0x187fx9/ _0x187fx4,100* _0x187fxa/ _0x187fx5)+ _0x83b3[229])};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[680]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[252]]= this[_0x83b3[1489]](mxClient[_0x83b3[463]]+ _0x83b3[1493],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5)};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[618]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){var _0x187fx14=null;_0x187fxa?(_0x187fx14= this[_0x83b3[1489]](mxClient[_0x83b3[463]]+ _0x83b3[1490],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5),_0x187fx14[_0x83b3[1464]]= _0x83b3[308],_0x187fx2= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1469]),_0x187fx2[_0x83b3[1322]]= _0x187fxa?_0x83b3[1494]:_0x83b3[1495],_0x187fx2[_0x83b3[1294]]= _0x83b3[128],_0x187fx2[_0x83b3[60]]= _0x83b3[1496],_0x187fx2[_0x83b3[390]]= _0x187fx9,_0x187fx14[_0x83b3[62]](_0x187fx2)):(_0x187fx14= this[_0x83b3[1489]](mxClient[_0x83b3[463]]+ _0x83b3[464],_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5),_0x187fx14[_0x83b3[390]]= _0x187fx9);_0x187fx12&& _0x187fx13?_0x187fx14[_0x83b3[124]][_0x83b3[603]]= _0x83b3[1497]:_0x187fx12?_0x187fx14[_0x83b3[124]][_0x83b3[1473]]= _0x83b3[235]:_0x187fx13&& (_0x187fx14[_0x83b3[124]][_0x83b3[1473]]= _0x83b3[236]);1> this[_0x83b3[724]][_0x83b3[1244]]&& (_0x187fx14[_0x83b3[124]][_0x83b3[347]]+= _0x83b3[459]+ 100* this[_0x83b3[724]][_0x83b3[1244]]+ _0x83b3[460]);this[_0x83b3[813]][_0x83b3[62]](_0x187fx14)};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1404]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx4= document[_0x83b3[55]](_0x83b3[485]);var _0x187fx9=this[_0x83b3[724]],_0x187fxa=_0x83b3[110];null!= _0x187fx9[_0x83b3[1261]]&& (_0x187fxa+= _0x83b3[1418]+ _0x187fx9[_0x83b3[1261]]+ _0x83b3[471]);null!= _0x187fx9[_0x83b3[1263]]&& (_0x187fxa+= _0x83b3[1419]+ _0x187fx9[_0x83b3[1263]]+ _0x83b3[471]);mxUtils[_0x83b3[1331]](_0x187fx2)?_0x187fx4[_0x83b3[62]](_0x187fx2):0< _0x187fxa[_0x83b3[67]]&& !_0x187fx5?(_0x187fx5= document[_0x83b3[55]](_0x83b3[485]),_0x187fx5[_0x83b3[124]][_0x83b3[103]]= _0x187fxa,_0x187fx5[_0x83b3[124]][_0x83b3[495]]= mxClient[_0x83b3[496]]?_0x83b3[497]:_0x83b3[498],_0x187fx5[_0x83b3[124]][_0x83b3[499]]= _0x83b3[500],_0x187fx5[_0x83b3[339]]= _0x187fx2,_0x187fx4[_0x83b3[62]](_0x187fx5)):(_0x187fx4[_0x83b3[124]][_0x83b3[103]]= _0x187fxa,_0x187fx4[_0x83b3[339]]= _0x187fx2);_0x187fx2= _0x187fx4[_0x83b3[124]];_0x187fx2[_0x83b3[487]]= Math[_0x83b3[488]](_0x187fx9[_0x83b3[487]]/ this[_0x83b3[1460]])+ _0x83b3[168];_0x187fx2[_0x83b3[486]]= _0x187fx9[_0x83b3[486]];_0x187fx2[_0x83b3[352]]= _0x187fx9[_0x83b3[665]];_0x187fx2[_0x83b3[123]]= _0x83b3[125];_0x187fx2[_0x83b3[1165]]= _0x187fx3|| _0x83b3[361];_0x187fx2[_0x83b3[489]]= Math[_0x83b3[488]](_0x187fx9[_0x83b3[487]]* mxConstants[_0x83b3[490]]/ this[_0x83b3[1460]])+ _0x83b3[168];(_0x187fx9[_0x83b3[666]]& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]]&& (_0x187fx2[_0x83b3[1452]]= _0x83b3[1447]);(_0x187fx9[_0x83b3[666]]& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]]&& (_0x187fx2[_0x83b3[666]]= _0x83b3[1449]);(_0x187fx9[_0x83b3[666]]& mxConstants[_0x83b3[1414]])== mxConstants[_0x83b3[1414]]&& (_0x187fx2[_0x83b3[1498]]= _0x83b3[355]);return _0x187fx4};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[963]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){if(this[_0x83b3[1285]]&& null!= _0x187fx9){var _0x187fx18=this[_0x83b3[724]];if(_0x83b3[1428]== _0x187fx14){null!= _0x187fx18[_0x83b3[603]]&& (_0x187fx3= this[_0x83b3[1241]](_0x187fx2,_0x187fx3,_0x187fx18[_0x83b3[603]],_0x187fx18[_0x83b3[1395]],_0x187fx18[_0x83b3[1396]]),_0x187fx2= _0x187fx3[_0x83b3[235]],_0x187fx3= _0x187fx3[_0x83b3[236]]);8== document[_0x83b3[5]]?(_0x187fx2+= _0x187fx18[_0x83b3[1126]],_0x187fx3+= _0x187fx18[_0x83b3[1125]]):(_0x187fx2*= _0x187fx18[_0x83b3[255]],_0x187fx3*= _0x187fx18[_0x83b3[255]]);_0x187fx14= 8== document[_0x83b3[5]]?document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1499]):document[_0x83b3[55]](_0x83b3[485]);_0x187fx14[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx14[_0x83b3[124]][_0x83b3[495]]= _0x83b3[497];_0x187fx14[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[1239]](_0x187fx2)+ _0x83b3[168];_0x187fx14[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[1239]](_0x187fx3)+ _0x83b3[168];_0x187fx14[_0x83b3[124]][_0x83b3[499]]= _0x187fx18[_0x83b3[255]];var _0x187fx19=document[_0x83b3[55]](_0x83b3[485]);_0x187fx19[_0x83b3[124]][_0x83b3[491]]= _0x83b3[1500];_0x187fx19[_0x83b3[124]][_0x83b3[495]]= _0x83b3[497];var _0x187fx1a=mxUtils[_0x83b3[1501]](_0x187fxa,_0x187fx12),_0x187fx1b=_0x187fx1a[_0x83b3[235]],_0x187fx1a=_0x187fx1a[_0x83b3[236]];_0x187fx9= this[_0x83b3[1404]](_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx15);_0x187fxa= document[_0x83b3[55]](_0x83b3[485]);_0x187fx13?(!_0x187fx16&& 0< _0x187fx4&& (_0x187fx9[_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[488]](_0x187fx4)+ _0x83b3[168]),_0x187fx9[_0x83b3[124]][_0x83b3[493]]= _0x83b3[1502]):_0x187fx9[_0x83b3[124]][_0x83b3[493]]= _0x83b3[494];_0x187fx13= _0x187fx18[_0x83b3[603]]+ (_0x187fx17|| 0);this[_0x83b3[1216]]&& 0!= _0x187fx13?(_0x187fxa[_0x83b3[124]][_0x83b3[495]]= _0x83b3[497],_0x187fxa[_0x83b3[124]][_0x83b3[499]]= _0x83b3[500],_0x187fxa[_0x83b3[62]](_0x187fx9),8== document[_0x83b3[5]]&& _0x83b3[529]!= this[_0x83b3[813]][_0x83b3[301]]?(_0x187fx19[_0x83b3[62]](_0x187fxa),_0x187fx14[_0x83b3[62]](_0x187fx19)):_0x187fx14[_0x83b3[62]](_0x187fxa)):8== document[_0x83b3[5]]?(_0x187fx19[_0x83b3[62]](_0x187fx9),_0x187fx14[_0x83b3[62]](_0x187fx19)):(_0x187fx9[_0x83b3[124]][_0x83b3[495]]= _0x83b3[497],_0x187fx14[_0x83b3[62]](_0x187fx9));_0x83b3[529]!= this[_0x83b3[813]][_0x83b3[301]]?(_0x187fx17= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1490]),_0x187fx17[_0x83b3[1464]]= _0x83b3[308],_0x187fx17[_0x83b3[1468]]= _0x83b3[308],_0x187fx17[_0x83b3[62]](_0x187fx14),this[_0x83b3[813]][_0x83b3[62]](_0x187fx17)):this[_0x83b3[813]][_0x83b3[62]](_0x187fx14);_0x187fx16?(_0x187fx9[_0x83b3[124]][_0x83b3[277]]= _0x83b3[188],0< _0x187fx4&& (_0x187fx9[_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[488]](_0x187fx4)+ _0x83b3[168]),0< _0x187fx5&& 8== document[_0x83b3[5]]&& (_0x187fx9[_0x83b3[124]][_0x83b3[1503]]= Math[_0x83b3[488]](_0x187fx5)+ _0x83b3[168])):_0x187fx15&& (_0x187fx9[_0x83b3[124]][_0x83b3[117]]= _0x187fx4+ _0x83b3[168],0< _0x187fx5&& (_0x187fx9[_0x83b3[124]][_0x83b3[1503]]= Math[_0x83b3[488]](_0x187fx5)+ _0x83b3[168]));if(this[_0x83b3[1216]]&& 0!= _0x187fx13){_0x187fx4= _0x187fx13* (Math[_0x83b3[424]]/ 180);_0x187fx13= parseFloat(parseFloat(Math[_0x83b3[426]](_0x187fx4))[_0x83b3[1293]](8));_0x187fx17= parseFloat(parseFloat(Math[_0x83b3[427]](-_0x187fx4))[_0x83b3[1293]](8));_0x187fx4%= 2* Math[_0x83b3[424]];0> _0x187fx4&& (_0x187fx4+= 2* Math[_0x83b3[424]]);_0x187fx4%= Math[_0x83b3[424]];_0x187fx4> Math[_0x83b3[424]]/ 2&& (_0x187fx4= Math[_0x83b3[424]]- _0x187fx4);_0x187fx12= Math[_0x83b3[426]](_0x187fx4);var _0x187fx1c=Math[_0x83b3[427]](_0x187fx4);8== document[_0x83b3[5]]&& (_0x187fx9[_0x83b3[124]][_0x83b3[495]]= _0x83b3[498],_0x187fxa[_0x83b3[124]][_0x83b3[495]]= _0x83b3[498],_0x187fx19[_0x83b3[124]][_0x83b3[495]]= _0x83b3[498]);_0x187fx9[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];document[_0x83b3[112]][_0x83b3[62]](_0x187fx9);_0x187fx4= _0x187fx9[_0x83b3[359]];_0x187fx19= _0x187fx9[_0x83b3[167]];if(mxClient[_0x83b3[496]]&& (_0x187fx16|| _0x187fx15)&& _0x187fx19> _0x187fx5){_0x187fx19= _0x187fx5,_0x187fx9[_0x83b3[124]][_0x83b3[119]]= _0x187fx19+ _0x83b3[168]};_0x187fx5= _0x187fx19;_0x187fx16= (_0x187fx5- _0x187fx5* _0x187fx12+ _0x187fx4* -_0x187fx1c)/ 2- _0x187fx17* _0x187fx4* (_0x187fx1b+ 0.5)+ _0x187fx13* _0x187fx5* (_0x187fx1a+ 0.5);_0x187fx15= (_0x187fx4- _0x187fx4* _0x187fx12+ _0x187fx5* -_0x187fx1c)/ 2+ _0x187fx13* _0x187fx4* (_0x187fx1b+ 0.5)+ _0x187fx17* _0x187fx5* (_0x187fx1a+ 0.5);_0x83b3[1504]== _0x187fx14[_0x83b3[301]]&& _0x83b3[529]== this[_0x83b3[813]][_0x83b3[301]]?(_0x187fx1b= document[_0x83b3[55]](_0x83b3[485]),_0x187fx1b[_0x83b3[124]][_0x83b3[495]]= _0x83b3[498],_0x187fx1b[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492],_0x187fx1b[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[1239]](_0x187fx2+ (_0x187fx15- _0x187fx4/ 2)* _0x187fx18[_0x83b3[255]])+ _0x83b3[168],_0x187fx1b[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[1239]](_0x187fx3+ (_0x187fx16- _0x187fx5/ 2)* _0x187fx18[_0x83b3[255]])+ _0x83b3[168],_0x187fx14[_0x83b3[265]][_0x83b3[62]](_0x187fx1b),_0x187fx1b[_0x83b3[62]](_0x187fx14)):(_0x187fx18= 8== document[_0x83b3[5]]?1:_0x187fx18[_0x83b3[255]],_0x187fx14[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[1239]](_0x187fx2+ (_0x187fx15- _0x187fx4/ 2)* _0x187fx18)+ _0x83b3[168],_0x187fx14[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[1239]](_0x187fx3+ (_0x187fx16- _0x187fx5/ 2)* _0x187fx18)+ _0x83b3[168]);_0x187fxa[_0x83b3[124]][_0x83b3[347]]= _0x83b3[1505]+ _0x187fx13+ _0x83b3[1506]+ _0x187fx17+ _0x83b3[1507]+ -_0x187fx17+ _0x83b3[1508]+ _0x187fx13+ _0x83b3[1509];_0x187fxa[_0x83b3[124]][_0x83b3[1028]]= this[_0x83b3[1459]];1> this[_0x83b3[724]][_0x83b3[1244]]&& (_0x187fxa[_0x83b3[124]][_0x83b3[347]]+= _0x83b3[459]+ 100* this[_0x83b3[724]][_0x83b3[1244]]+ _0x83b3[460]);_0x187fx9[_0x83b3[124]][_0x83b3[187]]= _0x83b3[110];_0x187fxa[_0x83b3[62]](_0x187fx9)}else {8!= document[_0x83b3[5]]?(_0x187fx9[_0x83b3[124]][_0x83b3[123]]= _0x83b3[125],1> this[_0x83b3[724]][_0x83b3[1244]]&& (_0x187fx14[_0x83b3[124]][_0x83b3[347]]= _0x83b3[459]+ 100* this[_0x83b3[724]][_0x83b3[1244]]+ _0x83b3[460]),_0x187fx18= _0x187fx9[_0x83b3[265]],_0x187fx9[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],document[_0x83b3[112]][_0x83b3[62]](_0x187fx9),_0x187fx4= _0x187fx9[_0x83b3[359]],_0x187fx19= _0x187fx9[_0x83b3[167]],mxClient[_0x83b3[496]]&& (_0x187fx16&& _0x187fx19> _0x187fx5)&& (_0x187fx19= _0x187fx5,_0x187fx9[_0x83b3[124]][_0x83b3[119]]= _0x187fx19+ _0x83b3[168]),_0x187fx5= _0x187fx19,_0x187fx9[_0x83b3[124]][_0x83b3[187]]= _0x83b3[110],_0x187fx18[_0x83b3[62]](_0x187fx9),_0x187fx14[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[1239]](_0x187fx2+ _0x187fx4* _0x187fx1b* this[_0x83b3[724]][_0x83b3[255]])+ _0x83b3[168],_0x187fx14[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[1239]](_0x187fx3+ _0x187fx5* _0x187fx1a* this[_0x83b3[724]][_0x83b3[255]])+ _0x83b3[168]):(1> this[_0x83b3[724]][_0x83b3[1244]]&& (_0x187fx9[_0x83b3[124]][_0x83b3[347]]= _0x83b3[459]+ 100* this[_0x83b3[724]][_0x83b3[1244]]+ _0x83b3[460]),_0x187fx19[_0x83b3[124]][_0x83b3[361]]= 100* _0x187fx1b+ _0x83b3[229],_0x187fx19[_0x83b3[124]][_0x83b3[125]]= 100* _0x187fx1a+ _0x83b3[229])}}else {this[_0x83b3[1436]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,mxUtils[_0x83b3[321]](_0x187fx9,!1),_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17)}}};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1436]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){_0x187fx5= this[_0x83b3[724]];_0x187fx2= (_0x187fx2+ _0x187fx5[_0x83b3[1126]])* _0x187fx5[_0x83b3[255]];_0x187fx3= (_0x187fx3+ _0x187fx5[_0x83b3[1125]])* _0x187fx5[_0x83b3[255]];_0x187fx4= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1487]);_0x187fx4[_0x83b3[124]][_0x83b3[117]]= _0x83b3[942];_0x187fx4[_0x83b3[124]][_0x83b3[119]]= _0x83b3[942];_0x187fx4[_0x83b3[1464]]= _0x83b3[308];_0x187fx15= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1469]);_0x187fx15[_0x83b3[352]]= _0x187fx5[_0x83b3[665]];_0x187fx15[_0x83b3[461]]= 100* _0x187fx5[_0x83b3[1244]]+ _0x83b3[229];_0x187fx4[_0x83b3[62]](_0x187fx15);_0x187fx15= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1510]);_0x187fx15[_0x83b3[1511]]= _0x83b3[128];_0x187fx15[_0x83b3[6]]= _0x83b3[1512]+ this[_0x83b3[1239]](0)+ _0x83b3[185]+ this[_0x83b3[1239]](0)+ _0x83b3[1513]+ this[_0x83b3[1239]](1)+ _0x83b3[185]+ this[_0x83b3[1239]](0);_0x187fx4[_0x83b3[62]](_0x187fx15);_0x187fx15= document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1514]);_0x187fx15[_0x83b3[124]][_0x83b3[103]]= _0x83b3[1515]+ _0x187fxa;_0x187fx15[_0x83b3[124]][_0x83b3[611]]= _0x187fxa;_0x187fx15[_0x83b3[124]][_0x83b3[486]]= _0x187fx5[_0x83b3[486]];_0x187fx15[_0x83b3[1516]]= _0x187fx9;_0x187fx15[_0x83b3[747]]= _0x83b3[128];_0x187fxa= Math[_0x83b3[488]](_0x187fx5[_0x83b3[487]]* _0x187fx5[_0x83b3[255]]/ this[_0x83b3[1460]]);_0x187fx15[_0x83b3[124]][_0x83b3[487]]= _0x187fxa+ _0x83b3[168];(_0x187fx5[_0x83b3[666]]& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]]&& (_0x187fx15[_0x83b3[124]][_0x83b3[1452]]= _0x83b3[1447]);(_0x187fx5[_0x83b3[666]]& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]]&& (_0x187fx15[_0x83b3[124]][_0x83b3[666]]= _0x83b3[1449]);(_0x187fx5[_0x83b3[666]]& mxConstants[_0x83b3[1414]])== mxConstants[_0x83b3[1414]]&& (_0x187fx15[_0x83b3[124]][_0x83b3[354]]= _0x83b3[355]);_0x187fx9= _0x187fx9[_0x83b3[224]](_0x83b3[192]);_0x187fx5= _0x187fxa+ (_0x187fx9[_0x83b3[67]]- 1)* _0x187fxa* mxConstants[_0x83b3[490]];_0x187fxa= _0x187fx9= 0;_0x187fx12== mxConstants[_0x83b3[482]]?_0x187fxa= -_0x187fx5/ 2:_0x187fx12!= mxConstants[_0x83b3[481]]&& (_0x187fxa= _0x187fx5/ 2);null!= _0x187fx17&& (_0x187fx4[_0x83b3[124]][_0x83b3[603]]= _0x187fx17,_0x187fx12= _0x187fx17* (Math[_0x83b3[424]]/ 180),_0x187fx9= Math[_0x83b3[427]](_0x187fx12)* _0x187fxa,_0x187fxa*= Math[_0x83b3[426]](_0x187fx12));_0x187fx4[_0x83b3[62]](_0x187fx15);_0x187fx4[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[1239]](_0x187fx2- _0x187fx9)+ _0x83b3[168];_0x187fx4[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[1239]](_0x187fx3+ _0x187fxa)+ _0x83b3[168];this[_0x83b3[813]][_0x83b3[62]](_0x187fx4)};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1336]]= function(){this[_0x83b3[1370]](!1,!0)};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1334]]= function(){this[_0x83b3[1370]](!0,!1)};mxVmlCanvas2D[_0x83b3[202]][_0x83b3[1337]]= function(){this[_0x83b3[1370]](!0,!0)};function mxGuide(_0x187fx2,_0x187fx3){this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[1517]](_0x187fx3)}mxGuide[_0x83b3[202]][_0x83b3[1179]]= null;mxGuide[_0x83b3[202]][_0x83b3[1214]]= null;mxGuide[_0x83b3[202]][_0x83b3[662]]= !0;mxGuide[_0x83b3[202]][_0x83b3[704]]= !0;mxGuide[_0x83b3[202]][_0x83b3[1518]]= null;mxGuide[_0x83b3[202]][_0x83b3[1519]]= null;mxGuide[_0x83b3[202]][_0x83b3[1517]]= function(_0x187fx2){this[_0x83b3[1214]]= _0x187fx2};mxGuide[_0x83b3[202]][_0x83b3[1019]]= function(_0x187fx2){return !0};mxGuide[_0x83b3[202]][_0x83b3[1520]]= function(){return this[_0x83b3[1179]][_0x83b3[1020]]* this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]]/ 2};mxGuide[_0x83b3[202]][_0x83b3[1521]]= function(_0x187fx2){_0x187fx2= new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);_0x187fx2[_0x83b3[1522]]= !0;return _0x187fx2};mxGuide[_0x83b3[202]][_0x83b3[582]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= this[_0x83b3[1214]]&& (this[_0x83b3[662]]|| this[_0x83b3[704]])&& null!= _0x187fx2&& null!= _0x187fx3){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[513]],_0x187fx9=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fxa=_0x187fx3[_0x83b3[235]],_0x187fx12=_0x187fx3[_0x83b3[236]],_0x187fx13=!1,_0x187fx14=!1,_0x187fx15=this[_0x83b3[1520]](),_0x187fx16=_0x187fx15,_0x187fx17=_0x187fx15,_0x187fx15=_0x187fx2[_0x83b3[238]]();_0x187fx15[_0x83b3[235]]+= _0x187fx3[_0x83b3[235]];_0x187fx15[_0x83b3[236]]+= _0x187fx3[_0x83b3[236]];var _0x187fx18=_0x187fx15[_0x83b3[235]],_0x187fx19=_0x187fx15[_0x83b3[235]]+ _0x187fx15[_0x83b3[117]],_0x187fx1a=_0x187fx15[_0x83b3[241]](),_0x187fx1b=_0x187fx15[_0x83b3[236]],_0x187fx1c=_0x187fx15[_0x83b3[236]]+ _0x187fx15[_0x83b3[119]],_0x187fx1d=_0x187fx15[_0x83b3[242]]();_0x187fx3= function(_0x187fx3){_0x187fx3+= this[_0x83b3[1179]][_0x83b3[1136]];var _0x187fx4=!1;Math[_0x83b3[425]](_0x187fx3- _0x187fx1a)< _0x187fx16?(_0x187fxa= _0x187fx3- _0x187fx2[_0x83b3[241]](),_0x187fx16= Math[_0x83b3[425]](_0x187fx3- _0x187fx1a),_0x187fx4= !0):Math[_0x83b3[425]](_0x187fx3- _0x187fx18)< _0x187fx16?(_0x187fxa= _0x187fx3- _0x187fx2[_0x83b3[235]],_0x187fx16= Math[_0x83b3[425]](_0x187fx3- _0x187fx18),_0x187fx4= !0):Math[_0x83b3[425]](_0x187fx3- _0x187fx19)< _0x187fx16&& (_0x187fxa= _0x187fx3- _0x187fx2[_0x83b3[235]]- _0x187fx2[_0x83b3[117]],_0x187fx16= Math[_0x83b3[425]](_0x187fx3- _0x187fx19),_0x187fx4= !0);if(_0x187fx4){null== this[_0x83b3[1518]]&& (this[_0x83b3[1518]]= this[_0x83b3[1521]](!0),this[_0x83b3[1518]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]],this[_0x83b3[1518]][_0x83b3[1229]]= !1,this[_0x83b3[1518]][_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()));var _0x187fx5=this[_0x83b3[1179]][_0x83b3[526]];_0x187fx3-= this[_0x83b3[1179]][_0x83b3[1136]];this[_0x83b3[1518]][_0x83b3[1525]]= [ new mxPoint(_0x187fx3,-this[_0x83b3[1179]][_0x83b3[1137]]), new mxPoint(_0x187fx3,_0x187fx5[_0x83b3[191]]- 3- this[_0x83b3[1179]][_0x83b3[1137]])]};_0x187fx13= _0x187fx13|| _0x187fx4};for(var _0x187fx15=function(_0x187fx3){_0x187fx3+= this[_0x83b3[1179]][_0x83b3[1137]];var _0x187fx4=!1;Math[_0x83b3[425]](_0x187fx3- _0x187fx1d)< _0x187fx17?(_0x187fx12= _0x187fx3- _0x187fx2[_0x83b3[242]](),_0x187fx17= Math[_0x83b3[425]](_0x187fx3- _0x187fx1d),_0x187fx4= !0):Math[_0x83b3[425]](_0x187fx3- _0x187fx1b)< _0x187fx17?(_0x187fx12= _0x187fx3- _0x187fx2[_0x83b3[236]],_0x187fx17= Math[_0x83b3[425]](_0x187fx3- _0x187fx1b),_0x187fx4= !0):Math[_0x83b3[425]](_0x187fx3- _0x187fx1c)< _0x187fx17&& (_0x187fx12= _0x187fx3- _0x187fx2[_0x83b3[236]]- _0x187fx2[_0x83b3[119]],_0x187fx17= Math[_0x83b3[425]](_0x187fx3- _0x187fx1c),_0x187fx4= !0);if(_0x187fx4){null== this[_0x83b3[1519]]&& (this[_0x83b3[1519]]= this[_0x83b3[1521]](!1),this[_0x83b3[1519]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]],this[_0x83b3[1519]][_0x83b3[1229]]= !1,this[_0x83b3[1519]][_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()));var _0x187fx5=this[_0x83b3[1179]][_0x83b3[526]];_0x187fx3-= this[_0x83b3[1179]][_0x83b3[1137]];this[_0x83b3[1519]][_0x83b3[1525]]= [ new mxPoint(-this[_0x83b3[1179]][_0x83b3[1136]],_0x187fx3), new mxPoint(_0x187fx5[_0x83b3[1526]]- 3- this[_0x83b3[1179]][_0x83b3[1136]],_0x187fx3)]};_0x187fx14= _0x187fx14|| _0x187fx4},_0x187fx1e=0;_0x187fx1e< this[_0x83b3[1214]][_0x83b3[67]];_0x187fx1e++){var _0x187fx1f=this[_0x83b3[1214]][_0x187fx1e];null!= _0x187fx1f&& (this[_0x83b3[662]]&& (_0x187fx3[_0x83b3[239]](this,_0x187fx1f[_0x83b3[241]]()),_0x187fx3[_0x83b3[239]](this,_0x187fx1f[_0x83b3[235]]),_0x187fx3[_0x83b3[239]](this,_0x187fx1f[_0x83b3[235]]+ _0x187fx1f[_0x83b3[117]])),this[_0x83b3[704]]&& (_0x187fx15[_0x83b3[239]](this,_0x187fx1f[_0x83b3[242]]()),_0x187fx15[_0x83b3[239]](this,_0x187fx1f[_0x83b3[236]]),_0x187fx15[_0x83b3[239]](this,_0x187fx1f[_0x83b3[236]]+ _0x187fx1f[_0x83b3[119]])))};!_0x187fx13&& null!= this[_0x83b3[1518]]?this[_0x83b3[1518]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]:null!= this[_0x83b3[1518]]&& (this[_0x83b3[1518]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189],this[_0x83b3[1518]][_0x83b3[258]]());!_0x187fx14&& null!= this[_0x83b3[1519]]?this[_0x83b3[1519]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]:null!= this[_0x83b3[1519]]&& (this[_0x83b3[1519]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189],this[_0x83b3[1519]][_0x83b3[258]]());_0x187fx4&& (_0x187fx13|| (_0x187fx4= _0x187fx2[_0x83b3[235]]- (this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[235]]/ _0x187fx9- _0x187fx5[_0x83b3[235]])+ _0x187fx5[_0x83b3[235]])* _0x187fx9,_0x187fxa= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fxa/ _0x187fx9)* _0x187fx9- _0x187fx4),_0x187fx14|| (_0x187fx5= _0x187fx2[_0x83b3[236]]- (this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[236]]/ _0x187fx9- _0x187fx5[_0x83b3[236]])+ _0x187fx5[_0x83b3[236]])* _0x187fx9,_0x187fx12= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx12/ _0x187fx9)* _0x187fx9- _0x187fx5));_0x187fx3= new mxPoint(_0x187fxa,_0x187fx12)};return _0x187fx3};mxGuide[_0x83b3[202]][_0x83b3[801]]= function(){null!= this[_0x83b3[1518]]&& (this[_0x83b3[1518]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]);null!= this[_0x83b3[1519]]&& (this[_0x83b3[1519]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188])};mxGuide[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[1518]]&& (this[_0x83b3[1518]][_0x83b3[515]](),this[_0x83b3[1518]]= null);null!= this[_0x83b3[1519]]&& (this[_0x83b3[1519]][_0x83b3[515]](),this[_0x83b3[1519]]= null)};function mxStencil(_0x187fx2){this[_0x83b3[1527]]= _0x187fx2;this[_0x83b3[1528]]();this[_0x83b3[1529]]()}mxStencil[_0x83b3[1530]]= !1;mxStencil[_0x83b3[202]][_0x83b3[1527]]= null;mxStencil[_0x83b3[202]][_0x83b3[1531]]= null;mxStencil[_0x83b3[202]][_0x83b3[1322]]= null;mxStencil[_0x83b3[202]][_0x83b3[1532]]= null;mxStencil[_0x83b3[202]][_0x83b3[1533]]= null;mxStencil[_0x83b3[202]][_0x83b3[1534]]= null;mxStencil[_0x83b3[202]][_0x83b3[1535]]= null;mxStencil[_0x83b3[202]][_0x83b3[1307]]= null;mxStencil[_0x83b3[202]][_0x83b3[1528]]= function(){this[_0x83b3[1535]]= this[_0x83b3[1527]][_0x83b3[64]](_0x83b3[1536])[0];this[_0x83b3[1534]]= this[_0x83b3[1527]][_0x83b3[64]](_0x83b3[1537])[0];this[_0x83b3[1532]]= Number(this[_0x83b3[1527]][_0x83b3[284]](_0x83b3[1302])|| 100);this[_0x83b3[1533]]= Number(this[_0x83b3[1527]][_0x83b3[284]](_0x83b3[1303])|| 100);var _0x187fx2=this[_0x83b3[1527]][_0x83b3[284]](_0x83b3[1322]);this[_0x83b3[1322]]= null!= _0x187fx2?_0x187fx2:_0x83b3[1538];_0x187fx2= this[_0x83b3[1527]][_0x83b3[284]](_0x83b3[1307]);this[_0x83b3[1307]]= null!= _0x187fx2?_0x187fx2:_0x83b3[500]};mxStencil[_0x83b3[202]][_0x83b3[1529]]= function(){var _0x187fx2=this[_0x83b3[1527]][_0x83b3[64]](_0x83b3[1539])[0];if(null!= _0x187fx2&& (_0x187fx2= mxUtils[_0x83b3[1540]](_0x187fx2),null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]])){this[_0x83b3[1531]]= [];for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){this[_0x83b3[1531]][_0x83b3[207]](this[_0x83b3[1541]](_0x187fx2[_0x187fx3]))}}};mxStencil[_0x83b3[202]][_0x83b3[1541]]= function(_0x187fx2){var _0x187fx3=Number(_0x187fx2[_0x83b3[284]](_0x83b3[235])),_0x187fx4=Number(_0x187fx2[_0x83b3[284]](_0x83b3[236]));_0x187fx2= _0x83b3[500]== _0x187fx2[_0x83b3[284]](_0x83b3[591]);return new mxConnectionConstraint( new mxPoint(_0x187fx3,_0x187fx4),_0x187fx2)};mxStencil[_0x83b3[202]][_0x83b3[1542]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= this[_0x83b3[1543]](_0x187fx2,_0x187fx3,_0x187fx4);_0x187fx2= _0x187fx2[_0x83b3[284]](_0x83b3[1544]);if(mxStencil[_0x83b3[1530]]&& null== _0x187fx2|| _0x83b3[500]== _0x187fx2){_0x187fx3= mxResources[_0x83b3[203]](_0x187fx3)};return _0x187fx3};mxStencil[_0x83b3[202]][_0x83b3[1543]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= _0x187fx2[_0x83b3[284]](_0x187fx3);null== _0x187fx3&& (_0x187fx2= mxUtils[_0x83b3[329]](_0x187fx2),null!= _0x187fx2&& (_0x187fx2= mxUtils[_0x83b3[1545]](_0x187fx2),_0x83b3[279]== typeof _0x187fx2&& (_0x187fx3= _0x187fx2(_0x187fx4))));return _0x187fx3};mxStencil[_0x83b3[202]][_0x83b3[1546]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[1547]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,this[_0x83b3[1534]],!1);this[_0x83b3[1547]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,this[_0x83b3[1535]],!0)};mxStencil[_0x83b3[202]][_0x83b3[1547]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){if(null!= _0x187fx12){var _0x187fx14=mxUtils[_0x83b3[433]](_0x187fx3[_0x83b3[124]],mxConstants.STYLE_DIRECTION,null);_0x187fx4= this[_0x83b3[1548]](_0x187fx3[_0x83b3[124]],_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx14);_0x187fx5= Math[_0x83b3[243]](_0x187fx4[_0x83b3[117]],_0x187fx4[_0x83b3[119]]);_0x187fx5= _0x83b3[1549]== this[_0x83b3[1307]]?Number(mxUtils[_0x83b3[1550]](_0x187fx3[_0x83b3[124]],mxConstants.STYLE_STROKEWIDTH,1)):Number(this[_0x83b3[1307]])* _0x187fx5;_0x187fx2[_0x83b3[1250]](_0x187fx5);for(_0x187fx12= _0x187fx12[_0x83b3[285]];null!= _0x187fx12;){_0x187fx12[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& this[_0x83b3[1551]](_0x187fx2,_0x187fx3,_0x187fx12,_0x187fx4,_0x187fx13),_0x187fx12= _0x187fx12[_0x83b3[287]]}}};mxStencil[_0x83b3[202]][_0x83b3[1548]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx2= _0x187fx3;_0x187fx3= _0x187fx5/ this[_0x83b3[1532]];var _0x187fx12=_0x187fx9/ this[_0x83b3[1533]];if(_0x187fxa= _0x83b3[700]== _0x187fxa|| _0x83b3[701]== _0x187fxa){_0x187fx12= _0x187fx5/ this[_0x83b3[1533]];_0x187fx3= _0x187fx9/ this[_0x83b3[1532]];var _0x187fx13=(_0x187fx5- _0x187fx9)/ 2;_0x187fx2+= _0x187fx13;_0x187fx4-= _0x187fx13};_0x83b3[1552]== this[_0x83b3[1322]]&& (_0x187fx3= _0x187fx12= Math[_0x83b3[243]](_0x187fx3,_0x187fx12),_0x187fxa?(_0x187fx2+= (_0x187fx9- this[_0x83b3[1532]]* _0x187fx3)/ 2,_0x187fx4+= (_0x187fx5- this[_0x83b3[1533]]* _0x187fx12)/ 2):(_0x187fx2+= (_0x187fx5- this[_0x83b3[1532]]* _0x187fx3)/ 2,_0x187fx4+= (_0x187fx9- this[_0x83b3[1533]]* _0x187fx12)/ 2));return new mxRectangle(_0x187fx2,_0x187fx4,_0x187fx3,_0x187fx12)};mxStencil[_0x83b3[202]][_0x83b3[1551]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx4[_0x83b3[301]],_0x187fx12=_0x187fx5[_0x83b3[235]],_0x187fx13=_0x187fx5[_0x83b3[236]],_0x187fx14=_0x187fx5[_0x83b3[117]],_0x187fx15=_0x187fx5[_0x83b3[119]],_0x187fx16=Math[_0x83b3[243]](_0x187fx14,_0x187fx15);if(_0x83b3[815]== _0x187fxa){_0x187fx2[_0x83b3[815]]()}else {if(_0x83b3[1210]== _0x187fxa){_0x187fx2[_0x83b3[1210]]()}else {if(_0x83b3[1215]== _0x187fxa){_0x187fx2[_0x83b3[1275]]();for(_0x187fx4= _0x187fx4[_0x83b3[285]];null!= _0x187fx4;){_0x187fx4[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& this[_0x83b3[1551]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx4= _0x187fx4[_0x83b3[287]]}}else {if(_0x83b3[268]== _0x187fxa){_0x187fx2[_0x83b3[268]]()}else {if(_0x83b3[582]== _0x187fxa){_0x187fx2[_0x83b3[1276]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15)}else {if(_0x83b3[683]== _0x187fxa){_0x187fx2[_0x83b3[1277]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15)}else {if(_0x83b3[1323]== _0x187fxa){_0x187fx2[_0x83b3[1278]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1324]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1325]))* _0x187fx15,_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1326]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1327]))* _0x187fx15)}else {if(_0x83b3[1328]== _0x187fxa){_0x187fx2[_0x83b3[1279]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1324]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1325]))* _0x187fx15,_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1326]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1327]))* _0x187fx15,_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1329]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[1330]))* _0x187fx15)}else {if(_0x83b3[1553]== _0x187fxa){_0x187fx2[_0x83b3[1280]](Number(_0x187fx4[_0x83b3[284]](_0x83b3[1397]))* _0x187fx14,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1398]))* _0x187fx15,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1554])),Number(_0x187fx4[_0x83b3[284]](_0x83b3[1555])),Number(_0x187fx4[_0x83b3[284]](_0x83b3[1556])),_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15)}else {if(_0x83b3[1319]== _0x187fxa){_0x187fx2[_0x83b3[1319]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1302]))* _0x187fx14,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1303]))* _0x187fx15)}else {if(_0x83b3[1320]== _0x187fxa){_0x187fx3= _0x187fx4[_0x83b3[284]](_0x83b3[1492]),0== _0x187fx3&& (_0x187fx3= 100* mxConstants[_0x83b3[1557]]),_0x187fx16= Number(_0x187fx4[_0x83b3[284]](_0x83b3[1302]))* _0x187fx14,_0x187fx5= Number(_0x187fx4[_0x83b3[284]](_0x83b3[1303]))* _0x187fx15,_0x187fx3= Number(_0x187fx3)/ 100,_0x187fx3= Math[_0x83b3[243]](_0x187fx16* _0x187fx3,_0x187fx5* _0x187fx3),_0x187fx2[_0x83b3[1320]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15,_0x187fx16,_0x187fx5,_0x187fx3,_0x187fx3)}else {if(_0x83b3[680]== _0x187fxa){_0x187fx2[_0x83b3[680]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1302]))* _0x187fx14,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1303]))* _0x187fx15)}else {if(_0x83b3[618]== _0x187fxa){_0x187fx3= this[_0x83b3[1543]](_0x187fx4,_0x83b3[390],_0x187fx3),_0x187fx2[_0x83b3[618]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1302]))* _0x187fx14,Number(_0x187fx4[_0x83b3[284]](_0x83b3[1303]))* _0x187fx15,_0x187fx3,!1,_0x83b3[500]== _0x187fx4[_0x83b3[284]](_0x83b3[623]),_0x83b3[500]== _0x187fx4[_0x83b3[284]](_0x83b3[624]))}else {if(_0x83b3[963]== _0x187fxa){_0x187fx16= this[_0x83b3[1542]](_0x187fx4,_0x83b3[1332],_0x187fx3);_0x187fx5= _0x83b3[500]== _0x187fx4[_0x83b3[284]](_0x83b3[704])?-90:0;if(_0x83b3[468]== _0x187fx4[_0x83b3[284]](_0x83b3[1558])){var _0x187fx17=_0x187fx3[_0x83b3[603]],_0x187fx18=1== mxUtils[_0x83b3[433]](_0x187fx3[_0x83b3[124]],mxConstants.STYLE_FLIPH,0);_0x187fx3= 1== mxUtils[_0x83b3[433]](_0x187fx3[_0x83b3[124]],mxConstants.STYLE_FLIPV,0);_0x187fx5= _0x187fx18&& _0x187fx3?_0x187fx5- _0x187fx17:_0x187fx18|| _0x187fx3?_0x187fx5+ _0x187fx17:_0x187fx5- _0x187fx17};_0x187fx5-= _0x187fx4[_0x83b3[284]](_0x83b3[603]);_0x187fx2[_0x83b3[963]](_0x187fx12+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+ Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15,0,0,_0x187fx16,_0x187fx4[_0x83b3[284]](_0x83b3[611])|| _0x83b3[361],_0x187fx4[_0x83b3[284]](_0x83b3[552])|| _0x83b3[125],!1,_0x83b3[110],!1,!1,_0x187fx5)}else {if(_0x83b3[1559]== _0x187fxa){_0x187fx17= mxStencilRegistry[_0x83b3[1560]](_0x187fx4[_0x83b3[284]](_0x83b3[298])),null!= _0x187fx17&& (_0x187fx12+= Number(_0x187fx4[_0x83b3[284]](_0x83b3[235]))* _0x187fx14,_0x187fx13+= Number(_0x187fx4[_0x83b3[284]](_0x83b3[236]))* _0x187fx15,_0x187fx16= Number(_0x187fx4[_0x83b3[284]](_0x83b3[1302]))* _0x187fx14,_0x187fx5= Number(_0x187fx4[_0x83b3[284]](_0x83b3[1303]))* _0x187fx15,_0x187fx17[_0x83b3[1546]](_0x187fx2,_0x187fx3,_0x187fx12,_0x187fx13,_0x187fx16,_0x187fx5))}else {if(_0x83b3[1338]== _0x187fxa){_0x187fx2[_0x83b3[1337]]()}else {if(_0x83b3[1334]== _0x187fxa){_0x187fx2[_0x83b3[1334]]()}else {if(_0x83b3[1336]== _0x187fxa){_0x187fx2[_0x83b3[1336]]()}else {if(_0x83b3[1307]== _0x187fxa){_0x187fx2[_0x83b3[1250]](Number(_0x187fx4[_0x83b3[284]](_0x83b3[117]))* _0x187fx16)}else {if(_0x83b3[648]== _0x187fxa){_0x187fx2[_0x83b3[1251]](_0x83b3[500]== _0x187fx4[_0x83b3[284]](_0x83b3[648]))}else {if(_0x83b3[1308]== _0x187fxa){if(_0x187fx4= _0x187fx4[_0x83b3[284]](_0x83b3[1309]),null!= _0x187fx4){_0x187fx4= _0x187fx4[_0x83b3[224]](_0x83b3[185]);_0x187fx14= [];for(_0x187fx15= 0;_0x187fx15< _0x187fx4[_0x83b3[67]];_0x187fx15++){0< _0x187fx4[_0x187fx15][_0x83b3[67]]&& _0x187fx14[_0x83b3[207]](Number(_0x187fx4[_0x187fx15])* _0x187fx16)};_0x187fx4= _0x187fx14[_0x83b3[234]](_0x83b3[185]);_0x187fx2[_0x83b3[1252]](_0x187fx4)}}else {_0x83b3[1306]== _0x187fxa?_0x187fx2[_0x83b3[1249]](_0x187fx4[_0x83b3[284]](_0x83b3[352])):_0x83b3[1310]== _0x187fxa?_0x187fx2[_0x83b3[1253]](_0x187fx4[_0x83b3[284]](_0x83b3[1311])):_0x83b3[1312]== _0x187fxa?_0x187fx2[_0x83b3[1255]](_0x187fx4[_0x83b3[284]](_0x83b3[234])):_0x83b3[1313]== _0x187fxa?_0x187fx2[_0x83b3[1257]](Number(_0x187fx4[_0x83b3[284]](_0x83b3[1314]))):_0x83b3[1298]== _0x187fxa?_0x187fx2[_0x83b3[1245]](_0x187fx4[_0x83b3[284]](_0x83b3[352])):_0x83b3[1244]== _0x187fxa?_0x187fx2[_0x83b3[1243]](_0x187fx4[_0x83b3[284]](_0x83b3[1244])):_0x83b3[1315]== _0x187fxa?_0x187fx2[_0x83b3[1259]](_0x187fx4[_0x83b3[284]](_0x83b3[352])):_0x83b3[1318]== _0x187fxa?_0x187fx2[_0x83b3[1266]](_0x187fx4[_0x83b3[284]](_0x83b3[124])):_0x83b3[1287]== _0x187fxa?_0x187fx2[_0x83b3[1265]](_0x187fx4[_0x83b3[284]](_0x83b3[1288])):_0x83b3[1289]== _0x187fxa&& _0x187fx2[_0x83b3[1264]](Number(_0x187fx4[_0x83b3[284]](_0x83b3[803]))* _0x187fx16)}}}}}}}}}}}}}}}}}}}}};_0x187fx9&& (_0x83b3[1338]== _0x187fxa|| _0x83b3[1334]== _0x187fxa|| _0x83b3[1336]== _0x187fxa)&& _0x187fx2[_0x83b3[1267]](!1)};function mxShape(_0x187fx2){this[_0x83b3[1561]]= _0x187fx2;this[_0x83b3[1307]]= 1;this[_0x83b3[603]]= 0;this[_0x83b3[461]]= 100;this[_0x83b3[624]]= this[_0x83b3[623]]= !1}mxShape[_0x83b3[202]][_0x83b3[507]]= null;mxShape[_0x83b3[202]][_0x83b3[255]]= 1;mxShape[_0x83b3[202]][_0x83b3[1562]]= null;mxShape[_0x83b3[202]][_0x83b3[1525]]= null;mxShape[_0x83b3[202]][_0x83b3[252]]= null;mxShape[_0x83b3[202]][_0x83b3[124]]= null;mxShape[_0x83b3[202]][_0x83b3[124]]= null;mxShape[_0x83b3[202]][_0x83b3[1563]]= null;mxShape[_0x83b3[202]][_0x83b3[1561]]= null;mxShape[_0x83b3[202]][_0x83b3[1564]]= 6;mxShape[_0x83b3[202]][_0x83b3[1229]]= !0;mxShape[_0x83b3[202]][_0x83b3[1565]]= !1;mxShape[_0x83b3[202]][_0x83b3[1460]]= 1;mxShape[_0x83b3[202]][_0x83b3[176]]= function(_0x187fx2){null== this[_0x83b3[252]]&& (this[_0x83b3[252]]= this[_0x83b3[385]](_0x187fx2),null!= _0x187fx2&& _0x187fx2[_0x83b3[62]](this[_0x83b3[252]]))};mxShape[_0x83b3[202]][_0x83b3[1566]]= function(){return !0};mxShape[_0x83b3[202]][_0x83b3[1567]]= function(){return !1};mxShape[_0x83b3[202]][_0x83b3[1568]]= function(){return 1== mxUtils[_0x83b3[1454]](Math[_0x83b3[160]](1,Math[_0x83b3[488]](this[_0x83b3[1307]]* this[_0x83b3[255]])),2)?0.5:0};mxShape[_0x83b3[202]][_0x83b3[385]]= function(_0x187fx2){var _0x187fx3=null;return _0x187fx3= null!= _0x187fx2[_0x83b3[538]]?this[_0x83b3[1569]](_0x187fx2):8== document[_0x83b3[5]]|| this[_0x83b3[507]]== mxConstants[_0x83b3[508]]|| this[_0x83b3[507]]!= mxConstants[_0x83b3[1523]]&& this[_0x83b3[1567]]()?this[_0x83b3[1570]](_0x187fx2):this[_0x83b3[1571]](_0x187fx2)};mxShape[_0x83b3[202]][_0x83b3[1569]]= function(){return document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449])};mxShape[_0x83b3[202]][_0x83b3[1571]]= function(){var _0x187fx2=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1499]);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1570]]= function(){var _0x187fx2=document[_0x83b3[55]](_0x83b3[485]);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1572]]= function(){this[_0x83b3[258]]()};mxShape[_0x83b3[202]][_0x83b3[258]]= function(){this[_0x83b3[1573]]();this[_0x83b3[1574]]()?(this[_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[110],_0x83b3[529]== this[_0x83b3[252]][_0x83b3[301]]&& this[_0x83b3[1567]]()?this[_0x83b3[1575]]():this[_0x83b3[1576]](),this[_0x83b3[1577]]()):(this[_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],this[_0x83b3[1563]]= null)};mxShape[_0x83b3[202]][_0x83b3[1573]]= function(){var _0x187fx2=this[_0x83b3[1525]];if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]&& null!= _0x187fx2[0]){this[_0x83b3[1562]]= new mxRectangle(Number(_0x187fx2[0][_0x83b3[235]]),Number(_0x187fx2[0][_0x83b3[236]]),1,1);for(var _0x187fx3=1;_0x187fx3< this[_0x83b3[1525]][_0x83b3[67]];_0x187fx3++){null!= _0x187fx2[_0x187fx3]&& this[_0x83b3[1562]][_0x83b3[99]]( new mxRectangle(Number(_0x187fx2[_0x187fx3][_0x83b3[235]]),Number(_0x187fx2[_0x187fx3][_0x83b3[236]]),1,1))}}};mxShape[_0x83b3[202]][_0x83b3[1574]]= function(){return null!= this[_0x83b3[1562]]&& !isNaN(this[_0x83b3[1562]][_0x83b3[235]])&& !isNaN(this[_0x83b3[1562]][_0x83b3[236]])&& !isNaN(this[_0x83b3[1562]][_0x83b3[117]])&& !isNaN(this[_0x83b3[1562]][_0x83b3[119]])&& 0< this[_0x83b3[1562]][_0x83b3[117]]&& 0< this[_0x83b3[1562]][_0x83b3[119]]};mxShape[_0x83b3[202]][_0x83b3[1578]]= function(){var _0x187fx2=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1499]);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx2[_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[252]][_0x83b3[124]][_0x83b3[117]];_0x187fx2[_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[252]][_0x83b3[124]][_0x83b3[119]];return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1576]]= function(){var _0x187fx2=this[_0x83b3[1579]]();for(_0x187fx2[_0x83b3[1229]]= this[_0x83b3[1229]];this[_0x83b3[252]][_0x83b3[1580]]();){this[_0x83b3[252]][_0x83b3[266]](this[_0x83b3[252]][_0x83b3[1581]])};this[_0x83b3[1209]](_0x187fx2);this[_0x83b3[252]]!= _0x187fx2[_0x83b3[813]]&& this[_0x83b3[252]][_0x83b3[1583]](_0x83b3[1582],_0x187fx2[_0x83b3[813]][_0x83b3[342]]);_0x83b3[529]== this[_0x83b3[252]][_0x83b3[301]]&& 8== document[_0x83b3[5]]&& (this[_0x83b3[252]][_0x83b3[124]][_0x83b3[347]]= _0x83b3[110],(null== this[_0x83b3[1561]]|| !this[_0x83b3[1565]])&& mxUtils[_0x83b3[1584]](this[_0x83b3[252]]));this[_0x83b3[1585]](_0x187fx2)};mxShape[_0x83b3[202]][_0x83b3[1579]]= function(){var _0x187fx2=null,_0x187fx3=null;if(null!= this[_0x83b3[252]][_0x83b3[538]]){_0x187fx2= new mxSvgCanvas2D(this[_0x83b3[252]],!1),_0x187fx2[_0x83b3[1345]]= this[_0x83b3[1564]],_0x187fx2[_0x83b3[1347]]= mxClient[_0x83b3[133]]&& !mxClient[_0x83b3[75]]&& !mxClient[_0x83b3[76]],_0x187fx3= this[_0x83b3[1568]](),0!= _0x187fx3?this[_0x83b3[252]][_0x83b3[57]](_0x83b3[535],_0x83b3[536]+ _0x187fx3+ _0x83b3[537]+ _0x187fx3+ _0x83b3[460]):this[_0x83b3[252]][_0x83b3[1390]](_0x83b3[535])}else {this[_0x83b3[1586]]();var _0x187fx4=Math[_0x83b3[160]](1,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[117]])),_0x187fx5=Math[_0x83b3[160]](1,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[119]])),_0x187fx3=8== document[_0x83b3[5]]&& this[_0x83b3[1566]]()?this[_0x83b3[1578]]():this[_0x83b3[252]],_0x187fx2= new mxVmlCanvas2D(_0x187fx3,!1);_0x83b3[110]!= _0x187fx3[_0x83b3[337]]&& (_0x187fx3[_0x83b3[1462]]= _0x187fx4* this[_0x83b3[1460]]+ _0x83b3[537]+ _0x187fx5* this[_0x83b3[1460]],_0x187fx2[_0x83b3[255]](this[_0x83b3[1460]]),_0x187fx2[_0x83b3[1460]]= this[_0x83b3[1460]]);_0x187fx3= this[_0x83b3[255]];_0x187fx2[_0x83b3[513]](-Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]]/ _0x187fx3),-Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]]/ _0x187fx3))};return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1586]]= function(){this[_0x83b3[252]][_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]])+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]])+ _0x83b3[168];var _0x187fx2=Math[_0x83b3[160]](1,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[117]])),_0x187fx3=Math[_0x83b3[160]](1,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[119]]));this[_0x83b3[252]][_0x83b3[124]][_0x83b3[117]]= _0x187fx2+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[119]]= _0x187fx3+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[189]};mxShape[_0x83b3[202]][_0x83b3[1585]]= function(_0x187fx2){if(_0x187fx2 instanceof mxSvgCanvas2D){for(var _0x187fx3 in _0x187fx2[_0x83b3[1339]]){var _0x187fx4=_0x187fx2[_0x83b3[1339]][_0x187fx3];_0x187fx4[_0x83b3[1587]]= (_0x187fx4[_0x83b3[1587]]|| 0)+ 1};this[_0x83b3[1589]](this[_0x83b3[1588]]);this[_0x83b3[1588]]= _0x187fx2[_0x83b3[1339]]}};mxShape[_0x83b3[202]][_0x83b3[1209]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[255]],_0x187fx4=this[_0x83b3[1562]][_0x83b3[235]]/ _0x187fx3,_0x187fx5=this[_0x83b3[1562]][_0x83b3[236]]/ _0x187fx3,_0x187fx9=this[_0x83b3[1562]][_0x83b3[117]]/ _0x187fx3,_0x187fxa=this[_0x83b3[1562]][_0x83b3[119]]/ _0x187fx3;if(this[_0x83b3[1590]]()){var _0x187fx12=(_0x187fx9- _0x187fxa)/ 2,_0x187fx4=_0x187fx4+ _0x187fx12,_0x187fx5=_0x187fx5- _0x187fx12,_0x187fx12=_0x187fx9,_0x187fx9=_0x187fxa,_0x187fxa=_0x187fx12};this[_0x83b3[1591]](_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa);this[_0x83b3[1592]](_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa);if(null!= this[_0x83b3[1561]]){this[_0x83b3[1593]](_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa)}else {if(_0x187fx2[_0x83b3[1250]](this[_0x83b3[1307]]),null!= this[_0x83b3[1525]]){_0x187fx4= [];for(_0x187fx5= 0;_0x187fx5< this[_0x83b3[1525]][_0x83b3[67]];_0x187fx5++){_0x187fx4[_0x83b3[207]]( new mxPoint(this[_0x83b3[1525]][_0x187fx5][_0x83b3[235]]/ _0x187fx3,this[_0x83b3[1525]][_0x187fx5][_0x83b3[236]]/ _0x187fx3))};this[_0x83b3[1594]](_0x187fx2,_0x187fx4)}else {this[_0x83b3[1595]](_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa)}}};mxShape[_0x83b3[202]][_0x83b3[1592]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=null;null!= this[_0x83b3[124]]&& (_0x187fxa= this[_0x83b3[124]][_0x83b3[649]]);_0x187fx2[_0x83b3[1243]](this[_0x83b3[461]]/ 100);null!= this[_0x83b3[1596]]&& _0x187fx2[_0x83b3[1267]](this[_0x83b3[1596]]);null!= this[_0x83b3[1522]]&& _0x187fx2[_0x83b3[1251]](this[_0x83b3[1522]]);null!= _0x187fxa&& _0x187fx2[_0x83b3[1252]](_0x187fxa);null!= this[_0x83b3[1299]]?(_0x187fx3= this[_0x83b3[1597]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[1246]](this[_0x83b3[1334]],this[_0x83b3[1299]],_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]],this[_0x83b3[607]])):_0x187fx2[_0x83b3[1245]](this[_0x83b3[1334]]);_0x187fx2[_0x83b3[1249]](this[_0x83b3[1336]])};mxShape[_0x83b3[202]][_0x83b3[1597]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){return new mxRectangle(_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)};mxShape[_0x83b3[202]][_0x83b3[1591]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[255]](this[_0x83b3[255]]);_0x187fx2[_0x83b3[1294]](this[_0x83b3[1598]](),this[_0x83b3[623]],this[_0x83b3[624]],_0x187fx3+ _0x187fx5/ 2,_0x187fx4+ _0x187fx9/ 2)};mxShape[_0x83b3[202]][_0x83b3[1593]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){this[_0x83b3[1565]]&& (this[_0x83b3[507]]== mxConstants[_0x83b3[508]]?this[_0x83b3[1599]](this[_0x83b3[252]],_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9):8!= document[_0x83b3[5]]&& this[_0x83b3[1600]](this[_0x83b3[252]]));this[_0x83b3[1561]][_0x83b3[1546]](_0x187fx2,this,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)};mxShape[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){this[_0x83b3[1601]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1267]](!1);this[_0x83b3[1602]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)};mxShape[_0x83b3[202]][_0x83b3[1601]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){};mxShape[_0x83b3[202]][_0x83b3[1602]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){};mxShape[_0x83b3[202]][_0x83b3[1594]]= function(_0x187fx2,_0x187fx3){};mxShape[_0x83b3[202]][_0x83b3[1603]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ARCSIZE,100* mxConstants[_0x83b3[1557]])/ 100;return Math[_0x83b3[243]](_0x187fx2* _0x187fx4,_0x187fx3* _0x187fx4)};mxShape[_0x83b3[202]][_0x83b3[1604]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=Math[_0x83b3[430]](this[_0x83b3[1307]]/ 2);_0x187fx2[_0x83b3[1246]](_0x83b3[1605],_0x83b3[1605],_0x187fx3,_0x187fx4,_0x187fx5,0.6* _0x187fx9,_0x83b3[701],0.9,0.1);_0x187fx2[_0x83b3[1275]]();_0x187fxa+= 2* _0x187fx12;this[_0x83b3[1606]]?(_0x187fx2[_0x83b3[1276]](_0x187fx3- _0x187fx12+ _0x187fxa,_0x187fx4- _0x187fx12),_0x187fx2[_0x83b3[1278]](_0x187fx3- _0x187fx12,_0x187fx4- _0x187fx12,_0x187fx3- _0x187fx12,_0x187fx4- _0x187fx12+ _0x187fxa),_0x187fx2[_0x83b3[1277]](_0x187fx3- _0x187fx12,_0x187fx4+ 0.4* _0x187fx9),_0x187fx2[_0x83b3[1278]](_0x187fx3+ 0.5* _0x187fx5,_0x187fx4+ 0.7* _0x187fx9,_0x187fx3+ _0x187fx5+ _0x187fx12,_0x187fx4+ 0.4* _0x187fx9),_0x187fx2[_0x83b3[1277]](_0x187fx3+ _0x187fx5+ _0x187fx12,_0x187fx4- _0x187fx12+ _0x187fxa),_0x187fx2[_0x83b3[1278]](_0x187fx3+ _0x187fx5+ _0x187fx12,_0x187fx4- _0x187fx12,_0x187fx3+ _0x187fx5+ _0x187fx12- _0x187fxa,_0x187fx4- _0x187fx12)):(_0x187fx2[_0x83b3[1276]](_0x187fx3- _0x187fx12,_0x187fx4- _0x187fx12),_0x187fx2[_0x83b3[1277]](_0x187fx3- _0x187fx12,_0x187fx4+ 0.4* _0x187fx9),_0x187fx2[_0x83b3[1278]](_0x187fx3+ 0.5* _0x187fx5,_0x187fx4+ 0.7* _0x187fx9,_0x187fx3+ _0x187fx5+ _0x187fx12,_0x187fx4+ 0.4* _0x187fx9),_0x187fx2[_0x83b3[1277]](_0x187fx3+ _0x187fx5+ _0x187fx12,_0x187fx4- _0x187fx12));_0x187fx2[_0x83b3[268]]();_0x187fx2[_0x83b3[1334]]()};mxShape[_0x83b3[202]][_0x83b3[183]]= function(_0x187fx2){this[_0x83b3[724]]= _0x187fx2;this[_0x83b3[124]]= _0x187fx2[_0x83b3[124]];if(null!= this[_0x83b3[124]]){this[_0x83b3[1334]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_FILLCOLOR,this[_0x83b3[1334]]);this[_0x83b3[1299]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_GRADIENTCOLOR,this[_0x83b3[1299]]);this[_0x83b3[607]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_GRADIENT_DIRECTION,this[_0x83b3[607]]);this[_0x83b3[461]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_OPACITY,this[_0x83b3[461]]);this[_0x83b3[1336]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_STROKECOLOR,this[_0x83b3[1336]]);this[_0x83b3[1307]]= mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_STROKEWIDTH,this[_0x83b3[1307]]);this[_0x83b3[657]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_SPACING,this[_0x83b3[657]]);this[_0x83b3[644]]= mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_STARTSIZE,this[_0x83b3[644]]);this[_0x83b3[643]]= mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_ENDSIZE,this[_0x83b3[643]]);this[_0x83b3[642]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_STARTARROW,this[_0x83b3[642]]);this[_0x83b3[641]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ENDARROW,this[_0x83b3[641]]);this[_0x83b3[603]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ROTATION,this[_0x83b3[603]]);this[_0x83b3[663]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_DIRECTION,this[_0x83b3[663]]);this[_0x83b3[623]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_FLIPH,0);this[_0x83b3[624]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_FLIPV,0);null!= this[_0x83b3[1561]]&& (this[_0x83b3[623]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],_0x83b3[1607],0)|| this[_0x83b3[623]],this[_0x83b3[624]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],_0x83b3[1608],0)|| this[_0x83b3[624]]);if(_0x83b3[700]== this[_0x83b3[663]]|| _0x83b3[701]== this[_0x83b3[663]]){_0x187fx2= this[_0x83b3[623]],this[_0x83b3[623]]= this[_0x83b3[624]],this[_0x83b3[624]]= _0x187fx2};this[_0x83b3[1596]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_SHADOW,this[_0x83b3[1596]]);this[_0x83b3[1522]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_DASHED,this[_0x83b3[1522]]);this[_0x83b3[1606]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ROUNDED,this[_0x83b3[1606]]);this[_0x83b3[617]]= 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_GLASS,this[_0x83b3[617]]);_0x83b3[130]== this[_0x83b3[1334]]&& (this[_0x83b3[1334]]= null);_0x83b3[130]== this[_0x83b3[1299]]&& (this[_0x83b3[1299]]= null);_0x83b3[130]== this[_0x83b3[1336]]&& (this[_0x83b3[1336]]= null)}};mxShape[_0x83b3[202]][_0x83b3[1609]]= function(_0x187fx2){null== _0x187fx2&& (_0x187fx2= _0x83b3[110]);this[_0x83b3[270]]= _0x187fx2;null!= this[_0x83b3[252]]&& (this[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= _0x187fx2)};mxShape[_0x83b3[202]][_0x83b3[1610]]= function(){return this[_0x83b3[270]]};mxShape[_0x83b3[202]][_0x83b3[1577]]= function(){if(null!= this[_0x83b3[1562]]){var _0x187fx2=this[_0x83b3[1611]]();if(null!= _0x187fx2){this[_0x83b3[1612]](_0x187fx2);var _0x187fx3=this[_0x83b3[1598]]();0!= _0x187fx3&& (_0x187fx2= mxUtils[_0x83b3[1613]](_0x187fx2,_0x187fx3));_0x187fx2[_0x83b3[235]]= Math[_0x83b3[519]](_0x187fx2[_0x83b3[235]]);_0x187fx2[_0x83b3[236]]= Math[_0x83b3[519]](_0x187fx2[_0x83b3[236]]);_0x187fx2[_0x83b3[117]]= Math[_0x83b3[430]](_0x187fx2[_0x83b3[117]]);_0x187fx2[_0x83b3[119]]= Math[_0x83b3[430]](_0x187fx2[_0x83b3[119]])};this[_0x83b3[1563]]= _0x187fx2}};mxShape[_0x83b3[202]][_0x83b3[1611]]= function(){var _0x187fx2=this[_0x83b3[1562]][_0x83b3[238]]();if(this[_0x83b3[1590]]()){var _0x187fx3=(_0x187fx2[_0x83b3[117]]- _0x187fx2[_0x83b3[119]])/ 2;_0x187fx2[_0x83b3[235]]+= _0x187fx3;_0x187fx2[_0x83b3[236]]-= _0x187fx3;_0x187fx3= _0x187fx2[_0x83b3[117]];_0x187fx2[_0x83b3[117]]= _0x187fx2[_0x83b3[119]];_0x187fx2[_0x83b3[119]]= _0x187fx3};return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1612]]= function(_0x187fx2){this[_0x83b3[1596]]&& (_0x187fx2[_0x83b3[117]]+= Math[_0x83b3[430]](mxConstants[_0x83b3[1237]]* this[_0x83b3[255]]),_0x187fx2[_0x83b3[119]]+= Math[_0x83b3[430]](mxConstants[_0x83b3[1238]]* this[_0x83b3[255]]));var _0x187fx3=Math[_0x83b3[430]](this[_0x83b3[1307]]* this[_0x83b3[255]]);_0x187fx2[_0x83b3[244]](Math[_0x83b3[430]](_0x187fx3/ 2))};mxShape[_0x83b3[202]][_0x83b3[1590]]= function(){return null== this[_0x83b3[1561]]&& (_0x83b3[700]== this[_0x83b3[663]]|| _0x83b3[701]== this[_0x83b3[663]])};mxShape[_0x83b3[202]][_0x83b3[1614]]= function(){return null!= this[_0x83b3[603]]?this[_0x83b3[603]]:0};mxShape[_0x83b3[202]][_0x83b3[1615]]= function(){var _0x187fx2=this[_0x83b3[1614]]();1!= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_HORIZONTAL,1)&& (_0x187fx2+= mxText[_0x83b3[202]][_0x83b3[1616]]);return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1598]]= function(){var _0x187fx2=this[_0x83b3[1614]]();null!= this[_0x83b3[663]]&& (_0x83b3[700]== this[_0x83b3[663]]?_0x187fx2+= 270:_0x83b3[703]== this[_0x83b3[663]]?_0x187fx2+= 180:_0x83b3[701]== this[_0x83b3[663]]&& (_0x187fx2+= 90));return _0x187fx2};mxShape[_0x83b3[202]][_0x83b3[1599]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[1319]);_0x187fx2[_0x83b3[57]](_0x83b3[235],_0x187fx3);_0x187fx2[_0x83b3[57]](_0x83b3[236],_0x187fx4);_0x187fx2[_0x83b3[57]](_0x83b3[117],_0x187fx5);_0x187fx2[_0x83b3[57]](_0x83b3[119],_0x187fx9);_0x187fx2[_0x83b3[57]](_0x83b3[1334],_0x83b3[130]);_0x187fx2[_0x83b3[57]](_0x83b3[1336],_0x83b3[130]);_0x187fx2[_0x83b3[57]](_0x83b3[1377],_0x83b3[1378]);this[_0x83b3[252]][_0x83b3[62]](_0x187fx2)};mxShape[_0x83b3[202]][_0x83b3[1600]]= function(_0x187fx2){_0x187fx2[_0x83b3[124]][_0x83b3[1617]]= _0x83b3[1618]+ mxClient[_0x83b3[88]]+ _0x83b3[1619]};mxShape[_0x83b3[202]][_0x83b3[1589]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3 in _0x187fx2){var _0x187fx4=_0x187fx2[_0x187fx3];_0x187fx4[_0x83b3[1587]]= (_0x187fx4[_0x83b3[1587]]|| 0)- 1;0== _0x187fx4[_0x83b3[1587]]&& null!= _0x187fx4[_0x83b3[265]]&& _0x187fx4[_0x83b3[265]][_0x83b3[266]](_0x187fx4)}}};mxShape[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[252]]&& (mxEvent[_0x83b3[762]](this[_0x83b3[252]]),null!= this[_0x83b3[252]][_0x83b3[265]]&& this[_0x83b3[252]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[252]]),this[_0x83b3[252]]= null);this[_0x83b3[1589]](this[_0x83b3[1588]]);this[_0x83b3[1588]]= null};var mxStencilRegistry={stencils:[],addStencil:function(_0x187fx2,_0x187fx3){mxStencilRegistry[_0x83b3[1620]][_0x187fx2]= _0x187fx3},getStencil:function(_0x187fx2){return mxStencilRegistry[_0x83b3[1620]][_0x187fx2]}},mxMarker={markers:[],addMarker:function(_0x187fx2,_0x187fx3){mxMarker[_0x83b3[1621]][_0x187fx2]= _0x187fx3},createMarker:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15){var _0x187fx16=mxMarker[_0x83b3[1621]][_0x187fx4];return null!= _0x187fx16?_0x187fx16(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15):null}};(function(){function _0x187fx2(_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){_0x187fx3= 1.118* _0x187fx12* _0x187fx16;_0x187fx15= 1.118* _0x187fx13* _0x187fx16;_0x187fx12*= _0x187fx14+ _0x187fx16;_0x187fx13*= _0x187fx14+ _0x187fx16;var _0x187fx18=_0x187fxa[_0x83b3[238]]();_0x187fx18[_0x83b3[235]]-= _0x187fx3;_0x187fx18[_0x83b3[236]]-= _0x187fx15;_0x187fx14= _0x187fx9!= mxConstants[_0x83b3[1622]]?1:0.75;_0x187fxa[_0x83b3[235]]+= -_0x187fx12* _0x187fx14- _0x187fx3;_0x187fxa[_0x83b3[236]]+= -_0x187fx13* _0x187fx14- _0x187fx15;return function(){_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx18[_0x83b3[235]],_0x187fx18[_0x83b3[236]]);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]- _0x187fx12- _0x187fx13/ 2,_0x187fx18[_0x83b3[236]]- _0x187fx13+ _0x187fx12/ 2);_0x187fx9== mxConstants[_0x83b3[1622]]&& _0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]- 3* _0x187fx12/ 4,_0x187fx18[_0x83b3[236]]- 3* _0x187fx13/ 4);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]+ _0x187fx13/ 2- _0x187fx12,_0x187fx18[_0x83b3[236]]- _0x187fx13- _0x187fx12/ 2);_0x187fx2[_0x83b3[268]]();_0x187fx17?_0x187fx2[_0x83b3[1337]]():_0x187fx2[_0x83b3[1336]]()}}function _0x187fx3(_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){_0x187fx15= _0x187fx9== mxConstants[_0x83b3[1623]]?0.7071:0.9862;_0x187fx3= _0x187fx12* _0x187fx16* _0x187fx15;_0x187fx15*= _0x187fx13* _0x187fx16;_0x187fx12*= _0x187fx14+ _0x187fx16;_0x187fx13*= _0x187fx14+ _0x187fx16;var _0x187fx18=_0x187fxa[_0x83b3[238]]();_0x187fx18[_0x83b3[235]]-= _0x187fx3;_0x187fx18[_0x83b3[236]]-= _0x187fx15;_0x187fxa[_0x83b3[235]]+= -_0x187fx12- _0x187fx3;_0x187fxa[_0x83b3[236]]+= -_0x187fx13- _0x187fx15;var _0x187fx19=_0x187fx9== mxConstants[_0x83b3[1623]]?2:3.4;return function(){_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx18[_0x83b3[235]],_0x187fx18[_0x83b3[236]]);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]- _0x187fx12/ 2- _0x187fx13/ _0x187fx19,_0x187fx18[_0x83b3[236]]+ _0x187fx12/ _0x187fx19- _0x187fx13/ 2);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]- _0x187fx12,_0x187fx18[_0x83b3[236]]- _0x187fx13);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]- _0x187fx12/ 2+ _0x187fx13/ _0x187fx19,_0x187fx18[_0x83b3[236]]- _0x187fx13/ 2- _0x187fx12/ _0x187fx19);_0x187fx2[_0x83b3[268]]();_0x187fx17?_0x187fx2[_0x83b3[1337]]():_0x187fx2[_0x83b3[1336]]()}}mxMarker[_0x83b3[1624]](_0x83b3[693],_0x187fx2);mxMarker[_0x83b3[1624]](_0x83b3[694],_0x187fx2);mxMarker[_0x83b3[1624]](_0x83b3[392],function(_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){_0x187fx3= 1.118* _0x187fx12* _0x187fx16;_0x187fx9= 1.118* _0x187fx13* _0x187fx16;_0x187fx12*= _0x187fx14+ _0x187fx16;_0x187fx13*= _0x187fx14+ _0x187fx16;var _0x187fx18=_0x187fxa[_0x83b3[238]]();_0x187fx18[_0x83b3[235]]-= _0x187fx3;_0x187fx18[_0x83b3[236]]-= _0x187fx9;_0x187fxa[_0x83b3[235]]+= 2* -_0x187fx3;_0x187fxa[_0x83b3[236]]+= 2* -_0x187fx9;return function(){_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx18[_0x83b3[235]]- _0x187fx12- _0x187fx13/ 2,_0x187fx18[_0x83b3[236]]- _0x187fx13+ _0x187fx12/ 2);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]],_0x187fx18[_0x83b3[236]]);_0x187fx2[_0x83b3[1277]](_0x187fx18[_0x83b3[235]]+ _0x187fx13/ 2- _0x187fx12,_0x187fx18[_0x83b3[236]]- _0x187fx13- _0x187fx12/ 2);_0x187fx2[_0x83b3[1336]]()}});mxMarker[_0x83b3[1624]](_0x83b3[695],function(_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17){var _0x187fx18=_0x187fx14/ 2,_0x187fx19=_0x187fxa[_0x83b3[238]]();_0x187fxa[_0x83b3[235]]-= _0x187fx12* _0x187fx18;_0x187fxa[_0x83b3[236]]-= _0x187fx13* _0x187fx18;return function(){_0x187fx2[_0x83b3[680]](_0x187fx19[_0x83b3[235]]- _0x187fx18,_0x187fx19[_0x83b3[236]]- _0x187fx18,_0x187fx14,_0x187fx14);_0x187fx17?_0x187fx2[_0x83b3[1337]]():_0x187fx2[_0x83b3[1336]]()}});mxMarker[_0x83b3[1624]](_0x83b3[696],_0x187fx3);mxMarker[_0x83b3[1624]](_0x83b3[697],_0x187fx3)})();function mxActor(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxActor,mxShape);mxActor[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[513]](_0x187fx3,_0x187fx4);_0x187fx2[_0x83b3[1275]]();this[_0x83b3[1625]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1337]]()};mxActor[_0x83b3[202]][_0x83b3[1625]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx3= _0x187fx5/ 3;_0x187fx2[_0x83b3[1276]](0,_0x187fx9);_0x187fx2[_0x83b3[1279]](0,3* _0x187fx9/ 5,0,2* _0x187fx9/ 5,_0x187fx5/ 2,2* _0x187fx9/ 5);_0x187fx2[_0x83b3[1279]](_0x187fx5/ 2- _0x187fx3,2* _0x187fx9/ 5,_0x187fx5/ 2- _0x187fx3,0,_0x187fx5/ 2,0);_0x187fx2[_0x83b3[1279]](_0x187fx5/ 2+ _0x187fx3,0,_0x187fx5/ 2+ _0x187fx3,2* _0x187fx9/ 5,_0x187fx5/ 2,2* _0x187fx9/ 5);_0x187fx2[_0x83b3[1279]](_0x187fx5,2* _0x187fx9/ 5,_0x187fx5,3* _0x187fx9/ 5,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[268]]()};function mxCloud(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxActor[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxCloud,mxActor);mxCloud[_0x83b3[202]][_0x83b3[1625]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[1276]](0.25* _0x187fx5,0.25* _0x187fx9);_0x187fx2[_0x83b3[1279]](0.05* _0x187fx5,0.25* _0x187fx9,0,0.5* _0x187fx9,0.16* _0x187fx5,0.55* _0x187fx9);_0x187fx2[_0x83b3[1279]](0,0.66* _0x187fx9,0.18* _0x187fx5,0.9* _0x187fx9,0.31* _0x187fx5,0.8* _0x187fx9);_0x187fx2[_0x83b3[1279]](0.4* _0x187fx5,_0x187fx9,0.7* _0x187fx5,_0x187fx9,0.8* _0x187fx5,0.8* _0x187fx9);_0x187fx2[_0x83b3[1279]](_0x187fx5,0.8* _0x187fx9,_0x187fx5,0.6* _0x187fx9,0.875* _0x187fx5,0.5* _0x187fx9);_0x187fx2[_0x83b3[1279]](_0x187fx5,0.3* _0x187fx9,0.8* _0x187fx5,0.1* _0x187fx9,0.625* _0x187fx5,0.2* _0x187fx9);_0x187fx2[_0x83b3[1279]](0.5* _0x187fx5,0.05* _0x187fx9,0.3* _0x187fx5,0.05* _0x187fx9,0.25* _0x187fx5,0.25* _0x187fx9);_0x187fx2[_0x83b3[268]]()};function mxRectangleShape(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxRectangleShape,mxShape);mxRectangleShape[_0x83b3[202]][_0x83b3[1567]]= function(){return !this[_0x83b3[1606]]&& !this[_0x83b3[617]]&& 0== this[_0x83b3[603]]};mxRectangleShape[_0x83b3[202]][_0x83b3[1601]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(this[_0x83b3[1606]]){var _0x187fxa=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ARCSIZE,100* mxConstants[_0x83b3[1557]])/ 100,_0x187fxa=Math[_0x83b3[243]](_0x187fx5* _0x187fxa,_0x187fx9* _0x187fxa);_0x187fx2[_0x83b3[1320]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fxa)}else {_0x187fx2[_0x83b3[1319]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)};_0x187fx2[_0x83b3[1337]]()};mxRectangleShape[_0x83b3[202]][_0x83b3[1602]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){this[_0x83b3[617]]&& this[_0x83b3[1604]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,this[_0x83b3[1603]](_0x187fx5+ this[_0x83b3[1307]],_0x187fx9+ this[_0x83b3[1307]]))};mxRectangleShape[_0x83b3[202]][_0x83b3[1575]]= function(){this[_0x83b3[1626]](this[_0x83b3[252]]);this[_0x83b3[1627]](this[_0x83b3[252]]);this[_0x83b3[1628]](this[_0x83b3[252]])};mxRectangleShape[_0x83b3[202]][_0x83b3[1626]]= function(_0x187fx2){var _0x187fx3=9<= document[_0x83b3[5]]?0:Math[_0x83b3[430]](this[_0x83b3[1307]]* this[_0x83b3[255]]);_0x187fx2[_0x83b3[124]][_0x83b3[1629]]= Math[_0x83b3[160]](1,_0x187fx3)+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[277]]= _0x83b3[188];_0x187fx2[_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]]- _0x187fx3/ 2)+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]]- _0x187fx3/ 2)+ _0x83b3[168];_0x83b3[462]== document[_0x83b3[135]]&& (_0x187fx3= -_0x187fx3);_0x187fx2[_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[488]](Math[_0x83b3[160]](0,this[_0x83b3[1562]][_0x83b3[117]]+ _0x187fx3))+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[488]](Math[_0x83b3[160]](0,this[_0x83b3[1562]][_0x83b3[119]]+ _0x187fx3))+ _0x83b3[168]};mxRectangleShape[_0x83b3[202]][_0x83b3[1628]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1336]];null!= _0x187fx3&& _0x187fx3!= mxConstants[_0x83b3[217]]?(_0x187fx2[_0x83b3[124]][_0x83b3[1630]]= _0x187fx3,this[_0x83b3[1522]]?_0x187fx2[_0x83b3[124]][_0x83b3[465]]= _0x83b3[648]:0< this[_0x83b3[1307]]&& (_0x187fx2[_0x83b3[124]][_0x83b3[465]]= _0x83b3[1631]),_0x187fx2[_0x83b3[124]][_0x83b3[1629]]= Math[_0x83b3[160]](1,Math[_0x83b3[430]](this[_0x83b3[1307]]* this[_0x83b3[255]]))+ _0x83b3[168]):_0x187fx2[_0x83b3[124]][_0x83b3[1629]]= _0x83b3[946];_0x187fx3= this[_0x83b3[1334]];null!= _0x187fx3&& _0x187fx3!= mxConstants[_0x83b3[217]]?(_0x187fx2[_0x83b3[124]][_0x83b3[1028]]= _0x187fx3,_0x187fx2[_0x83b3[124]][_0x83b3[1617]]= _0x83b3[130]):this[_0x83b3[1229]]?_0x187fx2[_0x83b3[124]][_0x83b3[1028]]= _0x83b3[1373]:8== document[_0x83b3[5]]?mxUtils[_0x83b3[1584]](_0x187fx2):this[_0x83b3[1600]](_0x187fx2)};mxRectangleShape[_0x83b3[202]][_0x83b3[1627]]= function(_0x187fx2){var _0x187fx3=_0x83b3[110];100> this[_0x83b3[461]]&& (_0x187fx3+= _0x83b3[459]+ this[_0x83b3[461]]+ _0x83b3[460]);this[_0x83b3[1596]]&& (_0x187fx3+= _0x83b3[1632]+ Math[_0x83b3[488]](mxConstants[_0x83b3[1237]]* this[_0x83b3[255]])+ _0x83b3[1633]+ Math[_0x83b3[488]](mxConstants[_0x83b3[1238]]* this[_0x83b3[255]])+ _0x83b3[1634]+ mxConstants[_0x83b3[1235]]+ _0x83b3[1635]);if(this[_0x83b3[1299]]){var _0x187fx4=this[_0x83b3[1334]],_0x187fx5=this[_0x83b3[1299]],_0x187fx9=_0x83b3[468],_0x187fxa={east:0,south:1,west:2,north:3},_0x187fx12=null!= this[_0x83b3[663]]?_0x187fxa[this[_0x83b3[663]]]:0;null!= this[_0x83b3[607]]&& (_0x187fx12= mxUtils[_0x83b3[1454]](_0x187fx12+ _0x187fxa[this[_0x83b3[607]]]- 1,4));1== _0x187fx12?(_0x187fx9= _0x83b3[500],_0x187fxa= _0x187fx4,_0x187fx4= _0x187fx5,_0x187fx5= _0x187fxa):2== _0x187fx12?(_0x187fxa= _0x187fx4,_0x187fx4= _0x187fx5,_0x187fx5= _0x187fxa):3== _0x187fx12&& (_0x187fx9= _0x83b3[500]);_0x187fx3+= _0x83b3[1636]+ _0x187fx4+ _0x83b3[1637]+ _0x187fx5+ _0x83b3[1638]+ _0x187fx9+ _0x83b3[1635]};_0x187fx2[_0x83b3[124]][_0x83b3[347]]= _0x187fx3};function mxEllipse(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxEllipse,mxShape);mxEllipse[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[680]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1337]]()};function mxDoubleEllipse(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxDoubleEllipse,mxShape);mxDoubleEllipse[_0x83b3[202]][_0x83b3[1460]]= 10;mxDoubleEllipse[_0x83b3[202]][_0x83b3[1601]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[680]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1337]]()};mxDoubleEllipse[_0x83b3[202]][_0x83b3[1602]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=Math[_0x83b3[243]](4,Math[_0x83b3[243]](_0x187fx5/ 5,_0x187fx9/ 5));_0x187fx5-= 2* _0x187fxa;_0x187fx9-= 2* _0x187fxa;0< _0x187fx5&& 0< _0x187fx9&& _0x187fx2[_0x83b3[680]](_0x187fx3+ _0x187fxa,_0x187fx4+ _0x187fxa,_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1336]]()};function mxRhombus(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxRhombus,mxShape);mxRhombus[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx5/ 2,_0x187fx12=_0x187fx9/ 2;_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx3+ _0x187fxa,_0x187fx4);_0x187fx2[_0x83b3[1277]](_0x187fx3+ _0x187fx5,_0x187fx4+ _0x187fx12);_0x187fx2[_0x83b3[1277]](_0x187fx3+ _0x187fxa,_0x187fx4+ _0x187fx9);_0x187fx2[_0x83b3[1277]](_0x187fx3,_0x187fx4+ _0x187fx12);_0x187fx2[_0x83b3[268]]();_0x187fx2[_0x83b3[1337]]()};function mxPolyline(_0x187fx2,_0x187fx3,_0x187fx4){mxShape[_0x83b3[239]](this);this[_0x83b3[1525]]= _0x187fx2;this[_0x83b3[1336]]= _0x187fx3;this[_0x83b3[1307]]= null!= _0x187fx4?_0x187fx4:1}mxUtils[_0x83b3[1284]](mxPolyline,mxShape);mxPolyline[_0x83b3[202]][_0x83b3[1614]]= function(){return 0};mxPolyline[_0x83b3[202]][_0x83b3[1594]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1639]](_0x187fx2,_0x187fx3,this[_0x83b3[1606]])};mxPolyline[_0x83b3[202]][_0x83b3[1639]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/ 2,_0x187fx9=_0x187fx3[0],_0x187fxa=_0x187fx3[_0x187fx3[_0x83b3[67]]- 1];_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]]);for(var _0x187fx12=1;_0x187fx12< _0x187fx3[_0x83b3[67]]- 1;_0x187fx12++){var _0x187fx13=_0x187fx3[_0x187fx12],_0x187fx14=_0x187fx9[_0x83b3[235]]- _0x187fx13[_0x83b3[235]],_0x187fx9=_0x187fx9[_0x83b3[236]]- _0x187fx13[_0x83b3[236]];if(_0x187fx4&& _0x187fx12< _0x187fx3[_0x83b3[67]]- 1&& (0!= _0x187fx14|| 0!= _0x187fx9)){var _0x187fx15=Math[_0x83b3[428]](_0x187fx14* _0x187fx14+ _0x187fx9* _0x187fx9),_0x187fx14=_0x187fx14* Math[_0x83b3[243]](_0x187fx5,_0x187fx15/ 2)/ _0x187fx15,_0x187fx9=_0x187fx9* Math[_0x83b3[243]](_0x187fx5,_0x187fx15/ 2)/ _0x187fx15;_0x187fx2[_0x83b3[1277]](_0x187fx13[_0x83b3[235]]+ _0x187fx14,_0x187fx13[_0x83b3[236]]+ _0x187fx9);_0x187fx9= _0x187fx3[_0x187fx12+ 1];_0x187fx14= _0x187fx9[_0x83b3[235]]- _0x187fx13[_0x83b3[235]];_0x187fx9= _0x187fx9[_0x83b3[236]]- _0x187fx13[_0x83b3[236]];_0x187fx15= Math[_0x83b3[160]](1,Math[_0x83b3[428]](_0x187fx14* _0x187fx14+ _0x187fx9* _0x187fx9));_0x187fx14= _0x187fx14* Math[_0x83b3[243]](_0x187fx5,_0x187fx15/ 2)/ _0x187fx15;_0x187fx9= _0x187fx9* Math[_0x83b3[243]](_0x187fx5,_0x187fx15/ 2)/ _0x187fx15;_0x187fx14= _0x187fx13[_0x83b3[235]]+ _0x187fx14;_0x187fx9= _0x187fx13[_0x83b3[236]]+ _0x187fx9;_0x187fx2[_0x83b3[1278]](_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],_0x187fx14,_0x187fx9);_0x187fx13= new mxPoint(_0x187fx14,_0x187fx9)}else {_0x187fx2[_0x83b3[1277]](_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]])};_0x187fx9= _0x187fx13};_0x187fx2[_0x83b3[1277]](_0x187fxa[_0x83b3[235]],_0x187fxa[_0x83b3[236]]);_0x187fx2[_0x83b3[1336]]()};function mxArrow(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){mxShape[_0x83b3[239]](this);this[_0x83b3[1525]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1;this[_0x83b3[1640]]= null!= _0x187fx9?_0x187fx9:mxConstants[_0x83b3[1641]];this[_0x83b3[657]]= null!= _0x187fxa?_0x187fxa:mxConstants[_0x83b3[1642]];this[_0x83b3[643]]= null!= _0x187fx12?_0x187fx12:mxConstants[_0x83b3[1643]]}mxUtils[_0x83b3[1284]](mxArrow,mxShape);mxArrow[_0x83b3[202]][_0x83b3[1594]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxConstants[_0x83b3[1642]],_0x187fx5=mxConstants[_0x83b3[1641]],_0x187fx9=mxConstants[_0x83b3[1643]],_0x187fxa=_0x187fx3[0],_0x187fx12=_0x187fx3[_0x187fx3[_0x83b3[67]]- 1],_0x187fx13=_0x187fx12[_0x83b3[235]]- _0x187fxa[_0x83b3[235]],_0x187fx14=_0x187fx12[_0x83b3[236]]- _0x187fxa[_0x83b3[236]],_0x187fx15=Math[_0x83b3[428]](_0x187fx13* _0x187fx13+ _0x187fx14* _0x187fx14),_0x187fx16=_0x187fx15- 2* _0x187fx4- _0x187fx9,_0x187fx13=_0x187fx13/ _0x187fx15,_0x187fx14=_0x187fx14/ _0x187fx15,_0x187fx15=_0x187fx5* _0x187fx14/ 3,_0x187fx5=-_0x187fx5* _0x187fx13/ 3,_0x187fx9=_0x187fxa[_0x83b3[235]]- _0x187fx15/ 2+ _0x187fx4* _0x187fx13,_0x187fxa=_0x187fxa[_0x83b3[236]]- _0x187fx5/ 2+ _0x187fx4* _0x187fx14,_0x187fx17=_0x187fx9+ _0x187fx15,_0x187fx18=_0x187fxa+ _0x187fx5,_0x187fx19=_0x187fx17+ _0x187fx16* _0x187fx13,_0x187fx16=_0x187fx18+ _0x187fx16* _0x187fx14,_0x187fx1a=_0x187fx19+ _0x187fx15,_0x187fx1b=_0x187fx16+ _0x187fx5,_0x187fx1c=_0x187fx1a- 3* _0x187fx15,_0x187fx1d=_0x187fx1b- 3* _0x187fx5;_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx9,_0x187fxa);_0x187fx2[_0x83b3[1277]](_0x187fx17,_0x187fx18);_0x187fx2[_0x83b3[1277]](_0x187fx19,_0x187fx16);_0x187fx2[_0x83b3[1277]](_0x187fx1a,_0x187fx1b);_0x187fx2[_0x83b3[1277]](_0x187fx12[_0x83b3[235]]- _0x187fx4* _0x187fx13,_0x187fx12[_0x83b3[236]]- _0x187fx4* _0x187fx14);_0x187fx2[_0x83b3[1277]](_0x187fx1c,_0x187fx1d);_0x187fx2[_0x83b3[1277]](_0x187fx1c+ _0x187fx15,_0x187fx1d+ _0x187fx5);_0x187fx2[_0x83b3[268]]();_0x187fx2[_0x83b3[1337]]()};function mxText(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15,_0x187fx16,_0x187fx17,_0x187fx18,_0x187fx19,_0x187fx1a,_0x187fx1b,_0x187fx1c,_0x187fx1d,_0x187fx1e,_0x187fx1f){mxShape[_0x83b3[239]](this);this[_0x83b3[131]]= _0x187fx2;this[_0x83b3[1562]]= _0x187fx3;this[_0x83b3[352]]= null!= _0x187fx9?_0x187fx9:_0x83b3[586];this[_0x83b3[611]]= null!= _0x187fx4?_0x187fx4:_0x83b3[110];this[_0x83b3[552]]= null!= _0x187fx5?_0x187fx5:_0x83b3[110];this[_0x83b3[1288]]= null!= _0x187fxa?_0x187fxa:mxConstants[_0x83b3[484]];this[_0x83b3[803]]= null!= _0x187fx12?_0x187fx12:mxConstants[_0x83b3[483]];this[_0x83b3[666]]= null!= _0x187fx13?_0x187fx13:mxConstants[_0x83b3[1644]];this[_0x83b3[657]]= parseInt(_0x187fx14|| 2);this[_0x83b3[658]]= this[_0x83b3[657]]+ parseInt(_0x187fx15|| 0);this[_0x83b3[661]]= this[_0x83b3[657]]+ parseInt(_0x187fx16|| 0);this[_0x83b3[660]]= this[_0x83b3[657]]+ parseInt(_0x187fx17|| 0);this[_0x83b3[659]]= this[_0x83b3[657]]+ parseInt(_0x187fx18|| 0);this[_0x83b3[662]]= null!= _0x187fx19?_0x187fx19:!0;this[_0x83b3[1537]]= _0x187fx1a;this[_0x83b3[467]]= _0x187fx1b;this[_0x83b3[1333]]= null!= _0x187fx1c?_0x187fx1c:!1;this[_0x83b3[1645]]= null!= _0x187fx1d?_0x187fx1d:!1;this[_0x83b3[277]]= null!= _0x187fx1e?_0x187fx1e:_0x83b3[189];this[_0x83b3[629]]= null!= _0x187fx1f?_0x187fx1f:0;this[_0x83b3[603]]= 0}mxUtils[_0x83b3[1284]](mxText,mxShape);mxText[_0x83b3[202]][_0x83b3[1646]]= 0;mxText[_0x83b3[202]][_0x83b3[1647]]= 0;mxText[_0x83b3[202]][_0x83b3[1648]]= 0;mxText[_0x83b3[202]][_0x83b3[1649]]= 0;mxText[_0x83b3[202]][_0x83b3[1650]]= !0;mxText[_0x83b3[202]][_0x83b3[1616]]= -90;mxText[_0x83b3[202]][_0x83b3[1651]]= !0;mxText[_0x83b3[202]][_0x83b3[1652]]= !1;mxText[_0x83b3[202]][_0x83b3[1566]]= function(){return !1};mxText[_0x83b3[202]][_0x83b3[1567]]= function(){return 8!= document[_0x83b3[5]]};mxText[_0x83b3[202]][_0x83b3[1568]]= function(){return 0};mxText[_0x83b3[202]][_0x83b3[1574]]= function(){return null!= this[_0x83b3[1562]]&& !isNaN(this[_0x83b3[1562]][_0x83b3[235]])&& !isNaN(this[_0x83b3[1562]][_0x83b3[236]])&& !isNaN(this[_0x83b3[1562]][_0x83b3[117]])&& !isNaN(this[_0x83b3[1562]][_0x83b3[119]])};mxText[_0x83b3[202]][_0x83b3[1577]]= function(){var _0x187fx2=this[_0x83b3[252]];8== document[_0x83b3[5]]&& null!= _0x187fx2[_0x83b3[285]]&& (_0x187fx2= _0x187fx2[_0x83b3[285]],null!= _0x187fx2[_0x83b3[285]]&& (_0x187fx2= _0x187fx2[_0x83b3[285]]));this[_0x83b3[1563]]= this[_0x83b3[1562]][_0x83b3[238]]();var _0x187fx3=this[_0x83b3[1615]]();if(!this[_0x83b3[1652]]&& null!= _0x187fx2&& _0x83b3[1334]!= this[_0x83b3[277]]&& (!this[_0x83b3[1645]]|| !this[_0x83b3[1651]])){var _0x187fx4=null,_0x187fx5=null;if(null!= _0x187fx2[_0x83b3[538]]){if(null!= _0x187fx2[_0x83b3[285]]&& null!= _0x187fx2[_0x83b3[285]][_0x83b3[285]]&& _0x83b3[1435]== _0x187fx2[_0x83b3[285]][_0x83b3[285]][_0x83b3[301]]){_0x187fx2= _0x187fx2[_0x83b3[285]][_0x83b3[285]],_0x187fx4= this[_0x83b3[1333]]?this[_0x83b3[1562]][_0x83b3[117]]:parseInt(_0x187fx2[_0x83b3[284]](_0x83b3[117]))* this[_0x83b3[255]],_0x187fx5= parseInt(_0x187fx2[_0x83b3[284]](_0x83b3[119]))* this[_0x83b3[255]]}else {_0x187fx3= _0x187fx2[_0x83b3[1451]]();if(0== _0x187fx3[_0x83b3[117]]&& 0== _0x187fx3[_0x83b3[119]]){return};this[_0x83b3[1563]]= new mxRectangle(_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]]);_0x187fx3= 0}}else {_0x187fx5= this[_0x83b3[724]][_0x83b3[441]][_0x83b3[1653]],null!= this[_0x83b3[359]]&& null!= this[_0x83b3[167]]?(_0x187fx4= this[_0x83b3[1333]]?this[_0x83b3[1562]][_0x83b3[117]]:this[_0x83b3[359]]* this[_0x83b3[255]],_0x187fx5= this[_0x83b3[167]]* this[_0x83b3[255]]):null!= _0x187fx5?(this[_0x83b3[1441]](_0x187fx5),this[_0x83b3[1654]](_0x187fx5),mxUtils[_0x83b3[1331]](this[_0x83b3[131]])?_0x187fx5[_0x83b3[339]]= this[_0x83b3[131]][_0x83b3[342]]:(_0x187fx4= this[_0x83b3[1650]]?this[_0x83b3[131]][_0x83b3[230]](/\n/g,_0x83b3[1453]):this[_0x83b3[131]],_0x187fx5[_0x83b3[339]]= _0x187fx4),_0x187fx4= this[_0x83b3[1333]]?this[_0x83b3[1562]][_0x83b3[117]]:_0x187fx5[_0x83b3[359]]* this[_0x83b3[255]],_0x187fx5= _0x187fx5[_0x83b3[167]]* this[_0x83b3[255]]):(_0x187fx4= this[_0x83b3[1333]]?this[_0x83b3[1562]][_0x83b3[117]]:_0x187fx2[_0x83b3[359]]* this[_0x83b3[255]],_0x187fx5= _0x187fx2[_0x83b3[167]]* this[_0x83b3[255]])};null!= _0x187fx4&& null!= _0x187fx5&& (this[_0x83b3[1563]]= new mxRectangle(this[_0x83b3[1562]][_0x83b3[235]]+ this[_0x83b3[1655]][_0x83b3[235]]* _0x187fx4,this[_0x83b3[1562]][_0x83b3[236]]+ this[_0x83b3[1655]][_0x83b3[236]]* _0x187fx5,_0x187fx4,_0x187fx5))}else {this[_0x83b3[1563]][_0x83b3[235]]+= this[_0x83b3[1655]][_0x83b3[235]]* this[_0x83b3[1563]][_0x83b3[117]],this[_0x83b3[1563]][_0x83b3[236]]+= this[_0x83b3[1655]][_0x83b3[236]]* this[_0x83b3[1563]][_0x83b3[119]]};null!= this[_0x83b3[1563]]&& (0!= _0x187fx3&& (_0x187fx3= mxUtils[_0x83b3[1613]](this[_0x83b3[1563]],_0x187fx3),this[_0x83b3[1563]][_0x83b3[235]]= _0x187fx3[_0x83b3[235]],this[_0x83b3[1563]][_0x83b3[236]]= _0x187fx3[_0x83b3[236]],mxClient[_0x83b3[496]]|| (this[_0x83b3[1563]][_0x83b3[117]]= _0x187fx3[_0x83b3[117]],this[_0x83b3[1563]][_0x83b3[119]]= _0x187fx3[_0x83b3[119]])),this[_0x83b3[1563]][_0x83b3[235]]= Math[_0x83b3[519]](this[_0x83b3[1563]][_0x83b3[235]]),this[_0x83b3[1563]][_0x83b3[236]]= Math[_0x83b3[519]](this[_0x83b3[1563]][_0x83b3[236]]),this[_0x83b3[1563]][_0x83b3[117]]= Math[_0x83b3[430]](this[_0x83b3[1563]][_0x83b3[117]]),this[_0x83b3[1563]][_0x83b3[119]]= Math[_0x83b3[430]](this[_0x83b3[1563]][_0x83b3[119]]))};mxText[_0x83b3[202]][_0x83b3[1598]]= function(){return 0};mxText[_0x83b3[202]][_0x83b3[1615]]= function(){return null!= this[_0x83b3[724]]&& null!= this[_0x83b3[724]][_0x83b3[253]]?this[_0x83b3[724]][_0x83b3[253]][_0x83b3[1615]]():0};mxText[_0x83b3[202]][_0x83b3[1590]]= function(){return !this[_0x83b3[662]]&& null!= this[_0x83b3[724]]&& this[_0x83b3[724]][_0x83b3[441]][_0x83b3[1179]][_0x83b3[251]][_0x83b3[1193]](this[_0x83b3[724]][_0x83b3[246]])};mxText[_0x83b3[202]][_0x83b3[1592]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){mxShape[_0x83b3[202]][_0x83b3[1592]][_0x83b3[183]](this,arguments);_0x187fx2[_0x83b3[1259]](this[_0x83b3[352]]);_0x187fx2[_0x83b3[1260]](this[_0x83b3[1537]]);_0x187fx2[_0x83b3[1262]](this[_0x83b3[467]]);_0x187fx2[_0x83b3[1265]](this[_0x83b3[1288]]);_0x187fx2[_0x83b3[1264]](this[_0x83b3[803]]);_0x187fx2[_0x83b3[1266]](this[_0x83b3[666]])};mxText[_0x83b3[202]][_0x83b3[1586]]= function(){this[_0x83b3[252]][_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]])+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]])+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[117]]= _0x83b3[942];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[119]]= _0x83b3[942];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[189]};mxText[_0x83b3[202]][_0x83b3[1209]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[255]],_0x187fx4=this[_0x83b3[1562]][_0x83b3[235]]/ _0x187fx3,_0x187fx5=this[_0x83b3[1562]][_0x83b3[236]]/ _0x187fx3,_0x187fx9=this[_0x83b3[1562]][_0x83b3[117]]/ _0x187fx3,_0x187fx3=this[_0x83b3[1562]][_0x83b3[119]]/ _0x187fx3;this[_0x83b3[1591]](_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fx3);this[_0x83b3[1592]](_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fx3);var _0x187fxa=mxUtils[_0x83b3[1331]](this[_0x83b3[131]])|| this[_0x83b3[507]]== mxConstants[_0x83b3[1656]],_0x187fx12=_0x187fxa|| _0x187fx2 instanceof mxVmlCanvas2D?_0x83b3[1428]:_0x83b3[110],_0x187fx13=this[_0x83b3[131]];!_0x187fxa&& _0x83b3[1428]== _0x187fx12&& (_0x187fx13= mxUtils[_0x83b3[321]](_0x187fx13,!1));_0x187fx13= !mxUtils[_0x83b3[1331]](this[_0x83b3[131]])&& this[_0x83b3[1650]]&& _0x83b3[1428]== _0x187fx12?_0x187fx13[_0x83b3[230]](/\n/g,_0x83b3[1453]):_0x187fx13;_0x187fx2[_0x83b3[963]](_0x187fx4,_0x187fx5,_0x187fx9,_0x187fx3,_0x187fx13,this[_0x83b3[611]],this[_0x83b3[552]],this[_0x83b3[1333]],_0x187fx12,_0x83b3[1334]== this[_0x83b3[277]],this[_0x83b3[1645]],this[_0x83b3[1615]]())};mxText[_0x83b3[202]][_0x83b3[1575]]= function(){var _0x187fx2=this[_0x83b3[252]][_0x83b3[124]];_0x187fx2[_0x83b3[461]]= 1> this[_0x83b3[461]]?this[_0x83b3[461]]:_0x83b3[110];_0x187fx2[_0x83b3[277]]= _0x83b3[110];_0x187fx2[_0x83b3[117]]= _0x83b3[110];_0x187fx2[_0x83b3[119]]= _0x83b3[110];this[_0x83b3[1441]](this[_0x83b3[252]]);this[_0x83b3[1654]](this[_0x83b3[252]]);this[_0x83b3[1657]]();this[_0x83b3[167]]= this[_0x83b3[359]]= null;null!= mxClient[_0x83b3[73]]?this[_0x83b3[1658]]():this[_0x83b3[1659]]()};mxText[_0x83b3[202]][_0x83b3[1658]]= function(){var _0x187fx2=this[_0x83b3[1615]](),_0x187fx3=this[_0x83b3[252]][_0x83b3[124]],_0x187fx4=this[_0x83b3[1655]][_0x83b3[235]],_0x187fx5=this[_0x83b3[1655]][_0x83b3[236]];0!= _0x187fx2?(_0x187fx3[mxClient[_0x83b3[73]]+ _0x83b3[1660]]= 100* -_0x187fx4+ _0x83b3[1661]+ 100* -_0x187fx5+ _0x83b3[229],_0x187fx3[mxClient[_0x83b3[73]]+ _0x83b3[1662]]= _0x83b3[536]+ 100* _0x187fx4+ _0x83b3[1663]+ 100* _0x187fx5+ _0x83b3[1664]+ this[_0x83b3[255]]+ _0x83b3[1665]+ _0x187fx2+ _0x83b3[1666]):(_0x187fx3[mxClient[_0x83b3[73]]+ _0x83b3[1660]]= _0x83b3[1667],_0x187fx3[mxClient[_0x83b3[73]]+ _0x83b3[1662]]= _0x83b3[1402]+ this[_0x83b3[255]]+ _0x83b3[1393]+ 100* _0x187fx4+ _0x83b3[1663]+ 100* _0x187fx5+ _0x83b3[1668]);_0x187fx3[_0x83b3[361]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]])+ _0x83b3[168];_0x187fx3[_0x83b3[125]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]])+ _0x83b3[168]};mxText[_0x83b3[202]][_0x83b3[1659]]= function(){var _0x187fx2=this[_0x83b3[252]][_0x83b3[124]],_0x187fx3=this[_0x83b3[1655]][_0x83b3[235]],_0x187fx4=this[_0x83b3[1655]][_0x83b3[236]],_0x187fx5=this[_0x83b3[255]];_0x187fx2[_0x83b3[347]]= _0x83b3[110];var _0x187fx9=0,_0x187fxa=0,_0x187fx12=null!= this[_0x83b3[724]]?this[_0x83b3[724]][_0x83b3[441]][_0x83b3[1653]]:null;if(null!= _0x187fx12){_0x187fx12[_0x83b3[124]][_0x83b3[277]]= _0x83b3[110];_0x187fx12[_0x83b3[124]][_0x83b3[119]]= _0x83b3[110];_0x187fx12[_0x83b3[124]][_0x83b3[117]]= _0x83b3[110];this[_0x83b3[1441]](_0x187fx12);this[_0x83b3[1654]](_0x187fx12);if(mxUtils[_0x83b3[1331]](this[_0x83b3[131]])){_0x187fx12[_0x83b3[339]]= this[_0x83b3[131]][_0x83b3[342]]}else {var _0x187fx13=this[_0x83b3[131]];this[_0x83b3[507]]!= mxConstants[_0x83b3[1656]]&& (_0x187fx13= mxUtils[_0x83b3[321]](_0x187fx13,!1));_0x187fx13= this[_0x83b3[1650]]?_0x187fx13[_0x83b3[230]](/\n/g,_0x83b3[1453]):_0x187fx13;_0x187fx12[_0x83b3[339]]= _0x187fx13};_0x187fx9= _0x187fx12[_0x83b3[359]]+ 2;_0x187fxa= _0x187fx12[_0x83b3[167]]+ 2}else {_0x187fx9= this[_0x83b3[252]][_0x83b3[359]],_0x187fxa= this[_0x83b3[252]][_0x83b3[167]]+ 1};this[_0x83b3[359]]= _0x187fx9;this[_0x83b3[167]]= _0x187fxa;_0x187fx12= this[_0x83b3[1562]][_0x83b3[117]]/ _0x187fx5;_0x187fx13= this[_0x83b3[1562]][_0x83b3[119]]/ _0x187fx5;mxClient[_0x83b3[496]]&& (this[_0x83b3[1645]]|| _0x83b3[1334]== this[_0x83b3[277]])&& 0< _0x187fx13?(_0x187fx13= Math[_0x83b3[243]](_0x187fx13,_0x187fxa),_0x187fx2[_0x83b3[119]]= Math[_0x83b3[488]](_0x187fx13+ 1)+ _0x83b3[168]):_0x187fx13= _0x187fxa;_0x83b3[1334]!= this[_0x83b3[277]]&& (mxClient[_0x83b3[496]]&& (this[_0x83b3[1645]]|| this[_0x83b3[1333]])&& 0< _0x187fx12?(_0x187fx12= Math[_0x83b3[243]](_0x187fx12,_0x187fx9),_0x187fx2[_0x83b3[117]]= Math[_0x83b3[488]](_0x187fx12)+ _0x83b3[168]):_0x187fx12= _0x187fx9);var _0x187fx13=_0x187fx13* _0x187fx5,_0x187fx12=_0x187fx12* _0x187fx5,_0x187fx9=this[_0x83b3[1615]]()* (Math[_0x83b3[424]]/ 180),_0x187fxa=parseFloat(parseFloat(Math[_0x83b3[426]](_0x187fx9))[_0x83b3[1293]](8)),_0x187fx14=parseFloat(parseFloat(Math[_0x83b3[427]](-_0x187fx9))[_0x83b3[1293]](8)),_0x187fx9=_0x187fx9% (2* Math[_0x83b3[424]]);0> _0x187fx9&& (_0x187fx9+= 2* Math[_0x83b3[424]]);_0x187fx9%= Math[_0x83b3[424]];_0x187fx9> Math[_0x83b3[424]]/ 2&& (_0x187fx9= Math[_0x83b3[424]]- _0x187fx9);var _0x187fx15=Math[_0x83b3[426]](_0x187fx9),_0x187fx16=Math[_0x83b3[427]](-_0x187fx9),_0x187fx3=_0x187fx12* -(_0x187fx3+ 0.5),_0x187fx4=_0x187fx13* -(_0x187fx4+ 0.5),_0x187fx17=(_0x187fx13- _0x187fx13* _0x187fx15+ _0x187fx12* _0x187fx16)/ 2+ _0x187fx14* _0x187fx3- _0x187fxa* _0x187fx4;0!= _0x187fx9&& (_0x187fx2[_0x83b3[347]]= _0x83b3[1505]+ _0x187fxa+ _0x83b3[1506]+ _0x187fx14+ _0x83b3[1507]+ -_0x187fx14+ _0x83b3[1508]+ _0x187fxa+ _0x83b3[1509]);_0x187fx2[_0x83b3[499]]= _0x187fx5;_0x187fx2[_0x83b3[361]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]]+ ((_0x187fx12- _0x187fx12* _0x187fx15+ _0x187fx13* _0x187fx16)/ 2- _0x187fxa* _0x187fx3- _0x187fx14* _0x187fx4)- _0x187fx12/ 2)+ _0x83b3[168];_0x187fx2[_0x83b3[125]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]]+ _0x187fx17- _0x187fx13/ 2)+ _0x83b3[168]};mxText[_0x83b3[202]][_0x83b3[1657]]= function(){if(mxUtils[_0x83b3[1331]](this[_0x83b3[131]])){this[_0x83b3[252]][_0x83b3[339]]= _0x83b3[110],this[_0x83b3[252]][_0x83b3[62]](this[_0x83b3[131]])}else {var _0x187fx2=this[_0x83b3[131]];this[_0x83b3[507]]!= mxConstants[_0x83b3[1656]]&& (_0x187fx2= mxUtils[_0x83b3[321]](_0x187fx2,!1));var _0x187fx2=this[_0x83b3[1650]]?_0x187fx2[_0x83b3[230]](/\n/g,_0x83b3[1453]):_0x187fx2,_0x187fx3=null!= this[_0x83b3[1537]]&& this[_0x83b3[1537]]!= mxConstants[_0x83b3[217]]?this[_0x83b3[1537]]:null,_0x187fx4=null!= this[_0x83b3[467]]&& this[_0x83b3[467]]!= mxConstants[_0x83b3[217]]?this[_0x83b3[467]]:null;if(null!= _0x187fx3|| null!= _0x187fx4){if(_0x83b3[1334]== this[_0x83b3[277]]){null!= _0x187fx3&& (this[_0x83b3[252]][_0x83b3[124]][_0x83b3[1028]]= _0x187fx3),null!= _0x187fx4&& (this[_0x83b3[252]][_0x83b3[124]][_0x83b3[467]]= _0x83b3[1669]+ _0x187fx4)}else {var _0x187fx5=_0x83b3[110];null!= _0x187fx3&& (_0x187fx5+= _0x83b3[1418]+ _0x187fx3+ _0x83b3[471]);null!= _0x187fx4&& (_0x187fx5+= _0x83b3[1419]+ _0x187fx4+ _0x83b3[471]);_0x187fx2= _0x83b3[1670]+ _0x187fx5+ _0x83b3[1671]+ this[_0x83b3[252]][_0x83b3[124]][_0x83b3[489]]+ _0x83b3[1423]+ _0x187fx2+ _0x83b3[1424];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[489]]= _0x83b3[110]}};this[_0x83b3[252]][_0x83b3[339]]= _0x187fx2}};mxText[_0x83b3[202]][_0x83b3[1441]]= function(_0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[124]];_0x187fx2[_0x83b3[489]]= Math[_0x83b3[488]](this[_0x83b3[803]]* mxConstants[_0x83b3[490]])+ _0x83b3[168];_0x187fx2[_0x83b3[487]]= Math[_0x83b3[488]](this[_0x83b3[803]])+ _0x83b3[168];_0x187fx2[_0x83b3[486]]= this[_0x83b3[1288]];_0x187fx2[_0x83b3[123]]= _0x83b3[125];_0x187fx2[_0x83b3[352]]= this[_0x83b3[352]];_0x187fx2[_0x83b3[1452]]= (this[_0x83b3[666]]& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]]?_0x83b3[1447]:_0x83b3[110];_0x187fx2[_0x83b3[666]]= (this[_0x83b3[666]]& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]]?_0x83b3[1449]:_0x83b3[110];_0x187fx2[_0x83b3[1498]]= (this[_0x83b3[666]]& mxConstants[_0x83b3[1414]])== mxConstants[_0x83b3[1414]]?_0x83b3[355]:_0x83b3[110];_0x187fx2[_0x83b3[1165]]= this[_0x83b3[611]]== mxConstants[_0x83b3[479]]?_0x83b3[698]:this[_0x83b3[611]]== mxConstants[_0x83b3[480]]?_0x83b3[699]:_0x83b3[361]};mxText[_0x83b3[202]][_0x83b3[1654]]= function(_0x187fx2){var _0x187fx3=Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[117]]/ this[_0x83b3[255]]),_0x187fx4=Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[119]]/ this[_0x83b3[255]]);_0x187fx2= _0x187fx2[_0x83b3[124]];this[_0x83b3[1645]]?(_0x187fx2[_0x83b3[277]]= _0x83b3[188],0< _0x187fx4&& (_0x187fx2[_0x83b3[1503]]= _0x187fx4+ _0x83b3[168]),0< _0x187fx3&& (_0x187fx2[_0x83b3[117]]= _0x187fx3+ _0x83b3[168])):_0x83b3[1334]== this[_0x83b3[277]]&& (_0x187fx2[_0x83b3[117]]= _0x187fx3+ _0x83b3[168],0< _0x187fx4&& (_0x187fx2[_0x83b3[1503]]= _0x187fx4+ _0x83b3[168]));this[_0x83b3[1333]]?(!this[_0x83b3[1645]]&& 0< _0x187fx3&& (_0x187fx2[_0x83b3[117]]= _0x187fx3+ _0x83b3[168]),_0x187fx2[_0x83b3[493]]= _0x83b3[1502]):_0x187fx2[_0x83b3[493]]= _0x83b3[494]};mxText[_0x83b3[202]][_0x83b3[1672]]= function(){this[_0x83b3[1655]]= mxUtils[_0x83b3[1501]](this[_0x83b3[611]],this[_0x83b3[552]])};mxText[_0x83b3[202]][_0x83b3[1673]]= function(){var _0x187fx2=0,_0x187fx3=0,_0x187fx2=this[_0x83b3[611]]== mxConstants[_0x83b3[479]]?(this[_0x83b3[659]]- this[_0x83b3[661]])/ 2:this[_0x83b3[611]]== mxConstants[_0x83b3[480]]?-this[_0x83b3[661]]- this[_0x83b3[1649]]:this[_0x83b3[659]]+ this[_0x83b3[1648]],_0x187fx3=this[_0x83b3[552]]== mxConstants[_0x83b3[481]]?(this[_0x83b3[658]]- this[_0x83b3[660]])/ 2:this[_0x83b3[552]]== mxConstants[_0x83b3[482]]?-this[_0x83b3[660]]- this[_0x83b3[1647]]:this[_0x83b3[658]]+ this[_0x83b3[1646]];return new mxPoint(_0x187fx2,_0x187fx3)};function mxTriangle(){mxActor[_0x83b3[239]](this)}mxUtils[_0x83b3[1284]](mxTriangle,mxActor);mxTriangle[_0x83b3[202]][_0x83b3[1625]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[1276]](0,0);_0x187fx2[_0x83b3[1277]](_0x187fx5,0.5* _0x187fx9);_0x187fx2[_0x83b3[1277]](0,_0x187fx9);_0x187fx2[_0x83b3[268]]()};function mxHexagon(){mxActor[_0x83b3[239]](this)}mxUtils[_0x83b3[1284]](mxHexagon,mxActor);mxHexagon[_0x83b3[202]][_0x83b3[1625]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[1276]](0.25* _0x187fx5,0);_0x187fx2[_0x83b3[1277]](0.75* _0x187fx5,0);_0x187fx2[_0x83b3[1277]](_0x187fx5,0.5* _0x187fx9);_0x187fx2[_0x83b3[1277]](0.75* _0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1277]](0.25* _0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[1277]](0,0.5* _0x187fx9);_0x187fx2[_0x83b3[268]]()};function mxLine(_0x187fx2,_0x187fx3,_0x187fx4){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1336]]= _0x187fx3;this[_0x83b3[1307]]= null!= _0x187fx4?_0x187fx4:1}mxUtils[_0x83b3[1284]](mxLine,mxShape);mxLine[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx4+= _0x187fx9/ 2;_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx3,_0x187fx4);_0x187fx2[_0x83b3[1277]](_0x187fx3+ _0x187fx5,_0x187fx4);_0x187fx2[_0x83b3[1336]]()};function mxImageShape(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[618]]= _0x187fx3;this[_0x83b3[1334]]= _0x187fx4;this[_0x83b3[1336]]= _0x187fx5;this[_0x83b3[1307]]= null!= _0x187fx9?_0x187fx9:1;this[_0x83b3[639]]= !1}mxUtils[_0x83b3[1284]](mxImageShape,mxRectangleShape);mxImageShape[_0x83b3[202]][_0x83b3[1674]]= !0;mxImageShape[_0x83b3[202]][_0x83b3[1568]]= function(){return !mxClient[_0x83b3[80]]?0.5:0};mxImageShape[_0x83b3[202]][_0x83b3[183]]= function(_0x187fx2){mxShape[_0x83b3[202]][_0x83b3[183]][_0x83b3[183]](this,arguments);this[_0x83b3[1299]]= this[_0x83b3[1336]]= this[_0x83b3[1334]]= null;null!= this[_0x83b3[124]]&& (this[_0x83b3[1334]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_BACKGROUND),this[_0x83b3[1336]]= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_BORDER),this[_0x83b3[1674]]= 1== mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_ASPECT,1),this[_0x83b3[623]]= this[_0x83b3[623]]|| 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],_0x83b3[1675],0),this[_0x83b3[624]]= this[_0x83b3[624]]|| 1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],_0x83b3[1676],0))};mxImageShape[_0x83b3[202]][_0x83b3[1567]]= function(){return !this[_0x83b3[1674]]};mxImageShape[_0x83b3[202]][_0x83b3[1570]]= function(){var _0x187fx2=document[_0x83b3[55]](_0x83b3[485]);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];return _0x187fx2};mxImageShape[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= this[_0x83b3[618]]){var _0x187fxa=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_BACKGROUND,null),_0x187fx12=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_BORDER,null);if(null!= _0x187fxa|| null!= _0x187fx12){_0x187fx2[_0x83b3[1245]](_0x187fxa),_0x187fx2[_0x83b3[1249]](_0x187fx12),_0x187fx2[_0x83b3[1319]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[1337]]()};_0x187fx2[_0x83b3[618]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,this[_0x83b3[618]],this[_0x83b3[1674]],!1,!1)}else {mxRectangleShape[_0x83b3[202]][_0x83b3[1601]][_0x83b3[183]](this,arguments)}};mxImageShape[_0x83b3[202]][_0x83b3[1575]]= function(){this[_0x83b3[252]][_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]])+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]])+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[160]](0,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[117]]))+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[160]](0,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[119]]))+ _0x83b3[168];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[1028]]= this[_0x83b3[1334]]|| _0x83b3[110];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[1630]]= this[_0x83b3[1336]]|| _0x83b3[110];this[_0x83b3[252]][_0x83b3[339]]= _0x83b3[110];if(null!= this[_0x83b3[618]]){var _0x187fx2=document[_0x83b3[55]](mxClient[_0x83b3[49]]|| null== mxClient[_0x83b3[73]]&& 0!= this[_0x83b3[603]]?mxClient[_0x83b3[463]]+ _0x83b3[464]:_0x83b3[466]);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx2[_0x83b3[390]]= this[_0x83b3[618]];var _0x187fx3=100> this[_0x83b3[461]]?_0x83b3[459]+ this[_0x83b3[461]]+ _0x83b3[460]:_0x83b3[110];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[347]]= _0x187fx3;this[_0x83b3[623]]&& this[_0x83b3[624]]?_0x187fx3+= _0x83b3[1677]:this[_0x83b3[623]]?_0x187fx3+= _0x83b3[1678]:this[_0x83b3[624]]&& (_0x187fx3+= _0x83b3[1679]);_0x187fx2[_0x83b3[124]][_0x83b3[347]]!= _0x187fx3&& (_0x187fx2[_0x83b3[124]][_0x83b3[347]]= _0x187fx3);_0x83b3[618]== _0x187fx2[_0x83b3[301]]?_0x187fx2[_0x83b3[124]][_0x83b3[603]]= this[_0x83b3[603]]:_0x187fx2[_0x83b3[124]][mxClient[_0x83b3[73]]+ _0x83b3[1662]]= _0x83b3[1394]+ this[_0x83b3[603]]+ _0x83b3[1666];_0x187fx2[_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[252]][_0x83b3[124]][_0x83b3[117]];_0x187fx2[_0x83b3[124]][_0x83b3[119]]= this[_0x83b3[252]][_0x83b3[124]][_0x83b3[119]];this[_0x83b3[252]][_0x83b3[124]][_0x83b3[1617]]= _0x83b3[110];this[_0x83b3[252]][_0x83b3[62]](_0x187fx2)}else {this[_0x83b3[1600]](this[_0x83b3[252]])}};function mxLabel(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxRectangleShape[_0x83b3[239]](this,_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5)}mxUtils[_0x83b3[1284]](mxLabel,mxRectangleShape);mxLabel[_0x83b3[202]][_0x83b3[1680]]= mxConstants[_0x83b3[1681]];mxLabel[_0x83b3[202]][_0x83b3[657]]= 2;mxLabel[_0x83b3[202]][_0x83b3[1682]]= 10;mxLabel[_0x83b3[202]][_0x83b3[635]]= 2;mxLabel[_0x83b3[202]][_0x83b3[176]]= function(_0x187fx2){mxShape[_0x83b3[202]][_0x83b3[176]][_0x83b3[183]](this,arguments);null!= this[_0x83b3[632]]&& null!= this[_0x83b3[630]]&& (this[_0x83b3[1683]]= new this[_0x83b3[630]],this[_0x83b3[1683]][_0x83b3[507]]= this[_0x83b3[507]],this[_0x83b3[1683]][_0x83b3[1562]]= this[_0x83b3[1562]],this[_0x83b3[1683]][_0x83b3[1334]]= this[_0x83b3[632]],this[_0x83b3[1683]][_0x83b3[1336]]= this[_0x83b3[632]],this[_0x83b3[1683]][_0x83b3[1299]]= this[_0x83b3[634]],this[_0x83b3[1683]][_0x83b3[663]]= this[_0x83b3[638]],this[_0x83b3[1683]][_0x83b3[176]](this[_0x83b3[252]]))};mxLabel[_0x83b3[202]][_0x83b3[258]]= function(){null!= this[_0x83b3[1683]]&& (this[_0x83b3[1683]][_0x83b3[1334]]= this[_0x83b3[632]],this[_0x83b3[1683]][_0x83b3[1336]]= this[_0x83b3[632]],this[_0x83b3[1683]][_0x83b3[1299]]= this[_0x83b3[634]],this[_0x83b3[1683]][_0x83b3[663]]= this[_0x83b3[638]]);mxShape[_0x83b3[202]][_0x83b3[258]][_0x83b3[183]](this,arguments)};mxLabel[_0x83b3[202]][_0x83b3[1567]]= function(){return mxRectangleShape[_0x83b3[202]][_0x83b3[1567]][_0x83b3[183]](this,arguments)&& null== this[_0x83b3[632]]&& null== this[_0x83b3[630]]};mxLabel[_0x83b3[202]][_0x83b3[1602]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){this[_0x83b3[1684]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);this[_0x83b3[1685]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9);mxRectangleShape[_0x83b3[202]][_0x83b3[1602]][_0x83b3[183]](this,arguments)};mxLabel[_0x83b3[202]][_0x83b3[1684]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){null!= this[_0x83b3[618]]&& (_0x187fx3= this[_0x83b3[1686]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[618]](_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]],this[_0x83b3[618]],!1,!1,!1))};mxLabel[_0x83b3[202]][_0x83b3[1686]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0x187fxa=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0x187fx12=mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),_0x187fx13=mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),_0x187fx14=mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_SPACING,this[_0x83b3[657]])+ 5;_0x187fx2= _0x187fx9== mxConstants[_0x83b3[479]]?_0x187fx2+ (_0x187fx4- _0x187fx12)/ 2:_0x187fx9== mxConstants[_0x83b3[480]]?_0x187fx2+ (_0x187fx4- _0x187fx12- _0x187fx14):_0x187fx2+ _0x187fx14;_0x187fx3= _0x187fxa== mxConstants[_0x83b3[1687]]?_0x187fx3+ _0x187fx14:_0x187fxa== mxConstants[_0x83b3[482]]?_0x187fx3+ (_0x187fx5- _0x187fx13- _0x187fx14):_0x187fx3+ (_0x187fx5- _0x187fx13)/ 2;return new mxRectangle(_0x187fx2,_0x187fx3,_0x187fx12,_0x187fx13)};mxLabel[_0x83b3[202]][_0x83b3[1685]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){null!= this[_0x83b3[1683]]?(this[_0x83b3[1683]][_0x83b3[1562]]= this[_0x83b3[1688]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),this[_0x83b3[1683]][_0x83b3[1209]](_0x187fx2)):null!= this[_0x83b3[631]]&& (_0x187fx3= this[_0x83b3[1688]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[618]](_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]],this[_0x83b3[631]],!1,!1,!1))};mxLabel[_0x83b3[202]][_0x83b3[1688]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0x187fxa=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0x187fx12=mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_INDICATOR_WIDTH,this[_0x83b3[1682]]),_0x187fx13=mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_INDICATOR_HEIGHT,this[_0x83b3[1682]]),_0x187fx14=this[_0x83b3[657]]+ 5;_0x187fx2= _0x187fx9== mxConstants[_0x83b3[480]]?_0x187fx2+ (_0x187fx4- _0x187fx12- _0x187fx14):_0x187fx9== mxConstants[_0x83b3[479]]?_0x187fx2+ (_0x187fx4- _0x187fx12)/ 2:_0x187fx2+ _0x187fx14;_0x187fx3= _0x187fxa== mxConstants[_0x83b3[482]]?_0x187fx3+ (_0x187fx5- _0x187fx13- _0x187fx14):_0x187fxa== mxConstants[_0x83b3[1687]]?_0x187fx3+ _0x187fx14:_0x187fx3+ (_0x187fx5- _0x187fx13)/ 2;return new mxRectangle(_0x187fx2,_0x187fx3,_0x187fx12,_0x187fx13)};mxLabel[_0x83b3[202]][_0x83b3[1575]]= function(){for(mxRectangleShape[_0x83b3[202]][_0x83b3[1575]][_0x83b3[183]](this,arguments);this[_0x83b3[252]][_0x83b3[1580]]();){this[_0x83b3[252]][_0x83b3[266]](this[_0x83b3[252]][_0x83b3[1581]])};if(null!= this[_0x83b3[618]]){var _0x187fx2=document[_0x83b3[55]](_0x83b3[466]);_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[1500];_0x187fx2[_0x83b3[57]](_0x83b3[467],_0x83b3[468]);var _0x187fx3=this[_0x83b3[1686]](this[_0x83b3[1562]][_0x83b3[235]],this[_0x83b3[1562]][_0x83b3[236]],this[_0x83b3[1562]][_0x83b3[117]],this[_0x83b3[1562]][_0x83b3[119]]);_0x187fx3[_0x83b3[235]]-= this[_0x83b3[1562]][_0x83b3[235]];_0x187fx3[_0x83b3[236]]-= this[_0x83b3[1562]][_0x83b3[236]];_0x187fx2[_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[488]](_0x187fx3[_0x83b3[235]])+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[488]](_0x187fx3[_0x83b3[236]])+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[488]](_0x187fx3[_0x83b3[117]])+ _0x83b3[168];_0x187fx2[_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[488]](_0x187fx3[_0x83b3[119]])+ _0x83b3[168];_0x187fx2[_0x83b3[390]]= this[_0x83b3[618]];this[_0x83b3[252]][_0x83b3[62]](_0x187fx2)}};function mxCylinder(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxCylinder,mxShape);mxCylinder[_0x83b3[202]][_0x83b3[1503]]= 40;mxCylinder[_0x83b3[202]][_0x83b3[1564]]= 0;mxCylinder[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[513]](_0x187fx3,_0x187fx4);_0x187fx2[_0x83b3[1275]]();this[_0x83b3[1625]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,!1);_0x187fx2[_0x83b3[1337]]();_0x187fx2[_0x83b3[1267]](!1);_0x187fx2[_0x83b3[1275]]();this[_0x83b3[1625]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,!0);_0x187fx2[_0x83b3[1336]]()};mxCylinder[_0x83b3[202]][_0x83b3[1625]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx3= Math[_0x83b3[243]](this[_0x83b3[1503]],Math[_0x83b3[488]](_0x187fx9/ 5));if(_0x187fxa&& null!= this[_0x83b3[1334]]|| !_0x187fxa&& null== this[_0x83b3[1334]]){_0x187fx2[_0x83b3[1276]](0,_0x187fx3),_0x187fx2[_0x83b3[1279]](0,2* _0x187fx3,_0x187fx5,2* _0x187fx3,_0x187fx5,_0x187fx3),_0x187fxa|| (_0x187fx2[_0x83b3[1336]](),_0x187fx2[_0x83b3[1275]]())};_0x187fxa|| (_0x187fx2[_0x83b3[1276]](0,_0x187fx3),_0x187fx2[_0x83b3[1279]](0,-_0x187fx3/ 3,_0x187fx5,-_0x187fx3/ 3,_0x187fx5,_0x187fx3),_0x187fx2[_0x83b3[1277]](_0x187fx5,_0x187fx9- _0x187fx3),_0x187fx2[_0x83b3[1279]](_0x187fx5,_0x187fx9+ _0x187fx3/ 3,0,_0x187fx9+ _0x187fx3/ 3,0,_0x187fx9- _0x187fx3),_0x187fx2[_0x83b3[268]]())};function mxConnector(_0x187fx2,_0x187fx3,_0x187fx4){mxPolyline[_0x83b3[239]](this,_0x187fx2,_0x187fx3,_0x187fx4)}mxUtils[_0x83b3[1284]](mxConnector,mxPolyline);mxConnector[_0x83b3[202]][_0x83b3[1594]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1689]](_0x187fx2,_0x187fx3,!0),_0x187fx5=this[_0x83b3[1689]](_0x187fx2,_0x187fx3,!1);null== this[_0x83b3[124]]|| 1!= this[_0x83b3[124]][mxConstants[_0x83b3[1690]]]?this[_0x83b3[1639]](_0x187fx2,_0x187fx3,this[_0x83b3[1606]]):this[_0x83b3[1691]](_0x187fx2,_0x187fx3);_0x187fx2[_0x83b3[1245]](this[_0x83b3[1336]]);_0x187fx2[_0x83b3[1267]](!1);_0x187fx2[_0x83b3[1251]](!1);null!= _0x187fx4&& _0x187fx4();null!= _0x187fx5&& _0x187fx5()};mxConnector[_0x83b3[202]][_0x83b3[1691]]= function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[1275]]();var _0x187fx4=_0x187fx3[0],_0x187fx5=_0x187fx3[_0x83b3[67]];_0x187fx2[_0x83b3[1276]](_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]]);for(_0x187fx4= 1;_0x187fx4< _0x187fx5- 2;_0x187fx4++){var _0x187fx9=_0x187fx3[_0x187fx4],_0x187fxa=_0x187fx3[_0x187fx4+ 1];_0x187fx2[_0x83b3[1278]](_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],(_0x187fx9[_0x83b3[235]]+ _0x187fxa[_0x83b3[235]])/ 2,(_0x187fx9[_0x83b3[236]]+ _0x187fxa[_0x83b3[236]])/ 2)};_0x187fx9= _0x187fx3[_0x187fx5- 2];_0x187fxa= _0x187fx3[_0x187fx5- 1];_0x187fx2[_0x83b3[1278]](_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],_0x187fxa[_0x83b3[235]],_0x187fxa[_0x83b3[236]]);_0x187fx2[_0x83b3[1336]]()};mxConnector[_0x83b3[202]][_0x83b3[1689]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx3[_0x83b3[67]],_0x187fx9=_0x187fx4?_0x187fx3[1]:_0x187fx3[_0x187fx5- 2];_0x187fx3= _0x187fx4?_0x187fx3[0]:_0x187fx3[_0x187fx5- 1];var _0x187fx5=_0x187fx3[_0x83b3[235]]- _0x187fx9[_0x83b3[235]],_0x187fxa=_0x187fx3[_0x83b3[236]]- _0x187fx9[_0x83b3[236]],_0x187fx12=Math[_0x83b3[160]](1,Math[_0x83b3[428]](_0x187fx5* _0x187fx5+ _0x187fxa* _0x187fxa)),_0x187fx9=_0x187fx5/ _0x187fx12,_0x187fx5=_0x187fxa/ _0x187fx12,_0x187fxa=mxUtils[_0x83b3[1550]](this[_0x83b3[124]],_0x187fx4?mxConstants[_0x83b3[1692]]:mxConstants[_0x83b3[1693]],mxConstants.DEFAULT_MARKERSIZE),_0x187fx12=mxUtils[_0x83b3[433]](this[_0x83b3[124]],_0x187fx4?mxConstants[_0x83b3[1694]]:mxConstants[_0x83b3[1695]]);return mxMarker[_0x83b3[1689]](_0x187fx2,this,_0x187fx12,_0x187fx3,_0x187fx9,_0x187fx5,_0x187fxa,_0x187fx4,this[_0x83b3[1307]],0!= this[_0x83b3[124]][_0x187fx4?mxConstants[_0x83b3[1696]]:mxConstants[_0x83b3[1697]]])};mxConnector[_0x83b3[202]][_0x83b3[1612]]= function(_0x187fx2){mxShape[_0x83b3[202]][_0x83b3[1612]][_0x83b3[183]](this,arguments);var _0x187fx3=0;mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_STARTARROW,mxConstants.NONE)!= mxConstants[_0x83b3[217]]&& (_0x187fx3= mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+ 1);mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ENDARROW,mxConstants.NONE)!= mxConstants[_0x83b3[217]]&& (_0x187fx3= Math[_0x83b3[160]](_0x187fx3,mxUtils[_0x83b3[1550]](this[_0x83b3[124]],mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+ 1);_0x187fx2[_0x83b3[244]](Math[_0x83b3[430]](_0x187fx3* this[_0x83b3[255]]))};function mxSwimlane(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxShape[_0x83b3[239]](this);this[_0x83b3[1562]]= _0x187fx2;this[_0x83b3[1334]]= _0x187fx3;this[_0x83b3[1336]]= _0x187fx4;this[_0x83b3[1307]]= null!= _0x187fx5?_0x187fx5:1}mxUtils[_0x83b3[1284]](mxSwimlane,mxShape);mxSwimlane[_0x83b3[202]][_0x83b3[1680]]= 16;mxSwimlane[_0x83b3[202]][_0x83b3[1597]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2= Math[_0x83b3[243]](_0x187fx9,mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return new mxRectangle(_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx2)};mxSwimlane[_0x83b3[202]][_0x83b3[1614]]= function(){var _0x187fx2=mxShape[_0x83b3[202]][_0x83b3[1614]][_0x83b3[183]](this,arguments);1!= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_HORIZONTAL,1)&& (_0x187fx2+= mxText[_0x83b3[202]][_0x83b3[1616]]);return _0x187fx2};mxSwimlane[_0x83b3[202]][_0x83b3[1615]]= function(){return this[_0x83b3[1614]]()};mxSwimlane[_0x83b3[202]][_0x83b3[1590]]= function(){return mxShape[_0x83b3[202]][_0x83b3[1590]][_0x83b3[183]](this,arguments)|| 1!= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_HORIZONTAL,1)};mxSwimlane[_0x83b3[202]][_0x83b3[1603]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_ARCSIZE,100* mxConstants[_0x83b3[1557]])/ 100;return 3* _0x187fx4* _0x187fx2};mxSwimlane[_0x83b3[202]][_0x83b3[1595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=Math[_0x83b3[243]](_0x187fx9,mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),_0x187fx12=mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),_0x187fx13=1== mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_SWIMLANE_LINE,1),_0x187fx14=0;_0x187fx2[_0x83b3[513]](_0x187fx3,_0x187fx4);this[_0x83b3[1606]]?(_0x187fx14= this[_0x83b3[1603]](_0x187fx5,_0x187fx9,_0x187fxa),this[_0x83b3[1698]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx14,_0x187fx12,_0x187fx13)):this[_0x83b3[1699]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13);_0x187fx12= mxUtils[_0x83b3[433]](this[_0x83b3[124]],mxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);this[_0x83b3[1700]](_0x187fx2,_0x187fx5,_0x187fxa,_0x187fx9,_0x187fx12);null!= this[_0x83b3[618]]&& (_0x187fx9= this[_0x83b3[1686]](_0x187fx3,_0x187fxa,_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[618]](_0x187fx9[_0x83b3[235]]- _0x187fx3,_0x187fx9[_0x83b3[236]]- _0x187fx4,_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]],this[_0x83b3[618]],!1,!1,!1));this[_0x83b3[617]]&& (_0x187fx2[_0x83b3[1267]](!1),this[_0x83b3[1604]](_0x187fx2,0,0,_0x187fx5,_0x187fxa,_0x187fx14))};mxSwimlane[_0x83b3[202]][_0x83b3[1699]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){_0x187fx12!= mxConstants[_0x83b3[217]]&& (_0x187fx2[_0x83b3[815]](),_0x187fx2[_0x83b3[1245]](_0x187fx12),_0x187fx2[_0x83b3[1319]](0,0,_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[1337]](),_0x187fx2[_0x83b3[1210]](),_0x187fx2[_0x83b3[1267]](!1));_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](0,_0x187fxa);_0x187fx2[_0x83b3[1277]](0,0);_0x187fx2[_0x83b3[1277]](_0x187fx5,0);_0x187fx2[_0x83b3[1277]](_0x187fx5,_0x187fxa);_0x187fx13&& _0x187fx2[_0x83b3[268]]();_0x187fx2[_0x83b3[1337]]();_0x187fxa< _0x187fx9&& _0x187fx12== mxConstants[_0x83b3[217]]&& (_0x187fx2[_0x83b3[1229]]= !1,_0x187fx2[_0x83b3[1275]](),_0x187fx2[_0x83b3[1276]](0,_0x187fxa),_0x187fx2[_0x83b3[1277]](0,_0x187fx9),_0x187fx2[_0x83b3[1277]](_0x187fx5,_0x187fx9),_0x187fx2[_0x83b3[1277]](_0x187fx5,_0x187fxa),_0x187fx2[_0x83b3[1336]]())};mxSwimlane[_0x83b3[202]][_0x83b3[1698]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){_0x187fx13!= mxConstants[_0x83b3[217]]&& (_0x187fx2[_0x83b3[815]](),_0x187fx2[_0x83b3[1245]](_0x187fx13),_0x187fx2[_0x83b3[1320]](0,0,_0x187fx5,_0x187fx9,_0x187fx12,_0x187fx12),_0x187fx2[_0x83b3[1337]](),_0x187fx2[_0x83b3[1210]](),_0x187fx2[_0x83b3[1267]](!1));_0x187fx2[_0x83b3[1275]]();_0x187fx2[_0x83b3[1276]](_0x187fx5,_0x187fxa);_0x187fx2[_0x83b3[1277]](_0x187fx5,_0x187fx12);_0x187fx2[_0x83b3[1278]](_0x187fx5,0,_0x187fx5- Math[_0x83b3[243]](_0x187fx5/ 2,_0x187fx12),0);_0x187fx2[_0x83b3[1277]](Math[_0x83b3[243]](_0x187fx5/ 2,_0x187fx12),0);_0x187fx2[_0x83b3[1278]](0,0,0,_0x187fx12);_0x187fx2[_0x83b3[1277]](0,_0x187fxa);_0x187fx14&& _0x187fx2[_0x83b3[268]]();_0x187fx2[_0x83b3[1337]]();_0x187fxa< _0x187fx9&& _0x187fx13== mxConstants[_0x83b3[217]]&& (_0x187fx2[_0x83b3[1229]]= !1,_0x187fx2[_0x83b3[1275]](),_0x187fx2[_0x83b3[1276]](0,_0x187fxa),_0x187fx2[_0x83b3[1277]](0,_0x187fx9- _0x187fx12),_0x187fx2[_0x83b3[1278]](0,_0x187fx9,Math[_0x83b3[243]](_0x187fx5/ 2,_0x187fx12),_0x187fx9),_0x187fx2[_0x83b3[1277]](_0x187fx5- Math[_0x83b3[243]](_0x187fx5/ 2,_0x187fx12),_0x187fx9),_0x187fx2[_0x83b3[1278]](_0x187fx5,_0x187fx9,_0x187fx5,_0x187fx9- _0x187fx12),_0x187fx2[_0x83b3[1277]](_0x187fx5,_0x187fxa),_0x187fx2[_0x83b3[1336]]())};mxSwimlane[_0x83b3[202]][_0x83b3[1700]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx9!= mxConstants[_0x83b3[217]]&& (_0x187fx2[_0x83b3[1249]](_0x187fx9),_0x187fx2[_0x83b3[1251]](!0),_0x187fx2[_0x83b3[1275]](),_0x187fx2[_0x83b3[1276]](_0x187fx3,_0x187fx4),_0x187fx2[_0x83b3[1277]](_0x187fx3,_0x187fx5),_0x187fx2[_0x83b3[1336]](),_0x187fx2[_0x83b3[1251]](!1))};mxSwimlane[_0x83b3[202]][_0x83b3[1686]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){return new mxRectangle(_0x187fx2+ _0x187fx4- this[_0x83b3[1680]],_0x187fx3,this[_0x83b3[1680]],this[_0x83b3[1680]])};function mxGraphLayout(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2}mxGraphLayout[_0x83b3[202]][_0x83b3[1179]]= null;mxGraphLayout[_0x83b3[202]][_0x83b3[1701]]= !0;mxGraphLayout[_0x83b3[202]][_0x83b3[1101]]= null;mxGraphLayout[_0x83b3[202]][_0x83b3[1702]]= function(_0x187fx2,_0x187fx3,_0x187fx4){};mxGraphLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){};mxGraphLayout[_0x83b3[202]][_0x83b3[1703]]= function(){return this[_0x83b3[1179]]};mxGraphLayout[_0x83b3[202]][_0x83b3[1704]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx4= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx3);_0x187fx3= null!= _0x187fx4?_0x187fx4[_0x83b3[124]]:this[_0x83b3[1179]][_0x83b3[1705]](_0x187fx3);return null!= _0x187fx3?_0x187fx3[_0x187fx2]:null};mxGraphLayout[_0x83b3[1706]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx4&& null!= _0x187fx2){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;_0x187fx9= _0x187fx9|| [];var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2);if(null== _0x187fx9[_0x187fxa]&& (_0x187fx9[_0x187fxa]= _0x187fx2,_0x187fx5= _0x187fx4(_0x187fx2,_0x187fx5),null== _0x187fx5|| _0x187fx5)){if(_0x187fx5= this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1707]](_0x187fx2),0< _0x187fx5){for(_0x187fxa= 0;_0x187fxa< _0x187fx5;_0x187fxa++){var _0x187fx12=this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1708]](_0x187fx2,_0x187fxa),_0x187fx13=this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1709]](_0x187fx12,!0)== _0x187fx2;if(!_0x187fx3|| _0x187fx13){_0x187fx13= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[1710]](_0x187fx12,!_0x187fx13),this[_0x83b3[1706]](_0x187fx13,_0x187fx3,_0x187fx4,_0x187fx12,_0x187fx9)}}}}}};mxGraphLayout[_0x83b3[202]][_0x83b3[1711]]= function(_0x187fx2){return this[_0x83b3[1179]][_0x83b3[1712]](_0x187fx2)};mxGraphLayout[_0x83b3[202]][_0x83b3[1713]]= function(_0x187fx2){return !this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2)|| !this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx2)};mxGraphLayout[_0x83b3[202]][_0x83b3[1715]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]();return !_0x187fx3[_0x83b3[250]](_0x187fx2)|| !this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx2)|| null== _0x187fx3[_0x83b3[1709]](_0x187fx2,!0)|| null== _0x187fx3[_0x83b3[1709]](_0x187fx2,!1)};mxGraphLayout[_0x83b3[202]][_0x83b3[1716]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_NOEDGESTYLE,_0x187fx3?_0x83b3[468]:_0x83b3[500],[_0x187fx2])};mxGraphLayout[_0x83b3[202]][_0x83b3[1718]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_ORTHOGONAL,_0x187fx3?_0x83b3[500]:_0x83b3[468],[_0x187fx2])};mxGraphLayout[_0x83b3[202]][_0x83b3[1719]]= function(_0x187fx2){var _0x187fx3= new mxPoint;if(null!= _0x187fx2&& _0x187fx2!= this[_0x83b3[1101]]){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]();if(_0x187fx4[_0x83b3[1720]](this[_0x83b3[1101]],_0x187fx2)){for(var _0x187fx5=_0x187fx4[_0x83b3[1721]](_0x187fx2);_0x187fx2!= this[_0x83b3[1101]];){_0x187fx3[_0x83b3[235]]+= _0x187fx5[_0x83b3[235]],_0x187fx3[_0x83b3[236]]+= _0x187fx5[_0x83b3[236]],_0x187fx2= _0x187fx4[_0x83b3[1197]](_0x187fx2),_0x187fx5= _0x187fx4[_0x83b3[1721]](_0x187fx2)}}};return _0x187fx3};mxGraphLayout[_0x83b3[202]][_0x83b3[1722]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[251]],_0x187fx5=_0x187fx4[_0x83b3[1721]](_0x187fx2);null== _0x187fx5?(_0x187fx5= new mxGeometry,_0x187fx5[_0x83b3[1723]](!0)):_0x187fx5= _0x187fx5[_0x83b3[238]]();if(null!= this[_0x83b3[1101]]&& null!= _0x187fx3){for(var _0x187fx9=_0x187fx4[_0x83b3[1197]](_0x187fx2),_0x187fx9=this[_0x83b3[1719]](_0x187fx9),_0x187fxa=0;_0x187fxa< _0x187fx3[_0x83b3[67]];_0x187fxa++){_0x187fx3[_0x187fxa][_0x83b3[235]]-= _0x187fx9[_0x83b3[235]],_0x187fx3[_0x187fxa][_0x83b3[236]]-= _0x187fx9[_0x83b3[236]]}};_0x187fx5[_0x83b3[1525]]= _0x187fx3;_0x187fx4[_0x83b3[1724]](_0x187fx2,_0x187fx5)}};mxGraphLayout[_0x83b3[202]][_0x83b3[1725]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[1721]](_0x187fx2),_0x187fxa=null;if(null!= _0x187fx9){_0x187fxa= new mxRectangle(_0x187fx3,_0x187fx4,_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]]);if(this[_0x83b3[1701]]){var _0x187fx12=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);if(null!= _0x187fx12&& null!= _0x187fx12[_0x83b3[963]]&& null!= _0x187fx12[_0x83b3[963]][_0x83b3[1563]]){var _0x187fx13=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx14=_0x187fx12[_0x83b3[963]][_0x83b3[1563]];_0x187fx12[_0x83b3[963]][_0x83b3[1563]][_0x83b3[235]]< _0x187fx12[_0x83b3[235]]&& (_0x187fx3+= (_0x187fx12[_0x83b3[235]]- _0x187fx14[_0x83b3[235]])/ _0x187fx13,_0x187fxa[_0x83b3[117]]= _0x187fx14[_0x83b3[117]]);_0x187fx12[_0x83b3[963]][_0x83b3[1563]][_0x83b3[236]]< _0x187fx12[_0x83b3[236]]&& (_0x187fx4+= (_0x187fx12[_0x83b3[236]]- _0x187fx14[_0x83b3[236]])/ _0x187fx13,_0x187fxa[_0x83b3[119]]= _0x187fx14[_0x83b3[119]])}};null!= this[_0x83b3[1101]]&& (_0x187fx12= _0x187fx5[_0x83b3[1197]](_0x187fx2),null!= _0x187fx12&& _0x187fx12!= this[_0x83b3[1101]]&& (_0x187fx12= this[_0x83b3[1719]](_0x187fx12),_0x187fx3-= _0x187fx12[_0x83b3[235]],_0x187fx4-= _0x187fx12[_0x83b3[236]]));if(_0x187fx9[_0x83b3[235]]!= _0x187fx3|| _0x187fx9[_0x83b3[236]]!= _0x187fx4){_0x187fx9= _0x187fx9[_0x83b3[238]](),_0x187fx9[_0x83b3[235]]= _0x187fx3,_0x187fx9[_0x83b3[236]]= _0x187fx4,_0x187fx5[_0x83b3[1724]](_0x187fx2,_0x187fx9)}};return _0x187fxa};mxGraphLayout[_0x83b3[202]][_0x83b3[1726]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1721]](_0x187fx2);if(this[_0x83b3[1701]]){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);if(null!= _0x187fx4&& null!= _0x187fx4[_0x83b3[963]]&& null!= _0x187fx4[_0x83b3[963]][_0x83b3[1563]]){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx9=_0x187fx4[_0x83b3[963]][_0x83b3[1563]],_0x187fxa=Math[_0x83b3[160]](_0x187fx4[_0x83b3[235]]- _0x187fx9[_0x83b3[235]],0)/ _0x187fx5,_0x187fx12=Math[_0x83b3[160]](_0x187fx4[_0x83b3[236]]- _0x187fx9[_0x83b3[236]],0)/ _0x187fx5,_0x187fx13=Math[_0x83b3[160]](_0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]- (_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]),0)/ _0x187fx5,_0x187fx4=Math[_0x83b3[160]](_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]]- (_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]),0)/ _0x187fx5,_0x187fx3= new mxRectangle(_0x187fx3[_0x83b3[235]]- _0x187fxa,_0x187fx3[_0x83b3[236]]- _0x187fx12,_0x187fx3[_0x83b3[117]]+ _0x187fxa+ _0x187fx13,_0x187fx3[_0x83b3[119]]+ _0x187fx12+ _0x187fx4)}};null!= this[_0x83b3[1101]]&& (_0x187fx2= this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](_0x187fx2),_0x187fx3= _0x187fx3[_0x83b3[238]](),null!= _0x187fx2&& _0x187fx2!= this[_0x83b3[1101]]&& (_0x187fx2= this[_0x83b3[1719]](_0x187fx2),_0x187fx3[_0x83b3[235]]+= _0x187fx2[_0x83b3[235]],_0x187fx3[_0x83b3[236]]+= _0x187fx2[_0x83b3[236]]));return new mxRectangle(_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]])};mxGraphLayout[_0x83b3[202]][_0x83b3[1727]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[473]]();try{for(var _0x187fx4=_0x187fx2[_0x83b3[67]]- 1;0<= _0x187fx4;_0x187fx4--){var _0x187fx5=_0x187fx2[_0x187fx4],_0x187fx9=this[_0x83b3[1179]][_0x83b3[1728]](_0x187fx5),_0x187fxa=this[_0x83b3[1179]][_0x83b3[1729]](_0x187fx9),_0x187fx12=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx5),_0x187fx13=0,_0x187fx14=0;if(this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx5)){var _0x187fx15=this[_0x83b3[1179]][_0x83b3[1731]](_0x187fx5),_0x187fx13=_0x187fx15[_0x83b3[117]],_0x187fx14=_0x187fx15[_0x83b3[119]]};null!= _0x187fxa&& null!= _0x187fx12&& (_0x187fx12= _0x187fx12[_0x83b3[238]](),_0x187fx12[_0x83b3[235]]= _0x187fx12[_0x83b3[235]]+ _0x187fxa[_0x83b3[235]]- _0x187fx3- _0x187fx13,_0x187fx12[_0x83b3[236]]= _0x187fx12[_0x83b3[236]]+ _0x187fxa[_0x83b3[236]]- _0x187fx3- _0x187fx14,_0x187fx12[_0x83b3[117]]= _0x187fxa[_0x83b3[117]]+ 2* _0x187fx3+ _0x187fx13,_0x187fx12[_0x83b3[119]]= _0x187fxa[_0x83b3[119]]+ 2* _0x187fx3+ _0x187fx14,this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1724]](_0x187fx5,_0x187fx12),this[_0x83b3[1179]][_0x83b3[834]](_0x187fx9,_0x187fx3+ _0x187fx13- _0x187fxa[_0x83b3[235]],_0x187fx3+ _0x187fx14- _0x187fxa[_0x83b3[236]]))}}finally{this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[476]]()}};function mxStackLayout(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){mxGraphLayout[_0x83b3[239]](this,_0x187fx2);this[_0x83b3[662]]= null!= _0x187fx3?_0x187fx3:!0;this[_0x83b3[657]]= null!= _0x187fx4?_0x187fx4:0;this[_0x83b3[1732]]= null!= _0x187fx5?_0x187fx5:0;this[_0x83b3[1733]]= null!= _0x187fx9?_0x187fx9:0;this[_0x83b3[467]]= null!= _0x187fxa?_0x187fxa:0}mxStackLayout[_0x83b3[202]]= new mxGraphLayout;mxStackLayout[_0x83b3[202]][_0x83b3[196]]= mxStackLayout;mxStackLayout[_0x83b3[202]][_0x83b3[662]]= null;mxStackLayout[_0x83b3[202]][_0x83b3[657]]= null;mxStackLayout[_0x83b3[202]][_0x83b3[1732]]= null;mxStackLayout[_0x83b3[202]][_0x83b3[1733]]= null;mxStackLayout[_0x83b3[202]][_0x83b3[467]]= 0;mxStackLayout[_0x83b3[202]][_0x83b3[1734]]= !1;mxStackLayout[_0x83b3[202]][_0x83b3[1334]]= !1;mxStackLayout[_0x83b3[202]][_0x83b3[1735]]= !1;mxStackLayout[_0x83b3[202]][_0x83b3[1736]]= !1;mxStackLayout[_0x83b3[202]][_0x83b3[1333]]= null;mxStackLayout[_0x83b3[202]][_0x83b3[1737]]= function(){return this[_0x83b3[662]]};mxStackLayout[_0x83b3[202]][_0x83b3[1702]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[1197]](_0x187fx2),_0x187fxa=this[_0x83b3[1737]]();if(null!= _0x187fx2&& null!= _0x187fx9){var _0x187fx12=0,_0x187fx13=0,_0x187fx14=_0x187fx5[_0x83b3[262]](_0x187fx9);_0x187fx3= _0x187fxa?_0x187fx3:_0x187fx4;_0x187fx12= this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx9);null!= _0x187fx12&& (_0x187fx3-= _0x187fxa?_0x187fx12[_0x83b3[235]]:_0x187fx12[_0x83b3[236]]);for(_0x187fx12= 0;_0x187fx12< _0x187fx14;_0x187fx12++){if(_0x187fx4= _0x187fx5[_0x83b3[263]](_0x187fx9,_0x187fx12),_0x187fx4!= _0x187fx2&& (_0x187fx4= _0x187fx5[_0x83b3[1721]](_0x187fx4),null!= _0x187fx4)){_0x187fx4= _0x187fxa?_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]/ 2:_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]/ 2;if(_0x187fx13< _0x187fx3&& _0x187fx4> _0x187fx3){break};_0x187fx13= _0x187fx4}};_0x187fxa= _0x187fx9[_0x83b3[1738]](_0x187fx2);_0x187fxa= Math[_0x83b3[160]](0,_0x187fx12- (_0x187fx12> _0x187fxa?1:0));_0x187fx5[_0x83b3[99]](_0x187fx9,_0x187fx2,_0x187fxa)}};mxStackLayout[_0x83b3[202]][_0x83b3[1739]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx4=_0x187fx3[_0x83b3[1721]](_0x187fx2);if(null!= this[_0x83b3[1179]][_0x83b3[526]]&& (null== _0x187fx4&& _0x187fx3[_0x83b3[1740]](_0x187fx2)|| _0x187fx2== this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1741]])){_0x187fx4= new mxRectangle(0,0,this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[359]]- 1,this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[167]]- 1)};return _0x187fx4};mxStackLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[1737]](),_0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=this[_0x83b3[1739]](_0x187fx2),_0x187fx9=0;null!= _0x187fx5&& (_0x187fx9= _0x187fx3?_0x187fx5[_0x83b3[119]]:_0x187fx5[_0x83b3[117]]);var _0x187fx9=_0x187fx9- (2* this[_0x83b3[657]]+ 2* this[_0x83b3[467]]),_0x187fxa=this[_0x83b3[1732]]+ this[_0x83b3[467]],_0x187fx12=this[_0x83b3[1733]]+ this[_0x83b3[467]];if(this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx2)){var _0x187fx13=this[_0x83b3[1179]][_0x83b3[1705]](_0x187fx2),_0x187fx14=mxUtils[_0x83b3[433]](_0x187fx13,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),_0x187fx13=mxUtils[_0x83b3[433]](_0x187fx13,mxConstants.STYLE_HORIZONTAL,!0);_0x187fx3== _0x187fx13&& (_0x187fx9-= _0x187fx14);_0x187fx3?_0x187fx12+= _0x187fx14:_0x187fxa+= _0x187fx14};_0x187fx4[_0x83b3[473]]();try{for(var _0x187fx14=0,_0x187fx13=null,_0x187fx15=_0x187fx4[_0x83b3[262]](_0x187fx2),_0x187fx16=0;_0x187fx16< _0x187fx15;_0x187fx16++){var _0x187fx17=_0x187fx4[_0x83b3[263]](_0x187fx2,_0x187fx16);if(!this[_0x83b3[1713]](_0x187fx17)&& this[_0x83b3[1711]](_0x187fx17)){var _0x187fx18=_0x187fx4[_0x83b3[1721]](_0x187fx17);if(null!= _0x187fx18){_0x187fx18= _0x187fx18[_0x83b3[238]]();if(null!= this[_0x83b3[1333]]&& null!= _0x187fx13&& (_0x187fx3&& _0x187fx13[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]]+ _0x187fx18[_0x83b3[117]]+ 2* this[_0x83b3[657]]> this[_0x83b3[1333]]|| !_0x187fx3&& _0x187fx13[_0x83b3[236]]+ _0x187fx13[_0x83b3[119]]+ _0x187fx18[_0x83b3[119]]+ 2* this[_0x83b3[657]]> this[_0x83b3[1333]])){_0x187fx13= null,_0x187fx3?_0x187fx12+= _0x187fx14+ this[_0x83b3[657]]:_0x187fxa+= _0x187fx14+ this[_0x83b3[657]],_0x187fx14= 0};_0x187fx14= Math[_0x83b3[160]](_0x187fx14,_0x187fx3?_0x187fx18[_0x83b3[119]]:_0x187fx18[_0x83b3[117]]);null!= _0x187fx13?_0x187fx3?_0x187fx18[_0x83b3[235]]= _0x187fx13[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]]+ this[_0x83b3[657]]:_0x187fx18[_0x83b3[236]]= _0x187fx13[_0x83b3[236]]+ _0x187fx13[_0x83b3[119]]+ this[_0x83b3[657]]:this[_0x83b3[1734]]|| (_0x187fx3?_0x187fx18[_0x83b3[235]]= _0x187fxa:_0x187fx18[_0x83b3[236]]= _0x187fx12);_0x187fx3?_0x187fx18[_0x83b3[236]]= _0x187fx12:_0x187fx18[_0x83b3[235]]= _0x187fxa;this[_0x83b3[1334]]&& 0< _0x187fx9&& (_0x187fx3?_0x187fx18[_0x83b3[119]]= _0x187fx9:_0x187fx18[_0x83b3[117]]= _0x187fx9);_0x187fx4[_0x83b3[1724]](_0x187fx17,_0x187fx18);_0x187fx13= _0x187fx18}}};this[_0x83b3[1735]]&& null!= _0x187fx5&& null!= _0x187fx13&& !this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx2)?(_0x187fx5= _0x187fx5[_0x83b3[238]](),_0x187fx3?_0x187fx5[_0x83b3[117]]= _0x187fx13[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]]+ this[_0x83b3[657]]:_0x187fx5[_0x83b3[119]]= _0x187fx13[_0x83b3[236]]+ _0x187fx13[_0x83b3[119]]+ this[_0x83b3[657]],_0x187fx4[_0x83b3[1724]](_0x187fx2,_0x187fx5)):this[_0x83b3[1736]]&& (null!= _0x187fx5&& null!= _0x187fx13)&& (_0x187fx3?_0x187fx13[_0x83b3[117]]= _0x187fx5[_0x83b3[117]]- _0x187fx13[_0x83b3[235]]- this[_0x83b3[657]]:_0x187fx13[_0x83b3[119]]= _0x187fx5[_0x83b3[119]]- _0x187fx13[_0x83b3[236]]- this[_0x83b3[657]])}finally{_0x187fx4[_0x83b3[476]]()}}};function mxPartitionLayout(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxGraphLayout[_0x83b3[239]](this,_0x187fx2);this[_0x83b3[662]]= null!= _0x187fx3?_0x187fx3:!0;this[_0x83b3[657]]= _0x187fx4|| 0;this[_0x83b3[467]]= _0x187fx5|| 0}mxPartitionLayout[_0x83b3[202]]= new mxGraphLayout;mxPartitionLayout[_0x83b3[202]][_0x83b3[196]]= mxPartitionLayout;mxPartitionLayout[_0x83b3[202]][_0x83b3[662]]= null;mxPartitionLayout[_0x83b3[202]][_0x83b3[657]]= null;mxPartitionLayout[_0x83b3[202]][_0x83b3[467]]= null;mxPartitionLayout[_0x83b3[202]][_0x83b3[1743]]= !0;mxPartitionLayout[_0x83b3[202]][_0x83b3[1737]]= function(){return this[_0x83b3[662]]};mxPartitionLayout[_0x83b3[202]][_0x83b3[1702]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= this[_0x83b3[1179]][_0x83b3[502]]();var _0x187fx5=_0x187fx4[_0x83b3[1197]](_0x187fx2);if(null!= _0x187fx2&& null!= _0x187fx5){for(var _0x187fx9=0,_0x187fxa=0,_0x187fx12=_0x187fx4[_0x83b3[262]](_0x187fx5),_0x187fx9=0;_0x187fx9< _0x187fx12;_0x187fx9++){var _0x187fx13=_0x187fx4[_0x83b3[263]](_0x187fx5,_0x187fx9),_0x187fx13=this[_0x83b3[1726]](_0x187fx13);if(null!= _0x187fx13){_0x187fx13= _0x187fx13[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]]/ 2;if(_0x187fxa< _0x187fx3&& _0x187fx13> _0x187fx3){break};_0x187fxa= _0x187fx13}};_0x187fx3= _0x187fx5[_0x83b3[1738]](_0x187fx2);_0x187fx3= Math[_0x83b3[160]](0,_0x187fx9- (_0x187fx9> _0x187fx3?1:0));_0x187fx4[_0x83b3[99]](_0x187fx5,_0x187fx2,_0x187fx3)}};mxPartitionLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1737]](),_0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx4[_0x83b3[1721]](_0x187fx2);if(null!= this[_0x83b3[1179]][_0x83b3[526]]&& (null== _0x187fx5&& _0x187fx4[_0x83b3[1740]](_0x187fx2)|| _0x187fx2== this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1741]])){_0x187fx5= new mxRectangle(0,0,this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[359]]- 1,this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[167]]- 1)};if(null!= _0x187fx5){for(var _0x187fx9=[],_0x187fxa=_0x187fx4[_0x83b3[262]](_0x187fx2),_0x187fx12=0;_0x187fx12< _0x187fxa;_0x187fx12++){var _0x187fx13=_0x187fx4[_0x83b3[263]](_0x187fx2,_0x187fx12);!this[_0x83b3[1713]](_0x187fx13)&& this[_0x83b3[1711]](_0x187fx13)&& _0x187fx9[_0x83b3[207]](_0x187fx13)};_0x187fxa= _0x187fx9[_0x83b3[67]];if(0< _0x187fxa){var _0x187fx14=this[_0x83b3[467]],_0x187fx15=this[_0x83b3[467]],_0x187fx16=_0x187fx3?_0x187fx5[_0x83b3[119]]:_0x187fx5[_0x83b3[117]],_0x187fx16=_0x187fx16- 2* this[_0x83b3[467]];_0x187fx2= this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx2)?this[_0x83b3[1179]][_0x83b3[1731]](_0x187fx2): new mxRectangle;_0x187fx16-= _0x187fx3?_0x187fx2[_0x83b3[119]]:_0x187fx2[_0x83b3[117]];_0x187fx14+= _0x187fx2[_0x83b3[117]];_0x187fx15+= _0x187fx2[_0x83b3[119]];_0x187fx2= this[_0x83b3[467]]+ (_0x187fxa- 1)* this[_0x83b3[657]];_0x187fx5= _0x187fx3?(_0x187fx5[_0x83b3[117]]- _0x187fx14- _0x187fx2)/ _0x187fxa:(_0x187fx5[_0x83b3[119]]- _0x187fx15- _0x187fx2)/ _0x187fxa;if(0< _0x187fx5){_0x187fx4[_0x83b3[473]]();try{for(_0x187fx12= 0;_0x187fx12< _0x187fxa;_0x187fx12++){var _0x187fx13=_0x187fx9[_0x187fx12],_0x187fx17=_0x187fx4[_0x83b3[1721]](_0x187fx13);null!= _0x187fx17&& (_0x187fx17= _0x187fx17[_0x83b3[238]](),_0x187fx17[_0x83b3[235]]= _0x187fx14,_0x187fx17[_0x83b3[236]]= _0x187fx15,_0x187fx3?(this[_0x83b3[1743]]&& (_0x187fx17[_0x83b3[117]]= _0x187fx5,_0x187fx17[_0x83b3[119]]= _0x187fx16),_0x187fx14+= _0x187fx5+ this[_0x83b3[657]]):(this[_0x83b3[1743]]&& (_0x187fx17[_0x83b3[119]]= _0x187fx5,_0x187fx17[_0x83b3[117]]= _0x187fx16),_0x187fx15+= _0x187fx5+ this[_0x83b3[657]]),_0x187fx4[_0x83b3[1724]](_0x187fx13,_0x187fx17))}}finally{_0x187fx4[_0x83b3[476]]()}}}}};function mxCompactTreeLayout(_0x187fx2,_0x187fx3,_0x187fx4){mxGraphLayout[_0x83b3[239]](this,_0x187fx2);this[_0x83b3[662]]= null!= _0x187fx3?_0x187fx3:!0;this[_0x83b3[1744]]= null!= _0x187fx4?_0x187fx4:!1}mxCompactTreeLayout[_0x83b3[202]]= new mxGraphLayout;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[196]]= mxCompactTreeLayout;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[662]]= null;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1744]]= null;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1735]]= !0;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1745]]= 10;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1746]]= null;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1747]]= !1;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1748]]= 10;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1749]]= 20;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1750]]= !0;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1751]]= 5;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1752]]= 4;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1753]]= 8;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1754]]= 4;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1755]]= !0;mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1713]]= function(_0x187fx2){return mxGraphLayout[_0x83b3[202]][_0x83b3[1713]][_0x83b3[183]](this,arguments)|| 0== this[_0x83b3[1179]][_0x83b3[1756]](_0x187fx2)[_0x83b3[67]]};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1737]]= function(){return this[_0x83b3[662]]};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1101]]= _0x187fx2;var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]();if(null== _0x187fx3){if(0< this[_0x83b3[1179]][_0x83b3[264]](_0x187fx2,_0x187fx4[_0x83b3[1197]](_0x187fx2),this[_0x83b3[1744]],!this[_0x83b3[1744]],!1)[_0x83b3[67]]){_0x187fx3= _0x187fx2}else {var _0x187fx5=this[_0x83b3[1179]][_0x83b3[1757]](_0x187fx2,!0,this[_0x83b3[1744]]);if(0< _0x187fx5[_0x83b3[67]]){for(var _0x187fx9=0;_0x187fx9< _0x187fx5[_0x83b3[67]];_0x187fx9++){if(!this[_0x83b3[1713]](_0x187fx5[_0x187fx9])&& 0< this[_0x83b3[1179]][_0x83b3[264]](_0x187fx5[_0x187fx9],null,this[_0x83b3[1744]],!this[_0x83b3[1744]],!1)[_0x83b3[67]]){_0x187fx3= _0x187fx5[_0x187fx9];break}}}}};if(null!= _0x187fx3){this[_0x83b3[1746]]= this[_0x83b3[1735]]?{}:null;_0x187fx4[_0x83b3[473]]();try{var _0x187fxa=this[_0x83b3[1758]](_0x187fx3,_0x187fx2);if(null!= _0x187fxa){this[_0x83b3[1759]](_0x187fxa);var _0x187fx12=this[_0x83b3[1179]][_0x83b3[1020]],_0x187fx5=_0x187fx12;if(!this[_0x83b3[1747]]){var _0x187fx13=this[_0x83b3[1726]](_0x187fx3);null!= _0x187fx13&& (_0x187fx12= _0x187fx13[_0x83b3[235]],_0x187fx5= _0x187fx13[_0x83b3[236]])};_0x187fx13= null;_0x187fx13= this[_0x83b3[1737]]()?this[_0x83b3[1760]](_0x187fxa,_0x187fx12,_0x187fx5):this[_0x83b3[1761]](_0x187fxa,null,_0x187fx12,_0x187fx5);if(null!= _0x187fx13){var _0x187fx14=_0x187fx9= 0;0> _0x187fx13[_0x83b3[235]]&& (_0x187fx9= Math[_0x83b3[425]](_0x187fx12- _0x187fx13[_0x83b3[235]]));0> _0x187fx13[_0x83b3[236]]&& (_0x187fx14= Math[_0x83b3[425]](_0x187fx5- _0x187fx13[_0x83b3[236]]));(0!= _0x187fx9|| 0!= _0x187fx14)&& this[_0x83b3[1762]](_0x187fxa,_0x187fx9,_0x187fx14);this[_0x83b3[1735]]&& this[_0x83b3[1763]]();this[_0x83b3[1755]]&& this[_0x83b3[1764]](_0x187fxa)}}}finally{_0x187fx4[_0x83b3[476]]()}}};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1762]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2[_0x83b3[235]]+= _0x187fx3;_0x187fx2[_0x83b3[236]]+= _0x187fx4;this[_0x83b3[183]](_0x187fx2);for(_0x187fx2= _0x187fx2[_0x83b3[247]];null!= _0x187fx2;){this[_0x83b3[1762]](_0x187fx2,_0x187fx3,_0x187fx4),_0x187fx2= _0x187fx2[_0x83b3[1765]]}};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1758]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:[];var _0x187fx5=mxCellPath[_0x83b3[385]](_0x187fx2),_0x187fx9=null;if(null!= _0x187fx2&& null== _0x187fx4[_0x187fx5]&& !this[_0x83b3[1713]](_0x187fx2)){_0x187fx4[_0x187fx5]= _0x187fx2;var _0x187fx9=this[_0x83b3[1766]](_0x187fx2),_0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fxa=null;_0x187fx2= this[_0x83b3[1179]][_0x83b3[264]](_0x187fx2,_0x187fx3,this[_0x83b3[1744]],!this[_0x83b3[1744]],!1,!0);for(var _0x187fx12=this[_0x83b3[1179]][_0x83b3[249]](),_0x187fx13=0;_0x187fx13< _0x187fx2[_0x83b3[67]];_0x187fx13++){var _0x187fx14=_0x187fx2[_0x187fx13];if(!this[_0x83b3[1715]](_0x187fx14)){this[_0x83b3[1750]]&& this[_0x83b3[1722]](_0x187fx14,null);this[_0x83b3[1755]]&& (this[_0x83b3[1716]](_0x187fx14,!1),this[_0x83b3[1722]](_0x187fx14,null));var _0x187fx15=_0x187fx12[_0x83b3[248]](_0x187fx14),_0x187fx14=null!= _0x187fx15?_0x187fx15[_0x83b3[1710]](this[_0x83b3[1744]]):_0x187fx12[_0x83b3[1710]](_0x187fx14,this[_0x83b3[1744]]),_0x187fx15=this[_0x83b3[1758]](_0x187fx14,_0x187fx3,_0x187fx4);null!= _0x187fx15&& null!= _0x187fx5[_0x83b3[1721]](_0x187fx14)&& (null== _0x187fxa?_0x187fx9[_0x83b3[247]]= _0x187fx15:_0x187fxa[_0x83b3[1765]]= _0x187fx15,_0x187fxa= _0x187fx15)}}};return _0x187fx9};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1759]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3=_0x187fx2[_0x83b3[247]];null!= _0x187fx3;){this[_0x83b3[1759]](_0x187fx3),_0x187fx3= _0x187fx3[_0x83b3[1765]]};null!= _0x187fx2[_0x83b3[247]]?this[_0x83b3[1767]](_0x187fx2,this[_0x83b3[234]](_0x187fx2)):this[_0x83b3[1768]](_0x187fx2)}};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1760]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx2[_0x83b3[235]]+= _0x187fx3+ _0x187fx2[_0x83b3[1769]];_0x187fx2[_0x83b3[236]]+= _0x187fx4+ _0x187fx2[_0x83b3[1770]];_0x187fx5= this[_0x83b3[183]](_0x187fx2,_0x187fx5);_0x187fx3= _0x187fx2[_0x83b3[247]];if(null!= _0x187fx3){_0x187fx5= this[_0x83b3[1760]](_0x187fx3,_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],_0x187fx5);_0x187fx4= _0x187fx2[_0x83b3[236]]+ _0x187fx3[_0x83b3[1770]];for(var _0x187fx9=_0x187fx3[_0x83b3[1765]];null!= _0x187fx9;){_0x187fx5= this[_0x83b3[1760]](_0x187fx9,_0x187fx2[_0x83b3[235]]+ _0x187fx3[_0x83b3[1769]],_0x187fx4,_0x187fx5),_0x187fx4+= _0x187fx9[_0x83b3[1770]],_0x187fx9= _0x187fx9[_0x83b3[1765]]}};return _0x187fx5};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1761]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[235]]+= _0x187fx4+ _0x187fx2[_0x83b3[1770]];_0x187fx2[_0x83b3[236]]+= _0x187fx5+ _0x187fx2[_0x83b3[1769]];_0x187fx9= this[_0x83b3[183]](_0x187fx2,_0x187fx9);_0x187fx3= _0x187fx2[_0x83b3[247]];if(null!= _0x187fx3){_0x187fx9= this[_0x83b3[1761]](_0x187fx3,_0x187fx2,_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],_0x187fx9);_0x187fx4= _0x187fx2[_0x83b3[235]]+ _0x187fx3[_0x83b3[1770]];for(_0x187fx5= _0x187fx3[_0x83b3[1765]];null!= _0x187fx5;){_0x187fx9= this[_0x83b3[1761]](_0x187fx5,_0x187fx2,_0x187fx4,_0x187fx2[_0x83b3[236]]+ _0x187fx3[_0x83b3[1769]],_0x187fx9),_0x187fx4+= _0x187fx5[_0x83b3[1770]],_0x187fx5= _0x187fx5[_0x83b3[1765]]}};return _0x187fx9};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1767]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1749]]+ this[_0x83b3[1748]],_0x187fx5=(_0x187fx3- _0x187fx2[_0x83b3[117]])/ 2- this[_0x83b3[1749]],_0x187fx9=_0x187fx5+ _0x187fx2[_0x83b3[117]]+ 2* this[_0x83b3[1749]]- _0x187fx3;_0x187fx2[_0x83b3[247]][_0x83b3[1769]]= _0x187fx4+ _0x187fx2[_0x83b3[119]];_0x187fx2[_0x83b3[247]][_0x83b3[1770]]= _0x187fx9;_0x187fx2[_0x83b3[1772]][_0x83b3[1771]]= this[_0x83b3[1773]](_0x187fx2[_0x83b3[119]],0,this[_0x83b3[1773]](_0x187fx4,_0x187fx9,_0x187fx2[_0x83b3[1772]][_0x83b3[1771]]));_0x187fx2[_0x83b3[1772]][_0x83b3[1774]]= this[_0x83b3[1773]](_0x187fx2[_0x83b3[119]],0,this[_0x83b3[1773]](_0x187fx4,_0x187fx5,_0x187fx2[_0x83b3[1772]][_0x83b3[1774]]))};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1768]]= function(_0x187fx2){var _0x187fx3=2* this[_0x83b3[1749]];_0x187fx2[_0x83b3[1772]][_0x83b3[1775]]= this[_0x83b3[1773]](_0x187fx2[_0x83b3[119]]+ _0x187fx3,0);_0x187fx2[_0x83b3[1772]][_0x83b3[1771]]= _0x187fx2[_0x83b3[1772]][_0x83b3[1775]];_0x187fx2[_0x83b3[1772]][_0x83b3[1776]]= this[_0x83b3[1773]](0,-_0x187fx2[_0x83b3[117]]- _0x187fx3);_0x187fx2[_0x83b3[1772]][_0x83b3[1774]]= this[_0x83b3[1773]](_0x187fx2[_0x83b3[119]]+ _0x187fx3,0,_0x187fx2[_0x83b3[1772]][_0x83b3[1776]])};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[234]]= function(_0x187fx2){var _0x187fx3=2* this[_0x83b3[1749]],_0x187fx4=_0x187fx2[_0x83b3[247]];_0x187fx2[_0x83b3[1772]]= _0x187fx4[_0x83b3[1772]];for(var _0x187fx5=_0x187fx4[_0x83b3[117]]+ _0x187fx3,_0x187fx9=_0x187fx5,_0x187fx4=_0x187fx4[_0x83b3[1765]];null!= _0x187fx4;){var _0x187fxa=this[_0x83b3[1777]](_0x187fx2[_0x83b3[1772]],_0x187fx4[_0x83b3[1772]]);_0x187fx4[_0x83b3[1770]]= _0x187fxa+ _0x187fx5;_0x187fx4[_0x83b3[1769]]= 0;_0x187fx5= _0x187fx4[_0x83b3[117]]+ _0x187fx3;_0x187fx9+= _0x187fxa+ _0x187fx5;_0x187fx4= _0x187fx4[_0x83b3[1765]]};return _0x187fx9};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1777]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=0,_0x187fx5=0,_0x187fx9=0,_0x187fxa=_0x187fx2[_0x83b3[1774]],_0x187fx12=_0x187fx3[_0x83b3[1771]];null!= _0x187fx12&& null!= _0x187fxa;){var _0x187fx13=this[_0x83b3[1368]](_0x187fx4,_0x187fx5,_0x187fx12[_0x83b3[1126]],_0x187fx12[_0x83b3[1125]],_0x187fxa[_0x83b3[1126]],_0x187fxa[_0x83b3[1125]]),_0x187fx5=_0x187fx5+ _0x187fx13,_0x187fx9=_0x187fx9+ _0x187fx13;_0x187fx4+ _0x187fx12[_0x83b3[1126]]<= _0x187fxa[_0x83b3[1126]]?(_0x187fx4+= _0x187fx12[_0x83b3[1126]],_0x187fx5+= _0x187fx12[_0x83b3[1125]],_0x187fx12= _0x187fx12[_0x83b3[1765]]):(_0x187fx4-= _0x187fxa[_0x83b3[1126]],_0x187fx5-= _0x187fxa[_0x83b3[1125]],_0x187fxa= _0x187fxa[_0x83b3[1765]])};null!= _0x187fx12?(_0x187fx4= this[_0x83b3[1778]](_0x187fx2[_0x83b3[1775]],0,0,_0x187fx12,_0x187fx4,_0x187fx5),_0x187fx2[_0x83b3[1775]]= null!= _0x187fx4[_0x83b3[1765]]?_0x187fx3[_0x83b3[1775]]:_0x187fx4,_0x187fx2[_0x83b3[1776]]= _0x187fx3[_0x83b3[1776]]):(_0x187fx4= this[_0x83b3[1778]](_0x187fx3[_0x83b3[1776]],_0x187fx4,_0x187fx5,_0x187fxa,0,0),null== _0x187fx4[_0x83b3[1765]]&& (_0x187fx2[_0x83b3[1776]]= _0x187fx4));_0x187fx2[_0x83b3[1774]]= _0x187fx3[_0x83b3[1774]];return _0x187fx9};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1368]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=0;if(_0x187fx9<= _0x187fx2|| 0>= _0x187fx2+ _0x187fx4){return 0};_0x187fx12= 0< _0x187fx9* _0x187fx5- _0x187fx4* _0x187fxa?0> _0x187fx2?_0x187fx2* _0x187fx5/ _0x187fx4- _0x187fx3:0< _0x187fx2?_0x187fx2* _0x187fxa/ _0x187fx9- _0x187fx3:-_0x187fx3:_0x187fx9< _0x187fx2+ _0x187fx4?_0x187fxa- (_0x187fx3+ (_0x187fx9- _0x187fx2)* _0x187fx5/ _0x187fx4):_0x187fx9> _0x187fx2+ _0x187fx4?(_0x187fx4+ _0x187fx2)* _0x187fxa/ _0x187fx9- (_0x187fx3+ _0x187fx5):_0x187fxa- (_0x187fx3+ _0x187fx5);return 0< _0x187fx12?_0x187fx12:0};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1778]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx3= _0x187fx9+ _0x187fx5[_0x83b3[1126]]- _0x187fx3;_0x187fx9= _0x187fx9= 0;0== _0x187fx5[_0x83b3[1126]]?_0x187fx9= _0x187fx5[_0x83b3[1125]]:(_0x187fx9= _0x187fx3* _0x187fx5[_0x83b3[1125]],_0x187fx9/= _0x187fx5[_0x83b3[1126]]);_0x187fx3= this[_0x83b3[1773]](_0x187fx3,_0x187fx9,_0x187fx5[_0x83b3[1765]]);_0x187fx2[_0x83b3[1765]]= this[_0x83b3[1773]](0,_0x187fxa+ _0x187fx5[_0x83b3[1125]]- _0x187fx9- _0x187fx4,_0x187fx3);return _0x187fx3};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1766]]= function(_0x187fx2){var _0x187fx3={};_0x187fx3[_0x83b3[246]]= _0x187fx2;_0x187fx3[_0x83b3[235]]= 0;_0x187fx3[_0x83b3[236]]= 0;_0x187fx3[_0x83b3[117]]= 0;_0x187fx3[_0x83b3[119]]= 0;_0x187fx2= this[_0x83b3[1726]](_0x187fx2);null!= _0x187fx2&& (this[_0x83b3[1737]]()?(_0x187fx3[_0x83b3[117]]= _0x187fx2[_0x83b3[119]],_0x187fx3[_0x83b3[119]]= _0x187fx2[_0x83b3[117]]):(_0x187fx3[_0x83b3[117]]= _0x187fx2[_0x83b3[117]],_0x187fx3[_0x83b3[119]]= _0x187fx2[_0x83b3[119]]));_0x187fx3[_0x83b3[1769]]= 0;_0x187fx3[_0x83b3[1770]]= 0;_0x187fx3[_0x83b3[1772]]= {};return _0x187fx3};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[183]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx2[_0x83b3[246]],_0x187fx9=_0x187fx4[_0x83b3[1721]](_0x187fx5);null!= _0x187fx5&& null!= _0x187fx9&& (this[_0x83b3[1711]](_0x187fx5)&& (_0x187fx9= this[_0x83b3[1725]](_0x187fx5,_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]]),this[_0x83b3[1735]]&& (_0x187fx4= _0x187fx4[_0x83b3[1197]](_0x187fx5),_0x187fx5= mxCellPath[_0x83b3[385]](_0x187fx4),null== this[_0x83b3[1746]][_0x187fx5]&& (this[_0x83b3[1746]][_0x187fx5]= _0x187fx4))),_0x187fx3= null== _0x187fx3? new mxRectangle(_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]]): new mxRectangle(Math[_0x83b3[243]](_0x187fx3[_0x83b3[235]],_0x187fx9[_0x83b3[235]]),Math[_0x83b3[243]](_0x187fx3[_0x83b3[236]],_0x187fx9[_0x83b3[236]]),Math[_0x83b3[160]](_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]),Math[_0x83b3[160]](_0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]],_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]])));return _0x187fx3};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1773]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5={};_0x187fx5[_0x83b3[1126]]= _0x187fx2;_0x187fx5[_0x83b3[1125]]= _0x187fx3;_0x187fx5[_0x83b3[1765]]= _0x187fx4;return _0x187fx5};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1763]]= function(){var _0x187fx2=[],_0x187fx3;for(_0x187fx3 in this[_0x83b3[1746]]){_0x187fx2[_0x83b3[207]](this[_0x83b3[1746]][_0x187fx3])};this[_0x83b3[1727]](mxUtils[_0x83b3[1779]](_0x187fx2,!0),this[_0x83b3[1745]])};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1764]]= function(_0x187fx2){this[_0x83b3[1780]](_0x187fx2);for(_0x187fx2= _0x187fx2[_0x83b3[247]];null!= _0x187fx2;){this[_0x83b3[1764]](_0x187fx2),_0x187fx2= _0x187fx2[_0x83b3[1765]]}};mxCompactTreeLayout[_0x83b3[202]][_0x83b3[1780]]= function(_0x187fx2){for(var _0x187fx3=_0x187fx2[_0x83b3[247]],_0x187fx4=_0x187fx2[_0x83b3[246]],_0x187fx5=0,_0x187fx9=[];null!= _0x187fx3;){_0x187fx5++;var _0x187fxa=_0x187fx3[_0x83b3[235]];this[_0x83b3[662]]&& (_0x187fxa= _0x187fx3[_0x83b3[236]]);_0x187fx9[_0x83b3[207]]( new WeightedCellSorter(_0x187fx3,_0x187fxa));_0x187fx3= _0x187fx3[_0x83b3[1765]]};_0x187fx9[_0x83b3[470]](WeightedCellSorter[_0x83b3[202]][_0x83b3[469]]);var _0x187fxa=_0x187fx2[_0x83b3[117]],_0x187fx12=(_0x187fx5+ 1)* this[_0x83b3[1751]];_0x187fxa> _0x187fx12+ 2* this[_0x83b3[1751]]&& (_0x187fxa-= 2* this[_0x83b3[1751]]);_0x187fx2= _0x187fxa/ _0x187fx5;_0x187fx3= _0x187fx2/ 2;_0x187fxa> _0x187fx12+ 2* this[_0x83b3[1751]]&& (_0x187fx3+= this[_0x83b3[1751]]);for(var _0x187fxa=this[_0x83b3[1753]]- this[_0x83b3[1752]],_0x187fx12=0,_0x187fx13=this[_0x83b3[1726]](_0x187fx4),_0x187fx14=0;_0x187fx14< _0x187fx9[_0x83b3[67]];_0x187fx14++){for(var _0x187fx15=_0x187fx9[_0x187fx14][_0x83b3[246]][_0x83b3[246]],_0x187fx16=this[_0x83b3[1726]](_0x187fx15),_0x187fx15=this[_0x83b3[1179]][_0x83b3[1781]](_0x187fx4,_0x187fx15,!1),_0x187fx17=[],_0x187fx18=0,_0x187fx19=0,_0x187fx1a=0;_0x187fx1a< _0x187fx15[_0x83b3[67]];_0x187fx1a++){this[_0x83b3[662]]?(_0x187fx18= _0x187fx13[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]],_0x187fx19= _0x187fx13[_0x83b3[236]]+ _0x187fx3,_0x187fx17[_0x83b3[207]]( new mxPoint(_0x187fx18,_0x187fx19)),_0x187fx18= _0x187fx13[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]]+ _0x187fxa,_0x187fx17[_0x83b3[207]]( new mxPoint(_0x187fx18,_0x187fx19)),_0x187fx19= _0x187fx16[_0x83b3[236]]+ _0x187fx16[_0x83b3[119]]/ 2):(_0x187fx18= _0x187fx13[_0x83b3[235]]+ _0x187fx3,_0x187fx19= _0x187fx13[_0x83b3[236]]+ _0x187fx13[_0x83b3[119]],_0x187fx17[_0x83b3[207]]( new mxPoint(_0x187fx18,_0x187fx19)),_0x187fx19= _0x187fx13[_0x83b3[236]]+ _0x187fx13[_0x83b3[119]]+ _0x187fxa,_0x187fx17[_0x83b3[207]]( new mxPoint(_0x187fx18,_0x187fx19)),_0x187fx18= _0x187fx16[_0x83b3[235]]+ _0x187fx16[_0x83b3[117]]/ 2),_0x187fx17[_0x83b3[207]]( new mxPoint(_0x187fx18,_0x187fx19)),this[_0x83b3[1722]](_0x187fx15[_0x187fx1a],_0x187fx17)};_0x187fx14< _0x187fx5/ 2?_0x187fxa+= this[_0x83b3[1752]]:_0x187fx14> _0x187fx5/ 2&& (_0x187fxa-= this[_0x83b3[1752]]);_0x187fx3+= _0x187fx2;_0x187fx12= Math[_0x83b3[160]](_0x187fx12,_0x187fxa)}};function WeightedCellSorter(_0x187fx2,_0x187fx3){this[_0x83b3[246]]= _0x187fx2;this[_0x83b3[1782]]= _0x187fx3}WeightedCellSorter[_0x83b3[202]][_0x83b3[1782]]= 0;WeightedCellSorter[_0x83b3[202]][_0x83b3[1783]]= !1;WeightedCellSorter[_0x83b3[202]][_0x83b3[1784]]= !1;WeightedCellSorter[_0x83b3[202]][_0x83b3[1785]]= null;WeightedCellSorter[_0x83b3[202]][_0x83b3[246]]= null;WeightedCellSorter[_0x83b3[202]][_0x83b3[469]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2&& null!= _0x187fx3?_0x187fx3[_0x83b3[1782]]> _0x187fx2[_0x83b3[1782]]?1:_0x187fx3[_0x83b3[1782]]< _0x187fx2[_0x83b3[1782]]?-1:_0x187fx3[_0x83b3[1783]]?1:-1:0};function mxFastOrganicLayout(_0x187fx2){mxGraphLayout[_0x83b3[239]](this,_0x187fx2)}mxFastOrganicLayout[_0x83b3[202]]= new mxGraphLayout;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[196]]= mxFastOrganicLayout;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1786]]= !0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1750]]= !0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1787]]= !0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1788]]= 50;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1789]]= 0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1790]]= 2;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1791]]= 500;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1792]]= 4;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1793]]= 200;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1794]]= 0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1795]]= 0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1796]]= 0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1797]]= !0;mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1713]]= function(_0x187fx2){return mxGraphLayout[_0x83b3[202]][_0x83b3[1713]][_0x83b3[183]](this,arguments)|| 0== this[_0x83b3[1179]][_0x83b3[1756]](_0x187fx2)[_0x83b3[67]]};mxFastOrganicLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]();this[_0x83b3[1798]]= [];for(var _0x187fx4=this[_0x83b3[1179]][_0x83b3[1728]](_0x187fx2),_0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){this[_0x83b3[1713]](_0x187fx4[_0x187fx5])|| this[_0x83b3[1798]][_0x83b3[207]](_0x187fx4[_0x187fx5])};var _0x187fx9=this[_0x83b3[1786]]?this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[1799]](this[_0x83b3[1798]]):null,_0x187fxa=this[_0x83b3[1798]][_0x83b3[67]];this[_0x83b3[1800]]= [];this[_0x83b3[1801]]= [];this[_0x83b3[1802]]= [];this[_0x83b3[1803]]= [];this[_0x83b3[1804]]= [];this[_0x83b3[1805]]= [];this[_0x83b3[1806]]= [];this[_0x83b3[1807]]= [];0.0010> this[_0x83b3[1788]]&& (this[_0x83b3[1788]]= 0.0010);this[_0x83b3[1789]]= this[_0x83b3[1788]]* this[_0x83b3[1788]];for(_0x187fx5= 0;_0x187fx5< this[_0x83b3[1798]][_0x83b3[67]];_0x187fx5++){var _0x187fx12=this[_0x83b3[1798]][_0x187fx5];this[_0x83b3[1803]][_0x187fx5]= [];var _0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx12);this[_0x83b3[1800]][_0x187fx13]= _0x187fx5;var _0x187fx14=this[_0x83b3[1726]](_0x187fx12),_0x187fx15=_0x187fx14[_0x83b3[117]],_0x187fx16=_0x187fx14[_0x83b3[119]],_0x187fx17=_0x187fx14[_0x83b3[235]],_0x187fx18=_0x187fx14[_0x83b3[236]];this[_0x83b3[1803]][_0x187fx5][0]= _0x187fx17+ _0x187fx15/ 2;this[_0x83b3[1803]][_0x187fx5][1]= _0x187fx18+ _0x187fx16/ 2;this[_0x83b3[1806]][_0x187fx5]= Math[_0x83b3[243]](_0x187fx15,_0x187fx16);this[_0x83b3[1807]][_0x187fx5]= this[_0x83b3[1806]][_0x187fx5]* this[_0x83b3[1806]][_0x187fx5]};_0x187fx3[_0x83b3[473]]();try{for(_0x187fx5= 0;_0x187fx5< _0x187fxa;_0x187fx5++){this[_0x83b3[1801]][_0x187fx5]= 0;this[_0x83b3[1802]][_0x187fx5]= 0;this[_0x83b3[1804]][_0x187fx5]= this[_0x83b3[1711]](this[_0x83b3[1798]][_0x187fx5]);var _0x187fx19=this[_0x83b3[1179]][_0x83b3[1756]](this[_0x83b3[1798]][_0x187fx5],_0x187fx2),_0x187fx4=this[_0x83b3[1179]][_0x83b3[1808]](_0x187fx19,this[_0x83b3[1798]][_0x187fx5]);this[_0x83b3[1805]][_0x187fx5]= [];for(_0x187fx15= 0;_0x187fx15< _0x187fx4[_0x83b3[67]];_0x187fx15++){this[_0x83b3[1750]]&& this[_0x83b3[1179]][_0x83b3[1809]](_0x187fx19[_0x187fx15]);this[_0x83b3[1787]]&& this[_0x83b3[1716]](_0x187fx19[_0x187fx15],!1);var _0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx4[_0x187fx15]),_0x187fx1a=this[_0x83b3[1800]][_0x187fx13];this[_0x83b3[1805]][_0x187fx5][_0x187fx15]= null!= _0x187fx1a?_0x187fx1a:_0x187fx5}};this[_0x83b3[1794]]= this[_0x83b3[1793]];0== this[_0x83b3[1795]]&& (this[_0x83b3[1795]]= 20* Math[_0x83b3[428]](_0x187fxa));for(this[_0x83b3[1796]]= 0;this[_0x83b3[1796]]< this[_0x83b3[1795]];this[_0x83b3[1796]]++){if(!this[_0x83b3[1797]]){return};this[_0x83b3[1810]]();this[_0x83b3[1811]]();this[_0x83b3[1812]]();this[_0x83b3[1813]]()};_0x187fx2= _0x187fx4= null;for(_0x187fx5= 0;_0x187fx5< this[_0x83b3[1798]][_0x83b3[67]];_0x187fx5++){_0x187fx12= this[_0x83b3[1798]][_0x187fx5],this[_0x83b3[1711]](_0x187fx12)&& (_0x187fx14= this[_0x83b3[1726]](_0x187fx12),null!= _0x187fx14&& (this[_0x83b3[1803]][_0x187fx5][0]-= _0x187fx14[_0x83b3[117]]/ 2,this[_0x83b3[1803]][_0x187fx5][1]-= _0x187fx14[_0x83b3[119]]/ 2,_0x187fx17= this[_0x83b3[1179]][_0x83b3[1021]](this[_0x83b3[1803]][_0x187fx5][0]),_0x187fx18= this[_0x83b3[1179]][_0x83b3[1021]](this[_0x83b3[1803]][_0x187fx5][1]),this[_0x83b3[1725]](_0x187fx12,_0x187fx17,_0x187fx18),_0x187fx4= null== _0x187fx4?_0x187fx17:Math[_0x83b3[243]](_0x187fx4,_0x187fx17),_0x187fx2= null== _0x187fx2?_0x187fx18:Math[_0x83b3[243]](_0x187fx2,_0x187fx18)))};_0x187fx5= -(_0x187fx4|| 0)+ 1;_0x187fx12= -(_0x187fx2|| 0)+ 1;null!= _0x187fx9&& (_0x187fx5+= _0x187fx9[_0x83b3[235]],_0x187fx12+= _0x187fx9[_0x83b3[236]]);this[_0x83b3[1179]][_0x83b3[834]](this[_0x83b3[1798]],_0x187fx5,_0x187fx12)}finally{_0x187fx3[_0x83b3[476]]()}};mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1812]]= function(){for(var _0x187fx2=0;_0x187fx2< this[_0x83b3[1798]][_0x83b3[67]];_0x187fx2++){if(this[_0x83b3[1804]][_0x187fx2]){var _0x187fx3=Math[_0x83b3[428]](this[_0x83b3[1801]][_0x187fx2]* this[_0x83b3[1801]][_0x187fx2]+ this[_0x83b3[1802]][_0x187fx2]* this[_0x83b3[1802]][_0x187fx2]);0.0010> _0x187fx3&& (_0x187fx3= 0.0010);var _0x187fx4=this[_0x83b3[1801]][_0x187fx2]/ _0x187fx3* Math[_0x83b3[243]](_0x187fx3,this[_0x83b3[1794]]),_0x187fx3=this[_0x83b3[1802]][_0x187fx2]/ _0x187fx3* Math[_0x83b3[243]](_0x187fx3,this[_0x83b3[1794]]);this[_0x83b3[1801]][_0x187fx2]= 0;this[_0x83b3[1802]][_0x187fx2]= 0;this[_0x83b3[1803]][_0x187fx2][0]+= _0x187fx4;this[_0x83b3[1803]][_0x187fx2][1]+= _0x187fx3}}};mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1811]]= function(){for(var _0x187fx2=0;_0x187fx2< this[_0x83b3[1798]][_0x83b3[67]];_0x187fx2++){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1805]][_0x187fx2][_0x83b3[67]];_0x187fx3++){var _0x187fx4=this[_0x83b3[1805]][_0x187fx2][_0x187fx3];if(_0x187fx2!= _0x187fx4&& this[_0x83b3[1804]][_0x187fx2]&& this[_0x83b3[1804]][_0x187fx4]){var _0x187fx5=this[_0x83b3[1803]][_0x187fx2][0]- this[_0x83b3[1803]][_0x187fx4][0],_0x187fx9=this[_0x83b3[1803]][_0x187fx2][1]- this[_0x83b3[1803]][_0x187fx4][1],_0x187fxa=_0x187fx5* _0x187fx5+ _0x187fx9* _0x187fx9- this[_0x83b3[1807]][_0x187fx2]- this[_0x83b3[1807]][_0x187fx4];_0x187fxa< this[_0x83b3[1792]]&& (_0x187fxa= this[_0x83b3[1792]]);var _0x187fx12=Math[_0x83b3[428]](_0x187fxa),_0x187fxa=_0x187fxa/ this[_0x83b3[1788]],_0x187fx5=_0x187fx5/ _0x187fx12* _0x187fxa,_0x187fx9=_0x187fx9/ _0x187fx12* _0x187fxa;this[_0x83b3[1801]][_0x187fx2]-= _0x187fx5;this[_0x83b3[1802]][_0x187fx2]-= _0x187fx9;this[_0x83b3[1801]][_0x187fx4]+= _0x187fx5;this[_0x83b3[1802]][_0x187fx4]+= _0x187fx9}}}};mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1810]]= function(){for(var _0x187fx2=this[_0x83b3[1798]][_0x83b3[67]],_0x187fx3=0;_0x187fx3< _0x187fx2;_0x187fx3++){for(var _0x187fx4=_0x187fx3;_0x187fx4< _0x187fx2;_0x187fx4++){if(!this[_0x83b3[1797]]){return};if(_0x187fx4!= _0x187fx3&& this[_0x83b3[1804]][_0x187fx3]&& this[_0x83b3[1804]][_0x187fx4]){var _0x187fx5=this[_0x83b3[1803]][_0x187fx3][0]- this[_0x83b3[1803]][_0x187fx4][0],_0x187fx9=this[_0x83b3[1803]][_0x187fx3][1]- this[_0x83b3[1803]][_0x187fx4][1];0== _0x187fx5&& (_0x187fx5= 0.01+ Math[_0x83b3[1814]]());0== _0x187fx9&& (_0x187fx9= 0.01+ Math[_0x83b3[1814]]());var _0x187fxa=Math[_0x83b3[428]](_0x187fx5* _0x187fx5+ _0x187fx9* _0x187fx9),_0x187fx12=_0x187fxa- this[_0x83b3[1806]][_0x187fx3]- this[_0x83b3[1806]][_0x187fx4];_0x187fx12> this[_0x83b3[1791]]|| (_0x187fx12< this[_0x83b3[1790]]&& (_0x187fx12= this[_0x83b3[1790]]),_0x187fx12= this[_0x83b3[1789]]/ _0x187fx12,_0x187fx5= _0x187fx5/ _0x187fxa* _0x187fx12,_0x187fx9= _0x187fx9/ _0x187fxa* _0x187fx12,this[_0x83b3[1801]][_0x187fx3]+= _0x187fx5,this[_0x83b3[1802]][_0x187fx3]+= _0x187fx9,this[_0x83b3[1801]][_0x187fx4]-= _0x187fx5,this[_0x83b3[1802]][_0x187fx4]-= _0x187fx9)}}}};mxFastOrganicLayout[_0x83b3[202]][_0x83b3[1813]]= function(){this[_0x83b3[1794]]= this[_0x83b3[1793]]* (1- this[_0x83b3[1796]]/ this[_0x83b3[1795]])};function mxCircleLayout(_0x187fx2,_0x187fx3){mxGraphLayout[_0x83b3[239]](this,_0x187fx2);this[_0x83b3[1806]]= null!= _0x187fx3?_0x187fx3:100}mxCircleLayout[_0x83b3[202]]= new mxGraphLayout;mxCircleLayout[_0x83b3[202]][_0x83b3[196]]= mxCircleLayout;mxCircleLayout[_0x83b3[202]][_0x83b3[1806]]= null;mxCircleLayout[_0x83b3[202]][_0x83b3[1815]]= !1;mxCircleLayout[_0x83b3[202]][_0x83b3[1732]]= 0;mxCircleLayout[_0x83b3[202]][_0x83b3[1733]]= 0;mxCircleLayout[_0x83b3[202]][_0x83b3[1750]]= !0;mxCircleLayout[_0x83b3[202]][_0x83b3[1787]]= !0;mxCircleLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx3[_0x83b3[473]]();try{for(var _0x187fx4=0,_0x187fx5=null,_0x187fx9=null,_0x187fxa=[],_0x187fx12=_0x187fx3[_0x83b3[262]](_0x187fx2),_0x187fx13=0;_0x187fx13< _0x187fx12;_0x187fx13++){var _0x187fx14=_0x187fx3[_0x83b3[263]](_0x187fx2,_0x187fx13);if(this[_0x83b3[1713]](_0x187fx14)){this[_0x83b3[1715]](_0x187fx14)|| (this[_0x83b3[1750]]&& this[_0x83b3[1179]][_0x83b3[1809]](_0x187fx14),this[_0x83b3[1787]]&& this[_0x83b3[1716]](_0x187fx14,!1))}else {_0x187fxa[_0x83b3[207]](_0x187fx14);var _0x187fx15=this[_0x83b3[1726]](_0x187fx14),_0x187fx5=null== _0x187fx5?_0x187fx15[_0x83b3[236]]:Math[_0x83b3[243]](_0x187fx5,_0x187fx15[_0x83b3[236]]),_0x187fx9=null== _0x187fx9?_0x187fx15[_0x83b3[235]]:Math[_0x83b3[243]](_0x187fx9,_0x187fx15[_0x83b3[235]]),_0x187fx4=Math[_0x83b3[160]](_0x187fx4,Math[_0x83b3[160]](_0x187fx15[_0x83b3[117]],_0x187fx15[_0x83b3[119]]))}};var _0x187fx16=this[_0x83b3[1816]](_0x187fxa[_0x83b3[67]],_0x187fx4);this[_0x83b3[1815]]&& (_0x187fx9= this[_0x83b3[1732]],_0x187fx5= this[_0x83b3[1733]]);this[_0x83b3[1817]](_0x187fxa,_0x187fx16,_0x187fx9,_0x187fx5)}finally{_0x187fx3[_0x83b3[476]]()}};mxCircleLayout[_0x83b3[202]][_0x83b3[1816]]= function(_0x187fx2,_0x187fx3){return Math[_0x83b3[160]](_0x187fx2* _0x187fx3/ Math[_0x83b3[424]],this[_0x83b3[1806]])};mxCircleLayout[_0x83b3[202]][_0x83b3[1817]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){for(var _0x187fx9=_0x187fx2[_0x83b3[67]],_0x187fxa=2* Math[_0x83b3[424]]/ _0x187fx9,_0x187fx12=0;_0x187fx12< _0x187fx9;_0x187fx12++){this[_0x83b3[1711]](_0x187fx2[_0x187fx12])&& this[_0x83b3[1725]](_0x187fx2[_0x187fx12],_0x187fx4+ _0x187fx3+ _0x187fx3* Math[_0x83b3[427]](_0x187fx12* _0x187fxa),_0x187fx5+ _0x187fx3+ _0x187fx3* Math[_0x83b3[426]](_0x187fx12* _0x187fxa))}};function mxParallelEdgeLayout(_0x187fx2){mxGraphLayout[_0x83b3[239]](this,_0x187fx2)}mxParallelEdgeLayout[_0x83b3[202]]= new mxGraphLayout;mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[196]]= mxParallelEdgeLayout;mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[657]]= 20;mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[1818]](_0x187fx2);this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx3 in _0x187fx2){var _0x187fx4=_0x187fx2[_0x187fx3];1< _0x187fx4[_0x83b3[67]]&& this[_0x83b3[1759]](_0x187fx4)}}finally{this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[476]]()}};mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[1818]]= function(_0x187fx2){for(var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx4=[],_0x187fx5=_0x187fx3[_0x83b3[262]](_0x187fx2),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){var _0x187fxa=_0x187fx3[_0x83b3[263]](_0x187fx2,_0x187fx9);if(!this[_0x83b3[1715]](_0x187fxa)){var _0x187fx12=this[_0x83b3[1819]](_0x187fxa);null!= _0x187fx12&& (null== _0x187fx4[_0x187fx12]&& (_0x187fx4[_0x187fx12]= []),_0x187fx4[_0x187fx12][_0x83b3[207]](_0x187fxa))}};return _0x187fx4};mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[1819]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[249]](),_0x187fx4=_0x187fx3[_0x83b3[248]](_0x187fx2),_0x187fx5=null!= _0x187fx4?_0x187fx4[_0x83b3[1710]](!0):_0x187fx3[_0x83b3[1710]](_0x187fx2,!0);_0x187fx2= null!= _0x187fx4?_0x187fx4[_0x83b3[1710]](!1):_0x187fx3[_0x83b3[1710]](_0x187fx2,!1);return null!= _0x187fx5&& null!= _0x187fx2?(_0x187fx5= mxCellPath[_0x83b3[385]](_0x187fx5),_0x187fx2= mxCellPath[_0x83b3[385]](_0x187fx2),_0x187fx5> _0x187fx2?_0x187fx2+ _0x83b3[213]+ _0x187fx5:_0x187fx5+ _0x83b3[213]+ _0x187fx2):null};mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[1759]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[0],_0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx4[_0x83b3[1721]](_0x187fx4[_0x83b3[1709]](_0x187fx3,!0)),_0x187fx9=_0x187fx4[_0x83b3[1721]](_0x187fx4[_0x83b3[1709]](_0x187fx3,!1));if(_0x187fx5== _0x187fx9){for(var _0x187fx3=_0x187fx5[_0x83b3[235]]+ _0x187fx5[_0x83b3[117]]+ this[_0x83b3[657]],_0x187fx4=_0x187fx5[_0x83b3[236]]+ _0x187fx5[_0x83b3[119]]/ 2,_0x187fxa=0;_0x187fxa< _0x187fx2[_0x83b3[67]];_0x187fxa++){this[_0x83b3[1820]](_0x187fx2[_0x187fxa],_0x187fx3,_0x187fx4),_0x187fx3+= this[_0x83b3[657]]}}else {if(null!= _0x187fx5&& null!= _0x187fx9){for(var _0x187fx3=_0x187fx5[_0x83b3[235]]+ _0x187fx5[_0x83b3[117]]/ 2,_0x187fx4=_0x187fx5[_0x83b3[236]]+ _0x187fx5[_0x83b3[119]]/ 2,_0x187fxa=_0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]/ 2- _0x187fx3,_0x187fx12=_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]]/ 2- _0x187fx4,_0x187fx9=Math[_0x83b3[428]](_0x187fxa* _0x187fxa+ _0x187fx12* _0x187fx12),_0x187fx5=_0x187fx12* this[_0x83b3[657]]/ _0x187fx9,_0x187fx9=_0x187fxa* this[_0x83b3[657]]/ _0x187fx9,_0x187fx3=_0x187fx3+ _0x187fxa/ 2+ _0x187fx5* (_0x187fx2[_0x83b3[67]]- 1)/ 2,_0x187fx4=_0x187fx4+ _0x187fx12/ 2- _0x187fx9* (_0x187fx2[_0x83b3[67]]- 1)/ 2,_0x187fxa=0;_0x187fxa< _0x187fx2[_0x83b3[67]];_0x187fxa++){this[_0x83b3[1820]](_0x187fx2[_0x187fxa],_0x187fx3,_0x187fx4),_0x187fx3-= _0x187fx5,_0x187fx4+= _0x187fx9}}}};mxParallelEdgeLayout[_0x83b3[202]][_0x83b3[1820]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[1179]][_0x83b3[1712]](_0x187fx2)&& this[_0x83b3[1722]](_0x187fx2,[ new mxPoint(_0x187fx3,_0x187fx4)])};function mxCompositeLayout(_0x187fx2,_0x187fx3,_0x187fx4){mxGraphLayout[_0x83b3[239]](this,_0x187fx2);this[_0x83b3[1821]]= _0x187fx3;this[_0x83b3[1822]]= _0x187fx4}mxCompositeLayout[_0x83b3[202]]= new mxGraphLayout;mxCompositeLayout[_0x83b3[202]][_0x83b3[196]]= mxCompositeLayout;mxCompositeLayout[_0x83b3[202]][_0x83b3[1821]]= null;mxCompositeLayout[_0x83b3[202]][_0x83b3[1822]]= null;mxCompositeLayout[_0x83b3[202]][_0x83b3[1702]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null!= this[_0x83b3[1822]]?this[_0x83b3[1822]][_0x83b3[582]][_0x83b3[183]](this[_0x83b3[1822]],arguments):this[_0x83b3[1821]][0][_0x83b3[582]][_0x83b3[183]](this[_0x83b3[1821]][0],arguments)};mxCompositeLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx3[_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< this[_0x83b3[1821]][_0x83b3[67]];_0x187fx4++){this[_0x83b3[1821]][_0x187fx4][_0x83b3[350]][_0x83b3[183]](this[_0x83b3[1821]][_0x187fx4],arguments)}}finally{_0x187fx3[_0x83b3[476]]()}};function mxEdgeLabelLayout(_0x187fx2,_0x187fx3){mxGraphLayout[_0x83b3[239]](this,_0x187fx2)}mxEdgeLabelLayout[_0x83b3[202]]= new mxGraphLayout;mxEdgeLabelLayout[_0x83b3[202]][_0x83b3[196]]= mxEdgeLabelLayout;mxEdgeLabelLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){for(var _0x187fx3=this[_0x83b3[1179]][_0x83b3[441]],_0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=[],_0x187fx9=[],_0x187fxa=_0x187fx4[_0x83b3[262]](_0x187fx2),_0x187fx12=0;_0x187fx12< _0x187fxa;_0x187fx12++){var _0x187fx13=_0x187fx4[_0x83b3[263]](_0x187fx2,_0x187fx12),_0x187fx14=_0x187fx3[_0x83b3[248]](_0x187fx13);null!= _0x187fx14&& (this[_0x83b3[1713]](_0x187fx13)?this[_0x83b3[1715]](_0x187fx13)|| _0x187fx5[_0x83b3[207]](_0x187fx14):_0x187fx9[_0x83b3[207]](_0x187fx14))};this[_0x83b3[1823]](_0x187fx9,_0x187fx5)};mxEdgeLabelLayout[_0x83b3[202]][_0x83b3[1823]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx4[_0x83b3[473]]();try{for(var _0x187fx5=0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){var _0x187fx9=_0x187fx3[_0x187fx5];if(null!= _0x187fx9&& null!= _0x187fx9[_0x83b3[963]]&& null!= _0x187fx9[_0x83b3[963]][_0x83b3[1563]]){for(var _0x187fxa=0;_0x187fxa< _0x187fx2[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx2[_0x187fxa];null!= _0x187fx12&& this[_0x83b3[1824]](_0x187fx9,_0x187fx12)}}}}finally{_0x187fx4[_0x83b3[476]]()}};mxEdgeLabelLayout[_0x83b3[202]][_0x83b3[1824]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx2[_0x83b3[963]][_0x83b3[1563]];if(mxUtils[_0x83b3[1825]](_0x187fx5,_0x187fx3)){var _0x187fx9=-_0x187fx5[_0x83b3[236]]- _0x187fx5[_0x83b3[119]]+ _0x187fx3[_0x83b3[236]],_0x187fxa=-_0x187fx5[_0x83b3[236]]+ _0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]],_0x187fx9=Math[_0x83b3[425]](_0x187fx9)< Math[_0x83b3[425]](_0x187fxa)?_0x187fx9:_0x187fxa,_0x187fxa=-_0x187fx5[_0x83b3[235]]- _0x187fx5[_0x83b3[117]]+ _0x187fx3[_0x83b3[235]],_0x187fx5=-_0x187fx5[_0x83b3[235]]+ _0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx5=Math[_0x83b3[425]](_0x187fxa)< Math[_0x83b3[425]](_0x187fx5)?_0x187fxa:_0x187fx5;Math[_0x83b3[425]](_0x187fx5)< Math[_0x83b3[425]](_0x187fx9)?_0x187fx9= 0:_0x187fx5= 0;_0x187fxa= _0x187fx4[_0x83b3[1721]](_0x187fx2[_0x83b3[246]]);null!= _0x187fxa&& (_0x187fxa= _0x187fxa[_0x83b3[238]](),null!= _0x187fxa[_0x83b3[1368]]?(_0x187fxa[_0x83b3[1368]][_0x83b3[235]]+= _0x187fx5,_0x187fxa[_0x83b3[1368]][_0x83b3[236]]+= _0x187fx9):_0x187fxa[_0x83b3[1368]]= new mxPoint(_0x187fx5,_0x187fx9),_0x187fx4[_0x83b3[1724]](_0x187fx2[_0x83b3[246]],_0x187fxa))}};function mxGraphAbstractHierarchyCell(){this[_0x83b3[235]]= [];this[_0x83b3[236]]= [];this[_0x83b3[1826]]= []}mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1827]]= -1;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1828]]= -1;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[235]]= null;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[236]]= null;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[117]]= 0;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[119]]= 0;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1829]]= null;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1830]]= null;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1826]]= null;mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1831]]= function(_0x187fx2){return null};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1832]]= function(_0x187fx2){return null};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[250]]= function(){return !1};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1193]]= function(){return !1};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1833]]= function(_0x187fx2){return null};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1834]]= function(_0x187fx2,_0x187fx3){return null};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1835]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1193]]()?this[_0x83b3[235]][0]= _0x187fx3:this[_0x83b3[250]]()&& (this[_0x83b3[235]][_0x187fx2- this[_0x83b3[1828]]- 1]= _0x187fx3)};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[730]]= function(_0x187fx2){return this[_0x83b3[1193]]()?this[_0x83b3[235]][0]:this[_0x83b3[250]]()?this[_0x83b3[235]][_0x187fx2- this[_0x83b3[1828]]- 1]:0};mxGraphAbstractHierarchyCell[_0x83b3[202]][_0x83b3[1836]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1193]]()?this[_0x83b3[236]][0]= _0x187fx3:this[_0x83b3[250]]()&& (this[_0x83b3[236]][_0x187fx2- this[_0x83b3[1828]]- 1]= _0x187fx3)};function mxGraphHierarchyNode(_0x187fx2){mxGraphAbstractHierarchyCell[_0x83b3[183]](this,arguments);this[_0x83b3[246]]= _0x187fx2}mxGraphHierarchyNode[_0x83b3[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[196]]= mxGraphHierarchyNode;mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[246]]= null;mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1837]]= [];mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1838]]= [];mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1839]]= !1;mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1840]]= function(_0x187fx2){return this[_0x83b3[1827]]};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1831]]= function(_0x187fx2){if(null== this[_0x83b3[1829]]){this[_0x83b3[1829]]= [];this[_0x83b3[1829]][0]= [];for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1837]][_0x83b3[67]];_0x187fx3++){var _0x187fx4=this[_0x83b3[1837]][_0x187fx3];-1== _0x187fx4[_0x83b3[1827]]|| _0x187fx4[_0x83b3[1827]]== _0x187fx2+ 1?this[_0x83b3[1829]][0][_0x83b3[207]](_0x187fx4[_0x83b3[1097]]):this[_0x83b3[1829]][0][_0x83b3[207]](_0x187fx4)}};return this[_0x83b3[1829]][0]};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1832]]= function(_0x187fx2){if(null== this[_0x83b3[1830]]){this[_0x83b3[1830]]= [];this[_0x83b3[1830]][0]= [];for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1838]][_0x83b3[67]];_0x187fx3++){var _0x187fx4=this[_0x83b3[1838]][_0x187fx3];-1== _0x187fx4[_0x83b3[1828]]|| _0x187fx4[_0x83b3[1828]]== _0x187fx2- 1?this[_0x83b3[1830]][0][_0x83b3[207]](_0x187fx4[_0x83b3[772]]):this[_0x83b3[1830]][0][_0x83b3[207]](_0x187fx4)}};return this[_0x83b3[1830]][0]};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1193]]= function(){return !0};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1833]]= function(_0x187fx2){return this[_0x83b3[1826]][0]};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1834]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1826]][0]= _0x187fx3};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1720]]= function(_0x187fx2){if(null!= _0x187fx2&& null!= this[_0x83b3[1839]]&& null!= _0x187fx2[_0x83b3[1839]]&& this[_0x83b3[1839]][_0x83b3[67]]< _0x187fx2[_0x83b3[1839]][_0x83b3[67]]){if(this[_0x83b3[1839]]== _0x187fx2[_0x83b3[1839]]){return !0};if(null== this[_0x83b3[1839]]|| null== this[_0x83b3[1839]]){return !1};for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1839]][_0x83b3[67]];_0x187fx3++){if(this[_0x83b3[1839]][_0x187fx3]!= _0x187fx2[_0x83b3[1839]][_0x187fx3]){return !1}};return !0};return !1};mxGraphHierarchyNode[_0x83b3[202]][_0x83b3[1841]]= function(){return this[_0x83b3[246]]};function mxGraphHierarchyEdge(_0x187fx2){mxGraphAbstractHierarchyCell[_0x83b3[183]](this,arguments);this[_0x83b3[1842]]= _0x187fx2}mxGraphHierarchyEdge[_0x83b3[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[196]]= mxGraphHierarchyEdge;mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1842]]= null;mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1097]]= null;mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[772]]= null;mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1843]]= !1;mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1744]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[1097]];this[_0x83b3[1097]]= this[_0x83b3[772]];this[_0x83b3[772]]= _0x187fx2;this[_0x83b3[1843]]= !this[_0x83b3[1843]]};mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1831]]= function(_0x187fx2){if(null== this[_0x83b3[1829]]){this[_0x83b3[1829]]= [];for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1826]][_0x83b3[67]];_0x187fx3++){this[_0x83b3[1829]][_0x187fx3]= [],_0x187fx3== this[_0x83b3[1826]][_0x83b3[67]]- 1?this[_0x83b3[1829]][_0x187fx3][_0x83b3[207]](this[_0x83b3[1097]]):this[_0x83b3[1829]][_0x187fx3][_0x83b3[207]](this)}};return this[_0x83b3[1829]][_0x187fx2- this[_0x83b3[1828]]- 1]};mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1832]]= function(_0x187fx2){if(null== this[_0x83b3[1830]]){this[_0x83b3[1830]]= [];for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1826]][_0x83b3[67]];_0x187fx3++){this[_0x83b3[1830]][_0x187fx3]= [],0== _0x187fx3?this[_0x83b3[1830]][_0x187fx3][_0x83b3[207]](this[_0x83b3[772]]):this[_0x83b3[1830]][_0x187fx3][_0x83b3[207]](this)}};return this[_0x83b3[1830]][_0x187fx2- this[_0x83b3[1828]]- 1]};mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[250]]= function(){return !0};mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1833]]= function(_0x187fx2){return this[_0x83b3[1826]][_0x187fx2- this[_0x83b3[1828]]- 1]};mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1834]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1826]][_0x187fx2- this[_0x83b3[1828]]- 1]= _0x187fx3};mxGraphHierarchyEdge[_0x83b3[202]][_0x83b3[1841]]= function(){return null!= this[_0x83b3[1842]]&& 0< this[_0x83b3[1842]][_0x83b3[67]]?this[_0x83b3[1842]][0]:null};function mxGraphHierarchyModel(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2[_0x83b3[1703]]();this[_0x83b3[1844]]= _0x187fx9;this[_0x83b3[1845]]= _0x187fx4;this[_0x83b3[1101]]= _0x187fx5;this[_0x83b3[1846]]= {};this[_0x83b3[1847]]= {};this[_0x83b3[1827]]= 0;_0x187fx4= [];null== _0x187fx3&& (_0x187fx3= this[_0x83b3[1179]][_0x83b3[1728]](_0x187fx5));this[_0x83b3[1827]]= this[_0x83b3[1848]];this[_0x83b3[1849]](_0x187fx2,_0x187fx3,_0x187fx4);for(_0x187fx5= 0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){_0x187fx9= _0x187fx4[_0x187fx5][_0x83b3[1838]];for(var _0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx9[_0x187fxa],_0x187fx13=_0x187fx12[_0x83b3[1842]];if(null!= _0x187fx13&& 0< _0x187fx13[_0x83b3[67]]){var _0x187fx13=_0x187fx13[0],_0x187fx14=_0x187fx2[_0x83b3[1710]](_0x187fx13,!1),_0x187fx14=mxCellPath[_0x83b3[385]](_0x187fx14),_0x187fx14=this[_0x83b3[1846]][_0x187fx14];_0x187fx4[_0x187fx5]== _0x187fx14&& (_0x187fx14= _0x187fx2[_0x83b3[1710]](_0x187fx13,!0),_0x187fx14= mxCellPath[_0x83b3[385]](_0x187fx14),_0x187fx14= this[_0x83b3[1846]][_0x187fx14]);null!= _0x187fx14&& _0x187fx4[_0x187fx5]!= _0x187fx14&& (_0x187fx12[_0x83b3[772]]= _0x187fx14,0== _0x187fx14[_0x83b3[1837]][_0x83b3[67]]&& (_0x187fx14[_0x83b3[1837]]= []),0> mxUtils[_0x83b3[2]](_0x187fx14[_0x83b3[1837]],_0x187fx12)&& _0x187fx14[_0x83b3[1837]][_0x83b3[207]](_0x187fx12))}};_0x187fx4[_0x187fx5][_0x83b3[1826]][0]= 1}}mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1827]]= null;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1846]]= null;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1847]]= null;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1850]]= null;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1845]]= null;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1101]]= null;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1851]]= 0;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1848]]= 1E8;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1844]]= !1;mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1849]]= function(_0x187fx2,_0x187fx3,_0x187fx4){for(var _0x187fx5=_0x187fx2[_0x83b3[1703]](),_0x187fx9=0;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){_0x187fx4[_0x187fx9]= new mxGraphHierarchyNode(_0x187fx3[_0x187fx9]);var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx3[_0x187fx9]);this[_0x83b3[1846]][_0x187fxa]= _0x187fx4[_0x187fx9];_0x187fxa= _0x187fx2[_0x83b3[264]](_0x187fx3[_0x187fx9]);_0x187fx4[_0x187fx9][_0x83b3[1838]]= [];for(var _0x187fx12=0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){var _0x187fx13=_0x187fx2[_0x83b3[1710]](_0x187fxa[_0x187fx12],!1);if(_0x187fx13!= _0x187fx3[_0x187fx9]&& _0x187fx13!= _0x187fx3[_0x187fx9]&& _0x187fx2[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1193]](_0x187fx13)&& !_0x187fx2[_0x83b3[1713]](_0x187fx13)){var _0x187fx14=_0x187fx2[_0x83b3[1781]](_0x187fx3[_0x187fx9],_0x187fx13,!1),_0x187fx15=_0x187fx2[_0x83b3[1781]](_0x187fx3[_0x187fx9],_0x187fx13,!0),_0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx14[0]);if(null!= _0x187fx14&& 0< _0x187fx14[_0x83b3[67]]&& null== this[_0x83b3[1847]][_0x187fx13]&& 2* _0x187fx15[_0x83b3[67]]>= _0x187fx14[_0x83b3[67]]){for(var _0x187fx15= new mxGraphHierarchyEdge(_0x187fx14),_0x187fx16=0;_0x187fx16< _0x187fx14[_0x83b3[67]];_0x187fx16++){var _0x187fx17=_0x187fx14[_0x187fx16],_0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx17);this[_0x83b3[1847]][_0x187fx13]= _0x187fx15;_0x187fx5[_0x83b3[1809]](_0x187fx17);_0x187fx2[_0x83b3[1787]]&& (_0x187fx2[_0x83b3[1716]](_0x187fx17,!1),_0x187fx2[_0x83b3[1718]](_0x187fx17,!0))};_0x187fx15[_0x83b3[1097]]= _0x187fx4[_0x187fx9];0> mxUtils[_0x83b3[2]](_0x187fx4[_0x187fx9][_0x83b3[1838]],_0x187fx15)&& _0x187fx4[_0x187fx9][_0x83b3[1838]][_0x83b3[207]](_0x187fx15)}}};_0x187fx4[_0x187fx9][_0x83b3[1826]][0]= 0}};mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1852]]= function(){var _0x187fx2=[];if(null!= this[_0x83b3[1845]]){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1845]][_0x83b3[67]];_0x187fx3++){var _0x187fx4=mxCellPath[_0x83b3[385]](this[_0x83b3[1845]][_0x187fx3]),_0x187fx4=this[_0x83b3[1846]][_0x187fx4];null!= _0x187fx4&& _0x187fx2[_0x83b3[207]](_0x187fx4)}};for(var _0x187fx5 in this[_0x83b3[1846]]){_0x187fx4= this[_0x83b3[1846]][_0x187fx5],_0x187fx4[_0x83b3[1826]][0]= -1};for(var _0x187fx9=_0x187fx2[_0x83b3[1853]]();0< _0x187fx2[_0x83b3[67]];){var _0x187fx4=_0x187fx2[0],_0x187fxa,_0x187fx12;_0x187fxa= _0x187fx4[_0x83b3[1837]];_0x187fx12= _0x187fx4[_0x83b3[1838]];for(var _0x187fx13=!0,_0x187fx14=this[_0x83b3[1848]],_0x187fx3=0;_0x187fx3< _0x187fxa[_0x83b3[67]];_0x187fx3++){var _0x187fx15=_0x187fxa[_0x187fx3];if(5270620== _0x187fx15[_0x83b3[1826]][0]){_0x187fx15= _0x187fx15[_0x83b3[1097]],_0x187fx14= Math[_0x83b3[243]](_0x187fx14,_0x187fx15[_0x83b3[1826]][0]- 1)}else {_0x187fx13= !1;break}};if(_0x187fx13){_0x187fx4[_0x83b3[1826]][0]= _0x187fx14;this[_0x83b3[1827]]= Math[_0x83b3[243]](this[_0x83b3[1827]],_0x187fx14);if(null!= _0x187fx12){for(_0x187fx3= 0;_0x187fx3< _0x187fx12[_0x83b3[67]];_0x187fx3++){_0x187fx15= _0x187fx12[_0x187fx3],_0x187fx15[_0x83b3[1826]][0]= 5270620,_0x187fx15= _0x187fx15[_0x83b3[772]],-1== _0x187fx15[_0x83b3[1826]][0]&& (_0x187fx2[_0x83b3[207]](_0x187fx15),_0x187fx15[_0x83b3[1826]][0]= -2)}};_0x187fx2[_0x83b3[1115]]()}else {if(_0x187fx3= _0x187fx2[_0x83b3[1115]](),_0x187fx2[_0x83b3[207]](_0x187fx4),_0x187fx3== _0x187fx4&& 1== _0x187fx2[_0x83b3[67]]){break}}};for(_0x187fx5 in this[_0x83b3[1846]]){_0x187fx4= this[_0x83b3[1846]][_0x187fx5],_0x187fx4[_0x83b3[1826]][0]-= this[_0x83b3[1827]]};for(_0x187fx3= 0;_0x187fx3< _0x187fx9[_0x83b3[67]];_0x187fx3++){_0x187fx4= _0x187fx9[_0x187fx3];_0x187fx2= 0;_0x187fxa= _0x187fx4[_0x83b3[1838]];for(_0x187fx5= 0;_0x187fx5< _0x187fxa[_0x83b3[67]];_0x187fx5++){_0x187fx15= _0x187fxa[_0x187fx5],_0x187fx15= _0x187fx15[_0x83b3[772]],_0x187fx4[_0x83b3[1826]][0]= Math[_0x83b3[160]](_0x187fx2,_0x187fx15[_0x83b3[1826]][0]+ 1),_0x187fx2= _0x187fx4[_0x83b3[1826]][0]}};this[_0x83b3[1827]]= this[_0x83b3[1848]]- this[_0x83b3[1827]]};mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1854]]= function(){var _0x187fx2=[];this[_0x83b3[1850]]= [];for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[1827]]+ 1;_0x187fx3++){_0x187fx2[_0x187fx3]= [],this[_0x83b3[1850]][_0x187fx3]= _0x187fx2[_0x187fx3]};var _0x187fx4=null;if(null!= this[_0x83b3[1845]]){for(var _0x187fx5=this[_0x83b3[1845]],_0x187fx4=[],_0x187fx3=0;_0x187fx3< _0x187fx5[_0x83b3[67]];_0x187fx3++){var _0x187fx9=mxCellPath[_0x83b3[385]](_0x187fx5[_0x187fx3]);_0x187fx4[_0x187fx3]= this[_0x83b3[1846]][_0x187fx9]}};this[_0x83b3[209]](function(_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fx15){0== _0x187fx15&& (0> _0x187fx4[_0x83b3[1827]]&& 0> _0x187fx4[_0x83b3[1828]])&& (_0x187fx2[_0x187fx4[_0x83b3[1826]][0]][_0x83b3[207]](_0x187fx4),_0x187fx4[_0x83b3[1827]]= _0x187fx4[_0x83b3[1826]][0],_0x187fx4[_0x83b3[1828]]= _0x187fx4[_0x83b3[1826]][0],_0x187fx4[_0x83b3[1826]][0]= _0x187fx2[_0x187fx4[_0x83b3[1827]]][_0x83b3[67]]- 1);if(null!= _0x187fx3&& null!= _0x187fx5&& 1< _0x187fx3[_0x83b3[1827]]- _0x187fx4[_0x83b3[1827]]){_0x187fx5[_0x83b3[1827]]= _0x187fx3[_0x83b3[1827]];_0x187fx5[_0x83b3[1828]]= _0x187fx4[_0x83b3[1827]];_0x187fx5[_0x83b3[1826]]= [];_0x187fx5[_0x83b3[235]]= [];_0x187fx5[_0x83b3[236]]= [];for(_0x187fx3= _0x187fx5[_0x83b3[1828]]+ 1;_0x187fx3< _0x187fx5[_0x83b3[1827]];_0x187fx3++){_0x187fx2[_0x187fx3][_0x83b3[207]](_0x187fx5),_0x187fx5[_0x83b3[1834]](_0x187fx3,_0x187fx2[_0x187fx3][_0x83b3[67]]- 1)}}},_0x187fx4,!1,null)};mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[209]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx3){for(var _0x187fx9=0;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){var _0x187fxa=_0x187fx3[_0x187fx9];null!= _0x187fxa&& (null== _0x187fx5&& (_0x187fx5= {}),_0x187fx4?(_0x187fxa[_0x83b3[1839]]= [],_0x187fxa[_0x83b3[1839]][0]= this[_0x83b3[1851]],_0x187fxa[_0x83b3[1839]][1]= _0x187fx9,this[_0x83b3[1855]](null,_0x187fxa,null,_0x187fx2,_0x187fx5,_0x187fxa[_0x83b3[1839]],_0x187fx9,0)):this[_0x83b3[1758]](null,_0x187fxa,null,_0x187fx2,_0x187fx5,0))};this[_0x83b3[1851]]++}};mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1758]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){if(null!= _0x187fx3){var _0x187fx12=mxCellPath[_0x83b3[385]](_0x187fx3[_0x83b3[246]]);if(null== _0x187fx9[_0x187fx12]){_0x187fx9[_0x187fx12]= _0x187fx3;_0x187fx5(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fxa,0);_0x187fx2= _0x187fx3[_0x83b3[1838]][_0x83b3[1853]]();for(_0x187fx4= 0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){_0x187fx12= _0x187fx2[_0x187fx4],this[_0x83b3[1758]](_0x187fx3,_0x187fx12[_0x83b3[772]],_0x187fx12,_0x187fx5,_0x187fx9,_0x187fxa+ 1)}}else {_0x187fx5(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fxa,1)}}};mxGraphHierarchyModel[_0x83b3[202]][_0x83b3[1855]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13){if(null!= _0x187fx3){if(null!= _0x187fx2&& (null== _0x187fx3[_0x83b3[1839]]|| _0x187fx3[_0x83b3[1839]][0]!= _0x187fx2[_0x83b3[1839]][0])){_0x187fxa= _0x187fx2[_0x83b3[1839]][_0x83b3[67]]+ 1,_0x187fx3[_0x83b3[1839]]= _0x187fx2[_0x83b3[1839]][_0x83b3[1853]](),_0x187fx3[_0x83b3[1839]][_0x187fxa- 1]= _0x187fx12};_0x187fx12= mxCellPath[_0x83b3[385]](_0x187fx3[_0x83b3[246]]);if(null== _0x187fx9[_0x187fx12]){_0x187fx9[_0x187fx12]= _0x187fx3;_0x187fx5(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx13,0);_0x187fx2= _0x187fx3[_0x83b3[1838]][_0x83b3[1853]]();for(_0x187fx4= 0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){_0x187fx12= _0x187fx2[_0x187fx4],this[_0x83b3[1855]](_0x187fx3,_0x187fx12[_0x83b3[772]],_0x187fx12,_0x187fx5,_0x187fx9,_0x187fx3[_0x83b3[1839]],_0x187fx4,_0x187fx13+ 1)}}else {_0x187fx5(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx13,1)}}};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){};function mxMedianHybridCrossingReduction(_0x187fx2){this[_0x83b3[1759]]= _0x187fx2}mxMedianHybridCrossingReduction[_0x83b3[202]]= new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[196]]= mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1759]]= null;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1795]]= 24;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1856]]= null;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1857]]= 0;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1858]]= 0;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1859]]= 2;mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[1759]][_0x83b3[502]]();this[_0x83b3[1856]]= [];for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[1850]][_0x83b3[67]];_0x187fx3++){this[_0x83b3[1856]][_0x187fx3]= _0x187fx2[_0x83b3[1850]][_0x187fx3][_0x83b3[1853]]()};for(var _0x187fx4=0,_0x187fx5=this[_0x83b3[1860]](_0x187fx2),_0x187fx3=0;_0x187fx3< this[_0x83b3[1795]]&& _0x187fx4< this[_0x83b3[1859]];_0x187fx3++){this[_0x83b3[1861]](_0x187fx3,_0x187fx2);this[_0x83b3[1862]](_0x187fx3,_0x187fx2);var _0x187fx9=this[_0x83b3[1860]](_0x187fx2);if(_0x187fx9< _0x187fx5){_0x187fx5= _0x187fx9;for(_0x187fx9= _0x187fx4= 0;_0x187fx9< this[_0x83b3[1856]][_0x83b3[67]];_0x187fx9++){for(var _0x187fxa=_0x187fx2[_0x83b3[1850]][_0x187fx9],_0x187fx12=0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){var _0x187fx13=_0x187fxa[_0x187fx12];this[_0x83b3[1856]][_0x187fx9][_0x187fx13[_0x83b3[1833]](_0x187fx9)]= _0x187fx13}}}else {_0x187fx4++;for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[1856]][_0x83b3[67]];_0x187fx9++){_0x187fxa= _0x187fx2[_0x83b3[1850]][_0x187fx9];for(_0x187fx12= 0;_0x187fx12< _0x187fxa[_0x83b3[67]];_0x187fx12++){_0x187fx13= _0x187fxa[_0x187fx12],_0x187fx13[_0x83b3[1834]](_0x187fx9,_0x187fx12)}}};if(0== _0x187fx5){break}};_0x187fx4= [];_0x187fx5= [];for(_0x187fx3= 0;_0x187fx3< _0x187fx2[_0x83b3[1827]]+ 1;_0x187fx3++){_0x187fx5[_0x187fx3]= [],_0x187fx4[_0x187fx3]= _0x187fx5[_0x187fx3]};for(_0x187fx3= 0;_0x187fx3< this[_0x83b3[1856]][_0x83b3[67]];_0x187fx3++){for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[1856]][_0x187fx3][_0x83b3[67]];_0x187fx9++){_0x187fx5[_0x187fx3][_0x83b3[207]](this[_0x83b3[1856]][_0x187fx3][_0x187fx9])}};_0x187fx2[_0x83b3[1850]]= _0x187fx4};mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1860]]= function(_0x187fx2){for(var _0x187fx3=_0x187fx2[_0x83b3[1850]][_0x83b3[67]],_0x187fx4=0,_0x187fx5=1;_0x187fx5< _0x187fx3;_0x187fx5++){_0x187fx4+= this[_0x83b3[1863]](_0x187fx5,_0x187fx2)};return _0x187fx4};mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1863]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=0,_0x187fx5=_0x187fx3[_0x83b3[1850]][_0x187fx2],_0x187fx9=_0x187fx5[_0x83b3[67]],_0x187fxa=_0x187fx3[_0x83b3[1850]][_0x187fx2- 1][_0x83b3[67]],_0x187fx12=[],_0x187fx13=0;_0x187fx13< _0x187fx9;_0x187fx13++){_0x187fx12[_0x187fx13]= []};for(_0x187fx13= 0;_0x187fx13< _0x187fx5[_0x83b3[67]];_0x187fx13++){for(var _0x187fx14=_0x187fx5[_0x187fx13],_0x187fx15=_0x187fx14[_0x83b3[1833]](_0x187fx2),_0x187fx16=_0x187fx14[_0x83b3[1832]](_0x187fx2),_0x187fx14=0;_0x187fx14< _0x187fx16[_0x83b3[67]];_0x187fx14++){var _0x187fx17=_0x187fx16[_0x187fx14][_0x83b3[1833]](_0x187fx2- 1);_0x187fx12[_0x187fx15][_0x187fx17]= 201207}};for(_0x187fx13= 0;_0x187fx13< _0x187fx9;_0x187fx13++){for(_0x187fx14= 0;_0x187fx14< _0x187fxa;_0x187fx14++){if(201207== _0x187fx12[_0x187fx13][_0x187fx14]){for(_0x187fx5= _0x187fx13+ 1;_0x187fx5< _0x187fx9;_0x187fx5++){for(_0x187fx15= 0;_0x187fx15< _0x187fx14;_0x187fx15++){201207== _0x187fx12[_0x187fx5][_0x187fx15]&& _0x187fx4++}};for(_0x187fx5= 0;_0x187fx5< _0x187fx13;_0x187fx5++){for(_0x187fx15= _0x187fx14+ 1;_0x187fx15< _0x187fxa;_0x187fx15++){201207== _0x187fx12[_0x187fx5][_0x187fx15]&& _0x187fx4++}}}}};return _0x187fx4/ 2};mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1862]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=!0,_0x187fx5=0;_0x187fx4&& 10> _0x187fx5++;){for(var _0x187fx9=1== _0x187fx2% 2&& 1== _0x187fx5% 2,_0x187fx4=!1,_0x187fxa=0;_0x187fxa< _0x187fx3[_0x83b3[1850]][_0x83b3[67]];_0x187fxa++){for(var _0x187fx12=_0x187fx3[_0x83b3[1850]][_0x187fxa],_0x187fx13=[],_0x187fx14=0;_0x187fx14< _0x187fx12[_0x83b3[67]];_0x187fx14++){var _0x187fx15=_0x187fx12[_0x187fx14],_0x187fx16=_0x187fx15[_0x83b3[1833]](_0x187fxa);0> _0x187fx16&& (_0x187fx16= _0x187fx14);_0x187fx13[_0x187fx16]= _0x187fx15};for(var _0x187fx17=_0x187fx16= _0x187fx15= null,_0x187fx18=null,_0x187fx19=null,_0x187fx1a=null,_0x187fx1b=null,_0x187fx1c=null,_0x187fx1d=null,_0x187fx1e=null,_0x187fx14=0;_0x187fx14< _0x187fx12[_0x83b3[67]]- 1;_0x187fx14++){if(0== _0x187fx14){for(var _0x187fx1d=_0x187fx13[_0x187fx14],_0x187fx15=_0x187fx1d[_0x83b3[1831]](_0x187fxa),_0x187fx16=_0x187fx1d[_0x83b3[1832]](_0x187fxa),_0x187fx19=[],_0x187fx1a=[],_0x187fx1f=0;_0x187fx1f< _0x187fx15[_0x83b3[67]];_0x187fx1f++){_0x187fx19[_0x187fx1f]= _0x187fx15[_0x187fx1f][_0x83b3[1833]](_0x187fxa+ 1)};for(_0x187fx1f= 0;_0x187fx1f< _0x187fx16[_0x83b3[67]];_0x187fx1f++){_0x187fx1a[_0x187fx1f]= _0x187fx16[_0x187fx1f][_0x83b3[1833]](_0x187fxa- 1)}}else {_0x187fx15= _0x187fx17,_0x187fx16= _0x187fx18,_0x187fx19= _0x187fx1b,_0x187fx1a= _0x187fx1c,_0x187fx1d= _0x187fx1e};_0x187fx1e= _0x187fx13[_0x187fx14+ 1];_0x187fx17= _0x187fx1e[_0x83b3[1831]](_0x187fxa);_0x187fx18= _0x187fx1e[_0x83b3[1832]](_0x187fxa);_0x187fx1b= [];_0x187fx1c= [];for(_0x187fx1f= 0;_0x187fx1f< _0x187fx17[_0x83b3[67]];_0x187fx1f++){_0x187fx1b[_0x187fx1f]= _0x187fx17[_0x187fx1f][_0x83b3[1833]](_0x187fxa+ 1)};for(_0x187fx1f= 0;_0x187fx1f< _0x187fx18[_0x83b3[67]];_0x187fx1f++){_0x187fx1c[_0x187fx1f]= _0x187fx18[_0x187fx1f][_0x83b3[1833]](_0x187fxa- 1)};for(var _0x187fx20=0,_0x187fx62=0,_0x187fx1f=0;_0x187fx1f< _0x187fx19[_0x83b3[67]];_0x187fx1f++){for(var _0x187fx63=0;_0x187fx63< _0x187fx1b[_0x83b3[67]];_0x187fx63++){_0x187fx19[_0x187fx1f]> _0x187fx1b[_0x187fx63]&& _0x187fx20++,_0x187fx19[_0x187fx1f]< _0x187fx1b[_0x187fx63]&& _0x187fx62++}};for(_0x187fx1f= 0;_0x187fx1f< _0x187fx1a[_0x83b3[67]];_0x187fx1f++){for(_0x187fx63= 0;_0x187fx63< _0x187fx1c[_0x83b3[67]];_0x187fx63++){_0x187fx1a[_0x187fx1f]> _0x187fx1c[_0x187fx63]&& _0x187fx20++,_0x187fx1a[_0x187fx1f]< _0x187fx1c[_0x187fx63]&& _0x187fx62++}};if(_0x187fx62< _0x187fx20|| _0x187fx62== _0x187fx20&& _0x187fx9){_0x187fx17= _0x187fx1d[_0x83b3[1833]](_0x187fxa),_0x187fx1d[_0x83b3[1834]](_0x187fxa,_0x187fx1e[_0x83b3[1833]](_0x187fxa)),_0x187fx1e[_0x83b3[1834]](_0x187fxa,_0x187fx17),_0x187fx17= _0x187fx15,_0x187fx18= _0x187fx16,_0x187fx1b= _0x187fx19,_0x187fx1c= _0x187fx1a,_0x187fx1e= _0x187fx1d,_0x187fx9|| (_0x187fx4= !0)}}}}};mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1861]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=0== _0x187fx2% 2;if(_0x187fx4){for(var _0x187fx5=_0x187fx3[_0x83b3[1827]]- 1;0<= _0x187fx5;_0x187fx5--){this[_0x83b3[1864]](_0x187fx5,_0x187fx4)}}else {for(_0x187fx5= 1;_0x187fx5< _0x187fx3[_0x83b3[1827]];_0x187fx5++){this[_0x83b3[1864]](_0x187fx5,_0x187fx4)}}};mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1864]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=this[_0x83b3[1856]][_0x187fx2][_0x83b3[67]],_0x187fx5=[],_0x187fx9=[],_0x187fxa=0;_0x187fxa< _0x187fx4;_0x187fxa++){var _0x187fx12=this[_0x83b3[1856]][_0x187fx2][_0x187fxa],_0x187fx13= new MedianCellSorter;_0x187fx13[_0x83b3[246]]= _0x187fx12;var _0x187fx14;_0x187fx14= _0x187fx3?_0x187fx12[_0x83b3[1831]](_0x187fx2):_0x187fx12[_0x83b3[1832]](_0x187fx2);var _0x187fx15;_0x187fx15= _0x187fx3?_0x187fx2+ 1:_0x187fx2- 1;null!= _0x187fx14&& 0!= _0x187fx14[_0x83b3[67]]?(_0x187fx13[_0x83b3[1865]]= this[_0x83b3[1865]](_0x187fx14,_0x187fx15),_0x187fx5[_0x83b3[207]](_0x187fx13)):_0x187fx9[_0x187fx12[_0x83b3[1833]](_0x187fx2)]= !0};_0x187fx5[_0x83b3[470]](MedianCellSorter[_0x83b3[202]][_0x83b3[469]]);for(_0x187fxa= 0;_0x187fxa< _0x187fx4;_0x187fxa++){null== _0x187fx9[_0x187fxa]&& (_0x187fx12= _0x187fx5[_0x83b3[1115]]()[_0x83b3[246]],_0x187fx12[_0x83b3[1834]](_0x187fx2,_0x187fxa))}};mxMedianHybridCrossingReduction[_0x83b3[202]][_0x83b3[1865]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=[],_0x187fx5=0,_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){var _0x187fxa=_0x187fx2[_0x187fx9];_0x187fx4[_0x187fx5++]= _0x187fxa[_0x83b3[1833]](_0x187fx3)};_0x187fx4[_0x83b3[470]](function(_0x187fx2,_0x187fx3){return _0x187fx2- _0x187fx3});if(1== _0x187fx5% 2){return _0x187fx4[Math[_0x83b3[519]](_0x187fx5/ 2)]};if(2== _0x187fx5){return (_0x187fx4[0]+ _0x187fx4[1])/ 2};_0x187fx9= _0x187fx5/ 2;_0x187fxa= _0x187fx4[_0x187fx9- 1]- _0x187fx4[0];_0x187fx5= _0x187fx4[_0x187fx5- 1]- _0x187fx4[_0x187fx9];return (_0x187fx4[_0x187fx9- 1]* _0x187fx5+ _0x187fx4[_0x187fx9]* _0x187fxa)/ (_0x187fxa+ _0x187fx5)};function MedianCellSorter(){}MedianCellSorter[_0x83b3[202]][_0x83b3[1865]]= 0;MedianCellSorter[_0x83b3[202]][_0x83b3[246]]= !1;MedianCellSorter[_0x83b3[202]][_0x83b3[469]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2&& null!= _0x187fx3?_0x187fx3[_0x83b3[1865]]> _0x187fx2[_0x83b3[1865]]?-1:_0x187fx3[_0x83b3[1865]]< _0x187fx2[_0x83b3[1865]]?1:0:0};function mxMinimumCycleRemover(_0x187fx2){this[_0x83b3[1759]]= _0x187fx2}mxMinimumCycleRemover[_0x83b3[202]]= new mxHierarchicalLayoutStage;mxMinimumCycleRemover[_0x83b3[202]][_0x83b3[196]]= mxMinimumCycleRemover;mxMinimumCycleRemover[_0x83b3[202]][_0x83b3[1759]]= null;mxMinimumCycleRemover[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1759]][_0x83b3[502]](),_0x187fx4={},_0x187fx5=mxUtils[_0x83b3[238]](_0x187fx3[_0x83b3[1846]],null,!0),_0x187fx9=null;if(null!= _0x187fx3[_0x83b3[1845]]){var _0x187fxa=_0x187fx3[_0x83b3[1845]],_0x187fx9=[];for(_0x187fx2= 0;_0x187fx2< _0x187fxa[_0x83b3[67]];_0x187fx2++){var _0x187fx12=mxCellPath[_0x83b3[385]](_0x187fxa[_0x187fx2]);_0x187fx9[_0x187fx2]= _0x187fx3[_0x83b3[1846]][_0x187fx12]}};_0x187fx3[_0x83b3[209]](function(_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx12){_0x187fx3[_0x83b3[1720]](_0x187fx2)&& (_0x187fx9[_0x83b3[1744]](),mxUtils[_0x83b3[205]](_0x187fx9,_0x187fx2[_0x83b3[1838]]),_0x187fx2[_0x83b3[1837]][_0x83b3[207]](_0x187fx9),mxUtils[_0x83b3[205]](_0x187fx9,_0x187fx3[_0x83b3[1837]]),_0x187fx3[_0x83b3[1838]][_0x83b3[207]](_0x187fx9));_0x187fx2= mxCellPath[_0x83b3[385]](_0x187fx3[_0x83b3[246]]);_0x187fx4[_0x187fx2]= _0x187fx3;delete _0x187fx5[_0x187fx2]},_0x187fx9,!0,null);_0x187fx9= null;0< _0x187fx5[_0x83b3[1866]]&& (_0x187fx9= mxUtils[_0x83b3[238]](_0x187fx5,null,!0));_0x187fx2= mxUtils[_0x83b3[238]](_0x187fx4,null,!0);_0x187fx3[_0x83b3[209]](function(_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx12){_0x187fx3[_0x83b3[1720]](_0x187fx2)&& (_0x187fx9[_0x83b3[1744]](),mxUtils[_0x83b3[205]](_0x187fx9,_0x187fx2[_0x83b3[1838]]),_0x187fx3[_0x83b3[1838]][_0x83b3[207]](_0x187fx9),_0x187fx2[_0x83b3[1837]][_0x83b3[207]](_0x187fx9),mxUtils[_0x83b3[205]](_0x187fx9,_0x187fx3[_0x83b3[1837]]));_0x187fx2= mxCellPath[_0x83b3[385]](_0x187fx3[_0x83b3[246]]);_0x187fx4[_0x187fx2]= _0x187fx3;delete _0x187fx5[_0x187fx2]},_0x187fx5,!0,_0x187fx2);_0x187fxa= this[_0x83b3[1759]][_0x83b3[1703]]();if(null!= _0x187fx9&& 0< _0x187fx9[_0x83b3[67]]){_0x187fx3= _0x187fx3[_0x83b3[1845]];for(_0x187fx2= 0;_0x187fx2< _0x187fx9[_0x83b3[67]];_0x187fx2++){_0x187fx12= _0x187fx9[_0x187fx2][_0x83b3[246]],0== _0x187fxa[_0x83b3[1867]](_0x187fx12)[_0x83b3[67]]&& _0x187fx3[_0x83b3[207]](_0x187fx12)}}};function mxCoordinateAssignment(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[1759]]= _0x187fx2;this[_0x83b3[1868]]= _0x187fx3;this[_0x83b3[1869]]= _0x187fx4;this[_0x83b3[1870]]= _0x187fx5;this[_0x83b3[1871]]= _0x187fx9;this[_0x83b3[1872]]= _0x187fxa}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxCoordinateAssignment[_0x83b3[202]]= new mxHierarchicalLayoutStage;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[196]]= mxCoordinateAssignment;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1759]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1868]]= 30;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1869]]= 100;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1872]]= 10;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1795]]= 8;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1751]]= 5;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1752]]= 2;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1753]]= 12;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1754]]= 4;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1873]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1870]]= mxConstants[_0x83b3[1358]];mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1871]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1874]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1875]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1876]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1877]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1878]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1879]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1880]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1881]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1882]]= !0;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[675]]= mxHierarchicalEdgeStyle[_0x83b3[1883]];mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1884]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1885]]= null;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1745]]= 10;mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1886]]= function(){var _0x187fx2=this[_0x83b3[1759]][_0x83b3[502]]();mxLog[_0x83b3[539]]();mxLog[_0x83b3[171]](_0x83b3[1887]);for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[1850]][_0x83b3[67]];_0x187fx3++){mxLog[_0x83b3[53]](_0x83b3[1888],_0x187fx3,_0x83b3[1889]);for(var _0x187fx4=_0x187fx2[_0x83b3[1850]][_0x187fx3],_0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){mxLog[_0x83b3[53]](_0x187fx4[_0x187fx5][_0x83b3[1833]](_0x187fx3),_0x83b3[316])};mxLog[_0x83b3[171]]()};mxLog[_0x83b3[171]](_0x83b3[1890])};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){this[_0x83b3[1873]]= [];_0x187fx2= this[_0x83b3[1759]][_0x83b3[502]]();this[_0x83b3[1875]]= 0;this[_0x83b3[1891]](this[_0x83b3[1759]][_0x83b3[1703]](),_0x187fx2);this[_0x83b3[1882]]&& this[_0x83b3[1892]](_0x187fx2);var _0x187fx3=1E8;if(this[_0x83b3[1882]]){for(var _0x187fx4=0;_0x187fx4< this[_0x83b3[1795]];_0x187fx4++){0!= _0x187fx4&& (this[_0x83b3[1893]](_0x187fx4,_0x187fx2),this[_0x83b3[1892]](_0x187fx2));if(this[_0x83b3[1875]]< _0x187fx3){for(var _0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[1850]][_0x83b3[67]];_0x187fx5++){for(var _0x187fx9=_0x187fx2[_0x83b3[1850]][_0x187fx5],_0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx9[_0x187fxa];_0x187fx12[_0x83b3[1835]](_0x187fx5,_0x187fx12[_0x83b3[1833]](_0x187fx5))}};_0x187fx3= this[_0x83b3[1875]]}else {for(_0x187fx5= 0;_0x187fx5< _0x187fx2[_0x83b3[1850]][_0x83b3[67]];_0x187fx5++){_0x187fx9= _0x187fx2[_0x83b3[1850]][_0x187fx5];for(_0x187fxa= 0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){_0x187fx12= _0x187fx9[_0x187fxa],_0x187fx12[_0x83b3[1834]](_0x187fx5,_0x187fx12[_0x83b3[730]](_0x187fx5))}}};this[_0x83b3[1894]](this[_0x83b3[1759]][_0x83b3[1703]](),_0x187fx2);this[_0x83b3[1875]]= 0}};this[_0x83b3[1895]](this[_0x83b3[1759]][_0x83b3[1703]](),_0x187fx2)};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1892]]= function(_0x187fx2){for(var _0x187fx3=[],_0x187fx4=[],_0x187fx5=[],_0x187fx9=0;_0x187fx9<= _0x187fx2[_0x83b3[1827]];_0x187fx9++){_0x187fx5[_0x187fx9]= _0x187fx2[_0x83b3[1850]][_0x187fx9];for(var _0x187fxa=0;_0x187fxa< _0x187fx5[_0x187fx9][_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx5[_0x187fx9][_0x187fxa],_0x187fx13= new WeightedCellSorter(_0x187fx12,_0x187fx9);_0x187fx13[_0x83b3[1785]]= _0x187fxa;_0x187fx13[_0x83b3[1784]]= !0;_0x187fx3[_0x83b3[207]](_0x187fx13);_0x187fx12= mxCellPath[_0x83b3[385]](_0x187fx12[_0x83b3[1841]]());_0x187fx4[_0x187fx12]= _0x187fx13}};_0x187fx2= 10* _0x187fx3[_0x83b3[67]];for(_0x187fxa= 0;0< _0x187fx3[_0x83b3[67]]&& _0x187fxa<= _0x187fx2;){var _0x187fx13=_0x187fx3[_0x83b3[1115]](),_0x187fx9=_0x187fx13[_0x83b3[246]],_0x187fx14=_0x187fx13[_0x83b3[1782]],_0x187fx15=parseInt(_0x187fx13[_0x83b3[1785]]),_0x187fx12=_0x187fx9[_0x83b3[1831]](_0x187fx14),_0x187fx16=_0x187fx9[_0x83b3[1832]](_0x187fx14),_0x187fx17=_0x187fx12[_0x83b3[67]],_0x187fx18=_0x187fx16[_0x83b3[67]],_0x187fx19=this[_0x83b3[1896]](_0x187fx12,_0x187fx14+ 1),_0x187fx1a=this[_0x83b3[1896]](_0x187fx16,_0x187fx14- 1),_0x187fx1b=_0x187fx17+ _0x187fx18,_0x187fx1c=_0x187fx9[_0x83b3[1833]](_0x187fx14),_0x187fx1d=_0x187fx1c;0< _0x187fx1b&& (_0x187fx1d= (_0x187fx19* _0x187fx17+ _0x187fx1a* _0x187fx18)/ _0x187fx1b);_0x187fx17= !1;_0x187fx1d< _0x187fx1c- 1?0== _0x187fx15?(_0x187fx9[_0x83b3[1834]](_0x187fx14,_0x187fx1d),_0x187fx17= !0):(_0x187fx15= _0x187fx5[_0x187fx14][_0x187fx15- 1],_0x187fx1c= _0x187fx15[_0x83b3[1833]](_0x187fx14),_0x187fx1c= _0x187fx1c+ _0x187fx15[_0x83b3[117]]/ 2+ this[_0x83b3[1868]]+ _0x187fx9[_0x83b3[117]]/ 2,_0x187fx1c< _0x187fx1d?(_0x187fx9[_0x83b3[1834]](_0x187fx14,_0x187fx1d),_0x187fx17= !0):_0x187fx1c< _0x187fx9[_0x83b3[1833]](_0x187fx14)- 1&& (_0x187fx9[_0x83b3[1834]](_0x187fx14,_0x187fx1c),_0x187fx17= !0)):_0x187fx1d> _0x187fx1c+ 1&& (_0x187fx15== _0x187fx5[_0x187fx14][_0x83b3[67]]- 1?(_0x187fx9[_0x83b3[1834]](_0x187fx14,_0x187fx1d),_0x187fx17= !0):(_0x187fx15= _0x187fx5[_0x187fx14][_0x187fx15+ 1],_0x187fx1c= _0x187fx15[_0x83b3[1833]](_0x187fx14),_0x187fx1c= _0x187fx1c- _0x187fx15[_0x83b3[117]]/ 2- this[_0x83b3[1868]]- _0x187fx9[_0x83b3[117]]/ 2,_0x187fx1c> _0x187fx1d?(_0x187fx9[_0x83b3[1834]](_0x187fx14,_0x187fx1d),_0x187fx17= !0):_0x187fx1c> _0x187fx9[_0x83b3[1833]](_0x187fx14)+ 1&& (_0x187fx9[_0x83b3[1834]](_0x187fx14,_0x187fx1c),_0x187fx17= !0)));if(_0x187fx17){for(_0x187fx9= 0;_0x187fx9< _0x187fx12[_0x83b3[67]];_0x187fx9++){_0x187fx14= _0x187fx12[_0x187fx9],_0x187fx14= mxCellPath[_0x83b3[385]](_0x187fx14[_0x83b3[1841]]()),_0x187fx14= _0x187fx4[_0x187fx14],null!= _0x187fx14&& !1== _0x187fx14[_0x83b3[1784]]&& (_0x187fx14[_0x83b3[1784]]= !0,_0x187fx3[_0x83b3[207]](_0x187fx14))};for(_0x187fx9= 0;_0x187fx9< _0x187fx16[_0x83b3[67]];_0x187fx9++){_0x187fx14= _0x187fx16[_0x187fx9],_0x187fx14= mxCellPath[_0x83b3[385]](_0x187fx14[_0x83b3[1841]]()),_0x187fx14= _0x187fx4[_0x187fx14],null!= _0x187fx14&& !1== _0x187fx14[_0x83b3[1784]]&& (_0x187fx14[_0x83b3[1784]]= !0,_0x187fx3[_0x83b3[207]](_0x187fx14))}};_0x187fx13[_0x83b3[1784]]= !1;_0x187fxa++}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1893]]= function(_0x187fx2,_0x187fx3){if(0== _0x187fx2% 2){for(var _0x187fx4=_0x187fx3[_0x83b3[1827]];0< _0x187fx4;_0x187fx4--){this[_0x83b3[1897]](_0x187fx4- 1,_0x187fx3,_0x187fx4)}}else {for(_0x187fx4= 0;_0x187fx4< _0x187fx3[_0x83b3[1827]]- 1;_0x187fx4++){this[_0x83b3[1897]](_0x187fx4+ 1,_0x187fx3,_0x187fx4)}}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1897]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= _0x187fx3[_0x83b3[1850]][_0x187fx2];for(var _0x187fx5=[],_0x187fx9=[],_0x187fxa=0;_0x187fxa< _0x187fx3[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx3[_0x187fxa];_0x187fx5[_0x187fxa]= new WeightedCellSorter;_0x187fx5[_0x187fxa][_0x83b3[246]]= _0x187fx12;_0x187fx5[_0x187fxa][_0x83b3[1785]]= _0x187fxa;var _0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx12[_0x83b3[1841]]());_0x187fx9[_0x187fx13]= _0x187fx5[_0x187fxa];var _0x187fx14=null,_0x187fx14=_0x187fx4< _0x187fx2?_0x187fx12[_0x83b3[1832]](_0x187fx2):_0x187fx12[_0x83b3[1831]](_0x187fx2);_0x187fx5[_0x187fxa][_0x83b3[1782]]= this[_0x83b3[1898]](_0x187fx12,_0x187fx14)};_0x187fx5[_0x83b3[470]](WeightedCellSorter[_0x83b3[202]][_0x83b3[469]]);for(_0x187fxa= 0;_0x187fxa< _0x187fx5[_0x83b3[67]];_0x187fxa++){_0x187fx13= 0;_0x187fx12= _0x187fx5[_0x187fxa][_0x83b3[246]];_0x187fx13= 0;_0x187fx14= _0x187fx4< _0x187fx2?_0x187fx12[_0x83b3[1832]](_0x187fx2)[_0x83b3[1853]]():_0x187fx12[_0x83b3[1831]](_0x187fx2)[_0x83b3[1853]]();null!= _0x187fx14&& (_0x187fx13= _0x187fx14[_0x83b3[67]],_0x187fx13= 0< _0x187fx13?this[_0x83b3[1896]](_0x187fx14,_0x187fx4):_0x187fx12[_0x83b3[1833]](_0x187fx2));for(var _0x187fx15=0,_0x187fx14=-1E8,_0x187fx16=_0x187fx5[_0x187fxa][_0x83b3[1785]]- 1;0<= _0x187fx16;){var _0x187fx17=mxCellPath[_0x83b3[385]](_0x187fx3[_0x187fx16][_0x83b3[1841]]()),_0x187fx17=_0x187fx9[_0x187fx17];if(null!= _0x187fx17){var _0x187fx18=_0x187fx17[_0x83b3[246]];_0x187fx17[_0x83b3[1784]]?(_0x187fx14= _0x187fx18[_0x83b3[1833]](_0x187fx2)+ _0x187fx18[_0x83b3[117]]/ 2+ this[_0x83b3[1868]]+ _0x187fx15+ _0x187fx12[_0x83b3[117]]/ 2,_0x187fx16= -1):(_0x187fx15+= _0x187fx18[_0x83b3[117]]+ this[_0x83b3[1868]],_0x187fx16--)}};_0x187fx15= 0;_0x187fx18= 1E8;for(_0x187fx16= _0x187fx5[_0x187fxa][_0x83b3[1785]]+ 1;_0x187fx16< _0x187fx5[_0x83b3[67]];){if(_0x187fx17= mxCellPath[_0x83b3[385]](_0x187fx3[_0x187fx16][_0x83b3[1841]]()),_0x187fx17= _0x187fx9[_0x187fx17],null!= _0x187fx17){var _0x187fx19=_0x187fx17[_0x83b3[246]];_0x187fx17[_0x83b3[1784]]?(_0x187fx18= _0x187fx19[_0x83b3[1833]](_0x187fx2)- _0x187fx19[_0x83b3[117]]/ 2- this[_0x83b3[1868]]- _0x187fx15- _0x187fx12[_0x83b3[117]]/ 2,_0x187fx16= _0x187fx5[_0x83b3[67]]):(_0x187fx15+= _0x187fx19[_0x83b3[117]]+ this[_0x83b3[1868]],_0x187fx16++)}};_0x187fx13>= _0x187fx14&& _0x187fx13<= _0x187fx18?_0x187fx12[_0x83b3[1834]](_0x187fx2,_0x187fx13):_0x187fx13< _0x187fx14?(_0x187fx12[_0x83b3[1834]](_0x187fx2,_0x187fx14),this[_0x83b3[1875]]+= _0x187fx14- _0x187fx13):_0x187fx13> _0x187fx18&& (_0x187fx12[_0x83b3[1834]](_0x187fx2,_0x187fx18),this[_0x83b3[1875]]+= _0x187fx13- _0x187fx18);_0x187fx5[_0x187fxa][_0x83b3[1784]]= !0}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1898]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=0,_0x187fx5=0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){var _0x187fx9=_0x187fx3[_0x187fx5];_0x187fx2[_0x83b3[1193]]()&& _0x187fx9[_0x83b3[1193]]()?_0x187fx4++:_0x187fx4= _0x187fx2[_0x83b3[250]]()&& _0x187fx9[_0x83b3[250]]()?_0x187fx4+ 8:_0x187fx4+ 2};return _0x187fx4};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1896]]= function(_0x187fx2,_0x187fx3){if(0== _0x187fx2[_0x83b3[67]]){return 0};for(var _0x187fx4=[],_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){_0x187fx4[_0x187fx5]= _0x187fx2[_0x187fx5][_0x83b3[1833]](_0x187fx3)};_0x187fx4[_0x83b3[470]](function(_0x187fx2,_0x187fx3){return _0x187fx2- _0x187fx3});if(1== _0x187fx2[_0x83b3[67]]% 2){return _0x187fx4[Math[_0x83b3[519]](_0x187fx2[_0x83b3[67]]/ 2)]};_0x187fx5= _0x187fx2[_0x83b3[67]]/ 2;return (_0x187fx4[_0x187fx5- 1]+ _0x187fx4[_0x187fx5])/ 2};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1891]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1899]](_0x187fx2,_0x187fx3);for(var _0x187fx4=this[_0x83b3[1876]];0<= _0x187fx4;_0x187fx4--){_0x187fx4< _0x187fx3[_0x83b3[1827]]&& this[_0x83b3[1900]](_0x187fx4,_0x187fx2,_0x187fx3)};for(_0x187fx4= this[_0x83b3[1876]]+ 1;_0x187fx4<= _0x187fx3[_0x83b3[1827]];_0x187fx4++){0< _0x187fx4&& this[_0x83b3[1900]](_0x187fx4,_0x187fx2,_0x187fx3)}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1900]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= _0x187fx4[_0x83b3[1850]][_0x187fx2];_0x187fx4= 0;for(var _0x187fx5=this[_0x83b3[1871]]+ (this[_0x83b3[1879]]- this[_0x83b3[1880]][_0x187fx2])/ 2,_0x187fx9=!1,_0x187fxa=0;_0x187fxa< _0x187fx3[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx3[_0x187fxa];if(_0x187fx12[_0x83b3[1193]]()){var _0x187fx13=this[_0x83b3[1759]][_0x83b3[1726]](_0x187fx12[_0x83b3[246]]);null!= _0x187fx13?this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1354]]?(_0x187fx12[_0x83b3[117]]= _0x187fx13[_0x83b3[117]],_0x187fx12[_0x83b3[119]]= _0x187fx13[_0x83b3[119]]):(_0x187fx12[_0x83b3[117]]= _0x187fx13[_0x83b3[119]],_0x187fx12[_0x83b3[119]]= _0x187fx13[_0x83b3[117]]):_0x187fx9= !0;_0x187fx4= Math[_0x83b3[160]](_0x187fx4,_0x187fx12[_0x83b3[119]])}else {_0x187fx12[_0x83b3[250]]()&& (_0x187fx13= 1,null!= _0x187fx12[_0x83b3[1842]]?_0x187fx13= _0x187fx12[_0x83b3[1842]][_0x83b3[67]]:mxLog[_0x83b3[283]](_0x83b3[1901]),_0x187fx12[_0x83b3[117]]= (_0x187fx13- 1)* this[_0x83b3[1872]])};_0x187fx5+= _0x187fx12[_0x83b3[117]]/ 2;_0x187fx12[_0x83b3[1835]](_0x187fx2,_0x187fx5);_0x187fx12[_0x83b3[1834]](_0x187fx2,_0x187fx5);_0x187fx5+= _0x187fx12[_0x83b3[117]]/ 2;_0x187fx5+= this[_0x83b3[1868]]};!0== _0x187fx9&& mxLog[_0x83b3[283]](_0x83b3[1902])};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1899]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=-this[_0x83b3[1869]],_0x187fx5=0;this[_0x83b3[1880]]= [];this[_0x83b3[1881]]= [];for(var _0x187fx9=_0x187fx3[_0x83b3[1827]];0<= _0x187fx9;_0x187fx9--){for(var _0x187fxa=0,_0x187fx12=_0x187fx3[_0x83b3[1850]][_0x187fx9],_0x187fx13=this[_0x83b3[1871]],_0x187fx14=!1,_0x187fx15=0;_0x187fx15< _0x187fx12[_0x83b3[67]];_0x187fx15++){var _0x187fx16=_0x187fx12[_0x187fx15];if(_0x187fx16[_0x83b3[1193]]()){var _0x187fx17=this[_0x83b3[1759]][_0x83b3[1726]](_0x187fx16[_0x83b3[246]]);null!= _0x187fx17?this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1354]]?(_0x187fx16[_0x83b3[117]]= _0x187fx17[_0x83b3[117]],_0x187fx16[_0x83b3[119]]= _0x187fx17[_0x83b3[119]]):(_0x187fx16[_0x83b3[117]]= _0x187fx17[_0x83b3[119]],_0x187fx16[_0x83b3[119]]= _0x187fx17[_0x83b3[117]]):_0x187fx14= !0;_0x187fxa= Math[_0x83b3[160]](_0x187fxa,_0x187fx16[_0x83b3[119]])}else {_0x187fx16[_0x83b3[250]]()&& (_0x187fx17= 1,null!= _0x187fx16[_0x83b3[1842]]?_0x187fx17= _0x187fx16[_0x83b3[1842]][_0x83b3[67]]:mxLog[_0x83b3[283]](_0x83b3[1901]),_0x187fx16[_0x83b3[117]]= (_0x187fx17- 1)* this[_0x83b3[1872]])};_0x187fx13+= _0x187fx16[_0x83b3[117]]/ 2;_0x187fx16[_0x83b3[1835]](_0x187fx9,_0x187fx13);_0x187fx16[_0x83b3[1834]](_0x187fx9,_0x187fx13);_0x187fx13+= _0x187fx16[_0x83b3[117]]/ 2;_0x187fx13+= this[_0x83b3[1868]];_0x187fx13> this[_0x83b3[1879]]&& (this[_0x83b3[1879]]= _0x187fx13,this[_0x83b3[1876]]= _0x187fx9);this[_0x83b3[1880]][_0x187fx9]= _0x187fx13};!0== _0x187fx14&& mxLog[_0x83b3[283]](_0x83b3[1902]);this[_0x83b3[1881]][_0x187fx9]= _0x187fx4;_0x187fx13= _0x187fxa/ 2+ _0x187fx5/ 2+ this[_0x83b3[1869]];_0x187fx5= _0x187fxa;_0x187fx4= this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1359]]?_0x187fx4+ _0x187fx13:_0x187fx4- _0x187fx13;for(_0x187fx15= 0;_0x187fx15< _0x187fx12[_0x83b3[67]];_0x187fx15++){_0x187fx12[_0x187fx15][_0x83b3[1836]](_0x187fx9,_0x187fx4)}}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1894]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx3[_0x83b3[1847]],_0x187fx5;for(_0x187fx5 in _0x187fx4){var _0x187fx9=_0x187fx4[_0x187fx5];if(!(1> _0x187fx9[_0x83b3[1827]]- _0x187fx9[_0x83b3[1828]]- 1)){for(var _0x187fxa=_0x187fx9[_0x83b3[1833]](_0x187fx9[_0x83b3[1828]]+ 1),_0x187fx12=!0,_0x187fx13=0,_0x187fx14=_0x187fx9[_0x83b3[1828]]+ 2;_0x187fx14< _0x187fx9[_0x83b3[1827]];_0x187fx14++){var _0x187fx15=_0x187fx9[_0x83b3[1833]](_0x187fx14);_0x187fxa!= _0x187fx15?(_0x187fx12= !1,_0x187fxa= _0x187fx15):_0x187fx13++};if(!_0x187fx12){for(var _0x187fx12=_0x187fxa= 0,_0x187fx15=[],_0x187fx16=[],_0x187fx17=_0x187fx9[_0x83b3[1833]](_0x187fx9[_0x83b3[1828]]+ 1),_0x187fx14=_0x187fx9[_0x83b3[1828]]+ 1;_0x187fx14< _0x187fx9[_0x83b3[1827]]- 1;_0x187fx14++){var _0x187fx18=_0x187fx9[_0x83b3[730]](_0x187fx14+ 1);_0x187fx17== _0x187fx18?(_0x187fx15[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 1]= _0x187fx17,_0x187fxa++):this[_0x83b3[1903]](_0x187fx3,_0x187fx9,_0x187fx14+ 1,_0x187fx17)?(_0x187fx15[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 1]= _0x187fx17,_0x187fxa++):_0x187fx17= _0x187fx15[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 1]= _0x187fx18};_0x187fx17= _0x187fx9[_0x83b3[730]](_0x187fx14);for(_0x187fx14= _0x187fx9[_0x83b3[1827]]- 1;_0x187fx14> _0x187fx9[_0x83b3[1828]]+ 1;_0x187fx14--){_0x187fx18= _0x187fx9[_0x83b3[730]](_0x187fx14- 1),_0x187fx17== _0x187fx18?(_0x187fx16[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 2]= _0x187fx17,_0x187fx12++):this[_0x83b3[1903]](_0x187fx3,_0x187fx9,_0x187fx14- 1,_0x187fx17)?(_0x187fx16[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 2]= _0x187fx17,_0x187fx12++):(_0x187fx16[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 2]= _0x187fx9[_0x83b3[730]](_0x187fx14- 1),_0x187fx17= _0x187fx18)};if(_0x187fx12> _0x187fx13|| _0x187fxa> _0x187fx13){if(_0x187fx12>= _0x187fxa){for(_0x187fx14= _0x187fx9[_0x83b3[1827]]- 2;_0x187fx14> _0x187fx9[_0x83b3[1828]];_0x187fx14--){_0x187fx9[_0x83b3[1835]](_0x187fx14,_0x187fx16[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 1])}}else {if(_0x187fxa> _0x187fx12){for(_0x187fx14= _0x187fx9[_0x83b3[1828]]+ 2;_0x187fx14< _0x187fx9[_0x83b3[1827]];_0x187fx14++){_0x187fx9[_0x83b3[1835]](_0x187fx14,_0x187fx15[_0x187fx14- _0x187fx9[_0x83b3[1828]]- 2])}}}}}}}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1903]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx2= _0x187fx2[_0x83b3[1850]][_0x187fx4];for(var _0x187fx9=-1,_0x187fxa=0;_0x187fxa< _0x187fx2[_0x83b3[67]];_0x187fxa++){if(_0x187fx3== _0x187fx2[_0x187fxa]){_0x187fx9= _0x187fxa;break}};if(0> _0x187fx9){return !1};_0x187fxa= _0x187fx3[_0x83b3[1833]](_0x187fx4);if(_0x187fx5< _0x187fxa){if(0== _0x187fx9){return !0};_0x187fx2= _0x187fx2[_0x187fx9- 1];_0x187fx4= _0x187fx2[_0x83b3[1833]](_0x187fx4);_0x187fx4= _0x187fx4+ _0x187fx2[_0x83b3[117]]/ 2+ this[_0x83b3[1868]]+ _0x187fx3[_0x83b3[117]]/ 2;if(!(_0x187fx4<= _0x187fx5)){return !1}}else {if(_0x187fx5> _0x187fxa){if(_0x187fx9== _0x187fx2[_0x83b3[67]]- 1){return !0};_0x187fx2= _0x187fx2[_0x187fx9+ 1];_0x187fx4= _0x187fx2[_0x83b3[1833]](_0x187fx4);_0x187fx4= _0x187fx4- _0x187fx2[_0x83b3[117]]/ 2- this[_0x83b3[1868]]- _0x187fx3[_0x83b3[117]]/ 2;if(!(_0x187fx4>= _0x187fx5)){return !1}}};return !0};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1895]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1877]]= [];this[_0x83b3[1878]]= [];for(var _0x187fx4=0;_0x187fx4< _0x187fx3[_0x83b3[1850]][_0x83b3[67]];_0x187fx4++){this[_0x83b3[1877]][_0x187fx4]= Number[_0x83b3[1904]],this[_0x83b3[1878]][_0x187fx4]= 0};_0x187fx4= null;this[_0x83b3[1759]][_0x83b3[1735]]&& (_0x187fx4= {});var _0x187fx5=_0x187fx3[_0x83b3[1847]],_0x187fx9=_0x187fx3[_0x83b3[1846]],_0x187fxa;for(_0x187fxa in _0x187fx9){var _0x187fx12=_0x187fx9[_0x187fxa];this[_0x83b3[1725]](_0x187fx12);if(this[_0x83b3[1759]][_0x83b3[1735]]){var _0x187fx12=_0x187fx2[_0x83b3[251]][_0x83b3[1197]](_0x187fx12[_0x83b3[246]]),_0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx12);null== _0x187fx4[_0x187fx13]&& (_0x187fx4[_0x187fx13]= _0x187fx12)}};this[_0x83b3[1759]][_0x83b3[1735]]&& null!= _0x187fx4&& this[_0x83b3[1763]](_0x187fx4);(this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1905]]|| this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1883]]|| this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1906]])&& this[_0x83b3[1764]](_0x187fx3);for(_0x187fxa in _0x187fx5){this[_0x83b3[1907]](_0x187fx5[_0x187fxa])}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1763]]= function(_0x187fx2){var _0x187fx3=[],_0x187fx4;for(_0x187fx4 in _0x187fx2){_0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx4])};this[_0x83b3[1759]][_0x83b3[1727]](mxUtils[_0x83b3[1779]](_0x187fx3,!0),this[_0x83b3[1745]])};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1764]]= function(_0x187fx2){for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[1850]][_0x83b3[67]];_0x187fx3++){for(var _0x187fx4=_0x187fx2[_0x83b3[1850]][_0x187fx3],_0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){var _0x187fx9=_0x187fx4[_0x187fx5];if(_0x187fx9[_0x83b3[1193]]()){for(var _0x187fxa=_0x187fx9[_0x83b3[1832]](_0x187fx3),_0x187fx12=_0x187fx3- 1,_0x187fx13=0;2> _0x187fx13;_0x187fx13++){if(-1< _0x187fx12&& _0x187fx12< _0x187fx2[_0x83b3[1850]][_0x83b3[67]]&& null!= _0x187fxa&& 0< _0x187fxa[_0x83b3[67]]){for(var _0x187fx14=[],_0x187fx15=0;_0x187fx15< _0x187fxa[_0x83b3[67]];_0x187fx15++){var _0x187fx16= new WeightedCellSorter(_0x187fxa[_0x187fx15],_0x187fxa[_0x187fx15][_0x83b3[730]](_0x187fx12));_0x187fx14[_0x83b3[207]](_0x187fx16)};_0x187fx14[_0x83b3[470]](WeightedCellSorter[_0x83b3[202]][_0x83b3[469]]);for(var _0x187fx16=_0x187fx9[_0x83b3[235]][0]- _0x187fx9[_0x83b3[117]]/ 2,_0x187fx17=_0x187fx16+ _0x187fx9[_0x83b3[117]],_0x187fx18=_0x187fxa= 0,_0x187fx12=[],_0x187fx15=0;_0x187fx15< _0x187fx14[_0x83b3[67]];_0x187fx15++){var _0x187fx19=_0x187fx14[_0x187fx15][_0x83b3[246]],_0x187fx1a;if(_0x187fx19[_0x83b3[1193]]()){_0x187fx1a= 0== _0x187fx13?_0x187fx9[_0x83b3[1838]]:_0x187fx9[_0x83b3[1837]];for(var _0x187fx1b=0;_0x187fx1b< _0x187fx1a[_0x83b3[67]];_0x187fx1b++){if(_0x187fx1a[_0x187fx1b][_0x83b3[1097]]== _0x187fx19|| _0x187fx1a[_0x187fx1b][_0x83b3[772]]== _0x187fx19){_0x187fxa+= _0x187fx1a[_0x187fx1b][_0x83b3[1842]][_0x83b3[67]],_0x187fx18++,_0x187fx12[_0x83b3[207]](_0x187fx1a[_0x187fx1b])}}}else {_0x187fxa+= _0x187fx19[_0x83b3[1842]][_0x83b3[67]],_0x187fx18++,_0x187fx12[_0x83b3[207]](_0x187fx19)}};_0x187fx9[_0x83b3[117]]> (_0x187fxa+ 1)* this[_0x83b3[1751]]+ 2* this[_0x83b3[1751]]&& (_0x187fx16+= this[_0x83b3[1751]],_0x187fx17-= this[_0x83b3[1751]]);_0x187fx14= (_0x187fx17- _0x187fx16)/ _0x187fxa;_0x187fx16+= _0x187fx14/ 2;_0x187fx17= this[_0x83b3[1753]]- this[_0x83b3[1752]];for(_0x187fx15= _0x187fx18= 0;_0x187fx15< _0x187fx12[_0x83b3[67]];_0x187fx15++){_0x187fx19= _0x187fx12[_0x187fx15][_0x83b3[1842]][_0x83b3[67]];_0x187fx1b= mxCellPath[_0x83b3[385]](_0x187fx12[_0x187fx15][_0x83b3[1842]][0]);_0x187fx1a= this[_0x83b3[1873]][_0x187fx1b];null== _0x187fx1a&& (_0x187fx1a= [],this[_0x83b3[1873]][_0x187fx1b]= _0x187fx1a);_0x187fx15< _0x187fxa/ 2?_0x187fx17+= this[_0x83b3[1752]]:_0x187fx15> _0x187fxa/ 2&& (_0x187fx17-= this[_0x83b3[1752]]);for(_0x187fx1b= 0;_0x187fx1b< _0x187fx19;_0x187fx1b++){_0x187fx1a[4* _0x187fx1b+ 2* _0x187fx13]= _0x187fx16,_0x187fx16+= _0x187fx14,_0x187fx1a[4* _0x187fx1b+ 2* _0x187fx13+ 1]= _0x187fx17};_0x187fx18= Math[_0x83b3[160]](_0x187fx18,_0x187fx17)}};_0x187fxa= _0x187fx9[_0x83b3[1831]](_0x187fx3);_0x187fx12= _0x187fx3+ 1}}}}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1907]]= function(_0x187fx2){var _0x187fx3=0;if(101207!= _0x187fx2[_0x83b3[1826]][0]){var _0x187fx4=_0x187fx2[_0x83b3[1827]],_0x187fx5=_0x187fx2[_0x83b3[1828]];_0x187fx4== _0x187fx5&& (_0x187fx4= _0x187fx2[_0x83b3[1097]][_0x83b3[1827]],_0x187fx5= _0x187fx2[_0x83b3[772]][_0x83b3[1828]]);for(var _0x187fx9=0,_0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2[_0x83b3[1842]][0]),_0x187fxa=this[_0x83b3[1873]][_0x187fxa],_0x187fx12=_0x187fx2[_0x83b3[1843]]?_0x187fx2[_0x83b3[772]][_0x83b3[246]]:_0x187fx2[_0x83b3[1097]][_0x83b3[246]],_0x187fx13=this[_0x83b3[1759]][_0x83b3[1179]],_0x187fx14=0;_0x187fx14< _0x187fx2[_0x83b3[1842]][_0x83b3[67]];_0x187fx14++){var _0x187fx15=_0x187fx2[_0x83b3[1842]][_0x187fx14],_0x187fx16=this[_0x83b3[1759]][_0x83b3[1710]](_0x187fx15,!0),_0x187fx17=_0x187fx13[_0x83b3[251]][_0x83b3[1709]](_0x187fx15,!0),_0x187fx18=[],_0x187fx19=_0x187fx2[_0x83b3[1843]];_0x187fx16!= _0x187fx12&& (_0x187fx19= !_0x187fx19);if(null!= _0x187fxa){var _0x187fx1a=_0x187fx19?2:0,_0x187fx1b=_0x187fx19?this[_0x83b3[1877]][_0x187fx5]:this[_0x83b3[1878]][_0x187fx4],_0x187fx1c=_0x187fxa[4* _0x187fx9+ 1+ _0x187fx1a];_0x187fx19&& (_0x187fx1c= -_0x187fx1c);_0x187fx1b+= _0x187fx1c;_0x187fx1a= _0x187fxa[4* _0x187fx9+ _0x187fx1a];_0x187fx17= _0x187fx13[_0x83b3[251]][_0x83b3[1709]](_0x187fx15,!0);this[_0x83b3[1759]][_0x83b3[1908]](_0x187fx17)&& _0x187fx13[_0x83b3[251]][_0x83b3[1197]](_0x187fx17)== _0x187fx16&& (_0x187fx1a= _0x187fx13[_0x83b3[441]][_0x83b3[248]](_0x187fx17),_0x187fx1a= null!= _0x187fx1a?_0x187fx1a[_0x83b3[235]]:_0x187fx16[_0x83b3[256]][_0x83b3[235]]+ _0x187fx2[_0x83b3[1097]][_0x83b3[117]]* _0x187fx17[_0x83b3[256]][_0x83b3[235]]);this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1354]]?(_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1a,_0x187fx1b)),this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1906]]&& _0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1a,_0x187fx1b+ _0x187fx1c))):(_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1b,_0x187fx1a)),this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1906]]&& _0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1b+ _0x187fx1c,_0x187fx1a)))};_0x187fx1a= _0x187fx2[_0x83b3[235]][_0x83b3[67]]- 1;_0x187fx1b= _0x187fx1c= -1;_0x187fx16= _0x187fx2[_0x83b3[1827]]- 1;_0x187fx19&& (_0x187fx1a= 0,_0x187fx1c= _0x187fx2[_0x83b3[235]][_0x83b3[67]],_0x187fx1b= 1,_0x187fx16= _0x187fx2[_0x83b3[1828]]+ 1);for(;_0x187fx2[_0x83b3[1827]]!= _0x187fx2[_0x83b3[1828]]&& _0x187fx1a!= _0x187fx1c;_0x187fx1a+= _0x187fx1b){var _0x187fx17=_0x187fx2[_0x83b3[235]][_0x187fx1a]+ _0x187fx3,_0x187fx1d=(this[_0x83b3[1877]][_0x187fx16]+ this[_0x83b3[1878]][_0x187fx16+ 1])/ 2,_0x187fx1e=(this[_0x83b3[1877]][_0x187fx16- 1]+ this[_0x83b3[1878]][_0x187fx16])/ 2;if(_0x187fx19){var _0x187fx1f=_0x187fx1d,_0x187fx1d=_0x187fx1e,_0x187fx1e=_0x187fx1f};this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1354]]?(_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx17,_0x187fx1d)),_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx17,_0x187fx1e))):(_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1d,_0x187fx17)),_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1e,_0x187fx17)));this[_0x83b3[1874]]= Math[_0x83b3[160]](this[_0x83b3[1874]],_0x187fx17);_0x187fx16+= _0x187fx1b};null!= _0x187fxa&& (_0x187fx1a= _0x187fx19?2:0,_0x187fx1b= _0x187fx19?this[_0x83b3[1878]][_0x187fx4]:this[_0x83b3[1877]][_0x187fx5],_0x187fx1c= _0x187fxa[4* _0x187fx9+ 3- _0x187fx1a],_0x187fx19&& (_0x187fx1c= -_0x187fx1c),_0x187fx1b-= _0x187fx1c,_0x187fx1a= _0x187fxa[4* _0x187fx9+ 2- _0x187fx1a],_0x187fx19= _0x187fx13[_0x83b3[251]][_0x83b3[1709]](_0x187fx15,!1),_0x187fx16= this[_0x83b3[1759]][_0x83b3[1710]](_0x187fx15,!1),this[_0x83b3[1759]][_0x83b3[1908]](_0x187fx19)&& _0x187fx13[_0x83b3[251]][_0x83b3[1197]](_0x187fx19)== _0x187fx16&& (_0x187fx1a= _0x187fx13[_0x83b3[441]][_0x83b3[248]](_0x187fx19),_0x187fx1a= null!= _0x187fx1a?_0x187fx1a[_0x83b3[235]]:_0x187fx16[_0x83b3[256]][_0x83b3[235]]+ _0x187fx2[_0x83b3[772]][_0x83b3[117]]* _0x187fx19[_0x83b3[256]][_0x83b3[235]]),this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1354]]?(this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1906]]&& _0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1a,_0x187fx1b- _0x187fx1c)),_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1a,_0x187fx1b))):(this[_0x83b3[675]]== mxHierarchicalEdgeStyle[_0x83b3[1906]]&& _0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1b- _0x187fx1c,_0x187fx1a)),_0x187fx18[_0x83b3[207]]( new mxPoint(_0x187fx1b,_0x187fx1a))));_0x187fx2[_0x83b3[1843]]&& this[_0x83b3[1909]](_0x187fx2,_0x187fx15);this[_0x83b3[1759]][_0x83b3[1722]](_0x187fx15,_0x187fx18);_0x187fx3= 0== _0x187fx3?this[_0x83b3[1872]]:0< _0x187fx3?-_0x187fx3:-_0x187fx3+ this[_0x83b3[1872]];_0x187fx9++};_0x187fx2[_0x83b3[1826]][0]= 101207}};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1725]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[246]],_0x187fx4=_0x187fx2[_0x83b3[235]][0]- _0x187fx2[_0x83b3[117]]/ 2,_0x187fx5=_0x187fx2[_0x83b3[236]][0]- _0x187fx2[_0x83b3[119]]/ 2;this[_0x83b3[1877]][_0x187fx2[_0x83b3[1828]]]= Math[_0x83b3[243]](this[_0x83b3[1877]][_0x187fx2[_0x83b3[1828]]],_0x187fx5);this[_0x83b3[1878]][_0x187fx2[_0x83b3[1828]]]= Math[_0x83b3[160]](this[_0x83b3[1878]][_0x187fx2[_0x83b3[1828]]],_0x187fx5+ _0x187fx2[_0x83b3[119]]);this[_0x83b3[1870]]== mxConstants[_0x83b3[1358]]|| this[_0x83b3[1870]]== mxConstants[_0x83b3[1354]]?this[_0x83b3[1759]][_0x83b3[1725]](_0x187fx3,_0x187fx4,_0x187fx5):this[_0x83b3[1759]][_0x83b3[1725]](_0x187fx3,_0x187fx5,_0x187fx4);this[_0x83b3[1874]]= Math[_0x83b3[160]](this[_0x83b3[1874]],_0x187fx4+ _0x187fx2[_0x83b3[117]])};mxCoordinateAssignment[_0x83b3[202]][_0x83b3[1909]]= function(_0x187fx2,_0x187fx3){};function WeightedCellSorter(_0x187fx2,_0x187fx3){this[_0x83b3[246]]= _0x187fx2;this[_0x83b3[1782]]= _0x187fx3}WeightedCellSorter[_0x83b3[202]][_0x83b3[1782]]= 0;WeightedCellSorter[_0x83b3[202]][_0x83b3[1783]]= !1;WeightedCellSorter[_0x83b3[202]][_0x83b3[1784]]= !1;WeightedCellSorter[_0x83b3[202]][_0x83b3[1785]]= null;WeightedCellSorter[_0x83b3[202]][_0x83b3[246]]= null;WeightedCellSorter[_0x83b3[202]][_0x83b3[469]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2&& null!= _0x187fx3?_0x187fx3[_0x83b3[1782]]> _0x187fx2[_0x83b3[1782]]?-1:_0x187fx3[_0x83b3[1782]]< _0x187fx2[_0x83b3[1782]]?1:_0x187fx3[_0x83b3[1783]]?-1:1:0};function mxHierarchicalLayout(_0x187fx2,_0x187fx3,_0x187fx4){mxGraphLayout[_0x83b3[239]](this,_0x187fx2);this[_0x83b3[1870]]= null!= _0x187fx3?_0x187fx3:mxConstants[_0x83b3[1358]];this[_0x83b3[1910]]= null!= _0x187fx4?_0x187fx4:!0}mxHierarchicalLayout[_0x83b3[202]]= new mxGraphLayout;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[196]]= mxHierarchicalLayout;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1845]]= null;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1735]]= !1;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1911]]= !1;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1912]]= 0;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1868]]= 30;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1869]]= 100;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1913]]= 60;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1872]]= 10;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1870]]= mxConstants[_0x83b3[1358]];mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1882]]= !0;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1844]]= !0;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1787]]= !0;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1914]]= !0;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[251]]= null;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1915]]= null;mxHierarchicalLayout[_0x83b3[202]][_0x83b3[502]]= function(){return this[_0x83b3[251]]};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1101]]= _0x187fx2;var _0x187fx4=this[_0x83b3[1179]][_0x83b3[251]];this[_0x83b3[1915]]= {};if(!(null== _0x187fx3&& null== _0x187fx2)){if(null!= _0x187fx3&& null!= _0x187fx2){for(var _0x187fx5=[],_0x187fx9=0;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){_0x187fx4[_0x83b3[1720]](_0x187fx2,_0x187fx3[_0x187fx9])&& _0x187fx5[_0x83b3[207]](_0x187fx3[_0x187fx9])};this[_0x83b3[1845]]= _0x187fx5}else {this[_0x83b3[1845]]= _0x187fx3};_0x187fx4[_0x83b3[473]]();try{this[_0x83b3[1916]](_0x187fx2),this[_0x83b3[1735]]&& !this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx2)&& this[_0x83b3[1179]][_0x83b3[1917]]([_0x187fx2],this[_0x83b3[1912]],this[_0x83b3[1911]])}finally{_0x187fx4[_0x83b3[476]]()}}};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1918]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=[];if(null!= _0x187fx2&& null!= _0x187fx3){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[251]],_0x187fx9=null,_0x187fxa=-1E5,_0x187fx12;for(_0x187fx12 in _0x187fx3){var _0x187fx13=_0x187fx3[_0x187fx12];if(_0x187fx5[_0x83b3[1193]](_0x187fx13)&& this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx13)){for(var _0x187fx14=this[_0x83b3[264]](_0x187fx13),_0x187fx15=0,_0x187fx16=0,_0x187fx17=0;_0x187fx17< _0x187fx14[_0x83b3[67]];_0x187fx17++){this[_0x83b3[1710]](_0x187fx14[_0x187fx17],!0)== _0x187fx13?_0x187fx15++:_0x187fx16++};0== _0x187fx16&& 0< _0x187fx15&& _0x187fx4[_0x83b3[207]](_0x187fx13);_0x187fx14= _0x187fx15- _0x187fx16;_0x187fx14> _0x187fxa&& (_0x187fxa= _0x187fx14,_0x187fx9= _0x187fx13)}};0== _0x187fx4[_0x83b3[67]]&& null!= _0x187fx9&& _0x187fx4[_0x83b3[207]](_0x187fx9)};return _0x187fx4};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[264]]= function(_0x187fx2){var _0x187fx3=mxCellPath[_0x83b3[385]](_0x187fx2);if(null!= this[_0x83b3[1915]][_0x187fx3]){return this[_0x83b3[1915]][_0x187fx3]};for(var _0x187fx4=this[_0x83b3[1179]][_0x83b3[251]],_0x187fx5=[],_0x187fx9=this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx2),_0x187fxa=_0x187fx4[_0x83b3[262]](_0x187fx2),_0x187fx12=0;_0x187fx12< _0x187fxa;_0x187fx12++){var _0x187fx13=_0x187fx4[_0x83b3[263]](_0x187fx2,_0x187fx12);if(this[_0x83b3[1908]](_0x187fx13)){_0x187fx5= _0x187fx5[_0x83b3[1919]](_0x187fx4[_0x83b3[264]](_0x187fx13,!0,!0))}else {if(_0x187fx9|| !this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx13)){_0x187fx5= _0x187fx5[_0x83b3[1919]](_0x187fx4[_0x83b3[264]](_0x187fx13,!0,!0))}}};_0x187fx5= _0x187fx5[_0x83b3[1919]](_0x187fx4[_0x83b3[264]](_0x187fx2,!0,!0));_0x187fx4= [];for(_0x187fx12= 0;_0x187fx12< _0x187fx5[_0x83b3[67]];_0x187fx12++){_0x187fx9= this[_0x83b3[1710]](_0x187fx5[_0x187fx12],!0),_0x187fxa= this[_0x83b3[1710]](_0x187fx5[_0x187fx12],!1),(_0x187fx9== _0x187fxa|| _0x187fx9!= _0x187fxa&& (_0x187fxa== _0x187fx2&& (null== this[_0x83b3[1101]]|| this[_0x83b3[1179]][_0x83b3[1920]](_0x187fx9,this[_0x83b3[1101]],this[_0x83b3[1914]]))|| _0x187fx9== _0x187fx2&& (null== this[_0x83b3[1101]]|| this[_0x83b3[1179]][_0x83b3[1920]](_0x187fxa,this[_0x83b3[1101]],this[_0x83b3[1914]]))))&& _0x187fx4[_0x83b3[207]](_0x187fx5[_0x187fx12])};return this[_0x83b3[1915]][_0x187fx3]= _0x187fx4};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1710]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx4=null!= _0x187fx4?_0x187fx4[_0x83b3[1710]](_0x187fx3):this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[1710]](_0x187fx2,_0x187fx3);this[_0x83b3[1908]](_0x187fx4)&& (_0x187fx4= this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1197]](_0x187fx4));return _0x187fx4};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1916]]= function(_0x187fx2){var _0x187fx3=[],_0x187fx4=[];if(null== this[_0x83b3[1845]]&& null!= _0x187fx2){var _0x187fx5={};this[_0x83b3[1921]](_0x187fx2,_0x187fx5);this[_0x83b3[1845]]= [];var _0x187fx9=!0,_0x187fxa;for(_0x187fxa in _0x187fx5){if(null!= _0x187fx5[_0x187fxa]){_0x187fx9= !1;break}};for(;!_0x187fx9;){for(var _0x187fx12=this[_0x83b3[1918]](_0x187fx2,_0x187fx5),_0x187fx9=0;_0x187fx9< _0x187fx12[_0x83b3[67]];_0x187fx9++){var _0x187fx13=[];_0x187fx3[_0x83b3[207]](_0x187fx13);this[_0x83b3[1706]](_0x187fx12[_0x187fx9],!0,null,_0x187fx4,_0x187fx13,_0x187fx3,_0x187fx5)};for(_0x187fx9= 0;_0x187fx9< _0x187fx12[_0x83b3[67]];_0x187fx9++){this[_0x83b3[1845]][_0x83b3[207]](_0x187fx12[_0x187fx9])};_0x187fx9= !0;for(_0x187fxa in _0x187fx5){if(null!= _0x187fx5[_0x187fxa]){_0x187fx9= !1;break}}}}else {for(_0x187fx9= 0;_0x187fx9< roots[_0x83b3[67]];_0x187fx9++){_0x187fx13= [],_0x187fx3[_0x83b3[207]](_0x187fx13),traverse(roots[_0x83b3[203]](_0x187fx9),!0,null,_0x187fx4,_0x187fx13,_0x187fx3,null)}};for(_0x187fx9= _0x187fx4= 0;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){_0x187fx13= _0x187fx3[_0x187fx9];_0x187fx5= [];for(_0x187fxa in _0x187fx13){_0x187fx5[_0x83b3[207]](_0x187fx13[_0x187fxa])};this[_0x83b3[251]]= new mxGraphHierarchyModel(this,_0x187fx5,this[_0x83b3[1845]],_0x187fx2,this[_0x83b3[1844]]);this[_0x83b3[1922]](_0x187fx2);this[_0x83b3[1923]]();this[_0x83b3[1924]](_0x187fx2);_0x187fx4= this[_0x83b3[1925]](_0x187fx4,_0x187fx2)}};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1921]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[251]];_0x187fx4[_0x83b3[1193]](_0x187fx2)&& (_0x187fx2!= this[_0x83b3[1101]]&& this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx2))&& (_0x187fx3[mxCellPath[_0x83b3[385]](_0x187fx2)]= _0x187fx2);if(this[_0x83b3[1914]]|| _0x187fx2== this[_0x83b3[1101]]&& this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx2)){for(var _0x187fx5=_0x187fx4[_0x83b3[262]](_0x187fx2),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){var _0x187fxa=_0x187fx4[_0x83b3[263]](_0x187fx2,_0x187fx9);this[_0x83b3[1908]](_0x187fxa)|| this[_0x83b3[1921]](_0x187fxa,_0x187fx3)}}};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1908]]= function(_0x187fx2){return _0x187fx2[_0x83b3[256]][_0x83b3[1500]]?!0:!1};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1781]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;for(var _0x187fx5=this[_0x83b3[264]](_0x187fx2),_0x187fx9=[],_0x187fxa=0;_0x187fxa< _0x187fx5[_0x83b3[67]];_0x187fxa++){var _0x187fx12=this[_0x83b3[1710]](_0x187fx5[_0x187fxa],!0),_0x187fx13=this[_0x83b3[1710]](_0x187fx5[_0x187fxa],!1);(_0x187fx12== _0x187fx2&& _0x187fx13== _0x187fx3|| !_0x187fx4&& _0x187fx12== _0x187fx3&& _0x187fx13== _0x187fx2)&& _0x187fx9[_0x83b3[207]](_0x187fx5[_0x187fxa])};return _0x187fx9};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1706]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){if(null!= _0x187fx2&& null!= _0x187fx5){var _0x187fx13=mxCellPath[_0x83b3[385]](_0x187fx2);if(null== _0x187fx5[_0x187fx13]&& (null== _0x187fx12|| null!= _0x187fx12[_0x187fx13])){null== _0x187fx9[_0x187fx13]&& (_0x187fx9[_0x187fx13]= _0x187fx2);null== _0x187fx5[_0x187fx13]&& (_0x187fx5[_0x187fx13]= _0x187fx2);delete _0x187fx12[_0x187fx13];var _0x187fx14=this[_0x83b3[264]](_0x187fx2);for(_0x187fx4= 0;_0x187fx4< _0x187fx14[_0x83b3[67]];_0x187fx4++){if(_0x187fx13= this[_0x83b3[1710]](_0x187fx14[_0x187fx4],!0)== _0x187fx2,!_0x187fx3|| _0x187fx13){_0x187fx13= this[_0x83b3[1710]](_0x187fx14[_0x187fx4],!_0x187fx13),_0x187fx9= this[_0x83b3[1706]](_0x187fx13,_0x187fx3,_0x187fx14[_0x187fx4],_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12)}}}else {if(null== _0x187fx9[_0x187fx13]){for(_0x187fx4= 0;_0x187fx4< _0x187fxa[_0x83b3[67]];_0x187fx4++){if(_0x187fx2= _0x187fxa[_0x187fx4],null!= _0x187fx2[_0x187fx13]){for(_0x187fx14 in _0x187fx9){_0x187fx2[_0x187fx14]= _0x187fx9[_0x187fx14]};_0x187fxa[_0x83b3[1242]]();return _0x187fx2}}}}};return _0x187fx9};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1922]]= function(_0x187fx2){( new mxMinimumCycleRemover(this))[_0x83b3[350]](_0x187fx2)};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1923]]= function(){this[_0x83b3[251]][_0x83b3[1852]]();this[_0x83b3[251]][_0x83b3[1854]]()};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1924]]= function(_0x187fx2){( new mxMedianHybridCrossingReduction(this))[_0x83b3[350]](_0x187fx2)};mxHierarchicalLayout[_0x83b3[202]][_0x83b3[1925]]= function(_0x187fx2,_0x187fx3){var _0x187fx4= new mxCoordinateAssignment(this,this[_0x83b3[1868]],this[_0x83b3[1869]],this[_0x83b3[1870]],_0x187fx2,this[_0x83b3[1872]]);_0x187fx4[_0x83b3[1882]]= this[_0x83b3[1882]];_0x187fx4[_0x83b3[350]](_0x187fx3);return _0x187fx4[_0x83b3[1874]]+ this[_0x83b3[1913]]};function mxGraphModel(_0x187fx2){this[_0x83b3[1926]]= this[_0x83b3[1096]]();null!= _0x187fx2?this[_0x83b3[1927]](_0x187fx2):this[_0x83b3[200]]()}mxGraphModel[_0x83b3[202]]= new mxEventSource;mxGraphModel[_0x83b3[202]][_0x83b3[196]]= mxGraphModel;mxGraphModel[_0x83b3[202]][_0x83b3[813]]= null;mxGraphModel[_0x83b3[202]][_0x83b3[895]]= null;mxGraphModel[_0x83b3[202]][_0x83b3[1928]]= !0;mxGraphModel[_0x83b3[202]][_0x83b3[1929]]= !0;mxGraphModel[_0x83b3[202]][_0x83b3[1089]]= _0x83b3[110];mxGraphModel[_0x83b3[202]][_0x83b3[1930]]= _0x83b3[110];mxGraphModel[_0x83b3[202]][_0x83b3[1931]]= 0;mxGraphModel[_0x83b3[202]][_0x83b3[1926]]= null;mxGraphModel[_0x83b3[202]][_0x83b3[1932]]= 0;mxGraphModel[_0x83b3[202]][_0x83b3[1933]]= !1;mxGraphModel[_0x83b3[202]][_0x83b3[200]]= function(){this[_0x83b3[1927]](this[_0x83b3[1934]]())};mxGraphModel[_0x83b3[202]][_0x83b3[1935]]= function(){return this[_0x83b3[1929]]};mxGraphModel[_0x83b3[202]][_0x83b3[1936]]= function(_0x187fx2){this[_0x83b3[1929]]= _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[1934]]= function(){var _0x187fx2= new mxCell;_0x187fx2[_0x83b3[1937]]( new mxCell);return _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[736]]= function(_0x187fx2){return null!= this[_0x83b3[895]]?this[_0x83b3[895]][_0x187fx2]:null};mxGraphModel[_0x83b3[202]][_0x83b3[1938]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null;if(null!= _0x187fx2){for(var _0x187fx4=[],_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){_0x187fx3(_0x187fx2[_0x187fx5])&& _0x187fx4[_0x83b3[207]](_0x187fx2[_0x187fx5])}};return _0x187fx4};mxGraphModel[_0x83b3[202]][_0x83b3[1939]]= function(_0x187fx2){return this[_0x83b3[1921]](null,_0x187fx2)};mxGraphModel[_0x83b3[202]][_0x83b3[1921]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=[];_0x187fx3= _0x187fx3|| this[_0x83b3[501]]();(null== _0x187fx2|| _0x187fx2(_0x187fx3))&& _0x187fx4[_0x83b3[207]](_0x187fx3);for(var _0x187fx5=this[_0x83b3[262]](_0x187fx3),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){var _0x187fxa=this[_0x83b3[263]](_0x187fx3,_0x187fx9),_0x187fx4=_0x187fx4[_0x83b3[1919]](this[_0x83b3[1921]](_0x187fx2,_0x187fxa))};return _0x187fx4};mxGraphModel[_0x83b3[202]][_0x83b3[501]]= function(_0x187fx2){var _0x187fx3=_0x187fx2|| this[_0x83b3[813]];if(null!= _0x187fx2){for(;null!= _0x187fx2;){_0x187fx3= _0x187fx2,_0x187fx2= this[_0x83b3[1197]](_0x187fx2)}};return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1927]]= function(_0x187fx2){this[_0x83b3[350]]( new mxRootChange(this,_0x187fx2));return _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[1940]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[813]];this[_0x83b3[813]]= _0x187fx2;this[_0x83b3[1931]]= 0;this[_0x83b3[895]]= null;this[_0x83b3[1941]](_0x187fx2);return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1942]]= function(_0x187fx2){return null!= _0x187fx2&& this[_0x83b3[813]]== _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[1740]]= function(_0x187fx2){return this[_0x83b3[1942]](this[_0x83b3[1197]](_0x187fx2))};mxGraphModel[_0x83b3[202]][_0x83b3[1720]]= function(_0x187fx2,_0x187fx3){for(;null!= _0x187fx3&& _0x187fx3!= _0x187fx2;){_0x187fx3= this[_0x83b3[1197]](_0x187fx3)};return _0x187fx3== _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[442]]= function(_0x187fx2){return this[_0x83b3[1720]](this[_0x83b3[813]],_0x187fx2)};mxGraphModel[_0x83b3[202]][_0x83b3[1197]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[1197]]():null};mxGraphModel[_0x83b3[202]][_0x83b3[99]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(_0x187fx3!= _0x187fx2&& null!= _0x187fx2&& null!= _0x187fx3){null== _0x187fx4&& (_0x187fx4= this[_0x83b3[262]](_0x187fx2));var _0x187fx5=_0x187fx2!= this[_0x83b3[1197]](_0x187fx3);this[_0x83b3[350]]( new mxChildChange(this,_0x187fx2,_0x187fx3,_0x187fx4));this[_0x83b3[1928]]&& _0x187fx5&& this[_0x83b3[1943]](_0x187fx3)};return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1941]]= function(_0x187fx2){if(null!= _0x187fx2){null== _0x187fx2[_0x83b3[1103]]()&& this[_0x83b3[1929]]&& _0x187fx2[_0x83b3[1945]](this[_0x83b3[1944]](_0x187fx2));if(null!= _0x187fx2[_0x83b3[1103]]()){var _0x187fx3=this[_0x83b3[736]](_0x187fx2[_0x83b3[1103]]());if(_0x187fx3!= _0x187fx2){for(;null!= _0x187fx3;){_0x187fx2[_0x83b3[1945]](this[_0x83b3[1944]](_0x187fx2)),_0x187fx3= this[_0x83b3[736]](_0x187fx2[_0x83b3[1103]]())};null== this[_0x83b3[895]]&& (this[_0x83b3[895]]= {});this[_0x83b3[895]][_0x187fx2[_0x83b3[1103]]()]= _0x187fx2}};mxUtils[_0x83b3[1946]](_0x187fx2[_0x83b3[1103]]())&& (this[_0x83b3[1931]]= Math[_0x83b3[160]](this[_0x83b3[1931]],_0x187fx2[_0x83b3[1103]]()));for(var _0x187fx3=this[_0x83b3[262]](_0x187fx2),_0x187fx4=0;_0x187fx4< _0x187fx3;_0x187fx4++){this[_0x83b3[1941]](this[_0x83b3[263]](_0x187fx2,_0x187fx4))}}};mxGraphModel[_0x83b3[202]][_0x83b3[1944]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[1931]];this[_0x83b3[1931]]++;return this[_0x83b3[1089]]+ _0x187fx2+ this[_0x83b3[1930]]};mxGraphModel[_0x83b3[202]][_0x83b3[1943]]= function(_0x187fx2,_0x187fx3){_0x187fx3= _0x187fx3|| this[_0x83b3[501]](_0x187fx2);for(var _0x187fx4=this[_0x83b3[262]](_0x187fx2),_0x187fx5=0;_0x187fx5< _0x187fx4;_0x187fx5++){var _0x187fx9=this[_0x83b3[263]](_0x187fx2,_0x187fx5);this[_0x83b3[1943]](_0x187fx9,_0x187fx3)};_0x187fx9= this[_0x83b3[1707]](_0x187fx2);_0x187fx4= [];for(_0x187fx5= 0;_0x187fx5< _0x187fx9;_0x187fx5++){_0x187fx4[_0x83b3[207]](this[_0x83b3[1708]](_0x187fx2,_0x187fx5))};for(_0x187fx5= 0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){_0x187fx9= _0x187fx4[_0x187fx5],this[_0x83b3[1720]](_0x187fx3,_0x187fx9)&& this[_0x83b3[1947]](_0x187fx9,_0x187fx3)}};mxGraphModel[_0x83b3[202]][_0x83b3[1947]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=this[_0x83b3[1709]](_0x187fx2,!0),_0x187fx5=this[_0x83b3[1709]](_0x187fx2,!1),_0x187fx9=null;null!= _0x187fx4&& !this[_0x83b3[250]](_0x187fx4)&& null!= _0x187fx4[_0x83b3[256]]&& _0x187fx4[_0x83b3[256]][_0x83b3[1500]];){_0x187fx4= this[_0x83b3[1197]](_0x187fx4)};for(;null!= _0x187fx5&& !this[_0x83b3[250]](_0x187fx5)&& null!= _0x187fx5[_0x83b3[256]]&& _0x187fx5[_0x83b3[256]][_0x83b3[1500]];){_0x187fx5= this[_0x83b3[1197]](_0x187fx5)};if(this[_0x83b3[1720]](_0x187fx3,_0x187fx4)&& this[_0x83b3[1720]](_0x187fx3,_0x187fx5)&& (_0x187fx9= _0x187fx4== _0x187fx5?this[_0x83b3[1197]](_0x187fx4):this[_0x83b3[1948]](_0x187fx4,_0x187fx5),null!= _0x187fx9&& (this[_0x83b3[1197]](_0x187fx9)!= this[_0x83b3[813]]|| this[_0x83b3[1720]](_0x187fx9,_0x187fx2))&& this[_0x83b3[1197]](_0x187fx2)!= _0x187fx9)){_0x187fx4= this[_0x83b3[1721]](_0x187fx2);if(null!= _0x187fx4){var _0x187fxa=this[_0x83b3[1949]](this[_0x83b3[1197]](_0x187fx2)),_0x187fx12=this[_0x83b3[1949]](_0x187fx9),_0x187fx5=_0x187fx12[_0x83b3[235]]- _0x187fxa[_0x83b3[235]],_0x187fxa=_0x187fx12[_0x83b3[236]]- _0x187fxa[_0x83b3[236]],_0x187fx4=_0x187fx4[_0x83b3[238]]();_0x187fx4[_0x83b3[513]](-_0x187fx5,-_0x187fxa);this[_0x83b3[1724]](_0x187fx2,_0x187fx4)};this[_0x83b3[99]](_0x187fx9,_0x187fx2,this[_0x83b3[262]](_0x187fx9))}};mxGraphModel[_0x83b3[202]][_0x83b3[1949]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2?(_0x187fx3= this[_0x83b3[1949]](this[_0x83b3[1197]](_0x187fx2)),this[_0x83b3[250]](_0x187fx2)|| (_0x187fx2= this[_0x83b3[1721]](_0x187fx2),null!= _0x187fx2&& (_0x187fx3[_0x83b3[235]]+= _0x187fx2[_0x83b3[235]],_0x187fx3[_0x83b3[236]]+= _0x187fx2[_0x83b3[236]]))):_0x187fx3= new mxPoint;return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1948]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& null!= _0x187fx3){var _0x187fx4=mxCellPath[_0x83b3[385]](_0x187fx3);if(null!= _0x187fx4&& 0< _0x187fx4[_0x83b3[67]]){var _0x187fx5=_0x187fx2,_0x187fx9=mxCellPath[_0x83b3[385]](_0x187fx5);if(_0x187fx4[_0x83b3[67]]< _0x187fx9[_0x83b3[67]]){var _0x187fx5=_0x187fx3,_0x187fxa=_0x187fx9,_0x187fx9=_0x187fx4,_0x187fx4=_0x187fxa};for(;null!= _0x187fx5;){_0x187fxa= this[_0x83b3[1197]](_0x187fx5);if(0== _0x187fx4[_0x83b3[2]](_0x187fx9+ mxCellPath[_0x83b3[1950]])&& null!= _0x187fxa){return _0x187fx5};_0x187fx9= mxCellPath[_0x83b3[1951]](_0x187fx9);_0x187fx5= _0x187fxa}}};return null};mxGraphModel[_0x83b3[202]][_0x83b3[205]]= function(_0x187fx2){_0x187fx2== this[_0x83b3[813]]?this[_0x83b3[1927]](null):null!= this[_0x83b3[1197]](_0x187fx2)&& this[_0x83b3[350]]( new mxChildChange(this,null,_0x187fx2));return _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[1102]]= function(_0x187fx2){if(null!= _0x187fx2&& null!= this[_0x83b3[895]]){for(var _0x187fx3=this[_0x83b3[262]](_0x187fx2)- 1;0<= _0x187fx3;_0x187fx3--){this[_0x83b3[1102]](this[_0x83b3[263]](_0x187fx2,_0x187fx3))};null!= this[_0x83b3[895]]&& null!= _0x187fx2[_0x83b3[1103]]()&& delete this[_0x83b3[895]][_0x187fx2[_0x83b3[1103]]()]}};mxGraphModel[_0x83b3[202]][_0x83b3[1952]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1197]](_0x187fx2);null!= _0x187fx3?(_0x187fx3!= _0x187fx5|| _0x187fx5[_0x83b3[1738]](_0x187fx2)!= _0x187fx4)&& _0x187fx3[_0x83b3[1937]](_0x187fx2,_0x187fx4):null!= _0x187fx5&& (_0x187fx4= _0x187fx5[_0x83b3[1738]](_0x187fx2),_0x187fx5[_0x83b3[205]](_0x187fx4));!this[_0x83b3[442]](_0x187fx5)&& null!= _0x187fx3?this[_0x83b3[1941]](_0x187fx2):null== _0x187fx3&& this[_0x83b3[1102]](_0x187fx2);return _0x187fx5};mxGraphModel[_0x83b3[202]][_0x83b3[262]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[262]]():0};mxGraphModel[_0x83b3[202]][_0x83b3[263]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2?_0x187fx2[_0x83b3[263]](_0x187fx3):null};mxGraphModel[_0x83b3[202]][_0x83b3[1953]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[1954]]:null};mxGraphModel[_0x83b3[202]][_0x83b3[1728]]= function(_0x187fx2){return this[_0x83b3[1955]](_0x187fx2,!0,!1)};mxGraphModel[_0x83b3[202]][_0x83b3[1956]]= function(_0x187fx2){return this[_0x83b3[1955]](_0x187fx2,!1,!0)};mxGraphModel[_0x83b3[202]][_0x83b3[1955]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;for(var _0x187fx5=this[_0x83b3[262]](_0x187fx2),_0x187fx9=[],_0x187fxa=0;_0x187fxa< _0x187fx5;_0x187fxa++){var _0x187fx12=this[_0x83b3[263]](_0x187fx2,_0x187fxa);(!_0x187fx4&& !_0x187fx3|| _0x187fx4&& this[_0x83b3[250]](_0x187fx12)|| _0x187fx3&& this[_0x83b3[1193]](_0x187fx12)) && _0x187fx9[_0x83b3[207]](_0x187fx12)};return _0x187fx9};mxGraphModel[_0x83b3[202]][_0x83b3[1709]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2?_0x187fx2[_0x83b3[1709]](_0x187fx3):null};mxGraphModel[_0x83b3[202]][_0x83b3[1957]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx3!= this[_0x83b3[1709]](_0x187fx2,_0x187fx4);this[_0x83b3[350]]( new mxTerminalChange(this,_0x187fx2,_0x187fx3,_0x187fx4));this[_0x83b3[1928]]&& _0x187fx5&& this[_0x83b3[1947]](_0x187fx2,this[_0x83b3[501]]());return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1958]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[473]]();try{this[_0x83b3[1957]](_0x187fx2,_0x187fx3,!0),this[_0x83b3[1957]](_0x187fx2,_0x187fx4,!1)}finally{this[_0x83b3[476]]()}};mxGraphModel[_0x83b3[202]][_0x83b3[1959]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1709]](_0x187fx2,_0x187fx4);null!= _0x187fx3?_0x187fx3[_0x83b3[1960]](_0x187fx2,_0x187fx4):null!= _0x187fx5&& _0x187fx5[_0x83b3[1961]](_0x187fx2,_0x187fx4);return _0x187fx5};mxGraphModel[_0x83b3[202]][_0x83b3[1707]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[1707]]():0};mxGraphModel[_0x83b3[202]][_0x83b3[1708]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2?_0x187fx2[_0x83b3[1708]](_0x187fx3):null};mxGraphModel[_0x83b3[202]][_0x83b3[1962]]= function(_0x187fx2,_0x187fx3,_0x187fx4){for(var _0x187fx5=0,_0x187fx9=this[_0x83b3[1707]](_0x187fx2),_0x187fxa=0;_0x187fxa< _0x187fx9;_0x187fxa++){var _0x187fx12=this[_0x83b3[1708]](_0x187fx2,_0x187fxa);_0x187fx12!= _0x187fx4&& this[_0x83b3[1709]](_0x187fx12,_0x187fx3)== _0x187fx2&& _0x187fx5++};return _0x187fx5};mxGraphModel[_0x83b3[202]][_0x83b3[1756]]= function(_0x187fx2){return this[_0x83b3[264]](_0x187fx2,!0,!0,!1)};mxGraphModel[_0x83b3[202]][_0x83b3[1867]]= function(_0x187fx2){return this[_0x83b3[264]](_0x187fx2,!0,!1,!1)};mxGraphModel[_0x83b3[202]][_0x83b3[1963]]= function(_0x187fx2){return this[_0x83b3[264]](_0x187fx2,!1,!0,!1)};mxGraphModel[_0x83b3[202]][_0x83b3[264]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;_0x187fx5= null!= _0x187fx5?_0x187fx5:!0;for(var _0x187fx9=this[_0x83b3[1707]](_0x187fx2),_0x187fxa=[],_0x187fx12=0;_0x187fx12< _0x187fx9;_0x187fx12++){var _0x187fx13=this[_0x83b3[1708]](_0x187fx2,_0x187fx12),_0x187fx14=this[_0x83b3[1709]](_0x187fx13,!0),_0x187fx15=this[_0x83b3[1709]](_0x187fx13,!1);(_0x187fx5&& _0x187fx14== _0x187fx15|| _0x187fx14!= _0x187fx15&& (_0x187fx3&& _0x187fx15== _0x187fx2|| _0x187fx4&& _0x187fx14== _0x187fx2))&& _0x187fxa[_0x83b3[207]](_0x187fx13)};return _0x187fxa};mxGraphModel[_0x83b3[202]][_0x83b3[1781]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;var _0x187fx5=this[_0x83b3[1707]](_0x187fx2),_0x187fx9=this[_0x83b3[1707]](_0x187fx3),_0x187fxa=_0x187fx2,_0x187fx12=_0x187fx5;_0x187fx9< _0x187fx5&& (_0x187fx12= _0x187fx9,_0x187fxa= _0x187fx3);_0x187fx5= [];for(_0x187fx9= 0;_0x187fx9< _0x187fx12;_0x187fx9++){var _0x187fx13=this[_0x83b3[1708]](_0x187fxa,_0x187fx9),_0x187fx14=this[_0x83b3[1709]](_0x187fx13,!0),_0x187fx15=this[_0x83b3[1709]](_0x187fx13,!1),_0x187fx16=_0x187fx15== _0x187fx2&& _0x187fx14== _0x187fx3;(_0x187fx14== _0x187fx2&& _0x187fx15== _0x187fx3|| !_0x187fx4&& _0x187fx16)&& _0x187fx5[_0x83b3[207]](_0x187fx13)};return _0x187fx5};mxGraphModel[_0x83b3[202]][_0x83b3[1808]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;_0x187fx5= null!= _0x187fx5?_0x187fx5:!0;var _0x187fx9=[];if(null!= _0x187fx2){for(var _0x187fxa=0;_0x187fxa< _0x187fx2[_0x83b3[67]];_0x187fxa++){var _0x187fx12=this[_0x83b3[1709]](_0x187fx2[_0x187fxa],!0),_0x187fx13=this[_0x83b3[1709]](_0x187fx2[_0x187fxa],!1);_0x187fx12== _0x187fx3&& null!= _0x187fx13&& _0x187fx13!= _0x187fx3&& _0x187fx5?_0x187fx9[_0x83b3[207]](_0x187fx13):_0x187fx13== _0x187fx3&& (null!= _0x187fx12&& _0x187fx12!= _0x187fx3&& _0x187fx4)&& _0x187fx9[_0x83b3[207]](_0x187fx12)}};return _0x187fx9};mxGraphModel[_0x83b3[202]][_0x83b3[1964]]= function(_0x187fx2){for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){for(var _0x187fx5=_0x187fx2[_0x187fx4],_0x187fx9=!0,_0x187fxa=this[_0x83b3[1197]](_0x187fx5);null!= _0x187fxa;){if(0<= mxUtils[_0x83b3[2]](_0x187fx2,_0x187fxa)){_0x187fx9= !1;break};_0x187fxa= this[_0x83b3[1197]](_0x187fxa)};_0x187fx9&& _0x187fx3[_0x83b3[207]](_0x187fx5)};return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1193]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[1193]]():!1};mxGraphModel[_0x83b3[202]][_0x83b3[250]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[250]]():!1};mxGraphModel[_0x83b3[202]][_0x83b3[1965]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[1965]]():!1};mxGraphModel[_0x83b3[202]][_0x83b3[433]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[433]]():null};mxGraphModel[_0x83b3[202]][_0x83b3[1966]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[350]]( new mxValueChange(this,_0x187fx2,_0x187fx3));return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1967]]= function(_0x187fx2,_0x187fx3){return _0x187fx2[_0x83b3[1968]](_0x187fx3)};mxGraphModel[_0x83b3[202]][_0x83b3[1721]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2?_0x187fx2[_0x83b3[1721]]():null};mxGraphModel[_0x83b3[202]][_0x83b3[1724]]= function(_0x187fx2,_0x187fx3){_0x187fx3!= this[_0x83b3[1721]](_0x187fx2)&& this[_0x83b3[350]]( new mxGeometryChange(this,_0x187fx2,_0x187fx3));return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1969]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1721]](_0x187fx2);_0x187fx2[_0x83b3[1724]](_0x187fx3);return _0x187fx4};mxGraphModel[_0x83b3[202]][_0x83b3[474]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[474]]():null};mxGraphModel[_0x83b3[202]][_0x83b3[475]]= function(_0x187fx2,_0x187fx3){_0x187fx3!= this[_0x83b3[474]](_0x187fx2)&& this[_0x83b3[350]]( new mxStyleChange(this,_0x187fx2,_0x187fx3));return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1970]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[474]](_0x187fx2);_0x187fx2[_0x83b3[475]](_0x187fx3);return _0x187fx4};mxGraphModel[_0x83b3[202]][_0x83b3[1971]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[1971]]():!1};mxGraphModel[_0x83b3[202]][_0x83b3[1972]]= function(_0x187fx2,_0x187fx3){_0x187fx3!= this[_0x83b3[1971]](_0x187fx2)&& this[_0x83b3[350]]( new mxCollapseChange(this,_0x187fx2,_0x187fx3));return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1973]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1971]](_0x187fx2);_0x187fx2[_0x83b3[1972]](_0x187fx3);return _0x187fx4};mxGraphModel[_0x83b3[202]][_0x83b3[174]]= function(_0x187fx2){return null!= _0x187fx2?_0x187fx2[_0x83b3[174]]():!1};mxGraphModel[_0x83b3[202]][_0x83b3[175]]= function(_0x187fx2,_0x187fx3){_0x187fx3!= this[_0x83b3[174]](_0x187fx2)&& this[_0x83b3[350]]( new mxVisibleChange(this,_0x187fx2,_0x187fx3));return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1974]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[174]](_0x187fx2);_0x187fx2[_0x83b3[175]](_0x187fx3);return _0x187fx4};mxGraphModel[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2){_0x187fx2[_0x83b3[350]]();this[_0x83b3[473]]();this[_0x83b3[1926]][_0x83b3[99]](_0x187fx2);this[_0x83b3[746]]( new mxEventObject(mxEvent.EXECUTE,_0x83b3[826],_0x187fx2));this[_0x83b3[746]]( new mxEventObject(mxEvent.EXECUTED,_0x83b3[826],_0x187fx2));this[_0x83b3[476]]()};mxGraphModel[_0x83b3[202]][_0x83b3[473]]= function(){this[_0x83b3[1932]]++;this[_0x83b3[746]]( new mxEventObject(mxEvent.BEGIN_UPDATE));1== this[_0x83b3[1932]]&& this[_0x83b3[746]]( new mxEventObject(mxEvent.START_EDIT))};mxGraphModel[_0x83b3[202]][_0x83b3[476]]= function(){this[_0x83b3[1932]]--;0== this[_0x83b3[1932]]&& this[_0x83b3[746]]( new mxEventObject(mxEvent.END_EDIT));if(!this[_0x83b3[1933]]){this[_0x83b3[1933]]= 0== this[_0x83b3[1932]];this[_0x83b3[746]]( new mxEventObject(mxEvent.END_UPDATE,_0x83b3[1061],this[_0x83b3[1926]]));try{if(this[_0x83b3[1933]]&& !this[_0x83b3[1926]][_0x83b3[1107]]()){this[_0x83b3[746]]( new mxEventObject(mxEvent.BEFORE_UNDO,_0x83b3[1061],this[_0x83b3[1926]]));var _0x187fx2=this[_0x83b3[1926]];this[_0x83b3[1926]]= this[_0x83b3[1096]]();_0x187fx2[_0x83b3[827]]();this[_0x83b3[746]]( new mxEventObject(mxEvent.UNDO,_0x83b3[1061],_0x187fx2))}}finally{this[_0x83b3[1933]]= !1}}};mxGraphModel[_0x83b3[202]][_0x83b3[1096]]= function(){var _0x187fx2= new mxUndoableEdit(this,!0);_0x187fx2[_0x83b3[827]]= function(){_0x187fx2[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.CHANGE,_0x83b3[1061],_0x187fx2,_0x83b3[1065],_0x187fx2[_0x83b3[1065]]));_0x187fx2[_0x83b3[1097]][_0x83b3[746]]( new mxEventObject(mxEvent.NOTIFY,_0x83b3[1061],_0x187fx2,_0x83b3[1065],_0x187fx2[_0x83b3[1065]]))};return _0x187fx2};mxGraphModel[_0x83b3[202]][_0x83b3[1975]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;this[_0x83b3[473]]();try{var _0x187fx5={};this[_0x83b3[1976]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5);for(var _0x187fx9 in _0x187fx5){var _0x187fxa=_0x187fx5[_0x187fx9],_0x187fx12=this[_0x83b3[1709]](_0x187fxa,!0);null!= _0x187fx12&& (_0x187fx12= _0x187fx5[mxCellPath[_0x83b3[385]](_0x187fx12)],this[_0x83b3[1957]](_0x187fxa,_0x187fx12,!0));_0x187fx12= this[_0x83b3[1709]](_0x187fxa,!1);null!= _0x187fx12&& (_0x187fx12= _0x187fx5[mxCellPath[_0x83b3[385]](_0x187fx12)],this[_0x83b3[1957]](_0x187fxa,_0x187fx12,!1))}}finally{this[_0x83b3[476]]()}};mxGraphModel[_0x83b3[202]][_0x83b3[1976]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[473]]();try{for(var _0x187fx9=_0x187fx2[_0x83b3[262]](),_0x187fxa=0;_0x187fxa< _0x187fx9;_0x187fxa++){var _0x187fx12=_0x187fx2[_0x83b3[263]](_0x187fxa);if(_0x83b3[279]== typeof _0x187fx12[_0x83b3[1103]]){var _0x187fx13=_0x187fx12[_0x83b3[1103]](),_0x187fx14=null!= _0x187fx13&& (!this[_0x83b3[250]](_0x187fx12)|| !_0x187fx4)?this[_0x83b3[736]](_0x187fx13):null;if(null== _0x187fx14){var _0x187fx15=_0x187fx12[_0x83b3[238]]();_0x187fx15[_0x83b3[1945]](_0x187fx13);_0x187fx15[_0x83b3[1957]](_0x187fx12[_0x83b3[1709]](!0),!0);_0x187fx15[_0x83b3[1957]](_0x187fx12[_0x83b3[1709]](!1),!1);_0x187fx14= _0x187fx3[_0x83b3[1937]](_0x187fx15);this[_0x83b3[1941]](_0x187fx14)};_0x187fx5[mxCellPath[_0x83b3[385]](_0x187fx12)]= _0x187fx14;this[_0x83b3[1976]](_0x187fx12,_0x187fx14,_0x187fx4,_0x187fx5)}}}finally{this[_0x83b3[476]]()}};mxGraphModel[_0x83b3[202]][_0x83b3[1977]]= function(_0x187fx2){var _0x187fx3=[];if(null!= _0x187fx2){for(var _0x187fx4={},_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){var _0x187fx9=this[_0x83b3[1197]](_0x187fx2[_0x187fx5]);if(null!= _0x187fx9){var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx9);null== _0x187fx4[_0x187fxa]&& (_0x187fx4[_0x187fxa]= _0x187fx9,_0x187fx3[_0x83b3[207]](_0x187fx9))}}};return _0x187fx3};mxGraphModel[_0x83b3[202]][_0x83b3[1978]]= function(_0x187fx2){return null!= _0x187fx2?this[_0x83b3[899]]([_0x187fx2],!0)[0]:null};mxGraphModel[_0x83b3[202]][_0x83b3[899]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4={},_0x187fx5=[],_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){null!= _0x187fx2[_0x187fx9]?_0x187fx5[_0x83b3[207]](this[_0x83b3[1979]](_0x187fx2[_0x187fx9],_0x187fx4,_0x187fx3)):_0x187fx5[_0x83b3[207]](null)};for(_0x187fx9= 0;_0x187fx9< _0x187fx5[_0x83b3[67]];_0x187fx9++){null!= _0x187fx5[_0x187fx9]&& this[_0x83b3[1980]](_0x187fx5[_0x187fx9],_0x187fx2[_0x187fx9],_0x187fx4)};return _0x187fx5};mxGraphModel[_0x83b3[202]][_0x83b3[1979]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1981]](_0x187fx2);_0x187fx3[mxObjectIdentity[_0x83b3[203]](_0x187fx2)]= _0x187fx5;if(_0x187fx4){_0x187fx4= this[_0x83b3[262]](_0x187fx2);for(var _0x187fx9=0;_0x187fx9< _0x187fx4;_0x187fx9++){var _0x187fxa=this[_0x83b3[1979]](this[_0x83b3[263]](_0x187fx2,_0x187fx9),_0x187fx3,!0);_0x187fx5[_0x83b3[1937]](_0x187fxa)}};return _0x187fx5};mxGraphModel[_0x83b3[202]][_0x83b3[1981]]= function(_0x187fx2){return _0x187fx2[_0x83b3[238]]()};mxGraphModel[_0x83b3[202]][_0x83b3[1980]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1709]](_0x187fx3,!0);null!= _0x187fx5&& (_0x187fx5= _0x187fx4[mxObjectIdentity[_0x83b3[203]](_0x187fx5)],null!= _0x187fx5&& _0x187fx5[_0x83b3[1960]](_0x187fx2,!0));_0x187fx5= this[_0x83b3[1709]](_0x187fx3,!1);null!= _0x187fx5&& (_0x187fx5= _0x187fx4[mxObjectIdentity[_0x83b3[203]](_0x187fx5)],null!= _0x187fx5&& _0x187fx5[_0x83b3[1960]](_0x187fx2,!1));for(var _0x187fx5=this[_0x83b3[262]](_0x187fx2),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){this[_0x83b3[1980]](this[_0x83b3[263]](_0x187fx2,_0x187fx9),this[_0x83b3[263]](_0x187fx3,_0x187fx9),_0x187fx4)}};function mxRootChange(_0x187fx2,_0x187fx3){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[257]]= this[_0x83b3[813]]= _0x187fx3}mxRootChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[813]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1940]](this[_0x83b3[257]])};function mxChildChange(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[257]]= this[_0x83b3[1101]]= _0x187fx3;this[_0x83b3[247]]= _0x187fx4;this[_0x83b3[1982]]= this[_0x83b3[1983]]= _0x187fx5}mxChildChange[_0x83b3[202]][_0x83b3[350]]= function(){var _0x187fx2=this[_0x83b3[251]][_0x83b3[1197]](this[_0x83b3[247]]),_0x187fx3=null!= _0x187fx2?_0x187fx2[_0x83b3[1738]](this[_0x83b3[247]]):0;null== this[_0x83b3[257]]&& this[_0x83b3[807]](this[_0x83b3[247]],!1);_0x187fx2= this[_0x83b3[251]][_0x83b3[1952]](this[_0x83b3[247]],this[_0x83b3[257]],this[_0x83b3[1982]]);null!= this[_0x83b3[257]]&& this[_0x83b3[807]](this[_0x83b3[247]],!0);this[_0x83b3[1101]]= this[_0x83b3[257]];this[_0x83b3[257]]= _0x187fx2;this[_0x83b3[1983]]= this[_0x83b3[1982]];this[_0x83b3[1982]]= _0x187fx3};mxChildChange[_0x83b3[202]][_0x83b3[807]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;var _0x187fx4=_0x187fx2[_0x83b3[1709]](!0),_0x187fx5=_0x187fx2[_0x83b3[1709]](!1);null!= _0x187fx4&& (_0x187fx3?this[_0x83b3[251]][_0x83b3[1959]](_0x187fx2,_0x187fx4,!0):this[_0x83b3[251]][_0x83b3[1959]](_0x187fx2,null,!0));null!= _0x187fx5&& (_0x187fx3?this[_0x83b3[251]][_0x83b3[1959]](_0x187fx2,_0x187fx5,!1):this[_0x83b3[251]][_0x83b3[1959]](_0x187fx2,null,!1));_0x187fx2[_0x83b3[1957]](_0x187fx4,!0);_0x187fx2[_0x83b3[1957]](_0x187fx5,!1);_0x187fx4= this[_0x83b3[251]][_0x83b3[262]](_0x187fx2);for(_0x187fx5= 0;_0x187fx5< _0x187fx4;_0x187fx5++){this[_0x83b3[807]](this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx5),_0x187fx3)}};function mxTerminalChange(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[1984]]= _0x187fx4;this[_0x83b3[1097]]= _0x187fx5}mxTerminalChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[1984]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1959]](this[_0x83b3[246]],this[_0x83b3[257]],this[_0x83b3[1097]])};function mxValueChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[131]]= _0x187fx4}mxValueChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[131]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1967]](this[_0x83b3[246]],this[_0x83b3[257]])};function mxStyleChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[124]]= _0x187fx4}mxStyleChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[124]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1970]](this[_0x83b3[246]],this[_0x83b3[257]])};function mxGeometryChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[256]]= _0x187fx4}mxGeometryChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[256]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1969]](this[_0x83b3[246]],this[_0x83b3[257]])};function mxCollapseChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[1985]]= _0x187fx4}mxCollapseChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[1985]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1973]](this[_0x83b3[246]],this[_0x83b3[257]])};function mxVisibleChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[189]]= _0x187fx4}mxVisibleChange[_0x83b3[202]][_0x83b3[350]]= function(){this[_0x83b3[189]]= this[_0x83b3[257]];this[_0x83b3[257]]= this[_0x83b3[251]][_0x83b3[1974]](this[_0x83b3[246]],this[_0x83b3[257]])};function mxCellAttributeChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[246]]= _0x187fx2;this[_0x83b3[1986]]= _0x187fx3;this[_0x83b3[257]]= this[_0x83b3[131]]= _0x187fx4}mxCellAttributeChange[_0x83b3[202]][_0x83b3[350]]= function(){var _0x187fx2=this[_0x83b3[246]][_0x83b3[284]](this[_0x83b3[1986]]);null== this[_0x83b3[257]]?this[_0x83b3[246]][_0x83b3[131]][_0x83b3[1390]](this[_0x83b3[1986]]):this[_0x83b3[246]][_0x83b3[57]](this[_0x83b3[1986]],this[_0x83b3[257]]);this[_0x83b3[257]]= _0x187fx2};function mxCell(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[131]]= _0x187fx2;this[_0x83b3[1724]](_0x187fx3);this[_0x83b3[475]](_0x187fx4);if(null!= this[_0x83b3[1987]]){this[_0x83b3[1987]]()}}mxCell[_0x83b3[202]][_0x83b3[1363]]= null;mxCell[_0x83b3[202]][_0x83b3[131]]= null;mxCell[_0x83b3[202]][_0x83b3[256]]= null;mxCell[_0x83b3[202]][_0x83b3[124]]= null;mxCell[_0x83b3[202]][_0x83b3[1988]]= !1;mxCell[_0x83b3[202]][_0x83b3[1989]]= !1;mxCell[_0x83b3[202]][_0x83b3[1990]]= !0;mxCell[_0x83b3[202]][_0x83b3[189]]= !0;mxCell[_0x83b3[202]][_0x83b3[1985]]= !1;mxCell[_0x83b3[202]][_0x83b3[1101]]= null;mxCell[_0x83b3[202]][_0x83b3[1097]]= null;mxCell[_0x83b3[202]][_0x83b3[772]]= null;mxCell[_0x83b3[202]][_0x83b3[1954]]= null;mxCell[_0x83b3[202]][_0x83b3[1842]]= null;mxCell[_0x83b3[202]][_0x83b3[1991]]= _0x83b3[1992][_0x83b3[224]](_0x83b3[185]);mxCell[_0x83b3[202]][_0x83b3[1103]]= function(){return this[_0x83b3[1363]]};mxCell[_0x83b3[202]][_0x83b3[1945]]= function(_0x187fx2){this[_0x83b3[1363]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[433]]= function(){return this[_0x83b3[131]]};mxCell[_0x83b3[202]][_0x83b3[1966]]= function(_0x187fx2){this[_0x83b3[131]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1968]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[433]]();this[_0x83b3[1966]](_0x187fx2);return _0x187fx3};mxCell[_0x83b3[202]][_0x83b3[1721]]= function(){return this[_0x83b3[256]]};mxCell[_0x83b3[202]][_0x83b3[1724]]= function(_0x187fx2){this[_0x83b3[256]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[474]]= function(){return this[_0x83b3[124]]};mxCell[_0x83b3[202]][_0x83b3[475]]= function(_0x187fx2){this[_0x83b3[124]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1193]]= function(){return this[_0x83b3[1988]]};mxCell[_0x83b3[202]][_0x83b3[1993]]= function(_0x187fx2){this[_0x83b3[1988]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[250]]= function(){return this[_0x83b3[1989]]};mxCell[_0x83b3[202]][_0x83b3[1994]]= function(_0x187fx2){this[_0x83b3[1989]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1965]]= function(){return this[_0x83b3[1990]]};mxCell[_0x83b3[202]][_0x83b3[1995]]= function(_0x187fx2){this[_0x83b3[1990]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[174]]= function(){return this[_0x83b3[189]]};mxCell[_0x83b3[202]][_0x83b3[175]]= function(_0x187fx2){this[_0x83b3[189]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1971]]= function(){return this[_0x83b3[1985]]};mxCell[_0x83b3[202]][_0x83b3[1972]]= function(_0x187fx2){this[_0x83b3[1985]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1197]]= function(){return this[_0x83b3[1101]]};mxCell[_0x83b3[202]][_0x83b3[1996]]= function(_0x187fx2){this[_0x83b3[1101]]= _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1709]]= function(_0x187fx2){return _0x187fx2?this[_0x83b3[1097]]:this[_0x83b3[772]]};mxCell[_0x83b3[202]][_0x83b3[1957]]= function(_0x187fx2,_0x187fx3){_0x187fx3?this[_0x83b3[1097]]= _0x187fx2:this[_0x83b3[772]]= _0x187fx2;return _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[262]]= function(){return null== this[_0x83b3[1954]]?0:this[_0x83b3[1954]][_0x83b3[67]]};mxCell[_0x83b3[202]][_0x83b3[1738]]= function(_0x187fx2){return mxUtils[_0x83b3[2]](this[_0x83b3[1954]],_0x187fx2)};mxCell[_0x83b3[202]][_0x83b3[263]]= function(_0x187fx2){return null== this[_0x83b3[1954]]?null:this[_0x83b3[1954]][_0x187fx2]};mxCell[_0x83b3[202]][_0x83b3[1937]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx2&& (null== _0x187fx3&& (_0x187fx3= this[_0x83b3[262]](),_0x187fx2[_0x83b3[1197]]()== this&& _0x187fx3--),_0x187fx2[_0x83b3[1997]](),_0x187fx2[_0x83b3[1996]](this),null== this[_0x83b3[1954]]?(this[_0x83b3[1954]]= [],this[_0x83b3[1954]][_0x83b3[207]](_0x187fx2)):this[_0x83b3[1954]][_0x83b3[300]](_0x187fx3,0,_0x187fx2));return _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[205]]= function(_0x187fx2){var _0x187fx3=null;null!= this[_0x83b3[1954]]&& 0<= _0x187fx2&& (_0x187fx3= this[_0x83b3[263]](_0x187fx2),null!= _0x187fx3&& (this[_0x83b3[1954]][_0x83b3[300]](_0x187fx2,1),_0x187fx3[_0x83b3[1996]](null)));return _0x187fx3};mxCell[_0x83b3[202]][_0x83b3[1997]]= function(){if(null!= this[_0x83b3[1101]]){var _0x187fx2=this[_0x83b3[1101]][_0x83b3[1738]](this);this[_0x83b3[1101]][_0x83b3[205]](_0x187fx2)}};mxCell[_0x83b3[202]][_0x83b3[1707]]= function(){return null== this[_0x83b3[1842]]?0:this[_0x83b3[1842]][_0x83b3[67]]};mxCell[_0x83b3[202]][_0x83b3[1998]]= function(_0x187fx2){return mxUtils[_0x83b3[2]](this[_0x83b3[1842]],_0x187fx2)};mxCell[_0x83b3[202]][_0x83b3[1708]]= function(_0x187fx2){return null== this[_0x83b3[1842]]?null:this[_0x83b3[1842]][_0x187fx2]};mxCell[_0x83b3[202]][_0x83b3[1960]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& (_0x187fx2[_0x83b3[1999]](_0x187fx3),_0x187fx2[_0x83b3[1957]](this,_0x187fx3),null== this[_0x83b3[1842]]|| _0x187fx2[_0x83b3[1709]](!_0x187fx3) != this|| 0> mxUtils[_0x83b3[2]](this[_0x83b3[1842]],_0x187fx2))){null== this[_0x83b3[1842]]&& (this[_0x83b3[1842]]= []),this[_0x83b3[1842]][_0x83b3[207]](_0x187fx2)};return _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1961]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2){if(_0x187fx2[_0x83b3[1709]](!_0x187fx3) != this&& null!= this[_0x83b3[1842]]){var _0x187fx4=this[_0x83b3[1998]](_0x187fx2);0<= _0x187fx4&& this[_0x83b3[1842]][_0x83b3[300]](_0x187fx4,1)};_0x187fx2[_0x83b3[1957]](null,_0x187fx3)};return _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[1999]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1709]](_0x187fx2);null!= _0x187fx3&& _0x187fx3[_0x83b3[1961]](this,_0x187fx2)};mxCell[_0x83b3[202]][_0x83b3[284]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[433]]();return (null!= _0x187fx4&& _0x187fx4[_0x83b3[288]]== mxConstants[_0x83b3[289]]?_0x187fx4[_0x83b3[284]](_0x187fx2):null)|| _0x187fx3};mxCell[_0x83b3[202]][_0x83b3[57]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[433]]();null!= _0x187fx4&& _0x187fx4[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& _0x187fx4[_0x83b3[57]](_0x187fx2,_0x187fx3)};mxCell[_0x83b3[202]][_0x83b3[238]]= function(){var _0x187fx2=mxUtils[_0x83b3[238]](this,this[_0x83b3[1991]]);_0x187fx2[_0x83b3[1966]](this[_0x83b3[2000]]());return _0x187fx2};mxCell[_0x83b3[202]][_0x83b3[2000]]= function(){var _0x187fx2=this[_0x83b3[433]]();null!= _0x187fx2&& (_0x83b3[279]== typeof _0x187fx2[_0x83b3[238]]?_0x187fx2= _0x187fx2[_0x83b3[238]]():isNaN(_0x187fx2[_0x83b3[288]])|| (_0x187fx2= _0x187fx2[_0x83b3[511]](!0)));return _0x187fx2};function mxGeometry(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxRectangle[_0x83b3[239]](this,_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5)}mxGeometry[_0x83b3[202]]= new mxRectangle;mxGeometry[_0x83b3[202]][_0x83b3[196]]= mxGeometry;mxGeometry[_0x83b3[202]][_0x83b3[2001]]= !0;mxGeometry[_0x83b3[202]][_0x83b3[2002]]= null;mxGeometry[_0x83b3[202]][_0x83b3[2003]]= null;mxGeometry[_0x83b3[202]][_0x83b3[2004]]= null;mxGeometry[_0x83b3[202]][_0x83b3[1525]]= null;mxGeometry[_0x83b3[202]][_0x83b3[1368]]= null;mxGeometry[_0x83b3[202]][_0x83b3[1500]]= !1;mxGeometry[_0x83b3[202]][_0x83b3[2005]]= function(){if(null!= this[_0x83b3[2002]]){var _0x187fx2= new mxRectangle(this[_0x83b3[235]],this[_0x83b3[236]],this[_0x83b3[117]],this[_0x83b3[119]]);this[_0x83b3[235]]= this[_0x83b3[2002]][_0x83b3[235]];this[_0x83b3[236]]= this[_0x83b3[2002]][_0x83b3[236]];this[_0x83b3[117]]= this[_0x83b3[2002]][_0x83b3[117]];this[_0x83b3[119]]= this[_0x83b3[2002]][_0x83b3[119]];this[_0x83b3[2002]]= _0x187fx2}};mxGeometry[_0x83b3[202]][_0x83b3[2006]]= function(_0x187fx2){return _0x187fx2?this[_0x83b3[2003]]:this[_0x83b3[2004]]};mxGeometry[_0x83b3[202]][_0x83b3[2007]]= function(_0x187fx2,_0x187fx3){_0x187fx3?this[_0x83b3[2003]]= _0x187fx2:this[_0x83b3[2004]]= _0x187fx2;return _0x187fx2};mxGeometry[_0x83b3[202]][_0x83b3[513]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[238]]();this[_0x83b3[1500]]|| (this[_0x83b3[235]]+= _0x187fx2,this[_0x83b3[236]]+= _0x187fx3);null!= this[_0x83b3[2003]]&& (this[_0x83b3[2003]][_0x83b3[235]]+= _0x187fx2,this[_0x83b3[2003]][_0x83b3[236]]+= _0x187fx3);null!= this[_0x83b3[2004]]&& (this[_0x83b3[2004]][_0x83b3[235]]+= _0x187fx2,this[_0x83b3[2004]][_0x83b3[236]]+= _0x187fx3);if(this[_0x83b3[2001]]&& null!= this[_0x83b3[1525]]){for(var _0x187fx4=this[_0x83b3[1525]][_0x83b3[67]],_0x187fx5=0;_0x187fx5< _0x187fx4;_0x187fx5++){var _0x187fx9=this[_0x83b3[1525]][_0x187fx5];null!= _0x187fx9&& (_0x187fx9[_0x83b3[235]]+= _0x187fx2,_0x187fx9[_0x83b3[236]]+= _0x187fx3)}}};var mxCellPath={PATH_SEPARATOR:_0x83b3[87],create:function(_0x187fx2){var _0x187fx3=_0x83b3[110];if(null!= _0x187fx2){for(var _0x187fx4=_0x187fx2[_0x83b3[1197]]();null!= _0x187fx4;){_0x187fx3= _0x187fx4[_0x83b3[1738]](_0x187fx2)+ mxCellPath[_0x83b3[1950]]+ _0x187fx3,_0x187fx2= _0x187fx4,_0x187fx4= _0x187fx2[_0x83b3[1197]]()}};_0x187fx2= _0x187fx3[_0x83b3[67]];1< _0x187fx2&& (_0x187fx3= _0x187fx3[_0x83b3[85]](0,_0x187fx2- 1));return _0x187fx3},getParentPath:function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[1122]](mxCellPath.PATH_SEPARATOR);if(0<= _0x187fx3){return _0x187fx2[_0x83b3[85]](0,_0x187fx3)};if(0< _0x187fx2[_0x83b3[67]]){return _0x83b3[110]}};return null},resolve:function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2;if(null!= _0x187fx3){for(var _0x187fx5=_0x187fx3[_0x83b3[224]](mxCellPath.PATH_SEPARATOR),_0x187fx9=0;_0x187fx9< _0x187fx5[_0x83b3[67]];_0x187fx9++){_0x187fx4= _0x187fx4[_0x83b3[263]](parseInt(_0x187fx5[_0x187fx9]))}};return _0x187fx4},compare:function(_0x187fx2,_0x187fx3){for(var _0x187fx4=Math[_0x83b3[243]](_0x187fx2[_0x83b3[67]],_0x187fx3[_0x83b3[67]]),_0x187fx5=0,_0x187fx9=0;_0x187fx9< _0x187fx4;_0x187fx9++){if(_0x187fx2[_0x187fx9]!= _0x187fx3[_0x187fx9]){0== _0x187fx2[_0x187fx9][_0x83b3[67]]|| 0== _0x187fx3[_0x187fx9][_0x83b3[67]]?_0x187fx5= _0x187fx2[_0x187fx9]== _0x187fx3[_0x187fx9]?0:_0x187fx2[_0x187fx9]> _0x187fx3[_0x187fx9]?1:-1:(_0x187fx4= parseInt(_0x187fx2[_0x187fx9]),_0x187fx9= parseInt(_0x187fx3[_0x187fx9]),_0x187fx5= _0x187fx4== _0x187fx9?0:_0x187fx4> _0x187fx9?1:-1);break}};0== _0x187fx5&& (_0x187fx4= _0x187fx2[_0x83b3[67]],_0x187fx9= _0x187fx3[_0x83b3[67]],_0x187fx4!= _0x187fx9&& (_0x187fx5= _0x187fx4> _0x187fx9?1:-1));return _0x187fx5}},mxPerimeter={RectanglePerimeter:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= _0x187fx2[_0x83b3[241]]();var _0x187fx9=_0x187fx2[_0x83b3[242]](),_0x187fxa=Math[_0x83b3[429]](_0x187fx4[_0x83b3[236]]- _0x187fx9,_0x187fx4[_0x83b3[235]]- _0x187fx3),_0x187fx12= new mxPoint(0,0),_0x187fx13=Math[_0x83b3[424]],_0x187fx14=Math[_0x83b3[424]]/ 2- _0x187fxa,_0x187fx15=Math[_0x83b3[429]](_0x187fx2[_0x83b3[119]],_0x187fx2[_0x83b3[117]]);_0x187fxa< -_0x187fx13+ _0x187fx15|| _0x187fxa> _0x187fx13- _0x187fx15?(_0x187fx12[_0x83b3[235]]= _0x187fx2[_0x83b3[235]],_0x187fx12[_0x83b3[236]]= _0x187fx9- _0x187fx2[_0x83b3[117]]* Math[_0x83b3[2008]](_0x187fxa)/ 2):_0x187fxa< -_0x187fx15?(_0x187fx12[_0x83b3[236]]= _0x187fx2[_0x83b3[236]],_0x187fx12[_0x83b3[235]]= _0x187fx3- _0x187fx2[_0x83b3[119]]* Math[_0x83b3[2008]](_0x187fx14)/ 2):_0x187fxa< _0x187fx15?(_0x187fx12[_0x83b3[235]]= _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]],_0x187fx12[_0x83b3[236]]= _0x187fx9+ _0x187fx2[_0x83b3[117]]* Math[_0x83b3[2008]](_0x187fxa)/ 2):(_0x187fx12[_0x83b3[236]]= _0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]],_0x187fx12[_0x83b3[235]]= _0x187fx3+ _0x187fx2[_0x83b3[119]]* Math[_0x83b3[2008]](_0x187fx14)/ 2);_0x187fx5&& (_0x187fx4[_0x83b3[235]]>= _0x187fx2[_0x83b3[235]]&& _0x187fx4[_0x83b3[235]]<= _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]?_0x187fx12[_0x83b3[235]]= _0x187fx4[_0x83b3[235]]:_0x187fx4[_0x83b3[236]]>= _0x187fx2[_0x83b3[236]]&& _0x187fx4[_0x83b3[236]]<= _0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]&& (_0x187fx12[_0x83b3[236]]= _0x187fx4[_0x83b3[236]]),_0x187fx4[_0x83b3[235]]< _0x187fx2[_0x83b3[235]]?_0x187fx12[_0x83b3[235]]= _0x187fx2[_0x83b3[235]]:_0x187fx4[_0x83b3[235]]> _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]&& (_0x187fx12[_0x83b3[235]]= _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]),_0x187fx4[_0x83b3[236]]< _0x187fx2[_0x83b3[236]]?_0x187fx12[_0x83b3[236]]= _0x187fx2[_0x83b3[236]]:_0x187fx4[_0x83b3[236]]> _0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]&& (_0x187fx12[_0x83b3[236]]= _0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]));return _0x187fx12},EllipsePerimeter:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx2[_0x83b3[235]],_0x187fxa=_0x187fx2[_0x83b3[236]],_0x187fx12=_0x187fx2[_0x83b3[117]]/ 2,_0x187fx13=_0x187fx2[_0x83b3[119]]/ 2,_0x187fx14=_0x187fx9+ _0x187fx12,_0x187fx15=_0x187fxa+ _0x187fx13;_0x187fx3= _0x187fx4[_0x83b3[235]];_0x187fx4= _0x187fx4[_0x83b3[236]];var _0x187fx16=parseInt(_0x187fx3- _0x187fx14),_0x187fx17=parseInt(_0x187fx4- _0x187fx15);if(0== _0x187fx16&& 0!= _0x187fx17){return new mxPoint(_0x187fx14,_0x187fx15+ _0x187fx13* _0x187fx17/ Math[_0x83b3[425]](_0x187fx17))};if(0== _0x187fx16&& 0== _0x187fx17){return new mxPoint(_0x187fx3,_0x187fx4)};if(_0x187fx5){if(_0x187fx4>= _0x187fxa&& _0x187fx4<= _0x187fxa+ _0x187fx2[_0x83b3[119]]){return _0x187fx2= _0x187fx4- _0x187fx15,_0x187fx2= Math[_0x83b3[428]](_0x187fx12* _0x187fx12* (1- _0x187fx2* _0x187fx2/ (_0x187fx13* _0x187fx13)))|| 0,_0x187fx3<= _0x187fx9&& (_0x187fx2= -_0x187fx2), new mxPoint(_0x187fx14+ _0x187fx2,_0x187fx4)};if(_0x187fx3>= _0x187fx9&& _0x187fx3<= _0x187fx9+ _0x187fx2[_0x83b3[117]]){return _0x187fx2= _0x187fx3- _0x187fx14,_0x187fx2= Math[_0x83b3[428]](_0x187fx13* _0x187fx13* (1- _0x187fx2* _0x187fx2/ (_0x187fx12* _0x187fx12)))|| 0,_0x187fx4<= _0x187fxa&& (_0x187fx2= -_0x187fx2), new mxPoint(_0x187fx3,_0x187fx15+ _0x187fx2)}};_0x187fx9= _0x187fx17/ _0x187fx16;_0x187fx15-= _0x187fx9* _0x187fx14;_0x187fxa= _0x187fx12* _0x187fx12* _0x187fx9* _0x187fx9+ _0x187fx13* _0x187fx13;_0x187fx2= -2* _0x187fx14* _0x187fxa;_0x187fx13= Math[_0x83b3[428]](_0x187fx2* _0x187fx2- 4* _0x187fxa* (_0x187fx12* _0x187fx12* _0x187fx9* _0x187fx9* _0x187fx14* _0x187fx14+ _0x187fx13* _0x187fx13* _0x187fx14* _0x187fx14- _0x187fx12* _0x187fx12* _0x187fx13* _0x187fx13));_0x187fx12= (-_0x187fx2+ _0x187fx13) / (2* _0x187fxa);_0x187fx13= (-_0x187fx2- _0x187fx13) / (2* _0x187fxa);_0x187fx14= _0x187fx9* _0x187fx12+ _0x187fx15;_0x187fx15= _0x187fx9* _0x187fx13+ _0x187fx15;_0x187fx9= Math[_0x83b3[428]](Math[_0x83b3[2009]](_0x187fx12- _0x187fx3,2)+ Math[_0x83b3[2009]](_0x187fx14- _0x187fx4,2));_0x187fx3= Math[_0x83b3[428]](Math[_0x83b3[2009]](_0x187fx13- _0x187fx3,2)+ Math[_0x83b3[2009]](_0x187fx15- _0x187fx4,2));_0x187fxa= _0x187fx4= 0;_0x187fx9< _0x187fx3?(_0x187fx4= _0x187fx12,_0x187fxa= _0x187fx14):(_0x187fx4= _0x187fx13,_0x187fxa= _0x187fx15);return new mxPoint(_0x187fx4,_0x187fxa)},RhombusPerimeter:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= _0x187fx2[_0x83b3[235]];var _0x187fx9=_0x187fx2[_0x83b3[236]],_0x187fxa=_0x187fx2[_0x83b3[117]];_0x187fx2= _0x187fx2[_0x83b3[119]];var _0x187fx12=_0x187fx3+ _0x187fxa/ 2,_0x187fx13=_0x187fx9+ _0x187fx2/ 2,_0x187fx14=_0x187fx4[_0x83b3[235]];_0x187fx4= _0x187fx4[_0x83b3[236]];if(_0x187fx12== _0x187fx14){return _0x187fx13> _0x187fx4? new mxPoint(_0x187fx12,_0x187fx9): new mxPoint(_0x187fx12,_0x187fx9+ _0x187fx2)};if(_0x187fx13== _0x187fx4){return _0x187fx12> _0x187fx14? new mxPoint(_0x187fx3,_0x187fx13): new mxPoint(_0x187fx3+ _0x187fxa,_0x187fx13)};var _0x187fx15=_0x187fx12,_0x187fx16=_0x187fx13;_0x187fx5&& (_0x187fx14>= _0x187fx3&& _0x187fx14<= _0x187fx3+ _0x187fxa?_0x187fx15= _0x187fx14:_0x187fx4>= _0x187fx9&& _0x187fx4<= _0x187fx9+ _0x187fx2&& (_0x187fx16= _0x187fx4));return _0x187fx14< _0x187fx12?_0x187fx4< _0x187fx13?mxUtils[_0x83b3[2010]](_0x187fx14,_0x187fx4,_0x187fx15,_0x187fx16,_0x187fx12,_0x187fx9,_0x187fx3,_0x187fx13):mxUtils[_0x83b3[2010]](_0x187fx14,_0x187fx4,_0x187fx15,_0x187fx16,_0x187fx12,_0x187fx9+ _0x187fx2,_0x187fx3,_0x187fx13):_0x187fx4< _0x187fx13?mxUtils[_0x83b3[2010]](_0x187fx14,_0x187fx4,_0x187fx15,_0x187fx16,_0x187fx12,_0x187fx9,_0x187fx3+ _0x187fxa,_0x187fx13):mxUtils[_0x83b3[2010]](_0x187fx14,_0x187fx4,_0x187fx15,_0x187fx16,_0x187fx12,_0x187fx9+ _0x187fx2,_0x187fx3+ _0x187fxa,_0x187fx13)},TrianglePerimeter:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= null!= _0x187fx3?_0x187fx3[_0x83b3[124]][mxConstants[_0x83b3[2011]]]:null;var _0x187fx9=_0x187fx3== mxConstants[_0x83b3[1358]]|| _0x187fx3== mxConstants[_0x83b3[1354]],_0x187fxa=_0x187fx2[_0x83b3[235]],_0x187fx12=_0x187fx2[_0x83b3[236]],_0x187fx13=_0x187fx2[_0x83b3[117]];_0x187fx2= _0x187fx2[_0x83b3[119]];var _0x187fx14=_0x187fxa+ _0x187fx13/ 2,_0x187fx15=_0x187fx12+ _0x187fx2/ 2,_0x187fx16= new mxPoint(_0x187fxa,_0x187fx12),_0x187fx17= new mxPoint(_0x187fxa+ _0x187fx13,_0x187fx15),_0x187fx18= new mxPoint(_0x187fxa,_0x187fx12+ _0x187fx2);_0x187fx3== mxConstants[_0x83b3[1358]]?(_0x187fx16= _0x187fx18,_0x187fx17= new mxPoint(_0x187fx14,_0x187fx12),_0x187fx18= new mxPoint(_0x187fxa+ _0x187fx13,_0x187fx12+ _0x187fx2)):_0x187fx3== mxConstants[_0x83b3[1354]]?(_0x187fx17= new mxPoint(_0x187fx14,_0x187fx12+ _0x187fx2),_0x187fx18= new mxPoint(_0x187fxa+ _0x187fx13,_0x187fx12)):_0x187fx3== mxConstants[_0x83b3[1359]]&& (_0x187fx16= new mxPoint(_0x187fxa+ _0x187fx13,_0x187fx12),_0x187fx17= new mxPoint(_0x187fxa,_0x187fx15),_0x187fx18= new mxPoint(_0x187fxa+ _0x187fx13,_0x187fx12+ _0x187fx2));var _0x187fx19=_0x187fx4[_0x83b3[235]]- _0x187fx14,_0x187fx1a=_0x187fx4[_0x83b3[236]]- _0x187fx15,_0x187fx19=_0x187fx9?Math[_0x83b3[429]](_0x187fx19,_0x187fx1a):Math[_0x83b3[429]](_0x187fx1a,_0x187fx19),_0x187fx1b=_0x187fx9?Math[_0x83b3[429]](_0x187fx13,_0x187fx2):Math[_0x83b3[429]](_0x187fx2,_0x187fx13),_0x187fx1a=!1,_0x187fx1a=_0x187fx3== mxConstants[_0x83b3[1358]]|| _0x187fx3== mxConstants[_0x83b3[1359]]?_0x187fx19> -_0x187fx1b&& _0x187fx19< _0x187fx1b:_0x187fx19< -Math[_0x83b3[424]]+ _0x187fx1b|| _0x187fx19> Math[_0x83b3[424]]- _0x187fx1b,_0x187fx1b=null;_0x187fx1a?_0x187fx1b= _0x187fx5&& (_0x187fx9&& _0x187fx4[_0x83b3[235]]>= _0x187fx16[_0x83b3[235]]&& _0x187fx4[_0x83b3[235]]<= _0x187fx18[_0x83b3[235]]|| !_0x187fx9&& _0x187fx4[_0x83b3[236]]>= _0x187fx16[_0x83b3[236]]&& _0x187fx4[_0x83b3[236]]<= _0x187fx18[_0x83b3[236]])?_0x187fx9? new mxPoint(_0x187fx4[_0x83b3[235]],_0x187fx16[_0x83b3[236]]): new mxPoint(_0x187fx16[_0x83b3[235]],_0x187fx4[_0x83b3[236]]):_0x187fx3== mxConstants[_0x83b3[1358]]? new mxPoint(_0x187fxa+ _0x187fx13/ 2+ _0x187fx2* Math[_0x83b3[2008]](_0x187fx19)/ 2,_0x187fx12+ _0x187fx2):_0x187fx3== mxConstants[_0x83b3[1354]]? new mxPoint(_0x187fxa+ _0x187fx13/ 2- _0x187fx2* Math[_0x83b3[2008]](_0x187fx19)/ 2,_0x187fx12):_0x187fx3== mxConstants[_0x83b3[1359]]? new mxPoint(_0x187fxa+ _0x187fx13,_0x187fx12+ _0x187fx2/ 2+ _0x187fx13* Math[_0x83b3[2008]](_0x187fx19)/ 2): new mxPoint(_0x187fxa,_0x187fx12+ _0x187fx2/ 2- _0x187fx13* Math[_0x83b3[2008]](_0x187fx19)/ 2):(_0x187fx5&& (_0x187fx5= new mxPoint(_0x187fx14,_0x187fx15),_0x187fx4[_0x83b3[236]]>= _0x187fx12&& _0x187fx4[_0x83b3[236]]<= _0x187fx12+ _0x187fx2?(_0x187fx5[_0x83b3[235]]= _0x187fx9?_0x187fx14:_0x187fx3== mxConstants[_0x83b3[1359]]?_0x187fxa+ _0x187fx13:_0x187fxa,_0x187fx5[_0x83b3[236]]= _0x187fx4[_0x83b3[236]]):_0x187fx4[_0x83b3[235]]>= _0x187fxa&& _0x187fx4[_0x83b3[235]]<= _0x187fxa+ _0x187fx13&& (_0x187fx5[_0x83b3[235]]= _0x187fx4[_0x83b3[235]],_0x187fx5[_0x83b3[236]]= !_0x187fx9?_0x187fx15:_0x187fx3== mxConstants[_0x83b3[1358]]?_0x187fx12+ _0x187fx2:_0x187fx12),_0x187fx14= _0x187fx5[_0x83b3[235]],_0x187fx15= _0x187fx5[_0x83b3[236]]),_0x187fx1b= _0x187fx9&& _0x187fx4[_0x83b3[235]]<= _0x187fxa+ _0x187fx13/ 2|| !_0x187fx9&& _0x187fx4[_0x83b3[236]]<= _0x187fx12+ _0x187fx2/ 2?mxUtils[_0x83b3[2010]](_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]],_0x187fx14,_0x187fx15,_0x187fx16[_0x83b3[235]],_0x187fx16[_0x83b3[236]],_0x187fx17[_0x83b3[235]],_0x187fx17[_0x83b3[236]]):mxUtils[_0x83b3[2010]](_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]],_0x187fx14,_0x187fx15,_0x187fx17[_0x83b3[235]],_0x187fx17[_0x83b3[236]],_0x187fx18[_0x83b3[235]],_0x187fx18[_0x83b3[236]]));null== _0x187fx1b&& (_0x187fx1b= new mxPoint(_0x187fx14,_0x187fx15));return _0x187fx1b}};function mxPrintPreview(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[255]]= null!= _0x187fx3?_0x187fx3:1/ _0x187fx2[_0x83b3[2012]];this[_0x83b3[467]]= null!= _0x187fx5?_0x187fx5:0;this[_0x83b3[2013]]= null!= _0x187fx4?_0x187fx4:_0x187fx2[_0x83b3[2013]];this[_0x83b3[924]]= null!= _0x187fx13?_0x187fx13:_0x83b3[2014];this[_0x83b3[1732]]= null!= _0x187fx9?_0x187fx9:0;this[_0x83b3[1733]]= null!= _0x187fxa?_0x187fxa:0;this[_0x83b3[1630]]= _0x187fx12;this[_0x83b3[2015]]= null!= _0x187fx14?_0x187fx14:!0}mxPrintPreview[_0x83b3[202]][_0x83b3[1179]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[2013]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[255]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[467]]= 0;mxPrintPreview[_0x83b3[202]][_0x83b3[1732]]= 0;mxPrintPreview[_0x83b3[202]][_0x83b3[1733]]= 0;mxPrintPreview[_0x83b3[202]][_0x83b3[2016]]= !0;mxPrintPreview[_0x83b3[202]][_0x83b3[2017]]= !1;mxPrintPreview[_0x83b3[202]][_0x83b3[1630]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[924]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[2015]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[2018]]= null;mxPrintPreview[_0x83b3[202]][_0x83b3[2019]]= 0;mxPrintPreview[_0x83b3[202]][_0x83b3[2020]]= function(){return this[_0x83b3[2018]]};mxPrintPreview[_0x83b3[202]][_0x83b3[2021]]= function(){var _0x187fx2=_0x83b3[110];8== document[_0x83b3[5]]&& (_0x187fx2= _0x83b3[2022]);return _0x187fx2};mxPrintPreview[_0x83b3[202]][_0x83b3[392]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[2023]],_0x187fx4=null;try{this[_0x83b3[2017]]&& (this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[2023]]= function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[176]](_0x187fx2[_0x83b3[441]][_0x83b3[2024]]())});if(null== this[_0x83b3[2018]]){this[_0x83b3[2018]]= window[_0x83b3[392]]();var _0x187fx5=this[_0x83b3[2018]][_0x83b3[395]],_0x187fx9=this[_0x83b3[2021]]();null!= _0x187fx9&& 0< _0x187fx9[_0x83b3[67]]&& _0x187fx5[_0x83b3[171]](_0x187fx9);_0x187fx5[_0x83b3[171]](_0x83b3[528]);_0x187fx5[_0x83b3[171]](_0x83b3[531]);this[_0x83b3[2025]](_0x187fx5,_0x187fx2);_0x187fx5[_0x83b3[171]](_0x83b3[533]);_0x187fx5[_0x83b3[171]](_0x83b3[2026]);mxClient[_0x83b3[54]](_0x83b3[94],mxClient[_0x83b3[86]]+ _0x83b3[95],_0x187fx5);mxClient[_0x83b3[47]]&& (_0x187fx5[_0x83b3[100]][_0x83b3[99]](_0x83b3[6],_0x83b3[97]),_0x187fx5[_0x83b3[100]][_0x83b3[99]](_0x83b3[7],_0x83b3[101]),_0x187fx5[_0x83b3[102]]()[_0x83b3[103]]= _0x83b3[104],mxClient[_0x83b3[54]](_0x83b3[94],mxClient[_0x83b3[86]]+ _0x83b3[105],_0x187fx5));var _0x187fxa=this[_0x83b3[1179]][_0x83b3[517]]()[_0x83b3[238]](),_0x187fx12=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[518]](),_0x187fx13=_0x187fx12/ this[_0x83b3[255]],_0x187fx14=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[512]]();this[_0x83b3[2016]]|| (this[_0x83b3[1732]]= -_0x187fx14[_0x83b3[235]]* this[_0x83b3[255]],this[_0x83b3[1733]]= -_0x187fx14[_0x83b3[236]]* this[_0x83b3[255]],_0x187fxa[_0x83b3[117]]+= _0x187fxa[_0x83b3[235]],_0x187fxa[_0x83b3[119]]+= _0x187fxa[_0x83b3[236]],_0x187fxa[_0x83b3[235]]= 0,this[_0x83b3[467]]= _0x187fxa[_0x83b3[236]]= 0);_0x187fxa[_0x83b3[117]]/= _0x187fx13;_0x187fxa[_0x83b3[119]]/= _0x187fx13;var _0x187fx15=this[_0x83b3[2013]][_0x83b3[117]]- 2* this[_0x83b3[467]],_0x187fx16=this[_0x83b3[2013]][_0x83b3[119]]- 2* this[_0x83b3[467]],_0x187fx17=Math[_0x83b3[160]](1,Math[_0x83b3[430]]((_0x187fxa[_0x83b3[117]]+ this[_0x83b3[1732]])/ _0x187fx15)),_0x187fx18=Math[_0x83b3[160]](1,Math[_0x83b3[430]]((_0x187fxa[_0x83b3[119]]+ this[_0x83b3[1733]])/ _0x187fx16));this[_0x83b3[2019]]= _0x187fx17* _0x187fx18;var _0x187fx19=mxUtils[_0x83b3[885]](this,function(){if(this[_0x83b3[2015]]&& (1< _0x187fx18|| 1< _0x187fx17)){var _0x187fx2=this[_0x83b3[2027]](_0x187fx18,_0x187fx17);_0x187fx5[_0x83b3[112]][_0x83b3[62]](_0x187fx2);if(mxClient[_0x83b3[80]]){_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];var _0x187fx3=function(){_0x187fx2[_0x83b3[124]][_0x83b3[125]]= _0x187fx5[_0x83b3[112]][_0x83b3[190]]+ 10+ _0x83b3[168]};mxEvent[_0x83b3[169]](this[_0x83b3[2018]],_0x83b3[276],function(_0x187fx2){_0x187fx3()});mxEvent[_0x83b3[169]](this[_0x83b3[2018]],_0x83b3[129],function(_0x187fx2){_0x187fx3()})}}});_0x187fx2= function(_0x187fx2,_0x187fx3){null!= this[_0x83b3[1630]]&& (_0x187fx2[_0x83b3[124]][_0x83b3[1630]]= this[_0x83b3[1630]],_0x187fx2[_0x83b3[124]][_0x83b3[465]]= _0x83b3[1631],_0x187fx2[_0x83b3[124]][_0x83b3[1629]]= _0x83b3[942]);_0x187fx2[_0x83b3[124]][_0x83b3[1537]]= _0x83b3[1391];_0x187fx3&& (_0x187fx2[_0x83b3[124]][_0x83b3[2028]]= _0x83b3[2029]);mxClient[_0x83b3[80]]?(_0x187fx5[_0x83b3[171]](_0x187fx2[_0x83b3[342]]),_0x187fx2[_0x83b3[265]][_0x83b3[266]](_0x187fx2)):(_0x187fx2[_0x83b3[265]][_0x83b3[266]](_0x187fx2),_0x187fx5[_0x83b3[112]][_0x83b3[62]](_0x187fx2));if(_0x187fx3){var _0x187fx4=_0x187fx5[_0x83b3[55]](_0x83b3[1054]);_0x187fx4[_0x83b3[926]]= _0x83b3[2030];_0x187fx5[_0x83b3[112]][_0x83b3[62]](_0x187fx4)}};var _0x187fx1a=this[_0x83b3[2031]](this[_0x83b3[2013]][_0x83b3[117]],this[_0x83b3[2013]][_0x83b3[119]]);if(null!= _0x187fx1a){for(var _0x187fx1b=0;_0x187fx1b< _0x187fx1a[_0x83b3[67]];_0x187fx1b++){_0x187fx2(_0x187fx1a[_0x187fx1b],!0)}};for(var _0x187fx1c=this[_0x83b3[2032]](this[_0x83b3[2013]][_0x83b3[117]],this[_0x83b3[2013]][_0x83b3[119]]),_0x187fx1b=0;_0x187fx1b< _0x187fx18;_0x187fx1b++){for(var _0x187fx1d=_0x187fx1b* _0x187fx16/ this[_0x83b3[255]]- this[_0x83b3[1733]]/ this[_0x83b3[255]]+ (_0x187fxa[_0x83b3[236]]- _0x187fx14[_0x83b3[236]]* _0x187fx12)/ _0x187fx12,_0x187fx1a=0;_0x187fx1a< _0x187fx17;_0x187fx1a++){if(null== this[_0x83b3[2018]]){return null};var _0x187fx1e=_0x187fx1a* _0x187fx15/ this[_0x83b3[255]]- this[_0x83b3[1732]]/ this[_0x83b3[255]]+ (_0x187fxa[_0x83b3[235]]- _0x187fx14[_0x83b3[235]]* _0x187fx12)/ _0x187fx12,_0x187fx1f=_0x187fx1b* _0x187fx17+ _0x187fx1a+ 1,_0x187fx4=this[_0x83b3[2034]](this[_0x83b3[2013]][_0x83b3[117]],this[_0x83b3[2013]][_0x83b3[119]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2033]](-_0x187fx1e,-_0x187fx1d,this[_0x83b3[255]],_0x187fx1f,_0x187fx2)}));_0x187fx4[_0x83b3[57]](_0x83b3[1363],_0x83b3[2035]+ _0x187fx1f);_0x187fx2(_0x187fx4,null!= _0x187fx1c|| _0x187fx1b< _0x187fx18- 1|| _0x187fx1a< _0x187fx17- 1)}};if(null!= _0x187fx1c){for(_0x187fx1b= 0;_0x187fx1b< _0x187fx1c[_0x83b3[67]];_0x187fx1b++){_0x187fx2(_0x187fx1c[_0x187fx1b],_0x187fx1b< _0x187fx1c[_0x83b3[67]])}};_0x187fx5[_0x83b3[171]](_0x83b3[527]);_0x187fx5[_0x83b3[171]](_0x83b3[534]);_0x187fx5[_0x83b3[268]]();_0x187fx19();mxEvent[_0x83b3[762]](_0x187fx5[_0x83b3[112]])};this[_0x83b3[2018]][_0x83b3[393]]()}catch(y){null!= _0x187fx4&& null!= _0x187fx4[_0x83b3[265]]&& _0x187fx4[_0x83b3[265]][_0x83b3[266]](_0x187fx4)}finally{this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[2023]]= _0x187fx3};return this[_0x83b3[2018]]};mxPrintPreview[_0x83b3[202]][_0x83b3[2025]]= function(_0x187fx2,_0x187fx3){null!= this[_0x83b3[924]]&& _0x187fx2[_0x83b3[171]](_0x83b3[2036]+ this[_0x83b3[924]]+ _0x83b3[2037]);_0x187fx2[_0x83b3[171]](_0x83b3[2038]);_0x187fx2[_0x83b3[171]](_0x83b3[2039]);_0x187fx2[_0x83b3[171]](_0x83b3[2040]);_0x187fx2[_0x83b3[171]](_0x83b3[2041]);_0x187fx2[_0x83b3[171]](_0x83b3[233]);_0x187fx2[_0x83b3[171]](_0x83b3[2042]);_0x187fx2[_0x83b3[171]](_0x83b3[2043]);_0x187fx2[_0x83b3[171]](_0x83b3[2044]);_0x187fx2[_0x83b3[171]](_0x83b3[2045]);_0x187fx2[_0x83b3[171]](_0x83b3[233]);null!= _0x187fx3&& _0x187fx2[_0x83b3[171]](_0x187fx3);_0x187fx2[_0x83b3[171]](_0x83b3[2046])};mxPrintPreview[_0x83b3[202]][_0x83b3[2027]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[2018]][_0x83b3[395]],_0x187fx5=_0x187fx4[_0x83b3[55]](_0x83b3[116]);_0x187fx5[_0x83b3[926]]= _0x83b3[2047];_0x187fx5[_0x83b3[57]](_0x83b3[467],_0x83b3[468]);for(var _0x187fx9=_0x187fx4[_0x83b3[55]](_0x83b3[120]),_0x187fxa=0;_0x187fxa< _0x187fx2;_0x187fxa++){for(var _0x187fx12=_0x187fx4[_0x83b3[55]](_0x83b3[121]),_0x187fx13=0;_0x187fx13< _0x187fx3;_0x187fx13++){var _0x187fx14=_0x187fxa* _0x187fx3+ _0x187fx13+ 1,_0x187fx15=_0x187fx4[_0x83b3[55]](_0x83b3[122]);if(!mxClient[_0x83b3[133]]|| mxClient[_0x83b3[75]]|| mxClient[_0x83b3[76]]){var _0x187fx16=_0x187fx4[_0x83b3[55]](_0x83b3[2048]);_0x187fx16[_0x83b3[57]](_0x83b3[44],_0x83b3[2049]+ _0x187fx14);mxUtils[_0x83b3[53]](_0x187fx16,_0x187fx14,_0x187fx4);_0x187fx15[_0x83b3[62]](_0x187fx16)}else {mxUtils[_0x83b3[53]](_0x187fx15,_0x187fx14,_0x187fx4)};_0x187fx12[_0x83b3[62]](_0x187fx15)};_0x187fx9[_0x83b3[62]](_0x187fx12)};_0x187fx5[_0x83b3[62]](_0x187fx9);return _0x187fx5};mxPrintPreview[_0x83b3[202]][_0x83b3[2034]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=document[_0x83b3[55]](_0x83b3[485]);try{_0x187fx5[_0x83b3[124]][_0x83b3[117]]= _0x187fx2+ _0x83b3[168];_0x187fx5[_0x83b3[124]][_0x83b3[119]]= _0x187fx3+ _0x83b3[168];_0x187fx5[_0x83b3[124]][_0x83b3[277]]= _0x83b3[188];_0x187fx5[_0x83b3[124]][_0x83b3[2050]]= _0x83b3[1824];_0x187fx5[_0x83b3[124]][_0x83b3[491]]= _0x83b3[1500];var _0x187fx9=document[_0x83b3[55]](_0x83b3[485]);_0x187fx9[_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[467]]+ _0x83b3[168];_0x187fx9[_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[467]]+ _0x83b3[168];_0x187fx9[_0x83b3[124]][_0x83b3[117]]= _0x187fx2- 2* this[_0x83b3[467]]+ _0x83b3[168];_0x187fx9[_0x83b3[124]][_0x83b3[119]]= _0x187fx3- 2* this[_0x83b3[467]]+ _0x83b3[168];_0x187fx9[_0x83b3[124]][_0x83b3[277]]= _0x83b3[188];this[_0x83b3[1179]][_0x83b3[507]]== mxConstants[_0x83b3[1523]]&& (_0x187fx9[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492]);_0x187fx5[_0x83b3[62]](_0x187fx9);document[_0x83b3[112]][_0x83b3[62]](_0x187fx5);_0x187fx4(_0x187fx9)}catch(f){throw _0x187fx5[_0x83b3[265]][_0x83b3[266]](_0x187fx5),f};return _0x187fx5};mxPrintPreview[_0x83b3[202]][_0x83b3[2033]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx5= this[_0x83b3[1179]][_0x83b3[249]]();var _0x187fxa=this[_0x83b3[1179]][_0x83b3[526]];this[_0x83b3[1179]][_0x83b3[526]]= _0x187fx9;var _0x187fx12=_0x187fx5[_0x83b3[2051]](),_0x187fx13=_0x187fx5[_0x83b3[2052]](),_0x187fx14=_0x187fx5[_0x83b3[2024]](),_0x187fx15=_0x187fx5[_0x83b3[1524]]();this[_0x83b3[1179]][_0x83b3[507]]== mxConstants[_0x83b3[508]]?_0x187fx5[_0x83b3[1569]]():this[_0x83b3[1179]][_0x83b3[507]]== mxConstants[_0x83b3[1523]]?_0x187fx5[_0x83b3[1571]]():_0x187fx5[_0x83b3[1570]]();var _0x187fx16=_0x187fx5[_0x83b3[503]]();_0x187fx5[_0x83b3[504]](!1);var _0x187fx17=this[_0x83b3[1179]][_0x83b3[994]]();this[_0x83b3[1179]][_0x83b3[995]](!1);var _0x187fx18=_0x187fx5[_0x83b3[512]]();_0x187fx5[_0x83b3[513]]= new mxPoint(_0x187fx2,_0x187fx3);_0x187fx2= null;try{var _0x187fx19=[this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[501]]()];_0x187fx2= new mxTemporaryCellStates(_0x187fx5,_0x187fx4,_0x187fx19)}finally{if(mxClient[_0x83b3[80]]){_0x187fx5[_0x83b3[506]][_0x83b3[339]]= _0x83b3[110]}else {for(_0x187fx4= _0x187fx9[_0x83b3[285]];null!= _0x187fx4;){_0x187fx19= _0x187fx4[_0x83b3[287]],_0x187fx3= _0x187fx4[_0x83b3[301]][_0x83b3[216]](),_0x83b3[571]== _0x187fx3?(_0x187fx4[_0x83b3[57]](_0x83b3[117],parseInt(_0x187fx9[_0x83b3[124]][_0x83b3[117]])),_0x187fx4[_0x83b3[57]](_0x83b3[119],parseInt(_0x187fx9[_0x83b3[124]][_0x83b3[119]]))):_0x83b3[583]!= _0x187fx4[_0x83b3[124]][_0x83b3[270]]&& _0x83b3[116]!= _0x187fx3&& _0x187fx4[_0x83b3[265]][_0x83b3[266]](_0x187fx4),_0x187fx4= _0x187fx19}};_0x187fx5[_0x83b3[506]][_0x83b3[265]][_0x83b3[266]](_0x187fx5[_0x83b3[506]]);this[_0x83b3[1179]][_0x83b3[995]](_0x187fx17);this[_0x83b3[1179]][_0x83b3[526]]= _0x187fxa;_0x187fx5[_0x83b3[510]]= _0x187fx12;_0x187fx5[_0x83b3[2053]]= _0x187fx13;_0x187fx5[_0x83b3[505]]= _0x187fx14;_0x187fx5[_0x83b3[506]]= _0x187fx15;_0x187fx5[_0x83b3[513]]= _0x187fx18;_0x187fx2[_0x83b3[515]]();_0x187fx5[_0x83b3[504]](_0x187fx16)}};mxPrintPreview[_0x83b3[202]][_0x83b3[2031]]= function(){return null};mxPrintPreview[_0x83b3[202]][_0x83b3[2032]]= function(){return null};mxPrintPreview[_0x83b3[202]][_0x83b3[540]]= function(){var _0x187fx2=this[_0x83b3[392]]();null!= _0x187fx2&& _0x187fx2[_0x83b3[540]]()};mxPrintPreview[_0x83b3[202]][_0x83b3[268]]= function(){null!= this[_0x83b3[2018]]&& (this[_0x83b3[2018]][_0x83b3[268]](),this[_0x83b3[2018]]= null)};function mxStylesheet(){this[_0x83b3[2054]]= {};this[_0x83b3[2056]](this[_0x83b3[2055]]());this[_0x83b3[2058]](this[_0x83b3[2057]]())}mxStylesheet[_0x83b3[202]][_0x83b3[2055]]= function(){var _0x187fx2={};_0x187fx2[mxConstants[_0x83b3[2059]]]= mxConstants[_0x83b3[2060]];_0x187fx2[mxConstants[_0x83b3[2061]]]= mxPerimeter[_0x83b3[2062]];_0x187fx2[mxConstants[_0x83b3[2063]]]= mxConstants[_0x83b3[481]];_0x187fx2[mxConstants[_0x83b3[2064]]]= mxConstants[_0x83b3[479]];_0x187fx2[mxConstants[_0x83b3[2065]]]= _0x83b3[2066];_0x187fx2[mxConstants[_0x83b3[2067]]]= _0x83b3[2068];_0x187fx2[mxConstants[_0x83b3[2069]]]= _0x83b3[2070];return _0x187fx2};mxStylesheet[_0x83b3[202]][_0x83b3[2057]]= function(){var _0x187fx2={};_0x187fx2[mxConstants[_0x83b3[2059]]]= mxConstants[_0x83b3[2071]];_0x187fx2[mxConstants[_0x83b3[1695]]]= mxConstants[_0x83b3[1622]];_0x187fx2[mxConstants[_0x83b3[2063]]]= mxConstants[_0x83b3[481]];_0x187fx2[mxConstants[_0x83b3[2064]]]= mxConstants[_0x83b3[479]];_0x187fx2[mxConstants[_0x83b3[2067]]]= _0x83b3[2068];_0x187fx2[mxConstants[_0x83b3[2069]]]= _0x83b3[2072];return _0x187fx2};mxStylesheet[_0x83b3[202]][_0x83b3[2056]]= function(_0x187fx2){this[_0x83b3[2074]](_0x83b3[2073],_0x187fx2)};mxStylesheet[_0x83b3[202]][_0x83b3[2058]]= function(_0x187fx2){this[_0x83b3[2074]](_0x83b3[2075],_0x187fx2)};mxStylesheet[_0x83b3[202]][_0x83b3[2076]]= function(){return this[_0x83b3[2054]][_0x83b3[2073]]};mxStylesheet[_0x83b3[202]][_0x83b3[2077]]= function(){return this[_0x83b3[2054]][_0x83b3[2075]]};mxStylesheet[_0x83b3[202]][_0x83b3[2074]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2054]][_0x187fx2]= _0x187fx3};mxStylesheet[_0x83b3[202]][_0x83b3[1705]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx3;if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){for(var _0x187fx5=_0x187fx2[_0x83b3[224]](_0x83b3[471]),_0x187fx4=null!= _0x187fx4&& _0x83b3[471]!= _0x187fx2[_0x83b3[225]](0)?mxUtils[_0x83b3[238]](_0x187fx4):{},_0x187fx9=0;_0x187fx9< _0x187fx5[_0x83b3[67]];_0x187fx9++){var _0x187fxa=_0x187fx5[_0x187fx9],_0x187fx12=_0x187fxa[_0x83b3[2]](_0x83b3[226]);if(0<= _0x187fx12){var _0x187fx13=_0x187fxa[_0x83b3[85]](0,_0x187fx12),_0x187fxa=_0x187fxa[_0x83b3[85]](_0x187fx12+ 1);_0x187fxa== mxConstants[_0x83b3[217]]? delete _0x187fx4[_0x187fx13]:mxUtils[_0x83b3[1946]](_0x187fxa)?_0x187fx4[_0x187fx13]= parseFloat(_0x187fxa):_0x187fx4[_0x187fx13]= _0x187fxa}else {if(_0x187fxa= this[_0x83b3[2054]][_0x187fxa],null!= _0x187fxa){for(_0x187fx13 in _0x187fxa){_0x187fx4[_0x187fx13]= _0x187fxa[_0x187fx13]}}}}};return _0x187fx4};function mxCellState(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[441]]= _0x187fx2;this[_0x83b3[246]]= _0x187fx3;this[_0x83b3[124]]= _0x187fx4;this[_0x83b3[2078]]= new mxPoint;this[_0x83b3[2079]]= new mxPoint}mxCellState[_0x83b3[202]]= new mxRectangle;mxCellState[_0x83b3[202]][_0x83b3[196]]= mxCellState;mxCellState[_0x83b3[202]][_0x83b3[441]]= null;mxCellState[_0x83b3[202]][_0x83b3[246]]= null;mxCellState[_0x83b3[202]][_0x83b3[124]]= null;mxCellState[_0x83b3[202]][_0x83b3[2080]]= !0;mxCellState[_0x83b3[202]][_0x83b3[2081]]= !1;mxCellState[_0x83b3[202]][_0x83b3[2082]]= !1;mxCellState[_0x83b3[202]][_0x83b3[2078]]= null;mxCellState[_0x83b3[202]][_0x83b3[439]]= null;mxCellState[_0x83b3[202]][_0x83b3[2079]]= null;mxCellState[_0x83b3[202]][_0x83b3[2083]]= null;mxCellState[_0x83b3[202]][_0x83b3[2084]]= null;mxCellState[_0x83b3[202]][_0x83b3[2085]]= 0;mxCellState[_0x83b3[202]][_0x83b3[67]]= 0;mxCellState[_0x83b3[202]][_0x83b3[2086]]= null;mxCellState[_0x83b3[202]][_0x83b3[253]]= null;mxCellState[_0x83b3[202]][_0x83b3[963]]= null;mxCellState[_0x83b3[202]][_0x83b3[2087]]= function(_0x187fx2,_0x187fx3){_0x187fx2= _0x187fx2|| 0;_0x187fx3= null!= _0x187fx3?_0x187fx3: new mxRectangle(this[_0x83b3[235]],this[_0x83b3[236]],this[_0x83b3[117]],this[_0x83b3[119]]);if(null!= this[_0x83b3[253]]&& null!= this[_0x83b3[253]][_0x83b3[1561]]){var _0x187fx4=this[_0x83b3[253]][_0x83b3[1561]][_0x83b3[1548]](this[_0x83b3[124]],_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]],_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]]);_0x187fx3[_0x83b3[235]]= _0x187fx4[_0x83b3[235]];_0x187fx3[_0x83b3[236]]= _0x187fx4[_0x83b3[236]];_0x187fx3[_0x83b3[117]]= this[_0x83b3[253]][_0x83b3[1561]][_0x83b3[1532]]* _0x187fx4[_0x83b3[117]];_0x187fx3[_0x83b3[119]]= this[_0x83b3[253]][_0x83b3[1561]][_0x83b3[1533]]* _0x187fx4[_0x83b3[119]]};0!= _0x187fx2&& _0x187fx3[_0x83b3[244]](_0x187fx2);return _0x187fx3};mxCellState[_0x83b3[202]][_0x83b3[2088]]= function(_0x187fx2,_0x187fx3){_0x187fx3?(null== this[_0x83b3[439]]&& (this[_0x83b3[439]]= []),0== this[_0x83b3[439]][_0x83b3[67]]?this[_0x83b3[439]][_0x83b3[207]](_0x187fx2):this[_0x83b3[439]][0]= _0x187fx2):null== this[_0x83b3[439]]?(this[_0x83b3[439]]= [],this[_0x83b3[439]][_0x83b3[207]](null),this[_0x83b3[439]][_0x83b3[207]](_0x187fx2)):1== this[_0x83b3[439]][_0x83b3[67]]?this[_0x83b3[439]][_0x83b3[207]](_0x187fx2):this[_0x83b3[439]][this[_0x83b3[439]][_0x83b3[67]]- 1]= _0x187fx2};mxCellState[_0x83b3[202]][_0x83b3[1609]]= function(_0x187fx2){null!= this[_0x83b3[253]]&& this[_0x83b3[253]][_0x83b3[1609]](_0x187fx2);null!= this[_0x83b3[963]]&& this[_0x83b3[963]][_0x83b3[1609]](_0x187fx2)};mxCellState[_0x83b3[202]][_0x83b3[1710]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[2089]](_0x187fx2);return null!= _0x187fx2?_0x187fx2[_0x83b3[246]]:null};mxCellState[_0x83b3[202]][_0x83b3[2089]]= function(_0x187fx2){return _0x187fx2?this[_0x83b3[2083]]:this[_0x83b3[2084]]};mxCellState[_0x83b3[202]][_0x83b3[2090]]= function(_0x187fx2,_0x187fx3){_0x187fx3?this[_0x83b3[2083]]= _0x187fx2:this[_0x83b3[2084]]= _0x187fx2};mxCellState[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[441]][_0x83b3[1179]][_0x83b3[259]][_0x83b3[515]](this)};mxCellState[_0x83b3[202]][_0x83b3[238]]= function(){var _0x187fx2= new mxCellState(this[_0x83b3[441]],this[_0x83b3[246]],this[_0x83b3[124]]);if(null!= this[_0x83b3[439]]){_0x187fx2[_0x83b3[439]]= [];for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[439]][_0x83b3[67]];_0x187fx3++){_0x187fx2[_0x83b3[439]][_0x187fx3]= this[_0x83b3[439]][_0x187fx3][_0x83b3[238]]()}};null!= this[_0x83b3[2078]]&& (_0x187fx2[_0x83b3[2078]]= this[_0x83b3[2078]][_0x83b3[238]]());null!= this[_0x83b3[2079]]&& (_0x187fx2[_0x83b3[2079]]= this[_0x83b3[2079]][_0x83b3[238]]());null!= this[_0x83b3[1563]]&& (_0x187fx2[_0x83b3[1563]]= this[_0x83b3[1563]][_0x83b3[238]]());_0x187fx2[_0x83b3[2085]]= this[_0x83b3[2085]];_0x187fx2[_0x83b3[2086]]= this[_0x83b3[2086]];_0x187fx2[_0x83b3[67]]= this[_0x83b3[67]];_0x187fx2[_0x83b3[235]]= this[_0x83b3[235]];_0x187fx2[_0x83b3[236]]= this[_0x83b3[236]];_0x187fx2[_0x83b3[117]]= this[_0x83b3[117]];_0x187fx2[_0x83b3[119]]= this[_0x83b3[119]];return _0x187fx2};function mxGraphSelectionModel(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[895]]= []}mxGraphSelectionModel[_0x83b3[202]]= new mxEventSource;mxGraphSelectionModel[_0x83b3[202]][_0x83b3[196]]= mxGraphSelectionModel;mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2091]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[819]:_0x83b3[110];mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2092]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2093]:_0x83b3[110];mxGraphSelectionModel[_0x83b3[202]][_0x83b3[1179]]= null;mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2094]]= !1;mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2095]]= function(){return this[_0x83b3[2094]]};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2096]]= function(_0x187fx2){this[_0x83b3[2094]]= _0x187fx2};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2097]]= function(_0x187fx2){return null!= _0x187fx2?0<= mxUtils[_0x83b3[2]](this[_0x83b3[895]],_0x187fx2):!1};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[1107]]= function(){return 0== this[_0x83b3[895]][_0x83b3[67]]};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[200]]= function(){this[_0x83b3[2098]](null,this[_0x83b3[895]])};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2099]]= function(_0x187fx2){null!= _0x187fx2&& this[_0x83b3[2100]]([_0x187fx2])};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2100]]= function(_0x187fx2){if(null!= _0x187fx2){this[_0x83b3[2094]]&& (_0x187fx2= [this[_0x83b3[2101]](_0x187fx2)]);for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){this[_0x83b3[1179]][_0x83b3[2102]](_0x187fx2[_0x187fx4])&& _0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx4])};this[_0x83b3[2098]](_0x187fx3,this[_0x83b3[895]])}};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2101]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){if(this[_0x83b3[1179]][_0x83b3[2102]](_0x187fx2[_0x187fx3])){return _0x187fx2[_0x187fx3]}}};return null};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2103]]= function(_0x187fx2){null!= _0x187fx2&& this[_0x83b3[832]]([_0x187fx2])};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[832]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=null;this[_0x83b3[2094]]&& (_0x187fx3= this[_0x83b3[895]],_0x187fx2= [this[_0x83b3[2101]](_0x187fx2)]);for(var _0x187fx4=[],_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){!this[_0x83b3[2097]](_0x187fx2[_0x187fx5])&& this[_0x83b3[1179]][_0x83b3[2102]](_0x187fx2[_0x187fx5])&& _0x187fx4[_0x83b3[207]](_0x187fx2[_0x187fx5])};this[_0x83b3[2098]](_0x187fx4,_0x187fx3)}};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2104]]= function(_0x187fx2){null!= _0x187fx2&& this[_0x83b3[842]]([_0x187fx2])};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[842]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){this[_0x83b3[2097]](_0x187fx2[_0x187fx4])&& _0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx4])};this[_0x83b3[2098]](null,_0x187fx3)}};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[2098]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]&& null!= _0x187fx2[0]|| null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]&& null!= _0x187fx3[0]){var _0x187fx4= new mxSelectionChange(this,_0x187fx2,_0x187fx3);_0x187fx4[_0x83b3[350]]();var _0x187fx5= new mxUndoableEdit(this,!1);_0x187fx5[_0x83b3[99]](_0x187fx4);this[_0x83b3[746]]( new mxEventObject(mxEvent.UNDO,_0x83b3[1061],_0x187fx5))}};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[1941]]= function(_0x187fx2){null!= _0x187fx2&& !this[_0x83b3[2097]](_0x187fx2)&& this[_0x83b3[895]][_0x83b3[207]](_0x187fx2)};mxGraphSelectionModel[_0x83b3[202]][_0x83b3[1102]]= function(_0x187fx2){null!= _0x187fx2&& (_0x187fx2= mxUtils[_0x83b3[2]](this[_0x83b3[895]],_0x187fx2),0<= _0x187fx2&& this[_0x83b3[895]][_0x83b3[300]](_0x187fx2,1))};function mxSelectionChange(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[2105]]= _0x187fx2;this[_0x83b3[2106]]= null!= _0x187fx3?_0x187fx3[_0x83b3[1853]]():null;this[_0x83b3[2107]]= null!= _0x187fx4?_0x187fx4[_0x83b3[1853]]():null}mxSelectionChange[_0x83b3[202]][_0x83b3[350]]= function(){var _0x187fx2=mxLog[_0x83b3[2109]](_0x83b3[2108]);window[_0x83b3[879]]= mxResources[_0x83b3[203]](this[_0x83b3[2105]][_0x83b3[2092]])|| this[_0x83b3[2105]][_0x83b3[2092]];if(null!= this[_0x83b3[2107]]){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[2107]][_0x83b3[67]];_0x187fx3++){this[_0x83b3[2105]][_0x83b3[1102]](this[_0x83b3[2107]][_0x187fx3])}};if(null!= this[_0x83b3[2106]]){for(_0x187fx3= 0;_0x187fx3< this[_0x83b3[2106]][_0x83b3[67]];_0x187fx3++){this[_0x83b3[2105]][_0x83b3[1941]](this[_0x83b3[2106]][_0x187fx3])}};_0x187fx3= this[_0x83b3[2106]];this[_0x83b3[2106]]= this[_0x83b3[2107]];this[_0x83b3[2107]]= _0x187fx3;window[_0x83b3[879]]= mxResources[_0x83b3[203]](this[_0x83b3[2105]][_0x83b3[2091]])|| this[_0x83b3[2105]][_0x83b3[2091]];mxLog[_0x83b3[2110]](_0x83b3[2108],_0x187fx2);this[_0x83b3[2105]][_0x83b3[746]]( new mxEventObject(mxEvent.CHANGE,_0x83b3[2106],this[_0x83b3[2106]],_0x83b3[2107],this[_0x83b3[2107]]))};function mxCellEditor(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2}mxCellEditor[_0x83b3[202]][_0x83b3[1179]]= null;mxCellEditor[_0x83b3[202]][_0x83b3[126]]= null;mxCellEditor[_0x83b3[202]][_0x83b3[2111]]= null;mxCellEditor[_0x83b3[202]][_0x83b3[2112]]= null;mxCellEditor[_0x83b3[202]][_0x83b3[2113]]= !1;mxCellEditor[_0x83b3[202]][_0x83b3[2114]]= !0;mxCellEditor[_0x83b3[202]][_0x83b3[2115]]= _0x83b3[110];mxCellEditor[_0x83b3[202]][_0x83b3[2116]]= _0x83b3[110];mxCellEditor[_0x83b3[202]][_0x83b3[176]]= function(){this[_0x83b3[126]]= document[_0x83b3[55]](_0x83b3[126]);this[_0x83b3[126]][_0x83b3[926]]= _0x83b3[2117];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[189];this[_0x83b3[126]][_0x83b3[57]](_0x83b3[2118],_0x83b3[2119]);this[_0x83b3[126]][_0x83b3[57]](_0x83b3[969],_0x83b3[2120]);mxClient[_0x83b3[133]]&& (this[_0x83b3[126]][_0x83b3[124]][_0x83b3[129]]= _0x83b3[130]);mxEvent[_0x83b3[169]](this[_0x83b3[126]],_0x83b3[2121],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2122]]()}));mxEvent[_0x83b3[169]](this[_0x83b3[126]],_0x83b3[2123],mxUtils[_0x83b3[885]](this,function(_0x187fx2){mxEvent[_0x83b3[721]](_0x187fx2)|| (113== _0x187fx2[_0x83b3[2124]]|| this[_0x83b3[1179]][_0x83b3[2125]]()&& 13== _0x187fx2[_0x83b3[2124]]&& !mxEvent[_0x83b3[775]](_0x187fx2)&& !mxEvent[_0x83b3[774]](_0x187fx2)?(this[_0x83b3[1179]][_0x83b3[2126]](!1),mxEvent[_0x83b3[722]](_0x187fx2)):27== _0x187fx2[_0x83b3[2124]]?(this[_0x83b3[1179]][_0x83b3[2126]](!0),mxEvent[_0x83b3[722]](_0x187fx2)):(this[_0x83b3[2127]]&& (this[_0x83b3[2127]]= !1,this[_0x83b3[126]][_0x83b3[131]]= _0x83b3[110]),this[_0x83b3[2128]](!0)))}));mxEvent[_0x83b3[169]](this[_0x83b3[126]],_0x83b3[2129],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2114]]&& !mxEvent[_0x83b3[721]](_0x187fx2)&& setTimeout(mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[129]]()}),0)}))};mxCellEditor[_0x83b3[202]][_0x83b3[129]]= function(){if(null!= this[_0x83b3[1653]]){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](this[_0x83b3[2111]]),_0x187fx3=this[_0x83b3[1179]][_0x83b3[2130]](_0x187fx2[_0x83b3[246]]),_0x187fx4=this[_0x83b3[1179]][_0x83b3[2131]](_0x187fx2[_0x83b3[246]]);if(this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]])){this[_0x83b3[1562]][_0x83b3[235]]= _0x187fx2[_0x83b3[2079]][_0x83b3[235]],this[_0x83b3[1562]][_0x83b3[236]]= _0x187fx2[_0x83b3[2079]][_0x83b3[236]],this[_0x83b3[1562]][_0x83b3[117]]= 0,this[_0x83b3[1562]][_0x83b3[119]]= 0}else {if(null!= this[_0x83b3[1562]]){this[_0x83b3[1562]][_0x83b3[235]]= _0x187fx2[_0x83b3[235]];this[_0x83b3[1562]][_0x83b3[236]]= _0x187fx2[_0x83b3[236]];this[_0x83b3[1562]][_0x83b3[117]]= _0x187fx2[_0x83b3[117]];this[_0x83b3[1562]][_0x83b3[119]]= _0x187fx2[_0x83b3[119]];var _0x187fx5=mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0x187fx5== mxConstants[_0x83b3[2132]]?this[_0x83b3[1562]][_0x83b3[235]]-= _0x187fx2[_0x83b3[117]]:_0x187fx5== mxConstants[_0x83b3[480]]&& (this[_0x83b3[1562]][_0x83b3[235]]+= _0x187fx2[_0x83b3[117]]);_0x187fx5= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0x187fx5== mxConstants[_0x83b3[1687]]?this[_0x83b3[1562]][_0x83b3[236]]-= _0x187fx2[_0x83b3[119]]:_0x187fx5== mxConstants[_0x83b3[482]]&& (this[_0x83b3[1562]][_0x83b3[236]]+= _0x187fx2[_0x83b3[119]])}};_0x187fx5= this[_0x83b3[126]][_0x83b3[131]];if(_0x83b3[192]== _0x187fx5[_0x83b3[225]](_0x187fx5[_0x83b3[67]]- 1)|| _0x83b3[110]== _0x187fx5){_0x187fx5+= _0x83b3[544]};_0x187fx5= mxUtils[_0x83b3[321]](_0x187fx5,!1);_0x187fx4?(this[_0x83b3[1653]][_0x83b3[124]][_0x83b3[493]]= _0x83b3[1502],this[_0x83b3[1653]][_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[1562]][_0x83b3[117]]+ _0x83b3[168]):_0x187fx5= _0x187fx5[_0x83b3[230]](/ /g,_0x83b3[544]);_0x187fx5= _0x187fx5[_0x83b3[230]](/\n/g,_0x83b3[1453]);this[_0x83b3[1653]][_0x83b3[339]]= _0x187fx5;var _0x187fx5=this[_0x83b3[1653]][_0x83b3[359]]+ 30,_0x187fx9=this[_0x83b3[1653]][_0x83b3[167]]+ 16,_0x187fx5=Math[_0x83b3[160]](_0x187fx5,40),_0x187fx9=Math[_0x83b3[160]](_0x187fx9,20);_0x187fx3&& (_0x187fx5= Math[_0x83b3[243]](this[_0x83b3[1562]][_0x83b3[117]]- 4,_0x187fx5),_0x187fx9= Math[_0x83b3[243]](this[_0x83b3[1562]][_0x83b3[119]],_0x187fx9));var _0x187fxa=null!= _0x187fx2[_0x83b3[963]]?_0x187fx2[_0x83b3[963]][_0x83b3[1655]]:null;null== _0x187fxa&& (_0x187fxa= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),_0x187fx2= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0x187fxa= mxUtils[_0x83b3[1501]](_0x187fxa,_0x187fx2));if(null!= _0x187fxa){if(_0x187fx3|| !_0x187fx4){this[_0x83b3[126]][_0x83b3[124]][_0x83b3[361]]= Math[_0x83b3[160]](0,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[235]]- _0x187fxa[_0x83b3[235]]* this[_0x83b3[1562]][_0x83b3[117]]+ _0x187fxa[_0x83b3[235]]* _0x187fx5)- 3)+ _0x83b3[168]};this[_0x83b3[126]][_0x83b3[124]][_0x83b3[125]]= Math[_0x83b3[160]](0,Math[_0x83b3[488]](this[_0x83b3[1562]][_0x83b3[236]]- _0x187fxa[_0x83b3[236]]* this[_0x83b3[1562]][_0x83b3[119]]+ _0x187fxa[_0x83b3[236]]* _0x187fx9)+ 4)+ _0x83b3[168]};if(_0x187fx3|| !_0x187fx4){this[_0x83b3[126]][_0x83b3[124]][_0x83b3[117]]= _0x187fx5+ _0x83b3[168]};this[_0x83b3[126]][_0x83b3[124]][_0x83b3[119]]= _0x187fx9+ _0x83b3[168]}};mxCellEditor[_0x83b3[202]][_0x83b3[2133]]= function(){return this[_0x83b3[2113]]};mxCellEditor[_0x83b3[202]][_0x83b3[2128]]= function(_0x187fx2){this[_0x83b3[2113]]= _0x187fx2};mxCellEditor[_0x83b3[202]][_0x83b3[2122]]= function(){this[_0x83b3[2126]](!this[_0x83b3[1179]][_0x83b3[2134]]())};mxCellEditor[_0x83b3[202]][_0x83b3[855]]= function(_0x187fx2,_0x187fx3){null== this[_0x83b3[126]]&& this[_0x83b3[176]]();this[_0x83b3[2126]](!0);var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);if(null!= _0x187fx4){this[_0x83b3[2111]]= _0x187fx2;this[_0x83b3[2112]]= _0x187fx3;this[_0x83b3[2116]]= null;null!= _0x187fx4[_0x83b3[963]]&& this[_0x83b3[2135]](_0x187fx4)&& (this[_0x83b3[2116]]= _0x187fx4[_0x83b3[963]][_0x83b3[252]],this[_0x83b3[2116]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]);var _0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx5=mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)* _0x187fx5,_0x187fx9=mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),_0x187fxa=mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_FONTCOLOR,_0x83b3[586]),_0x187fx12=mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),_0x187fx13=(mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_FONTSTYLE,0)& mxConstants[_0x83b3[1410]])== mxConstants[_0x83b3[1410]],_0x187fx14=(mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_FONTSTYLE,0)& mxConstants[_0x83b3[1412]])== mxConstants[_0x83b3[1412]],_0x187fx15=(mxUtils[_0x83b3[433]](_0x187fx4[_0x83b3[124]],mxConstants.STYLE_FONTSTYLE,0)& mxConstants[_0x83b3[1414]])== mxConstants[_0x83b3[1414]];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[487]]= Math[_0x83b3[488]](_0x187fx5)+ _0x83b3[168];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[489]]= Math[_0x83b3[488]](_0x187fx5* mxConstants[_0x83b3[490]])+ _0x83b3[168];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[486]]= _0x187fx9;this[_0x83b3[126]][_0x83b3[124]][_0x83b3[1165]]= _0x187fx12;this[_0x83b3[126]][_0x83b3[124]][_0x83b3[352]]= _0x187fxa;this[_0x83b3[126]][_0x83b3[124]][_0x83b3[1452]]= _0x187fx13?_0x83b3[1447]:_0x83b3[1502];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[666]]= _0x187fx14?_0x83b3[1449]:_0x83b3[110];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[354]]= _0x187fx15?_0x83b3[355]:_0x83b3[110];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[278];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[2136]]= _0x83b3[130];this[_0x83b3[1562]]= _0x187fx5= this[_0x83b3[2137]](_0x187fx4);this[_0x83b3[126]][_0x83b3[124]][_0x83b3[361]]= _0x187fx5[_0x83b3[235]]+ _0x83b3[168];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[125]]= _0x187fx5[_0x83b3[236]]+ _0x83b3[168];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[117]]= _0x187fx5[_0x83b3[117]]+ _0x83b3[168];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[119]]= _0x187fx5[_0x83b3[119]]+ _0x83b3[168];this[_0x83b3[126]][_0x83b3[124]][_0x83b3[931]]= 5;_0x187fx4= this[_0x83b3[2138]](_0x187fx4,_0x187fx3);null== _0x187fx4|| 0== _0x187fx4[_0x83b3[67]]?(_0x187fx4= this[_0x83b3[2139]](),this[_0x83b3[2127]]= !0):this[_0x83b3[2127]]= !1;this[_0x83b3[2128]](!1);this[_0x83b3[126]][_0x83b3[131]]= _0x187fx4;this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[62]](this[_0x83b3[126]]);_0x83b3[130]!= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[495]]&& (this[_0x83b3[2114]]&& (this[_0x83b3[1653]]= this[_0x83b3[2140]](),document[_0x83b3[112]][_0x83b3[62]](this[_0x83b3[1653]]),this[_0x83b3[129]]()),this[_0x83b3[126]][_0x83b3[393]](),this[_0x83b3[126]][_0x83b3[804]]())}};mxCellEditor[_0x83b3[202]][_0x83b3[2140]]= function(){var _0x187fx2=document[_0x83b3[55]](_0x83b3[485]),_0x187fx3=_0x187fx2[_0x83b3[124]];_0x187fx3[_0x83b3[491]]= _0x83b3[492];_0x187fx3[_0x83b3[493]]= _0x83b3[494];_0x187fx3[_0x83b3[187]]= _0x83b3[188];_0x187fx3[_0x83b3[495]]= mxClient[_0x83b3[496]]?_0x83b3[497]:_0x83b3[498];_0x187fx3[_0x83b3[499]]= _0x83b3[500];_0x187fx3[_0x83b3[123]]= _0x83b3[125];_0x187fx3[_0x83b3[489]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[489]];_0x187fx3[_0x83b3[487]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[487]];_0x187fx3[_0x83b3[486]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[486]];_0x187fx3[_0x83b3[1452]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[1452]];_0x187fx3[_0x83b3[1165]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[1165]];_0x187fx3[_0x83b3[666]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[666]];_0x187fx3[_0x83b3[354]]= this[_0x83b3[126]][_0x83b3[124]][_0x83b3[354]];return _0x187fx2};mxCellEditor[_0x83b3[202]][_0x83b3[2126]]= function(_0x187fx2){null!= this[_0x83b3[2111]]&& (null!= this[_0x83b3[2116]]&& (this[_0x83b3[2116]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189],this[_0x83b3[2116]]= null),!_0x187fx2&& this[_0x83b3[2133]]()&& this[_0x83b3[1179]][_0x83b3[850]](this[_0x83b3[2111]],this[_0x83b3[2141]](),this[_0x83b3[2112]]),null!= this[_0x83b3[1653]]&& (document[_0x83b3[112]][_0x83b3[266]](this[_0x83b3[1653]]),this[_0x83b3[1653]]= null),this[_0x83b3[1562]]= this[_0x83b3[2112]]= this[_0x83b3[2111]]= null,this[_0x83b3[126]][_0x83b3[2121]](),this[_0x83b3[126]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[126]]))};mxCellEditor[_0x83b3[202]][_0x83b3[2138]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[1179]][_0x83b3[2142]](_0x187fx2[_0x83b3[246]],_0x187fx3)};mxCellEditor[_0x83b3[202]][_0x83b3[2141]]= function(){return this[_0x83b3[126]][_0x83b3[131]][_0x83b3[230]](/\r/g,_0x83b3[110])};mxCellEditor[_0x83b3[202]][_0x83b3[2135]]= function(_0x187fx2){return !0};mxCellEditor[_0x83b3[202]][_0x83b3[939]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]];return new mxRectangle(0,0,null== _0x187fx2[_0x83b3[963]]?30:_0x187fx2[_0x83b3[963]][_0x83b3[803]]* _0x187fx3+ 20,_0x83b3[361]== this[_0x83b3[126]][_0x83b3[124]][_0x83b3[1165]]?120:40)};mxCellEditor[_0x83b3[202]][_0x83b3[2137]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]]),_0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx5=this[_0x83b3[939]](_0x187fx2),_0x187fx9=_0x187fx5[_0x83b3[117]],_0x187fx5=_0x187fx5[_0x83b3[119]],_0x187fxa=parseInt(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2143]]]|| 2)* _0x187fx4,_0x187fx12=parseInt(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2144]]]|| 0)* _0x187fx4+ _0x187fxa,_0x187fx13=parseInt(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2145]]]|| 0)* _0x187fx4+ _0x187fxa,_0x187fx14=parseInt(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2146]]]|| 0)* _0x187fx4+ _0x187fxa,_0x187fx4=parseInt(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2147]]]|| 0)* _0x187fx4+ _0x187fxa,_0x187fx13= new mxRectangle(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],Math[_0x83b3[160]](_0x187fx9,_0x187fx2[_0x83b3[117]]- _0x187fx4- _0x187fx13),Math[_0x83b3[160]](_0x187fx5,_0x187fx2[_0x83b3[119]]- _0x187fx12- _0x187fx14));_0x187fx3?(_0x187fx13[_0x83b3[235]]= _0x187fx2[_0x83b3[2079]][_0x83b3[235]],_0x187fx13[_0x83b3[236]]= _0x187fx2[_0x83b3[2079]][_0x83b3[236]],null!= _0x187fx2[_0x83b3[963]]&& null!= _0x187fx2[_0x83b3[963]][_0x83b3[1563]]&& (0< _0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[235]]&& (_0x187fx13[_0x83b3[235]]= _0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[235]]),0< _0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[236]]&& (_0x187fx13[_0x83b3[236]]= _0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[236]]))):null!= _0x187fx2[_0x83b3[963]]&& null!= _0x187fx2[_0x83b3[963]][_0x83b3[1563]]&& (_0x187fx13[_0x83b3[235]]= Math[_0x83b3[243]](_0x187fx13[_0x83b3[235]],_0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[235]]),_0x187fx13[_0x83b3[236]]= Math[_0x83b3[243]](_0x187fx13[_0x83b3[236]],_0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[236]]));_0x187fx13[_0x83b3[235]]+= _0x187fx4;_0x187fx13[_0x83b3[236]]+= _0x187fx12;null!= _0x187fx2[_0x83b3[963]]&& null!= _0x187fx2[_0x83b3[963]][_0x83b3[1563]]&& (_0x187fx3?(_0x187fx13[_0x83b3[117]]= Math[_0x83b3[160]](_0x187fx9,_0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[117]]),_0x187fx13[_0x83b3[119]]= Math[_0x83b3[160]](_0x187fx5,_0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[119]])):(_0x187fx13[_0x83b3[117]]= Math[_0x83b3[160]](_0x187fx13[_0x83b3[117]],_0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[117]]),_0x187fx13[_0x83b3[119]]= Math[_0x83b3[160]](_0x187fx13[_0x83b3[119]],_0x187fx2[_0x83b3[963]][_0x83b3[1563]][_0x83b3[119]])));this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2[_0x83b3[246]])&& (_0x187fx3= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),_0x187fx3== mxConstants[_0x83b3[2132]]?_0x187fx13[_0x83b3[235]]-= _0x187fx2[_0x83b3[117]]:_0x187fx3== mxConstants[_0x83b3[480]]&& (_0x187fx13[_0x83b3[235]]+= _0x187fx2[_0x83b3[117]]),_0x187fx3= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),_0x187fx3== mxConstants[_0x83b3[1687]]?_0x187fx13[_0x83b3[236]]-= _0x187fx2[_0x83b3[119]]:_0x187fx3== mxConstants[_0x83b3[482]]&& (_0x187fx13[_0x83b3[236]]+= _0x187fx2[_0x83b3[119]]));return _0x187fx13};mxCellEditor[_0x83b3[202]][_0x83b3[2139]]= function(_0x187fx2){return this[_0x83b3[2115]]};mxCellEditor[_0x83b3[202]][_0x83b3[2148]]= function(){return this[_0x83b3[2111]]};mxCellEditor[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[126]]&& (mxEvent[_0x83b3[762]](this[_0x83b3[126]]),null!= this[_0x83b3[126]][_0x83b3[265]]&& this[_0x83b3[126]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[126]]),this[_0x83b3[126]]= null)};function mxCellRenderer(){}mxCellRenderer[_0x83b3[202]][_0x83b3[2149]]= mxConnector;mxCellRenderer[_0x83b3[202]][_0x83b3[2150]]= mxRectangleShape;mxCellRenderer[_0x83b3[202]][_0x83b3[2151]]= mxText;mxCellRenderer[_0x83b3[202]][_0x83b3[2152]]= !0;mxCellRenderer[_0x83b3[202]][_0x83b3[2153]]= {};mxCellRenderer[_0x83b3[2154]]= function(_0x187fx2,_0x187fx3){mxCellRenderer[_0x83b3[202]][_0x83b3[2153]][_0x187fx2]= _0x187fx3};mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_RECTANGLE,mxRectangleShape);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_TRIANGLE,mxTriangle);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_HEXAGON,mxHexagon);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_LINE,mxLine);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_SWIMLANE,mxSwimlane);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_IMAGE,mxImageShape);mxCellRenderer[_0x83b3[2154]](mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer[_0x83b3[202]][_0x83b3[2155]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]();if(null!= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[526]]&& null== _0x187fx2[_0x83b3[253]]&& _0x187fx2[_0x83b3[246]]!= _0x187fx2[_0x83b3[441]][_0x83b3[1741]]&& (_0x187fx4[_0x83b3[1193]](_0x187fx2[_0x83b3[246]])|| _0x187fx4[_0x83b3[250]](_0x187fx2[_0x83b3[246]]))){if(this[_0x83b3[2156]](_0x187fx2),null!= _0x187fx2[_0x83b3[253]]&& (null== _0x187fx3|| _0x187fx3)){this[_0x83b3[2157]](_0x187fx2),_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2158]]|| _0x187fx4[_0x83b3[250]](_0x187fx2[_0x83b3[246]])?_0x187fx2[_0x83b3[2081]]= !0:_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2159]]&& null!= this[_0x83b3[2160]]&& (this[_0x83b3[2160]][_0x83b3[265]]== _0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]]?this[_0x83b3[2161]](_0x187fx2,this[_0x83b3[2160]]):this[_0x83b3[2160]]= null),_0x187fx2[_0x83b3[253]][_0x83b3[255]]= _0x187fx2[_0x83b3[441]][_0x83b3[255]],this[_0x83b3[2162]](_0x187fx2),this[_0x83b3[2163]](_0x187fx2)}}};mxCellRenderer[_0x83b3[202]][_0x83b3[2157]]= function(_0x187fx2){_0x187fx2[_0x83b3[253]][_0x83b3[176]](_0x187fx2[_0x83b3[441]][_0x83b3[2024]]())};mxCellRenderer[_0x83b3[202]][_0x83b3[2164]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=null,_0x187fx5=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx9=_0x187fx5[_0x83b3[502]](),_0x187fxa=_0x187fx2[_0x83b3[246]],_0x187fx12=_0x187fx9[_0x83b3[1197]](_0x187fxa);null!= _0x187fx12&& null== _0x187fx4;){_0x187fx4= this[_0x83b3[2165]](_0x187fx5,_0x187fx12,_0x187fxa,_0x187fx3),_0x187fxa= _0x187fx12,_0x187fx12= _0x187fx9[_0x83b3[1197]](_0x187fxa)};return _0x187fx4};mxCellRenderer[_0x83b3[202]][_0x83b3[2165]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=null,_0x187fxa=_0x187fx2[_0x83b3[502]]();for(_0x187fx4= null!= _0x187fx4?_0x187fx3[_0x83b3[1738]](_0x187fx4)- 1:_0x187fxa[_0x83b3[262]](_0x187fx3)- 1;0<= _0x187fx4&& null== _0x187fx9;_0x187fx4--){_0x187fx9= this[_0x83b3[2165]](_0x187fx2,_0x187fxa[_0x83b3[263]](_0x187fx3,_0x187fx4),null,_0x187fx5)};if(null== _0x187fx9&& (_0x187fx9= _0x187fx2[_0x83b3[441]][_0x83b3[248]](_0x187fx3),null!= _0x187fx9&& (null== _0x187fx9[_0x83b3[253]]|| null== _0x187fx9[_0x83b3[253]][_0x83b3[252]]|| _0x187fx9[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]]!= _0x187fx5))){_0x187fx9= null};return _0x187fx9};mxCellRenderer[_0x83b3[202]][_0x83b3[2166]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]],_0x187fx4=this[_0x83b3[2164]](_0x187fx2,_0x187fx3),_0x187fx5=_0x187fx3[_0x83b3[285]];null!= _0x187fx4&& (_0x187fx5= _0x187fx4[_0x83b3[253]][_0x83b3[252]],null!= _0x187fx4[_0x83b3[963]]&& (null!= _0x187fx4[_0x83b3[963]][_0x83b3[252]]&& _0x187fx4[_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== _0x187fx3)&& (_0x187fx5= _0x187fx4[_0x83b3[963]][_0x83b3[252]]),_0x187fx5= _0x187fx5[_0x83b3[287]]);this[_0x83b3[2161]](_0x187fx2,_0x187fx5)};mxCellRenderer[_0x83b3[202]][_0x83b3[2167]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]],_0x187fx4=_0x187fx3[_0x83b3[1179]][_0x83b3[502]]();if(_0x187fx3[_0x83b3[1179]][_0x83b3[2159]]){if(null== this[_0x83b3[2160]]|| null== this[_0x83b3[2160]][_0x83b3[265]]|| this[_0x83b3[2160]][_0x83b3[265]]!= _0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]]){this[_0x83b3[2160]]= _0x187fx2[_0x83b3[253]][_0x83b3[252]]}}else {if(_0x187fx3[_0x83b3[1179]][_0x83b3[2168]]){var _0x187fx5=_0x187fx2[_0x83b3[253]][_0x83b3[252]],_0x187fx9=_0x187fx5[_0x83b3[265]],_0x187fx4=_0x187fx4[_0x83b3[1197]](_0x187fx2[_0x83b3[246]]),_0x187fx3=_0x187fx3[_0x83b3[248]](_0x187fx4),_0x187fx9=null!= _0x187fx3&& null!= _0x187fx3[_0x83b3[253]]&& null!= _0x187fx3[_0x83b3[253]][_0x83b3[252]]?_0x187fx3[_0x83b3[253]][_0x83b3[252]][_0x83b3[287]]:_0x187fx9[_0x83b3[285]];null!= _0x187fx9&& _0x187fx9!= _0x187fx5&& this[_0x83b3[2161]](_0x187fx2,_0x187fx9)}}};mxCellRenderer[_0x83b3[202]][_0x83b3[2161]]= function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]][_0x83b3[950]](_0x187fx2[_0x83b3[253]][_0x83b3[252]],_0x187fx3);null!= _0x187fx2[_0x83b3[963]]&& (null!= _0x187fx2[_0x83b3[963]][_0x83b3[252]]&& _0x187fx2[_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== _0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]])&& _0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]][_0x83b3[950]](_0x187fx2[_0x83b3[963]][_0x83b3[252]],_0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[287]])};mxCellRenderer[_0x83b3[202]][_0x83b3[2156]]= function(_0x187fx2){if(null!= _0x187fx2[_0x83b3[124]]){var _0x187fx3=mxStencilRegistry[_0x83b3[1560]](_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2059]]]);null!= _0x187fx3?_0x187fx2[_0x83b3[253]]= new mxShape(_0x187fx3):(_0x187fx3= this[_0x83b3[2169]](_0x187fx2),_0x187fx2[_0x83b3[253]]= new _0x187fx3);_0x187fx2[_0x83b3[253]][_0x83b3[1525]]= _0x187fx2[_0x83b3[439]];_0x187fx2[_0x83b3[253]][_0x83b3[1562]]= new mxRectangle(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],_0x187fx2[_0x83b3[117]],_0x187fx2[_0x83b3[119]]);_0x187fx2[_0x83b3[253]][_0x83b3[507]]= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[507]];this[_0x83b3[2170]](_0x187fx2)}};mxCellRenderer[_0x83b3[202]][_0x83b3[2171]]= function(_0x187fx2){return null!= _0x187fx2?mxCellRenderer[_0x83b3[202]][_0x83b3[2153]][_0x187fx2]:null};mxCellRenderer[_0x83b3[202]][_0x83b3[2169]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[2171]](_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2059]]]);null== _0x187fx3&& (_0x187fx3= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]])?this[_0x83b3[2149]]:this[_0x83b3[2150]]);return _0x187fx3};mxCellRenderer[_0x83b3[202]][_0x83b3[2170]]= function(_0x187fx2){_0x187fx2[_0x83b3[253]][_0x83b3[183]](_0x187fx2);_0x187fx2[_0x83b3[253]][_0x83b3[618]]= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[1202]](_0x187fx2);_0x187fx2[_0x83b3[253]][_0x83b3[630]]= this[_0x83b3[2171]](_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2172]](_0x187fx2));_0x187fx2[_0x83b3[253]][_0x83b3[632]]= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2173]](_0x187fx2);_0x187fx2[_0x83b3[253]][_0x83b3[634]]= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2174]](_0x187fx2);_0x187fx2[_0x83b3[253]][_0x83b3[638]]= _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2175]]];_0x187fx2[_0x83b3[253]][_0x83b3[631]]= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2176]](_0x187fx2);this[_0x83b3[2177]](_0x187fx2)};mxCellRenderer[_0x83b3[202]][_0x83b3[2177]]= function(_0x187fx2){null!= _0x187fx2[_0x83b3[253]]&& (this[_0x83b3[2178]](_0x187fx2,_0x83b3[632],mxConstants.STYLE_FILLCOLOR),this[_0x83b3[2178]](_0x187fx2,_0x83b3[634],mxConstants.STYLE_GRADIENTCOLOR),this[_0x83b3[2178]](_0x187fx2,_0x83b3[1334],mxConstants.STYLE_FILLCOLOR),this[_0x83b3[2178]](_0x187fx2,_0x83b3[1336],mxConstants.STYLE_STROKECOLOR),this[_0x83b3[2178]](_0x187fx2,_0x83b3[1299],mxConstants.STYLE_GRADIENTCOLOR))};mxCellRenderer[_0x83b3[202]][_0x83b3[2178]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[253]][_0x187fx3],_0x187fx9=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fxa=null;_0x83b3[1549]== _0x187fx5?_0x187fxa= _0x187fx9[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x83b3[246]]):_0x83b3[687]== _0x187fx5?(_0x187fxa= null!= _0x187fx9[_0x83b3[251]][_0x83b3[1709]](_0x187fx2[_0x83b3[246]],!1)?_0x187fx9[_0x83b3[251]][_0x83b3[1709]](_0x187fx2[_0x83b3[246]],!1):_0x187fx2[_0x83b3[246]],_0x187fxa= _0x187fx9[_0x83b3[2179]](_0x187fxa),_0x187fx4= _0x187fx9[_0x83b3[2180]]):_0x83b3[2181]== _0x187fx5&& (_0x187fx2[_0x83b3[253]][_0x187fx3]= _0x187fx2[_0x83b3[253]][_0x83b3[632]]);null!= _0x187fxa&& (_0x187fx5= _0x187fx9[_0x83b3[249]]()[_0x83b3[248]](_0x187fxa),_0x187fx2[_0x83b3[253]][_0x187fx3]= null,null!= _0x187fx5&& (_0x187fx2[_0x83b3[253]][_0x187fx3]= null!= _0x187fx5[_0x83b3[253]]&& _0x83b3[632]!= _0x187fx3?_0x187fx5[_0x83b3[253]][_0x187fx3]:_0x187fx5[_0x83b3[124]][_0x187fx4]))};mxCellRenderer[_0x83b3[202]][_0x83b3[2182]]= function(_0x187fx2){return _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2183]](_0x187fx2[_0x83b3[246]])};mxCellRenderer[_0x83b3[202]][_0x83b3[2184]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[441]][_0x83b3[1179]];_0x187fx4[_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]]);if(0< _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2185]]]|| null== _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2185]]]){var _0x187fx5=_0x187fx4[_0x83b3[2186]](_0x187fx2[_0x83b3[246]])|| null!= _0x187fx3&& mxUtils[_0x83b3[1331]](_0x187fx3);_0x187fx2[_0x83b3[963]]= new this[_0x83b3[2151]](_0x187fx3, new mxRectangle,_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2064]]]|| mxConstants[_0x83b3[479]],_0x187fx4[_0x83b3[2187]](_0x187fx2),_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2069]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2188]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2185]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2189]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2143]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2144]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2145]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2146]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2147]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2190]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2191]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2192]]],_0x187fx4[_0x83b3[2131]](_0x187fx2[_0x83b3[246]])&& _0x187fx4[_0x83b3[2186]](_0x187fx2[_0x83b3[246]]),_0x187fx4[_0x83b3[2130]](_0x187fx2[_0x83b3[246]]),_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2193]]],_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2194]]]);_0x187fx2[_0x83b3[963]][_0x83b3[461]]= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_TEXT_OPACITY,100);_0x187fx2[_0x83b3[963]][_0x83b3[507]]= _0x187fx5?mxConstants[_0x83b3[1656]]:_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[507]];_0x187fx2[_0x83b3[963]][_0x83b3[724]]= _0x187fx2;this[_0x83b3[2195]](_0x187fx2);var _0x187fx9=!1,_0x187fxa=function(_0x187fx3){var _0x187fx5=_0x187fx2;if(mxClient[_0x83b3[754]]|| _0x187fx9){_0x187fx5= mxEvent[_0x83b3[731]](_0x187fx3),_0x187fx3= mxEvent[_0x83b3[733]](_0x187fx3),_0x187fx3= mxUtils[_0x83b3[2196]](_0x187fx4[_0x83b3[526]],_0x187fx5,_0x187fx3),_0x187fx5= _0x187fx4[_0x83b3[441]][_0x83b3[248]](_0x187fx4[_0x83b3[999]](_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]]))};return _0x187fx5};mxEvent[_0x83b3[759]](_0x187fx2[_0x83b3[963]][_0x83b3[252]],mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2197]](_0x187fx2,_0x187fx3)&& (_0x187fx4[_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx3,_0x187fx2)),_0x187fx9= _0x187fx4[_0x83b3[507]]!= mxConstants[_0x83b3[508]]&& _0x83b3[2198]== mxEvent[_0x83b3[728]](_0x187fx3)[_0x83b3[301]])}),mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2197]](_0x187fx2,_0x187fx3)&& _0x187fx4[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx3,_0x187fxa(_0x187fx3)))}),mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2197]](_0x187fx2,_0x187fx3)&& (_0x187fx4[_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx3,_0x187fxa(_0x187fx3))),_0x187fx9= !1)}));mxEvent[_0x83b3[169]](_0x187fx2[_0x83b3[963]][_0x83b3[252]],_0x83b3[760],mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2197]](_0x187fx2,_0x187fx3)&& (_0x187fx4[_0x83b3[761]](_0x187fx3,_0x187fx2[_0x83b3[246]]),mxEvent[_0x83b3[722]](_0x187fx3))}))}};mxCellRenderer[_0x83b3[202]][_0x83b3[2195]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]][_0x83b3[1179]];_0x187fx2[_0x83b3[963]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]&& (mxClient[_0x83b3[48]]&& mxClient[_0x83b3[2199]]?_0x187fx2[_0x83b3[963]][_0x83b3[176]](_0x187fx3[_0x83b3[526]]):mxUtils[_0x83b3[458]](_0x187fx2[_0x83b3[441]][_0x83b3[2024]]())&& (null!= _0x187fx2[_0x83b3[253]][_0x83b3[685]]?_0x187fx2[_0x83b3[963]][_0x83b3[176]](_0x187fx2[_0x83b3[253]][_0x83b3[685]]):_0x187fx2[_0x83b3[963]][_0x83b3[176]](_0x187fx2[_0x83b3[253]][_0x83b3[252]])));null== _0x187fx2[_0x83b3[963]][_0x83b3[252]]&& (_0x187fx2[_0x83b3[963]][_0x83b3[176]](_0x187fx2[_0x83b3[441]][_0x83b3[2024]]()),null!= _0x187fx2[_0x83b3[253]]&& null!= _0x187fx2[_0x83b3[963]]&& _0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]][_0x83b3[950]](_0x187fx2[_0x83b3[963]][_0x83b3[252]],_0x187fx2[_0x83b3[253]][_0x83b3[252]][_0x83b3[287]]))};mxCellRenderer[_0x83b3[202]][_0x83b3[2162]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2200]](_0x187fx2[_0x83b3[246]]),_0x187fx4=null;if(null!= _0x187fx3){for(var _0x187fx4= new mxDictionary,_0x187fx5=0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){var _0x187fx9=null!= _0x187fx2[_0x83b3[1211]]?_0x187fx2[_0x83b3[1211]][_0x83b3[205]](_0x187fx3[_0x187fx5]):null;null== _0x187fx9&& (_0x187fx9= new mxImageShape( new mxRectangle,_0x187fx3[_0x187fx5][_0x83b3[618]][_0x83b3[390]]),_0x187fx9[_0x83b3[507]]= _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[507]],_0x187fx9[_0x83b3[1674]]= !1,_0x187fx9[_0x83b3[2201]]= _0x187fx3[_0x187fx5],this[_0x83b3[2023]](_0x187fx2,_0x187fx9),this[_0x83b3[2202]](_0x187fx2,_0x187fx3[_0x187fx5],_0x187fx9),null!= _0x187fx3[_0x187fx5][_0x83b3[270]]&& (_0x187fx9[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= _0x187fx3[_0x187fx5][_0x83b3[270]]));_0x187fx4[_0x83b3[204]](_0x187fx3[_0x187fx5],_0x187fx9)}};null!= _0x187fx2[_0x83b3[1211]]&& _0x187fx2[_0x83b3[1211]][_0x83b3[209]](function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[515]]()});_0x187fx2[_0x83b3[1211]]= _0x187fx4};mxCellRenderer[_0x83b3[202]][_0x83b3[2023]]= function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[176]](_0x187fx2[_0x83b3[441]][_0x83b3[1524]]())};mxCellRenderer[_0x83b3[202]][_0x83b3[2202]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[441]][_0x83b3[1179]];mxEvent[_0x83b3[169]](_0x187fx4[_0x83b3[252]],_0x83b3[173],function(_0x187fx4){_0x187fx5[_0x83b3[2203]]()&& _0x187fx5[_0x83b3[2126]](!_0x187fx5[_0x83b3[2134]]());_0x187fx3[_0x83b3[746]]( new mxEventObject(mxEvent.CLICK,_0x83b3[763],_0x187fx4,_0x83b3[246],_0x187fx2[_0x83b3[246]]))});mxEvent[_0x83b3[759]](_0x187fx4[_0x83b3[252]],function(_0x187fx2){mxEvent[_0x83b3[722]](_0x187fx2)},function(_0x187fx3){_0x187fx5[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx3,_0x187fx2))});mxClient[_0x83b3[754]]&& mxEvent[_0x83b3[169]](_0x187fx4[_0x83b3[252]],_0x83b3[757],function(_0x187fx4){_0x187fx3[_0x83b3[746]]( new mxEventObject(mxEvent.CLICK,_0x83b3[763],_0x187fx4,_0x83b3[246],_0x187fx2[_0x83b3[246]]))})};mxCellRenderer[_0x83b3[202]][_0x83b3[2204]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx4=_0x187fx3[_0x83b3[2205]](_0x187fx2);if(_0x187fx3[_0x83b3[2206]]&& null!= _0x187fx4){if(null== _0x187fx2[_0x83b3[2207]]){var _0x187fx5= new mxRectangle(0,0,_0x187fx4[_0x83b3[117]],_0x187fx4[_0x83b3[119]]);_0x187fx2[_0x83b3[2207]]= new mxImageShape(_0x187fx5,_0x187fx4[_0x83b3[390]]);_0x187fx2[_0x83b3[2207]][_0x83b3[1674]]= !1;_0x187fx2[_0x83b3[2207]][_0x83b3[507]]= _0x187fx3[_0x83b3[507]];this[_0x83b3[2208]](_0x187fx2,_0x187fx2[_0x83b3[2207]],!0,function(_0x187fx4){if(_0x187fx3[_0x83b3[994]]()){var _0x187fx5=!_0x187fx3[_0x83b3[1742]](_0x187fx2[_0x83b3[246]]);_0x187fx3[_0x83b3[847]](_0x187fx5,!1,[_0x187fx2[_0x83b3[246]]]);mxEvent[_0x83b3[722]](_0x187fx4)}})}}else {null!= _0x187fx2[_0x83b3[2207]]&& (_0x187fx2[_0x83b3[2207]][_0x83b3[515]](),_0x187fx2[_0x83b3[2207]]= null)}};mxCellRenderer[_0x83b3[202]][_0x83b3[2208]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx2[_0x83b3[441]][_0x83b3[1179]];_0x187fx9[_0x83b3[2186]](_0x187fx2[_0x83b3[246]])&& mxClient[_0x83b3[2199]]&& _0x187fx9[_0x83b3[507]]== mxConstants[_0x83b3[508]]?(_0x187fx3[_0x83b3[507]]= mxConstants[_0x83b3[2209]],_0x187fx3[_0x83b3[176]](_0x187fx9[_0x83b3[526]]),_0x187fx3[_0x83b3[252]][_0x83b3[124]][_0x83b3[931]]= 1):_0x187fx3[_0x83b3[176]](_0x187fx2[_0x83b3[441]][_0x83b3[1524]]());_0x187fx3= _0x187fx3[_0x83b3[2210]]|| _0x187fx3[_0x83b3[252]];_0x187fx5&& (_0x187fx9[_0x83b3[994]]()&& (_0x187fx3[_0x83b3[124]][_0x83b3[270]]= _0x83b3[356]),mxEvent[_0x83b3[169]](_0x187fx3,_0x83b3[173],_0x187fx5));_0x187fx4&& mxEvent[_0x83b3[759]](_0x187fx3,function(_0x187fx3){_0x187fx9[_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx3,_0x187fx2));mxEvent[_0x83b3[722]](_0x187fx3)},function(_0x187fx3){_0x187fx9[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx3,_0x187fx2))});return _0x187fx3};mxCellRenderer[_0x83b3[202]][_0x83b3[2211]]= function(_0x187fx2,_0x187fx3){return !0};mxCellRenderer[_0x83b3[202]][_0x83b3[2197]]= function(_0x187fx2,_0x187fx3){return !0};mxCellRenderer[_0x83b3[202]][_0x83b3[2163]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx4=function(_0x187fx4){var _0x187fx5=_0x187fx2;if(_0x187fx3[_0x83b3[507]]!= mxConstants[_0x83b3[508]]&& _0x83b3[2198]== mxEvent[_0x83b3[728]](_0x187fx4)[_0x83b3[301]]|| mxClient[_0x83b3[754]]){_0x187fx5= mxEvent[_0x83b3[731]](_0x187fx4),_0x187fx4= mxEvent[_0x83b3[733]](_0x187fx4),_0x187fx4= mxUtils[_0x83b3[2196]](_0x187fx3[_0x83b3[526]],_0x187fx5,_0x187fx4),_0x187fx5= _0x187fx3[_0x83b3[441]][_0x83b3[248]](_0x187fx3[_0x83b3[999]](_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]]))};return _0x187fx5},_0x187fx5=!1;mxEvent[_0x83b3[169]](_0x187fx2[_0x83b3[253]][_0x83b3[252]],_0x83b3[2212],mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx3[_0x83b3[2213]]= 0;_0x187fx5= !0;mxEvent[_0x83b3[722]](_0x187fx2)}));mxEvent[_0x83b3[759]](_0x187fx2[_0x83b3[253]][_0x83b3[252]],mxUtils[_0x83b3[885]](this,function(_0x187fx4){this[_0x83b3[2211]](_0x187fx2,_0x187fx4)&& !_0x187fx5?_0x187fx3[_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx4,null!= _0x187fx2[_0x83b3[253]]&& mxEvent[_0x83b3[728]](_0x187fx4)== _0x187fx2[_0x83b3[253]][_0x83b3[905]]?null:_0x187fx2)):_0x187fx5&& mxEvent[_0x83b3[722]](_0x187fx4)}),mxUtils[_0x83b3[885]](this,function(_0x187fx9){this[_0x83b3[2211]](_0x187fx2,_0x187fx9)&& !_0x187fx5?_0x187fx3[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx9,null!= _0x187fx2[_0x83b3[253]]&& mxEvent[_0x83b3[728]](_0x187fx9)== _0x187fx2[_0x83b3[253]][_0x83b3[905]]?null:_0x187fx4(_0x187fx9))):_0x187fx5&& mxEvent[_0x83b3[722]](_0x187fx9)}),mxUtils[_0x83b3[885]](this,function(_0x187fx9){this[_0x83b3[2211]](_0x187fx2,_0x187fx9)&& !_0x187fx5?_0x187fx3[_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx9,null!= _0x187fx2[_0x83b3[253]]&& mxEvent[_0x83b3[728]](_0x187fx9)== _0x187fx2[_0x83b3[253]][_0x83b3[905]]?null:_0x187fx4(_0x187fx9))):_0x187fx5&& mxEvent[_0x83b3[722]](_0x187fx9)}));var _0x187fx9=mxClient[_0x83b3[754]]?_0x83b3[2214]:_0x83b3[760];mxEvent[_0x83b3[169]](_0x187fx2[_0x83b3[253]][_0x83b3[252]],_0x187fx9,mxUtils[_0x83b3[885]](this,function(_0x187fx4){_0x187fx5= !1;_0x83b3[2214]== _0x187fx9?(_0x187fx3[_0x83b3[2213]]= 0,_0x187fx3[_0x83b3[2215]]&& (_0x187fx3[_0x83b3[2216]](_0x187fx2,_0x187fx4),mxEvent[_0x83b3[722]](_0x187fx4))):this[_0x83b3[2211]](_0x187fx2,_0x187fx4)&& (_0x187fx3[_0x83b3[761]](_0x187fx4,null!= _0x187fx2[_0x83b3[253]]&& mxEvent[_0x83b3[728]](_0x187fx4)== _0x187fx2[_0x83b3[253]][_0x83b3[905]]?null:_0x187fx2[_0x83b3[246]]),mxEvent[_0x83b3[722]](_0x187fx4))}))};mxCellRenderer[_0x83b3[202]][_0x83b3[2217]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[2182]](_0x187fx2);if(null== _0x187fx2[_0x83b3[963]]&& null!= _0x187fx4&& (mxUtils[_0x83b3[1331]](_0x187fx4)|| 0< _0x187fx4[_0x83b3[67]])){this[_0x83b3[2184]](_0x187fx2,_0x187fx4)}else {if(null!= _0x187fx2[_0x83b3[963]]&& (null== _0x187fx4|| 0== _0x187fx4[_0x83b3[67]])){_0x187fx2[_0x83b3[963]][_0x83b3[515]](),_0x187fx2[_0x83b3[963]]= null}};if(null!= _0x187fx2[_0x83b3[963]]){var _0x187fx5=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx9=_0x187fx5[_0x83b3[2131]](_0x187fx2[_0x83b3[246]]),_0x187fx5=_0x187fx5[_0x83b3[2130]](_0x187fx2[_0x83b3[246]]),_0x187fxa=this[_0x83b3[2218]](_0x187fx2);if(_0x187fx3|| _0x187fx2[_0x83b3[963]][_0x83b3[131]]!= _0x187fx4|| _0x187fx2[_0x83b3[963]][_0x83b3[2131]]!= _0x187fx9|| _0x187fx2[_0x83b3[963]][_0x83b3[2219]]!= _0x187fx5|| _0x187fx2[_0x83b3[963]][_0x83b3[255]]!= _0x187fx2[_0x83b3[441]][_0x83b3[255]]|| !_0x187fx2[_0x83b3[963]][_0x83b3[1562]][_0x83b3[237]](_0x187fxa)){_0x187fx2[_0x83b3[963]][_0x83b3[131]]= _0x187fx4,_0x187fx2[_0x83b3[963]][_0x83b3[1562]]= _0x187fxa,_0x187fx2[_0x83b3[963]][_0x83b3[255]]= this[_0x83b3[2220]](_0x187fx2),_0x187fx2[_0x83b3[963]][_0x83b3[2131]]= _0x187fx9,_0x187fx2[_0x83b3[963]][_0x83b3[2219]]= _0x187fx5,_0x187fx2[_0x83b3[963]][_0x83b3[258]]()}}};mxCellRenderer[_0x83b3[202]][_0x83b3[2220]]= function(_0x187fx2){return _0x187fx2[_0x83b3[441]][_0x83b3[255]]};mxCellRenderer[_0x83b3[202]][_0x83b3[2218]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx4=_0x187fx2[_0x83b3[441]][_0x83b3[255]],_0x187fx5=_0x187fx3[_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]]),_0x187fx9= new mxRectangle(_0x187fx2[_0x83b3[2079]][_0x83b3[235]],_0x187fx2[_0x83b3[2079]][_0x83b3[236]]);_0x187fx2[_0x83b3[963]][_0x83b3[1672]]();_0x187fx5?(_0x187fx5= _0x187fx2[_0x83b3[963]][_0x83b3[1673]](),_0x187fx9[_0x83b3[235]]+= _0x187fx5[_0x83b3[235]]* _0x187fx4,_0x187fx9[_0x83b3[236]]+= _0x187fx5[_0x83b3[236]]* _0x187fx4,_0x187fx3= _0x187fx3[_0x83b3[1198]](_0x187fx2[_0x83b3[246]]),null!= _0x187fx3&& (_0x187fx9[_0x83b3[117]]= Math[_0x83b3[160]](0,_0x187fx2[_0x83b3[963]][_0x83b3[1655]][_0x83b3[235]]* _0x187fx3[_0x83b3[117]]* _0x187fx4- _0x187fx2[_0x83b3[963]][_0x83b3[659]]* _0x187fx4- _0x187fx2[_0x83b3[963]][_0x83b3[661]]* _0x187fx4),_0x187fx9[_0x83b3[119]]= Math[_0x83b3[160]](0,_0x187fx2[_0x83b3[963]][_0x83b3[1655]][_0x83b3[236]]* _0x187fx3[_0x83b3[119]]* _0x187fx4- _0x187fx2[_0x83b3[963]][_0x83b3[658]]* _0x187fx4- _0x187fx2[_0x83b3[963]][_0x83b3[660]]* _0x187fx4))):(_0x187fx2[_0x83b3[963]][_0x83b3[1590]]()&& (_0x187fx5= _0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[235]]= _0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[236]]= _0x187fx5),_0x187fx9[_0x83b3[235]]+= _0x187fx2[_0x83b3[235]],_0x187fx9[_0x83b3[236]]+= _0x187fx2[_0x83b3[236]],_0x187fx9[_0x83b3[117]]= Math[_0x83b3[160]](1,_0x187fx2[_0x83b3[117]]),_0x187fx9[_0x83b3[119]]= Math[_0x83b3[160]](1,_0x187fx2[_0x83b3[119]]),_0x187fx3[_0x83b3[1730]](_0x187fx2[_0x83b3[246]])&& (_0x187fx3= _0x187fx3[_0x83b3[1731]](_0x187fx2[_0x83b3[246]]),0< _0x187fx3[_0x83b3[117]]?(_0x187fx5= Math[_0x83b3[243]](_0x187fx9[_0x83b3[117]],_0x187fx3[_0x83b3[117]]* _0x187fx4),_0x187fx2[_0x83b3[253]][_0x83b3[623]]&& (_0x187fx9[_0x83b3[235]]+= _0x187fx9[_0x83b3[117]]- _0x187fx5),_0x187fx9[_0x83b3[117]]= _0x187fx5):0< _0x187fx3[_0x83b3[119]]&& (_0x187fx5= Math[_0x83b3[243]](_0x187fx9[_0x83b3[119]],_0x187fx3[_0x83b3[119]]* _0x187fx4),_0x187fx2[_0x83b3[253]][_0x83b3[624]]&& (_0x187fx9[_0x83b3[236]]+= _0x187fx9[_0x83b3[119]]- _0x187fx5),_0x187fx9[_0x83b3[119]]= _0x187fx5)),this[_0x83b3[2221]](_0x187fx2,_0x187fx9));return _0x187fx9};mxCellRenderer[_0x83b3[202]][_0x83b3[2221]]= function(_0x187fx2,_0x187fx3){if(_0x187fx2[_0x83b3[963]][_0x83b3[1590]]()){var _0x187fx4=(_0x187fx2[_0x83b3[117]]- _0x187fx2[_0x83b3[119]])/ 2;_0x187fx3[_0x83b3[235]]+= _0x187fx4;_0x187fx3[_0x83b3[236]]-= _0x187fx4;_0x187fx4= _0x187fx3[_0x83b3[117]];_0x187fx3[_0x83b3[117]]= _0x187fx3[_0x83b3[119]];_0x187fx3[_0x83b3[119]]= _0x187fx4};_0x187fx3[_0x83b3[235]]-= _0x187fx2[_0x83b3[963]][_0x83b3[1655]][_0x83b3[235]]* _0x187fx3[_0x83b3[117]];_0x187fx3[_0x83b3[236]]-= _0x187fx2[_0x83b3[963]][_0x83b3[1655]][_0x83b3[236]]* _0x187fx3[_0x83b3[119]];if(_0x83b3[1334]!= _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2193]]]){var _0x187fx4=_0x187fx2[_0x83b3[441]][_0x83b3[255]],_0x187fx5=_0x187fx2[_0x83b3[963]][_0x83b3[1673]]();_0x187fx3[_0x83b3[235]]+= _0x187fx5[_0x83b3[235]]* _0x187fx4;_0x187fx3[_0x83b3[236]]+= _0x187fx5[_0x83b3[236]]* _0x187fx4;_0x187fx3[_0x83b3[117]]= Math[_0x83b3[160]](0,_0x187fx3[_0x83b3[117]]- _0x187fx2[_0x83b3[963]][_0x83b3[659]]* _0x187fx4- _0x187fx2[_0x83b3[963]][_0x83b3[661]]* _0x187fx4);_0x187fx3[_0x83b3[119]]= Math[_0x83b3[160]](0,_0x187fx3[_0x83b3[119]]- _0x187fx2[_0x83b3[963]][_0x83b3[658]]* _0x187fx4- _0x187fx2[_0x83b3[963]][_0x83b3[660]]* _0x187fx4)};var _0x187fx9=_0x187fx2[_0x83b3[963]][_0x83b3[1615]]();if(0!= _0x187fx9&& (null!= _0x187fx2&& _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[251]][_0x83b3[1193]](_0x187fx2[_0x83b3[246]]))&& (_0x187fx4= _0x187fx2[_0x83b3[241]](),_0x187fx5= _0x187fx2[_0x83b3[242]](),_0x187fx3[_0x83b3[235]]!= _0x187fx4|| _0x187fx3[_0x83b3[236]]!= _0x187fx5)){_0x187fx9*= Math[_0x83b3[424]]/ 180,pt= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]]),Math[_0x83b3[426]](_0x187fx9),Math[_0x83b3[427]](_0x187fx9), new mxPoint(_0x187fx4,_0x187fx5)),_0x187fx3[_0x83b3[235]]= pt[_0x83b3[235]],_0x187fx3[_0x83b3[236]]= pt[_0x83b3[236]]}};mxCellRenderer[_0x83b3[202]][_0x83b3[2222]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2162]](_0x187fx2);if(null!= _0x187fx2[_0x83b3[1211]]){var _0x187fx4=mxUtils[_0x83b3[1454]](mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION,0),90),_0x187fx5=mxUtils[_0x83b3[431]](_0x187fx4),_0x187fx9=Math[_0x83b3[426]](_0x187fx5),_0x187fxa=Math[_0x83b3[427]](_0x187fx5);_0x187fx2[_0x83b3[1211]][_0x83b3[209]](function(_0x187fx5,_0x187fx13){var _0x187fx14=_0x187fx13[_0x83b3[2201]][_0x83b3[1799]](_0x187fx2);if(!_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]])&& null!= _0x187fx2[_0x83b3[253]]&& 0!= _0x187fx4){var _0x187fx15=_0x187fx14[_0x83b3[241]](),_0x187fx16=_0x187fx14[_0x83b3[242]](),_0x187fx16=mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx15,_0x187fx16),_0x187fx9,_0x187fxa, new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]())),_0x187fx15=_0x187fx16[_0x83b3[235]],_0x187fx16=_0x187fx16[_0x83b3[236]];_0x187fx14[_0x83b3[235]]= Math[_0x83b3[488]](_0x187fx15- _0x187fx14[_0x83b3[117]]/ 2);_0x187fx14[_0x83b3[236]]= Math[_0x83b3[488]](_0x187fx16- _0x187fx14[_0x83b3[119]]/ 2)};if(_0x187fx3|| null== _0x187fx13[_0x83b3[1562]]|| _0x187fx13[_0x83b3[255]]!= _0x187fx2[_0x83b3[441]][_0x83b3[255]]|| !_0x187fx13[_0x83b3[1562]][_0x83b3[237]](_0x187fx14)){_0x187fx13[_0x83b3[1562]]= _0x187fx14,_0x187fx13[_0x83b3[255]]= _0x187fx2[_0x83b3[441]][_0x83b3[255]],_0x187fx13[_0x83b3[258]]()}})}};mxCellRenderer[_0x83b3[202]][_0x83b3[2223]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2[_0x83b3[2207]]){var _0x187fx4=this[_0x83b3[2224]](_0x187fx2),_0x187fx5=this[_0x83b3[2152]]?mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION,0):_0x187fx2[_0x83b3[253]][_0x83b3[1615]](),_0x187fx9=_0x187fx2[_0x83b3[441]][_0x83b3[255]];if(_0x187fx3|| _0x187fx2[_0x83b3[2207]][_0x83b3[255]]!= _0x187fx9|| !_0x187fx2[_0x83b3[2207]][_0x83b3[1562]][_0x83b3[237]](_0x187fx4)|| _0x187fx2[_0x83b3[2207]][_0x83b3[603]]!= _0x187fx5){_0x187fx2[_0x83b3[2207]][_0x83b3[603]]= _0x187fx5,_0x187fx2[_0x83b3[2207]][_0x83b3[1562]]= _0x187fx4,_0x187fx2[_0x83b3[2207]][_0x83b3[255]]= _0x187fx9,_0x187fx2[_0x83b3[2207]][_0x83b3[258]]()}}};mxCellRenderer[_0x83b3[202]][_0x83b3[2224]]= function(_0x187fx2){if(null!= _0x187fx2[_0x83b3[2207]]){var _0x187fx3=_0x187fx2[_0x83b3[2207]][_0x83b3[255]],_0x187fx4=_0x187fx2[_0x83b3[2207]][_0x83b3[1562]][_0x83b3[117]]/ _0x187fx3,_0x187fx3=_0x187fx2[_0x83b3[2207]][_0x83b3[1562]][_0x83b3[119]]/ _0x187fx3,_0x187fx5=_0x187fx2[_0x83b3[441]][_0x83b3[255]],_0x187fx9=_0x187fx2[_0x83b3[241]](),_0x187fxa=_0x187fx2[_0x83b3[242]]();if(!_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]])&& (_0x187fx9= _0x187fx2[_0x83b3[235]]+ _0x187fx4* _0x187fx5,_0x187fxa= _0x187fx2[_0x83b3[236]]+ _0x187fx3* _0x187fx5,null!= _0x187fx2[_0x83b3[253]])){var _0x187fx12=_0x187fx2[_0x83b3[253]][_0x83b3[1598]]();if(this[_0x83b3[2152]]){_0x187fx12= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION,0)}else {if(_0x187fx2[_0x83b3[253]][_0x83b3[1590]]()){var _0x187fx13=(_0x187fx2[_0x83b3[117]]- _0x187fx2[_0x83b3[119]])/ 2,_0x187fx9=_0x187fx9+ _0x187fx13,_0x187fxa=_0x187fxa- _0x187fx13}};0!= _0x187fx12&& (_0x187fx13= mxUtils[_0x83b3[431]](_0x187fx12),_0x187fx12= Math[_0x83b3[426]](_0x187fx13),_0x187fx13= Math[_0x83b3[427]](_0x187fx13),_0x187fxa= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx9,_0x187fxa),_0x187fx12,_0x187fx13, new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]())),_0x187fx9= _0x187fxa[_0x83b3[235]],_0x187fxa= _0x187fxa[_0x83b3[236]])};return _0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]]), new mxRectangle(Math[_0x83b3[488]](_0x187fx9- _0x187fx4/ 2* _0x187fx5),Math[_0x83b3[488]](_0x187fxa- _0x187fx3/ 2* _0x187fx5),Math[_0x83b3[488]](_0x187fx4* _0x187fx5),Math[_0x83b3[488]](_0x187fx3* _0x187fx5))};return null};mxCellRenderer[_0x83b3[202]][_0x83b3[258]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= _0x187fx2[_0x83b3[253]]){var _0x187fx5=!1;_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]]);reconfigure= null!= _0x187fx3?_0x187fx3:!1;this[_0x83b3[2204]](_0x187fx2);if(_0x187fx2[_0x83b3[2082]]|| _0x187fx2[_0x83b3[2081]]){_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2158]]?this[_0x83b3[2166]](_0x187fx2):this[_0x83b3[2167]](_0x187fx2)};if(_0x187fx2[_0x83b3[2082]]|| !mxUtils[_0x83b3[2225]](_0x187fx2[_0x83b3[253]][_0x83b3[124]],_0x187fx2[_0x83b3[124]])){this[_0x83b3[2170]](_0x187fx2),_0x187fx3= !0};delete _0x187fx2[_0x83b3[2081]];delete _0x187fx2[_0x83b3[2082]];if(_0x187fx3|| null== _0x187fx2[_0x83b3[253]][_0x83b3[1562]]|| _0x187fx2[_0x83b3[253]][_0x83b3[255]]!= _0x187fx2[_0x83b3[441]][_0x83b3[255]]|| !_0x187fx2[_0x83b3[253]][_0x83b3[1562]][_0x83b3[237]](_0x187fx2)|| !mxUtils[_0x83b3[2226]](_0x187fx2[_0x83b3[253]][_0x83b3[1525]],_0x187fx2[_0x83b3[439]])){_0x187fx5= !0,_0x187fx2[_0x83b3[253]][_0x83b3[1525]]= null!= _0x187fx2[_0x83b3[439]]?_0x187fx2[_0x83b3[439]][_0x83b3[1853]]():null,_0x187fx2[_0x83b3[253]][_0x83b3[1562]]= new mxRectangle(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],_0x187fx2[_0x83b3[117]],_0x187fx2[_0x83b3[119]]),_0x187fx2[_0x83b3[253]][_0x83b3[255]]= _0x187fx2[_0x83b3[441]][_0x83b3[255]],null== _0x187fx4|| _0x187fx4?_0x187fx2[_0x83b3[253]][_0x83b3[258]]():_0x187fx2[_0x83b3[253]][_0x83b3[1577]]()};if(null== _0x187fx4|| _0x187fx4){this[_0x83b3[2217]](_0x187fx2,_0x187fx5),this[_0x83b3[2222]](_0x187fx2,_0x187fx5),this[_0x83b3[2223]](_0x187fx2,_0x187fx5)}}};mxCellRenderer[_0x83b3[202]][_0x83b3[515]]= function(_0x187fx2){null!= _0x187fx2[_0x83b3[253]]&& (null!= _0x187fx2[_0x83b3[963]]&& (_0x187fx2[_0x83b3[963]][_0x83b3[515]](),_0x187fx2[_0x83b3[963]]= null),null!= _0x187fx2[_0x83b3[1211]]&& (_0x187fx2[_0x83b3[1211]][_0x83b3[209]](function(_0x187fx2,_0x187fx4){_0x187fx4[_0x83b3[515]]()}),_0x187fx2[_0x83b3[1211]]= null),null!= _0x187fx2[_0x83b3[2207]]&& (_0x187fx2[_0x83b3[2207]][_0x83b3[515]](),_0x187fx2[_0x83b3[2207]]= null),_0x187fx2[_0x83b3[253]][_0x83b3[515]](),_0x187fx2[_0x83b3[253]]= null)};var mxEdgeStyle={EntityRelation:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx2[_0x83b3[441]],_0x187fx12=_0x187fxa[_0x83b3[1179]];_0x187fx5= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)* _0x187fxa[_0x83b3[255]];var _0x187fx13=_0x187fx2[_0x83b3[439]],_0x187fx14=_0x187fx13[0],_0x187fx15=_0x187fx13[_0x187fx13[_0x83b3[67]]- 1],_0x187fx13=!1;if(null!= _0x187fx14){_0x187fx3= new mxCellState,_0x187fx3[_0x83b3[235]]= _0x187fx14[_0x83b3[235]],_0x187fx3[_0x83b3[236]]= _0x187fx14[_0x83b3[236]]}else {if(null!= _0x187fx3){var _0x187fx16=mxUtils[_0x83b3[2227]](_0x187fx3,_0x187fx2,!0,mxConstants.DIRECTION_MASK_NONE);_0x187fx16!= mxConstants[_0x83b3[434]]?_0x187fx13= _0x187fx16== mxConstants[_0x83b3[436]]:(_0x187fx14= _0x187fx12[_0x83b3[1198]](_0x187fx3[_0x83b3[246]]),_0x187fx14[_0x83b3[1500]]?_0x187fx13= 0.5>= _0x187fx14[_0x83b3[235]]:null!= _0x187fx4&& (_0x187fx13= _0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]< _0x187fx3[_0x83b3[235]]))}else {return}};_0x187fx14= !0;null!= _0x187fx15?(_0x187fx4= new mxCellState,_0x187fx4[_0x83b3[235]]= _0x187fx15[_0x83b3[235]],_0x187fx4[_0x83b3[236]]= _0x187fx15[_0x83b3[236]]):null!= _0x187fx4&& (_0x187fx16= mxUtils[_0x83b3[2227]](_0x187fx4,_0x187fx2,!1,mxConstants.DIRECTION_MASK_NONE),_0x187fx16!= mxConstants[_0x83b3[434]]?_0x187fx14= _0x187fx16== mxConstants[_0x83b3[436]]:(_0x187fx2= _0x187fx12[_0x83b3[1198]](_0x187fx4[_0x83b3[246]]),_0x187fx2[_0x83b3[1500]]?_0x187fx14= 0.5>= _0x187fx2[_0x83b3[235]]:null!= _0x187fx3&& (_0x187fx14= _0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]]< _0x187fx4[_0x83b3[235]])));null!= _0x187fx3&& null!= _0x187fx4&& (_0x187fx2= _0x187fx13?_0x187fx3[_0x83b3[235]]:_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx3= _0x187fxa[_0x83b3[2228]](_0x187fx3),_0x187fx12= _0x187fx14?_0x187fx4[_0x83b3[235]]:_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]],_0x187fx4= _0x187fxa[_0x83b3[2228]](_0x187fx4),_0x187fxa= new mxPoint(_0x187fx2+ (_0x187fx13?-_0x187fx5:_0x187fx5),_0x187fx3),_0x187fx15= new mxPoint(_0x187fx12+ (_0x187fx14?-_0x187fx5:_0x187fx5),_0x187fx4),_0x187fx13== _0x187fx14?(_0x187fx5= _0x187fx13?Math[_0x83b3[243]](_0x187fx2,_0x187fx12)- _0x187fx5:Math[_0x83b3[160]](_0x187fx2,_0x187fx12)+ _0x187fx5,_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx5,_0x187fx3)),_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx5,_0x187fx4))):(_0x187fxa[_0x83b3[235]]< _0x187fx15[_0x83b3[235]]== _0x187fx13?(_0x187fx5= _0x187fx3+ (_0x187fx4- _0x187fx3)/ 2,_0x187fx9[_0x83b3[207]](_0x187fxa),_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fxa[_0x83b3[235]],_0x187fx5)),_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx15[_0x83b3[235]],_0x187fx5))):_0x187fx9[_0x83b3[207]](_0x187fxa),_0x187fx9[_0x83b3[207]](_0x187fx15)))},Loop:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx3){_0x187fx4= _0x187fx2[_0x83b3[441]];var _0x187fxa=_0x187fx4[_0x83b3[1179]];_0x187fx5= null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]?_0x187fx5[0]:null;null!= _0x187fx5&& (_0x187fx5= _0x187fx4[_0x83b3[2229]](_0x187fx2,_0x187fx5),mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx5[_0x83b3[235]],_0x187fx5[_0x83b3[236]])&& (_0x187fx5= null));var _0x187fx12=0,_0x187fx13=0,_0x187fx14=0,_0x187fx15=0,_0x187fxa=mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_SEGMENT,_0x187fxa[_0x83b3[1020]])* _0x187fx4[_0x83b3[255]];_0x187fx2= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);_0x187fx2== mxConstants[_0x83b3[1358]]|| _0x187fx2== mxConstants[_0x83b3[1354]]?(_0x187fx12= _0x187fx4[_0x83b3[2230]](_0x187fx3),_0x187fx13= _0x187fxa):(_0x187fx14= _0x187fx4[_0x83b3[2228]](_0x187fx3),_0x187fx15= _0x187fxa);null== _0x187fx5|| _0x187fx5[_0x83b3[235]]< _0x187fx3[_0x83b3[235]]|| _0x187fx5[_0x83b3[235]]> _0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]]?null!= _0x187fx5?(_0x187fx12= _0x187fx5[_0x83b3[235]],_0x187fx15= Math[_0x83b3[160]](Math[_0x83b3[425]](_0x187fx14- _0x187fx5[_0x83b3[236]]),_0x187fx15)):_0x187fx2== mxConstants[_0x83b3[1358]]?_0x187fx14= _0x187fx3[_0x83b3[236]]- 2* _0x187fx13:_0x187fx2== mxConstants[_0x83b3[1354]]?_0x187fx14= _0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]]+ 2* _0x187fx13:_0x187fx12= _0x187fx2== mxConstants[_0x83b3[1356]]?_0x187fx3[_0x83b3[235]]- 2* _0x187fx15:_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]]+ 2* _0x187fx15:null!= _0x187fx5&& (_0x187fx12= _0x187fx4[_0x83b3[2230]](_0x187fx3),_0x187fx13= Math[_0x83b3[160]](Math[_0x83b3[425]](_0x187fx12- _0x187fx5[_0x83b3[235]]),_0x187fx15),_0x187fx14= _0x187fx5[_0x83b3[236]],_0x187fx15= 0);_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx12- _0x187fx13,_0x187fx14- _0x187fx15));_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx12+ _0x187fx13,_0x187fx14+ _0x187fx15))}},ElbowConnector:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]?_0x187fx5[0]:null,_0x187fx12=!1,_0x187fx13=!1;if(null!= _0x187fx3&& null!= _0x187fx4){if(null!= _0x187fxa){var _0x187fx14=Math[_0x83b3[243]](_0x187fx3[_0x83b3[235]],_0x187fx4[_0x83b3[235]]),_0x187fx15=Math[_0x83b3[160]](_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]),_0x187fx13=Math[_0x83b3[243]](_0x187fx3[_0x83b3[236]],_0x187fx4[_0x83b3[236]]),_0x187fx16=Math[_0x83b3[160]](_0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]],_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]),_0x187fxa=_0x187fx2[_0x83b3[441]][_0x83b3[2229]](_0x187fx2,_0x187fxa),_0x187fx12=_0x187fxa[_0x83b3[236]]< _0x187fx13|| _0x187fxa[_0x83b3[236]]> _0x187fx16,_0x187fx13=_0x187fxa[_0x83b3[235]]< _0x187fx14|| _0x187fxa[_0x83b3[235]]> _0x187fx15}else {_0x187fx14= Math[_0x83b3[160]](_0x187fx3[_0x83b3[235]],_0x187fx4[_0x83b3[235]]),_0x187fx15= Math[_0x83b3[243]](_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]),_0x187fx12= _0x187fx14== _0x187fx15,_0x187fx12|| (_0x187fx13= Math[_0x83b3[160]](_0x187fx3[_0x83b3[236]],_0x187fx4[_0x83b3[236]]),_0x187fx16= Math[_0x83b3[243]](_0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]],_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]),_0x187fx13= _0x187fx13== _0x187fx16)}};!_0x187fx13&& (_0x187fx12|| _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2231]]]== mxConstants[_0x83b3[2232]])?mxEdgeStyle.TopToBottom(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9):mxEdgeStyle.SideToSide(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)},SideToSide:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx2[_0x83b3[441]];_0x187fx5= null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]?_0x187fx5[0]:null;var _0x187fx12=_0x187fx2[_0x83b3[439]],_0x187fx13=_0x187fx12[0],_0x187fx12=_0x187fx12[_0x187fx12[_0x83b3[67]]- 1];null!= _0x187fx5&& (_0x187fx5= _0x187fxa[_0x83b3[2229]](_0x187fx2,_0x187fx5));null!= _0x187fx13&& (_0x187fx3= new mxCellState,_0x187fx3[_0x83b3[235]]= _0x187fx13[_0x83b3[235]],_0x187fx3[_0x83b3[236]]= _0x187fx13[_0x83b3[236]]);null!= _0x187fx12&& (_0x187fx4= new mxCellState,_0x187fx4[_0x83b3[235]]= _0x187fx12[_0x83b3[235]],_0x187fx4[_0x83b3[236]]= _0x187fx12[_0x83b3[236]]);null!= _0x187fx3&& null!= _0x187fx4&& (_0x187fx2= Math[_0x83b3[160]](_0x187fx3[_0x83b3[235]],_0x187fx4[_0x83b3[235]]),_0x187fx13= Math[_0x83b3[243]](_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]),_0x187fx2= null!= _0x187fx5?_0x187fx5[_0x83b3[235]]:_0x187fx13+ (_0x187fx2- _0x187fx13)/ 2,_0x187fx13= _0x187fxa[_0x83b3[2228]](_0x187fx3),_0x187fxa= _0x187fxa[_0x83b3[2228]](_0x187fx4),null!= _0x187fx5&& (_0x187fx5[_0x83b3[236]]>= _0x187fx3[_0x83b3[236]]&& _0x187fx5[_0x83b3[236]]<= _0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]]&& (_0x187fx13= _0x187fx5[_0x83b3[236]]),_0x187fx5[_0x83b3[236]]>= _0x187fx4[_0x83b3[236]]&& _0x187fx5[_0x83b3[236]]<= _0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]&& (_0x187fxa= _0x187fx5[_0x83b3[236]])),!mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx2,_0x187fx13)&& !mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx2,_0x187fx13)&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx2,_0x187fx13)),!mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx2,_0x187fxa)&& !mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx2,_0x187fxa)&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx2,_0x187fxa)),1== _0x187fx9[_0x83b3[67]]&& (null!= _0x187fx5?!mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx2,_0x187fx5[_0x83b3[236]])&& !mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx2,_0x187fx5[_0x83b3[236]])&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx2,_0x187fx5[_0x83b3[236]])):(_0x187fxa= Math[_0x83b3[160]](_0x187fx3[_0x83b3[236]],_0x187fx4[_0x83b3[236]]),_0x187fx3= Math[_0x83b3[243]](_0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]],_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]),_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx2,_0x187fxa+ (_0x187fx3- _0x187fxa)/ 2)))))},TopToBottom:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx2[_0x83b3[441]];_0x187fx5= null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]?_0x187fx5[0]:null;var _0x187fx12=_0x187fx2[_0x83b3[439]],_0x187fx13=_0x187fx12[0],_0x187fx12=_0x187fx12[_0x187fx12[_0x83b3[67]]- 1];null!= _0x187fx5&& (_0x187fx5= _0x187fxa[_0x83b3[2229]](_0x187fx2,_0x187fx5));null!= _0x187fx13&& (_0x187fx3= new mxCellState,_0x187fx3[_0x83b3[235]]= _0x187fx13[_0x83b3[235]],_0x187fx3[_0x83b3[236]]= _0x187fx13[_0x83b3[236]]);null!= _0x187fx12&& (_0x187fx4= new mxCellState,_0x187fx4[_0x83b3[235]]= _0x187fx12[_0x83b3[235]],_0x187fx4[_0x83b3[236]]= _0x187fx12[_0x83b3[236]]);null!= _0x187fx3&& null!= _0x187fx4&& (_0x187fx13= Math[_0x83b3[160]](_0x187fx3[_0x83b3[236]],_0x187fx4[_0x83b3[236]]),_0x187fx12= Math[_0x83b3[243]](_0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]],_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]),_0x187fx2= _0x187fxa[_0x83b3[2230]](_0x187fx3),null!= _0x187fx5&& (_0x187fx5[_0x83b3[235]]>= _0x187fx3[_0x83b3[235]]&& _0x187fx5[_0x83b3[235]]<= _0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]])&& (_0x187fx2= _0x187fx5[_0x83b3[235]]),_0x187fx13= null!= _0x187fx5?_0x187fx5[_0x83b3[236]]:_0x187fx12+ (_0x187fx13- _0x187fx12)/ 2,!mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx2,_0x187fx13)&& !mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx2,_0x187fx13)&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx2,_0x187fx13)),_0x187fx2= null!= _0x187fx5&& _0x187fx5[_0x83b3[235]]>= _0x187fx4[_0x83b3[235]]&& _0x187fx5[_0x83b3[235]]<= _0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]?_0x187fx5[_0x83b3[235]]:_0x187fxa[_0x83b3[2230]](_0x187fx4),!mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx2,_0x187fx13)&& !mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx2,_0x187fx13)&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx2,_0x187fx13)),1== _0x187fx9[_0x83b3[67]]&& (null!= _0x187fx5&& 1== _0x187fx9[_0x83b3[67]]?!mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx5[_0x83b3[235]],_0x187fx13)&& !mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx5[_0x83b3[235]],_0x187fx13)&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx5[_0x83b3[235]],_0x187fx13)):(_0x187fxa= Math[_0x83b3[160]](_0x187fx3[_0x83b3[235]],_0x187fx4[_0x83b3[235]]),_0x187fx3= Math[_0x83b3[243]](_0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]],_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]),_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fxa+ (_0x187fx3- _0x187fxa)/ 2,_0x187fx13)))))},SegmentConnector:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx2[_0x83b3[439]],_0x187fx12=!0,_0x187fx13=null,_0x187fx14=_0x187fxa[0];null== _0x187fx14&& null!= _0x187fx3?_0x187fx14= new mxPoint(_0x187fx2[_0x83b3[441]][_0x83b3[2230]](_0x187fx3),_0x187fx2[_0x83b3[441]][_0x83b3[2228]](_0x187fx3)):null!= _0x187fx14&& (_0x187fx14= _0x187fx14[_0x83b3[238]]());var _0x187fx15=_0x187fxa[_0x83b3[67]]- 1;if(null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]){for(var _0x187fx13=_0x187fx2[_0x83b3[441]][_0x83b3[2229]](_0x187fx2,_0x187fx5[0]),_0x187fx16=_0x187fx3,_0x187fx17=_0x187fxa[0],_0x187fx18=!1,_0x187fx19=!1,_0x187fx18=_0x187fx13,_0x187fx1a=_0x187fx5[_0x83b3[67]],_0x187fx1b=0;2> _0x187fx1b;_0x187fx1b++){var _0x187fx1c=null!= _0x187fx17&& _0x187fx17[_0x83b3[235]]== _0x187fx18[_0x83b3[235]],_0x187fx1d=null!= _0x187fx17&& _0x187fx17[_0x83b3[236]]== _0x187fx18[_0x83b3[236]],_0x187fx1e=null!= _0x187fx16&& _0x187fx18[_0x83b3[236]]>= _0x187fx16[_0x83b3[236]]&& _0x187fx18[_0x83b3[236]]<= _0x187fx16[_0x83b3[236]]+ _0x187fx16[_0x83b3[119]],_0x187fx16=null!= _0x187fx16&& _0x187fx18[_0x83b3[235]]>= _0x187fx16[_0x83b3[235]]&& _0x187fx18[_0x83b3[235]]<= _0x187fx16[_0x83b3[235]]+ _0x187fx16[_0x83b3[117]],_0x187fx18=_0x187fx1d|| null== _0x187fx17&& _0x187fx1e,_0x187fx19=_0x187fx1c|| null== _0x187fx17&& _0x187fx16;if(null!= _0x187fx17&& !_0x187fx1d&& !_0x187fx1c&& (_0x187fx1e|| _0x187fx16)){_0x187fx12= _0x187fx1e?!1:!0;break};if(_0x187fx19|| _0x187fx18){_0x187fx12= _0x187fx18;1== _0x187fx1b&& (_0x187fx12= 0== _0x187fx5[_0x83b3[67]]% 2?_0x187fx18:_0x187fx19);break};_0x187fx16= _0x187fx4;_0x187fx17= _0x187fxa[_0x187fx15];_0x187fx18= _0x187fx2[_0x83b3[441]][_0x83b3[2229]](_0x187fx2,_0x187fx5[_0x187fx1a- 1])};_0x187fx12&& (null!= _0x187fxa[0]&& _0x187fxa[0][_0x83b3[236]]!= _0x187fx13[_0x83b3[236]]|| null== _0x187fxa[0]&& null!= _0x187fx3&& (_0x187fx13[_0x83b3[236]]< _0x187fx3[_0x83b3[236]]|| _0x187fx13[_0x83b3[236]]> _0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]]))?_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx14[_0x83b3[235]],_0x187fx13[_0x83b3[236]])):!_0x187fx12&& (null!= _0x187fxa[0]&& _0x187fxa[0][_0x83b3[235]]!= _0x187fx13[_0x83b3[235]]|| null== _0x187fxa[0]&& null!= _0x187fx3&& (_0x187fx13[_0x83b3[235]]< _0x187fx3[_0x83b3[235]]|| _0x187fx13[_0x83b3[235]]> _0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]]))&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx13[_0x83b3[235]],_0x187fx14[_0x83b3[236]]));_0x187fx12?_0x187fx14[_0x83b3[236]]= _0x187fx13[_0x83b3[236]]:_0x187fx14[_0x83b3[235]]= _0x187fx13[_0x83b3[235]];for(_0x187fx1b= 0;_0x187fx1b< _0x187fx5[_0x83b3[67]];_0x187fx1b++){_0x187fx12= !_0x187fx12,_0x187fx13= _0x187fx2[_0x83b3[441]][_0x83b3[2229]](_0x187fx2,_0x187fx5[_0x187fx1b]),_0x187fx12?_0x187fx14[_0x83b3[236]]= _0x187fx13[_0x83b3[236]]:_0x187fx14[_0x83b3[235]]= _0x187fx13[_0x83b3[235]],_0x187fx9[_0x83b3[207]](_0x187fx14[_0x83b3[238]]())}}else {_0x187fx13= _0x187fx14,_0x187fx12= !0};_0x187fx14= _0x187fxa[_0x187fx15];null== _0x187fx14&& null!= _0x187fx4&& (_0x187fx14= new mxPoint(_0x187fx2[_0x83b3[441]][_0x83b3[2230]](_0x187fx4),_0x187fx2[_0x83b3[441]][_0x83b3[2228]](_0x187fx4)));_0x187fx12&& (null!= _0x187fxa[_0x187fx15]&& _0x187fxa[_0x187fx15][_0x83b3[236]]!= _0x187fx13[_0x83b3[236]]|| null== _0x187fxa[_0x187fx15]&& null!= _0x187fx4&& (_0x187fx13[_0x83b3[236]]< _0x187fx4[_0x83b3[236]]|| _0x187fx13[_0x83b3[236]]> _0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]))?_0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx14[_0x83b3[235]],_0x187fx13[_0x83b3[236]])):!_0x187fx12&& (null!= _0x187fxa[_0x187fx15]&& _0x187fxa[_0x187fx15][_0x83b3[235]]!= _0x187fx13[_0x83b3[235]]|| null== _0x187fxa[_0x187fx15]&& null!= _0x187fx4&& (_0x187fx13[_0x83b3[235]]< _0x187fx4[_0x83b3[235]]|| _0x187fx13[_0x83b3[235]]> _0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]))&& _0x187fx9[_0x83b3[207]]( new mxPoint(_0x187fx13[_0x83b3[235]],_0x187fx14[_0x83b3[236]]));if(null== _0x187fxa[0]&& null!= _0x187fx3){for(;1< _0x187fx9[_0x83b3[67]]&& mxUtils[_0x83b3[442]](_0x187fx3,_0x187fx9[1][_0x83b3[235]],_0x187fx9[1][_0x83b3[236]]);){_0x187fx9= _0x187fx9[_0x83b3[300]](1,1)}};if(null== _0x187fxa[_0x187fx15]&& null!= _0x187fx4){for(;1< _0x187fx9[_0x83b3[67]]&& mxUtils[_0x83b3[442]](_0x187fx4,_0x187fx9[_0x187fx9[_0x83b3[67]]- 1][_0x83b3[235]],_0x187fx9[_0x187fx9[_0x83b3[67]]- 1][_0x83b3[236]]);){_0x187fx9= _0x187fx9[_0x83b3[300]](_0x187fx9[_0x83b3[67]]- 1,1)}}},orthBuffer:10,dirVectors:[[-1,0],[0,-1],[1,0],[0,1],[-1,0],[0,-1],[1,0]],wayPoints1:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],routePatterns:[[[513,2308,2081,2562],[513,1090,514,2184,2114,2561],[513,1090,514,2564,2184,2562],[513,2308,2561,1090,514,2568,2308]],[[514,1057,513,2308,2081,2562],[514,2184,2114,2561],[514,2184,2562,1057,513,2564,2184],[514,1057,513,2568,2308,2561]],[[1090,514,1057,513,2308,2081,2562],[2114,2561],[1090,2562,1057,513,2564,2184],[1090,514,1057,513,2308,2561,2568]],[[2081,2562],[1057,513,1090,514,2184,2114,2561],[1057,513,1090,514,2184,2562,2564],[1057,2561,1090,514,2568,2308]]],inlineRoutePatterns:[[null,[2114,2568],null,null],[null,[514,2081,2114,2568],null,null],[null,[2114,2561],null,null],[[2081,2562],[1057,2114,2568],[2184,2562],null]],vertexSeperations:[],limits:[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]],LEFT_MASK:32,TOP_MASK:64,RIGHT_MASK:128,BOTTOM_MASK:256,LEFT:1,TOP:2,RIGHT:4,BOTTOM:8,SIDE_MASK:480,CENTER_MASK:512,SOURCE_MASK:1024,TARGET_MASK:2048,VERTEX_MASK:3072,OrthConnector:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=_0x187fx2[_0x83b3[441]][_0x83b3[1179]],_0x187fx12=null== _0x187fx3?!1:_0x187fxa[_0x83b3[502]]()[_0x83b3[250]](_0x187fx3[_0x83b3[246]]),_0x187fxa=null== _0x187fx4?!1:_0x187fxa[_0x83b3[502]]()[_0x83b3[250]](_0x187fx4[_0x83b3[246]]);if(null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]|| _0x187fx12|| _0x187fxa){mxEdgeStyle.SegmentConnector(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)}else {_0x187fx5= _0x187fx2[_0x83b3[439]];var _0x187fx13=_0x187fx5[0],_0x187fx14=_0x187fx5[_0x187fx5[_0x83b3[67]]- 1];_0x187fx5= null!= _0x187fx3?_0x187fx3[_0x83b3[235]]:_0x187fx13[_0x83b3[235]];var _0x187fx12=null!= _0x187fx3?_0x187fx3[_0x83b3[236]]:_0x187fx13[_0x83b3[236]],_0x187fx15=null!= _0x187fx3?_0x187fx3[_0x83b3[117]]:1,_0x187fx16=null!= _0x187fx3?_0x187fx3[_0x83b3[119]]:1,_0x187fx17=null!= _0x187fx4?_0x187fx4[_0x83b3[235]]:_0x187fx14[_0x83b3[235]],_0x187fx18=null!= _0x187fx4?_0x187fx4[_0x83b3[236]]:_0x187fx14[_0x83b3[236]],_0x187fx19=null!= _0x187fx4?_0x187fx4[_0x83b3[117]]:1,_0x187fx1a=null!= _0x187fx4?_0x187fx4[_0x83b3[119]]:1,_0x187fxa=_0x187fx2[_0x83b3[441]][_0x83b3[255]]* mxEdgeStyle[_0x83b3[2233]],_0x187fx1b=[mxConstants[_0x83b3[2234]],mxConstants[_0x83b3[2234]]];null!= _0x187fx3&& (_0x187fx1b[0]= mxUtils[_0x83b3[2227]](_0x187fx3,_0x187fx2,!0,mxConstants.DIRECTION_MASK_ALL));null!= _0x187fx4&& (_0x187fx1b[1]= mxUtils[_0x83b3[2227]](_0x187fx4,_0x187fx2,!1,mxConstants.DIRECTION_MASK_ALL));_0x187fx2= [0,0];_0x187fx5= [[_0x187fx5,_0x187fx12,_0x187fx15,_0x187fx16],[_0x187fx17,_0x187fx18,_0x187fx19,_0x187fx1a]];for(_0x187fx15= 0;2> _0x187fx15;_0x187fx15++){mxEdgeStyle[_0x83b3[2235]][_0x187fx15][1]= _0x187fx5[_0x187fx15][0]- _0x187fxa,mxEdgeStyle[_0x83b3[2235]][_0x187fx15][2]= _0x187fx5[_0x187fx15][1]- _0x187fxa,mxEdgeStyle[_0x83b3[2235]][_0x187fx15][4]= _0x187fx5[_0x187fx15][0]+ _0x187fx5[_0x187fx15][2]+ _0x187fxa,mxEdgeStyle[_0x83b3[2235]][_0x187fx15][8]= _0x187fx5[_0x187fx15][1]+ _0x187fx5[_0x187fx15][3]+ _0x187fxa};_0x187fx15= _0x187fx5[0][0]+ _0x187fx5[0][2]/ 2- (_0x187fx5[1][0]+ _0x187fx5[1][2]/ 2);_0x187fx16= _0x187fx5[0][1]+ _0x187fx5[0][3]/ 2- (_0x187fx5[1][1]+ _0x187fx5[1][3]/ 2);_0x187fx12= 0;0> _0x187fx15?_0x187fx12= 0> _0x187fx16?2:1:0>= _0x187fx16&& (_0x187fx12= 3,0== _0x187fx15&& (_0x187fx12= 2));_0x187fx16= null;null!= _0x187fx3&& (_0x187fx16= _0x187fx13);_0x187fx3= [[0.5,0.5],[0.5,0.5]];for(_0x187fx15= 0;2> _0x187fx15;_0x187fx15++){null!= _0x187fx16&& (_0x187fx3[_0x187fx15][0]= (_0x187fx16[_0x83b3[235]]- _0x187fx5[_0x187fx15][0])/ _0x187fx5[_0x187fx15][2],0.01> _0x187fx3[_0x187fx15][0]?_0x187fx2[_0x187fx15]= mxConstants[_0x83b3[436]]:0.99< _0x187fx3[_0x187fx15][0]&& (_0x187fx2[_0x187fx15]= mxConstants[_0x83b3[438]]),_0x187fx3[_0x187fx15][1]= (_0x187fx16[_0x83b3[236]]- _0x187fx5[_0x187fx15][1])/ _0x187fx5[_0x187fx15][3],0.01> _0x187fx3[_0x187fx15][1]?_0x187fx2[_0x187fx15]= mxConstants[_0x83b3[435]]:0.99< _0x187fx3[_0x187fx15][1]&& (_0x187fx2[_0x187fx15]= mxConstants[_0x83b3[437]])),_0x187fx16= null,null!= _0x187fx4&& (_0x187fx16= _0x187fx14)};_0x187fx15= _0x187fx5[0][1]- (_0x187fx5[1][1]+ _0x187fx5[1][3]);_0x187fx16= _0x187fx5[0][0]- (_0x187fx5[1][0]+ _0x187fx5[1][2]);_0x187fx17= _0x187fx5[1][1]- (_0x187fx5[0][1]+ _0x187fx5[0][3]);_0x187fx18= _0x187fx5[1][0]- (_0x187fx5[0][0]+ _0x187fx5[0][2]);mxEdgeStyle[_0x83b3[2236]][1]= Math[_0x83b3[160]](_0x187fx16- 2* _0x187fxa,0);mxEdgeStyle[_0x83b3[2236]][2]= Math[_0x83b3[160]](_0x187fx15- 2* _0x187fxa,0);mxEdgeStyle[_0x83b3[2236]][4]= Math[_0x83b3[160]](_0x187fx17- 2* _0x187fxa,0);mxEdgeStyle[_0x83b3[2236]][3]= Math[_0x83b3[160]](_0x187fx18- 2* _0x187fxa,0);_0x187fx4= [];_0x187fx13= [];_0x187fx14= [];_0x187fx13[0]= _0x187fx16>= _0x187fx18?mxConstants[_0x83b3[436]]:mxConstants[_0x83b3[438]];_0x187fx14[0]= _0x187fx15>= _0x187fx17?mxConstants[_0x83b3[435]]:mxConstants[_0x83b3[437]];_0x187fx13[1]= mxUtils[_0x83b3[2237]](_0x187fx13[0]);_0x187fx14[1]= mxUtils[_0x83b3[2237]](_0x187fx14[0]);_0x187fx16= _0x187fx16>= _0x187fx18?_0x187fx16:_0x187fx18;_0x187fx17= _0x187fx15>= _0x187fx17?_0x187fx15:_0x187fx17;_0x187fx18= [[0,0],[0,0]];_0x187fx19= !1;for(_0x187fx15= 0;2> _0x187fx15;_0x187fx15++){0== _0x187fx2[_0x187fx15]&& (0== (_0x187fx13[_0x187fx15]& _0x187fx1b[_0x187fx15])&& (_0x187fx13[_0x187fx15]= mxUtils[_0x83b3[2237]](_0x187fx13[_0x187fx15])),0== (_0x187fx14[_0x187fx15]& _0x187fx1b[_0x187fx15])&& (_0x187fx14[_0x187fx15]= mxUtils[_0x83b3[2237]](_0x187fx14[_0x187fx15])),_0x187fx18[_0x187fx15][0]= _0x187fx14[_0x187fx15],_0x187fx18[_0x187fx15][1]= _0x187fx13[_0x187fx15])};_0x187fx17> 2* _0x187fxa&& _0x187fx16> 2* _0x187fxa&& (0< (_0x187fx13[0]& _0x187fx1b[0])&& 0< (_0x187fx14[1]& _0x187fx1b[1])?(_0x187fx18[0][0]= _0x187fx13[0],_0x187fx18[0][1]= _0x187fx14[0],_0x187fx18[1][0]= _0x187fx14[1],_0x187fx18[1][1]= _0x187fx13[1],_0x187fx19= !0):0< (_0x187fx14[0]& _0x187fx1b[0])&& 0< (_0x187fx13[1]& _0x187fx1b[1])&& (_0x187fx18[0][0]= _0x187fx14[0],_0x187fx18[0][1]= _0x187fx13[0],_0x187fx18[1][0]= _0x187fx13[1],_0x187fx18[1][1]= _0x187fx14[1],_0x187fx19= !0));_0x187fx17> 2* _0x187fxa&& !_0x187fx19&& (_0x187fx18[0][0]= _0x187fx14[0],_0x187fx18[0][1]= _0x187fx13[0],_0x187fx18[1][0]= _0x187fx14[1],_0x187fx18[1][1]= _0x187fx13[1],_0x187fx19= !0);_0x187fx16> 2* _0x187fxa&& !_0x187fx19&& (_0x187fx18[0][0]= _0x187fx13[0],_0x187fx18[0][1]= _0x187fx14[0],_0x187fx18[1][0]= _0x187fx13[1],_0x187fx18[1][1]= _0x187fx14[1]);for(_0x187fx15= 0;2> _0x187fx15;_0x187fx15++){if(0== _0x187fx2[_0x187fx15]&& (0== (_0x187fx18[_0x187fx15][0]& _0x187fx1b[_0x187fx15])&& (_0x187fx18[_0x187fx15][0]= _0x187fx18[_0x187fx15][1]),_0x187fx4[_0x187fx15]= _0x187fx18[_0x187fx15][0]& _0x187fx1b[_0x187fx15],_0x187fx4[_0x187fx15]|= (_0x187fx18[_0x187fx15][1]& _0x187fx1b[_0x187fx15])<< 8,_0x187fx4[_0x187fx15]|= (_0x187fx18[1- _0x187fx15][_0x187fx15]& _0x187fx1b[_0x187fx15])<< 16,_0x187fx4[_0x187fx15]|= (_0x187fx18[1- _0x187fx15][1- _0x187fx15]& _0x187fx1b[_0x187fx15])<< 24,0== (_0x187fx4[_0x187fx15]& 15)&& (_0x187fx4[_0x187fx15]<<= 8),0== (_0x187fx4[_0x187fx15]& 3840)&& (_0x187fx4[_0x187fx15]= _0x187fx4[_0x187fx15]& 15| _0x187fx4[_0x187fx15]>> 8),0== (_0x187fx4[_0x187fx15]& 983040)&& (_0x187fx4[_0x187fx15]= _0x187fx4[_0x187fx15]& 65535| (_0x187fx4[_0x187fx15]& 251658240)>> 8),_0x187fx2[_0x187fx15]= _0x187fx4[_0x187fx15]& 15,_0x187fx1b[_0x187fx15]== mxConstants[_0x83b3[436]]|| _0x187fx1b[_0x187fx15]== mxConstants[_0x83b3[435]]|| _0x187fx1b[_0x187fx15]== mxConstants[_0x83b3[438]]|| _0x187fx1b[_0x187fx15]== mxConstants[_0x83b3[437]])){_0x187fx2[_0x187fx15]= _0x187fx1b[_0x187fx15]}};_0x187fx15= _0x187fx2[0]== mxConstants[_0x83b3[438]]?3:_0x187fx2[0];_0x187fx1b= _0x187fx2[1]== mxConstants[_0x83b3[438]]?3:_0x187fx2[1];_0x187fx15-= _0x187fx12;_0x187fx1b-= _0x187fx12;1> _0x187fx15&& (_0x187fx15+= 4);1> _0x187fx1b&& (_0x187fx1b+= 4);_0x187fx1b= mxEdgeStyle[_0x83b3[2238]][_0x187fx15- 1][_0x187fx1b- 1];mxEdgeStyle[_0x83b3[2239]][0][0]= _0x187fx5[0][0];mxEdgeStyle[_0x83b3[2239]][0][1]= _0x187fx5[0][1];switch(_0x187fx2[0]){case mxConstants[_0x83b3[436]]:mxEdgeStyle[_0x83b3[2239]][0][0]-= _0x187fxa;mxEdgeStyle[_0x83b3[2239]][0][1]+= _0x187fx3[0][1]* _0x187fx5[0][3];break;case mxConstants[_0x83b3[437]]:mxEdgeStyle[_0x83b3[2239]][0][0]+= _0x187fx3[0][0]* _0x187fx5[0][2];mxEdgeStyle[_0x83b3[2239]][0][1]+= _0x187fx5[0][3]+ _0x187fxa;break;case mxConstants[_0x83b3[438]]:mxEdgeStyle[_0x83b3[2239]][0][0]+= _0x187fx5[0][2]+ _0x187fxa;mxEdgeStyle[_0x83b3[2239]][0][1]+= _0x187fx3[0][1]* _0x187fx5[0][3];break;case mxConstants[_0x83b3[435]]:mxEdgeStyle[_0x83b3[2239]][0][0]+= _0x187fx3[0][0]* _0x187fx5[0][2],mxEdgeStyle[_0x83b3[2239]][0][1]-= _0x187fxa};_0x187fxa= 0;_0x187fx13= _0x187fx4= 0< (_0x187fx2[0]& (mxConstants[_0x83b3[438]]| mxConstants[_0x83b3[436]]))?0:1;for(_0x187fx15= _0x187fx14= 0;_0x187fx15< _0x187fx1b[_0x83b3[67]];_0x187fx15++){_0x187fx14= _0x187fx1b[_0x187fx15]& 15;_0x187fx1a= _0x187fx14== mxConstants[_0x83b3[438]]?3:_0x187fx14;_0x187fx1a+= _0x187fx12;4< _0x187fx1a&& (_0x187fx1a-= 4);_0x187fx16= mxEdgeStyle[_0x83b3[2240]][_0x187fx1a- 1];_0x187fx14= 0< _0x187fx1a% 2?0:1;_0x187fx14!= _0x187fx4&& (_0x187fxa++,mxEdgeStyle[_0x83b3[2239]][_0x187fxa][0]= mxEdgeStyle[_0x83b3[2239]][_0x187fxa- 1][0],mxEdgeStyle[_0x83b3[2239]][_0x187fxa][1]= mxEdgeStyle[_0x83b3[2239]][_0x187fxa- 1][1]);var _0x187fx1c=0< (_0x187fx1b[_0x187fx15]& mxEdgeStyle[_0x83b3[2241]]),_0x187fx19=0< (_0x187fx1b[_0x187fx15]& mxEdgeStyle[_0x83b3[2242]]),_0x187fx17=(_0x187fx1b[_0x187fx15]& mxEdgeStyle[_0x83b3[2243]])>> 5,_0x187fx17=_0x187fx17<< _0x187fx12;15< _0x187fx17&& (_0x187fx17>>= 4);_0x187fx18= 0< (_0x187fx1b[_0x187fx15]& mxEdgeStyle[_0x83b3[2244]]);(_0x187fx19|| _0x187fx1c)&& 9> _0x187fx17?(_0x187fx1a= 0,_0x187fx19= _0x187fx19?0:1,_0x187fx1a= _0x187fx18&& 0== _0x187fx14?_0x187fx5[_0x187fx19][0]+ _0x187fx3[_0x187fx19][0]* _0x187fx5[_0x187fx19][2]:_0x187fx18?_0x187fx5[_0x187fx19][1]+ _0x187fx3[_0x187fx19][1]* _0x187fx5[_0x187fx19][3]:mxEdgeStyle[_0x83b3[2235]][_0x187fx19][_0x187fx17],0== _0x187fx14?(_0x187fx17= (_0x187fx1a- mxEdgeStyle[_0x83b3[2239]][_0x187fxa][0])* _0x187fx16[0],0< _0x187fx17&& (mxEdgeStyle[_0x83b3[2239]][_0x187fxa][0]+= _0x187fx16[0]* _0x187fx17)):(_0x187fx17= (_0x187fx1a- mxEdgeStyle[_0x83b3[2239]][_0x187fxa][1])* _0x187fx16[1],0< _0x187fx17&& (mxEdgeStyle[_0x83b3[2239]][_0x187fxa][1]+= _0x187fx16[1]* _0x187fx17))):_0x187fx18&& (mxEdgeStyle[_0x83b3[2239]][_0x187fxa][0]+= _0x187fx16[0]* Math[_0x83b3[425]](mxEdgeStyle[_0x83b3[2236]][_0x187fx1a]/ 2),mxEdgeStyle[_0x83b3[2239]][_0x187fxa][1]+= _0x187fx16[1]* Math[_0x83b3[425]](mxEdgeStyle[_0x83b3[2236]][_0x187fx1a]/ 2));0< _0x187fxa&& mxEdgeStyle[_0x83b3[2239]][_0x187fxa][_0x187fx14]== mxEdgeStyle[_0x83b3[2239]][_0x187fxa- 1][_0x187fx14]?_0x187fxa--:_0x187fx4= _0x187fx14};for(_0x187fx15= 0;_0x187fx15<= _0x187fxa&& !(_0x187fx15== _0x187fxa&& ((0< (_0x187fx2[1]& (mxConstants[_0x83b3[438]]| mxConstants[_0x83b3[436]]))?0:1)== _0x187fx13?0:1)!= (_0x187fxa+ 1)% 2);_0x187fx15++){_0x187fx9[_0x83b3[207]]( new mxPoint(mxEdgeStyle[_0x83b3[2239]][_0x187fx15][0],mxEdgeStyle[_0x83b3[2239]][_0x187fx15][1]))}}},getRoutePattern:function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx2[0]== mxConstants[_0x83b3[438]]?3:_0x187fx2[0];_0x187fx2= _0x187fx2[1]== mxConstants[_0x83b3[438]]?3:_0x187fx2[1];_0x187fx9-= _0x187fx3;_0x187fx2-= _0x187fx3;1> _0x187fx9&& (_0x187fx9+= 4);1> _0x187fx2&& (_0x187fx2+= 4);_0x187fx3= routePatterns[_0x187fx9- 1][_0x187fx2- 1];if(0== _0x187fx4|| 0== _0x187fx5){null!= inlineRoutePatterns[_0x187fx9- 1][_0x187fx2- 1]&& (_0x187fx3= inlineRoutePatterns[_0x187fx9- 1][_0x187fx2- 1])};return _0x187fx3}},mxStyleRegistry={values:[],putValue:function(_0x187fx2,_0x187fx3){mxStyleRegistry[_0x83b3[2245]][_0x187fx2]= _0x187fx3},getValue:function(_0x187fx2){return mxStyleRegistry[_0x83b3[2245]][_0x187fx2]},getName:function(_0x187fx2){for(var _0x187fx3 in mxStyleRegistry[_0x83b3[2245]]){if(mxStyleRegistry[_0x83b3[2245]][_0x187fx3]== _0x187fx2){return _0x187fx3}};return null}};mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry[_0x83b3[2246]](mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry[_0x83b3[2246]](mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);mxStyleRegistry[_0x83b3[2246]](mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry[_0x83b3[2246]](mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry[_0x83b3[2246]](mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);function mxGraphView(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[513]]= new mxPoint;this[_0x83b3[2247]]= new mxRectangle;this[_0x83b3[1214]]= new mxDictionary}mxGraphView[_0x83b3[202]]= new mxEventSource;mxGraphView[_0x83b3[202]][_0x83b3[196]]= mxGraphView;mxGraphView[_0x83b3[202]][_0x83b3[2248]]= new mxPoint;mxGraphView[_0x83b3[202]][_0x83b3[2091]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[819]:_0x83b3[110];mxGraphView[_0x83b3[202]][_0x83b3[2249]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2250]:_0x83b3[110];mxGraphView[_0x83b3[202]][_0x83b3[2251]]= !1;mxGraphView[_0x83b3[202]][_0x83b3[2252]]= !0;mxGraphView[_0x83b3[202]][_0x83b3[2253]]= !0;mxGraphView[_0x83b3[202]][_0x83b3[2254]]= !0;mxGraphView[_0x83b3[202]][_0x83b3[1179]]= null;mxGraphView[_0x83b3[202]][_0x83b3[1741]]= null;mxGraphView[_0x83b3[202]][_0x83b3[2247]]= null;mxGraphView[_0x83b3[202]][_0x83b3[255]]= 1;mxGraphView[_0x83b3[202]][_0x83b3[513]]= null;mxGraphView[_0x83b3[202]][_0x83b3[2255]]= !1;mxGraphView[_0x83b3[202]][_0x83b3[517]]= function(){return this[_0x83b3[2247]]};mxGraphView[_0x83b3[202]][_0x83b3[2256]]= function(_0x187fx2){this[_0x83b3[2247]]= _0x187fx2};mxGraphView[_0x83b3[202]][_0x83b3[1799]]= function(_0x187fx2){var _0x187fx3=null;if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){for(var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){if(_0x187fx4[_0x83b3[1193]](_0x187fx2[_0x187fx5])|| _0x187fx4[_0x83b3[250]](_0x187fx2[_0x187fx5])){var _0x187fx9=this[_0x83b3[248]](_0x187fx2[_0x187fx5]);null!= _0x187fx9&& (null== _0x187fx3?_0x187fx3= new mxRectangle(_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]]):_0x187fx3[_0x83b3[99]](_0x187fx9))}}};return _0x187fx3};mxGraphView[_0x83b3[202]][_0x83b3[2257]]= function(_0x187fx2){if(this[_0x83b3[1741]]!= _0x187fx2){var _0x187fx3= new mxCurrentRootChange(this,_0x187fx2);_0x187fx3[_0x83b3[350]]();var _0x187fx4= new mxUndoableEdit(this,!1);_0x187fx4[_0x83b3[99]](_0x187fx3);this[_0x83b3[746]]( new mxEventObject(mxEvent.UNDO,_0x83b3[1061],_0x187fx4));this[_0x83b3[1179]][_0x83b3[2258]]()};return _0x187fx2};mxGraphView[_0x83b3[202]][_0x83b3[829]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[255]],_0x187fx9= new mxPoint(this[_0x83b3[513]][_0x83b3[235]],this[_0x83b3[513]][_0x83b3[236]]);if(this[_0x83b3[255]]!= _0x187fx2|| this[_0x83b3[513]][_0x83b3[235]]!= _0x187fx3|| this[_0x83b3[513]][_0x83b3[236]]!= _0x187fx4){this[_0x83b3[255]]= _0x187fx2,this[_0x83b3[513]][_0x83b3[235]]= _0x187fx3,this[_0x83b3[513]][_0x83b3[236]]= _0x187fx4,this[_0x83b3[503]]()&& (this[_0x83b3[2259]](),this[_0x83b3[1179]][_0x83b3[2258]]())};this[_0x83b3[746]]( new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,_0x83b3[255],_0x187fx2,_0x83b3[2260],_0x187fx5,_0x83b3[513],this[_0x83b3[513]],_0x83b3[2261],_0x187fx9))};mxGraphView[_0x83b3[202]][_0x83b3[518]]= function(){return this[_0x83b3[255]]};mxGraphView[_0x83b3[202]][_0x83b3[2262]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[255]];this[_0x83b3[255]]!= _0x187fx2&& (this[_0x83b3[255]]= _0x187fx2,this[_0x83b3[503]]()&& (this[_0x83b3[2259]](),this[_0x83b3[1179]][_0x83b3[2258]]()));this[_0x83b3[746]]( new mxEventObject(mxEvent.SCALE,_0x83b3[255],_0x187fx2,_0x83b3[2260],_0x187fx3))};mxGraphView[_0x83b3[202]][_0x83b3[512]]= function(){return this[_0x83b3[513]]};mxGraphView[_0x83b3[202]][_0x83b3[1147]]= function(_0x187fx2,_0x187fx3){var _0x187fx4= new mxPoint(this[_0x83b3[513]][_0x83b3[235]],this[_0x83b3[513]][_0x83b3[236]]);if(this[_0x83b3[513]][_0x83b3[235]]!= _0x187fx2|| this[_0x83b3[513]][_0x83b3[236]]!= _0x187fx3){this[_0x83b3[513]][_0x83b3[235]]= _0x187fx2,this[_0x83b3[513]][_0x83b3[236]]= _0x187fx3,this[_0x83b3[503]]()&& (this[_0x83b3[2259]](),this[_0x83b3[1179]][_0x83b3[2258]]())};this[_0x83b3[746]]( new mxEventObject(mxEvent.TRANSLATE,_0x83b3[513],this[_0x83b3[513]],_0x83b3[2261],_0x187fx4))};mxGraphView[_0x83b3[202]][_0x83b3[802]]= function(){null!= this[_0x83b3[1741]]&& this[_0x83b3[200]]();this[_0x83b3[2259]]()};mxGraphView[_0x83b3[202]][_0x83b3[2259]]= function(){this[_0x83b3[2263]]();this[_0x83b3[2264]]()};mxGraphView[_0x83b3[202]][_0x83b3[200]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx2= _0x187fx2|| _0x187fx5[_0x83b3[501]]();_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;this[_0x83b3[2265]](_0x187fx2);if(_0x187fx4&& (_0x187fx3|| _0x187fx2!= this[_0x83b3[1741]])){_0x187fx4= _0x187fx5[_0x83b3[262]](_0x187fx2);for(var _0x187fx9=0;_0x187fx9< _0x187fx4;_0x187fx9++){this[_0x83b3[200]](_0x187fx5[_0x83b3[263]](_0x187fx2,_0x187fx9),_0x187fx3)}}else {this[_0x83b3[2263]](_0x187fx2)}};mxGraphView[_0x83b3[202]][_0x83b3[2263]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx2= _0x187fx2|| _0x187fx9[_0x83b3[501]]();_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;_0x187fx5= null!= _0x187fx5?_0x187fx5:!1;var _0x187fxa=this[_0x83b3[248]](_0x187fx2);null!= _0x187fxa&& (_0x187fxa[_0x83b3[2080]]= !0,_0x187fx5&& (_0x187fxa[_0x83b3[2082]]= !0));if(_0x187fx3){for(var _0x187fx12=_0x187fx9[_0x83b3[262]](_0x187fx2),_0x187fxa=0;_0x187fxa< _0x187fx12;_0x187fxa++){var _0x187fx13=_0x187fx9[_0x83b3[263]](_0x187fx2,_0x187fxa);this[_0x83b3[2263]](_0x187fx13,_0x187fx3,_0x187fx4,_0x187fx5)}};if(_0x187fx4){_0x187fx5= _0x187fx9[_0x83b3[1707]](_0x187fx2);for(_0x187fxa= 0;_0x187fxa< _0x187fx5;_0x187fxa++){this[_0x83b3[2263]](_0x187fx9[_0x83b3[1708]](_0x187fx2,_0x187fxa),_0x187fx3,_0x187fx4)}}};mxGraphView[_0x83b3[202]][_0x83b3[2264]]= function(_0x187fx2){var _0x187fx3=mxLog[_0x83b3[2109]](_0x83b3[2266]);window[_0x83b3[879]]= mxResources[_0x83b3[203]](this[_0x83b3[2249]])|| this[_0x83b3[2249]];var _0x187fx4=null;if(this[_0x83b3[2253]]&& null!= this[_0x83b3[510]]&& null== this[_0x83b3[1653]]&& (8== document[_0x83b3[5]]|| mxClient[_0x83b3[496]])){_0x187fx4= this[_0x83b3[510]][_0x83b3[124]][_0x83b3[495]];this[_0x83b3[510]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130];var _0x187fx5=document[_0x83b3[55]](_0x83b3[485]);_0x187fx5[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx5[_0x83b3[124]][_0x83b3[493]]= _0x83b3[494];_0x187fx5[_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];_0x187fx5[_0x83b3[124]][_0x83b3[495]]= mxClient[_0x83b3[496]]?_0x83b3[497]:_0x83b3[498];_0x187fx5[_0x83b3[124]][_0x83b3[499]]= _0x83b3[500];document[_0x83b3[112]][_0x83b3[62]](_0x187fx5);this[_0x83b3[1653]]= _0x187fx5};_0x187fx2= _0x187fx2|| (null!= this[_0x83b3[1741]]?this[_0x83b3[1741]]:this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[501]]());this[_0x83b3[2267]](null,_0x187fx2);_0x187fx2= this[_0x83b3[2268]](null,_0x187fx2);null== _0x187fx2&& (_0x187fx2= new mxRectangle);this[_0x83b3[2256]](_0x187fx2);this[_0x83b3[2269]]();null!= _0x187fx4&& (this[_0x83b3[510]][_0x83b3[124]][_0x83b3[495]]= _0x187fx4,document[_0x83b3[112]][_0x83b3[266]](this[_0x83b3[1653]]),this[_0x83b3[1653]]= null);window[_0x83b3[879]]= mxResources[_0x83b3[203]](this[_0x83b3[2091]])|| this[_0x83b3[2091]];mxLog[_0x83b3[2110]](_0x83b3[2266],_0x187fx3)};mxGraphView[_0x83b3[202]][_0x83b3[2270]]= function(_0x187fx2){return new mxRectangleShape(_0x187fx2,_0x83b3[1391],_0x83b3[586])};mxGraphView[_0x83b3[202]][_0x83b3[2269]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[2271]]();if(null!= _0x187fx2){if(null== this[_0x83b3[1617]]|| this[_0x83b3[1617]][_0x83b3[618]]!= _0x187fx2[_0x83b3[390]]){null!= this[_0x83b3[1617]]&& this[_0x83b3[1617]][_0x83b3[515]]();var _0x187fx3= new mxRectangle(0,0,1,1);this[_0x83b3[1617]]= new mxImageShape(_0x187fx3,_0x187fx2[_0x83b3[390]]);this[_0x83b3[1617]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]];this[_0x83b3[1617]][_0x83b3[176]](this[_0x83b3[2053]]);this[_0x83b3[1617]][_0x83b3[258]]()};this[_0x83b3[2272]](this[_0x83b3[1617]],_0x187fx2)}else {null!= this[_0x83b3[1617]]&& (this[_0x83b3[1617]][_0x83b3[515]](),this[_0x83b3[1617]]= null)};this[_0x83b3[1179]][_0x83b3[2273]]?(_0x187fx3= this[_0x83b3[2274]](),null== this[_0x83b3[2275]]?(this[_0x83b3[2275]]= this[_0x83b3[2270]](_0x187fx3),this[_0x83b3[2275]][_0x83b3[255]]= this[_0x83b3[255]],this[_0x83b3[2275]][_0x83b3[1596]]= !0,this[_0x83b3[2275]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]],this[_0x83b3[2275]][_0x83b3[176]](this[_0x83b3[2053]]),this[_0x83b3[2275]][_0x83b3[258]](),mxEvent[_0x83b3[169]](this[_0x83b3[2275]][_0x83b3[252]],_0x83b3[760],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[761]](_0x187fx2)})),mxEvent[_0x83b3[759]](this[_0x83b3[2275]][_0x83b3[252]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx2))}),mxUtils[_0x83b3[885]](this,function(_0x187fx2){null!= this[_0x83b3[1179]][_0x83b3[2276]]&& this[_0x83b3[1179]][_0x83b3[2276]][_0x83b3[2277]]()&& this[_0x83b3[1179]][_0x83b3[2276]][_0x83b3[801]]();this[_0x83b3[1179]][_0x83b3[1009]]&& !mxEvent[_0x83b3[721]](_0x187fx2)&& this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx2))}),mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx2))}))):(this[_0x83b3[2275]][_0x83b3[255]]= this[_0x83b3[255]],this[_0x83b3[2275]][_0x83b3[1562]]= _0x187fx3,this[_0x83b3[2275]][_0x83b3[258]]())):null!= this[_0x83b3[2275]]&& (this[_0x83b3[2275]][_0x83b3[515]](),this[_0x83b3[2275]]= null)};mxGraphView[_0x83b3[202]][_0x83b3[2274]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[2013]],_0x187fx3=this[_0x83b3[255]]* this[_0x83b3[1179]][_0x83b3[2012]];return new mxRectangle(this[_0x83b3[255]]* this[_0x83b3[513]][_0x83b3[235]],this[_0x83b3[255]]* this[_0x83b3[513]][_0x83b3[236]],_0x187fx2[_0x83b3[117]]* _0x187fx3,_0x187fx2[_0x83b3[119]]* _0x187fx3)};mxGraphView[_0x83b3[202]][_0x83b3[2272]]= function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[255]]= this[_0x83b3[255]];_0x187fx2[_0x83b3[1562]][_0x83b3[235]]= this[_0x83b3[255]]* this[_0x83b3[513]][_0x83b3[235]];_0x187fx2[_0x83b3[1562]][_0x83b3[236]]= this[_0x83b3[255]]* this[_0x83b3[513]][_0x83b3[236]];_0x187fx2[_0x83b3[1562]][_0x83b3[117]]= this[_0x83b3[255]]* _0x187fx3[_0x83b3[117]];_0x187fx2[_0x83b3[1562]][_0x83b3[119]]= this[_0x83b3[255]]* _0x187fx3[_0x83b3[119]];_0x187fx2[_0x83b3[258]]()};mxGraphView[_0x83b3[202]][_0x83b3[2267]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=this[_0x83b3[248]](_0x187fx3,!0);if(null!= _0x187fx5&& _0x187fx5[_0x83b3[2080]]){if(this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx3)){if(_0x187fx3!= this[_0x83b3[1741]]&& null!= _0x187fx2){_0x187fx5[_0x83b3[2079]][_0x83b3[235]]= 0;_0x187fx5[_0x83b3[2079]][_0x83b3[236]]= 0;_0x187fx5[_0x83b3[2078]][_0x83b3[235]]= _0x187fx2[_0x83b3[2078]][_0x83b3[235]];_0x187fx5[_0x83b3[2078]][_0x83b3[236]]= _0x187fx2[_0x83b3[2078]][_0x83b3[236]];var _0x187fx9=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx3);if(null!= _0x187fx9){if(!_0x187fx4[_0x83b3[250]](_0x187fx3)){var _0x187fxa=_0x187fx9[_0x83b3[1368]]|| this[_0x83b3[2248]];_0x187fx9[_0x83b3[1500]]?(_0x187fx5[_0x83b3[2078]][_0x83b3[235]]+= _0x187fx9[_0x83b3[235]]* _0x187fx2[_0x83b3[117]]/ this[_0x83b3[255]]+ _0x187fxa[_0x83b3[235]],_0x187fx5[_0x83b3[2078]][_0x83b3[236]]+= _0x187fx9[_0x83b3[236]]* _0x187fx2[_0x83b3[119]]/ this[_0x83b3[255]]+ _0x187fxa[_0x83b3[236]]):(_0x187fx5[_0x83b3[2079]][_0x83b3[235]]= this[_0x83b3[255]]* _0x187fxa[_0x83b3[235]],_0x187fx5[_0x83b3[2079]][_0x83b3[236]]= this[_0x83b3[255]]* _0x187fxa[_0x83b3[236]],_0x187fx5[_0x83b3[2078]][_0x83b3[235]]+= _0x187fx9[_0x83b3[235]],_0x187fx5[_0x83b3[2078]][_0x83b3[236]]+= _0x187fx9[_0x83b3[236]])};_0x187fx5[_0x83b3[235]]= this[_0x83b3[255]]* (this[_0x83b3[513]][_0x83b3[235]]+ _0x187fx5[_0x83b3[2078]][_0x83b3[235]]);_0x187fx5[_0x83b3[236]]= this[_0x83b3[255]]* (this[_0x83b3[513]][_0x83b3[236]]+ _0x187fx5[_0x83b3[2078]][_0x83b3[236]]);_0x187fx5[_0x83b3[117]]= this[_0x83b3[255]]* _0x187fx9[_0x83b3[117]];_0x187fx5[_0x83b3[119]]= this[_0x83b3[255]]* _0x187fx9[_0x83b3[119]];if(_0x187fx4[_0x83b3[1193]](_0x187fx3)){if(_0x187fx9[_0x83b3[1500]]&& (_0x187fxa= mxUtils[_0x83b3[431]](_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]),0!= _0x187fxa)){var _0x187fx9=Math[_0x83b3[426]](_0x187fxa),_0x187fxa=Math[_0x83b3[427]](_0x187fxa),_0x187fx12= new mxPoint(_0x187fx5[_0x83b3[241]](),_0x187fx5[_0x83b3[242]]()),_0x187fx13= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]()),_0x187fx9=mxUtils[_0x83b3[432]](_0x187fx12,_0x187fx9,_0x187fxa,_0x187fx13);_0x187fx5[_0x83b3[235]]= _0x187fx9[_0x83b3[235]]- _0x187fx5[_0x83b3[117]]/ 2;_0x187fx5[_0x83b3[236]]= _0x187fx9[_0x83b3[236]]- _0x187fx5[_0x83b3[119]]/ 2};this[_0x83b3[2279]](_0x187fx5)}}}}else {this[_0x83b3[2265]](_0x187fx3)};_0x187fxa= this[_0x83b3[1179]][_0x83b3[2280]](_0x187fx3);null!= _0x187fxa&& (_0x187fx5[_0x83b3[2078]][_0x83b3[235]]+= _0x187fxa[_0x83b3[235]],_0x187fx5[_0x83b3[2078]][_0x83b3[236]]+= _0x187fxa[_0x83b3[236]])};if(null!= _0x187fx5&& (!this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx3)|| _0x187fx3== this[_0x83b3[1741]])){_0x187fx9= _0x187fx4[_0x83b3[262]](_0x187fx3);for(_0x187fxa= 0;_0x187fxa< _0x187fx9;_0x187fxa++){_0x187fx12= _0x187fx4[_0x83b3[263]](_0x187fx3,_0x187fxa),this[_0x83b3[2267]](_0x187fx5,_0x187fx12)}}};mxGraphView[_0x83b3[202]][_0x83b3[2279]]= function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0x187fx3== mxConstants[_0x83b3[2132]]?_0x187fx2[_0x83b3[2079]][_0x83b3[235]]-= _0x187fx2[_0x83b3[117]]:_0x187fx3== mxConstants[_0x83b3[480]]&& (_0x187fx2[_0x83b3[2079]][_0x83b3[235]]+= _0x187fx2[_0x83b3[117]]);_0x187fx3= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0x187fx3== mxConstants[_0x83b3[1687]]?_0x187fx2[_0x83b3[2079]][_0x83b3[236]]-= _0x187fx2[_0x83b3[119]]:_0x187fx3== mxConstants[_0x83b3[482]]&& (_0x187fx2[_0x83b3[2079]][_0x83b3[236]]+= _0x187fx2[_0x83b3[119]])};mxGraphView[_0x83b3[202]][_0x83b3[2268]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=this[_0x83b3[248]](_0x187fx3),_0x187fx9=null;if(null!= _0x187fx5){if(_0x187fx5[_0x83b3[2080]]){var _0x187fxa=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx3);if(null!= _0x187fxa&& _0x187fx4[_0x83b3[250]](_0x187fx3)){var _0x187fx12=this[_0x83b3[248]](this[_0x83b3[1710]](_0x187fx3,!0));_0x187fx5[_0x83b3[2090]](_0x187fx12,!0);if(null!= _0x187fx12&& _0x187fx4[_0x83b3[250]](_0x187fx12[_0x83b3[246]])&& !_0x187fx4[_0x83b3[1720]](_0x187fx12[_0x83b3[246]],_0x187fx3)){var _0x187fx13=this[_0x83b3[248]](_0x187fx4[_0x83b3[1197]](_0x187fx12[_0x83b3[246]]));this[_0x83b3[2268]](_0x187fx13,_0x187fx12[_0x83b3[246]])};var _0x187fx14=this[_0x83b3[248]](this[_0x83b3[1710]](_0x187fx3,!1));_0x187fx5[_0x83b3[2090]](_0x187fx14,!1);null!= _0x187fx14&& (_0x187fx4[_0x83b3[250]](_0x187fx14[_0x83b3[246]])&& !_0x187fx4[_0x83b3[1720]](_0x187fx14[_0x83b3[246]],_0x187fx3))&& (_0x187fx13= this[_0x83b3[248]](_0x187fx4[_0x83b3[1197]](_0x187fx14[_0x83b3[246]])),this[_0x83b3[2268]](_0x187fx13,_0x187fx14[_0x83b3[246]]));this[_0x83b3[2281]](_0x187fx5,_0x187fx12,_0x187fx14);this[_0x83b3[2282]](_0x187fx5,_0x187fxa[_0x83b3[1525]],_0x187fx12,_0x187fx14);this[_0x83b3[2283]](_0x187fx5,_0x187fx12,_0x187fx14);this[_0x83b3[2284]](_0x187fx5);this[_0x83b3[2285]](_0x187fx5)}else {null!= _0x187fxa&& (_0x187fxa[_0x83b3[1500]]&& null!= _0x187fx2&& _0x187fx4[_0x83b3[250]](_0x187fx2[_0x83b3[246]]))&& (_0x187fxa= this[_0x83b3[245]](_0x187fx2,_0x187fxa),null!= _0x187fxa&& (_0x187fx5[_0x83b3[235]]= _0x187fxa[_0x83b3[235]],_0x187fx5[_0x83b3[236]]= _0x187fxa[_0x83b3[236]],_0x187fxa[_0x83b3[235]]= _0x187fxa[_0x83b3[235]]/ this[_0x83b3[255]]- this[_0x83b3[513]][_0x83b3[235]],_0x187fxa[_0x83b3[236]]= _0x187fxa[_0x83b3[236]]/ this[_0x83b3[255]]- this[_0x83b3[513]][_0x83b3[236]],_0x187fx5[_0x83b3[2078]]= _0x187fxa,this[_0x83b3[2286]](_0x187fx2,_0x187fx5)))};_0x187fx5[_0x83b3[2080]]= !1;_0x187fx3!= this[_0x83b3[1741]]&& this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[258]](_0x187fx5,!1,this[_0x83b3[2287]]())};if(_0x187fx4[_0x83b3[250]](_0x187fx3)|| _0x187fx4[_0x83b3[1193]](_0x187fx3)){null!= _0x187fx5[_0x83b3[253]]&& null!= _0x187fx5[_0x83b3[253]][_0x83b3[1563]]&& (_0x187fx9= _0x187fx5[_0x83b3[253]][_0x83b3[1563]][_0x83b3[238]]()),null!= _0x187fx5[_0x83b3[963]]&& !this[_0x83b3[1179]][_0x83b3[2130]](_0x187fx5[_0x83b3[246]])&& null!= _0x187fx5[_0x83b3[963]][_0x83b3[1563]]&& (null!= _0x187fx9?_0x187fx9[_0x83b3[99]](_0x187fx5[_0x83b3[963]][_0x83b3[1563]]):_0x187fx9= _0x187fx5[_0x83b3[963]][_0x83b3[1563]][_0x83b3[238]]())}};if(null!= _0x187fx5&& (!this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx3)|| _0x187fx3== this[_0x83b3[1741]])){_0x187fxa= _0x187fx4[_0x83b3[262]](_0x187fx3);for(_0x187fx12= 0;_0x187fx12< _0x187fxa;_0x187fx12++){_0x187fx13= _0x187fx4[_0x83b3[263]](_0x187fx3,_0x187fx12),_0x187fx13= this[_0x83b3[2268]](_0x187fx5,_0x187fx13),null!= _0x187fx13&& (null== _0x187fx9?_0x187fx9= _0x187fx13:_0x187fx9[_0x83b3[99]](_0x187fx13))}};return _0x187fx9};mxGraphView[_0x83b3[202]][_0x83b3[2286]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx3[_0x83b3[246]];if(!this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx4)|| _0x187fx4== this[_0x83b3[1741]]){for(var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[262]](_0x187fx4),_0x187fxa=0;_0x187fxa< _0x187fx9;_0x187fxa++){this[_0x83b3[2267]](_0x187fx3,_0x187fx5[_0x83b3[263]](_0x187fx4,_0x187fxa))}}};mxGraphView[_0x83b3[202]][_0x83b3[2281]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[2289]](_0x187fx2,_0x187fx3,!0,this[_0x83b3[1179]][_0x83b3[2288]](_0x187fx2,_0x187fx3,!0));this[_0x83b3[2289]](_0x187fx2,_0x187fx4,!1,this[_0x83b3[1179]][_0x83b3[2288]](_0x187fx2,_0x187fx4,!1))};mxGraphView[_0x83b3[202]][_0x83b3[2289]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=null;null!= _0x187fx5&& (_0x187fx9= this[_0x83b3[1179]][_0x83b3[2290]](_0x187fx3,_0x187fx5));if(null== _0x187fx9&& null== _0x187fx3){_0x187fx3= this[_0x83b3[255]];_0x187fx5= this[_0x83b3[513]];var _0x187fxa=_0x187fx2[_0x83b3[2078]],_0x187fx9=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx2[_0x83b3[246]])[_0x83b3[2006]](_0x187fx4);null!= _0x187fx9&& (_0x187fx9= new mxPoint(_0x187fx3* (_0x187fx5[_0x83b3[235]]+ _0x187fx9[_0x83b3[235]]+ _0x187fxa[_0x83b3[235]]),_0x187fx3* (_0x187fx5[_0x83b3[236]]+ _0x187fx9[_0x83b3[236]]+ _0x187fxa[_0x83b3[236]])))};_0x187fx2[_0x83b3[2088]](_0x187fx9,_0x187fx4)};mxGraphView[_0x83b3[202]][_0x83b3[2282]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx2){var _0x187fx9=[];_0x187fx9[_0x83b3[207]](_0x187fx2[_0x83b3[439]][0]);var _0x187fxa=this[_0x83b3[2291]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5);if(null!= _0x187fxa){_0x187fx4= this[_0x83b3[2292]](_0x187fx2,_0x187fx4,!0),_0x187fx5= this[_0x83b3[2292]](_0x187fx2,_0x187fx5,!1),_0x187fxa(_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx3,_0x187fx9)}else {if(null!= _0x187fx3){for(_0x187fxa= 0;_0x187fxa< _0x187fx3[_0x83b3[67]];_0x187fxa++){null!= _0x187fx3[_0x187fxa]&& (_0x187fx5= mxUtils[_0x83b3[238]](_0x187fx3[_0x187fxa]),_0x187fx9[_0x83b3[207]](this[_0x83b3[2229]](_0x187fx2,_0x187fx5)))}}};_0x187fx3= _0x187fx2[_0x83b3[439]];_0x187fx9[_0x83b3[207]](_0x187fx3[_0x187fx3[_0x83b3[67]]- 1]);_0x187fx2[_0x83b3[439]]= _0x187fx9}};mxGraphView[_0x83b3[202]][_0x83b3[2229]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[2078]];return new mxPoint(this[_0x83b3[255]]* (_0x187fx3[_0x83b3[235]]+ this[_0x83b3[513]][_0x83b3[235]]+ _0x187fx4[_0x83b3[235]]),this[_0x83b3[255]]* (_0x187fx3[_0x83b3[236]]+ this[_0x83b3[513]][_0x83b3[236]]+ _0x187fx4[_0x83b3[236]]))};mxGraphView[_0x83b3[202]][_0x83b3[2291]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx2= null!= _0x187fx4&& _0x187fx4== _0x187fx5?mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_LOOP,this[_0x83b3[1179]][_0x83b3[2293]]):!mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_NOEDGESTYLE,!1)?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2294]]]:null;_0x83b3[1516]== typeof _0x187fx2&& (_0x187fx3= mxStyleRegistry[_0x83b3[433]](_0x187fx2),null== _0x187fx3&& this[_0x83b3[2295]]()&& (_0x187fx3= mxUtils[_0x83b3[1545]](_0x187fx2)),_0x187fx2= _0x187fx3);return _0x83b3[279]== typeof _0x187fx2?_0x187fx2:null};mxGraphView[_0x83b3[202]][_0x83b3[2283]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[439]],_0x187fx9=_0x187fx5[0];null== _0x187fx5[_0x187fx5[_0x83b3[67]]- 1]&& null!= _0x187fx4&& this[_0x83b3[2296]](_0x187fx2,_0x187fx4,_0x187fx3,!1);null== _0x187fx9&& null!= _0x187fx3&& this[_0x83b3[2296]](_0x187fx2,_0x187fx3,_0x187fx4,!0)};mxGraphView[_0x83b3[202]][_0x83b3[2296]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= this[_0x83b3[2292]](_0x187fx2,_0x187fx3,_0x187fx5);var _0x187fx9=this[_0x83b3[2297]](_0x187fx2,_0x187fx4,_0x187fx5),_0x187fxa=this[_0x83b3[1179]][_0x83b3[2298]](_0x187fx2);_0x187fx4= mxUtils[_0x83b3[431]](Number(_0x187fx3[_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]));var _0x187fx12= new mxPoint(_0x187fx3[_0x83b3[241]](),_0x187fx3[_0x83b3[242]]());if(0!= _0x187fx4){var _0x187fx13=Math[_0x83b3[426]](-_0x187fx4),_0x187fx14=Math[_0x83b3[427]](-_0x187fx4),_0x187fx9=mxUtils[_0x83b3[432]](_0x187fx9,_0x187fx13,_0x187fx14,_0x187fx12)};_0x187fx13= parseFloat(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2299]]]|| 0);_0x187fx13+= parseFloat(_0x187fx2[_0x83b3[124]][_0x187fx5?mxConstants[_0x83b3[2300]]:mxConstants[_0x83b3[2301]]]|| 0);_0x187fx3= this[_0x83b3[2302]](_0x187fx3,_0x187fx9,0== _0x187fx4&& _0x187fxa,_0x187fx13);0!= _0x187fx4&& (_0x187fx13= Math[_0x83b3[426]](_0x187fx4),_0x187fx14= Math[_0x83b3[427]](_0x187fx4),_0x187fx3= mxUtils[_0x83b3[432]](_0x187fx3,_0x187fx13,_0x187fx14,_0x187fx12));_0x187fx2[_0x83b3[2088]](_0x187fx3,_0x187fx5)};mxGraphView[_0x83b3[202]][_0x83b3[2292]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],_0x187fx4?mxConstants[_0x83b3[2303]]:mxConstants[_0x83b3[2304]]);null!= _0x187fx2&& (_0x187fx2= this[_0x83b3[248]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[736]](_0x187fx2)),null!= _0x187fx2&& (_0x187fx3= _0x187fx2));return _0x187fx3};mxGraphView[_0x83b3[202]][_0x83b3[2302]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=null;if(null!= _0x187fx2){var _0x187fxa=this[_0x83b3[2305]](_0x187fx2);if(null!= _0x187fxa&& null!= _0x187fx3&& (_0x187fx5= this[_0x83b3[2087]](_0x187fx2,_0x187fx5),0< _0x187fx5[_0x83b3[117]]|| 0< _0x187fx5[_0x83b3[119]])){_0x187fx9= _0x187fxa(_0x187fx5,_0x187fx2,_0x187fx3,_0x187fx4)};null== _0x187fx9&& (_0x187fx9= this[_0x83b3[245]](_0x187fx2))};return _0x187fx9};mxGraphView[_0x83b3[202]][_0x83b3[2230]]= function(_0x187fx2){var _0x187fx3=null!= _0x187fx2[_0x83b3[124]]?parseFloat(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2306]]])|| 0:0;return _0x187fx2[_0x83b3[241]]()+ _0x187fx3* _0x187fx2[_0x83b3[117]]};mxGraphView[_0x83b3[202]][_0x83b3[2228]]= function(_0x187fx2){var _0x187fx3=null!= _0x187fx2[_0x83b3[124]]?parseFloat(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2307]]])|| 0:0;return _0x187fx2[_0x83b3[242]]()+ _0x187fx3* _0x187fx2[_0x83b3[119]]};mxGraphView[_0x83b3[202]][_0x83b3[2087]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:0;null!= _0x187fx2&& (_0x187fx3+= parseFloat(_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2299]]]|| 0));return _0x187fx2[_0x83b3[2087]](_0x187fx3* this[_0x83b3[255]])};mxGraphView[_0x83b3[202]][_0x83b3[2305]]= function(_0x187fx2){_0x187fx2= _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2061]]];if(_0x83b3[1516]== typeof _0x187fx2){var _0x187fx3=mxStyleRegistry[_0x83b3[433]](_0x187fx2);null== _0x187fx3&& this[_0x83b3[2295]]()&& (_0x187fx3= mxUtils[_0x83b3[1545]](_0x187fx2));_0x187fx2= _0x187fx3};return _0x83b3[279]== typeof _0x187fx2?_0x187fx2:null};mxGraphView[_0x83b3[202]][_0x83b3[2297]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= _0x187fx2[_0x83b3[439]];var _0x187fx5=null;if(null!= _0x187fx2&& (_0x187fx4|| 2< _0x187fx2[_0x83b3[67]]|| null== _0x187fx3)){_0x187fx5= _0x187fx2[_0x83b3[67]],_0x187fx5= _0x187fx2[_0x187fx4?Math[_0x83b3[243]](1,_0x187fx5- 1):Math[_0x83b3[160]](0,_0x187fx5- 2)]};null== _0x187fx5&& null!= _0x187fx3&& (_0x187fx5= new mxPoint(_0x187fx3[_0x83b3[241]](),_0x187fx3[_0x83b3[242]]()));return _0x187fx5};mxGraphView[_0x83b3[202]][_0x83b3[1710]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx4[_0x83b3[1709]](_0x187fx2,_0x187fx3),_0x187fx9=_0x187fx5;null!= _0x187fx5&& _0x187fx5!= this[_0x83b3[1741]];){if(!this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx9)|| this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx5)){_0x187fx9= _0x187fx5};_0x187fx5= _0x187fx4[_0x83b3[1197]](_0x187fx5)};_0x187fx4[_0x83b3[1197]](_0x187fx9)== _0x187fx4[_0x83b3[501]]()&& (_0x187fx9= null);return _0x187fx9};mxGraphView[_0x83b3[202]][_0x83b3[2284]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[439]];_0x187fx2[_0x83b3[67]]= 0;if(null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]){var _0x187fx4=_0x187fx3[0],_0x187fx5=_0x187fx3[_0x187fx3[_0x83b3[67]]- 1];if(null== _0x187fx4|| null== _0x187fx5){_0x187fx2[_0x83b3[246]]!= this[_0x83b3[1741]]&& this[_0x83b3[200]](_0x187fx2[_0x83b3[246]],!0)}else {if(_0x187fx4[_0x83b3[235]]!= _0x187fx5[_0x83b3[235]]|| _0x187fx4[_0x83b3[236]]!= _0x187fx5[_0x83b3[236]]){var _0x187fx9=_0x187fx5[_0x83b3[235]]- _0x187fx4[_0x83b3[235]],_0x187fxa=_0x187fx5[_0x83b3[236]]- _0x187fx4[_0x83b3[236]];_0x187fx2[_0x83b3[2085]]= Math[_0x83b3[428]](_0x187fx9* _0x187fx9+ _0x187fxa* _0x187fxa)}else {_0x187fx2[_0x83b3[2085]]= 0};var _0x187fx5=0,_0x187fx12=[],_0x187fxa=_0x187fx4;if(null!= _0x187fxa){for(var _0x187fx4=_0x187fxa[_0x83b3[235]],_0x187fx13=_0x187fxa[_0x83b3[236]],_0x187fx14=_0x187fx4,_0x187fx15=_0x187fx13,_0x187fx16=1;_0x187fx16< _0x187fx3[_0x83b3[67]];_0x187fx16++){var _0x187fx17=_0x187fx3[_0x187fx16];null!= _0x187fx17&& (_0x187fx9= _0x187fxa[_0x83b3[235]]- _0x187fx17[_0x83b3[235]],_0x187fxa= _0x187fxa[_0x83b3[236]]- _0x187fx17[_0x83b3[236]],_0x187fx9= Math[_0x83b3[428]](_0x187fx9* _0x187fx9+ _0x187fxa* _0x187fxa),_0x187fx12[_0x83b3[207]](_0x187fx9),_0x187fx5+= _0x187fx9,_0x187fxa= _0x187fx17,_0x187fx4= Math[_0x83b3[243]](_0x187fxa[_0x83b3[235]],_0x187fx4),_0x187fx13= Math[_0x83b3[243]](_0x187fxa[_0x83b3[236]],_0x187fx13),_0x187fx14= Math[_0x83b3[160]](_0x187fxa[_0x83b3[235]],_0x187fx14),_0x187fx15= Math[_0x83b3[160]](_0x187fxa[_0x83b3[236]],_0x187fx15))};_0x187fx2[_0x83b3[67]]= _0x187fx5;_0x187fx2[_0x83b3[2086]]= _0x187fx12;_0x187fx2[_0x83b3[235]]= _0x187fx4;_0x187fx2[_0x83b3[236]]= _0x187fx13;_0x187fx2[_0x83b3[117]]= Math[_0x83b3[160]](1,_0x187fx14- _0x187fx4);_0x187fx2[_0x83b3[119]]= Math[_0x83b3[160]](1,_0x187fx15- _0x187fx13)}}}};mxGraphView[_0x83b3[202]][_0x83b3[245]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[241]](),_0x187fx5=_0x187fx2[_0x83b3[242]]();if(null!= _0x187fx2[_0x83b3[2086]]&& (null== _0x187fx3|| _0x187fx3[_0x83b3[1500]])){for(var _0x187fx9=_0x187fx2[_0x83b3[439]][_0x83b3[67]],_0x187fxa=((null!= _0x187fx3?_0x187fx3[_0x83b3[235]]/ 2:0)+ 0.5)* _0x187fx2[_0x83b3[67]],_0x187fx12=_0x187fx2[_0x83b3[2086]][0],_0x187fx13=0,_0x187fx14=1;_0x187fxa> _0x187fx13+ _0x187fx12&& _0x187fx14< _0x187fx9- 1;){_0x187fx13+= _0x187fx12,_0x187fx12= _0x187fx2[_0x83b3[2086]][_0x187fx14++]};_0x187fx9= 0== _0x187fx12?0:(_0x187fxa- _0x187fx13)/ _0x187fx12;_0x187fxa= _0x187fx2[_0x83b3[439]][_0x187fx14- 1];_0x187fx14= _0x187fx2[_0x83b3[439]][_0x187fx14];if(null!= _0x187fxa&& null!= _0x187fx14){_0x187fx13= _0x187fx4= _0x187fx5= 0;if(null!= _0x187fx3){var _0x187fx5=_0x187fx3[_0x83b3[236]],_0x187fx15=_0x187fx3[_0x83b3[1368]];null!= _0x187fx15&& (_0x187fx4= _0x187fx15[_0x83b3[235]],_0x187fx13= _0x187fx15[_0x83b3[236]])};_0x187fx15= _0x187fx14[_0x83b3[235]]- _0x187fxa[_0x83b3[235]];_0x187fx14= _0x187fx14[_0x83b3[236]]- _0x187fxa[_0x83b3[236]];_0x187fx4= _0x187fxa[_0x83b3[235]]+ _0x187fx15* _0x187fx9+ ((0== _0x187fx12?0:_0x187fx14/ _0x187fx12)* _0x187fx5+ _0x187fx4)* this[_0x83b3[255]];_0x187fx5= _0x187fxa[_0x83b3[236]]+ _0x187fx14* _0x187fx9- ((0== _0x187fx12?0:_0x187fx15/ _0x187fx12)* _0x187fx5- _0x187fx13)* this[_0x83b3[255]]}}else {null!= _0x187fx3&& (_0x187fx15= _0x187fx3[_0x83b3[1368]],null!= _0x187fx15&& (_0x187fx4+= _0x187fx15[_0x83b3[235]],_0x187fx5+= _0x187fx15[_0x83b3[236]]))};return new mxPoint(_0x187fx4,_0x187fx5)};mxGraphView[_0x83b3[202]][_0x83b3[2308]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1721]](_0x187fx2[_0x83b3[246]]);if(null!= _0x187fx5){var _0x187fx9=_0x187fx2[_0x83b3[439]][_0x83b3[67]];if(_0x187fx5[_0x83b3[1500]]&& 1< _0x187fx9){for(var _0x187fx5=_0x187fx2[_0x83b3[67]],_0x187fxa=_0x187fx2[_0x83b3[2086]],_0x187fx12=_0x187fx2[_0x83b3[439]][0],_0x187fx13=_0x187fx2[_0x83b3[439]][1],_0x187fx14=mxUtils[_0x83b3[440]](_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],_0x187fx3,_0x187fx4),_0x187fx15=0,_0x187fx16=0,_0x187fx17=0,_0x187fx18=2;_0x187fx18< _0x187fx9;_0x187fx18++){_0x187fx16+= _0x187fxa[_0x187fx18- 2],_0x187fx13= _0x187fx2[_0x83b3[439]][_0x187fx18],_0x187fx12= mxUtils[_0x83b3[440]](_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],_0x187fx3,_0x187fx4),_0x187fx12<= _0x187fx14&& (_0x187fx14= _0x187fx12,_0x187fx15= _0x187fx18- 1,_0x187fx17= _0x187fx16),_0x187fx12= _0x187fx13};_0x187fx9= _0x187fxa[_0x187fx15];_0x187fx12= _0x187fx2[_0x83b3[439]][_0x187fx15];_0x187fx13= _0x187fx2[_0x83b3[439]][_0x187fx15+ 1];_0x187fx14= _0x187fx13[_0x83b3[235]];_0x187fxa= _0x187fx13[_0x83b3[236]];_0x187fx2= _0x187fx12[_0x83b3[235]]- _0x187fx14;_0x187fx15= _0x187fx12[_0x83b3[236]]- _0x187fxa;_0x187fx14= _0x187fx3- _0x187fx14;_0x187fxa= _0x187fx4- _0x187fxa;_0x187fx14= _0x187fx2- _0x187fx14;_0x187fxa= _0x187fx15- _0x187fxa;_0x187fxa= _0x187fx14* _0x187fx2+ _0x187fxa* _0x187fx15;_0x187fx2= Math[_0x83b3[428]](0>= _0x187fxa?0:_0x187fxa* _0x187fxa/ (_0x187fx2* _0x187fx2+ _0x187fx15* _0x187fx15));_0x187fx2> _0x187fx9&& (_0x187fx2= _0x187fx9);_0x187fx9= Math[_0x83b3[428]](mxUtils[_0x83b3[440]](_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],_0x187fx3,_0x187fx4));-1== mxUtils[_0x83b3[2309]](_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],_0x187fx13[_0x83b3[235]],_0x187fx13[_0x83b3[236]],_0x187fx3,_0x187fx4)&& (_0x187fx9= -_0x187fx9);return new mxPoint(-2* ((_0x187fx5/ 2- _0x187fx17- _0x187fx2)/ _0x187fx5),_0x187fx9/ this[_0x83b3[255]])}};return new mxPoint};mxGraphView[_0x83b3[202]][_0x83b3[2285]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[439]];_0x187fx2[_0x83b3[2079]][_0x83b3[235]]= _0x187fx2[_0x83b3[241]]();_0x187fx2[_0x83b3[2079]][_0x83b3[236]]= _0x187fx2[_0x83b3[242]]();if(null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]&& null!= _0x187fx2[_0x83b3[2086]]){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx2[_0x83b3[246]]);if(_0x187fx4[_0x83b3[1500]]){var _0x187fx5=this[_0x83b3[245]](_0x187fx2,_0x187fx4);null!= _0x187fx5&& (_0x187fx2[_0x83b3[2079]]= _0x187fx5)}else {var _0x187fx5=_0x187fx3[0],_0x187fx9=_0x187fx3[_0x187fx3[_0x83b3[67]]- 1];if(null!= _0x187fx5&& null!= _0x187fx9){var _0x187fx3=_0x187fx9[_0x83b3[235]]- _0x187fx5[_0x83b3[235]],_0x187fxa=_0x187fx9[_0x83b3[236]]- _0x187fx5[_0x83b3[236]],_0x187fx12=_0x187fx9= 0,_0x187fx4=_0x187fx4[_0x83b3[1368]];null!= _0x187fx4&& (_0x187fx9= _0x187fx4[_0x83b3[235]],_0x187fx12= _0x187fx4[_0x83b3[236]]);_0x187fx4= _0x187fx5[_0x83b3[236]]+ _0x187fxa/ 2+ _0x187fx12* this[_0x83b3[255]];_0x187fx2[_0x83b3[2079]][_0x83b3[235]]= _0x187fx5[_0x83b3[235]]+ _0x187fx3/ 2+ _0x187fx9* this[_0x83b3[255]];_0x187fx2[_0x83b3[2079]][_0x83b3[236]]= _0x187fx4}}}};mxGraphView[_0x83b3[202]][_0x83b3[248]]= function(_0x187fx2,_0x187fx3){_0x187fx3= _0x187fx3|| !1;var _0x187fx4=null;null!= _0x187fx2&& (_0x187fx4= this[_0x83b3[1214]][_0x83b3[203]](_0x187fx2),this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx2)&& (null== _0x187fx4&& _0x187fx3&& this[_0x83b3[1179]][_0x83b3[1714]](_0x187fx2)?(_0x187fx4= this[_0x83b3[1230]](_0x187fx2),this[_0x83b3[1214]][_0x83b3[204]](_0x187fx2,_0x187fx4)):_0x187fx3&& (null!= _0x187fx4&& this[_0x83b3[2255]])&& (_0x187fx4[_0x83b3[124]]= this[_0x83b3[1179]][_0x83b3[1705]](_0x187fx2))));return _0x187fx4};mxGraphView[_0x83b3[202]][_0x83b3[2287]]= function(){return this[_0x83b3[2254]]};mxGraphView[_0x83b3[202]][_0x83b3[2310]]= function(_0x187fx2){this[_0x83b3[2254]]= _0x187fx2};mxGraphView[_0x83b3[202]][_0x83b3[2295]]= function(){return this[_0x83b3[2251]]};mxGraphView[_0x83b3[202]][_0x83b3[2311]]= function(_0x187fx2){this[_0x83b3[2251]]= _0x187fx2};mxGraphView[_0x83b3[202]][_0x83b3[2312]]= function(){return this[_0x83b3[1214]]};mxGraphView[_0x83b3[202]][_0x83b3[1517]]= function(_0x187fx2){this[_0x83b3[1214]]= _0x187fx2};mxGraphView[_0x83b3[202]][_0x83b3[2313]]= function(_0x187fx2){if(null== _0x187fx2){return this[_0x83b3[1214]]};for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx5=this[_0x83b3[248]](_0x187fx2[_0x187fx4]);null!= _0x187fx5&& _0x187fx3[_0x83b3[207]](_0x187fx5)};return _0x187fx3};mxGraphView[_0x83b3[202]][_0x83b3[2265]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2&& (_0x187fx3= this[_0x83b3[1214]][_0x83b3[205]](_0x187fx2),null!= _0x187fx3&& (this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[515]](_0x187fx3),_0x187fx3[_0x83b3[515]]()));return _0x187fx3};mxGraphView[_0x83b3[202]][_0x83b3[1230]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[1705]](_0x187fx2);_0x187fx2= new mxCellState(this,_0x187fx2,_0x187fx3);this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[2155]](_0x187fx2,this[_0x83b3[2287]]());return _0x187fx2};mxGraphView[_0x83b3[202]][_0x83b3[2051]]= function(){return this[_0x83b3[510]]};mxGraphView[_0x83b3[202]][_0x83b3[2052]]= function(){return this[_0x83b3[2053]]};mxGraphView[_0x83b3[202]][_0x83b3[2024]]= function(){return this[_0x83b3[505]]};mxGraphView[_0x83b3[202]][_0x83b3[1524]]= function(){return this[_0x83b3[506]]};mxGraphView[_0x83b3[202]][_0x83b3[2314]]= function(_0x187fx2){_0x187fx2= mxEvent[_0x83b3[728]](_0x187fx2);return _0x187fx2== this[_0x83b3[1179]][_0x83b3[526]]|| _0x187fx2[_0x83b3[265]]== this[_0x83b3[2053]]|| null!= _0x187fx2[_0x83b3[265]]&& _0x187fx2[_0x83b3[265]][_0x83b3[265]]== this[_0x83b3[2053]]|| _0x187fx2== this[_0x83b3[510]][_0x83b3[265]]|| _0x187fx2== this[_0x83b3[510]]|| _0x187fx2== this[_0x83b3[2053]]|| _0x187fx2== this[_0x83b3[505]]|| _0x187fx2== this[_0x83b3[506]]};mxGraphView[_0x83b3[202]][_0x83b3[2315]]= function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[445]](this[_0x83b3[1179]][_0x83b3[526]]);_0x187fx2= new mxPoint(_0x187fx2[_0x83b3[782]]- _0x187fx3[_0x83b3[235]],_0x187fx2[_0x83b3[784]]- _0x187fx3[_0x83b3[236]]);var _0x187fx3=this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[359]],_0x187fx4=this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[159]];if(_0x187fx3> _0x187fx4&& _0x187fx2[_0x83b3[235]]> _0x187fx4+ 2&& _0x187fx2[_0x83b3[235]]<= _0x187fx3){return !0};_0x187fx3= this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[167]];_0x187fx4= this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[157]];return _0x187fx3> _0x187fx4&& _0x187fx2[_0x83b3[236]]> _0x187fx4+ 2&& _0x187fx2[_0x83b3[236]]<= _0x187fx3?!0:!1};mxGraphView[_0x83b3[202]][_0x83b3[176]]= function(){this[_0x83b3[2163]]();var _0x187fx2=this[_0x83b3[1179]];_0x187fx2[_0x83b3[507]]== mxConstants[_0x83b3[508]]?this[_0x83b3[1569]]():_0x187fx2[_0x83b3[507]]== mxConstants[_0x83b3[1523]]?this[_0x83b3[1571]]():this[_0x83b3[1570]]()};mxGraphView[_0x83b3[202]][_0x83b3[2163]]= function(){var _0x187fx2=this[_0x83b3[1179]],_0x187fx3=_0x187fx2[_0x83b3[526]];if(null!= _0x187fx3){mxEvent[_0x83b3[759]](_0x187fx3,mxUtils[_0x83b3[885]](this,function(_0x187fx3){mxClient[_0x83b3[754]]&& _0x187fx2[_0x83b3[2203]]()&& _0x187fx2[_0x83b3[2126]](!_0x187fx2[_0x83b3[2134]]());this[_0x83b3[2314]](_0x187fx3)&& (!mxClient[_0x83b3[80]]&& !mxClient[_0x83b3[76]]&& !mxClient[_0x83b3[71]]&& !mxClient[_0x83b3[75]]|| !this[_0x83b3[2315]](_0x187fx3))&& _0x187fx2[_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx3))}),mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2314]](_0x187fx3)&& _0x187fx2[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx3))}),mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2314]](_0x187fx3)&& _0x187fx2[_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx3))}));mxEvent[_0x83b3[169]](_0x187fx3,_0x83b3[760],mxUtils[_0x83b3[885]](this,function(_0x187fx3){_0x187fx2[_0x83b3[761]](_0x187fx3)}));var _0x187fx4=function(_0x187fx4){var _0x187fx9=null;mxClient[_0x83b3[754]]&& (_0x187fx9= mxEvent[_0x83b3[731]](_0x187fx4),_0x187fx4= mxEvent[_0x83b3[733]](_0x187fx4),_0x187fx4= mxUtils[_0x83b3[2196]](_0x187fx3,_0x187fx9,_0x187fx4),_0x187fx9= _0x187fx2[_0x83b3[441]][_0x83b3[248]](_0x187fx2[_0x83b3[999]](_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]])));return _0x187fx9};_0x187fx2[_0x83b3[1133]]({mouseDown:function(_0x187fx3,_0x187fx4){_0x187fx2[_0x83b3[2316]][_0x83b3[1032]]()},mouseMove:function(){},mouseUp:function(){}});this[_0x83b3[2317]]= mxUtils[_0x83b3[885]](this,function(_0x187fx3){null!= _0x187fx2[_0x83b3[2276]]&& _0x187fx2[_0x83b3[2276]][_0x83b3[2277]]()&& _0x187fx2[_0x83b3[2276]][_0x83b3[801]]();this[_0x83b3[2252]]&& (_0x187fx2[_0x83b3[1009]]&& !mxEvent[_0x83b3[721]](_0x187fx3))&& _0x187fx2[_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx3,_0x187fx4(_0x187fx3)))});this[_0x83b3[2318]]= mxUtils[_0x83b3[885]](this,function(_0x187fx3){this[_0x83b3[2252]]&& _0x187fx2[_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx3))});mxEvent[_0x83b3[759]](document,null,this[_0x83b3[2317]],this[_0x83b3[2318]])}};mxGraphView[_0x83b3[202]][_0x83b3[1570]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[526]];null!= _0x187fx2&& (this[_0x83b3[510]]= this[_0x83b3[2319]](_0x83b3[118],_0x83b3[118]),this[_0x83b3[2053]]= this[_0x83b3[2319]](_0x83b3[942],_0x83b3[942]),this[_0x83b3[505]]= this[_0x83b3[2319]](_0x83b3[942],_0x83b3[942]),this[_0x83b3[506]]= this[_0x83b3[2319]](_0x83b3[942],_0x83b3[942]),this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[2053]]),this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[505]]),this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[506]]),_0x187fx2[_0x83b3[62]](this[_0x83b3[510]]),mxClient[_0x83b3[496]]&& (_0x187fx2= mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx2= this[_0x83b3[517]]();this[_0x83b3[2320]](_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]+ this[_0x83b3[1179]][_0x83b3[467]],_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]+ this[_0x83b3[1179]][_0x83b3[467]])}),mxEvent[_0x83b3[169]](window,_0x83b3[129],_0x187fx2)))};mxGraphView[_0x83b3[202]][_0x83b3[2320]]= function(_0x187fx2,_0x187fx3){if(null!= this[_0x83b3[1179]][_0x83b3[526]]){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[167]];this[_0x83b3[510]][_0x83b3[124]][_0x83b3[117]]= this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[359]]< _0x187fx2?_0x187fx2+ _0x83b3[168]:_0x83b3[118];this[_0x83b3[510]][_0x83b3[124]][_0x83b3[119]]= _0x187fx4< _0x187fx3?_0x187fx3+ _0x83b3[168]:_0x83b3[118]}};mxGraphView[_0x83b3[202]][_0x83b3[2319]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[529]);null!= _0x187fx2&& null!= _0x187fx3?(_0x187fx4[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492],_0x187fx4[_0x83b3[124]][_0x83b3[361]]= _0x83b3[946],_0x187fx4[_0x83b3[124]][_0x83b3[125]]= _0x83b3[946],_0x187fx4[_0x83b3[124]][_0x83b3[117]]= _0x187fx2,_0x187fx4[_0x83b3[124]][_0x83b3[119]]= _0x187fx3):_0x187fx4[_0x83b3[124]][_0x83b3[491]]= _0x83b3[1500];return _0x187fx4};mxGraphView[_0x83b3[202]][_0x83b3[1571]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[526]];if(null!= _0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[359]],_0x187fx4=_0x187fx2[_0x83b3[167]];this[_0x83b3[510]]= this[_0x83b3[2321]](_0x187fx3,_0x187fx4);this[_0x83b3[2053]]= this[_0x83b3[2321]](_0x187fx3,_0x187fx4);this[_0x83b3[505]]= this[_0x83b3[2321]](_0x187fx3,_0x187fx4);this[_0x83b3[506]]= this[_0x83b3[2321]](_0x187fx3,_0x187fx4);this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[2053]]);this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[505]]);this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[506]]);_0x187fx2[_0x83b3[62]](this[_0x83b3[510]])}};mxGraphView[_0x83b3[202]][_0x83b3[2321]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](mxClient[_0x83b3[463]]+ _0x83b3[1499]);_0x187fx4[_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];_0x187fx4[_0x83b3[124]][_0x83b3[361]]= _0x83b3[946];_0x187fx4[_0x83b3[124]][_0x83b3[125]]= _0x83b3[946];_0x187fx4[_0x83b3[124]][_0x83b3[117]]= _0x187fx2+ _0x83b3[168];_0x187fx4[_0x83b3[124]][_0x83b3[119]]= _0x187fx3+ _0x83b3[168];_0x187fx4[_0x83b3[57]](_0x83b3[1462],_0x187fx2+ _0x83b3[537]+ _0x187fx3);_0x187fx4[_0x83b3[57]](_0x83b3[2322],_0x83b3[2323]);return _0x187fx4};mxGraphView[_0x83b3[202]][_0x83b3[1569]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[526]];this[_0x83b3[510]]= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449]);this[_0x83b3[2053]]= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449]);this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[2053]]);this[_0x83b3[505]]= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449]);this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[505]]);this[_0x83b3[506]]= document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[449]);this[_0x83b3[510]][_0x83b3[62]](this[_0x83b3[506]]);var _0x187fx3=document[_0x83b3[509]](mxConstants.NS_SVG,_0x83b3[571]);_0x187fx3[_0x83b3[124]][_0x83b3[117]]= _0x83b3[118];_0x187fx3[_0x83b3[124]][_0x83b3[119]]= _0x83b3[118];_0x187fx3[_0x83b3[124]][_0x83b3[495]]= _0x83b3[694];_0x187fx3[_0x83b3[62]](this[_0x83b3[510]]);null!= _0x187fx2&& (_0x187fx2[_0x83b3[62]](_0x187fx3),_0x83b3[2324]== mxUtils[_0x83b3[275]](_0x187fx2)[_0x83b3[491]]&& (_0x187fx2[_0x83b3[124]][_0x83b3[491]]= _0x83b3[1500]))};mxGraphView[_0x83b3[202]][_0x83b3[515]]= function(){var _0x187fx2=null!= this[_0x83b3[510]]?this[_0x83b3[510]][_0x83b3[538]]:null;null== _0x187fx2&& (_0x187fx2= this[_0x83b3[510]]);null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[265]]&& (this[_0x83b3[200]](this[_0x83b3[1741]],!0),mxEvent[_0x83b3[938]](document,null,this[_0x83b3[2317]],this[_0x83b3[2318]]),mxEvent[_0x83b3[762]](this[_0x83b3[1179]][_0x83b3[526]]),_0x187fx2[_0x83b3[265]][_0x83b3[266]](_0x187fx2),this[_0x83b3[506]]= this[_0x83b3[505]]= this[_0x83b3[2053]]= this[_0x83b3[510]]= this[_0x83b3[2318]]= this[_0x83b3[2317]]= null)};function mxCurrentRootChange(_0x187fx2,_0x187fx3){this[_0x83b3[441]]= _0x187fx2;this[_0x83b3[257]]= this[_0x83b3[813]]= _0x187fx3;this[_0x83b3[2325]]= null== _0x187fx3;if(!this[_0x83b3[2325]]){for(var _0x187fx4=this[_0x83b3[441]][_0x83b3[1741]],_0x187fx5=this[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]();null!= _0x187fx4;){if(_0x187fx4== _0x187fx3){this[_0x83b3[2325]]= !0;break};_0x187fx4= _0x187fx5[_0x83b3[1197]](_0x187fx4)}}}mxCurrentRootChange[_0x83b3[202]][_0x83b3[350]]= function(){var _0x187fx2=this[_0x83b3[441]][_0x83b3[1741]];this[_0x83b3[441]][_0x83b3[1741]]= this[_0x83b3[257]];this[_0x83b3[257]]= _0x187fx2;_0x187fx2= this[_0x83b3[441]][_0x83b3[1179]][_0x83b3[2326]](this[_0x83b3[441]][_0x83b3[1741]]);null!= _0x187fx2&& (this[_0x83b3[441]][_0x83b3[513]]= new mxPoint(-_0x187fx2[_0x83b3[235]],-_0x187fx2[_0x83b3[236]]));this[_0x83b3[441]][_0x83b3[746]]( new mxEventObject(this[_0x83b3[2325]]?mxEvent[_0x83b3[2327]]:mxEvent[_0x83b3[2328]],_0x83b3[813],this[_0x83b3[441]][_0x83b3[1741]],_0x83b3[257],this[_0x83b3[257]]));this[_0x83b3[2325]]?(this[_0x83b3[441]][_0x83b3[200]](this[_0x83b3[441]][_0x83b3[1741]],!0),this[_0x83b3[441]][_0x83b3[2264]]()):this[_0x83b3[441]][_0x83b3[802]]();this[_0x83b3[2325]]= !this[_0x83b3[2325]]};function mxGraph(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[2329]]= null;this[_0x83b3[2330]]= _0x187fx4;this[_0x83b3[507]]= mxClient[_0x83b3[48]]?mxConstants[_0x83b3[508]]:_0x187fx4== mxConstants[_0x83b3[2331]]&& mxClient[_0x83b3[47]]?mxConstants[_0x83b3[1523]]:_0x187fx4== mxConstants[_0x83b3[2332]]?mxConstants[_0x83b3[1656]]:_0x187fx4== mxConstants[_0x83b3[2333]]?mxConstants[_0x83b3[2209]]:mxConstants[_0x83b3[2334]];this[_0x83b3[251]]= null!= _0x187fx3?_0x187fx3: new mxGraphModel;this[_0x83b3[2335]]= [];this[_0x83b3[2336]]= [];this[_0x83b3[259]]= this[_0x83b3[2337]]();this[_0x83b3[2339]](this[_0x83b3[2338]]());this[_0x83b3[2341]](null!= _0x187fx5?_0x187fx5:this[_0x83b3[2340]]());this[_0x83b3[441]]= this[_0x83b3[2342]]();this[_0x83b3[2343]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[1177]](_0x187fx3[_0x83b3[720]](_0x83b3[1061])[_0x83b3[1065]])});this[_0x83b3[251]][_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[2343]]);this[_0x83b3[2344]]();null!= _0x187fx2&& this[_0x83b3[176]](_0x187fx2);this[_0x83b3[441]][_0x83b3[2259]]()}mxLoadResources&& mxResources[_0x83b3[99]](mxClient[_0x83b3[86]]+ _0x83b3[2345]);mxGraph[_0x83b3[202]]= new mxEventSource;mxGraph[_0x83b3[202]][_0x83b3[196]]= mxGraph;mxGraph[_0x83b3[202]][_0x83b3[2346]]= [];mxGraph[_0x83b3[202]][_0x83b3[2329]]= null;mxGraph[_0x83b3[202]][_0x83b3[1009]]= !1;mxGraph[_0x83b3[202]][_0x83b3[251]]= null;mxGraph[_0x83b3[202]][_0x83b3[441]]= null;mxGraph[_0x83b3[202]][_0x83b3[94]]= null;mxGraph[_0x83b3[202]][_0x83b3[2105]]= null;mxGraph[_0x83b3[202]][_0x83b3[2347]]= null;mxGraph[_0x83b3[202]][_0x83b3[259]]= null;mxGraph[_0x83b3[202]][_0x83b3[2335]]= null;mxGraph[_0x83b3[202]][_0x83b3[2330]]= null;mxGraph[_0x83b3[202]][_0x83b3[507]]= null;mxGraph[_0x83b3[202]][_0x83b3[1020]]= 10;mxGraph[_0x83b3[202]][_0x83b3[991]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2348]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2349]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2350]]= 700;mxGraph[_0x83b3[202]][_0x83b3[2351]]= 25;mxGraph[_0x83b3[202]][_0x83b3[2352]]= 0;mxGraph[_0x83b3[202]][_0x83b3[2352]]= 0;mxGraph[_0x83b3[202]][_0x83b3[2213]]= 0;mxGraph[_0x83b3[202]][_0x83b3[2215]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2353]]= 4;mxGraph[_0x83b3[202]][_0x83b3[2354]]= 0.5;mxGraph[_0x83b3[202]][_0x83b3[2355]]= null;mxGraph[_0x83b3[202]][_0x83b3[2356]]= null;mxGraph[_0x83b3[202]][_0x83b3[1617]]= null;mxGraph[_0x83b3[202]][_0x83b3[2273]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2357]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2358]]= _0x83b3[579];mxGraph[_0x83b3[202]][_0x83b3[2359]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2360]]= 20;mxGraph[_0x83b3[202]][_0x83b3[2361]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2013]]= mxConstants[_0x83b3[516]];mxGraph[_0x83b3[202]][_0x83b3[2012]]= 1.5;mxGraph[_0x83b3[202]][_0x83b3[984]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2362]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2363]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2364]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2365]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2366]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2367]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2368]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2369]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2206]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2370]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2371]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2372]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2373]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2374]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2375]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2376]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2377]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2378]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2379]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2380]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2381]]= !1;mxGraph[_0x83b3[202]][_0x83b3[1012]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2382]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2383]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2384]]= !1;mxGraph[_0x83b3[202]][_0x83b3[1013]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2385]]= null;mxGraph[_0x83b3[202]][_0x83b3[2386]]= null;mxGraph[_0x83b3[202]][_0x83b3[2387]]= null;mxGraph[_0x83b3[202]][_0x83b3[2388]]= null;mxGraph[_0x83b3[202]][_0x83b3[2389]]= !1;mxGraph[_0x83b3[202]][_0x83b3[467]]= 0;mxGraph[_0x83b3[202]][_0x83b3[2158]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2159]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2168]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2390]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2391]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2392]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2393]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2394]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2395]]= 1.2;mxGraph[_0x83b3[202]][_0x83b3[2396]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2397]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2398]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2399]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2400]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2401]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2402]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2293]]= mxEdgeStyle[_0x83b3[2403]];mxGraph[_0x83b3[202]][_0x83b3[2404]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2405]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2406]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2407]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2408]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2409]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2410]]= !1;mxGraph[_0x83b3[202]][_0x83b3[2411]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2412]]= !0;mxGraph[_0x83b3[202]][_0x83b3[2180]]= mxConstants[_0x83b3[2065]];mxGraph[_0x83b3[202]][_0x83b3[2336]]= null;mxGraph[_0x83b3[202]][_0x83b3[2413]]= 0.1;mxGraph[_0x83b3[202]][_0x83b3[2414]]= 8;mxGraph[_0x83b3[202]][_0x83b3[1136]]= 0;mxGraph[_0x83b3[202]][_0x83b3[1137]]= 0;mxGraph[_0x83b3[202]][_0x83b3[2415]]= new mxImage(mxClient[_0x83b3[88]]+ _0x83b3[2416],9,9);mxGraph[_0x83b3[202]][_0x83b3[2417]]= new mxImage(mxClient[_0x83b3[88]]+ _0x83b3[2418],9,9);mxGraph[_0x83b3[202]][_0x83b3[2419]]= new mxImage(_0x83b3[2420],16,16);mxGraph[_0x83b3[202]][_0x83b3[2421]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2422]:_0x83b3[110];mxGraph[_0x83b3[202]][_0x83b3[2423]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2424]:_0x83b3[110];mxGraph[_0x83b3[202]][_0x83b3[2425]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2426]:_0x83b3[110];mxGraph[_0x83b3[202]][_0x83b3[176]]= function(_0x187fx2){this[_0x83b3[526]]= _0x187fx2;this[_0x83b3[2347]]= this[_0x83b3[2427]]();this[_0x83b3[441]][_0x83b3[176]]();this[_0x83b3[2258]]();mxClient[_0x83b3[80]]&& (mxEvent[_0x83b3[169]](window,_0x83b3[2428],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[515]]()})),mxEvent[_0x83b3[169]](_0x187fx2,_0x83b3[2429],mxUtils[_0x83b3[885]](this,function(){return this[_0x83b3[2203]]()})));8== document[_0x83b3[5]]&& _0x187fx2[_0x83b3[1583]](_0x83b3[1582],_0x83b3[2430])};mxGraph[_0x83b3[202]][_0x83b3[2344]]= function(_0x187fx2){this[_0x83b3[2276]]= new mxTooltipHandler(this);this[_0x83b3[2276]][_0x83b3[995]](!1);this[_0x83b3[2316]]= new mxPanningHandler(this);this[_0x83b3[2316]][_0x83b3[2431]]= !1;this[_0x83b3[2432]]= new mxSelectionCellsHandler(this);this[_0x83b3[2433]]= new mxConnectionHandler(this);this[_0x83b3[2433]][_0x83b3[995]](!1);this[_0x83b3[1011]]= new mxGraphHandler(this)};mxGraph[_0x83b3[202]][_0x83b3[2338]]= function(){return new mxGraphSelectionModel(this)};mxGraph[_0x83b3[202]][_0x83b3[2340]]= function(){return new mxStylesheet};mxGraph[_0x83b3[202]][_0x83b3[2342]]= function(){return new mxGraphView(this)};mxGraph[_0x83b3[202]][_0x83b3[2337]]= function(){return new mxCellRenderer};mxGraph[_0x83b3[202]][_0x83b3[2427]]= function(){return new mxCellEditor(this)};mxGraph[_0x83b3[202]][_0x83b3[502]]= function(){return this[_0x83b3[251]]};mxGraph[_0x83b3[202]][_0x83b3[249]]= function(){return this[_0x83b3[441]]};mxGraph[_0x83b3[202]][_0x83b3[2434]]= function(){return this[_0x83b3[94]]};mxGraph[_0x83b3[202]][_0x83b3[2341]]= function(_0x187fx2){this[_0x83b3[94]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2435]]= function(){return this[_0x83b3[2105]]};mxGraph[_0x83b3[202]][_0x83b3[2339]]= function(_0x187fx2){this[_0x83b3[2105]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2436]]= function(_0x187fx2){for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx5=_0x187fx2[_0x187fx4];if(_0x187fx5[_0x83b3[196]]!= mxRootChange){var _0x187fx9=null;_0x187fx5 instanceof mxChildChange&& null== _0x187fx5[_0x83b3[257]]?_0x187fx9= _0x187fx5[_0x83b3[247]]:null!= _0x187fx5[_0x83b3[246]]&& _0x187fx5[_0x83b3[246]] instanceof mxCell&& (_0x187fx9= _0x187fx5[_0x83b3[246]]);null!= _0x187fx9&& 0> mxUtils[_0x83b3[2]](_0x187fx3,_0x187fx9)&& _0x187fx3[_0x83b3[207]](_0x187fx9)}};return this[_0x83b3[502]]()[_0x83b3[1964]](_0x187fx3)};mxGraph[_0x83b3[202]][_0x83b3[1177]]= function(_0x187fx2){for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){this[_0x83b3[2437]](_0x187fx2[_0x187fx3])};this[_0x83b3[2439]](this[_0x83b3[2438]](_0x187fx2));this[_0x83b3[441]][_0x83b3[2264]]();this[_0x83b3[2258]]()};mxGraph[_0x83b3[202]][_0x83b3[2438]]= function(_0x187fx2){for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx5=_0x187fx2[_0x187fx4];if(_0x187fx5 instanceof mxRootChange){break}else {_0x187fx5 instanceof mxChildChange?null!= _0x187fx5[_0x83b3[257]]&& null== _0x187fx5[_0x83b3[1101]]&& (_0x187fx3= _0x187fx3[_0x83b3[1919]](this[_0x83b3[251]][_0x83b3[1939]](_0x187fx5[_0x83b3[247]]))):_0x187fx5 instanceof mxVisibleChange&& (_0x187fx3= _0x187fx3[_0x83b3[1919]](this[_0x83b3[251]][_0x83b3[1939]](_0x187fx5[_0x83b3[246]])))}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2437]]= function(_0x187fx2){if(_0x187fx2 instanceof mxRootChange){this[_0x83b3[2440]](),this[_0x83b3[2441]](_0x187fx2[_0x83b3[257]]),this[_0x83b3[2398]]&& (this[_0x83b3[441]][_0x83b3[255]]= 1,this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]= 0,this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]= 0),this[_0x83b3[746]]( new mxEventObject(mxEvent.ROOT))}else {if(_0x187fx2 instanceof mxChildChange){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x83b3[247]]);null!= _0x187fx3?this[_0x83b3[441]][_0x83b3[2263]](_0x187fx2[_0x83b3[247]],!0,!1,null!= _0x187fx2[_0x83b3[257]]):(this[_0x83b3[2441]](_0x187fx2[_0x83b3[247]]),this[_0x83b3[441]][_0x83b3[1741]]== _0x187fx2[_0x83b3[247]]&& this[_0x83b3[2442]]());_0x187fx3!= _0x187fx2[_0x83b3[257]]&& (null!= _0x187fx3&& this[_0x83b3[441]][_0x83b3[2263]](_0x187fx3,!1,!1),null!= _0x187fx2[_0x83b3[257]]&& this[_0x83b3[441]][_0x83b3[2263]](_0x187fx2[_0x83b3[257]],!1,!1))}else {_0x187fx2 instanceof mxTerminalChange|| _0x187fx2 instanceof mxGeometryChange?this[_0x83b3[441]][_0x83b3[2263]](_0x187fx2[_0x83b3[246]]):_0x187fx2 instanceof mxValueChange?this[_0x83b3[441]][_0x83b3[2263]](_0x187fx2[_0x83b3[246]],!1,!1):_0x187fx2 instanceof mxStyleChange?(this[_0x83b3[441]][_0x83b3[2263]](_0x187fx2[_0x83b3[246]],!0,!0,!1),this[_0x83b3[441]][_0x83b3[2265]](_0x187fx2[_0x83b3[246]])):null!= _0x187fx2[_0x83b3[246]]&& _0x187fx2[_0x83b3[246]] instanceof mxCell&& this[_0x83b3[2441]](_0x187fx2[_0x83b3[246]])}}};mxGraph[_0x83b3[202]][_0x83b3[2441]]= function(_0x187fx2){for(var _0x187fx3=this[_0x83b3[251]][_0x83b3[262]](_0x187fx2),_0x187fx4=0;_0x187fx4< _0x187fx3;_0x187fx4++){this[_0x83b3[2441]](this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx4))};this[_0x83b3[441]][_0x83b3[2265]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2443]]= function(_0x187fx2,_0x187fx3){null== _0x187fx2[_0x83b3[1211]]&& (_0x187fx2[_0x83b3[1211]]= []);_0x187fx2[_0x83b3[1211]][_0x83b3[207]](_0x187fx3);var _0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);null!= _0x187fx4&& this[_0x83b3[259]][_0x83b3[258]](_0x187fx4);this[_0x83b3[746]]( new mxEventObject(mxEvent.ADD_OVERLAY,_0x83b3[246],_0x187fx2,_0x83b3[2201],_0x187fx3));return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2200]]= function(_0x187fx2){return _0x187fx2[_0x83b3[1211]]};mxGraph[_0x83b3[202]][_0x83b3[2444]]= function(_0x187fx2,_0x187fx3){if(null== _0x187fx3){this[_0x83b3[2445]](_0x187fx2)}else {var _0x187fx4=mxUtils[_0x83b3[2]](_0x187fx2[_0x83b3[1211]],_0x187fx3);0<= _0x187fx4?(_0x187fx2[_0x83b3[1211]][_0x83b3[300]](_0x187fx4,1),0== _0x187fx2[_0x83b3[1211]][_0x83b3[67]]&& (_0x187fx2[_0x83b3[1211]]= null),_0x187fx4= this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),null!= _0x187fx4&& this[_0x83b3[259]][_0x83b3[258]](_0x187fx4),this[_0x83b3[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0x83b3[246],_0x187fx2,_0x83b3[2201],_0x187fx3))):_0x187fx3= null};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2445]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[1211]];if(null!= _0x187fx3){_0x187fx2[_0x83b3[1211]]= null;var _0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);null!= _0x187fx4&& this[_0x83b3[259]][_0x83b3[258]](_0x187fx4);for(_0x187fx4= 0;_0x187fx4< _0x187fx3[_0x83b3[67]];_0x187fx4++){this[_0x83b3[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0x83b3[246],_0x187fx2,_0x83b3[2201],_0x187fx3[_0x187fx4]))}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2446]]= function(_0x187fx2){_0x187fx2= null!= _0x187fx2?_0x187fx2:this[_0x83b3[251]][_0x83b3[501]]();this[_0x83b3[2445]](_0x187fx2);for(var _0x187fx3=this[_0x83b3[251]][_0x83b3[262]](_0x187fx2),_0x187fx4=0;_0x187fx4< _0x187fx3;_0x187fx4++){var _0x187fx5=this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx4);this[_0x83b3[2446]](_0x187fx5)}};mxGraph[_0x83b3[202]][_0x83b3[2447]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]){return _0x187fx4= null!= _0x187fx4?_0x187fx4:this[_0x83b3[2419]],_0x187fx3= new mxCellOverlay(_0x187fx4,_0x83b3[2448]+ _0x187fx3+ _0x83b3[2449]),_0x187fx5&& _0x187fx3[_0x83b3[169]](mxEvent.CLICK,mxUtils[_0x83b3[885]](this,function(_0x187fx3,_0x187fx4){this[_0x83b3[994]]()&& this[_0x83b3[2450]](_0x187fx2)})),this[_0x83b3[2443]](_0x187fx2,_0x187fx3)};this[_0x83b3[2445]](_0x187fx2);return null};mxGraph[_0x83b3[202]][_0x83b3[855]]= function(_0x187fx2){this[_0x83b3[2451]](null,_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2451]]= function(_0x187fx2,_0x187fx3){null== _0x187fx2&& (_0x187fx2= this[_0x83b3[2452]](),null!= _0x187fx2&& !this[_0x83b3[2453]](_0x187fx2)&& (_0x187fx2= null));null!= _0x187fx2&& (this[_0x83b3[746]]( new mxEventObject(mxEvent.START_EDITING,_0x83b3[246],_0x187fx2,_0x83b3[763],_0x187fx3)),this[_0x83b3[2347]][_0x83b3[855]](_0x187fx2,_0x187fx3))};mxGraph[_0x83b3[202]][_0x83b3[2142]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[2454]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2126]]= function(_0x187fx2){this[_0x83b3[2347]][_0x83b3[2126]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[850]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[2456]](_0x187fx2,_0x187fx3,this[_0x83b3[2455]](_0x187fx2)),this[_0x83b3[746]]( new mxEventObject(mxEvent.LABEL_CHANGED,_0x83b3[246],_0x187fx2,_0x83b3[131],_0x187fx3,_0x83b3[763],_0x187fx4))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2456]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[251]][_0x83b3[1966]](_0x187fx2,_0x187fx3),_0x187fx4&& this[_0x83b3[2457]](_0x187fx2,!1)}finally{this[_0x83b3[251]][_0x83b3[476]]()}};mxGraph[_0x83b3[202]][_0x83b3[859]]= function(_0x187fx2){this[_0x83b3[2126]](!0);this[_0x83b3[2433]][_0x83b3[862]]();this[_0x83b3[1011]][_0x83b3[862]]();_0x187fx2= this[_0x83b3[897]]();for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){var _0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2[_0x187fx3]);null!= _0x187fx4&& null!= _0x187fx4[_0x83b3[2458]]&& _0x187fx4[_0x83b3[2458]][_0x83b3[862]]()}};mxGraph[_0x83b3[202]][_0x83b3[173]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[727]](),_0x187fx4=_0x187fx2[_0x83b3[736]](),_0x187fx5= new mxEventObject(mxEvent.CLICK,_0x83b3[763],_0x187fx3,_0x83b3[246],_0x187fx4);_0x187fx2[_0x83b3[721]]()&& _0x187fx5[_0x83b3[722]]();this[_0x83b3[746]](_0x187fx5);this[_0x83b3[994]]()&& (!mxEvent[_0x83b3[721]](_0x187fx3)&& !_0x187fx5[_0x83b3[721]]())&& (null!= _0x187fx4?this[_0x83b3[2459]](_0x187fx4,_0x187fx3):(_0x187fx4= null,this[_0x83b3[2460]]()&& (_0x187fx4= this[_0x83b3[2461]](_0x187fx2[_0x83b3[734]](),_0x187fx2[_0x83b3[735]]())),null!= _0x187fx4?this[_0x83b3[2459]](_0x187fx4,_0x187fx3):this[_0x83b3[2462]](_0x187fx3)|| this[_0x83b3[2440]]()))};mxGraph[_0x83b3[202]][_0x83b3[761]]= function(_0x187fx2,_0x187fx3){var _0x187fx4= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x83b3[763],_0x187fx2,_0x83b3[246],_0x187fx3);this[_0x83b3[746]](_0x187fx4);this[_0x83b3[994]]()&& (!mxEvent[_0x83b3[721]](_0x187fx2)&& !_0x187fx4[_0x83b3[721]]()&& null!= _0x187fx3&& this[_0x83b3[2453]](_0x187fx3))&& this[_0x83b3[2451]](_0x187fx3,_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[1014]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(!this[_0x83b3[2382]]&& (this[_0x83b3[2384]]|| mxUtils[_0x83b3[1134]](this[_0x83b3[526]]))){var _0x187fx9=this[_0x83b3[526]];_0x187fx5= null!= _0x187fx5?_0x187fx5:20;if(_0x187fx2>= _0x187fx9[_0x83b3[360]]&& _0x187fx3>= _0x187fx9[_0x83b3[190]]&& _0x187fx2<= _0x187fx9[_0x83b3[360]]+ _0x187fx9[_0x83b3[159]]&& _0x187fx3<= _0x187fx9[_0x83b3[190]]+ _0x187fx9[_0x83b3[157]]){var _0x187fxa=_0x187fx9[_0x83b3[360]]+ _0x187fx9[_0x83b3[159]]- _0x187fx2;if(_0x187fxa< _0x187fx5){if(_0x187fx2= _0x187fx9[_0x83b3[360]],_0x187fx9[_0x83b3[360]]+= _0x187fx5- _0x187fxa,_0x187fx4&& _0x187fx2== _0x187fx9[_0x83b3[360]]){if(this[_0x83b3[507]]== mxConstants[_0x83b3[508]]){_0x187fx2= this[_0x83b3[441]][_0x83b3[2024]]()[_0x83b3[538]];var _0x187fx12=this[_0x83b3[526]][_0x83b3[1526]]+ _0x187fx5- _0x187fxa}else {_0x187fx12= Math[_0x83b3[160]](_0x187fx9[_0x83b3[159]],_0x187fx9[_0x83b3[1526]])+ _0x187fx5- _0x187fxa,_0x187fx2= this[_0x83b3[441]][_0x83b3[2051]]()};_0x187fx2[_0x83b3[124]][_0x83b3[117]]= _0x187fx12+ _0x83b3[168];_0x187fx9[_0x83b3[360]]+= _0x187fx5- _0x187fxa}}else {_0x187fxa= _0x187fx2- _0x187fx9[_0x83b3[360]],_0x187fxa< _0x187fx5&& (_0x187fx9[_0x83b3[360]]-= _0x187fx5- _0x187fxa)};_0x187fxa= _0x187fx9[_0x83b3[190]]+ _0x187fx9[_0x83b3[157]]- _0x187fx3;_0x187fxa< _0x187fx5?(_0x187fx2= _0x187fx9[_0x83b3[190]],_0x187fx9[_0x83b3[190]]+= _0x187fx5- _0x187fxa,_0x187fx2== _0x187fx9[_0x83b3[190]]&& _0x187fx4&& (this[_0x83b3[507]]== mxConstants[_0x83b3[508]]?(_0x187fx2= this[_0x83b3[441]][_0x83b3[2024]]()[_0x83b3[538]],_0x187fx3= this[_0x83b3[526]][_0x83b3[191]]+ _0x187fx5- _0x187fxa):(_0x187fx3= Math[_0x83b3[160]](_0x187fx9[_0x83b3[157]],_0x187fx9[_0x83b3[191]])+ _0x187fx5- _0x187fxa,_0x187fx2= this[_0x83b3[441]][_0x83b3[2051]]()),_0x187fx2[_0x83b3[124]][_0x83b3[119]]= _0x187fx3+ _0x83b3[168],_0x187fx9[_0x83b3[190]]+= _0x187fx5- _0x187fxa)):(_0x187fxa= _0x187fx3- _0x187fx9[_0x83b3[190]],_0x187fxa< _0x187fx5&& (_0x187fx9[_0x83b3[190]]-= _0x187fx5- _0x187fxa))}}else {this[_0x83b3[2383]]&& !this[_0x83b3[2316]][_0x83b3[1124]]&& (null== this[_0x83b3[2463]]&& (this[_0x83b3[2463]]= this[_0x83b3[2464]]()),this[_0x83b3[2463]][_0x83b3[1143]](_0x187fx2+ this[_0x83b3[1136]],_0x187fx3+ this[_0x83b3[1137]]))}};mxGraph[_0x83b3[202]][_0x83b3[2464]]= function(){return new mxPanningManager(this)};mxGraph[_0x83b3[202]][_0x83b3[2465]]= function(){function _0x187fx2(_0x187fx2){var _0x187fx3=0,_0x187fx3=_0x83b3[2466]== _0x187fx2?2:_0x83b3[2467]== _0x187fx2?4:_0x83b3[2468]== _0x187fx2?6:parseInt(_0x187fx2);isNaN(_0x187fx3)&& (_0x187fx3= 0);return _0x187fx3}var _0x187fx3=mxUtils[_0x83b3[275]](this[_0x83b3[526]]),_0x187fx4= new mxRectangle;_0x187fx4[_0x83b3[235]]= _0x187fx2(_0x187fx3[_0x83b3[2469]])+ parseInt(_0x187fx3[_0x83b3[357]]|| 0);_0x187fx4[_0x83b3[236]]= _0x187fx2(_0x187fx3[_0x83b3[2470]])+ parseInt(_0x187fx3[_0x83b3[2471]]|| 0);_0x187fx4[_0x83b3[117]]= _0x187fx2(_0x187fx3[_0x83b3[2472]])+ parseInt(_0x187fx3[_0x83b3[1164]]|| 0);_0x187fx4[_0x83b3[119]]= _0x187fx2(_0x187fx3[_0x83b3[2473]])+ parseInt(_0x187fx3[_0x83b3[2474]]|| 0);return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[2475]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= this[_0x83b3[441]][_0x83b3[255]];var _0x187fx5=this[_0x83b3[441]][_0x83b3[513]],_0x187fx9=this[_0x83b3[2013]],_0x187fxa=_0x187fx2* this[_0x83b3[2012]],_0x187fx9= new mxRectangle(0,0,_0x187fx9[_0x83b3[117]]* _0x187fxa,_0x187fx9[_0x83b3[119]]* _0x187fxa);_0x187fx3= this[_0x83b3[2357]]?Math[_0x83b3[430]](_0x187fx3/ _0x187fx9[_0x83b3[117]]):1;_0x187fx4= this[_0x83b3[2357]]?Math[_0x83b3[430]](_0x187fx4/ _0x187fx9[_0x83b3[119]]):1;return new mxRectangle(0,0,_0x187fx3* _0x187fx9[_0x83b3[117]]+ 2+ _0x187fx5[_0x83b3[235]]/ _0x187fx2,_0x187fx4* _0x187fx9[_0x83b3[119]]+ 2+ _0x187fx5[_0x83b3[236]]/ _0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2258]]= function(){var _0x187fx2=this[_0x83b3[517]]();if(null!= this[_0x83b3[526]]){var _0x187fx3=this[_0x83b3[2476]](),_0x187fx4=Math[_0x83b3[160]](0,_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]+ 1+ _0x187fx3),_0x187fx3=Math[_0x83b3[160]](0,_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]+ 1+ _0x187fx3);null!= this[_0x83b3[2387]]&& (_0x187fx4= Math[_0x83b3[160]](_0x187fx4,this[_0x83b3[2387]][_0x83b3[117]]),_0x187fx3= Math[_0x83b3[160]](_0x187fx3,this[_0x83b3[2387]][_0x83b3[119]]));this[_0x83b3[2389]]&& this[_0x83b3[2477]](_0x187fx4,_0x187fx3);if(this[_0x83b3[2361]]|| !mxClient[_0x83b3[80]]&& this[_0x83b3[2273]]){var _0x187fx5=this[_0x83b3[2475]](_0x187fx2,_0x187fx4,_0x187fx3);null!= _0x187fx5&& (_0x187fx4= _0x187fx5[_0x83b3[117]],_0x187fx3= _0x187fx5[_0x83b3[119]])};null!= this[_0x83b3[2386]]&& (_0x187fx4= Math[_0x83b3[160]](_0x187fx4,this[_0x83b3[2386]][_0x83b3[117]]* this[_0x83b3[441]][_0x83b3[255]]),_0x187fx3= Math[_0x83b3[160]](_0x187fx3,this[_0x83b3[2386]][_0x83b3[119]]* this[_0x83b3[441]][_0x83b3[255]]));_0x187fx4= Math[_0x83b3[430]](_0x187fx4- 1);_0x187fx3= Math[_0x83b3[430]](_0x187fx3- 1);this[_0x83b3[507]]== mxConstants[_0x83b3[508]]?(_0x187fx5= this[_0x83b3[441]][_0x83b3[2024]]()[_0x83b3[538]],_0x187fx5[_0x83b3[124]][_0x83b3[2478]]= Math[_0x83b3[160]](1,_0x187fx4)+ _0x83b3[168],_0x187fx5[_0x83b3[124]][_0x83b3[2479]]= Math[_0x83b3[160]](1,_0x187fx3)+ _0x83b3[168],_0x187fx5[_0x83b3[124]][_0x83b3[117]]= _0x83b3[118],_0x187fx5[_0x83b3[124]][_0x83b3[119]]= _0x83b3[118]):mxClient[_0x83b3[496]]?this[_0x83b3[441]][_0x83b3[2320]](Math[_0x83b3[160]](1,_0x187fx4),Math[_0x83b3[160]](1,_0x187fx3)):(this[_0x83b3[441]][_0x83b3[510]][_0x83b3[124]][_0x83b3[2478]]= Math[_0x83b3[160]](1,_0x187fx4)+ _0x83b3[168],this[_0x83b3[441]][_0x83b3[510]][_0x83b3[124]][_0x83b3[2479]]= Math[_0x83b3[160]](1,_0x187fx3)+ _0x83b3[168]);this[_0x83b3[2480]](this[_0x83b3[2357]],_0x187fx4- 1,_0x187fx3- 1)};this[_0x83b3[746]]( new mxEventObject(mxEvent.SIZE,_0x83b3[1562],_0x187fx2))};mxGraph[_0x83b3[202]][_0x83b3[2477]]= function(_0x187fx2,_0x187fx3){if(mxClient[_0x83b3[80]]){if(mxClient[_0x83b3[496]]){var _0x187fx4=this[_0x83b3[2465]]();_0x187fx2+= Math[_0x83b3[160]](2,_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]+ 1);_0x187fx3+= Math[_0x83b3[160]](2,_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]+ 1)}else {9<= document[_0x83b3[5]]?(_0x187fx2+= 3,_0x187fx3+= 5):(_0x187fx2+= 1,_0x187fx3+= 1)}}else {_0x187fx3+= 1};null!= this[_0x83b3[2388]]&& (_0x187fx2= Math[_0x83b3[243]](this[_0x83b3[2388]][_0x83b3[117]],_0x187fx2),_0x187fx3= Math[_0x83b3[243]](this[_0x83b3[2388]][_0x83b3[119]],_0x187fx3));this[_0x83b3[526]][_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[430]](_0x187fx2)+ _0x83b3[168];this[_0x83b3[526]][_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[430]](_0x187fx3)+ _0x83b3[168]};mxGraph[_0x83b3[202]][_0x83b3[2480]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[441]][_0x83b3[255]],_0x187fx9=this[_0x83b3[441]][_0x83b3[513]],_0x187fxa=this[_0x83b3[2013]],_0x187fx12=_0x187fx5* this[_0x83b3[2012]],_0x187fx9= new mxRectangle(_0x187fx5* _0x187fx9[_0x83b3[235]],_0x187fx5* _0x187fx9[_0x83b3[236]],_0x187fxa[_0x83b3[117]]* _0x187fx12,_0x187fxa[_0x83b3[119]]* _0x187fx12);_0x187fx2= _0x187fx2&& Math[_0x83b3[243]](_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]])> this[_0x83b3[2360]];_0x187fx9[_0x83b3[235]]= mxUtils[_0x83b3[1454]](_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[117]]);_0x187fx9[_0x83b3[236]]= mxUtils[_0x83b3[1454]](_0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[119]]);_0x187fxa= _0x187fx2?Math[_0x83b3[430]]((_0x187fx3- _0x187fx9[_0x83b3[235]])/ _0x187fx9[_0x83b3[117]]):0;_0x187fx2= _0x187fx2?Math[_0x83b3[430]]((_0x187fx4- _0x187fx9[_0x83b3[236]])/ _0x187fx9[_0x83b3[119]]):0;null== this[_0x83b3[2481]]&& 0< _0x187fxa&& (this[_0x83b3[2481]]= []);if(null!= this[_0x83b3[2481]]){for(_0x187fx12= 0;_0x187fx12<= _0x187fxa;_0x187fx12++){var _0x187fx13=[ new mxPoint(_0x187fx9[_0x83b3[235]]+ _0x187fx12* _0x187fx9[_0x83b3[117]],1), new mxPoint(_0x187fx9[_0x83b3[235]]+ _0x187fx12* _0x187fx9[_0x83b3[117]],_0x187fx4)];null!= this[_0x83b3[2481]][_0x187fx12]?(this[_0x83b3[2481]][_0x187fx12][_0x83b3[255]]= 1,this[_0x83b3[2481]][_0x187fx12][_0x83b3[1525]]= _0x187fx13,this[_0x83b3[2481]][_0x187fx12][_0x83b3[258]]()):(_0x187fx13= new mxPolyline(_0x187fx13,this[_0x83b3[2358]],this[_0x83b3[255]]),_0x187fx13[_0x83b3[507]]= this[_0x83b3[507]],_0x187fx13[_0x83b3[1522]]= this[_0x83b3[2359]],_0x187fx13[_0x83b3[255]]= _0x187fx5,_0x187fx13[_0x83b3[176]](this[_0x83b3[441]][_0x83b3[2053]]),_0x187fx13[_0x83b3[258]](),this[_0x83b3[2481]][_0x187fx12]= _0x187fx13)};for(_0x187fx12= _0x187fxa;_0x187fx12< this[_0x83b3[2481]][_0x83b3[67]];_0x187fx12++){this[_0x83b3[2481]][_0x187fx12][_0x83b3[515]]()};this[_0x83b3[2481]][_0x83b3[300]](_0x187fxa,this[_0x83b3[2481]][_0x83b3[67]]- _0x187fxa)};null== this[_0x83b3[2482]]&& 0< _0x187fx2&& (this[_0x83b3[2482]]= []);if(null!= this[_0x83b3[2482]]){for(_0x187fx12= 0;_0x187fx12<= _0x187fx2;_0x187fx12++){_0x187fx13= [ new mxPoint(1,_0x187fx9[_0x83b3[236]]+ _0x187fx12* _0x187fx9[_0x83b3[119]]), new mxPoint(_0x187fx3,_0x187fx9[_0x83b3[236]]+ _0x187fx12* _0x187fx9[_0x83b3[119]])],null!= this[_0x83b3[2482]][_0x187fx12]?(this[_0x83b3[2482]][_0x187fx12][_0x83b3[255]]= 1,this[_0x83b3[2482]][_0x187fx12][_0x83b3[1525]]= _0x187fx13,this[_0x83b3[2482]][_0x187fx12][_0x83b3[258]]()):(_0x187fx13= new mxPolyline(_0x187fx13,this[_0x83b3[2358]],_0x187fx5),_0x187fx13[_0x83b3[507]]= this[_0x83b3[507]],_0x187fx13[_0x83b3[1522]]= this[_0x83b3[2359]],_0x187fx13[_0x83b3[255]]= _0x187fx5,_0x187fx13[_0x83b3[176]](this[_0x83b3[441]][_0x83b3[2053]]),_0x187fx13[_0x83b3[258]](),this[_0x83b3[2482]][_0x187fx12]= _0x187fx13)};for(_0x187fx12= _0x187fx2;_0x187fx12< this[_0x83b3[2482]][_0x83b3[67]];_0x187fx12++){this[_0x83b3[2482]][_0x187fx12][_0x83b3[515]]()};this[_0x83b3[2482]][_0x83b3[300]](_0x187fx2,this[_0x83b3[2482]][_0x83b3[67]]- _0x187fx2)}};mxGraph[_0x83b3[202]][_0x83b3[1705]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[251]][_0x83b3[474]](_0x187fx2),_0x187fx4=null,_0x187fx4=this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)?this[_0x83b3[94]][_0x83b3[2077]]():this[_0x83b3[94]][_0x83b3[2076]]();null!= _0x187fx3&& (_0x187fx4= this[_0x83b3[2483]](this[_0x83b3[94]][_0x83b3[1705]](_0x187fx3,_0x187fx4)));null== _0x187fx4&& (_0x187fx4= mxGraph[_0x83b3[202]][_0x83b3[2346]]);return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[2483]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=_0x187fx2[mxConstants[_0x83b3[2484]]],_0x187fx4=this[_0x83b3[2485]](_0x187fx3);null!= _0x187fx4?_0x187fx2[mxConstants[_0x83b3[2484]]]= _0x187fx4:_0x187fx4= _0x187fx3;null!= _0x187fx4&& _0x83b3[2486]== _0x187fx4[_0x83b3[85]](0,11)&& (_0x187fx3= _0x187fx4[_0x83b3[2]](_0x83b3[537]),0< _0x187fx3&& (_0x187fx4= _0x187fx4[_0x83b3[85]](0,_0x187fx3)+ _0x83b3[2487]+ _0x187fx4[_0x83b3[85]](_0x187fx3+ 1)),_0x187fx2[mxConstants[_0x83b3[2484]]]= _0x187fx4)};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2488]]= function(_0x187fx2,_0x187fx3){_0x187fx3= _0x187fx3|| this[_0x83b3[897]]();if(null!= _0x187fx3){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx3[_0x83b3[67]];_0x187fx4++){this[_0x83b3[251]][_0x83b3[475]](_0x187fx3[_0x187fx4],_0x187fx2)}}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2489]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= _0x187fx4|| this[_0x83b3[2452]]();this[_0x83b3[2490]](_0x187fx2,_0x187fx3,[_0x187fx4])};mxGraph[_0x83b3[202]][_0x83b3[2490]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;_0x187fx4= _0x187fx4|| this[_0x83b3[897]]();if(null!= _0x187fx4&& 0< _0x187fx4[_0x83b3[67]]){var _0x187fx5=this[_0x83b3[441]][_0x83b3[248]](_0x187fx4[0]),_0x187fx5=null!= _0x187fx5?_0x187fx5[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx4[0]);null!= _0x187fx5&& (_0x187fx3= mxUtils[_0x83b3[433]](_0x187fx5,_0x187fx2,_0x187fx3)?0:1,this[_0x83b3[1717]](_0x187fx2,_0x187fx3,_0x187fx4))}};mxGraph[_0x83b3[202]][_0x83b3[1717]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= _0x187fx4|| this[_0x83b3[897]]();mxUtils[_0x83b3[1717]](this[_0x83b3[251]],_0x187fx4,_0x187fx2,_0x187fx3)};mxGraph[_0x83b3[202]][_0x83b3[2491]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[2492]](_0x187fx2,_0x187fx3,null,_0x187fx4)};mxGraph[_0x83b3[202]][_0x83b3[2492]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx5= _0x187fx5|| this[_0x83b3[897]]();if(null!= _0x187fx5&& 0< _0x187fx5[_0x83b3[67]]){if(null== _0x187fx4){var _0x187fx9=this[_0x83b3[441]][_0x83b3[248]](_0x187fx5[0]),_0x187fx9=null!= _0x187fx9?_0x187fx9[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx5[0]);null!= _0x187fx9&& (_0x187fx4= (parseInt(_0x187fx9[_0x187fx2]|| 0)& _0x187fx3)!= _0x187fx3)};mxUtils[_0x83b3[2492]](this[_0x83b3[251]],_0x187fx5,_0x187fx2,_0x187fx3,_0x187fx4)}};mxGraph[_0x83b3[202]][_0x83b3[849]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null== _0x187fx3&& (_0x187fx3= this[_0x83b3[897]]());if(null!= _0x187fx3&& 1< _0x187fx3[_0x83b3[67]]){if(null== _0x187fx4){for(var _0x187fx5=0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){var _0x187fx9=this[_0x83b3[1198]](_0x187fx3[_0x187fx5]);if(null!= _0x187fx9&& !this[_0x83b3[251]][_0x83b3[250]](_0x187fx3[_0x187fx5])){if(null== _0x187fx4){if(_0x187fx2== mxConstants[_0x83b3[479]]){_0x187fx4= _0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]/ 2;break}else {if(_0x187fx2== mxConstants[_0x83b3[480]]){_0x187fx4= _0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]}else {if(_0x187fx2== mxConstants[_0x83b3[1687]]){_0x187fx4= _0x187fx9[_0x83b3[236]]}else {if(_0x187fx2== mxConstants[_0x83b3[481]]){_0x187fx4= _0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]]/ 2;break}else {_0x187fx4= _0x187fx2== mxConstants[_0x83b3[482]]?_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]]:_0x187fx9[_0x83b3[235]]}}}}}else {_0x187fx4= _0x187fx2== mxConstants[_0x83b3[480]]?Math[_0x83b3[160]](_0x187fx4,_0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]):_0x187fx2== mxConstants[_0x83b3[1687]]?Math[_0x83b3[243]](_0x187fx4,_0x187fx9[_0x83b3[236]]):_0x187fx2== mxConstants[_0x83b3[482]]?Math[_0x83b3[160]](_0x187fx4,_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]]):Math[_0x83b3[243]](_0x187fx4,_0x187fx9[_0x83b3[235]])}}}};if(null!= _0x187fx4){this[_0x83b3[251]][_0x83b3[473]]();try{for(_0x187fx5= 0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){_0x187fx9= this[_0x83b3[1198]](_0x187fx3[_0x187fx5]),null!= _0x187fx9&& !this[_0x83b3[251]][_0x83b3[250]](_0x187fx3[_0x187fx5])&& (_0x187fx9= _0x187fx9[_0x83b3[238]](),_0x187fx2== mxConstants[_0x83b3[479]]?_0x187fx9[_0x83b3[235]]= _0x187fx4- _0x187fx9[_0x83b3[117]]/ 2:_0x187fx2== mxConstants[_0x83b3[480]]?_0x187fx9[_0x83b3[235]]= _0x187fx4- _0x187fx9[_0x83b3[117]]:_0x187fx2== mxConstants[_0x83b3[1687]]?_0x187fx9[_0x83b3[236]]= _0x187fx4:_0x187fx2== mxConstants[_0x83b3[481]]?_0x187fx9[_0x83b3[236]]= _0x187fx4- _0x187fx9[_0x83b3[119]]/ 2:_0x187fx2== mxConstants[_0x83b3[482]]?_0x187fx9[_0x83b3[236]]= _0x187fx4- _0x187fx9[_0x83b3[119]]:_0x187fx9[_0x83b3[235]]= _0x187fx4,this[_0x83b3[251]][_0x83b3[1724]](_0x187fx3[_0x187fx5],_0x187fx9))};this[_0x83b3[746]]( new mxEventObject(mxEvent.ALIGN_CELLS,_0x83b3[611],_0x187fx2,_0x83b3[895],_0x187fx3))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[854]]= function(_0x187fx2){if(null!= _0x187fx2&& null!= this[_0x83b3[2356]]){this[_0x83b3[251]][_0x83b3[473]]();try{var _0x187fx3=this[_0x83b3[251]][_0x83b3[474]](_0x187fx2);null== _0x187fx3|| 0== _0x187fx3[_0x83b3[67]]?this[_0x83b3[251]][_0x83b3[475]](_0x187fx2,this[_0x83b3[2356]]):this[_0x83b3[251]][_0x83b3[475]](_0x187fx2,null);this[_0x83b3[1809]](_0x187fx2);this[_0x83b3[746]]( new mxEventObject(mxEvent.FLIP_EDGE,_0x83b3[1989],_0x187fx2))}finally{this[_0x83b3[251]][_0x83b3[476]]()}};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2493]]= function(_0x187fx2){this[_0x83b3[2336]][_0x83b3[207]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2494]]= function(_0x187fx2){for(var _0x187fx3=[],_0x187fx4=0;_0x187fx4< this[_0x83b3[2336]][_0x83b3[67]];_0x187fx4++){this[_0x83b3[2336]][_0x187fx4]!= _0x187fx2&& _0x187fx3[_0x83b3[207]](this[_0x83b3[2336]][_0x187fx4])};this[_0x83b3[2336]]= _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2485]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[2336]][_0x83b3[67]];_0x187fx3++){var _0x187fx4=this[_0x83b3[2336]][_0x187fx3][_0x83b3[1202]](_0x187fx2);if(null!= _0x187fx4){return _0x187fx4}}};return null};mxGraph[_0x83b3[202]][_0x83b3[840]]= function(_0x187fx2,_0x187fx3){null== _0x187fx3&& (_0x187fx3= mxUtils[_0x83b3[1779]](this[_0x83b3[897]](),!0));this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[841]](_0x187fx3,_0x187fx2),this[_0x83b3[746]]( new mxEventObject(mxEvent.ORDER_CELLS,_0x83b3[2495],_0x187fx2,_0x83b3[895],_0x187fx3))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[841]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx5=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x187fx4]);_0x187fx3?this[_0x83b3[251]][_0x83b3[99]](_0x187fx5,_0x187fx2[_0x187fx4],_0x187fx4):this[_0x83b3[251]][_0x83b3[99]](_0x187fx5,_0x187fx2[_0x187fx4],this[_0x83b3[251]][_0x83b3[262]](_0x187fx5)- 1)};this[_0x83b3[746]]( new mxEventObject(mxEvent.CELLS_ORDERED,_0x83b3[2495],_0x187fx3,_0x83b3[895],_0x187fx2))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[844]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null== _0x187fx4&& (_0x187fx4= mxUtils[_0x83b3[1779]](this[_0x83b3[897]](),!0));_0x187fx4= this[_0x83b3[2496]](_0x187fx4);null== _0x187fx2&& (_0x187fx2= this[_0x83b3[2497]](_0x187fx4));var _0x187fx5=this[_0x83b3[2498]](_0x187fx2,_0x187fx4,_0x187fx3);if(0< _0x187fx4[_0x83b3[67]]&& null!= _0x187fx5){var _0x187fx9=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2);null== _0x187fx9&& (_0x187fx9= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx4[0]));this[_0x83b3[251]][_0x83b3[473]]();try{null== this[_0x83b3[1198]](_0x187fx2)&& this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2, new mxGeometry);var _0x187fxa=this[_0x83b3[251]][_0x83b3[262]](_0x187fx9);this[_0x83b3[833]]([_0x187fx2],_0x187fx9,_0x187fxa,null,null,!1);_0x187fxa= this[_0x83b3[251]][_0x83b3[262]](_0x187fx2);this[_0x83b3[833]](_0x187fx4,_0x187fx2,_0x187fxa,null,null,!1,!1);this[_0x83b3[835]](_0x187fx4,-_0x187fx5[_0x83b3[235]],-_0x187fx5[_0x83b3[236]],!1,!0);this[_0x83b3[837]]([_0x187fx2],[_0x187fx5]);this[_0x83b3[746]]( new mxEventObject(mxEvent.GROUP_CELLS,_0x83b3[1504],_0x187fx2,_0x83b3[467],_0x187fx3,_0x83b3[895],_0x187fx4))}finally{this[_0x83b3[251]][_0x83b3[476]]()}};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2496]]= function(_0x187fx2){var _0x187fx3=[];if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){var _0x187fx4=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[0]);_0x187fx3[_0x83b3[207]](_0x187fx2[0]);for(var _0x187fx5=1;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x187fx5])== _0x187fx4&& _0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx5])}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2498]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= this[_0x83b3[1729]](_0x187fx3);null!= _0x187fx3&& (this[_0x83b3[1730]](_0x187fx2)&& (_0x187fx2= this[_0x83b3[1731]](_0x187fx2),_0x187fx3[_0x83b3[235]]-= _0x187fx2[_0x83b3[117]],_0x187fx3[_0x83b3[236]]-= _0x187fx2[_0x83b3[119]],_0x187fx3[_0x83b3[117]]+= _0x187fx2[_0x83b3[117]],_0x187fx3[_0x83b3[119]]+= _0x187fx2[_0x83b3[119]]),_0x187fx3[_0x83b3[235]]-= _0x187fx4,_0x187fx3[_0x83b3[236]]-= _0x187fx4,_0x187fx3[_0x83b3[117]]+= 2* _0x187fx4,_0x187fx3[_0x83b3[119]]+= 2* _0x187fx4);return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2497]]= function(_0x187fx2){_0x187fx2= new mxCell(_0x83b3[110]);_0x187fx2[_0x83b3[1993]](!0);_0x187fx2[_0x83b3[1995]](!1);return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[845]]= function(_0x187fx2){var _0x187fx3=[];if(null== _0x187fx2){_0x187fx2= this[_0x83b3[897]]();for(var _0x187fx4=[],_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){0< this[_0x83b3[251]][_0x83b3[262]](_0x187fx2[_0x187fx5])&& _0x187fx4[_0x83b3[207]](_0x187fx2[_0x187fx5])};_0x187fx2= _0x187fx4};if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){this[_0x83b3[251]][_0x83b3[473]]();try{for(_0x187fx5= 0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){var _0x187fx9=this[_0x83b3[251]][_0x83b3[1953]](_0x187fx2[_0x187fx5]);if(null!= _0x187fx9&& 0< _0x187fx9[_0x83b3[67]]){var _0x187fx9=_0x187fx9[_0x83b3[1853]](),_0x187fxa=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x187fx5]),_0x187fx12=this[_0x83b3[251]][_0x83b3[262]](_0x187fxa);this[_0x83b3[833]](_0x187fx9,_0x187fxa,_0x187fx12,null,null,!0);_0x187fx3= _0x187fx3[_0x83b3[1919]](_0x187fx9)}};this[_0x83b3[843]](this[_0x83b3[2499]](_0x187fx2));this[_0x83b3[746]]( new mxEventObject(mxEvent.UNGROUP_CELLS,_0x83b3[895],_0x187fx2))}finally{this[_0x83b3[251]][_0x83b3[476]]()}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[846]]= function(_0x187fx2){null== _0x187fx2&& (_0x187fx2= this[_0x83b3[897]]());this[_0x83b3[251]][_0x83b3[473]]();try{var _0x187fx3=this[_0x83b3[902]](),_0x187fx4=this[_0x83b3[251]][_0x83b3[262]](_0x187fx3);this[_0x83b3[833]](_0x187fx2,_0x187fx3,_0x187fx4,null,null,!0);this[_0x83b3[746]]( new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,_0x83b3[895],_0x187fx2))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[1917]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null== _0x187fx2&& (_0x187fx2= this[_0x83b3[897]]());_0x187fx3= null!= _0x187fx3?_0x187fx3:0;_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){var _0x187fx9=this[_0x83b3[1198]](_0x187fx2[_0x187fx5]);if(null!= _0x187fx9){var _0x187fxa=this[_0x83b3[1955]](_0x187fx2[_0x187fx5]);if(null!= _0x187fxa&& 0< _0x187fxa[_0x83b3[67]]){var _0x187fx12=this[_0x83b3[1729]](_0x187fxa);if(0< _0x187fx12[_0x83b3[117]]&& 0< _0x187fx12[_0x83b3[119]]){var _0x187fx13=this[_0x83b3[1730]](_0x187fx2[_0x187fx5])?this[_0x83b3[1731]](_0x187fx2[_0x187fx5]): new mxRectangle,_0x187fx9=_0x187fx9[_0x83b3[238]]();_0x187fx4&& (_0x187fx9[_0x83b3[235]]+= _0x187fx12[_0x83b3[235]]- _0x187fx13[_0x83b3[117]]- _0x187fx3,_0x187fx9[_0x83b3[236]]+= _0x187fx12[_0x83b3[236]]- _0x187fx13[_0x83b3[119]]- _0x187fx3);_0x187fx9[_0x83b3[117]]= _0x187fx12[_0x83b3[117]]+ _0x187fx13[_0x83b3[117]]+ 2* _0x187fx3;_0x187fx9[_0x83b3[119]]= _0x187fx12[_0x83b3[119]]+ _0x187fx13[_0x83b3[119]]+ 2* _0x187fx3;this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2[_0x187fx5],_0x187fx9);this[_0x83b3[834]](_0x187fxa,-_0x187fx12[_0x83b3[235]]+ _0x187fx13[_0x83b3[117]]+ _0x187fx3,-_0x187fx12[_0x83b3[236]]+ _0x187fx13[_0x83b3[119]]+ _0x187fx3)}}}}}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[899]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;var _0x187fx4=null;if(null!= _0x187fx2){for(var _0x187fx5={},_0x187fx4=[],_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2[_0x187fx9]);_0x187fx5[_0x187fxa]= _0x187fx2[_0x187fx9];_0x187fx4[_0x83b3[207]](_0x187fx2[_0x187fx9])};if(0< _0x187fx4[_0x83b3[67]]){for(var _0x187fxa=this[_0x83b3[441]][_0x83b3[255]],_0x187fx12=this[_0x83b3[441]][_0x83b3[513]],_0x187fx4=this[_0x83b3[251]][_0x83b3[899]](_0x187fx2,!0),_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){if(!_0x187fx3&& this[_0x83b3[251]][_0x83b3[250]](_0x187fx4[_0x187fx9])&& null!= this[_0x83b3[2500]](_0x187fx4[_0x187fx9],this[_0x83b3[251]][_0x83b3[1709]](_0x187fx4[_0x187fx9],!0),this[_0x83b3[251]][_0x83b3[1709]](_0x187fx4[_0x187fx9],!1))){_0x187fx4[_0x187fx9]= null}else {var _0x187fx13=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx4[_0x187fx9]);if(null!= _0x187fx13){var _0x187fx14=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2[_0x187fx9]),_0x187fx15=this[_0x83b3[441]][_0x83b3[248]](this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x187fx9]));if(null!= _0x187fx14&& null!= _0x187fx15){var _0x187fx16=_0x187fx15[_0x83b3[2078]][_0x83b3[235]],_0x187fx15=_0x187fx15[_0x83b3[2078]][_0x83b3[236]];if(this[_0x83b3[251]][_0x83b3[250]](_0x187fx4[_0x187fx9])){for(var _0x187fx14=_0x187fx14[_0x83b3[439]],_0x187fx17=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2[_0x187fx9],!0),_0x187fx18=mxCellPath[_0x83b3[385]](_0x187fx17);null!= _0x187fx17&& null== _0x187fx5[_0x187fx18];){_0x187fx17= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx17),_0x187fx18= mxCellPath[_0x83b3[385]](_0x187fx17)};null== _0x187fx17&& _0x187fx13[_0x83b3[2007]]( new mxPoint(_0x187fx14[0][_0x83b3[235]]/ _0x187fxa- _0x187fx12[_0x83b3[235]],_0x187fx14[0][_0x83b3[236]]/ _0x187fxa- _0x187fx12[_0x83b3[236]]),!0);_0x187fx17= this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2[_0x187fx9],!1);for(_0x187fx18= mxCellPath[_0x83b3[385]](_0x187fx17);null!= _0x187fx17&& null== _0x187fx5[_0x187fx18];){_0x187fx17= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx17),_0x187fx18= mxCellPath[_0x83b3[385]](_0x187fx17)};null== _0x187fx17&& (_0x187fx17= _0x187fx14[_0x83b3[67]]- 1,_0x187fx13[_0x83b3[2007]]( new mxPoint(_0x187fx14[_0x187fx17][_0x83b3[235]]/ _0x187fxa- _0x187fx12[_0x83b3[235]],_0x187fx14[_0x187fx17][_0x83b3[236]]/ _0x187fxa- _0x187fx12[_0x83b3[236]]),!1));_0x187fx13= _0x187fx13[_0x83b3[1525]];if(null!= _0x187fx13){for(_0x187fx14= 0;_0x187fx14< _0x187fx13[_0x83b3[67]];_0x187fx14++){_0x187fx13[_0x187fx14][_0x83b3[235]]+= _0x187fx16,_0x187fx13[_0x187fx14][_0x83b3[236]]+= _0x187fx15}}}else {_0x187fx13[_0x83b3[235]]+= _0x187fx16,_0x187fx13[_0x83b3[236]]+= _0x187fx15}}}}}}else {_0x187fx4= []}};return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[2501]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){_0x187fx3= this[_0x83b3[2502]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14);return this[_0x83b3[2103]](_0x187fx3,_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2502]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){_0x187fx2= new mxGeometry(_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12);_0x187fx2[_0x83b3[1500]]= null!= _0x187fx14?_0x187fx14:!1;_0x187fx4= new mxCell(_0x187fx4,_0x187fx2,_0x187fx13);_0x187fx4[_0x83b3[1945]](_0x187fx3);_0x187fx4[_0x83b3[1993]](!0);_0x187fx4[_0x83b3[1995]](!0);return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[1960]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx3= this[_0x83b3[2503]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa);return this[_0x83b3[2504]](_0x187fx3,_0x187fx2,_0x187fx5,_0x187fx9)};mxGraph[_0x83b3[202]][_0x83b3[2503]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx2= new mxCell(_0x187fx4, new mxGeometry,_0x187fxa);_0x187fx2[_0x83b3[1945]](_0x187fx3);_0x187fx2[_0x83b3[1994]](!0);_0x187fx2[_0x83b3[256]][_0x83b3[1500]]= !0;return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2504]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){return this[_0x83b3[2103]](_0x187fx2,_0x187fx3,_0x187fx9,_0x187fx4,_0x187fx5)};mxGraph[_0x83b3[202]][_0x83b3[2103]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){return this[_0x83b3[832]]([_0x187fx2],_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)[0]};mxGraph[_0x83b3[202]][_0x83b3[832]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){null== _0x187fx3&& (_0x187fx3= this[_0x83b3[902]]());null== _0x187fx4&& (_0x187fx4= this[_0x83b3[251]][_0x83b3[262]](_0x187fx3));this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[833]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,!1,!0),this[_0x83b3[746]]( new mxEventObject(mxEvent.ADD_CELLS,_0x83b3[895],_0x187fx2,_0x83b3[1101],_0x187fx3,_0x83b3[1983],_0x187fx4,_0x83b3[1097],_0x187fx5,_0x83b3[772],_0x187fx9))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[833]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){if(null!= _0x187fx2&& null!= _0x187fx3&& null!= _0x187fx4){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx13=_0x187fxa?this[_0x83b3[441]][_0x83b3[248]](_0x187fx3):null,_0x187fx14=null!= _0x187fx13?_0x187fx13[_0x83b3[2078]]:null,_0x187fx15= new mxPoint(0,0),_0x187fx13=0;_0x187fx13< _0x187fx2[_0x83b3[67]];_0x187fx13++){if(null== _0x187fx2[_0x187fx13]){_0x187fx4--}else {var _0x187fx16=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x187fx13]);if(null!= _0x187fx14&& _0x187fx2[_0x187fx13]!= _0x187fx3&& _0x187fx3!= _0x187fx16){var _0x187fx17=this[_0x83b3[441]][_0x83b3[248]](_0x187fx16),_0x187fx18=null!= _0x187fx17?_0x187fx17[_0x83b3[2078]]:_0x187fx15,_0x187fx19=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2[_0x187fx13]);if(null!= _0x187fx19){var _0x187fx1a=_0x187fx18[_0x83b3[235]]- _0x187fx14[_0x83b3[235]],_0x187fx1b=_0x187fx18[_0x83b3[236]]- _0x187fx14[_0x83b3[236]],_0x187fx19=_0x187fx19[_0x83b3[238]]();_0x187fx19[_0x83b3[513]](_0x187fx1a,_0x187fx1b);!_0x187fx19[_0x83b3[1500]]&& (this[_0x83b3[251]][_0x83b3[1193]](_0x187fx2[_0x187fx13])&& !this[_0x83b3[2505]]())&& (_0x187fx19[_0x83b3[235]]= Math[_0x83b3[160]](0,_0x187fx19[_0x83b3[235]]),_0x187fx19[_0x83b3[236]]= Math[_0x83b3[160]](0,_0x187fx19[_0x83b3[236]]));this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2[_0x187fx13],_0x187fx19)}};_0x187fx3== _0x187fx16&& _0x187fx4+ _0x187fx13> this[_0x83b3[251]][_0x83b3[262]](_0x187fx3)&& _0x187fx4--;this[_0x83b3[251]][_0x83b3[99]](_0x187fx3,_0x187fx2[_0x187fx13],_0x187fx4+ _0x187fx13);this[_0x83b3[2506]]()&& this[_0x83b3[2507]](_0x187fx2[_0x187fx13])&& this[_0x83b3[2508]](_0x187fx2[_0x187fx13]);(null== _0x187fx12|| _0x187fx12)&& this[_0x83b3[2509]](_0x187fx2[_0x187fx13]);null!= _0x187fx5&& this[_0x83b3[852]](_0x187fx2[_0x187fx13],_0x187fx5,!0);null!= _0x187fx9&& this[_0x83b3[852]](_0x187fx2[_0x187fx13],_0x187fx9,!1)}};this[_0x83b3[746]]( new mxEventObject(mxEvent.CELLS_ADDED,_0x83b3[895],_0x187fx2,_0x83b3[1101],_0x187fx3,_0x83b3[1983],_0x187fx4,_0x83b3[1097],_0x187fx5,_0x83b3[772],_0x187fx9,_0x83b3[492],_0x187fxa))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[842]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;null== _0x187fx2&& (_0x187fx2= this[_0x83b3[2510]](this[_0x83b3[897]]()));_0x187fx3&& (_0x187fx2= this[_0x83b3[2510]](this[_0x83b3[2499]](_0x187fx2)));this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[843]](_0x187fx2),this[_0x83b3[746]]( new mxEventObject(mxEvent.REMOVE_CELLS,_0x83b3[895],_0x187fx2,_0x83b3[2511],_0x187fx3))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[843]]= function(_0x187fx2){if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){var _0x187fx3=this[_0x83b3[441]][_0x83b3[255]],_0x187fx4=this[_0x83b3[441]][_0x83b3[513]];this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx5={},_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2[_0x187fx9]);_0x187fx5[_0x187fxa]= _0x187fx2[_0x187fx9]};for(_0x187fx9= 0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){for(var _0x187fx12=this[_0x83b3[1756]](_0x187fx2[_0x187fx9]),_0x187fx13=0;_0x187fx13< _0x187fx12[_0x83b3[67]];_0x187fx13++){if(_0x187fxa= mxCellPath[_0x83b3[385]](_0x187fx12[_0x187fx13]),null== _0x187fx5[_0x187fxa]){var _0x187fx14=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx12[_0x187fx13]);if(null!= _0x187fx14){var _0x187fx15=this[_0x83b3[441]][_0x83b3[248]](_0x187fx12[_0x187fx13]);if(null!= _0x187fx15){var _0x187fx14=_0x187fx14[_0x83b3[238]](),_0x187fx16=_0x187fx15[_0x83b3[1710]](!0) == _0x187fx2[_0x187fx9],_0x187fx17=_0x187fx15[_0x83b3[439]],_0x187fx18=_0x187fx16?0:_0x187fx17[_0x83b3[67]]- 1;_0x187fx14[_0x83b3[2007]]( new mxPoint(_0x187fx17[_0x187fx18][_0x83b3[235]]/ _0x187fx3- _0x187fx4[_0x83b3[235]],_0x187fx17[_0x187fx18][_0x83b3[236]]/ _0x187fx3- _0x187fx4[_0x83b3[236]]),_0x187fx16);this[_0x83b3[251]][_0x83b3[1957]](_0x187fx12[_0x187fx13],null,_0x187fx16);this[_0x83b3[251]][_0x83b3[1724]](_0x187fx12[_0x187fx13],_0x187fx14)}}}};this[_0x83b3[251]][_0x83b3[205]](_0x187fx2[_0x187fx9])};this[_0x83b3[746]]( new mxEventObject(mxEvent.CELLS_REMOVED,_0x83b3[895],_0x187fx2))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[853]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx5= _0x187fx5|| 0;_0x187fx9= _0x187fx9|| 0;null== _0x187fx4&& (_0x187fx4= this[_0x83b3[899]]([_0x187fx2])[0]);var _0x187fxa=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2),_0x187fx12=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!0);this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[835]](_0x187fx3,_0x187fx5,_0x187fx9,!1,!1),this[_0x83b3[833]](_0x187fx3,_0x187fxa,this[_0x83b3[251]][_0x83b3[262]](_0x187fxa),null,null,!0),this[_0x83b3[833]]([_0x187fx4],_0x187fxa,this[_0x83b3[251]][_0x83b3[262]](_0x187fxa),_0x187fx12,_0x187fx3[0],!1),this[_0x83b3[852]](_0x187fx2,_0x187fx3[0],!0),this[_0x83b3[746]]( new mxEventObject(mxEvent.SPLIT_EDGE,_0x83b3[1989],_0x187fx2,_0x83b3[895],_0x187fx3,_0x83b3[2512],_0x187fx4,_0x83b3[1126],_0x187fx5,_0x83b3[1125],_0x187fx9))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[838]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null== _0x187fx3&& (_0x187fx3= this[_0x83b3[897]]());_0x187fx4&& (_0x187fx3= this[_0x83b3[2499]](_0x187fx3));this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[839]](_0x187fx3,_0x187fx2),this[_0x83b3[746]]( new mxEventObject(mxEvent.TOGGLE_CELLS,_0x83b3[539],_0x187fx2,_0x83b3[895],_0x187fx3,_0x83b3[2511],_0x187fx4))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[839]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){this[_0x83b3[251]][_0x83b3[175]](_0x187fx2[_0x187fx4],_0x187fx3)}}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[847]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;null== _0x187fx4&& (_0x187fx4= this[_0x83b3[2513]](this[_0x83b3[897]](),_0x187fx2));this[_0x83b3[2126]](!1);this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[848]](_0x187fx4,_0x187fx2,_0x187fx3,_0x187fx5),this[_0x83b3[746]]( new mxEventObject(mxEvent.FOLD_CELLS,_0x83b3[2514],_0x187fx2,_0x83b3[2515],_0x187fx3,_0x83b3[895],_0x187fx4))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[848]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){if((!_0x187fx5|| this[_0x83b3[2516]](_0x187fx2[_0x187fx9],_0x187fx3)) && _0x187fx3!= this[_0x83b3[1742]](_0x187fx2[_0x187fx9])){if(this[_0x83b3[251]][_0x83b3[1972]](_0x187fx2[_0x187fx9],_0x187fx3),this[_0x83b3[2517]](_0x187fx2[_0x187fx9],_0x187fx3),this[_0x83b3[2507]](_0x187fx2[_0x187fx9])&& this[_0x83b3[2508]](_0x187fx2[_0x187fx9]),_0x187fx4){var _0x187fxa=this[_0x83b3[251]][_0x83b3[1953]](_0x187fx2[_0x187fx9]);this[_0x83b3[847]](_0x187fxa,_0x187fx3,_0x187fx4)}}};this[_0x83b3[746]]( new mxEventObject(mxEvent.CELLS_FOLDED,_0x83b3[895],_0x187fx2,_0x83b3[2514],_0x187fx3,_0x83b3[2515],_0x187fx4))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2517]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2){var _0x187fx4=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2);null!= _0x187fx4&& (_0x187fx4= _0x187fx4[_0x83b3[238]](),this[_0x83b3[2518]](_0x187fx2,_0x187fx4,_0x187fx3),_0x187fx4[_0x83b3[2005]](),this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2,_0x187fx4))}};mxGraph[_0x83b3[202]][_0x83b3[2518]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= _0x187fx2&& null!= _0x187fx3){_0x187fx4= this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx4= null!= _0x187fx4?_0x187fx4[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);if(null== _0x187fx3[_0x83b3[2002]]){var _0x187fx5=_0x187fx3;this[_0x83b3[2394]]&& (_0x187fx2= this[_0x83b3[2519]](_0x187fx2),null!= _0x187fx2&& (_0x187fx5= _0x187fx2,_0x187fx2= mxUtils[_0x83b3[433]](_0x187fx4,mxConstants.STYLE_STARTSIZE),0< _0x187fx2&& (_0x187fx5[_0x83b3[119]]= Math[_0x83b3[160]](_0x187fx5[_0x83b3[119]],_0x187fx2))));_0x187fx3[_0x83b3[2002]]= new mxRectangle(0,0,_0x187fx5[_0x83b3[117]],_0x187fx5[_0x83b3[119]])};if(null!= _0x187fx3[_0x83b3[2002]]){_0x187fx3[_0x83b3[2002]][_0x83b3[235]]= _0x187fx3[_0x83b3[235]];_0x187fx3[_0x83b3[2002]][_0x83b3[236]]= _0x187fx3[_0x83b3[236]];var _0x187fx9=mxUtils[_0x83b3[431]](_0x187fx4[mxConstants[_0x83b3[2278]]]|| _0x83b3[468]);0!= _0x187fx9&& (_0x187fx2= _0x187fx3[_0x83b3[2002]][_0x83b3[241]]()- _0x187fx3[_0x83b3[241]](),_0x187fx4= _0x187fx3[_0x83b3[2002]][_0x83b3[242]]()- _0x187fx3[_0x83b3[242]](),_0x187fx5= Math[_0x83b3[426]](_0x187fx9),_0x187fx9= Math[_0x83b3[427]](_0x187fx9),_0x187fx3[_0x83b3[2002]][_0x83b3[235]]+= _0x187fx5* _0x187fx2- _0x187fx9* _0x187fx4- _0x187fx2,_0x187fx3[_0x83b3[2002]][_0x83b3[236]]+= _0x187fx9* _0x187fx2+ _0x187fx5* _0x187fx4- _0x187fx4)}}};mxGraph[_0x83b3[202]][_0x83b3[2499]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[1853]]();return _0x187fx3= _0x187fx3[_0x83b3[1919]](this[_0x83b3[2520]](_0x187fx2))};mxGraph[_0x83b3[202]][_0x83b3[2520]]= function(_0x187fx2){var _0x187fx3=[];if(null!= _0x187fx2){for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){for(var _0x187fx5=this[_0x83b3[251]][_0x83b3[1707]](_0x187fx2[_0x187fx4]),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){_0x187fx3[_0x83b3[207]](this[_0x83b3[251]][_0x83b3[1708]](_0x187fx2[_0x187fx4],_0x187fx9))};_0x187fx5= this[_0x83b3[251]][_0x83b3[1953]](_0x187fx2[_0x187fx4]);_0x187fx3= _0x187fx3[_0x83b3[1919]](this[_0x83b3[2520]](_0x187fx5))}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[858]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[2457]](_0x187fx2,_0x187fx3),this[_0x83b3[746]]( new mxEventObject(mxEvent.UPDATE_CELL_SIZE,_0x83b3[246],_0x187fx2,_0x83b3[2521],_0x187fx3))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2457]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2){this[_0x83b3[251]][_0x83b3[473]]();try{var _0x187fx4=this[_0x83b3[2519]](_0x187fx2),_0x187fx5=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2);if(null!= _0x187fx4&& null!= _0x187fx5){var _0x187fx9=this[_0x83b3[1742]](_0x187fx2),_0x187fx5=_0x187fx5[_0x83b3[238]]();if(this[_0x83b3[1730]](_0x187fx2)){var _0x187fxa=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx12=null!= _0x187fxa?_0x187fxa[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2),_0x187fx13=this[_0x83b3[251]][_0x83b3[474]](_0x187fx2);null== _0x187fx13&& (_0x187fx13= _0x83b3[110]);mxUtils[_0x83b3[433]](_0x187fx12,mxConstants.STYLE_HORIZONTAL,!0)?(_0x187fx13= mxUtils[_0x83b3[475]](_0x187fx13,mxConstants.STYLE_STARTSIZE,_0x187fx4[_0x83b3[119]]+ 8),_0x187fx9&& (_0x187fx5[_0x83b3[119]]= _0x187fx4[_0x83b3[119]]+ 8),_0x187fx5[_0x83b3[117]]= _0x187fx4[_0x83b3[117]]):(_0x187fx13= mxUtils[_0x83b3[475]](_0x187fx13,mxConstants.STYLE_STARTSIZE,_0x187fx4[_0x83b3[117]]+ 8),_0x187fx9&& (_0x187fx5[_0x83b3[117]]= _0x187fx4[_0x83b3[117]]+ 8),_0x187fx5[_0x83b3[119]]= _0x187fx4[_0x83b3[119]]);this[_0x83b3[251]][_0x83b3[475]](_0x187fx2,_0x187fx13)}else {_0x187fx5[_0x83b3[117]]= _0x187fx4[_0x83b3[117]],_0x187fx5[_0x83b3[119]]= _0x187fx4[_0x83b3[119]]};if(!_0x187fx3&& !_0x187fx9){var _0x187fx14=this[_0x83b3[441]][_0x83b3[1799]](this[_0x83b3[251]][_0x83b3[1953]](_0x187fx2));if(null!= _0x187fx14){var _0x187fx15=this[_0x83b3[441]][_0x83b3[513]],_0x187fx16=this[_0x83b3[441]][_0x83b3[255]],_0x187fx17=(_0x187fx14[_0x83b3[236]]+ _0x187fx14[_0x83b3[119]])/ _0x187fx16- _0x187fx5[_0x83b3[236]]- _0x187fx15[_0x83b3[236]];_0x187fx5[_0x83b3[117]]= Math[_0x83b3[160]](_0x187fx5[_0x83b3[117]],(_0x187fx14[_0x83b3[235]]+ _0x187fx14[_0x83b3[117]])/ _0x187fx16- _0x187fx5[_0x83b3[235]]- _0x187fx15[_0x83b3[235]]);_0x187fx5[_0x83b3[119]]= Math[_0x83b3[160]](_0x187fx5[_0x83b3[119]],_0x187fx17)}};this[_0x83b3[837]]([_0x187fx2],[_0x187fx5])}}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2519]]= function(_0x187fx2){var _0x187fx3=null;if(null!= _0x187fx2){var _0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx5=null!= _0x187fx4?_0x187fx4[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);if(null!= _0x187fx5&& !this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)){var _0x187fx9=_0x187fx5[mxConstants[_0x83b3[2185]]]|| mxConstants[_0x83b3[483]],_0x187fxa=0,_0x187fx3=0;if((null!= this[_0x83b3[1202]](_0x187fx4)|| null!= _0x187fx5[mxConstants[_0x83b3[2484]]])&& _0x187fx5[mxConstants[_0x83b3[2059]]]== mxConstants[_0x83b3[2522]]){_0x187fx5[mxConstants[_0x83b3[2063]]]== mxConstants[_0x83b3[481]]&& (_0x187fxa+= parseFloat(_0x187fx5[mxConstants[_0x83b3[2523]]])|| mxLabel[_0x83b3[202]][_0x83b3[1680]]),_0x187fx5[mxConstants[_0x83b3[2064]]]!= mxConstants[_0x83b3[479]]&& (_0x187fx3+= parseFloat(_0x187fx5[mxConstants[_0x83b3[2524]]])|| mxLabel[_0x83b3[202]][_0x83b3[1680]])};_0x187fxa+= 2* (_0x187fx5[mxConstants[_0x83b3[2143]]]|| 0);_0x187fxa+= _0x187fx5[mxConstants[_0x83b3[2147]]]|| 0;_0x187fxa+= _0x187fx5[mxConstants[_0x83b3[2145]]]|| 0;_0x187fx3+= 2* (_0x187fx5[mxConstants[_0x83b3[2143]]]|| 0);_0x187fx3+= _0x187fx5[mxConstants[_0x83b3[2144]]]|| 0;_0x187fx3+= _0x187fx5[mxConstants[_0x83b3[2146]]]|| 0;_0x187fx4= this[_0x83b3[2205]](_0x187fx4);null!= _0x187fx4&& (_0x187fxa+= _0x187fx4[_0x83b3[117]]+ 8);_0x187fx4= this[_0x83b3[2183]](_0x187fx2);null!= _0x187fx4&& 0< _0x187fx4[_0x83b3[67]]?(this[_0x83b3[2186]](_0x187fx2)|| (_0x187fx4= _0x187fx4[_0x83b3[230]](/\n/g,_0x83b3[545])),_0x187fx9= mxUtils[_0x83b3[2525]](_0x187fx4,_0x187fx9,_0x187fx5[mxConstants[_0x83b3[2188]]]),_0x187fx2= _0x187fx9[_0x83b3[117]]+ _0x187fxa,_0x187fx3= _0x187fx9[_0x83b3[119]]+ _0x187fx3,mxUtils[_0x83b3[433]](_0x187fx5,mxConstants.STYLE_HORIZONTAL,!0)|| (_0x187fx5= _0x187fx3,_0x187fx3= _0x187fx2,_0x187fx2= _0x187fx5),this[_0x83b3[991]]&& (_0x187fx2= this[_0x83b3[1021]](_0x187fx2+ this[_0x83b3[1020]]/ 2),_0x187fx3= this[_0x83b3[1021]](_0x187fx3+ this[_0x83b3[1020]]/ 2)),_0x187fx3= new mxRectangle(0,0,_0x187fx2,_0x187fx3)):(_0x187fx5= 4* this[_0x83b3[1020]],_0x187fx3= new mxRectangle(0,0,_0x187fx5,_0x187fx5))}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2216]]= function(_0x187fx2,_0x187fx3){if(0.2< Math[_0x83b3[425]](1- _0x187fx3[_0x83b3[255]])){var _0x187fx4=this[_0x83b3[441]][_0x83b3[255]],_0x187fx5=this[_0x83b3[441]][_0x83b3[513]],_0x187fx9=_0x187fx2[_0x83b3[117]]* _0x187fx3[_0x83b3[255]],_0x187fxa=_0x187fx2[_0x83b3[119]]* _0x187fx3[_0x83b3[255]],_0x187fx12=_0x187fx2[_0x83b3[236]]- (_0x187fxa- _0x187fx2[_0x83b3[119]])/ 2,_0x187fx4= new mxRectangle(this[_0x83b3[1021]]((_0x187fx2[_0x83b3[235]]- (_0x187fx9- _0x187fx2[_0x83b3[117]])/ 2)/ _0x187fx4)- _0x187fx5[_0x83b3[235]],this[_0x83b3[1021]](_0x187fx12/ _0x187fx4)- _0x187fx5[_0x83b3[236]],this[_0x83b3[1021]](_0x187fx9/ _0x187fx4),this[_0x83b3[1021]](_0x187fxa/ _0x187fx4));this[_0x83b3[2526]](_0x187fx2[_0x83b3[246]],_0x187fx4)}};mxGraph[_0x83b3[202]][_0x83b3[2526]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[836]]([_0x187fx2],[_0x187fx3])[0]};mxGraph[_0x83b3[202]][_0x83b3[836]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[251]][_0x83b3[473]]();try{this[_0x83b3[837]](_0x187fx2,_0x187fx3),this[_0x83b3[746]]( new mxEventObject(mxEvent.RESIZE_CELLS,_0x83b3[895],_0x187fx2,_0x83b3[1562],_0x187fx3))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[837]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& null!= _0x187fx3&& _0x187fx2[_0x83b3[67]]== _0x187fx3[_0x83b3[67]]){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx5=_0x187fx3[_0x187fx4],_0x187fx9=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2[_0x187fx4]);if(null!= _0x187fx9&& (_0x187fx9[_0x83b3[235]]!= _0x187fx5[_0x83b3[235]]|| _0x187fx9[_0x83b3[236]]!= _0x187fx5[_0x83b3[236]]|| _0x187fx9[_0x83b3[117]]!= _0x187fx5[_0x83b3[117]]|| _0x187fx9[_0x83b3[119]]!= _0x187fx5[_0x83b3[119]])){_0x187fx9= _0x187fx9[_0x83b3[238]]();if(_0x187fx9[_0x83b3[1500]]){var _0x187fxa=_0x187fx9[_0x83b3[1368]];null!= _0x187fxa&& (_0x187fxa[_0x83b3[235]]+= _0x187fx5[_0x83b3[235]]- _0x187fx9[_0x83b3[235]],_0x187fxa[_0x83b3[236]]+= _0x187fx5[_0x83b3[236]]- _0x187fx9[_0x83b3[236]])}else {_0x187fx9[_0x83b3[235]]= _0x187fx5[_0x83b3[235]],_0x187fx9[_0x83b3[236]]= _0x187fx5[_0x83b3[236]]};_0x187fx9[_0x83b3[117]]= _0x187fx5[_0x83b3[117]];_0x187fx9[_0x83b3[119]]= _0x187fx5[_0x83b3[119]];!_0x187fx9[_0x83b3[1500]]&& (this[_0x83b3[251]][_0x83b3[1193]](_0x187fx2[_0x187fx4])&& !this[_0x83b3[2505]]())&& (_0x187fx9[_0x83b3[235]]= Math[_0x83b3[160]](0,_0x187fx9[_0x83b3[235]]),_0x187fx9[_0x83b3[236]]= Math[_0x83b3[160]](0,_0x187fx9[_0x83b3[236]]));this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2[_0x187fx4],_0x187fx9);this[_0x83b3[2507]](_0x187fx2[_0x187fx4])&& this[_0x83b3[2508]](_0x187fx2[_0x187fx4])}};this[_0x83b3[2399]]&& this[_0x83b3[1750]](_0x187fx2);this[_0x83b3[746]]( new mxEventObject(mxEvent.CELLS_RESIZED,_0x83b3[895],_0x187fx2,_0x83b3[1562],_0x187fx3))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2508]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2),_0x187fx4=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx3);if(null!= _0x187fx3&& (null!= _0x187fx4&& !this[_0x83b3[1742]](_0x187fx3))&& (_0x187fx2= this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2),null!= _0x187fx2&& (_0x187fx4[_0x83b3[117]]< _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]|| _0x187fx4[_0x83b3[119]]< _0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]))){_0x187fx4= _0x187fx4[_0x83b3[238]](),_0x187fx4[_0x83b3[117]]= Math[_0x83b3[160]](_0x187fx4[_0x83b3[117]],_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]),_0x187fx4[_0x83b3[119]]= Math[_0x83b3[160]](_0x187fx4[_0x83b3[119]],_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]),this[_0x83b3[837]]([_0x187fx3],[_0x187fx4])}}};mxGraph[_0x83b3[202]][_0x83b3[903]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){return this[_0x83b3[834]](_0x187fx2,_0x187fx3,_0x187fx4,!0,_0x187fx5,_0x187fx9)};mxGraph[_0x83b3[202]][_0x83b3[834]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx3= null!= _0x187fx3?_0x187fx3:0;_0x187fx4= null!= _0x187fx4?_0x187fx4:0;_0x187fx5= null!= _0x187fx5?_0x187fx5:!1;if(null!= _0x187fx2&& (0!= _0x187fx3|| 0!= _0x187fx4|| _0x187fx5|| null!= _0x187fx9)){this[_0x83b3[251]][_0x83b3[473]]();try{_0x187fx5&& (_0x187fx2= this[_0x83b3[899]](_0x187fx2,this[_0x83b3[2527]]()),null== _0x187fx9&& (_0x187fx9= this[_0x83b3[902]]()));var _0x187fx12=this[_0x83b3[2505]]();null!= _0x187fx9&& this[_0x83b3[2528]](!0);this[_0x83b3[835]](_0x187fx2,_0x187fx3,_0x187fx4,!_0x187fx5&& this[_0x83b3[2529]]()&& this[_0x83b3[2530]](),null== _0x187fx9);this[_0x83b3[2528]](_0x187fx12);if(null!= _0x187fx9){var _0x187fx13=this[_0x83b3[251]][_0x83b3[262]](_0x187fx9);this[_0x83b3[833]](_0x187fx2,_0x187fx9,_0x187fx13,null,null,!0)};this[_0x83b3[746]]( new mxEventObject(mxEvent.MOVE_CELLS,_0x83b3[895],_0x187fx2,_0x83b3[1126],_0x187fx3,_0x83b3[1125],_0x187fx4,_0x83b3[238],_0x187fx5,_0x83b3[772],_0x187fx9,_0x83b3[763],_0x187fxa))}finally{this[_0x83b3[251]][_0x83b3[476]]()}};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[835]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx2&& (0!= _0x187fx3|| 0!= _0x187fx4)){this[_0x83b3[251]][_0x83b3[473]]();try{_0x187fx5&& this[_0x83b3[2531]](_0x187fx2);for(var _0x187fxa=0;_0x187fxa< _0x187fx2[_0x83b3[67]];_0x187fxa++){this[_0x83b3[2532]](_0x187fx2[_0x187fxa],_0x187fx3,_0x187fx4),_0x187fx9&& this[_0x83b3[2509]](_0x187fx2[_0x187fxa])};this[_0x83b3[2400]]&& this[_0x83b3[1750]](_0x187fx2);this[_0x83b3[746]]( new mxEventObject(mxEvent.CELLS_MOVED,_0x83b3[895],_0x187fx2,_0x83b3[1126],_0x187fx4,_0x83b3[1125],_0x187fx4,_0x83b3[808],_0x187fx5))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2532]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2);null!= _0x187fx5&& (_0x187fx5= _0x187fx5[_0x83b3[238]](),_0x187fx5[_0x83b3[513]](_0x187fx3,_0x187fx4),!_0x187fx5[_0x83b3[1500]]&& (this[_0x83b3[251]][_0x83b3[1193]](_0x187fx2)&& !this[_0x83b3[2505]]())&& (_0x187fx5[_0x83b3[235]]= Math[_0x83b3[160]](0,_0x187fx5[_0x83b3[235]]),_0x187fx5[_0x83b3[236]]= Math[_0x83b3[160]](0,_0x187fx5[_0x83b3[236]])),_0x187fx5[_0x83b3[1500]]&& !this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)&& (null== _0x187fx5[_0x83b3[1368]]?_0x187fx5[_0x83b3[1368]]= new mxPoint(_0x187fx3,_0x187fx4):(_0x187fx5[_0x83b3[1368]][_0x83b3[235]]+= _0x187fx3,_0x187fx5[_0x83b3[1368]][_0x83b3[236]]+= _0x187fx4)),this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2,_0x187fx5))};mxGraph[_0x83b3[202]][_0x83b3[2533]]= function(_0x187fx2){if(null!= _0x187fx2&& !this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2);if(_0x187fx3== this[_0x83b3[902]]()|| _0x187fx3== this[_0x83b3[2534]]()){return this[_0x83b3[2535]]()};if(null!= _0x187fx3&& _0x187fx3!= this[_0x83b3[902]]()){var _0x187fx4=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx3);if(null!= _0x187fx4){var _0x187fx5=_0x187fx2= 0,_0x187fx9=_0x187fx4[_0x83b3[117]],_0x187fx4=_0x187fx4[_0x83b3[119]];this[_0x83b3[1730]](_0x187fx3)&& (_0x187fx3= this[_0x83b3[1731]](_0x187fx3),_0x187fx2= _0x187fx3[_0x83b3[117]],_0x187fx9-= _0x187fx3[_0x83b3[117]],_0x187fx5= _0x187fx3[_0x83b3[119]],_0x187fx4-= _0x187fx3[_0x83b3[119]]);return new mxRectangle(_0x187fx2,_0x187fx5,_0x187fx9,_0x187fx4)}}};return null};mxGraph[_0x83b3[202]][_0x83b3[2535]]= function(){return this[_0x83b3[2385]]};mxGraph[_0x83b3[202]][_0x83b3[2509]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2),_0x187fx4=this[_0x83b3[2536]](_0x187fx2)?this[_0x83b3[2533]](_0x187fx2):this[_0x83b3[2535]]();if(null!= _0x187fx3&& null!= _0x187fx4&& !_0x187fx3[_0x83b3[1500]]&& (_0x187fx3[_0x83b3[235]]< _0x187fx4[_0x83b3[235]]|| _0x187fx3[_0x83b3[236]]< _0x187fx4[_0x83b3[236]]|| _0x187fx4[_0x83b3[117]]< _0x187fx3[_0x83b3[235]]+ _0x187fx3[_0x83b3[117]]|| _0x187fx4[_0x83b3[119]]< _0x187fx3[_0x83b3[236]]+ _0x187fx3[_0x83b3[119]])){_0x187fx2= this[_0x83b3[2537]](_0x187fx2),0< _0x187fx4[_0x83b3[117]]&& (_0x187fx3[_0x83b3[235]]= Math[_0x83b3[243]](_0x187fx3[_0x83b3[235]],_0x187fx4[_0x83b3[235]]+ _0x187fx4[_0x83b3[117]]- (1- _0x187fx2)* _0x187fx3[_0x83b3[117]])),0< _0x187fx4[_0x83b3[119]]&& (_0x187fx3[_0x83b3[236]]= Math[_0x83b3[243]](_0x187fx3[_0x83b3[236]],_0x187fx4[_0x83b3[236]]+ _0x187fx4[_0x83b3[119]]- (1- _0x187fx2)* _0x187fx3[_0x83b3[119]])),_0x187fx3[_0x83b3[235]]= Math[_0x83b3[160]](_0x187fx3[_0x83b3[235]],_0x187fx4[_0x83b3[235]]- _0x187fx3[_0x83b3[117]]* _0x187fx2),_0x187fx3[_0x83b3[236]]= Math[_0x83b3[160]](_0x187fx3[_0x83b3[236]],_0x187fx4[_0x83b3[236]]- _0x187fx3[_0x83b3[119]]* _0x187fx2)}}};mxGraph[_0x83b3[202]][_0x83b3[1750]]= function(_0x187fx2){if(null!= _0x187fx2){for(var _0x187fx3={},_0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx5=mxCellPath[_0x83b3[385]](_0x187fx2[_0x187fx4]);_0x187fx3[_0x187fx5]= _0x187fx2[_0x187fx4]};this[_0x83b3[251]][_0x83b3[473]]();try{for(_0x187fx4= 0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){var _0x187fx9=this[_0x83b3[251]][_0x83b3[264]](_0x187fx2[_0x187fx4]);if(null!= _0x187fx9){for(_0x187fx5= 0;_0x187fx5< _0x187fx9[_0x83b3[67]];_0x187fx5++){var _0x187fxa=this[_0x83b3[441]][_0x83b3[248]](_0x187fx9[_0x187fx5]),_0x187fx12=null!= _0x187fxa?_0x187fxa[_0x83b3[1710]](!0):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx9[_0x187fx5],!0),_0x187fx13=null!= _0x187fxa?_0x187fxa[_0x83b3[1710]](!1):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx9[_0x187fx5],!1),_0x187fx14=mxCellPath[_0x83b3[385]](_0x187fx12),_0x187fx15=mxCellPath[_0x83b3[385]](_0x187fx13);(null== _0x187fx3[_0x187fx14]|| null== _0x187fx3[_0x187fx15])&& this[_0x83b3[1809]](_0x187fx9[_0x187fx5])}};this[_0x83b3[1750]](this[_0x83b3[251]][_0x83b3[1953]](_0x187fx2[_0x187fx4]))}}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[1809]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2);null!= _0x187fx3&& (null!= _0x187fx3[_0x83b3[1525]]&& 0< _0x187fx3[_0x83b3[1525]][_0x83b3[67]])&& (_0x187fx3= _0x187fx3[_0x83b3[238]](),_0x187fx3[_0x83b3[1525]]= [],this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2,_0x187fx3));return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2538]]= function(_0x187fx2,_0x187fx3){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[253]]&& null!= _0x187fx2[_0x83b3[253]][_0x83b3[1561]]?_0x187fx2[_0x83b3[253]][_0x83b3[1561]][_0x83b3[1531]]:null};mxGraph[_0x83b3[202]][_0x83b3[2288]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= null;var _0x187fx5=_0x187fx2[_0x83b3[124]][_0x187fx4?mxConstants[_0x83b3[2539]]:mxConstants[_0x83b3[2540]]];if(null!= _0x187fx5){var _0x187fx9=_0x187fx2[_0x83b3[124]][_0x187fx4?mxConstants[_0x83b3[2541]]:mxConstants[_0x83b3[2542]]];null!= _0x187fx9&& (_0x187fx3= new mxPoint(parseFloat(_0x187fx5),parseFloat(_0x187fx9)))};_0x187fx5= !1;null!= _0x187fx3&& (_0x187fx5= mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],_0x187fx4?mxConstants[_0x83b3[2543]]:mxConstants[_0x83b3[2544]],!0));return new mxConnectionConstraint(_0x187fx3,_0x187fx5)};mxGraph[_0x83b3[202]][_0x83b3[2545]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx5){this[_0x83b3[251]][_0x83b3[473]]();try{null== _0x187fx5|| null== _0x187fx5[_0x83b3[2546]]?(this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2539]]:mxConstants[_0x83b3[2540]],null,[_0x187fx2]),this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2541]]:mxConstants[_0x83b3[2542]],null,[_0x187fx2]),this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2543]]:mxConstants[_0x83b3[2544]],null,[_0x187fx2])):null!= _0x187fx5[_0x83b3[2546]]&& (this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2539]]:mxConstants[_0x83b3[2540]],_0x187fx5[_0x83b3[2546]][_0x83b3[235]],[_0x187fx2]),this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2541]]:mxConstants[_0x83b3[2542]],_0x187fx5[_0x83b3[2546]][_0x83b3[236]],[_0x187fx2]),_0x187fx5[_0x83b3[591]]?this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2543]]:mxConstants[_0x83b3[2544]],null,[_0x187fx2]):this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2543]]:mxConstants[_0x83b3[2544]],_0x83b3[468],[_0x187fx2]))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2290]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null;if(null!= _0x187fx2){var _0x187fx5=this[_0x83b3[441]][_0x83b3[2087]](_0x187fx2),_0x187fx9= new mxPoint(_0x187fx5[_0x83b3[241]](),_0x187fx5[_0x83b3[242]]()),_0x187fxa=_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2011]]],_0x187fx12=0;if(null!= _0x187fxa&& (_0x83b3[700]== _0x187fxa?_0x187fx12+= 270:_0x83b3[703]== _0x187fxa?_0x187fx12+= 180:_0x83b3[701]== _0x187fxa&& (_0x187fx12+= 90),_0x83b3[700]== _0x187fxa|| _0x83b3[701]== _0x187fxa)){_0x187fx5[_0x83b3[235]]+= _0x187fx5[_0x83b3[117]]/ 2- _0x187fx5[_0x83b3[119]]/ 2;_0x187fx5[_0x83b3[236]]+= _0x187fx5[_0x83b3[119]]/ 2- _0x187fx5[_0x83b3[117]]/ 2;var _0x187fx13=_0x187fx5[_0x83b3[117]];_0x187fx5[_0x83b3[117]]= _0x187fx5[_0x83b3[119]];_0x187fx5[_0x83b3[119]]= _0x187fx13};if(null!= _0x187fx3[_0x83b3[2546]]){var _0x187fx14=_0x187fx4= 1,_0x187fx15=0,_0x187fx16=0;if(this[_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2[_0x83b3[246]])){var _0x187fx17=_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2547]]],_0x187fx18=_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2548]]];null!= _0x187fx2[_0x83b3[253]][_0x83b3[1561]]&& (_0x187fx17= 1== mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],_0x83b3[1607],0)|| _0x187fx17,_0x187fx18= 1== mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],_0x83b3[1608],0)|| _0x187fx18);if(_0x83b3[700]== _0x187fxa|| _0x83b3[701]== _0x187fxa){_0x187fx13= _0x187fx17,_0x187fx17= _0x187fx18,_0x187fx18= _0x187fx13};_0x187fx17&& (_0x187fx4= -1,_0x187fx15= -_0x187fx5[_0x83b3[117]]);_0x187fx18&& (_0x187fx14= -1,_0x187fx16= -_0x187fx5[_0x83b3[119]])};_0x187fx4= new mxPoint(_0x187fx5[_0x83b3[235]]+ _0x187fx3[_0x83b3[2546]][_0x83b3[235]]* _0x187fx5[_0x83b3[117]]* _0x187fx4- _0x187fx15,_0x187fx5[_0x83b3[236]]+ _0x187fx3[_0x83b3[2546]][_0x83b3[236]]* _0x187fx5[_0x83b3[119]]* _0x187fx14- _0x187fx16)};_0x187fxa= _0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| 0;_0x187fx3[_0x83b3[591]]?(0!= _0x187fx12&& null!= _0x187fx4&& (_0x187fx13= _0x187fx5= 0,90== _0x187fx12?_0x187fx13= 1:180== _0x187fx12?_0x187fx5= -1:270== _0x187fxa&& (_0x187fx13= -1),_0x187fx4= mxUtils[_0x83b3[432]](_0x187fx4,_0x187fx5,_0x187fx13,_0x187fx9)),null!= _0x187fx4&& _0x187fx3[_0x83b3[591]]&& (_0x187fx4= this[_0x83b3[441]][_0x83b3[2302]](_0x187fx2,_0x187fx4,!1))):_0x187fxa+= _0x187fx12;0!= _0x187fxa&& null!= _0x187fx4&& (_0x187fx12= mxUtils[_0x83b3[431]](_0x187fxa),_0x187fx5= Math[_0x83b3[426]](_0x187fx12),_0x187fx13= Math[_0x83b3[427]](_0x187fx12),_0x187fx4= mxUtils[_0x83b3[432]](_0x187fx4,_0x187fx5,_0x187fx13,_0x187fx9))};return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[851]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[251]][_0x83b3[473]]();try{var _0x187fx9=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,_0x187fx4);this[_0x83b3[852]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5);this[_0x83b3[746]]( new mxEventObject(mxEvent.CONNECT_CELL,_0x83b3[1989],_0x187fx2,_0x83b3[1984],_0x187fx3,_0x83b3[1097],_0x187fx4,_0x83b3[257],_0x187fx9))}finally{this[_0x83b3[251]][_0x83b3[476]]()};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[852]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx2){this[_0x83b3[251]][_0x83b3[473]]();try{var _0x187fx9=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,_0x187fx4);this[_0x83b3[2545]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5);this[_0x83b3[2549]]()&& (_0x187fx5= null,this[_0x83b3[1908]](_0x187fx3)&& (_0x187fx5= _0x187fx3[_0x83b3[1103]](),_0x187fx3= this[_0x83b3[2550]](_0x187fx3,_0x187fx4)),this[_0x83b3[1717]](_0x187fx4?mxConstants[_0x83b3[2303]]:mxConstants[_0x83b3[2304]],_0x187fx5,[_0x187fx2]));this[_0x83b3[251]][_0x83b3[1957]](_0x187fx2,_0x187fx3,_0x187fx4);this[_0x83b3[2401]]&& this[_0x83b3[1809]](_0x187fx2);this[_0x83b3[746]]( new mxEventObject(mxEvent.CELL_CONNECTED,_0x83b3[1989],_0x187fx2,_0x83b3[1984],_0x187fx3,_0x83b3[1097],_0x187fx4,_0x83b3[257],_0x187fx9))}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2531]]= function(_0x187fx2){if(null!= _0x187fx2){this[_0x83b3[251]][_0x83b3[473]]();try{for(var _0x187fx3=this[_0x83b3[441]][_0x83b3[255]],_0x187fx4=this[_0x83b3[441]][_0x83b3[513]],_0x187fx5={},_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2[_0x187fx9]);_0x187fx5[_0x187fxa]= _0x187fx2[_0x187fx9]};for(_0x187fx9= 0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){if(this[_0x83b3[251]][_0x83b3[250]](_0x187fx2[_0x187fx9])){var _0x187fx12=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2[_0x187fx9]);if(null!= _0x187fx12){var _0x187fx13=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2[_0x187fx9]),_0x187fx14=this[_0x83b3[441]][_0x83b3[248]](this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2[_0x187fx9]));if(null!= _0x187fx13&& null!= _0x187fx14){var _0x187fx12=_0x187fx12[_0x83b3[238]](),_0x187fx15=-_0x187fx14[_0x83b3[2078]][_0x83b3[235]],_0x187fx16=-_0x187fx14[_0x83b3[2078]][_0x83b3[236]],_0x187fx17=_0x187fx13[_0x83b3[439]],_0x187fx18=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2[_0x187fx9],!0);if(null!= _0x187fx18&& this[_0x83b3[2551]](_0x187fx2[_0x187fx9],_0x187fx18,!0)){for(var _0x187fx19=mxCellPath[_0x83b3[385]](_0x187fx18);null!= _0x187fx18&& null== _0x187fx5[_0x187fx19];){_0x187fx18= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx18),_0x187fx19= mxCellPath[_0x83b3[385]](_0x187fx18)};null== _0x187fx18&& (_0x187fx12[_0x83b3[2007]]( new mxPoint(_0x187fx17[0][_0x83b3[235]]/ _0x187fx3- _0x187fx4[_0x83b3[235]]+ _0x187fx15,_0x187fx17[0][_0x83b3[236]]/ _0x187fx3- _0x187fx4[_0x83b3[236]]+ _0x187fx16),!0),this[_0x83b3[251]][_0x83b3[1957]](_0x187fx2[_0x187fx9],null,!0))};var _0x187fx1a=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2[_0x187fx9],!1);if(null!= _0x187fx1a&& this[_0x83b3[2551]](_0x187fx2[_0x187fx9],_0x187fx1a,!1)){for(var _0x187fx1b=mxCellPath[_0x83b3[385]](_0x187fx1a);null!= _0x187fx1a&& null== _0x187fx5[_0x187fx1b];){_0x187fx1a= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx1a),_0x187fx1b= mxCellPath[_0x83b3[385]](_0x187fx1a)};if(null== _0x187fx1a){var _0x187fx1c=_0x187fx17[_0x83b3[67]]- 1;_0x187fx12[_0x83b3[2007]]( new mxPoint(_0x187fx17[_0x187fx1c][_0x83b3[235]]/ _0x187fx3- _0x187fx4[_0x83b3[235]]+ _0x187fx15,_0x187fx17[_0x187fx1c][_0x83b3[236]]/ _0x187fx3- _0x187fx4[_0x83b3[236]]+ _0x187fx16),!1);this[_0x83b3[251]][_0x83b3[1957]](_0x187fx2[_0x187fx9],null,!1)}};this[_0x83b3[251]][_0x83b3[1724]](_0x187fx2[_0x187fx9],_0x187fx12)}}}}}finally{this[_0x83b3[251]][_0x83b3[476]]()}}};mxGraph[_0x83b3[202]][_0x83b3[2534]]= function(){return this[_0x83b3[441]][_0x83b3[1741]]};mxGraph[_0x83b3[202]][_0x83b3[2326]]= function(_0x187fx2){return null};mxGraph[_0x83b3[202]][_0x83b3[1908]]= function(_0x187fx2){return !1};mxGraph[_0x83b3[202]][_0x83b3[2550]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2280]]= function(_0x187fx2){return null};mxGraph[_0x83b3[202]][_0x83b3[2552]]= function(_0x187fx2){_0x187fx2= _0x187fx2|| this[_0x83b3[2452]]();null!= _0x187fx2&& this[_0x83b3[2553]](_0x187fx2)&& (this[_0x83b3[441]][_0x83b3[2257]](_0x187fx2),this[_0x83b3[2440]]())};mxGraph[_0x83b3[202]][_0x83b3[2554]]= function(){var _0x187fx2=this[_0x83b3[251]][_0x83b3[501]](),_0x187fx3=this[_0x83b3[2534]]();if(null!= _0x187fx3){for(var _0x187fx4=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx3);_0x187fx4!= _0x187fx2&& !this[_0x83b3[2553]](_0x187fx4)&& this[_0x83b3[251]][_0x83b3[1197]](_0x187fx4)!= _0x187fx2;){_0x187fx4= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx4)};_0x187fx4== _0x187fx2|| this[_0x83b3[251]][_0x83b3[1197]](_0x187fx4)== _0x187fx2?this[_0x83b3[441]][_0x83b3[2257]](null):this[_0x83b3[441]][_0x83b3[2257]](_0x187fx4);null!= this[_0x83b3[441]][_0x83b3[248]](_0x187fx3)&& this[_0x83b3[2450]](_0x187fx3)}};mxGraph[_0x83b3[202]][_0x83b3[2442]]= function(){var _0x187fx2=this[_0x83b3[2534]]();null!= _0x187fx2&& (this[_0x83b3[441]][_0x83b3[2257]](null),null!= this[_0x83b3[441]][_0x83b3[248]](_0x187fx2)&& this[_0x83b3[2450]](_0x187fx2))};mxGraph[_0x83b3[202]][_0x83b3[2553]]= function(_0x187fx2){return null!= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[517]]= function(){return this[_0x83b3[441]][_0x83b3[517]]()};mxGraph[_0x83b3[202]][_0x83b3[2555]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=[_0x187fx2];_0x187fx3&& (_0x187fx5= _0x187fx5[_0x83b3[1919]](this[_0x83b3[251]][_0x83b3[264]](_0x187fx2)));_0x187fx5= this[_0x83b3[441]][_0x83b3[1799]](_0x187fx5);if(_0x187fx4){_0x187fx4= this[_0x83b3[251]][_0x83b3[262]](_0x187fx2);for(var _0x187fx9=0;_0x187fx9< _0x187fx4;_0x187fx9++){var _0x187fxa=this[_0x83b3[2555]](this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx9),_0x187fx3,!0);null!= _0x187fx5?_0x187fx5[_0x83b3[99]](_0x187fxa):_0x187fx5= _0x187fxa}};return _0x187fx5};mxGraph[_0x83b3[202]][_0x83b3[1729]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;var _0x187fx4=null;if(null!= _0x187fx2){for(var _0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){if(_0x187fx3|| this[_0x83b3[251]][_0x83b3[1193]](_0x187fx2[_0x187fx5])){var _0x187fx9=this[_0x83b3[1198]](_0x187fx2[_0x187fx5]);if(null!= _0x187fx9){var _0x187fxa=_0x187fx9[_0x83b3[1525]];if(null!= _0x187fxa&& 0< _0x187fxa[_0x83b3[67]]){for(var _0x187fx12= new mxRectangle(_0x187fxa[0][_0x83b3[235]],_0x187fxa[0][_0x83b3[236]],0,0),_0x187fx13=function(_0x187fx2){null!= _0x187fx2&& _0x187fx12[_0x83b3[99]]( new mxRectangle(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],0,0))},_0x187fx14=1;_0x187fx14< _0x187fxa[_0x83b3[67]];_0x187fx14++){_0x187fx13(_0x187fxa[_0x187fx14])};_0x187fx13(_0x187fx9[_0x83b3[2006]](!0));_0x187fx13(_0x187fx9[_0x83b3[2006]](!1))};null== _0x187fx4?_0x187fx4= new mxRectangle(_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]]):_0x187fx4[_0x83b3[99]](_0x187fx9)}}}};return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[802]]= function(_0x187fx2){this[_0x83b3[441]][_0x83b3[200]](_0x187fx2,null== _0x187fx2);this[_0x83b3[441]][_0x83b3[2264]]();this[_0x83b3[2258]]();this[_0x83b3[746]]( new mxEventObject(mxEvent.REFRESH))};mxGraph[_0x83b3[202]][_0x83b3[1021]]= function(_0x187fx2){this[_0x83b3[991]]&& (_0x187fx2= Math[_0x83b3[488]](_0x187fx2/ this[_0x83b3[1020]])* this[_0x83b3[1020]]);return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[1135]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[2365]]&& mxUtils[_0x83b3[1134]](this[_0x83b3[526]])){this[_0x83b3[526]][_0x83b3[360]]= -_0x187fx2,this[_0x83b3[526]][_0x83b3[190]]= -_0x187fx3}else {var _0x187fx4=this[_0x83b3[441]][_0x83b3[2051]]();if(this[_0x83b3[507]]== mxConstants[_0x83b3[508]]){if(0== _0x187fx2&& 0== _0x187fx3){if(mxClient[_0x83b3[80]]?_0x187fx4[_0x83b3[57]](_0x83b3[535],_0x83b3[536]+ _0x187fx2+ _0x83b3[537]+ _0x187fx3+ _0x83b3[460]):_0x187fx4[_0x83b3[1390]](_0x83b3[535]),null!= this[_0x83b3[2556]]){for(var _0x187fx5=this[_0x83b3[2556]][_0x83b3[285]];null!= _0x187fx5;){var _0x187fx9=_0x187fx5[_0x83b3[287]];this[_0x83b3[526]][_0x83b3[62]](_0x187fx5);_0x187fx5= _0x187fx9};this[_0x83b3[2556]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[2556]]);this[_0x83b3[2556]]= null;this[_0x83b3[526]][_0x83b3[62]](_0x187fx4[_0x83b3[265]]);for(_0x187fx5= this[_0x83b3[2557]][_0x83b3[285]];null!= _0x187fx5;){_0x187fx9= _0x187fx5[_0x83b3[287]],this[_0x83b3[526]][_0x83b3[62]](_0x187fx5),_0x187fx5= _0x187fx9};this[_0x83b3[2557]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[2557]]);this[_0x83b3[2557]]= null}}else {_0x187fx4[_0x83b3[57]](_0x83b3[535],_0x83b3[536]+ _0x187fx2+ _0x83b3[537]+ _0x187fx3+ _0x83b3[460]);if(null== this[_0x83b3[2556]]){this[_0x83b3[2556]]= document[_0x83b3[55]](_0x83b3[485]);this[_0x83b3[2556]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];this[_0x83b3[2556]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[189];this[_0x83b3[2557]]= document[_0x83b3[55]](_0x83b3[485]);this[_0x83b3[2557]][_0x83b3[124]][_0x83b3[491]]= _0x83b3[492];this[_0x83b3[2557]][_0x83b3[124]][_0x83b3[277]]= _0x83b3[189];for(var _0x187fxa=this[_0x83b3[2556]],_0x187fx5=this[_0x83b3[526]][_0x83b3[285]];null!= _0x187fx5;){_0x187fx9= _0x187fx5[_0x83b3[287]],_0x187fx5!= _0x187fx4[_0x83b3[265]]?_0x187fxa[_0x83b3[62]](_0x187fx5):_0x187fxa= this[_0x83b3[2557]],_0x187fx5= _0x187fx9};this[_0x83b3[526]][_0x83b3[950]](this[_0x83b3[2556]],_0x187fx4[_0x83b3[265]]);this[_0x83b3[526]][_0x83b3[62]](this[_0x83b3[2557]])};this[_0x83b3[2556]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2+ _0x83b3[168];this[_0x83b3[2556]][_0x83b3[124]][_0x83b3[125]]= _0x187fx3+ _0x83b3[168];this[_0x83b3[2557]][_0x83b3[124]][_0x83b3[361]]= _0x187fx2+ _0x83b3[168];this[_0x83b3[2557]][_0x83b3[124]][_0x83b3[125]]= _0x187fx3+ _0x83b3[168]}}else {_0x187fx4[_0x83b3[124]][_0x83b3[361]]= _0x187fx2+ _0x83b3[168],_0x187fx4[_0x83b3[124]][_0x83b3[125]]= _0x187fx3+ _0x83b3[168]};this[_0x83b3[1136]]= _0x187fx2;this[_0x83b3[1137]]= _0x187fx3;this[_0x83b3[746]]( new mxEventObject(mxEvent.PAN))}};mxGraph[_0x83b3[202]][_0x83b3[2558]]= function(){this[_0x83b3[499]](this[_0x83b3[2395]])};mxGraph[_0x83b3[202]][_0x83b3[2559]]= function(){this[_0x83b3[499]](1/ this[_0x83b3[2395]])};mxGraph[_0x83b3[202]][_0x83b3[2560]]= function(){1== this[_0x83b3[441]][_0x83b3[255]]?this[_0x83b3[441]][_0x83b3[1147]](0,0):(this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]= 0,this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]= 0,this[_0x83b3[441]][_0x83b3[2262]](1))};mxGraph[_0x83b3[202]][_0x83b3[2561]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[499]](_0x187fx2/ this[_0x83b3[441]][_0x83b3[255]],_0x187fx3)};mxGraph[_0x83b3[202]][_0x83b3[499]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:this[_0x83b3[2397]];var _0x187fx4=this[_0x83b3[441]][_0x83b3[255]]* _0x187fx2,_0x187fx5=this[_0x83b3[441]][_0x83b3[248]](this[_0x83b3[2452]]());if(this[_0x83b3[2396]]&& null!= _0x187fx5){_0x187fx5= new mxRectangle(_0x187fx5[_0x83b3[235]]* _0x187fx2,_0x187fx5[_0x83b3[236]]* _0x187fx2,_0x187fx5[_0x83b3[117]]* _0x187fx2,_0x187fx5[_0x83b3[119]]* _0x187fx2),this[_0x83b3[441]][_0x83b3[255]]= _0x187fx4,this[_0x83b3[2562]](_0x187fx5)|| (this[_0x83b3[441]][_0x83b3[2259]](),this[_0x83b3[441]][_0x83b3[2262]](_0x187fx4))}else {if(_0x187fx3&& !mxUtils[_0x83b3[1134]](this[_0x83b3[526]])){var _0x187fx5=this[_0x83b3[526]][_0x83b3[359]],_0x187fx9=this[_0x83b3[526]][_0x83b3[167]];if(1< _0x187fx2){var _0x187fxa=(_0x187fx2- 1)/ (2* _0x187fx4),_0x187fx5=_0x187fx5* -_0x187fxa,_0x187fx9=_0x187fx9* -_0x187fxa}else {_0x187fxa= (1/ _0x187fx2- 1)/ (2* this[_0x83b3[441]][_0x83b3[255]]),_0x187fx5*= _0x187fxa,_0x187fx9*= _0x187fxa};this[_0x83b3[441]][_0x83b3[829]](_0x187fx4,this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]+ _0x187fx5,this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]+ _0x187fx9)}else {this[_0x83b3[441]][_0x83b3[2262]](_0x187fx4),mxUtils[_0x83b3[1134]](this[_0x83b3[526]])&& (_0x187fx9= _0x187fx5= 0,_0x187fx3&& (_0x187fx5= this[_0x83b3[526]][_0x83b3[359]]* (_0x187fx2- 1)/ 2,_0x187fx9= this[_0x83b3[526]][_0x83b3[167]]* (_0x187fx2- 1)/ 2),this[_0x83b3[526]][_0x83b3[360]]= Math[_0x83b3[488]](this[_0x83b3[526]][_0x83b3[360]]* _0x187fx2+ _0x187fx5),this[_0x83b3[526]][_0x83b3[190]]= Math[_0x83b3[488]](this[_0x83b3[526]][_0x83b3[190]]* _0x187fx2+ _0x187fx9))}}};mxGraph[_0x83b3[202]][_0x83b3[2563]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[526]][_0x83b3[159]]/ _0x187fx2[_0x83b3[117]]/ (this[_0x83b3[526]][_0x83b3[157]]/ _0x187fx2[_0x83b3[119]]);_0x187fx2[_0x83b3[235]]= Math[_0x83b3[160]](0,_0x187fx2[_0x83b3[235]]);_0x187fx2[_0x83b3[236]]= Math[_0x83b3[160]](0,_0x187fx2[_0x83b3[236]]);var _0x187fx4=Math[_0x83b3[243]](this[_0x83b3[526]][_0x83b3[1526]],_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]),_0x187fx5=Math[_0x83b3[243]](this[_0x83b3[526]][_0x83b3[191]],_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]);_0x187fx2[_0x83b3[117]]= _0x187fx4- _0x187fx2[_0x83b3[235]];_0x187fx2[_0x83b3[119]]= _0x187fx5- _0x187fx2[_0x83b3[236]];1> _0x187fx3?(_0x187fx3= _0x187fx2[_0x83b3[119]]/ _0x187fx3,_0x187fx4= (_0x187fx3- _0x187fx2[_0x83b3[119]])/ 2,_0x187fx2[_0x83b3[119]]= _0x187fx3,_0x187fx3= Math[_0x83b3[243]](_0x187fx2[_0x83b3[236]],_0x187fx4),_0x187fx2[_0x83b3[236]]-= _0x187fx3,_0x187fx5= Math[_0x83b3[243]](this[_0x83b3[526]][_0x83b3[191]],_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]),_0x187fx2[_0x83b3[119]]= _0x187fx5- _0x187fx2[_0x83b3[236]]):(_0x187fx3*= _0x187fx2[_0x83b3[117]],_0x187fx4= (_0x187fx3- _0x187fx2[_0x83b3[117]])/ 2,_0x187fx2[_0x83b3[117]]= _0x187fx3,_0x187fx3= Math[_0x83b3[243]](_0x187fx2[_0x83b3[235]],_0x187fx4),_0x187fx2[_0x83b3[235]]-= _0x187fx3,_0x187fx4= Math[_0x83b3[243]](this[_0x83b3[526]][_0x83b3[1526]],_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]),_0x187fx2[_0x83b3[117]]= _0x187fx4- _0x187fx2[_0x83b3[235]]);_0x187fx3= this[_0x83b3[526]][_0x83b3[159]]/ _0x187fx2[_0x83b3[117]];_0x187fx4= this[_0x83b3[441]][_0x83b3[255]]* _0x187fx3;mxUtils[_0x83b3[1134]](this[_0x83b3[526]])?(this[_0x83b3[441]][_0x83b3[2262]](_0x187fx4),this[_0x83b3[526]][_0x83b3[360]]= Math[_0x83b3[488]](_0x187fx2[_0x83b3[235]]* _0x187fx3),this[_0x83b3[526]][_0x83b3[190]]= Math[_0x83b3[488]](_0x187fx2[_0x83b3[236]]* _0x187fx3)):this[_0x83b3[441]][_0x83b3[829]](_0x187fx4,this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]- _0x187fx2[_0x83b3[235]]/ this[_0x83b3[441]][_0x83b3[255]],this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]- _0x187fx2[_0x83b3[236]]/ this[_0x83b3[441]][_0x83b3[255]])};mxGraph[_0x83b3[202]][_0x83b3[933]]= function(_0x187fx2,_0x187fx3){if(null!= this[_0x83b3[526]]){_0x187fx2= null!= _0x187fx2?_0x187fx2:0;_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;var _0x187fx4=this[_0x83b3[526]][_0x83b3[159]],_0x187fx5=this[_0x83b3[526]][_0x83b3[157]],_0x187fx9=this[_0x83b3[441]][_0x83b3[517]]();_0x187fx3&& (null!= _0x187fx9[_0x83b3[235]]&& null!= _0x187fx9[_0x83b3[236]])&& (_0x187fx9[_0x83b3[117]]+= _0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[119]]+= _0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[235]]= 0,_0x187fx9[_0x83b3[236]]= 0);var _0x187fxa=this[_0x83b3[441]][_0x83b3[255]],_0x187fx12=_0x187fx9[_0x83b3[117]]/ _0x187fxa,_0x187fx13=_0x187fx9[_0x83b3[119]]/ _0x187fxa;null!= this[_0x83b3[1617]]&& (_0x187fx12= Math[_0x83b3[160]](_0x187fx12,this[_0x83b3[1617]][_0x83b3[117]]- _0x187fx9[_0x83b3[235]]/ _0x187fxa),_0x187fx13= Math[_0x83b3[160]](_0x187fx13,this[_0x83b3[1617]][_0x83b3[119]]- _0x187fx9[_0x83b3[236]]/ _0x187fxa));var _0x187fx14=_0x187fx3?_0x187fx2:2* _0x187fx2,_0x187fx4=Math[_0x83b3[519]](100* Math[_0x83b3[243]](_0x187fx4/ (_0x187fx12+ _0x187fx14),_0x187fx5/ (_0x187fx13+ _0x187fx14)))/ 100;null!= this[_0x83b3[2413]]&& (_0x187fx4= Math[_0x83b3[160]](_0x187fx4,this[_0x83b3[2413]]));null!= this[_0x83b3[2414]]&& (_0x187fx4= Math[_0x83b3[243]](_0x187fx4,this[_0x83b3[2414]]));_0x187fx3?this[_0x83b3[441]][_0x83b3[255]]!= _0x187fx4&& this[_0x83b3[441]][_0x83b3[2262]](_0x187fx4):mxUtils[_0x83b3[1134]](this[_0x83b3[526]])?(this[_0x83b3[441]][_0x83b3[2262]](_0x187fx4),null!= _0x187fx9[_0x83b3[235]]&& (this[_0x83b3[526]][_0x83b3[360]]= Math[_0x83b3[488]](_0x187fx9[_0x83b3[235]]/ _0x187fxa)* _0x187fx4- _0x187fx2- Math[_0x83b3[160]](0,(this[_0x83b3[526]][_0x83b3[159]]- _0x187fx12* _0x187fx4)/ 2)),null!= _0x187fx9[_0x83b3[236]]&& (this[_0x83b3[526]][_0x83b3[190]]= Math[_0x83b3[488]](_0x187fx9[_0x83b3[236]]/ _0x187fxa)* _0x187fx4- _0x187fx2- Math[_0x83b3[160]](0,(this[_0x83b3[526]][_0x83b3[157]]- _0x187fx13* _0x187fx4)/ 2))):this[_0x83b3[441]][_0x83b3[829]](_0x187fx4,null!= _0x187fx9[_0x83b3[235]]?Math[_0x83b3[519]](this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]- _0x187fx9[_0x83b3[235]]/ _0x187fxa+ _0x187fx2+ 1):_0x187fx2,null!= _0x187fx9[_0x83b3[236]]?Math[_0x83b3[519]](this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]- _0x187fx9[_0x83b3[236]]/ _0x187fxa+ _0x187fx2+ 1):_0x187fx2)};return this[_0x83b3[441]][_0x83b3[255]]};mxGraph[_0x83b3[202]][_0x83b3[2564]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=-this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]],_0x187fx5=-this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]],_0x187fx9=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);null!= _0x187fx9&& (_0x187fx4= new mxRectangle(_0x187fx4+ _0x187fx9[_0x83b3[235]],_0x187fx5+ _0x187fx9[_0x83b3[236]],_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]]),_0x187fx3&& null!= this[_0x83b3[526]]&& (_0x187fx5= this[_0x83b3[526]][_0x83b3[159]],_0x187fx9= this[_0x83b3[526]][_0x83b3[157]],_0x187fx4[_0x83b3[235]]= _0x187fx4[_0x83b3[241]]()- _0x187fx5/ 2,_0x187fx4[_0x83b3[117]]= _0x187fx5,_0x187fx4[_0x83b3[236]]= _0x187fx4[_0x83b3[242]]()- _0x187fx9/ 2,_0x187fx4[_0x83b3[119]]= _0x187fx9),this[_0x83b3[2562]](_0x187fx4)&& this[_0x83b3[441]][_0x83b3[1147]](this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]],this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]))};mxGraph[_0x83b3[202]][_0x83b3[2562]]= function(_0x187fx2){var _0x187fx3=!1;if(null!= _0x187fx2){var _0x187fx4=this[_0x83b3[526]][_0x83b3[359]],_0x187fx5=this[_0x83b3[526]][_0x83b3[167]],_0x187fx9=Math[_0x83b3[243]](_0x187fx4,_0x187fx2[_0x83b3[117]]),_0x187fxa=Math[_0x83b3[243]](_0x187fx5,_0x187fx2[_0x83b3[119]]);if(mxUtils[_0x83b3[1134]](this[_0x83b3[526]])){_0x187fx4= this[_0x83b3[526]];_0x187fx2[_0x83b3[235]]+= this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]];_0x187fx2[_0x83b3[236]]+= this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]];var _0x187fx12=_0x187fx4[_0x83b3[360]]- _0x187fx2[_0x83b3[235]],_0x187fx5=Math[_0x83b3[160]](_0x187fx12- _0x187fx4[_0x83b3[360]],0);0< _0x187fx12?_0x187fx4[_0x83b3[360]]-= _0x187fx12+ 2:(_0x187fx12= _0x187fx2[_0x83b3[235]]+ _0x187fx9- _0x187fx4[_0x83b3[360]]- _0x187fx4[_0x83b3[159]],0< _0x187fx12&& (_0x187fx4[_0x83b3[360]]+= _0x187fx12+ 2));_0x187fx9= _0x187fx4[_0x83b3[190]]- _0x187fx2[_0x83b3[236]];_0x187fx12= Math[_0x83b3[160]](0,_0x187fx9- _0x187fx4[_0x83b3[190]]);0< _0x187fx9?_0x187fx4[_0x83b3[190]]-= _0x187fx9+ 2:(_0x187fx9= _0x187fx2[_0x83b3[236]]+ _0x187fxa- _0x187fx4[_0x83b3[190]]- _0x187fx4[_0x83b3[157]],0< _0x187fx9&& (_0x187fx4[_0x83b3[190]]+= _0x187fx9+ 2));!this[_0x83b3[2365]]&& (0!= _0x187fx5|| 0!= _0x187fx12)&& this[_0x83b3[441]][_0x83b3[1147]](_0x187fx5,_0x187fx12)}else {var _0x187fx12=-this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]],_0x187fx13=-this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]],_0x187fx14=this[_0x83b3[441]][_0x83b3[255]];_0x187fx2[_0x83b3[235]]+ _0x187fx9> _0x187fx12+ _0x187fx4&& (this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]-= (_0x187fx2[_0x83b3[235]]+ _0x187fx9- _0x187fx4- _0x187fx12)/ _0x187fx14,_0x187fx3= !0);_0x187fx2[_0x83b3[236]]+ _0x187fxa> _0x187fx13+ _0x187fx5&& (this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]-= (_0x187fx2[_0x83b3[236]]+ _0x187fxa- _0x187fx5- _0x187fx13)/ _0x187fx14,_0x187fx3= !0);_0x187fx2[_0x83b3[235]]< _0x187fx12&& (this[_0x83b3[441]][_0x83b3[513]][_0x83b3[235]]+= (_0x187fx12- _0x187fx2[_0x83b3[235]])/ _0x187fx14,_0x187fx3= !0);_0x187fx2[_0x83b3[236]]< _0x187fx13&& (this[_0x83b3[441]][_0x83b3[513]][_0x83b3[236]]+= (_0x187fx13- _0x187fx2[_0x83b3[236]])/ _0x187fx14,_0x187fx3= !0);_0x187fx3&& (this[_0x83b3[441]][_0x83b3[802]](),null!= this[_0x83b3[2432]]&& this[_0x83b3[2432]][_0x83b3[802]]())}};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[1198]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[1714]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[174]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[1742]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1971]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2565]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1965]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2298]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2566]]];if(null!= _0x187fx3){return _0x187fx3};_0x187fx2= this[_0x83b3[441]][_0x83b3[2291]](_0x187fx2);return _0x187fx2== mxEdgeStyle[_0x83b3[2567]]|| _0x187fx2== mxEdgeStyle[_0x83b3[2568]]|| _0x187fx2== mxEdgeStyle[_0x83b3[2569]]|| _0x187fx2== mxEdgeStyle[_0x83b3[2570]]|| _0x187fx2== mxEdgeStyle[_0x83b3[2571]]|| _0x187fx2== mxEdgeStyle[_0x83b3[2572]]};mxGraph[_0x83b3[202]][_0x83b3[2573]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[2089]](!0);_0x187fx2= _0x187fx2[_0x83b3[2089]](!1);return null!= _0x187fx3&& _0x187fx3== _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2574]]= function(_0x187fx2){return mxEvent[_0x83b3[775]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2462]]= function(_0x187fx2){return mxClient[_0x83b3[2575]]?mxEvent[_0x83b3[2576]](_0x187fx2):mxEvent[_0x83b3[775]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[1018]]= function(_0x187fx2){return null!= _0x187fx2&& !mxEvent[_0x83b3[2577]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2578]]= function(_0x187fx2){return mxEvent[_0x83b3[774]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2579]]= function(_0x187fx2){return mxEvent[_0x83b3[2577]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2580]]= function(_0x187fx2){mxUtils[_0x83b3[150]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2581]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return null== this[_0x83b3[2500]](_0x187fx2,_0x187fx3,_0x187fx4)};mxGraph[_0x83b3[202]][_0x83b3[2500]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= _0x187fx2&& !this[_0x83b3[2530]]()&& (null== _0x187fx3|| null== _0x187fx4)){return _0x83b3[110]};if(null!= _0x187fx2&& null== this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!0)&& null== this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!1)){return null};if(!this[_0x83b3[2402]]&& _0x187fx3== _0x187fx4&& null!= _0x187fx3|| !this[_0x83b3[2582]](_0x187fx3,_0x187fx4)){return _0x83b3[110]};if(null!= _0x187fx3&& null!= _0x187fx4){var _0x187fx5=_0x83b3[110];if(!this[_0x83b3[2404]]){var _0x187fx9=this[_0x83b3[251]][_0x83b3[1781]](_0x187fx3,_0x187fx4,!0);if(1< _0x187fx9[_0x83b3[67]]|| 1== _0x187fx9[_0x83b3[67]]&& _0x187fx9[0]!= _0x187fx2){_0x187fx5+= (mxResources[_0x83b3[203]](this[_0x83b3[2421]])|| this[_0x83b3[2421]])+ _0x83b3[192]}};var _0x187fx9=this[_0x83b3[251]][_0x83b3[1962]](_0x187fx3,!0,_0x187fx2),_0x187fxa=this[_0x83b3[251]][_0x83b3[1962]](_0x187fx4,!1,_0x187fx2);if(null!= this[_0x83b3[2335]]){for(var _0x187fx12=0;_0x187fx12< this[_0x83b3[2335]][_0x83b3[67]];_0x187fx12++){var _0x187fx13=this[_0x83b3[2335]][_0x187fx12][_0x83b3[2583]](this,_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx9,_0x187fxa);null!= _0x187fx13&& (_0x187fx5+= _0x187fx13)}};_0x187fx13= this[_0x83b3[2584]](_0x187fx2,_0x187fx3,_0x187fx4);null!= _0x187fx13&& (_0x187fx5+= _0x187fx13);return 0< _0x187fx5[_0x83b3[67]]?_0x187fx5:null};return this[_0x83b3[2406]]?null:_0x83b3[110]};mxGraph[_0x83b3[202]][_0x83b3[2584]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return null};mxGraph[_0x83b3[202]][_0x83b3[2585]]= function(_0x187fx2,_0x187fx3){_0x187fx2= null!= _0x187fx2?_0x187fx2:this[_0x83b3[251]][_0x83b3[501]]();_0x187fx3= null!= _0x187fx3?_0x187fx3:{};for(var _0x187fx4=!0,_0x187fx5=this[_0x83b3[251]][_0x83b3[262]](_0x187fx2),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){var _0x187fxa=this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx9),_0x187fx12=_0x187fx3;this[_0x83b3[2553]](_0x187fxa)&& (_0x187fx12= {});_0x187fx12= this[_0x83b3[2585]](_0x187fxa,_0x187fx12);null!= _0x187fx12?this[_0x83b3[2447]](_0x187fxa,_0x187fx12[_0x83b3[230]](/\n/g,_0x83b3[545])):this[_0x83b3[2447]](_0x187fxa,null);_0x187fx4= _0x187fx4&& null== _0x187fx12};_0x187fx5= _0x83b3[110];this[_0x83b3[1742]](_0x187fx2)&& !_0x187fx4&& (_0x187fx5+= (mxResources[_0x83b3[203]](this[_0x83b3[2423]])|| this[_0x83b3[2423]])+ _0x83b3[192]);_0x187fx5= this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)?_0x187fx5+ (this[_0x83b3[2500]](_0x187fx2,this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!0),this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!1))|| _0x83b3[110]):_0x187fx5+ (this[_0x83b3[2586]](_0x187fx2)|| _0x83b3[110]);_0x187fx9= this[_0x83b3[2587]](_0x187fx2,_0x187fx3);null!= _0x187fx9&& (_0x187fx5+= _0x187fx9);null== this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2)&& this[_0x83b3[441]][_0x83b3[2264]]();return 0< _0x187fx5[_0x83b3[67]]|| !_0x187fx4?_0x187fx5:null};mxGraph[_0x83b3[202]][_0x83b3[2586]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1962]](_0x187fx2,!0),_0x187fx4=this[_0x83b3[251]][_0x83b3[1962]](_0x187fx2,!1);_0x187fx2= this[_0x83b3[251]][_0x83b3[433]](_0x187fx2);var _0x187fx5=_0x83b3[110];if(null!= this[_0x83b3[2335]]){for(var _0x187fx9=0;_0x187fx9< this[_0x83b3[2335]][_0x83b3[67]];_0x187fx9++){var _0x187fxa=this[_0x83b3[2335]][_0x187fx9];if(_0x187fxa[_0x83b3[1097]]&& mxUtils[_0x83b3[1331]](_0x187fx2,_0x187fxa[_0x83b3[60]],_0x187fxa[_0x83b3[2588]],_0x187fxa[_0x83b3[131]])&& (0== _0x187fxa[_0x83b3[160]]&& 0< _0x187fx3|| 1== _0x187fxa[_0x83b3[243]]&& 0== _0x187fx3|| 1== _0x187fxa[_0x83b3[160]]&& 1< _0x187fx3)){_0x187fx5+= _0x187fxa[_0x83b3[2589]]+ _0x83b3[192]}else {if(!_0x187fxa[_0x83b3[1097]]&& mxUtils[_0x83b3[1331]](_0x187fx2,_0x187fxa[_0x83b3[60]],_0x187fxa[_0x83b3[2588]],_0x187fxa[_0x83b3[131]])&& (0== _0x187fxa[_0x83b3[160]]&& 0< _0x187fx4|| 1== _0x187fxa[_0x83b3[243]]&& 0== _0x187fx4|| 1== _0x187fxa[_0x83b3[160]]&& 1< _0x187fx4)){_0x187fx5+= _0x187fxa[_0x83b3[2589]]+ _0x83b3[192]}}}};return 0< _0x187fx5[_0x83b3[67]]?_0x187fx5:null};mxGraph[_0x83b3[202]][_0x83b3[2587]]= function(_0x187fx2,_0x187fx3){return null};mxGraph[_0x83b3[202]][_0x83b3[2271]]= function(){return this[_0x83b3[1617]]};mxGraph[_0x83b3[202]][_0x83b3[2590]]= function(_0x187fx2){this[_0x83b3[1617]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2205]]= function(_0x187fx2){if(null!= _0x187fx2&& this[_0x83b3[2206]]&& !this[_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]])){var _0x187fx3=this[_0x83b3[1742]](_0x187fx2[_0x83b3[246]]);if(this[_0x83b3[2516]](_0x187fx2[_0x83b3[246]],!_0x187fx3)){return _0x187fx3?this[_0x83b3[2415]]:this[_0x83b3[2417]]}};return null};mxGraph[_0x83b3[202]][_0x83b3[2454]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[251]][_0x83b3[433]](_0x187fx2);if(null!= _0x187fx2){if(mxUtils[_0x83b3[1331]](_0x187fx2)){return _0x187fx2[_0x83b3[301]]};if(_0x83b3[279]== typeof _0x187fx2[_0x83b3[2591]]){return _0x187fx2.toString()}};return _0x83b3[110]};mxGraph[_0x83b3[202]][_0x83b3[2183]]= function(_0x187fx2){var _0x187fx3=_0x83b3[110];if(this[_0x83b3[2409]]&& null!= _0x187fx2){var _0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx4=null!= _0x187fx4?_0x187fx4[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);mxUtils[_0x83b3[433]](_0x187fx4,mxConstants.STYLE_NOLABEL,!1)|| (_0x187fx3= this[_0x83b3[2454]](_0x187fx2))};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[2186]]= function(_0x187fx2){return this[_0x83b3[2592]]()};mxGraph[_0x83b3[202]][_0x83b3[2592]]= function(){return this[_0x83b3[2410]]};mxGraph[_0x83b3[202]][_0x83b3[2593]]= function(_0x187fx2){this[_0x83b3[2410]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2131]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return null!= _0x187fx2?_0x83b3[1333]== _0x187fx2[mxConstants[_0x83b3[2594]]]:!1};mxGraph[_0x83b3[202]][_0x83b3[2130]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return null!= _0x187fx2?_0x83b3[188]== _0x187fx2[mxConstants[_0x83b3[2193]]]:!1};mxGraph[_0x83b3[202]][_0x83b3[2595]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=null;if(null!= _0x187fx2){if(null!= _0x187fx2[_0x83b3[2207]]&& (_0x187fx3== _0x187fx2[_0x83b3[2207]][_0x83b3[252]]|| _0x187fx3[_0x83b3[265]]== _0x187fx2[_0x83b3[2207]][_0x83b3[252]])){_0x187fx9= this[_0x83b3[2425]],_0x187fx9= mxResources[_0x83b3[203]](_0x187fx9)|| _0x187fx9};null== _0x187fx9&& null!= _0x187fx2[_0x83b3[1211]]&& _0x187fx2[_0x83b3[1211]][_0x83b3[209]](function(_0x187fx2,_0x187fx4){if(null== _0x187fx9&& (_0x187fx3== _0x187fx4[_0x83b3[252]]|| _0x187fx3[_0x83b3[265]]== _0x187fx4[_0x83b3[252]])){_0x187fx9= _0x187fx4[_0x83b3[2201]].toString()}});null== _0x187fx9&& (_0x187fx4= this[_0x83b3[2432]][_0x83b3[2596]](_0x187fx2[_0x83b3[246]]),null!= _0x187fx4&& _0x83b3[279]== typeof _0x187fx4[_0x83b3[2597]]&& (_0x187fx9= _0x187fx4[_0x83b3[2597]](_0x187fx3)));null== _0x187fx9&& (_0x187fx9= this[_0x83b3[2598]](_0x187fx2[_0x83b3[246]]))};return _0x187fx9};mxGraph[_0x83b3[202]][_0x83b3[2598]]= function(_0x187fx2){var _0x187fx3=null;return _0x187fx3= null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[2595]]?_0x187fx2[_0x83b3[2595]]():this[_0x83b3[2454]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2599]]= function(_0x187fx2){return null};mxGraph[_0x83b3[202]][_0x83b3[1731]]= function(_0x187fx2){var _0x187fx3= new mxRectangle,_0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx4?_0x187fx4[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);null!= _0x187fx2&& (_0x187fx4= parseInt(mxUtils[_0x83b3[433]](_0x187fx2,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),mxUtils[_0x83b3[433]](_0x187fx2,mxConstants.STYLE_HORIZONTAL,!0)?_0x187fx3[_0x83b3[119]]= _0x187fx4:_0x187fx3[_0x83b3[117]]= _0x187fx4);return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[1202]]= function(_0x187fx2){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[124]]?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2484]]]:null};mxGraph[_0x83b3[202]][_0x83b3[2187]]= function(_0x187fx2){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[124]]?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2063]]]|| mxConstants[_0x83b3[481]]:null};mxGraph[_0x83b3[202]][_0x83b3[2173]]= function(_0x187fx2){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[124]]?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2600]]]:null};mxGraph[_0x83b3[202]][_0x83b3[2174]]= function(_0x187fx2){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[124]]?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2601]]]:null};mxGraph[_0x83b3[202]][_0x83b3[2172]]= function(_0x187fx2){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[124]]?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2602]]]:null};mxGraph[_0x83b3[202]][_0x83b3[2176]]= function(_0x187fx2){return null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[124]]?_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2603]]]:null};mxGraph[_0x83b3[202]][_0x83b3[2476]]= function(){return this[_0x83b3[467]]};mxGraph[_0x83b3[202]][_0x83b3[2604]]= function(_0x187fx2){this[_0x83b3[467]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[1730]]= function(_0x187fx2){if(null!= _0x187fx2&& this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2)!= this[_0x83b3[251]][_0x83b3[501]]()){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx3=null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);if(null!= _0x187fx3&& !this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)){return _0x187fx3[mxConstants[_0x83b3[2059]]]== mxConstants[_0x83b3[2605]]}};return !1};mxGraph[_0x83b3[202]][_0x83b3[2606]]= function(){return this[_0x83b3[2389]]};mxGraph[_0x83b3[202]][_0x83b3[2607]]= function(_0x187fx2){this[_0x83b3[2389]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxGraph[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2608]]= function(){return this[_0x83b3[2362]]};mxGraph[_0x83b3[202]][_0x83b3[2609]]= function(_0x187fx2){this[_0x83b3[2362]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2134]]= function(){return this[_0x83b3[2363]]};mxGraph[_0x83b3[202]][_0x83b3[2610]]= function(_0x187fx2){this[_0x83b3[2363]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2125]]= function(){return this[_0x83b3[2364]]};mxGraph[_0x83b3[202]][_0x83b3[2611]]= function(_0x187fx2){this[_0x83b3[2364]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2612]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[251]][_0x83b3[1721]](_0x187fx2);return this[_0x83b3[2613]]()|| null!= _0x187fx3&& this[_0x83b3[251]][_0x83b3[1193]](_0x187fx2)&& _0x187fx3[_0x83b3[1500]]};mxGraph[_0x83b3[202]][_0x83b3[2613]]= function(){return this[_0x83b3[2368]]};mxGraph[_0x83b3[202]][_0x83b3[2614]]= function(_0x187fx2){this[_0x83b3[2368]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2615]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1938]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx2){return this[_0x83b3[2616]](_0x187fx2)}))};mxGraph[_0x83b3[202]][_0x83b3[2616]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2617]]()&& 0!= _0x187fx2[mxConstants[_0x83b3[2618]]]};mxGraph[_0x83b3[202]][_0x83b3[2617]]= function(){return this[_0x83b3[2369]]};mxGraph[_0x83b3[202]][_0x83b3[2619]]= function(_0x187fx2){this[_0x83b3[2369]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[898]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1938]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx2){return this[_0x83b3[2620]](_0x187fx2)}))};mxGraph[_0x83b3[202]][_0x83b3[2620]]= function(_0x187fx2){return this[_0x83b3[2366]]};mxGraph[_0x83b3[202]][_0x83b3[900]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1938]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx2){return this[_0x83b3[2621]](_0x187fx2)}))};mxGraph[_0x83b3[202]][_0x83b3[2621]]= function(_0x187fx2){return this[_0x83b3[2367]]};mxGraph[_0x83b3[202]][_0x83b3[2102]]= function(_0x187fx2){return this[_0x83b3[2622]]()};mxGraph[_0x83b3[202]][_0x83b3[2622]]= function(){return this[_0x83b3[2379]]};mxGraph[_0x83b3[202]][_0x83b3[2623]]= function(_0x187fx2){this[_0x83b3[2379]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2510]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1938]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx2){return this[_0x83b3[2624]](_0x187fx2)}))};mxGraph[_0x83b3[202]][_0x83b3[2624]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2625]]()&& 0!= _0x187fx2[mxConstants[_0x83b3[2626]]]};mxGraph[_0x83b3[202]][_0x83b3[2625]]= function(){return this[_0x83b3[2371]]};mxGraph[_0x83b3[202]][_0x83b3[2627]]= function(_0x187fx2){this[_0x83b3[2371]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2628]]= function(_0x187fx2){return !this[_0x83b3[2612]](_0x187fx2)&& (this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)&& this[_0x83b3[2373]]|| this[_0x83b3[251]][_0x83b3[1193]](_0x187fx2)&& this[_0x83b3[2374]])};mxGraph[_0x83b3[202]][_0x83b3[2629]]= function(_0x187fx2){return this[_0x83b3[251]][_0x83b3[1938]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx2){return this[_0x83b3[1712]](_0x187fx2)}))};mxGraph[_0x83b3[202]][_0x83b3[1712]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx3=null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2630]]()&& !this[_0x83b3[2612]](_0x187fx2)&& 0!= _0x187fx3[mxConstants[_0x83b3[2631]]]};mxGraph[_0x83b3[202]][_0x83b3[2630]]= function(){return this[_0x83b3[2372]]};mxGraph[_0x83b3[202]][_0x83b3[2632]]= function(_0x187fx2){this[_0x83b3[2372]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[997]]= function(){return this[_0x83b3[991]]};mxGraph[_0x83b3[202]][_0x83b3[998]]= function(_0x187fx2){this[_0x83b3[991]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2549]]= function(){return this[_0x83b3[2348]]};mxGraph[_0x83b3[202]][_0x83b3[2633]]= function(_0x187fx2){this[_0x83b3[2348]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2634]]= function(){return this[_0x83b3[1020]]};mxGraph[_0x83b3[202]][_0x83b3[2635]]= function(_0x187fx2){this[_0x83b3[1020]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2636]]= function(){return this[_0x83b3[2353]]};mxGraph[_0x83b3[202]][_0x83b3[2637]]= function(_0x187fx2){this[_0x83b3[2353]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2638]]= function(){return this[_0x83b3[2374]]};mxGraph[_0x83b3[202]][_0x83b3[2639]]= function(_0x187fx2){this[_0x83b3[2374]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2640]]= function(){return this[_0x83b3[2373]]};mxGraph[_0x83b3[202]][_0x83b3[2641]]= function(_0x187fx2){this[_0x83b3[2373]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2642]]= function(){return this[_0x83b3[2412]]};mxGraph[_0x83b3[202]][_0x83b3[2643]]= function(_0x187fx2){this[_0x83b3[2412]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2460]]= function(){return this[_0x83b3[2411]]};mxGraph[_0x83b3[202]][_0x83b3[2644]]= function(_0x187fx2){this[_0x83b3[2411]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2645]]= function(){return this[_0x83b3[2404]]};mxGraph[_0x83b3[202]][_0x83b3[2646]]= function(_0x187fx2){this[_0x83b3[2404]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2647]]= function(){return this[_0x83b3[2402]]};mxGraph[_0x83b3[202]][_0x83b3[2648]]= function(_0x187fx2){this[_0x83b3[2406]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2530]]= function(){return this[_0x83b3[2406]]};mxGraph[_0x83b3[202]][_0x83b3[2649]]= function(_0x187fx2){this[_0x83b3[2405]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2650]]= function(){return this[_0x83b3[2405]]};mxGraph[_0x83b3[202]][_0x83b3[2651]]= function(_0x187fx2){this[_0x83b3[2407]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2527]]= function(){return this[_0x83b3[2407]]};mxGraph[_0x83b3[202]][_0x83b3[2652]]= function(_0x187fx2){this[_0x83b3[2402]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2529]]= function(){return this[_0x83b3[2408]]};mxGraph[_0x83b3[202]][_0x83b3[2653]]= function(_0x187fx2){this[_0x83b3[2408]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[1015]]= function(){return this[_0x83b3[2375]]};mxGraph[_0x83b3[202]][_0x83b3[2654]]= function(_0x187fx2){this[_0x83b3[2375]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2655]]= function(){return this[_0x83b3[2376]]};mxGraph[_0x83b3[202]][_0x83b3[2656]]= function(_0x187fx2){this[_0x83b3[2376]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2657]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx3=null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2658]]()&& !this[_0x83b3[2612]](_0x187fx2)&& 0!= _0x187fx3[mxConstants[_0x83b3[2659]]]};mxGraph[_0x83b3[202]][_0x83b3[2658]]= function(){return this[_0x83b3[2377]]};mxGraph[_0x83b3[202]][_0x83b3[2660]]= function(_0x187fx2){this[_0x83b3[2377]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2661]]= function(_0x187fx2,_0x187fx3){return !0};mxGraph[_0x83b3[202]][_0x83b3[2662]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx3=null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2663]]()&& !this[_0x83b3[2612]](_0x187fx2)&& 0!= _0x187fx3[mxConstants[_0x83b3[2664]]]};mxGraph[_0x83b3[202]][_0x83b3[2663]]= function(){return this[_0x83b3[2378]]};mxGraph[_0x83b3[202]][_0x83b3[2665]]= function(_0x187fx2){this[_0x83b3[2378]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2453]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx3=null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2666]]()&& !this[_0x83b3[2612]](_0x187fx2)&& 0!= _0x187fx3[mxConstants[_0x83b3[2667]]]};mxGraph[_0x83b3[202]][_0x83b3[2666]]= function(){return this[_0x83b3[2370]]};mxGraph[_0x83b3[202]][_0x83b3[2668]]= function(_0x187fx2){this[_0x83b3[2370]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2551]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return this[_0x83b3[2669]]()&& !this[_0x83b3[2612]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2669]]= function(){return this[_0x83b3[2380]]};mxGraph[_0x83b3[202]][_0x83b3[2670]]= function(_0x187fx2){this[_0x83b3[2380]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2671]]= function(_0x187fx2){return null== _0x187fx2&& this[_0x83b3[2406]]|| null!= _0x187fx2&& (!this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)|| this[_0x83b3[2405]])&& this[_0x83b3[2565]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2672]]= function(_0x187fx2){return this[_0x83b3[2671]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2582]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[2671]](_0x187fx2)&& this[_0x83b3[2672]](_0x187fx3)};mxGraph[_0x83b3[202]][_0x83b3[1995]]= function(_0x187fx2){this[_0x83b3[2433]][_0x83b3[995]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[1965]]= function(_0x187fx2){return this[_0x83b3[2433]][_0x83b3[994]]()};mxGraph[_0x83b3[202]][_0x83b3[2673]]= function(_0x187fx2){this[_0x83b3[2276]][_0x83b3[995]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2674]]= function(_0x187fx2){this[_0x83b3[2316]][_0x83b3[2431]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2203]]= function(_0x187fx2){if(null!= this[_0x83b3[2347]]){var _0x187fx3=this[_0x83b3[2347]][_0x83b3[2148]]();return null== _0x187fx2?null!= _0x187fx3:_0x187fx2== _0x187fx3};return !1};mxGraph[_0x83b3[202]][_0x83b3[2455]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return this[_0x83b3[2675]]()|| 1== _0x187fx2[mxConstants[_0x83b3[2676]]]};mxGraph[_0x83b3[202]][_0x83b3[2675]]= function(){return this[_0x83b3[2381]]};mxGraph[_0x83b3[202]][_0x83b3[2677]]= function(_0x187fx2){this[_0x83b3[2381]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2507]]= function(_0x187fx2){return !this[_0x83b3[502]]()[_0x83b3[250]](_0x187fx2)&& this[_0x83b3[2678]]()};mxGraph[_0x83b3[202]][_0x83b3[2678]]= function(){return this[_0x83b3[2392]]};mxGraph[_0x83b3[202]][_0x83b3[2679]]= function(_0x187fx2){this[_0x83b3[2392]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2506]]= function(){return this[_0x83b3[2393]]};mxGraph[_0x83b3[202]][_0x83b3[2680]]= function(_0x187fx2){this[_0x83b3[2393]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2536]]= function(_0x187fx2){return this[_0x83b3[2681]]()&& !this[_0x83b3[502]]()[_0x83b3[250]](this[_0x83b3[502]]()[_0x83b3[1197]](_0x187fx2))};mxGraph[_0x83b3[202]][_0x83b3[2681]]= function(){return this[_0x83b3[2391]]};mxGraph[_0x83b3[202]][_0x83b3[2682]]= function(_0x187fx2){this[_0x83b3[2391]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2505]]= function(){return this[_0x83b3[2390]]};mxGraph[_0x83b3[202]][_0x83b3[2528]]= function(_0x187fx2){this[_0x83b3[2390]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2537]]= function(_0x187fx2){return this[_0x83b3[2683]](_0x187fx2)?this[_0x83b3[2354]]:0};mxGraph[_0x83b3[202]][_0x83b3[2683]]= function(_0x187fx2){return !1};mxGraph[_0x83b3[202]][_0x83b3[2513]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[251]][_0x83b3[1938]](_0x187fx2,mxUtils[_0x83b3[885]](this,function(_0x187fx2){return this[_0x83b3[2516]](_0x187fx2,_0x187fx3)}))};mxGraph[_0x83b3[202]][_0x83b3[2516]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2),_0x187fx4=null!= _0x187fx4?_0x187fx4[_0x83b3[124]]:this[_0x83b3[1705]](_0x187fx2);return 0< this[_0x83b3[251]][_0x83b3[262]](_0x187fx2)&& 0!= _0x187fx4[mxConstants[_0x83b3[2684]]]};mxGraph[_0x83b3[202]][_0x83b3[2685]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return null!= _0x187fx2&& (this[_0x83b3[2655]]()&& this[_0x83b3[2686]](_0x187fx2,_0x187fx3,_0x187fx4)|| !this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)&& (this[_0x83b3[1730]](_0x187fx2)|| 0< this[_0x83b3[251]][_0x83b3[262]](_0x187fx2)&& !this[_0x83b3[1742]](_0x187fx2)))};mxGraph[_0x83b3[202]][_0x83b3[2686]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return this[_0x83b3[251]][_0x83b3[250]](_0x187fx2)&& null!= _0x187fx3&& 1== _0x187fx3[_0x83b3[67]]&& this[_0x83b3[2565]](_0x187fx3[0])&& null== this[_0x83b3[2500]](_0x187fx2,this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!0),_0x187fx3[0])?(_0x187fx4= this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!0),_0x187fx2= this[_0x83b3[251]][_0x83b3[1709]](_0x187fx2,!1),!this[_0x83b3[251]][_0x83b3[1720]](_0x187fx3[0],_0x187fx4)&& !this[_0x83b3[251]][_0x83b3[1720]](_0x187fx3[0],_0x187fx2)):!1};mxGraph[_0x83b3[202]][_0x83b3[564]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(!this[_0x83b3[2642]]()){for(var _0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){if(this[_0x83b3[1730]](_0x187fx2[_0x187fx5])){return null}}};_0x187fx5= mxUtils[_0x83b3[2196]](this[_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx3),mxEvent[_0x83b3[733]](_0x187fx3));_0x187fx5[_0x83b3[235]]-= this[_0x83b3[1136]];_0x187fx5[_0x83b3[236]]-= this[_0x83b3[1137]];_0x187fx5= this[_0x83b3[2461]](_0x187fx5[_0x83b3[235]],_0x187fx5[_0x83b3[236]]);if(null== _0x187fx4){_0x187fx4= _0x187fx5}else {if(null!= _0x187fx5){for(var _0x187fx9=this[_0x83b3[251]][_0x83b3[1197]](_0x187fx5);null!= _0x187fx9&& this[_0x83b3[1730]](_0x187fx9)&& _0x187fx9!= _0x187fx4;){_0x187fx9= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx9)};_0x187fx9== _0x187fx4&& (_0x187fx4= _0x187fx5)}};for(;null!= _0x187fx4&& !this[_0x83b3[2685]](_0x187fx4,_0x187fx2,_0x187fx3)&& !this[_0x83b3[251]][_0x83b3[1740]](_0x187fx4);){_0x187fx4= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx4)};return !this[_0x83b3[251]][_0x83b3[1740]](_0x187fx4)&& 0> mxUtils[_0x83b3[2]](_0x187fx2,_0x187fx4)?_0x187fx4:null};mxGraph[_0x83b3[202]][_0x83b3[902]]= function(){var _0x187fx2=this[_0x83b3[2355]];null== _0x187fx2&& (_0x187fx2= this[_0x83b3[2534]](),null== _0x187fx2&& (_0x187fx2= this[_0x83b3[251]][_0x83b3[501]](),_0x187fx2= this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,0)));return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2687]]= function(_0x187fx2){this[_0x83b3[2355]]= _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2179]]= function(_0x187fx2){for(;null!= _0x187fx2&& !this[_0x83b3[1730]](_0x187fx2);){_0x187fx2= this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2)};return _0x187fx2};mxGraph[_0x83b3[202]][_0x83b3[2461]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= _0x187fx4|| this[_0x83b3[902]]();if(null!= _0x187fx4){for(var _0x187fx5=this[_0x83b3[251]][_0x83b3[262]](_0x187fx4),_0x187fx9=0;_0x187fx9< _0x187fx5;_0x187fx9++){var _0x187fxa=this[_0x83b3[251]][_0x83b3[263]](_0x187fx4,_0x187fx9),_0x187fx12=this[_0x83b3[2461]](_0x187fx2,_0x187fx3,_0x187fxa);if(null!= _0x187fx12){return _0x187fx12};if(this[_0x83b3[1730]](_0x187fxa)&& (_0x187fx12= this[_0x83b3[441]][_0x83b3[248]](_0x187fxa),this[_0x83b3[1825]](_0x187fx12,_0x187fx2,_0x187fx3))){return _0x187fxa}}};return null};mxGraph[_0x83b3[202]][_0x83b3[999]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx5= null!= _0x187fx5?_0x187fx5:!0;_0x187fx9= null!= _0x187fx9?_0x187fx9:!0;_0x187fx4= null!= _0x187fx4?_0x187fx4:this[_0x83b3[902]]();if(null!= _0x187fx4){for(var _0x187fxa=this[_0x83b3[251]][_0x83b3[262]](_0x187fx4)- 1;0<= _0x187fxa;_0x187fxa--){var _0x187fx12=this[_0x83b3[251]][_0x83b3[263]](_0x187fx4,_0x187fxa),_0x187fx13=this[_0x83b3[999]](_0x187fx2,_0x187fx3,_0x187fx12,_0x187fx5,_0x187fx9);if(null!= _0x187fx13){return _0x187fx13};if(this[_0x83b3[1714]](_0x187fx12)&& (_0x187fx9&& this[_0x83b3[251]][_0x83b3[250]](_0x187fx12)|| _0x187fx5&& this[_0x83b3[251]][_0x83b3[1193]](_0x187fx12))){if(_0x187fx13= this[_0x83b3[441]][_0x83b3[248]](_0x187fx12),this[_0x83b3[1825]](_0x187fx13,_0x187fx2,_0x187fx3)){return _0x187fx12}}}};return null};mxGraph[_0x83b3[202]][_0x83b3[1825]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= _0x187fx2){var _0x187fx5=_0x187fx2[_0x83b3[439]];if(null!= _0x187fx5){_0x187fx2= this[_0x83b3[2353]]* this[_0x83b3[2353]];for(var _0x187fx9=_0x187fx5[0],_0x187fxa=1;_0x187fxa< _0x187fx5[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx5[_0x187fxa];if(mxUtils[_0x83b3[440]](_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]],_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],_0x187fx3,_0x187fx4)<= _0x187fx2){return !0};_0x187fx9= _0x187fx12}}else {if(_0x187fx9= mxUtils[_0x83b3[431]](mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION)|| 0),0!= _0x187fx9&& (_0x187fx5= Math[_0x83b3[426]](-_0x187fx9),_0x187fx9= Math[_0x83b3[427]](-_0x187fx9),_0x187fxa= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]()),_0x187fx9= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx3,_0x187fx4),_0x187fx5,_0x187fx9,_0x187fxa),_0x187fx3= _0x187fx9[_0x83b3[235]],_0x187fx4= _0x187fx9[_0x83b3[236]]),mxUtils[_0x83b3[442]](_0x187fx2,_0x187fx3,_0x187fx4)){return !0}}};return !1};mxGraph[_0x83b3[202]][_0x83b3[2688]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);_0x187fx2= this[_0x83b3[1731]](_0x187fx2);if(null!= _0x187fx5){var _0x187fx9=this[_0x83b3[249]]()[_0x83b3[518]]();_0x187fx3-= _0x187fx5[_0x83b3[235]];_0x187fx4-= _0x187fx5[_0x83b3[236]];if(0< _0x187fx2[_0x83b3[117]]&& 0< _0x187fx3&& _0x187fx3> _0x187fx2[_0x83b3[117]]* _0x187fx9|| 0< _0x187fx2[_0x83b3[119]]&& 0< _0x187fx4&& _0x187fx4> _0x187fx2[_0x83b3[119]]* _0x187fx9){return !0}};return !1};mxGraph[_0x83b3[202]][_0x83b3[1728]]= function(_0x187fx2){return this[_0x83b3[1955]](_0x187fx2,!0,!1)};mxGraph[_0x83b3[202]][_0x83b3[1956]]= function(_0x187fx2){return this[_0x83b3[1955]](_0x187fx2,!1,!0)};mxGraph[_0x83b3[202]][_0x83b3[1955]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= null!= _0x187fx2?_0x187fx2:this[_0x83b3[902]]();_0x187fx2= this[_0x83b3[251]][_0x83b3[1955]](_0x187fx2,null!= _0x187fx3?_0x187fx3:!1,null!= _0x187fx4?_0x187fx4:!1);_0x187fx3= [];for(_0x187fx4= 0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){this[_0x83b3[1714]](_0x187fx2[_0x187fx4])&& _0x187fx3[_0x83b3[207]](_0x187fx2[_0x187fx4])};return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[1756]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[264]](_0x187fx2,_0x187fx3,!0,!0,!1)};mxGraph[_0x83b3[202]][_0x83b3[1867]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[264]](_0x187fx2,_0x187fx3,!0,!1,!1)};mxGraph[_0x83b3[202]][_0x83b3[1963]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[264]](_0x187fx2,_0x187fx3,!1,!0,!1)};mxGraph[_0x83b3[202]][_0x83b3[264]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;_0x187fx5= null!= _0x187fx5?_0x187fx5:!0;_0x187fx9= null!= _0x187fx9?_0x187fx9:!0;_0x187fxa= null!= _0x187fxa?_0x187fxa:!1;for(var _0x187fx12=[],_0x187fx13=this[_0x83b3[1742]](_0x187fx2),_0x187fx14=this[_0x83b3[251]][_0x83b3[262]](_0x187fx2),_0x187fx15=0;_0x187fx15< _0x187fx14;_0x187fx15++){var _0x187fx16=this[_0x83b3[251]][_0x83b3[263]](_0x187fx2,_0x187fx15);if(_0x187fx13|| !this[_0x83b3[1714]](_0x187fx16)){_0x187fx12= _0x187fx12[_0x83b3[1919]](this[_0x83b3[251]][_0x83b3[264]](_0x187fx16,_0x187fx4,_0x187fx5))}};_0x187fx12= _0x187fx12[_0x83b3[1919]](this[_0x83b3[251]][_0x83b3[264]](_0x187fx2,_0x187fx4,_0x187fx5));_0x187fx13= [];for(_0x187fx15= 0;_0x187fx15< _0x187fx12[_0x83b3[67]];_0x187fx15++){_0x187fx16= this[_0x83b3[441]][_0x83b3[248]](_0x187fx12[_0x187fx15]),_0x187fx14= null!= _0x187fx16?_0x187fx16[_0x83b3[1710]](!0):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx12[_0x187fx15],!0),_0x187fx16= null!= _0x187fx16?_0x187fx16[_0x83b3[1710]](!1):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx12[_0x187fx15],!1),(_0x187fx9&& _0x187fx14== _0x187fx16|| _0x187fx14!= _0x187fx16&& (_0x187fx4&& _0x187fx16== _0x187fx2&& (null== _0x187fx3|| this[_0x83b3[1920]](_0x187fx14,_0x187fx3,_0x187fxa))|| _0x187fx5&& _0x187fx14== _0x187fx2&& (null== _0x187fx3|| this[_0x83b3[1920]](_0x187fx16,_0x187fx3,_0x187fxa))))&& _0x187fx13[_0x83b3[207]](_0x187fx12[_0x187fx15])};return _0x187fx13};mxGraph[_0x83b3[202]][_0x83b3[1920]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx4?this[_0x83b3[251]][_0x83b3[1720]](_0x187fx3,_0x187fx2):this[_0x83b3[251]][_0x83b3[1197]](_0x187fx2)== _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[1808]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx4= null!= _0x187fx4?_0x187fx4:!0;_0x187fx5= null!= _0x187fx5?_0x187fx5:!0;var _0x187fx9=[],_0x187fxa={};if(null!= _0x187fx2){for(var _0x187fx12=0;_0x187fx12< _0x187fx2[_0x83b3[67]];_0x187fx12++){var _0x187fx13=this[_0x83b3[441]][_0x83b3[248]](_0x187fx2[_0x187fx12]),_0x187fx14=null!= _0x187fx13?_0x187fx13[_0x83b3[1710]](!0):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx2[_0x187fx12],!0),_0x187fx13=null!= _0x187fx13?_0x187fx13[_0x83b3[1710]](!1):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx2[_0x187fx12],!1);if(_0x187fx14== _0x187fx3&& null!= _0x187fx13&& _0x187fx13!= _0x187fx3&& _0x187fx5){var _0x187fx15=mxCellPath[_0x83b3[385]](_0x187fx13);null== _0x187fxa[_0x187fx15]&& (_0x187fxa[_0x187fx15]= _0x187fx13,_0x187fx9[_0x83b3[207]](_0x187fx13))}else {_0x187fx13== _0x187fx3&& (null!= _0x187fx14&& _0x187fx14!= _0x187fx3&& _0x187fx4)&& (_0x187fx15= mxCellPath[_0x83b3[385]](_0x187fx14),null== _0x187fxa[_0x187fx15]&& (_0x187fxa[_0x187fx15]= _0x187fx14,_0x187fx9[_0x83b3[207]](_0x187fx14)))}}};return _0x187fx9};mxGraph[_0x83b3[202]][_0x83b3[1781]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;for(var _0x187fx5=this[_0x83b3[264]](_0x187fx2),_0x187fx9=[],_0x187fxa=0;_0x187fxa< _0x187fx5[_0x83b3[67]];_0x187fxa++){var _0x187fx12=this[_0x83b3[441]][_0x83b3[248]](_0x187fx5[_0x187fxa]),_0x187fx13=null!= _0x187fx12?_0x187fx12[_0x83b3[1710]](!0):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx5[_0x187fxa],!0),_0x187fx12=null!= _0x187fx12?_0x187fx12[_0x83b3[1710]](!1):this[_0x83b3[441]][_0x83b3[1710]](_0x187fx5[_0x187fxa],!1);(_0x187fx13== _0x187fx2&& _0x187fx12== _0x187fx3|| !_0x187fx4&& _0x187fx13== _0x187fx3&& _0x187fx12== _0x187fx2)&& _0x187fx9[_0x83b3[207]](_0x187fx5[_0x187fxa])};return _0x187fx9};mxGraph[_0x83b3[202]][_0x83b3[2689]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxUtils[_0x83b3[2196]](this[_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx2),mxEvent[_0x83b3[733]](_0x187fx2)),_0x187fx5=this[_0x83b3[441]][_0x83b3[255]],_0x187fx9=this[_0x83b3[441]][_0x83b3[513]],_0x187fxa=!1!= _0x187fx3?this[_0x83b3[1020]]/ 2:0;_0x187fx4[_0x83b3[235]]= this[_0x83b3[1021]](_0x187fx4[_0x83b3[235]]/ _0x187fx5- _0x187fx9[_0x83b3[235]]- _0x187fxa);_0x187fx4[_0x83b3[236]]= this[_0x83b3[1021]](_0x187fx4[_0x83b3[236]]/ _0x187fx5- _0x187fx9[_0x83b3[236]]- _0x187fxa);return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[2690]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fxa= null!= _0x187fxa?_0x187fxa:[];if(0< _0x187fx4|| 0< _0x187fx5){var _0x187fx12=_0x187fx2+ _0x187fx4,_0x187fx13=_0x187fx3+ _0x187fx5;_0x187fx9= _0x187fx9|| this[_0x83b3[902]]();if(null!= _0x187fx9){for(var _0x187fx14=this[_0x83b3[251]][_0x83b3[262]](_0x187fx9),_0x187fx15=0;_0x187fx15< _0x187fx14;_0x187fx15++){var _0x187fx16=this[_0x83b3[251]][_0x83b3[263]](_0x187fx9,_0x187fx15),_0x187fx17=this[_0x83b3[441]][_0x83b3[248]](_0x187fx16);if(this[_0x83b3[1714]](_0x187fx16)&& null!= _0x187fx17){var _0x187fx18=_0x187fx17,_0x187fx17=mxUtils[_0x83b3[433]](_0x187fx17[_0x83b3[124]],mxConstants.STYLE_ROTATION)|| 0;0!= _0x187fx17&& (_0x187fx18= mxUtils[_0x83b3[1613]](_0x187fx18,_0x187fx17));_0x187fx18[_0x83b3[235]]>= _0x187fx2&& _0x187fx18[_0x83b3[236]]+ _0x187fx18[_0x83b3[119]]<= _0x187fx13&& _0x187fx18[_0x83b3[236]]>= _0x187fx3&& _0x187fx18[_0x83b3[235]]+ _0x187fx18[_0x83b3[117]]<= _0x187fx12?_0x187fxa[_0x83b3[207]](_0x187fx16):this[_0x83b3[2690]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx16,_0x187fxa)}}}};return _0x187fxa};mxGraph[_0x83b3[202]][_0x83b3[2691]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=[];if(_0x187fx5|| _0x187fx9){if(null== _0x187fx4&& (_0x187fx4= this[_0x83b3[902]]()),null!= _0x187fx4){for(var _0x187fx12=this[_0x83b3[251]][_0x83b3[262]](_0x187fx4),_0x187fx13=0;_0x187fx13< _0x187fx12;_0x187fx13++){var _0x187fx14=this[_0x83b3[251]][_0x83b3[263]](_0x187fx4,_0x187fx13),_0x187fx15=this[_0x83b3[441]][_0x83b3[248]](_0x187fx14);this[_0x83b3[1714]](_0x187fx14)&& null!= _0x187fx15&& (!_0x187fx5|| _0x187fx15[_0x83b3[235]]>= _0x187fx2) && (!_0x187fx9|| _0x187fx15[_0x83b3[236]]>= _0x187fx3) && _0x187fxa[_0x83b3[207]](_0x187fx14)}}};return _0x187fxa};mxGraph[_0x83b3[202]][_0x83b3[1757]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= null!= _0x187fx3?_0x187fx3:!1;_0x187fx4= null!= _0x187fx4?_0x187fx4:!1;var _0x187fx5=[];if(null!= _0x187fx2){for(var _0x187fx9=this[_0x83b3[502]](),_0x187fxa=_0x187fx9[_0x83b3[262]](_0x187fx2),_0x187fx12=null,_0x187fx13=0,_0x187fx14=0;_0x187fx14< _0x187fxa;_0x187fx14++){var _0x187fx15=_0x187fx9[_0x83b3[263]](_0x187fx2,_0x187fx14);if(this[_0x83b3[251]][_0x83b3[1193]](_0x187fx15)&& this[_0x83b3[1714]](_0x187fx15)){for(var _0x187fx16=this[_0x83b3[1756]](_0x187fx15,_0x187fx3?_0x187fx2:null),_0x187fx17=0,_0x187fx18=0,_0x187fx19=0;_0x187fx19< _0x187fx16[_0x83b3[67]];_0x187fx19++){this[_0x83b3[441]][_0x83b3[1710]](_0x187fx16[_0x187fx19],!0)== _0x187fx15?_0x187fx17++:_0x187fx18++};(_0x187fx4&& 0== _0x187fx17&& 0< _0x187fx18|| !_0x187fx4&& 0== _0x187fx18&& 0< _0x187fx17)&& _0x187fx5[_0x83b3[207]](_0x187fx15);_0x187fx16= _0x187fx4?_0x187fx18- _0x187fx17:_0x187fx17- _0x187fx18;_0x187fx16> _0x187fx13&& (_0x187fx13= _0x187fx16,_0x187fx12= _0x187fx15)}};0== _0x187fx5[_0x83b3[67]]&& null!= _0x187fx12&& _0x187fx5[_0x83b3[207]](_0x187fx12)};return _0x187fx5};mxGraph[_0x83b3[202]][_0x83b3[1706]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx4&& null!= _0x187fx2){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;_0x187fx9= _0x187fx9|| [];var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2);if(null== _0x187fx9[_0x187fxa]&& (_0x187fx9[_0x187fxa]= _0x187fx2,_0x187fx5= _0x187fx4(_0x187fx2,_0x187fx5),null== _0x187fx5|| _0x187fx5)){if(_0x187fx5= this[_0x83b3[251]][_0x83b3[1707]](_0x187fx2),0< _0x187fx5){for(_0x187fxa= 0;_0x187fxa< _0x187fx5;_0x187fxa++){var _0x187fx12=this[_0x83b3[251]][_0x83b3[1708]](_0x187fx2,_0x187fxa),_0x187fx13=this[_0x83b3[251]][_0x83b3[1709]](_0x187fx12,!0)== _0x187fx2;if(!_0x187fx3|| _0x187fx13){_0x187fx13= this[_0x83b3[251]][_0x83b3[1709]](_0x187fx12,!_0x187fx13),this[_0x83b3[1706]](_0x187fx13,_0x187fx3,_0x187fx4,_0x187fx12,_0x187fx9)}}}}}};mxGraph[_0x83b3[202]][_0x83b3[2692]]= function(_0x187fx2){return this[_0x83b3[2435]]()[_0x83b3[2097]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2693]]= function(){return this[_0x83b3[2435]]()[_0x83b3[1107]]()};mxGraph[_0x83b3[202]][_0x83b3[2440]]= function(){return this[_0x83b3[2435]]()[_0x83b3[200]]()};mxGraph[_0x83b3[202]][_0x83b3[2694]]= function(){return this[_0x83b3[2435]]()[_0x83b3[895]][_0x83b3[67]]};mxGraph[_0x83b3[202]][_0x83b3[2452]]= function(){return this[_0x83b3[2435]]()[_0x83b3[895]][0]};mxGraph[_0x83b3[202]][_0x83b3[897]]= function(){return this[_0x83b3[2435]]()[_0x83b3[895]][_0x83b3[1853]]()};mxGraph[_0x83b3[202]][_0x83b3[2450]]= function(_0x187fx2){this[_0x83b3[2435]]()[_0x83b3[2099]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[904]]= function(_0x187fx2){this[_0x83b3[2435]]()[_0x83b3[2100]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2695]]= function(_0x187fx2){this[_0x83b3[2435]]()[_0x83b3[2103]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2696]]= function(_0x187fx2){this[_0x83b3[2435]]()[_0x83b3[832]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2697]]= function(_0x187fx2){this[_0x83b3[2435]]()[_0x83b3[2104]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2439]]= function(_0x187fx2){this[_0x83b3[2435]]()[_0x83b3[842]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2698]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[2690]](_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],_0x187fx2[_0x83b3[117]],_0x187fx2[_0x83b3[119]]);this[_0x83b3[2699]](_0x187fx4,_0x187fx3);return _0x187fx4};mxGraph[_0x83b3[202]][_0x83b3[2700]]= function(){this[_0x83b3[2701]](!0)};mxGraph[_0x83b3[202]][_0x83b3[2702]]= function(){this[_0x83b3[2701]]()};mxGraph[_0x83b3[202]][_0x83b3[2703]]= function(){this[_0x83b3[2701]](!1,!0)};mxGraph[_0x83b3[202]][_0x83b3[2704]]= function(){this[_0x83b3[2701]](!1,!1,!0)};mxGraph[_0x83b3[202]][_0x83b3[2701]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[2105]],_0x187fx9=0< _0x187fx5[_0x83b3[895]][_0x83b3[67]]?_0x187fx5[_0x83b3[895]][0]:null;1< _0x187fx5[_0x83b3[895]][_0x83b3[67]]&& _0x187fx5[_0x83b3[200]]();var _0x187fx5=null!= _0x187fx9?this[_0x83b3[251]][_0x83b3[1197]](_0x187fx9):this[_0x83b3[902]](),_0x187fxa=this[_0x83b3[251]][_0x83b3[262]](_0x187fx5);null== _0x187fx9&& 0< _0x187fxa?(_0x187fx2= this[_0x83b3[251]][_0x83b3[263]](_0x187fx5,0),this[_0x83b3[2450]](_0x187fx2)):(null== _0x187fx9|| _0x187fx3)&& null!= this[_0x83b3[441]][_0x83b3[248]](_0x187fx5)&& null!= this[_0x83b3[251]][_0x83b3[1721]](_0x187fx5)?this[_0x83b3[2534]]()!= _0x187fx5&& this[_0x83b3[2450]](_0x187fx5):null!= _0x187fx9&& _0x187fx4?0< this[_0x83b3[251]][_0x83b3[262]](_0x187fx9)&& (_0x187fx2= this[_0x83b3[251]][_0x83b3[263]](_0x187fx9,0),this[_0x83b3[2450]](_0x187fx2)):0< _0x187fxa&& (_0x187fx3= _0x187fx5[_0x83b3[1738]](_0x187fx9),_0x187fx2?(_0x187fx3++,_0x187fx2= this[_0x83b3[251]][_0x83b3[263]](_0x187fx5,_0x187fx3% _0x187fxa)):(_0x187fx3--,_0x187fx2= this[_0x83b3[251]][_0x83b3[263]](_0x187fx5,0> _0x187fx3?_0x187fxa- 1:_0x187fx3)),this[_0x83b3[2450]](_0x187fx2))};mxGraph[_0x83b3[202]][_0x83b3[2705]]= function(_0x187fx2){_0x187fx2= _0x187fx2|| this[_0x83b3[902]]();_0x187fx2= this[_0x83b3[251]][_0x83b3[1953]](_0x187fx2);null!= _0x187fx2&& this[_0x83b3[904]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2706]]= function(_0x187fx2){this[_0x83b3[2707]](!0,!1,_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2708]]= function(_0x187fx2){this[_0x83b3[2707]](!1,!0,_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2707]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= _0x187fx4|| this[_0x83b3[902]]();var _0x187fx5=mxUtils[_0x83b3[885]](this,function(_0x187fx4){return null!= this[_0x83b3[441]][_0x83b3[248]](_0x187fx4)&& 0== this[_0x83b3[251]][_0x83b3[262]](_0x187fx4)&& (this[_0x83b3[251]][_0x83b3[1193]](_0x187fx4)&& _0x187fx2|| this[_0x83b3[251]][_0x83b3[250]](_0x187fx4)&& _0x187fx3)});_0x187fx4= this[_0x83b3[251]][_0x83b3[1921]](_0x187fx5,_0x187fx4);this[_0x83b3[904]](_0x187fx4)};mxGraph[_0x83b3[202]][_0x83b3[2459]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[2692]](_0x187fx2);this[_0x83b3[2462]](_0x187fx3)?_0x187fx4?this[_0x83b3[2697]](_0x187fx2):this[_0x83b3[2695]](_0x187fx2):(!_0x187fx4|| 1!= this[_0x83b3[2694]]()) && this[_0x83b3[2450]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2699]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2462]](_0x187fx3)?this[_0x83b3[2696]](_0x187fx2):this[_0x83b3[904]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[2709]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2&& (this[_0x83b3[251]][_0x83b3[250]](_0x187fx2[_0x83b3[246]])?(_0x187fx3= this[_0x83b3[441]][_0x83b3[2291]](_0x187fx2),_0x187fx3= this[_0x83b3[2573]](_0x187fx2)|| _0x187fx3== mxEdgeStyle[_0x83b3[2568]]|| _0x187fx3== mxEdgeStyle[_0x83b3[2569]]|| _0x187fx3== mxEdgeStyle[_0x83b3[2570]]? new mxElbowEdgeHandler(_0x187fx2):_0x187fx3== mxEdgeStyle[_0x83b3[2567]]|| _0x187fx3== mxEdgeStyle[_0x83b3[2572]]? new mxEdgeSegmentHandler(_0x187fx2): new mxEdgeHandler(_0x187fx2)):_0x187fx3= new mxVertexHandler(_0x187fx2));return _0x187fx3};mxGraph[_0x83b3[202]][_0x83b3[1133]]= function(_0x187fx2){null== this[_0x83b3[2329]]&& (this[_0x83b3[2329]]= []);this[_0x83b3[2329]][_0x83b3[207]](_0x187fx2)};mxGraph[_0x83b3[202]][_0x83b3[1148]]= function(_0x187fx2){if(null!= this[_0x83b3[2329]]){for(var _0x187fx3=0;_0x187fx3< this[_0x83b3[2329]][_0x83b3[67]];_0x187fx3++){if(this[_0x83b3[2329]][_0x187fx3]== _0x187fx2){this[_0x83b3[2329]][_0x83b3[300]](_0x187fx3,1);break}}}};mxGraph[_0x83b3[202]][_0x83b3[2710]]= function(_0x187fx2){if(null== _0x187fx2[_0x83b3[725]]|| null== _0x187fx2[_0x83b3[726]]){var _0x187fx3=mxUtils[_0x83b3[2196]](this[_0x83b3[526]],_0x187fx2[_0x83b3[730]](),_0x187fx2[_0x83b3[732]]());_0x187fx2[_0x83b3[725]]= _0x187fx3[_0x83b3[235]]- this[_0x83b3[1136]];_0x187fx2[_0x83b3[726]]= _0x187fx3[_0x83b3[236]]- this[_0x83b3[1137]]}};mxGraph[_0x83b3[202]][_0x83b3[758]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null== _0x187fx4&& (_0x187fx4= this);this[_0x83b3[2710]](_0x187fx3);_0x187fx2== mxEvent[_0x83b3[2711]]&& (this[_0x83b3[1009]]= !0);if(mxClient[_0x83b3[754]]&& this[_0x83b3[2349]]&& _0x187fx2== mxEvent[_0x83b3[2711]]){var _0x187fx5=( new Date)[_0x83b3[178]]();_0x187fx5- this[_0x83b3[2213]]< this[_0x83b3[2350]]&& Math[_0x83b3[425]](this[_0x83b3[2712]]- _0x187fx3[_0x83b3[730]]())< this[_0x83b3[2351]]&& Math[_0x83b3[425]](this[_0x83b3[2352]]- _0x187fx3[_0x83b3[732]]())< this[_0x83b3[2351]]?(this[_0x83b3[2213]]= 0,this[_0x83b3[761]](_0x187fx3[_0x83b3[727]](),_0x187fx3[_0x83b3[736]]()),_0x187fx3[_0x83b3[727]]()[_0x83b3[786]]= !0):(this[_0x83b3[2712]]= _0x187fx3[_0x83b3[730]](),this[_0x83b3[2352]]= _0x187fx3[_0x83b3[732]](),this[_0x83b3[2213]]= _0x187fx5)};_0x187fx5= 2!= _0x187fx3[_0x83b3[727]]()[_0x83b3[764]];if(mxClient[_0x83b3[80]]&& _0x83b3[462]== document[_0x83b3[135]]){if(null!= this[_0x83b3[2713]]&& Math[_0x83b3[425]](this[_0x83b3[2713]]- _0x187fx3[_0x83b3[730]]())> this[_0x83b3[2351]]|| null!= this[_0x83b3[2714]]&& Math[_0x83b3[425]](this[_0x83b3[2714]]- _0x187fx3[_0x83b3[732]]())> this[_0x83b3[2351]]){_0x187fx5= !0};_0x187fx2== mxEvent[_0x83b3[2715]]&& (this[_0x83b3[2713]]= _0x187fx3[_0x83b3[730]](),this[_0x83b3[2714]]= _0x187fx3[_0x83b3[732]]())};if((_0x187fx2!= mxEvent[_0x83b3[2715]]|| this[_0x83b3[1009]])&& _0x187fx5){if(_0x187fx2== mxEvent[_0x83b3[2715]]&& (this[_0x83b3[1009]]= !1),!this[_0x83b3[2203]]()&& (mxClient[_0x83b3[71]]|| mxClient[_0x83b3[75]]|| mxClient[_0x83b3[76]]|| mxClient[_0x83b3[80]]&& mxClient[_0x83b3[48]]|| _0x187fx3[_0x83b3[727]]()[_0x83b3[772]]!= this[_0x83b3[526]])){_0x187fx2== mxEvent[_0x83b3[2716]]&& (this[_0x83b3[1009]]&& this[_0x83b3[1012]])&& this[_0x83b3[1014]](_0x187fx3[_0x83b3[734]](),_0x187fx3[_0x83b3[735]](),this[_0x83b3[1013]]);if(null!= this[_0x83b3[2329]]){_0x187fx4= [_0x187fx4,_0x187fx3];_0x187fx3[_0x83b3[727]]()[_0x83b3[739]]= !0;for(_0x187fx5= 0;_0x187fx5< this[_0x83b3[2329]][_0x83b3[67]];_0x187fx5++){var _0x187fx9=this[_0x83b3[2329]][_0x187fx5];_0x187fx2== mxEvent[_0x83b3[2711]]?_0x187fx9[_0x83b3[787]][_0x83b3[183]](_0x187fx9,_0x187fx4):_0x187fx2== mxEvent[_0x83b3[2716]]?_0x187fx9[_0x83b3[788]][_0x83b3[183]](_0x187fx9,_0x187fx4):_0x187fx2== mxEvent[_0x83b3[2715]]&& _0x187fx9[_0x83b3[789]][_0x83b3[183]](_0x187fx9,_0x187fx4)}};_0x187fx2== mxEvent[_0x83b3[2715]]&& this[_0x83b3[173]](_0x187fx3)}}else {_0x187fx2== mxEvent[_0x83b3[2715]]&& (this[_0x83b3[1009]]= !1)}};mxGraph[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[2717]]|| (this[_0x83b3[2717]]= !0,null!= this[_0x83b3[2276]]&& this[_0x83b3[2276]][_0x83b3[515]](),null!= this[_0x83b3[2432]]&& this[_0x83b3[2432]][_0x83b3[515]](),null!= this[_0x83b3[2316]]&& this[_0x83b3[2316]][_0x83b3[515]](),null!= this[_0x83b3[2433]]&& this[_0x83b3[2433]][_0x83b3[515]](),null!= this[_0x83b3[1011]]&& this[_0x83b3[1011]][_0x83b3[515]](),null!= this[_0x83b3[2347]]&& this[_0x83b3[2347]][_0x83b3[515]](),null!= this[_0x83b3[441]]&& this[_0x83b3[441]][_0x83b3[515]](),null!= this[_0x83b3[251]]&& null!= this[_0x83b3[2343]]&& (this[_0x83b3[251]][_0x83b3[745]](this[_0x83b3[2343]]),this[_0x83b3[2343]]= null),this[_0x83b3[526]]= null)};function mxCellOverlay(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){this[_0x83b3[618]]= _0x187fx2;this[_0x83b3[2718]]= _0x187fx3;this[_0x83b3[611]]= null!= _0x187fx4?_0x187fx4:this[_0x83b3[611]];this[_0x83b3[123]]= null!= _0x187fx5?_0x187fx5:this[_0x83b3[123]];this[_0x83b3[1368]]= null!= _0x187fx9?_0x187fx9: new mxPoint;this[_0x83b3[270]]= null!= _0x187fxa?_0x187fxa:_0x83b3[2719]}mxCellOverlay[_0x83b3[202]]= new mxEventSource;mxCellOverlay[_0x83b3[202]][_0x83b3[196]]= mxCellOverlay;mxCellOverlay[_0x83b3[202]][_0x83b3[618]]= null;mxCellOverlay[_0x83b3[202]][_0x83b3[2718]]= null;mxCellOverlay[_0x83b3[202]][_0x83b3[611]]= mxConstants[_0x83b3[480]];mxCellOverlay[_0x83b3[202]][_0x83b3[123]]= mxConstants[_0x83b3[482]];mxCellOverlay[_0x83b3[202]][_0x83b3[1368]]= null;mxCellOverlay[_0x83b3[202]][_0x83b3[270]]= null;mxCellOverlay[_0x83b3[202]][_0x83b3[2354]]= 0.5;mxCellOverlay[_0x83b3[202]][_0x83b3[1799]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[441]][_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx2[_0x83b3[246]]),_0x187fx4=_0x187fx2[_0x83b3[441]][_0x83b3[255]],_0x187fx5=null,_0x187fx9=this[_0x83b3[618]][_0x83b3[117]],_0x187fxa=this[_0x83b3[618]][_0x83b3[119]];_0x187fx3?(_0x187fx3= _0x187fx2[_0x83b3[439]],1== _0x187fx3[_0x83b3[67]]% 2?_0x187fx5= _0x187fx3[Math[_0x83b3[519]](_0x187fx3[_0x83b3[67]]/ 2)]:(_0x187fx5= _0x187fx3[_0x83b3[67]]/ 2,_0x187fx2= _0x187fx3[_0x187fx5- 1],_0x187fx3= _0x187fx3[_0x187fx5],_0x187fx5= new mxPoint(_0x187fx2[_0x83b3[235]]+ (_0x187fx3[_0x83b3[235]]- _0x187fx2[_0x83b3[235]])/ 2,_0x187fx2[_0x83b3[236]]+ (_0x187fx3[_0x83b3[236]]- _0x187fx2[_0x83b3[236]])/ 2))):(_0x187fx5= new mxPoint,_0x187fx5[_0x83b3[235]]= this[_0x83b3[611]]== mxConstants[_0x83b3[2132]]?_0x187fx2[_0x83b3[235]]:this[_0x83b3[611]]== mxConstants[_0x83b3[479]]?_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]/ 2:_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]],_0x187fx5[_0x83b3[236]]= this[_0x83b3[123]]== mxConstants[_0x83b3[1687]]?_0x187fx2[_0x83b3[236]]:this[_0x83b3[123]]== mxConstants[_0x83b3[481]]?_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]/ 2:_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]);return new mxRectangle(Math[_0x83b3[488]](_0x187fx5[_0x83b3[235]]- (_0x187fx9* this[_0x83b3[2354]]- this[_0x83b3[1368]][_0x83b3[235]])* _0x187fx4),Math[_0x83b3[488]](_0x187fx5[_0x83b3[236]]- (_0x187fxa* this[_0x83b3[2354]]- this[_0x83b3[1368]][_0x83b3[236]])* _0x187fx4),_0x187fx9* _0x187fx4,_0x187fxa* _0x187fx4)};mxCellOverlay[_0x83b3[202]][_0x83b3[2591]]= function(){return this[_0x83b3[2718]]};function mxOutline(_0x187fx2,_0x187fx3){this[_0x83b3[1097]]= _0x187fx2;null!= _0x187fx3&& this[_0x83b3[176]](_0x187fx3)}mxOutline[_0x83b3[202]][_0x83b3[1097]]= null;mxOutline[_0x83b3[202]][_0x83b3[2136]]= null;mxOutline[_0x83b3[202]][_0x83b3[2720]]= mxConstants[_0x83b3[2333]];mxOutline[_0x83b3[202]][_0x83b3[984]]= !0;mxOutline[_0x83b3[202]][_0x83b3[2721]]= !0;mxOutline[_0x83b3[202]][_0x83b3[467]]= 10;mxOutline[_0x83b3[202]][_0x83b3[2722]]= 8;mxOutline[_0x83b3[202]][_0x83b3[2723]]= !1;mxOutline[_0x83b3[202]][_0x83b3[2724]]= null;mxOutline[_0x83b3[202]][_0x83b3[1063]]= !1;mxOutline[_0x83b3[202]][_0x83b3[176]]= function(_0x187fx2){this[_0x83b3[2136]]= new mxGraph(_0x187fx2,this[_0x83b3[1097]][_0x83b3[502]](),this[_0x83b3[2720]],this[_0x83b3[1097]][_0x83b3[2434]]());this[_0x83b3[2136]][_0x83b3[2206]]= !1;this[_0x83b3[2136]][_0x83b3[1012]]= !1;var _0x187fx3=this[_0x83b3[2136]][_0x83b3[1177]];this[_0x83b3[2136]][_0x83b3[1177]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){!this[_0x83b3[1063]]&& null!= this[_0x83b3[2136]]&& _0x187fx3[_0x83b3[183]](this[_0x83b3[2136]],arguments)});mxClient[_0x83b3[48]]&& (_0x187fx2= this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[2051]]()[_0x83b3[265]],_0x187fx2[_0x83b3[57]](_0x83b3[2725],_0x83b3[2726]),_0x187fx2[_0x83b3[57]](_0x83b3[2727],_0x83b3[2726]));this[_0x83b3[2136]][_0x83b3[2409]]= !1;this[_0x83b3[2136]][_0x83b3[995]](!1);this[_0x83b3[2728]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){!this[_0x83b3[1063]]&& !this[_0x83b3[1124]]&& this[_0x83b3[2729]]()});this[_0x83b3[1097]][_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[2728]]);this[_0x83b3[2136]][_0x83b3[1133]](this);_0x187fx2= this[_0x83b3[1097]][_0x83b3[249]]();_0x187fx2[_0x83b3[169]](mxEvent.SCALE,this[_0x83b3[2728]]);_0x187fx2[_0x83b3[169]](mxEvent.TRANSLATE,this[_0x83b3[2728]]);_0x187fx2[_0x83b3[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x83b3[2728]]);_0x187fx2[_0x83b3[169]](mxEvent.DOWN,this[_0x83b3[2728]]);_0x187fx2[_0x83b3[169]](mxEvent.UP,this[_0x83b3[2728]]);mxEvent[_0x83b3[169]](this[_0x83b3[1097]][_0x83b3[526]],_0x83b3[276],this[_0x83b3[2728]]);this[_0x83b3[2730]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2723]]&& this[_0x83b3[2728]][_0x83b3[183]](this,arguments)});this[_0x83b3[1097]][_0x83b3[169]](mxEvent.PAN,this[_0x83b3[2730]]);this[_0x83b3[2731]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2136]][_0x83b3[2341]](this[_0x83b3[1097]][_0x83b3[2434]]());this[_0x83b3[2136]][_0x83b3[802]]()});this[_0x83b3[1097]][_0x83b3[169]](mxEvent.REFRESH,this[_0x83b3[2731]]);this[_0x83b3[1562]]= new mxRectangle(0,0,0,0);this[_0x83b3[2732]]= new mxRectangleShape(this[_0x83b3[1562]],null,mxConstants.OUTLINE_COLOR,mxConstants.OUTLINE_STROKEWIDTH);this[_0x83b3[2732]][_0x83b3[507]]= this[_0x83b3[2136]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]];this[_0x83b3[2732]][_0x83b3[176]](this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[1524]]());mxEvent[_0x83b3[2733]](this[_0x83b3[2732]][_0x83b3[252]],this[_0x83b3[2136]]);this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[1537]]= _0x83b3[110];this[_0x83b3[2734]]= this[_0x83b3[2735]]();this[_0x83b3[2734]][_0x83b3[176]](this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[1524]]());this[_0x83b3[984]]&& (this[_0x83b3[2734]][_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[356]);mxEvent[_0x83b3[169]](this[_0x83b3[2734]][_0x83b3[252]],mxClient[_0x83b3[754]]?_0x83b3[755]:_0x83b3[751],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2136]][_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx2))}));this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= this[_0x83b3[2721]]?_0x83b3[110]:_0x83b3[130];this[_0x83b3[2734]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]];this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= _0x83b3[582];this[_0x83b3[2729]](!1)};mxOutline[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxOutline[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxOutline[_0x83b3[202]][_0x83b3[2736]]= function(_0x187fx2){this[_0x83b3[2734]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x187fx2?_0x83b3[189]:_0x83b3[188]};mxOutline[_0x83b3[202]][_0x83b3[802]]= function(){this[_0x83b3[2729]](!0)};mxOutline[_0x83b3[202]][_0x83b3[2735]]= function(){var _0x187fx2=null!= this[_0x83b3[2724]]? new mxImageShape( new mxRectangle(0,0,this[_0x83b3[2724]][_0x83b3[117]],this[_0x83b3[2724]][_0x83b3[119]]),this[_0x83b3[2724]][_0x83b3[390]]): new mxRectangleShape( new mxRectangle(0,0,this[_0x83b3[2722]],this[_0x83b3[2722]]),mxConstants.OUTLINE_HANDLE_FILLCOLOR,mxConstants.OUTLINE_HANDLE_STROKECOLOR);_0x187fx2[_0x83b3[507]]= this[_0x83b3[2136]][_0x83b3[507]];return _0x187fx2};mxOutline[_0x83b3[202]][_0x83b3[2737]]= function(){return new mxRectangle(0,0,this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[1526]],this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[191]])};mxOutline[_0x83b3[202]][_0x83b3[2738]]= function(_0x187fx2){return null};mxOutline[_0x83b3[202]][_0x83b3[2729]]= function(_0x187fx2){if(null!= this[_0x83b3[1097]]){var _0x187fx3=this[_0x83b3[1097]][_0x83b3[441]][_0x83b3[255]],_0x187fx4=this[_0x83b3[1097]][_0x83b3[517]](),_0x187fx4= new mxRectangle(_0x187fx4[_0x83b3[235]]/ _0x187fx3+ this[_0x83b3[1097]][_0x83b3[1136]],_0x187fx4[_0x83b3[236]]/ _0x187fx3+ this[_0x83b3[1097]][_0x83b3[1137]],_0x187fx4[_0x83b3[117]]/ _0x187fx3,_0x187fx4[_0x83b3[119]]/ _0x187fx3),_0x187fx5= new mxRectangle(0,0,this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[159]]/ _0x187fx3,this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[157]]/ _0x187fx3),_0x187fx9=_0x187fx4[_0x83b3[238]]();_0x187fx9[_0x83b3[99]](_0x187fx5);var _0x187fxa=this[_0x83b3[2737]](),_0x187fx5=Math[_0x83b3[160]](_0x187fxa[_0x83b3[117]]/ _0x187fx3,_0x187fx9[_0x83b3[117]]),_0x187fx3=Math[_0x83b3[160]](_0x187fxa[_0x83b3[119]]/ _0x187fx3,_0x187fx9[_0x83b3[119]]),_0x187fx9=Math[_0x83b3[160]](0,this[_0x83b3[2136]][_0x83b3[526]][_0x83b3[159]]- this[_0x83b3[467]]),_0x187fxa=Math[_0x83b3[160]](0,this[_0x83b3[2136]][_0x83b3[526]][_0x83b3[157]]- this[_0x83b3[467]]),_0x187fx9=Math[_0x83b3[243]](_0x187fx9/ _0x187fx5,_0x187fxa/ _0x187fx3);if(0< _0x187fx9){this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[255]]!= _0x187fx9&& (this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[255]]= _0x187fx9,_0x187fx2= !0);_0x187fx5= this[_0x83b3[2136]][_0x83b3[249]]();_0x187fx5[_0x83b3[1741]]!= this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[1741]]&& _0x187fx5[_0x83b3[2257]](this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[1741]]);var _0x187fx3=this[_0x83b3[1097]][_0x83b3[441]][_0x83b3[513]],_0x187fxa=_0x187fx3[_0x83b3[235]]+ this[_0x83b3[1097]][_0x83b3[1136]],_0x187fx12=_0x187fx3[_0x83b3[236]]+ this[_0x83b3[1097]][_0x83b3[1137]],_0x187fx9=this[_0x83b3[2738]](_0x187fx9);null!= _0x187fx9&& (_0x187fxa+= _0x187fx9[_0x83b3[235]],_0x187fx12+= _0x187fx9[_0x83b3[236]]);0> _0x187fx4[_0x83b3[235]]&& (_0x187fxa-= _0x187fx4[_0x83b3[235]]);0> _0x187fx4[_0x83b3[236]]&& (_0x187fx12-= _0x187fx4[_0x83b3[236]]);if(_0x187fx5[_0x83b3[513]][_0x83b3[235]]!= _0x187fxa|| _0x187fx5[_0x83b3[513]][_0x83b3[236]]!= _0x187fx12){_0x187fx5[_0x83b3[513]][_0x83b3[235]]= _0x187fxa,_0x187fx5[_0x83b3[513]][_0x83b3[236]]= _0x187fx12,_0x187fx2= !0};var _0x187fx4=_0x187fx5[_0x83b3[513]],_0x187fx9=this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[255]],_0x187fxa=_0x187fx9/ _0x187fx5[_0x83b3[255]],_0x187fx12=1/ _0x187fx5[_0x83b3[255]],_0x187fx13=this[_0x83b3[1097]][_0x83b3[526]];this[_0x83b3[1562]]= new mxRectangle((_0x187fx4[_0x83b3[235]]- _0x187fx3[_0x83b3[235]]- this[_0x83b3[1097]][_0x83b3[1136]])/ _0x187fx12,(_0x187fx4[_0x83b3[236]]- _0x187fx3[_0x83b3[236]]- this[_0x83b3[1097]][_0x83b3[1137]])/ _0x187fx12,_0x187fx13[_0x83b3[159]]/ _0x187fxa,_0x187fx13[_0x83b3[157]]/ _0x187fxa);this[_0x83b3[1562]][_0x83b3[235]]+= this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[360]]* _0x187fx5[_0x83b3[255]]/ _0x187fx9;this[_0x83b3[1562]][_0x83b3[236]]+= this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[190]]* _0x187fx5[_0x83b3[255]]/ _0x187fx9;_0x187fx4= this[_0x83b3[2732]][_0x83b3[1562]];if(_0x187fx4[_0x83b3[235]]!= this[_0x83b3[1562]][_0x83b3[235]]|| _0x187fx4[_0x83b3[236]]!= this[_0x83b3[1562]][_0x83b3[236]]|| _0x187fx4[_0x83b3[117]]!= this[_0x83b3[1562]][_0x83b3[117]]|| _0x187fx4[_0x83b3[119]]!= this[_0x83b3[1562]][_0x83b3[119]]){this[_0x83b3[2732]][_0x83b3[1562]]= this[_0x83b3[1562]],this[_0x83b3[2732]][_0x83b3[258]]()};_0x187fx4= this[_0x83b3[2734]][_0x83b3[1562]];_0x187fx5= new mxRectangle(this[_0x83b3[1562]][_0x83b3[235]]+ this[_0x83b3[1562]][_0x83b3[117]]- _0x187fx4[_0x83b3[117]]/ 2,this[_0x83b3[1562]][_0x83b3[236]]+ this[_0x83b3[1562]][_0x83b3[119]]- _0x187fx4[_0x83b3[119]]/ 2,_0x187fx4[_0x83b3[117]],_0x187fx4[_0x83b3[119]]);if(_0x187fx4[_0x83b3[235]]!= _0x187fx5[_0x83b3[235]]|| _0x187fx4[_0x83b3[236]]!= _0x187fx5[_0x83b3[236]]|| _0x187fx4[_0x83b3[117]]!= _0x187fx5[_0x83b3[117]]|| _0x187fx4[_0x83b3[119]]!= _0x187fx5[_0x83b3[119]]){this[_0x83b3[2734]][_0x83b3[1562]]= _0x187fx5,_0x83b3[188]!= this[_0x83b3[2734]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]&& this[_0x83b3[2734]][_0x83b3[258]]()};_0x187fx2&& this[_0x83b3[2136]][_0x83b3[441]][_0x83b3[2259]]()}}};mxOutline[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[984]]&& this[_0x83b3[2721]]&& (this[_0x83b3[499]]= _0x187fx3[_0x83b3[729]](this[_0x83b3[2734]]),this[_0x83b3[2739]]= _0x187fx3[_0x83b3[730]](),this[_0x83b3[2740]]= _0x187fx3[_0x83b3[732]](),this[_0x83b3[1124]]= !0,this[_0x83b3[1097]][_0x83b3[2365]]&& mxUtils[_0x83b3[1134]](this[_0x83b3[1097]][_0x83b3[526]])?(this[_0x83b3[2741]]= this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[360]],this[_0x83b3[2742]]= this[_0x83b3[1097]][_0x83b3[526]][_0x83b3[190]]):this[_0x83b3[2742]]= this[_0x83b3[2741]]= 0);_0x187fx3[_0x83b3[722]]()};mxOutline[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1124]]){this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= this[_0x83b3[2721]]?_0x83b3[110]:_0x83b3[130];this[_0x83b3[2734]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]];var _0x187fx4=_0x187fx3[_0x83b3[730]]()- this[_0x83b3[2739]],_0x187fx5=_0x187fx3[_0x83b3[732]]()- this[_0x83b3[2740]],_0x187fx9=null;if(this[_0x83b3[499]]){_0x187fx9= this[_0x83b3[1097]][_0x83b3[526]],_0x187fx5= _0x187fx4/ (_0x187fx9[_0x83b3[159]]/ _0x187fx9[_0x83b3[157]]),_0x187fx9= new mxRectangle(this[_0x83b3[1562]][_0x83b3[235]],this[_0x83b3[1562]][_0x83b3[236]],Math[_0x83b3[160]](1,this[_0x83b3[1562]][_0x83b3[117]]+ _0x187fx4),Math[_0x83b3[160]](1,this[_0x83b3[1562]][_0x83b3[119]]+ _0x187fx5)),this[_0x83b3[2732]][_0x83b3[1562]]= _0x187fx9,this[_0x83b3[2732]][_0x83b3[258]]()}else {var _0x187fxa=this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx9= new mxRectangle(this[_0x83b3[1562]][_0x83b3[235]]+ _0x187fx4,this[_0x83b3[1562]][_0x83b3[236]]+ _0x187fx5,this[_0x83b3[1562]][_0x83b3[117]],this[_0x83b3[1562]][_0x83b3[119]]);this[_0x83b3[2732]][_0x83b3[1562]]= _0x187fx9;this[_0x83b3[2732]][_0x83b3[258]]();_0x187fx4= _0x187fx4/ _0x187fxa* this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[255]];_0x187fx5= _0x187fx5/ _0x187fxa* this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[255]];this[_0x83b3[1097]][_0x83b3[1135]](-_0x187fx4- this[_0x83b3[2741]],-_0x187fx5- this[_0x83b3[2742]])};_0x187fx4= this[_0x83b3[2734]][_0x83b3[1562]];this[_0x83b3[2734]][_0x83b3[1562]]= new mxRectangle(_0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]]- _0x187fx4[_0x83b3[117]]/ 2,_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]]- _0x187fx4[_0x83b3[119]]/ 2,_0x187fx4[_0x83b3[117]],_0x187fx4[_0x83b3[119]]);_0x83b3[188]!= this[_0x83b3[2734]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]&& this[_0x83b3[2734]][_0x83b3[258]]();_0x187fx3[_0x83b3[722]]()}};mxOutline[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1124]]){var _0x187fx4=_0x187fx3[_0x83b3[730]]()- this[_0x83b3[2739]],_0x187fx5=_0x187fx3[_0x83b3[732]]()- this[_0x83b3[2740]];if(0< Math[_0x83b3[425]](_0x187fx4)|| 0< Math[_0x83b3[425]](_0x187fx5)){if(this[_0x83b3[499]]){var _0x187fx5=this[_0x83b3[2732]][_0x83b3[1562]][_0x83b3[117]],_0x187fx9=this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[255]];this[_0x83b3[1097]][_0x83b3[2561]](_0x187fx9- _0x187fx4* _0x187fx9/ _0x187fx5,!1)}else {if(!this[_0x83b3[1097]][_0x83b3[2365]]|| !mxUtils[_0x83b3[1134]](this[_0x83b3[1097]][_0x83b3[526]])){this[_0x83b3[1097]][_0x83b3[1135]](0,0),_0x187fx4/= this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx5/= this[_0x83b3[2136]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx9= this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[513]],this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[1147]](_0x187fx9[_0x83b3[235]]- _0x187fx4,_0x187fx9[_0x83b3[236]]- _0x187fx5)}};this[_0x83b3[2729]]();_0x187fx3[_0x83b3[722]]()};this[_0x83b3[1983]]= null;this[_0x83b3[1124]]= !1}};mxOutline[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[1097]]&& (this[_0x83b3[1097]][_0x83b3[745]](this[_0x83b3[2730]]),this[_0x83b3[1097]][_0x83b3[745]](this[_0x83b3[2731]]),this[_0x83b3[1097]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[2728]]),this[_0x83b3[1097]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[2728]]),mxEvent[_0x83b3[169]](this[_0x83b3[1097]][_0x83b3[526]],_0x83b3[276],this[_0x83b3[2728]]),this[_0x83b3[1097]]= null);null!= this[_0x83b3[2136]]&& (this[_0x83b3[2136]][_0x83b3[1148]](this),this[_0x83b3[2136]][_0x83b3[515]](),this[_0x83b3[2136]]= null);null!= this[_0x83b3[2732]]&& (this[_0x83b3[2732]][_0x83b3[515]](),this[_0x83b3[2732]]= null);null!= this[_0x83b3[2734]]&& (this[_0x83b3[2734]][_0x83b3[515]](),this[_0x83b3[2734]]= null)};function mxMultiplicity(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15){this[_0x83b3[1097]]= _0x187fx2;this[_0x83b3[60]]= _0x187fx3;this[_0x83b3[2588]]= _0x187fx4;this[_0x83b3[131]]= _0x187fx5;this[_0x83b3[243]]= null!= _0x187fx9?_0x187fx9:0;this[_0x83b3[160]]= null!= _0x187fxa?_0x187fxa:_0x83b3[2743];this[_0x83b3[2744]]= _0x187fx12;this[_0x83b3[2589]]= mxResources[_0x83b3[203]](_0x187fx13)|| _0x187fx13;this[_0x83b3[2745]]= mxResources[_0x83b3[203]](_0x187fx14)|| _0x187fx14;this[_0x83b3[2746]]= null!= _0x187fx15?_0x187fx15:!0}mxMultiplicity[_0x83b3[202]][_0x83b3[60]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[2588]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[131]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[1097]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[243]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[160]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[2744]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[2746]]= !0;mxMultiplicity[_0x83b3[202]][_0x83b3[2589]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[2745]]= null;mxMultiplicity[_0x83b3[202]][_0x83b3[2583]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=_0x83b3[110];if(this[_0x83b3[1097]]&& this[_0x83b3[2747]](_0x187fx2,_0x187fx4,_0x187fx3)|| !this[_0x83b3[1097]]&& this[_0x83b3[2747]](_0x187fx2,_0x187fx5,_0x187fx3)){if(null!= this[_0x83b3[2589]]&& (this[_0x83b3[1097]]&& (0== this[_0x83b3[160]]|| _0x187fx9>= this[_0x83b3[160]])|| !this[_0x83b3[1097]]&& (0== this[_0x83b3[160]]|| _0x187fxa>= this[_0x83b3[160]]))){_0x187fx12+= this[_0x83b3[2589]]+ _0x83b3[192]};null!= this[_0x83b3[2744]]&& (null!= this[_0x83b3[2745]]&& 0< this[_0x83b3[2744]][_0x83b3[67]])&& (this[_0x83b3[2748]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5)|| (_0x187fx12+= this[_0x83b3[2745]]+ _0x83b3[192]))};return 0< _0x187fx12[_0x83b3[67]]?_0x187fx12:null};mxMultiplicity[_0x83b3[202]][_0x83b3[2748]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx3= _0x187fx2[_0x83b3[251]][_0x83b3[433]](_0x187fx4);_0x187fx5= _0x187fx2[_0x83b3[251]][_0x83b3[433]](_0x187fx5);_0x187fx4= !this[_0x83b3[2746]];for(var _0x187fx9=this[_0x83b3[2744]],_0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){if(this[_0x83b3[1097]]&& this[_0x83b3[2749]](_0x187fx2,_0x187fx5,_0x187fx9[_0x187fxa])){_0x187fx4= this[_0x83b3[2746]];break}else {if(!this[_0x83b3[1097]]&& this[_0x83b3[2749]](_0x187fx2,_0x187fx3,_0x187fx9[_0x187fxa])){_0x187fx4= this[_0x83b3[2746]];break}}};return _0x187fx4};mxMultiplicity[_0x83b3[202]][_0x83b3[2747]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= _0x187fx2[_0x83b3[251]][_0x83b3[433]](_0x187fx3);return this[_0x83b3[2749]](_0x187fx2,_0x187fx3,this[_0x83b3[60]],this[_0x83b3[2588]],this[_0x83b3[131]])};mxMultiplicity[_0x83b3[202]][_0x83b3[2749]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){return null!= _0x187fx3?isNaN(_0x187fx3[_0x83b3[288]])?_0x187fx3== _0x187fx4:mxUtils[_0x83b3[1331]](_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9):!1};function mxLayoutManager(_0x187fx2){this[_0x83b3[2750]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4){this[_0x83b3[994]]()&& this[_0x83b3[823]](_0x187fx4[_0x83b3[720]](_0x83b3[1061]))});this[_0x83b3[2317]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4){this[_0x83b3[994]]()&& this[_0x83b3[835]](_0x187fx4[_0x83b3[720]](_0x83b3[895]),_0x187fx4[_0x83b3[720]](_0x83b3[763]))});this[_0x83b3[1178]](_0x187fx2)}mxLayoutManager[_0x83b3[202]]= new mxEventSource;mxLayoutManager[_0x83b3[202]][_0x83b3[196]]= mxLayoutManager;mxLayoutManager[_0x83b3[202]][_0x83b3[1179]]= null;mxLayoutManager[_0x83b3[202]][_0x83b3[2751]]= !0;mxLayoutManager[_0x83b3[202]][_0x83b3[984]]= !0;mxLayoutManager[_0x83b3[202]][_0x83b3[2728]]= null;mxLayoutManager[_0x83b3[202]][_0x83b3[2317]]= null;mxLayoutManager[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxLayoutManager[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxLayoutManager[_0x83b3[202]][_0x83b3[2752]]= function(){return this[_0x83b3[2751]]};mxLayoutManager[_0x83b3[202]][_0x83b3[2753]]= function(_0x187fx2){this[_0x83b3[2751]]= _0x187fx2};mxLayoutManager[_0x83b3[202]][_0x83b3[1703]]= function(){return this[_0x83b3[1179]]};mxLayoutManager[_0x83b3[202]][_0x83b3[1178]]= function(_0x187fx2){if(null!= this[_0x83b3[1179]]){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx3[_0x83b3[745]](this[_0x83b3[2750]]);this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2317]])};this[_0x83b3[1179]]= _0x187fx2;null!= this[_0x83b3[1179]]&& (_0x187fx3= this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx3[_0x83b3[169]](mxEvent.BEFORE_UNDO,this[_0x83b3[2750]]),this[_0x83b3[1179]][_0x83b3[169]](mxEvent.MOVE_CELLS,this[_0x83b3[2317]]))};mxLayoutManager[_0x83b3[202]][_0x83b3[2754]]= function(_0x187fx2){return null};mxLayoutManager[_0x83b3[202]][_0x83b3[823]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[2755]](_0x187fx2[_0x83b3[1065]]);var _0x187fx3=this[_0x83b3[1703]]()[_0x83b3[502]]();if(this[_0x83b3[2752]]()){for(var _0x187fx4=_0x187fx3[_0x83b3[1977]](_0x187fx2);0< _0x187fx4[_0x83b3[67]];){_0x187fx2= _0x187fx2[_0x83b3[1919]](_0x187fx4),_0x187fx4= _0x187fx3[_0x83b3[1977]](_0x187fx4)}};this[_0x83b3[828]](mxUtils[_0x83b3[1779]](_0x187fx2,!1))};mxLayoutManager[_0x83b3[202]][_0x83b3[835]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& null!= _0x187fx3){for(var _0x187fx4=mxUtils[_0x83b3[2196]](this[_0x83b3[1703]]()[_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx3),mxEvent[_0x83b3[733]](_0x187fx3)),_0x187fx5=this[_0x83b3[1703]]()[_0x83b3[502]](),_0x187fx9=0;_0x187fx9< _0x187fx2[_0x83b3[67]];_0x187fx9++){var _0x187fxa=this[_0x83b3[2754]](_0x187fx5[_0x83b3[1197]](_0x187fx2[_0x187fx9]));null!= _0x187fxa&& _0x187fxa[_0x83b3[1702]](_0x187fx2[_0x187fx9],_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]])}}};mxLayoutManager[_0x83b3[202]][_0x83b3[2755]]= function(_0x187fx2){for(var _0x187fx3=[],_0x187fx4={},_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){var _0x187fx9=_0x187fx2[_0x187fx5];if(_0x187fx9 instanceof mxRootChange){return []};for(var _0x187fx9=this[_0x83b3[2756]](_0x187fx9),_0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){if(null!= _0x187fx9[_0x187fxa]){var _0x187fx12=mxCellPath[_0x83b3[385]](_0x187fx9[_0x187fxa]);null== _0x187fx4[_0x187fx12]&& (_0x187fx4[_0x187fx12]= _0x187fx9[_0x187fxa],_0x187fx3[_0x83b3[207]](_0x187fx9[_0x187fxa]))}}};return _0x187fx3};mxLayoutManager[_0x83b3[202]][_0x83b3[2756]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1703]]()[_0x83b3[502]]();return _0x187fx2 instanceof mxChildChange?[_0x187fx2[_0x83b3[247]],_0x187fx2[_0x83b3[257]],_0x187fx3[_0x83b3[1197]](_0x187fx2[_0x83b3[247]])]:_0x187fx2 instanceof mxTerminalChange|| _0x187fx2 instanceof mxGeometryChange?[_0x187fx2[_0x83b3[246]],_0x187fx3[_0x83b3[1197]](_0x187fx2[_0x83b3[246]])]:[]};mxLayoutManager[_0x83b3[202]][_0x83b3[828]]= function(_0x187fx2){if(0< _0x187fx2[_0x83b3[67]]){var _0x187fx3=this[_0x83b3[1703]]()[_0x83b3[502]]();_0x187fx3[_0x83b3[473]]();try{for(var _0x187fx4=null,_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){_0x187fx2[_0x187fx5]!= _0x187fx3[_0x83b3[501]]()&& _0x187fx2[_0x187fx5]!= _0x187fx4&& (_0x187fx4= _0x187fx2[_0x187fx5],this[_0x83b3[2757]](this[_0x83b3[2754]](_0x187fx4),_0x187fx4))};this[_0x83b3[746]]( new mxEventObject(mxEvent.LAYOUT_CELLS,_0x83b3[895],_0x187fx2))}finally{_0x187fx3[_0x83b3[476]]()}}};mxLayoutManager[_0x83b3[202]][_0x83b3[2757]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx2&& null!= _0x187fx3&& _0x187fx2[_0x83b3[350]](_0x187fx3)};mxLayoutManager[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1178]](null)};function mxSpaceManager(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[2758]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[994]]()&& this[_0x83b3[837]](_0x187fx3[_0x83b3[720]](_0x83b3[895]))});this[_0x83b3[2759]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[994]]()&& this[_0x83b3[837]](_0x187fx3[_0x83b3[720]](_0x83b3[895]))});this[_0x83b3[2760]]= null!= _0x187fx3?_0x187fx3:!0;this[_0x83b3[2761]]= null!= _0x187fx4?_0x187fx4:!0;this[_0x83b3[2392]]= null!= _0x187fx5?_0x187fx5:!0;this[_0x83b3[1178]](_0x187fx2)}mxSpaceManager[_0x83b3[202]]= new mxEventSource;mxSpaceManager[_0x83b3[202]][_0x83b3[196]]= mxSpaceManager;mxSpaceManager[_0x83b3[202]][_0x83b3[1179]]= null;mxSpaceManager[_0x83b3[202]][_0x83b3[984]]= !0;mxSpaceManager[_0x83b3[202]][_0x83b3[2760]]= !0;mxSpaceManager[_0x83b3[202]][_0x83b3[2761]]= !0;mxSpaceManager[_0x83b3[202]][_0x83b3[2392]]= !0;mxSpaceManager[_0x83b3[202]][_0x83b3[2758]]= null;mxSpaceManager[_0x83b3[202]][_0x83b3[2759]]= null;mxSpaceManager[_0x83b3[202]][_0x83b3[2762]]= function(_0x187fx2){return !this[_0x83b3[1703]]()[_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2)};mxSpaceManager[_0x83b3[202]][_0x83b3[2763]]= function(_0x187fx2){return this[_0x83b3[1703]]()[_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2)&& this[_0x83b3[1703]]()[_0x83b3[1712]](_0x187fx2)};mxSpaceManager[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxSpaceManager[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxSpaceManager[_0x83b3[202]][_0x83b3[2764]]= function(){return this[_0x83b3[2760]]};mxSpaceManager[_0x83b3[202]][_0x83b3[2765]]= function(_0x187fx2){this[_0x83b3[2760]]= _0x187fx2};mxSpaceManager[_0x83b3[202]][_0x83b3[2766]]= function(){return this[_0x83b3[2761]]};mxSpaceManager[_0x83b3[202]][_0x83b3[2767]]= function(_0x187fx2){this[_0x83b3[2761]]= _0x187fx2};mxSpaceManager[_0x83b3[202]][_0x83b3[2678]]= function(){return this[_0x83b3[2392]]};mxSpaceManager[_0x83b3[202]][_0x83b3[2679]]= function(_0x187fx2){this[_0x83b3[2392]]= _0x187fx2};mxSpaceManager[_0x83b3[202]][_0x83b3[1703]]= function(){return this[_0x83b3[1179]]};mxSpaceManager[_0x83b3[202]][_0x83b3[1178]]= function(_0x187fx2){null!= this[_0x83b3[1179]]&& (this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2758]]),this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2759]]));this[_0x83b3[1179]]= _0x187fx2;null!= this[_0x83b3[1179]]&& (this[_0x83b3[1179]][_0x83b3[169]](mxEvent.RESIZE_CELLS,this[_0x83b3[2758]]),this[_0x83b3[1179]][_0x83b3[169]](mxEvent.FOLD_CELLS,this[_0x83b3[2759]]))};mxSpaceManager[_0x83b3[202]][_0x83b3[837]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]]();_0x187fx3[_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){if(!this[_0x83b3[2762]](_0x187fx2[_0x187fx4])){this[_0x83b3[2768]](_0x187fx2[_0x187fx4]);break}}}finally{_0x187fx3[_0x83b3[476]]()}}};mxSpaceManager[_0x83b3[202]][_0x83b3[2768]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1703]](),_0x187fx4=_0x187fx3[_0x83b3[249]](),_0x187fx5=_0x187fx3[_0x83b3[502]](),_0x187fx9=_0x187fx4[_0x83b3[248]](_0x187fx2),_0x187fxa=_0x187fx4[_0x83b3[248]](_0x187fx5[_0x83b3[1197]](_0x187fx2));if(null!= _0x187fx9&& null!= _0x187fxa){var _0x187fx12=this[_0x83b3[2769]](_0x187fx9),_0x187fx13=_0x187fx5[_0x83b3[1721]](_0x187fx2);if(null!= _0x187fx12&& null!= _0x187fx13){var _0x187fx14=_0x187fx4[_0x83b3[513]],_0x187fx15=_0x187fx4[_0x83b3[255]],_0x187fx4=_0x187fx9[_0x83b3[235]]- _0x187fxa[_0x83b3[2078]][_0x83b3[235]]- _0x187fx14[_0x83b3[235]]* _0x187fx15,_0x187fxa=_0x187fx9[_0x83b3[236]]- _0x187fxa[_0x83b3[2078]][_0x83b3[236]]- _0x187fx14[_0x83b3[236]]* _0x187fx15,_0x187fx14=_0x187fx9[_0x83b3[235]]+ _0x187fx9[_0x83b3[117]],_0x187fx16=_0x187fx9[_0x83b3[236]]+ _0x187fx9[_0x83b3[119]],_0x187fx17=_0x187fx9[_0x83b3[117]]- _0x187fx13[_0x83b3[117]]* _0x187fx15+ _0x187fx4- _0x187fx13[_0x83b3[235]]* _0x187fx15,_0x187fx18=_0x187fx9[_0x83b3[119]]- _0x187fx13[_0x83b3[119]]* _0x187fx15+ _0x187fxa- _0x187fx13[_0x83b3[236]]* _0x187fx15,_0x187fx19=1- _0x187fx13[_0x83b3[117]]* _0x187fx15/ _0x187fx9[_0x83b3[117]],_0x187fx9=1- _0x187fx13[_0x83b3[119]]* _0x187fx15/ _0x187fx9[_0x83b3[119]];_0x187fx5[_0x83b3[473]]();try{for(_0x187fx13= 0;_0x187fx13< _0x187fx12[_0x83b3[67]];_0x187fx13++){_0x187fx12[_0x187fx13]!= _0x187fx2&& this[_0x83b3[2763]](_0x187fx12[_0x187fx13])&& this[_0x83b3[2770]](_0x187fx12[_0x187fx13],_0x187fx17,_0x187fx18,_0x187fx4,_0x187fxa,_0x187fx14,_0x187fx16,_0x187fx19,_0x187fx9,this[_0x83b3[2678]]()&& _0x187fx3[_0x83b3[2507]](_0x187fx12[_0x187fx13]))}}finally{_0x187fx5[_0x83b3[476]]()}}}};mxSpaceManager[_0x83b3[202]][_0x83b3[2770]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14,_0x187fx15){_0x187fx5= this[_0x83b3[1703]]();var _0x187fx16=_0x187fx5[_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);if(null!= _0x187fx16){var _0x187fx17=_0x187fx5[_0x83b3[502]](),_0x187fx18=_0x187fx17[_0x83b3[1721]](_0x187fx2);if(null!= _0x187fx18){_0x187fx17[_0x83b3[473]]();try{if(this[_0x83b3[2764]]()){if(_0x187fx16[_0x83b3[235]]>= _0x187fxa){_0x187fx18= _0x187fx18[_0x83b3[238]](),_0x187fx18[_0x83b3[513]](-_0x187fx3,0)}else {var _0x187fx19=Math[_0x83b3[160]](0,_0x187fx16[_0x83b3[235]]- x0),_0x187fx18=_0x187fx18[_0x83b3[238]]();_0x187fx18[_0x83b3[513]](-_0x187fx13* _0x187fx19,0)}};if(this[_0x83b3[2766]]()){if(_0x187fx16[_0x83b3[236]]>= _0x187fx12){_0x187fx18= _0x187fx18[_0x83b3[238]](),_0x187fx18[_0x83b3[513]](0,-_0x187fx4)}else {var _0x187fx1a=Math[_0x83b3[160]](0,_0x187fx16[_0x83b3[236]]- _0x187fx9),_0x187fx18=_0x187fx18[_0x83b3[238]]();_0x187fx18[_0x83b3[513]](0,-_0x187fx14* _0x187fx1a)}};_0x187fx18!= _0x187fx17[_0x83b3[1721]](_0x187fx2)&& (_0x187fx17[_0x83b3[1724]](_0x187fx2,_0x187fx18),_0x187fx15&& _0x187fx5[_0x83b3[2508]](_0x187fx2))}finally{_0x187fx17[_0x83b3[476]]()}}}};mxSpaceManager[_0x83b3[202]][_0x83b3[2769]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1703]](),_0x187fx4=_0x187fx3[_0x83b3[502]]()[_0x83b3[1197]](_0x187fx2[_0x83b3[246]]),_0x187fx5=this[_0x83b3[2766]](),_0x187fx9=this[_0x83b3[2764]]();return _0x187fx3[_0x83b3[2691]](_0x187fx2[_0x83b3[235]]+ (_0x187fx5?0:_0x187fx2[_0x83b3[117]]),_0x187fx2[_0x83b3[236]]+ (_0x187fx5&& _0x187fx9?0:_0x187fx2[_0x83b3[119]]),_0x187fx4,_0x187fx9,_0x187fx5)};mxSpaceManager[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1178]](null)};function mxSwimlaneManager(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[662]]= null!= _0x187fx3?_0x187fx3:!0;this[_0x83b3[2771]]= null!= _0x187fx4?_0x187fx4:!0;this[_0x83b3[2772]]= null!= _0x187fx5?_0x187fx5:!0;this[_0x83b3[2773]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[994]]()&& this[_0x83b3[2774]]()&& this[_0x83b3[833]](_0x187fx3[_0x83b3[720]](_0x83b3[895]))});this[_0x83b3[2758]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[994]]()&& this[_0x83b3[2775]]()&& this[_0x83b3[837]](_0x187fx3[_0x83b3[720]](_0x83b3[895]))});this[_0x83b3[1178]](_0x187fx2)}mxSwimlaneManager[_0x83b3[202]]= new mxEventSource;mxSwimlaneManager[_0x83b3[202]][_0x83b3[196]]= mxSwimlaneManager;mxSwimlaneManager[_0x83b3[202]][_0x83b3[1179]]= null;mxSwimlaneManager[_0x83b3[202]][_0x83b3[984]]= !0;mxSwimlaneManager[_0x83b3[202]][_0x83b3[662]]= !0;mxSwimlaneManager[_0x83b3[202]][_0x83b3[2771]]= !0;mxSwimlaneManager[_0x83b3[202]][_0x83b3[2772]]= !0;mxSwimlaneManager[_0x83b3[202]][_0x83b3[2773]]= null;mxSwimlaneManager[_0x83b3[202]][_0x83b3[2758]]= null;mxSwimlaneManager[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxSwimlaneManager[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxSwimlaneManager[_0x83b3[202]][_0x83b3[1737]]= function(){return this[_0x83b3[662]]};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2776]]= function(_0x187fx2){this[_0x83b3[662]]= _0x187fx2};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2774]]= function(){return this[_0x83b3[2771]]};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2777]]= function(_0x187fx2){this[_0x83b3[2771]]= _0x187fx2};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2775]]= function(){return this[_0x83b3[2772]]};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2778]]= function(_0x187fx2){this[_0x83b3[2772]]= _0x187fx2};mxSwimlaneManager[_0x83b3[202]][_0x83b3[1703]]= function(){return this[_0x83b3[1179]]};mxSwimlaneManager[_0x83b3[202]][_0x83b3[1178]]= function(_0x187fx2){null!= this[_0x83b3[1179]]&& (this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2773]]),this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2758]]));this[_0x83b3[1179]]= _0x187fx2;null!= this[_0x83b3[1179]]&& (this[_0x83b3[1179]][_0x83b3[169]](mxEvent.ADD_CELLS,this[_0x83b3[2773]]),this[_0x83b3[1179]][_0x83b3[169]](mxEvent.CELLS_RESIZED,this[_0x83b3[2758]]))};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2779]]= function(_0x187fx2){return !this[_0x83b3[1703]]()[_0x83b3[1730]](_0x187fx2)};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2780]]= function(_0x187fx2){if(this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx2)){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx2);_0x187fx2= null!= _0x187fx3?_0x187fx3[_0x83b3[124]]:this[_0x83b3[1179]][_0x83b3[1705]](_0x187fx2);return 1== mxUtils[_0x83b3[433]](_0x187fx2,mxConstants.STYLE_HORIZONTAL,1)};return !this[_0x83b3[1737]]()};mxSwimlaneManager[_0x83b3[202]][_0x83b3[833]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[1703]]()[_0x83b3[502]]();_0x187fx3[_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){this[_0x83b3[2779]](_0x187fx2[_0x187fx4])|| this[_0x83b3[2781]](_0x187fx2[_0x187fx4])}}finally{_0x187fx3[_0x83b3[476]]()}}};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2781]]= function(_0x187fx2){for(var _0x187fx3=this[_0x83b3[1703]]()[_0x83b3[502]](),_0x187fx4=_0x187fx3[_0x83b3[1197]](_0x187fx2),_0x187fx5=_0x187fx3[_0x83b3[262]](_0x187fx4),_0x187fx9=null,_0x187fxa=0;_0x187fxa< _0x187fx5;_0x187fxa++){var _0x187fx12=_0x187fx3[_0x83b3[263]](_0x187fx4,_0x187fxa);if(_0x187fx12!= _0x187fx2&& !this[_0x83b3[2779]](_0x187fx12)&& (_0x187fx9= _0x187fx3[_0x83b3[1721]](_0x187fx12),null!= _0x187fx9)){break}};null!= _0x187fx9&& this[_0x83b3[2782]](_0x187fx2,_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]])};mxSwimlaneManager[_0x83b3[202]][_0x83b3[837]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[1703]]()[_0x83b3[502]]();_0x187fx3[_0x83b3[473]]();try{for(var _0x187fx4=0;_0x187fx4< _0x187fx2[_0x83b3[67]];_0x187fx4++){if(!this[_0x83b3[2779]](_0x187fx2[_0x187fx4])){var _0x187fx5=_0x187fx3[_0x83b3[1721]](_0x187fx2[_0x187fx4]);if(null!= _0x187fx5){for(var _0x187fx9= new mxRectangle(0,0,_0x187fx5[_0x83b3[117]],_0x187fx5[_0x83b3[119]]),_0x187fxa=_0x187fx2[_0x187fx4],_0x187fx12=_0x187fxa;null!= _0x187fx12;){var _0x187fxa=_0x187fx12,_0x187fx12=_0x187fx3[_0x83b3[1197]](_0x187fx12),_0x187fx13=this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx12)?this[_0x83b3[1179]][_0x83b3[1731]](_0x187fx12): new mxRectangle;_0x187fx9[_0x83b3[117]]+= _0x187fx13[_0x83b3[117]];_0x187fx9[_0x83b3[119]]+= _0x187fx13[_0x83b3[119]]};this[_0x83b3[2782]](_0x187fxa,_0x187fx9[_0x83b3[117]],_0x187fx9[_0x83b3[119]])}}}}finally{_0x187fx3[_0x83b3[476]]()}}};mxSwimlaneManager[_0x83b3[202]][_0x83b3[2782]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1703]]()[_0x83b3[502]]();_0x187fx5[_0x83b3[473]]();try{if(!this[_0x83b3[2779]](_0x187fx2)){var _0x187fx9=_0x187fx5[_0x83b3[1721]](_0x187fx2);if(null!= _0x187fx9){var _0x187fxa=this[_0x83b3[2780]](_0x187fx2);if(_0x187fxa&& _0x187fx9[_0x83b3[119]]!= _0x187fx4|| !_0x187fxa&& _0x187fx9[_0x83b3[117]]!= _0x187fx3){_0x187fx9= _0x187fx9[_0x83b3[238]](),_0x187fxa?_0x187fx9[_0x83b3[119]]= _0x187fx4:_0x187fx9[_0x83b3[117]]= _0x187fx3,_0x187fx5[_0x83b3[1724]](_0x187fx2,_0x187fx9)}}};var _0x187fx12=this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx2)?this[_0x83b3[1179]][_0x83b3[1731]](_0x187fx2): new mxRectangle;_0x187fx3-= _0x187fx12[_0x83b3[117]];_0x187fx4-= _0x187fx12[_0x83b3[119]];for(var _0x187fx13=_0x187fx5[_0x83b3[262]](_0x187fx2),_0x187fx9=0;_0x187fx9< _0x187fx13;_0x187fx9++){var _0x187fx14=_0x187fx5[_0x83b3[263]](_0x187fx2,_0x187fx9);this[_0x83b3[2782]](_0x187fx14,_0x187fx3,_0x187fx4)}}finally{_0x187fx5[_0x83b3[476]]()}};mxSwimlaneManager[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1178]](null)};function mxTemporaryCellStates(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[441]]= _0x187fx2;_0x187fx3= null!= _0x187fx3?_0x187fx3:1;this[_0x83b3[2783]]= _0x187fx2[_0x83b3[517]]();this[_0x83b3[2784]]= _0x187fx2[_0x83b3[2312]]();this[_0x83b3[2785]]= _0x187fx2[_0x83b3[518]]();_0x187fx2[_0x83b3[1517]]( new mxDictionary);_0x187fx2[_0x83b3[2262]](_0x187fx3);if(null!= _0x187fx4){_0x187fx3= _0x187fx2[_0x83b3[1230]]( new mxCell);for(var _0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){_0x187fx2[_0x83b3[2267]](_0x187fx3,_0x187fx4[_0x187fx5])};for(var _0x187fx9=null,_0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]];_0x187fx5++){var _0x187fxa=_0x187fx2[_0x83b3[2268]](_0x187fx3,_0x187fx4[_0x187fx5]);null== _0x187fx9?_0x187fx9= _0x187fxa:_0x187fx9[_0x83b3[99]](_0x187fxa)};null== _0x187fx9&& (_0x187fx9= new mxRectangle);_0x187fx2[_0x83b3[2256]](_0x187fx9)}}mxTemporaryCellStates[_0x83b3[202]][_0x83b3[441]]= null;mxTemporaryCellStates[_0x83b3[202]][_0x83b3[2784]]= null;mxTemporaryCellStates[_0x83b3[202]][_0x83b3[2783]]= null;mxTemporaryCellStates[_0x83b3[202]][_0x83b3[2785]]= null;mxTemporaryCellStates[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[441]][_0x83b3[2262]](this[_0x83b3[2785]]);this[_0x83b3[441]][_0x83b3[1517]](this[_0x83b3[2784]]);this[_0x83b3[441]][_0x83b3[2256]](this[_0x83b3[2783]])};function mxCellStatePreview(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[2786]]= {}}mxCellStatePreview[_0x83b3[202]][_0x83b3[1179]]= null;mxCellStatePreview[_0x83b3[202]][_0x83b3[2786]]= null;mxCellStatePreview[_0x83b3[202]][_0x83b3[2787]]= 0;mxCellStatePreview[_0x83b3[202]][_0x83b3[1107]]= function(){return 0== this[_0x83b3[2787]]};mxCellStatePreview[_0x83b3[202]][_0x83b3[1194]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx5= null!= _0x187fx5?_0x187fx5:!0;_0x187fx9= null!= _0x187fx9?_0x187fx9:!0;var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx2[_0x83b3[246]]),_0x187fx12=this[_0x83b3[2786]][_0x187fxa];null== _0x187fx12?(_0x187fx12= new mxPoint(_0x187fx3,_0x187fx4),this[_0x83b3[2786]][_0x187fxa]= _0x187fx12,this[_0x83b3[2787]]++):_0x187fx5?(_0x187fx12[_0x83b3[2788]]+= _0x187fx3,_0x187fx12[_0x83b3[2789]]+= _0x187fx4):(_0x187fx12[_0x83b3[2788]]= _0x187fx3,_0x187fx12[_0x83b3[2789]]= _0x187fx4);_0x187fx9&& this[_0x83b3[2790]](_0x187fx2);return _0x187fx12};mxCellStatePreview[_0x83b3[202]][_0x83b3[539]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx4=_0x187fx3[_0x83b3[501]](),_0x187fx5;for(_0x187fx5 in this[_0x83b3[2786]]){var _0x187fx9=mxCellPath[_0x83b3[2791]](_0x187fx4,_0x187fx5),_0x187fxa=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx9),_0x187fx12=this[_0x83b3[2786]][_0x187fx5],_0x187fx9=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx3[_0x83b3[1197]](_0x187fx9));this[_0x83b3[2792]](_0x187fx9,_0x187fxa,_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]])};for(_0x187fx5 in this[_0x83b3[2786]]){_0x187fx9= mxCellPath[_0x83b3[2791]](_0x187fx4,_0x187fx5),_0x187fxa= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx9),_0x187fx12= this[_0x83b3[2786]][_0x187fx5],_0x187fx9= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx3[_0x83b3[1197]](_0x187fx9)),this[_0x83b3[2793]](_0x187fx9,_0x187fxa,_0x187fx12[_0x83b3[235]],_0x187fx12[_0x83b3[236]],_0x187fx2)}};mxCellStatePreview[_0x83b3[202]][_0x83b3[2792]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx3){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[502]]();if(_0x187fx9[_0x83b3[1193]](_0x187fx3[_0x83b3[246]])){_0x187fx3[_0x83b3[2080]]= !0;this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2267]](_0x187fx2,_0x187fx3[_0x83b3[246]]);_0x187fx2= _0x187fx9[_0x83b3[1721]](_0x187fx3[_0x83b3[246]]);var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx3[_0x83b3[246]]);if((0!= _0x187fx4|| 0!= _0x187fx5)&& null!= _0x187fx2&& (!_0x187fx2[_0x83b3[1500]]|| null!= this[_0x83b3[2786]][_0x187fxa])){_0x187fx3[_0x83b3[235]]+= _0x187fx4,_0x187fx3[_0x83b3[236]]+= _0x187fx5}};_0x187fx2= _0x187fx9[_0x83b3[262]](_0x187fx3[_0x83b3[246]]);for(_0x187fxa= 0;_0x187fxa< _0x187fx2;_0x187fxa++){this[_0x83b3[2792]](_0x187fx3,this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx9[_0x83b3[263]](_0x187fx3[_0x83b3[246]],_0x187fxa)),_0x187fx4,_0x187fx5)}}};mxCellStatePreview[_0x83b3[202]][_0x83b3[2793]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx3){_0x187fx3[_0x83b3[2080]]= !0;this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2268]](_0x187fx2,_0x187fx3[_0x83b3[246]]);var _0x187fxa=mxCellPath[_0x83b3[385]](_0x187fx3[_0x83b3[246]]),_0x187fx12=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx13=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx3[_0x83b3[246]]);if((0!= _0x187fx4|| 0!= _0x187fx5)&& null!= _0x187fx13&& _0x187fx13[_0x83b3[1500]]&& _0x187fx12[_0x83b3[1193]](_0x187fx3[_0x83b3[246]])&& (null== _0x187fx2|| _0x187fx12[_0x83b3[1193]](_0x187fx2[_0x83b3[246]])|| null!= this[_0x83b3[2786]][_0x187fxa])){_0x187fx3[_0x83b3[235]]+= _0x187fx4,_0x187fx3[_0x83b3[236]]+= _0x187fx5,this[_0x83b3[1179]][_0x83b3[259]][_0x83b3[258]](_0x187fx3)};null!= _0x187fx9&& _0x187fx9(_0x187fx3);_0x187fx2= _0x187fx12[_0x83b3[262]](_0x187fx3[_0x83b3[246]]);for(_0x187fxa= 0;_0x187fxa< _0x187fx2;_0x187fxa++){this[_0x83b3[2793]](_0x187fx3,this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx12[_0x83b3[263]](_0x187fx3[_0x83b3[246]],_0x187fxa)),_0x187fx4,_0x187fx5,_0x187fx9)}}};mxCellStatePreview[_0x83b3[202]][_0x83b3[2790]]= function(_0x187fx2){for(var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx4=_0x187fx3[_0x83b3[1707]](_0x187fx2[_0x83b3[246]]),_0x187fx5=0;_0x187fx5< _0x187fx4;_0x187fx5++){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx3[_0x83b3[1708]](_0x187fx2[_0x83b3[246]],_0x187fx5));null!= _0x187fx9&& this[_0x83b3[1194]](_0x187fx9,0,0)}};function mxConnectionConstraint(_0x187fx2,_0x187fx3){this[_0x83b3[2546]]= _0x187fx2;this[_0x83b3[591]]= null!= _0x187fx3?_0x187fx3:!0}mxConnectionConstraint[_0x83b3[202]][_0x83b3[2546]]= null;mxConnectionConstraint[_0x83b3[202]][_0x83b3[591]]= null;function mxGraphHandler(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[1179]][_0x83b3[1133]](this);this[_0x83b3[2730]]= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[2794]]()});this[_0x83b3[1179]][_0x83b3[169]](mxEvent.PAN,this[_0x83b3[2730]])}mxGraphHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxGraphHandler[_0x83b3[202]][_0x83b3[2795]]= mxClient[_0x83b3[80]]?20:50;mxGraphHandler[_0x83b3[202]][_0x83b3[984]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[2796]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[2797]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[2798]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[990]]= !1;mxGraphHandler[_0x83b3[202]][_0x83b3[2799]]= null;mxGraphHandler[_0x83b3[202]][_0x83b3[2800]]= null;mxGraphHandler[_0x83b3[202]][_0x83b3[2801]]= null;mxGraphHandler[_0x83b3[202]][_0x83b3[2802]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[2803]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[846]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[2804]]= !1;mxGraphHandler[_0x83b3[202]][_0x83b3[2805]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[923]]= 6;mxGraphHandler[_0x83b3[202]][_0x83b3[2806]]= _0x83b3[586];mxGraphHandler[_0x83b3[202]][_0x83b3[2807]]= !1;mxGraphHandler[_0x83b3[202]][_0x83b3[253]]= null;mxGraphHandler[_0x83b3[202]][_0x83b3[2808]]= !1;mxGraphHandler[_0x83b3[202]][_0x83b3[2809]]= !0;mxGraphHandler[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxGraphHandler[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[2810]]= function(){return this[_0x83b3[2797]]};mxGraphHandler[_0x83b3[202]][_0x83b3[2811]]= function(_0x187fx2){this[_0x83b3[2797]]= _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[2812]]= function(){return this[_0x83b3[2798]]};mxGraphHandler[_0x83b3[202]][_0x83b3[2813]]= function(_0x187fx2){this[_0x83b3[2798]]= _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[2814]]= function(){return this[_0x83b3[2803]]};mxGraphHandler[_0x83b3[202]][_0x83b3[2815]]= function(_0x187fx2){this[_0x83b3[2803]]= _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[2816]]= function(){return this[_0x83b3[846]]};mxGraphHandler[_0x83b3[202]][_0x83b3[2817]]= function(_0x187fx2){this[_0x83b3[846]]= _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[2818]]= function(_0x187fx2){return _0x187fx2[_0x83b3[736]]()};mxGraphHandler[_0x83b3[202]][_0x83b3[2819]]= function(_0x187fx2){return this[_0x83b3[1179]][_0x83b3[2692]](_0x187fx2)};mxGraphHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& this[_0x83b3[994]]()&& this[_0x83b3[1179]][_0x83b3[994]]()&& !this[_0x83b3[1179]][_0x83b3[2579]](_0x187fx3[_0x83b3[727]]())&& null!= _0x187fx3[_0x83b3[248]]()){var _0x187fx4=this[_0x83b3[2818]](_0x187fx3);this[_0x83b3[246]]= null;this[_0x83b3[2820]]= this[_0x83b3[2819]](_0x187fx4);this[_0x83b3[2814]]()&& !this[_0x83b3[2820]]&& this[_0x83b3[1179]][_0x83b3[2459]](_0x187fx4,_0x187fx3[_0x83b3[727]]());if(this[_0x83b3[2812]]()){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[251]],_0x187fx9=_0x187fx5[_0x83b3[1721]](_0x187fx4);this[_0x83b3[1179]][_0x83b3[1712]](_0x187fx4)&& (!_0x187fx5[_0x83b3[250]](_0x187fx4)|| 1< this[_0x83b3[1179]][_0x83b3[2694]]()|| null!= _0x187fx9[_0x83b3[1525]]&& 0< _0x187fx9[_0x83b3[1525]][_0x83b3[67]]|| null== _0x187fx5[_0x83b3[1709]](_0x187fx4,!0)|| null== _0x187fx5[_0x83b3[1709]](_0x187fx4,!1)|| this[_0x83b3[1179]][_0x83b3[2406]]|| this[_0x83b3[1179]][_0x83b3[2574]](_0x187fx3[_0x83b3[727]]())&& this[_0x83b3[1179]][_0x83b3[2617]]())&& this[_0x83b3[861]](_0x187fx4,_0x187fx3[_0x83b3[730]](),_0x187fx3[_0x83b3[732]]());this[_0x83b3[2821]]= !0;!mxClient[_0x83b3[75]]&& !mxClient[_0x83b3[76]]|| _0x83b3[2822]!= _0x187fx3[_0x83b3[728]]()[_0x83b3[301]]?_0x187fx3[_0x83b3[722]]():mxClient[_0x83b3[75]]&& _0x83b3[2822]== _0x187fx3[_0x83b3[728]]()[_0x83b3[301]]&& (this[_0x83b3[2821]]= !1,this[_0x83b3[2823]]= null)}}};mxGraphHandler[_0x83b3[202]][_0x83b3[1010]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[902]](),_0x187fx3=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx4=mxUtils[_0x83b3[885]](this,function(_0x187fx2){return null!= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx2)&& _0x187fx3[_0x83b3[1193]](_0x187fx2)&& null!= _0x187fx3[_0x83b3[1721]](_0x187fx2)&& !_0x187fx3[_0x83b3[1721]](_0x187fx2)[_0x83b3[1500]]});return this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2313]](_0x187fx3[_0x83b3[1921]](_0x187fx4,_0x187fx2))};mxGraphHandler[_0x83b3[202]][_0x83b3[2690]]= function(_0x187fx2){return !this[_0x83b3[2820]]&& this[_0x83b3[1179]][_0x83b3[1712]](_0x187fx2)?[_0x187fx2]:this[_0x83b3[1179]][_0x83b3[2629]](this[_0x83b3[1179]][_0x83b3[897]]())};mxGraphHandler[_0x83b3[202]][_0x83b3[2824]]= function(_0x187fx2){_0x187fx2= this[_0x83b3[1613]](_0x187fx2);null!= _0x187fx2&& (_0x187fx2[_0x83b3[244]](-1,-1),_0x187fx2[_0x83b3[117]]< this[_0x83b3[923]]&& (_0x187fx2[_0x83b3[235]]-= (this[_0x83b3[923]]- _0x187fx2[_0x83b3[117]])/ 2,_0x187fx2[_0x83b3[117]]= this[_0x83b3[923]]),_0x187fx2[_0x83b3[119]]< this[_0x83b3[923]]&& (_0x187fx2[_0x83b3[236]]-= (this[_0x83b3[923]]- _0x187fx2[_0x83b3[119]])/ 2,_0x187fx2[_0x83b3[119]]= this[_0x83b3[923]]));return _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[1613]]= function(_0x187fx2){var _0x187fx3=null;if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){for(var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=0;_0x187fx5< _0x187fx2[_0x83b3[67]];_0x187fx5++){if(_0x187fx4[_0x83b3[1193]](_0x187fx2[_0x187fx5])|| _0x187fx4[_0x83b3[250]](_0x187fx2[_0x187fx5])){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx2[_0x187fx5]);if(null!= _0x187fx9){var _0x187fxa=_0x187fx9;_0x187fx4[_0x83b3[1193]](_0x187fx2[_0x187fx5])&& (null!= _0x187fx9[_0x83b3[253]]&& null!= _0x187fx9[_0x83b3[253]][_0x83b3[1563]])&& (_0x187fxa= _0x187fx9[_0x83b3[253]][_0x83b3[1563]]);null== _0x187fx3?_0x187fx3= new mxRectangle(_0x187fxa[_0x83b3[235]],_0x187fxa[_0x83b3[236]],_0x187fxa[_0x83b3[117]],_0x187fxa[_0x83b3[119]]):_0x187fx3[_0x83b3[99]](_0x187fxa)}}}};return _0x187fx3};mxGraphHandler[_0x83b3[202]][_0x83b3[2825]]= function(_0x187fx2){_0x187fx2= new mxRectangleShape(_0x187fx2,null,this[_0x83b3[2806]]);_0x187fx2[_0x83b3[1522]]= !0;this[_0x83b3[2807]]?(_0x187fx2[_0x83b3[507]]= mxConstants[_0x83b3[1656]],_0x187fx2[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[526]])):(_0x187fx2[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]],_0x187fx2[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()),_0x187fx2[_0x83b3[1229]]= !1);return _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[861]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[246]]= _0x187fx2;this[_0x83b3[2823]]= mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],_0x187fx3,_0x187fx4);this[_0x83b3[895]]= this[_0x83b3[2690]](this[_0x83b3[246]]);this[_0x83b3[1562]]= this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1799]](this[_0x83b3[895]]);this[_0x83b3[2826]]= this[_0x83b3[2824]](this[_0x83b3[895]]);this[_0x83b3[990]]&& (this[_0x83b3[2799]]= new mxGuide(this[_0x83b3[1179]],this[_0x83b3[1010]]()))};mxGraphHandler[_0x83b3[202]][_0x83b3[2827]]= function(_0x187fx2){return null!= this[_0x83b3[2799]]?this[_0x83b3[2799]][_0x83b3[1019]](_0x187fx2[_0x83b3[727]]()):!0};mxGraphHandler[_0x83b3[202]][_0x83b3[1021]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[2808]]?this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]]:1;_0x187fx2[_0x83b3[235]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[235]]/ _0x187fx3)* _0x187fx3;_0x187fx2[_0x83b3[236]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[236]]/ _0x187fx3)* _0x187fx3;return _0x187fx2};mxGraphHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]];if(!_0x187fx3[_0x83b3[721]]()&& _0x187fx4[_0x83b3[1009]]&& null!= this[_0x83b3[246]]&& null!= this[_0x83b3[2823]]&& null!= this[_0x83b3[1562]]){var _0x187fx5=mxUtils[_0x83b3[2196]](_0x187fx4[_0x83b3[526]],_0x187fx3[_0x83b3[730]](),_0x187fx3[_0x83b3[732]]()),_0x187fx9=_0x187fx5[_0x83b3[235]]- this[_0x83b3[2823]][_0x83b3[235]],_0x187fxa=_0x187fx5[_0x83b3[236]]- this[_0x83b3[2823]][_0x83b3[236]],_0x187fx5=_0x187fx4[_0x83b3[2353]];if(null!= this[_0x83b3[253]]|| Math[_0x83b3[425]](_0x187fx9)> _0x187fx5|| Math[_0x83b3[425]](_0x187fxa)> _0x187fx5){null== this[_0x83b3[1016]]&& (this[_0x83b3[1016]]= new mxCellHighlight(this[_0x83b3[1179]],mxConstants.DROP_TARGET_COLOR,3));null== this[_0x83b3[253]]&& (this[_0x83b3[253]]= this[_0x83b3[2825]](this[_0x83b3[1562]]));var _0x187fx12=_0x187fx4[_0x83b3[1018]](_0x187fx3[_0x83b3[727]]()),_0x187fx5=!0;if(null!= this[_0x83b3[2799]]&& this[_0x83b3[2827]](_0x187fx3)){_0x187fxa= this[_0x83b3[2799]][_0x83b3[582]](this[_0x83b3[1562]], new mxPoint(_0x187fx9,_0x187fxa),_0x187fx12),_0x187fx5= !1,_0x187fx9= _0x187fxa[_0x83b3[235]],_0x187fxa= _0x187fxa[_0x83b3[236]]}else {if(_0x187fx12){var _0x187fx13=_0x187fx4[_0x83b3[249]]()[_0x83b3[513]],_0x187fx14=_0x187fx4[_0x83b3[249]]()[_0x83b3[255]],_0x187fx12=this[_0x83b3[1562]][_0x83b3[235]]- (_0x187fx4[_0x83b3[1021]](this[_0x83b3[1562]][_0x83b3[235]]/ _0x187fx14- _0x187fx13[_0x83b3[235]])+ _0x187fx13[_0x83b3[235]])* _0x187fx14,_0x187fx13=this[_0x83b3[1562]][_0x83b3[236]]- (_0x187fx4[_0x83b3[1021]](this[_0x83b3[1562]][_0x83b3[236]]/ _0x187fx14- _0x187fx13[_0x83b3[236]])+ _0x187fx13[_0x83b3[236]])* _0x187fx14,_0x187fxa=this[_0x83b3[1021]]( new mxPoint(_0x187fx9,_0x187fxa)),_0x187fx9=_0x187fxa[_0x83b3[235]]- _0x187fx12,_0x187fxa=_0x187fxa[_0x83b3[236]]- _0x187fx13}};null!= this[_0x83b3[2799]]&& _0x187fx5&& this[_0x83b3[2799]][_0x83b3[801]]();_0x187fx4[_0x83b3[2578]](_0x187fx3[_0x83b3[727]]())&& (Math[_0x83b3[425]](_0x187fx9)> Math[_0x83b3[425]](_0x187fxa)?_0x187fxa= 0:_0x187fx9= 0);this[_0x83b3[2800]]= _0x187fx9;this[_0x83b3[2801]]= _0x187fxa;this[_0x83b3[2794]]();_0x187fx5= null;_0x187fxa= _0x187fx3[_0x83b3[736]]();_0x187fx4[_0x83b3[1015]]()&& this[_0x83b3[2796]]&& (_0x187fx5= _0x187fx4[_0x83b3[564]](this[_0x83b3[895]],_0x187fx3[_0x83b3[727]](),_0x187fxa));_0x187fx12= _0x187fx5;for(_0x187fx13= _0x187fx4[_0x83b3[502]]();null!= _0x187fx12&& _0x187fx12!= this[_0x83b3[895]][0];){_0x187fx12= _0x187fx13[_0x83b3[1197]](_0x187fx12)};var _0x187fx14=_0x187fx4[_0x83b3[2574]](_0x187fx3[_0x83b3[727]]())&& _0x187fx4[_0x83b3[2617]]()&& this[_0x83b3[2810]](),_0x187fx9=_0x187fx4[_0x83b3[249]]()[_0x83b3[248]](_0x187fx5),_0x187fx15=!1;null!= _0x187fx9&& null== _0x187fx12&& (_0x187fx13[_0x83b3[1197]](this[_0x83b3[246]])!= _0x187fx5|| _0x187fx14)?(this[_0x83b3[772]]!= _0x187fx5&& (this[_0x83b3[772]]= _0x187fx5,this[_0x83b3[2828]](mxConstants.DROP_TARGET_COLOR)),_0x187fx15= !0):(this[_0x83b3[772]]= null,this[_0x83b3[2804]]&& (null!= _0x187fxa&& 1== this[_0x83b3[895]][_0x83b3[67]]&& _0x187fx4[_0x83b3[502]]()[_0x83b3[1193]](_0x187fxa)&& _0x187fx4[_0x83b3[2565]](_0x187fxa))&& (_0x187fx9= _0x187fx4[_0x83b3[249]]()[_0x83b3[248]](_0x187fxa),null!= _0x187fx9&& (_0x187fx4= null== _0x187fx4[_0x83b3[2500]](null,this[_0x83b3[246]],_0x187fxa)?mxConstants[_0x83b3[2829]]:mxConstants[_0x83b3[2830]],this[_0x83b3[2828]](_0x187fx4),_0x187fx15= !0)));null!= _0x187fx9&& _0x187fx15?this[_0x83b3[1016]][_0x83b3[1016]](_0x187fx9):this[_0x83b3[1016]][_0x83b3[801]]()};_0x187fx3[_0x83b3[722]]();mxEvent[_0x83b3[722]](_0x187fx3[_0x83b3[727]]())}else {if((this[_0x83b3[2812]]()|| this[_0x83b3[2810]]())&& this[_0x83b3[2802]]&& !_0x187fx3[_0x83b3[721]]()&& null!= _0x187fx3[_0x83b3[248]]()&& !_0x187fx4[_0x83b3[1009]]){_0x187fx9= _0x187fx4[_0x83b3[2599]](_0x187fx3[_0x83b3[736]]()),null== _0x187fx9&& (_0x187fx4[_0x83b3[994]]()&& _0x187fx4[_0x83b3[1712]](_0x187fx3[_0x83b3[736]]()))&& (_0x187fx9= _0x187fx4[_0x83b3[502]]()[_0x83b3[250]](_0x187fx3[_0x83b3[736]]())?mxConstants[_0x83b3[2831]]:mxConstants[_0x83b3[2832]]),_0x187fx3[_0x83b3[248]]()[_0x83b3[1609]](_0x187fx9),_0x187fx3[_0x83b3[722]]()}}};mxGraphHandler[_0x83b3[202]][_0x83b3[2794]]= function(){null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[1562]]= new mxRectangle(Math[_0x83b3[488]](this[_0x83b3[2826]][_0x83b3[235]]+ this[_0x83b3[2800]]- this[_0x83b3[1179]][_0x83b3[1136]]),Math[_0x83b3[488]](this[_0x83b3[2826]][_0x83b3[236]]+ this[_0x83b3[2801]]- this[_0x83b3[1179]][_0x83b3[1137]]),this[_0x83b3[2826]][_0x83b3[117]],this[_0x83b3[2826]][_0x83b3[119]]),this[_0x83b3[253]][_0x83b3[258]]())};mxGraphHandler[_0x83b3[202]][_0x83b3[2828]]= function(_0x187fx2){null!= this[_0x83b3[1016]]&& this[_0x83b3[1016]][_0x83b3[2828]](_0x187fx2)};mxGraphHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()){var _0x187fx4=this[_0x83b3[1179]];if(null!= this[_0x83b3[246]]&& null!= this[_0x83b3[2823]]&& null!= this[_0x83b3[253]]&& null!= this[_0x83b3[2800]]&& null!= this[_0x83b3[2801]]){var _0x187fx5=_0x187fx4[_0x83b3[249]]()[_0x83b3[255]],_0x187fx9=_0x187fx4[_0x83b3[2574]](_0x187fx3[_0x83b3[727]]())&& _0x187fx4[_0x83b3[2617]]()&& this[_0x83b3[2810]](),_0x187fxa=this[_0x83b3[2800]]/ _0x187fx5,_0x187fx5=this[_0x83b3[2801]]/ _0x187fx5,_0x187fx12=_0x187fx3[_0x83b3[736]]();this[_0x83b3[2804]]&& null== this[_0x83b3[772]]&& null!= _0x187fx12&& _0x187fx4[_0x83b3[502]]()[_0x83b3[1193]](_0x187fx12)&& _0x187fx4[_0x83b3[2565]](_0x187fx12)&& _0x187fx4[_0x83b3[2581]](null,this[_0x83b3[246]],_0x187fx12)?_0x187fx4[_0x83b3[2433]][_0x83b3[807]](this[_0x83b3[246]],_0x187fx12,_0x187fx3[_0x83b3[727]]()):(_0x187fx12= this[_0x83b3[772]],_0x187fx4[_0x83b3[2655]]()&& _0x187fx4[_0x83b3[2686]](_0x187fx12,this[_0x83b3[895]],_0x187fx3[_0x83b3[727]]())?_0x187fx4[_0x83b3[853]](_0x187fx12,this[_0x83b3[895]],null,_0x187fxa,_0x187fx5):this[_0x83b3[834]](this[_0x83b3[895]],_0x187fxa,_0x187fx5,_0x187fx9,this[_0x83b3[772]],_0x187fx3[_0x83b3[727]]()))}else {this[_0x83b3[2814]]()&& (this[_0x83b3[2820]]&& null!= this[_0x83b3[246]])&& this[_0x83b3[2833]](_0x187fx3)}};this[_0x83b3[2821]]&& _0x187fx3[_0x83b3[722]]();this[_0x83b3[862]]()};mxGraphHandler[_0x83b3[202]][_0x83b3[2833]]= function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[2459]](this[_0x83b3[246]],_0x187fx2[_0x83b3[727]]())};mxGraphHandler[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[2834]]();this[_0x83b3[2820]]= this[_0x83b3[2821]]= !1;this[_0x83b3[772]]= this[_0x83b3[246]]= this[_0x83b3[2823]]= this[_0x83b3[2835]]= this[_0x83b3[2801]]= this[_0x83b3[2800]]= null};mxGraphHandler[_0x83b3[202]][_0x83b3[2836]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1193]](_0x187fx2)){_0x187fx2= this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);_0x187fx4= mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx4),mxEvent[_0x83b3[733]](_0x187fx4));var _0x187fx5=mxUtils[_0x83b3[431]](mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION)|| 0);if(0!= _0x187fx5){_0x187fx3= Math[_0x83b3[426]](-_0x187fx5);var _0x187fx5=Math[_0x83b3[427]](-_0x187fx5),_0x187fx9= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]());_0x187fx4= mxUtils[_0x83b3[432]](_0x187fx4,_0x187fx3,_0x187fx5,_0x187fx9)};return null!= _0x187fx2&& !mxUtils[_0x83b3[442]](_0x187fx2,_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]])};return !1};mxGraphHandler[_0x83b3[202]][_0x83b3[834]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){_0x187fx5&& (_0x187fx2= this[_0x83b3[1179]][_0x83b3[2615]](_0x187fx2));null== _0x187fx9&& (this[_0x83b3[2816]]()&& this[_0x83b3[2836]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](this[_0x83b3[246]]),_0x187fx2,_0x187fxa))&& (_0x187fx9= this[_0x83b3[1179]][_0x83b3[902]]());_0x187fx2= this[_0x83b3[1179]][_0x83b3[834]](_0x187fx2,_0x187fx3- this[_0x83b3[1179]][_0x83b3[1136]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx4- this[_0x83b3[1179]][_0x83b3[1137]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx5,_0x187fx9,_0x187fxa);this[_0x83b3[2814]]()&& this[_0x83b3[2805]]&& this[_0x83b3[1179]][_0x83b3[2564]](_0x187fx2[0]);_0x187fx5&& this[_0x83b3[1179]][_0x83b3[904]](_0x187fx2)};mxGraphHandler[_0x83b3[202]][_0x83b3[2834]]= function(){null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[515]](),this[_0x83b3[253]]= null);null!= this[_0x83b3[2799]]&& (this[_0x83b3[2799]][_0x83b3[515]](),this[_0x83b3[2799]]= null);null!= this[_0x83b3[1016]]&& (this[_0x83b3[1016]][_0x83b3[515]](),this[_0x83b3[1016]]= null)};mxGraphHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[1148]](this);this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2730]]);this[_0x83b3[2834]]()};function mxPanningHandler(_0x187fx2,_0x187fx3){null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[1033]]= _0x187fx3,this[_0x83b3[1179]][_0x83b3[1133]](this),this[_0x83b3[176]]())}mxPanningHandler[_0x83b3[202]]= new mxPopupMenu;mxPanningHandler[_0x83b3[202]][_0x83b3[196]]= mxPanningHandler;mxPanningHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxPanningHandler[_0x83b3[202]][_0x83b3[2837]]= null;mxPanningHandler[_0x83b3[202]][_0x83b3[2838]]= null;mxPanningHandler[_0x83b3[202]][_0x83b3[2839]]= !0;mxPanningHandler[_0x83b3[202]][_0x83b3[2840]]= !1;mxPanningHandler[_0x83b3[202]][_0x83b3[2841]]= !0;mxPanningHandler[_0x83b3[202]][_0x83b3[2842]]= !0;mxPanningHandler[_0x83b3[202]][_0x83b3[2843]]= !1;mxPanningHandler[_0x83b3[202]][_0x83b3[2844]]= !0;mxPanningHandler[_0x83b3[202]][_0x83b3[2845]]= !1;mxPanningHandler[_0x83b3[202]][_0x83b3[2431]]= !0;mxPanningHandler[_0x83b3[202]][_0x83b3[2846]]= function(){return this[_0x83b3[2431]]};mxPanningHandler[_0x83b3[202]][_0x83b3[2847]]= function(_0x187fx2){this[_0x83b3[2431]]= _0x187fx2};mxPanningHandler[_0x83b3[202]][_0x83b3[176]]= function(){mxPopupMenu[_0x83b3[202]][_0x83b3[176]][_0x83b3[183]](this);mxEvent[_0x83b3[169]](this[_0x83b3[485]],mxClient[_0x83b3[754]]?_0x83b3[756]:_0x83b3[752],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[2276]][_0x83b3[801]]()}))};mxPanningHandler[_0x83b3[202]][_0x83b3[2848]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[727]]();return this[_0x83b3[2840]]&& (this[_0x83b3[2843]]|| null== _0x187fx2[_0x83b3[248]]())&& mxEvent[_0x83b3[1158]](_0x187fx3)|| mxEvent[_0x83b3[775]](_0x187fx3)&& mxEvent[_0x83b3[774]](_0x187fx3)|| this[_0x83b3[2839]]&& mxEvent[_0x83b3[737]](_0x187fx3)};mxPanningHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& this[_0x83b3[994]]()){this[_0x83b3[1032]]();this[_0x83b3[2741]]= -this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[360]];this[_0x83b3[2742]]= -this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[190]];var _0x187fx4=mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],_0x187fx3[_0x83b3[730]](),_0x187fx3[_0x83b3[732]]());this[_0x83b3[2837]]= _0x187fx4[_0x83b3[235]];this[_0x83b3[2838]]= _0x187fx4[_0x83b3[236]];this[_0x83b3[2849]]= this[_0x83b3[737]](_0x187fx3);this[_0x83b3[2850]]= this[_0x83b3[2846]]()&& this[_0x83b3[2848]](_0x187fx3);this[_0x83b3[2739]]= _0x187fx3[_0x83b3[730]]();this[_0x83b3[2740]]= _0x187fx3[_0x83b3[732]]();this[_0x83b3[2850]]&& this[_0x83b3[2851]](_0x187fx3)}};mxPanningHandler[_0x83b3[202]][_0x83b3[2851]]= function(_0x187fx2){_0x187fx2[_0x83b3[722]]()};mxPanningHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx3[_0x83b3[730]]()- this[_0x83b3[2739]],_0x187fx5=_0x187fx3[_0x83b3[732]]()- this[_0x83b3[2740]];if(this[_0x83b3[1124]]){this[_0x83b3[2844]]&& (this[_0x83b3[2845]]&& (_0x187fx4= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx4),_0x187fx5= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx5)),this[_0x83b3[1179]][_0x83b3[1135]](_0x187fx4+ this[_0x83b3[2741]],_0x187fx5+ this[_0x83b3[2742]])),this[_0x83b3[746]]( new mxEventObject(mxEvent.PAN,_0x83b3[763],_0x187fx3)),_0x187fx3[_0x83b3[722]]()}else {if(this[_0x83b3[2850]]){var _0x187fx9=this[_0x83b3[1124]];this[_0x83b3[1124]]= Math[_0x83b3[425]](_0x187fx4)> this[_0x83b3[1179]][_0x83b3[2353]]|| Math[_0x83b3[425]](_0x187fx5)> this[_0x83b3[1179]][_0x83b3[2353]];!_0x187fx9&& this[_0x83b3[1124]]&& this[_0x83b3[746]]( new mxEventObject(mxEvent.PAN_START,_0x83b3[763],_0x187fx3))}}};mxPanningHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=Math[_0x83b3[425]](_0x187fx3[_0x83b3[730]]()- this[_0x83b3[2739]]),_0x187fx5=Math[_0x83b3[425]](_0x187fx3[_0x83b3[732]]()- this[_0x83b3[2740]]);if(this[_0x83b3[1124]]){if(!this[_0x83b3[1179]][_0x83b3[2365]]|| !mxUtils[_0x83b3[1134]](this[_0x83b3[1179]][_0x83b3[526]])){_0x187fx4= _0x187fx3[_0x83b3[730]]()- this[_0x83b3[2739]];_0x187fx5= _0x187fx3[_0x83b3[732]]()- this[_0x83b3[2740]];this[_0x83b3[2845]]&& (_0x187fx4= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx4),_0x187fx5= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx5));var _0x187fx9=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fxa=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[513]];this[_0x83b3[1179]][_0x83b3[1135]](0,0);this[_0x83b3[1135]](_0x187fxa[_0x83b3[235]]+ _0x187fx4/ _0x187fx9,_0x187fxa[_0x83b3[236]]+ _0x187fx5/ _0x187fx9)};this[_0x83b3[1124]]= !1;this[_0x83b3[746]]( new mxEventObject(mxEvent.PAN_END,_0x83b3[763],_0x187fx3));_0x187fx3[_0x83b3[722]]()}else {this[_0x83b3[2849]]&& (_0x187fx4< this[_0x83b3[1179]][_0x83b3[2353]]&& _0x187fx5< this[_0x83b3[1179]][_0x83b3[2353]])&& (_0x187fx4= this[_0x83b3[2852]](_0x187fx3),this[_0x83b3[1179]][_0x83b3[994]]()&& this[_0x83b3[2841]]&& null!= _0x187fx4&& !this[_0x83b3[1179]][_0x83b3[2692]](_0x187fx4)?this[_0x83b3[1179]][_0x83b3[2450]](_0x187fx4):this[_0x83b3[2842]]&& null== _0x187fx4&& this[_0x83b3[1179]][_0x83b3[2440]](),this[_0x83b3[1179]][_0x83b3[2276]][_0x83b3[801]](),_0x187fx5= mxUtils[_0x83b3[444]](),_0x187fx5= new mxPoint(_0x187fx3[_0x83b3[730]]()+ _0x187fx5[_0x83b3[235]],_0x187fx3[_0x83b3[732]]()+ _0x187fx5[_0x83b3[236]]),this[_0x83b3[152]](_0x187fx5[_0x83b3[235]]+ 1,_0x187fx5[_0x83b3[236]]+ 1,_0x187fx4,_0x187fx3[_0x83b3[727]]()),_0x187fx3[_0x83b3[722]]())};this[_0x83b3[2849]]= this[_0x83b3[2850]]= !1};mxPanningHandler[_0x83b3[202]][_0x83b3[2852]]= function(_0x187fx2){return _0x187fx2[_0x83b3[736]]()};mxPanningHandler[_0x83b3[202]][_0x83b3[1135]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1147]](_0x187fx2,_0x187fx3)};mxPanningHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[1148]](this);mxPopupMenu[_0x83b3[202]][_0x83b3[515]][_0x83b3[183]](this)};function mxCellMarker(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){mxEventSource[_0x83b3[239]](this);null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[2853]]= null!= _0x187fx3?_0x187fx3:mxConstants[_0x83b3[2854]],this[_0x83b3[2855]]= null!= _0x187fx3?_0x187fx4:mxConstants[_0x83b3[2856]],this[_0x83b3[2857]]= null!= _0x187fx5?_0x187fx5:mxConstants[_0x83b3[2858]],this[_0x83b3[1016]]= new mxCellHighlight(_0x187fx2))}mxUtils[_0x83b3[1284]](mxCellMarker,mxEventSource);mxCellMarker[_0x83b3[202]][_0x83b3[1179]]= null;mxCellMarker[_0x83b3[202]][_0x83b3[984]]= !0;mxCellMarker[_0x83b3[202]][_0x83b3[2857]]= mxConstants[_0x83b3[2858]];mxCellMarker[_0x83b3[202]][_0x83b3[2859]]= !1;mxCellMarker[_0x83b3[202]][_0x83b3[2853]]= null;mxCellMarker[_0x83b3[202]][_0x83b3[2855]]= null;mxCellMarker[_0x83b3[202]][_0x83b3[2860]]= null;mxCellMarker[_0x83b3[202]][_0x83b3[2861]]= null;mxCellMarker[_0x83b3[202]][_0x83b3[2862]]= null;mxCellMarker[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxCellMarker[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxCellMarker[_0x83b3[202]][_0x83b3[2863]]= function(_0x187fx2){this[_0x83b3[2857]]= _0x187fx2};mxCellMarker[_0x83b3[202]][_0x83b3[2864]]= function(){return this[_0x83b3[2857]]};mxCellMarker[_0x83b3[202]][_0x83b3[2865]]= function(_0x187fx2){this[_0x83b3[2859]]= _0x187fx2};mxCellMarker[_0x83b3[202]][_0x83b3[2866]]= function(){return this[_0x83b3[2859]]};mxCellMarker[_0x83b3[202]][_0x83b3[2867]]= function(){return null!= this[_0x83b3[2861]]};mxCellMarker[_0x83b3[202]][_0x83b3[2868]]= function(){return this[_0x83b3[2861]]};mxCellMarker[_0x83b3[202]][_0x83b3[2869]]= function(){return this[_0x83b3[2862]]};mxCellMarker[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[2861]]= null;null!= this[_0x83b3[2862]]&& (this[_0x83b3[2862]]= null,this[_0x83b3[2870]]())};mxCellMarker[_0x83b3[202]][_0x83b3[2871]]= function(_0x187fx2){var _0x187fx3=null;if(this[_0x83b3[994]]()){var _0x187fx3=this[_0x83b3[248]](_0x187fx2),_0x187fx4=null!= _0x187fx3?this[_0x83b3[2872]](_0x187fx3):!1;_0x187fx2= this[_0x83b3[2873]](_0x187fx2[_0x83b3[727]](),_0x187fx3,_0x187fx4);this[_0x83b3[2861]]= _0x187fx4?_0x187fx3:null;if(_0x187fx3!= this[_0x83b3[2862]]|| _0x187fx2!= this[_0x83b3[2860]]){this[_0x83b3[2860]]= _0x187fx2,null!= _0x187fx3&& null!= this[_0x83b3[2860]]?(this[_0x83b3[2862]]= _0x187fx3,this[_0x83b3[811]]()):null!= this[_0x83b3[2862]]&& (this[_0x83b3[2862]]= null,this[_0x83b3[2870]]())}};return _0x187fx3};mxCellMarker[_0x83b3[202]][_0x83b3[2874]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);null!= _0x187fx4&& (this[_0x83b3[2860]]= null!= _0x187fx3?_0x187fx3:this[_0x83b3[2853]],this[_0x83b3[2862]]= _0x187fx4,this[_0x83b3[811]]())};mxCellMarker[_0x83b3[202]][_0x83b3[811]]= function(){this[_0x83b3[1016]][_0x83b3[2828]](this[_0x83b3[2860]]);this[_0x83b3[1016]][_0x83b3[1016]](this[_0x83b3[2862]]);this[_0x83b3[746]]( new mxEventObject(mxEvent.MARK,_0x83b3[724],this[_0x83b3[2862]]))};mxCellMarker[_0x83b3[202]][_0x83b3[2870]]= function(){this[_0x83b3[811]]()};mxCellMarker[_0x83b3[202]][_0x83b3[2872]]= function(_0x187fx2){return !0};mxCellMarker[_0x83b3[202]][_0x83b3[2873]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx4?this[_0x83b3[2853]]:this[_0x83b3[2855]]};mxCellMarker[_0x83b3[202]][_0x83b3[248]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[249]]();cell= this[_0x83b3[736]](_0x187fx2);_0x187fx3= this[_0x83b3[2875]](_0x187fx3[_0x83b3[248]](cell));return null!= _0x187fx3&& this[_0x83b3[1825]](_0x187fx3,_0x187fx2)?_0x187fx3:null};mxCellMarker[_0x83b3[202]][_0x83b3[736]]= function(_0x187fx2){return _0x187fx2[_0x83b3[736]]()};mxCellMarker[_0x83b3[202]][_0x83b3[2875]]= function(_0x187fx2){return _0x187fx2};mxCellMarker[_0x83b3[202]][_0x83b3[1825]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[2859]]?mxUtils[_0x83b3[2876]](_0x187fx2,_0x187fx3[_0x83b3[734]](),_0x187fx3[_0x83b3[735]](),this[_0x83b3[2857]],mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[2877]]);this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[2877]]);this[_0x83b3[1016]][_0x83b3[515]]()};function mxSelectionCellsHandler(_0x187fx2){mxEventSource[_0x83b3[239]](this);this[_0x83b3[1179]]= _0x187fx2;this[_0x83b3[2878]]= new mxDictionary;this[_0x83b3[1179]][_0x83b3[1133]](this);this[_0x83b3[2731]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4){this[_0x83b3[994]]()&& this[_0x83b3[802]]()});this[_0x83b3[1179]][_0x83b3[2435]]()[_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[2731]]);this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[2731]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.SCALE,this[_0x83b3[2731]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.TRANSLATE,this[_0x83b3[2731]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x83b3[2731]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.DOWN,this[_0x83b3[2731]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.UP,this[_0x83b3[2731]])}mxUtils[_0x83b3[1284]](mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[984]]= !0;mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[2731]]= null;mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[2879]]= 100;mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[2878]]= null;mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[2596]]= function(_0x187fx2){return this[_0x83b3[2878]][_0x83b3[203]](_0x187fx2)};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[2878]][_0x83b3[209]](function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[862]][_0x83b3[183]](_0x187fx3)})};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[802]]= function(){var _0x187fx2=this[_0x83b3[2878]];this[_0x83b3[2878]]= new mxDictionary;for(var _0x187fx3=this[_0x83b3[1179]][_0x83b3[897]](),_0x187fx4=0;_0x187fx4< _0x187fx3[_0x83b3[67]];_0x187fx4++){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx3[_0x187fx4]);if(null!= _0x187fx5){var _0x187fx9=_0x187fx2[_0x83b3[205]](_0x187fx3[_0x187fx4]);null!= _0x187fx9&& (_0x187fx9[_0x83b3[724]]!= _0x187fx5?(_0x187fx9[_0x83b3[515]](),_0x187fx9= null):_0x187fx9[_0x83b3[258]]());null== _0x187fx9&& (_0x187fx9= this[_0x83b3[1179]][_0x83b3[2709]](_0x187fx5),this[_0x83b3[746]]( new mxEventObject(mxEvent.ADD,_0x83b3[724],_0x187fx5)));null!= _0x187fx9&& this[_0x83b3[2878]][_0x83b3[204]](_0x187fx3[_0x187fx4],_0x187fx9)}};_0x187fx2[_0x83b3[209]](mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){this[_0x83b3[746]]( new mxEventObject(mxEvent.REMOVE,_0x83b3[724],_0x187fx3[_0x83b3[724]]));_0x187fx3[_0x83b3[515]]()}))};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1179]][_0x83b3[994]]()&& this[_0x83b3[994]]()){var _0x187fx4=[_0x187fx2,_0x187fx3];this[_0x83b3[2878]][_0x83b3[209]](function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[787]][_0x83b3[183]](_0x187fx3,_0x187fx4)})}};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1179]][_0x83b3[994]]()&& this[_0x83b3[994]]()){var _0x187fx4=[_0x187fx2,_0x187fx3];this[_0x83b3[2878]][_0x83b3[209]](function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[788]][_0x83b3[183]](_0x187fx3,_0x187fx4)})}};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1179]][_0x83b3[994]]()&& this[_0x83b3[994]]()){var _0x187fx4=[_0x187fx2,_0x187fx3];this[_0x83b3[2878]][_0x83b3[209]](function(_0x187fx2,_0x187fx3){_0x187fx3[_0x83b3[789]][_0x83b3[183]](_0x187fx3,_0x187fx4)})}};mxSelectionCellsHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[1148]](this);null!= this[_0x83b3[2731]]&& (this[_0x83b3[1179]][_0x83b3[2435]]()[_0x83b3[745]](this[_0x83b3[2731]]),this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[2731]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[2731]]),this[_0x83b3[2731]]= null)};function mxConnectionHandler(_0x187fx2,_0x187fx3){mxEventSource[_0x83b3[239]](this);null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[1033]]= _0x187fx3,this[_0x83b3[176]]())}mxUtils[_0x83b3[1284]](mxConnectionHandler,mxEventSource);mxConnectionHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[1033]]= !0;mxConnectionHandler[_0x83b3[202]][_0x83b3[2880]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2881]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2882]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[2883]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[984]]= !0;mxConnectionHandler[_0x83b3[202]][_0x83b3[804]]= !0;mxConnectionHandler[_0x83b3[202]][_0x83b3[2884]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2885]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[2886]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[267]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[2887]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2888]]= !0;mxConnectionHandler[_0x83b3[202]][_0x83b3[2889]]= 500;mxConnectionHandler[_0x83b3[202]][_0x83b3[2890]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2891]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2892]]= 4;mxConnectionHandler[_0x83b3[202]][_0x83b3[2893]]= 0;mxConnectionHandler[_0x83b3[202]][_0x83b3[2894]]= 0;mxConnectionHandler[_0x83b3[202]][_0x83b3[2895]]= !1;mxConnectionHandler[_0x83b3[202]][_0x83b3[2823]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[2896]]= new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler[_0x83b3[202]][_0x83b3[2897]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[1176]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[2898]]= null;mxConnectionHandler[_0x83b3[202]][_0x83b3[2899]]= 0;mxConnectionHandler[_0x83b3[202]][_0x83b3[2900]]= mxClient[_0x83b3[47]];mxConnectionHandler[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxConnectionHandler[_0x83b3[202]][_0x83b3[2901]]= function(){return this[_0x83b3[2884]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[2902]]= function(_0x187fx2){this[_0x83b3[2884]]= _0x187fx2};mxConnectionHandler[_0x83b3[202]][_0x83b3[2156]]= function(){var _0x187fx2= new mxPolyline([],mxConstants.INVALID_COLOR);_0x187fx2[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]];_0x187fx2[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]());_0x187fx2[_0x83b3[1564]]= 0;_0x187fx2[_0x83b3[1229]]= !1;_0x187fx2[_0x83b3[1522]]= !0;if(this[_0x83b3[1179]][_0x83b3[507]]== mxConstants[_0x83b3[508]]){_0x187fx2[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130])}else {var _0x187fx3=mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx2= mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx2),mxEvent[_0x83b3[733]](_0x187fx2));return this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](this[_0x83b3[1179]][_0x83b3[999]](_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]]))});mxEvent[_0x83b3[2733]](_0x187fx2[_0x83b3[252]],this[_0x83b3[1179]],_0x187fx3)};return _0x187fx2};mxConnectionHandler[_0x83b3[202]][_0x83b3[176]]= function(){this[_0x83b3[1179]][_0x83b3[1133]](this);this[_0x83b3[2885]]= this[_0x83b3[1689]]();this[_0x83b3[2886]]= new mxConstraintHandler(this[_0x83b3[1179]]);this[_0x83b3[1176]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){null!= this[_0x83b3[2903]]&& (this[_0x83b3[2903]]= this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](this[_0x83b3[2903]][_0x83b3[246]]));null!= this[_0x83b3[2903]]?this[_0x83b3[2905]](this[_0x83b3[2904]],this[_0x83b3[2903]]):(this[_0x83b3[2906]](this[_0x83b3[2904]]),this[_0x83b3[257]]= null);this[_0x83b3[2886]][_0x83b3[862]]()});this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[1176]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.SCALE,this[_0x83b3[1176]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.TRANSLATE,this[_0x83b3[1176]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x83b3[1176]]);this[_0x83b3[2898]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2906]](this[_0x83b3[2904]])});this[_0x83b3[1179]][_0x83b3[169]](mxEvent.START_EDITING,this[_0x83b3[2898]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.DOWN,this[_0x83b3[2898]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.UP,this[_0x83b3[2898]])};mxConnectionHandler[_0x83b3[202]][_0x83b3[2907]]= function(_0x187fx2){return !0};mxConnectionHandler[_0x83b3[202]][_0x83b3[1689]]= function(){var _0x187fx2= new mxCellMarker(this[_0x83b3[1179]]);_0x187fx2[_0x83b3[2859]]= !0;_0x187fx2[_0x83b3[736]]= mxUtils[_0x83b3[885]](this,function(_0x187fx3,_0x187fx4){_0x187fx4= mxCellMarker[_0x83b3[202]][_0x83b3[736]][_0x83b3[183]](_0x187fx2,arguments);this[_0x83b3[267]]= null;if(!this[_0x83b3[2907]](_0x187fx4)){return null};null!= _0x187fx4?this[_0x83b3[2908]]()?null!= this[_0x83b3[257]]&& (this[_0x83b3[267]]= this[_0x83b3[2909]](this[_0x83b3[257]][_0x83b3[246]],_0x187fx4),null!= this[_0x83b3[267]]&& 0== this[_0x83b3[267]][_0x83b3[67]]&& (_0x187fx4= null,this[_0x83b3[2901]]()&& (this[_0x83b3[267]]= null))):this[_0x83b3[2671]](_0x187fx4)|| (_0x187fx4= null):this[_0x83b3[2908]]()&& (!this[_0x83b3[2901]]()&& !this[_0x83b3[1179]][_0x83b3[2406]])&& (this[_0x83b3[267]]= _0x83b3[110]);return _0x187fx4});_0x187fx2[_0x83b3[2872]]= mxUtils[_0x83b3[885]](this,function(_0x187fx3){return this[_0x83b3[2908]]()?null== this[_0x83b3[267]]:mxCellMarker[_0x83b3[202]][_0x83b3[2872]][_0x83b3[183]](_0x187fx2,arguments)});_0x187fx2[_0x83b3[2873]]= mxUtils[_0x83b3[885]](this,function(_0x187fx3,_0x187fx4,_0x187fx5){return null== this[_0x83b3[2882]]|| this[_0x83b3[2908]]()?mxCellMarker[_0x83b3[202]][_0x83b3[2873]][_0x83b3[183]](_0x187fx2,arguments):null});_0x187fx2[_0x83b3[1825]]= mxUtils[_0x83b3[885]](this,function(_0x187fx3,_0x187fx4){return null!= this[_0x83b3[2882]]|| this[_0x83b3[2908]]()?!0:mxCellMarker[_0x83b3[202]][_0x83b3[1825]][_0x83b3[183]](_0x187fx2,arguments)});return _0x187fx2};mxConnectionHandler[_0x83b3[202]][_0x83b3[861]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[257]]= _0x187fx2;this[_0x83b3[2823]]= new mxPoint(_0x187fx3,_0x187fx4);this[_0x83b3[2897]]= null!= _0x187fx5?_0x187fx5:this[_0x83b3[2910]](null);this[_0x83b3[2885]][_0x83b3[2860]]= this[_0x83b3[2885]][_0x83b3[2853]];this[_0x83b3[2885]][_0x83b3[2862]]= _0x187fx2;this[_0x83b3[2885]][_0x83b3[811]]();this[_0x83b3[746]]( new mxEventObject(mxEvent.START,_0x83b3[724],this[_0x83b3[257]]))};mxConnectionHandler[_0x83b3[202]][_0x83b3[2908]]= function(){return null!= this[_0x83b3[2823]]&& null!= this[_0x83b3[253]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[2671]]= function(_0x187fx2){return this[_0x83b3[1179]][_0x83b3[2671]](_0x187fx2)};mxConnectionHandler[_0x83b3[202]][_0x83b3[2672]]= function(_0x187fx2){return !0};mxConnectionHandler[_0x83b3[202]][_0x83b3[2909]]= function(_0x187fx2,_0x187fx3){return !this[_0x83b3[2672]](_0x187fx3)?_0x83b3[110]:this[_0x83b3[1179]][_0x83b3[2500]](null,_0x187fx2,_0x187fx3)};mxConnectionHandler[_0x83b3[202]][_0x83b3[2911]]= function(_0x187fx2){return this[_0x83b3[2882]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[2912]]= function(_0x187fx2){return null!= _0x187fx2[_0x83b3[963]]&& _0x187fx2[_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]]?!0:this[_0x83b3[2880]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[2913]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[2911]](_0x187fx2);if(null!= _0x187fx3&& null!= _0x187fx2){this[_0x83b3[2903]]= _0x187fx2;var _0x187fx4=[],_0x187fx5= new mxRectangle(0,0,_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]]),_0x187fx9= new mxImageShape(_0x187fx5,_0x187fx3[_0x83b3[390]],null,null,0);_0x187fx9[_0x83b3[1674]]= !1;this[_0x83b3[2912]](_0x187fx2)?(_0x187fx9[_0x83b3[507]]= mxConstants[_0x83b3[1656]],_0x187fx9[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[526]])):(_0x187fx9[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]== mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[508]]:mxConstants[_0x83b3[1523]],_0x187fx9[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()),this[_0x83b3[2881]]&& null!= _0x187fx9[_0x83b3[252]][_0x83b3[328]]&& _0x187fx9[_0x83b3[252]][_0x83b3[265]][_0x83b3[950]](_0x187fx9[_0x83b3[252]],_0x187fx9[_0x83b3[252]][_0x83b3[265]][_0x83b3[285]]));_0x187fx9[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[2914]];var _0x187fxa=mxUtils[_0x83b3[885]](this,function(){return null!= this[_0x83b3[2915]]?this[_0x83b3[2915]]:_0x187fx2}),_0x187fx3=mxUtils[_0x83b3[885]](this,function(_0x187fx2){mxEvent[_0x83b3[721]](_0x187fx2)|| (this[_0x83b3[2916]]= _0x187fx9,this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx2,_0x187fxa())))});mxEvent[_0x83b3[2733]](_0x187fx9[_0x83b3[252]],this[_0x83b3[1179]],_0x187fxa,_0x187fx3);_0x187fx4[_0x83b3[207]](_0x187fx9);this[_0x83b3[2905]](_0x187fx4,this[_0x83b3[2903]]);return _0x187fx4};return null};mxConnectionHandler[_0x83b3[202]][_0x83b3[2905]]= function(_0x187fx2,_0x187fx3){if(null!= _0x187fx2&& null!= _0x187fx2[0]&& null!= _0x187fx3){var _0x187fx4=this[_0x83b3[2917]](_0x187fx2[0],_0x187fx3);_0x187fx2[0][_0x83b3[1562]][_0x83b3[235]]= _0x187fx4[_0x83b3[235]];_0x187fx2[0][_0x83b3[1562]][_0x83b3[236]]= _0x187fx4[_0x83b3[236]];_0x187fx2[0][_0x83b3[258]]()}};mxConnectionHandler[_0x83b3[202]][_0x83b3[2917]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx5=_0x187fx3[_0x83b3[241]](),_0x187fx9=_0x187fx3[_0x83b3[242]]();if(this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx3[_0x83b3[246]])){var _0x187fxa=this[_0x83b3[1179]][_0x83b3[1731]](_0x187fx3[_0x83b3[246]]),_0x187fx5=0!= _0x187fxa[_0x83b3[117]]?_0x187fx3[_0x83b3[235]]+ _0x187fxa[_0x83b3[117]]* _0x187fx4/ 2:_0x187fx5,_0x187fx9=0!= _0x187fxa[_0x83b3[119]]?_0x187fx3[_0x83b3[236]]+ _0x187fxa[_0x83b3[119]]* _0x187fx4/ 2:_0x187fx9,_0x187fxa=mxUtils[_0x83b3[431]](mxUtils[_0x83b3[433]](_0x187fx3[_0x83b3[124]],mxConstants.STYLE_ROTATION)|| 0);if(0!= _0x187fxa){var _0x187fx4=Math[_0x83b3[426]](_0x187fxa),_0x187fxa=Math[_0x83b3[427]](_0x187fxa),_0x187fx12= new mxPoint(_0x187fx3[_0x83b3[241]](),_0x187fx3[_0x83b3[242]]()),_0x187fx9=mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx5,_0x187fx9),_0x187fx4,_0x187fxa,_0x187fx12),_0x187fx5=_0x187fx9[_0x83b3[235]],_0x187fx9=_0x187fx9[_0x83b3[236]]}};return new mxPoint(_0x187fx5- _0x187fx2[_0x83b3[1562]][_0x83b3[117]]/ 2,_0x187fx9- _0x187fx2[_0x83b3[1562]][_0x83b3[119]]/ 2)};mxConnectionHandler[_0x83b3[202]][_0x83b3[2906]]= function(_0x187fx2){if(null!= _0x187fx2){this[_0x83b3[2903]]= null;for(var _0x187fx3=0;_0x187fx3< _0x187fx2[_0x83b3[67]];_0x187fx3++){_0x187fx2[_0x187fx3][_0x83b3[515]]()}}};mxConnectionHandler[_0x83b3[202]][_0x83b3[2918]]= function(_0x187fx2){return !this[_0x83b3[1179]][_0x83b3[2579]](_0x187fx2[_0x83b3[727]]())&& (null!= this[_0x83b3[2886]][_0x83b3[2919]]&& null!= this[_0x83b3[2886]][_0x83b3[2920]]|| null!= this[_0x83b3[257]]&& null== this[_0x83b3[267]]&& (null== this[_0x83b3[2904]]|| null!= this[_0x83b3[2904]]&& null!= this[_0x83b3[2916]]))};mxConnectionHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2899]]++;if(this[_0x83b3[994]]()&& this[_0x83b3[1179]][_0x83b3[994]]()&& !_0x187fx3[_0x83b3[721]]()&& !this[_0x83b3[2908]]()&& this[_0x83b3[2918]](_0x187fx3)){null!= this[_0x83b3[2886]][_0x83b3[2920]]&& null!= this[_0x83b3[2886]][_0x83b3[2919]]&& null!= this[_0x83b3[2886]][_0x83b3[987]]?(this[_0x83b3[2921]]= this[_0x83b3[2886]][_0x83b3[2920]],this[_0x83b3[257]]= this[_0x83b3[2886]][_0x83b3[2919]],this[_0x83b3[2823]]= this[_0x83b3[2886]][_0x83b3[987]][_0x83b3[238]]()):this[_0x83b3[2823]]= new mxPoint(_0x187fx3[_0x83b3[734]](),_0x187fx3[_0x83b3[735]]());this[_0x83b3[2897]]= this[_0x83b3[2910]](_0x187fx3);this[_0x83b3[2899]]= 1;this[_0x83b3[2887]]&& null== this[_0x83b3[253]]&& (this[_0x83b3[2922]]= null,this[_0x83b3[253]]= this[_0x83b3[2156]]());if(null== this[_0x83b3[257]]&& null!= this[_0x83b3[2897]]){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[2689]](_0x187fx3[_0x83b3[727]]());this[_0x83b3[2897]][_0x83b3[246]][_0x83b3[256]][_0x83b3[2007]](_0x187fx4,!0)};this[_0x83b3[746]]( new mxEventObject(mxEvent.START,_0x83b3[724],this[_0x83b3[257]]));_0x187fx3[_0x83b3[722]]()}else {if(mxClient[_0x83b3[754]]&& this[_0x83b3[2888]]&& !this[_0x83b3[2890]]&& this[_0x83b3[994]]()&& this[_0x83b3[1179]][_0x83b3[994]]()&& !this[_0x83b3[2908]]()){this[_0x83b3[2890]]= !0;this[_0x83b3[2893]]= _0x187fx3[_0x83b3[730]]();this[_0x83b3[2894]]= _0x187fx3[_0x83b3[732]]();var _0x187fx5=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](this[_0x83b3[2885]][_0x83b3[736]](_0x187fx3));this[_0x83b3[2923]]&& window[_0x83b3[2924]](this[_0x83b3[2923]]);this[_0x83b3[2923]]= window[_0x83b3[261]](mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[2891]]&& this[_0x83b3[2925]](_0x187fx3,_0x187fx5);this[_0x83b3[2891]]= this[_0x83b3[2890]]= !1}),this[_0x83b3[2889]]);this[_0x83b3[2891]]= !0}};this[_0x83b3[2926]]= this[_0x83b3[2916]];this[_0x83b3[2916]]= null};mxConnectionHandler[_0x83b3[202]][_0x83b3[2925]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx3&& (this[_0x83b3[2885]][_0x83b3[2860]]= this[_0x83b3[2885]][_0x83b3[2853]],this[_0x83b3[2885]][_0x83b3[2862]]= _0x187fx3,this[_0x83b3[2885]][_0x83b3[811]](),this[_0x83b3[2823]]= new mxPoint(_0x187fx2[_0x83b3[734]](),_0x187fx2[_0x83b3[735]]()),this[_0x83b3[2897]]= this[_0x83b3[2910]](_0x187fx2),this[_0x83b3[257]]= _0x187fx3,this[_0x83b3[746]]( new mxEventObject(mxEvent.START,_0x83b3[724],this[_0x83b3[257]])))};mxConnectionHandler[_0x83b3[202]][_0x83b3[2927]]= function(_0x187fx2){return !this[_0x83b3[1179]][_0x83b3[1712]](_0x187fx2[_0x83b3[246]])};mxConnectionHandler[_0x83b3[202]][_0x83b3[2910]]= function(_0x187fx2){return null};mxConnectionHandler[_0x83b3[202]][_0x83b3[2928]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[2885]][_0x83b3[2871]](_0x187fx2);this[_0x83b3[2886]][_0x83b3[2729]](_0x187fx2,null== this[_0x83b3[2823]]);this[_0x83b3[2915]]= _0x187fx3};mxConnectionHandler[_0x83b3[202]][_0x83b3[2929]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[518]](),_0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[512]]();_0x187fx2[_0x83b3[235]]= _0x187fx2[_0x83b3[235]]/ _0x187fx3- _0x187fx4[_0x83b3[235]];_0x187fx2[_0x83b3[236]]= _0x187fx2[_0x83b3[236]]/ _0x187fx3- _0x187fx4[_0x83b3[236]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2891]]&& (this[_0x83b3[2891]]= Math[_0x83b3[425]](this[_0x83b3[2893]]- _0x187fx3[_0x83b3[730]]())< this[_0x83b3[2892]]&& Math[_0x83b3[425]](this[_0x83b3[2894]]- _0x187fx3[_0x83b3[732]]())< this[_0x83b3[2892]]);if(!_0x187fx3[_0x83b3[721]]()&& (this[_0x83b3[2895]]|| null!= this[_0x83b3[2823]]|| !this[_0x83b3[1179]][_0x83b3[1009]])){!this[_0x83b3[994]]()&& null!= this[_0x83b3[2915]]&& (this[_0x83b3[2906]](this[_0x83b3[2904]]),this[_0x83b3[2915]]= null);(null!= this[_0x83b3[2823]]|| this[_0x83b3[994]]()&& this[_0x83b3[1179]][_0x83b3[994]]())&& this[_0x83b3[2928]](_0x187fx3);if(null!= this[_0x83b3[2823]]){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx4= new mxPoint(this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx3[_0x83b3[734]]()/ _0x187fx4)* _0x187fx4,this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx3[_0x83b3[735]]()/ _0x187fx4)* _0x187fx4),_0x187fx5=null,_0x187fx9=_0x187fx4;null!= this[_0x83b3[2886]][_0x83b3[2920]]&& (null!= this[_0x83b3[2886]][_0x83b3[2919]]&& null!= this[_0x83b3[2886]][_0x83b3[987]])&& (_0x187fx5= this[_0x83b3[2886]][_0x83b3[2920]],_0x187fx9= this[_0x83b3[2886]][_0x83b3[987]][_0x83b3[238]]());var _0x187fxa=this[_0x83b3[2823]];if(null!= this[_0x83b3[2926]]){var _0x187fx12=this[_0x83b3[2926]][_0x83b3[1562]][_0x83b3[117]],_0x187fx13=this[_0x83b3[2926]][_0x83b3[1562]][_0x83b3[119]];null!= this[_0x83b3[2915]]&& this[_0x83b3[2883]]?(_0x187fx12= this[_0x83b3[2917]](this[_0x83b3[2926]],this[_0x83b3[2915]]),this[_0x83b3[2926]][_0x83b3[1562]][_0x83b3[235]]= _0x187fx12[_0x83b3[235]],this[_0x83b3[2926]][_0x83b3[1562]][_0x83b3[236]]= _0x187fx12[_0x83b3[236]]):(_0x187fx12= new mxRectangle(_0x187fx3[_0x83b3[734]]()+ this[_0x83b3[2896]][_0x83b3[235]],_0x187fx3[_0x83b3[735]]()+ this[_0x83b3[2896]][_0x83b3[236]],_0x187fx12,_0x187fx13),this[_0x83b3[2926]][_0x83b3[1562]]= _0x187fx12);this[_0x83b3[2926]][_0x83b3[258]]()};if(null!= this[_0x83b3[2897]]){this[_0x83b3[2897]][_0x83b3[439]]= [null,null!= this[_0x83b3[2915]]?null:_0x187fx9];this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2289]](this[_0x83b3[2897]],this[_0x83b3[257]],!0,this[_0x83b3[2921]]);null!= this[_0x83b3[2915]]&& (null== _0x187fx5&& (_0x187fx5= this[_0x83b3[1179]][_0x83b3[2288]](this[_0x83b3[2897]],this[_0x83b3[257]],!1)),this[_0x83b3[2897]][_0x83b3[2088]](null,!1),this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2289]](this[_0x83b3[2897]],this[_0x83b3[2915]],!1,_0x187fx5));_0x187fxa= null;if(null!= this[_0x83b3[2922]]){_0x187fxa= [];for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[2922]][_0x83b3[67]];_0x187fx9++){_0x187fx5= this[_0x83b3[2922]][_0x187fx9][_0x83b3[238]](),this[_0x83b3[2929]](_0x187fx5),_0x187fxa[_0x187fx9]= _0x187fx5}};this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2282]](this[_0x83b3[2897]],_0x187fxa,this[_0x83b3[257]],this[_0x83b3[2915]]);this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2283]](this[_0x83b3[2897]],this[_0x83b3[257]],this[_0x83b3[2915]]);_0x187fx9= this[_0x83b3[2897]][_0x83b3[439]][this[_0x83b3[2897]][_0x83b3[439]][_0x83b3[67]]- 1];_0x187fxa= this[_0x83b3[2897]][_0x83b3[439]][0]}else {null!= this[_0x83b3[2915]]&& null== this[_0x83b3[2886]][_0x83b3[2920]]&& (_0x187fx12= this[_0x83b3[2930]](this[_0x83b3[2915]],_0x187fx3),null!= _0x187fx12&& (_0x187fx9= _0x187fx12)),null== this[_0x83b3[2921]]&& null!= this[_0x83b3[257]]&& (_0x187fx12= this[_0x83b3[2931]](this[_0x83b3[257]],null!= this[_0x83b3[2922]]&& 0< this[_0x83b3[2922]][_0x83b3[67]]?this[_0x83b3[2922]][0]:_0x187fx9,_0x187fx3),null!= _0x187fx12&& (_0x187fxa= _0x187fx12))};if(null== this[_0x83b3[2915]]&& this[_0x83b3[2900]]){_0x187fx12= _0x187fxa;null!= this[_0x83b3[2897]]&& 2< this[_0x83b3[2897]][_0x83b3[439]][_0x83b3[67]]&& (_0x187fx5= this[_0x83b3[2897]][_0x83b3[439]][this[_0x83b3[2897]][_0x83b3[439]][_0x83b3[67]]- 2],null!= _0x187fx5&& (_0x187fx12= _0x187fx5));_0x187fx5= _0x187fx9[_0x83b3[235]]- _0x187fx12[_0x83b3[235]];_0x187fx12= _0x187fx9[_0x83b3[236]]- _0x187fx12[_0x83b3[236]];_0x187fx13= Math[_0x83b3[428]](_0x187fx5* _0x187fx5+ _0x187fx12* _0x187fx12);if(0== _0x187fx13){return};_0x187fx9[_0x83b3[235]]-= 4* _0x187fx5/ _0x187fx13;_0x187fx9[_0x83b3[236]]-= 4* _0x187fx12/ _0x187fx13};if(null== this[_0x83b3[253]]&& (_0x187fx5= Math[_0x83b3[425]](_0x187fx4[_0x83b3[235]]- this[_0x83b3[2823]][_0x83b3[235]]),_0x187fx12= Math[_0x83b3[425]](_0x187fx4[_0x83b3[236]]- this[_0x83b3[2823]][_0x83b3[236]]),_0x187fx5> this[_0x83b3[1179]][_0x83b3[2353]]|| _0x187fx12> this[_0x83b3[1179]][_0x83b3[2353]])){this[_0x83b3[253]]= this[_0x83b3[2156]](),this[_0x83b3[2928]](_0x187fx3)};null!= this[_0x83b3[253]]&& (null!= this[_0x83b3[2897]]?this[_0x83b3[253]][_0x83b3[1525]]= this[_0x83b3[2897]][_0x83b3[439]]:(_0x187fx4= [_0x187fxa],null!= this[_0x83b3[2922]]&& (_0x187fx4= _0x187fx4[_0x83b3[1919]](this[_0x83b3[2922]])),_0x187fx4[_0x83b3[207]](_0x187fx9),this[_0x83b3[253]][_0x83b3[1525]]= _0x187fx4),this[_0x83b3[2932]]());mxEvent[_0x83b3[722]](_0x187fx3[_0x83b3[727]]());_0x187fx3[_0x83b3[722]]()}else {!this[_0x83b3[994]]()|| !this[_0x83b3[1179]][_0x83b3[994]]()?this[_0x83b3[2886]][_0x83b3[862]]():this[_0x83b3[257]]!= this[_0x83b3[2915]]&& null== this[_0x83b3[2897]]?(this[_0x83b3[2906]](this[_0x83b3[2904]]),this[_0x83b3[2904]]= null,null!= this[_0x83b3[2915]]&& null== this[_0x83b3[267]]&& (this[_0x83b3[2904]]= this[_0x83b3[2913]](this[_0x83b3[2915]]),null== this[_0x83b3[2904]]&& (this[_0x83b3[2915]][_0x83b3[1609]](mxConstants.CURSOR_CONNECT),_0x187fx3[_0x83b3[722]]())),this[_0x83b3[257]]= this[_0x83b3[2915]]):this[_0x83b3[257]]== this[_0x83b3[2915]]&& (null!= this[_0x83b3[2915]]&& null== this[_0x83b3[2904]]&& !this[_0x83b3[1179]][_0x83b3[1009]])&& _0x187fx3[_0x83b3[722]]()};null!= this[_0x83b3[2886]][_0x83b3[2920]]&& this[_0x83b3[2885]][_0x83b3[862]]();if(!this[_0x83b3[1179]][_0x83b3[1009]]&& null!= this[_0x83b3[2915]]&& null!= this[_0x83b3[2904]]){_0x187fx4= !1;_0x187fxa= _0x187fx3[_0x83b3[728]]();for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[2904]][_0x83b3[67]]&& !_0x187fx4;_0x187fx9++){_0x187fx4= _0x187fxa== this[_0x83b3[2904]][_0x187fx9][_0x83b3[252]]|| _0x187fxa[_0x83b3[265]]== this[_0x83b3[2904]][_0x187fx9][_0x83b3[252]]};_0x187fx4|| this[_0x83b3[2933]](this[_0x83b3[2915]],this[_0x83b3[2904]],_0x187fx3)}}else {this[_0x83b3[2886]][_0x83b3[862]]()}};mxConnectionHandler[_0x83b3[202]][_0x83b3[2930]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null,_0x187fx5=_0x187fx2[_0x83b3[441]],_0x187fx9=_0x187fx5[_0x83b3[2305]](_0x187fx2);if(null!= _0x187fx9){var _0x187fxa=null!= this[_0x83b3[2922]]&& 0< this[_0x83b3[2922]][_0x83b3[67]]?this[_0x83b3[2922]][this[_0x83b3[2922]][_0x83b3[67]]- 1]: new mxPoint(this[_0x83b3[257]][_0x83b3[241]](),this[_0x83b3[257]][_0x83b3[242]]()),_0x187fx5=_0x187fx9(_0x187fx5[_0x83b3[2087]](_0x187fx2),this[_0x83b3[2897]],_0x187fxa,!1);null!= _0x187fx5&& (_0x187fx4= _0x187fx5)}else {_0x187fx4= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]())};return _0x187fx4};mxConnectionHandler[_0x83b3[202]][_0x83b3[2931]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx4= null;var _0x187fx5=_0x187fx2[_0x83b3[441]],_0x187fx9=_0x187fx5[_0x83b3[2305]](_0x187fx2),_0x187fxa= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]());if(null!= _0x187fx9){var _0x187fx12=mxUtils[_0x83b3[433]](_0x187fx2[_0x83b3[124]],mxConstants.STYLE_ROTATION,0),_0x187fx13=-_0x187fx12* (Math[_0x83b3[424]]/ 180);0!= _0x187fx12&& (_0x187fx3= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx3[_0x83b3[235]],_0x187fx3[_0x83b3[236]]),Math[_0x83b3[426]](_0x187fx13),Math[_0x83b3[427]](_0x187fx13),_0x187fxa));_0x187fx2= _0x187fx9(_0x187fx5[_0x83b3[2087]](_0x187fx2),_0x187fx2,_0x187fx3,!1);null!= _0x187fx2&& (0!= _0x187fx12&& (_0x187fx2= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]]),Math[_0x83b3[426]](-_0x187fx13),Math[_0x83b3[427]](-_0x187fx13),_0x187fxa)),_0x187fx4= _0x187fx2)}else {_0x187fx4= _0x187fxa};return _0x187fx4};mxConnectionHandler[_0x83b3[202]][_0x83b3[2933]]= function(_0x187fx2,_0x187fx3,_0x187fx4){};mxConnectionHandler[_0x83b3[202]][_0x83b3[2934]]= function(_0x187fx2){return null!= _0x187fx2[_0x83b3[248]]()};mxConnectionHandler[_0x83b3[202]][_0x83b3[2935]]= function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],_0x187fx2[_0x83b3[730]](),_0x187fx2[_0x83b3[732]]()),_0x187fx4=Math[_0x83b3[425]](_0x187fx3[_0x83b3[235]]- this[_0x83b3[2823]][_0x83b3[235]]),_0x187fx3=Math[_0x83b3[425]](_0x187fx3[_0x83b3[236]]- this[_0x83b3[2823]][_0x83b3[236]]);if(null!= this[_0x83b3[2922]]|| 1< this[_0x83b3[2899]]&& (_0x187fx4> this[_0x83b3[1179]][_0x83b3[2353]]|| _0x187fx3> this[_0x83b3[1179]][_0x83b3[2353]])){null== this[_0x83b3[2922]]&& (this[_0x83b3[2922]]= []),_0x187fx4= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx3= new mxPoint(this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[734]]()/ _0x187fx4)* _0x187fx4,this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[735]]()/ _0x187fx4)* _0x187fx4),this[_0x83b3[2922]][_0x83b3[207]](_0x187fx3)}};mxConnectionHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& this[_0x83b3[2908]]()){if(this[_0x83b3[2887]]&& !this[_0x83b3[2934]](_0x187fx3)){this[_0x83b3[2935]](_0x187fx3);_0x187fx3[_0x83b3[722]]();return};if(null== this[_0x83b3[267]]){var _0x187fx4=null!= this[_0x83b3[257]]?this[_0x83b3[257]][_0x83b3[246]]:null,_0x187fx5=null;null!= this[_0x83b3[2886]][_0x83b3[2920]]&& null!= this[_0x83b3[2886]][_0x83b3[2919]]&& (_0x187fx5= this[_0x83b3[2886]][_0x83b3[2919]][_0x83b3[246]]);null== _0x187fx5&& this[_0x83b3[2885]][_0x83b3[2867]]()&& (_0x187fx5= this[_0x83b3[2885]][_0x83b3[2861]][_0x83b3[246]]);this[_0x83b3[807]](_0x187fx4,_0x187fx5,_0x187fx3[_0x83b3[727]](),_0x187fx3[_0x83b3[736]]())}else {null!= this[_0x83b3[257]]&& (null!= this[_0x83b3[2885]][_0x83b3[2861]]&& this[_0x83b3[257]][_0x83b3[246]]== this[_0x83b3[2885]][_0x83b3[2861]][_0x83b3[246]])&& this[_0x83b3[1179]][_0x83b3[2459]](this[_0x83b3[2885]][_0x83b3[1097]],evt),0< this[_0x83b3[267]][_0x83b3[67]]&& this[_0x83b3[1179]][_0x83b3[2580]](this[_0x83b3[267]])};this[_0x83b3[2906]](this[_0x83b3[2904]]);_0x187fx3[_0x83b3[722]]()};null!= this[_0x83b3[2823]]&& this[_0x83b3[862]]();this[_0x83b3[2891]]= this[_0x83b3[2890]]= !1};mxConnectionHandler[_0x83b3[202]][_0x83b3[862]]= function(){null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[515]](),this[_0x83b3[253]]= null);this[_0x83b3[2906]](this[_0x83b3[2904]]);this[_0x83b3[2904]]= null;this[_0x83b3[2885]][_0x83b3[862]]();this[_0x83b3[2886]][_0x83b3[862]]();this[_0x83b3[2921]]= this[_0x83b3[267]]= this[_0x83b3[257]]= this[_0x83b3[2897]]= this[_0x83b3[2926]]= null;this[_0x83b3[2899]]= 0;this[_0x83b3[2916]]= this[_0x83b3[2823]]= null;this[_0x83b3[746]]( new mxEventObject(mxEvent.RESET))};mxConnectionHandler[_0x83b3[202]][_0x83b3[2932]]= function(){var _0x187fx2=null== this[_0x83b3[267]];this[_0x83b3[253]][_0x83b3[1307]]= this[_0x83b3[2936]](_0x187fx2);_0x187fx2= this[_0x83b3[2937]](_0x187fx2);this[_0x83b3[253]][_0x83b3[1336]]= _0x187fx2;this[_0x83b3[253]][_0x83b3[258]]()};mxConnectionHandler[_0x83b3[202]][_0x83b3[2937]]= function(_0x187fx2){return _0x187fx2?mxConstants[_0x83b3[2829]]:mxConstants[_0x83b3[2938]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[2936]]= function(_0x187fx2){return _0x187fx2?3:1};mxConnectionHandler[_0x83b3[202]][_0x83b3[807]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= _0x187fx3|| this[_0x83b3[2901]]()|| this[_0x83b3[1179]][_0x83b3[2406]]){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fxa=null;_0x187fx9[_0x83b3[473]]();try{if(null!= _0x187fx2&& (null== _0x187fx3&& this[_0x83b3[2901]]())&& (_0x187fx3= this[_0x83b3[2939]](_0x187fx4,_0x187fx2),null!= _0x187fx3)){_0x187fx5= this[_0x83b3[1179]][_0x83b3[564]]([_0x187fx3],_0x187fx4,_0x187fx5);if(null== _0x187fx5|| !this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[250]](_0x187fx5)){var _0x187fx12=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx5);if(null!= _0x187fx12){var _0x187fx13=_0x187fx9[_0x83b3[1721]](_0x187fx3);_0x187fx13[_0x83b3[235]]-= _0x187fx12[_0x83b3[2078]][_0x83b3[235]];_0x187fx13[_0x83b3[236]]-= _0x187fx12[_0x83b3[2078]][_0x83b3[236]]}}else {_0x187fx5= this[_0x83b3[1179]][_0x83b3[902]]()};this[_0x83b3[1179]][_0x83b3[2103]](_0x187fx3,_0x187fx5)};var _0x187fx14=this[_0x83b3[1179]][_0x83b3[902]]();null!= _0x187fx2&& (null!= _0x187fx3&& _0x187fx9[_0x83b3[1197]](_0x187fx2)== _0x187fx9[_0x83b3[1197]](_0x187fx3)&& _0x187fx9[_0x83b3[1197]](_0x187fx9[_0x83b3[1197]](_0x187fx2))!= _0x187fx9[_0x83b3[501]]())&& (_0x187fx14= _0x187fx9[_0x83b3[1197]](_0x187fx2),null!= _0x187fx2[_0x83b3[256]]&& _0x187fx2[_0x83b3[256]][_0x83b3[1500]]&& (null!= _0x187fx3[_0x83b3[256]]&& _0x187fx3[_0x83b3[256]][_0x83b3[1500]])&& (_0x187fx14= _0x187fx9[_0x83b3[1197]](_0x187fx14)));_0x187fx13= _0x187fx12= null;null!= this[_0x83b3[2897]]&& (_0x187fx12= this[_0x83b3[2897]][_0x83b3[246]][_0x83b3[131]],_0x187fx13= this[_0x83b3[2897]][_0x83b3[246]][_0x83b3[124]]);_0x187fxa= this[_0x83b3[1960]](_0x187fx14,null,_0x187fx12,_0x187fx2,_0x187fx3,_0x187fx13);if(null!= _0x187fxa){this[_0x83b3[1179]][_0x83b3[2545]](_0x187fxa,_0x187fx2,!0,this[_0x83b3[2921]]);this[_0x83b3[1179]][_0x83b3[2545]](_0x187fxa,_0x187fx3,!1,this[_0x83b3[2886]][_0x83b3[2920]]);null!= this[_0x83b3[2897]]&& _0x187fx9[_0x83b3[1724]](_0x187fxa,this[_0x83b3[2897]][_0x83b3[246]][_0x83b3[256]]);var _0x187fx15=_0x187fx9[_0x83b3[1721]](_0x187fxa);null== _0x187fx15&& (_0x187fx15= new mxGeometry,_0x187fx15[_0x83b3[1500]]= !0,_0x187fx9[_0x83b3[1724]](_0x187fxa,_0x187fx15));if(null!= this[_0x83b3[2922]]&& 0< this[_0x83b3[2922]][_0x83b3[67]]){var _0x187fx16=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx17=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[513]];_0x187fx15[_0x83b3[1525]]= [];for(_0x187fx2= 0;_0x187fx2< this[_0x83b3[2922]][_0x83b3[67]];_0x187fx2++){var _0x187fx18=this[_0x83b3[2922]][_0x187fx2];_0x187fx15[_0x83b3[1525]][_0x83b3[207]]( new mxPoint(_0x187fx18[_0x83b3[235]]/ _0x187fx16- _0x187fx17[_0x83b3[235]],_0x187fx18[_0x83b3[236]]/ _0x187fx16- _0x187fx17[_0x83b3[236]]))}};null== _0x187fx3&& (_0x187fx18= this[_0x83b3[1179]][_0x83b3[2689]](_0x187fx4,!1),_0x187fx18[_0x83b3[235]]-= this[_0x83b3[1179]][_0x83b3[1136]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx18[_0x83b3[236]]-= this[_0x83b3[1179]][_0x83b3[1137]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx15[_0x83b3[2007]](_0x187fx18,!1));this[_0x83b3[746]]( new mxEventObject(mxEvent.CONNECT,_0x83b3[246],_0x187fxa,_0x83b3[763],_0x187fx4,_0x83b3[772],_0x187fx5))}}catch(q){mxLog[_0x83b3[539]](),mxLog[_0x83b3[143]](q[_0x83b3[281]])}finally{_0x187fx9[_0x83b3[476]]()};this[_0x83b3[804]]&& this[_0x83b3[2707]](_0x187fxa,_0x187fx3)}};mxConnectionHandler[_0x83b3[202]][_0x83b3[2707]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1179]][_0x83b3[2450]](_0x187fx2)};mxConnectionHandler[_0x83b3[202]][_0x83b3[1960]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){if(null== this[_0x83b3[1033]]){return this[_0x83b3[1179]][_0x83b3[1960]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa)};_0x187fx3= this[_0x83b3[2503]](_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa);return _0x187fx3= this[_0x83b3[1179]][_0x83b3[2504]](_0x187fx3,_0x187fx2,_0x187fx5,_0x187fx9)};mxConnectionHandler[_0x83b3[202]][_0x83b3[2939]]= function(_0x187fx2,_0x187fx3){for(var _0x187fx4=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx3);null!= _0x187fx4&& _0x187fx4[_0x83b3[1500]];){_0x187fx3= this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](_0x187fx3),_0x187fx4= this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx3)};var _0x187fx5=this[_0x83b3[1179]][_0x83b3[899]]([_0x187fx3])[0],_0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1721]](_0x187fx5);if(null!= _0x187fx4){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[2689]](_0x187fx2);_0x187fx4[_0x83b3[235]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx9[_0x83b3[235]]- _0x187fx4[_0x83b3[117]]/ 2)- this[_0x83b3[1179]][_0x83b3[1136]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]];_0x187fx4[_0x83b3[236]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx9[_0x83b3[236]]- _0x187fx4[_0x83b3[119]]/ 2)- this[_0x83b3[1179]][_0x83b3[1137]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]];if(null!= this[_0x83b3[2823]]){var _0x187fxa=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx3);if(null!= _0x187fxa){var _0x187fx12=this[_0x83b3[2940]]();Math[_0x83b3[425]](this[_0x83b3[1179]][_0x83b3[1021]](this[_0x83b3[2823]][_0x83b3[235]])- this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx9[_0x83b3[235]]))<= _0x187fx12?_0x187fx4[_0x83b3[235]]= _0x187fxa[_0x83b3[235]]:Math[_0x83b3[425]](this[_0x83b3[1179]][_0x83b3[1021]](this[_0x83b3[2823]][_0x83b3[236]])- this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx9[_0x83b3[236]]))<= _0x187fx12&& (_0x187fx4[_0x83b3[236]]= _0x187fxa[_0x83b3[236]])}}};return _0x187fx5};mxConnectionHandler[_0x83b3[202]][_0x83b3[2940]]= function(){return this[_0x83b3[1179]][_0x83b3[997]]()?this[_0x83b3[1179]][_0x83b3[1020]]:this[_0x83b3[1179]][_0x83b3[2353]]};mxConnectionHandler[_0x83b3[202]][_0x83b3[2503]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=null;null!= this[_0x83b3[1033]]&& (_0x187fx9= this[_0x83b3[1033]](_0x187fx3,_0x187fx4,_0x187fx5));null== _0x187fx9&& (_0x187fx9= new mxCell(_0x187fx2|| _0x83b3[110]),_0x187fx9[_0x83b3[1994]](!0),_0x187fx9[_0x83b3[475]](_0x187fx5),_0x187fx2= new mxGeometry,_0x187fx2[_0x83b3[1500]]= !0,_0x187fx9[_0x83b3[1724]](_0x187fx2));return _0x187fx9};mxConnectionHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[1148]](this);null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[515]](),this[_0x83b3[253]]= null);null!= this[_0x83b3[2885]]&& (this[_0x83b3[2885]][_0x83b3[515]](),this[_0x83b3[2885]]= null);null!= this[_0x83b3[2886]]&& (this[_0x83b3[2886]][_0x83b3[515]](),this[_0x83b3[2886]]= null);null!= this[_0x83b3[1176]]&& (this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[1176]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[1176]]),this[_0x83b3[1176]]= null);null!= this[_0x83b3[2898]]&& (this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2898]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[2898]]),this[_0x83b3[2898]]= null)};function mxConstraintHandler(_0x187fx2){this[_0x83b3[1179]]= _0x187fx2}mxConstraintHandler[_0x83b3[202]][_0x83b3[2941]]= new mxImage(mxClient[_0x83b3[88]]+ _0x83b3[2942],5,5);mxConstraintHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxConstraintHandler[_0x83b3[202]][_0x83b3[984]]= !0;mxConstraintHandler[_0x83b3[202]][_0x83b3[2943]]= mxConstants[_0x83b3[2854]];mxConstraintHandler[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxConstraintHandler[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxConstraintHandler[_0x83b3[202]][_0x83b3[862]]= function(){if(null!= this[_0x83b3[2944]]){for(var _0x187fx2=0;_0x187fx2< this[_0x83b3[2944]][_0x83b3[67]];_0x187fx2++){this[_0x83b3[2944]][_0x187fx2][_0x83b3[515]]()};this[_0x83b3[2944]]= null};null!= this[_0x83b3[2945]]&& (this[_0x83b3[2945]][_0x83b3[515]](),this[_0x83b3[2945]]= null);this[_0x83b3[2946]]= this[_0x83b3[2919]]= this[_0x83b3[987]]= this[_0x83b3[2947]]= this[_0x83b3[2920]]= null};mxConstraintHandler[_0x83b3[202]][_0x83b3[2636]]= function(){return this[_0x83b3[1179]][_0x83b3[2636]]()};mxConstraintHandler[_0x83b3[202]][_0x83b3[2948]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return this[_0x83b3[2941]]};mxConstraintHandler[_0x83b3[202]][_0x83b3[2949]]= function(_0x187fx2,_0x187fx3){return !1};mxConstraintHandler[_0x83b3[202]][_0x83b3[2729]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[994]]()&& !this[_0x83b3[2949]](_0x187fx2)){var _0x187fx4=this[_0x83b3[2636]](),_0x187fx5= new mxRectangle(_0x187fx2[_0x83b3[734]]()- _0x187fx4,_0x187fx2[_0x83b3[735]]()- _0x187fx4,2* _0x187fx4,2* _0x187fx4),_0x187fx9=null!= _0x187fx2[_0x83b3[736]]()?this[_0x83b3[1179]][_0x83b3[2565]](_0x187fx2[_0x83b3[736]]()):!1;if(null== this[_0x83b3[2947]]|| !mxUtils[_0x83b3[1825]](this[_0x83b3[2947]],_0x187fx5)|| null!= _0x187fx2[_0x83b3[248]]()&& null!= this[_0x83b3[2919]]&& _0x187fx9){if(this[_0x83b3[2947]]= null,_0x187fx2[_0x83b3[248]]()!= this[_0x83b3[2919]]){if(this[_0x83b3[2919]]= null,this[_0x83b3[1531]]= null!= _0x187fx2[_0x83b3[248]]()&& _0x187fx9?this[_0x83b3[1179]][_0x83b3[2538]](_0x187fx2[_0x83b3[248]](),_0x187fx3):null,null!= this[_0x83b3[1531]]){this[_0x83b3[2919]]= _0x187fx2[_0x83b3[248]]();this[_0x83b3[2947]]= new mxRectangle(_0x187fx2[_0x83b3[248]]()[_0x83b3[235]],_0x187fx2[_0x83b3[248]]()[_0x83b3[236]],_0x187fx2[_0x83b3[248]]()[_0x83b3[117]],_0x187fx2[_0x83b3[248]]()[_0x83b3[119]]);if(null!= this[_0x83b3[2944]]){for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[2944]][_0x83b3[67]];_0x187fx9++){this[_0x83b3[2944]][_0x187fx9][_0x83b3[515]]()};this[_0x83b3[2946]]= this[_0x83b3[2944]]= null};this[_0x83b3[2944]]= [];this[_0x83b3[2946]]= [];for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[1531]][_0x83b3[67]];_0x187fx9++){var _0x187fxa=this[_0x83b3[1179]][_0x83b3[2290]](_0x187fx2[_0x83b3[248]](),this[_0x83b3[1531]][_0x187fx9]),_0x187fx12=this[_0x83b3[2948]](_0x187fx2[_0x83b3[248]](),this[_0x83b3[1531]][_0x187fx9],_0x187fxa),_0x187fx13=_0x187fx12[_0x83b3[390]],_0x187fx12= new mxRectangle(_0x187fxa[_0x83b3[235]]- _0x187fx12[_0x83b3[117]]/ 2,_0x187fxa[_0x83b3[236]]- _0x187fx12[_0x83b3[119]]/ 2,_0x187fx12[_0x83b3[117]],_0x187fx12[_0x83b3[119]]),_0x187fx12= new mxImageShape(_0x187fx12,_0x187fx13);_0x187fx12[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[2334]]:mxConstants[_0x83b3[508]];_0x187fx12[_0x83b3[1674]]= !1;_0x187fx12[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]());null!= _0x187fx12[_0x83b3[252]][_0x83b3[328]]&& _0x187fx12[_0x83b3[252]][_0x83b3[265]][_0x83b3[950]](_0x187fx12[_0x83b3[252]],_0x187fx12[_0x83b3[252]][_0x83b3[265]][_0x83b3[285]]);_0x187fx13= mxUtils[_0x83b3[885]](this,function(){return null!= this[_0x83b3[2919]]?this[_0x83b3[2919]]:_0x187fx2[_0x83b3[248]]()});_0x187fx12[_0x83b3[258]]();mxEvent[_0x83b3[2733]](_0x187fx12[_0x83b3[252]],this[_0x83b3[1179]],_0x187fx13);this[_0x83b3[2947]][_0x83b3[99]](_0x187fx12[_0x83b3[1562]]);this[_0x83b3[2944]][_0x83b3[207]](_0x187fx12);this[_0x83b3[2946]][_0x83b3[207]](_0x187fxa)};this[_0x83b3[2947]][_0x83b3[244]](_0x187fx4)}else {if(null!= this[_0x83b3[2944]]){null!= this[_0x83b3[2945]]&& (this[_0x83b3[2945]][_0x83b3[515]](),this[_0x83b3[2945]]= null);for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[2944]][_0x83b3[67]];_0x187fx9++){this[_0x83b3[2944]][_0x187fx9][_0x83b3[515]]()};this[_0x83b3[2946]]= this[_0x83b3[2944]]= null}}}};this[_0x83b3[987]]= this[_0x83b3[2920]]= null;if(null!= this[_0x83b3[2944]]&& null!= this[_0x83b3[1531]]&& (null== _0x187fx2[_0x83b3[248]]()|| this[_0x83b3[2919]]== _0x187fx2[_0x83b3[248]]())){for(_0x187fx9= 0;_0x187fx9< this[_0x83b3[2944]][_0x83b3[67]];_0x187fx9++){if(mxUtils[_0x83b3[1825]](this[_0x83b3[2944]][_0x187fx9][_0x83b3[1562]],_0x187fx5)){this[_0x83b3[2920]]= this[_0x83b3[1531]][_0x187fx9];this[_0x83b3[987]]= this[_0x83b3[2946]][_0x187fx9];_0x187fx4= this[_0x83b3[2944]][_0x187fx9][_0x83b3[1562]][_0x83b3[238]]();_0x187fx4[_0x83b3[244]](mxClient[_0x83b3[80]]?3:2);mxClient[_0x83b3[80]]&& (_0x187fx4[_0x83b3[117]]-= 1,_0x187fx4[_0x83b3[119]]-= 1);null== this[_0x83b3[2945]]?(_0x187fx4= new mxRectangleShape(_0x187fx4,null,this[_0x83b3[2943]],3),_0x187fx4[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]== mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[508]]:mxConstants[_0x83b3[1523]],_0x187fx4[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()),this[_0x83b3[2945]]= _0x187fx4,_0x187fx13= mxUtils[_0x83b3[885]](this,function(){return null!= this[_0x83b3[2919]]?this[_0x83b3[2919]]:_0x187fx2[_0x83b3[248]]()}),mxEvent[_0x83b3[2733]](_0x187fx4[_0x83b3[252]],this[_0x83b3[1179]],_0x187fx13)):(this[_0x83b3[2945]][_0x83b3[1562]]= _0x187fx4,this[_0x83b3[2945]][_0x83b3[258]]());break}}};null== this[_0x83b3[2920]]&& null!= this[_0x83b3[2945]]&& (this[_0x83b3[2945]][_0x83b3[515]](),this[_0x83b3[2945]]= null)}};mxConstraintHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[862]]()};function mxRubberband(_0x187fx2){null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[1179]][_0x83b3[1133]](this),this[_0x83b3[2730]]= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[2950]]()}),this[_0x83b3[1179]][_0x83b3[169]](mxEvent.PAN,this[_0x83b3[2730]]),mxClient[_0x83b3[80]]&& mxEvent[_0x83b3[169]](window,_0x83b3[2428],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[515]]()})))}mxRubberband[_0x83b3[202]][_0x83b3[2951]]= 20;mxRubberband[_0x83b3[202]][_0x83b3[984]]= !0;mxRubberband[_0x83b3[202]][_0x83b3[485]]= null;mxRubberband[_0x83b3[202]][_0x83b3[2952]]= null;mxRubberband[_0x83b3[202]][_0x83b3[2953]]= 0;mxRubberband[_0x83b3[202]][_0x83b3[2954]]= 0;mxRubberband[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxRubberband[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxRubberband[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& this[_0x83b3[994]]()&& this[_0x83b3[1179]][_0x83b3[994]]()&& (this[_0x83b3[1179]][_0x83b3[2579]](_0x187fx3[_0x83b3[727]]())|| null== _0x187fx3[_0x83b3[248]]())){var _0x187fx4=mxUtils[_0x83b3[445]](this[_0x83b3[1179]][_0x83b3[526]]),_0x187fx5=mxUtils[_0x83b3[444]](this[_0x83b3[1179]][_0x83b3[526]]);_0x187fx5[_0x83b3[235]]-= _0x187fx4[_0x83b3[235]];_0x187fx5[_0x83b3[236]]-= _0x187fx4[_0x83b3[236]];this[_0x83b3[861]](_0x187fx3[_0x83b3[730]]()+ _0x187fx5[_0x83b3[235]],_0x187fx3[_0x83b3[732]]()+ _0x187fx5[_0x83b3[236]]);if(mxClient[_0x83b3[133]]&& !mxClient[_0x83b3[75]]&& !mxClient[_0x83b3[76]]){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[526]],_0x187fxa=function(_0x187fx2){_0x187fx2= new mxMouseEvent(_0x187fx2);var _0x187fx3=mxUtils[_0x83b3[2196]](_0x187fx9,_0x187fx2[_0x83b3[730]](),_0x187fx2[_0x83b3[732]]());_0x187fx2[_0x83b3[725]]= _0x187fx3[_0x83b3[235]];_0x187fx2[_0x83b3[726]]= _0x187fx3[_0x83b3[236]];return _0x187fx2};this[_0x83b3[2955]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[788]](this[_0x83b3[1179]],_0x187fxa(_0x187fx2))});this[_0x83b3[981]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[789]](this[_0x83b3[1179]],_0x187fxa(_0x187fx2))});mxEvent[_0x83b3[169]](document,_0x83b3[752],this[_0x83b3[2955]]);mxEvent[_0x83b3[169]](document,_0x83b3[753],this[_0x83b3[981]])};_0x187fx3[_0x83b3[722]](!1)}};mxRubberband[_0x83b3[202]][_0x83b3[861]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2823]]= new mxPoint(_0x187fx2,_0x187fx3)};mxRubberband[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& null!= this[_0x83b3[2823]]){var _0x187fx4=mxUtils[_0x83b3[444]](this[_0x83b3[1179]][_0x83b3[526]]),_0x187fx5=mxUtils[_0x83b3[445]](this[_0x83b3[1179]][_0x83b3[526]]);_0x187fx4[_0x83b3[235]]-= _0x187fx5[_0x83b3[235]];_0x187fx4[_0x83b3[236]]-= _0x187fx5[_0x83b3[236]];var _0x187fx5=_0x187fx3[_0x83b3[730]]()+ _0x187fx4[_0x83b3[235]],_0x187fx4=_0x187fx3[_0x83b3[732]]()+ _0x187fx4[_0x83b3[236]],_0x187fx9=this[_0x83b3[2823]][_0x83b3[235]]- _0x187fx5,_0x187fxa=this[_0x83b3[2823]][_0x83b3[236]]- _0x187fx4,_0x187fx12=this[_0x83b3[1179]][_0x83b3[2353]];if(null!= this[_0x83b3[485]]|| Math[_0x83b3[425]](_0x187fx9)> _0x187fx12|| Math[_0x83b3[425]](_0x187fxa)> _0x187fx12){null== this[_0x83b3[485]]&& (this[_0x83b3[485]]= this[_0x83b3[2156]]()),mxUtils[_0x83b3[2440]](),this[_0x83b3[2729]](_0x187fx5,_0x187fx4),_0x187fx3[_0x83b3[722]]()}}};mxRubberband[_0x83b3[202]][_0x83b3[2156]]= function(){null== this[_0x83b3[2952]]&& (this[_0x83b3[2952]]= document[_0x83b3[55]](_0x83b3[485]),this[_0x83b3[2952]][_0x83b3[926]]= _0x83b3[2956],mxUtils[_0x83b3[254]](this[_0x83b3[2952]],this[_0x83b3[2951]]));this[_0x83b3[1179]][_0x83b3[526]][_0x83b3[62]](this[_0x83b3[2952]]);return this[_0x83b3[2952]]};mxRubberband[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null!= this[_0x83b3[485]];this[_0x83b3[862]]();_0x187fx4&& (_0x187fx4= new mxRectangle(this[_0x83b3[235]],this[_0x83b3[236]],this[_0x83b3[117]],this[_0x83b3[119]]),this[_0x83b3[1179]][_0x83b3[2698]](_0x187fx4,_0x187fx3[_0x83b3[727]]()),_0x187fx3[_0x83b3[722]]())};mxRubberband[_0x83b3[202]][_0x83b3[862]]= function(){null!= this[_0x83b3[485]]&& this[_0x83b3[485]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[485]]);null!= this[_0x83b3[2955]]&& (mxEvent[_0x83b3[745]](document,_0x83b3[752],this[_0x83b3[2955]]),this[_0x83b3[2955]]= null);null!= this[_0x83b3[981]]&& (mxEvent[_0x83b3[745]](document,_0x83b3[753],this[_0x83b3[981]]),this[_0x83b3[981]]= null);this[_0x83b3[2954]]= this[_0x83b3[2953]]= 0;this[_0x83b3[485]]= this[_0x83b3[2823]]= null};mxRubberband[_0x83b3[202]][_0x83b3[2729]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[2953]]= _0x187fx2;this[_0x83b3[2954]]= _0x187fx3;this[_0x83b3[2950]]()};mxRubberband[_0x83b3[202]][_0x83b3[2950]]= function(){if(null!= this[_0x83b3[485]]){var _0x187fx2=this[_0x83b3[2953]]- this[_0x83b3[1179]][_0x83b3[1136]],_0x187fx3=this[_0x83b3[2954]]- this[_0x83b3[1179]][_0x83b3[1137]];this[_0x83b3[235]]= Math[_0x83b3[243]](this[_0x83b3[2823]][_0x83b3[235]],_0x187fx2);this[_0x83b3[236]]= Math[_0x83b3[243]](this[_0x83b3[2823]][_0x83b3[236]],_0x187fx3);this[_0x83b3[117]]= Math[_0x83b3[160]](this[_0x83b3[2823]][_0x83b3[235]],_0x187fx2)- this[_0x83b3[235]];this[_0x83b3[119]]= Math[_0x83b3[160]](this[_0x83b3[2823]][_0x83b3[236]],_0x187fx3)- this[_0x83b3[236]];_0x187fx2= mxClient[_0x83b3[47]]?this[_0x83b3[1179]][_0x83b3[1137]]:0;this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= this[_0x83b3[235]]+ (mxClient[_0x83b3[47]]?this[_0x83b3[1179]][_0x83b3[1136]]:0)+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= this[_0x83b3[236]]+ _0x187fx2+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[117]]= Math[_0x83b3[160]](1,this[_0x83b3[117]])+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[119]]= Math[_0x83b3[160]](1,this[_0x83b3[119]])+ _0x83b3[168]}};mxRubberband[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[2717]]|| (this[_0x83b3[2717]]= !0,this[_0x83b3[1179]][_0x83b3[1148]](this),this[_0x83b3[1179]][_0x83b3[745]](this[_0x83b3[2730]]),this[_0x83b3[862]](),null!= this[_0x83b3[2952]]&& (this[_0x83b3[2952]]= null))};function mxVertexHandler(_0x187fx2){null!= _0x187fx2&& (this[_0x83b3[724]]= _0x187fx2,this[_0x83b3[176]]())}mxVertexHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxVertexHandler[_0x83b3[202]][_0x83b3[724]]= null;mxVertexHandler[_0x83b3[202]][_0x83b3[2957]]= !1;mxVertexHandler[_0x83b3[202]][_0x83b3[1983]]= null;mxVertexHandler[_0x83b3[202]][_0x83b3[2958]]= !0;mxVertexHandler[_0x83b3[202]][_0x83b3[2959]]= null;mxVertexHandler[_0x83b3[202]][_0x83b3[2353]]= 0;mxVertexHandler[_0x83b3[202]][_0x83b3[2809]]= !1;mxVertexHandler[_0x83b3[202]][_0x83b3[2960]]= !0;mxVertexHandler[_0x83b3[202]][_0x83b3[176]]= function(){this[_0x83b3[1179]]= this[_0x83b3[724]][_0x83b3[441]][_0x83b3[1179]];this[_0x83b3[2961]]= this[_0x83b3[2962]](this[_0x83b3[724]]);this[_0x83b3[1562]]= new mxRectangle(this[_0x83b3[2961]][_0x83b3[235]],this[_0x83b3[2961]][_0x83b3[236]],this[_0x83b3[2961]][_0x83b3[117]],this[_0x83b3[2961]][_0x83b3[119]]);this[_0x83b3[2732]]= this[_0x83b3[2963]](this[_0x83b3[1562]]);this[_0x83b3[2732]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]];this[_0x83b3[2732]][_0x83b3[1229]]= !1;this[_0x83b3[2732]][_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]());this[_0x83b3[1179]][_0x83b3[1712]](this[_0x83b3[724]][_0x83b3[246]])&& (this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[2832]]);mxEvent[_0x83b3[2733]](this[_0x83b3[2732]][_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);if(0>= mxGraphHandler[_0x83b3[202]][_0x83b3[2795]]|| this[_0x83b3[1179]][_0x83b3[2694]]()< mxGraphHandler[_0x83b3[202]][_0x83b3[2795]]){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[2657]](this[_0x83b3[724]][_0x83b3[246]]);this[_0x83b3[2964]]= [];if(_0x187fx2|| this[_0x83b3[1179]][_0x83b3[2628]](this[_0x83b3[724]][_0x83b3[246]])&& 2<= this[_0x83b3[724]][_0x83b3[117]]&& 2<= this[_0x83b3[724]][_0x83b3[119]]){var _0x187fx3=0;_0x187fx2&& (this[_0x83b3[2957]]|| (this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[936],_0x187fx3++)),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2965],_0x187fx3++)),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2966],_0x187fx3++)),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2967],_0x187fx3++)),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2968],_0x187fx3++)),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2969],_0x187fx3++)),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2970],_0x187fx3++))),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2735]](_0x83b3[2971],_0x187fx3++)));_0x187fx2= this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1721]](this[_0x83b3[724]][_0x83b3[246]]);null!= _0x187fx2&& (!_0x187fx2[_0x83b3[1500]]&& !this[_0x83b3[1179]][_0x83b3[1730]](this[_0x83b3[724]][_0x83b3[246]])&& this[_0x83b3[1179]][_0x83b3[2628]](this[_0x83b3[724]][_0x83b3[246]]))&& (this[_0x83b3[2972]]= this[_0x83b3[2735]](mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2972]]))}else {this[_0x83b3[1179]][_0x83b3[1712]](this[_0x83b3[724]][_0x83b3[246]])&& (!this[_0x83b3[1179]][_0x83b3[2657]](this[_0x83b3[724]][_0x83b3[246]])&& 2> this[_0x83b3[724]][_0x83b3[117]]&& 2> this[_0x83b3[724]][_0x83b3[119]])&& (this[_0x83b3[2972]]= this[_0x83b3[2735]](mxConstants.CURSOR_MOVABLE_VERTEX,null,null,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2972]]))}};if(this[_0x83b3[2809]]&& (0>= mxGraphHandler[_0x83b3[202]][_0x83b3[2795]]|| this[_0x83b3[1179]][_0x83b3[2694]]()< mxGraphHandler[_0x83b3[202]][_0x83b3[2795]])){this[_0x83b3[2973]]= this[_0x83b3[2735]](_0x83b3[356],mxEvent.ROTATION_HANDLE,mxConstants[_0x83b3[2974]]+ 3,mxConstants.HANDLE_FILLCOLOR),this[_0x83b3[2964]][_0x83b3[207]](this[_0x83b3[2973]])};this[_0x83b3[258]]()};mxVertexHandler[_0x83b3[202]][_0x83b3[2962]]= function(_0x187fx2){return new mxRectangle(Math[_0x83b3[488]](_0x187fx2[_0x83b3[235]]),Math[_0x83b3[488]](_0x187fx2[_0x83b3[236]]),Math[_0x83b3[488]](_0x187fx2[_0x83b3[117]]),Math[_0x83b3[488]](_0x187fx2[_0x83b3[119]]))};mxVertexHandler[_0x83b3[202]][_0x83b3[2963]]= function(_0x187fx2){_0x187fx2= new mxRectangleShape(_0x187fx2,null,this[_0x83b3[2975]]());_0x187fx2[_0x83b3[1307]]= this[_0x83b3[2976]]();_0x187fx2[_0x83b3[1522]]= this[_0x83b3[2977]]();return _0x187fx2};mxVertexHandler[_0x83b3[202]][_0x83b3[2975]]= function(){return mxConstants[_0x83b3[2978]]};mxVertexHandler[_0x83b3[202]][_0x83b3[2976]]= function(){return mxConstants[_0x83b3[2979]]};mxVertexHandler[_0x83b3[202]][_0x83b3[2977]]= function(){return mxConstants[_0x83b3[2980]]};mxVertexHandler[_0x83b3[202]][_0x83b3[2735]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){_0x187fx4= _0x187fx4|| mxConstants[_0x83b3[2974]];_0x187fx4= new mxRectangle(0,0,_0x187fx4,_0x187fx4);_0x187fx5= this[_0x83b3[2981]](_0x187fx4,_0x187fx3,_0x187fx5);_0x187fx5[_0x83b3[1567]]()&& null!= this[_0x83b3[724]][_0x83b3[963]]&& this[_0x83b3[724]][_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]]?(_0x187fx5[_0x83b3[1562]][_0x83b3[119]]-= 1,_0x187fx5[_0x83b3[1562]][_0x83b3[117]]-= 1,_0x187fx5[_0x83b3[507]]= mxConstants[_0x83b3[1656]],_0x187fx5[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[526]])):(_0x187fx5[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[2334]]:mxConstants[_0x83b3[508]],_0x187fx5[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()));mxEvent[_0x83b3[2733]](_0x187fx5[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);this[_0x83b3[1179]][_0x83b3[994]]()&& (_0x187fx5[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= _0x187fx2);this[_0x83b3[2982]](_0x187fx3)|| (_0x187fx5[_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188]);return _0x187fx5};mxVertexHandler[_0x83b3[202]][_0x83b3[2982]]= function(_0x187fx2){return !0};mxVertexHandler[_0x83b3[202]][_0x83b3[2981]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return null!= this[_0x83b3[2959]]?(_0x187fx2[_0x83b3[117]]= this[_0x83b3[2959]][_0x83b3[117]],_0x187fx2[_0x83b3[119]]= this[_0x83b3[2959]][_0x83b3[119]], new mxImageShape(_0x187fx2,this[_0x83b3[2959]][_0x83b3[390]])):_0x187fx3== mxEvent[_0x83b3[2983]]? new mxEllipse(_0x187fx2,_0x187fx4|| mxConstants[_0x83b3[2984]],mxConstants.HANDLE_STROKECOLOR): new mxRectangleShape(_0x187fx2,_0x187fx4|| mxConstants[_0x83b3[2984]],mxConstants.HANDLE_STROKECOLOR)};mxVertexHandler[_0x83b3[202]][_0x83b3[2985]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null!= _0x187fx2&& (_0x187fx2[_0x83b3[1562]][_0x83b3[235]]= Math[_0x83b3[488]](_0x187fx3- _0x187fx2[_0x83b3[1562]][_0x83b3[117]]/ 2),_0x187fx2[_0x83b3[1562]][_0x83b3[236]]= Math[_0x83b3[488]](_0x187fx4- _0x187fx2[_0x83b3[1562]][_0x83b3[119]]/ 2),_0x187fx2[_0x83b3[258]]())};mxVertexHandler[_0x83b3[202]][_0x83b3[2986]]= function(_0x187fx2){if(_0x187fx2[_0x83b3[729]](this[_0x83b3[2973]])){return mxEvent[_0x83b3[2983]]};if(_0x187fx2[_0x83b3[729]](this[_0x83b3[2972]])){return mxEvent[_0x83b3[2987]]};if(null!= this[_0x83b3[2964]]){for(var _0x187fx3=this[_0x83b3[2353]],_0x187fx3=this[_0x83b3[2958]]&& (mxClient[_0x83b3[80]]|| 0< _0x187fx3)? new mxRectangle(_0x187fx2[_0x83b3[734]]()- _0x187fx3,_0x187fx2[_0x83b3[735]]()- _0x187fx3,2* _0x187fx3,2* _0x187fx3):null,_0x187fx4=0;_0x187fx4< this[_0x83b3[2964]][_0x83b3[67]];_0x187fx4++){if(_0x187fx2[_0x83b3[729]](this[_0x83b3[2964]][_0x187fx4])|| null!= _0x187fx3&& mxUtils[_0x83b3[1825]](this[_0x83b3[2964]][_0x187fx4][_0x83b3[1562]],_0x187fx3)){return _0x187fx4}}};return null};mxVertexHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& this[_0x83b3[1179]][_0x83b3[994]]()&& !this[_0x83b3[1179]][_0x83b3[2579]](_0x187fx3[_0x83b3[727]]())&& (0< this[_0x83b3[2353]]|| _0x187fx3[_0x83b3[248]]()== this[_0x83b3[724]])){var _0x187fx4=this[_0x83b3[2986]](_0x187fx3);null!= _0x187fx4&& (this[_0x83b3[861]](_0x187fx3[_0x83b3[730]](),_0x187fx3[_0x83b3[732]](),_0x187fx4),_0x187fx3[_0x83b3[722]]())}};mxVertexHandler[_0x83b3[202]][_0x83b3[861]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],_0x187fx2,_0x187fx3);this[_0x83b3[2739]]= _0x187fx2[_0x83b3[235]];this[_0x83b3[2740]]= _0x187fx2[_0x83b3[236]];this[_0x83b3[1983]]= _0x187fx4;this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= _0x187fx4== mxEvent[_0x83b3[2983]]?_0x83b3[497]:_0x83b3[130];this[_0x83b3[2988]]= this[_0x83b3[2963]](this[_0x83b3[1562]]);!(mxClient[_0x83b3[48]]&& 0!= Number(this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]))&& null!= this[_0x83b3[724]][_0x83b3[963]]&& this[_0x83b3[724]][_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]]?(this[_0x83b3[2988]][_0x83b3[507]]= mxConstants[_0x83b3[1656]],this[_0x83b3[2988]][_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[526]])):(this[_0x83b3[2988]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]],this[_0x83b3[2988]][_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[1524]]()))};mxVertexHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& null!= this[_0x83b3[1983]]){var _0x187fx4= new mxPoint(_0x187fx3[_0x83b3[734]](),_0x187fx3[_0x83b3[735]]()),_0x187fx5=this[_0x83b3[1179]][_0x83b3[1018]](_0x187fx3[_0x83b3[727]]()),_0x187fx9=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]];if(this[_0x83b3[1983]]== mxEvent[_0x83b3[2987]]){_0x187fx5&& (_0x187fx4[_0x83b3[235]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx4[_0x83b3[235]]/ _0x187fx9)* _0x187fx9,_0x187fx4[_0x83b3[236]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx4[_0x83b3[236]]/ _0x187fx9)* _0x187fx9),this[_0x83b3[2985]](this[_0x83b3[2964]][this[_0x83b3[2964]][_0x83b3[67]]- 1],_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]])}else {if(this[_0x83b3[1983]]== mxEvent[_0x83b3[2983]]){var _0x187fxa=this[_0x83b3[724]][_0x83b3[235]]+ this[_0x83b3[724]][_0x83b3[117]]/ 2- _0x187fx4[_0x83b3[235]],_0x187fx12=this[_0x83b3[724]][_0x83b3[236]]+ this[_0x83b3[724]][_0x83b3[119]]/ 2- _0x187fx4[_0x83b3[236]];this[_0x83b3[2989]]= 0!= _0x187fxa?180* Math[_0x83b3[2990]](_0x187fx12/ _0x187fxa)/ Math[_0x83b3[424]]+ 90:0> _0x187fx12?180:0;0< _0x187fxa&& (this[_0x83b3[2989]]-= 180);this[_0x83b3[2960]]&& (_0x187fxa= _0x187fx4[_0x83b3[235]]- this[_0x83b3[724]][_0x83b3[241]](),_0x187fx12= _0x187fx4[_0x83b3[236]]- this[_0x83b3[724]][_0x83b3[242]](),_0x187fxa= Math[_0x83b3[425]](Math[_0x83b3[428]](_0x187fxa* _0x187fxa+ _0x187fx12* _0x187fx12)- this[_0x83b3[724]][_0x83b3[119]]/ 2- 20),_0x187fxa= Math[_0x83b3[160]](1,5* Math[_0x83b3[243]](3,Math[_0x83b3[160]](0,Math[_0x83b3[488]](80/ Math[_0x83b3[425]](_0x187fxa))))),this[_0x83b3[2989]]= Math[_0x83b3[488]](this[_0x83b3[2989]]/ _0x187fxa)* _0x187fxa);this[_0x83b3[2732]][_0x83b3[603]]= this[_0x83b3[2989]];this[_0x83b3[2732]][_0x83b3[258]]()}else {var _0x187fx13=mxUtils[_0x83b3[431]](this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]),_0x187fx14=Math[_0x83b3[426]](-_0x187fx13),_0x187fx15=Math[_0x83b3[427]](-_0x187fx13),_0x187fx16= new mxPoint(this[_0x83b3[724]][_0x83b3[241]](),this[_0x83b3[724]][_0x83b3[242]]()),_0x187fxa=_0x187fx4[_0x83b3[235]]- this[_0x83b3[2739]],_0x187fx12=_0x187fx4[_0x83b3[236]]- this[_0x83b3[2740]],_0x187fx4=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[513]],_0x187fx17=_0x187fx15* _0x187fxa+ _0x187fx14* _0x187fx12,_0x187fxa=_0x187fx14* _0x187fxa- _0x187fx15* _0x187fx12;this[_0x83b3[1562]]= this[_0x83b3[2991]](this[_0x83b3[2961]],_0x187fxa,_0x187fx17,this[_0x83b3[1983]],_0x187fx5,_0x187fx9,_0x187fx4);_0x187fx14= Math[_0x83b3[426]](_0x187fx13);_0x187fx15= Math[_0x83b3[427]](_0x187fx13);_0x187fx12= new mxPoint(this[_0x83b3[1562]][_0x83b3[241]](),this[_0x83b3[1562]][_0x83b3[242]]());_0x187fxa= _0x187fx12[_0x83b3[235]]- _0x187fx16[_0x83b3[235]];_0x187fx12= _0x187fx12[_0x83b3[236]]- _0x187fx16[_0x83b3[236]];_0x187fx16= _0x187fx15* _0x187fxa+ _0x187fx14* _0x187fx12- _0x187fx12;this[_0x83b3[1562]][_0x83b3[235]]+= _0x187fx14* _0x187fxa- _0x187fx15* _0x187fx12- _0x187fxa;this[_0x83b3[1562]][_0x83b3[236]]+= _0x187fx16;this[_0x83b3[2932]]()}};_0x187fx3[_0x83b3[722]]()}else {null!= this[_0x83b3[2986]](_0x187fx3)&& _0x187fx3[_0x83b3[722]](!1)}};mxVertexHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){if(!_0x187fx3[_0x83b3[721]]()&& null!= this[_0x83b3[1983]]&& null!= this[_0x83b3[724]]){var _0x187fx4= new mxPoint(_0x187fx3[_0x83b3[734]](),_0x187fx3[_0x83b3[735]]());this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[473]]();try{if(this[_0x83b3[1983]]== mxEvent[_0x83b3[2983]]){null!= this[_0x83b3[2989]]&& this[_0x83b3[2992]](this[_0x83b3[724]][_0x83b3[246]],this[_0x83b3[2989]]- (this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| 0))}else {var _0x187fx5=this[_0x83b3[1179]][_0x83b3[1018]](_0x187fx3[_0x83b3[727]]()),_0x187fx9=mxUtils[_0x83b3[431]](this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]),_0x187fxa=Math[_0x83b3[426]](-_0x187fx9),_0x187fx12=Math[_0x83b3[427]](-_0x187fx9),_0x187fx13=_0x187fx4[_0x83b3[235]]- this[_0x83b3[2739]],_0x187fx14=_0x187fx4[_0x83b3[236]]- this[_0x83b3[2740]],_0x187fx4=_0x187fx12* _0x187fx13+ _0x187fxa* _0x187fx14,_0x187fx13=_0x187fxa* _0x187fx13- _0x187fx12* _0x187fx14,_0x187fx14=_0x187fx4,_0x187fx15=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]];this[_0x83b3[2526]](this[_0x83b3[724]][_0x83b3[246]],_0x187fx13/ _0x187fx15,_0x187fx14/ _0x187fx15,this[_0x83b3[1983]],_0x187fx5)}}finally{this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[476]]()};this[_0x83b3[862]]();_0x187fx3[_0x83b3[722]]()}};mxVertexHandler[_0x83b3[202]][_0x83b3[2992]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]();if(_0x187fx4[_0x83b3[1193]](_0x187fx2)){var _0x187fx5=_0x187fx2== this[_0x83b3[724]]?this[_0x83b3[724]]:this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx2);null!= _0x187fx5&& this[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_ROTATION,(_0x187fx5[_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| 0)+ _0x187fx3,[_0x187fx2]);if(this[_0x83b3[724]][_0x83b3[246]]!= _0x187fx2&& (_0x187fx5= this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx2),null!= _0x187fx5&& !_0x187fx5[_0x83b3[1500]])){if(0!= _0x187fx3){var _0x187fx9=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](_0x187fx2),_0x187fxa=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx9);if(!_0x187fx5[_0x83b3[1500]]&& null!= _0x187fxa){var _0x187fx12=mxUtils[_0x83b3[431]](_0x187fx3),_0x187fx9=Math[_0x83b3[426]](_0x187fx12),_0x187fx12=Math[_0x83b3[427]](_0x187fx12),_0x187fx13= new mxPoint(_0x187fx5[_0x83b3[241]](),_0x187fx5[_0x83b3[242]]()),_0x187fxa= new mxPoint(_0x187fxa[_0x83b3[117]]/ 2,_0x187fxa[_0x83b3[119]]/ 2),_0x187fx9=mxUtils[_0x83b3[432]](_0x187fx13,_0x187fx9,_0x187fx12,_0x187fxa),_0x187fx5=_0x187fx5[_0x83b3[238]]();_0x187fx5[_0x83b3[235]]= _0x187fx9[_0x83b3[235]]- _0x187fx5[_0x83b3[117]]/ 2;_0x187fx5[_0x83b3[236]]= _0x187fx9[_0x83b3[236]]- _0x187fx5[_0x83b3[119]]/ 2;_0x187fx4[_0x83b3[1724]](_0x187fx2,_0x187fx5)}}else {_0x187fx5= _0x187fx5[_0x83b3[238]](),_0x187fx5[_0x83b3[235]]+= dx,_0x187fx5[_0x83b3[236]]+= dy,_0x187fx4[_0x83b3[1724]](_0x187fx2,_0x187fx5)}};_0x187fx5= _0x187fx4[_0x83b3[262]](_0x187fx2);for(_0x187fx9= 0;_0x187fx9< _0x187fx5;_0x187fx9++){this[_0x83b3[2992]](_0x187fx4[_0x83b3[263]](_0x187fx2,_0x187fx9),_0x187fx3)}}};mxVertexHandler[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[1983]]= this[_0x83b3[2989]]= null;null!= this[_0x83b3[2988]]&& (this[_0x83b3[2988]][_0x83b3[515]](),this[_0x83b3[2988]]= null);null!= this[_0x83b3[2732]]&& (this[_0x83b3[2732]][_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[497],this[_0x83b3[2961]]= this[_0x83b3[2962]](this[_0x83b3[724]]),this[_0x83b3[1562]]= new mxRectangle(this[_0x83b3[2961]][_0x83b3[235]],this[_0x83b3[2961]][_0x83b3[236]],this[_0x83b3[2961]][_0x83b3[117]],this[_0x83b3[2961]][_0x83b3[119]]),this[_0x83b3[2932]]())};mxVertexHandler[_0x83b3[202]][_0x83b3[2526]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1721]](_0x187fx2);if(null!= _0x187fxa){if(_0x187fx5== mxEvent[_0x83b3[2987]]){_0x187fx5= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]],_0x187fx3= (this[_0x83b3[2972]][_0x83b3[1562]][_0x83b3[241]]()- this[_0x83b3[2739]])/ _0x187fx5,_0x187fx4= (this[_0x83b3[2972]][_0x83b3[1562]][_0x83b3[242]]()- this[_0x83b3[2740]])/ _0x187fx5,_0x187fxa= _0x187fxa[_0x83b3[238]](),null== _0x187fxa[_0x83b3[1368]]?_0x187fxa[_0x83b3[1368]]= new mxPoint(_0x187fx3,_0x187fx4):(_0x187fxa[_0x83b3[1368]][_0x83b3[235]]+= _0x187fx3,_0x187fxa[_0x83b3[1368]][_0x83b3[236]]+= _0x187fx4),this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1724]](_0x187fx2,_0x187fxa)}else {_0x187fx5= this[_0x83b3[2991]](_0x187fxa,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,1, new mxPoint(0,0));var _0x187fx12=mxUtils[_0x83b3[431]](this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]);if(0!= _0x187fx12){_0x187fx3= _0x187fx5[_0x83b3[241]]()- _0x187fxa[_0x83b3[241]]();_0x187fx4= _0x187fx5[_0x83b3[242]]()- _0x187fxa[_0x83b3[242]]();_0x187fx9= Math[_0x83b3[426]](_0x187fx12);var _0x187fx13=Math[_0x83b3[427]](_0x187fx12),_0x187fx12=_0x187fx9* _0x187fx3- _0x187fx13* _0x187fx4- _0x187fx3;_0x187fx3= _0x187fx13* _0x187fx3+ _0x187fx9* _0x187fx4- _0x187fx4;_0x187fx4= _0x187fx5[_0x83b3[235]]- _0x187fxa[_0x83b3[235]];var _0x187fx14=_0x187fx5[_0x83b3[236]]- _0x187fxa[_0x83b3[236]],_0x187fx15=_0x187fx9* _0x187fx4- _0x187fx13* _0x187fx14;_0x187fx9= _0x187fx13* _0x187fx4+ _0x187fx9* _0x187fx14;_0x187fx5[_0x83b3[235]]+= _0x187fx12;_0x187fx5[_0x83b3[236]]+= _0x187fx3;if(!this[_0x83b3[1179]][_0x83b3[1742]](_0x187fx2)&& (0!= _0x187fx12|| 0!= _0x187fx3)){_0x187fx4= _0x187fxa[_0x83b3[235]]- _0x187fx5[_0x83b3[235]]+ _0x187fx15,_0x187fx14= _0x187fxa[_0x83b3[236]]- _0x187fx5[_0x83b3[236]]+ _0x187fx9,this[_0x83b3[2993]](_0x187fx2,_0x187fx4,_0x187fx14)}};this[_0x83b3[1179]][_0x83b3[2526]](_0x187fx2,_0x187fx5)}}};mxVertexHandler[_0x83b3[202]][_0x83b3[2993]]= function(_0x187fx2,_0x187fx3,_0x187fx4){for(var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[262]](_0x187fx2),_0x187fxa=0;_0x187fxa< _0x187fx9;_0x187fxa++){var _0x187fx12=_0x187fx5[_0x83b3[263]](_0x187fx2,_0x187fxa);if(_0x187fx5[_0x83b3[1193]](_0x187fx12)){var _0x187fx13=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx12);null!= _0x187fx13&& !_0x187fx13[_0x83b3[1500]]&& (_0x187fx13= _0x187fx13[_0x83b3[238]](),_0x187fx13[_0x83b3[235]]+= _0x187fx3,_0x187fx13[_0x83b3[236]]+= _0x187fx4,_0x187fx5[_0x83b3[1724]](_0x187fx12,_0x187fx13))}}};mxVertexHandler[_0x83b3[202]][_0x83b3[2991]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){if(this[_0x83b3[2957]]){_0x187fx12= _0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]+ _0x187fx3;var _0x187fx13=_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]+ _0x187fx4;_0x187fx9&& (_0x187fx12= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx12/ _0x187fxa)* _0x187fxa,_0x187fx13= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx13/ _0x187fxa)* _0x187fxa);_0x187fxa= new mxRectangle(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]],0,0);_0x187fxa[_0x83b3[99]]( new mxRectangle(_0x187fx12,_0x187fx13,0,0));return _0x187fxa};var _0x187fx13=_0x187fx2[_0x83b3[235]]- _0x187fx12[_0x83b3[235]]* _0x187fxa,_0x187fx14=_0x187fx13+ _0x187fx2[_0x83b3[117]],_0x187fx15=_0x187fx2[_0x83b3[236]]- _0x187fx12[_0x83b3[236]]* _0x187fxa;_0x187fx2= _0x187fx15+ _0x187fx2[_0x83b3[119]];4< _0x187fx5?(_0x187fx2+= _0x187fx4,_0x187fx9&& (_0x187fx2= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2/ _0x187fxa)* _0x187fxa)):3> _0x187fx5&& (_0x187fx15+= _0x187fx4,_0x187fx9&& (_0x187fx15= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx15/ _0x187fxa)* _0x187fxa));if(0== _0x187fx5|| 3== _0x187fx5|| 5== _0x187fx5){_0x187fx13+= _0x187fx3,_0x187fx9&& (_0x187fx13= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx13/ _0x187fxa)* _0x187fxa)}else {if(2== _0x187fx5|| 4== _0x187fx5|| 7== _0x187fx5){_0x187fx14+= _0x187fx3,_0x187fx9&& (_0x187fx14= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx14/ _0x187fxa)* _0x187fxa)}};_0x187fx9= _0x187fx14- _0x187fx13;_0x187fx2-= _0x187fx15;0> _0x187fx9&& (_0x187fx13+= _0x187fx9,_0x187fx9= Math[_0x83b3[425]](_0x187fx9));0> _0x187fx2&& (_0x187fx15+= _0x187fx2,_0x187fx2= Math[_0x83b3[425]](_0x187fx2));return new mxRectangle(_0x187fx13+ _0x187fx12[_0x83b3[235]]* _0x187fxa,_0x187fx15+ _0x187fx12[_0x83b3[236]]* _0x187fxa,_0x187fx9,_0x187fx2)};mxVertexHandler[_0x83b3[202]][_0x83b3[258]]= function(){this[_0x83b3[2961]]= this[_0x83b3[2962]](this[_0x83b3[724]]);this[_0x83b3[1562]]= new mxRectangle(this[_0x83b3[724]][_0x83b3[235]],this[_0x83b3[724]][_0x83b3[236]],this[_0x83b3[724]][_0x83b3[117]],this[_0x83b3[724]][_0x83b3[119]]);var _0x187fx2=this[_0x83b3[724]];if(null!= this[_0x83b3[2964]]){var _0x187fx3=_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]],_0x187fx4=_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]];if(this[_0x83b3[2957]]){this[_0x83b3[2985]](this[_0x83b3[2964]][0],_0x187fx3,_0x187fx4)}else {var _0x187fx5=_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]/ 2,_0x187fx9=_0x187fx2[_0x83b3[236]]+ _0x187fx2[_0x83b3[119]]/ 2;if(1< this[_0x83b3[2964]][_0x83b3[67]]){var _0x187fxa=mxUtils[_0x83b3[431]](_0x187fx2[_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]),_0x187fx12=Math[_0x83b3[426]](_0x187fxa),_0x187fxa=Math[_0x83b3[427]](_0x187fxa),_0x187fx13= new mxPoint(_0x187fx2[_0x83b3[241]](),_0x187fx2[_0x83b3[242]]()),_0x187fx14=mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]]),_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][0],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx5;_0x187fx14[_0x83b3[236]]= _0x187fx2[_0x83b3[236]];_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][1],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx3;_0x187fx14[_0x83b3[236]]= _0x187fx2[_0x83b3[236]];_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][2],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx2[_0x83b3[235]];_0x187fx14[_0x83b3[236]]= _0x187fx9;_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][3],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx3;_0x187fx14[_0x83b3[236]]= _0x187fx9;_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][4],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx2[_0x83b3[235]];_0x187fx14[_0x83b3[236]]= _0x187fx4;_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][5],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx5;_0x187fx14[_0x83b3[236]]= _0x187fx4;_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][6],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);_0x187fx14[_0x83b3[235]]= _0x187fx3;_0x187fx14[_0x83b3[236]]= _0x187fx4;_0x187fx14= mxUtils[_0x83b3[432]](_0x187fx14,_0x187fx12,_0x187fxa,_0x187fx13);this[_0x83b3[2985]](this[_0x83b3[2964]][7],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]);this[_0x83b3[2985]](this[_0x83b3[2964]][8],_0x187fx5+ _0x187fx2[_0x83b3[2079]][_0x83b3[235]],_0x187fx9+ _0x187fx2[_0x83b3[2079]][_0x83b3[236]])}else {2<= this[_0x83b3[724]][_0x83b3[117]]&& 2<= this[_0x83b3[724]][_0x83b3[119]]?this[_0x83b3[2985]](this[_0x83b3[2964]][0],_0x187fx5+ _0x187fx2[_0x83b3[2079]][_0x83b3[235]],_0x187fx9+ _0x187fx2[_0x83b3[2079]][_0x83b3[236]]):this[_0x83b3[2985]](this[_0x83b3[2964]][0],_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]])}}};null!= this[_0x83b3[2973]]&& (_0x187fxa= mxUtils[_0x83b3[431]](this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]),_0x187fx12= Math[_0x83b3[426]](_0x187fxa),_0x187fxa= Math[_0x83b3[427]](_0x187fxa),_0x187fx13= new mxPoint(this[_0x83b3[724]][_0x83b3[241]](),this[_0x83b3[724]][_0x83b3[242]]()),_0x187fx14= mxUtils[_0x83b3[432]]( new mxPoint(_0x187fx2[_0x83b3[235]]+ _0x187fx2[_0x83b3[117]]/ 2,_0x187fx2[_0x83b3[236]]- 16),_0x187fx12,_0x187fxa,_0x187fx13),this[_0x83b3[2985]](this[_0x83b3[2973]],_0x187fx14[_0x83b3[235]],_0x187fx14[_0x83b3[236]]));this[_0x83b3[2732]][_0x83b3[603]]= Number(this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]);this[_0x83b3[2932]]()};mxVertexHandler[_0x83b3[202]][_0x83b3[2932]]= function(){null!= this[_0x83b3[2988]]&& (this[_0x83b3[2988]][_0x83b3[1562]]= this[_0x83b3[1562]],this[_0x83b3[2988]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]]&& (this[_0x83b3[2988]][_0x83b3[1562]][_0x83b3[117]]= Math[_0x83b3[160]](0,this[_0x83b3[2988]][_0x83b3[1562]][_0x83b3[117]]- 1),this[_0x83b3[2988]][_0x83b3[1562]][_0x83b3[119]]= Math[_0x83b3[160]](0,this[_0x83b3[2988]][_0x83b3[1562]][_0x83b3[119]]- 1)),this[_0x83b3[2988]][_0x83b3[603]]= Number(this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]),this[_0x83b3[2988]][_0x83b3[258]]());this[_0x83b3[2732]][_0x83b3[1562]]= this[_0x83b3[1562]];this[_0x83b3[2732]][_0x83b3[258]]()};mxVertexHandler[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[2988]]&& (this[_0x83b3[2988]][_0x83b3[515]](),this[_0x83b3[2988]]= null);this[_0x83b3[2732]][_0x83b3[515]]();this[_0x83b3[2972]]= this[_0x83b3[2732]]= null;if(null!= this[_0x83b3[2964]]){for(var _0x187fx2=0;_0x187fx2< this[_0x83b3[2964]][_0x83b3[67]];_0x187fx2++){this[_0x83b3[2964]][_0x187fx2][_0x83b3[515]](),this[_0x83b3[2964]][_0x187fx2]= null}}};function mxEdgeHandler(_0x187fx2){null!= _0x187fx2&& (this[_0x83b3[724]]= _0x187fx2,this[_0x83b3[176]]())}mxEdgeHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[724]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[2885]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[2886]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[267]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[253]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[2994]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[2972]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[2797]]= !0;mxEdgeHandler[_0x83b3[202]][_0x83b3[2771]]= !1;mxEdgeHandler[_0x83b3[202]][_0x83b3[2995]]= !1;mxEdgeHandler[_0x83b3[202]][_0x83b3[574]]= !1;mxEdgeHandler[_0x83b3[202]][_0x83b3[2958]]= !0;mxEdgeHandler[_0x83b3[202]][_0x83b3[2996]]= !1;mxEdgeHandler[_0x83b3[202]][_0x83b3[2959]]= null;mxEdgeHandler[_0x83b3[202]][_0x83b3[2353]]= 0;mxEdgeHandler[_0x83b3[202]][_0x83b3[176]]= function(){this[_0x83b3[1179]]= this[_0x83b3[724]][_0x83b3[441]][_0x83b3[1179]];this[_0x83b3[2885]]= this[_0x83b3[1689]]();this[_0x83b3[2886]]= new mxConstraintHandler(this[_0x83b3[1179]]);this[_0x83b3[1525]]= [];this[_0x83b3[2997]]= this[_0x83b3[2998]](this[_0x83b3[724]]);this[_0x83b3[253]]= this[_0x83b3[2963]](this[_0x83b3[2997]]);this[_0x83b3[253]][_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[2334]]:mxConstants[_0x83b3[508]];this[_0x83b3[253]][_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]());this[_0x83b3[253]][_0x83b3[1564]]= 0;this[_0x83b3[253]][_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[2831]];mxEvent[_0x83b3[169]](this[_0x83b3[253]][_0x83b3[252]],_0x83b3[760],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[761]](_0x187fx2,this[_0x83b3[724]][_0x83b3[246]])}));mxEvent[_0x83b3[759]](this[_0x83b3[253]][_0x83b3[252]],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[2771]]&& this[_0x83b3[2999]](_0x187fx2)?this[_0x83b3[3000]](this[_0x83b3[724]],_0x187fx2):this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x187fx2,this[_0x83b3[724]]))}),mxUtils[_0x83b3[885]](this,function(_0x187fx2){var _0x187fx4=this[_0x83b3[724]][_0x83b3[246]];if(null!= this[_0x83b3[1983]]){var _0x187fx5=mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx2),mxEvent[_0x83b3[733]](_0x187fx2)),_0x187fx4=this[_0x83b3[1179]][_0x83b3[999]](_0x187fx5[_0x83b3[235]],_0x187fx5[_0x83b3[236]]);this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx4)&& this[_0x83b3[1179]][_0x83b3[2688]](_0x187fx4,_0x187fx5[_0x83b3[235]],_0x187fx5[_0x83b3[236]])&& (_0x187fx4= null)};this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x187fx2,this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx4)))}),mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x187fx2,this[_0x83b3[724]]))}));this[_0x83b3[574]]= null!= this[_0x83b3[724]][_0x83b3[963]]&& this[_0x83b3[724]][_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]];if(!this[_0x83b3[574]]){var _0x187fx2=this[_0x83b3[724]][_0x83b3[2089]](!0);null!= _0x187fx2&& (this[_0x83b3[574]]= null!= _0x187fx2[_0x83b3[963]]&& _0x187fx2[_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]]);this[_0x83b3[574]]|| (_0x187fx2= this[_0x83b3[724]][_0x83b3[2089]](!1),null!= _0x187fx2&& (this[_0x83b3[574]]= null!= _0x187fx2[_0x83b3[963]]&& _0x187fx2[_0x83b3[963]][_0x83b3[252]][_0x83b3[265]]== this[_0x83b3[1179]][_0x83b3[526]]))};if(this[_0x83b3[1179]][_0x83b3[2694]]()< mxGraphHandler[_0x83b3[202]][_0x83b3[2795]]|| 0>= mxGraphHandler[_0x83b3[202]][_0x83b3[2795]]){this[_0x83b3[2994]]= this[_0x83b3[3001]]()};this[_0x83b3[685]]= new mxPoint(this[_0x83b3[724]][_0x83b3[2079]][_0x83b3[235]],this[_0x83b3[724]][_0x83b3[2079]][_0x83b3[236]]);this[_0x83b3[2972]]= new mxRectangleShape( new mxRectangle,mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR);this[_0x83b3[2972]][_0x83b3[1229]]= !1;this[_0x83b3[3002]](this[_0x83b3[2972]]);this[_0x83b3[2972]][_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[3003]];mxEvent[_0x83b3[2733]](this[_0x83b3[2972]][_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);this[_0x83b3[258]]()};mxEdgeHandler[_0x83b3[202]][_0x83b3[2999]]= function(_0x187fx2){return mxEvent[_0x83b3[774]](_0x187fx2)};mxEdgeHandler[_0x83b3[202]][_0x83b3[3004]]= function(_0x187fx2){return mxEvent[_0x83b3[774]](_0x187fx2)};mxEdgeHandler[_0x83b3[202]][_0x83b3[2998]]= function(_0x187fx2){return _0x187fx2[_0x83b3[439]]};mxEdgeHandler[_0x83b3[202]][_0x83b3[2963]]= function(_0x187fx2){_0x187fx2= new mxPolyline(_0x187fx2,this[_0x83b3[2975]]());_0x187fx2[_0x83b3[1307]]= this[_0x83b3[2976]]();_0x187fx2[_0x83b3[1522]]= this[_0x83b3[2977]]();return _0x187fx2};mxEdgeHandler[_0x83b3[202]][_0x83b3[2975]]= function(){return mxConstants[_0x83b3[3005]]};mxEdgeHandler[_0x83b3[202]][_0x83b3[2976]]= function(){return mxConstants[_0x83b3[3006]]};mxEdgeHandler[_0x83b3[202]][_0x83b3[2977]]= function(){return mxConstants[_0x83b3[3007]]};mxEdgeHandler[_0x83b3[202]][_0x83b3[2907]]= function(_0x187fx2){return !0};mxEdgeHandler[_0x83b3[202]][_0x83b3[1689]]= function(){var _0x187fx2= new mxCellMarker(this[_0x83b3[1179]]),_0x187fx3=this;_0x187fx2[_0x83b3[736]]= function(_0x187fx2){var _0x187fx5=mxCellMarker[_0x83b3[202]][_0x83b3[736]][_0x83b3[183]](this,arguments);if(!_0x187fx3[_0x83b3[2907]](_0x187fx5)){return null};var _0x187fx9=_0x187fx3[_0x83b3[1179]][_0x83b3[502]]();if(_0x187fx5== _0x187fx3[_0x83b3[724]][_0x83b3[246]]|| null!= _0x187fx5&& !_0x187fx3[_0x83b3[1179]][_0x83b3[2405]]&& _0x187fx9[_0x83b3[250]](_0x187fx5)){_0x187fx5= null};return _0x187fx5};_0x187fx2[_0x83b3[2872]]= function(_0x187fx2){var _0x187fx5=_0x187fx3[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx3[_0x83b3[1179]][_0x83b3[441]][_0x83b3[2292]](_0x187fx2,_0x187fx3[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](_0x187fx5[_0x83b3[1709]](_0x187fx3[_0x83b3[724]][_0x83b3[246]],!_0x187fx3[_0x83b3[729]])),!_0x187fx3[_0x83b3[729]]),_0x187fx5=null!= _0x187fx5?_0x187fx5[_0x83b3[246]]:null;_0x187fx3[_0x83b3[267]]= _0x187fx3[_0x83b3[2909]](_0x187fx3[_0x83b3[729]]?_0x187fx2[_0x83b3[246]]:_0x187fx5,_0x187fx3[_0x83b3[729]]?_0x187fx5:_0x187fx2[_0x83b3[246]]);return null== _0x187fx3[_0x83b3[267]]};return _0x187fx2};mxEdgeHandler[_0x83b3[202]][_0x83b3[2909]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[1179]][_0x83b3[2500]](this[_0x83b3[724]][_0x83b3[246]],_0x187fx2,_0x187fx3)};mxEdgeHandler[_0x83b3[202]][_0x83b3[3001]]= function(){for(var _0x187fx2=this[_0x83b3[724]][_0x83b3[246]],_0x187fx3=[],_0x187fx4=0;_0x187fx4< this[_0x83b3[2997]][_0x83b3[67]];_0x187fx4++){if(this[_0x83b3[3008]](_0x187fx4)){var _0x187fx5=_0x187fx4== this[_0x83b3[2997]][_0x83b3[67]]- 1;if((_0x187fx5= 0== _0x187fx4|| _0x187fx5)|| this[_0x83b3[1179]][_0x83b3[2662]](_0x187fx2)){var _0x187fx9=this[_0x83b3[3009]](_0x187fx4);this[_0x83b3[3002]](_0x187fx9);mxClient[_0x83b3[754]]&& _0x187fx9[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130]);if(this[_0x83b3[3010]](_0x187fx4)){if(mxClient[_0x83b3[754]]){var _0x187fxa=mxUtils[_0x83b3[885]](this,function(_0x187fx2){_0x187fx2= mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx2),mxEvent[_0x83b3[733]](_0x187fx2));return this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[248]](this[_0x83b3[1179]][_0x83b3[999]](_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]]))});mxEvent[_0x83b3[2733]](_0x187fx9[_0x83b3[252]],this[_0x83b3[1179]],_0x187fxa)}else {_0x187fx9[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[3011]],mxEvent[_0x83b3[2733]](_0x187fx9[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]])}};_0x187fx3[_0x83b3[207]](_0x187fx9);_0x187fx5|| (this[_0x83b3[1525]][_0x83b3[207]]( new mxPoint(0,0)),_0x187fx9[_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188])}}};return _0x187fx3};mxEdgeHandler[_0x83b3[202]][_0x83b3[3010]]= function(_0x187fx2){return !0};mxEdgeHandler[_0x83b3[202]][_0x83b3[3008]]= function(_0x187fx2){return !0};mxEdgeHandler[_0x83b3[202]][_0x83b3[3009]]= function(_0x187fx2){if(null!= this[_0x83b3[2959]]){return new mxImageShape( new mxRectangle(0,0,this[_0x83b3[2959]][_0x83b3[117]],this[_0x83b3[2959]][_0x83b3[119]]),this[_0x83b3[2959]][_0x83b3[390]])};_0x187fx2= mxConstants[_0x83b3[2974]];this[_0x83b3[574]]&& (_0x187fx2-= 1);return new mxRectangleShape( new mxRectangle(0,0,_0x187fx2,_0x187fx2),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};mxEdgeHandler[_0x83b3[202]][_0x83b3[3002]]= function(_0x187fx2){this[_0x83b3[574]]?(_0x187fx2[_0x83b3[507]]= mxConstants[_0x83b3[1656]],_0x187fx2[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[526]])):(_0x187fx2[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[2334]]:mxConstants[_0x83b3[508]],_0x187fx2[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]()))};mxEdgeHandler[_0x83b3[202]][_0x83b3[2986]]= function(_0x187fx2){if(null!= this[_0x83b3[2994]]){for(var _0x187fx3=this[_0x83b3[2353]],_0x187fx3=this[_0x83b3[2958]]&& (mxClient[_0x83b3[80]]|| 0< _0x187fx3)? new mxRectangle(_0x187fx2[_0x83b3[734]]()- _0x187fx3,_0x187fx2[_0x83b3[735]]()- _0x187fx3,2* _0x187fx3,2* _0x187fx3):null,_0x187fx4=0;_0x187fx4< this[_0x83b3[2994]][_0x83b3[67]];_0x187fx4++){if((_0x187fx2[_0x83b3[729]](this[_0x83b3[2994]][_0x187fx4])|| null!= _0x187fx3&& mxUtils[_0x83b3[1825]](this[_0x83b3[2994]][_0x187fx4][_0x83b3[1562]],_0x187fx3))&& _0x83b3[188]!= this[_0x83b3[2994]][_0x187fx4][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]){return _0x187fx4}}};if(_0x187fx2[_0x83b3[729]](this[_0x83b3[2972]])&& _0x83b3[188]!= this[_0x83b3[2972]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]|| _0x187fx2[_0x83b3[729]](this[_0x83b3[724]][_0x83b3[963]])){if(!mxClient[_0x83b3[75]]&& !mxClient[_0x83b3[76]]|| _0x83b3[2822]!= _0x187fx2[_0x83b3[728]]()[_0x83b3[301]]){return mxEvent[_0x83b3[2987]]}};return null};mxEdgeHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null,_0x187fx4=this[_0x83b3[2986]](_0x187fx3);null!= _0x187fx4&& (!_0x187fx3[_0x83b3[721]]()&& this[_0x83b3[1179]][_0x83b3[994]]()&& !this[_0x83b3[1179]][_0x83b3[2579]](_0x187fx3[_0x83b3[727]]()))&& (this[_0x83b3[2995]]&& this[_0x83b3[3004]](_0x187fx3[_0x83b3[727]]())?this[_0x83b3[3012]](this[_0x83b3[724]],_0x187fx4):(_0x187fx4!= mxEvent[_0x83b3[2987]]|| this[_0x83b3[1179]][_0x83b3[2628]](_0x187fx3[_0x83b3[736]]()))&& this[_0x83b3[861]](_0x187fx3[_0x83b3[730]](),_0x187fx3[_0x83b3[732]](),_0x187fx4),_0x187fx3[_0x83b3[722]]())};mxEdgeHandler[_0x83b3[202]][_0x83b3[861]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[2739]]= _0x187fx2;this[_0x83b3[2740]]= _0x187fx3;this[_0x83b3[729]]= null== this[_0x83b3[2994]]?!1:0== _0x187fx4;this[_0x83b3[3013]]= null== this[_0x83b3[2994]]?!1:_0x187fx4== this[_0x83b3[2994]][_0x83b3[67]]- 1;this[_0x83b3[3014]]= _0x187fx4== mxEvent[_0x83b3[2987]];if(this[_0x83b3[729]]|| this[_0x83b3[3013]]){if(_0x187fx2= this[_0x83b3[724]][_0x83b3[246]],_0x187fx3= this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[1709]](_0x187fx2,this[_0x83b3[729]]),null== _0x187fx3&& this[_0x83b3[1179]][_0x83b3[2661]](_0x187fx2,this[_0x83b3[729]])|| null!= _0x187fx3&& this[_0x83b3[1179]][_0x83b3[2551]](_0x187fx2,_0x187fx3,this[_0x83b3[729]])){this[_0x83b3[1983]]= _0x187fx4}}else {this[_0x83b3[1983]]= _0x187fx4}};mxEdgeHandler[_0x83b3[202]][_0x83b3[3015]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[724]][_0x83b3[238]]()};mxEdgeHandler[_0x83b3[202]][_0x83b3[3016]]= function(){return this[_0x83b3[1179]][_0x83b3[1020]]* this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]]/ 2};mxEdgeHandler[_0x83b3[202]][_0x83b3[2689]]= function(_0x187fx2){var _0x187fx3= new mxPoint(_0x187fx2[_0x83b3[734]](),_0x187fx2[_0x83b3[735]]()),_0x187fx4=this[_0x83b3[3016]](),_0x187fx5=this[_0x83b3[1179]][_0x83b3[249]](),_0x187fx9=!1,_0x187fxa=!1;if(this[_0x83b3[2996]]&& 0< _0x187fx4){var _0x187fx12=function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx5=_0x187fx2[_0x83b3[235]];Math[_0x83b3[425]](_0x187fx3[_0x83b3[235]]- _0x187fx5)< _0x187fx4&& (_0x187fx3[_0x83b3[235]]= _0x187fx5,_0x187fx9= !0);_0x187fx2= _0x187fx2[_0x83b3[236]];Math[_0x83b3[425]](_0x187fx3[_0x83b3[236]]- _0x187fx2)< _0x187fx4&& (_0x187fx3[_0x83b3[236]]= _0x187fx2,_0x187fxa= !0)}},_0x187fx13=function(_0x187fx2){null!= _0x187fx2&& _0x187fx12[_0x83b3[239]](this, new mxPoint(_0x187fx5[_0x83b3[2230]](_0x187fx2),_0x187fx5[_0x83b3[2228]](_0x187fx2)))};_0x187fx13[_0x83b3[239]](this,this[_0x83b3[724]][_0x83b3[2089]](!0));_0x187fx13[_0x83b3[239]](this,this[_0x83b3[724]][_0x83b3[2089]](!1));if(null!= this[_0x83b3[2997]]){for(_0x187fx13= 0;_0x187fx13< this[_0x83b3[2997]];_0x187fx13++){_0x187fx13!= this[_0x83b3[1983]]&& _0x187fx12[_0x83b3[239]](this,this[_0x83b3[2997]][_0x187fx13])}}};this[_0x83b3[1179]][_0x83b3[1018]](_0x187fx2[_0x83b3[727]]())&& (_0x187fx2= _0x187fx5[_0x83b3[255]],_0x187fx13= _0x187fx5[_0x83b3[513]],_0x187fx9|| (_0x187fx3[_0x83b3[235]]= (this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx3[_0x83b3[235]]/ _0x187fx2- _0x187fx13[_0x83b3[235]])+ _0x187fx13[_0x83b3[235]])* _0x187fx2),_0x187fxa|| (_0x187fx3[_0x83b3[236]]= (this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx3[_0x83b3[236]]/ _0x187fx2- _0x187fx13[_0x83b3[236]])+ _0x187fx13[_0x83b3[236]])* _0x187fx2));return _0x187fx3};mxEdgeHandler[_0x83b3[202]][_0x83b3[3017]]= function(_0x187fx2){this[_0x83b3[2886]][_0x83b3[2729]](_0x187fx2,this[_0x83b3[729]]);this[_0x83b3[2885]][_0x83b3[2871]](_0x187fx2);_0x187fx2= this[_0x83b3[2885]][_0x83b3[2868]]();var _0x187fx3=null;null!= this[_0x83b3[2886]][_0x83b3[2919]]&& null!= this[_0x83b3[2886]][_0x83b3[2920]]&& this[_0x83b3[2885]][_0x83b3[862]]();null!= _0x187fx2?_0x187fx3= _0x187fx2:null!= this[_0x83b3[2886]][_0x83b3[2920]]&& null!= this[_0x83b3[2886]][_0x83b3[2919]]&& (_0x187fx3= this[_0x83b3[2886]][_0x83b3[2919]]);return _0x187fx3};mxEdgeHandler[_0x83b3[202]][_0x83b3[3018]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[1198]](this[_0x83b3[724]][_0x83b3[246]]),_0x187fx3=null!= _0x187fx3[_0x83b3[1525]]?_0x187fx3[_0x83b3[1525]][_0x83b3[1853]]():null;!this[_0x83b3[729]]&& !this[_0x83b3[3013]]?(this[_0x83b3[2196]](_0x187fx2,!1),null== _0x187fx3?_0x187fx3= [_0x187fx2]:_0x187fx3[this[_0x83b3[1983]]- 1]= _0x187fx2):this[_0x83b3[1179]][_0x83b3[2401]]&& (_0x187fx3= null);return _0x187fx3};mxEdgeHandler[_0x83b3[202]][_0x83b3[3019]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[729]]?_0x187fx4:this[_0x83b3[724]][_0x83b3[2089]](!0),_0x187fx9=this[_0x83b3[3013]]?_0x187fx4:this[_0x83b3[724]][_0x83b3[2089]](!1),_0x187fxa=this[_0x83b3[1179]][_0x83b3[2288]](_0x187fx2,_0x187fx5,!0),_0x187fx12=this[_0x83b3[1179]][_0x83b3[2288]](_0x187fx2,_0x187fx9,!1),_0x187fx13=this[_0x83b3[2886]][_0x83b3[2920]];null== _0x187fx13&& (_0x187fx13= new mxConnectionConstraint);this[_0x83b3[729]]?_0x187fxa= _0x187fx13:this[_0x83b3[3013]]&& (_0x187fx12= _0x187fx13);(!this[_0x83b3[729]]|| null!= _0x187fx5)&& _0x187fx2[_0x83b3[441]][_0x83b3[2289]](_0x187fx2,_0x187fx5,!0,_0x187fxa);(!this[_0x83b3[3013]]|| null!= _0x187fx9)&& _0x187fx2[_0x83b3[441]][_0x83b3[2289]](_0x187fx2,_0x187fx9,!1,_0x187fx12);if((this[_0x83b3[729]]|| this[_0x83b3[3013]])&& null== _0x187fx4){_0x187fx2[_0x83b3[2088]](_0x187fx3,this[_0x83b3[729]]),null== this[_0x83b3[2885]][_0x83b3[2869]]()&& (this[_0x83b3[267]]= this[_0x83b3[1179]][_0x83b3[2406]]?null:_0x83b3[110])};_0x187fx2[_0x83b3[441]][_0x83b3[2282]](_0x187fx2,this[_0x83b3[1525]],_0x187fx5,_0x187fx9);_0x187fx2[_0x83b3[441]][_0x83b3[2283]](_0x187fx2,_0x187fx5,_0x187fx9)};mxEdgeHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){if(null!= this[_0x83b3[1983]]&& null!= this[_0x83b3[2885]]){var _0x187fx4=this[_0x83b3[2689]](_0x187fx3);if(this[_0x83b3[3014]]){this[_0x83b3[685]][_0x83b3[235]]= _0x187fx4[_0x83b3[235]],this[_0x83b3[685]][_0x83b3[236]]= _0x187fx4[_0x83b3[236]]}else {this[_0x83b3[1525]]= this[_0x83b3[3018]](_0x187fx4);var _0x187fx5=this[_0x83b3[729]]|| this[_0x83b3[3013]]?this[_0x83b3[3017]](_0x187fx3):null,_0x187fx9=this[_0x83b3[3015]](_0x187fx4,null!= _0x187fx5?_0x187fx5[_0x83b3[246]]:null);this[_0x83b3[3019]](_0x187fx9,_0x187fx4,_0x187fx5);this[_0x83b3[3020]](null== this[_0x83b3[267]]?this[_0x83b3[2885]][_0x83b3[2853]]:this[_0x83b3[2885]][_0x83b3[2855]]);this[_0x83b3[2997]]= _0x187fx9[_0x83b3[439]];this[_0x83b3[1124]]= !0};this[_0x83b3[2932]]();mxEvent[_0x83b3[722]](_0x187fx3[_0x83b3[727]]());_0x187fx3[_0x83b3[722]]()}else {mxClient[_0x83b3[80]]&& null!= this[_0x83b3[2986]](_0x187fx3)&& _0x187fx3[_0x83b3[722]](!1)}};mxEdgeHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){if(null!= this[_0x83b3[1983]]&& null!= this[_0x83b3[2885]]){var _0x187fx4=this[_0x83b3[724]][_0x83b3[246]];if(_0x187fx3[_0x83b3[730]]()!= this[_0x83b3[2739]]|| _0x187fx3[_0x83b3[732]]()!= this[_0x83b3[2740]]){if(null!= this[_0x83b3[267]]){0< this[_0x83b3[267]][_0x83b3[67]]&& this[_0x83b3[1179]][_0x83b3[2580]](this[_0x83b3[267]])}else {if(this[_0x83b3[3014]]){this[_0x83b3[3021]](this[_0x83b3[724]],this[_0x83b3[685]][_0x83b3[235]],this[_0x83b3[685]][_0x83b3[236]])}else {if(this[_0x83b3[729]]|| this[_0x83b3[3013]]){var _0x187fx5=null;null!= this[_0x83b3[2886]][_0x83b3[2920]]&& null!= this[_0x83b3[2886]][_0x83b3[2919]]&& (_0x187fx5= this[_0x83b3[2886]][_0x83b3[2919]][_0x83b3[246]]);null== _0x187fx5&& this[_0x83b3[2885]][_0x83b3[2867]]()&& (_0x187fx5= this[_0x83b3[2885]][_0x83b3[2861]][_0x83b3[246]]);if(null!= _0x187fx5){_0x187fx4= this[_0x83b3[807]](_0x187fx4,_0x187fx5,this[_0x83b3[729]],this[_0x83b3[1179]][_0x83b3[2574]](_0x187fx3[_0x83b3[727]]())&& this[_0x83b3[2797]]&& this[_0x83b3[1179]][_0x83b3[2617]](),_0x187fx3)}else {if(this[_0x83b3[1179]][_0x83b3[2530]]()){_0x187fx5= this[_0x83b3[2997]][this[_0x83b3[729]]?0:this[_0x83b3[2997]][_0x83b3[67]]- 1];_0x187fx5[_0x83b3[235]]= _0x187fx5[_0x83b3[235]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]]- this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[513]][_0x83b3[235]];_0x187fx5[_0x83b3[236]]= _0x187fx5[_0x83b3[236]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]]- this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[513]][_0x83b3[236]];var _0x187fx9=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](_0x187fx4));null!= _0x187fx9&& (_0x187fx5[_0x83b3[235]]-= _0x187fx9[_0x83b3[2078]][_0x83b3[235]],_0x187fx5[_0x83b3[236]]-= _0x187fx9[_0x83b3[2078]][_0x83b3[236]]);_0x187fx5[_0x83b3[235]]-= this[_0x83b3[1179]][_0x83b3[1136]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]];_0x187fx5[_0x83b3[236]]-= this[_0x83b3[1179]][_0x83b3[1137]]/ this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]];this[_0x83b3[3022]](_0x187fx4,_0x187fx5,this[_0x83b3[729]])}}}else {this[_0x83b3[1124]]?this[_0x83b3[3023]](_0x187fx4,this[_0x83b3[1525]]):(this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[2263]](this[_0x83b3[724]][_0x83b3[246]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[2259]](this[_0x83b3[724]][_0x83b3[246]]))}}}};null!= this[_0x83b3[2885]]&& (this[_0x83b3[862]](),_0x187fx4!= this[_0x83b3[724]][_0x83b3[246]]&& this[_0x83b3[1179]][_0x83b3[2450]](_0x187fx4));_0x187fx3[_0x83b3[722]]()}};mxEdgeHandler[_0x83b3[202]][_0x83b3[862]]= function(){this[_0x83b3[1525]]= this[_0x83b3[685]]= this[_0x83b3[1983]]= this[_0x83b3[267]]= null;this[_0x83b3[3013]]= this[_0x83b3[729]]= this[_0x83b3[3014]]= this[_0x83b3[1124]]= !1;this[_0x83b3[2885]][_0x83b3[862]]();this[_0x83b3[2886]][_0x83b3[862]]();this[_0x83b3[3020]](mxConstants.EDGE_SELECTION_COLOR);this[_0x83b3[258]]()};mxEdgeHandler[_0x83b3[202]][_0x83b3[3020]]= function(_0x187fx2){null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[1336]]= _0x187fx2)};mxEdgeHandler[_0x83b3[202]][_0x83b3[2196]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[518]](),_0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[512]]();_0x187fx3&& (_0x187fx2[_0x83b3[235]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[235]]),_0x187fx2[_0x83b3[236]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[236]]));_0x187fx2[_0x83b3[235]]= Math[_0x83b3[488]](_0x187fx2[_0x83b3[235]]/ _0x187fx4- _0x187fx5[_0x83b3[235]]);_0x187fx2[_0x83b3[236]]= Math[_0x83b3[488]](_0x187fx2[_0x83b3[236]]/ _0x187fx4- _0x187fx5[_0x83b3[236]]);_0x187fx4= this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1197]](this[_0x83b3[724]][_0x83b3[246]]));null!= _0x187fx4&& (_0x187fx2[_0x83b3[235]]-= _0x187fx4[_0x83b3[2078]][_0x83b3[235]],_0x187fx2[_0x83b3[236]]-= _0x187fx4[_0x83b3[2078]][_0x83b3[236]]);return _0x187fx2};mxEdgeHandler[_0x83b3[202]][_0x83b3[3021]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[1721]](_0x187fx2[_0x83b3[246]]);if(null!= _0x187fx9){var _0x187fx9=_0x187fx9[_0x83b3[238]](),_0x187fxa=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[2308]](_0x187fx2,_0x187fx3,_0x187fx4);_0x187fx9[_0x83b3[235]]= _0x187fxa[_0x83b3[235]];_0x187fx9[_0x83b3[236]]= _0x187fxa[_0x83b3[236]];var _0x187fx12=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]];_0x187fx9[_0x83b3[1368]]= new mxPoint(0,0);_0x187fxa= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[245]](_0x187fx2,_0x187fx9);_0x187fx9[_0x83b3[1368]]= new mxPoint((_0x187fx3- _0x187fxa[_0x83b3[235]])/ _0x187fx12,(_0x187fx4- _0x187fxa[_0x83b3[236]])/ _0x187fx12);_0x187fx5[_0x83b3[1724]](_0x187fx2[_0x83b3[246]],_0x187fx9)}};mxEdgeHandler[_0x83b3[202]][_0x83b3[807]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx9= this[_0x83b3[1179]][_0x83b3[502]]();var _0x187fxa=_0x187fx9[_0x83b3[1197]](_0x187fx2);_0x187fx9[_0x83b3[473]]();try{if(_0x187fx5){var _0x187fx12=_0x187fx2[_0x83b3[238]]();_0x187fx9[_0x83b3[99]](_0x187fxa,_0x187fx12,_0x187fx9[_0x83b3[262]](_0x187fxa));var _0x187fx13=_0x187fx9[_0x83b3[1709]](_0x187fx2,!_0x187fx4);this[_0x83b3[1179]][_0x83b3[851]](_0x187fx12,_0x187fx13,!_0x187fx4);_0x187fx2= _0x187fx12};var _0x187fx14=this[_0x83b3[2886]][_0x83b3[2920]];null== _0x187fx14&& (_0x187fx14= new mxConnectionConstraint);this[_0x83b3[1179]][_0x83b3[851]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx14)}finally{_0x187fx9[_0x83b3[476]]()};return _0x187fx2};mxEdgeHandler[_0x83b3[202]][_0x83b3[3022]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[1721]](_0x187fx2);if(null!= _0x187fx9){_0x187fx5[_0x83b3[473]]();try{_0x187fx9= _0x187fx9[_0x83b3[238]](),_0x187fx9[_0x83b3[2007]](_0x187fx3,_0x187fx4),_0x187fx5[_0x83b3[1724]](_0x187fx2,_0x187fx9),this[_0x83b3[1179]][_0x83b3[851]](_0x187fx2,null,_0x187fx4, new mxConnectionConstraint)}finally{_0x187fx5[_0x83b3[476]]()}}};mxEdgeHandler[_0x83b3[202]][_0x83b3[3023]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx5=_0x187fx4[_0x83b3[1721]](_0x187fx2);null!= _0x187fx5&& (_0x187fx5= _0x187fx5[_0x83b3[238]](),_0x187fx5[_0x83b3[1525]]= _0x187fx3,_0x187fx4[_0x83b3[1724]](_0x187fx2,_0x187fx5))};mxEdgeHandler[_0x83b3[202]][_0x83b3[3000]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=mxUtils[_0x83b3[2196]](this[_0x83b3[1179]][_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx3),mxEvent[_0x83b3[733]](_0x187fx3)),_0x187fx5=this[_0x83b3[1179]][_0x83b3[1018]](_0x187fx3);this[_0x83b3[2196]](_0x187fx4,_0x187fx5);this[_0x83b3[3024]](_0x187fx2,_0x187fx4[_0x83b3[235]],_0x187fx4[_0x83b3[236]]);mxEvent[_0x83b3[722]](_0x187fx3)};mxEdgeHandler[_0x83b3[202]][_0x83b3[3024]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[1179]][_0x83b3[1198]](_0x187fx2[_0x83b3[246]]);_0x187fx3= new mxPoint(_0x187fx3,_0x187fx4);if(null!= _0x187fx5){_0x187fx5= _0x187fx5[_0x83b3[238]]();_0x187fx4= this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[513]];var _0x187fx9=this[_0x83b3[1179]][_0x83b3[441]][_0x83b3[255]];_0x187fx4= mxUtils[_0x83b3[3025]](_0x187fx2,(_0x187fx3[_0x83b3[235]]+ _0x187fx4[_0x83b3[235]])* _0x187fx9,(_0x187fx3[_0x83b3[236]]+ _0x187fx4[_0x83b3[236]])* _0x187fx9);null== _0x187fx5[_0x83b3[1525]]?_0x187fx5[_0x83b3[1525]]= [_0x187fx3]:_0x187fx5[_0x83b3[1525]][_0x83b3[300]](_0x187fx4,0,_0x187fx3);this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1724]](_0x187fx2[_0x83b3[246]],_0x187fx5);this[_0x83b3[515]]();this[_0x83b3[176]]()}};mxEdgeHandler[_0x83b3[202]][_0x83b3[3012]]= function(_0x187fx2,_0x187fx3){if(0< _0x187fx3&& _0x187fx3< this[_0x83b3[2997]][_0x83b3[67]]- 1){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[1198]](this[_0x83b3[724]][_0x83b3[246]]);null!= _0x187fx4&& null!= _0x187fx4[_0x83b3[1525]]&& (_0x187fx4= _0x187fx4[_0x83b3[238]](),_0x187fx4[_0x83b3[1525]][_0x83b3[300]](_0x187fx3- 1,1),this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1724]](_0x187fx2[_0x83b3[246]],_0x187fx4),this[_0x83b3[515]](),this[_0x83b3[176]]())}};mxEdgeHandler[_0x83b3[202]][_0x83b3[3026]]= function(_0x187fx2){_0x187fx2= 0== _0x187fx2;var _0x187fx3=this[_0x83b3[724]][_0x83b3[246]],_0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1709]](_0x187fx3,_0x187fx2),_0x187fx5=mxConstants[_0x83b3[2984]];null!= _0x187fx4&& !this[_0x83b3[1179]][_0x83b3[2551]](_0x187fx3,_0x187fx4,_0x187fx2)|| null== _0x187fx4&& !this[_0x83b3[1179]][_0x83b3[2661]](_0x187fx3,_0x187fx2)?_0x187fx5= mxConstants[_0x83b3[3027]]:null!= _0x187fx4&& this[_0x83b3[1179]][_0x83b3[2551]](_0x187fx3,_0x187fx4,_0x187fx2)&& (_0x187fx5= mxConstants[_0x83b3[3028]]);return _0x187fx5};mxEdgeHandler[_0x83b3[202]][_0x83b3[258]]= function(){this[_0x83b3[2997]]= this[_0x83b3[724]][_0x83b3[439]][_0x83b3[1853]]();var _0x187fx2=this[_0x83b3[724]][_0x83b3[246]],_0x187fx3=mxConstants[_0x83b3[3029]];this[_0x83b3[685]]= new mxPoint(this[_0x83b3[724]][_0x83b3[2079]][_0x83b3[235]],this[_0x83b3[724]][_0x83b3[2079]][_0x83b3[236]]);this[_0x83b3[2972]][_0x83b3[1562]]= new mxRectangle(Math[_0x83b3[488]](this[_0x83b3[685]][_0x83b3[235]]- _0x187fx3/ 2),Math[_0x83b3[488]](this[_0x83b3[685]][_0x83b3[236]]- _0x187fx3/ 2),_0x187fx3,_0x187fx3);this[_0x83b3[2972]][_0x83b3[258]]();_0x187fx3= this[_0x83b3[1179]][_0x83b3[2183]](_0x187fx2);null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]&& this[_0x83b3[1179]][_0x83b3[2628]](_0x187fx2)?this[_0x83b3[2972]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189]:this[_0x83b3[2972]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188];if(null!= this[_0x83b3[2994]]&& 0< this[_0x83b3[2994]][_0x83b3[67]]){var _0x187fx4=this[_0x83b3[2997]][_0x83b3[67]]- 1,_0x187fx2=this[_0x83b3[2997]][0],_0x187fx5=this[_0x83b3[2997]][0][_0x83b3[236]],_0x187fx3=this[_0x83b3[2994]][0][_0x83b3[1562]];this[_0x83b3[2994]][0][_0x83b3[1562]]= new mxRectangle(Math[_0x83b3[488]](this[_0x83b3[2997]][0][_0x83b3[235]]- _0x187fx3[_0x83b3[117]]/ 2),Math[_0x83b3[488]](_0x187fx5- _0x187fx3[_0x83b3[119]]/ 2),_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]]);this[_0x83b3[2994]][0][_0x83b3[1334]]= this[_0x83b3[3026]](0);this[_0x83b3[2994]][0][_0x83b3[258]]();var _0x187fx5=this[_0x83b3[2997]][_0x187fx4],_0x187fx9=this[_0x83b3[2997]][_0x187fx4][_0x83b3[235]],_0x187fx4=this[_0x83b3[2997]][_0x187fx4][_0x83b3[236]],_0x187fxa=this[_0x83b3[2994]][_0x83b3[67]]- 1,_0x187fx3=this[_0x83b3[2994]][_0x187fxa][_0x83b3[1562]];this[_0x83b3[2994]][_0x187fxa][_0x83b3[1562]]= new mxRectangle(Math[_0x83b3[488]](_0x187fx9- _0x187fx3[_0x83b3[117]]/ 2),Math[_0x83b3[488]](_0x187fx4- _0x187fx3[_0x83b3[119]]/ 2),_0x187fx3[_0x83b3[117]],_0x187fx3[_0x83b3[119]]);this[_0x83b3[2994]][_0x187fxa][_0x83b3[1334]]= this[_0x83b3[3026]](_0x187fxa);this[_0x83b3[2994]][_0x187fxa][_0x83b3[258]]();this[_0x83b3[3030]](_0x187fx2,_0x187fx5)};this[_0x83b3[2932]]()};mxEdgeHandler[_0x83b3[202]][_0x83b3[3030]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1721]](this[_0x83b3[724]][_0x83b3[246]])[_0x83b3[1525]];if(null!= _0x187fx4){null== this[_0x83b3[1525]]&& (this[_0x83b3[1525]]= []);for(var _0x187fx5=1;_0x187fx5< this[_0x83b3[2994]][_0x83b3[67]]- 1;_0x187fx5++){if(null!= this[_0x83b3[2994]][_0x187fx5]){if(null!= this[_0x83b3[2997]][_0x187fx5]){var _0x187fx9=this[_0x83b3[2997]][_0x187fx5][_0x83b3[235]],_0x187fxa=this[_0x83b3[2997]][_0x187fx5][_0x83b3[236]],_0x187fx12=this[_0x83b3[2994]][_0x187fx5][_0x83b3[1562]];this[_0x83b3[2994]][_0x187fx5][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[189];this[_0x83b3[2994]][_0x187fx5][_0x83b3[1562]]= new mxRectangle(Math[_0x83b3[488]](_0x187fx9- _0x187fx12[_0x83b3[117]]/ 2),Math[_0x83b3[488]](_0x187fxa- _0x187fx12[_0x83b3[119]]/ 2),_0x187fx12[_0x83b3[117]],_0x187fx12[_0x83b3[119]]);this[_0x83b3[2994]][_0x187fx5][_0x83b3[258]]();this[_0x83b3[1525]][_0x187fx5- 1]= _0x187fx4[_0x187fx5- 1]}else {this[_0x83b3[2994]][_0x187fx5][_0x83b3[515]](),this[_0x83b3[2994]][_0x187fx5]= null}}}}};mxEdgeHandler[_0x83b3[202]][_0x83b3[2932]]= function(){if(this[_0x83b3[3014]]){var _0x187fx2=mxConstants[_0x83b3[3029]],_0x187fx2= new mxRectangle(Math[_0x83b3[488]](this[_0x83b3[685]][_0x83b3[235]]- _0x187fx2/ 2),Math[_0x83b3[488]](this[_0x83b3[685]][_0x83b3[236]]- _0x187fx2/ 2),_0x187fx2,_0x187fx2);this[_0x83b3[2972]][_0x83b3[1562]]= _0x187fx2;this[_0x83b3[2972]][_0x83b3[258]]()}else {this[_0x83b3[253]][_0x83b3[1525]]= this[_0x83b3[2997]],this[_0x83b3[253]][_0x83b3[258]]()}};mxEdgeHandler[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[2885]]&& (this[_0x83b3[2885]][_0x83b3[515]](),this[_0x83b3[2885]]= null);null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[515]](),this[_0x83b3[253]]= null);null!= this[_0x83b3[2972]]&& (this[_0x83b3[2972]][_0x83b3[515]](),this[_0x83b3[2972]]= null);null!= this[_0x83b3[2886]]&& (this[_0x83b3[2886]][_0x83b3[515]](),this[_0x83b3[2886]]= null);if(null!= this[_0x83b3[2994]]){for(var _0x187fx2=0;_0x187fx2< this[_0x83b3[2994]][_0x83b3[67]];_0x187fx2++){null!= this[_0x83b3[2994]][_0x187fx2]&& (this[_0x83b3[2994]][_0x187fx2][_0x83b3[515]](),this[_0x83b3[2994]][_0x187fx2]= null)}}};function mxElbowEdgeHandler(_0x187fx2){mxEdgeHandler[_0x83b3[239]](this,_0x187fx2)}mxUtils[_0x83b3[1284]](mxElbowEdgeHandler,mxEdgeHandler);mxElbowEdgeHandler[_0x83b3[202]]= new mxEdgeHandler;mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[196]]= mxElbowEdgeHandler;mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3031]]= !0;mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3032]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[3033]:_0x83b3[110];mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3001]]= function(){var _0x187fx2=[],_0x187fx3=this[_0x83b3[3009]](0);this[_0x83b3[3002]](_0x187fx3);_0x187fx3[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[3011]];mxEvent[_0x83b3[2733]](_0x187fx3[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);_0x187fx2[_0x83b3[207]](_0x187fx3);mxClient[_0x83b3[754]]&& _0x187fx3[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130]);_0x187fx2[_0x83b3[207]](this[_0x83b3[3034]]());this[_0x83b3[1525]][_0x83b3[207]]( new mxPoint(0,0));_0x187fx3= this[_0x83b3[3009]](2);this[_0x83b3[3002]](_0x187fx3);_0x187fx3[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[3011]];mxEvent[_0x83b3[2733]](_0x187fx3[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);_0x187fx2[_0x83b3[207]](_0x187fx3);mxClient[_0x83b3[754]]&& _0x187fx3[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130]);return _0x187fx2};mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3034]]= function(){var _0x187fx2=this[_0x83b3[3009]]();this[_0x83b3[3002]](_0x187fx2);var _0x187fx3=this[_0x83b3[3035]]();_0x187fx2[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= _0x187fx3;_0x187fx3= mxUtils[_0x83b3[885]](this,function(_0x187fx2){!mxEvent[_0x83b3[721]](_0x187fx2)&& this[_0x83b3[3031]]&& (this[_0x83b3[1179]][_0x83b3[854]](this[_0x83b3[724]][_0x83b3[246]],_0x187fx2),mxEvent[_0x83b3[722]](_0x187fx2))});mxEvent[_0x83b3[2733]](_0x187fx2[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]],null,null,null,_0x187fx3);this[_0x83b3[1179]][_0x83b3[2662]](this[_0x83b3[724]][_0x83b3[246]])|| (_0x187fx2[_0x83b3[252]][_0x83b3[124]][_0x83b3[495]]= _0x83b3[130]);return _0x187fx2};mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3035]]= function(){return this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2294]]]== mxEdgeStyle[_0x83b3[2570]]|| this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2294]]]== mxConstants[_0x83b3[3036]]|| (this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2294]]]== mxEdgeStyle[_0x83b3[2568]]|| this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2294]]]== mxConstants[_0x83b3[3037]])&& this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2231]]]== mxConstants[_0x83b3[2232]]?_0x83b3[3038]:_0x83b3[3039]};mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[2597]]= function(_0x187fx2){var _0x187fx3=null;if(null!= this[_0x83b3[2994]]&& null!= this[_0x83b3[2994]][1]&& (_0x187fx2== this[_0x83b3[2994]][1][_0x83b3[252]]|| _0x187fx2[_0x83b3[265]]== this[_0x83b3[2994]][1][_0x83b3[252]])){_0x187fx3= this[_0x83b3[3032]],_0x187fx3= mxResources[_0x83b3[203]](_0x187fx3)|| _0x187fx3};return _0x187fx3};mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[2196]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[518]](),_0x187fx5=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[512]](),_0x187fx9=this[_0x83b3[724]][_0x83b3[2078]];_0x187fx3&& (_0x187fx2[_0x83b3[235]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[235]]),_0x187fx2[_0x83b3[236]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx2[_0x83b3[236]]));_0x187fx2[_0x83b3[235]]= Math[_0x83b3[488]](_0x187fx2[_0x83b3[235]]/ _0x187fx4- _0x187fx5[_0x83b3[235]]- _0x187fx9[_0x83b3[235]]);_0x187fx2[_0x83b3[236]]= Math[_0x83b3[488]](_0x187fx2[_0x83b3[236]]/ _0x187fx4- _0x187fx5[_0x83b3[236]]- _0x187fx9[_0x83b3[236]])};mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3030]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1721]](this[_0x83b3[724]][_0x83b3[246]])[_0x83b3[1525]],_0x187fx4=null!= _0x187fx4?_0x187fx4[0]:null,_0x187fx4=null== _0x187fx4? new mxPoint(_0x187fx2[_0x83b3[235]]+ (_0x187fx3[_0x83b3[235]]- _0x187fx2[_0x83b3[235]])/ 2,_0x187fx2[_0x83b3[236]]+ (_0x187fx3[_0x83b3[236]]- _0x187fx2[_0x83b3[236]])/ 2): new mxPoint(this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]]* (_0x187fx4[_0x83b3[235]]+ this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[513]][_0x83b3[235]]+ this[_0x83b3[724]][_0x83b3[2078]][_0x83b3[235]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]]* (_0x187fx4[_0x83b3[236]]+ this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[513]][_0x83b3[236]]+ this[_0x83b3[724]][_0x83b3[2078]][_0x83b3[236]])),_0x187fx5=this[_0x83b3[2994]][1][_0x83b3[1562]],_0x187fx9=_0x187fx5[_0x83b3[117]],_0x187fx5=_0x187fx5[_0x83b3[119]];null== this[_0x83b3[2959]]&& (_0x187fx5= _0x187fx9= mxConstants[_0x83b3[2974]]);var _0x187fxa= new mxRectangle(Math[_0x83b3[488]](_0x187fx4[_0x83b3[235]]- _0x187fx9/ 2),Math[_0x83b3[488]](_0x187fx4[_0x83b3[236]]- _0x187fx5/ 2),_0x187fx9,_0x187fx5);null== this[_0x83b3[2959]]&& (_0x83b3[188]!= this[_0x83b3[2972]][_0x83b3[252]][_0x83b3[124]][_0x83b3[187]]&& mxUtils[_0x83b3[1825]](_0x187fxa,this[_0x83b3[2972]][_0x83b3[1562]]))&& (_0x187fx9+= 3,_0x187fx5+= 3,_0x187fxa= new mxRectangle(Math[_0x83b3[488]](_0x187fx4[_0x83b3[235]]- _0x187fx9/ 2),Math[_0x83b3[488]](_0x187fx4[_0x83b3[236]]- _0x187fx5/ 2),_0x187fx9,_0x187fx5));this[_0x83b3[2994]][1][_0x83b3[1562]]= _0x187fxa;this[_0x83b3[2994]][1][_0x83b3[258]]()};function mxEdgeSegmentHandler(_0x187fx2){mxEdgeHandler[_0x83b3[239]](this,_0x187fx2)}mxUtils[_0x83b3[1284]](mxEdgeSegmentHandler,mxEdgeHandler);mxEdgeSegmentHandler[_0x83b3[202]]= new mxElbowEdgeHandler;mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[196]]= mxEdgeSegmentHandler;mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[3018]]= function(_0x187fx2){if(this[_0x83b3[729]]|| this[_0x83b3[3013]]){return mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3018]][_0x83b3[183]](this,arguments)};this[_0x83b3[2196]](_0x187fx2,!1);var _0x187fx3=this[_0x83b3[724]][_0x83b3[439]],_0x187fx4=_0x187fx3[0][_0x83b3[238]]();this[_0x83b3[2196]](_0x187fx4,!1);for(var _0x187fx5=[],_0x187fx9=1;_0x187fx9< _0x187fx3[_0x83b3[67]];_0x187fx9++){var _0x187fxa=_0x187fx3[_0x187fx9][_0x83b3[238]]();this[_0x83b3[2196]](_0x187fxa,!1);_0x187fx9== this[_0x83b3[1983]]&& (_0x187fx4[_0x83b3[235]]== _0x187fxa[_0x83b3[235]]?(_0x187fx4[_0x83b3[235]]= _0x187fx2[_0x83b3[235]],_0x187fxa[_0x83b3[235]]= _0x187fx2[_0x83b3[235]]):(_0x187fx4[_0x83b3[236]]= _0x187fx2[_0x83b3[236]],_0x187fxa[_0x83b3[236]]= _0x187fx2[_0x83b3[236]]));_0x187fx9< _0x187fx3[_0x83b3[67]]- 1&& _0x187fx5[_0x83b3[207]](_0x187fxa);_0x187fx4= _0x187fxa};if(1== _0x187fx5[_0x83b3[67]]){if(_0x187fx4= this[_0x83b3[724]][_0x83b3[441]],_0x187fx9= this[_0x83b3[724]][_0x83b3[2089]](!0),_0x187fxa= this[_0x83b3[724]][_0x83b3[2089]](!1),null!= _0x187fxa& null!= _0x187fx9){var _0x187fx12=this[_0x83b3[724]][_0x83b3[2078]][_0x83b3[235]],_0x187fx13=this[_0x83b3[724]][_0x83b3[2078]][_0x83b3[236]];mxUtils[_0x83b3[442]](_0x187fxa,_0x187fx5[0][_0x83b3[235]]+ _0x187fx12,_0x187fx5[0][_0x83b3[236]]+ _0x187fx13)?_0x187fx3[1][_0x83b3[236]]== _0x187fx3[2][_0x83b3[236]]?_0x187fx5[0][_0x83b3[236]]= _0x187fx4[_0x83b3[2228]](_0x187fx9)- _0x187fx13:_0x187fx5[0][_0x83b3[235]]= _0x187fx4[_0x83b3[2230]](_0x187fx9)- _0x187fx12:mxUtils[_0x83b3[442]](_0x187fx9,_0x187fx5[0][_0x83b3[235]]+ _0x187fx12,_0x187fx5[0][_0x83b3[236]]+ _0x187fx13)&& (_0x187fx3[1][_0x83b3[236]]== _0x187fx3[0][_0x83b3[236]]?_0x187fx5[0][_0x83b3[236]]= _0x187fx4[_0x83b3[2228]](_0x187fxa)- _0x187fx13:_0x187fx5[0][_0x83b3[235]]= _0x187fx4[_0x83b3[2230]](_0x187fxa)- _0x187fx12)}}else {0== _0x187fx5[_0x83b3[67]]&& (_0x187fx5= [_0x187fx2])};return _0x187fx5};mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[3001]]= function(){var _0x187fx2=[],_0x187fx3=this[_0x83b3[3009]](0);this[_0x83b3[3002]](_0x187fx3);_0x187fx3[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[3011]];mxEvent[_0x83b3[2733]](_0x187fx3[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);_0x187fx2[_0x83b3[207]](_0x187fx3);mxClient[_0x83b3[754]]&& _0x187fx3[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130]);var _0x187fx4=this[_0x83b3[724]][_0x83b3[439]];if(this[_0x83b3[1179]][_0x83b3[2662]](this[_0x83b3[724]][_0x83b3[246]])){null== this[_0x83b3[1525]]&& (this[_0x83b3[1525]]= []);for(var _0x187fx5=0;_0x187fx5< _0x187fx4[_0x83b3[67]]- 1;_0x187fx5++){_0x187fx3= this[_0x83b3[3034]](),_0x187fx2[_0x83b3[207]](_0x187fx3),_0x187fx3[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= 0== _0x187fx4[_0x187fx5][_0x83b3[235]]- _0x187fx4[_0x187fx5+ 1][_0x83b3[235]]?_0x83b3[3039]:_0x83b3[3038],this[_0x83b3[1525]][_0x83b3[207]]( new mxPoint(0,0)),mxClient[_0x83b3[754]]&& _0x187fx3[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130])}};_0x187fx3= this[_0x83b3[3009]](_0x187fx4[_0x83b3[67]]);this[_0x83b3[3002]](_0x187fx3);_0x187fx3[_0x83b3[252]][_0x83b3[124]][_0x83b3[270]]= mxConstants[_0x83b3[3011]];mxEvent[_0x83b3[2733]](_0x187fx3[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);_0x187fx2[_0x83b3[207]](_0x187fx3);mxClient[_0x83b3[754]]&& _0x187fx3[_0x83b3[252]][_0x83b3[57]](_0x83b3[1377],_0x83b3[130]);return _0x187fx2};mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[258]]= function(){this[_0x83b3[802]]();mxEdgeHandler[_0x83b3[202]][_0x83b3[258]][_0x83b3[183]](this,arguments)};mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[802]]= function(){if(null!= this[_0x83b3[2994]]){for(var _0x187fx2=0;_0x187fx2< this[_0x83b3[2994]][_0x83b3[67]];_0x187fx2++){null!= this[_0x83b3[2994]][_0x187fx2]&& (this[_0x83b3[2994]][_0x187fx2][_0x83b3[515]](),this[_0x83b3[2994]][_0x187fx2]= null)};this[_0x83b3[2994]]= this[_0x83b3[3001]]()}};mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[3030]]= function(_0x187fx2,_0x187fx3){if(this[_0x83b3[1179]][_0x83b3[2662]](this[_0x83b3[724]][_0x83b3[246]])){var _0x187fx4=mxConstants[_0x83b3[2974]],_0x187fx5=this[_0x83b3[724]][_0x83b3[439]];if(null!= _0x187fx5&& 1< _0x187fx5[_0x83b3[67]]){for(var _0x187fx9=0;_0x187fx9< this[_0x83b3[724]][_0x83b3[439]][_0x83b3[67]]- 1;_0x187fx9++){if(null!= this[_0x83b3[2994]][_0x187fx9+ 1]){_0x187fx2= _0x187fx5[_0x187fx9];_0x187fx3= _0x187fx5[_0x187fx9+ 1];var _0x187fxa= new mxPoint(_0x187fx2[_0x83b3[235]]+ (_0x187fx3[_0x83b3[235]]- _0x187fx2[_0x83b3[235]])/ 2,_0x187fx2[_0x83b3[236]]+ (_0x187fx3[_0x83b3[236]]- _0x187fx2[_0x83b3[236]])/ 2);this[_0x83b3[2994]][_0x187fx9+ 1][_0x83b3[1562]]= new mxRectangle(Math[_0x83b3[488]](_0x187fxa[_0x83b3[235]]- _0x187fx4/ 2),Math[_0x83b3[488]](_0x187fxa[_0x83b3[236]]- _0x187fx4/ 2),_0x187fx4,_0x187fx4);this[_0x83b3[2994]][_0x187fx9+ 1][_0x83b3[258]]()}}}}};mxEdgeSegmentHandler[_0x83b3[202]][_0x83b3[3023]]= function(_0x187fx2,_0x187fx3){_0x187fx3= [];var _0x187fx4=this[_0x83b3[2997]];if(1< _0x187fx4[_0x83b3[67]]){for(var _0x187fx5=_0x187fx4[0],_0x187fx9=_0x187fx4[1],_0x187fxa=2;_0x187fxa< _0x187fx4[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx4[_0x187fxa];if((Math[_0x83b3[488]](_0x187fx5[_0x83b3[235]])!= Math[_0x83b3[488]](_0x187fx9[_0x83b3[235]])|| Math[_0x83b3[488]](_0x187fx9[_0x83b3[235]])!= Math[_0x83b3[488]](_0x187fx12[_0x83b3[235]]))&& (Math[_0x83b3[488]](_0x187fx5[_0x83b3[236]])!= Math[_0x83b3[488]](_0x187fx9[_0x83b3[236]])|| Math[_0x83b3[488]](_0x187fx9[_0x83b3[236]])!= Math[_0x83b3[488]](_0x187fx12[_0x83b3[236]]))){_0x187fx5= _0x187fx9,_0x187fx9= _0x187fx9[_0x83b3[238]](),this[_0x83b3[2196]](_0x187fx9,!1),_0x187fx3[_0x83b3[207]](_0x187fx9)};_0x187fx9= _0x187fx12}};mxElbowEdgeHandler[_0x83b3[202]][_0x83b3[3023]][_0x83b3[183]](this,arguments)};function mxKeyHandler(_0x187fx2,_0x187fx3){null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[772]]= _0x187fx3|| document[_0x83b3[158]],this[_0x83b3[3040]]= [],this[_0x83b3[3041]]= [],this[_0x83b3[3042]]= [],this[_0x83b3[3043]]= [],mxEvent[_0x83b3[169]](this[_0x83b3[772]],_0x83b3[2123],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[3044]](_0x187fx2)})),mxClient[_0x83b3[80]]&& mxEvent[_0x83b3[169]](window,_0x83b3[2428],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[515]]()})))}mxKeyHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxKeyHandler[_0x83b3[202]][_0x83b3[772]]= null;mxKeyHandler[_0x83b3[202]][_0x83b3[3040]]= null;mxKeyHandler[_0x83b3[202]][_0x83b3[3041]]= null;mxKeyHandler[_0x83b3[202]][_0x83b3[3042]]= null;mxKeyHandler[_0x83b3[202]][_0x83b3[3043]]= null;mxKeyHandler[_0x83b3[202]][_0x83b3[984]]= !0;mxKeyHandler[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxKeyHandler[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxKeyHandler[_0x83b3[202]][_0x83b3[3045]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3040]][_0x187fx2]= _0x187fx3};mxKeyHandler[_0x83b3[202]][_0x83b3[3046]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3041]][_0x187fx2]= _0x187fx3};mxKeyHandler[_0x83b3[202]][_0x83b3[3047]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3042]][_0x187fx2]= _0x187fx3};mxKeyHandler[_0x83b3[202]][_0x83b3[3048]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3043]][_0x187fx2]= _0x187fx3};mxKeyHandler[_0x83b3[202]][_0x83b3[775]]= function(_0x187fx2){return mxEvent[_0x83b3[775]](_0x187fx2)};mxKeyHandler[_0x83b3[202]][_0x83b3[3049]]= function(_0x187fx2){return null!= _0x187fx2?this[_0x83b3[775]](_0x187fx2)?mxEvent[_0x83b3[774]](_0x187fx2)?this[_0x83b3[3043]][_0x187fx2[_0x83b3[2124]]]:this[_0x83b3[3042]][_0x187fx2[_0x83b3[2124]]]:mxEvent[_0x83b3[774]](_0x187fx2)?this[_0x83b3[3041]][_0x187fx2[_0x83b3[2124]]]:this[_0x83b3[3040]][_0x187fx2[_0x83b3[2124]]]:null};mxKeyHandler[_0x83b3[202]][_0x83b3[3050]]= function(_0x187fx2){_0x187fx2= mxEvent[_0x83b3[728]](_0x187fx2);if(_0x187fx2== this[_0x83b3[772]]|| _0x187fx2[_0x83b3[265]]== this[_0x83b3[772]]|| null!= this[_0x83b3[1179]][_0x83b3[2347]]&& _0x187fx2== this[_0x83b3[1179]][_0x83b3[2347]][_0x83b3[126]]){return !0};for(;null!= _0x187fx2;){if(_0x187fx2== this[_0x83b3[1179]][_0x83b3[526]]){return !0};_0x187fx2= _0x187fx2[_0x83b3[265]]};return !1};mxKeyHandler[_0x83b3[202]][_0x83b3[3044]]= function(_0x187fx2){if(this[_0x83b3[1179]][_0x83b3[994]]()&& !mxEvent[_0x83b3[721]](_0x187fx2)&& this[_0x83b3[3050]](_0x187fx2)&& this[_0x83b3[994]]()){if(27== _0x187fx2[_0x83b3[2124]]){this[_0x83b3[859]](_0x187fx2)}else {if(!this[_0x83b3[1179]][_0x83b3[2203]]()){var _0x187fx3=this[_0x83b3[3049]](_0x187fx2);null!= _0x187fx3&& (_0x187fx3(_0x187fx2),mxEvent[_0x83b3[722]](_0x187fx2))}}}};mxKeyHandler[_0x83b3[202]][_0x83b3[859]]= function(_0x187fx2){this[_0x83b3[1179]][_0x83b3[2608]]()&& this[_0x83b3[1179]][_0x83b3[859]](_0x187fx2)};mxKeyHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[772]]= null};function mxTooltipHandler(_0x187fx2,_0x187fx3){null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[1140]]= _0x187fx3|| 500,this[_0x83b3[1179]][_0x83b3[1133]](this))}mxTooltipHandler[_0x83b3[202]][_0x83b3[931]]= 10005;mxTooltipHandler[_0x83b3[202]][_0x83b3[1179]]= null;mxTooltipHandler[_0x83b3[202]][_0x83b3[1140]]= null;mxTooltipHandler[_0x83b3[202]][_0x83b3[3051]]= !1;mxTooltipHandler[_0x83b3[202]][_0x83b3[984]]= !0;mxTooltipHandler[_0x83b3[202]][_0x83b3[994]]= function(){return this[_0x83b3[984]]};mxTooltipHandler[_0x83b3[202]][_0x83b3[995]]= function(_0x187fx2){this[_0x83b3[984]]= _0x187fx2};mxTooltipHandler[_0x83b3[202]][_0x83b3[2277]]= function(){return this[_0x83b3[3051]]};mxTooltipHandler[_0x83b3[202]][_0x83b3[3052]]= function(_0x187fx2){this[_0x83b3[3051]]= _0x187fx2};mxTooltipHandler[_0x83b3[202]][_0x83b3[176]]= function(){null!= document[_0x83b3[112]]&& (this[_0x83b3[485]]= document[_0x83b3[55]](_0x83b3[485]),this[_0x83b3[485]][_0x83b3[926]]= _0x83b3[3053],this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188],this[_0x83b3[485]][_0x83b3[124]][_0x83b3[931]]= this[_0x83b3[931]],document[_0x83b3[112]][_0x83b3[62]](this[_0x83b3[485]]),mxEvent[_0x83b3[169]](this[_0x83b3[485]],_0x83b3[751],mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[3054]]()})))};mxTooltipHandler[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[862]](_0x187fx3,!1);this[_0x83b3[3054]]()};mxTooltipHandler[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){if(_0x187fx3[_0x83b3[730]]()!= this[_0x83b3[1217]]|| _0x187fx3[_0x83b3[732]]()!= this[_0x83b3[1218]]){this[_0x83b3[862]](_0x187fx3,!0),(this[_0x83b3[2277]]()|| _0x187fx3[_0x83b3[248]]()!= this[_0x83b3[724]]|| _0x187fx3[_0x83b3[728]]()!= this[_0x83b3[252]]&& (!this[_0x83b3[3055]]|| null!= _0x187fx3[_0x83b3[248]]()&& this[_0x83b3[3055]]== (_0x187fx3[_0x83b3[729]](_0x187fx3[_0x83b3[248]]()[_0x83b3[253]])|| !_0x187fx3[_0x83b3[729]](_0x187fx3[_0x83b3[248]]()[_0x83b3[963]]))))&& this[_0x83b3[3054]]()};this[_0x83b3[1217]]= _0x187fx3[_0x83b3[730]]();this[_0x83b3[1218]]= _0x187fx3[_0x83b3[732]]()};mxTooltipHandler[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[862]](_0x187fx3,!0);this[_0x83b3[3054]]()};mxTooltipHandler[_0x83b3[202]][_0x83b3[3056]]= function(){null!= this[_0x83b3[1123]]&& (window[_0x83b3[2924]](this[_0x83b3[1123]]),this[_0x83b3[1123]]= null)};mxTooltipHandler[_0x83b3[202]][_0x83b3[862]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3056]]();if(_0x187fx3&& this[_0x83b3[994]]()&& null!= _0x187fx2[_0x83b3[248]]()&& (null== this[_0x83b3[485]]|| _0x83b3[188]== this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]])){var _0x187fx4=_0x187fx2[_0x83b3[248]](),_0x187fx5=_0x187fx2[_0x83b3[728]](),_0x187fx9=_0x187fx2[_0x83b3[730]](),_0x187fxa=_0x187fx2[_0x83b3[732]](),_0x187fx12=_0x187fx2[_0x83b3[729]](_0x187fx4[_0x83b3[253]])|| _0x187fx2[_0x83b3[729]](_0x187fx4[_0x83b3[963]]);this[_0x83b3[1123]]= window[_0x83b3[261]](mxUtils[_0x83b3[885]](this,function(){if(!this[_0x83b3[1179]][_0x83b3[2203]]()&& !this[_0x83b3[1179]][_0x83b3[2316]][_0x83b3[1031]]()){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[2595]](_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa);this[_0x83b3[539]](_0x187fx2,_0x187fx9,_0x187fxa);this[_0x83b3[724]]= _0x187fx4;this[_0x83b3[252]]= _0x187fx5;this[_0x83b3[3055]]= _0x187fx12}}),this[_0x83b3[1140]])}};mxTooltipHandler[_0x83b3[202]][_0x83b3[801]]= function(){this[_0x83b3[3056]]();this[_0x83b3[3054]]()};mxTooltipHandler[_0x83b3[202]][_0x83b3[3054]]= function(){null!= this[_0x83b3[485]]&& (this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[188])};mxTooltipHandler[_0x83b3[202]][_0x83b3[539]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){null== this[_0x83b3[485]]&& this[_0x83b3[176]]();var _0x187fx5=mxUtils[_0x83b3[444]]();this[_0x83b3[485]][_0x83b3[124]][_0x83b3[361]]= _0x187fx3+ _0x187fx5[_0x83b3[235]]+ _0x83b3[168];this[_0x83b3[485]][_0x83b3[124]][_0x83b3[125]]= _0x187fx4+ mxConstants[_0x83b3[560]]+ _0x187fx5[_0x83b3[236]]+ _0x83b3[168];mxUtils[_0x83b3[1331]](_0x187fx2)?(this[_0x83b3[485]][_0x83b3[339]]= _0x83b3[110],this[_0x83b3[485]][_0x83b3[62]](_0x187fx2)):this[_0x83b3[485]][_0x83b3[339]]= _0x187fx2[_0x83b3[230]](/\n/g,_0x83b3[545]);this[_0x83b3[485]][_0x83b3[124]][_0x83b3[187]]= _0x83b3[110];mxUtils[_0x83b3[933]](this[_0x83b3[485]])}};mxTooltipHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[1148]](this);mxEvent[_0x83b3[762]](this[_0x83b3[485]]);null!= this[_0x83b3[485]]&& null!= this[_0x83b3[485]][_0x83b3[265]]&& this[_0x83b3[485]][_0x83b3[265]][_0x83b3[266]](this[_0x83b3[485]]);this[_0x83b3[485]]= null};function mxCellTracker(_0x187fx2,_0x187fx3,_0x187fx4){mxCellMarker[_0x83b3[239]](this,_0x187fx2,_0x187fx3);this[_0x83b3[1179]][_0x83b3[1133]](this);null!= _0x187fx4&& (this[_0x83b3[736]]= _0x187fx4);mxClient[_0x83b3[80]]&& mxEvent[_0x83b3[169]](window,_0x83b3[2428],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[515]]()}))}mxUtils[_0x83b3[1284]](mxCellTracker,mxCellMarker);mxCellTracker[_0x83b3[202]][_0x83b3[787]]= function(_0x187fx2,_0x187fx3){};mxCellTracker[_0x83b3[202]][_0x83b3[788]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[994]]()&& this[_0x83b3[2871]](_0x187fx3)};mxCellTracker[_0x83b3[202]][_0x83b3[789]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[862]]()};mxCellTracker[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[2717]]|| (this[_0x83b3[2717]]= !0,this[_0x83b3[1179]][_0x83b3[1148]](this),mxCellMarker[_0x83b3[202]][_0x83b3[515]][_0x83b3[183]](this))};function mxCellHighlight(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){null!= _0x187fx2&& (this[_0x83b3[1179]]= _0x187fx2,this[_0x83b3[2943]]= null!= _0x187fx3?_0x187fx3:mxConstants[_0x83b3[2854]],this[_0x83b3[610]]= null!= _0x187fx4?_0x187fx4:mxConstants[_0x83b3[3057]],this[_0x83b3[648]]= null!= _0x187fx5?_0x187fx5:!1,this[_0x83b3[3058]]= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[2950]]()}),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.SCALE,this[_0x83b3[3058]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.TRANSLATE,this[_0x83b3[3058]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x83b3[3058]]),this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,this[_0x83b3[3058]]),this[_0x83b3[2877]]= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[801]]()}),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.DOWN,this[_0x83b3[2877]]),this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[169]](mxEvent.UP,this[_0x83b3[2877]]))}mxCellHighlight[_0x83b3[202]][_0x83b3[3059]]= !1;mxCellHighlight[_0x83b3[202]][_0x83b3[1179]]= !0;mxCellHighlight[_0x83b3[202]][_0x83b3[724]]= null;mxCellHighlight[_0x83b3[202]][_0x83b3[657]]= 2;mxCellHighlight[_0x83b3[202]][_0x83b3[2877]]= null;mxCellHighlight[_0x83b3[202]][_0x83b3[2828]]= function(_0x187fx2){this[_0x83b3[2943]]= _0x187fx2;null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[1336]]= _0x187fx2)};mxCellHighlight[_0x83b3[202]][_0x83b3[3060]]= function(){this[_0x83b3[253]]= this[_0x83b3[2156]]();this[_0x83b3[2950]]();!this[_0x83b3[3059]]&& this[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]][_0x83b3[285]]!= this[_0x83b3[253]][_0x83b3[252]]&& this[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]][_0x83b3[950]](this[_0x83b3[253]][_0x83b3[252]],this[_0x83b3[253]][_0x83b3[252]][_0x83b3[265]][_0x83b3[285]])};mxCellHighlight[_0x83b3[202]][_0x83b3[2156]]= function(){var _0x187fx2=null,_0x187fx2=this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[250]](this[_0x83b3[724]][_0x83b3[246]])? new mxPolyline(this[_0x83b3[724]][_0x83b3[439]],this[_0x83b3[2943]],this[_0x83b3[610]]): new mxRectangleShape( new mxRectangle,null,this[_0x83b3[2943]],this[_0x83b3[610]]);_0x187fx2[_0x83b3[507]]= this[_0x83b3[1179]][_0x83b3[507]]!= mxConstants[_0x83b3[508]]?mxConstants[_0x83b3[1523]]:mxConstants[_0x83b3[508]];_0x187fx2[_0x83b3[176]](this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[1524]]());mxEvent[_0x83b3[2733]](_0x187fx2[_0x83b3[252]],this[_0x83b3[1179]],this[_0x83b3[724]]);_0x187fx2[_0x83b3[1564]]= 0;_0x187fx2[_0x83b3[1229]]= !1;_0x187fx2[_0x83b3[1522]]= this[_0x83b3[648]];return _0x187fx2};mxCellHighlight[_0x83b3[202]][_0x83b3[2950]]= function(){if(null!= this[_0x83b3[724]]&& null!= this[_0x83b3[253]]){var _0x187fx2=0;this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[250]](this[_0x83b3[724]][_0x83b3[246]])?this[_0x83b3[253]][_0x83b3[1525]]= this[_0x83b3[724]][_0x83b3[439]]:(this[_0x83b3[253]][_0x83b3[1562]]= new mxRectangle(this[_0x83b3[724]][_0x83b3[235]]- this[_0x83b3[657]],this[_0x83b3[724]][_0x83b3[236]]- this[_0x83b3[657]],this[_0x83b3[724]][_0x83b3[117]]+ 2* this[_0x83b3[657]],this[_0x83b3[724]][_0x83b3[119]]+ 2* this[_0x83b3[657]]),_0x187fx2= Number(this[_0x83b3[724]][_0x83b3[124]][mxConstants[_0x83b3[2278]]]|| _0x83b3[468]));null!= this[_0x83b3[724]][_0x83b3[253]]&& this[_0x83b3[253]][_0x83b3[1609]](this[_0x83b3[724]][_0x83b3[253]][_0x83b3[1610]]());0!= _0x187fx2&& (this[_0x83b3[253]][_0x83b3[603]]= _0x187fx2);this[_0x83b3[253]][_0x83b3[258]]()}};mxCellHighlight[_0x83b3[202]][_0x83b3[801]]= function(){this[_0x83b3[1016]](null)};mxCellHighlight[_0x83b3[202]][_0x83b3[1016]]= function(_0x187fx2){this[_0x83b3[724]]!= _0x187fx2&& (null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[515]](),this[_0x83b3[253]]= null),this[_0x83b3[724]]= _0x187fx2,null!= this[_0x83b3[724]]&& this[_0x83b3[3060]]())};mxCellHighlight[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[3058]]);this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[3058]]);this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[745]](this[_0x83b3[2877]]);this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[745]](this[_0x83b3[2877]]);null!= this[_0x83b3[253]]&& (this[_0x83b3[253]][_0x83b3[515]](),this[_0x83b3[253]]= null)};function mxDefaultKeyHandler(_0x187fx2){if(null!= _0x187fx2){this[_0x83b3[3061]]= _0x187fx2;this[_0x83b3[2458]]= new mxKeyHandler(_0x187fx2[_0x83b3[1179]]);var _0x187fx3=this[_0x83b3[2458]][_0x83b3[859]];this[_0x83b3[2458]][_0x83b3[859]]= function(_0x187fx4){_0x187fx3[_0x83b3[183]](this,arguments);_0x187fx2[_0x83b3[3062]]();_0x187fx2[_0x83b3[746]]( new mxEventObject(mxEvent.ESCAPE,_0x83b3[763],_0x187fx4))}}}mxDefaultKeyHandler[_0x83b3[202]][_0x83b3[3061]]= null;mxDefaultKeyHandler[_0x83b3[202]][_0x83b3[2458]]= null;mxDefaultKeyHandler[_0x83b3[202]][_0x83b3[3063]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[3061]][_0x83b3[350]](_0x187fx3)});_0x187fx4?this[_0x83b3[2458]][_0x83b3[3047]](_0x187fx2,_0x187fx5):this[_0x83b3[2458]][_0x83b3[3045]](_0x187fx2,_0x187fx5)};mxDefaultKeyHandler[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[2458]][_0x83b3[515]]();this[_0x83b3[2458]]= null};function mxDefaultPopupMenu(_0x187fx2){this[_0x83b3[3064]]= _0x187fx2}mxDefaultPopupMenu[_0x83b3[202]][_0x83b3[88]]= null;mxDefaultPopupMenu[_0x83b3[202]][_0x83b3[3064]]= null;mxDefaultPopupMenu[_0x83b3[202]][_0x83b3[3065]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){if(null!= this[_0x83b3[3064]]){var _0x187fx9=this[_0x83b3[3066]](_0x187fx2,_0x187fx4,_0x187fx5);this[_0x83b3[3067]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,this[_0x83b3[3064]][_0x83b3[285]],null)}};mxDefaultPopupMenu[_0x83b3[202]][_0x83b3[3067]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12){for(var _0x187fx13=!1;null!= _0x187fxa;){if(_0x83b3[99]== _0x187fxa[_0x83b3[301]]){var _0x187fx14=_0x187fxa[_0x83b3[284]](_0x83b3[3068]);if(null== _0x187fx14|| _0x187fx9[_0x187fx14]){var _0x187fx14=_0x187fxa[_0x83b3[284]](_0x83b3[3069]),_0x187fx14=mxResources[_0x83b3[203]](_0x187fx14)|| _0x187fx14,_0x187fx15=mxUtils[_0x83b3[1545]](mxUtils[_0x83b3[329]](_0x187fxa)),_0x187fx16=_0x187fxa[_0x83b3[284]](_0x83b3[892]),_0x187fx17=_0x187fxa[_0x83b3[284]](_0x83b3[2916]),_0x187fx18=_0x187fxa[_0x83b3[284]](_0x83b3[3070]);_0x187fx13&& (_0x187fx3[_0x83b3[1051]](_0x187fx12),_0x187fx13= !1);null!= _0x187fx17&& this[_0x83b3[88]]&& (_0x187fx17= this[_0x83b3[88]]+ _0x187fx17);_0x187fx14= this[_0x83b3[3071]](_0x187fx3,_0x187fx2,_0x187fx14,_0x187fx17,_0x187fx15,_0x187fx16,_0x187fx4,_0x187fx12,_0x187fx18);this[_0x83b3[3067]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa[_0x83b3[285]],_0x187fx14)}}else {_0x83b3[3072]== _0x187fxa[_0x83b3[301]]&& (_0x187fx13= !0)};_0x187fxa= _0x187fxa[_0x83b3[287]]}};mxDefaultPopupMenu[_0x83b3[202]][_0x83b3[3071]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa,_0x187fx12,_0x187fx13,_0x187fx14){return _0x187fx2[_0x83b3[1025]](_0x187fx4,_0x187fx5,function(_0x187fx2){_0x83b3[279]== typeof _0x187fx9&& _0x187fx9[_0x83b3[239]](_0x187fx3,_0x187fx3,_0x187fx12,_0x187fx2);null!= _0x187fxa&& _0x187fx3[_0x83b3[350]](_0x187fxa,_0x187fx12,_0x187fx2)},_0x187fx13,_0x187fx14)};mxDefaultPopupMenu[_0x83b3[202]][_0x83b3[3066]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[1179]][_0x83b3[502]](),_0x187fx9=_0x187fx5[_0x83b3[262]](_0x187fx3),_0x187fxa=[];_0x187fxa[_0x83b3[3073]]= null== _0x187fx3;_0x187fxa[_0x83b3[3074]]= 1< _0x187fx2[_0x83b3[1179]][_0x83b3[2694]]();_0x187fxa[_0x83b3[3075]]= _0x187fx5[_0x83b3[501]]()!= _0x187fx5[_0x83b3[1197]](_0x187fx2[_0x83b3[1179]][_0x83b3[902]]());_0x187fxa[_0x83b3[246]]= null!= _0x187fx3;_0x187fx5= null!= _0x187fx3&& 1== _0x187fx2[_0x83b3[1179]][_0x83b3[2694]]();_0x187fxa[_0x83b3[3076]]= _0x187fx5&& 0< _0x187fx9;_0x187fxa[_0x83b3[3077]]= _0x187fx5&& _0x187fx2[_0x83b3[1179]][_0x83b3[2516]](_0x187fx3,!1);_0x187fxa[_0x83b3[3078]]= _0x187fx5&& _0x187fx2[_0x83b3[1179]][_0x83b3[2516]](_0x187fx3,!0);_0x187fxa[_0x83b3[3079]]= _0x187fx5&& _0x187fx2[_0x83b3[1179]][_0x83b3[2553]](_0x187fx3);_0x187fxa[_0x83b3[3080]]= _0x187fxa[_0x83b3[3079]]&& 0== _0x187fx9;_0x187fxa[_0x83b3[687]]= _0x187fx5&& _0x187fx2[_0x83b3[1179]][_0x83b3[1730]](_0x187fx3);_0x187fx9= this[_0x83b3[3064]][_0x83b3[64]](_0x83b3[3081]);for(_0x187fx5= 0;_0x187fx5< _0x187fx9[_0x83b3[67]];_0x187fx5++){var _0x187fx12=mxUtils[_0x83b3[1545]](mxUtils[_0x83b3[329]](_0x187fx9[_0x187fx5])),_0x187fx13=_0x187fx9[_0x187fx5][_0x83b3[284]](_0x83b3[298]);null!= _0x187fx13&& _0x83b3[279]== typeof _0x187fx12&& (_0x187fxa[_0x187fx13]= _0x187fx12(_0x187fx2,_0x187fx3,_0x187fx4))};return _0x187fxa};function mxDefaultToolbar(_0x187fx2,_0x187fx3){this[_0x83b3[3061]]= _0x187fx3;null!= _0x187fx2&& null!= _0x187fx3&& this[_0x83b3[176]](_0x187fx2)}mxDefaultToolbar[_0x83b3[202]][_0x83b3[3061]]= null;mxDefaultToolbar[_0x83b3[202]][_0x83b3[3082]]= null;mxDefaultToolbar[_0x83b3[202]][_0x83b3[2877]]= null;mxDefaultToolbar[_0x83b3[202]][_0x83b3[657]]= 4;mxDefaultToolbar[_0x83b3[202]][_0x83b3[2804]]= !1;mxDefaultToolbar[_0x83b3[202]][_0x83b3[176]]= function(_0x187fx2){null!= _0x187fx2&& (this[_0x83b3[3082]]= new mxToolbar(_0x187fx2),this[_0x83b3[3082]][_0x83b3[169]](mxEvent.SELECT,mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4){var _0x187fx5=_0x187fx4[_0x83b3[720]](_0x83b3[279]);this[_0x83b3[3061]][_0x83b3[3083]]= null!= _0x187fx5?mxUtils[_0x83b3[885]](this,function(){_0x187fx5[_0x83b3[183]](this,arguments);this[_0x83b3[3082]][_0x83b3[1050]]()}):null})),this[_0x83b3[2877]]= mxUtils[_0x83b3[885]](this,function(){null!= this[_0x83b3[3082]]&& this[_0x83b3[3082]][_0x83b3[1050]](!0)}),this[_0x83b3[3061]][_0x83b3[1179]][_0x83b3[169]](mxEvent.DOUBLE_CLICK,this[_0x83b3[2877]]),this[_0x83b3[3061]][_0x83b3[169]](mxEvent.ESCAPE,this[_0x83b3[2877]]))};mxDefaultToolbar[_0x83b3[202]][_0x83b3[1025]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=mxUtils[_0x83b3[885]](this,function(){null!= _0x187fx4&& 0< _0x187fx4[_0x83b3[67]]&& this[_0x83b3[3061]][_0x83b3[350]](_0x187fx4)});return this[_0x83b3[3082]][_0x83b3[1025]](_0x187fx2,_0x187fx3,_0x187fx9,_0x187fx5)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[1051]]= function(_0x187fx2){_0x187fx2= _0x187fx2|| mxClient[_0x83b3[88]]+ _0x83b3[3084];this[_0x83b3[3082]][_0x83b3[1051]](_0x187fx2)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[970]]= function(){return this[_0x83b3[3082]][_0x83b3[970]]()};mxDefaultToolbar[_0x83b3[202]][_0x83b3[1038]]= function(_0x187fx2){return this[_0x83b3[3082]][_0x83b3[1038]](_0x187fx2)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[3085]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[3061]][_0x83b3[350]](_0x187fx4)});this[_0x83b3[972]](_0x187fx2,_0x187fx3,_0x187fx5)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[972]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return this[_0x83b3[3082]][_0x83b3[972]](_0x187fx2,_0x187fx3,_0x187fx4)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[1048]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){var _0x187fxa=mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[3061]][_0x83b3[3086]](_0x187fx4);null!= _0x187fx9&& _0x187fx9(this[_0x83b3[3061]])});return this[_0x83b3[3082]][_0x83b3[1042]](_0x187fx2,_0x187fx3,_0x187fxa,_0x187fx5)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[3087]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9,_0x187fxa){var _0x187fx12=function(){return _0x83b3[279]== typeof _0x187fx4?_0x187fx4():null!= _0x187fx4?_0x187fx4[_0x83b3[238]]():null},_0x187fx13=mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){_0x83b3[279]== typeof _0x187fx9?_0x187fx9(this[_0x83b3[3061]],_0x187fx12(),_0x187fx2,_0x187fx3):this[_0x83b3[1008]](_0x187fx12(),_0x187fx2,_0x187fx3);this[_0x83b3[3082]][_0x83b3[1050]]();mxEvent[_0x83b3[722]](_0x187fx2)});_0x187fx2= this[_0x83b3[3082]][_0x83b3[1048]](_0x187fx2,_0x187fx3,_0x187fx13,_0x187fx5,null,_0x187fxa);this[_0x83b3[3088]](_0x187fx2,function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx13(_0x187fx3,_0x187fx4)});return _0x187fx2};mxDefaultToolbar[_0x83b3[202]][_0x83b3[1008]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[3061]][_0x83b3[1179]],_0x187fx9=_0x187fx5[_0x83b3[502]]();if(null== _0x187fx4|| _0x187fx9[_0x83b3[250]](_0x187fx4)|| !this[_0x83b3[2804]]|| !_0x187fx5[_0x83b3[2565]](_0x187fx4)){for(;null!= _0x187fx4&& !_0x187fx5[_0x83b3[2685]](_0x187fx4,[_0x187fx2],_0x187fx3);){_0x187fx4= _0x187fx9[_0x83b3[1197]](_0x187fx4)};this[_0x83b3[1937]](_0x187fx2,_0x187fx3,_0x187fx4)}else {this[_0x83b3[807]](_0x187fx2,_0x187fx3,_0x187fx4)}};mxDefaultToolbar[_0x83b3[202]][_0x83b3[1937]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[3061]][_0x83b3[1179]];if(_0x187fx5[_0x83b3[2621]](_0x187fx2)){var _0x187fx9=mxEvent[_0x83b3[731]](_0x187fx3),_0x187fxa=mxEvent[_0x83b3[733]](_0x187fx3),_0x187fx9=mxUtils[_0x83b3[2196]](_0x187fx5[_0x83b3[526]],_0x187fx9,_0x187fxa);return _0x187fx5[_0x83b3[2655]]()&& _0x187fx5[_0x83b3[2686]](_0x187fx4,[_0x187fx2],_0x187fx3)?_0x187fx5[_0x83b3[853]](_0x187fx4,[_0x187fx2],null,_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]]):this[_0x83b3[3061]][_0x83b3[817]](_0x187fx4,_0x187fx2,_0x187fx9[_0x83b3[235]],_0x187fx9[_0x83b3[236]])};return null};mxDefaultToolbar[_0x83b3[202]][_0x83b3[807]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= this[_0x83b3[3061]][_0x83b3[1179]];var _0x187fx5=_0x187fx3[_0x83b3[502]]();if(null!= _0x187fx4&& _0x187fx3[_0x83b3[2565]](_0x187fx2)&& _0x187fx3[_0x83b3[2581]](null,_0x187fx4,_0x187fx2)){var _0x187fx9=null;_0x187fx5[_0x83b3[473]]();try{var _0x187fxa=_0x187fx5[_0x83b3[1721]](_0x187fx4),_0x187fx12=_0x187fx5[_0x83b3[1721]](_0x187fx2)[_0x83b3[238]]();_0x187fx12[_0x83b3[235]]= _0x187fxa[_0x83b3[235]]+ (_0x187fxa[_0x83b3[117]]- _0x187fx12[_0x83b3[117]])/ 2;_0x187fx12[_0x83b3[236]]= _0x187fxa[_0x83b3[236]]+ (_0x187fxa[_0x83b3[119]]- _0x187fx12[_0x83b3[119]])/ 2;var _0x187fx13=this[_0x83b3[657]]* _0x187fx3[_0x83b3[1020]],_0x187fx14=20* _0x187fx5[_0x83b3[1962]](_0x187fx4,!0);this[_0x83b3[3061]][_0x83b3[3089]]?_0x187fx12[_0x83b3[235]]+= (_0x187fx12[_0x83b3[117]]+ _0x187fxa[_0x83b3[117]])/ 2+ _0x187fx13+ _0x187fx14:_0x187fx12[_0x83b3[236]]+= (_0x187fx12[_0x83b3[119]]+ _0x187fxa[_0x83b3[119]])/ 2+ _0x187fx13+ _0x187fx14;_0x187fx2[_0x83b3[1724]](_0x187fx12);var _0x187fx15=_0x187fx5[_0x83b3[1197]](_0x187fx4);_0x187fx3[_0x83b3[2103]](_0x187fx2,_0x187fx15);_0x187fx3[_0x83b3[2509]](_0x187fx2);_0x187fx9= this[_0x83b3[3061]][_0x83b3[2503]](_0x187fx4,_0x187fx2);if(null== _0x187fx5[_0x83b3[1721]](_0x187fx9)){var _0x187fx16= new mxGeometry;_0x187fx16[_0x83b3[1500]]= !0;_0x187fx5[_0x83b3[1724]](_0x187fx9,_0x187fx16)};_0x187fx3[_0x83b3[2504]](_0x187fx9,_0x187fx15,_0x187fx4,_0x187fx2)}finally{_0x187fx5[_0x83b3[476]]()};_0x187fx3[_0x83b3[904]]([_0x187fx2,_0x187fx9]);_0x187fx3[_0x83b3[2564]](_0x187fx2)}};mxDefaultToolbar[_0x83b3[202]][_0x83b3[3088]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=document[_0x83b3[55]](_0x83b3[466]);_0x187fx4[_0x83b3[57]](_0x83b3[390],_0x187fx2[_0x83b3[284]](_0x83b3[390]));var _0x187fx5=mxUtils[_0x83b3[885]](this,function(_0x187fx9){_0x187fx4[_0x83b3[124]][_0x83b3[117]]= 2* _0x187fx2[_0x83b3[359]]+ _0x83b3[168];_0x187fx4[_0x83b3[124]][_0x83b3[119]]= 2* _0x187fx2[_0x83b3[167]]+ _0x83b3[168];mxUtils[_0x83b3[3090]](_0x187fx2,this[_0x83b3[3061]][_0x83b3[1179]],_0x187fx3,_0x187fx4);mxEvent[_0x83b3[745]](_0x187fx4,_0x83b3[219],_0x187fx5)});mxClient[_0x83b3[80]]?_0x187fx5():mxEvent[_0x83b3[169]](_0x187fx4,_0x83b3[219],_0x187fx5)};mxDefaultToolbar[_0x83b3[202]][_0x83b3[515]]= function(){null!= this[_0x83b3[2877]]&& (this[_0x83b3[3061]][_0x83b3[1179]][_0x83b3[745]](_0x83b3[760],this[_0x83b3[2877]]),this[_0x83b3[3061]][_0x83b3[745]](_0x83b3[859],this[_0x83b3[2877]]),this[_0x83b3[2877]]= null);null!= this[_0x83b3[3082]]&& (this[_0x83b3[3082]][_0x83b3[515]](),this[_0x83b3[3082]]= null)};function mxEditor(_0x187fx2){this[_0x83b3[3091]]= [];this[_0x83b3[3092]]();if(null!= document[_0x83b3[112]]){this[_0x83b3[3093]]= [];this[_0x83b3[3094]]= new mxDefaultPopupMenu;this[_0x83b3[3095]]= new mxUndoManager;this[_0x83b3[1179]]= this[_0x83b3[3096]]();this[_0x83b3[3082]]= this[_0x83b3[3097]]();this[_0x83b3[3098]]= new mxDefaultKeyHandler(this);this[_0x83b3[3099]](_0x187fx2);this[_0x83b3[1179]][_0x83b3[2180]]= this[_0x83b3[3100]];!mxClient[_0x83b3[3101]]&& null!= this[_0x83b3[1056]]&& (this[_0x83b3[812]]= this[_0x83b3[3102]]());if(null!= this[_0x83b3[1987]]){this[_0x83b3[1987]]()};mxClient[_0x83b3[80]]&& mxEvent[_0x83b3[169]](window,_0x83b3[2428],mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[515]]()}))}}mxLoadResources&& mxResources[_0x83b3[99]](mxClient[_0x83b3[86]]+ _0x83b3[3103]);mxEditor[_0x83b3[202]]= new mxEventSource;mxEditor[_0x83b3[202]][_0x83b3[196]]= mxEditor;mxEditor[_0x83b3[202]][_0x83b3[3104]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[3105]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[3106]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[3107]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[3108]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[3109]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[3110]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[716]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[3111]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[3112]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[3113]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2719]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[3114]]= _0x83b3[130]!= mxClient[_0x83b3[90]]?_0x83b3[2136]:_0x83b3[110];mxEditor[_0x83b3[202]][_0x83b3[2136]]= null;mxEditor[_0x83b3[202]][_0x83b3[1179]]= null;mxEditor[_0x83b3[202]][_0x83b3[2720]]= null;mxEditor[_0x83b3[202]][_0x83b3[3082]]= null;mxEditor[_0x83b3[202]][_0x83b3[812]]= null;mxEditor[_0x83b3[202]][_0x83b3[879]]= null;mxEditor[_0x83b3[202]][_0x83b3[3094]]= null;mxEditor[_0x83b3[202]][_0x83b3[3095]]= null;mxEditor[_0x83b3[202]][_0x83b3[3098]]= null;mxEditor[_0x83b3[202]][_0x83b3[3091]]= null;mxEditor[_0x83b3[202]][_0x83b3[3115]]= _0x83b3[1061];mxEditor[_0x83b3[202]][_0x83b3[3116]]= !1;mxEditor[_0x83b3[202]][_0x83b3[1157]]= !0;mxEditor[_0x83b3[202]][_0x83b3[3083]]= null;mxEditor[_0x83b3[202]][_0x83b3[3117]]= !1;mxEditor[_0x83b3[202]][_0x83b3[3118]]= null;mxEditor[_0x83b3[202]][_0x83b3[2075]]= null;mxEditor[_0x83b3[202]][_0x83b3[3119]]= null;mxEditor[_0x83b3[202]][_0x83b3[3120]]= null;mxEditor[_0x83b3[202]][_0x83b3[3121]]= null;mxEditor[_0x83b3[202]][_0x83b3[3122]]= null;mxEditor[_0x83b3[202]][_0x83b3[1069]]= _0x83b3[336];mxEditor[_0x83b3[202]][_0x83b3[3123]]= _0x83b3[338];mxEditor[_0x83b3[202]][_0x83b3[1070]]= !0;mxEditor[_0x83b3[202]][_0x83b3[3124]]= null;mxEditor[_0x83b3[202]][_0x83b3[3125]]= null;mxEditor[_0x83b3[202]][_0x83b3[1056]]= null;mxEditor[_0x83b3[202]][_0x83b3[1058]]= null;mxEditor[_0x83b3[202]][_0x83b3[1057]]= null;mxEditor[_0x83b3[202]][_0x83b3[3089]]= !1;mxEditor[_0x83b3[202]][_0x83b3[3126]]= !1;mxEditor[_0x83b3[202]][_0x83b3[3127]]= 0;mxEditor[_0x83b3[202]][_0x83b3[3128]]= !1;mxEditor[_0x83b3[202]][_0x83b3[3129]]= !1;mxEditor[_0x83b3[202]][_0x83b3[3093]]= null;mxEditor[_0x83b3[202]][_0x83b3[3130]]= 0;mxEditor[_0x83b3[202]][_0x83b3[3100]]= _0x83b3[604];mxEditor[_0x83b3[202]][_0x83b3[3112]]= null;mxEditor[_0x83b3[202]][_0x83b3[3131]]= null;mxEditor[_0x83b3[202]][_0x83b3[3132]]= 20;mxEditor[_0x83b3[202]][_0x83b3[2719]]= null;mxEditor[_0x83b3[202]][_0x83b3[3133]]= null;mxEditor[_0x83b3[202]][_0x83b3[3134]]= null;mxEditor[_0x83b3[202]][_0x83b3[3135]]= 300;mxEditor[_0x83b3[202]][_0x83b3[3136]]= 260;mxEditor[_0x83b3[202]][_0x83b3[3137]]= 240;mxEditor[_0x83b3[202]][_0x83b3[3138]]= null;mxEditor[_0x83b3[202]][_0x83b3[3139]]= !1;mxEditor[_0x83b3[202]][_0x83b3[3140]]= !1;mxEditor[_0x83b3[202]][_0x83b3[2113]]= !1;mxEditor[_0x83b3[202]][_0x83b3[2133]]= function(){return this[_0x83b3[2113]]};mxEditor[_0x83b3[202]][_0x83b3[2128]]= function(_0x187fx2){this[_0x83b3[2113]]= _0x187fx2};mxEditor[_0x83b3[202]][_0x83b3[3092]]= function(){this[_0x83b3[3071]](_0x83b3[815],function(_0x187fx2){_0x187fx2[_0x83b3[815]]()});this[_0x83b3[3071]](_0x83b3[540],function(_0x187fx2){( new mxPrintPreview(_0x187fx2[_0x83b3[1179]],1))[_0x83b3[392]]()});this[_0x83b3[3071]](_0x83b3[539],function(_0x187fx2){mxUtils[_0x83b3[539]](_0x187fx2[_0x83b3[1179]],null,10,10)});this[_0x83b3[3071]](_0x83b3[3141],function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[3142]]();if(null== _0x187fx3|| mxClient[_0x83b3[3101]]){_0x187fx2[_0x83b3[350]](_0x83b3[539])}else {var _0x187fx4=mxUtils[_0x83b3[3143]](_0x187fx2[_0x83b3[1179]],1),_0x187fx4=mxUtils[_0x83b3[875]](_0x187fx4,_0x83b3[192]);mxUtils[_0x83b3[894]](_0x187fx3,_0x187fx2[_0x83b3[3123]]+ _0x83b3[226]+ encodeURIComponent(_0x187fx4),document,_0x83b3[3144])}});this[_0x83b3[3071]](_0x83b3[802],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[802]]()});this[_0x83b3[3071]](_0x83b3[3145],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& mxClipboard[_0x83b3[3145]](_0x187fx2[_0x83b3[1179]])});this[_0x83b3[3071]](_0x83b3[149],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& mxClipboard[_0x83b3[149]](_0x187fx2[_0x83b3[1179]])});this[_0x83b3[3071]](_0x83b3[3146],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& mxClipboard[_0x83b3[3146]](_0x187fx2[_0x83b3[1179]])});this[_0x83b3[3071]](_0x83b3[3147],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[842]]()});this[_0x83b3[3071]](_0x83b3[1504],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2450]](_0x187fx2[_0x83b3[844]]())});this[_0x83b3[3071]](_0x83b3[3148],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[904]](_0x187fx2[_0x83b3[1179]][_0x83b3[845]]())});this[_0x83b3[3071]](_0x83b3[1997],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[846]]()});this[_0x83b3[3071]](_0x83b3[824],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[824]]()});this[_0x83b3[3071]](_0x83b3[825],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[825]]()});this[_0x83b3[3071]](_0x83b3[2558],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[2558]]()});this[_0x83b3[3071]](_0x83b3[2559],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[2559]]()});this[_0x83b3[3071]](_0x83b3[3149],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[2560]]()});this[_0x83b3[3071]](_0x83b3[933],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[933]]()});this[_0x83b3[3071]](_0x83b3[3150],function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[3150]](_0x187fx3)});this[_0x83b3[3071]](_0x83b3[2705],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2705]]()});this[_0x83b3[3071]](_0x83b3[3151],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2440]]()});this[_0x83b3[3071]](_0x83b3[2706],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2706]]()});this[_0x83b3[3071]](_0x83b3[2708],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2708]]()});this[_0x83b3[3071]](_0x83b3[1061],function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2453]](_0x187fx3)&& _0x187fx2[_0x83b3[1179]][_0x83b3[2451]](_0x187fx3)});this[_0x83b3[3071]](_0x83b3[3152],function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[840]](!0)});this[_0x83b3[3071]](_0x83b3[3153],function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[840]](!1)});this[_0x83b3[3071]](_0x83b3[2552],function(_0x187fx2,_0x187fx3){_0x187fx2[_0x83b3[1179]][_0x83b3[2552]](_0x187fx3)});this[_0x83b3[3071]](_0x83b3[2554],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[2554]]()});this[_0x83b3[3071]](_0x83b3[2442],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[2442]]()});this[_0x83b3[3071]](_0x83b3[3154],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2702]]()});this[_0x83b3[3071]](_0x83b3[3155],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2700]]()});this[_0x83b3[3071]](_0x83b3[3156],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2703]]()});this[_0x83b3[3071]](_0x83b3[3157],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2704]]()});this[_0x83b3[3071]](_0x83b3[2514],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[847]](!0)});this[_0x83b3[3071]](_0x83b3[3158],function(_0x187fx2){if(_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()){var _0x187fx3=_0x187fx2[_0x83b3[1179]][_0x83b3[1728]]();_0x187fx2[_0x83b3[1179]][_0x83b3[847]](!0,!1,_0x187fx3)}});this[_0x83b3[3071]](_0x83b3[3159],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[847]](!1)});this[_0x83b3[3071]](_0x83b3[3160],function(_0x187fx2){if(_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()){var _0x187fx3=_0x187fx2[_0x83b3[1179]][_0x83b3[1728]]();_0x187fx2[_0x83b3[1179]][_0x83b3[847]](!1,!1,_0x187fx3)}});this[_0x83b3[3071]](_0x83b3[1447],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_BOLD)});this[_0x83b3[3071]](_0x83b3[1449],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_ITALIC)});this[_0x83b3[3071]](_0x83b3[355],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_UNDERLINE)});this[_0x83b3[3071]](_0x83b3[639],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_SHADOW)});this[_0x83b3[3071]](_0x83b3[3161],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[849]](mxConstants.ALIGN_LEFT)});this[_0x83b3[3071]](_0x83b3[3162],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[849]](mxConstants.ALIGN_CENTER)});this[_0x83b3[3071]](_0x83b3[3163],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[849]](mxConstants.ALIGN_RIGHT)});this[_0x83b3[3071]](_0x83b3[3164],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[849]](mxConstants.ALIGN_TOP)});this[_0x83b3[3071]](_0x83b3[3165],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[849]](mxConstants.ALIGN_MIDDLE)});this[_0x83b3[3071]](_0x83b3[3166],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[849]](mxConstants.ALIGN_BOTTOM)});this[_0x83b3[3071]](_0x83b3[3167],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT)});this[_0x83b3[3071]](_0x83b3[3168],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER)});this[_0x83b3[3071]](_0x83b3[3169],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_RIGHT)});this[_0x83b3[3071]](_0x83b3[3170],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_TOP)});this[_0x83b3[3071]](_0x83b3[3171],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)});this[_0x83b3[3071]](_0x83b3[3172],function(_0x187fx2){_0x187fx2[_0x83b3[1179]][_0x83b3[994]]()&& _0x187fx2[_0x83b3[1179]][_0x83b3[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_BOTTOM)});this[_0x83b3[3071]](_0x83b3[499],function(_0x187fx2){var _0x187fx3=100* _0x187fx2[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx3=parseFloat(mxUtils[_0x83b3[3173]](mxResources[_0x83b3[203]](_0x187fx2[_0x83b3[3104]])|| _0x187fx2[_0x83b3[3104]],_0x187fx3))/ 100;isNaN(_0x187fx3)|| _0x187fx2[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[2262]](_0x187fx3)});this[_0x83b3[3071]](_0x83b3[3174],function(_0x187fx2){null!= _0x187fx2[_0x83b3[3112]]?_0x187fx2[_0x83b3[3112]][_0x83b3[175]](!_0x187fx2[_0x83b3[3112]][_0x83b3[174]]()):_0x187fx2[_0x83b3[3175]]()});this[_0x83b3[3071]](_0x83b3[3176],function(_0x187fx2){null!= _0x187fx2[_0x83b3[2719]]?_0x187fx2[_0x83b3[2719]][_0x83b3[175]](!_0x187fx2[_0x83b3[2719]][_0x83b3[174]]()):_0x187fx2[_0x83b3[3177]]()});this[_0x83b3[3071]](_0x83b3[3178],function(_0x187fx2){null== _0x187fx2[_0x83b3[2136]]?_0x187fx2[_0x83b3[3179]]():_0x187fx2[_0x83b3[2136]][_0x83b3[175]](!_0x187fx2[_0x83b3[2136]][_0x83b3[174]]())});this[_0x83b3[3071]](_0x83b3[3180],function(_0x187fx2){mxLog[_0x83b3[175]](!mxLog[_0x83b3[174]]())})};mxEditor[_0x83b3[202]][_0x83b3[3102]]= function(){var _0x187fx2=mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[746]]( new mxEventObject(mxEvent.SESSION,_0x83b3[812],_0x187fx2))});return this[_0x83b3[807]](this[_0x83b3[1056]],this[_0x83b3[1057]],this[_0x83b3[1058]],_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3099]]= function(_0x187fx2){null!= _0x187fx2&& (( new mxCodec(_0x187fx2[_0x83b3[295]]))[_0x83b3[1093]](_0x187fx2,this),this[_0x83b3[3181]]())};mxEditor[_0x83b3[202]][_0x83b3[3182]]= function(){document[_0x83b3[3183]]= _0x83b3[3184]};mxEditor[_0x83b3[202]][_0x83b3[3181]]= function(){this[_0x83b3[1184]]= ( new Date)[_0x83b3[178]]();this[_0x83b3[3095]][_0x83b3[200]]();this[_0x83b3[1183]]= 0;this[_0x83b3[2128]](!1)};mxEditor[_0x83b3[202]][_0x83b3[3071]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3091]][_0x187fx2]= _0x187fx3};mxEditor[_0x83b3[202]][_0x83b3[350]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[3091]][_0x187fx2];if(null!= _0x187fx5){try{var _0x187fx9=arguments;_0x187fx9[0]= this;_0x187fx5[_0x83b3[183]](this,_0x187fx9)}catch(f){throw mxUtils[_0x83b3[267]](_0x83b3[3185]+ _0x187fx2+ _0x83b3[3186]+ f[_0x83b3[281]],280,!0),f}}else {mxUtils[_0x83b3[267]](_0x83b3[3187]+ _0x187fx2,280,!0)}};mxEditor[_0x83b3[202]][_0x83b3[3188]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[3118]][_0x187fx2]= _0x187fx3};mxEditor[_0x83b3[202]][_0x83b3[3189]]= function(_0x187fx2){return this[_0x83b3[3118]][_0x187fx2]};mxEditor[_0x83b3[202]][_0x83b3[3096]]= function(){var _0x187fx2= new mxGraph(null,null,this[_0x83b3[2720]]);_0x187fx2[_0x83b3[2673]](!0);_0x187fx2[_0x83b3[2674]](!0);this[_0x83b3[3190]](_0x187fx2);this[_0x83b3[3191]](_0x187fx2);this[_0x83b3[3192]](_0x187fx2);this[_0x83b3[3193]](_0x187fx2);this[_0x83b3[3194]](_0x187fx2);_0x187fx2[_0x83b3[2316]][_0x83b3[1033]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4,_0x187fx5){return this[_0x83b3[3195]](_0x187fx2,_0x187fx4,_0x187fx5)});_0x187fx2[_0x83b3[2433]][_0x83b3[1033]]= mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx4){return this[_0x83b3[2503]](_0x187fx2,_0x187fx4)});this[_0x83b3[3196]](_0x187fx2);this[_0x83b3[3197]](_0x187fx2);return _0x187fx2};mxEditor[_0x83b3[202]][_0x83b3[3196]]= function(_0x187fx2){_0x187fx2= new mxSwimlaneManager(_0x187fx2,!1);_0x187fx2[_0x83b3[1737]]= mxUtils[_0x83b3[885]](this,function(){return this[_0x83b3[3089]]});_0x187fx2[_0x83b3[994]]= mxUtils[_0x83b3[885]](this,function(){return this[_0x83b3[3128]]});return _0x187fx2};mxEditor[_0x83b3[202]][_0x83b3[3197]]= function(_0x187fx2){var _0x187fx3= new mxLayoutManager(_0x187fx2),_0x187fx4=this;_0x187fx3[_0x83b3[2754]]= function(_0x187fx3){var _0x187fx9=null,_0x187fxa=_0x187fx4[_0x83b3[1179]][_0x83b3[502]]();if(null!= _0x187fxa[_0x83b3[1197]](_0x187fx3)){if(_0x187fx4[_0x83b3[3129]]&& _0x187fx2[_0x83b3[1730]](_0x187fx3)){null== _0x187fx4[_0x83b3[3198]]&& (_0x187fx4[_0x83b3[3198]]= _0x187fx4[_0x83b3[3199]]()),_0x187fx9= _0x187fx4[_0x83b3[3198]]}else {if(_0x187fx4[_0x83b3[3126]]&& (_0x187fx2[_0x83b3[2553]](_0x187fx3)|| null== _0x187fxa[_0x83b3[1197]](_0x187fxa[_0x83b3[1197]](_0x187fx3)))){null== _0x187fx4[_0x83b3[3200]]&& (_0x187fx4[_0x83b3[3200]]= _0x187fx4[_0x83b3[3201]]()),_0x187fx9= _0x187fx4[_0x83b3[3200]]}}};return _0x187fx9};return _0x187fx3};mxEditor[_0x83b3[202]][_0x83b3[3202]]= function(_0x187fx2){null== this[_0x83b3[1179]][_0x83b3[526]]&& (this[_0x83b3[1179]][_0x83b3[176]](_0x187fx2),this[_0x83b3[3203]]= new mxRubberband(this[_0x83b3[1179]]),this[_0x83b3[1157]]&& mxEvent[_0x83b3[1157]](_0x187fx2),mxClient[_0x83b3[496]]&& new mxDivResizer(_0x187fx2))};mxEditor[_0x83b3[202]][_0x83b3[3190]]= function(_0x187fx2){_0x187fx2[_0x83b3[169]](mxEvent.DOUBLE_CLICK,mxUtils[_0x83b3[885]](this,function(_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx4[_0x83b3[720]](_0x83b3[246]);null!= _0x187fx5&& (_0x187fx2[_0x83b3[994]]()&& null!= this[_0x83b3[3115]])&& (this[_0x83b3[350]](this[_0x83b3[3115]],_0x187fx5),_0x187fx4[_0x83b3[722]]())}))};mxEditor[_0x83b3[202]][_0x83b3[3191]]= function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){var _0x187fx9=_0x187fx3[_0x83b3[720]](_0x83b3[1061]);this[_0x83b3[3095]][_0x83b3[1114]](_0x187fx9)});_0x187fx2[_0x83b3[502]]()[_0x83b3[169]](mxEvent.UNDO,_0x187fx3);_0x187fx2[_0x83b3[249]]()[_0x83b3[169]](mxEvent.UNDO,_0x187fx3);_0x187fx3= function(_0x187fx3,_0x187fx5){var _0x187fx9=_0x187fx5[_0x83b3[720]](_0x83b3[1061])[_0x83b3[1065]];_0x187fx2[_0x83b3[904]](_0x187fx2[_0x83b3[2436]](_0x187fx9))};this[_0x83b3[3095]][_0x83b3[169]](mxEvent.UNDO,_0x187fx3);this[_0x83b3[3095]][_0x83b3[169]](mxEvent.REDO,_0x187fx3)};mxEditor[_0x83b3[202]][_0x83b3[3192]]= function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[885]](this,function(_0x187fx2){this[_0x83b3[746]]( new mxEventObject(mxEvent.ROOT))});_0x187fx2[_0x83b3[249]]()[_0x83b3[169]](mxEvent.DOWN,_0x187fx3);_0x187fx2[_0x83b3[249]]()[_0x83b3[169]](mxEvent.UP,_0x187fx3)};mxEditor[_0x83b3[202]][_0x83b3[3193]]= function(_0x187fx2){var _0x187fx3=mxUtils[_0x83b3[885]](this,function(_0x187fx3,_0x187fx5){this[_0x83b3[2128]](!0);!0== this[_0x83b3[3140]]&& _0x187fx2[_0x83b3[2585]]();for(var _0x187fx9=_0x187fx5[_0x83b3[720]](_0x83b3[1061])[_0x83b3[1065]],_0x187fxa=0;_0x187fxa< _0x187fx9[_0x83b3[67]];_0x187fxa++){var _0x187fx12=_0x187fx9[_0x187fxa];if(_0x187fx12 instanceof mxRootChange|| _0x187fx12 instanceof mxValueChange&& _0x187fx12[_0x83b3[246]]== this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[813]]|| _0x187fx12 instanceof mxCellAttributeChange&& _0x187fx12[_0x83b3[246]]== this[_0x83b3[1179]][_0x83b3[251]][_0x83b3[813]]){this[_0x83b3[746]]( new mxEventObject(mxEvent.ROOT));break}}});_0x187fx2[_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,_0x187fx3)};mxEditor[_0x83b3[202]][_0x83b3[3194]]= function(_0x187fx2){var _0x187fx3=this;_0x187fx2[_0x83b3[1133]]({mouseDown:function(_0x187fx2,_0x187fx5){if(null!= _0x187fx3[_0x83b3[3083]]&& !_0x187fx5[_0x83b3[737]]()&& (_0x187fx3[_0x83b3[3117]]|| null== _0x187fx5[_0x83b3[248]]())){_0x187fx3[_0x83b3[1179]][_0x83b3[2440]](),_0x187fx3[_0x83b3[3083]](_0x187fx5[_0x83b3[727]](),_0x187fx5[_0x83b3[736]]()),this[_0x83b3[1142]]= !0,_0x187fx5[_0x83b3[722]]()}},mouseMove:function(_0x187fx2,_0x187fx3){this[_0x83b3[1142]]&& _0x187fx3[_0x83b3[722]]()},mouseUp:function(_0x187fx2,_0x187fx3){this[_0x83b3[1142]]&& (this[_0x83b3[1142]]= !1,_0x187fx3[_0x83b3[722]]())}})};mxEditor[_0x83b3[202]][_0x83b3[3201]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[1020]],_0x187fx3= new mxStackLayout(this[_0x83b3[1179]],!this[_0x83b3[3089]],this[_0x83b3[3127]],2* _0x187fx2,2* _0x187fx2);_0x187fx3[_0x83b3[1713]]= function(_0x187fx2){return !_0x187fx3[_0x83b3[1179]][_0x83b3[1730]](_0x187fx2)};return _0x187fx3};mxEditor[_0x83b3[202]][_0x83b3[3199]]= function(){return new mxCompactTreeLayout(this[_0x83b3[1179]],this[_0x83b3[3089]])};mxEditor[_0x83b3[202]][_0x83b3[3097]]= function(){return new mxDefaultToolbar(null,this)};mxEditor[_0x83b3[202]][_0x83b3[3204]]= function(_0x187fx2){this[_0x83b3[3082]][_0x83b3[176]](_0x187fx2);mxClient[_0x83b3[496]]&& new mxDivResizer(_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3205]]= function(_0x187fx2){null== this[_0x83b3[879]]&& (this[_0x83b3[879]]= _0x187fx2,this[_0x83b3[169]](mxEvent.SAVE,mxUtils[_0x83b3[885]](this,function(){var _0x187fx2=( new Date)[_0x83b3[3206]]();this[_0x83b3[3207]]((mxResources[_0x83b3[203]](this[_0x83b3[3106]])|| this[_0x83b3[3106]])+ _0x83b3[3186]+ _0x187fx2)})),this[_0x83b3[169]](mxEvent.OPEN,mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[3207]]((mxResources[_0x83b3[203]](this[_0x83b3[3108]])|| this[_0x83b3[3108]])+ _0x83b3[3186]+ this[_0x83b3[3122]])})),mxClient[_0x83b3[496]]&& new mxDivResizer(_0x187fx2))};mxEditor[_0x83b3[202]][_0x83b3[3207]]= function(_0x187fx2){null!= this[_0x83b3[879]]&& null!= _0x187fx2&& (this[_0x83b3[879]][_0x83b3[339]]= _0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3208]]= function(_0x187fx2){this[_0x83b3[169]](mxEvent.ROOT,mxUtils[_0x83b3[885]](this,function(_0x187fx3){_0x187fx2[_0x83b3[339]]= this[_0x83b3[3209]]()}));mxClient[_0x83b3[496]]&& new mxDivResizer(_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3210]]= function(_0x187fx2,_0x187fx3){null!= _0x187fx2&& ( new mxCompactTreeLayout(this[_0x83b3[1179]],_0x187fx3))[_0x83b3[350]](_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3209]]= function(){for(var _0x187fx2=_0x83b3[110],_0x187fx3=this[_0x83b3[1179]],_0x187fx4=_0x187fx3[_0x83b3[2534]]();null!= _0x187fx4&& null!= _0x187fx3[_0x83b3[502]]()[_0x83b3[1197]](_0x187fx3[_0x83b3[502]]()[_0x83b3[1197]](_0x187fx4));){_0x187fx3[_0x83b3[2553]](_0x187fx4)&& (_0x187fx2= _0x83b3[3211]+ _0x187fx3[_0x83b3[2454]](_0x187fx4)+ _0x187fx2),_0x187fx4= _0x187fx3[_0x83b3[502]]()[_0x83b3[1197]](_0x187fx4)};return this[_0x83b3[3212]]()+ _0x187fx2};mxEditor[_0x83b3[202]][_0x83b3[3212]]= function(){var _0x187fx2=this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[501]]();return this[_0x83b3[1179]][_0x83b3[2454]](_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[824]]= function(){this[_0x83b3[3095]][_0x83b3[824]]()};mxEditor[_0x83b3[202]][_0x83b3[825]]= function(){this[_0x83b3[3095]][_0x83b3[825]]()};mxEditor[_0x83b3[202]][_0x83b3[844]]= function(){var _0x187fx2=null!= this[_0x83b3[3121]]?this[_0x83b3[3121]]:this[_0x83b3[1179]][_0x83b3[1020]];return this[_0x83b3[1179]][_0x83b3[844]](this[_0x83b3[3213]](),_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3213]]= function(){return this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1978]](this[_0x83b3[3120]])};mxEditor[_0x83b3[202]][_0x83b3[392]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=mxUtils[_0x83b3[219]](_0x187fx2)[_0x83b3[875]]();this[_0x83b3[3214]](_0x187fx3[_0x83b3[158]]);this[_0x83b3[3122]]= _0x187fx2;this[_0x83b3[746]]( new mxEventObject(mxEvent.OPEN,_0x83b3[3122],_0x187fx2))}};mxEditor[_0x83b3[202]][_0x83b3[3214]]= function(_0x187fx2){( new mxCodec(_0x187fx2[_0x83b3[295]]))[_0x83b3[1093]](_0x187fx2,this[_0x83b3[1179]][_0x83b3[502]]());this[_0x83b3[3181]]()};mxEditor[_0x83b3[202]][_0x83b3[815]]= function(_0x187fx2,_0x187fx3){_0x187fx2= _0x187fx2|| this[_0x83b3[3215]]();if(null!= _0x187fx2&& 0< _0x187fx2[_0x83b3[67]]){var _0x187fx4=this[_0x83b3[3216]](_0x187fx3);this[_0x83b3[3217]](_0x187fx2,_0x187fx4);this[_0x83b3[2128]](!1)};this[_0x83b3[746]]( new mxEventObject(mxEvent.SAVE,_0x83b3[863],_0x187fx2))};mxEditor[_0x83b3[202]][_0x83b3[3217]]= function(_0x187fx2,_0x187fx3){this[_0x83b3[1070]]&& (_0x187fx3= encodeURIComponent(_0x187fx3));mxUtils[_0x83b3[814]](_0x187fx2,this[_0x83b3[3123]]+ _0x83b3[226]+ _0x187fx3,mxUtils[_0x83b3[885]](this,function(_0x187fx4){this[_0x83b3[746]]( new mxEventObject(mxEvent.POST,_0x83b3[870],_0x187fx4,_0x83b3[863],_0x187fx2,_0x83b3[410],_0x187fx3))}))};mxEditor[_0x83b3[202]][_0x83b3[3216]]= function(_0x187fx2){_0x187fx2= null!= _0x187fx2?_0x187fx2:this[_0x83b3[1069]];var _0x187fx3=( new mxCodec)[_0x83b3[514]](this[_0x83b3[1179]][_0x83b3[502]]());return mxUtils[_0x83b3[875]](_0x187fx3,_0x187fx2)};mxEditor[_0x83b3[202]][_0x83b3[3215]]= function(){return this[_0x83b3[3124]]};mxEditor[_0x83b3[202]][_0x83b3[3142]]= function(){return this[_0x83b3[3125]]};mxEditor[_0x83b3[202]][_0x83b3[807]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){var _0x187fx9=null;mxClient[_0x83b3[3101]]|| (_0x187fx9= new mxSession(this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx2,_0x187fx3,_0x187fx4),_0x187fx9[_0x83b3[169]](mxEvent.RECEIVE,mxUtils[_0x83b3[885]](this,function(_0x187fx2,_0x187fx3){null!= _0x187fx3[_0x83b3[720]](_0x83b3[252])[_0x83b3[284]](_0x83b3[1088])&& this[_0x83b3[3181]]()})),_0x187fx9[_0x83b3[169]](mxEvent.DISCONNECT,_0x187fx5),_0x187fx9[_0x83b3[169]](mxEvent.CONNECT,_0x187fx5),_0x187fx9[_0x83b3[169]](mxEvent.NOTIFY,_0x187fx5),_0x187fx9[_0x83b3[169]](mxEvent.GET,_0x187fx5),_0x187fx9[_0x83b3[861]]());return _0x187fx9};mxEditor[_0x83b3[202]][_0x83b3[3218]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=this[_0x83b3[1179]][_0x83b3[2434]]()[_0x83b3[2054]][_0x187fx3];this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[2434]]()[_0x83b3[2074]](_0x187fx3,this[_0x83b3[1179]][_0x83b3[2434]]()[_0x83b3[2054]][_0x187fx2]);this[_0x83b3[1179]][_0x83b3[2434]]()[_0x83b3[2074]](_0x187fx2,_0x187fx4);this[_0x83b3[1179]][_0x83b3[802]]()};mxEditor[_0x83b3[202]][_0x83b3[3150]]= function(_0x187fx2){_0x187fx2= _0x187fx2|| this[_0x83b3[1179]][_0x83b3[2452]]();null== _0x187fx2&& (_0x187fx2= this[_0x83b3[1179]][_0x83b3[2534]](),null== _0x187fx2&& (_0x187fx2= this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[501]]()));if(null!= _0x187fx2){this[_0x83b3[1179]][_0x83b3[2126]](!0);var _0x187fx3=mxUtils[_0x83b3[445]](this[_0x83b3[1179]][_0x83b3[526]]),_0x187fx4=_0x187fx3[_0x83b3[235]]+ 10,_0x187fx3=_0x187fx3[_0x83b3[236]];if(null!= this[_0x83b3[716]]&& !this[_0x83b3[3139]]){_0x187fx4= this[_0x83b3[716]][_0x83b3[730]](),_0x187fx3= this[_0x83b3[716]][_0x83b3[732]]()}else {var _0x187fx5=this[_0x83b3[1179]][_0x83b3[2555]](_0x187fx2);null!= _0x187fx5&& (_0x187fx4+= _0x187fx5[_0x83b3[235]]+ Math[_0x83b3[243]](200,_0x187fx5[_0x83b3[117]]),_0x187fx3+= _0x187fx5[_0x83b3[236]])};this[_0x83b3[3062]]();_0x187fx2= this[_0x83b3[3219]](_0x187fx2);null!= _0x187fx2&& (this[_0x83b3[716]]= new mxWindow(mxResources[_0x83b3[203]](this[_0x83b3[3110]])|| this[_0x83b3[3110]],_0x187fx2,_0x187fx4,_0x187fx3,this[_0x83b3[3137]],this[_0x83b3[3138]],!1),this[_0x83b3[716]][_0x83b3[175]](!0))}};mxEditor[_0x83b3[202]][_0x83b3[3220]]= function(){return null!= this[_0x83b3[716]]};mxEditor[_0x83b3[202]][_0x83b3[3219]]= function(_0x187fx2){var _0x187fx3=this[_0x83b3[1179]][_0x83b3[502]](),_0x187fx4=_0x187fx3[_0x83b3[433]](_0x187fx2);if(mxUtils[_0x83b3[1331]](_0x187fx4)){var _0x187fx5= new mxForm(_0x83b3[716]);_0x187fx5[_0x83b3[961]](_0x83b3[3222],_0x187fx2[_0x83b3[1103]]())[_0x83b3[57]](_0x83b3[3221],_0x83b3[128]);var _0x187fx9=null,_0x187fxa=null,_0x187fx12=null,_0x187fx13=null,_0x187fx14=null;_0x187fx3[_0x83b3[1193]](_0x187fx2)&& (_0x187fx9= _0x187fx3[_0x83b3[1721]](_0x187fx2),null!= _0x187fx9&& (_0x187fxa= _0x187fx5[_0x83b3[961]](_0x83b3[125],_0x187fx9[_0x83b3[236]]),_0x187fx12= _0x187fx5[_0x83b3[961]](_0x83b3[361],_0x187fx9[_0x83b3[235]]),_0x187fx13= _0x187fx5[_0x83b3[961]](_0x83b3[117],_0x187fx9[_0x83b3[117]]),_0x187fx14= _0x187fx5[_0x83b3[961]](_0x83b3[119],_0x187fx9[_0x83b3[119]])));for(var _0x187fx15=_0x187fx3[_0x83b3[474]](_0x187fx2),_0x187fx16=_0x187fx5[_0x83b3[961]](_0x83b3[3223],_0x187fx15|| _0x83b3[110]),_0x187fx17=_0x187fx4[_0x83b3[320]],_0x187fx18=[],_0x187fx4=0;_0x187fx4< _0x187fx17[_0x83b3[67]];_0x187fx4++){_0x187fx18[_0x187fx4]= _0x187fx5[_0x83b3[968]](_0x187fx17[_0x187fx4][_0x83b3[301]],_0x187fx17[_0x187fx4][_0x83b3[318]],_0x83b3[685]== _0x187fx17[_0x187fx4][_0x83b3[301]]?4:2)};_0x187fx4= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[3062]]();_0x187fx3[_0x83b3[473]]();try{null!= _0x187fx9&& (_0x187fx9= _0x187fx9[_0x83b3[238]](),_0x187fx9[_0x83b3[235]]= parseFloat(_0x187fx12[_0x83b3[131]]),_0x187fx9[_0x83b3[236]]= parseFloat(_0x187fxa[_0x83b3[131]]),_0x187fx9[_0x83b3[117]]= parseFloat(_0x187fx13[_0x83b3[131]]),_0x187fx9[_0x83b3[119]]= parseFloat(_0x187fx14[_0x83b3[131]]),_0x187fx3[_0x83b3[1724]](_0x187fx2,_0x187fx9));0< _0x187fx16[_0x83b3[131]][_0x83b3[67]]?_0x187fx3[_0x83b3[475]](_0x187fx2,_0x187fx16[_0x83b3[131]]):_0x187fx3[_0x83b3[475]](_0x187fx2,null);for(var _0x187fx4=0;_0x187fx4< _0x187fx17[_0x83b3[67]];_0x187fx4++){var _0x187fx5= new mxCellAttributeChange(_0x187fx2,_0x187fx17[_0x187fx4][_0x83b3[301]],_0x187fx18[_0x187fx4][_0x83b3[131]]);_0x187fx3[_0x83b3[350]](_0x187fx5)};this[_0x83b3[1179]][_0x83b3[2455]](_0x187fx2)&& this[_0x83b3[1179]][_0x83b3[858]](_0x187fx2)}finally{_0x187fx3[_0x83b3[476]]()}});_0x187fx15= mxUtils[_0x83b3[885]](this,function(){this[_0x83b3[3062]]()});_0x187fx5[_0x83b3[956]](_0x187fx4,_0x187fx15);return _0x187fx5[_0x83b3[116]]};return null};mxEditor[_0x83b3[202]][_0x83b3[3062]]= function(){null!= this[_0x83b3[716]]&& (this[_0x83b3[716]][_0x83b3[515]](),this[_0x83b3[716]]= null)};mxEditor[_0x83b3[202]][_0x83b3[3175]]= function(){if(null== this[_0x83b3[3112]]){var _0x187fx2=document[_0x83b3[55]](_0x83b3[485]);_0x187fx2[_0x83b3[124]][_0x83b3[549]]= _0x83b3[952];_0x187fx2[_0x83b3[124]][_0x83b3[357]]= _0x83b3[550];var _0x187fx3=document[_0x83b3[112]][_0x83b3[159]],_0x187fx3= new mxWindow(mxResources[_0x83b3[203]](this[_0x83b3[3111]])|| this[_0x83b3[3111]],_0x187fx2,_0x187fx3- 220,this[_0x83b3[3132]],200);_0x187fx3[_0x83b3[164]](!0);_0x187fx3[_0x83b3[165]]= !1;var _0x187fx4=mxUtils[_0x83b3[885]](this,function(_0x187fx3){mxEvent[_0x83b3[762]](_0x187fx2);_0x187fx2[_0x83b3[339]]= _0x83b3[110];this[_0x83b3[3224]](_0x187fx2)});this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[169]](mxEvent.CHANGE,_0x187fx4);this[_0x83b3[1179]][_0x83b3[2435]]()[_0x83b3[169]](mxEvent.CHANGE,_0x187fx4);this[_0x83b3[1179]][_0x83b3[169]](mxEvent.ROOT,_0x187fx4);null!= this[_0x83b3[3131]]&& _0x187fx3[_0x83b3[951]](this[_0x83b3[3131]]);this[_0x83b3[3112]]= _0x187fx3;this[_0x83b3[3224]](_0x187fx2)};this[_0x83b3[3112]][_0x83b3[175]](!0)};mxEditor[_0x83b3[202]][_0x83b3[3225]]= function(_0x187fx2){null!= this[_0x83b3[3112]]&& (_0x187fx2= this[_0x83b3[3112]][_0x83b3[905]],mxEvent[_0x83b3[762]](_0x187fx2),_0x187fx2[_0x83b3[339]]= _0x83b3[110],this[_0x83b3[3224]](_0x187fx2))};mxEditor[_0x83b3[202]][_0x83b3[3224]]= function(_0x187fx2){};mxEditor[_0x83b3[202]][_0x83b3[3177]]= function(_0x187fx2){if(null== this[_0x83b3[2719]]){var _0x187fx3=document[_0x83b3[55]](_0x83b3[389]);_0x187fx3[_0x83b3[57]](_0x83b3[390],mxResources[_0x83b3[203]](_0x83b3[3134])|| this[_0x83b3[3134]]);_0x187fx3[_0x83b3[57]](_0x83b3[119],_0x83b3[118]);_0x187fx3[_0x83b3[57]](_0x83b3[117],_0x83b3[118]);_0x187fx3[_0x83b3[57]](_0x83b3[3226],_0x83b3[468]);_0x187fx3[_0x83b3[124]][_0x83b3[1028]]= _0x83b3[1391];_0x187fx2= document[_0x83b3[112]][_0x83b3[159]];var _0x187fx4=document[_0x83b3[112]][_0x83b3[157]]|| document[_0x83b3[158]][_0x83b3[157]],_0x187fx5= new mxWindow(mxResources[_0x83b3[203]](this[_0x83b3[3113]])|| this[_0x83b3[3113]],_0x187fx3,(_0x187fx2- this[_0x83b3[3135]])/ 2,(_0x187fx4- this[_0x83b3[3136]])/ 3,this[_0x83b3[3135]],this[_0x83b3[3136]]);_0x187fx5[_0x83b3[161]](!0);_0x187fx5[_0x83b3[164]](!0);_0x187fx5[_0x83b3[165]]= !1;_0x187fx5[_0x83b3[163]](!0);null!= this[_0x83b3[3133]]&& _0x187fx5[_0x83b3[951]](this[_0x83b3[3133]]);mxClient[_0x83b3[133]]&& (_0x187fx2= function(_0x187fx2){_0x187fx3[_0x83b3[57]](_0x83b3[119],_0x187fx5[_0x83b3[485]][_0x83b3[167]]- 26+ _0x83b3[168])},_0x187fx5[_0x83b3[169]](mxEvent.RESIZE_END,_0x187fx2),_0x187fx5[_0x83b3[169]](mxEvent.MAXIMIZE,_0x187fx2),_0x187fx5[_0x83b3[169]](mxEvent.NORMALIZE,_0x187fx2),_0x187fx5[_0x83b3[169]](mxEvent.SHOW,_0x187fx2));this[_0x83b3[2719]]= _0x187fx5};this[_0x83b3[2719]][_0x83b3[175]](!0)};mxEditor[_0x83b3[202]][_0x83b3[3179]]= function(){if(null== this[_0x83b3[2136]]){var _0x187fx2=document[_0x83b3[55]](_0x83b3[485]);_0x187fx2[_0x83b3[124]][_0x83b3[277]]= _0x83b3[188];_0x187fx2[_0x83b3[124]][_0x83b3[117]]= _0x83b3[118];_0x187fx2[_0x83b3[124]][_0x83b3[119]]= _0x83b3[118];_0x187fx2[_0x83b3[124]][_0x83b3[1537]]= _0x83b3[1391];_0x187fx2[_0x83b3[124]][_0x83b3[270]]= _0x83b3[582];var _0x187fx3= new mxWindow(mxResources[_0x83b3[203]](this[_0x83b3[3114]])|| this[_0x83b3[3114]],_0x187fx2,600,480,200,200,!1),_0x187fx4= new mxOutline(this[_0x83b3[1179]],_0x187fx2);_0x187fx3[_0x83b3[164]](!0);_0x187fx3[_0x83b3[163]](!0);_0x187fx3[_0x83b3[165]]= !1;_0x187fx3[_0x83b3[169]](mxEvent.RESIZE_END,function(){_0x187fx4[_0x83b3[2729]]()});this[_0x83b3[2136]]= _0x187fx3;this[_0x83b3[2136]][_0x83b3[2136]]= _0x187fx4};this[_0x83b3[2136]][_0x83b3[175]](!0);this[_0x83b3[2136]][_0x83b3[2136]][_0x83b3[2729]](!0)};mxEditor[_0x83b3[202]][_0x83b3[3086]]= function(_0x187fx2){_0x83b3[804]== _0x187fx2?(this[_0x83b3[1179]][_0x83b3[2316]][_0x83b3[2840]]= !1,this[_0x83b3[1179]][_0x83b3[1995]](!1)):_0x83b3[807]== _0x187fx2?(this[_0x83b3[1179]][_0x83b3[2316]][_0x83b3[2840]]= !1,this[_0x83b3[1179]][_0x83b3[1995]](!0)):_0x83b3[796]== _0x187fx2&& (this[_0x83b3[1179]][_0x83b3[2316]][_0x83b3[2840]]= !0,this[_0x83b3[1179]][_0x83b3[1995]](!1))};mxEditor[_0x83b3[202]][_0x83b3[3195]]= function(_0x187fx2,_0x187fx3,_0x187fx4){this[_0x83b3[3094]][_0x83b3[3065]](this,_0x187fx2,_0x187fx3,_0x187fx4)};mxEditor[_0x83b3[202]][_0x83b3[2503]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null;if(null!= this[_0x83b3[2075]]){_0x187fx4= this[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[1978]](this[_0x83b3[2075]])}else {_0x187fx4= new mxCell(_0x83b3[110]);_0x187fx4[_0x83b3[1994]](!0);var _0x187fx5= new mxGeometry;_0x187fx5[_0x83b3[1500]]= !0;_0x187fx4[_0x83b3[1724]](_0x187fx5)};_0x187fx5= this[_0x83b3[2291]]();null!= _0x187fx5&& _0x187fx4[_0x83b3[475]](_0x187fx5);return _0x187fx4};mxEditor[_0x83b3[202]][_0x83b3[2291]]= function(){return this[_0x83b3[3119]]};mxEditor[_0x83b3[202]][_0x83b3[3227]]= function(_0x187fx2){return null!= this[_0x83b3[3093]]&& 0< this[_0x83b3[3093]][_0x83b3[67]]&& this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx2)?this[_0x83b3[3093]][this[_0x83b3[3130]]++ % this[_0x83b3[3093]][_0x83b3[67]]]:null};mxEditor[_0x83b3[202]][_0x83b3[3228]]= function(_0x187fx2){if(null!= this[_0x83b3[3100]]){var _0x187fx3=this[_0x83b3[3227]](_0x187fx2);null!= _0x187fx3&& _0x187fx2[_0x83b3[475]](_0x187fx2[_0x83b3[474]]()+ _0x83b3[471]+ this[_0x83b3[3100]]+ _0x83b3[226]+ _0x187fx3)}};mxEditor[_0x83b3[202]][_0x83b3[817]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){for(var _0x187fx9=this[_0x83b3[1179]][_0x83b3[502]]();null!= _0x187fx2&& !this[_0x83b3[1179]][_0x83b3[2685]](_0x187fx2);){_0x187fx2= _0x187fx9[_0x83b3[1197]](_0x187fx2)};_0x187fx2= null!= _0x187fx2?_0x187fx2:this[_0x83b3[1179]][_0x83b3[2461]](_0x187fx4,_0x187fx5);var _0x187fxa=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[255]],_0x187fx12=_0x187fx9[_0x83b3[1721]](_0x187fx3),_0x187fx13=_0x187fx9[_0x83b3[1721]](_0x187fx2);if(this[_0x83b3[1179]][_0x83b3[1730]](_0x187fx3)&& !this[_0x83b3[1179]][_0x83b3[2412]]){_0x187fx2= null}else {if(null== _0x187fx2&& this[_0x83b3[3116]]){return null};if(null!= _0x187fx2&& null!= _0x187fx13){var _0x187fx14=this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[248]](_0x187fx2);if(null!= _0x187fx14){if(_0x187fx4-= _0x187fx14[_0x83b3[2078]][_0x83b3[235]]* _0x187fxa,_0x187fx5-= _0x187fx14[_0x83b3[2078]][_0x83b3[236]]* _0x187fxa,this[_0x83b3[1179]][_0x83b3[3229]]){var _0x187fx13=_0x187fx12[_0x83b3[117]],_0x187fx15=_0x187fx12[_0x83b3[119]],_0x187fx16=_0x187fx14[_0x83b3[235]]+ _0x187fx14[_0x83b3[117]];_0x187fx4+ _0x187fx13> _0x187fx16&& (_0x187fx4-= _0x187fx4+ _0x187fx13- _0x187fx16);_0x187fx16= _0x187fx14[_0x83b3[236]]+ _0x187fx14[_0x83b3[119]];_0x187fx5+ _0x187fx15> _0x187fx16&& (_0x187fx5-= _0x187fx5+ _0x187fx15- _0x187fx16)}}else {null!= _0x187fx13&& (_0x187fx4-= _0x187fx13[_0x83b3[235]]* _0x187fxa,_0x187fx5-= _0x187fx13[_0x83b3[236]]* _0x187fxa)}}};_0x187fx12= _0x187fx12[_0x83b3[238]]();_0x187fx12[_0x83b3[235]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx4/ _0x187fxa- this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[513]][_0x83b3[235]]- this[_0x83b3[1179]][_0x83b3[1020]]/ 2);_0x187fx12[_0x83b3[236]]= this[_0x83b3[1179]][_0x83b3[1021]](_0x187fx5/ _0x187fxa- this[_0x83b3[1179]][_0x83b3[249]]()[_0x83b3[513]][_0x83b3[236]]- this[_0x83b3[1179]][_0x83b3[1020]]/ 2);_0x187fx3[_0x83b3[1724]](_0x187fx12);null== _0x187fx2&& (_0x187fx2= this[_0x83b3[1179]][_0x83b3[902]]());this[_0x83b3[3228]](_0x187fx3);this[_0x83b3[746]]( new mxEventObject(mxEvent.BEFORE_ADD_VERTEX,_0x83b3[1988],_0x187fx3,_0x83b3[1101],_0x187fx2));_0x187fx9[_0x83b3[473]]();try{_0x187fx3= this[_0x83b3[1179]][_0x83b3[2103]](_0x187fx3,_0x187fx2),null!= _0x187fx3&& (this[_0x83b3[1179]][_0x83b3[2509]](_0x187fx3),this[_0x83b3[746]]( new mxEventObject(mxEvent.ADD_VERTEX,_0x83b3[1988],_0x187fx3)))}finally{_0x187fx9[_0x83b3[476]]()};null!= _0x187fx3&& (this[_0x83b3[1179]][_0x83b3[2450]](_0x187fx3),this[_0x83b3[1179]][_0x83b3[2564]](_0x187fx3),this[_0x83b3[746]]( new mxEventObject(mxEvent.AFTER_ADD_VERTEX,_0x83b3[1988],_0x187fx3)));return _0x187fx3};mxEditor[_0x83b3[202]][_0x83b3[515]]= function(){this[_0x83b3[2717]]|| (this[_0x83b3[2717]]= !0,null!= this[_0x83b3[3112]]&& this[_0x83b3[3112]][_0x83b3[515]](),null!= this[_0x83b3[2136]]&& this[_0x83b3[2136]][_0x83b3[515]](),null!= this[_0x83b3[716]]&& this[_0x83b3[716]][_0x83b3[515]](),null!= this[_0x83b3[3098]]&& this[_0x83b3[3098]][_0x83b3[515]](),null!= this[_0x83b3[3203]]&& this[_0x83b3[3203]][_0x83b3[515]](),null!= this[_0x83b3[3082]]&& this[_0x83b3[3082]][_0x83b3[515]](),null!= this[_0x83b3[1179]]&& this[_0x83b3[1179]][_0x83b3[515]](),this[_0x83b3[3118]]= this[_0x83b3[879]]= null)};var mxCodecRegistry={codecs:[],aliases:[],register:function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[718]]();mxCodecRegistry[_0x83b3[3230]][_0x187fx3]= _0x187fx2;var _0x187fx4=mxUtils[_0x83b3[197]](_0x187fx2[_0x83b3[3231]][_0x83b3[196]]);_0x187fx4!= _0x187fx3&& mxCodecRegistry[_0x83b3[3232]](_0x187fx4,_0x187fx3)};return _0x187fx2},addAlias:function(_0x187fx2,_0x187fx3){mxCodecRegistry[_0x83b3[3233]][_0x187fx2]= _0x187fx3},getCodec:function(_0x187fx2){var _0x187fx3=null;if(null!= _0x187fx2){var _0x187fx3=mxUtils[_0x83b3[197]](_0x187fx2),_0x187fx4=mxCodecRegistry[_0x83b3[3233]][_0x187fx3];null!= _0x187fx4&& (_0x187fx3= _0x187fx4);_0x187fx3= mxCodecRegistry[_0x83b3[3230]][_0x187fx3];if(null== _0x187fx3){try{_0x187fx3= new mxObjectCodec( new _0x187fx2),mxCodecRegistry[_0x83b3[3234]](_0x187fx3)}catch(d){}}};return _0x187fx3}};function mxCodec(_0x187fx2){this[_0x83b3[395]]= _0x187fx2|| mxUtils[_0x83b3[306]]();this[_0x83b3[68]]= []}mxCodec[_0x83b3[202]][_0x83b3[395]]= null;mxCodec[_0x83b3[202]][_0x83b3[68]]= null;mxCodec[_0x83b3[202]][_0x83b3[3235]]= !1;mxCodec[_0x83b3[202]][_0x83b3[1104]]= function(_0x187fx2,_0x187fx3){return this[_0x83b3[68]][_0x187fx2]= _0x187fx3};mxCodec[_0x83b3[202]][_0x83b3[3236]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2&& (_0x187fx3= this[_0x83b3[68]][_0x187fx2],null== _0x187fx3&& (_0x187fx3= this[_0x83b3[1060]](_0x187fx2),null== _0x187fx3&& (_0x187fx2= this[_0x83b3[1362]](_0x187fx2),null!= _0x187fx2&& (_0x187fx3= this[_0x83b3[1093]](_0x187fx2)))));return _0x187fx3};mxCodec[_0x83b3[202]][_0x83b3[1060]]= function(_0x187fx2){return null};mxCodec[_0x83b3[202]][_0x83b3[1362]]= function(_0x187fx2,_0x187fx3){return mxUtils[_0x83b3[290]](this[_0x83b3[395]][_0x83b3[158]],null!= _0x187fx3?_0x187fx3:_0x83b3[1363],_0x187fx2)};mxCodec[_0x83b3[202]][_0x83b3[1103]]= function(_0x187fx2){var _0x187fx3=null;null!= _0x187fx2&& (_0x187fx3= this[_0x83b3[3237]](_0x187fx2),null== _0x187fx3&& _0x187fx2 instanceof mxCell&& (_0x187fx3= _0x187fx2[_0x83b3[1103]](),null== _0x187fx3&& (_0x187fx3= mxCellPath[_0x83b3[385]](_0x187fx2),0== _0x187fx3[_0x83b3[67]]&& (_0x187fx3= _0x83b3[813]))));return _0x187fx3};mxCodec[_0x83b3[202]][_0x83b3[3237]]= function(_0x187fx2){return null};mxCodec[_0x83b3[202]][_0x83b3[514]]= function(_0x187fx2){var _0x187fx3=null;if(null!= _0x187fx2&& null!= _0x187fx2[_0x83b3[196]]){var _0x187fx4=mxCodecRegistry[_0x83b3[3238]](_0x187fx2[_0x83b3[196]]);null!= _0x187fx4?_0x187fx3= _0x187fx4[_0x83b3[514]](this,_0x187fx2):mxUtils[_0x83b3[1331]](_0x187fx2)?_0x187fx3= mxClient[_0x83b3[80]]?_0x187fx2[_0x83b3[511]](!0):this[_0x83b3[395]][_0x83b3[3239]](_0x187fx2,!0):mxLog[_0x83b3[283]](_0x83b3[3240]+ mxUtils[_0x83b3[197]](_0x187fx2[_0x83b3[196]]))};return _0x187fx3};mxCodec[_0x83b3[202]][_0x83b3[1093]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=null;if(null!= _0x187fx2&& _0x187fx2[_0x83b3[288]]== mxConstants[_0x83b3[289]]){var _0x187fx5=null;try{_0x187fx5= eval(_0x187fx2[_0x83b3[301]])}catch(e){};try{var _0x187fxa=mxCodecRegistry[_0x83b3[3238]](_0x187fx5);null!= _0x187fxa?_0x187fx4= _0x187fxa[_0x83b3[1093]](this,_0x187fx2,_0x187fx3):(_0x187fx4= _0x187fx2[_0x83b3[511]](!0),_0x187fx4[_0x83b3[1390]](_0x83b3[3069]))}catch(g){mxLog[_0x83b3[143]](_0x83b3[3241]+ _0x187fx2[_0x83b3[301]]+ _0x83b3[3186]+ g[_0x83b3[281]])}};return _0x187fx4};mxCodec[_0x83b3[202]][_0x83b3[3242]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3[_0x83b3[62]](this[_0x83b3[514]](_0x187fx2));if(null== _0x187fx4|| _0x187fx4){_0x187fx4= _0x187fx2[_0x83b3[262]]();for(var _0x187fx5=0;_0x187fx5< _0x187fx4;_0x187fx5++){this[_0x83b3[3242]](_0x187fx2[_0x83b3[263]](_0x187fx5),_0x187fx3)}}};mxCodec[_0x83b3[202]][_0x83b3[3243]]= function(_0x187fx2){return null!= _0x187fx2&& _0x83b3[279]== typeof _0x187fx2[_0x83b3[3243]]?_0x187fx2[_0x83b3[3243]]():!1};mxCodec[_0x83b3[202]][_0x83b3[3244]]= function(_0x187fx2,_0x187fx3){_0x187fx3= null!= _0x187fx3?_0x187fx3:!0;var _0x187fx4=null;if(null!= _0x187fx2&& _0x187fx2[_0x83b3[288]]== mxConstants[_0x83b3[289]]){_0x187fx4= mxCodecRegistry[_0x83b3[3238]](_0x187fx2[_0x83b3[301]]);if(!this[_0x83b3[3243]](_0x187fx4)){for(var _0x187fx5=_0x187fx2[_0x83b3[285]];null!= _0x187fx5&& !this[_0x83b3[3243]](_0x187fx4);){_0x187fx4= mxCodecRegistry[_0x83b3[3238]](_0x187fx5[_0x83b3[301]]),_0x187fx5= _0x187fx5[_0x83b3[287]]}};this[_0x83b3[3243]](_0x187fx4)|| (_0x187fx4= mxCodecRegistry[_0x83b3[3238]](mxCell));_0x187fx4= _0x187fx4[_0x83b3[1093]](this,_0x187fx2);_0x187fx3&& this[_0x83b3[3245]](_0x187fx4)};return _0x187fx4};mxCodec[_0x83b3[202]][_0x83b3[3245]]= function(_0x187fx2){var _0x187fx3=_0x187fx2[_0x83b3[1101]],_0x187fx4=_0x187fx2[_0x83b3[1709]](!0),_0x187fx5=_0x187fx2[_0x83b3[1709]](!1);_0x187fx2[_0x83b3[1957]](null,!1);_0x187fx2[_0x83b3[1957]](null,!0);_0x187fx2[_0x83b3[1101]]= null;null!= _0x187fx3&& _0x187fx3[_0x83b3[1937]](_0x187fx2);null!= _0x187fx4&& _0x187fx4[_0x83b3[1960]](_0x187fx2,!0);null!= _0x187fx5&& _0x187fx5[_0x83b3[1960]](_0x187fx2,!1)};mxCodec[_0x83b3[202]][_0x83b3[57]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null!= _0x187fx3&& null!= _0x187fx4&& _0x187fx2[_0x83b3[57]](_0x187fx3,_0x187fx4)};function mxObjectCodec(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){this[_0x83b3[3231]]= _0x187fx2;this[_0x83b3[3246]]= null!= _0x187fx3?_0x187fx3:[];this[_0x83b3[3247]]= null!= _0x187fx4?_0x187fx4:[];this[_0x83b3[3248]]= null!= _0x187fx5?_0x187fx5:[];this[_0x83b3[3249]]= {};for(var _0x187fx9 in this[_0x83b3[3248]]){this[_0x83b3[3249]][this[_0x83b3[3248]][_0x187fx9]]= _0x187fx9}}mxObjectCodec[_0x83b3[202]][_0x83b3[3231]]= null;mxObjectCodec[_0x83b3[202]][_0x83b3[3246]]= null;mxObjectCodec[_0x83b3[202]][_0x83b3[3247]]= null;mxObjectCodec[_0x83b3[202]][_0x83b3[3248]]= null;mxObjectCodec[_0x83b3[202]][_0x83b3[3249]]= null;mxObjectCodec[_0x83b3[202]][_0x83b3[718]]= function(){return mxUtils[_0x83b3[197]](this[_0x83b3[3231]][_0x83b3[196]])};mxObjectCodec[_0x83b3[202]][_0x83b3[3250]]= function(){return new this[_0x83b3[3231]][_0x83b3[196]]};mxObjectCodec[_0x83b3[202]][_0x83b3[3251]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[3249]][_0x187fx2];null!= _0x187fx3&& (_0x187fx2= _0x187fx3)};return _0x187fx2};mxObjectCodec[_0x83b3[202]][_0x83b3[3252]]= function(_0x187fx2){if(null!= _0x187fx2){var _0x187fx3=this[_0x83b3[3248]][_0x187fx2];null!= _0x187fx3&& (_0x187fx2= _0x187fx3)};return _0x187fx2};mxObjectCodec[_0x83b3[202]][_0x83b3[3253]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){return _0x187fx3== mxObjectIdentity[_0x83b3[195]]|| 0<= mxUtils[_0x83b3[2]](this[_0x83b3[3246]],_0x187fx3)};mxObjectCodec[_0x83b3[202]][_0x83b3[3254]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){return 0<= mxUtils[_0x83b3[2]](this[_0x83b3[3247]],_0x187fx3)};mxObjectCodec[_0x83b3[202]][_0x83b3[514]]= function(_0x187fx2,_0x187fx3){var _0x187fx4=_0x187fx2[_0x83b3[395]][_0x83b3[55]](this[_0x83b3[718]]());_0x187fx3= this[_0x83b3[3255]](_0x187fx2,_0x187fx3,_0x187fx4);this[_0x83b3[3256]](_0x187fx2,_0x187fx3,_0x187fx4);return this[_0x83b3[3257]](_0x187fx2,_0x187fx3,_0x187fx4)};mxObjectCodec[_0x83b3[202]][_0x83b3[3256]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2[_0x83b3[57]](_0x187fx4,_0x83b3[1363],_0x187fx2[_0x83b3[1103]](_0x187fx3));for(var _0x187fx5 in _0x187fx3){var _0x187fx9=_0x187fx5,_0x187fxa=_0x187fx3[_0x187fx9];null!= _0x187fxa&& !this[_0x83b3[3253]](_0x187fx3,_0x187fx9,_0x187fxa,!0)&& (mxUtils[_0x83b3[1946]](_0x187fx9)&& (_0x187fx9= null),this[_0x83b3[3258]](_0x187fx2,_0x187fx3,_0x187fx9,_0x187fxa,_0x187fx4))}};mxObjectCodec[_0x83b3[202]][_0x83b3[3258]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){if(null!= _0x187fx5){if(this[_0x83b3[3254]](_0x187fx3,_0x187fx4,_0x187fx5,!0)){var _0x187fxa=_0x187fx2[_0x83b3[1103]](_0x187fx5);if(null== _0x187fxa){mxLog[_0x83b3[283]](_0x83b3[3259]+ this[_0x83b3[718]]()+ _0x83b3[87]+ _0x187fx4+ _0x83b3[226]+ _0x187fx5);return};_0x187fx5= _0x187fxa};_0x187fxa= this[_0x83b3[3231]][_0x187fx4];if(null== _0x187fx4|| _0x187fx2[_0x83b3[3235]]|| _0x187fxa!= _0x187fx5){_0x187fx4= this[_0x83b3[3252]](_0x187fx4),this[_0x83b3[3260]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)}}};mxObjectCodec[_0x83b3[202]][_0x83b3[3260]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x83b3[194]!= typeof _0x187fx5?this[_0x83b3[3261]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9):this[_0x83b3[3262]](_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9)};mxObjectCodec[_0x83b3[202]][_0x83b3[3261]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx5= this[_0x83b3[3263]](_0x187fx5);null== _0x187fx4?(_0x187fx3= _0x187fx2[_0x83b3[395]][_0x83b3[55]](_0x83b3[99]),_0x83b3[279]== typeof _0x187fx5?_0x187fx3[_0x83b3[62]](_0x187fx2[_0x83b3[395]][_0x83b3[344]](_0x187fx5)):_0x187fx2[_0x83b3[57]](_0x187fx3,_0x83b3[131],_0x187fx5),_0x187fx9[_0x83b3[62]](_0x187fx3)):_0x83b3[279]!= typeof _0x187fx5&& _0x187fx2[_0x83b3[57]](_0x187fx9,_0x187fx4,_0x187fx5)};mxObjectCodec[_0x83b3[202]][_0x83b3[3262]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5,_0x187fx9){_0x187fx2= _0x187fx2[_0x83b3[514]](_0x187fx5);null!= _0x187fx2?(null!= _0x187fx4&& _0x187fx2[_0x83b3[57]](_0x83b3[3069],_0x187fx4),_0x187fx9[_0x83b3[62]](_0x187fx2)):mxLog[_0x83b3[283]](_0x83b3[3264]+ this[_0x83b3[718]]()+ _0x83b3[87]+ _0x187fx4+ _0x83b3[3186]+ _0x187fx5)};mxObjectCodec[_0x83b3[202]][_0x83b3[3263]]= function(_0x187fx2){if(_0x83b3[82]== typeof _0x187fx2[_0x83b3[67]]&& (!0== _0x187fx2|| !1== _0x187fx2)){_0x187fx2= !0== _0x187fx2?_0x83b3[500]:_0x83b3[468]};return _0x187fx2};mxObjectCodec[_0x83b3[202]][_0x83b3[3265]]= function(_0x187fx2){mxUtils[_0x83b3[1946]](_0x187fx2)&& (_0x187fx2= parseFloat(_0x187fx2));return _0x187fx2};mxObjectCodec[_0x83b3[202]][_0x83b3[3255]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx3};mxObjectCodec[_0x83b3[202]][_0x83b3[3257]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx4};mxObjectCodec[_0x83b3[202]][_0x83b3[1093]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx3[_0x83b3[284]](_0x83b3[1363]),_0x187fx9=_0x187fx2[_0x83b3[68]][_0x187fx5];null== _0x187fx9&& (_0x187fx9= _0x187fx4|| this[_0x83b3[3250]](),null!= _0x187fx5&& _0x187fx2[_0x83b3[1104]](_0x187fx5,_0x187fx9));_0x187fx3= this[_0x83b3[3266]](_0x187fx2,_0x187fx3,_0x187fx9);this[_0x83b3[3267]](_0x187fx2,_0x187fx3,_0x187fx9);return this[_0x83b3[3268]](_0x187fx2,_0x187fx3,_0x187fx9)};mxObjectCodec[_0x83b3[202]][_0x83b3[3267]]= function(_0x187fx2,_0x187fx3,_0x187fx4){null!= _0x187fx3&& (this[_0x83b3[3269]](_0x187fx2,_0x187fx3,_0x187fx4),this[_0x83b3[3270]](_0x187fx2,_0x187fx3,_0x187fx4))};mxObjectCodec[_0x83b3[202]][_0x83b3[3269]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx3= _0x187fx3[_0x83b3[320]];if(null!= _0x187fx3){for(var _0x187fx5=0;_0x187fx5< _0x187fx3[_0x83b3[67]];_0x187fx5++){this[_0x83b3[3271]](_0x187fx2,_0x187fx3[_0x187fx5],_0x187fx4)}}};mxObjectCodec[_0x83b3[202]][_0x83b3[3271]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=_0x187fx3[_0x83b3[301]];if(_0x83b3[3069]!= _0x187fx5&& _0x83b3[1363]!= _0x187fx5){_0x187fx3= this[_0x83b3[3265]](_0x187fx3[_0x83b3[318]]);var _0x187fx9=this[_0x83b3[3251]](_0x187fx5);if(this[_0x83b3[3254]](_0x187fx4,_0x187fx9,_0x187fx3,!1)){_0x187fx2= _0x187fx2[_0x83b3[3236]](_0x187fx3);if(null== _0x187fx2){mxLog[_0x83b3[283]](_0x83b3[3272]+ this[_0x83b3[718]]()+ _0x83b3[87]+ _0x187fx5+ _0x83b3[226]+ _0x187fx3);return};_0x187fx3= _0x187fx2};this[_0x83b3[3253]](_0x187fx4,_0x187fx5,_0x187fx3,!1)|| (_0x187fx4[_0x187fx5]= _0x187fx3)}};mxObjectCodec[_0x83b3[202]][_0x83b3[3270]]= function(_0x187fx2,_0x187fx3,_0x187fx4){for(_0x187fx3= _0x187fx3[_0x83b3[285]];null!= _0x187fx3;){var _0x187fx5=_0x187fx3[_0x83b3[287]];_0x187fx3[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& !this[_0x83b3[3273]](_0x187fx2,_0x187fx3,_0x187fx4)&& this[_0x83b3[3274]](_0x187fx2,_0x187fx3,_0x187fx4);_0x187fx3= _0x187fx5}};mxObjectCodec[_0x83b3[202]][_0x83b3[3274]]= function(_0x187fx2,_0x187fx3,_0x187fx4){var _0x187fx5=this[_0x83b3[3251]](_0x187fx3[_0x83b3[284]](_0x83b3[3069]));if(null== _0x187fx5|| !this[_0x83b3[3253]](_0x187fx4,_0x187fx5,_0x187fx3,!1)){var _0x187fx9=this[_0x83b3[3275]](_0x187fx4,_0x187fx5,_0x187fx3),_0x187fxa=null;_0x83b3[99]== _0x187fx3[_0x83b3[301]]?(_0x187fxa= _0x187fx3[_0x83b3[284]](_0x83b3[131]),null== _0x187fxa&& (_0x187fxa= mxUtils[_0x83b3[1545]](mxUtils[_0x83b3[329]](_0x187fx3)))):_0x187fxa= _0x187fx2[_0x83b3[1093]](_0x187fx3,_0x187fx9);this[_0x83b3[3276]](_0x187fx4,_0x187fx5,_0x187fxa,_0x187fx9)}};mxObjectCodec[_0x83b3[202]][_0x83b3[3275]]= function(_0x187fx2,_0x187fx3,_0x187fx4){_0x187fx2= _0x187fx2[_0x187fx3];_0x187fx2 instanceof Array&& 0< _0x187fx2[_0x83b3[67]]&& (_0x187fx2= null);return _0x187fx2};mxObjectCodec[_0x83b3[202]][_0x83b3[3276]]= function(_0x187fx2,_0x187fx3,_0x187fx4,_0x187fx5){null!= _0x187fx4&& _0x187fx4!= _0x187fx5&& (null!= _0x187fx3&& 0< _0x187fx3[_0x83b3[67]]?_0x187fx2[_0x187fx3]= _0x187fx4:_0x187fx2[_0x83b3[207]](_0x187fx4))};mxObjectCodec[_0x83b3[202]][_0x83b3[3273]]= function(_0x187fx2,_0x187fx3,_0x187fx4){if(_0x83b3[3277]== _0x187fx3[_0x83b3[301]]){_0x187fx3= _0x187fx3[_0x83b3[284]](_0x83b3[298]);if(null!= _0x187fx3){try{var _0x187fx5=mxUtils[_0x83b3[219]](_0x187fx3)[_0x83b3[874]]();null!= _0x187fx5&& _0x187fx2[_0x83b3[1093]](_0x187fx5,_0x187fx4)}catch(e){}};return !0};return !1};mxObjectCodec[_0x83b3[202]][_0x83b3[3266]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx3};mxObjectCodec[_0x83b3[202]][_0x83b3[3268]]= function(_0x187fx2,_0x187fx3,_0x187fx4){return _0x187fx4};mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxCell,[_0x83b3[1954],_0x83b3[1842],_0x83b3[1211],_0x83b3[1991]],[_0x83b3[1101],_0x83b3[1097],_0x83b3[772]]);_0x187fx2[_0x83b3[3243]]= function(){return !0};_0x187fx2[_0x83b3[3253]]= function(_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9){return mxObjectCodec[_0x83b3[202]][_0x83b3[3253]][_0x83b3[183]](this,arguments)|| _0x187fx9&& _0x83b3[131]== _0x187fx4&& _0x187fx5[_0x83b3[288]]== mxConstants[_0x83b3[289]]};_0x187fx2[_0x83b3[3257]]= function(_0x187fx2,_0x187fx4,_0x187fx5){if(null!= _0x187fx4[_0x83b3[131]]&& _0x187fx4[_0x83b3[131]][_0x83b3[288]]== mxConstants[_0x83b3[289]]){var _0x187fx9=_0x187fx5;_0x187fx5= mxClient[_0x83b3[80]]?_0x187fx4[_0x83b3[131]][_0x83b3[511]](!0):_0x187fx2[_0x83b3[395]][_0x83b3[3239]](_0x187fx4[_0x83b3[131]],!0);_0x187fx5[_0x83b3[62]](_0x187fx9);_0x187fx2= _0x187fx9[_0x83b3[284]](_0x83b3[1363]);_0x187fx5[_0x83b3[57]](_0x83b3[1363],_0x187fx2);_0x187fx9[_0x83b3[1390]](_0x83b3[1363])};return _0x187fx5};_0x187fx2[_0x83b3[3266]]= function(_0x187fx2,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx4,_0x187fxa=this[_0x83b3[718]]();_0x187fx4[_0x83b3[301]]!= _0x187fxa?(_0x187fx9= _0x187fx4[_0x83b3[64]](_0x187fxa)[0],null!= _0x187fx9&& _0x187fx9[_0x83b3[265]]== _0x187fx4?(mxUtils[_0x83b3[3278]](_0x187fx9,!0),mxUtils[_0x83b3[3278]](_0x187fx9,!1),_0x187fx9[_0x83b3[265]][_0x83b3[266]](_0x187fx9)):_0x187fx9= null,_0x187fx5[_0x83b3[131]]= _0x187fx4[_0x83b3[511]](!0),_0x187fx4= _0x187fx5[_0x83b3[131]][_0x83b3[284]](_0x83b3[1363]),null!= _0x187fx4&& (_0x187fx5[_0x83b3[1945]](_0x187fx4),_0x187fx5[_0x83b3[131]][_0x83b3[1390]](_0x83b3[1363]))):_0x187fx5[_0x83b3[1945]](_0x187fx4[_0x83b3[284]](_0x83b3[1363]));if(null!= _0x187fx9){for(_0x187fx4= 0;_0x187fx4< this[_0x83b3[3247]][_0x83b3[67]];_0x187fx4++){var _0x187fxa=this[_0x83b3[3247]][_0x187fx4],_0x187fx12=_0x187fx9[_0x83b3[284]](_0x187fxa);if(null!= _0x187fx12){_0x187fx9[_0x83b3[1390]](_0x187fxa);var _0x187fx13=_0x187fx2[_0x83b3[68]][_0x187fx12]|| _0x187fx2[_0x83b3[1060]](_0x187fx12);null== _0x187fx13&& (_0x187fx12= _0x187fx2[_0x83b3[1362]](_0x187fx12),null!= _0x187fx12&& (_0x187fx13= (mxCodecRegistry[_0x83b3[3230]][_0x187fx12[_0x83b3[301]]]|| this)[_0x83b3[1093]](_0x187fx2,_0x187fx12)));_0x187fx5[_0x187fxa]= _0x187fx13}}};return _0x187fx9};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxGraphModel);_0x187fx2[_0x83b3[3256]]= function(_0x187fx2,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx2[_0x83b3[395]][_0x83b3[55]](_0x83b3[813]);_0x187fx2[_0x83b3[3242]](_0x187fx4[_0x83b3[501]](),_0x187fx9);_0x187fx5[_0x83b3[62]](_0x187fx9)};_0x187fx2[_0x83b3[3274]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x83b3[813]== _0x187fx4[_0x83b3[301]]?this[_0x83b3[3279]](_0x187fx2,_0x187fx4,_0x187fx5):mxObjectCodec[_0x83b3[202]][_0x83b3[3274]][_0x83b3[183]](this,arguments)};_0x187fx2[_0x83b3[3279]]= function(_0x187fx2,_0x187fx4,_0x187fx5){var _0x187fx9=null;for(_0x187fx4= _0x187fx4[_0x83b3[285]];null!= _0x187fx4;){var _0x187fxa=_0x187fx2[_0x83b3[3244]](_0x187fx4);null!= _0x187fxa&& null== _0x187fxa[_0x83b3[1197]]()&& (_0x187fx9= _0x187fxa);_0x187fx4= _0x187fx4[_0x83b3[287]]};null!= _0x187fx9&& _0x187fx5[_0x83b3[1927]](_0x187fx9)};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxRootChange,[_0x83b3[251],_0x83b3[257],_0x83b3[813]]);_0x187fx2[_0x83b3[3257]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x187fx2[_0x83b3[3242]](_0x187fx4[_0x83b3[813]],_0x187fx5);return _0x187fx5};_0x187fx2[_0x83b3[3266]]= function(_0x187fx2,_0x187fx4,_0x187fx5){if(null!= _0x187fx4[_0x83b3[285]]&& _0x187fx4[_0x83b3[285]][_0x83b3[288]]== mxConstants[_0x83b3[289]]){_0x187fx4= _0x187fx4[_0x83b3[511]](!0);var _0x187fx9=_0x187fx4[_0x83b3[285]];_0x187fx5[_0x83b3[813]]= _0x187fx2[_0x83b3[3244]](_0x187fx9,!1);_0x187fx5= _0x187fx9[_0x83b3[287]];_0x187fx9[_0x83b3[265]][_0x83b3[266]](_0x187fx9);for(_0x187fx9= _0x187fx5;null!= _0x187fx9;){_0x187fx5= _0x187fx9[_0x83b3[287]],_0x187fx2[_0x83b3[3244]](_0x187fx9),_0x187fx9[_0x83b3[265]][_0x83b3[266]](_0x187fx9),_0x187fx9= _0x187fx5}};return _0x187fx4};_0x187fx2[_0x83b3[3268]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x187fx5[_0x83b3[257]]= _0x187fx5[_0x83b3[813]];return _0x187fx5};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxChildChange,[_0x83b3[251],_0x83b3[247],_0x83b3[1982]],[_0x83b3[1101],_0x83b3[257]]);_0x187fx2[_0x83b3[3254]]= function(_0x187fx2,_0x187fx4,_0x187fx5,_0x187fx9){return _0x83b3[247]== _0x187fx4&& (null!= _0x187fx2[_0x83b3[257]]|| !_0x187fx9)?!0:0<= mxUtils[_0x83b3[2]](this[_0x83b3[3247]],_0x187fx4)};_0x187fx2[_0x83b3[3257]]= function(_0x187fx2,_0x187fx4,_0x187fx5){this[_0x83b3[3254]](_0x187fx4,_0x83b3[247],_0x187fx4[_0x83b3[247]],!0)?_0x187fx5[_0x83b3[57]](_0x83b3[247],_0x187fx2[_0x83b3[1103]](_0x187fx4[_0x83b3[247]])):_0x187fx2[_0x83b3[3242]](_0x187fx4[_0x83b3[247]],_0x187fx5);return _0x187fx5};_0x187fx2[_0x83b3[3266]]= function(_0x187fx2,_0x187fx4,_0x187fx5){if(null!= _0x187fx4[_0x83b3[285]]&& _0x187fx4[_0x83b3[285]][_0x83b3[288]]== mxConstants[_0x83b3[289]]){_0x187fx4= _0x187fx4[_0x83b3[511]](!0);var _0x187fx9=_0x187fx4[_0x83b3[285]];_0x187fx5[_0x83b3[247]]= _0x187fx2[_0x83b3[3244]](_0x187fx9,!1);_0x187fx5= _0x187fx9[_0x83b3[287]];_0x187fx9[_0x83b3[265]][_0x83b3[266]](_0x187fx9);for(_0x187fx9= _0x187fx5;null!= _0x187fx9;){_0x187fx5= _0x187fx9[_0x83b3[287]];if(_0x187fx9[_0x83b3[288]]== mxConstants[_0x83b3[289]]){var _0x187fxa=_0x187fx9[_0x83b3[284]](_0x83b3[1363]);null== _0x187fx2[_0x83b3[1060]](_0x187fxa)&& _0x187fx2[_0x83b3[3244]](_0x187fx9)};_0x187fx9[_0x83b3[265]][_0x83b3[266]](_0x187fx9);_0x187fx9= _0x187fx5}}else {_0x187fx9= _0x187fx4[_0x83b3[284]](_0x83b3[247]),_0x187fx5[_0x83b3[247]]= _0x187fx2[_0x83b3[3236]](_0x187fx9)};return _0x187fx4};_0x187fx2[_0x83b3[3268]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x187fx5[_0x83b3[247]][_0x83b3[1101]]= _0x187fx5[_0x83b3[257]];_0x187fx5[_0x83b3[257]]= _0x187fx5[_0x83b3[1101]];_0x187fx5[_0x83b3[1982]]= _0x187fx5[_0x83b3[1983]];return _0x187fx5};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxTerminalChange,[_0x83b3[251],_0x83b3[257]],[_0x83b3[246],_0x83b3[1984]]);_0x187fx2[_0x83b3[3268]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x187fx5[_0x83b3[257]]= _0x187fx5[_0x83b3[1984]];return _0x187fx5};return _0x187fx2}());var mxGenericChangeCodec=function(_0x187fx2,_0x187fx3){var _0x187fx4= new mxObjectCodec(_0x187fx2,[_0x83b3[251],_0x83b3[257]],[_0x83b3[246]]);_0x187fx4[_0x83b3[3268]]= function(_0x187fx2,_0x187fx4,_0x187fxa){mxUtils[_0x83b3[1331]](_0x187fxa[_0x83b3[246]])&& (_0x187fxa[_0x83b3[246]]= _0x187fx2[_0x83b3[3244]](_0x187fxa[_0x83b3[246]],!1));_0x187fxa[_0x83b3[257]]= _0x187fxa[_0x187fx3];return _0x187fxa};return _0x187fx4};mxCodecRegistry[_0x83b3[3234]](mxGenericChangeCodec( new mxValueChange,_0x83b3[131]));mxCodecRegistry[_0x83b3[3234]](mxGenericChangeCodec( new mxStyleChange,_0x83b3[124]));mxCodecRegistry[_0x83b3[3234]](mxGenericChangeCodec( new mxGeometryChange,_0x83b3[256]));mxCodecRegistry[_0x83b3[3234]](mxGenericChangeCodec( new mxCollapseChange,_0x83b3[1985]));mxCodecRegistry[_0x83b3[3234]](mxGenericChangeCodec( new mxVisibleChange,_0x83b3[189]));mxCodecRegistry[_0x83b3[3234]](mxGenericChangeCodec( new mxCellAttributeChange,_0x83b3[131]));mxCodecRegistry[_0x83b3[3234]](function(){return new mxObjectCodec( new mxGraph,_0x83b3[3280][_0x83b3[224]](_0x83b3[185]))}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxGraphView);_0x187fx2[_0x83b3[514]]= function(_0x187fx2,_0x187fx4){return this[_0x83b3[3242]](_0x187fx2,_0x187fx4,_0x187fx4[_0x83b3[1179]][_0x83b3[502]]()[_0x83b3[501]]())};_0x187fx2[_0x83b3[3242]]= function(_0x187fx2,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx4[_0x83b3[1179]][_0x83b3[502]](),_0x187fxa=_0x187fx4[_0x83b3[248]](_0x187fx5),_0x187fx12=_0x187fx9[_0x83b3[1197]](_0x187fx5);if(null== _0x187fx12|| null!= _0x187fxa){var _0x187fx13=_0x187fx9[_0x83b3[262]](_0x187fx5),_0x187fx14=_0x187fx4[_0x83b3[1179]][_0x83b3[1198]](_0x187fx5),_0x187fx15=null;_0x187fx12== _0x187fx9[_0x83b3[501]]()?_0x187fx15= _0x83b3[3281]:null== _0x187fx12?_0x187fx15= _0x83b3[1179]:_0x187fx9[_0x83b3[250]](_0x187fx5)?_0x187fx15= _0x83b3[1989]:0< _0x187fx13&& null!= _0x187fx14?_0x187fx15= _0x83b3[1504]:_0x187fx9[_0x83b3[1193]](_0x187fx5)&& (_0x187fx15= _0x83b3[1988]);if(null!= _0x187fx15){var _0x187fx16=_0x187fx2[_0x83b3[395]][_0x83b3[55]](_0x187fx15);null!= _0x187fx4[_0x83b3[1179]][_0x83b3[2183]](_0x187fx5)&& (_0x187fx16[_0x83b3[57]](_0x83b3[685],_0x187fx4[_0x83b3[1179]][_0x83b3[2183]](_0x187fx5)),_0x187fx4[_0x83b3[1179]][_0x83b3[2186]](_0x187fx5)&& _0x187fx16[_0x83b3[57]](_0x83b3[1428],!0));if(null== _0x187fx12){var _0x187fx17=_0x187fx4[_0x83b3[517]]();null!= _0x187fx17&& (_0x187fx16[_0x83b3[57]](_0x83b3[235],Math[_0x83b3[488]](_0x187fx17[_0x83b3[235]])),_0x187fx16[_0x83b3[57]](_0x83b3[236],Math[_0x83b3[488]](_0x187fx17[_0x83b3[236]])),_0x187fx16[_0x83b3[57]](_0x83b3[117],Math[_0x83b3[488]](_0x187fx17[_0x83b3[117]])),_0x187fx16[_0x83b3[57]](_0x83b3[119],Math[_0x83b3[488]](_0x187fx17[_0x83b3[119]])));_0x187fx16[_0x83b3[57]](_0x83b3[255],_0x187fx4[_0x83b3[255]])}else {if(null!= _0x187fxa&& null!= _0x187fx14){for(_0x187fx17 in _0x187fxa[_0x83b3[124]]){_0x187fx12= _0x187fxa[_0x83b3[124]][_0x187fx17],_0x83b3[279]== typeof _0x187fx12&& _0x83b3[194]== typeof _0x187fx12&& (_0x187fx12= mxStyleRegistry[_0x83b3[718]](_0x187fx12)),null!= _0x187fx12&& (_0x83b3[279]!= typeof _0x187fx12&& _0x83b3[194]!= typeof _0x187fx12)&& _0x187fx16[_0x83b3[57]](_0x187fx17,_0x187fx12)};_0x187fx12= _0x187fxa[_0x83b3[439]];if(null!= _0x187fx12&& 0< _0x187fx12[_0x83b3[67]]){_0x187fx14= Math[_0x83b3[488]](_0x187fx12[0][_0x83b3[235]])+ _0x83b3[537]+ Math[_0x83b3[488]](_0x187fx12[0][_0x83b3[236]]);for(_0x187fx17= 1;_0x187fx17< _0x187fx12[_0x83b3[67]];_0x187fx17++){_0x187fx14+= _0x83b3[185]+ Math[_0x83b3[488]](_0x187fx12[_0x187fx17][_0x83b3[235]])+ _0x83b3[537]+ Math[_0x83b3[488]](_0x187fx12[_0x187fx17][_0x83b3[236]])};_0x187fx16[_0x83b3[57]](_0x83b3[1525],_0x187fx14)}else {_0x187fx16[_0x83b3[57]](_0x83b3[235],Math[_0x83b3[488]](_0x187fxa[_0x83b3[235]])),_0x187fx16[_0x83b3[57]](_0x83b3[236],Math[_0x83b3[488]](_0x187fxa[_0x83b3[236]])),_0x187fx16[_0x83b3[57]](_0x83b3[117],Math[_0x83b3[488]](_0x187fxa[_0x83b3[117]])),_0x187fx16[_0x83b3[57]](_0x83b3[119],Math[_0x83b3[488]](_0x187fxa[_0x83b3[119]]))};_0x187fx17= _0x187fxa[_0x83b3[2079]];null!= _0x187fx17&& (0!= _0x187fx17[_0x83b3[235]]&& _0x187fx16[_0x83b3[57]](_0x83b3[1126],Math[_0x83b3[488]](_0x187fx17[_0x83b3[235]])),0!= _0x187fx17[_0x83b3[236]]&& _0x187fx16[_0x83b3[57]](_0x83b3[1125],Math[_0x83b3[488]](_0x187fx17[_0x83b3[236]])))}};for(_0x187fx17= 0;_0x187fx17< _0x187fx13;_0x187fx17++){_0x187fxa= this[_0x83b3[3242]](_0x187fx2,_0x187fx4,_0x187fx9[_0x83b3[263]](_0x187fx5,_0x187fx17)),null!= _0x187fxa&& _0x187fx16[_0x83b3[62]](_0x187fxa)}}};return _0x187fx16};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxStylesheet);_0x187fx2[_0x83b3[514]]= function(_0x187fx2,_0x187fx4){var _0x187fx5=_0x187fx2[_0x83b3[395]][_0x83b3[55]](this[_0x83b3[718]]()),_0x187fx9;for(_0x187fx9 in _0x187fx4[_0x83b3[2054]]){var _0x187fxa=_0x187fx4[_0x83b3[2054]][_0x187fx9],_0x187fx12=_0x187fx2[_0x83b3[395]][_0x83b3[55]](_0x83b3[99]);if(null!= _0x187fx9){_0x187fx12[_0x83b3[57]](_0x83b3[3069],_0x187fx9);for(var _0x187fx13 in _0x187fxa){var _0x187fx14=this[_0x83b3[3282]](_0x187fx13,_0x187fxa[_0x187fx13]);if(null!= _0x187fx14){var _0x187fx15=_0x187fx2[_0x83b3[395]][_0x83b3[55]](_0x83b3[99]);_0x187fx15[_0x83b3[57]](_0x83b3[131],_0x187fx14);_0x187fx15[_0x83b3[57]](_0x83b3[3069],_0x187fx13);_0x187fx12[_0x83b3[62]](_0x187fx15)}};0< _0x187fx12[_0x83b3[271]][_0x83b3[67]]&& _0x187fx5[_0x83b3[62]](_0x187fx12)}};return _0x187fx5};_0x187fx2[_0x83b3[3282]]= function(_0x187fx2,_0x187fx4){var _0x187fx5= typeof _0x187fx4;_0x83b3[279]== _0x187fx5?_0x187fx4= mxStyleRegistry[_0x83b3[718]](style[j]):_0x83b3[194]== _0x187fx5&& (_0x187fx4= null);return _0x187fx4};_0x187fx2[_0x83b3[1093]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x187fx5= _0x187fx5|| new this[_0x83b3[3231]][_0x83b3[196]];var _0x187fx9=_0x187fx4[_0x83b3[284]](_0x83b3[1363]);null!= _0x187fx9&& (_0x187fx2[_0x83b3[68]][_0x187fx9]= _0x187fx5);for(_0x187fx4= _0x187fx4[_0x83b3[285]];null!= _0x187fx4;){if(!this[_0x83b3[3273]](_0x187fx2,_0x187fx4,_0x187fx5)&& _0x83b3[99]== _0x187fx4[_0x83b3[301]]&& (_0x187fx9= _0x187fx4[_0x83b3[284]](_0x83b3[3069]),null!= _0x187fx9)){var _0x187fxa=_0x187fx4[_0x83b3[284]](_0x83b3[1284]),_0x187fx12=null!= _0x187fxa?mxUtils[_0x83b3[238]](_0x187fx5[_0x83b3[2054]][_0x187fxa]):null;null== _0x187fx12&& (null!= _0x187fxa&& mxLog[_0x83b3[283]](_0x83b3[3283]+ _0x187fxa+ _0x83b3[3284]),_0x187fx12= {});for(_0x187fxa= _0x187fx4[_0x83b3[285]];null!= _0x187fxa;){if(_0x187fxa[_0x83b3[288]]== mxConstants[_0x83b3[289]]){var _0x187fx13=_0x187fxa[_0x83b3[284]](_0x83b3[3069]);if(_0x83b3[99]== _0x187fxa[_0x83b3[301]]){var _0x187fx14=mxUtils[_0x83b3[329]](_0x187fxa),_0x187fx15=null;null!= _0x187fx14&& 0< _0x187fx14[_0x83b3[67]]?_0x187fx15= mxUtils[_0x83b3[1545]](_0x187fx14):(_0x187fx15= _0x187fxa[_0x83b3[284]](_0x83b3[131]),mxUtils[_0x83b3[1946]](_0x187fx15)&& (_0x187fx15= parseFloat(_0x187fx15)));null!= _0x187fx15&& (_0x187fx12[_0x187fx13]= _0x187fx15)}else {_0x83b3[205]== _0x187fxa[_0x83b3[301]]&& delete _0x187fx12[_0x187fx13]}};_0x187fxa= _0x187fxa[_0x83b3[287]]};_0x187fx5[_0x83b3[2074]](_0x187fx9,_0x187fx12)};_0x187fx4= _0x187fx4[_0x83b3[287]]};return _0x187fx5};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxDefaultKeyHandler);_0x187fx2[_0x83b3[514]]= function(_0x187fx2,_0x187fx4){return null};_0x187fx2[_0x83b3[1093]]= function(_0x187fx2,_0x187fx4,_0x187fx5){if(null!= _0x187fx5){for(_0x187fx4= _0x187fx4[_0x83b3[285]];null!= _0x187fx4;){if(!this[_0x83b3[3273]](_0x187fx2,_0x187fx4,_0x187fx5)&& _0x83b3[99]== _0x187fx4[_0x83b3[301]]){var _0x187fx9=_0x187fx4[_0x83b3[284]](_0x83b3[3069]),_0x187fxa=_0x187fx4[_0x83b3[284]](_0x83b3[892]),_0x187fx12=_0x187fx4[_0x83b3[284]](_0x83b3[2207]);_0x187fx5[_0x83b3[3063]](_0x187fx9,_0x187fxa,_0x187fx12)};_0x187fx4= _0x187fx4[_0x83b3[287]]}};return _0x187fx5};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxDefaultToolbar);_0x187fx2[_0x83b3[514]]= function(_0x187fx2,_0x187fx4){return null};_0x187fx2[_0x83b3[1093]]= function(_0x187fx2,_0x187fx4,_0x187fx5){if(null!= _0x187fx5){var _0x187fx9=_0x187fx5[_0x83b3[3061]];for(_0x187fx4= _0x187fx4[_0x83b3[285]];null!= _0x187fx4;){if(_0x187fx4[_0x83b3[288]]== mxConstants[_0x83b3[289]]&& !this[_0x83b3[3273]](_0x187fx2,_0x187fx4,_0x187fx5)){if(_0x83b3[3072]== _0x187fx4[_0x83b3[301]]){_0x187fx5[_0x83b3[1051]]()}else {if(_0x83b3[345]== _0x187fx4[_0x83b3[301]]){_0x187fx5[_0x83b3[3082]][_0x83b3[1052]]()}else {if(_0x83b3[1054]== _0x187fx4[_0x83b3[301]]){_0x187fx5[_0x83b3[3082]][_0x83b3[1053]]()}else {if(_0x83b3[99]== _0x187fx4[_0x83b3[301]]){var _0x187fxa=_0x187fx4[_0x83b3[284]](_0x83b3[3069]),_0x187fxa=mxResources[_0x83b3[203]](_0x187fxa)|| _0x187fxa,_0x187fx12=_0x187fx4[_0x83b3[284]](_0x83b3[2916]),_0x187fx13=_0x187fx4[_0x83b3[284]](_0x83b3[3285]),_0x187fx14=_0x187fx4[_0x83b3[284]](_0x83b3[892]),_0x187fx15=_0x187fx4[_0x83b3[284]](_0x83b3[3286]),_0x187fx16=_0x187fx4[_0x83b3[284]](_0x83b3[3231]),_0x187fx17=_0x83b3[468]!= _0x187fx4[_0x83b3[284]](_0x83b3[3287]),_0x187fx18=mxUtils[_0x83b3[329]](_0x187fx4),_0x187fx19=null;if(null!= _0x187fx14){_0x187fx19= _0x187fx5[_0x83b3[1025]](_0x187fxa,_0x187fx12,_0x187fx14,_0x187fx13)}else {if(null!= _0x187fx15){var _0x187fx1a=mxUtils[_0x83b3[1545]](_0x187fx18),_0x187fx19=_0x187fx5[_0x83b3[1048]](_0x187fxa,_0x187fx12,_0x187fx15,_0x187fx13,_0x187fx1a)}else {if(null!= _0x187fx16|| null!= _0x187fx18&& 0< _0x187fx18[_0x83b3[67]]){_0x187fx19= _0x187fx9[_0x83b3[3118]][_0x187fx16],_0x187fx16= _0x187fx4[_0x83b3[284]](_0x83b3[124]),null!= _0x187fx19&& null!= _0x187fx16&& (_0x187fx19= _0x187fx19[_0x83b3[238]](),_0x187fx19[_0x83b3[475]](_0x187fx16)),_0x187fx16= null,null!= _0x187fx18&& 0< _0x187fx18[_0x83b3[67]]&& (_0x187fx16= mxUtils[_0x83b3[1545]](_0x187fx18)),_0x187fx19= _0x187fx5[_0x83b3[3087]](_0x187fxa,_0x187fx12,_0x187fx19,_0x187fx13,_0x187fx16,_0x187fx17)}else {if(_0x187fx13= mxUtils[_0x83b3[1540]](_0x187fx4),0< _0x187fx13[_0x83b3[67]]){if(null== _0x187fx12){_0x187fx16= _0x187fx5[_0x83b3[1038]](_0x187fxa);for(_0x187fxa= 0;_0x187fxa< _0x187fx13[_0x83b3[67]];_0x187fxa++){_0x187fx17= _0x187fx13[_0x187fxa],_0x83b3[3072]== _0x187fx17[_0x83b3[301]]?_0x187fx5[_0x83b3[972]](_0x187fx16,_0x83b3[3288]):_0x83b3[99]== _0x187fx17[_0x83b3[301]]&& (_0x187fx12= _0x187fx17[_0x83b3[284]](_0x83b3[3069]),_0x187fx17= _0x187fx17[_0x83b3[284]](_0x83b3[892]),_0x187fx5[_0x83b3[3085]](_0x187fx16,_0x187fx12,_0x187fx17))}}else {var _0x187fx1b=null,_0x187fx1c=_0x187fx5[_0x83b3[3087]](_0x187fxa,_0x187fx12,function(){var _0x187fx2=_0x187fx9[_0x83b3[3118]][_0x187fx1b[_0x83b3[131]]];if(null!= _0x187fx2){var _0x187fx2=_0x187fx2[_0x83b3[238]](),_0x187fx3=_0x187fx1b[_0x83b3[1040]][_0x187fx1b[_0x83b3[1039]]][_0x83b3[3289]];null!= _0x187fx3&& _0x187fx2[_0x83b3[475]](_0x187fx3);return _0x187fx2};mxLog[_0x83b3[283]](_0x83b3[3290]+ _0x187fx2+ _0x83b3[3291]);return null},null,null,_0x187fx17),_0x187fx1b=_0x187fx5[_0x83b3[970]]();mxEvent[_0x83b3[169]](_0x187fx1b,_0x83b3[826],function(){_0x187fx5[_0x83b3[3082]][_0x83b3[1047]](_0x187fx1c,function(_0x187fx2){_0x187fx2= mxUtils[_0x83b3[2196]](_0x187fx9[_0x83b3[1179]][_0x83b3[526]],mxEvent[_0x83b3[731]](_0x187fx2),mxEvent[_0x83b3[733]](_0x187fx2));return _0x187fx9[_0x83b3[817]](null,_0x187fx1a(),_0x187fx2[_0x83b3[235]],_0x187fx2[_0x83b3[236]])});_0x187fx5[_0x83b3[3082]][_0x83b3[1023]]= !1});for(_0x187fxa= 0;_0x187fxa< _0x187fx13[_0x83b3[67]];_0x187fxa++){_0x187fx17= _0x187fx13[_0x187fxa],_0x83b3[3072]== _0x187fx17[_0x83b3[301]]?_0x187fx5[_0x83b3[972]](_0x187fx1b,_0x83b3[3288]):_0x83b3[99]== _0x187fx17[_0x83b3[301]]&& (_0x187fx12= _0x187fx17[_0x83b3[284]](_0x83b3[3069]),_0x187fx18= _0x187fx17[_0x83b3[284]](_0x83b3[3231]),_0x187fx5[_0x83b3[972]](_0x187fx1b,_0x187fx12,_0x187fx18|| _0x187fx16)[_0x83b3[3289]]= _0x187fx17[_0x83b3[284]](_0x83b3[124]))}}}}}};null!= _0x187fx19&& (_0x187fx16= _0x187fx4[_0x83b3[284]](_0x83b3[1363]),null!= _0x187fx16&& 0< _0x187fx16[_0x83b3[67]]&& _0x187fx19[_0x83b3[57]](_0x83b3[1363],_0x187fx16))}}}}};_0x187fx4= _0x187fx4[_0x83b3[287]]}};return _0x187fx5};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxDefaultPopupMenu);_0x187fx2[_0x83b3[514]]= function(_0x187fx2,_0x187fx4){return null};_0x187fx2[_0x83b3[1093]]= function(_0x187fx2,_0x187fx4,_0x187fx5){var _0x187fx9=_0x187fx4[_0x83b3[64]](_0x83b3[3277])[0];null!= _0x187fx9?this[_0x83b3[3273]](_0x187fx2,_0x187fx9,_0x187fx5):null!= _0x187fx5&& (_0x187fx5[_0x83b3[3064]]= _0x187fx4);return _0x187fx5};return _0x187fx2}());mxCodecRegistry[_0x83b3[3234]](function(){var _0x187fx2= new mxObjectCodec( new mxEditor,_0x83b3[3292][_0x83b3[224]](_0x83b3[185]));_0x187fx2[_0x83b3[3268]]= function(_0x187fx2,_0x187fx4,_0x187fx5){_0x187fx2= _0x187fx4[_0x83b3[284]](_0x83b3[2075]);null!= _0x187fx2&& (_0x187fx4[_0x83b3[1390]](_0x83b3[2075]),_0x187fx5[_0x83b3[2075]]= _0x187fx5[_0x83b3[3118]][_0x187fx2]);_0x187fx2= _0x187fx4[_0x83b3[284]](_0x83b3[3120]);null!= _0x187fx2&& (_0x187fx4[_0x83b3[1390]](_0x83b3[3120]),_0x187fx5[_0x83b3[3120]]= _0x187fx5[_0x83b3[3118]][_0x187fx2]);return _0x187fx5};_0x187fx2[_0x83b3[3274]]= function(_0x187fx2,_0x187fx4,_0x187fx5){if(_0x83b3[3293]== _0x187fx4[_0x83b3[301]]){if(_0x83b3[3118]== _0x187fx4[_0x83b3[284]](_0x83b3[3069])){this[_0x83b3[3294]](_0x187fx2,_0x187fx4,_0x187fx5);return}}else {if(_0x83b3[3295]== _0x187fx4[_0x83b3[301]]){this[_0x83b3[3296]](_0x187fx2,_0x187fx4,_0x187fx5);return}};mxObjectCodec[_0x83b3[202]][_0x83b3[3274]][_0x83b3[183]](this,arguments)};_0x187fx2[_0x83b3[3296]]= function(_0x187fx2,_0x187fx4,_0x187fx5){for(_0x187fx2= _0x187fx4[_0x83b3[285]];null!= _0x187fx2;){if(_0x83b3[99]== _0x187fx2[_0x83b3[301]]){_0x187fx4= _0x187fx2[_0x83b3[284]](_0x83b3[3069]);var _0x187fx9=_0x187fx2[_0x83b3[284]](_0x83b3[980]),_0x187fxa=_0x187fx2[_0x83b3[284]](_0x83b3[124]),_0x187fx12=null;if(null!= _0x187fx9){_0x187fx12= document[_0x83b3[1362]](_0x187fx9),null!= _0x187fx12&& null!= _0x187fxa&& (_0x187fx12[_0x83b3[124]][_0x83b3[103]]+= _0x83b3[471]+ _0x187fxa)}else {var _0x187fx9=parseInt(_0x187fx2[_0x83b3[284]](_0x83b3[235])),_0x187fx13=parseInt(_0x187fx2[_0x83b3[284]](_0x83b3[236])),_0x187fx14=_0x187fx2[_0x83b3[284]](_0x83b3[117]),_0x187fx15=_0x187fx2[_0x83b3[284]](_0x83b3[119]),_0x187fx12=document[_0x83b3[55]](_0x83b3[485]);_0x187fx12[_0x83b3[124]][_0x83b3[103]]= _0x187fxa;( new mxWindow(mxResources[_0x83b3[203]](_0x187fx4)|| _0x187fx4,_0x187fx12,_0x187fx9,_0x187fx13,_0x187fx14,_0x187fx15,!1,!0))[_0x83b3[175]](!0)};_0x83b3[1179]== _0x187fx4?_0x187fx5[_0x83b3[3202]](_0x187fx12):_0x83b3[3082]== _0x187fx4?_0x187fx5[_0x83b3[3204]](_0x187fx12):_0x83b3[924]== _0x187fx4?_0x187fx5[_0x83b3[3208]](_0x187fx12):_0x83b3[879]== _0x187fx4?_0x187fx5[_0x83b3[3205]](_0x187fx12):_0x83b3[201]== _0x187fx4&& _0x187fx5[_0x83b3[3297]](_0x187fx12)}else {_0x83b3[3298]== _0x187fx2[_0x83b3[301]]?mxResources[_0x83b3[99]](_0x187fx2[_0x83b3[284]](_0x83b3[3299])):_0x83b3[94]== _0x187fx2[_0x83b3[301]]&& mxClient[_0x83b3[54]](_0x83b3[94],_0x187fx2[_0x83b3[284]](_0x83b3[298]))};_0x187fx2= _0x187fx2[_0x83b3[287]]}};_0x187fx2[_0x83b3[3294]]= function(_0x187fx2,_0x187fx4,_0x187fx5){null== _0x187fx5[_0x83b3[3118]]&& (_0x187fx5[_0x83b3[3118]]= []);_0x187fx4= mxUtils[_0x83b3[1540]](_0x187fx4);for(var _0x187fx9=0;_0x187fx9< _0x187fx4[_0x83b3[67]];_0x187fx9++){for(var _0x187fxa=_0x187fx4[_0x187fx9][_0x83b3[284]](_0x83b3[3069]),_0x187fx12=_0x187fx4[_0x187fx9][_0x83b3[285]];null!= _0x187fx12&& 1!= _0x187fx12[_0x83b3[288]];){_0x187fx12= _0x187fx12[_0x83b3[287]]};null!= _0x187fx12&& (_0x187fx5[_0x83b3[3118]][_0x187fxa]= _0x187fx2[_0x83b3[3244]](_0x187fx12))}};return _0x187fx2}()) \ No newline at end of file +var _0x708e=["\x32\x2E\x30\x2E\x30\x2E\x30","\x4D\x53\x49\x45","\x69\x6E\x64\x65\x78\x4F\x66","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x4D\x53\x49\x45\x20\x36","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x76","\x6F","\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F","\x4F\x70\x65\x72\x61\x2F","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x34\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x33\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x32\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x31\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x30\x2E","\x50\x72\x65\x73\x74\x6F\x2F\x31\x2E","\x41\x70\x70\x6C\x65\x57\x65\x62\x4B\x69\x74\x2F","\x43\x68\x72\x6F\x6D\x65\x2F","\x46\x69\x72\x65\x66\x6F\x78\x2F","\x46\x69\x72\x65\x66\x6F\x78\x2F\x31\x2E","\x46\x69\x72\x65\x66\x6F\x78\x2F\x32\x2E","\x49\x63\x65\x77\x65\x61\x73\x65\x6C\x2F","\x49\x63\x65\x77\x65\x61\x73\x65\x6C\x2F\x31\x2E","\x49\x63\x65\x77\x65\x61\x73\x65\x6C\x2F\x32\x2E","\x53\x65\x61\x4D\x6F\x6E\x6B\x65\x79\x2F","\x53\x65\x61\x4D\x6F\x6E\x6B\x65\x79\x2F\x31\x2E","\x49\x63\x65\x61\x70\x65\x2F","\x49\x63\x65\x61\x70\x65\x2F\x31\x2E","\x53\x65\x61\x6D\x6F\x6E\x6B\x65\x79\x2F","\x47\x61\x6C\x65\x6F\x6E\x2F","\x45\x70\x69\x70\x68\x61\x6E\x79\x2F","\x47\x65\x63\x6B\x6F\x2F","\x43\x61\x6D\x69\x6E\x6F\x2F\x31\x2E","\x45\x70\x69\x70\x68\x61\x6E\x79\x2F\x32\x2E","\x4D\x6F\x7A\x69\x6C\x6C\x61\x2F\x32\x2E","\x4D\x49\x43\x52\x4F\x53\x4F\x46\x54\x20\x49\x4E\x54\x45\x52\x4E\x45\x54\x20\x45\x58\x50\x4C\x4F\x52\x45\x52","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x61\x70\x70\x4E\x61\x6D\x65","\x4D\x41\x43\x49\x4E\x54\x4F\x53\x48","\x49\x50\x41\x44","\x49\x50\x4F\x44","\x49\x50\x48\x4F\x4E\x45","\x41\x4E\x44\x52\x4F\x49\x44","\x68\x74\x74\x70\x3A\x2F\x2F","\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x68\x74\x74\x70\x73\x3A\x2F\x2F","\x49\x53\x5F\x56\x4D\x4C","\x49\x53\x5F\x53\x56\x47","\x49\x53\x5F\x49\x45\x36","\x3C\x6C\x69\x6E\x6B\x20\x72\x65\x6C\x3D\x22","\x22\x20\x68\x72\x65\x66\x3D\x22","\x22\x20\x63\x68\x61\x72\x73\x65\x74\x3D\x22\x49\x53\x4F\x2D\x38\x38\x35\x39\x2D\x31\x22\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x2F\x63\x73\x73\x22\x2F\x3E","\x77\x72\x69\x74\x65","\x6C\x69\x6E\x6B","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x61\x72\x73\x65\x74","\x49\x53\x4F\x2D\x38\x38\x35\x39\x2D\x31","\x74\x79\x70\x65","\x74\x65\x78\x74\x2F\x63\x73\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x68\x65\x61\x64","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x73\x42\x79\x54\x61\x67\x4E\x61\x6D\x65","\x3C\x73\x63\x72\x69\x70\x74\x20\x73\x72\x63\x3D\x22","\x22\x3E\x3C\x2F\x73\x63\x72\x69\x70\x74\x3E","\x6C\x65\x6E\x67\x74\x68","\x6F\x62\x6A\x65\x63\x74\x73","\x6D\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x4C\x69\x73\x74","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x49\x53\x5F\x4F\x50","\x49\x53\x5F\x4F\x54","\x43\x53\x53\x5F\x50\x52\x45\x46\x49\x58","\x4F","\x49\x53\x5F\x53\x46","\x49\x53\x5F\x47\x43","\x57\x65\x62\x6B\x69\x74","\x49\x53\x5F\x4D\x54","\x4D\x6F\x7A","\x49\x53\x5F\x49\x45","\x6D\x73","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x2E\x74\x78\x74","\x2F","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x62\x61\x73\x65\x50\x61\x74\x68","\x2E","\x69\x6D\x61\x67\x65\x42\x61\x73\x65\x50\x61\x74\x68","\x2F\x69\x6D\x61\x67\x65\x73","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x75\x73\x65\x72\x4C\x61\x6E\x67\x75\x61\x67\x65","\x64\x65\x66\x61\x75\x6C\x74\x4C\x61\x6E\x67\x75\x61\x67\x65","\x65\x6E","\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x2F\x63\x73\x73\x2F\x63\x6F\x6D\x6D\x6F\x6E\x2E\x63\x73\x73","\x6C\x61\x6E\x67\x75\x61\x67\x65\x73","\x75\x72\x6E\x3A\x73\x63\x68\x65\x6D\x61\x73\x2D\x6D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2D\x63\x6F\x6D\x3A\x76\x6D\x6C","\x23\x64\x65\x66\x61\x75\x6C\x74\x23\x56\x4D\x4C","\x61\x64\x64","\x6E\x61\x6D\x65\x73\x70\x61\x63\x65\x73","\x75\x72\x6E\x3A\x73\x63\x68\x65\x6D\x61\x73\x2D\x6D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2D\x63\x6F\x6D\x3A\x6F\x66\x66\x69\x63\x65\x3A\x6F\x66\x66\x69\x63\x65","\x63\x72\x65\x61\x74\x65\x53\x74\x79\x6C\x65\x53\x68\x65\x65\x74","\x63\x73\x73\x54\x65\x78\x74","\x76\x5C\x3A\x2A\x7B\x62\x65\x68\x61\x76\x69\x6F\x72\x3A\x75\x72\x6C\x28\x23\x64\x65\x66\x61\x75\x6C\x74\x23\x56\x4D\x4C\x29\x7D\x6F\x5C\x3A\x2A\x7B\x62\x65\x68\x61\x76\x69\x6F\x72\x3A\x75\x72\x6C\x28\x23\x64\x65\x66\x61\x75\x6C\x74\x23\x56\x4D\x4C\x29\x7D","\x2F\x63\x73\x73\x2F\x65\x78\x70\x6C\x6F\x72\x65\x72\x2E\x63\x73\x73","\x6F\x6E\x75\x6E\x6C\x6F\x61\x64","\x64\x69\x73\x70\x6F\x73\x65","\x61\x74\x74\x61\x63\x68\x45\x76\x65\x6E\x74","\x43\x6F\x6E\x73\x6F\x6C\x65","","\x77\x69\x6E\x64\x6F\x77","\x62\x6F\x64\x79","\x63\x6F\x6E\x73\x6F\x6C\x65\x4E\x61\x6D\x65","\x20\x2D\x20\x6D\x78\x47\x72\x61\x70\x68\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x74\x61\x62\x6C\x65","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x74\x62\x6F\x64\x79","\x74\x72","\x74\x64","\x76\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x73\x74\x79\x6C\x65","\x74\x6F\x70","\x74\x65\x78\x74\x61\x72\x65\x61","\x72\x65\x61\x64\x4F\x6E\x6C\x79","\x74\x72\x75\x65","\x72\x65\x73\x69\x7A\x65","\x6E\x6F\x6E\x65","\x76\x61\x6C\x75\x65","\x62\x75\x66\x66\x65\x72","\x49\x53\x5F\x4E\x53","\x42\x61\x63\x6B\x43\x6F\x6D\x70\x61\x74","\x63\x6F\x6D\x70\x61\x74\x4D\x6F\x64\x65","\x39\x39\x25","\x33\x30\x70\x78","\x49\x6E\x66\x6F","\x69\x6E\x66\x6F","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E","\x44\x4F\x4D","\x67\x65\x74\x49\x6E\x6E\x65\x72\x48\x74\x6D\x6C","\x64\x65\x62\x75\x67","\x54\x72\x61\x63\x65","\x54\x52\x41\x43\x45","\x54\x72\x61\x63\x69\x6E\x67\x20\x65\x6E\x61\x62\x6C\x65\x64","\x54\x72\x61\x63\x69\x6E\x67\x20\x64\x69\x73\x61\x62\x6C\x65\x64","\x43\x6F\x70\x79","\x63\x6F\x70\x79","\x61\x6C\x65\x72\x74","\x53\x68\x6F\x77","\x70\x6F\x70\x75\x70","\x43\x6C\x65\x61\x72","\x6E\x75\x6D\x62\x65\x72","\x69\x6E\x6E\x65\x72\x57\x69\x64\x74\x68","\x69\x6E\x6E\x65\x72\x48\x65\x69\x67\x68\x74","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x6D\x61\x78","\x73\x65\x74\x4D\x61\x78\x69\x6D\x69\x7A\x61\x62\x6C\x65","\x73\x65\x74\x53\x63\x72\x6F\x6C\x6C\x61\x62\x6C\x65","\x73\x65\x74\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x73\x65\x74\x43\x6C\x6F\x73\x61\x62\x6C\x65","\x64\x65\x73\x74\x72\x6F\x79\x4F\x6E\x43\x6C\x6F\x73\x65","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x78","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x39\x32\x70\x78","\x77\x72\x69\x74\x65\x6C\x6E","\x62\x75\x74\x74\x6F\x6E","\x63\x6C\x69\x63\x6B","\x69\x73\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x56\x69\x73\x69\x62\x6C\x65","\x69\x6E\x69\x74","\x45\x6E\x74\x65\x72\x69\x6E\x67\x20","\x67\x65\x74\x54\x69\x6D\x65","\x20\x28","\x20\x6D\x73\x29","\x4C\x65\x61\x76\x69\x6E\x67\x20","\x44\x45\x42\x55\x47","\x61\x70\x70\x6C\x79","\x57\x41\x52\x4E","\x20","\x50\x72\x65\x73\x74\x6F\x2F\x32\x2E\x35","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x68\x69\x64\x64\x65\x6E","\x76\x69\x73\x69\x62\x6C\x65","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x0A","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x49\x64","\x6F\x62\x6A\x65\x63\x74","\x46\x49\x45\x4C\x44\x5F\x4E\x41\x4D\x45","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x67\x65\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E\x4E\x61\x6D\x65","\x23","\x63\x6F\x75\x6E\x74\x65\x72","\x63\x6C\x65\x61\x72","\x6D\x61\x70","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x65\x74","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65","\x67\x65\x74\x4B\x65\x79\x73","\x70\x75\x73\x68","\x67\x65\x74\x56\x61\x6C\x75\x65\x73","\x76\x69\x73\x69\x74","\x6C\x6F\x61\x64\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x69\x73\x4C\x61\x6E\x67\x75\x61\x67\x65\x53\x75\x70\x70\x6F\x72\x74\x65\x64","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x2D","\x6C\x6F\x61\x64\x53\x70\x65\x63\x69\x61\x6C\x42\x75\x6E\x64\x6C\x65","\x5F","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x4E\x4F\x4E\x45","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x6C\x6F\x61\x64","\x69\x73\x52\x65\x61\x64\x79","\x67\x65\x74\x54\x65\x78\x74","\x70\x61\x72\x73\x65","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x42\x75\x6E\x64\x6C\x65","\x73\x70\x6C\x69\x74","\x63\x68\x61\x72\x41\x74","\x3D","\x63\x68\x61\x72\x43\x6F\x64\x65\x41\x74","\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x45\x6E\x63\x6F\x64\x65\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x72\x65\x73\x6F\x75\x72\x63\x65\x73","\x7B","\x7D","\x6A\x6F\x69\x6E","\x78","\x79","\x65\x71\x75\x61\x6C\x73","\x63\x6C\x6F\x6E\x65","\x63\x61\x6C\x6C","\x73\x65\x74\x52\x65\x63\x74","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x58","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x59","\x6D\x69\x6E","\x67\x72\x6F\x77","\x67\x65\x74\x50\x6F\x69\x6E\x74","\x63\x65\x6C\x6C","\x63\x68\x69\x6C\x64","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x69\x73\x45\x64\x67\x65","\x6D\x6F\x64\x65\x6C","\x6E\x6F\x64\x65","\x73\x68\x61\x70\x65","\x73\x65\x74\x4F\x70\x61\x63\x69\x74\x79","\x73\x63\x61\x6C\x65","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x70\x72\x65\x76\x69\x6F\x75\x73","\x72\x65\x64\x72\x61\x77","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x61\x73\x63\x61\x64\x65\x4F\x70\x61\x63\x69\x74\x79","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x41\x74","\x67\x65\x74\x45\x64\x67\x65\x73","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x65\x72\x72\x6F\x72","\x63\x6C\x6F\x73\x65","\x2F\x65\x72\x72\x6F\x72\x2E\x67\x69\x66","\x63\x75\x72\x73\x6F\x72","\x63\x68\x69\x6C\x64\x4E\x6F\x64\x65\x73","\x72\x65\x6D\x6F\x76\x65\x43\x75\x72\x73\x6F\x72\x73","\x63\x75\x72\x72\x65\x6E\x74\x53\x74\x79\x6C\x65","\x67\x65\x74\x43\x6F\x6D\x70\x75\x74\x65\x64\x53\x74\x79\x6C\x65","\x67\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x53\x74\x79\x6C\x65","\x73\x63\x72\x6F\x6C\x6C","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x61\x75\x74\x6F","\x66\x75\x6E\x63\x74\x69\x6F\x6E","\x76\x61\x72\x20\x5F\x6D\x78\x4A\x61\x76\x61\x53\x63\x72\x69\x70\x74\x45\x78\x70\x72\x65\x73\x73\x69\x6F\x6E\x3D","\x6D\x65\x73\x73\x61\x67\x65","\x20\x77\x68\x69\x6C\x65\x20\x65\x76\x61\x6C\x75\x61\x74\x69\x6E\x67\x20","\x77\x61\x72\x6E","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x66\x69\x6E\x64\x4E\x6F\x64\x65","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x6E\x6F\x64\x65\x54\x79\x70\x65","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x45\x4C\x45\x4D\x45\x4E\x54","\x66\x69\x6E\x64\x4E\x6F\x64\x65\x42\x79\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x2F\x2F\x2A\x5B\x40","\x3D\x27","\x27\x5D","\x73\x65\x6C\x65\x63\x74\x53\x69\x6E\x67\x6C\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x69\x74\x65\x72\x61\x74\x65\x4E\x65\x78\x74","\x65\x76\x61\x6C\x75\x61\x74\x65","\x6E\x61\x6D\x65","\x28","\x73\x70\x6C\x69\x63\x65","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x69\x6D\x70\x6C\x65\x6D\x65\x6E\x74\x61\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x41\x63\x74\x69\x76\x65\x58\x4F\x62\x6A\x65\x63\x74","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x58\x4D\x4C\x44\x4F\x4D","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x61\x73\x79\x6E\x63","\x66\x61\x6C\x73\x65","\x6C\x6F\x61\x64\x58\x4D\x4C","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x70\x61\x72\x73\x65\x46\x72\x6F\x6D\x53\x74\x72\x69\x6E\x67","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x65\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x76\x65\x41\x6C\x6C\x52\x61\x6E\x67\x65\x73","\x20\x20","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x54\x45\x58\x54","\x6E\x6F\x64\x65\x56\x61\x6C\x75\x65","\x3C","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x68\x74\x6D\x6C\x45\x6E\x74\x69\x74\x69\x65\x73","\x3D\x22","\x22","\x3E\x0A","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x3C\x2F","\x2F\x3E\x0A","\x70\x72\x65\x76\x69\x6F\x75\x73\x53\x69\x62\x6C\x69\x6E\x67","\x67\x65\x74\x54\x65\x78\x74\x43\x6F\x6E\x74\x65\x6E\x74","\x74\x72\x69\x6D","\x26\x61\x6D\x70\x3B","\x26\x71\x75\x6F\x74\x3B","\x26\x23\x33\x39\x3B","\x26\x6C\x74\x3B","\x26\x67\x74\x3B","\x26\x23\x78\x61\x3B","\x74\x61\x67\x55\x72\x6E","\x78\x6D\x6C","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x73\x65\x72\x69\x61\x6C\x69\x7A\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x3E","\x6F\x75\x74\x65\x72\x48\x54\x4D\x4C","\x2F\x3E","\x63\x72\x65\x61\x74\x65\x54\x65\x78\x74\x4E\x6F\x64\x65","\x62\x72","\x70","\x66\x69\x6C\x74\x65\x72","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x41\x6C\x70\x68\x61\x49\x6D\x61\x67\x65\x4C\x6F\x61\x64\x65\x72\x28\x73\x72\x63\x3D\x27","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66\x27\x2C\x20\x73\x69\x7A\x69\x6E\x67\x4D\x65\x74\x68\x6F\x64\x3D\x27\x73\x63\x61\x6C\x65\x27\x29","\x65\x78\x65\x63\x75\x74\x65","\x73\x70\x61\x6E","\x63\x6F\x6C\x6F\x72","\x62\x6C\x75\x65","\x74\x65\x78\x74\x44\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x70\x6F\x69\x6E\x74\x65\x72","\x70\x61\x64\x64\x69\x6E\x67\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x6C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x55\x6E\x69\x76\x65\x72\x73\x61\x6C\x58\x50\x43\x6F\x6E\x6E\x65\x63\x74","\x65\x6E\x61\x62\x6C\x65\x50\x72\x69\x76\x69\x6C\x65\x67\x65","\x50\x72\x69\x76\x69\x6C\x65\x67\x65\x4D\x61\x6E\x61\x67\x65\x72","\x73\x65\x63\x75\x72\x69\x74\x79","\x50\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E\x20\x74\x6F\x20\x72\x65\x61\x64\x20\x66\x69\x6C\x65\x20\x64\x65\x6E\x69\x65\x64\x2E","\x6E\x73\x49\x4C\x6F\x63\x61\x6C\x46\x69\x6C\x65","\x69\x6E\x74\x65\x72\x66\x61\x63\x65\x73","\x63\x72\x65\x61\x74\x65\x49\x6E\x73\x74\x61\x6E\x63\x65","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x66\x69\x6C\x65\x2F\x6C\x6F\x63\x61\x6C\x3B\x31","\x63\x6C\x61\x73\x73\x65\x73","\x69\x6E\x69\x74\x57\x69\x74\x68\x50\x61\x74\x68","\x65\x78\x69\x73\x74\x73","\x46\x69\x6C\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x2E","\x6E\x73\x49\x46\x69\x6C\x65\x49\x6E\x70\x75\x74\x53\x74\x72\x65\x61\x6D","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x66\x69\x6C\x65\x2D\x69\x6E\x70\x75\x74\x2D\x73\x74\x72\x65\x61\x6D\x3B\x31","\x6E\x73\x49\x53\x63\x72\x69\x70\x74\x61\x62\x6C\x65\x49\x6E\x70\x75\x74\x53\x74\x72\x65\x61\x6D","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x73\x63\x72\x69\x70\x74\x61\x62\x6C\x65\x69\x6E\x70\x75\x74\x73\x74\x72\x65\x61\x6D\x3B\x31","\x61\x76\x61\x69\x6C\x61\x62\x6C\x65","\x72\x65\x61\x64","\x53\x63\x72\x69\x70\x74\x69\x6E\x67\x2E\x46\x69\x6C\x65\x53\x79\x73\x74\x65\x6D\x4F\x62\x6A\x65\x63\x74","\x72\x65\x61\x64\x41\x6C\x6C","\x50\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E\x20\x74\x6F\x20\x77\x72\x69\x74\x65\x20\x66\x69\x6C\x65\x20\x64\x65\x6E\x69\x65\x64\x2E","\x63\x72\x65\x61\x74\x65","\x6E\x73\x49\x46\x69\x6C\x65\x4F\x75\x74\x70\x75\x74\x53\x74\x72\x65\x61\x6D","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x6E\x65\x74\x77\x6F\x72\x6B\x2F\x66\x69\x6C\x65\x2D\x6F\x75\x74\x70\x75\x74\x2D\x73\x74\x72\x65\x61\x6D\x3B\x31","\x66\x6C\x75\x73\x68","\x69\x66\x72\x61\x6D\x65","\x73\x72\x63","\x63\x6F\x6E\x74\x65\x6E\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6F\x70\x65\x6E","\x66\x6F\x63\x75\x73","\x50\x65\x72\x6D\x69\x73\x73\x69\x6F\x6E\x20\x74\x6F\x20\x73\x61\x76\x65\x20\x64\x6F\x63\x75\x6D\x65\x6E\x74\x20\x64\x65\x6E\x69\x65\x64\x2E","\x64\x6F\x63\x75\x6D\x65\x6E\x74","\x63\x6F\x6E\x74\x65\x6E\x74\x57\x69\x6E\x64\x6F\x77","\x53\x61\x76\x65\x41\x73","\x65\x78\x65\x63\x43\x6F\x6D\x6D\x61\x6E\x64","\x63\x6C\x69\x70\x62\x6F\x61\x72\x64\x44\x61\x74\x61","\x54\x65\x78\x74","\x73\x65\x74\x44\x61\x74\x61","\x6E\x73\x49\x43\x6C\x69\x70\x62\x6F\x61\x72\x64","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x77\x69\x64\x67\x65\x74\x2F\x63\x6C\x69\x70\x62\x6F\x61\x72\x64\x3B\x31","\x6E\x73\x49\x54\x72\x61\x6E\x73\x66\x65\x72\x61\x62\x6C\x65","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x77\x69\x64\x67\x65\x74\x2F\x74\x72\x61\x6E\x73\x66\x65\x72\x61\x62\x6C\x65\x3B\x31","\x74\x65\x78\x74\x2F\x75\x6E\x69\x63\x6F\x64\x65","\x61\x64\x64\x44\x61\x74\x61\x46\x6C\x61\x76\x6F\x72","\x6E\x73\x49\x53\x75\x70\x70\x6F\x72\x74\x73\x53\x74\x72\x69\x6E\x67","\x40\x6D\x6F\x7A\x69\x6C\x6C\x61\x2E\x6F\x72\x67\x2F\x73\x75\x70\x70\x6F\x72\x74\x73\x2D\x73\x74\x72\x69\x6E\x67\x3B\x31","\x64\x61\x74\x61","\x73\x65\x74\x54\x72\x61\x6E\x73\x66\x65\x72\x44\x61\x74\x61","\x6B\x47\x6C\x6F\x62\x61\x6C\x43\x6C\x69\x70\x62\x6F\x61\x72\x64","\x47\x45\x54","\x73\x65\x6E\x64","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x6E\x67\x65","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x20\x3D\x20\x5B\x6E\x75\x6C\x6C\x5D\x0A","\x20\x3D\x3E\x20\x5B\x46\x75\x6E\x63\x74\x69\x6F\x6E\x5D\x0A","\x20\x3D\x3E\x20\x5B","\x5D\x0A","\x20\x3D\x20","\x50\x49","\x61\x62\x73","\x63\x6F\x73","\x73\x69\x6E","\x73\x71\x72\x74","\x61\x74\x61\x6E\x32","\x63\x65\x69\x6C","\x74\x6F\x52\x61\x64\x69\x61\x6E\x73","\x67\x65\x74\x52\x6F\x74\x61\x74\x65\x64\x50\x6F\x69\x6E\x74","\x67\x65\x74\x56\x61\x6C\x75\x65","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x4E\x4F\x4E\x45","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x4E\x4F\x52\x54\x48","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x57\x45\x53\x54","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x53\x4F\x55\x54\x48","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x45\x41\x53\x54","\x61\x62\x73\x6F\x6C\x75\x74\x65\x50\x6F\x69\x6E\x74\x73","\x70\x74\x53\x65\x67\x44\x69\x73\x74\x53\x71","\x76\x69\x65\x77","\x63\x6F\x6E\x74\x61\x69\x6E\x73","\x6F\x66\x66\x73\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x53\x63\x72\x6F\x6C\x6C\x4F\x72\x69\x67\x69\x6E","\x67\x65\x74\x4F\x66\x66\x73\x65\x74","\x5E\x5B","\x5C\x73","\x5D\x2B","\x67","\x5B","\x5D\x2B\x24","\x72\x74\x72\x69\x6D","\x6C\x74\x72\x69\x6D","\x30\x78","\x30\x58","\x61\x6E\x69\x6D\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x73","\x66\x61\x64\x65\x4F\x75\x74","\x69\x73\x56\x6D\x6C","\x61\x6C\x70\x68\x61\x28\x6F\x70\x61\x63\x69\x74\x79\x3D","\x29","\x6F\x70\x61\x63\x69\x74\x79","\x43\x53\x53\x31\x43\x6F\x6D\x70\x61\x74","\x56\x4D\x4C\x5F\x50\x52\x45\x46\x49\x58","\x3A\x69\x6D\x61\x67\x65","\x62\x6F\x72\x64\x65\x72\x53\x74\x79\x6C\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30","\x63\x6F\x6D\x70\x61\x72\x65","\x73\x6F\x72\x74","\x3B","\x69\x6E\x64\x65\x78\x4F\x66\x53\x74\x79\x6C\x65\x6E\x61\x6D\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x74\x79\x6C\x65","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x65\x74\x53\x74\x79\x6C\x65\x46\x6C\x61\x67","\x3D\x30","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x44\x45\x46\x41\x55\x4C\x54\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x44\x45\x46\x41\x55\x4C\x54\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x64\x69\x76","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x72\x6F\x75\x6E\x64","\x6C\x69\x6E\x65\x48\x65\x69\x67\x68\x74","\x4C\x49\x4E\x45\x5F\x48\x45\x49\x47\x48\x54","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x64\x69\x73\x70\x6C\x61\x79","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x69\x6E\x6C\x69\x6E\x65","\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B","\x7A\x6F\x6F\x6D","\x31","\x67\x65\x74\x52\x6F\x6F\x74","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x69\x73\x45\x76\x65\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x76\x65\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x64\x72\x61\x77\x50\x61\x6E\x65","\x6F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74\x4E\x53","\x63\x61\x6E\x76\x61\x73","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x67\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x65\x6E\x63\x6F\x64\x65","\x64\x65\x73\x74\x72\x6F\x79","\x50\x41\x47\x45\x5F\x46\x4F\x52\x4D\x41\x54\x5F\x41\x34\x5F\x50\x4F\x52\x54\x52\x41\x49\x54","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x63\x61\x6C\x65","\x66\x6C\x6F\x6F\x72","\x3C\x68\x74\x6D\x6C\x3E\x3C\x68\x65\x61\x64\x3E","\x62\x61\x73\x65","\x3C\x73\x74\x79\x6C\x65\x3E","\x73\x74\x79\x6C\x65\x53\x68\x65\x65\x74\x73","\x3C\x2F\x73\x74\x79\x6C\x65\x3E\x3C\x2F\x68\x65\x61\x64\x3E","\x3C\x62\x6F\x64\x79\x3E","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x3C\x2F\x62\x6F\x64\x79\x3E","\x3C\x68\x74\x6D\x6C\x3E","\x44\x49\x56","\x3C\x68\x74\x6D\x6C","\x3C\x68\x65\x61\x64\x3E","\x67\x65\x74\x4F\x75\x74\x65\x72\x48\x74\x6D\x6C","\x3C\x2F\x68\x65\x61\x64\x3E","\x3C\x2F\x68\x74\x6D\x6C\x3E","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x73\x68\x6F\x77","\x70\x72\x69\x6E\x74","\x36\x33\x36\x70\x78","\x34\x36\x30\x70\x78","\x70\x72\x65","\x26\x6E\x62\x73\x70\x3B","\x3C\x62\x72\x3E","\x50\x6F\x70\x75\x70\x20\x57\x69\x6E\x64\x6F\x77","\x3C\x70\x72\x65\x3E","\x3C\x2F\x70\x72\x65","\x70\x61\x64\x64\x69\x6E\x67","\x32\x30\x70\x78","\x65\x72\x72\x6F\x72\x49\x6D\x61\x67\x65","\x76\x61\x6C\x69\x67\x6E","\x62\x6F\x74\x74\x6F\x6D","\x6D\x69\x64\x64\x6C\x65","\xA0","\x65\x72\x72\x6F\x72\x52\x65\x73\x6F\x75\x72\x63\x65","\x66\x6C\x6F\x61\x74\x3A\x72\x69\x67\x68\x74","\x63\x6C\x6F\x73\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x64\x72\x61\x67\x4F\x66\x66\x73\x65\x74","\x54\x4F\x4F\x4C\x54\x49\x50\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x4F\x46\x46\x53\x45\x54","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x68\x69\x67\x68\x6C\x69\x67\x68\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74\x73","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x46\x6F\x72\x45\x76\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x45\x6C\x65\x6D\x65\x6E\x74","\x65\x78\x61\x63\x74","\x66\x61\x73\x74\x65\x72","\x66\x61\x73\x74\x65\x73\x74","\x73\x76\x67","\x76\x6D\x6C","\x6D\x69\x78\x65\x64\x48\x74\x6D\x6C","\x70\x72\x65\x66\x65\x72\x48\x74\x6D\x6C","\x73\x74\x72\x69\x63\x74\x48\x74\x6D\x6C","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x32\x30\x30\x30\x2F\x73\x76\x67","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x68\x74\x6D\x6C","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x6C\x69\x6E\x6B","\x67\x72\x61\x79","\x23\x30\x30\x46\x46\x30\x30","\x23\x46\x46\x30\x30\x30\x30","\x6D\x6F\x76\x65","\x64\x65\x66\x61\x75\x6C\x74","\x23\x30\x30\x30\x30\x46\x46","\x23\x30\x30\x39\x39\x46\x46","\x62\x6C\x61\x63\x6B","\x79\x65\x6C\x6C\x6F\x77","\x23\x30\x30\x46\x46\x46\x46","\x23\x30\x30\x33\x33\x46\x46","\x41\x72\x69\x61\x6C\x2C\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x70\x65\x72\x69\x6D\x65\x74\x65\x72","\x73\x6F\x75\x72\x63\x65\x50\x6F\x72\x74","\x74\x61\x72\x67\x65\x74\x50\x6F\x72\x74","\x70\x6F\x72\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x74\x65\x78\x74\x4F\x70\x61\x63\x69\x74\x79","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C","\x65\x78\x69\x74\x58","\x65\x78\x69\x74\x59","\x65\x78\x69\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x65\x6E\x74\x72\x79\x58","\x65\x6E\x74\x72\x79\x59","\x65\x6E\x74\x72\x79\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x66\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x46\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x67\x72\x61\x64\x69\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x67\x72\x61\x64\x69\x65\x6E\x74\x44\x69\x72\x65\x63\x74\x69\x6F\x6E","\x73\x74\x72\x6F\x6B\x65\x43\x6F\x6C\x6F\x72","\x73\x65\x70\x61\x72\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72","\x73\x74\x72\x6F\x6B\x65\x57\x69\x64\x74\x68","\x61\x6C\x69\x67\x6E","\x6C\x61\x62\x65\x6C\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x76\x65\x72\x74\x69\x63\x61\x6C\x4C\x61\x62\x65\x6C\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x6D\x61\x67\x65\x41\x73\x70\x65\x63\x74","\x69\x6D\x61\x67\x65\x41\x6C\x69\x67\x6E","\x69\x6D\x61\x67\x65\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x67\x6C\x61\x73\x73","\x69\x6D\x61\x67\x65","\x69\x6D\x61\x67\x65\x57\x69\x64\x74\x68","\x69\x6D\x61\x67\x65\x48\x65\x69\x67\x68\x74","\x69\x6D\x61\x67\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x69\x6D\x61\x67\x65\x42\x6F\x72\x64\x65\x72","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x6E\x6F\x4C\x61\x62\x65\x6C","\x6E\x6F\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x61\x62\x65\x6C\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x6C\x61\x62\x65\x6C\x42\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x6C\x61\x62\x65\x6C\x50\x61\x64\x64\x69\x6E\x67","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x68\x61\x70\x65","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x49\x6D\x61\x67\x65","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x74\x72\x6F\x6B\x65\x43\x6F\x6C\x6F\x72","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x47\x72\x61\x64\x69\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x70\x61\x63\x69\x6E\x67","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x57\x69\x64\x74\x68","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x48\x65\x69\x67\x68\x74","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x44\x69\x72\x65\x63\x74\x69\x6F\x6E","\x73\x68\x61\x64\x6F\x77","\x73\x65\x67\x6D\x65\x6E\x74","\x65\x6E\x64\x41\x72\x72\x6F\x77","\x73\x74\x61\x72\x74\x41\x72\x72\x6F\x77","\x65\x6E\x64\x53\x69\x7A\x65","\x73\x74\x61\x72\x74\x53\x69\x7A\x65","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x4C\x69\x6E\x65","\x65\x6E\x64\x46\x69\x6C\x6C","\x73\x74\x61\x72\x74\x46\x69\x6C\x6C","\x64\x61\x73\x68\x65\x64","\x64\x61\x73\x68\x50\x61\x74\x74\x65\x72\x6E","\x72\x6F\x75\x6E\x64\x65\x64","\x63\x75\x72\x76\x65\x64","\x61\x72\x63\x53\x69\x7A\x65","\x73\x6D\x6F\x6F\x74\x68","\x73\x6F\x75\x72\x63\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x53\x70\x61\x63\x69\x6E\x67","\x74\x61\x72\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x53\x70\x61\x63\x69\x6E\x67","\x70\x65\x72\x69\x6D\x65\x74\x65\x72\x53\x70\x61\x63\x69\x6E\x67","\x73\x70\x61\x63\x69\x6E\x67","\x73\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x73\x70\x61\x63\x69\x6E\x67\x4C\x65\x66\x74","\x73\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x73\x70\x61\x63\x69\x6E\x67\x52\x69\x67\x68\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x65\x6C\x62\x6F\x77","\x66\x6F\x6E\x74\x43\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x53\x74\x79\x6C\x65","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x66\x6F\x6C\x64\x61\x62\x6C\x65","\x65\x64\x69\x74\x61\x62\x6C\x65","\x62\x65\x6E\x64\x61\x62\x6C\x65","\x6D\x6F\x76\x61\x62\x6C\x65","\x72\x65\x73\x69\x7A\x61\x62\x6C\x65","\x63\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x64\x65\x6C\x65\x74\x61\x62\x6C\x65","\x65\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x6F\x6F\x70\x53\x74\x79\x6C\x65","\x72\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x58","\x72\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x59","\x72\x65\x63\x74\x61\x6E\x67\x6C\x65","\x65\x6C\x6C\x69\x70\x73\x65","\x64\x6F\x75\x62\x6C\x65\x45\x6C\x6C\x69\x70\x73\x65","\x72\x68\x6F\x6D\x62\x75\x73","\x6C\x69\x6E\x65","\x61\x72\x72\x6F\x77","\x6C\x61\x62\x65\x6C","\x63\x79\x6C\x69\x6E\x64\x65\x72","\x73\x77\x69\x6D\x6C\x61\x6E\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x61\x63\x74\x6F\x72","\x63\x6C\x6F\x75\x64","\x74\x72\x69\x61\x6E\x67\x6C\x65","\x68\x65\x78\x61\x67\x6F\x6E","\x63\x6C\x61\x73\x73\x69\x63","\x62\x6C\x6F\x63\x6B","\x6F\x76\x61\x6C","\x64\x69\x61\x6D\x6F\x6E\x64","\x64\x69\x61\x6D\x6F\x6E\x64\x54\x68\x69\x6E","\x63\x65\x6E\x74\x65\x72","\x72\x69\x67\x68\x74","\x6E\x6F\x72\x74\x68","\x73\x6F\x75\x74\x68","\x65\x61\x73\x74","\x77\x65\x73\x74","\x76\x65\x72\x74\x69\x63\x61\x6C","\x65\x6C\x62\x6F\x77\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x6F\x6F\x70\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x73\x69\x64\x65\x54\x6F\x53\x69\x64\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x74\x6F\x70\x54\x6F\x42\x6F\x74\x74\x6F\x6D\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x73\x65\x67\x6D\x65\x6E\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x65\x6C\x6C\x69\x70\x73\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x72\x65\x63\x74\x61\x6E\x67\x6C\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x72\x68\x6F\x6D\x62\x75\x73\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x74\x72\x69\x61\x6E\x67\x6C\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x63\x6F\x6E\x73\x75\x6D\x65\x64","\x67\x65\x74\x4E\x61\x6D\x65","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x79","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x63\x6F\x6E\x73\x75\x6D\x65","\x65\x76\x74","\x73\x74\x61\x74\x65","\x67\x72\x61\x70\x68\x58","\x67\x72\x61\x70\x68\x59","\x67\x65\x74\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x69\x73\x53\x6F\x75\x72\x63\x65","\x67\x65\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x59","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x67\x65\x74\x43\x65\x6C\x6C","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x72\x65\x74\x75\x72\x6E\x56\x61\x6C\x75\x65","\x73\x65\x74\x45\x76\x65\x6E\x74\x53\x6F\x75\x72\x63\x65","\x65\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x65\x76\x65\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x65\x76\x65\x6E\x74\x53\x6F\x75\x72\x63\x65","\x67\x65\x74\x45\x76\x65\x6E\x74\x53\x6F\x75\x72\x63\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x6F\x6E","\x66","\x72\x65\x6D\x6F\x76\x65\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x64\x65\x74\x61\x63\x68\x45\x76\x65\x6E\x74","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x74\x6F\x75\x63\x68\x73\x74\x61\x72\x74","\x74\x6F\x75\x63\x68\x6D\x6F\x76\x65","\x74\x6F\x75\x63\x68\x65\x6E\x64","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x64\x62\x6C\x63\x6C\x69\x63\x6B","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x72\x65\x6C\x65\x61\x73\x65","\x65\x76\x65\x6E\x74","\x64\x65\x74\x61\x69\x6C","\x77\x68\x65\x65\x6C\x44\x65\x6C\x74\x61","\x6D\x6F\x75\x73\x65\x77\x68\x65\x65\x6C","\x44\x4F\x4D\x4D\x6F\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C","\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x72\x65\x74\x75\x72\x6E\x20\x66\x61\x6C\x73\x65\x3B","\x73\x72\x63\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x61\x72\x67\x65\x74","\x69\x73\x52\x69\x67\x68\x74\x4D\x6F\x75\x73\x65\x42\x75\x74\x74\x6F\x6E","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x73\x68\x69\x66\x74\x4B\x65\x79","\x61\x6C\x74\x4B\x65\x79","\x63\x74\x72\x6C\x4B\x65\x79","\x6D\x65\x74\x61\x4B\x65\x79","\x74\x6F\x75\x63\x68\x65\x73","\x63\x68\x61\x6E\x67\x65\x64\x54\x6F\x75\x63\x68\x65\x73","\x63\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x4D\x61\x69\x6E\x45\x76\x65\x6E\x74","\x63\x6C\x69\x65\x6E\x74\x59","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x63\x61\x6E\x63\x65\x6C\x42\x75\x62\x62\x6C\x65","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x55\x70","\x61\x63\x74\x69\x76\x61\x74\x65","\x72\x65\x73\x69\x7A\x65\x53\x74\x61\x72\x74","\x72\x65\x73\x69\x7A\x65\x45\x6E\x64","\x6D\x6F\x76\x65\x53\x74\x61\x72\x74","\x6D\x6F\x76\x65\x45\x6E\x64","\x70\x61\x6E\x53\x74\x61\x72\x74","\x70\x61\x6E","\x70\x61\x6E\x45\x6E\x64","\x6D\x69\x6E\x69\x6D\x69\x7A\x65","\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65","\x6D\x61\x78\x69\x6D\x69\x7A\x65","\x68\x69\x64\x65","\x72\x65\x66\x72\x65\x73\x68","\x73\x69\x7A\x65","\x73\x65\x6C\x65\x63\x74","\x66\x69\x72\x65\x64","\x72\x65\x63\x65\x69\x76\x65","\x63\x6F\x6E\x6E\x65\x63\x74","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x75\x73\x70\x65\x6E\x64","\x72\x65\x73\x75\x6D\x65","\x6D\x61\x72\x6B","\x73\x65\x73\x73\x69\x6F\x6E","\x72\x6F\x6F\x74","\x70\x6F\x73\x74","\x73\x61\x76\x65","\x62\x65\x66\x6F\x72\x65\x41\x64\x64\x56\x65\x72\x74\x65\x78","\x61\x64\x64\x56\x65\x72\x74\x65\x78","\x61\x66\x74\x65\x72\x41\x64\x64\x56\x65\x72\x74\x65\x78","\x64\x6F\x6E\x65","\x65\x78\x65\x63\x75\x74\x65\x64","\x73\x74\x61\x72\x74\x45\x64\x69\x74","\x65\x6E\x64\x45\x64\x69\x74","\x62\x65\x66\x6F\x72\x65\x55\x6E\x64\x6F","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x68\x61\x6E\x67\x65","\x6E\x6F\x74\x69\x66\x79","\x6C\x61\x79\x6F\x75\x74\x43\x65\x6C\x6C\x73","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x75\x70","\x64\x6F\x77\x6E","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x41\x64\x64\x65\x64","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x4D\x6F\x76\x65\x64","\x72\x65\x73\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x65\x64","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x54\x6F\x67\x67\x6C\x65\x64","\x6F\x72\x64\x65\x72\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x4F\x72\x64\x65\x72\x65\x64","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x52\x65\x6D\x6F\x76\x65\x64","\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x75\x6E\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x63\x65\x6C\x6C\x73\x46\x6F\x6C\x64\x65\x64","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73","\x6C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x43\x65\x6C\x6C","\x63\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x66\x6C\x69\x70\x45\x64\x67\x65","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67","\x61\x64\x64\x4F\x76\x65\x72\x6C\x61\x79","\x72\x65\x6D\x6F\x76\x65\x4F\x76\x65\x72\x6C\x61\x79","\x75\x70\x64\x61\x74\x65\x43\x65\x6C\x6C\x53\x69\x7A\x65","\x65\x73\x63\x61\x70\x65","\x64\x6F\x75\x62\x6C\x65\x43\x6C\x69\x63\x6B","\x73\x74\x61\x72\x74","\x72\x65\x73\x65\x74","\x75\x72\x6C","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x74\x68\x6F\x64","\x50\x4F\x53\x54","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x62\x69\x6E\x61\x72\x79","\x72\x65\x71\x75\x65\x73\x74","\x69\x73\x42\x69\x6E\x61\x72\x79","\x73\x65\x74\x42\x69\x6E\x61\x72\x79","\x72\x65\x73\x70\x6F\x6E\x73\x65\x54\x65\x78\x74","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x58\x6D\x6C","\x72\x65\x73\x70\x6F\x6E\x73\x65\x58\x4D\x4C","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73","\x58\x4D\x4C\x48\x74\x74\x70\x52\x65\x71\x75\x65\x73\x74","\x6F\x76\x65\x72\x72\x69\x64\x65\x4D\x69\x6D\x65\x54\x79\x70\x65","\x74\x65\x78\x74\x2F\x70\x6C\x61\x69\x6E\x3B\x20\x63\x68\x61\x72\x73\x65\x74\x3D\x78\x2D\x75\x73\x65\x72\x2D\x64\x65\x66\x69\x6E\x65\x64","\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x58\x4D\x4C\x48\x54\x54\x50","\x6F\x6E\x72\x65\x61\x64\x79\x73\x74\x61\x74\x65\x63\x68\x61\x61\x6E\x67\x65","\x62\x69\x6E\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72\x73","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x6F\x6E\x62\x65\x66\x6F\x72\x65\x75\x6E\x6C\x6F\x61\x64","\x66\x6F\x72\x6D","\x61\x63\x74\x69\x6F\x6E","\x26","\x73\x75\x62\x6D\x69\x74","\x63\x65\x6C\x6C\x73","\x69\x6E\x73\x65\x72\x74\x43\x6F\x75\x6E\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x67\x65\x74\x45\x78\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x73","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x53\x54\x45\x50\x53\x49\x5A\x45","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x6F\x6E\x74\x65\x6E\x74","\x69\x6E\x73\x74\x61\x6C\x6C\x4D\x61\x78\x69\x6D\x69\x7A\x65\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x4D\x69\x6E\x69\x6D\x69\x7A\x65\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x43\x6C\x6F\x73\x65\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x4D\x69\x6E\x69\x6D\x69\x7A\x61\x62\x6C\x65","\x73\x65\x74\x54\x69\x74\x6C\x65","\x69\x6E\x73\x74\x61\x6C\x6C\x4D\x6F\x76\x65\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x70\x6C\x61\x63\x65\x43\x68\x69\x6C\x64","\x63\x6C\x6F\x73\x65\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x6F\x73\x65\x2E\x67\x69\x66","\x6D\x69\x6E\x69\x6D\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x6D\x69\x6E\x69\x6D\x69\x7A\x65\x2E\x67\x69\x66","\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x6E\x6F\x72\x6D\x61\x6C\x69\x7A\x65\x2E\x67\x69\x66","\x6D\x61\x78\x69\x6D\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x6D\x61\x78\x69\x6D\x69\x7A\x65\x2E\x67\x69\x66","\x72\x65\x73\x69\x7A\x65\x49\x6D\x61\x67\x65","\x2F\x72\x65\x73\x69\x7A\x65\x2E\x67\x69\x66","\x6D\x69\x6E\x69\x6D\x75\x6D\x53\x69\x7A\x65","\x74\x69\x74\x6C\x65","\x6D\x78\x57\x69\x6E\x64\x6F\x77","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x54\x69\x74\x6C\x65","\x50\x61\x6E\x65","\x63\x6F\x6E\x74\x65\x6E\x74\x57\x72\x61\x70\x70\x65\x72","\x61\x63\x74\x69\x76\x65\x57\x69\x6E\x64\x6F\x77","\x7A\x49\x6E\x64\x65\x78","\x70\x72\x65\x76\x69\x6F\x75\x73\x57\x69\x6E\x64\x6F\x77","\x66\x69\x74","\x69\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x32\x70\x78","\x6E\x77\x2D\x72\x65\x73\x69\x7A\x65","\x73\x65\x74\x53\x69\x7A\x65","\x72\x65\x6D\x6F\x76\x65\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x67\x65\x74\x4D\x69\x6E\x69\x6D\x75\x6D\x53\x69\x7A\x65","\x4D\x69\x6E\x69\x6D\x69\x7A\x65","\x6D\x61\x72\x67\x69\x6E\x52\x69\x67\x68\x74","\x31\x70\x78","\x4E\x6F\x72\x6D\x61\x6C\x69\x7A\x65","\x4D\x61\x78\x69\x6D\x69\x7A\x65","\x6D\x61\x72\x67\x69\x6E\x4C\x65\x66\x74","\x30\x70\x78","\x73\x65\x74\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x63\x6C\x6F\x73\x65\x49\x6D\x67","\x43\x6C\x6F\x73\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x73\x65\x74\x49\x6D\x61\x67\x65","\x34\x70\x78","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x2D\x32\x70\x78","\x67\x65\x74\x54\x61\x62\x6C\x65","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E\x73","\x6F\x6B","\x4F\x4B","\x63\x61\x6E\x63\x65\x6C","\x43\x61\x6E\x63\x65\x6C","\x61\x64\x64\x54\x65\x78\x74","\x69\x6E\x70\x75\x74","\x74\x65\x78\x74","\x61\x64\x64\x46\x69\x65\x6C\x64","\x61\x64\x64\x43\x68\x65\x63\x6B\x62\x6F\x78","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x63\x68\x65\x63\x6B\x65\x64","\x61\x64\x64\x54\x65\x78\x74\x61\x72\x65\x61","\x72\x6F\x77\x73","\x61\x64\x64\x43\x6F\x6D\x62\x6F","\x6D\x75\x6C\x74\x69\x70\x6C\x65","\x61\x64\x64\x4F\x70\x74\x69\x6F\x6E","\x6F\x70\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x65\x73\x69\x7A\x65\x57\x69\x64\x74\x68","\x72\x65\x73\x69\x7A\x65\x48\x65\x69\x67\x68\x74","\x68\x61\x6E\x64\x6C\x69\x6E\x67\x52\x65\x73\x69\x7A\x65","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x57\x69\x64\x74\x68","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x65\x6C\x65\x6D\x65\x6E\x74","\x64\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x64\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74","\x70\x72\x65\x76\x69\x65\x77\x45\x6C\x65\x6D\x65\x6E\x74","\x65\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x63\x75\x72\x72\x65\x6E\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x63\x75\x72\x72\x65\x6E\x74\x50\x6F\x69\x6E\x74","\x63\x75\x72\x72\x65\x6E\x74\x47\x75\x69\x64\x65","\x63\x75\x72\x72\x65\x6E\x74\x48\x69\x67\x68\x6C\x69\x67\x68\x74","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x64\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74\x5A\x49\x6E\x64\x65\x78","\x64\x72\x61\x67\x45\x6C\x65\x6D\x65\x6E\x74\x4F\x70\x61\x63\x69\x74\x79","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C\x41\x74","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65\x48\x61\x6E\x64\x6C\x65\x72","\x73\x74\x61\x72\x74\x44\x72\x61\x67","\x6D\x6F\x75\x73\x65\x55\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x74\x6F\x70\x44\x72\x61\x67","\x67\x72\x61\x70\x68\x43\x6F\x6E\x74\x61\x69\x6E\x73\x45\x76\x65\x6E\x74","\x64\x72\x61\x67\x45\x78\x69\x74","\x64\x72\x61\x67\x45\x6E\x74\x65\x72","\x64\x72\x61\x67\x4F\x76\x65\x72","\x64\x72\x6F\x70","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x67\x65\x74\x47\x75\x69\x64\x65\x53\x74\x61\x74\x65\x73","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x61\x75\x74\x6F\x45\x78\x74\x65\x6E\x64","\x73\x63\x72\x6F\x6C\x6C\x50\x6F\x69\x6E\x74\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x69\x73\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x68\x69\x67\x68\x6C\x69\x67\x68\x74","\x33","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64\x45\x76\x65\x6E\x74","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x72\x69\x64\x53\x69\x7A\x65","\x73\x6E\x61\x70","\x70\x72\x65\x76\x69\x65\x77\x4F\x66\x66\x73\x65\x74","\x6E\x6F\x52\x65\x73\x65\x74","\x75\x70\x64\x61\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x4D\x6F\x64\x65","\x61\x64\x64\x49\x74\x65\x6D","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x4D\x6F\x64\x65","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x49\x74\x65\x6D","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x6D\x65\x6E\x75","\x63\x75\x72\x72\x65\x6E\x74\x49\x6D\x67","\x69\x73\x4D\x65\x6E\x75\x53\x68\x6F\x77\x69\x6E\x67","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x53\x65\x6C\x65\x63\x74\x65\x64","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6D\x62\x6F\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6D\x78\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6D\x62\x6F","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E\x43\x6F\x6D\x62\x6F","\x73\x65\x6C\x65\x63\x74\x65\x64\x49\x6E\x64\x65\x78","\x6F\x70\x74\x69\x6F\x6E\x73","\x66\x75\x6E\x63\x74","\x61\x64\x64\x53\x77\x69\x74\x63\x68\x4D\x6F\x64\x65","\x69\x6E\x69\x74\x69\x61\x6C\x43\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x61\x6C\x74\x49\x63\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64\x4D\x6F\x64\x65","\x64\x65\x66\x61\x75\x6C\x74\x4D\x6F\x64\x65","\x73\x65\x6C\x65\x63\x74\x4D\x6F\x64\x65","\x61\x64\x64\x4D\x6F\x64\x65","\x64\x65\x66\x61\x75\x6C\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x72\x65\x73\x65\x74\x4D\x6F\x64\x65","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x61\x64\x64\x42\x72\x65\x61\x6B","\x61\x64\x64\x4C\x69\x6E\x65","\x68\x72","\x36\x70\x78","\x75\x72\x6C\x49\x6E\x69\x74","\x75\x72\x6C\x50\x6F\x6C\x6C","\x75\x72\x6C\x4E\x6F\x74\x69\x66\x79","\x63\x6F\x64\x65\x63","\x6C\x6F\x6F\x6B\x75\x70","\x65\x64\x69\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x73\x75\x73\x70\x65\x6E\x64\x65\x64","\x3C\x65\x64\x69\x74\x3E","\x63\x68\x61\x6E\x67\x65\x73","\x75\x6E\x64\x6F\x6E\x65","\x65\x6E\x63\x6F\x64\x65\x43\x68\x61\x6E\x67\x65\x73","\x3C\x2F\x65\x64\x69\x74\x3E","\x6C\x69\x6E\x65\x66\x65\x65\x64","\x65\x73\x63\x61\x70\x65\x50\x6F\x73\x74\x44\x61\x74\x61","\x73\x69\x67\x6E\x69\x66\x69\x63\x61\x6E\x74\x52\x65\x6D\x6F\x74\x65\x43\x68\x61\x6E\x67\x65\x73","\x73\x65\x6E\x74","\x72\x65\x63\x65\x69\x76\x65\x64","\x70\x6F\x6C\x6C\x69\x6E\x67","\x70\x6F\x6C\x6C","\x73\x74\x6F\x70","\x72\x65\x61\x73\x6F\x6E","\x6D\x78\x53\x65\x73\x73\x69\x6F\x6E\x2E\x6E\x6F\x74\x69\x66\x79\x3A\x20","\x20\x78\x6D\x6C\x3D","\x3C\x6D\x65\x73\x73\x61\x67\x65\x3E\x3C\x64\x65\x6C\x74\x61\x3E","\x3C\x2F\x64\x65\x6C\x74\x61\x3E\x3C\x2F\x6D\x65\x73\x73\x61\x67\x65\x3E","\x78\x6D\x6C\x3D","\x69\x73\x56\x61\x6C\x69\x64\x52\x65\x73\x70\x6F\x6E\x73\x65","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x73\x70\x6F\x6E\x73\x65\x3A\x20","\x52\x65\x73\x70\x6F\x6E\x73\x65\x20\x6E\x6F\x74\x20\x72\x65\x61\x64\x79","\x54\x72\x61\x6E\x73\x6D\x69\x73\x73\x69\x6F\x6E\x20\x65\x72\x72\x6F\x72","\x3C\x3F\x70\x68\x70","\x6E\x61\x6D\x65\x73\x70\x61\x63\x65","\x70\x72\x65\x66\x69\x78","\x70\x72\x6F\x63\x65\x73\x73\x53\x74\x61\x74\x65","\x64\x65\x6C\x74\x61","\x70\x72\x6F\x63\x65\x73\x73\x44\x65\x6C\x74\x61","\x64\x65\x63\x6F\x64\x65","\x70\x72\x6F\x63\x65\x73\x73\x45\x64\x69\x74","\x64\x65\x63\x6F\x64\x65\x43\x68\x61\x6E\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x55\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74","\x73\x6F\x75\x72\x63\x65","\x64\x65\x63\x6F\x64\x65\x43\x68\x61\x6E\x67\x65","\x6D\x78\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x6D\x78\x43\x68\x69\x6C\x64\x43\x68\x61\x6E\x67\x65","\x70\x61\x72\x65\x6E\x74","\x63\x65\x6C\x6C\x52\x65\x6D\x6F\x76\x65\x64","\x67\x65\x74\x49\x64","\x70\x75\x74\x4F\x62\x6A\x65\x63\x74","\x73\x69\x67\x6E\x69\x66\x69\x63\x61\x6E\x74","\x72\x65\x64\x6F\x6E\x65","\x69\x73\x45\x6D\x70\x74\x79","\x69\x73\x53\x69\x67\x6E\x69\x66\x69\x63\x61\x6E\x74","\x64\x69\x65","\x68\x69\x73\x74\x6F\x72\x79","\x69\x6E\x64\x65\x78\x4F\x66\x4E\x65\x78\x74\x41\x64\x64","\x63\x61\x6E\x55\x6E\x64\x6F","\x63\x61\x6E\x52\x65\x64\x6F","\x75\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74\x48\x61\x70\x70\x65\x6E\x65\x64","\x73\x68\x69\x66\x74","\x64\x61\x74\x61\x3A\x69\x6D\x61\x67\x65","\x69\x73\x52\x65\x6C\x61\x74\x69\x76\x65\x55\x72\x6C","\x70\x72\x6F\x74\x6F\x63\x6F\x6C","\x2F\x2F","\x68\x6F\x73\x74","\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x74\x68\x72\x65\x61\x64","\x61\x63\x74\x69\x76\x65","\x64\x79","\x64\x78","\x74\x30\x79","\x74\x30\x78","\x74\x64\x79","\x74\x64\x78","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x64\x64\x4D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x70\x61\x6E\x47\x72\x61\x70\x68","\x70\x61\x6E\x44\x78","\x70\x61\x6E\x44\x79","\x67\x65\x74\x44\x78","\x67\x65\x74\x44\x79","\x64\x65\x6C\x61\x79","\x73\x65\x74\x49\x6E\x74\x65\x72\x76\x61\x6C","\x69\x73\x41\x63\x74\x69\x76\x65","\x70\x61\x6E\x54\x6F","\x68\x61\x6E\x64\x6C\x65\x4D\x6F\x75\x73\x65\x4F\x75\x74","\x64\x61\x6D\x70\x65\x72","\x63\x6C\x65\x61\x72\x49\x6E\x74\x65\x72\x76\x61\x6C","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x4D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x75\x62\x6D\x65\x6E\x75\x49\x6D\x61\x67\x65","\x2F\x73\x75\x62\x6D\x65\x6E\x75\x2E\x67\x69\x66","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x6F\x70\x75\x70","\x69\x74\x65\x6D\x43\x6F\x75\x6E\x74","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x73\x6D\x61\x72\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72\x73","\x6C\x61\x62\x65\x6C\x73","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x64\x69\x73\x61\x62\x6C\x65\x43\x6F\x6E\x74\x65\x78\x74\x4D\x65\x6E\x75","\x69\x73\x4C\x65\x66\x74\x4D\x6F\x75\x73\x65\x42\x75\x74\x74\x6F\x6E","\x77\x69\x6C\x6C\x41\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x49\x74\x65\x6D\x73","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75\x49\x74\x65\x6D","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75\x49\x63\x6F\x6E","\x20\x64\x69\x73\x61\x62\x6C\x65\x64","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x72\x65\x61\x74\x65\x53\x75\x62\x6D\x65\x6E\x75","\x65\x76\x65\x6E\x74\x52\x65\x63\x65\x69\x76\x65\x72","\x61\x63\x74\x69\x76\x65\x52\x6F\x77","\x68\x69\x64\x65\x53\x75\x62\x6D\x65\x6E\x75","\x73\x68\x6F\x77\x53\x75\x62\x6D\x65\x6E\x75","\x6D\x78\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75\x49\x74\x65\x6D\x48\x6F\x76\x65\x72","\x30\x20\x30\x20\x30\x20\x30\x70\x78","\x63\x6F\x6C\x53\x70\x61\x6E","\x32","\x73\x68\x6F\x77\x4D\x65\x6E\x75","\x63\x68\x61\x6E\x67\x65\x48\x61\x6E\x64\x6C\x65\x72","\x67\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x73\x65\x74\x47\x72\x61\x70\x68","\x67\x72\x61\x70\x68","\x61\x75\x74\x6F\x53\x61\x76\x65\x44\x65\x6C\x61\x79","\x61\x75\x74\x6F\x53\x61\x76\x65\x54\x68\x72\x6F\x74\x74\x6C\x65","\x61\x75\x74\x6F\x53\x61\x76\x65\x54\x68\x72\x65\x73\x68\x6F\x6C\x64","\x69\x67\x6E\x6F\x72\x65\x64\x43\x68\x61\x6E\x67\x65\x73","\x6C\x61\x73\x74\x53\x6E\x61\x70\x73\x68\x6F\x74","\x73\x74\x61\x72\x74\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x73\x74\x6F\x70\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x73\x74\x65\x70\x73","\x65\x61\x73\x65","\x73\x74\x65\x70","\x61\x6E\x69\x6D\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x44\x65\x6C\x74\x61","\x69\x73\x56\x65\x72\x74\x65\x78","\x6D\x6F\x76\x65\x53\x74\x61\x74\x65","\x73\x74\x6F\x70\x52\x65\x63\x75\x72\x73\x69\x6F\x6E","\x67\x65\x74\x4F\x72\x69\x67\x69\x6E\x46\x6F\x72\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x69\x6D\x61\x67\x65\x73","\x61\x6C\x74","\x70\x75\x74\x49\x6D\x61\x67\x65","\x67\x65\x74\x49\x6D\x61\x67\x65","\x66\x61\x6C\x6C\x62\x61\x63\x6B","\x69\x6E\x63\x6C\x75\x64\x65\x4F\x76\x65\x72\x6C\x61\x79\x73","\x64\x72\x61\x77\x53\x74\x61\x74\x65","\x64\x72\x61\x77\x43\x65\x6C\x6C\x53\x74\x61\x74\x65","\x76\x69\x73\x69\x74\x53\x74\x61\x74\x65\x73\x52\x65\x63\x75\x72\x73\x69\x76\x65","\x64\x72\x61\x77\x4F\x76\x65\x72\x6C\x61\x79\x73","\x70\x61\x69\x6E\x74","\x72\x65\x73\x74\x6F\x72\x65","\x6F\x76\x65\x72\x6C\x61\x79\x73","\x63\x6F\x6E\x76\x65\x72\x74\x65\x72","\x63\x72\x65\x61\x74\x65\x55\x72\x6C\x43\x6F\x6E\x76\x65\x72\x74\x65\x72","\x73\x74\x61\x74\x65\x73","\x70\x61\x74\x68","\x72\x6F\x74\x61\x74\x65\x48\x74\x6D\x6C","\x6C\x61\x73\x74\x58","\x6C\x61\x73\x74\x59","\x6D\x6F\x76\x65\x4F\x70","\x4D","\x6C\x69\x6E\x65\x4F\x70","\x4C","\x71\x75\x61\x64\x4F\x70","\x51","\x63\x75\x72\x76\x65\x4F\x70","\x43","\x63\x6C\x6F\x73\x65\x4F\x70","\x5A","\x70\x6F\x69\x6E\x74\x65\x72\x45\x76\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x65","\x33\x20\x33","\x66\x6C\x61\x74","\x6D\x69\x74\x65\x72","\x23\x30\x30\x30\x30\x30\x30","\x53\x48\x41\x44\x4F\x57\x43\x4F\x4C\x4F\x52","\x53\x48\x41\x44\x4F\x57\x5F\x4F\x50\x41\x43\x49\x54\x59","\x53\x48\x41\x44\x4F\x57\x5F\x4F\x46\x46\x53\x45\x54\x5F\x58","\x53\x48\x41\x44\x4F\x57\x5F\x4F\x46\x46\x53\x45\x54\x5F\x59","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x4F\x70","\x72\x6F\x74\x61\x74\x65\x50\x6F\x69\x6E\x74","\x70\x6F\x70","\x73\x65\x74\x41\x6C\x70\x68\x61","\x61\x6C\x70\x68\x61","\x73\x65\x74\x46\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x47\x72\x61\x64\x69\x65\x6E\x74","\x66\x69\x6C\x6C\x41\x6C\x70\x68\x61","\x67\x72\x61\x64\x69\x65\x6E\x74\x41\x6C\x70\x68\x61","\x73\x65\x74\x53\x74\x72\x6F\x6B\x65\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x53\x74\x72\x6F\x6B\x65\x57\x69\x64\x74\x68","\x73\x65\x74\x44\x61\x73\x68\x65\x64","\x73\x65\x74\x44\x61\x73\x68\x50\x61\x74\x74\x65\x72\x6E","\x73\x65\x74\x4C\x69\x6E\x65\x43\x61\x70","\x6C\x69\x6E\x65\x43\x61\x70","\x73\x65\x74\x4C\x69\x6E\x65\x4A\x6F\x69\x6E","\x6C\x69\x6E\x65\x4A\x6F\x69\x6E","\x73\x65\x74\x4D\x69\x74\x65\x72\x4C\x69\x6D\x69\x74","\x6D\x69\x74\x65\x72\x4C\x69\x6D\x69\x74","\x73\x65\x74\x46\x6F\x6E\x74\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x46\x6F\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x46\x6F\x6E\x74\x42\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x42\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x46\x6F\x6E\x74\x53\x69\x7A\x65","\x73\x65\x74\x46\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x73\x65\x74\x46\x6F\x6E\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x68\x61\x64\x6F\x77","\x73\x65\x74\x53\x68\x61\x64\x6F\x77\x43\x6F\x6C\x6F\x72","\x73\x68\x61\x64\x6F\x77\x43\x6F\x6C\x6F\x72","\x73\x65\x74\x53\x68\x61\x64\x6F\x77\x41\x6C\x70\x68\x61","\x73\x68\x61\x64\x6F\x77\x41\x6C\x70\x68\x61","\x73\x65\x74\x53\x68\x61\x64\x6F\x77\x4F\x66\x66\x73\x65\x74","\x73\x68\x61\x64\x6F\x77\x44\x78","\x73\x68\x61\x64\x6F\x77\x44\x79","\x62\x65\x67\x69\x6E","\x6D\x6F\x76\x65\x54\x6F","\x6C\x69\x6E\x65\x54\x6F","\x71\x75\x61\x64\x54\x6F","\x63\x75\x72\x76\x65\x54\x6F","\x61\x72\x63\x54\x6F","\x61\x72\x63\x54\x6F\x43\x75\x72\x76\x65\x73","\x65\x6E\x64","\x77\x72\x69\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x73","\x65\x78\x74\x65\x6E\x64","\x74\x65\x78\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6F\x6D\x70\x72\x65\x73\x73\x65\x64","\x66\x6F\x6E\x74\x66\x61\x6D\x69\x6C\x79","\x66\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x73\x69\x7A\x65","\x73\x68\x61\x64\x6F\x77\x63\x6F\x6C\x6F\x72","\x73\x68\x61\x64\x6F\x77\x61\x6C\x70\x68\x61","\x73\x68\x61\x64\x6F\x77\x6F\x66\x66\x73\x65\x74","\x74\x6F\x46\x69\x78\x65\x64","\x72\x6F\x74\x61\x74\x65","\x74\x68\x65\x74\x61","\x63\x78","\x63\x79","\x66\x69\x6C\x6C\x63\x6F\x6C\x6F\x72","\x67\x72\x61\x64\x69\x65\x6E\x74","\x63\x31","\x63\x32","\x77","\x68","\x61\x6C\x70\x68\x61\x31","\x61\x6C\x70\x68\x61\x32","\x73\x74\x72\x6F\x6B\x65\x63\x6F\x6C\x6F\x72","\x73\x74\x72\x6F\x6B\x65\x77\x69\x64\x74\x68","\x64\x61\x73\x68\x70\x61\x74\x74\x65\x72\x6E","\x70\x61\x74\x74\x65\x72\x6E","\x6C\x69\x6E\x65\x63\x61\x70","\x63\x61\x70","\x6C\x69\x6E\x65\x6A\x6F\x69\x6E","\x6D\x69\x74\x65\x72\x6C\x69\x6D\x69\x74","\x6C\x69\x6D\x69\x74","\x66\x6F\x6E\x74\x63\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x63\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x62\x6F\x72\x64\x65\x72\x63\x6F\x6C\x6F\x72","\x66\x6F\x6E\x74\x73\x74\x79\x6C\x65","\x72\x65\x63\x74","\x72\x6F\x75\x6E\x64\x72\x65\x63\x74","\x63\x6F\x6E\x76\x65\x72\x74","\x61\x73\x70\x65\x63\x74","\x71\x75\x61\x64","\x78\x31","\x79\x31","\x78\x32","\x79\x32","\x63\x75\x72\x76\x65","\x78\x33","\x79\x33","\x69\x73\x4E\x6F\x64\x65","\x73\x74\x72","\x77\x72\x61\x70","\x66\x69\x6C\x6C","\x63\x6C\x69\x70","\x73\x74\x72\x6F\x6B\x65","\x66\x69\x6C\x6C\x41\x6E\x64\x53\x74\x72\x6F\x6B\x65","\x66\x69\x6C\x6C\x73\x74\x72\x6F\x6B\x65","\x67\x72\x61\x64\x69\x65\x6E\x74\x73","\x64\x65\x66\x73","\x73\x74\x79\x6C\x65\x45\x6E\x61\x62\x6C\x65\x64","\x63\x72\x65\x61\x74\x65\x53\x74\x79\x6C\x65","\x6D\x61\x74\x63\x68\x48\x74\x6D\x6C\x41\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x66\x6F\x45\x6E\x61\x62\x6C\x65\x64","\x73\x74\x72\x6F\x6B\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x72\x65\x66\x43\x6F\x75\x6E\x74","\x62\x6C\x6F\x63\x6B\x49\x6D\x61\x67\x65\x50\x6F\x69\x6E\x74\x65\x72\x45\x76\x65\x6E\x74\x73","\x73\x76\x67\x7B\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A","\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A","\x3B\x66\x69\x6C\x6C\x3A\x6E\x6F\x6E\x65\x3B\x73\x74\x72\x6F\x6B\x65\x2D\x6D\x69\x74\x65\x72\x6C\x69\x6D\x69\x74\x3A\x31\x30\x7D","\x4E\x53\x5F\x53\x56\x47","\x78\x6D\x6C\x6E\x73","\x63\x72\x65\x61\x74\x65\x47\x72\x61\x64\x69\x65\x6E\x74\x49\x64","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x53\x4F\x55\x54\x48","\x73","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x45\x41\x53\x54","\x65","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4E\x4F\x52\x54\x48","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x57\x45\x53\x54","\x6D\x78\x2D\x67\x72\x61\x64\x69\x65\x6E\x74\x2D","\x67\x65\x74\x53\x76\x67\x47\x72\x61\x64\x69\x65\x6E\x74","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x69\x64","\x63\x72\x65\x61\x74\x65\x53\x76\x67\x47\x72\x61\x64\x69\x65\x6E\x74","\x6C\x69\x6E\x65\x61\x72\x47\x72\x61\x64\x69\x65\x6E\x74","\x30\x25","\x3B\x73\x74\x6F\x70\x2D\x6F\x70\x61\x63\x69\x74\x79\x3A","\x6F\x66\x66\x73\x65\x74","\x73\x74\x6F\x70\x2D\x63\x6F\x6C\x6F\x72\x3A","\x61\x64\x64\x4E\x6F\x64\x65","\x64","\x75\x70\x64\x61\x74\x65\x46\x69\x6C\x6C","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x74\x72\x6F\x6B\x65","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x64\x6F\x77","\x63\x72\x65\x61\x74\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x70\x6F\x69\x6E\x74\x65\x72\x2D\x65\x76\x65\x6E\x74\x73","\x61\x6C\x6C","\x66\x69\x6C\x6C\x2D\x6F\x70\x61\x63\x69\x74\x79","\x75\x72\x6C\x28\x23","\x73\x74\x72\x6F\x6B\x65\x2D\x6F\x70\x61\x63\x69\x74\x79","\x73\x74\x72\x6F\x6B\x65\x2D\x77\x69\x64\x74\x68","\x75\x70\x64\x61\x74\x65\x53\x74\x72\x6F\x6B\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x73\x74\x72\x6F\x6B\x65\x2D\x64\x61\x73\x68\x61\x72\x72\x61\x79","\x63\x72\x65\x61\x74\x65\x44\x61\x73\x68\x50\x61\x74\x74\x65\x72\x6E","\x73\x74\x72\x6F\x6B\x65\x2D\x6C\x69\x6E\x65\x6A\x6F\x69\x6E","\x62\x75\x74\x74","\x73\x74\x72\x6F\x6B\x65\x2D\x6C\x69\x6E\x65\x63\x61\x70","\x73\x74\x72\x6F\x6B\x65\x2D\x6D\x69\x74\x65\x72\x6C\x69\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x77\x68\x69\x74\x65","\x29\x73\x63\x61\x6C\x65\x28","\x29\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x72\x6F\x74\x61\x74\x65\x28","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x43\x78","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x43\x79","\x72\x78","\x72\x79","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65\x4E\x53","\x78\x6C\x69\x6E\x6B\x3A\x68\x72\x65\x66","\x70\x72\x65\x73\x65\x72\x76\x65\x41\x73\x70\x65\x63\x74\x52\x61\x74\x69\x6F","\x73\x63\x61\x6C\x65\x28","\x70\x6F\x69\x6E\x74\x65\x72\x2D\x65\x76\x65\x6E\x74\x73\x3A\x6E\x6F\x6E\x65","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B\x3B\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A","\x70\x78\x3B\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A","\x3B\x63\x6F\x6C\x6F\x72\x3A","\x3B\x6C\x69\x6E\x65\x2D\x68\x65\x69\x67\x68\x74\x3A","\x70\x78\x3B","\x46\x4F\x4E\x54\x5F\x42\x4F\x4C\x44","\x66\x6F\x6E\x74\x2D\x77\x65\x69\x67\x68\x74\x3A\x62\x6F\x6C\x64\x3B","\x46\x4F\x4E\x54\x5F\x49\x54\x41\x4C\x49\x43","\x66\x6F\x6E\x74\x2D\x73\x74\x79\x6C\x65\x3A\x69\x74\x61\x6C\x69\x63\x3B","\x46\x4F\x4E\x54\x5F\x55\x4E\x44\x45\x52\x4C\x49\x4E\x45","\x66\x6F\x6E\x74\x2D\x64\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E\x3A\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65\x3B","\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x63\x65\x6E\x74\x65\x72\x3B","\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A\x72\x69\x67\x68\x74\x3B","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72\x3A","\x62\x6F\x72\x64\x65\x72\x3A\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20","\x26\x61\x6D\x70\x3B\x67\x74\x3B","\x26\x61\x6D\x70\x3B\x6C\x74\x3B","\x3C\x64\x69\x76\x20\x78\x6D\x6C\x6E\x73\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x68\x74\x6D\x6C\x22\x20\x73\x74\x79\x6C\x65\x3D\x22\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B\x3B","\x22\x3E","\x3C\x2F\x64\x69\x76\x3E","\x3C\x68\x72\x20\x2F\x3E","\x3C\x62\x72\x20\x2F\x3E","\x3C\x64\x69\x76\x20\x78\x6D\x6C\x6E\x73\x3D\x22\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x77\x33\x2E\x6F\x72\x67\x2F\x31\x39\x39\x39\x2F\x78\x68\x74\x6D\x6C\x22\x20\x73\x74\x79\x6C\x65\x3D\x22","\x68\x74\x6D\x6C","\x76\x65\x72\x74\x69\x63\x61\x6C\x2D\x61\x6C\x69\x67\x6E\x3A\x74\x6F\x70\x3B","\x6F\x76\x65\x72\x66\x6C\x6F\x77\x3A\x68\x69\x64\x64\x65\x6E\x3B","\x6D\x61\x78\x2D\x68\x65\x69\x67\x68\x74\x3A","\x77\x69\x64\x74\x68\x3A","\x77\x68\x69\x74\x65\x2D\x73\x70\x61\x63\x65\x3A\x6E\x6F\x72\x6D\x61\x6C\x3B","\x77\x68\x69\x74\x65\x2D\x73\x70\x61\x63\x65\x3A\x6E\x6F\x77\x72\x61\x70\x3B","\x66\x6F\x72\x65\x69\x67\x6E\x4F\x62\x6A\x65\x63\x74","\x70\x6C\x61\x69\x6E\x54\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x43\x6C\x69\x70","\x6D\x78\x2D\x63\x6C\x69\x70\x2D","\x63\x6C\x69\x70\x50\x61\x74\x68","\x63\x6C\x69\x70\x2D\x70\x61\x74\x68","\x75\x70\x64\x61\x74\x65\x46\x6F\x6E\x74","\x74\x65\x78\x74\x2D\x61\x6E\x63\x68\x6F\x72","\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65","\x61\x64\x64\x54\x65\x78\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x2D\x77\x65\x69\x67\x68\x74","\x62\x6F\x6C\x64","\x66\x6F\x6E\x74\x2D\x73\x74\x79\x6C\x65","\x69\x74\x61\x6C\x69\x63","\x74\x65\x78\x74\x2D\x64\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E","\x67\x65\x74\x42\x42\x6F\x78","\x66\x6F\x6E\x74\x57\x65\x69\x67\x68\x74","\x3C\x62\x72\x2F\x3E","\x6D\x6F\x64","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28\x30\x2E\x35\x2C\x20\x30\x2E\x35\x29","\x6D","\x6C","\x63","\x72\x6F\x74\x61\x74\x65\x64\x48\x74\x6D\x6C\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x76\x6D\x6C\x53\x63\x61\x6C\x65","\x20\x65","\x63\x6F\x6F\x72\x64\x73\x69\x7A\x65","\x73\x74\x72\x6F\x6B\x65\x77\x65\x69\x67\x68\x74","\x73\x74\x72\x6F\x6B\x65\x64","\x63\x72\x65\x61\x74\x65\x53\x74\x72\x6F\x6B\x65","\x63\x72\x65\x61\x74\x65\x46\x69\x6C\x6C","\x63\x72\x65\x61\x74\x65\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x46\x69\x6C\x6C","\x66\x69\x6C\x6C\x65\x64","\x3A\x66\x69\x6C\x6C","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66","\x74\x69\x6C\x65","\x63\x6F\x6C\x6F\x72\x32","\x66\x6C\x69\x70","\x61\x6E\x67\x6C\x65","\x4F\x46\x46\x49\x43\x45\x5F\x50\x52\x45\x46\x49\x58","\x3A\x6F\x70\x61\x63\x69\x74\x79\x32","\x3A\x73\x74\x72\x6F\x6B\x65","\x65\x6E\x64\x63\x61\x70","\x6A\x6F\x69\x6E\x73\x74\x79\x6C\x65","\x31\x30","\x64\x61\x73\x68\x73\x74\x79\x6C\x65","\x67\x65\x74\x56\x6D\x6C\x44\x61\x73\x68\x53\x74\x79\x6C\x65","\x64\x61\x73\x68","\x30\x20\x32","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x64\x6F\x77\x53\x74\x72\x6F\x6B\x65","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x64\x6F\x77\x46\x69\x6C\x6C","\x3A\x73\x68\x61\x70\x65","\x63\x20","\x63\x72\x65\x61\x74\x65\x52\x65\x63\x74","\x3A\x72\x65\x63\x74","\x3A\x72\x6F\x75\x6E\x64\x72\x65\x63\x74","\x61\x72\x63\x73\x69\x7A\x65","\x3A\x6F\x76\x61\x6C","\x61\x74\x6D\x6F\x73\x74","\x69\x67\x6E\x6F\x72\x65","\x66\x72\x61\x6D\x65","\x31\x38\x30","\x66\x6F\x6E\x74\x44\x65\x63\x6F\x72\x61\x74\x69\x6F\x6E","\x3A\x67\x72\x6F\x75\x70","\x72\x65\x6C\x61\x74\x69\x76\x65","\x67\x65\x74\x41\x6C\x69\x67\x6E\x6D\x65\x6E\x74\x41\x73\x50\x6F\x69\x6E\x74","\x6E\x6F\x72\x6D\x61\x6C","\x6D\x61\x78\x48\x65\x69\x67\x68\x74","\x67\x72\x6F\x75\x70","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x4D\x61\x74\x72\x69\x78\x28\x4D\x31\x31\x3D","\x2C\x20\x4D\x31\x32\x3D","\x2C\x20\x4D\x32\x31\x3D","\x2C\x20\x4D\x32\x32\x3D","\x2C\x20\x73\x69\x7A\x69\x6E\x67\x4D\x65\x74\x68\x6F\x64\x3D\x27\x61\x75\x74\x6F\x20\x65\x78\x70\x61\x6E\x64\x27\x29","\x3A\x70\x61\x74\x68","\x74\x65\x78\x74\x70\x61\x74\x68\x6F\x6B","\x6D\x20","\x20\x6C\x20","\x3A\x74\x65\x78\x74\x70\x61\x74\x68","\x76\x2D\x74\x65\x78\x74\x2D\x61\x6C\x69\x67\x6E\x3A","\x73\x74\x72\x69\x6E\x67","\x73\x65\x74\x53\x74\x61\x74\x65\x73","\x67\x75\x69\x64\x65\x58","\x67\x75\x69\x64\x65\x59","\x67\x65\x74\x47\x75\x69\x64\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x63\x72\x65\x61\x74\x65\x47\x75\x69\x64\x65\x53\x68\x61\x70\x65","\x69\x73\x44\x61\x73\x68\x65\x64","\x44\x49\x41\x4C\x45\x43\x54\x5F\x56\x4D\x4C","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x70\x6F\x69\x6E\x74\x73","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x64\x65\x73\x63","\x70\x61\x72\x73\x65\x44\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E","\x70\x61\x72\x73\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x63\x61\x6C\x69\x7A\x65\x64","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x77\x30","\x68\x30","\x62\x67\x4E\x6F\x64\x65","\x66\x67\x4E\x6F\x64\x65","\x66\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x76\x61\x72\x69\x61\x62\x6C\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x43\x68\x69\x6C\x64\x4E\x6F\x64\x65\x73","\x70\x61\x72\x73\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x65\x76\x61\x6C\x75\x61\x74\x65\x54\x65\x78\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x65\x76\x61\x6C\x75\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x6F\x63\x61\x6C\x69\x7A\x65\x64","\x65\x76\x61\x6C","\x64\x72\x61\x77\x53\x68\x61\x70\x65","\x64\x72\x61\x77\x43\x68\x69\x6C\x64\x72\x65\x6E","\x63\x6F\x6D\x70\x75\x74\x65\x41\x73\x70\x65\x63\x74","\x69\x6E\x68\x65\x72\x69\x74","\x67\x65\x74\x4E\x75\x6D\x62\x65\x72","\x64\x72\x61\x77\x4E\x6F\x64\x65","\x66\x69\x78\x65\x64","\x61\x72\x63","\x78\x2D\x61\x78\x69\x73\x2D\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x6C\x61\x72\x67\x65\x2D\x61\x72\x63\x2D\x66\x6C\x61\x67","\x73\x77\x65\x65\x70\x2D\x66\x6C\x61\x67","\x52\x45\x43\x54\x41\x4E\x47\x4C\x45\x5F\x52\x4F\x55\x4E\x44\x49\x4E\x47\x5F\x46\x41\x43\x54\x4F\x52","\x61\x6C\x69\x67\x6E\x2D\x73\x68\x61\x70\x65","\x69\x6E\x63\x6C\x75\x64\x65\x2D\x73\x68\x61\x70\x65","\x67\x65\x74\x53\x74\x65\x6E\x63\x69\x6C","\x73\x74\x65\x6E\x63\x69\x6C","\x62\x6F\x75\x6E\x64\x73","\x62\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x73\x76\x67\x53\x74\x72\x6F\x6B\x65\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x73\x74\x65\x6E\x63\x69\x6C\x50\x6F\x69\x6E\x74\x65\x72\x45\x76\x65\x6E\x74\x73","\x69\x73\x50\x61\x72\x73\x65\x56\x6D\x6C","\x69\x73\x48\x74\x6D\x6C\x41\x6C\x6C\x6F\x77\x65\x64","\x67\x65\x74\x53\x76\x67\x53\x63\x72\x65\x65\x6E\x4F\x66\x66\x73\x65\x74","\x63\x72\x65\x61\x74\x65\x53\x76\x67","\x63\x72\x65\x61\x74\x65\x48\x74\x6D\x6C","\x63\x72\x65\x61\x74\x65\x56\x6D\x6C","\x72\x65\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x75\x70\x64\x61\x74\x65\x42\x6F\x75\x6E\x64\x73\x46\x72\x6F\x6D\x50\x6F\x69\x6E\x74\x73","\x63\x68\x65\x63\x6B\x42\x6F\x75\x6E\x64\x73","\x72\x65\x64\x72\x61\x77\x48\x74\x6D\x6C\x53\x68\x61\x70\x65","\x72\x65\x64\x72\x61\x77\x53\x68\x61\x70\x65","\x75\x70\x64\x61\x74\x65\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x63\x72\x65\x61\x74\x65\x56\x6D\x6C\x47\x72\x6F\x75\x70","\x63\x72\x65\x61\x74\x65\x43\x61\x6E\x76\x61\x73","\x68\x61\x73\x43\x68\x69\x6C\x64\x4E\x6F\x64\x65\x73","\x6C\x61\x73\x74\x43\x68\x69\x6C\x64","\x62\x65\x66\x6F\x72\x65\x65\x6E\x64","\x69\x6E\x73\x65\x72\x74\x41\x64\x6A\x61\x63\x65\x6E\x74\x48\x54\x4D\x4C","\x61\x64\x64\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x46\x69\x6C\x74\x65\x72","\x64\x65\x73\x74\x72\x6F\x79\x43\x61\x6E\x76\x61\x73","\x75\x70\x64\x61\x74\x65\x56\x6D\x6C\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6D\x78\x52\x65\x66\x43\x6F\x75\x6E\x74","\x6F\x6C\x64\x47\x72\x61\x64\x69\x65\x6E\x74\x73","\x72\x65\x6C\x65\x61\x73\x65\x53\x76\x67\x47\x72\x61\x64\x69\x65\x6E\x74\x73","\x69\x73\x50\x61\x69\x6E\x74\x42\x6F\x75\x6E\x64\x73\x49\x6E\x76\x65\x72\x74\x65\x64","\x75\x70\x64\x61\x74\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x43\x61\x6E\x76\x61\x73","\x70\x61\x69\x6E\x74\x53\x74\x65\x6E\x63\x69\x6C\x53\x68\x61\x70\x65","\x70\x61\x69\x6E\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x70\x61\x69\x6E\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x69\x73\x53\x68\x61\x64\x6F\x77","\x67\x65\x74\x47\x72\x61\x64\x69\x65\x6E\x74\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x68\x61\x70\x65\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x61\x64\x64\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x63\x74\x61\x6E\x67\x6C\x65","\x73\x65\x74\x54\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x70\x61\x69\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x70\x61\x69\x6E\x74\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x41\x72\x63\x53\x69\x7A\x65","\x70\x61\x69\x6E\x74\x47\x6C\x61\x73\x73\x45\x66\x66\x65\x63\x74","\x23\x66\x66\x66\x66\x66\x66","\x69\x73\x52\x6F\x75\x6E\x64\x65\x64","\x73\x74\x65\x6E\x63\x69\x6C\x46\x6C\x69\x70\x48","\x73\x74\x65\x6E\x63\x69\x6C\x46\x6C\x69\x70\x56","\x73\x65\x74\x43\x75\x72\x73\x6F\x72","\x67\x65\x74\x43\x75\x72\x73\x6F\x72","\x63\x72\x65\x61\x74\x65\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x61\x75\x67\x6D\x65\x6E\x74\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x67\x65\x74\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x67\x65\x74\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x67\x65\x74\x54\x65\x78\x74\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x76\x65\x72\x74\x69\x63\x61\x6C\x54\x65\x78\x74\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28\x27","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66\x27\x29","\x73\x74\x65\x6E\x63\x69\x6C\x73","\x6D\x61\x72\x6B\x65\x72\x73","\x41\x52\x52\x4F\x57\x5F\x43\x4C\x41\x53\x53\x49\x43","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44","\x61\x64\x64\x4D\x61\x72\x6B\x65\x72","\x72\x65\x64\x72\x61\x77\x50\x61\x74\x68","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x46\x69\x6C\x74\x65\x72\x73","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x43\x6F\x6C\x6F\x72\x73","\x62\x6F\x72\x64\x65\x72\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x73\x6F\x6C\x69\x64","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x64\x72\x6F\x70\x53\x68\x61\x64\x6F\x77\x20\x28\x4F\x66\x66\x58\x3D\x27","\x27\x2C\x20\x4F\x66\x66\x59\x3D\x27","\x27\x2C\x20\x43\x6F\x6C\x6F\x72\x3D\x27","\x27\x29","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x67\x72\x61\x64\x69\x65\x6E\x74\x28\x73\x74\x61\x72\x74\x43\x6F\x6C\x6F\x72\x53\x74\x72\x3D\x27","\x27\x2C\x20\x65\x6E\x64\x43\x6F\x6C\x6F\x72\x53\x74\x72\x3D\x27","\x27\x2C\x20\x67\x72\x61\x64\x69\x65\x6E\x74\x54\x79\x70\x65\x3D\x27","\x70\x61\x69\x6E\x74\x4C\x69\x6E\x65","\x61\x72\x72\x6F\x77\x57\x69\x64\x74\x68","\x41\x52\x52\x4F\x57\x5F\x57\x49\x44\x54\x48","\x41\x52\x52\x4F\x57\x5F\x53\x50\x41\x43\x49\x4E\x47","\x41\x52\x52\x4F\x57\x5F\x53\x49\x5A\x45","\x44\x45\x46\x41\x55\x4C\x54\x5F\x46\x4F\x4E\x54\x53\x54\x59\x4C\x45","\x63\x6C\x69\x70\x70\x65\x64","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x4C\x65\x66\x74","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x52\x69\x67\x68\x74","\x72\x65\x70\x6C\x61\x63\x65\x4C\x69\x6E\x65\x66\x65\x65\x64\x73","\x69\x67\x6E\x6F\x72\x65\x43\x6C\x69\x70\x70\x65\x64\x53\x74\x72\x69\x6E\x67\x53\x69\x7A\x65","\x69\x67\x6E\x6F\x72\x65\x53\x74\x72\x69\x6E\x67\x53\x69\x7A\x65","\x74\x65\x78\x74\x44\x69\x76","\x75\x70\x64\x61\x74\x65\x53\x69\x7A\x65","\x6D\x61\x72\x67\x69\x6E","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x54\x52\x49\x43\x54\x48\x54\x4D\x4C","\x75\x70\x64\x61\x74\x65\x56\x61\x6C\x75\x65","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x46\x69\x6C\x74\x65\x72","\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x4F\x72\x69\x67\x69\x6E","\x25\x20","\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x25\x2C","\x25\x29\x73\x63\x61\x6C\x65\x28","\x29\x20\x72\x6F\x74\x61\x74\x65\x28","\x64\x65\x67\x29","\x30\x25\x20\x30\x25","\x25\x29","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20","\x3C\x64\x69\x76\x20\x73\x74\x79\x6C\x65\x3D\x22\x7A\x6F\x6F\x6D\x3A\x31\x3B","\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B\x3B\x5F\x64\x69\x73\x70\x6C\x61\x79\x3A\x69\x6E\x6C\x69\x6E\x65\x3B\x70\x61\x64\x64\x69\x6E\x67\x2D\x62\x6F\x74\x74\x6F\x6D\x3A\x31\x70\x78\x3B\x70\x61\x64\x64\x69\x6E\x67\x2D\x72\x69\x67\x68\x74\x3A\x31\x70\x78\x3B\x6C\x69\x6E\x65\x2D\x68\x65\x69\x67\x68\x74\x3A","\x75\x70\x64\x61\x74\x65\x4D\x61\x72\x67\x69\x6E","\x67\x65\x74\x53\x70\x61\x63\x69\x6E\x67","\x70\x72\x65\x73\x65\x72\x76\x65\x49\x6D\x61\x67\x65\x41\x73\x70\x65\x63\x74","\x69\x6D\x61\x67\x65\x46\x6C\x69\x70\x48","\x69\x6D\x61\x67\x65\x46\x6C\x69\x70\x56","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x42\x61\x73\x69\x63\x49\x6D\x61\x67\x65\x28\x72\x6F\x74\x61\x74\x69\x6F\x6E\x3D\x32\x29","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x42\x61\x73\x69\x63\x49\x6D\x61\x67\x65\x28\x6D\x69\x72\x72\x6F\x72\x3D\x31\x29","\x70\x72\x6F\x67\x69\x64\x3A\x44\x58\x49\x6D\x61\x67\x65\x54\x72\x61\x6E\x73\x66\x6F\x72\x6D\x2E\x4D\x69\x63\x72\x6F\x73\x6F\x66\x74\x2E\x42\x61\x73\x69\x63\x49\x6D\x61\x67\x65\x28\x72\x6F\x74\x61\x74\x69\x6F\x6E\x3D\x32\x2C\x20\x6D\x69\x72\x72\x6F\x72\x3D\x31\x29","\x69\x6D\x61\x67\x65\x53\x69\x7A\x65","\x44\x45\x46\x41\x55\x4C\x54\x5F\x49\x4D\x41\x47\x45\x53\x49\x5A\x45","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x69\x7A\x65","\x69\x6E\x64\x69\x63\x61\x74\x6F\x72","\x70\x61\x69\x6E\x74\x49\x6D\x61\x67\x65","\x70\x61\x69\x6E\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72","\x67\x65\x74\x49\x6D\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x41\x4C\x49\x47\x4E\x5F\x54\x4F\x50","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x42\x6F\x75\x6E\x64\x73","\x63\x72\x65\x61\x74\x65\x4D\x61\x72\x6B\x65\x72","\x53\x54\x59\x4C\x45\x5F\x43\x55\x52\x56\x45\x44","\x70\x61\x69\x6E\x74\x43\x75\x72\x76\x65\x64\x4C\x69\x6E\x65","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x53\x49\x5A\x45","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x53\x49\x5A\x45","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x41\x52\x52\x4F\x57","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x41\x52\x52\x4F\x57","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x46\x49\x4C\x4C","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x46\x49\x4C\x4C","\x70\x61\x69\x6E\x74\x52\x6F\x75\x6E\x64\x65\x64\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x70\x61\x69\x6E\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x70\x61\x69\x6E\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x75\x73\x65\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78","\x6D\x6F\x76\x65\x43\x65\x6C\x6C","\x67\x65\x74\x47\x72\x61\x70\x68","\x67\x65\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x74\x72\x61\x76\x65\x72\x73\x65","\x67\x65\x74\x45\x64\x67\x65\x43\x6F\x75\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x41\x74","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x67\x65\x74\x56\x69\x73\x69\x62\x6C\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x69\x73\x56\x65\x72\x74\x65\x78\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x56\x65\x72\x74\x65\x78\x49\x67\x6E\x6F\x72\x65\x64","\x69\x73\x43\x65\x6C\x6C\x56\x69\x73\x69\x62\x6C\x65","\x69\x73\x45\x64\x67\x65\x49\x67\x6E\x6F\x72\x65\x64","\x73\x65\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x73\x65\x74\x4F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x4F\x66\x66\x73\x65\x74","\x69\x73\x41\x6E\x63\x65\x73\x74\x6F\x72","\x67\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x65\x74\x45\x64\x67\x65\x50\x6F\x69\x6E\x74\x73","\x73\x65\x74\x52\x65\x6C\x61\x74\x69\x76\x65","\x73\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x65\x74\x56\x65\x72\x74\x65\x78\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x67\x65\x74\x56\x65\x72\x74\x65\x78\x42\x6F\x75\x6E\x64\x73","\x61\x72\x72\x61\x6E\x67\x65\x47\x72\x6F\x75\x70\x73","\x67\x65\x74\x43\x68\x69\x6C\x64\x56\x65\x72\x74\x69\x63\x65\x73","\x67\x65\x74\x42\x6F\x75\x6E\x64\x69\x6E\x67\x42\x6F\x78\x46\x72\x6F\x6D\x47\x65\x6F\x6D\x65\x74\x72\x79","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x67\x65\x74\x53\x74\x61\x72\x74\x53\x69\x7A\x65","\x78\x30","\x79\x30","\x6B\x65\x65\x70\x46\x69\x72\x73\x74\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x72\x65\x73\x69\x7A\x65\x50\x61\x72\x65\x6E\x74","\x72\x65\x73\x69\x7A\x65\x4C\x61\x73\x74","\x69\x73\x48\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x67\x65\x74\x49\x6E\x64\x65\x78","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x53\x69\x7A\x65","\x69\x73\x4C\x61\x79\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x72\x65\x73\x69\x7A\x65\x56\x65\x72\x74\x69\x63\x65\x73","\x69\x6E\x76\x65\x72\x74","\x67\x72\x6F\x75\x70\x50\x61\x64\x64\x69\x6E\x67","\x70\x61\x72\x65\x6E\x74\x73\x43\x68\x61\x6E\x67\x65\x64","\x6D\x6F\x76\x65\x54\x72\x65\x65","\x6C\x65\x76\x65\x6C\x44\x69\x73\x74\x61\x6E\x63\x65","\x6E\x6F\x64\x65\x44\x69\x73\x74\x61\x6E\x63\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73","\x70\x72\x65\x66\x48\x6F\x7A\x45\x64\x67\x65\x53\x65\x70","\x70\x72\x65\x66\x56\x65\x72\x74\x45\x64\x67\x65\x4F\x66\x66","\x6D\x69\x6E\x45\x64\x67\x65\x4A\x65\x74\x74\x79","\x63\x68\x61\x6E\x6E\x65\x6C\x42\x75\x66\x66\x65\x72","\x65\x64\x67\x65\x52\x6F\x75\x74\x69\x6E\x67","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x73","\x66\x69\x6E\x64\x54\x72\x65\x65\x52\x6F\x6F\x74\x73","\x64\x66\x73","\x6C\x61\x79\x6F\x75\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x4C\x61\x79\x6F\x75\x74","\x76\x65\x72\x74\x69\x63\x61\x6C\x4C\x61\x79\x6F\x75\x74","\x6D\x6F\x76\x65\x4E\x6F\x64\x65","\x61\x64\x6A\x75\x73\x74\x50\x61\x72\x65\x6E\x74\x73","\x6C\x6F\x63\x61\x6C\x45\x64\x67\x65\x50\x72\x6F\x63\x65\x73\x73\x69\x6E\x67","\x6E\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x4E\x6F\x64\x65","\x61\x74\x74\x61\x63\x68\x50\x61\x72\x65\x6E\x74","\x6C\x61\x79\x6F\x75\x74\x4C\x65\x61\x66","\x6F\x66\x66\x73\x65\x74\x58","\x6F\x66\x66\x73\x65\x74\x59","\x75\x70\x70\x65\x72\x48\x65\x61\x64","\x63\x6F\x6E\x74\x6F\x75\x72","\x63\x72\x65\x61\x74\x65\x4C\x69\x6E\x65","\x6C\x6F\x77\x65\x72\x48\x65\x61\x64","\x75\x70\x70\x65\x72\x54\x61\x69\x6C","\x6C\x6F\x77\x65\x72\x54\x61\x69\x6C","\x6D\x65\x72\x67\x65","\x62\x72\x69\x64\x67\x65","\x73\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x70\x72\x6F\x63\x65\x73\x73\x4E\x6F\x64\x65\x4F\x75\x74\x67\x6F\x69\x6E\x67","\x67\x65\x74\x45\x64\x67\x65\x73\x42\x65\x74\x77\x65\x65\x6E","\x77\x65\x69\x67\x68\x74\x65\x64\x56\x61\x6C\x75\x65","\x6E\x75\x64\x67\x65","\x76\x69\x73\x69\x74\x65\x64","\x72\x61\x6E\x6B\x49\x6E\x64\x65\x78","\x75\x73\x65\x49\x6E\x70\x75\x74\x4F\x72\x69\x67\x69\x6E","\x64\x69\x73\x61\x62\x6C\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x66\x6F\x72\x63\x65\x43\x6F\x6E\x73\x74\x61\x6E\x74","\x66\x6F\x72\x63\x65\x43\x6F\x6E\x73\x74\x61\x6E\x74\x53\x71\x75\x61\x72\x65\x64","\x6D\x69\x6E\x44\x69\x73\x74\x61\x6E\x63\x65\x4C\x69\x6D\x69\x74","\x6D\x61\x78\x44\x69\x73\x74\x61\x6E\x63\x65\x4C\x69\x6D\x69\x74","\x6D\x69\x6E\x44\x69\x73\x74\x61\x6E\x63\x65\x4C\x69\x6D\x69\x74\x53\x71\x75\x61\x72\x65\x64","\x69\x6E\x69\x74\x69\x61\x6C\x54\x65\x6D\x70","\x74\x65\x6D\x70\x65\x72\x61\x74\x75\x72\x65","\x6D\x61\x78\x49\x74\x65\x72\x61\x74\x69\x6F\x6E\x73","\x69\x74\x65\x72\x61\x74\x69\x6F\x6E","\x61\x6C\x6C\x6F\x77\x65\x64\x54\x6F\x52\x75\x6E","\x76\x65\x72\x74\x65\x78\x41\x72\x72\x61\x79","\x67\x65\x74\x42\x6F\x75\x6E\x64\x73","\x69\x6E\x64\x69\x63\x65\x73","\x64\x69\x73\x70\x58","\x64\x69\x73\x70\x59","\x63\x65\x6C\x6C\x4C\x6F\x63\x61\x74\x69\x6F\x6E","\x69\x73\x4D\x6F\x76\x65\x61\x62\x6C\x65","\x6E\x65\x69\x67\x68\x62\x6F\x75\x72\x73","\x72\x61\x64\x69\x75\x73","\x72\x61\x64\x69\x75\x73\x53\x71\x75\x61\x72\x65\x64","\x67\x65\x74\x4F\x70\x70\x6F\x73\x69\x74\x65\x73","\x72\x65\x73\x65\x74\x45\x64\x67\x65","\x63\x61\x6C\x63\x52\x65\x70\x75\x6C\x73\x69\x6F\x6E","\x63\x61\x6C\x63\x41\x74\x74\x72\x61\x63\x74\x69\x6F\x6E","\x63\x61\x6C\x63\x50\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x72\x65\x64\x75\x63\x65\x54\x65\x6D\x70\x65\x72\x61\x74\x75\x72\x65","\x72\x61\x6E\x64\x6F\x6D","\x6D\x6F\x76\x65\x43\x69\x72\x63\x6C\x65","\x67\x65\x74\x52\x61\x64\x69\x75\x73","\x63\x69\x72\x63\x6C\x65","\x66\x69\x6E\x64\x50\x61\x72\x61\x6C\x6C\x65\x6C\x73","\x67\x65\x74\x45\x64\x67\x65\x49\x64","\x72\x6F\x75\x74\x65","\x6C\x61\x79\x6F\x75\x74\x73","\x6D\x61\x73\x74\x65\x72","\x70\x6C\x61\x63\x65\x4C\x61\x62\x65\x6C\x73","\x61\x76\x6F\x69\x64","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73","\x74\x65\x6D\x70","\x6D\x61\x78\x52\x61\x6E\x6B","\x6D\x69\x6E\x52\x61\x6E\x6B","\x6E\x65\x78\x74\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x70\x72\x65\x76\x69\x6F\x75\x73\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x4E\x65\x78\x74\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x50\x72\x65\x76\x69\x6F\x75\x73\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x65\x6E\x65\x72\x61\x6C\x50\x75\x72\x70\x6F\x73\x65\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x65\x74\x47\x65\x6E\x65\x72\x61\x6C\x50\x75\x72\x70\x6F\x73\x65\x56\x61\x72\x69\x61\x62\x6C\x65","\x73\x65\x74\x58","\x73\x65\x74\x59","\x63\x6F\x6E\x6E\x65\x63\x74\x73\x41\x73\x54\x61\x72\x67\x65\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x73\x41\x73\x53\x6F\x75\x72\x63\x65","\x68\x61\x73\x68\x43\x6F\x64\x65","\x67\x65\x74\x52\x61\x6E\x6B\x56\x61\x6C\x75\x65","\x67\x65\x74\x43\x6F\x72\x65\x43\x65\x6C\x6C","\x65\x64\x67\x65\x73","\x69\x73\x52\x65\x76\x65\x72\x73\x65\x64","\x74\x69\x67\x68\x74\x65\x6E\x54\x6F\x53\x6F\x75\x72\x63\x65","\x72\x6F\x6F\x74\x73","\x76\x65\x72\x74\x65\x78\x4D\x61\x70\x70\x65\x72","\x65\x64\x67\x65\x4D\x61\x70\x70\x65\x72","\x53\x4F\x55\x52\x43\x45\x53\x43\x41\x4E\x53\x54\x41\x52\x54\x52\x41\x4E\x4B","\x63\x72\x65\x61\x74\x65\x49\x6E\x74\x65\x72\x6E\x61\x6C\x43\x65\x6C\x6C\x73","\x72\x61\x6E\x6B\x73","\x64\x66\x73\x43\x6F\x75\x6E\x74","\x69\x6E\x69\x74\x69\x61\x6C\x52\x61\x6E\x6B","\x73\x6C\x69\x63\x65","\x66\x69\x78\x52\x61\x6E\x6B\x73","\x65\x78\x74\x65\x6E\x64\x65\x64\x44\x66\x73","\x6E\x65\x73\x74\x65\x64\x42\x65\x73\x74\x52\x61\x6E\x6B\x73","\x63\x75\x72\x72\x65\x6E\x74\x42\x65\x73\x74\x43\x72\x6F\x73\x73\x69\x6E\x67\x73","\x69\x74\x65\x72\x61\x74\x69\x6F\x6E\x73\x57\x69\x74\x68\x6F\x75\x74\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74","\x6D\x61\x78\x4E\x6F\x49\x6D\x70\x72\x6F\x76\x65\x6D\x65\x6E\x74\x49\x74\x65\x72\x61\x74\x69\x6F\x6E\x73","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x43\x72\x6F\x73\x73\x69\x6E\x67\x73","\x77\x65\x69\x67\x68\x74\x65\x64\x4D\x65\x64\x69\x61\x6E","\x74\x72\x61\x6E\x73\x70\x6F\x73\x65","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x52\x61\x6E\x6B\x43\x72\x6F\x73\x73\x69\x6E\x67","\x6D\x65\x64\x69\x61\x6E\x52\x61\x6E\x6B","\x6D\x65\x64\x69\x61\x6E\x56\x61\x6C\x75\x65","\x6C\x65\x6E\x74\x68","\x67\x65\x74\x49\x6E\x63\x6F\x6D\x69\x6E\x67\x45\x64\x67\x65\x73","\x69\x6E\x74\x72\x61\x43\x65\x6C\x6C\x53\x70\x61\x63\x69\x6E\x67","\x69\x6E\x74\x65\x72\x52\x61\x6E\x6B\x43\x65\x6C\x6C\x53\x70\x61\x63\x69\x6E\x67","\x6F\x72\x69\x65\x6E\x74\x61\x74\x69\x6F\x6E","\x69\x6E\x69\x74\x69\x61\x6C\x58","\x70\x61\x72\x61\x6C\x6C\x65\x6C\x45\x64\x67\x65\x53\x70\x61\x63\x69\x6E\x67","\x6A\x65\x74\x74\x79\x50\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x69\x6D\x69\x74\x58","\x63\x75\x72\x72\x65\x6E\x74\x58\x44\x65\x6C\x74\x61","\x77\x69\x64\x65\x73\x74\x52\x61\x6E\x6B","\x72\x61\x6E\x6B\x54\x6F\x70\x59","\x72\x61\x6E\x6B\x42\x6F\x74\x74\x6F\x6D\x59","\x77\x69\x64\x65\x73\x74\x52\x61\x6E\x6B\x56\x61\x6C\x75\x65","\x72\x61\x6E\x6B\x57\x69\x64\x74\x68\x73","\x72\x61\x6E\x6B\x59","\x66\x69\x6E\x65\x54\x75\x6E\x69\x6E\x67","\x50\x4F\x4C\x59\x4C\x49\x4E\x45","\x6E\x65\x78\x74\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x61\x63\x68\x65","\x70\x72\x65\x76\x69\x6F\x75\x73\x4C\x61\x79\x65\x72\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x43\x61\x63\x68\x65","\x70\x72\x69\x6E\x74\x53\x74\x61\x74\x75\x73","\x3D\x3D\x3D\x3D\x3D\x3D\x43\x6F\x6F\x72\x64\x20\x61\x73\x73\x69\x67\x6E\x6D\x65\x6E\x74\x20\x64\x65\x62\x75\x67\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x52\x61\x6E\x6B\x20","\x20\x3A\x20","\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D\x3D","\x69\x6E\x69\x74\x69\x61\x6C\x43\x6F\x6F\x72\x64\x73","\x6D\x69\x6E\x4E\x6F\x64\x65","\x6D\x65\x64\x69\x61\x6E\x50\x6F\x73","\x6D\x69\x6E\x50\x61\x74\x68","\x73\x65\x74\x43\x65\x6C\x6C\x4C\x6F\x63\x61\x74\x69\x6F\x6E\x73","\x6D\x65\x64\x69\x61\x6E\x58\x56\x61\x6C\x75\x65","\x72\x61\x6E\x6B\x4D\x65\x64\x69\x61\x6E\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x64\x57\x65\x69\x67\x68\x74\x65\x64\x56\x61\x6C\x75\x65","\x63\x61\x6C\x63\x75\x6C\x61\x74\x65\x57\x69\x64\x65\x73\x74\x52\x61\x6E\x6B","\x72\x61\x6E\x6B\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x65\x64\x67\x65\x2E\x65\x64\x67\x65\x73\x20\x69\x73\x20\x6E\x75\x6C\x6C","\x41\x74\x20\x6C\x65\x61\x73\x74\x20\x6F\x6E\x65\x20\x63\x65\x6C\x6C\x20\x68\x61\x73\x20\x6E\x6F\x20\x62\x6F\x75\x6E\x64\x73","\x72\x65\x70\x6F\x73\x69\x74\x69\x6F\x6E\x56\x61\x6C\x69\x64","\x4D\x41\x58\x5F\x56\x41\x4C\x55\x45","\x4F\x52\x54\x48\x4F\x47\x4F\x4E\x41\x4C","\x43\x55\x52\x56\x45","\x73\x65\x74\x45\x64\x67\x65\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x73\x50\x6F\x72\x74","\x70\x72\x6F\x63\x65\x73\x73\x52\x65\x76\x65\x72\x73\x65\x64\x45\x64\x67\x65","\x64\x65\x74\x65\x72\x6D\x69\x6E\x69\x73\x74\x69\x63","\x6D\x6F\x76\x65\x50\x61\x72\x65\x6E\x74","\x70\x61\x72\x65\x6E\x74\x42\x6F\x72\x64\x65\x72","\x69\x6E\x74\x65\x72\x48\x69\x65\x72\x61\x72\x63\x68\x79\x53\x70\x61\x63\x69\x6E\x67","\x74\x72\x61\x76\x65\x72\x73\x65\x41\x6E\x63\x65\x73\x74\x6F\x72\x73","\x65\x64\x67\x65\x73\x43\x61\x63\x68\x65","\x72\x75\x6E","\x75\x70\x64\x61\x74\x65\x47\x72\x6F\x75\x70\x42\x6F\x75\x6E\x64\x73","\x66\x69\x6E\x64\x52\x6F\x6F\x74\x73","\x63\x6F\x6E\x63\x61\x74","\x69\x73\x56\x61\x6C\x69\x64\x41\x6E\x63\x65\x73\x74\x6F\x72","\x66\x69\x6C\x74\x65\x72\x44\x65\x73\x63\x65\x6E\x64\x61\x6E\x74\x73","\x63\x79\x63\x6C\x65\x53\x74\x61\x67\x65","\x6C\x61\x79\x65\x72\x69\x6E\x67\x53\x74\x61\x67\x65","\x63\x72\x6F\x73\x73\x69\x6E\x67\x53\x74\x61\x67\x65","\x70\x6C\x61\x63\x65\x6D\x65\x6E\x74\x53\x74\x61\x67\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x64\x69\x74","\x73\x65\x74\x52\x6F\x6F\x74","\x6D\x61\x69\x6E\x74\x61\x69\x6E\x45\x64\x67\x65\x50\x61\x72\x65\x6E\x74","\x63\x72\x65\x61\x74\x65\x49\x64\x73","\x70\x6F\x73\x74\x66\x69\x78","\x6E\x65\x78\x74\x49\x64","\x75\x70\x64\x61\x74\x65\x4C\x65\x76\x65\x6C","\x65\x6E\x64\x69\x6E\x67\x55\x70\x64\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x52\x6F\x6F\x74","\x69\x73\x43\x72\x65\x61\x74\x65\x49\x64\x73","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x49\x64\x73","\x69\x6E\x73\x65\x72\x74","\x66\x69\x6C\x74\x65\x72\x43\x65\x6C\x6C\x73","\x67\x65\x74\x44\x65\x73\x63\x65\x6E\x64\x61\x6E\x74\x73","\x72\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65\x64","\x63\x65\x6C\x6C\x41\x64\x64\x65\x64","\x69\x73\x52\x6F\x6F\x74","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x50\x61\x72\x65\x6E\x74\x73","\x63\x72\x65\x61\x74\x65\x49\x64","\x73\x65\x74\x49\x64","\x69\x73\x4E\x75\x6D\x65\x72\x69\x63","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x4E\x65\x61\x72\x65\x73\x74\x43\x6F\x6D\x6D\x6F\x6E\x41\x6E\x63\x65\x73\x74\x6F\x72","\x67\x65\x74\x4F\x72\x69\x67\x69\x6E","\x50\x41\x54\x48\x5F\x53\x45\x50\x41\x52\x41\x54\x4F\x52","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x50\x61\x74\x68","\x70\x61\x72\x65\x6E\x74\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x74\x43\x68\x69\x6C\x64\x72\x65\x6E","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x43\x68\x69\x6C\x64\x45\x64\x67\x65\x73","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x74\x65\x72\x6D\x69\x6E\x61\x6C\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x69\x6E\x73\x65\x72\x74\x45\x64\x67\x65","\x72\x65\x6D\x6F\x76\x65\x45\x64\x67\x65","\x67\x65\x74\x44\x69\x72\x65\x63\x74\x65\x64\x45\x64\x67\x65\x43\x6F\x75\x6E\x74","\x67\x65\x74\x4F\x75\x74\x67\x6F\x69\x6E\x67\x45\x64\x67\x65\x73","\x67\x65\x74\x54\x6F\x70\x6D\x6F\x73\x74\x43\x65\x6C\x6C\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x56\x61\x6C\x75\x65","\x76\x61\x6C\x75\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x76\x61\x6C\x75\x65\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x6F\x6D\x65\x74\x72\x79\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x73\x74\x79\x6C\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x69\x73\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x73\x65\x74\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x53\x74\x61\x74\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x76\x69\x73\x69\x62\x6C\x65\x53\x74\x61\x74\x65\x46\x6F\x72\x43\x65\x6C\x6C\x43\x68\x61\x6E\x67\x65\x64","\x6D\x65\x72\x67\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x6D\x65\x72\x67\x65\x43\x68\x69\x6C\x64\x72\x65\x6E\x49\x6D\x70\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74\x73","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x49\x6D\x70\x6C","\x72\x65\x73\x74\x6F\x72\x65\x43\x6C\x6F\x6E\x65","\x63\x65\x6C\x6C\x43\x6C\x6F\x6E\x65\x64","\x70\x72\x65\x76\x69\x6F\x75\x73\x49\x6E\x64\x65\x78","\x69\x6E\x64\x65\x78","\x74\x65\x72\x6D\x69\x6E\x61\x6C","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x61\x74\x74\x72\x69\x62\x75\x74\x65","\x6F\x6E\x49\x6E\x69\x74","\x76\x65\x72\x74\x65\x78","\x65\x64\x67\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x6D\x78\x54\x72\x61\x6E\x73\x69\x65\x6E\x74","\x69\x64\x20\x76\x61\x6C\x75\x65\x20\x70\x61\x72\x65\x6E\x74\x20\x73\x6F\x75\x72\x63\x65\x20\x74\x61\x72\x67\x65\x74\x20\x63\x68\x69\x6C\x64\x72\x65\x6E\x20\x65\x64\x67\x65\x73","\x73\x65\x74\x56\x65\x72\x74\x65\x78","\x73\x65\x74\x45\x64\x67\x65","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x50\x61\x72\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x49\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x63\x6C\x6F\x6E\x65\x56\x61\x6C\x75\x65","\x54\x52\x41\x4E\x53\x4C\x41\x54\x45\x5F\x43\x4F\x4E\x54\x52\x4F\x4C\x5F\x50\x4F\x49\x4E\x54\x53","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x42\x6F\x75\x6E\x64\x73","\x73\x6F\x75\x72\x63\x65\x50\x6F\x69\x6E\x74","\x74\x61\x72\x67\x65\x74\x50\x6F\x69\x6E\x74","\x73\x77\x61\x70","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x74\x61\x6E","\x70\x6F\x77","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x50\x72\x69\x6E\x74\x65\x72\x2D\x66\x72\x69\x65\x6E\x64\x6C\x79\x20\x76\x65\x72\x73\x69\x6F\x6E","\x70\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72","\x61\x75\x74\x6F\x4F\x72\x69\x67\x69\x6E","\x70\x72\x69\x6E\x74\x4F\x76\x65\x72\x6C\x61\x79\x73","\x77\x6E\x64","\x70\x61\x67\x65\x43\x6F\x75\x6E\x74","\x67\x65\x74\x57\x69\x6E\x64\x6F\x77","\x67\x65\x74\x44\x6F\x63\x74\x79\x70\x65","\x3C\x6D\x65\x74\x61\x20\x68\x74\x74\x70\x2D\x65\x71\x75\x69\x76\x3D\x22\x58\x2D\x55\x41\x2D\x43\x6F\x6D\x70\x61\x74\x69\x62\x6C\x65\x22\x20\x63\x6F\x6E\x74\x65\x6E\x74\x3D\x22\x49\x45\x3D\x38\x22\x3E","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65\x4F\x76\x65\x72\x6C\x61\x79","\x67\x65\x74\x44\x72\x61\x77\x50\x61\x6E\x65","\x77\x72\x69\x74\x65\x48\x65\x61\x64","\x3C\x62\x6F\x64\x79\x20\x63\x6C\x61\x73\x73\x3D\x22\x6D\x78\x50\x61\x67\x65\x22\x3E","\x63\x72\x65\x61\x74\x65\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x41\x66\x74\x65\x72","\x61\x6C\x77\x61\x79\x73","\x6D\x78\x50\x61\x67\x65\x42\x72\x65\x61\x6B","\x67\x65\x74\x43\x6F\x76\x65\x72\x50\x61\x67\x65\x73","\x67\x65\x74\x41\x70\x70\x65\x6E\x64\x69\x63\x65\x73","\x61\x64\x64\x47\x72\x61\x70\x68\x46\x72\x61\x67\x6D\x65\x6E\x74","\x72\x65\x6E\x64\x65\x72\x50\x61\x67\x65","\x6D\x78\x50\x61\x67\x65\x2D","\x3C\x74\x69\x74\x6C\x65\x3E","\x3C\x2F\x74\x69\x74\x6C\x65\x3E","\x3C\x73\x74\x79\x6C\x65\x20\x74\x79\x70\x65\x3D\x22\x74\x65\x78\x74\x2F\x63\x73\x73\x22\x3E","\x40\x6D\x65\x64\x69\x61\x20\x70\x72\x69\x6E\x74\x20\x7B","\x20\x20\x74\x61\x62\x6C\x65\x2E\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72\x20\x7B\x20\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x6E\x6F\x6E\x65\x3B\x20\x7D","\x20\x20\x68\x72\x2E\x6D\x78\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x20\x7B\x20\x64\x69\x73\x70\x6C\x61\x79\x3A\x20\x6E\x6F\x6E\x65\x3B\x20\x7D","\x40\x6D\x65\x64\x69\x61\x20\x73\x63\x72\x65\x65\x6E\x20\x7B","\x20\x20\x74\x61\x62\x6C\x65\x2E\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72\x20\x7B\x20\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A\x20\x66\x69\x78\x65\x64\x3B\x20\x72\x69\x67\x68\x74\x3A\x20\x31\x30\x70\x78\x3B\x20\x74\x6F\x70\x3A\x20\x31\x30\x70\x78\x3B\x66\x6F\x6E\x74\x2D\x66\x61\x6D\x69\x6C\x79\x3A\x20\x41\x72\x69\x61\x6C\x3B\x20\x66\x6F\x6E\x74\x2D\x73\x69\x7A\x65\x3A\x31\x30\x70\x74\x3B\x20\x62\x6F\x72\x64\x65\x72\x3A\x20\x73\x6F\x6C\x69\x64\x20\x31\x70\x78\x20\x64\x61\x72\x6B\x67\x72\x61\x79\x3B\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3A\x20\x77\x68\x69\x74\x65\x3B\x20\x62\x6F\x72\x64\x65\x72\x2D\x63\x6F\x6C\x6C\x61\x70\x73\x65\x3A\x63\x6F\x6C\x6C\x61\x70\x73\x65\x3B\x20\x7D","\x20\x20\x74\x61\x62\x6C\x65\x2E\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72\x20\x74\x64\x20\x7B\x20\x62\x6F\x72\x64\x65\x72\x3A\x20\x73\x6F\x6C\x69\x64\x20\x31\x70\x78\x20\x67\x72\x61\x79\x3B\x20\x70\x61\x64\x64\x69\x6E\x67\x3A\x34\x70\x78\x3B\x20\x7D","\x20\x20\x62\x6F\x64\x79\x2E\x6D\x78\x50\x61\x67\x65\x20\x7B\x20\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x3A\x20\x67\x72\x61\x79\x3B\x20\x7D","\x3C\x2F\x73\x74\x79\x6C\x65\x3E","\x6D\x78\x50\x61\x67\x65\x53\x65\x6C\x65\x63\x74\x6F\x72","\x61","\x23\x6D\x78\x50\x61\x67\x65\x2D","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x49\x6E\x73\x69\x64\x65","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x73\x74\x79\x6C\x65\x73","\x63\x72\x65\x61\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x74\x79\x6C\x65","\x70\x75\x74\x44\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x70\x75\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x53\x48\x41\x50\x45","\x53\x48\x41\x50\x45\x5F\x52\x45\x43\x54\x41\x4E\x47\x4C\x45","\x53\x54\x59\x4C\x45\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52","\x52\x65\x63\x74\x61\x6E\x67\x6C\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x41\x4C\x49\x47\x4E","\x53\x54\x59\x4C\x45\x5F\x41\x4C\x49\x47\x4E","\x53\x54\x59\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x43\x33\x44\x39\x46\x46","\x53\x54\x59\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x23\x36\x34\x38\x32\x42\x39","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x43\x4F\x4C\x4F\x52","\x23\x37\x37\x34\x34\x30\x30","\x53\x48\x41\x50\x45\x5F\x43\x4F\x4E\x4E\x45\x43\x54\x4F\x52","\x23\x34\x34\x36\x32\x39\x39","\x64\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78","\x70\x75\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x74\x79\x6C\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6F\x72\x69\x67\x69\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65\x4F\x66\x66\x73\x65\x74","\x69\x6E\x76\x61\x6C\x69\x64","\x69\x6E\x76\x61\x6C\x69\x64\x4F\x72\x64\x65\x72","\x6F\x72\x64\x65\x72\x43\x68\x61\x6E\x67\x65\x64","\x76\x69\x73\x69\x62\x6C\x65\x53\x6F\x75\x72\x63\x65\x53\x74\x61\x74\x65","\x76\x69\x73\x69\x62\x6C\x65\x54\x61\x72\x67\x65\x74\x53\x74\x61\x74\x65","\x74\x65\x72\x6D\x69\x6E\x61\x6C\x44\x69\x73\x74\x61\x6E\x63\x65","\x73\x65\x67\x6D\x65\x6E\x74\x73","\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x42\x6F\x75\x6E\x64\x73","\x73\x65\x74\x41\x62\x73\x6F\x6C\x75\x74\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x56\x69\x73\x69\x62\x6C\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x53\x74\x61\x74\x65","\x73\x65\x74\x56\x69\x73\x69\x62\x6C\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x53\x74\x61\x74\x65","\x64\x6F\x6E\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x69\x6E\x67\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x52\x65\x73\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x69\x6E\x67\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x69\x6E\x67\x6C\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x69\x73\x53\x69\x6E\x67\x6C\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x74\x53\x69\x6E\x67\x6C\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x63\x68\x61\x6E\x67\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x74\x43\x65\x6C\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x73","\x67\x65\x74\x46\x69\x72\x73\x74\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x61\x64\x64\x43\x65\x6C\x6C","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x61\x64\x64\x65\x64","\x72\x65\x6D\x6F\x76\x65\x64","\x6D\x78\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x68\x61\x6E\x67\x65\x2E\x65\x78\x65\x63\x75\x74\x65","\x65\x6E\x74\x65\x72","\x6C\x65\x61\x76\x65","\x65\x64\x69\x74\x69\x6E\x67\x43\x65\x6C\x6C","\x74\x72\x69\x67\x67\x65\x72","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x61\x75\x74\x6F\x53\x69\x7A\x65","\x65\x6D\x70\x74\x79\x4C\x61\x62\x65\x6C\x54\x65\x78\x74","\x74\x65\x78\x74\x4E\x6F\x64\x65","\x6D\x78\x43\x65\x6C\x6C\x45\x64\x69\x74\x6F\x72","\x63\x6F\x6C\x73","\x32\x30","\x34","\x62\x6C\x75\x72","\x66\x6F\x63\x75\x73\x4C\x6F\x73\x74","\x6B\x65\x79\x64\x6F\x77\x6E","\x6B\x65\x79\x43\x6F\x64\x65","\x69\x73\x45\x6E\x74\x65\x72\x53\x74\x6F\x70\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x73\x74\x6F\x70\x45\x64\x69\x74\x69\x6E\x67","\x63\x6C\x65\x61\x72\x4F\x6E\x43\x68\x61\x6E\x67\x65","\x73\x65\x74\x4D\x6F\x64\x69\x66\x69\x65\x64","\x6B\x65\x79\x70\x72\x65\x73\x73","\x69\x73\x4C\x61\x62\x65\x6C\x43\x6C\x69\x70\x70\x65\x64","\x69\x73\x57\x72\x61\x70\x70\x69\x6E\x67","\x41\x4C\x49\x47\x4E\x5F\x4C\x45\x46\x54","\x69\x73\x4D\x6F\x64\x69\x66\x69\x65\x64","\x69\x73\x49\x6E\x76\x6F\x6B\x65\x73\x53\x74\x6F\x70\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x69\x73\x48\x69\x64\x65\x4C\x61\x62\x65\x6C","\x6F\x75\x74\x6C\x69\x6E\x65","\x67\x65\x74\x45\x64\x69\x74\x6F\x72\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x56\x61\x6C\x75\x65","\x67\x65\x74\x45\x6D\x70\x74\x79\x4C\x61\x62\x65\x6C\x54\x65\x78\x74","\x63\x72\x65\x61\x74\x65\x54\x65\x78\x74\x44\x69\x76","\x67\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x56\x61\x6C\x75\x65","\x67\x65\x74\x45\x64\x69\x74\x69\x6E\x67\x56\x61\x6C\x75\x65","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x54\x4F\x50","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x52\x49\x47\x48\x54","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x42\x4F\x54\x54\x4F\x4D","\x53\x54\x59\x4C\x45\x5F\x53\x50\x41\x43\x49\x4E\x47\x5F\x4C\x45\x46\x54","\x67\x65\x74\x45\x64\x69\x74\x69\x6E\x67\x43\x65\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x64\x65\x66\x61\x75\x6C\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x64\x65\x66\x61\x75\x6C\x74\x54\x65\x78\x74\x53\x68\x61\x70\x65","\x6C\x65\x67\x61\x63\x79\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x66\x61\x75\x6C\x74\x53\x68\x61\x70\x65\x73","\x72\x65\x67\x69\x73\x74\x65\x72\x53\x68\x61\x70\x65","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65","\x63\x72\x65\x61\x74\x65\x53\x68\x61\x70\x65","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65\x53\x68\x61\x70\x65","\x6F\x72\x64\x65\x72\x65\x64","\x6B\x65\x65\x70\x45\x64\x67\x65\x73\x49\x6E\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x66\x69\x72\x73\x74\x45\x64\x67\x65","\x69\x6E\x73\x65\x72\x74\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x69\x6E\x73\x74\x61\x6C\x6C\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x67\x65\x74\x50\x72\x65\x76\x69\x6F\x75\x73\x53\x74\x61\x74\x65\x49\x6E\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x66\x69\x6E\x64\x50\x72\x65\x76\x69\x6F\x75\x73\x53\x74\x61\x74\x65\x49\x6E\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x72\x64\x65\x72","\x6F\x72\x64\x65\x72\x45\x64\x67\x65","\x6B\x65\x65\x70\x45\x64\x67\x65\x73\x49\x6E\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x53\x68\x61\x70\x65\x43\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x63\x6F\x6E\x66\x69\x67\x75\x72\x65\x53\x68\x61\x70\x65","\x67\x65\x74\x53\x68\x61\x70\x65","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x53\x68\x61\x70\x65","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x47\x72\x61\x64\x69\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x67\x65\x74\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x49\x6D\x61\x67\x65","\x70\x6F\x73\x74\x43\x6F\x6E\x66\x69\x67\x75\x72\x65\x53\x68\x61\x70\x65","\x72\x65\x73\x6F\x6C\x76\x65\x43\x6F\x6C\x6F\x72","\x67\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x49\x6E\x64\x69\x63\x61\x74\x6F\x72\x43\x6F\x6C\x6F\x72\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x6E\x64\x69\x63\x61\x74\x65\x64","\x67\x65\x74\x4C\x61\x62\x65\x6C\x56\x61\x6C\x75\x65","\x67\x65\x74\x4C\x61\x62\x65\x6C","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C","\x67\x65\x74\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x54\x59\x4C\x45","\x53\x54\x59\x4C\x45\x5F\x48\x4F\x52\x49\x5A\x4F\x4E\x54\x41\x4C","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x42\x41\x43\x4B\x47\x52\x4F\x55\x4E\x44\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x42\x4F\x52\x44\x45\x52\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x4F\x56\x45\x52\x46\x4C\x4F\x57","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x41\x44\x44\x49\x4E\x47","\x69\x6E\x69\x74\x69\x61\x6C\x69\x7A\x65\x4C\x61\x62\x65\x6C","\x63\x6F\x6E\x76\x65\x72\x74\x50\x6F\x69\x6E\x74","\x69\x73\x4C\x61\x62\x65\x6C\x45\x76\x65\x6E\x74","\x49\x4D\x47","\x4E\x4F\x5F\x46\x4F","\x67\x65\x74\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x6F\x76\x65\x72\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x74\x72\x6F\x6C","\x67\x65\x74\x46\x6F\x6C\x64\x69\x6E\x67\x49\x6D\x61\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6F\x6E\x74\x72\x6F\x6C","\x69\x6E\x69\x74\x43\x6F\x6E\x74\x72\x6F\x6C","\x44\x49\x41\x4C\x45\x43\x54\x5F\x50\x52\x45\x46\x45\x52\x48\x54\x4D\x4C","\x69\x6E\x6E\x65\x72\x4E\x6F\x64\x65","\x69\x73\x53\x68\x61\x70\x65\x45\x76\x65\x6E\x74","\x67\x65\x73\x74\x75\x72\x65\x73\x74\x61\x72\x74","\x6C\x61\x73\x74\x54\x6F\x75\x63\x68\x54\x69\x6D\x65","\x67\x65\x73\x74\x75\x72\x65\x65\x6E\x64","\x67\x65\x73\x74\x75\x72\x65\x45\x6E\x61\x62\x6C\x65\x64","\x68\x61\x6E\x64\x6C\x65\x47\x65\x73\x74\x75\x72\x65","\x72\x65\x64\x72\x61\x77\x4C\x61\x62\x65\x6C","\x67\x65\x74\x4C\x61\x62\x65\x6C\x42\x6F\x75\x6E\x64\x73","\x69\x73\x43\x6C\x69\x70\x70\x69\x6E\x67","\x67\x65\x74\x54\x65\x78\x74\x53\x63\x61\x6C\x65","\x72\x6F\x74\x61\x74\x65\x4C\x61\x62\x65\x6C\x42\x6F\x75\x6E\x64\x73","\x72\x65\x64\x72\x61\x77\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x72\x65\x64\x72\x61\x77\x43\x6F\x6E\x74\x72\x6F\x6C","\x67\x65\x74\x43\x6F\x6E\x74\x72\x6F\x6C\x42\x6F\x75\x6E\x64\x73","\x65\x71\x75\x61\x6C\x45\x6E\x74\x72\x69\x65\x73","\x65\x71\x75\x61\x6C\x50\x6F\x69\x6E\x74\x73","\x67\x65\x74\x50\x6F\x72\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x67\x65\x74\x52\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x59","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D\x43\x6F\x6E\x74\x72\x6F\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x52\x6F\x75\x74\x69\x6E\x67\x43\x65\x6E\x74\x65\x72\x58","\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x45\x4C\x42\x4F\x57\x5F\x56\x45\x52\x54\x49\x43\x41\x4C","\x6F\x72\x74\x68\x42\x75\x66\x66\x65\x72","\x44\x49\x52\x45\x43\x54\x49\x4F\x4E\x5F\x4D\x41\x53\x4B\x5F\x41\x4C\x4C","\x6C\x69\x6D\x69\x74\x73","\x76\x65\x72\x74\x65\x78\x53\x65\x70\x65\x72\x61\x74\x69\x6F\x6E\x73","\x72\x65\x76\x65\x72\x73\x65\x50\x6F\x72\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x72\x6F\x75\x74\x65\x50\x61\x74\x74\x65\x72\x6E\x73","\x77\x61\x79\x50\x6F\x69\x6E\x74\x73\x31","\x64\x69\x72\x56\x65\x63\x74\x6F\x72\x73","\x54\x41\x52\x47\x45\x54\x5F\x4D\x41\x53\x4B","\x53\x4F\x55\x52\x43\x45\x5F\x4D\x41\x53\x4B","\x53\x49\x44\x45\x5F\x4D\x41\x53\x4B","\x43\x45\x4E\x54\x45\x52\x5F\x4D\x41\x53\x4B","\x76\x61\x6C\x75\x65\x73","\x70\x75\x74\x56\x61\x6C\x75\x65","\x67\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x45\x4D\x50\x54\x59\x5F\x50\x4F\x49\x4E\x54","\x75\x70\x64\x61\x74\x69\x6E\x67\x44\x6F\x63\x75\x6D\x65\x6E\x74\x52\x65\x73\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x69\x6E\x67\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x61\x6C\x6C\x6F\x77\x45\x76\x61\x6C","\x63\x61\x70\x74\x75\x72\x65\x44\x6F\x63\x75\x6D\x65\x6E\x74\x47\x65\x73\x74\x75\x72\x65","\x6F\x70\x74\x69\x6D\x69\x7A\x65\x56\x6D\x6C\x52\x65\x66\x6C\x6F\x77\x73","\x72\x65\x6E\x64\x65\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65","\x73\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x73\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65","\x70\x72\x65\x76\x69\x6F\x75\x73\x53\x63\x61\x6C\x65","\x70\x72\x65\x76\x69\x6F\x75\x73\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x73\x65\x74\x53\x63\x61\x6C\x65","\x69\x6E\x76\x61\x6C\x69\x64\x61\x74\x65","\x76\x61\x6C\x69\x64\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x53\x74\x61\x74\x65","\x6D\x78\x47\x72\x61\x70\x68\x56\x69\x65\x77\x2E\x76\x61\x6C\x69\x64\x61\x74\x65","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x6F\x75\x6E\x64\x73","\x76\x61\x6C\x69\x64\x61\x74\x65\x50\x6F\x69\x6E\x74\x73","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x63\x72\x65\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x72\x65\x64\x72\x61\x77\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x54\x41\x54\x49\x4F\x4E","\x75\x70\x64\x61\x74\x65\x56\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x4F\x66\x66\x73\x65\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x4F\x66\x66\x73\x65\x74\x46\x6F\x72\x43\x65\x6C\x6C","\x75\x70\x64\x61\x74\x65\x46\x69\x78\x65\x64\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x46\x6C\x6F\x61\x74\x69\x6E\x67\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x45\x64\x67\x65\x4C\x61\x62\x65\x6C\x4F\x66\x66\x73\x65\x74","\x63\x68\x69\x6C\x64\x4D\x6F\x76\x65\x64","\x69\x73\x52\x65\x6E\x64\x65\x72\x69\x6E\x67","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x75\x70\x64\x61\x74\x65\x46\x69\x78\x65\x64\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x50\x6F\x69\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x72\x74","\x64\x65\x66\x61\x75\x6C\x74\x4C\x6F\x6F\x70\x53\x74\x79\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x45\x44\x47\x45","\x69\x73\x41\x6C\x6C\x6F\x77\x45\x76\x61\x6C","\x75\x70\x64\x61\x74\x65\x46\x6C\x6F\x61\x74\x69\x6E\x67\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x74\x4E\x65\x78\x74\x50\x6F\x69\x6E\x74","\x69\x73\x4F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C","\x53\x54\x59\x4C\x45\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52\x5F\x53\x50\x41\x43\x49\x4E\x47","\x53\x54\x59\x4C\x45\x5F\x53\x4F\x55\x52\x43\x45\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52\x5F\x53\x50\x41\x43\x49\x4E\x47","\x53\x54\x59\x4C\x45\x5F\x54\x41\x52\x47\x45\x54\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52\x5F\x53\x50\x41\x43\x49\x4E\x47","\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x50\x6F\x69\x6E\x74","\x53\x54\x59\x4C\x45\x5F\x53\x4F\x55\x52\x43\x45\x5F\x50\x4F\x52\x54","\x53\x54\x59\x4C\x45\x5F\x54\x41\x52\x47\x45\x54\x5F\x50\x4F\x52\x54","\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x55\x54\x49\x4E\x47\x5F\x43\x45\x4E\x54\x45\x52\x5F\x58","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x55\x54\x49\x4E\x47\x5F\x43\x45\x4E\x54\x45\x52\x5F\x59","\x67\x65\x74\x52\x65\x6C\x61\x74\x69\x76\x65\x50\x6F\x69\x6E\x74","\x72\x65\x6C\x61\x74\x69\x76\x65\x43\x63\x77","\x73\x65\x74\x52\x65\x6E\x64\x65\x72\x69\x6E\x67","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x45\x76\x61\x6C","\x67\x65\x74\x53\x74\x61\x74\x65\x73","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x61\x74\x65\x73","\x69\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x63\x72\x6F\x6C\x6C\x45\x76\x65\x6E\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x6D\x6F\x76\x65\x48\x61\x6E\x64\x6C\x65\x72","\x65\x6E\x64\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x48\x74\x6D\x6C\x50\x61\x6E\x65","\x75\x70\x64\x61\x74\x65\x48\x74\x6D\x6C\x43\x61\x6E\x76\x61\x73\x53\x69\x7A\x65","\x63\x72\x65\x61\x74\x65\x56\x6D\x6C\x50\x61\x6E\x65","\x63\x6F\x6F\x72\x64\x6F\x72\x69\x67\x69\x6E","\x30\x2C\x30","\x73\x74\x61\x74\x69\x63","\x69\x73\x55\x70","\x67\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65\x46\x6F\x72\x52\x6F\x6F\x74","\x55\x50","\x44\x4F\x57\x4E","\x6D\x6F\x75\x73\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x72\x65\x6E\x64\x65\x72\x48\x69\x6E\x74","\x52\x45\x4E\x44\x45\x52\x49\x4E\x47\x5F\x48\x49\x4E\x54\x5F\x45\x58\x41\x43\x54","\x52\x45\x4E\x44\x45\x52\x49\x4E\x47\x5F\x48\x49\x4E\x54\x5F\x46\x41\x53\x54\x45\x53\x54","\x52\x45\x4E\x44\x45\x52\x49\x4E\x47\x5F\x48\x49\x4E\x54\x5F\x46\x41\x53\x54\x45\x52","\x44\x49\x41\x4C\x45\x43\x54\x5F\x4D\x49\x58\x45\x44\x48\x54\x4D\x4C","\x6D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x69\x6D\x61\x67\x65\x42\x75\x6E\x64\x6C\x65\x73","\x63\x72\x65\x61\x74\x65\x43\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x63\x72\x65\x61\x74\x65\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x73\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x63\x72\x65\x61\x74\x65\x47\x72\x61\x70\x68\x56\x69\x65\x77","\x67\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C\x43\x68\x61\x6E\x67\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72\x73","\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x2F\x67\x72\x61\x70\x68","\x45\x4D\x50\x54\x59\x5F\x41\x52\x52\x41\x59","\x63\x65\x6C\x6C\x45\x64\x69\x74\x6F\x72","\x70\x6F\x72\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x64\x6F\x75\x62\x6C\x65\x54\x61\x70\x45\x6E\x61\x62\x6C\x65\x64","\x64\x6F\x75\x62\x6C\x65\x54\x61\x70\x54\x69\x6D\x65\x6F\x75\x74","\x64\x6F\x75\x62\x6C\x65\x54\x61\x70\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x6C\x61\x73\x74\x54\x6F\x75\x63\x68\x59","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x64\x65\x66\x61\x75\x6C\x74\x4F\x76\x65\x72\x6C\x61\x70","\x64\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x43\x6F\x6C\x6F\x72","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x61\x73\x68\x65\x64","\x6D\x69\x6E\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x69\x73\x74","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x65\x73\x63\x61\x70\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x6E\x76\x6F\x6B\x65\x73\x53\x74\x6F\x70\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x65\x6E\x74\x65\x72\x53\x74\x6F\x70\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x65\x78\x70\x6F\x72\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x6D\x70\x6F\x72\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x65\x6C\x6C\x73\x4C\x6F\x63\x6B\x65\x64","\x63\x65\x6C\x6C\x73\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x45\x64\x69\x74\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x65\x64\x67\x65\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x76\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x64\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x73\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x42\x65\x6E\x64\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x63\x65\x6C\x6C\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x74\x69\x6D\x65\x72\x41\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x61\x6C\x6C\x6F\x77\x41\x75\x74\x6F\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x67\x6E\x6F\x72\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x61\x78\x69\x6D\x75\x6D\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x6D\x69\x6E\x69\x6D\x75\x6D\x47\x72\x61\x70\x68\x53\x69\x7A\x65","\x6D\x69\x6E\x69\x6D\x75\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x53\x69\x7A\x65","\x6D\x61\x78\x69\x6D\x75\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x53\x69\x7A\x65","\x72\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x61\x6C\x6C\x6F\x77\x4E\x65\x67\x61\x74\x69\x76\x65\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x65\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73","\x65\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73\x4F\x6E\x41\x64\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x54\x6F\x50\x72\x65\x66\x65\x72\x72\x65\x64\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x46\x61\x63\x74\x6F\x72","\x6B\x65\x65\x70\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x56\x69\x73\x69\x62\x6C\x65\x4F\x6E\x5A\x6F\x6F\x6D","\x63\x65\x6E\x74\x65\x72\x5A\x6F\x6F\x6D","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x52\x65\x73\x69\x7A\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x4D\x6F\x76\x65","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x43\x6F\x6E\x6E\x65\x63\x74","\x61\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x4C\x6F\x6F\x70","\x6D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x45\x64\x67\x65\x73","\x61\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x63\x6C\x6F\x6E\x65\x49\x6E\x76\x61\x6C\x69\x64\x45\x64\x67\x65\x73","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x4D\x6F\x76\x65","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x68\x74\x6D\x6C\x4C\x61\x62\x65\x6C\x73","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x4E\x65\x73\x74\x69\x6E\x67","\x6D\x69\x6E\x46\x69\x74\x53\x63\x61\x6C\x65","\x6D\x61\x78\x46\x69\x74\x53\x63\x61\x6C\x65","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x49\x6D\x61\x67\x65","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66","\x65\x78\x70\x61\x6E\x64\x65\x64\x49\x6D\x61\x67\x65","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66","\x77\x61\x72\x6E\x69\x6E\x67\x49\x6D\x61\x67\x65","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x69\x6D\x61\x67\x65\x73\x2F\x77\x61\x72\x6E\x69\x6E\x67\x2E\x67\x69\x66","\x61\x6C\x72\x65\x61\x64\x79\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64\x52\x65\x73\x6F\x75\x72\x63\x65","\x61\x6C\x72\x65\x61\x64\x79\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x45\x78\x70\x61\x6E\x64\x52\x65\x73\x6F\x75\x72\x63\x65","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x2D\x65\x78\x70\x61\x6E\x64","\x63\x72\x65\x61\x74\x65\x43\x65\x6C\x6C\x45\x64\x69\x74\x6F\x72","\x75\x6E\x6C\x6F\x61\x64","\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x3C\x76\x3A\x67\x72\x6F\x75\x70\x20\x73\x74\x79\x6C\x65\x3D\x22\x44\x49\x53\x50\x4C\x41\x59\x3A\x20\x6E\x6F\x6E\x65\x3B\x22\x3E\x3C\x2F\x76\x3A\x67\x72\x6F\x75\x70\x3E","\x70\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x70\x72\x6F\x63\x65\x73\x73\x43\x68\x61\x6E\x67\x65","\x67\x65\x74\x52\x65\x6D\x6F\x76\x65\x64\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x6C\x65\x61\x72\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x72\x65\x6D\x6F\x76\x65\x53\x74\x61\x74\x65\x46\x6F\x72\x43\x65\x6C\x6C","\x68\x6F\x6D\x65","\x61\x64\x64\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x63\x6C\x65\x61\x72\x43\x65\x6C\x6C\x4F\x76\x65\x72\x6C\x61\x79\x73","\x73\x65\x74\x43\x65\x6C\x6C\x57\x61\x72\x6E\x69\x6E\x67","\x3C\x66\x6F\x6E\x74\x20\x63\x6F\x6C\x6F\x72\x3D\x72\x65\x64\x3E","\x3C\x2F\x66\x6F\x6E\x74\x3E","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67\x41\x74\x43\x65\x6C\x6C","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x61\x62\x6C\x65","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x69\x73\x41\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C","\x63\x65\x6C\x6C\x4C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x65\x6C\x6C\x53\x69\x7A\x65\x55\x70\x64\x61\x74\x65\x64","\x68\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x41\x74","\x69\x73\x54\x6F\x67\x67\x6C\x65\x45\x76\x65\x6E\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x50\x61\x6E\x6E\x69\x6E\x67\x4D\x61\x6E\x61\x67\x65\x72","\x67\x65\x74\x42\x6F\x72\x64\x65\x72\x53\x69\x7A\x65\x73","\x74\x68\x69\x6E","\x6D\x65\x64\x69\x75\x6D","\x74\x68\x69\x63\x6B","\x62\x6F\x72\x64\x65\x72\x4C\x65\x66\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70\x57\x69\x64\x74\x68","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x62\x6F\x72\x64\x65\x72\x52\x69\x67\x68\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x42\x6F\x74\x74\x6F\x6D\x57\x69\x64\x74\x68","\x70\x61\x64\x64\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x67\x65\x74\x50\x72\x65\x66\x65\x72\x72\x65\x64\x50\x61\x67\x65\x53\x69\x7A\x65","\x67\x65\x74\x42\x6F\x72\x64\x65\x72","\x64\x6F\x52\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x75\x70\x64\x61\x74\x65\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x76\x65\x72\x74\x69\x63\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x70\x6F\x73\x74\x50\x72\x6F\x63\x65\x73\x73\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45","\x67\x65\x74\x49\x6D\x61\x67\x65\x46\x72\x6F\x6D\x42\x75\x6E\x64\x6C\x65\x73","\x64\x61\x74\x61\x3A\x69\x6D\x61\x67\x65\x2F","\x3B\x62\x61\x73\x65\x36\x34\x2C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x61\x64\x64\x49\x6D\x61\x67\x65\x42\x75\x6E\x64\x6C\x65","\x72\x65\x6D\x6F\x76\x65\x49\x6D\x61\x67\x65\x42\x75\x6E\x64\x6C\x65","\x62\x61\x63\x6B","\x67\x65\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x47\x72\x6F\x75\x70","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70\x43\x65\x6C\x6C","\x67\x65\x74\x42\x6F\x75\x6E\x64\x73\x46\x6F\x72\x47\x72\x6F\x75\x70","\x61\x64\x64\x41\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x74\x45\x64\x67\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x69\x6E\x73\x65\x72\x74\x56\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65","\x61\x64\x64\x45\x64\x67\x65","\x69\x73\x41\x6C\x6C\x6F\x77\x4E\x65\x67\x61\x74\x69\x76\x65\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x69\x73\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73\x4F\x6E\x41\x64\x64","\x69\x73\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74","\x65\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64","\x67\x65\x74\x44\x65\x6C\x65\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x6E\x63\x6C\x75\x64\x65\x45\x64\x67\x65\x73","\x6E\x65\x77\x45\x64\x67\x65","\x67\x65\x74\x46\x6F\x6C\x64\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x72\x65\x63\x75\x72\x73\x65","\x69\x73\x43\x65\x6C\x6C\x46\x6F\x6C\x64\x61\x62\x6C\x65","\x73\x77\x61\x70\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x41\x6C\x74\x65\x72\x6E\x61\x74\x65\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x50\x72\x65\x66\x65\x72\x72\x65\x64\x53\x69\x7A\x65\x46\x6F\x72\x43\x65\x6C\x6C","\x67\x65\x74\x41\x6C\x6C\x45\x64\x67\x65\x73","\x69\x67\x6E\x6F\x72\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x53\x48\x41\x50\x45\x5F\x4C\x41\x42\x45\x4C","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45\x5F\x57\x49\x44\x54\x48","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45\x5F\x48\x45\x49\x47\x48\x54","\x67\x65\x74\x53\x69\x7A\x65\x46\x6F\x72\x53\x74\x72\x69\x6E\x67","\x72\x65\x73\x69\x7A\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6C\x6F\x6E\x65\x49\x6E\x76\x61\x6C\x69\x64\x45\x64\x67\x65\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4E\x65\x67\x61\x74\x69\x76\x65\x43\x6F\x6F\x72\x64\x69\x6E\x61\x74\x65\x73","\x69\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x4D\x6F\x76\x65","\x69\x73\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x47\x72\x61\x70\x68","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x43\x65\x6C\x6C\x43\x6F\x6E\x74\x61\x69\x6E\x6D\x65\x6E\x74\x41\x72\x65\x61","\x67\x65\x74\x43\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x67\x65\x74\x4D\x61\x78\x69\x6D\x75\x6D\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x70","\x67\x65\x74\x41\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x53\x54\x59\x4C\x45\x5F\x45\x58\x49\x54\x5F\x58","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x54\x52\x59\x5F\x58","\x53\x54\x59\x4C\x45\x5F\x45\x58\x49\x54\x5F\x59","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x54\x52\x59\x5F\x59","\x53\x54\x59\x4C\x45\x5F\x45\x58\x49\x54\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x54\x52\x59\x5F\x50\x45\x52\x49\x4D\x45\x54\x45\x52","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x70\x6F\x69\x6E\x74","\x53\x54\x59\x4C\x45\x5F\x46\x4C\x49\x50\x48","\x53\x54\x59\x4C\x45\x5F\x46\x4C\x49\x50\x56","\x69\x73\x50\x6F\x72\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x46\x6F\x72\x50\x6F\x72\x74","\x69\x73\x43\x65\x6C\x6C\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x67\x65\x74\x43\x65\x6C\x6C\x42\x6F\x75\x6E\x64\x73","\x73\x68\x69\x66\x74\x50\x72\x65\x76\x69\x65\x77\x31","\x73\x68\x69\x66\x74\x50\x72\x65\x76\x69\x65\x77\x32","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x7A\x6F\x6F\x6D\x41\x63\x74\x75\x61\x6C","\x7A\x6F\x6F\x6D\x54\x6F","\x73\x63\x72\x6F\x6C\x6C\x52\x65\x63\x74\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x7A\x6F\x6F\x6D\x54\x6F\x52\x65\x63\x74","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x4F\x52\x54\x48\x4F\x47\x4F\x4E\x41\x4C","\x53\x65\x67\x6D\x65\x6E\x74\x43\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x45\x6C\x62\x6F\x77\x43\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x53\x69\x64\x65\x54\x6F\x53\x69\x64\x65","\x54\x6F\x70\x54\x6F\x42\x6F\x74\x74\x6F\x6D","\x45\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E","\x4F\x72\x74\x68\x43\x6F\x6E\x6E\x65\x63\x74\x6F\x72","\x69\x73\x4C\x6F\x6F\x70","\x69\x73\x43\x6C\x6F\x6E\x65\x45\x76\x65\x6E\x74","\x49\x53\x5F\x4D\x41\x43","\x69\x73\x4D\x65\x74\x61\x44\x6F\x77\x6E","\x69\x73\x41\x6C\x74\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x65\x64\x45\x76\x65\x6E\x74","\x69\x73\x46\x6F\x72\x63\x65\x4D\x61\x72\x71\x75\x65\x65\x45\x76\x65\x6E\x74","\x76\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x41\x6C\x65\x72\x74","\x69\x73\x45\x64\x67\x65\x56\x61\x6C\x69\x64","\x69\x73\x56\x61\x6C\x69\x64\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x63\x68\x65\x63\x6B","\x76\x61\x6C\x69\x64\x61\x74\x65\x45\x64\x67\x65","\x76\x61\x6C\x69\x64\x61\x74\x65\x47\x72\x61\x70\x68","\x67\x65\x74\x43\x65\x6C\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x65\x6C\x6C","\x61\x74\x74\x72","\x63\x6F\x75\x6E\x74\x45\x72\x72\x6F\x72","\x73\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x74\x6F\x53\x74\x72\x69\x6E\x67","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C\x73","\x73\x65\x74\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C\x73","\x53\x54\x59\x4C\x45\x5F\x57\x48\x49\x54\x45\x5F\x53\x50\x41\x43\x45","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x4E\x6F\x64\x65","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x43\x65\x6C\x6C","\x67\x65\x74\x43\x75\x72\x73\x6F\x72\x46\x6F\x72\x43\x65\x6C\x6C","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x47\x52\x41\x44\x49\x45\x4E\x54\x43\x4F\x4C\x4F\x52","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x53\x48\x41\x50\x45","\x53\x54\x59\x4C\x45\x5F\x49\x4E\x44\x49\x43\x41\x54\x4F\x52\x5F\x49\x4D\x41\x47\x45","\x73\x65\x74\x42\x6F\x72\x64\x65\x72","\x53\x48\x41\x50\x45\x5F\x53\x57\x49\x4D\x4C\x41\x4E\x45","\x69\x73\x52\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x65\x74\x52\x65\x73\x69\x7A\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x69\x73\x45\x73\x63\x61\x70\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x73\x63\x61\x70\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x49\x6E\x76\x6F\x6B\x65\x73\x53\x74\x6F\x70\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x73\x65\x74\x45\x6E\x74\x65\x72\x53\x74\x6F\x70\x73\x43\x65\x6C\x6C\x45\x64\x69\x74\x69\x6E\x67","\x69\x73\x43\x65\x6C\x6C\x4C\x6F\x63\x6B\x65\x64","\x69\x73\x43\x65\x6C\x6C\x73\x4C\x6F\x63\x6B\x65\x64","\x73\x65\x74\x43\x65\x6C\x6C\x73\x4C\x6F\x63\x6B\x65\x64","\x67\x65\x74\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x43\x65\x6C\x6C\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x43\x4C\x4F\x4E\x45\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x43\x6C\x6F\x6E\x65\x61\x62\x6C\x65","\x63\x61\x6E\x45\x78\x70\x6F\x72\x74\x43\x65\x6C\x6C","\x63\x61\x6E\x49\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x73\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x73\x53\x65\x6C\x65\x63\x74\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x44\x45\x4C\x45\x54\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x44\x65\x6C\x65\x74\x61\x62\x6C\x65","\x69\x73\x4C\x61\x62\x65\x6C\x4D\x6F\x76\x61\x62\x6C\x65","\x67\x65\x74\x4D\x6F\x76\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x43\x65\x6C\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x4D\x4F\x56\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x73\x65\x74\x50\x6F\x72\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x73\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x73\x65\x74\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x69\x73\x56\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x73\x65\x74\x56\x65\x72\x74\x65\x78\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x45\x64\x67\x65\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x73\x65\x74\x45\x64\x67\x65\x4C\x61\x62\x65\x6C\x73\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4E\x65\x73\x74\x69\x6E\x67","\x73\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4E\x65\x73\x74\x69\x6E\x67","\x73\x65\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x73\x65\x74\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x69\x73\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x45\x64\x67\x65\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x6C\x6F\x6E\x65\x49\x6E\x76\x61\x6C\x69\x64\x45\x64\x67\x65\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x4D\x6F\x76\x65","\x73\x65\x74\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x65\x6C\x6C\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x52\x45\x53\x49\x5A\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x52\x65\x73\x69\x7A\x61\x62\x6C\x65","\x69\x73\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74\x4D\x6F\x76\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x42\x65\x6E\x64\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x42\x65\x6E\x64\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x42\x45\x4E\x44\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x42\x65\x6E\x64\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x45\x64\x69\x74\x61\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x45\x44\x49\x54\x41\x42\x4C\x45","\x73\x65\x74\x43\x65\x6C\x6C\x73\x45\x64\x69\x74\x61\x62\x6C\x65","\x69\x73\x43\x65\x6C\x6C\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x73\x44\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x69\x73\x56\x61\x6C\x69\x64\x53\x6F\x75\x72\x63\x65","\x69\x73\x56\x61\x6C\x69\x64\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x73\x41\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x53\x54\x59\x4C\x45\x5F\x41\x55\x54\x4F\x53\x49\x5A\x45","\x73\x65\x74\x41\x75\x74\x6F\x53\x69\x7A\x65\x43\x65\x6C\x6C\x73","\x69\x73\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73","\x73\x65\x74\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73","\x73\x65\x74\x45\x78\x74\x65\x6E\x64\x50\x61\x72\x65\x6E\x74\x73\x4F\x6E\x41\x64\x64","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x73\x65\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x69\x73\x41\x6C\x6C\x6F\x77\x4F\x76\x65\x72\x6C\x61\x70\x50\x61\x72\x65\x6E\x74","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4C\x44\x41\x42\x4C\x45","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x68\x69\x74\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x43\x6F\x6E\x74\x65\x6E\x74","\x67\x65\x74\x50\x6F\x69\x6E\x74\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x73","\x67\x65\x74\x43\x65\x6C\x6C\x73\x42\x65\x79\x6F\x6E\x64","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x52\x65\x67\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x4E\x65\x78\x74\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x50\x72\x65\x76\x69\x6F\x75\x73\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x50\x61\x72\x65\x6E\x74\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x43\x68\x69\x6C\x64\x43\x65\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x75\x70\x64\x61\x74\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x6C\x61\x73\x74\x54\x6F\x75\x63\x68\x58","\x6C\x61\x73\x74\x4D\x6F\x75\x73\x65\x58","\x6C\x61\x73\x74\x4D\x6F\x75\x73\x65\x59","\x4D\x4F\x55\x53\x45\x5F\x55\x50","\x4D\x4F\x55\x53\x45\x5F\x4D\x4F\x56\x45","\x64\x65\x73\x74\x72\x6F\x79\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70","\x68\x65\x6C\x70","\x67\x72\x61\x70\x68\x52\x65\x6E\x64\x65\x72\x48\x69\x6E\x74","\x73\x68\x6F\x77\x56\x69\x65\x77\x70\x6F\x72\x74","\x73\x69\x7A\x65\x72\x53\x69\x7A\x65","\x75\x70\x64\x61\x74\x65\x4F\x6E\x50\x61\x6E","\x73\x69\x7A\x65\x72\x49\x6D\x61\x67\x65","\x73\x68\x61\x70\x65\x2D\x72\x65\x6E\x64\x65\x72\x69\x6E\x67","\x6F\x70\x74\x69\x6D\x69\x7A\x65\x53\x70\x65\x65\x64","\x69\x6D\x61\x67\x65\x2D\x72\x65\x6E\x64\x65\x72\x69\x6E\x67","\x75\x70\x64\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x75\x70\x64\x61\x74\x65","\x70\x61\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x66\x72\x65\x73\x68\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x42\x6F\x72\x64\x65\x72","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x73\x69\x7A\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x69\x7A\x65\x72","\x73\x65\x74\x5A\x6F\x6F\x6D\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x53\x6F\x75\x72\x63\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x53\x69\x7A\x65","\x67\x65\x74\x4F\x75\x74\x6C\x69\x6E\x65\x4F\x66\x66\x73\x65\x74","\x73\x74\x61\x72\x74\x58","\x73\x74\x61\x72\x74\x59","\x64\x78\x30","\x64\x79\x30","\x6E","\x76\x61\x6C\x69\x64\x4E\x65\x69\x67\x68\x62\x6F\x72\x73","\x74\x79\x70\x65\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x4E\x65\x69\x67\x68\x62\x6F\x72\x73\x41\x6C\x6C\x6F\x77\x65\x64","\x63\x68\x65\x63\x6B\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x63\x68\x65\x63\x6B\x4E\x65\x69\x67\x68\x62\x6F\x72\x73","\x63\x68\x65\x63\x6B\x54\x79\x70\x65","\x75\x6E\x64\x6F\x48\x61\x6E\x64\x6C\x65\x72","\x62\x75\x62\x62\x6C\x69\x6E\x67","\x69\x73\x42\x75\x62\x62\x6C\x69\x6E\x67","\x73\x65\x74\x42\x75\x62\x62\x6C\x69\x6E\x67","\x67\x65\x74\x4C\x61\x79\x6F\x75\x74","\x67\x65\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x72\x65\x73\x69\x7A\x65\x48\x61\x6E\x64\x6C\x65\x72","\x66\x6F\x6C\x64\x48\x61\x6E\x64\x6C\x65\x72","\x73\x68\x69\x66\x74\x52\x69\x67\x68\x74\x77\x61\x72\x64\x73","\x73\x68\x69\x66\x74\x44\x6F\x77\x6E\x77\x61\x72\x64\x73","\x69\x73\x43\x65\x6C\x6C\x49\x67\x6E\x6F\x72\x65\x64","\x69\x73\x43\x65\x6C\x6C\x53\x68\x69\x66\x74\x61\x62\x6C\x65","\x69\x73\x53\x68\x69\x66\x74\x52\x69\x67\x68\x74\x77\x61\x72\x64\x73","\x73\x65\x74\x53\x68\x69\x66\x74\x52\x69\x67\x68\x74\x77\x61\x72\x64\x73","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E\x77\x61\x72\x64\x73","\x73\x65\x74\x53\x68\x69\x66\x74\x44\x6F\x77\x6E\x77\x61\x72\x64\x73","\x63\x65\x6C\x6C\x52\x65\x73\x69\x7A\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C\x73\x54\x6F\x53\x68\x69\x66\x74","\x73\x68\x69\x66\x74\x43\x65\x6C\x6C","\x61\x64\x64\x45\x6E\x61\x62\x6C\x65\x64","\x72\x65\x73\x69\x7A\x65\x45\x6E\x61\x62\x6C\x65\x64","\x61\x64\x64\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x41\x64\x64\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x52\x65\x73\x69\x7A\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x48\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x65\x74\x41\x64\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x52\x65\x73\x69\x7A\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65\x49\x67\x6E\x6F\x72\x65\x64","\x69\x73\x43\x65\x6C\x6C\x48\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x41\x64\x64\x65\x64","\x72\x65\x73\x69\x7A\x65\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x6F\x6C\x64\x42\x6F\x75\x6E\x64\x73","\x6F\x6C\x64\x53\x74\x61\x74\x65\x73","\x6F\x6C\x64\x53\x63\x61\x6C\x65","\x64\x65\x6C\x74\x61\x73","\x63\x6F\x75\x6E\x74","\x58","\x59","\x61\x64\x64\x45\x64\x67\x65\x73","\x72\x65\x73\x6F\x6C\x76\x65","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x53\x74\x61\x74\x65","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65\x53\x74\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x53\x68\x61\x70\x65","\x6D\x61\x78\x43\x65\x6C\x6C\x73","\x68\x69\x67\x68\x6C\x69\x67\x68\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6C\x6F\x6E\x65\x45\x6E\x61\x62\x6C\x65\x64","\x6D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65","\x63\x75\x72\x72\x65\x6E\x74\x44\x78","\x63\x75\x72\x72\x65\x6E\x74\x44\x79","\x75\x70\x64\x61\x74\x65\x43\x75\x72\x73\x6F\x72","\x73\x65\x6C\x65\x63\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x6F\x6E\x6E\x65\x63\x74\x4F\x6E\x44\x72\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x4F\x6E\x4D\x6F\x76\x65","\x70\x72\x65\x76\x69\x65\x77\x43\x6F\x6C\x6F\x72","\x68\x74\x6D\x6C\x50\x72\x65\x76\x69\x65\x77","\x73\x63\x61\x6C\x65\x47\x72\x69\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x6C\x6F\x6E\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6C\x6F\x6E\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x4D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x4D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x65\x6C\x65\x63\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x73\x65\x74\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x44\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x64\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x65\x6C\x6C\x57\x61\x73\x43\x6C\x69\x63\x6B\x65\x64","\x53\x45\x4C\x45\x43\x54","\x66\x69\x72\x73\x74","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77\x42\x6F\x75\x6E\x64\x73","\x63\x72\x65\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x53\x68\x61\x70\x65","\x70\x42\x6F\x75\x6E\x64\x73","\x75\x73\x65\x47\x75\x69\x64\x65\x73\x46\x6F\x72\x45\x76\x65\x6E\x74","\x73\x65\x74\x48\x69\x67\x68\x6C\x69\x67\x68\x74\x43\x6F\x6C\x6F\x72","\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x49\x4E\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x54\x41\x52\x47\x45\x54\x5F\x43\x4F\x4C\x4F\x52","\x43\x55\x52\x53\x4F\x52\x5F\x4D\x4F\x56\x41\x42\x4C\x45\x5F\x45\x44\x47\x45","\x43\x55\x52\x53\x4F\x52\x5F\x4D\x4F\x56\x41\x42\x4C\x45\x5F\x56\x45\x52\x54\x45\x58","\x73\x65\x6C\x65\x63\x74\x44\x65\x6C\x61\x79\x65\x64","\x64\x65\x73\x74\x72\x6F\x79\x53\x68\x61\x70\x65\x73","\x67\x75\x69\x64\x65\x73","\x73\x68\x6F\x75\x6C\x64\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x74\x72\x69\x67\x67\x65\x72\x58","\x74\x72\x69\x67\x67\x65\x72\x59","\x75\x73\x65\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x73\x65\x6C\x65\x63\x74\x4F\x6E\x50\x6F\x70\x75\x70","\x63\x6C\x65\x61\x72\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4F\x6E\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x69\x67\x6E\x6F\x72\x65\x43\x65\x6C\x6C","\x70\x72\x65\x76\x69\x65\x77\x45\x6E\x61\x62\x6C\x65\x64","\x75\x73\x65\x47\x72\x69\x64","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x70\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x67\x65\x74\x43\x65\x6C\x6C\x46\x6F\x72\x50\x6F\x70\x75\x70\x45\x76\x65\x6E\x74","\x76\x61\x6C\x69\x64\x43\x6F\x6C\x6F\x72","\x44\x45\x46\x41\x55\x4C\x54\x5F\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x69\x6E\x76\x61\x6C\x69\x64\x43\x6F\x6C\x6F\x72","\x44\x45\x46\x41\x55\x4C\x54\x5F\x49\x4E\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x68\x6F\x74\x73\x70\x6F\x74","\x44\x45\x46\x41\x55\x4C\x54\x5F\x48\x4F\x54\x53\x50\x4F\x54","\x68\x6F\x74\x73\x70\x6F\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x43\x6F\x6C\x6F\x72","\x76\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x6D\x61\x72\x6B\x65\x64\x53\x74\x61\x74\x65","\x73\x65\x74\x48\x6F\x74\x73\x70\x6F\x74","\x67\x65\x74\x48\x6F\x74\x73\x70\x6F\x74","\x73\x65\x74\x48\x6F\x74\x73\x70\x6F\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x48\x6F\x74\x73\x70\x6F\x74\x45\x6E\x61\x62\x6C\x65\x64","\x68\x61\x73\x56\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x67\x65\x74\x4D\x61\x72\x6B\x65\x64\x53\x74\x61\x74\x65","\x75\x6E\x6D\x61\x72\x6B","\x70\x72\x6F\x63\x65\x73\x73","\x69\x73\x56\x61\x6C\x69\x64\x53\x74\x61\x74\x65","\x67\x65\x74\x4D\x61\x72\x6B\x65\x72\x43\x6F\x6C\x6F\x72","\x6D\x61\x72\x6B\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65\x54\x6F\x4D\x61\x72\x6B","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73\x48\x6F\x74\x73\x70\x6F\x74","\x72\x65\x73\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x68\x61\x6E\x64\x6C\x65\x72\x73","\x6D\x61\x78\x48\x61\x6E\x64\x6C\x65\x72\x73","\x6D\x6F\x76\x65\x49\x63\x6F\x6E\x46\x72\x6F\x6E\x74","\x6D\x6F\x76\x65\x49\x63\x6F\x6E\x42\x61\x63\x6B","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x74\x61\x72\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x6D\x61\x72\x6B\x65\x72","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x48\x61\x6E\x64\x6C\x65\x72","\x77\x61\x79\x70\x6F\x69\x6E\x74\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x45\x6E\x61\x62\x6C\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x44\x65\x6C\x61\x79","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x49\x6E\x50\x72\x6F\x67\x72\x65\x73\x73","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x56\x61\x6C\x69\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x69\x6E\x69\x74\x69\x61\x6C\x54\x6F\x75\x63\x68\x58","\x69\x6E\x69\x74\x69\x61\x6C\x54\x6F\x75\x63\x68\x59","\x69\x67\x6E\x6F\x72\x65\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x63\x6F\x6E\x4F\x66\x66\x73\x65\x74","\x65\x64\x67\x65\x53\x74\x61\x74\x65","\x64\x72\x69\x6C\x6C\x48\x61\x6E\x64\x6C\x65\x72","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E\x43\x6F\x75\x6E\x74\x65\x72","\x6D\x6F\x76\x65\x50\x72\x65\x76\x69\x65\x77\x41\x77\x61\x79","\x69\x73\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x69\x63\x6F\x6E\x53\x74\x61\x74\x65","\x69\x63\x6F\x6E\x73","\x72\x65\x64\x72\x61\x77\x49\x63\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x49\x63\x6F\x6E\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6E\x67","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x53\x74\x61\x74\x65","\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x69\x73\x4D\x6F\x76\x65\x49\x63\x6F\x6E\x54\x6F\x46\x72\x6F\x6E\x74\x46\x6F\x72\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x49\x63\x6F\x6E\x73","\x43\x55\x52\x53\x4F\x52\x5F\x43\x4F\x4E\x4E\x45\x43\x54","\x63\x75\x72\x72\x65\x6E\x74\x53\x74\x61\x74\x65","\x69\x63\x6F\x6E","\x67\x65\x74\x49\x63\x6F\x6E\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x69\x73\x53\x74\x61\x72\x74\x45\x76\x65\x6E\x74","\x63\x75\x72\x72\x65\x6E\x74\x46\x6F\x63\x75\x73","\x63\x75\x72\x72\x65\x6E\x74\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x73\x6F\x75\x72\x63\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x77\x61\x79\x70\x6F\x69\x6E\x74\x73","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64","\x73\x65\x6C\x65\x63\x74\x65\x64\x49\x63\x6F\x6E","\x69\x73\x49\x6D\x6D\x65\x64\x69\x61\x74\x65\x43\x6F\x6E\x6E\x65\x63\x74\x53\x6F\x75\x72\x63\x65","\x75\x70\x64\x61\x74\x65\x43\x75\x72\x72\x65\x6E\x74\x53\x74\x61\x74\x65","\x63\x6F\x6E\x76\x65\x72\x74\x57\x61\x79\x70\x6F\x69\x6E\x74","\x67\x65\x74\x54\x61\x72\x67\x65\x74\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x50\x6F\x69\x6E\x74","\x67\x65\x74\x53\x6F\x75\x72\x63\x65\x50\x65\x72\x69\x6D\x65\x74\x65\x72\x50\x6F\x69\x6E\x74","\x64\x72\x61\x77\x50\x72\x65\x76\x69\x65\x77","\x75\x70\x64\x61\x74\x65\x49\x63\x6F\x6E\x73","\x69\x73\x53\x74\x6F\x70\x45\x76\x65\x6E\x74","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x45\x64\x67\x65\x57\x69\x64\x74\x68","\x67\x65\x74\x45\x64\x67\x65\x43\x6F\x6C\x6F\x72","\x49\x4E\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x63\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x41\x6C\x69\x67\x6E\x6D\x65\x6E\x74\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x70\x6F\x69\x6E\x74\x49\x6D\x61\x67\x65","\x2F\x70\x6F\x69\x6E\x74\x2E\x67\x69\x66","\x68\x69\x67\x68\x6C\x69\x67\x68\x74\x43\x6F\x6C\x6F\x72","\x66\x6F\x63\x75\x73\x49\x63\x6F\x6E\x73","\x66\x6F\x63\x75\x73\x48\x69\x67\x68\x6C\x69\x67\x68\x74","\x66\x6F\x63\x75\x73\x50\x6F\x69\x6E\x74\x73","\x63\x75\x72\x72\x65\x6E\x74\x46\x6F\x63\x75\x73\x41\x72\x65\x61","\x67\x65\x74\x49\x6D\x61\x67\x65\x46\x6F\x72\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74","\x69\x73\x45\x76\x65\x6E\x74\x49\x67\x6E\x6F\x72\x65\x64","\x72\x65\x70\x61\x69\x6E\x74","\x64\x65\x66\x61\x75\x6C\x74\x4F\x70\x61\x63\x69\x74\x79","\x73\x68\x61\x72\x65\x64\x44\x69\x76","\x63\x75\x72\x72\x65\x6E\x74\x58","\x63\x75\x72\x72\x65\x6E\x74\x59","\x64\x72\x61\x67\x48\x61\x6E\x64\x6C\x65\x72","\x6D\x78\x52\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x73\x69\x6E\x67\x6C\x65\x53\x69\x7A\x65\x72","\x61\x6C\x6C\x6F\x77\x48\x61\x6E\x64\x6C\x65\x42\x6F\x75\x6E\x64\x73\x43\x68\x65\x63\x6B","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x52\x61\x73\x74\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x42\x6F\x75\x6E\x64\x73","\x63\x72\x65\x61\x74\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x53\x68\x61\x70\x65","\x73\x69\x7A\x65\x72\x73","\x6E\x2D\x72\x65\x73\x69\x7A\x65","\x6E\x65\x2D\x72\x65\x73\x69\x7A\x65","\x77\x2D\x72\x65\x73\x69\x7A\x65","\x65\x2D\x72\x65\x73\x69\x7A\x65","\x73\x77\x2D\x72\x65\x73\x69\x7A\x65","\x73\x2D\x72\x65\x73\x69\x7A\x65","\x73\x65\x2D\x72\x65\x73\x69\x7A\x65","\x6C\x61\x62\x65\x6C\x53\x68\x61\x70\x65","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x53\x68\x61\x70\x65","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6C\x6F\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x53\x74\x72\x6F\x6B\x65\x57\x69\x64\x74\x68","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x44\x61\x73\x68\x65\x64","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x45\x44","\x63\x72\x65\x61\x74\x65\x53\x69\x7A\x65\x72\x53\x68\x61\x70\x65","\x69\x73\x53\x69\x7A\x65\x72\x56\x69\x73\x69\x62\x6C\x65","\x52\x4F\x54\x41\x54\x49\x4F\x4E\x5F\x48\x41\x4E\x44\x4C\x45","\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x6D\x6F\x76\x65\x53\x69\x7A\x65\x72\x54\x6F","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45","\x70\x72\x65\x76\x69\x65\x77","\x63\x75\x72\x72\x65\x6E\x74\x41\x6C\x70\x68\x61","\x61\x74\x61\x6E","\x75\x6E\x69\x6F\x6E","\x72\x6F\x74\x61\x74\x65\x43\x65\x6C\x6C","\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x62\x65\x6E\x64\x73","\x72\x65\x6D\x6F\x76\x65\x45\x6E\x61\x62\x6C\x65\x64","\x73\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x61\x62\x73\x70\x6F\x69\x6E\x74\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x50\x6F\x69\x6E\x74\x73","\x69\x73\x41\x64\x64\x50\x6F\x69\x6E\x74\x45\x76\x65\x6E\x74","\x61\x64\x64\x50\x6F\x69\x6E\x74","\x63\x72\x65\x61\x74\x65\x42\x65\x6E\x64\x73","\x69\x6E\x69\x74\x42\x65\x6E\x64","\x43\x55\x52\x53\x4F\x52\x5F\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45","\x69\x73\x52\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74\x45\x76\x65\x6E\x74","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x44\x41\x53\x48\x45\x44","\x69\x73\x48\x61\x6E\x64\x6C\x65\x56\x69\x73\x69\x62\x6C\x65","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x53\x68\x61\x70\x65","\x69\x73\x48\x61\x6E\x64\x6C\x65\x45\x6E\x61\x62\x6C\x65\x64","\x43\x55\x52\x53\x4F\x52\x5F\x42\x45\x4E\x44\x5F\x48\x41\x4E\x44\x4C\x45","\x72\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74","\x69\x73\x54\x61\x72\x67\x65\x74","\x69\x73\x4C\x61\x62\x65\x6C","\x63\x6C\x6F\x6E\x65\x50\x72\x65\x76\x69\x65\x77\x53\x74\x61\x74\x65","\x67\x65\x74\x53\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77\x54\x65\x72\x6D\x69\x6E\x61\x6C\x53\x74\x61\x74\x65","\x67\x65\x74\x50\x72\x65\x76\x69\x65\x77\x50\x6F\x69\x6E\x74\x73","\x75\x70\x64\x61\x74\x65\x50\x72\x65\x76\x69\x65\x77\x53\x74\x61\x74\x65","\x73\x65\x74\x50\x72\x65\x76\x69\x65\x77\x43\x6F\x6C\x6F\x72","\x6D\x6F\x76\x65\x4C\x61\x62\x65\x6C","\x63\x68\x61\x6E\x67\x65\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x63\x68\x61\x6E\x67\x65\x50\x6F\x69\x6E\x74\x73","\x61\x64\x64\x50\x6F\x69\x6E\x74\x41\x74","\x66\x69\x6E\x64\x4E\x65\x61\x72\x65\x73\x74\x53\x65\x67\x6D\x65\x6E\x74","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x69\x6C\x6C\x43\x6F\x6C\x6F\x72","\x4C\x4F\x43\x4B\x45\x44\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x72\x65\x64\x72\x61\x77\x49\x6E\x6E\x65\x72\x42\x65\x6E\x64\x73","\x66\x6C\x69\x70\x45\x6E\x61\x62\x6C\x65\x64","\x64\x6F\x75\x62\x6C\x65\x43\x6C\x69\x63\x6B\x4F\x72\x69\x65\x6E\x74\x61\x74\x69\x6F\x6E\x52\x65\x73\x6F\x75\x72\x63\x65","\x64\x6F\x75\x62\x6C\x65\x43\x6C\x69\x63\x6B\x4F\x72\x69\x65\x6E\x74\x61\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x56\x69\x72\x74\x75\x61\x6C\x42\x65\x6E\x64","\x67\x65\x74\x43\x75\x72\x73\x6F\x72\x46\x6F\x72\x42\x65\x6E\x64","\x45\x44\x47\x45\x53\x54\x59\x4C\x45\x5F\x54\x4F\x50\x54\x4F\x42\x4F\x54\x54\x4F\x4D","\x45\x44\x47\x45\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x72\x6F\x77\x2D\x72\x65\x73\x69\x7A\x65","\x63\x6F\x6C\x2D\x72\x65\x73\x69\x7A\x65","\x6E\x6F\x72\x6D\x61\x6C\x4B\x65\x79\x73","\x73\x68\x69\x66\x74\x4B\x65\x79\x73","\x63\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79\x73","\x63\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79\x73","\x6B\x65\x79\x44\x6F\x77\x6E","\x62\x69\x6E\x64\x4B\x65\x79","\x62\x69\x6E\x64\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79","\x67\x65\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x69\x73\x47\x72\x61\x70\x68\x45\x76\x65\x6E\x74","\x68\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x73\x65\x74\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x6D\x78\x54\x6F\x6F\x6C\x74\x69\x70","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x73\x74\x61\x74\x65\x53\x6F\x75\x72\x63\x65","\x72\x65\x73\x65\x74\x54\x69\x6D\x65\x72","\x48\x49\x47\x48\x4C\x49\x47\x48\x54\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x72\x65\x70\x61\x69\x6E\x74\x48\x61\x6E\x64\x6C\x65\x72","\x6B\x65\x65\x70\x4F\x6E\x54\x6F\x70","\x64\x72\x61\x77\x48\x69\x67\x68\x6C\x69\x67\x68\x74","\x65\x64\x69\x74\x6F\x72","\x68\x69\x64\x65\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x62\x69\x6E\x64\x41\x63\x74\x69\x6F\x6E","\x63\x6F\x6E\x66\x69\x67","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75","\x63\x72\x65\x61\x74\x65\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x73","\x61\x64\x64\x49\x74\x65\x6D\x73","\x69\x66","\x61\x73","\x69\x63\x6F\x6E\x43\x6C\x73","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E","\x73\x65\x70\x61\x72\x61\x74\x6F\x72","\x6E\x6F\x63\x65\x6C\x6C","\x6E\x63\x65\x6C\x6C\x73","\x6E\x6F\x74\x52\x6F\x6F\x74","\x6E\x6F\x6E\x45\x6D\x70\x74\x79","\x65\x78\x70\x61\x6E\x64\x61\x62\x6C\x65","\x63\x6F\x6C\x6C\x61\x70\x73\x61\x62\x6C\x65","\x76\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x65\x6D\x70\x74\x79\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x74\x6F\x6F\x6C\x62\x61\x72","\x69\x6E\x73\x65\x72\x74\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x2F\x73\x65\x70\x61\x72\x61\x74\x6F\x72\x2E\x67\x69\x66","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E\x4F\x70\x74\x69\x6F\x6E","\x73\x65\x74\x4D\x6F\x64\x65","\x61\x64\x64\x50\x72\x6F\x74\x6F\x74\x79\x70\x65","\x69\x6E\x73\x74\x61\x6C\x6C\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x46\x6C\x6F\x77","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E\x73","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x56\x61\x6C\x75\x65\x73","\x70\x6F\x70\x75\x70\x48\x61\x6E\x64\x6C\x65\x72","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x47\x72\x61\x70\x68","\x63\x72\x65\x61\x74\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x6B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x4E\x61\x6D\x65","\x49\x53\x5F\x4C\x4F\x43\x41\x4C","\x63\x72\x65\x61\x74\x65\x53\x65\x73\x73\x69\x6F\x6E","\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73\x2F\x65\x64\x69\x74\x6F\x72","\x61\x73\x6B\x5A\x6F\x6F\x6D\x52\x65\x73\x6F\x75\x72\x63\x65","\x61\x73\x6B\x5A\x6F\x6F\x6D","\x6C\x61\x73\x74\x53\x61\x76\x65\x64\x52\x65\x73\x6F\x75\x72\x63\x65","\x6C\x61\x73\x74\x53\x61\x76\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x46\x69\x6C\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x46\x69\x6C\x65","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x74\x61\x73\x6B\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x74\x61\x73\x6B\x73","\x68\x65\x6C\x70\x52\x65\x73\x6F\x75\x72\x63\x65","\x6F\x75\x74\x6C\x69\x6E\x65\x52\x65\x73\x6F\x75\x72\x63\x65","\x64\x62\x6C\x43\x6C\x69\x63\x6B\x41\x63\x74\x69\x6F\x6E","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x52\x65\x71\x75\x69\x72\x65\x64","\x66\x6F\x72\x63\x65\x64\x49\x6E\x73\x65\x72\x74\x69\x6E\x67","\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x64\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x64\x65\x66\x61\x75\x6C\x74\x47\x72\x6F\x75\x70","\x67\x72\x6F\x75\x70\x42\x6F\x72\x64\x65\x72\x53\x69\x7A\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x70\x6F\x73\x74\x50\x61\x72\x61\x6D\x65\x74\x65\x72\x4E\x61\x6D\x65","\x75\x72\x6C\x50\x6F\x73\x74","\x75\x72\x6C\x49\x6D\x61\x67\x65","\x6C\x61\x79\x6F\x75\x74\x44\x69\x61\x67\x72\x61\x6D","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x53\x70\x61\x63\x69\x6E\x67","\x6D\x61\x69\x6E\x74\x61\x69\x6E\x53\x77\x69\x6D\x6C\x61\x6E\x65\x73","\x6C\x61\x79\x6F\x75\x74\x53\x77\x69\x6D\x6C\x61\x6E\x65\x73","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x49\x6E\x64\x65\x78","\x74\x61\x73\x6B\x73\x57\x69\x6E\x64\x6F\x77\x49\x6D\x61\x67\x65","\x74\x61\x73\x6B\x73\x54\x6F\x70","\x68\x65\x6C\x70\x57\x69\x6E\x64\x6F\x77\x49\x6D\x61\x67\x65","\x75\x72\x6C\x48\x65\x6C\x70","\x68\x65\x6C\x70\x57\x69\x64\x74\x68","\x68\x65\x6C\x70\x48\x65\x69\x67\x68\x74","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x57\x69\x64\x74\x68","\x70\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x48\x65\x69\x67\x68\x74","\x6D\x6F\x76\x65\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x44\x69\x61\x6C\x6F\x67","\x76\x61\x6C\x69\x64\x61\x74\x69\x6E\x67","\x65\x78\x70\x6F\x72\x74\x49\x6D\x61\x67\x65","\x67\x65\x74\x55\x72\x6C\x49\x6D\x61\x67\x65","\x67\x65\x74\x56\x69\x65\x77\x58\x6D\x6C","\x5F\x62\x6C\x61\x6E\x6B","\x63\x75\x74","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x75\x6E\x67\x72\x6F\x75\x70","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x73\x68\x6F\x77\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x73\x65\x6C\x65\x63\x74\x4E\x6F\x6E\x65","\x74\x6F\x42\x61\x63\x6B","\x74\x6F\x46\x72\x6F\x6E\x74","\x73\x65\x6C\x65\x63\x74\x50\x72\x65\x76\x69\x6F\x75\x73","\x73\x65\x6C\x65\x63\x74\x4E\x65\x78\x74","\x73\x65\x6C\x65\x63\x74\x50\x61\x72\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x43\x68\x69\x6C\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65\x41\x6C\x6C","\x65\x78\x70\x61\x6E\x64","\x65\x78\x70\x61\x6E\x64\x41\x6C\x6C","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x4C\x65\x66\x74","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x43\x65\x6E\x74\x65\x72","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x52\x69\x67\x68\x74","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x54\x6F\x70","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x4D\x69\x64\x64\x6C\x65","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73\x42\x6F\x74\x74\x6F\x6D","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x4C\x65\x66\x74","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x43\x65\x6E\x74\x65\x72","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x52\x69\x67\x68\x74","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x54\x6F\x70","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x4D\x69\x64\x64\x6C\x65","\x61\x6C\x69\x67\x6E\x46\x6F\x6E\x74\x42\x6F\x74\x74\x6F\x6D","\x70\x72\x6F\x6D\x70\x74","\x74\x6F\x67\x67\x6C\x65\x54\x61\x73\x6B\x73","\x73\x68\x6F\x77\x54\x61\x73\x6B\x73","\x74\x6F\x67\x67\x6C\x65\x48\x65\x6C\x70","\x73\x68\x6F\x77\x48\x65\x6C\x70","\x74\x6F\x67\x67\x6C\x65\x4F\x75\x74\x6C\x69\x6E\x65","\x73\x68\x6F\x77\x4F\x75\x74\x6C\x69\x6E\x65","\x74\x6F\x67\x67\x6C\x65\x43\x6F\x6E\x73\x6F\x6C\x65","\x72\x65\x73\x65\x74\x48\x69\x73\x74\x6F\x72\x79","\x72\x65\x73\x65\x74\x46\x69\x72\x73\x74\x54\x69\x6D\x65","\x63\x6F\x6F\x6B\x69\x65","\x6D\x78\x67\x72\x61\x70\x68\x3D\x73\x65\x65\x6E\x3B\x20\x65\x78\x70\x69\x72\x65\x73\x3D\x46\x72\x69\x2C\x20\x32\x37\x20\x4A\x75\x6C\x20\x32\x30\x30\x31\x20\x30\x32\x3A\x34\x37\x3A\x31\x31\x20\x55\x54\x43\x3B\x20\x70\x61\x74\x68\x3D\x2F","\x43\x61\x6E\x6E\x6F\x74\x20\x65\x78\x65\x63\x75\x74\x65\x20","\x3A\x20","\x43\x61\x6E\x6E\x6F\x74\x20\x66\x69\x6E\x64\x20\x61\x63\x74\x69\x6F\x6E\x20","\x61\x64\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x67\x65\x74\x54\x65\x6D\x70\x6C\x61\x74\x65","\x69\x6E\x73\x74\x61\x6C\x6C\x44\x62\x6C\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x55\x6E\x64\x6F\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x44\x72\x69\x6C\x6C\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x43\x68\x61\x6E\x67\x65\x48\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x73\x74\x61\x6C\x6C\x49\x6E\x73\x65\x72\x74\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x63\x72\x65\x61\x74\x65\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x4C\x61\x79\x6F\x75\x74\x4D\x61\x6E\x61\x67\x65\x72","\x73\x77\x69\x6D\x6C\x61\x6E\x65\x4C\x61\x79\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x53\x77\x69\x6D\x6C\x61\x6E\x65\x4C\x61\x79\x6F\x75\x74","\x64\x69\x61\x67\x72\x61\x6D\x4C\x61\x79\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x44\x69\x61\x67\x72\x61\x6D\x4C\x61\x79\x6F\x75\x74","\x73\x65\x74\x47\x72\x61\x70\x68\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x72\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x73\x65\x74\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x65\x74\x53\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x74\x6F\x4C\x6F\x63\x61\x6C\x65\x53\x74\x72\x69\x6E\x67","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x74\x54\x69\x74\x6C\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x74\x54\x69\x74\x6C\x65","\x74\x72\x65\x65\x4C\x61\x79\x6F\x75\x74","\x20\x3E\x20","\x67\x65\x74\x52\x6F\x6F\x74\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70","\x72\x65\x61\x64\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x55\x72\x6C\x50\x6F\x73\x74","\x77\x72\x69\x74\x65\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x70\x6F\x73\x74\x44\x69\x61\x67\x72\x61\x6D","\x73\x77\x61\x70\x53\x74\x79\x6C\x65\x73","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73","\x69\x73\x50\x72\x6F\x70\x65\x72\x74\x69\x65\x73\x56\x69\x73\x69\x62\x6C\x65","\x72\x65\x61\x64\x6F\x6E\x6C\x79","\x49\x44","\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x61\x73\x6B\x73","\x72\x65\x66\x72\x65\x73\x68\x54\x61\x73\x6B\x73","\x66\x72\x61\x6D\x65\x42\x6F\x72\x64\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x43\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x79\x63\x6C\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x73\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x65\x64\x4D\x6F\x76\x69\x6E\x67","\x63\x6F\x64\x65\x63\x73","\x74\x65\x6D\x70\x6C\x61\x74\x65","\x61\x64\x64\x41\x6C\x69\x61\x73","\x61\x6C\x69\x61\x73\x65\x73","\x72\x65\x67\x69\x73\x74\x65\x72","\x65\x6E\x63\x6F\x64\x65\x44\x65\x66\x61\x75\x6C\x74\x73","\x67\x65\x74\x4F\x62\x6A\x65\x63\x74","\x72\x65\x66\x65\x72\x65\x6E\x63\x65","\x67\x65\x74\x43\x6F\x64\x65\x63","\x69\x6D\x70\x6F\x72\x74\x4E\x6F\x64\x65","\x6D\x78\x43\x6F\x64\x65\x63\x2E\x65\x6E\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x63\x6F\x64\x65\x63\x20\x66\x6F\x72\x20","\x43\x61\x6E\x6E\x6F\x74\x20\x64\x65\x63\x6F\x64\x65\x20","\x65\x6E\x63\x6F\x64\x65\x43\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x64\x65\x63","\x64\x65\x63\x6F\x64\x65\x43\x65\x6C\x6C","\x69\x6E\x73\x65\x72\x74\x49\x6E\x74\x6F\x47\x72\x61\x70\x68","\x65\x78\x63\x6C\x75\x64\x65","\x69\x64\x72\x65\x66\x73","\x6D\x61\x70\x70\x69\x6E\x67","\x72\x65\x76\x65\x72\x73\x65","\x63\x6C\x6F\x6E\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x67\x65\x74\x46\x69\x65\x6C\x64\x4E\x61\x6D\x65","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65\x4E\x61\x6D\x65","\x69\x73\x45\x78\x63\x6C\x75\x64\x65\x64","\x69\x73\x52\x65\x66\x65\x72\x65\x6E\x63\x65","\x62\x65\x66\x6F\x72\x65\x45\x6E\x63\x6F\x64\x65","\x65\x6E\x63\x6F\x64\x65\x4F\x62\x6A\x65\x63\x74","\x61\x66\x74\x65\x72\x45\x6E\x63\x6F\x64\x65","\x65\x6E\x63\x6F\x64\x65\x56\x61\x6C\x75\x65","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x43\x6F\x64\x65\x63\x2E\x65\x6E\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x49\x44\x20\x66\x6F\x72\x20","\x77\x72\x69\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x77\x72\x69\x74\x65\x50\x72\x69\x6D\x69\x74\x69\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x77\x72\x69\x74\x65\x43\x6F\x6D\x70\x6C\x65\x78\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x58\x6D\x6C","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x43\x6F\x64\x65\x63\x2E\x65\x6E\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x6E\x6F\x64\x65\x20\x66\x6F\x72\x20","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x46\x72\x6F\x6D\x58\x6D\x6C","\x62\x65\x66\x6F\x72\x65\x44\x65\x63\x6F\x64\x65","\x64\x65\x63\x6F\x64\x65\x4E\x6F\x64\x65","\x61\x66\x74\x65\x72\x44\x65\x63\x6F\x64\x65","\x64\x65\x63\x6F\x64\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x63\x6F\x64\x65\x43\x68\x69\x6C\x64\x72\x65\x6E","\x64\x65\x63\x6F\x64\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6D\x78\x4F\x62\x6A\x65\x63\x74\x43\x6F\x64\x65\x63\x2E\x64\x65\x63\x6F\x64\x65\x3A\x20\x4E\x6F\x20\x6F\x62\x6A\x65\x63\x74\x20\x66\x6F\x72\x20","\x70\x72\x6F\x63\x65\x73\x73\x49\x6E\x63\x6C\x75\x64\x65","\x64\x65\x63\x6F\x64\x65\x43\x68\x69\x6C\x64","\x67\x65\x74\x46\x69\x65\x6C\x64\x54\x65\x6D\x70\x6C\x61\x74\x65","\x61\x64\x64\x4F\x62\x6A\x65\x63\x74\x56\x61\x6C\x75\x65","\x69\x6E\x63\x6C\x75\x64\x65","\x72\x65\x6D\x6F\x76\x65\x57\x68\x69\x74\x65\x73\x70\x61\x63\x65","\x64\x65\x63\x6F\x64\x65\x52\x6F\x6F\x74","\x67\x72\x61\x70\x68\x4C\x69\x73\x74\x65\x6E\x65\x72\x73\x20\x65\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72\x73\x20\x76\x69\x65\x77\x20\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72\x20\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72\x20\x65\x64\x69\x74\x6F\x72\x20\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x6C\x61\x79\x65\x72","\x67\x65\x74\x53\x74\x72\x69\x6E\x67\x56\x61\x6C\x75\x65","\x6D\x78\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74\x43\x6F\x64\x65\x63\x2E\x64\x65\x63\x6F\x64\x65\x3A\x20\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74\x20","\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64\x20\x74\x6F\x20\x65\x78\x74\x65\x6E\x64","\x70\x72\x65\x73\x73\x65\x64\x49\x63\x6F\x6E","\x6D\x6F\x64\x65","\x74\x6F\x67\x67\x6C\x65","\x2D\x2D\x2D","\x63\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x54\x65\x6D\x70\x6C\x61\x74\x65\x20","\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x6D\x6F\x64\x69\x66\x69\x65\x64\x20\x6C\x61\x73\x74\x53\x6E\x61\x70\x73\x68\x6F\x74\x20\x69\x67\x6E\x6F\x72\x65\x64\x43\x68\x61\x6E\x67\x65\x73\x20\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72\x20\x67\x72\x61\x70\x68\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72\x20\x74\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x41\x72\x72\x61\x79","\x64\x65\x63\x6F\x64\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x73","\x75\x69","\x64\x65\x63\x6F\x64\x65\x55\x69","\x73\x65\x74\x4D\x61\x70\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x72\x65\x73\x6F\x75\x72\x63\x65","\x62\x61\x73\x65\x6E\x61\x6D\x65"];var mxClient={VERSION:_0x708e[0],IS_IE:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[1]),IS_IE6:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[4]),IS_QUIRKS:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[1])&& (null== document[_0x708e[5]]|| 5== document[_0x708e[5]]),VML_PREFIX:_0x708e[6],OFFICE_PREFIX:_0x708e[7],IS_NS:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[8])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[1]),IS_OP:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[9]),IS_OT:0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[10])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[11])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[12])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[13])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[14])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[15]),IS_SF:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[16])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[17]),IS_GC:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[17]),IS_MT:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[18])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[19])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[20])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[21])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[22])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[23])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[24])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[25])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[26])&& 0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[27]),IS_SVG:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[18])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[21])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[28])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[26])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[29])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[30])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[16])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[31])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[9]),NO_FO:0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[19])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[22])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[20])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[23])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[25])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[27])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[32])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[33])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[9])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[1])|| 0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[34]),IS_VML:_0x708e[35]== navigator[_0x708e[37]][_0x708e[36]](),IS_MAC:0< navigator[_0x708e[3]][_0x708e[36]]()[_0x708e[2]](_0x708e[38]),IS_TOUCH:0< navigator[_0x708e[3]][_0x708e[36]]()[_0x708e[2]](_0x708e[39])|| 0< navigator[_0x708e[3]][_0x708e[36]]()[_0x708e[2]](_0x708e[40])|| 0< navigator[_0x708e[3]][_0x708e[36]]()[_0x708e[2]](_0x708e[41])|| 0< navigator[_0x708e[3]][_0x708e[36]]()[_0x708e[2]](_0x708e[42]),IS_LOCAL:0> document[_0x708e[45]][_0x708e[44]][_0x708e[2]](_0x708e[43])&& 0> document[_0x708e[45]][_0x708e[44]][_0x708e[2]](_0x708e[46]),isBrowserSupported:function(){return mxClient[_0x708e[47]]|| mxClient[_0x708e[48]]},link:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= _0xb3dcx4|| document;if(mxClient[_0x708e[49]]){_0xb3dcx4[_0x708e[53]](_0x708e[50]+ _0xb3dcx2+ _0x708e[51]+ _0xb3dcx3+ _0x708e[52])}else {var _0xb3dcx5=_0xb3dcx4[_0x708e[55]](_0x708e[54]);_0xb3dcx5[_0x708e[57]](_0x708e[56],_0xb3dcx2);_0xb3dcx5[_0x708e[57]](_0x708e[44],_0xb3dcx3);_0xb3dcx5[_0x708e[57]](_0x708e[58],_0x708e[59]);_0xb3dcx5[_0x708e[57]](_0x708e[60],_0x708e[61]);_0xb3dcx4[_0x708e[64]](_0x708e[63])[0][_0x708e[62]](_0xb3dcx5)}},include:function(_0xb3dcx2){document[_0x708e[53]](_0x708e[65]+ _0xb3dcx2+ _0x708e[66])},dispose:function(){for(var _0xb3dcx2=0;_0xb3dcx2< mxEvent[_0x708e[68]][_0x708e[67]];_0xb3dcx2++){null!= mxEvent[_0x708e[68]][_0xb3dcx2][_0x708e[69]]&& mxEvent[_0x708e[70]](mxEvent[_0x708e[68]][_0xb3dcx2])}}};mxClient[_0x708e[71]]&& mxClient[_0x708e[72]]?mxClient[_0x708e[73]]= _0x708e[74]:mxClient[_0x708e[75]]|| mxClient[_0x708e[76]]?mxClient[_0x708e[73]]= _0x708e[77]:mxClient[_0x708e[78]]?mxClient[_0x708e[73]]= _0x708e[79]:mxClient[_0x708e[80]]&& 9<= document[_0x708e[5]]&& (mxClient[_0x708e[73]]= _0x708e[81]);_0x708e[82]== typeof mxLoadResources&& (mxLoadResources= !0);_0x708e[82]== typeof mxResourceExtension&& (mxResourceExtension= _0x708e[83]);_0x708e[82]== typeof mxLoadStylesheets&& (mxLoadStylesheets= !0);_0x708e[82]!= typeof mxBasePath&& 0< mxBasePath[_0x708e[67]]?(_0x708e[84]== mxBasePath[_0x708e[85]](mxBasePath[_0x708e[67]]- 1)&& (mxBasePath= mxBasePath[_0x708e[85]](0,mxBasePath[_0x708e[67]]- 1)),mxClient[_0x708e[86]]= mxBasePath):mxClient[_0x708e[86]]= _0x708e[87];_0x708e[82]!= typeof mxImageBasePath&& 0< mxImageBasePath[_0x708e[67]]?(_0x708e[84]== mxImageBasePath[_0x708e[85]](mxImageBasePath[_0x708e[67]]- 1)&& (mxImageBasePath= mxImageBasePath[_0x708e[85]](0,mxImageBasePath[_0x708e[67]]- 1)),mxClient[_0x708e[88]]= mxImageBasePath):mxClient[_0x708e[88]]= mxClient[_0x708e[86]]+ _0x708e[89];mxClient[_0x708e[90]]= _0x708e[82]!= typeof mxLanguage?mxLanguage:mxClient[_0x708e[80]]?navigator[_0x708e[91]]:navigator[_0x708e[90]];mxClient[_0x708e[92]]= _0x708e[82]!= typeof mxDefaultLanguage?mxDefaultLanguage:_0x708e[93];mxLoadStylesheets&& mxClient[_0x708e[54]](_0x708e[94],mxClient[_0x708e[86]]+ _0x708e[95]);_0x708e[82]!= typeof mxLanguages&& (mxClient[_0x708e[96]]= mxLanguages);if(mxClient[_0x708e[80]]){if(9<= document[_0x708e[5]]){mxClient[_0x708e[47]]= !1,mxClient[_0x708e[48]]= !0}else {8== document[_0x708e[5]]?(document[_0x708e[100]][_0x708e[99]](mxClient.VML_PREFIX,_0x708e[97],_0x708e[98]),document[_0x708e[100]][_0x708e[99]](mxClient.OFFICE_PREFIX,_0x708e[101],_0x708e[98])):(document[_0x708e[100]][_0x708e[99]](mxClient.VML_PREFIX,_0x708e[97]),document[_0x708e[100]][_0x708e[99]](mxClient.OFFICE_PREFIX,_0x708e[101]));var ss=document[_0x708e[102]]();ss[_0x708e[103]]= _0x708e[104];mxLoadStylesheets&& mxClient[_0x708e[54]](_0x708e[94],mxClient[_0x708e[86]]+ _0x708e[105])};window[_0x708e[108]](_0x708e[106],mxClient[_0x708e[107]])};var mxLog={consoleName:_0x708e[109],TRACE:!1,DEBUG:!0,WARN:!0,buffer:_0x708e[110],init:function(){if(null== mxLog[_0x708e[111]]&& null!= document[_0x708e[112]]){var _0xb3dcx2=mxLog[_0x708e[113]]+ _0x708e[114]+ mxClient[_0x708e[115]],_0xb3dcx3=document[_0x708e[55]](_0x708e[116]);_0xb3dcx3[_0x708e[57]](_0x708e[117],_0x708e[118]);_0xb3dcx3[_0x708e[57]](_0x708e[119],_0x708e[118]);var _0xb3dcx4=document[_0x708e[55]](_0x708e[120]),_0xb3dcx5=document[_0x708e[55]](_0x708e[121]),_0xb3dcx9=document[_0x708e[55]](_0x708e[122]);_0xb3dcx9[_0x708e[124]][_0x708e[123]]= _0x708e[125];mxLog[_0x708e[126]]= document[_0x708e[55]](_0x708e[126]);mxLog[_0x708e[126]][_0x708e[57]](_0x708e[127],_0x708e[128]);mxLog[_0x708e[126]][_0x708e[124]][_0x708e[119]]= _0x708e[118];mxLog[_0x708e[126]][_0x708e[124]][_0x708e[129]]= _0x708e[130];mxLog[_0x708e[126]][_0x708e[131]]= mxLog[_0x708e[132]];mxLog[_0x708e[126]][_0x708e[124]][_0x708e[117]]= mxClient[_0x708e[133]]&& _0x708e[134]!= document[_0x708e[135]]?_0x708e[136]:_0x708e[118];_0xb3dcx9[_0x708e[62]](mxLog[_0x708e[126]]);_0xb3dcx5[_0x708e[62]](_0xb3dcx9);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);_0xb3dcx5= document[_0x708e[55]](_0x708e[121]);mxLog[_0x708e[122]]= document[_0x708e[55]](_0x708e[122]);mxLog[_0x708e[122]][_0x708e[124]][_0x708e[123]]= _0x708e[125];mxLog[_0x708e[122]][_0x708e[57]](_0x708e[119],_0x708e[137]);_0xb3dcx5[_0x708e[62]](mxLog[_0x708e[122]]);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);_0xb3dcx3[_0x708e[62]](_0xb3dcx4);mxLog[_0x708e[140]](_0x708e[138],function(_0xb3dcx2){mxLog[_0x708e[139]]()});mxLog[_0x708e[140]](_0x708e[141],function(_0xb3dcx2){_0xb3dcx2= mxUtils[_0x708e[142]](document[_0x708e[112]]);mxLog[_0x708e[143]](_0xb3dcx2)});mxLog[_0x708e[140]](_0x708e[144],function(_0xb3dcx2){mxLog[_0x708e[145]]= !mxLog[_0x708e[145]];mxLog[_0x708e[145]]?mxLog[_0x708e[143]](_0x708e[146]):mxLog[_0x708e[143]](_0x708e[147])});mxLog[_0x708e[140]](_0x708e[148],function(_0xb3dcx2){try{mxUtils[_0x708e[149]](mxLog[_0x708e[126]][_0x708e[131]])}catch(_0xb3dcx3){mxUtils[_0x708e[150]](_0xb3dcx3)}});mxLog[_0x708e[140]](_0x708e[151],function(_0xb3dcx2){try{mxUtils[_0x708e[152]](mxLog[_0x708e[126]][_0x708e[131]])}catch(_0xb3dcx3){mxUtils[_0x708e[150]](_0xb3dcx3)}});mxLog[_0x708e[140]](_0x708e[153],function(_0xb3dcx2){mxLog[_0x708e[126]][_0x708e[131]]= _0x708e[110]});_0xb3dcx5= _0xb3dcx4= 0;_0x708e[154]=== typeof window[_0x708e[155]]?(_0xb3dcx4= window[_0x708e[156]],_0xb3dcx5= window[_0x708e[155]]):(_0xb3dcx4= document[_0x708e[158]][_0x708e[157]]|| document[_0x708e[112]][_0x708e[157]],_0xb3dcx5= document[_0x708e[112]][_0x708e[159]]);mxLog[_0x708e[111]]= new mxWindow(_0xb3dcx2,_0xb3dcx3,Math[_0x708e[160]](0,_0xb3dcx5- 320),Math[_0x708e[160]](0,_0xb3dcx4- 210),300,160);mxLog[_0x708e[111]][_0x708e[161]](!0);mxLog[_0x708e[111]][_0x708e[162]](!1);mxLog[_0x708e[111]][_0x708e[163]](!0);mxLog[_0x708e[111]][_0x708e[164]](!0);mxLog[_0x708e[111]][_0x708e[165]]= !1;if((mxClient[_0x708e[133]]|| mxClient[_0x708e[80]])&& !mxClient[_0x708e[76]]&& !mxClient[_0x708e[75]]&& _0x708e[134]!= document[_0x708e[135]]){var _0xb3dcxa=mxLog[_0x708e[111]][_0x708e[166]](),_0xb3dcx2=function(_0xb3dcx2,_0xb3dcx3){mxLog[_0x708e[126]][_0x708e[124]][_0x708e[119]]= Math[_0x708e[160]](0,_0xb3dcxa[_0x708e[167]]- 70)+ _0x708e[168]};mxLog[_0x708e[111]][_0x708e[169]](mxEvent.RESIZE_END,_0xb3dcx2);mxLog[_0x708e[111]][_0x708e[169]](mxEvent.MAXIMIZE,_0xb3dcx2);mxLog[_0x708e[111]][_0x708e[169]](mxEvent.NORMALIZE,_0xb3dcx2);mxLog[_0x708e[126]][_0x708e[124]][_0x708e[119]]= _0x708e[170]}}},info:function(){mxLog[_0x708e[171]](mxUtils.toString(navigator))},addButton:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[172]);mxUtils[_0x708e[53]](_0xb3dcx4,_0xb3dcx2);mxEvent[_0x708e[169]](_0xb3dcx4,_0x708e[173],_0xb3dcx3);mxLog[_0x708e[122]][_0x708e[62]](_0xb3dcx4)},isVisible:function(){return null!= mxLog[_0x708e[111]]?mxLog[_0x708e[111]][_0x708e[174]]():!1},show:function(){mxLog[_0x708e[175]](!0)},setVisible:function(_0xb3dcx2){null== mxLog[_0x708e[111]]&& mxLog[_0x708e[176]]();null!= mxLog[_0x708e[111]]&& mxLog[_0x708e[111]][_0x708e[175]](_0xb3dcx2)},enter:function(_0xb3dcx2){if(mxLog[_0x708e[145]]){return mxLog[_0x708e[171]](_0x708e[177]+ _0xb3dcx2),( new Date)[_0x708e[178]]()}},leave:function(_0xb3dcx2,_0xb3dcx3){if(mxLog[_0x708e[145]]){var _0xb3dcx4=0!= _0xb3dcx3?_0x708e[179]+ (( new Date)[_0x708e[178]]()- _0xb3dcx3)+ _0x708e[180]:_0x708e[110];mxLog[_0x708e[171]](_0x708e[181]+ _0xb3dcx2+ _0xb3dcx4)}},debug:function(){mxLog[_0x708e[182]]&& mxLog[_0x708e[171]][_0x708e[183]](this,arguments)},warn:function(){mxLog[_0x708e[184]]&& mxLog[_0x708e[171]][_0x708e[183]](this,arguments)},write:function(){for(var _0xb3dcx2=_0x708e[110],_0xb3dcx3=0;_0xb3dcx3< arguments[_0x708e[67]];_0xb3dcx3++){_0xb3dcx2+= arguments[_0xb3dcx3],_0xb3dcx3< arguments[_0x708e[67]]- 1&& (_0xb3dcx2+= _0x708e[185])};null!= mxLog[_0x708e[126]]?(mxLog[_0x708e[126]][_0x708e[131]]+= _0xb3dcx2,0<= navigator[_0x708e[3]][_0x708e[2]](_0x708e[186])&& (mxLog[_0x708e[126]][_0x708e[124]][_0x708e[187]]= _0x708e[188],mxLog[_0x708e[126]][_0x708e[124]][_0x708e[187]]= _0x708e[189]),mxLog[_0x708e[126]][_0x708e[190]]= mxLog[_0x708e[126]][_0x708e[191]]):mxLog[_0x708e[132]]+= _0xb3dcx2},writeln:function(){for(var _0xb3dcx2=_0x708e[110],_0xb3dcx3=0;_0xb3dcx3< arguments[_0x708e[67]];_0xb3dcx3++){_0xb3dcx2+= arguments[_0xb3dcx3],_0xb3dcx3< arguments[_0x708e[67]]- 1&& (_0xb3dcx2+= _0x708e[185])};mxLog[_0x708e[53]](_0xb3dcx2+ _0x708e[192])}},mxObjectIdentity={FIELD_NAME:_0x708e[193],counter:0,get:function(_0xb3dcx2){if(_0x708e[194]== typeof _0xb3dcx2&& null== _0xb3dcx2[mxObjectIdentity[_0x708e[195]]]){var _0xb3dcx3=mxUtils[_0x708e[197]](_0xb3dcx2[_0x708e[196]]);_0xb3dcx2[mxObjectIdentity[_0x708e[195]]]= _0xb3dcx3+ _0x708e[198]+ mxObjectIdentity[_0x708e[199]]++};return _0xb3dcx2[mxObjectIdentity[_0x708e[195]]]},clear:function(_0xb3dcx2){_0x708e[194]== typeof _0xb3dcx2&& delete _0xb3dcx2[mxObjectIdentity[_0x708e[195]]]}};function mxDictionary(){this[_0x708e[200]]()}mxDictionary[_0x708e[202]][_0x708e[201]]= null;mxDictionary[_0x708e[202]][_0x708e[200]]= function(){this[_0x708e[201]]= {}};mxDictionary[_0x708e[202]][_0x708e[203]]= function(_0xb3dcx2){_0xb3dcx2= mxObjectIdentity[_0x708e[203]](_0xb3dcx2);return this[_0x708e[201]][_0xb3dcx2]};mxDictionary[_0x708e[202]][_0x708e[204]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxObjectIdentity[_0x708e[203]](_0xb3dcx2),_0xb3dcx5=this[_0x708e[201]][_0xb3dcx4];this[_0x708e[201]][_0xb3dcx4]= _0xb3dcx3;return _0xb3dcx5};mxDictionary[_0x708e[202]][_0x708e[205]]= function(_0xb3dcx2){_0xb3dcx2= mxObjectIdentity[_0x708e[203]](_0xb3dcx2);var _0xb3dcx3=this[_0x708e[201]][_0xb3dcx2];delete this[_0x708e[201]][_0xb3dcx2];return _0xb3dcx3};mxDictionary[_0x708e[202]][_0x708e[206]]= function(){var _0xb3dcx2=[],_0xb3dcx3;for(_0xb3dcx3 in this[_0x708e[201]]){_0xb3dcx2[_0x708e[207]](_0xb3dcx3)};return _0xb3dcx2};mxDictionary[_0x708e[202]][_0x708e[208]]= function(){var _0xb3dcx2=[],_0xb3dcx3;for(_0xb3dcx3 in this[_0x708e[201]]){_0xb3dcx2[_0x708e[207]](this[_0x708e[201]][_0xb3dcx3])};return _0xb3dcx2};mxDictionary[_0x708e[202]][_0x708e[209]]= function(_0xb3dcx2){for(var _0xb3dcx3 in this[_0x708e[201]]){_0xb3dcx2(_0xb3dcx3,this[_0x708e[201]][_0xb3dcx3])}};var mxResources={resources:[],extension:mxResourceExtension,resourcesEncoded:!1,loadDefaultBundle:!0,loadSpecialBundle:!0,isLanguageSupported:function(_0xb3dcx2){return null!= mxClient[_0x708e[96]]?0<= mxUtils[_0x708e[2]](mxClient[_0x708e[96]],_0xb3dcx2):!0},getDefaultBundle:function(_0xb3dcx2,_0xb3dcx3){return mxResources[_0x708e[210]]|| !mxResources[_0x708e[211]](_0xb3dcx3)?_0xb3dcx2+ mxResources[_0x708e[212]]:null},getSpecialBundle:function(_0xb3dcx2,_0xb3dcx3){if(null== mxClient[_0x708e[96]]|| !this[_0x708e[211]](_0xb3dcx3)){var _0xb3dcx4=_0xb3dcx3[_0x708e[2]](_0x708e[213]);0< _0xb3dcx4&& (_0xb3dcx3= _0xb3dcx3[_0x708e[85]](0,_0xb3dcx4))};return mxResources[_0x708e[214]]&& mxResources[_0x708e[211]](_0xb3dcx3)&& _0xb3dcx3!= mxClient[_0x708e[92]]?_0xb3dcx2+ _0x708e[215]+ _0xb3dcx3+ mxResources[_0x708e[212]]:null},add:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:mxClient[_0x708e[90]][_0x708e[216]]();if(_0xb3dcx3!= mxConstants[_0x708e[217]]){var _0xb3dcx4=mxResources[_0x708e[218]](_0xb3dcx2,_0xb3dcx3);if(null!= _0xb3dcx4){try{var _0xb3dcx5=mxUtils[_0x708e[219]](_0xb3dcx4);_0xb3dcx5[_0x708e[220]]()&& mxResources[_0x708e[222]](_0xb3dcx5[_0x708e[221]]())}catch(e){}};_0xb3dcx4= mxResources[_0x708e[223]](_0xb3dcx2,_0xb3dcx3);if(null!= _0xb3dcx4){try{_0xb3dcx5= mxUtils[_0x708e[219]](_0xb3dcx4),_0xb3dcx5[_0x708e[220]]()&& mxResources[_0x708e[222]](_0xb3dcx5[_0x708e[221]]())}catch(f){}}}},parse:function(_0xb3dcx2){if(null!= _0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[224]](_0x708e[192]);for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){if(_0x708e[198]!= _0xb3dcx2[_0xb3dcx3][_0x708e[225]](0)){var _0xb3dcx4=_0xb3dcx2[_0xb3dcx3][_0x708e[2]](_0x708e[226]);if(0< _0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0xb3dcx3][_0x708e[85]](0,_0xb3dcx4),_0xb3dcx9=_0xb3dcx2[_0xb3dcx3][_0x708e[67]];13== _0xb3dcx2[_0xb3dcx3][_0x708e[227]](_0xb3dcx9- 1)&& _0xb3dcx9--;_0xb3dcx4= _0xb3dcx2[_0xb3dcx3][_0x708e[85]](_0xb3dcx4+ 1,_0xb3dcx9);this[_0x708e[228]]?(_0xb3dcx4= _0xb3dcx4[_0x708e[230]](/\\(?=u[a-fA-F\d]{4})/g,_0x708e[229]),mxResources[_0x708e[231]][_0xb3dcx5]= unescape(_0xb3dcx4)):mxResources[_0x708e[231]][_0xb3dcx5]= _0xb3dcx4}}}}},get:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= mxResources[_0x708e[231]][_0xb3dcx2];null== _0xb3dcx2&& (_0xb3dcx2= _0xb3dcx4);if(null!= _0xb3dcx2&& null!= _0xb3dcx3){_0xb3dcx4= [];for(var _0xb3dcx5=null,_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx2[_0x708e[225]](_0xb3dcx9);_0x708e[232]== _0xb3dcxa?_0xb3dcx5= _0x708e[110]:null!= _0xb3dcx5&& _0x708e[233]== _0xb3dcxa?(_0xb3dcx5= parseInt(_0xb3dcx5)- 1,0<= _0xb3dcx5&& _0xb3dcx5< _0xb3dcx3[_0x708e[67]]&& _0xb3dcx4[_0x708e[207]](_0xb3dcx3[_0xb3dcx5]),_0xb3dcx5= null):null!= _0xb3dcx5?_0xb3dcx5+= _0xb3dcxa:_0xb3dcx4[_0x708e[207]](_0xb3dcxa)};_0xb3dcx2= _0xb3dcx4[_0x708e[234]](_0x708e[110])};return _0xb3dcx2}};function mxPoint(_0xb3dcx2,_0xb3dcx3){this[_0x708e[235]]= null!= _0xb3dcx2?_0xb3dcx2:0;this[_0x708e[236]]= null!= _0xb3dcx3?_0xb3dcx3:0}mxPoint[_0x708e[202]][_0x708e[235]]= null;mxPoint[_0x708e[202]][_0x708e[236]]= null;mxPoint[_0x708e[202]][_0x708e[237]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[235]]== this[_0x708e[235]]&& _0xb3dcx2[_0x708e[236]]== this[_0x708e[236]]};mxPoint[_0x708e[202]][_0x708e[238]]= function(){return mxUtils[_0x708e[238]](this)};function mxRectangle(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxPoint[_0x708e[239]](this,_0xb3dcx2,_0xb3dcx3);this[_0x708e[117]]= null!= _0xb3dcx4?_0xb3dcx4:0;this[_0x708e[119]]= null!= _0xb3dcx5?_0xb3dcx5:0}mxRectangle[_0x708e[202]]= new mxPoint;mxRectangle[_0x708e[202]][_0x708e[196]]= mxRectangle;mxRectangle[_0x708e[202]][_0x708e[117]]= null;mxRectangle[_0x708e[202]][_0x708e[119]]= null;mxRectangle[_0x708e[202]][_0x708e[240]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[235]]= _0xb3dcx2;this[_0x708e[236]]= _0xb3dcx3;this[_0x708e[117]]= _0xb3dcx4;this[_0x708e[119]]= _0xb3dcx5};mxRectangle[_0x708e[202]][_0x708e[241]]= function(){return this[_0x708e[235]]+ this[_0x708e[117]]/ 2};mxRectangle[_0x708e[202]][_0x708e[242]]= function(){return this[_0x708e[236]]+ this[_0x708e[119]]/ 2};mxRectangle[_0x708e[202]][_0x708e[99]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=Math[_0x708e[243]](this[_0x708e[235]],_0xb3dcx2[_0x708e[235]]),_0xb3dcx4=Math[_0x708e[243]](this[_0x708e[236]],_0xb3dcx2[_0x708e[236]]),_0xb3dcx5=Math[_0x708e[160]](this[_0x708e[235]]+ this[_0x708e[117]],_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]);_0xb3dcx2= Math[_0x708e[160]](this[_0x708e[236]]+ this[_0x708e[119]],_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]);this[_0x708e[235]]= _0xb3dcx3;this[_0x708e[236]]= _0xb3dcx4;this[_0x708e[117]]= _0xb3dcx5- _0xb3dcx3;this[_0x708e[119]]= _0xb3dcx2- _0xb3dcx4}};mxRectangle[_0x708e[202]][_0x708e[244]]= function(_0xb3dcx2){this[_0x708e[235]]-= _0xb3dcx2;this[_0x708e[236]]-= _0xb3dcx2;this[_0x708e[117]]+= 2* _0xb3dcx2;this[_0x708e[119]]+= 2* _0xb3dcx2};mxRectangle[_0x708e[202]][_0x708e[245]]= function(){return new mxPoint(this[_0x708e[235]],this[_0x708e[236]])};mxRectangle[_0x708e[202]][_0x708e[237]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[235]]== this[_0x708e[235]]&& _0xb3dcx2[_0x708e[236]]== this[_0x708e[236]]&& _0xb3dcx2[_0x708e[117]]== this[_0x708e[117]]&& _0xb3dcx2[_0x708e[119]]== this[_0x708e[119]]};var mxEffects={animateChanges:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=0,_0xb3dcx9=function(){for(var _0xb3dcx12=!1,_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx3[_0x708e[67]];_0xb3dcx13++){var _0xb3dcx14=_0xb3dcx3[_0xb3dcx13];if(_0xb3dcx14 instanceof mxGeometryChange|| _0xb3dcx14 instanceof mxTerminalChange|| _0xb3dcx14 instanceof mxValueChange|| _0xb3dcx14 instanceof mxChildChange|| _0xb3dcx14 instanceof mxStyleChange){var _0xb3dcx15=_0xb3dcx2[_0x708e[249]]()[_0x708e[248]](_0xb3dcx14[_0x708e[246]]|| _0xb3dcx14[_0x708e[247]],!1);if(null!= _0xb3dcx15){if(_0xb3dcx12= !0,_0xb3dcx14[_0x708e[196]]!= mxGeometryChange|| _0xb3dcx2[_0x708e[251]][_0x708e[250]](_0xb3dcx14[_0x708e[246]])){mxUtils[_0x708e[254]](_0xb3dcx15[_0x708e[253]][_0x708e[252]],100* _0xb3dcx5/ 10)}else {var _0xb3dcx16=_0xb3dcx2[_0x708e[249]]()[_0x708e[255]],_0xb3dcx17=(_0xb3dcx14[_0x708e[256]][_0x708e[235]]- _0xb3dcx14[_0x708e[257]][_0x708e[235]])* _0xb3dcx16,_0xb3dcx18=(_0xb3dcx14[_0x708e[256]][_0x708e[236]]- _0xb3dcx14[_0x708e[257]][_0x708e[236]])* _0xb3dcx16,_0xb3dcx19=(_0xb3dcx14[_0x708e[256]][_0x708e[117]]- _0xb3dcx14[_0x708e[257]][_0x708e[117]])* _0xb3dcx16,_0xb3dcx16=(_0xb3dcx14[_0x708e[256]][_0x708e[119]]- _0xb3dcx14[_0x708e[257]][_0x708e[119]])* _0xb3dcx16;0== _0xb3dcx5?(_0xb3dcx15[_0x708e[235]]-= _0xb3dcx17,_0xb3dcx15[_0x708e[236]]-= _0xb3dcx18,_0xb3dcx15[_0x708e[117]]-= _0xb3dcx19,_0xb3dcx15[_0x708e[119]]-= _0xb3dcx16):(_0xb3dcx15[_0x708e[235]]+= _0xb3dcx17/ 10,_0xb3dcx15[_0x708e[236]]+= _0xb3dcx18/ 10,_0xb3dcx15[_0x708e[117]]+= _0xb3dcx19/ 10,_0xb3dcx15[_0x708e[119]]+= _0xb3dcx16/ 10);_0xb3dcx2[_0x708e[259]][_0x708e[258]](_0xb3dcx15);mxEffects[_0x708e[260]](_0xb3dcx2,_0xb3dcx14[_0x708e[246]],100* _0xb3dcx5/ 10)}}}};10> _0xb3dcx5&& _0xb3dcx12?(_0xb3dcx5++,window[_0x708e[261]](_0xb3dcx9,_0xb3dcxa)):null!= _0xb3dcx4&& _0xb3dcx4()},_0xb3dcxa=30;_0xb3dcx9()},cascadeOpacity:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){for(var _0xb3dcx5=_0xb3dcx2[_0x708e[251]][_0x708e[262]](_0xb3dcx3),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx2[_0x708e[251]][_0x708e[263]](_0xb3dcx3,_0xb3dcx9),_0xb3dcx12=_0xb3dcx2[_0x708e[249]]()[_0x708e[248]](_0xb3dcxa);null!= _0xb3dcx12&& (mxUtils[_0x708e[254]](_0xb3dcx12[_0x708e[253]][_0x708e[252]],_0xb3dcx4),mxEffects[_0x708e[260]](_0xb3dcx2,_0xb3dcxa,_0xb3dcx4))};_0xb3dcx3= _0xb3dcx2[_0x708e[251]][_0x708e[264]](_0xb3dcx3);if(null!= _0xb3dcx3){for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){_0xb3dcx5= _0xb3dcx2[_0x708e[249]]()[_0x708e[248]](_0xb3dcx3[_0xb3dcx9]),null!= _0xb3dcx5&& mxUtils[_0x708e[254]](_0xb3dcx5[_0x708e[253]][_0x708e[252]],_0xb3dcx4)}}},fadeOut:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx5= _0xb3dcx5|| 40;_0xb3dcx9= _0xb3dcx9|| 30;var _0xb3dcx12=_0xb3dcx3|| 100;mxUtils[_0x708e[254]](_0xb3dcx2,_0xb3dcx12);if(_0xb3dcxa|| null== _0xb3dcxa){var _0xb3dcx13=function(){_0xb3dcx12= Math[_0x708e[160]](_0xb3dcx12- _0xb3dcx5,0);mxUtils[_0x708e[254]](_0xb3dcx2,_0xb3dcx12);0< _0xb3dcx12?window[_0x708e[261]](_0xb3dcx13,_0xb3dcx9):(_0xb3dcx2[_0x708e[124]][_0x708e[187]]= _0x708e[188],_0xb3dcx4&& _0xb3dcx2[_0x708e[265]]&& _0xb3dcx2[_0x708e[265]][_0x708e[266]](_0xb3dcx2))};window[_0x708e[261]](_0xb3dcx13,_0xb3dcx9)}else {_0xb3dcx2[_0x708e[124]][_0x708e[187]]= _0x708e[188],_0xb3dcx4&& _0xb3dcx2[_0x708e[265]]&& _0xb3dcx2[_0x708e[265]][_0x708e[266]](_0xb3dcx2)}}},mxUtils={errorResource:_0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[267]:_0x708e[110],closeResource:_0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[268]:_0x708e[110],errorImage:mxClient[_0x708e[88]]+ _0x708e[269],removeCursors:function(_0xb3dcx2){null!= _0xb3dcx2[_0x708e[124]]&& (_0xb3dcx2[_0x708e[124]][_0x708e[270]]= _0x708e[110]);_0xb3dcx2= _0xb3dcx2[_0x708e[271]];if(null!= _0xb3dcx2){for(var _0xb3dcx3=_0xb3dcx2[_0x708e[67]],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3;_0xb3dcx4+= 1){mxUtils[_0x708e[272]](_0xb3dcx2[_0xb3dcx4])}}},getCurrentStyle:function(){return mxClient[_0x708e[80]]?function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[273]]:null}:function(_0xb3dcx2){return null!= _0xb3dcx2?window[_0x708e[274]](_0xb3dcx2,_0x708e[110]):null}}(),hasScrollbars:function(_0xb3dcx2){_0xb3dcx2= mxUtils[_0x708e[275]](_0xb3dcx2);return null!= _0xb3dcx2&& (_0x708e[276]== _0xb3dcx2[_0x708e[277]]|| _0x708e[278]== _0xb3dcx2[_0x708e[277]])},bind:function(_0xb3dcx2,_0xb3dcx3){return function(){return _0xb3dcx3[_0x708e[183]](_0xb3dcx2,arguments)}},eval:function(_0xb3dcx2){var _0xb3dcx3=null;if(0<= _0xb3dcx2[_0x708e[2]](_0x708e[279])){try{eval(_0x708e[280]+ _0xb3dcx2),_0xb3dcx3= _mxJavaScriptExpression,_mxJavaScriptExpression= null}catch(c){mxLog[_0x708e[283]](c[_0x708e[281]]+ _0x708e[282]+ _0xb3dcx2)}}else {try{_0xb3dcx3= eval(_0xb3dcx2)}catch(d){mxLog[_0x708e[283]](d[_0x708e[281]]+ _0x708e[282]+ _0xb3dcx2)}};return _0xb3dcx3},findNode:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[284]](_0xb3dcx3);if(null!= _0xb3dcx5&& _0xb3dcx5== _0xb3dcx4){return _0xb3dcx2};for(_0xb3dcx2= _0xb3dcx2[_0x708e[285]];null!= _0xb3dcx2;){_0xb3dcx5= mxUtils[_0x708e[286]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);if(null!= _0xb3dcx5){return _0xb3dcx5};_0xb3dcx2= _0xb3dcx2[_0x708e[287]]};return null},findNodeByAttribute:function(){return 9<= document[_0x708e[5]]?function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=null;if(null!= _0xb3dcx2){if(_0xb3dcx2[_0x708e[288]]== mxConstants[_0x708e[289]]&& _0xb3dcx2[_0x708e[284]](_0xb3dcx3)== _0xb3dcx4){_0xb3dcx5= _0xb3dcx2}else {for(_0xb3dcx2= _0xb3dcx2[_0x708e[285]];null!= _0xb3dcx2&& null== _0xb3dcx5;){_0xb3dcx5= mxUtils[_0x708e[290]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4),_0xb3dcx2= _0xb3dcx2[_0x708e[287]]}}};return _0xb3dcx5}:mxClient[_0x708e[80]]?function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return null== _0xb3dcx2?null:_0xb3dcx2[_0x708e[295]][_0x708e[294]](_0x708e[291]+ _0xb3dcx3+ _0x708e[292]+ _0xb3dcx4+ _0x708e[293])}:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return null== _0xb3dcx2?null:_0xb3dcx2[_0x708e[295]][_0x708e[297]](_0x708e[291]+ _0xb3dcx3+ _0x708e[292]+ _0xb3dcx4+ _0x708e[293],_0xb3dcx2[_0x708e[295]],null,XPathResult.ANY_TYPE,null)[_0x708e[296]]()}}(),getFunctionName:function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= _0xb3dcx2){if(null!= _0xb3dcx2[_0x708e[298]]){_0xb3dcx3= _0xb3dcx2[_0x708e[298]]}else {_0xb3dcx2= _0xb3dcx2.toString();for(_0xb3dcx3= 9;_0x708e[185]== _0xb3dcx2[_0x708e[225]](_0xb3dcx3);){_0xb3dcx3++};var _0xb3dcx4=_0xb3dcx2[_0x708e[2]](_0x708e[299],_0xb3dcx3),_0xb3dcx3=_0xb3dcx2[_0x708e[85]](_0xb3dcx3,_0xb3dcx4)}};return _0xb3dcx3},indexOf:function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& null!= _0xb3dcx3){for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){if(_0xb3dcx2[_0xb3dcx4]== _0xb3dcx3){return _0xb3dcx4}}};return -1},remove:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null;if(_0x708e[194]== typeof _0xb3dcx3){for(var _0xb3dcx5=mxUtils[_0x708e[2]](_0xb3dcx3,_0xb3dcx2);0<= _0xb3dcx5;){_0xb3dcx3[_0x708e[300]](_0xb3dcx5,1),_0xb3dcx4= _0xb3dcx2,_0xb3dcx5= mxUtils[_0x708e[2]](_0xb3dcx3,_0xb3dcx2)}};for(var _0xb3dcx9 in _0xb3dcx3){_0xb3dcx3[_0xb3dcx9]== _0xb3dcx2&& ( delete _0xb3dcx3[_0xb3dcx9],_0xb3dcx4= _0xb3dcx2)};return _0xb3dcx4},isNode:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return null!= _0xb3dcx2&& !isNaN(_0xb3dcx2[_0x708e[288]])&& (null== _0xb3dcx3|| _0xb3dcx2[_0x708e[301]][_0x708e[216]]()== _0xb3dcx3[_0x708e[216]]())?null== _0xb3dcx4|| _0xb3dcx2[_0x708e[284]](_0xb3dcx4)== _0xb3dcx5:!1},getChildNodes:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= _0xb3dcx3|| mxConstants[_0x708e[289]];for(var _0xb3dcx4=[],_0xb3dcx5=_0xb3dcx2[_0x708e[285]];null!= _0xb3dcx5;){_0xb3dcx5[_0x708e[288]]== _0xb3dcx3&& _0xb3dcx4[_0x708e[207]](_0xb3dcx5),_0xb3dcx5= _0xb3dcx5[_0x708e[287]]};return _0xb3dcx4},createXmlDocument:function(){var _0xb3dcx2=null;document[_0x708e[302]]&& document[_0x708e[302]][_0x708e[303]]?_0xb3dcx2= document[_0x708e[302]][_0x708e[303]](_0x708e[110],_0x708e[110],null):window[_0x708e[304]]&& (_0xb3dcx2= new ActiveXObject(_0x708e[305]));return _0xb3dcx2},parseXml:function(){return mxClient[_0x708e[80]]&& (_0x708e[82]=== typeof document[_0x708e[5]]|| 9> document[_0x708e[5]])?function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[306]]();_0xb3dcx3[_0x708e[307]]= _0x708e[308];_0xb3dcx3[_0x708e[309]](_0xb3dcx2);return _0xb3dcx3}:function(_0xb3dcx2){return ( new DOMParser)[_0x708e[311]](_0xb3dcx2,_0x708e[310])}}(),clearSelection:function(){if(document[_0x708e[312]]){return function(){document[_0x708e[312]][_0x708e[313]]()}};if(window[_0x708e[314]]){return function(){window[_0x708e[314]]()[_0x708e[315]]()}}}(),getPrettyXml:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=[];if(null!= _0xb3dcx2){if(_0xb3dcx3= _0xb3dcx3|| _0x708e[316],_0xb3dcx4= _0xb3dcx4|| _0x708e[110],_0xb3dcx2[_0x708e[288]]== mxConstants[_0x708e[317]]){_0xb3dcx5[_0x708e[207]](_0xb3dcx2[_0x708e[318]])}else {_0xb3dcx5[_0x708e[207]](_0xb3dcx4+ _0x708e[319]+ _0xb3dcx2[_0x708e[301]]);var _0xb3dcx9=_0xb3dcx2[_0x708e[320]];if(null!= _0xb3dcx9){for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=mxUtils[_0x708e[321]](_0xb3dcx9[_0xb3dcxa][_0x708e[318]]);_0xb3dcx5[_0x708e[207]](_0x708e[185]+ _0xb3dcx9[_0xb3dcxa][_0x708e[301]]+ _0x708e[322]+ _0xb3dcx12+ _0x708e[323])}};_0xb3dcx9= _0xb3dcx2[_0x708e[285]];if(null!= _0xb3dcx9){for(_0xb3dcx5[_0x708e[207]](_0x708e[324]);null!= _0xb3dcx9;){_0xb3dcx5[_0x708e[207]](mxUtils[_0x708e[325]](_0xb3dcx9,_0xb3dcx3,_0xb3dcx4+ _0xb3dcx3)),_0xb3dcx9= _0xb3dcx9[_0x708e[287]]};_0xb3dcx5[_0x708e[207]](_0xb3dcx4+ _0x708e[326]+ _0xb3dcx2[_0x708e[301]]+ _0x708e[324])}else {_0xb3dcx5[_0x708e[207]](_0x708e[327])}}};return _0xb3dcx5[_0x708e[234]](_0x708e[110])},removeWhitespace:function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=_0xb3dcx3?_0xb3dcx2[_0x708e[328]]:_0xb3dcx2[_0x708e[287]];null!= _0xb3dcx4&& _0xb3dcx4[_0x708e[288]]== mxConstants[_0x708e[317]];){var _0xb3dcx5=_0xb3dcx3?_0xb3dcx4[_0x708e[328]]:_0xb3dcx4[_0x708e[287]],_0xb3dcx9=mxUtils[_0x708e[329]](_0xb3dcx4);0== mxUtils[_0x708e[330]](_0xb3dcx9)[_0x708e[67]]&& _0xb3dcx4[_0x708e[265]][_0x708e[266]](_0xb3dcx4);_0xb3dcx4= _0xb3dcx5}},htmlEntities:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= (_0xb3dcx2|| _0x708e[110])[_0x708e[230]](/&/g,_0x708e[331]);_0xb3dcx2= _0xb3dcx2[_0x708e[230]](/"/g,_0x708e[332]);_0xb3dcx2= _0xb3dcx2[_0x708e[230]](/\'/g,_0x708e[333]);_0xb3dcx2= _0xb3dcx2[_0x708e[230]](/</g,_0x708e[334]);_0xb3dcx2= _0xb3dcx2[_0x708e[230]](/>/g,_0x708e[335]);if(null== _0xb3dcx3|| _0xb3dcx3){_0xb3dcx2= _0xb3dcx2[_0x708e[230]](/\n/g,_0x708e[336])};return _0xb3dcx2},isVml:function(_0xb3dcx2){return null!= _0xb3dcx2&& _0x708e[97]== _0xb3dcx2[_0x708e[337]]},getXml:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0x708e[110];null!= _0xb3dcx2&& (_0xb3dcx4= _0xb3dcx2[_0x708e[338]],_0xb3dcx4= null== _0xb3dcx4?_0xb3dcx2[_0x708e[339]]?_0xb3dcx2[_0x708e[339]]:( new XMLSerializer)[_0x708e[340]](_0xb3dcx2):_0xb3dcx4[_0x708e[230]](/\r\n\t[\t]*/g,_0x708e[110])[_0x708e[230]](/>\r\n/g,_0x708e[341])[_0x708e[230]](/\r\n/g,_0x708e[192]));return _0xb3dcx4= _0xb3dcx4[_0x708e[230]](/\n/g,_0xb3dcx3|| _0x708e[336])},getTextContent:function(_0xb3dcx2){var _0xb3dcx3=_0x708e[110];null!= _0xb3dcx2&& (null!= _0xb3dcx2[_0x708e[285]]&& (_0xb3dcx2= _0xb3dcx2[_0x708e[285]]),_0xb3dcx3= _0xb3dcx2[_0x708e[318]]|| _0x708e[110]);return _0xb3dcx3},getInnerHtml:function(){return mxClient[_0x708e[80]]?function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[339]]:_0x708e[110]}:function(_0xb3dcx2){return null!= _0xb3dcx2?( new XMLSerializer)[_0x708e[340]](_0xb3dcx2):_0x708e[110]}}(),getOuterHtml:function(){return mxClient[_0x708e[80]]?function(_0xb3dcx2){if(null!= _0xb3dcx2){if(null!= _0xb3dcx2[_0x708e[342]]){return _0xb3dcx2[_0x708e[342]]};var _0xb3dcx3=[];_0xb3dcx3[_0x708e[207]](_0x708e[319]+ _0xb3dcx2[_0x708e[301]]);var _0xb3dcx4=_0xb3dcx2[_0x708e[320]];if(null!= _0xb3dcx4){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=_0xb3dcx4[_0xb3dcx5][_0x708e[318]];null!= _0xb3dcx9&& 0< _0xb3dcx9[_0x708e[67]]&& (_0xb3dcx3[_0x708e[207]](_0x708e[185]),_0xb3dcx3[_0x708e[207]](_0xb3dcx4[_0xb3dcx5][_0x708e[301]]),_0xb3dcx3[_0x708e[207]](_0x708e[322]),_0xb3dcx3[_0x708e[207]](_0xb3dcx9),_0xb3dcx3[_0x708e[207]](_0x708e[323]))}};0== _0xb3dcx2[_0x708e[339]][_0x708e[67]]?_0xb3dcx3[_0x708e[207]](_0x708e[343]):(_0xb3dcx3[_0x708e[207]](_0x708e[341]),_0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0x708e[339]]),_0xb3dcx3[_0x708e[207]](_0x708e[326]+ _0xb3dcx2[_0x708e[301]]+ _0x708e[341]));return _0xb3dcx3[_0x708e[234]](_0x708e[110])};return _0x708e[110]}:function(_0xb3dcx2){return null!= _0xb3dcx2?( new XMLSerializer)[_0x708e[340]](_0xb3dcx2):_0x708e[110]}}(),write:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[295]][_0x708e[344]](_0xb3dcx3);null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[62]](_0xb3dcx4);return _0xb3dcx4},writeln:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[295]][_0x708e[344]](_0xb3dcx3);null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[62]](_0xb3dcx4),_0xb3dcx2[_0x708e[62]](document[_0x708e[55]](_0x708e[345])));return _0xb3dcx4},br:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= _0xb3dcx3|| 1;for(var _0xb3dcx4=null,_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3;_0xb3dcx5++){null!= _0xb3dcx2&& (_0xb3dcx4= _0xb3dcx2[_0x708e[295]][_0x708e[55]](_0x708e[345]),_0xb3dcx2[_0x708e[62]](_0xb3dcx4))};return _0xb3dcx4},button:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:document;_0xb3dcx4= _0xb3dcx4[_0x708e[55]](_0x708e[172]);mxUtils[_0x708e[53]](_0xb3dcx4,_0xb3dcx2);mxEvent[_0x708e[169]](_0xb3dcx4,_0x708e[173],function(_0xb3dcx2){_0xb3dcx3(_0xb3dcx2)});return _0xb3dcx4},para:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[346]);mxUtils[_0x708e[53]](_0xb3dcx4,_0xb3dcx3);null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[62]](_0xb3dcx4);return _0xb3dcx4},addTransparentBackgroundFilter:function(_0xb3dcx2){_0xb3dcx2[_0x708e[124]][_0x708e[347]]+= _0x708e[348]+ mxClient[_0x708e[88]]+ _0x708e[349]},linkAction:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return mxUtils[_0x708e[54]](_0xb3dcx2,_0xb3dcx3,function(){_0xb3dcx4[_0x708e[350]](_0xb3dcx5)},_0xb3dcx9)},linkInvoke:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){return mxUtils[_0x708e[54]](_0xb3dcx2,_0xb3dcx3,function(){_0xb3dcx4[_0xb3dcx5](_0xb3dcx9)},_0xb3dcxa)},link:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=document[_0x708e[55]](_0x708e[351]);_0xb3dcx9[_0x708e[124]][_0x708e[352]]= _0x708e[353];_0xb3dcx9[_0x708e[124]][_0x708e[354]]= _0x708e[355];_0xb3dcx9[_0x708e[124]][_0x708e[270]]= _0x708e[356];null!= _0xb3dcx5&& (_0xb3dcx9[_0x708e[124]][_0x708e[357]]= _0xb3dcx5+ _0x708e[168]);mxEvent[_0x708e[169]](_0xb3dcx9,_0x708e[173],_0xb3dcx4);mxUtils[_0x708e[53]](_0xb3dcx9,_0xb3dcx3);null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[62]](_0xb3dcx9);return _0xb3dcx9},fit:function(_0xb3dcx2){var _0xb3dcx3=parseInt(_0xb3dcx2[_0x708e[358]]),_0xb3dcx4=parseInt(_0xb3dcx2[_0x708e[359]]),_0xb3dcx5=document[_0x708e[112]],_0xb3dcx9=document[_0x708e[158]],_0xb3dcxa=(_0xb3dcx5[_0x708e[360]]|| _0xb3dcx9[_0x708e[360]])+ (_0xb3dcx5[_0x708e[159]]|| _0xb3dcx9[_0x708e[159]]);_0xb3dcx3+ _0xb3dcx4> _0xb3dcxa&& (_0xb3dcx2[_0x708e[124]][_0x708e[361]]= Math[_0x708e[160]](_0xb3dcx5[_0x708e[360]]|| _0xb3dcx9[_0x708e[360]],_0xb3dcxa- _0xb3dcx4)+ _0x708e[168]);_0xb3dcx3= parseInt(_0xb3dcx2[_0x708e[362]]);_0xb3dcx4= parseInt(_0xb3dcx2[_0x708e[167]]);_0xb3dcxa= (_0xb3dcx5[_0x708e[190]]|| _0xb3dcx9[_0x708e[190]])+ Math[_0x708e[160]](_0xb3dcx5[_0x708e[157]]|| 0,_0xb3dcx9[_0x708e[157]]);_0xb3dcx3+ _0xb3dcx4> _0xb3dcxa&& (_0xb3dcx2[_0x708e[124]][_0x708e[125]]= Math[_0x708e[160]](_0xb3dcx5[_0x708e[190]]|| _0xb3dcx9[_0x708e[190]],_0xb3dcxa- _0xb3dcx4)+ _0x708e[168])},open:function(_0xb3dcx2){if(mxClient[_0x708e[133]]){try{netscape[_0x708e[366]][_0x708e[365]][_0x708e[364]](_0x708e[363])}catch(b){return mxUtils[_0x708e[150]](_0x708e[367]),_0x708e[110]};var _0xb3dcx4=Components[_0x708e[372]][_0x708e[371]][_0x708e[370]](Components[_0x708e[369]][_0x708e[368]]);_0xb3dcx4[_0x708e[373]](_0xb3dcx2);if(!_0xb3dcx4[_0x708e[374]]()){return mxUtils[_0x708e[150]](_0x708e[375]),_0x708e[110]};_0xb3dcx2= Components[_0x708e[372]][_0x708e[377]][_0x708e[370]](Components[_0x708e[369]][_0x708e[376]]);_0xb3dcx2[_0x708e[176]](_0xb3dcx4,1,4,null);_0xb3dcx4= Components[_0x708e[372]][_0x708e[379]][_0x708e[370]](Components[_0x708e[369]][_0x708e[378]]);_0xb3dcx4[_0x708e[176]](_0xb3dcx2);return _0xb3dcx4[_0x708e[381]](_0xb3dcx4[_0x708e[380]]())};_0xb3dcx4= ( new ActiveXObject(_0x708e[382])).OpenTextFile(_0xb3dcx2,1);_0xb3dcx2= _0xb3dcx4[_0x708e[383]]();_0xb3dcx4[_0x708e[268]]();return _0xb3dcx2},save:function(_0xb3dcx2,_0xb3dcx3){if(mxClient[_0x708e[133]]){try{netscape[_0x708e[366]][_0x708e[365]][_0x708e[364]](_0x708e[363])}catch(c){mxUtils[_0x708e[150]](_0x708e[384]);return};var _0xb3dcx5=Components[_0x708e[372]][_0x708e[371]][_0x708e[370]](Components[_0x708e[369]][_0x708e[368]]);_0xb3dcx5[_0x708e[373]](_0xb3dcx2);_0xb3dcx5[_0x708e[374]]()|| _0xb3dcx5[_0x708e[385]](0,420);var _0xb3dcx9=Components[_0x708e[372]][_0x708e[387]][_0x708e[370]](Components[_0x708e[369]][_0x708e[386]]);_0xb3dcx9[_0x708e[176]](_0xb3dcx5,34,4,null);_0xb3dcx9[_0x708e[53]](_0xb3dcx3,_0xb3dcx3[_0x708e[67]]);_0xb3dcx9[_0x708e[388]]();_0xb3dcx9[_0x708e[268]]()}else {_0xb3dcx5= ( new ActiveXObject(_0x708e[382])).CreateTextFile(_0xb3dcx2,!0),_0xb3dcx5.Write(_0xb3dcx3),_0xb3dcx5.Close()}},saveAs:function(_0xb3dcx2){var _0xb3dcx3=document[_0x708e[55]](_0x708e[389]);_0xb3dcx3[_0x708e[57]](_0x708e[390],_0x708e[110]);_0xb3dcx3[_0x708e[124]][_0x708e[187]]= _0x708e[188];document[_0x708e[112]][_0x708e[62]](_0xb3dcx3);try{if(mxClient[_0x708e[133]]){var _0xb3dcx4=_0xb3dcx3[_0x708e[391]];_0xb3dcx4[_0x708e[392]]();_0xb3dcx4[_0x708e[53]](_0xb3dcx2);_0xb3dcx4[_0x708e[268]]();try{netscape[_0x708e[366]][_0x708e[365]][_0x708e[364]](_0x708e[363]),_0xb3dcx3[_0x708e[393]](),saveDocument(_0xb3dcx4)}catch(d){mxUtils[_0x708e[150]](_0x708e[394])}}else {_0xb3dcx4= _0xb3dcx3[_0x708e[396]][_0x708e[395]],_0xb3dcx4[_0x708e[53]](_0xb3dcx2),_0xb3dcx4[_0x708e[398]](_0x708e[397],!1,document[_0x708e[45]])}}finally{document[_0x708e[112]][_0x708e[266]](_0xb3dcx3)}},copy:function(_0xb3dcx2){if(window[_0x708e[399]]){window[_0x708e[399]][_0x708e[401]](_0x708e[400],_0xb3dcx2)}else {netscape[_0x708e[366]][_0x708e[365]][_0x708e[364]](_0x708e[363]);var _0xb3dcx3=Components[_0x708e[372]][_0x708e[403]][_0x708e[370]](Components[_0x708e[369]][_0x708e[402]]);if(_0xb3dcx3){var _0xb3dcx4=Components[_0x708e[372]][_0x708e[405]][_0x708e[370]](Components[_0x708e[369]][_0x708e[404]]);if(_0xb3dcx4){_0xb3dcx4[_0x708e[407]](_0x708e[406]);var _0xb3dcx5=Components[_0x708e[372]][_0x708e[409]][_0x708e[370]](Components[_0x708e[369]][_0x708e[408]]);_0xb3dcx5[_0x708e[410]]= _0xb3dcx2;_0xb3dcx4[_0x708e[411]](_0x708e[406],_0xb3dcx5,2* _0xb3dcx2[_0x708e[67]]);_0xb3dcx3[_0x708e[401]](_0xb3dcx4,null,Components[_0x708e[369]][_0x708e[402]][_0x708e[412]])}}}},load:function(_0xb3dcx2){_0xb3dcx2= new mxXmlRequest(_0xb3dcx2,null,_0x708e[413],!1);_0xb3dcx2[_0x708e[414]]();return _0xb3dcx2},get:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return ( new mxXmlRequest(_0xb3dcx2,null,_0x708e[413]))[_0x708e[414]](_0xb3dcx3,_0xb3dcx4)},post:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return ( new mxXmlRequest(_0xb3dcx2,_0xb3dcx3))[_0x708e[414]](_0xb3dcx4,_0xb3dcx5)},submit:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return ( new mxXmlRequest(_0xb3dcx2,_0xb3dcx3))[_0x708e[415]](_0xb3dcx4,_0xb3dcx5)},loadInto:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxClient[_0x708e[80]]?_0xb3dcx3[_0x708e[416]]= function(){4== _0xb3dcx3[_0x708e[417]]&& _0xb3dcx4()}:_0xb3dcx3[_0x708e[418]](_0x708e[219],_0xb3dcx4,!1);_0xb3dcx3[_0x708e[219]](_0xb3dcx2)},getValue:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2[_0xb3dcx3]:null;null== _0xb3dcx2&& (_0xb3dcx2= _0xb3dcx4);return _0xb3dcx2},getNumber:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2[_0xb3dcx3]:null;null== _0xb3dcx2&& (_0xb3dcx2= _0xb3dcx4|| 0);return Number(_0xb3dcx2)},getColor:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2[_0xb3dcx3]:null;null== _0xb3dcx2?_0xb3dcx2= _0xb3dcx4:_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);return _0xb3dcx2},clone:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;var _0xb3dcx5=null;if(null!= _0xb3dcx2&& _0x708e[279]== typeof _0xb3dcx2[_0x708e[196]]){var _0xb3dcx5= new _0xb3dcx2[_0x708e[196]],_0xb3dcx9;for(_0xb3dcx9 in _0xb3dcx2){if(_0xb3dcx9!= mxObjectIdentity[_0x708e[195]]&& (null== _0xb3dcx3|| 0> mxUtils[_0x708e[2]](_0xb3dcx3,_0xb3dcx9))){_0xb3dcx5[_0xb3dcx9]= !_0xb3dcx4&& _0x708e[194]== typeof _0xb3dcx2[_0xb3dcx9]?mxUtils[_0x708e[238]](_0xb3dcx2[_0xb3dcx9]):_0xb3dcx2[_0xb3dcx9]}}};return _0xb3dcx5},equalPoints:function(_0xb3dcx2,_0xb3dcx3){if(null== _0xb3dcx2&& null!= _0xb3dcx3|| null!= _0xb3dcx2&& null== _0xb3dcx3|| null!= _0xb3dcx2&& null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[67]]!= _0xb3dcx3[_0x708e[67]]){return !1};if(null!= _0xb3dcx2&& null!= _0xb3dcx3){for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){if(_0xb3dcx2[_0xb3dcx4]== _0xb3dcx3[_0xb3dcx4]|| null!= _0xb3dcx2[_0xb3dcx4]&& !_0xb3dcx2[_0xb3dcx4][_0x708e[237]](_0xb3dcx3[_0xb3dcx4])){return !1}}};return !0},equalEntries:function(_0xb3dcx2,_0xb3dcx3){if(null== _0xb3dcx2&& null!= _0xb3dcx3|| null!= _0xb3dcx2&& null== _0xb3dcx3|| null!= _0xb3dcx2&& null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[67]]!= _0xb3dcx3[_0x708e[67]]){return !1};if(null!= _0xb3dcx2&& null!= _0xb3dcx3){for(var _0xb3dcx4 in _0xb3dcx2){if(_0xb3dcx2[_0xb3dcx4]!= _0xb3dcx3[_0xb3dcx4]){return !1}}};return !0},extend:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=function(){};_0xb3dcx4[_0x708e[202]]= _0xb3dcx3[_0x708e[202]];_0xb3dcx2[_0x708e[202]]= new _0xb3dcx4;_0xb3dcx2[_0x708e[202]][_0x708e[196]]= _0xb3dcx2},toString:function(_0xb3dcx2){var _0xb3dcx3=_0x708e[110],_0xb3dcx4;for(_0xb3dcx4 in _0xb3dcx2){try{if(null== _0xb3dcx2[_0xb3dcx4]){_0xb3dcx3+= _0xb3dcx4+ _0x708e[419]}else {if(_0x708e[279]== typeof _0xb3dcx2[_0xb3dcx4]){_0xb3dcx3+= _0xb3dcx4+ _0x708e[420]}else {if(_0x708e[194]== typeof _0xb3dcx2[_0xb3dcx4]){var _0xb3dcx5=mxUtils[_0x708e[197]](_0xb3dcx2[_0xb3dcx4][_0x708e[196]]),_0xb3dcx3=_0xb3dcx3+ (_0xb3dcx4+ _0x708e[421]+ _0xb3dcx5+ _0x708e[422])}else {_0xb3dcx3+= _0xb3dcx4+ _0x708e[423]+ _0xb3dcx2[_0xb3dcx4]+ _0x708e[192]}}}}catch(e){_0xb3dcx3+= _0xb3dcx4+ _0x708e[226]+ e[_0x708e[281]]}};return _0xb3dcx3},toRadians:function(_0xb3dcx2){return Math[_0x708e[424]]* _0xb3dcx2/ 180},arcToCurves:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){_0xb3dcx13-= _0xb3dcx2;_0xb3dcx14-= _0xb3dcx3;if(0=== _0xb3dcx4|| 0=== _0xb3dcx5){return _0xb3dcx18};_0xb3dcx4= Math[_0x708e[425]](_0xb3dcx4);_0xb3dcx5= Math[_0x708e[425]](_0xb3dcx5);var _0xb3dcx15=-_0xb3dcx13/ 2,_0xb3dcx16=-_0xb3dcx14/ 2,_0xb3dcx17=Math[_0x708e[426]](_0xb3dcx9* Math[_0x708e[424]]/ 180),_0xb3dcx18=Math[_0x708e[427]](_0xb3dcx9* Math[_0x708e[424]]/ 180);_0xb3dcx9= _0xb3dcx17* _0xb3dcx15+ _0xb3dcx18* _0xb3dcx16;var _0xb3dcx15=-1* _0xb3dcx18* _0xb3dcx15+ _0xb3dcx17* _0xb3dcx16,_0xb3dcx16=_0xb3dcx9* _0xb3dcx9,_0xb3dcx19=_0xb3dcx15* _0xb3dcx15,_0xb3dcx1a=_0xb3dcx4* _0xb3dcx4,_0xb3dcx1b=_0xb3dcx5* _0xb3dcx5,_0xb3dcx1c=_0xb3dcx16/ _0xb3dcx1a+ _0xb3dcx19/ _0xb3dcx1b;1< _0xb3dcx1c?(_0xb3dcx4*= Math[_0x708e[428]](_0xb3dcx1c),_0xb3dcx5*= Math[_0x708e[428]](_0xb3dcx1c),_0xb3dcxa= 0):(_0xb3dcx1c= 1,_0xb3dcxa=== _0xb3dcx12&& (_0xb3dcx1c= -1),_0xb3dcxa= _0xb3dcx1c* Math[_0x708e[428]]((_0xb3dcx1a* _0xb3dcx1b- _0xb3dcx1a* _0xb3dcx19- _0xb3dcx1b* _0xb3dcx16)/ (_0xb3dcx1a* _0xb3dcx19+ _0xb3dcx1b* _0xb3dcx16)));_0xb3dcx16= _0xb3dcxa* _0xb3dcx4* _0xb3dcx15/ _0xb3dcx5;_0xb3dcx19= -1* _0xb3dcxa* _0xb3dcx5* _0xb3dcx9/ _0xb3dcx4;_0xb3dcx13= _0xb3dcx17* _0xb3dcx16- _0xb3dcx18* _0xb3dcx19+ _0xb3dcx13/ 2;_0xb3dcx14= _0xb3dcx18* _0xb3dcx16+ _0xb3dcx17* _0xb3dcx19+ _0xb3dcx14/ 2;_0xb3dcx1a= Math[_0x708e[429]]((_0xb3dcx15- _0xb3dcx19)/ _0xb3dcx5,(_0xb3dcx9- _0xb3dcx16)/ _0xb3dcx4)- Math[_0x708e[429]](0,1);_0xb3dcxa= 0<= _0xb3dcx1a?_0xb3dcx1a:2* Math[_0x708e[424]]+ _0xb3dcx1a;_0xb3dcx1a= Math[_0x708e[429]]((-_0xb3dcx15- _0xb3dcx19) / _0xb3dcx5,(-_0xb3dcx9- _0xb3dcx16) / _0xb3dcx4) - Math[_0x708e[429]]((_0xb3dcx15- _0xb3dcx19)/ _0xb3dcx5,(_0xb3dcx9- _0xb3dcx16)/ _0xb3dcx4);_0xb3dcx9= 0<= _0xb3dcx1a?_0xb3dcx1a:2* Math[_0x708e[424]]+ _0xb3dcx1a;0== _0xb3dcx12&& 0< _0xb3dcx9?_0xb3dcx9-= 2* Math[_0x708e[424]]:0!= _0xb3dcx12&& 0> _0xb3dcx9&& (_0xb3dcx9+= 2* Math[_0x708e[424]]);_0xb3dcx12= 2* _0xb3dcx9/ Math[_0x708e[424]];_0xb3dcx12= Math[_0x708e[430]](0> _0xb3dcx12?-1* _0xb3dcx12:_0xb3dcx12);_0xb3dcx9/= _0xb3dcx12;_0xb3dcx15= 8/ 3* Math[_0x708e[427]](_0xb3dcx9/ 4)* Math[_0x708e[427]](_0xb3dcx9/ 4)/ Math[_0x708e[427]](_0xb3dcx9/ 2);_0xb3dcx16= _0xb3dcx17* _0xb3dcx4;_0xb3dcx17*= _0xb3dcx5;_0xb3dcx4*= _0xb3dcx18;_0xb3dcx5*= _0xb3dcx18;for(var _0xb3dcx1d=Math[_0x708e[426]](_0xb3dcxa),_0xb3dcx1e=Math[_0x708e[427]](_0xb3dcxa),_0xb3dcx19=-_0xb3dcx15* (_0xb3dcx16* _0xb3dcx1e+ _0xb3dcx5* _0xb3dcx1d),_0xb3dcx1a=-_0xb3dcx15* (_0xb3dcx4* _0xb3dcx1e- _0xb3dcx17* _0xb3dcx1d),_0xb3dcx1c=_0xb3dcx1b= 0,_0xb3dcx18=[],_0xb3dcx1f=0;_0xb3dcx1f< _0xb3dcx12;++_0xb3dcx1f){_0xb3dcxa+= _0xb3dcx9;var _0xb3dcx1d=Math[_0x708e[426]](_0xb3dcxa),_0xb3dcx1e=Math[_0x708e[427]](_0xb3dcxa),_0xb3dcx1b=_0xb3dcx16* _0xb3dcx1d- _0xb3dcx5* _0xb3dcx1e+ _0xb3dcx13,_0xb3dcx1c=_0xb3dcx4* _0xb3dcx1d+ _0xb3dcx17* _0xb3dcx1e+ _0xb3dcx14,_0xb3dcx20=-_0xb3dcx15* (_0xb3dcx16* _0xb3dcx1e+ _0xb3dcx5* _0xb3dcx1d),_0xb3dcx1d=-_0xb3dcx15* (_0xb3dcx4* _0xb3dcx1e- _0xb3dcx17* _0xb3dcx1d),_0xb3dcx1e=6* _0xb3dcx1f;_0xb3dcx18[_0xb3dcx1e]= Number(_0xb3dcx19+ _0xb3dcx2);_0xb3dcx18[_0xb3dcx1e+ 1]= Number(_0xb3dcx1a+ _0xb3dcx3);_0xb3dcx18[_0xb3dcx1e+ 2]= Number(_0xb3dcx1b- _0xb3dcx20+ _0xb3dcx2);_0xb3dcx18[_0xb3dcx1e+ 3]= Number(_0xb3dcx1c- _0xb3dcx1d+ _0xb3dcx3);_0xb3dcx18[_0xb3dcx1e+ 4]= Number(_0xb3dcx1b+ _0xb3dcx2);_0xb3dcx18[_0xb3dcx1e+ 5]= Number(_0xb3dcx1c+ _0xb3dcx3);_0xb3dcx19= _0xb3dcx1b+ _0xb3dcx20;_0xb3dcx1a= _0xb3dcx1c+ _0xb3dcx1d};return _0xb3dcx18},getBoundingBox:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null;if(null!= _0xb3dcx2&& null!= _0xb3dcx3&& 0!= _0xb3dcx3){var _0xb3dcx5=mxUtils[_0x708e[431]](_0xb3dcx3),_0xb3dcx4=Math[_0x708e[426]](_0xb3dcx5),_0xb3dcx9=Math[_0x708e[427]](_0xb3dcx5),_0xb3dcxa= new mxPoint(_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]/ 2,_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]/ 2),_0xb3dcx12= new mxPoint(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]]),_0xb3dcx5= new mxPoint(_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]],_0xb3dcx2[_0x708e[236]]),_0xb3dcx13= new mxPoint(_0xb3dcx5[_0x708e[235]],_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]),_0xb3dcx14= new mxPoint(_0xb3dcx2[_0x708e[235]],_0xb3dcx13[_0x708e[236]]),_0xb3dcx12=mxUtils[_0x708e[432]](_0xb3dcx12,_0xb3dcx4,_0xb3dcx9,_0xb3dcxa),_0xb3dcx5=mxUtils[_0x708e[432]](_0xb3dcx5,_0xb3dcx4,_0xb3dcx9,_0xb3dcxa),_0xb3dcx13=mxUtils[_0x708e[432]](_0xb3dcx13,_0xb3dcx4,_0xb3dcx9,_0xb3dcxa),_0xb3dcx14=mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx4,_0xb3dcx9,_0xb3dcxa),_0xb3dcx4= new mxRectangle(_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],0,0);_0xb3dcx4[_0x708e[99]]( new mxRectangle(_0xb3dcx5[_0x708e[235]],_0xb3dcx5[_0x708e[236]],0,0));_0xb3dcx4[_0x708e[99]]( new mxRectangle(_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],0,0));_0xb3dcx4[_0x708e[99]]( new mxRectangle(_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]],0,0))};return _0xb3dcx4},getRotatedPoint:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5: new mxPoint;var _0xb3dcx9=_0xb3dcx2[_0x708e[235]]- _0xb3dcx5[_0x708e[235]];_0xb3dcx2= _0xb3dcx2[_0x708e[236]]- _0xb3dcx5[_0x708e[236]];return new mxPoint(_0xb3dcx9* _0xb3dcx3- _0xb3dcx2* _0xb3dcx4+ _0xb3dcx5[_0x708e[235]],_0xb3dcx2* _0xb3dcx3+ _0xb3dcx9* _0xb3dcx4+ _0xb3dcx5[_0x708e[236]])},getPortConstraints:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_PORT_CONSTRAINT,null);if(null== _0xb3dcx2){return _0xb3dcx5};_0xb3dcx5= _0xb3dcx2.toString();_0xb3dcx2= mxConstants[_0x708e[434]];0<= _0xb3dcx5[_0x708e[2]](mxConstants.DIRECTION_NORTH)&& (_0xb3dcx2|= mxConstants[_0x708e[435]]);0<= _0xb3dcx5[_0x708e[2]](mxConstants.DIRECTION_WEST)&& (_0xb3dcx2|= mxConstants[_0x708e[436]]);0<= _0xb3dcx5[_0x708e[2]](mxConstants.DIRECTION_SOUTH)&& (_0xb3dcx2|= mxConstants[_0x708e[437]]);0<= _0xb3dcx5[_0x708e[2]](mxConstants.DIRECTION_EAST)&& (_0xb3dcx2|= mxConstants[_0x708e[438]]);return _0xb3dcx2},reversePortConstraints:function(_0xb3dcx2){var _0xb3dcx3=0,_0xb3dcx3=(_0xb3dcx2& mxConstants[_0x708e[436]])<< 3,_0xb3dcx3=_0xb3dcx3| (_0xb3dcx2& mxConstants[_0x708e[435]])<< 1,_0xb3dcx3=_0xb3dcx3| (_0xb3dcx2& mxConstants[_0x708e[437]])>> 1;return _0xb3dcx3|= (_0xb3dcx2& mxConstants[_0x708e[438]])>> 3},findNearestSegment:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=-1;if(0< _0xb3dcx2[_0x708e[439]][_0x708e[67]]){for(var _0xb3dcx9=_0xb3dcx2[_0x708e[439]][0],_0xb3dcxa=null,_0xb3dcx12=1;_0xb3dcx12< _0xb3dcx2[_0x708e[439]][_0x708e[67]];_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx2[_0x708e[439]][_0xb3dcx12],_0xb3dcx9=mxUtils[_0x708e[440]](_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],_0xb3dcx3,_0xb3dcx4);if(null== _0xb3dcxa|| _0xb3dcx9< _0xb3dcxa){_0xb3dcxa= _0xb3dcx9,_0xb3dcx5= _0xb3dcx12- 1};_0xb3dcx9= _0xb3dcx13}};return _0xb3dcx5},rectangleIntersectsSegment:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[236]],_0xb3dcx9=_0xb3dcx2[_0x708e[235]],_0xb3dcxa=_0xb3dcx5+ _0xb3dcx2[_0x708e[119]],_0xb3dcx12=_0xb3dcx9+ _0xb3dcx2[_0x708e[117]];_0xb3dcx2= _0xb3dcx3[_0x708e[235]];var _0xb3dcx13=_0xb3dcx4[_0x708e[235]];_0xb3dcx3[_0x708e[235]]> _0xb3dcx4[_0x708e[235]]&& (_0xb3dcx2= _0xb3dcx4[_0x708e[235]],_0xb3dcx13= _0xb3dcx3[_0x708e[235]]);_0xb3dcx13> _0xb3dcx12&& (_0xb3dcx13= _0xb3dcx12);_0xb3dcx2< _0xb3dcx9&& (_0xb3dcx2= _0xb3dcx9);if(_0xb3dcx2> _0xb3dcx13){return !1};var _0xb3dcx9=_0xb3dcx3[_0x708e[236]],_0xb3dcx12=_0xb3dcx4[_0x708e[236]],_0xb3dcx14=_0xb3dcx4[_0x708e[235]]- _0xb3dcx3[_0x708e[235]];1E-7< Math[_0x708e[425]](_0xb3dcx14)&& (_0xb3dcx4= (_0xb3dcx4[_0x708e[236]]- _0xb3dcx3[_0x708e[236]])/ _0xb3dcx14,_0xb3dcx3= _0xb3dcx3[_0x708e[236]]- _0xb3dcx4* _0xb3dcx3[_0x708e[235]],_0xb3dcx9= _0xb3dcx4* _0xb3dcx2+ _0xb3dcx3,_0xb3dcx12= _0xb3dcx4* _0xb3dcx13+ _0xb3dcx3);_0xb3dcx9> _0xb3dcx12&& (_0xb3dcx3= _0xb3dcx12,_0xb3dcx12= _0xb3dcx9,_0xb3dcx9= _0xb3dcx3);_0xb3dcx12> _0xb3dcxa&& (_0xb3dcx12= _0xb3dcxa);_0xb3dcx9< _0xb3dcx5&& (_0xb3dcx9= _0xb3dcx5);return _0xb3dcx9> _0xb3dcx12?!1:!0},contains:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx2[_0x708e[235]]<= _0xb3dcx3&& _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]>= _0xb3dcx3&& _0xb3dcx2[_0x708e[236]]<= _0xb3dcx4&& _0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]>= _0xb3dcx4},intersects:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[117]],_0xb3dcx5=_0xb3dcx2[_0x708e[119]],_0xb3dcx9=_0xb3dcx3[_0x708e[117]],_0xb3dcxa=_0xb3dcx3[_0x708e[119]];if(0>= _0xb3dcx9|| 0>= _0xb3dcxa|| 0>= _0xb3dcx4|| 0>= _0xb3dcx5){return !1};var _0xb3dcx12=_0xb3dcx2[_0x708e[235]],_0xb3dcx13=_0xb3dcx2[_0x708e[236]],_0xb3dcx14=_0xb3dcx3[_0x708e[235]],_0xb3dcx15=_0xb3dcx3[_0x708e[236]],_0xb3dcx9=_0xb3dcx9+ _0xb3dcx14,_0xb3dcxa=_0xb3dcxa+ _0xb3dcx15,_0xb3dcx4=_0xb3dcx4+ _0xb3dcx12,_0xb3dcx5=_0xb3dcx5+ _0xb3dcx13;return (_0xb3dcx9< _0xb3dcx14|| _0xb3dcx9> _0xb3dcx12)&& (_0xb3dcxa< _0xb3dcx15|| _0xb3dcxa> _0xb3dcx13)&& (_0xb3dcx4< _0xb3dcx12|| _0xb3dcx4> _0xb3dcx14)&& (_0xb3dcx5< _0xb3dcx13|| _0xb3dcx5> _0xb3dcx15)},intersectsHotspot:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:1;_0xb3dcx9= null!= _0xb3dcx9?_0xb3dcx9:0;_0xb3dcxa= null!= _0xb3dcxa?_0xb3dcxa:0;if(0< _0xb3dcx5){var _0xb3dcx12=_0xb3dcx2[_0x708e[241]](),_0xb3dcx13=_0xb3dcx2[_0x708e[242]](),_0xb3dcx14=_0xb3dcx2[_0x708e[117]],_0xb3dcx15=_0xb3dcx2[_0x708e[119]],_0xb3dcx16=mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_STARTSIZE)* _0xb3dcx2[_0x708e[441]][_0x708e[255]];0< _0xb3dcx16&& (mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_HORIZONTAL,!0)?(_0xb3dcx13= _0xb3dcx2[_0x708e[236]]+ _0xb3dcx16/ 2,_0xb3dcx15= _0xb3dcx16):(_0xb3dcx12= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx16/ 2,_0xb3dcx14= _0xb3dcx16));_0xb3dcx14= Math[_0x708e[160]](_0xb3dcx9,_0xb3dcx14* _0xb3dcx5);_0xb3dcx15= Math[_0x708e[160]](_0xb3dcx9,_0xb3dcx15* _0xb3dcx5);0< _0xb3dcxa&& (_0xb3dcx14= Math[_0x708e[243]](_0xb3dcx14,_0xb3dcxa),_0xb3dcx15= Math[_0x708e[243]](_0xb3dcx15,_0xb3dcxa));_0xb3dcx5= new mxRectangle(_0xb3dcx12- _0xb3dcx14/ 2,_0xb3dcx13- _0xb3dcx15/ 2,_0xb3dcx14,_0xb3dcx15);_0xb3dcx12= mxUtils[_0x708e[431]](mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION)|| 0);0!= _0xb3dcx12&& (_0xb3dcx9= Math[_0x708e[426]](-_0xb3dcx12),_0xb3dcxa= Math[_0x708e[427]](-_0xb3dcx12),_0xb3dcx12= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]()),_0xb3dcx2= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx3,_0xb3dcx4),_0xb3dcx9,_0xb3dcxa,_0xb3dcx12),_0xb3dcx3= _0xb3dcx2[_0x708e[235]],_0xb3dcx4= _0xb3dcx2[_0x708e[236]]);return mxUtils[_0x708e[442]](_0xb3dcx5,_0xb3dcx3,_0xb3dcx4)};return !0},getOffset:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=0,_0xb3dcx5=0;if(null!= _0xb3dcx3&& _0xb3dcx3){var _0xb3dcx9=document[_0x708e[112]],_0xb3dcxa=document[_0x708e[158]],_0xb3dcx4=_0xb3dcx4+ (_0xb3dcx9[_0x708e[360]]|| _0xb3dcxa[_0x708e[360]]),_0xb3dcx5=_0xb3dcx5+ (_0xb3dcx9[_0x708e[190]]|| _0xb3dcxa[_0x708e[190]])};for(;_0xb3dcx2[_0x708e[443]];){_0xb3dcx4+= _0xb3dcx2[_0x708e[358]],_0xb3dcx5+= _0xb3dcx2[_0x708e[362]],_0xb3dcx2= _0xb3dcx2[_0x708e[443]]};return new mxPoint(_0xb3dcx4,_0xb3dcx5)},getScrollOrigin:function(_0xb3dcx2){for(var _0xb3dcx3=document[_0x708e[112]],_0xb3dcx4=document[_0x708e[158]],_0xb3dcx5= new mxPoint(_0xb3dcx3[_0x708e[360]]|| _0xb3dcx4[_0x708e[360]],_0xb3dcx3[_0x708e[190]]|| _0xb3dcx4[_0x708e[190]]);null!= _0xb3dcx2&& _0xb3dcx2!= _0xb3dcx3&& _0xb3dcx2!= _0xb3dcx4;){!isNaN(_0xb3dcx2[_0x708e[360]])&& !isNaN(_0xb3dcx2[_0x708e[190]])&& (_0xb3dcx5[_0x708e[235]]+= _0xb3dcx2[_0x708e[360]],_0xb3dcx5[_0x708e[236]]+= _0xb3dcx2[_0x708e[190]]),_0xb3dcx2= _0xb3dcx2[_0x708e[265]]};return _0xb3dcx5},convertPoint:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=mxUtils[_0x708e[444]](_0xb3dcx2);_0xb3dcx2= mxUtils[_0x708e[445]](_0xb3dcx2);_0xb3dcx2[_0x708e[235]]-= _0xb3dcx5[_0x708e[235]];_0xb3dcx2[_0x708e[236]]-= _0xb3dcx5[_0x708e[236]];return new mxPoint(_0xb3dcx3- _0xb3dcx2[_0x708e[235]],_0xb3dcx4- _0xb3dcx2[_0x708e[236]])},ltrim:function(_0xb3dcx2,_0xb3dcx3){return _0xb3dcx2[_0x708e[230]](RegExp(_0x708e[446]+ (_0xb3dcx3|| _0x708e[447])+ _0x708e[448],_0x708e[449]),_0x708e[110])},rtrim:function(_0xb3dcx2,_0xb3dcx3){return _0xb3dcx2[_0x708e[230]](RegExp(_0x708e[450]+ (_0xb3dcx3|| _0x708e[447])+ _0x708e[451],_0x708e[449]),_0x708e[110])},trim:function(_0xb3dcx2,_0xb3dcx3){return mxUtils[_0x708e[453]](mxUtils[_0x708e[452]](_0xb3dcx2,_0xb3dcx3),_0xb3dcx3)},isNumeric:function(_0xb3dcx2){return null!= _0xb3dcx2&& (null== _0xb3dcx2[_0x708e[67]]|| 0< _0xb3dcx2[_0x708e[67]]&& 0> _0xb3dcx2[_0x708e[2]](_0x708e[454])&& 0> _0xb3dcx2[_0x708e[2]](_0x708e[455]))&& !isNaN(_0xb3dcx2)},mod:function(_0xb3dcx2,_0xb3dcx3){return (_0xb3dcx2% _0xb3dcx3+ _0xb3dcx3)% _0xb3dcx3},intersection:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){var _0xb3dcx14=(_0xb3dcx13- _0xb3dcxa)* (_0xb3dcx4- _0xb3dcx2)- (_0xb3dcx12- _0xb3dcx9)* (_0xb3dcx5- _0xb3dcx3);_0xb3dcx12= ((_0xb3dcx12- _0xb3dcx9)* (_0xb3dcx3- _0xb3dcxa)- (_0xb3dcx13- _0xb3dcxa)* (_0xb3dcx2- _0xb3dcx9))/ _0xb3dcx14;_0xb3dcx9= ((_0xb3dcx4- _0xb3dcx2)* (_0xb3dcx3- _0xb3dcxa)- (_0xb3dcx5- _0xb3dcx3)* (_0xb3dcx2- _0xb3dcx9))/ _0xb3dcx14;return 0<= _0xb3dcx12&& 1>= _0xb3dcx12&& 0<= _0xb3dcx9&& 1>= _0xb3dcx9? new mxPoint(_0xb3dcx2+ _0xb3dcx12* (_0xb3dcx4- _0xb3dcx2),_0xb3dcx3+ _0xb3dcx12* (_0xb3dcx5- _0xb3dcx3)):null},ptSegDistSq:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx4-= _0xb3dcx2;_0xb3dcx5-= _0xb3dcx3;_0xb3dcx9-= _0xb3dcx2;_0xb3dcxa-= _0xb3dcx3;0>= _0xb3dcx9* _0xb3dcx4+ _0xb3dcxa* _0xb3dcx5?_0xb3dcx4= 0:(_0xb3dcx9= _0xb3dcx4- _0xb3dcx9,_0xb3dcxa= _0xb3dcx5- _0xb3dcxa,_0xb3dcx2= _0xb3dcx9* _0xb3dcx4+ _0xb3dcxa* _0xb3dcx5,_0xb3dcx4= 0>= _0xb3dcx2?0:_0xb3dcx2* _0xb3dcx2/ (_0xb3dcx4* _0xb3dcx4+ _0xb3dcx5* _0xb3dcx5));_0xb3dcx9= _0xb3dcx9* _0xb3dcx9+ _0xb3dcxa* _0xb3dcxa- _0xb3dcx4;0> _0xb3dcx9&& (_0xb3dcx9= 0);return _0xb3dcx9},relativeCcw:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx4-= _0xb3dcx2;_0xb3dcx5-= _0xb3dcx3;_0xb3dcx9-= _0xb3dcx2;_0xb3dcxa-= _0xb3dcx3;_0xb3dcx2= _0xb3dcx9* _0xb3dcx5- _0xb3dcxa* _0xb3dcx4;0== _0xb3dcx2&& (_0xb3dcx2= _0xb3dcx9* _0xb3dcx4+ _0xb3dcxa* _0xb3dcx5,0< _0xb3dcx2&& (_0xb3dcx2= (_0xb3dcx9- _0xb3dcx4)* _0xb3dcx4+ (_0xb3dcxa- _0xb3dcx5)* _0xb3dcx5,0> _0xb3dcx2&& (_0xb3dcx2= 0)));return 0> _0xb3dcx2?-1:0< _0xb3dcx2?1:0},animateChanges:function(_0xb3dcx2,_0xb3dcx3){mxEffects[_0x708e[456]][_0x708e[183]](this,arguments)},cascadeOpacity:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxEffects[_0x708e[260]][_0x708e[183]](this,arguments)},fadeOut:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){mxEffects[_0x708e[457]][_0x708e[183]](this,arguments)},setOpacity:function(_0xb3dcx2,_0xb3dcx3){mxUtils[_0x708e[458]](_0xb3dcx2)?_0xb3dcx2[_0x708e[124]][_0x708e[347]]= 100<= _0xb3dcx3?null:_0x708e[459]+ _0xb3dcx3/ 5+ _0x708e[460]:mxClient[_0x708e[80]]&& (_0x708e[82]=== typeof document[_0x708e[5]]|| 9> document[_0x708e[5]])?_0xb3dcx2[_0x708e[124]][_0x708e[347]]= 100<= _0xb3dcx3?null:_0x708e[459]+ _0xb3dcx3+ _0x708e[460]:_0xb3dcx2[_0x708e[124]][_0x708e[461]]= _0xb3dcx3/ 100},createImage:function(_0xb3dcx2){var _0xb3dcx3=null;mxClient[_0x708e[49]]&& _0x708e[462]!= document[_0x708e[135]]?(_0xb3dcx3= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[464]),_0xb3dcx3[_0x708e[57]](_0x708e[390],_0xb3dcx2),_0xb3dcx3[_0x708e[124]][_0x708e[465]]= _0x708e[130]):(_0xb3dcx3= document[_0x708e[55]](_0x708e[466]),_0xb3dcx3[_0x708e[57]](_0x708e[390],_0xb3dcx2),_0xb3dcx3[_0x708e[57]](_0x708e[467],_0x708e[468]));return _0xb3dcx3},sortCells:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;var _0xb3dcx4= new mxDictionary;_0xb3dcx2[_0x708e[470]](function(_0xb3dcx2,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx4[_0x708e[203]](_0xb3dcx2);null== _0xb3dcxa&& (_0xb3dcxa= mxCellPath[_0x708e[385]](_0xb3dcx2)[_0x708e[224]](mxCellPath.PATH_SEPARATOR),_0xb3dcx4[_0x708e[204]](_0xb3dcx2,_0xb3dcxa));var _0xb3dcx12=_0xb3dcx4[_0x708e[203]](_0xb3dcx9);null== _0xb3dcx12&& (_0xb3dcx12= mxCellPath[_0x708e[385]](_0xb3dcx9)[_0x708e[224]](mxCellPath.PATH_SEPARATOR),_0xb3dcx4[_0x708e[204]](_0xb3dcx9,_0xb3dcx12));_0xb3dcxa= mxCellPath[_0x708e[469]](_0xb3dcxa,_0xb3dcx12);return 0== _0xb3dcxa?0:0< _0xb3dcxa== _0xb3dcx3?1:-1});return _0xb3dcx2},getStylename:function(_0xb3dcx2){return null!= _0xb3dcx2&& (_0xb3dcx2= _0xb3dcx2[_0x708e[224]](_0x708e[471])[0],0> _0xb3dcx2[_0x708e[2]](_0x708e[226]))?_0xb3dcx2:_0x708e[110]},getStylenames:function(_0xb3dcx2){var _0xb3dcx3=[];if(null!= _0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[224]](_0x708e[471]);for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){0> _0xb3dcx2[_0xb3dcx4][_0x708e[2]](_0x708e[226])&& _0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx4])}};return _0xb3dcx3},indexOfStylename:function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& null!= _0xb3dcx3){for(var _0xb3dcx4=_0xb3dcx2[_0x708e[224]](_0x708e[471]),_0xb3dcx5=0,_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4[_0x708e[67]];_0xb3dcx9++){if(_0xb3dcx4[_0xb3dcx9]== _0xb3dcx3){return _0xb3dcx5};_0xb3dcx5+= _0xb3dcx4[_0xb3dcx9][_0x708e[67]]+ 1}};return -1},addStylename:function(_0xb3dcx2,_0xb3dcx3){0> mxUtils[_0x708e[472]](_0xb3dcx2,_0xb3dcx3)&& (null== _0xb3dcx2?_0xb3dcx2= _0x708e[110]:0< _0xb3dcx2[_0x708e[67]]&& _0x708e[471]!= _0xb3dcx2[_0x708e[225]](_0xb3dcx2[_0x708e[67]]- 1)&& (_0xb3dcx2+= _0x708e[471]),_0xb3dcx2+= _0xb3dcx3);return _0xb3dcx2},removeStylename:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=[];if(null!= _0xb3dcx2){for(var _0xb3dcx5=_0xb3dcx2[_0x708e[224]](_0x708e[471]),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5[_0x708e[67]];_0xb3dcx9++){_0xb3dcx5[_0xb3dcx9]!= _0xb3dcx3&& _0xb3dcx4[_0x708e[207]](_0xb3dcx5[_0xb3dcx9])}};return _0xb3dcx4[_0x708e[234]](_0x708e[471])},removeAllStylenames:function(_0xb3dcx2){var _0xb3dcx3=[];if(null!= _0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[224]](_0x708e[471]);for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){0<= _0xb3dcx2[_0xb3dcx4][_0x708e[2]](_0x708e[226])&& _0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx4])}};return _0xb3dcx3[_0x708e[234]](_0x708e[471])},setCellStyles:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]){_0xb3dcx2[_0x708e[473]]();try{for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){if(null!= _0xb3dcx3[_0xb3dcx9]){var _0xb3dcxa=mxUtils[_0x708e[475]](_0xb3dcx2[_0x708e[474]](_0xb3dcx3[_0xb3dcx9]),_0xb3dcx4,_0xb3dcx5);_0xb3dcx2[_0x708e[475]](_0xb3dcx3[_0xb3dcx9],_0xb3dcxa)}}}finally{_0xb3dcx2[_0x708e[476]]()}}},setStyle:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=null!= _0xb3dcx4&& (_0x708e[82]== typeof _0xb3dcx4[_0x708e[67]]|| 0< _0xb3dcx4[_0x708e[67]]);if(null== _0xb3dcx2|| 0== _0xb3dcx2[_0x708e[67]]){_0xb3dcx5&& (_0xb3dcx2= _0xb3dcx3+ _0x708e[226]+ _0xb3dcx4)}else {var _0xb3dcx9=_0xb3dcx2[_0x708e[2]](_0xb3dcx3+ _0x708e[226]);0> _0xb3dcx9?_0xb3dcx5&& (_0xb3dcx5= _0x708e[471]== _0xb3dcx2[_0x708e[225]](_0xb3dcx2[_0x708e[67]]- 1)?_0x708e[110]:_0x708e[471],_0xb3dcx2= _0xb3dcx2+ _0xb3dcx5+ _0xb3dcx3+ _0x708e[226]+ _0xb3dcx4):(_0xb3dcx3= _0xb3dcx5?_0xb3dcx3+ _0x708e[226]+ _0xb3dcx4:_0x708e[110],_0xb3dcx4= _0xb3dcx2[_0x708e[2]](_0x708e[471],_0xb3dcx9),_0xb3dcx5|| _0xb3dcx4++,_0xb3dcx2= _0xb3dcx2[_0x708e[85]](0,_0xb3dcx9)+ _0xb3dcx3+ (_0xb3dcx4> _0xb3dcx9?_0xb3dcx2[_0x708e[85]](_0xb3dcx4):_0x708e[110]))};return _0xb3dcx2},setCellStyleFlags:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]){_0xb3dcx2[_0x708e[473]]();try{for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx3[_0x708e[67]];_0xb3dcxa++){if(null!= _0xb3dcx3[_0xb3dcxa]){var _0xb3dcx12=mxUtils[_0x708e[477]](_0xb3dcx2[_0x708e[474]](_0xb3dcx3[_0xb3dcxa]),_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[475]](_0xb3dcx3[_0xb3dcxa],_0xb3dcx12)}}}finally{_0xb3dcx2[_0x708e[476]]()}}},setStyleFlag:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null== _0xb3dcx2|| 0== _0xb3dcx2[_0x708e[67]]){_0xb3dcx2= _0xb3dcx5|| null== _0xb3dcx5?_0xb3dcx3+ _0x708e[226]+ _0xb3dcx4:_0xb3dcx3+ _0x708e[478]}else {var _0xb3dcx9=_0xb3dcx2[_0x708e[2]](_0xb3dcx3+ _0x708e[226]);if(0> _0xb3dcx9){_0xb3dcx9= _0x708e[471]== _0xb3dcx2[_0x708e[225]](_0xb3dcx2[_0x708e[67]]- 1)?_0x708e[110]:_0x708e[471],_0xb3dcx2= _0xb3dcx5|| null== _0xb3dcx5?_0xb3dcx2+ _0xb3dcx9+ _0xb3dcx3+ _0x708e[226]+ _0xb3dcx4:_0xb3dcx2+ _0xb3dcx9+ _0xb3dcx3+ _0x708e[478]}else {var _0xb3dcxa=_0xb3dcx2[_0x708e[2]](_0x708e[471],_0xb3dcx9),_0xb3dcx12=_0x708e[110],_0xb3dcx12=0> _0xb3dcxa?_0xb3dcx2[_0x708e[85]](_0xb3dcx9+ _0xb3dcx3[_0x708e[67]]+ 1):_0xb3dcx2[_0x708e[85]](_0xb3dcx9+ _0xb3dcx3[_0x708e[67]]+ 1,_0xb3dcxa),_0xb3dcx12=null== _0xb3dcx5?parseInt(_0xb3dcx12)^ _0xb3dcx4:_0xb3dcx5?parseInt(_0xb3dcx12)| _0xb3dcx4:parseInt(_0xb3dcx12)& ~_0xb3dcx4;_0xb3dcx2= _0xb3dcx2[_0x708e[85]](0,_0xb3dcx9)+ _0xb3dcx3+ _0x708e[226]+ _0xb3dcx12+ (0<= _0xb3dcxa?_0xb3dcx2[_0x708e[85]](_0xb3dcxa):_0x708e[110])}};return _0xb3dcx2},getAlignmentAsPoint:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=0,_0xb3dcx5=0;_0xb3dcx2== mxConstants[_0x708e[479]]?_0xb3dcx4= -0.5:_0xb3dcx2== mxConstants[_0x708e[480]]&& (_0xb3dcx4= -1);_0xb3dcx3== mxConstants[_0x708e[481]]?_0xb3dcx5= -0.5:_0xb3dcx3== mxConstants[_0x708e[482]]&& (_0xb3dcx5= -1);return new mxPoint(_0xb3dcx4,_0xb3dcx5)},getSizeForString:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:mxConstants[_0x708e[483]];_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:mxConstants[_0x708e[484]];var _0xb3dcx5=document[_0x708e[55]](_0x708e[485]);_0xb3dcx5[_0x708e[124]][_0x708e[486]]= _0xb3dcx4;_0xb3dcx5[_0x708e[124]][_0x708e[487]]= Math[_0x708e[488]](_0xb3dcx3)+ _0x708e[168];_0xb3dcx5[_0x708e[124]][_0x708e[489]]= Math[_0x708e[488]](_0xb3dcx3* mxConstants[_0x708e[490]])+ _0x708e[168];_0xb3dcx5[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx5[_0x708e[124]][_0x708e[493]]= _0x708e[494];_0xb3dcx5[_0x708e[124]][_0x708e[187]]= _0x708e[188];_0xb3dcx5[_0x708e[124]][_0x708e[495]]= mxClient[_0x708e[496]]?_0x708e[497]:_0x708e[498];_0xb3dcx5[_0x708e[124]][_0x708e[499]]= _0x708e[500];_0xb3dcx5[_0x708e[339]]= _0xb3dcx2;document[_0x708e[112]][_0x708e[62]](_0xb3dcx5);_0xb3dcx2= new mxRectangle(0,0,_0xb3dcx5[_0x708e[359]],_0xb3dcx5[_0x708e[167]]);document[_0x708e[112]][_0x708e[266]](_0xb3dcx5);return _0xb3dcx2},getViewXml:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:0;_0xb3dcx9= null!= _0xb3dcx9?_0xb3dcx9:0;_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:1;null== _0xb3dcx4&& (_0xb3dcx4= [_0xb3dcx2[_0x708e[502]]()[_0x708e[501]]()]);var _0xb3dcxa=_0xb3dcx2[_0x708e[249]](),_0xb3dcx12=null,_0xb3dcx13=_0xb3dcxa[_0x708e[503]]();_0xb3dcxa[_0x708e[504]](!1);var _0xb3dcx14=_0xb3dcxa[_0x708e[505]],_0xb3dcx15=_0xb3dcxa[_0x708e[506]];_0xb3dcx2[_0x708e[507]]== mxConstants[_0x708e[508]]?(_0xb3dcxa[_0x708e[505]]= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449]),_0xb3dcxa[_0x708e[510]][_0x708e[62]](_0xb3dcxa[_0x708e[505]]),_0xb3dcxa[_0x708e[506]]= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449])):(_0xb3dcxa[_0x708e[505]]= _0xb3dcxa[_0x708e[505]][_0x708e[511]](!1),_0xb3dcxa[_0x708e[510]][_0x708e[62]](_0xb3dcxa[_0x708e[505]]),_0xb3dcxa[_0x708e[506]]= _0xb3dcxa[_0x708e[506]][_0x708e[511]](!1));_0xb3dcxa[_0x708e[510]][_0x708e[62]](_0xb3dcxa[_0x708e[506]]);var _0xb3dcx16=_0xb3dcxa[_0x708e[512]]();_0xb3dcxa[_0x708e[513]]= new mxPoint(_0xb3dcx5,_0xb3dcx9);_0xb3dcx3= new mxTemporaryCellStates(_0xb3dcx2[_0x708e[249]](),_0xb3dcx3,_0xb3dcx4);try{_0xb3dcx12= ( new mxCodec)[_0x708e[514]](_0xb3dcx2[_0x708e[249]]())}finally{_0xb3dcx3[_0x708e[515]](),_0xb3dcxa[_0x708e[513]]= _0xb3dcx16,_0xb3dcxa[_0x708e[510]][_0x708e[266]](_0xb3dcxa[_0x708e[505]]),_0xb3dcxa[_0x708e[510]][_0x708e[266]](_0xb3dcxa[_0x708e[506]]),_0xb3dcxa[_0x708e[505]]= _0xb3dcx14,_0xb3dcxa[_0x708e[506]]= _0xb3dcx15,_0xb3dcxa[_0x708e[504]](_0xb3dcx13)};return _0xb3dcx12},getScaleForPageCount:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(1> _0xb3dcx2){return 1};_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:mxConstants[_0x708e[516]];_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:0;var _0xb3dcx9=_0xb3dcx4[_0x708e[117]]- 2* _0xb3dcx5;_0xb3dcx4= _0xb3dcx4[_0x708e[119]]- 2* _0xb3dcx5;_0xb3dcx5= _0xb3dcx3[_0x708e[517]]()[_0x708e[238]]();_0xb3dcx3= _0xb3dcx3[_0x708e[249]]()[_0x708e[518]]();_0xb3dcx5[_0x708e[117]]/= _0xb3dcx3;_0xb3dcx5[_0x708e[119]]/= _0xb3dcx3;_0xb3dcx3= _0xb3dcx5[_0x708e[117]];_0xb3dcx4= _0xb3dcx3/ _0xb3dcx5[_0x708e[119]]/ (_0xb3dcx9/ _0xb3dcx4);_0xb3dcx5= Math[_0x708e[428]](_0xb3dcx2);var _0xb3dcxa=Math[_0x708e[428]](_0xb3dcx4);_0xb3dcx4= _0xb3dcx5* _0xb3dcxa;_0xb3dcx5/= _0xb3dcxa;if(1> _0xb3dcx4&& _0xb3dcx5> _0xb3dcx2){var _0xb3dcx12=_0xb3dcx5/ _0xb3dcx2;_0xb3dcx5= _0xb3dcx2;_0xb3dcx4/= _0xb3dcx12};1> _0xb3dcx5&& _0xb3dcx4> _0xb3dcx2&& (_0xb3dcx12= _0xb3dcx4/ _0xb3dcx2,_0xb3dcx4= _0xb3dcx2,_0xb3dcx5/= _0xb3dcx12);_0xb3dcx12= Math[_0x708e[430]](_0xb3dcx4)* Math[_0x708e[430]](_0xb3dcx5);for(_0xb3dcxa= 0;_0xb3dcx12> _0xb3dcx2;){var _0xb3dcx12=Math[_0x708e[519]](_0xb3dcx4)/ _0xb3dcx4,_0xb3dcx13=Math[_0x708e[519]](_0xb3dcx5)/ _0xb3dcx5;1== _0xb3dcx12&& (_0xb3dcx12= Math[_0x708e[519]](_0xb3dcx4- 1)/ _0xb3dcx4);1== _0xb3dcx13&& (_0xb3dcx13= Math[_0x708e[519]](_0xb3dcx5- 1)/ _0xb3dcx5);_0xb3dcx12= _0xb3dcx12> _0xb3dcx13?_0xb3dcx12:_0xb3dcx13;_0xb3dcx4*= _0xb3dcx12;_0xb3dcx5*= _0xb3dcx12;_0xb3dcx12= Math[_0x708e[430]](_0xb3dcx4)* Math[_0x708e[430]](_0xb3dcx5);_0xb3dcxa++;if(10< _0xb3dcxa){break}};return 0.99999* (_0xb3dcx9* _0xb3dcx4/ _0xb3dcx3)},show:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:0;null== _0xb3dcx3?_0xb3dcx3= window[_0x708e[392]]()[_0x708e[395]]:_0xb3dcx3[_0x708e[392]]();var _0xb3dcx9=_0xb3dcx2[_0x708e[517]]();_0xb3dcx4= -_0xb3dcx9[_0x708e[235]]+ _0xb3dcx4;_0xb3dcx5= -_0xb3dcx9[_0x708e[236]]+ _0xb3dcx5;if(mxClient[_0x708e[80]]){for(var _0xb3dcx9=_0x708e[520],_0xb3dcxa=document[_0x708e[64]](_0x708e[521]),_0xb3dcx12=0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){_0xb3dcx9+= _0xb3dcxa[_0xb3dcx12][_0x708e[342]]};_0xb3dcx9+= _0x708e[522];for(_0xb3dcx12= 0;_0xb3dcx12< document[_0x708e[523]][_0x708e[67]];_0xb3dcx12++){try{_0xb3dcx9+= document[_0x708e[523]](_0xb3dcx12)[_0x708e[103]]}catch(h){}};_0xb3dcx9+= _0x708e[524];_0xb3dcx9+= _0x708e[525];_0xb3dcx9+= _0xb3dcx2[_0x708e[526]][_0x708e[339]];_0xb3dcx9+= _0x708e[527];_0xb3dcx9+= _0x708e[528];_0xb3dcx3[_0x708e[171]](_0xb3dcx9);_0xb3dcx3[_0x708e[268]]();_0xb3dcx2= _0xb3dcx3[_0x708e[112]][_0x708e[64]](_0x708e[529])[0];null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492],_0xb3dcx2[_0x708e[124]][_0x708e[361]]= _0xb3dcx4+ _0x708e[168],_0xb3dcx2[_0x708e[124]][_0x708e[125]]= _0xb3dcx5+ _0x708e[168])}else {_0xb3dcx3[_0x708e[171]](_0x708e[530]);_0xb3dcx3[_0x708e[171]](_0x708e[531]);_0xb3dcxa= document[_0x708e[64]](_0x708e[521]);for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){_0xb3dcx3[_0x708e[171]](mxUtils[_0x708e[532]](_0xb3dcxa[_0xb3dcx12]))};_0xb3dcxa= document[_0x708e[64]](_0x708e[54]);for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){_0xb3dcx3[_0x708e[171]](mxUtils[_0x708e[532]](_0xb3dcxa[_0xb3dcx12]))};_0xb3dcxa= document[_0x708e[64]](_0x708e[124]);for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){_0xb3dcx3[_0x708e[171]](mxUtils[_0x708e[532]](_0xb3dcxa[_0xb3dcx12]))};_0xb3dcx3[_0x708e[171]](_0x708e[533]);_0xb3dcx3[_0x708e[171]](_0x708e[534]);_0xb3dcx3[_0x708e[268]]();null== _0xb3dcx3[_0x708e[112]]&& _0xb3dcx3[_0x708e[158]][_0x708e[62]](_0xb3dcx3[_0x708e[55]](_0x708e[112]));_0xb3dcx3[_0x708e[112]][_0x708e[124]][_0x708e[277]]= _0x708e[278];for(_0xb3dcx2= _0xb3dcx2[_0x708e[526]][_0x708e[285]];null!= _0xb3dcx2;){_0xb3dcx12= _0xb3dcx2[_0x708e[511]](!0),_0xb3dcx3[_0x708e[112]][_0x708e[62]](_0xb3dcx12),_0xb3dcx2= _0xb3dcx2[_0x708e[287]]};_0xb3dcx2= _0xb3dcx3[_0x708e[64]](_0x708e[449])[0];null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[57]](_0x708e[535],_0x708e[536]+ _0xb3dcx4+ _0x708e[537]+ _0xb3dcx5+ _0x708e[460]),_0xb3dcx4= _0xb3dcx2[_0x708e[538]],_0xb3dcx4[_0x708e[57]](_0x708e[117],_0xb3dcx9[_0x708e[117]]+ Math[_0x708e[160]](_0xb3dcx9[_0x708e[235]],0)+ 3),_0xb3dcx4[_0x708e[57]](_0x708e[119],_0xb3dcx9[_0x708e[119]]+ Math[_0x708e[160]](_0xb3dcx9[_0x708e[236]],0)+ 3))};mxUtils[_0x708e[272]](_0xb3dcx3[_0x708e[112]]);return _0xb3dcx3},printScreen:function(_0xb3dcx2){var _0xb3dcx3=window[_0x708e[392]]();mxUtils[_0x708e[539]](_0xb3dcx2,_0xb3dcx3[_0x708e[395]]);_0xb3dcx2= function(){_0xb3dcx3[_0x708e[393]]();_0xb3dcx3[_0x708e[540]]();_0xb3dcx3[_0x708e[268]]()};mxClient[_0x708e[76]]?_0xb3dcx3[_0x708e[261]](_0xb3dcx2,500):_0xb3dcx2()},popup:function(_0xb3dcx2,_0xb3dcx3){if(_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[485]);_0xb3dcx4[_0x708e[124]][_0x708e[277]]= _0x708e[276];_0xb3dcx4[_0x708e[124]][_0x708e[117]]= _0x708e[541];_0xb3dcx4[_0x708e[124]][_0x708e[119]]= _0x708e[542];var _0xb3dcx5=document[_0x708e[55]](_0x708e[543]);_0xb3dcx5[_0x708e[339]]= mxUtils[_0x708e[321]](_0xb3dcx2,!1)[_0x708e[230]](/\n/g,_0x708e[545])[_0x708e[230]](/ /g,_0x708e[544]);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);_0xb3dcx4= new mxWindow(_0x708e[546],_0xb3dcx4,document[_0x708e[112]][_0x708e[159]]/ 2- 320,(document[_0x708e[112]][_0x708e[157]]|| document[_0x708e[158]][_0x708e[157]])/ 2- 240,640,480,!1,!0);_0xb3dcx4[_0x708e[164]](!0);_0xb3dcx4[_0x708e[175]](!0)}else {mxClient[_0x708e[133]]?(_0xb3dcx4= window[_0x708e[392]](),_0xb3dcx4[_0x708e[395]][_0x708e[171]](_0x708e[547]+ mxUtils[_0x708e[321]](_0xb3dcx2)+ _0x708e[548]),_0xb3dcx4[_0x708e[395]][_0x708e[268]]()):(_0xb3dcx4= window[_0x708e[392]](),_0xb3dcx5= _0xb3dcx4[_0x708e[395]][_0x708e[55]](_0x708e[543]),_0xb3dcx5[_0x708e[339]]= mxUtils[_0x708e[321]](_0xb3dcx2,!1)[_0x708e[230]](/\n/g,_0x708e[545])[_0x708e[230]](/ /g,_0x708e[544]),_0xb3dcx4[_0x708e[395]][_0x708e[112]][_0x708e[62]](_0xb3dcx5))}},alert:function(_0xb3dcx2){alert(_0xb3dcx2)},prompt:function(_0xb3dcx2,_0xb3dcx3){return prompt(_0xb3dcx2,_0xb3dcx3)},confirm:function(_0xb3dcx2){return confirm(_0xb3dcx2)},error:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=document[_0x708e[55]](_0x708e[485]);_0xb3dcx9[_0x708e[124]][_0x708e[549]]= _0x708e[550];var _0xb3dcxa=document[_0x708e[55]](_0x708e[466]);_0xb3dcxa[_0x708e[57]](_0x708e[390],_0xb3dcx5|| mxUtils[_0x708e[551]]);_0xb3dcxa[_0x708e[57]](_0x708e[552],_0x708e[553]);_0xb3dcxa[_0x708e[124]][_0x708e[123]]= _0x708e[554];_0xb3dcx9[_0x708e[62]](_0xb3dcxa);_0xb3dcx9[_0x708e[62]](document[_0x708e[344]](_0x708e[555]));_0xb3dcx9[_0x708e[62]](document[_0x708e[344]](_0x708e[555]));_0xb3dcx9[_0x708e[62]](document[_0x708e[344]](_0x708e[555]));mxUtils[_0x708e[53]](_0xb3dcx9,_0xb3dcx2);_0xb3dcx2= document[_0x708e[112]][_0x708e[159]];_0xb3dcx5= document[_0x708e[112]][_0x708e[157]]|| document[_0x708e[158]][_0x708e[157]];var _0xb3dcx12= new mxWindow(mxResources[_0x708e[203]](mxUtils[_0x708e[556]])|| mxUtils[_0x708e[556]],_0xb3dcx9,(_0xb3dcx2- _0xb3dcx3)/ 2,_0xb3dcx5/ 4,_0xb3dcx3,null,!1,!0);_0xb3dcx4&& (mxUtils[_0x708e[345]](_0xb3dcx9),_0xb3dcx3= document[_0x708e[55]](_0x708e[346]),_0xb3dcx4= document[_0x708e[55]](_0x708e[172]),mxClient[_0x708e[80]]?_0xb3dcx4[_0x708e[124]][_0x708e[103]]= _0x708e[557]:_0xb3dcx4[_0x708e[57]](_0x708e[124],_0x708e[557]),mxEvent[_0x708e[169]](_0xb3dcx4,_0x708e[173],function(_0xb3dcx2){_0xb3dcx12[_0x708e[515]]()}),mxUtils[_0x708e[53]](_0xb3dcx4,mxResources[_0x708e[203]](mxUtils[_0x708e[558]])|| mxUtils[_0x708e[558]]),_0xb3dcx3[_0x708e[62]](_0xb3dcx4),_0xb3dcx9[_0x708e[62]](_0xb3dcx3),mxUtils[_0x708e[345]](_0xb3dcx9),_0xb3dcx12[_0x708e[164]](!0));_0xb3dcx12[_0x708e[175]](!0);return _0xb3dcx12},makeDraggable:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15){_0xb3dcx2= new mxDragSource(_0xb3dcx2,_0xb3dcx4);_0xb3dcx2[_0x708e[559]]= new mxPoint(null!= _0xb3dcx9?_0xb3dcx9:0,null!= _0xb3dcxa?_0xb3dcxa:mxConstants[_0x708e[560]]);_0xb3dcx2[_0x708e[561]]= _0xb3dcx12;_0xb3dcx2[_0x708e[562]](!1);null!= _0xb3dcx14&& (_0xb3dcx2[_0x708e[563]]= _0xb3dcx14);null!= _0xb3dcx15&& (_0xb3dcx2[_0x708e[564]]= _0xb3dcx15);_0xb3dcx2[_0x708e[565]]= function(_0xb3dcx2){return _0x708e[279]== typeof _0xb3dcx3?_0xb3dcx3(_0xb3dcx2):_0xb3dcx3};null!= _0xb3dcx5&& (_0xb3dcx2[_0x708e[566]]= function(){return _0xb3dcx5[_0x708e[511]](!0)},_0xb3dcx13&& (_0xb3dcx2[_0x708e[567]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx5[_0x708e[511]](!0),_0xb3dcx4=parseInt(_0xb3dcx3[_0x708e[124]][_0x708e[117]]),_0xb3dcx9=parseInt(_0xb3dcx3[_0x708e[124]][_0x708e[119]]);_0xb3dcx3[_0x708e[124]][_0x708e[117]]= Math[_0x708e[488]](_0xb3dcx4* _0xb3dcx2[_0x708e[441]][_0x708e[255]])+ _0x708e[168];_0xb3dcx3[_0x708e[124]][_0x708e[119]]= Math[_0x708e[488]](_0xb3dcx9* _0xb3dcx2[_0x708e[441]][_0x708e[255]])+ _0x708e[168];return _0xb3dcx3}));return _0xb3dcx2}},mxConstants={DEFAULT_HOTSPOT:0.3,MIN_HOTSPOT_SIZE:8,MAX_HOTSPOT_SIZE:0,RENDERING_HINT_EXACT:_0x708e[568],RENDERING_HINT_FASTER:_0x708e[569],RENDERING_HINT_FASTEST:_0x708e[570],DIALECT_SVG:_0x708e[571],DIALECT_VML:_0x708e[572],DIALECT_MIXEDHTML:_0x708e[573],DIALECT_PREFERHTML:_0x708e[574],DIALECT_STRICTHTML:_0x708e[575],NS_SVG:_0x708e[576],NS_XHTML:_0x708e[577],NS_XLINK:_0x708e[578],SHADOWCOLOR:_0x708e[579],SHADOW_OFFSET_X:2,SHADOW_OFFSET_Y:3,SHADOW_OPACITY:1,NODETYPE_ELEMENT:1,NODETYPE_ATTRIBUTE:2,NODETYPE_TEXT:3,NODETYPE_CDATA:4,NODETYPE_ENTITY_REFERENCE:5,NODETYPE_ENTITY:6,NODETYPE_PROCESSING_INSTRUCTION:7,NODETYPE_COMMENT:8,NODETYPE_DOCUMENT:9,NODETYPE_DOCUMENTTYPE:10,NODETYPE_DOCUMENT_FRAGMENT:11,NODETYPE_NOTATION:12,TOOLTIP_VERTICAL_OFFSET:16,DEFAULT_VALID_COLOR:_0x708e[580],DEFAULT_INVALID_COLOR:_0x708e[581],HIGHLIGHT_STROKEWIDTH:3,CURSOR_MOVABLE_VERTEX:_0x708e[582],CURSOR_MOVABLE_EDGE:_0x708e[582],CURSOR_LABEL_HANDLE:_0x708e[583],CURSOR_BEND_HANDLE:_0x708e[356],CURSOR_CONNECT:_0x708e[356],HIGHLIGHT_COLOR:_0x708e[580],CONNECT_TARGET_COLOR:_0x708e[584],INVALID_CONNECT_TARGET_COLOR:_0x708e[581],DROP_TARGET_COLOR:_0x708e[584],VALID_COLOR:_0x708e[580],INVALID_COLOR:_0x708e[581],EDGE_SELECTION_COLOR:_0x708e[580],VERTEX_SELECTION_COLOR:_0x708e[580],VERTEX_SELECTION_STROKEWIDTH:1,EDGE_SELECTION_STROKEWIDTH:1,VERTEX_SELECTION_DASHED:!0,EDGE_SELECTION_DASHED:!0,GUIDE_COLOR:_0x708e[581],GUIDE_STROKEWIDTH:1,OUTLINE_COLOR:_0x708e[585],OUTLINE_STROKEWIDTH:mxClient[_0x708e[80]]?2:3,HANDLE_SIZE:7,LABEL_HANDLE_SIZE:4,HANDLE_FILLCOLOR:_0x708e[580],HANDLE_STROKECOLOR:_0x708e[586],LABEL_HANDLE_FILLCOLOR:_0x708e[587],CONNECT_HANDLE_FILLCOLOR:_0x708e[584],LOCKED_HANDLE_FILLCOLOR:_0x708e[581],OUTLINE_HANDLE_FILLCOLOR:_0x708e[588],OUTLINE_HANDLE_STROKECOLOR:_0x708e[589],DEFAULT_FONTFAMILY:_0x708e[590],DEFAULT_FONTSIZE:11,LINE_HEIGHT:1.2,DEFAULT_FONTSTYLE:0,DEFAULT_STARTSIZE:40,DEFAULT_MARKERSIZE:6,DEFAULT_IMAGESIZE:24,ENTITY_SEGMENT:30,RECTANGLE_ROUNDING_FACTOR:0.15,LINE_ARCSIZE:20,ARROW_SPACING:10,ARROW_WIDTH:30,ARROW_SIZE:30,PAGE_FORMAT_A4_PORTRAIT: new mxRectangle(0,0,826,1169),PAGE_FORMAT_A4_LANDSCAPE: new mxRectangle(0,0,1169,826),PAGE_FORMAT_LETTER_PORTRAIT: new mxRectangle(0,0,850,1100),PAGE_FORMAT_LETTER_LANDSCAPE: new mxRectangle(0,0,1100,850),NONE:_0x708e[130],STYLE_PERIMETER:_0x708e[591],STYLE_SOURCE_PORT:_0x708e[592],STYLE_TARGET_PORT:_0x708e[593],STYLE_PORT_CONSTRAINT:_0x708e[594],STYLE_OPACITY:_0x708e[461],STYLE_TEXT_OPACITY:_0x708e[595],STYLE_OVERFLOW:_0x708e[277],STYLE_ORTHOGONAL:_0x708e[596],STYLE_EXIT_X:_0x708e[597],STYLE_EXIT_Y:_0x708e[598],STYLE_EXIT_PERIMETER:_0x708e[599],STYLE_ENTRY_X:_0x708e[600],STYLE_ENTRY_Y:_0x708e[601],STYLE_ENTRY_PERIMETER:_0x708e[602],STYLE_WHITE_SPACE:_0x708e[493],STYLE_ROTATION:_0x708e[603],STYLE_FILLCOLOR:_0x708e[604],STYLE_SWIMLANE_FILLCOLOR:_0x708e[605],STYLE_GRADIENTCOLOR:_0x708e[606],STYLE_GRADIENT_DIRECTION:_0x708e[607],STYLE_STROKECOLOR:_0x708e[608],STYLE_SEPARATORCOLOR:_0x708e[609],STYLE_STROKEWIDTH:_0x708e[610],STYLE_ALIGN:_0x708e[611],STYLE_VERTICAL_ALIGN:_0x708e[123],STYLE_LABEL_POSITION:_0x708e[612],STYLE_VERTICAL_LABEL_POSITION:_0x708e[613],STYLE_IMAGE_ASPECT:_0x708e[614],STYLE_IMAGE_ALIGN:_0x708e[615],STYLE_IMAGE_VERTICAL_ALIGN:_0x708e[616],STYLE_GLASS:_0x708e[617],STYLE_IMAGE:_0x708e[618],STYLE_IMAGE_WIDTH:_0x708e[619],STYLE_IMAGE_HEIGHT:_0x708e[620],STYLE_IMAGE_BACKGROUND:_0x708e[621],STYLE_IMAGE_BORDER:_0x708e[622],STYLE_FLIPH:_0x708e[623],STYLE_FLIPV:_0x708e[624],STYLE_NOLABEL:_0x708e[625],STYLE_NOEDGESTYLE:_0x708e[626],STYLE_LABEL_BACKGROUNDCOLOR:_0x708e[627],STYLE_LABEL_BORDERCOLOR:_0x708e[628],STYLE_LABEL_PADDING:_0x708e[629],STYLE_INDICATOR_SHAPE:_0x708e[630],STYLE_INDICATOR_IMAGE:_0x708e[631],STYLE_INDICATOR_COLOR:_0x708e[632],STYLE_INDICATOR_STROKECOLOR:_0x708e[633],STYLE_INDICATOR_GRADIENTCOLOR:_0x708e[634],STYLE_INDICATOR_SPACING:_0x708e[635],STYLE_INDICATOR_WIDTH:_0x708e[636],STYLE_INDICATOR_HEIGHT:_0x708e[637],STYLE_INDICATOR_DIRECTION:_0x708e[638],STYLE_SHADOW:_0x708e[639],STYLE_SEGMENT:_0x708e[640],STYLE_ENDARROW:_0x708e[641],STYLE_STARTARROW:_0x708e[642],STYLE_ENDSIZE:_0x708e[643],STYLE_STARTSIZE:_0x708e[644],STYLE_SWIMLANE_LINE:_0x708e[645],STYLE_ENDFILL:_0x708e[646],STYLE_STARTFILL:_0x708e[647],STYLE_DASHED:_0x708e[648],STYLE_DASH_PATTERN:_0x708e[649],STYLE_ROUNDED:_0x708e[650],STYLE_CURVED:_0x708e[651],STYLE_ARCSIZE:_0x708e[652],STYLE_SMOOTH:_0x708e[653],STYLE_SOURCE_PERIMETER_SPACING:_0x708e[654],STYLE_TARGET_PERIMETER_SPACING:_0x708e[655],STYLE_PERIMETER_SPACING:_0x708e[656],STYLE_SPACING:_0x708e[657],STYLE_SPACING_TOP:_0x708e[658],STYLE_SPACING_LEFT:_0x708e[659],STYLE_SPACING_BOTTOM:_0x708e[660],STYLE_SPACING_RIGHT:_0x708e[661],STYLE_HORIZONTAL:_0x708e[662],STYLE_DIRECTION:_0x708e[663],STYLE_ELBOW:_0x708e[664],STYLE_FONTCOLOR:_0x708e[665],STYLE_FONTFAMILY:_0x708e[486],STYLE_FONTSIZE:_0x708e[487],STYLE_FONTSTYLE:_0x708e[666],STYLE_AUTOSIZE:_0x708e[667],STYLE_FOLDABLE:_0x708e[668],STYLE_EDITABLE:_0x708e[669],STYLE_BENDABLE:_0x708e[670],STYLE_MOVABLE:_0x708e[671],STYLE_RESIZABLE:_0x708e[672],STYLE_CLONEABLE:_0x708e[673],STYLE_DELETABLE:_0x708e[674],STYLE_SHAPE:_0x708e[253],STYLE_EDGE:_0x708e[675],STYLE_LOOP:_0x708e[676],STYLE_ROUTING_CENTER_X:_0x708e[677],STYLE_ROUTING_CENTER_Y:_0x708e[678],FONT_BOLD:1,FONT_ITALIC:2,FONT_UNDERLINE:4,FONT_SHADOW:8,SHAPE_RECTANGLE:_0x708e[679],SHAPE_ELLIPSE:_0x708e[680],SHAPE_DOUBLE_ELLIPSE:_0x708e[681],SHAPE_RHOMBUS:_0x708e[682],SHAPE_LINE:_0x708e[683],SHAPE_IMAGE:_0x708e[618],SHAPE_ARROW:_0x708e[684],SHAPE_LABEL:_0x708e[685],SHAPE_CYLINDER:_0x708e[686],SHAPE_SWIMLANE:_0x708e[687],SHAPE_CONNECTOR:_0x708e[688],SHAPE_ACTOR:_0x708e[689],SHAPE_CLOUD:_0x708e[690],SHAPE_TRIANGLE:_0x708e[691],SHAPE_HEXAGON:_0x708e[692],ARROW_CLASSIC:_0x708e[693],ARROW_BLOCK:_0x708e[694],ARROW_OPEN:_0x708e[392],ARROW_OVAL:_0x708e[695],ARROW_DIAMOND:_0x708e[696],ARROW_DIAMOND_THIN:_0x708e[697],ALIGN_LEFT:_0x708e[361],ALIGN_CENTER:_0x708e[698],ALIGN_RIGHT:_0x708e[699],ALIGN_TOP:_0x708e[125],ALIGN_MIDDLE:_0x708e[554],ALIGN_BOTTOM:_0x708e[553],DIRECTION_NORTH:_0x708e[700],DIRECTION_SOUTH:_0x708e[701],DIRECTION_EAST:_0x708e[702],DIRECTION_WEST:_0x708e[703],DIRECTION_MASK_NONE:0,DIRECTION_MASK_WEST:1,DIRECTION_MASK_NORTH:2,DIRECTION_MASK_SOUTH:4,DIRECTION_MASK_EAST:8,DIRECTION_MASK_ALL:15,ELBOW_VERTICAL:_0x708e[704],ELBOW_HORIZONTAL:_0x708e[662],EDGESTYLE_ELBOW:_0x708e[705],EDGESTYLE_ENTITY_RELATION:_0x708e[706],EDGESTYLE_LOOP:_0x708e[707],EDGESTYLE_SIDETOSIDE:_0x708e[708],EDGESTYLE_TOPTOBOTTOM:_0x708e[709],EDGESTYLE_ORTHOGONAL:_0x708e[710],EDGESTYLE_SEGMENT:_0x708e[711],PERIMETER_ELLIPSE:_0x708e[712],PERIMETER_RECTANGLE:_0x708e[713],PERIMETER_RHOMBUS:_0x708e[714],PERIMETER_TRIANGLE:_0x708e[715]};function mxEventObject(_0xb3dcx2){this[_0x708e[298]]= _0xb3dcx2;this[_0x708e[716]]= [];for(var _0xb3dcx3=1;_0xb3dcx3< arguments[_0x708e[67]];_0xb3dcx3+= 2){null!= arguments[_0xb3dcx3+ 1]&& (this[_0x708e[716]][arguments[_0xb3dcx3]]= arguments[_0xb3dcx3+ 1])}}mxEventObject[_0x708e[202]][_0x708e[298]]= null;mxEventObject[_0x708e[202]][_0x708e[716]]= null;mxEventObject[_0x708e[202]][_0x708e[717]]= !1;mxEventObject[_0x708e[202]][_0x708e[718]]= function(){return this[_0x708e[298]]};mxEventObject[_0x708e[202]][_0x708e[719]]= function(){return this[_0x708e[716]]};mxEventObject[_0x708e[202]][_0x708e[720]]= function(_0xb3dcx2){return this[_0x708e[716]][_0xb3dcx2]};mxEventObject[_0x708e[202]][_0x708e[721]]= function(){return this[_0x708e[717]]};mxEventObject[_0x708e[202]][_0x708e[722]]= function(){this[_0x708e[717]]= !0};function mxMouseEvent(_0xb3dcx2,_0xb3dcx3){this[_0x708e[723]]= _0xb3dcx2;this[_0x708e[724]]= _0xb3dcx3}mxMouseEvent[_0x708e[202]][_0x708e[717]]= !1;mxMouseEvent[_0x708e[202]][_0x708e[723]]= null;mxMouseEvent[_0x708e[202]][_0x708e[725]]= null;mxMouseEvent[_0x708e[202]][_0x708e[726]]= null;mxMouseEvent[_0x708e[202]][_0x708e[724]]= null;mxMouseEvent[_0x708e[202]][_0x708e[727]]= function(){return this[_0x708e[723]]};mxMouseEvent[_0x708e[202]][_0x708e[728]]= function(){return mxEvent[_0x708e[728]](this[_0x708e[723]])};mxMouseEvent[_0x708e[202]][_0x708e[729]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[728]]();null!= _0xb3dcx3;){if(_0xb3dcx3== _0xb3dcx2[_0x708e[252]]){return !0};_0xb3dcx3= _0xb3dcx3[_0x708e[265]]}};return !1};mxMouseEvent[_0x708e[202]][_0x708e[730]]= function(){return mxEvent[_0x708e[731]](this[_0x708e[727]]())};mxMouseEvent[_0x708e[202]][_0x708e[732]]= function(){return mxEvent[_0x708e[733]](this[_0x708e[727]]())};mxMouseEvent[_0x708e[202]][_0x708e[734]]= function(){return this[_0x708e[725]]};mxMouseEvent[_0x708e[202]][_0x708e[735]]= function(){return this[_0x708e[726]]};mxMouseEvent[_0x708e[202]][_0x708e[248]]= function(){return this[_0x708e[724]]};mxMouseEvent[_0x708e[202]][_0x708e[736]]= function(){var _0xb3dcx2=this[_0x708e[248]]();return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[246]]:null};mxMouseEvent[_0x708e[202]][_0x708e[737]]= function(){return mxEvent[_0x708e[737]](this[_0x708e[727]]())};mxMouseEvent[_0x708e[202]][_0x708e[721]]= function(){return this[_0x708e[717]]};mxMouseEvent[_0x708e[202]][_0x708e[722]]= function(_0xb3dcx2){(null!= _0xb3dcx2?_0xb3dcx2:1)&& this[_0x708e[723]][_0x708e[738]]&& this[_0x708e[723]][_0x708e[738]]();this[_0x708e[723]][_0x708e[739]]= !1;this[_0x708e[717]]= !0};function mxEventSource(_0xb3dcx2){this[_0x708e[740]](_0xb3dcx2)}mxEventSource[_0x708e[202]][_0x708e[741]]= null;mxEventSource[_0x708e[202]][_0x708e[742]]= !0;mxEventSource[_0x708e[202]][_0x708e[743]]= null;mxEventSource[_0x708e[202]][_0x708e[503]]= function(){return this[_0x708e[742]]};mxEventSource[_0x708e[202]][_0x708e[504]]= function(_0xb3dcx2){this[_0x708e[742]]= _0xb3dcx2};mxEventSource[_0x708e[202]][_0x708e[744]]= function(){return this[_0x708e[743]]};mxEventSource[_0x708e[202]][_0x708e[740]]= function(_0xb3dcx2){this[_0x708e[743]]= _0xb3dcx2};mxEventSource[_0x708e[202]][_0x708e[169]]= function(_0xb3dcx2,_0xb3dcx3){null== this[_0x708e[741]]&& (this[_0x708e[741]]= []);this[_0x708e[741]][_0x708e[207]](_0xb3dcx2);this[_0x708e[741]][_0x708e[207]](_0xb3dcx3)};mxEventSource[_0x708e[202]][_0x708e[745]]= function(_0xb3dcx2){if(null!= this[_0x708e[741]]){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[741]][_0x708e[67]];){this[_0x708e[741]][_0xb3dcx3+ 1]== _0xb3dcx2?this[_0x708e[741]][_0x708e[300]](_0xb3dcx3,2):_0xb3dcx3+= 2}}};mxEventSource[_0x708e[202]][_0x708e[746]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= this[_0x708e[741]]&& this[_0x708e[503]]()){null== _0xb3dcx2&& (_0xb3dcx2= new mxEventObject);null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[744]]());null== _0xb3dcx3&& (_0xb3dcx3= this);for(var _0xb3dcx4=[_0xb3dcx3,_0xb3dcx2],_0xb3dcx5=0;_0xb3dcx5< this[_0x708e[741]][_0x708e[67]];_0xb3dcx5+= 2){var _0xb3dcx9=this[_0x708e[741]][_0xb3dcx5];(null== _0xb3dcx9|| _0xb3dcx9== _0xb3dcx2[_0x708e[718]]())&& this[_0x708e[741]][_0xb3dcx5+ 1][_0x708e[183]](this,_0xb3dcx4)}}};var mxEvent={objects:[],addListener:function(){var _0xb3dcx2=function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){null== _0xb3dcx2[_0x708e[69]]&& (_0xb3dcx2[_0x708e[69]]= [],mxEvent[_0x708e[68]][_0x708e[207]](_0xb3dcx2));_0xb3dcx2[_0x708e[69]][_0x708e[207]]({name:_0xb3dcx4,f:_0xb3dcx5})};return window[_0x708e[418]]?function(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3[_0x708e[418]](_0xb3dcx4,_0xb3dcx5,!1);_0xb3dcx2(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}:function(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3[_0x708e[108]](_0x708e[747]+ _0xb3dcx4,_0xb3dcx5);_0xb3dcx2(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}}(),removeListener:function(){var _0xb3dcx2=function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx2[_0x708e[69]]){_0xb3dcx4= _0xb3dcx2[_0x708e[69]][_0x708e[67]];for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4;_0xb3dcx9++){if(_0xb3dcx2[_0x708e[69]][_0xb3dcx9][_0x708e[748]]== _0xb3dcx5){_0xb3dcx2[_0x708e[69]][_0x708e[300]](_0xb3dcx9,1);break}};0== _0xb3dcx2[_0x708e[69]][_0x708e[67]]&& (_0xb3dcx2[_0x708e[69]]= null)}};return window[_0x708e[749]]?function(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3[_0x708e[749]](_0xb3dcx4,_0xb3dcx5,!1);_0xb3dcx2(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}:function(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3[_0x708e[750]](_0x708e[747]+ _0xb3dcx4,_0xb3dcx5);_0xb3dcx2(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}}(),removeAllListeners:function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[69]];if(null!= _0xb3dcx3){for(;0< _0xb3dcx3[_0x708e[67]];){var _0xb3dcx4=_0xb3dcx3[0];mxEvent[_0x708e[745]](_0xb3dcx2,_0xb3dcx4[_0x708e[298]],_0xb3dcx4[_0x708e[748]])}}},addGestureListeners:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){null!= _0xb3dcx3&& mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[751],_0xb3dcx3);null!= _0xb3dcx4&& mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[752],_0xb3dcx4);null!= _0xb3dcx5&& mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[753],_0xb3dcx5);mxClient[_0x708e[754]]&& (null!= _0xb3dcx3&& mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[755],_0xb3dcx3),null!= _0xb3dcx4&& mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[756],_0xb3dcx4),null!= _0xb3dcx5&& mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[757],_0xb3dcx5))},removeGestureListeners:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){null!= _0xb3dcx3&& mxEvent[_0x708e[745]](_0xb3dcx2,_0x708e[751],_0xb3dcx3);null!= _0xb3dcx4&& mxEvent[_0x708e[745]](_0xb3dcx2,_0x708e[752],_0xb3dcx4);null!= _0xb3dcx5&& mxEvent[_0x708e[745]](_0xb3dcx2,_0x708e[753],_0xb3dcx5);mxClient[_0x708e[754]]&& (null!= _0xb3dcx3&& mxEvent[_0x708e[745]](_0xb3dcx2,_0x708e[755],_0xb3dcx3),null!= _0xb3dcx4&& mxEvent[_0x708e[745]](_0xb3dcx2,_0x708e[756],_0xb3dcx4),null!= _0xb3dcx5&& mxEvent[_0x708e[745]](_0xb3dcx2,_0x708e[757],_0xb3dcx5))},redirectMouseEvents:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){var _0xb3dcx13=function(_0xb3dcx2){return _0x708e[279]== typeof _0xb3dcx4?_0xb3dcx4(_0xb3dcx2):_0xb3dcx4};mxEvent[_0x708e[759]](_0xb3dcx2,function(_0xb3dcx2){null!= _0xb3dcx5?_0xb3dcx5(_0xb3dcx2):mxEvent[_0x708e[721]](_0xb3dcx2)|| _0xb3dcx3[_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx2,_0xb3dcx13(_0xb3dcx2)))},function(_0xb3dcx2){null!= _0xb3dcx9?_0xb3dcx9(_0xb3dcx2):mxEvent[_0x708e[721]](_0xb3dcx2)|| _0xb3dcx3[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx2,_0xb3dcx13(_0xb3dcx2)))},function(_0xb3dcx2){null!= _0xb3dcxa?_0xb3dcxa(_0xb3dcx2):mxEvent[_0x708e[721]](_0xb3dcx2)|| _0xb3dcx3[_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx2,_0xb3dcx13(_0xb3dcx2)))});mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[760],function(_0xb3dcx2){if(null!= _0xb3dcx12){_0xb3dcx12(_0xb3dcx2)}else {if(!mxEvent[_0x708e[721]](_0xb3dcx2)){var _0xb3dcx4=_0xb3dcx13(_0xb3dcx2);_0xb3dcx3[_0x708e[761]](_0xb3dcx2,null!= _0xb3dcx4?_0xb3dcx4[_0x708e[246]]:null)}}})},release:function(_0xb3dcx2){if(null!= _0xb3dcx2&& (mxEvent[_0x708e[70]](_0xb3dcx2),_0xb3dcx2= _0xb3dcx2[_0x708e[271]],null!= _0xb3dcx2)){for(var _0xb3dcx3=_0xb3dcx2[_0x708e[67]],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3;_0xb3dcx4+= 1){mxEvent[_0x708e[762]](_0xb3dcx2[_0xb3dcx4])}}},addMouseWheelListener:function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=function(_0xb3dcx3){null== _0xb3dcx3&& (_0xb3dcx3= window[_0x708e[763]]);var _0xb3dcx5=0,_0xb3dcx5=mxClient[_0x708e[133]]&& !mxClient[_0x708e[75]]&& !mxClient[_0x708e[76]]?-_0xb3dcx3[_0x708e[764]]/ 2:_0xb3dcx3[_0x708e[765]]/ 120;0!= _0xb3dcx5&& _0xb3dcx2(_0xb3dcx3,0< _0xb3dcx5)};mxClient[_0x708e[133]]?mxEvent[_0x708e[169]](window,mxClient[_0x708e[75]]|| mxClient[_0x708e[76]]?_0x708e[766]:_0x708e[767],_0xb3dcx3):mxEvent[_0x708e[169]](document,_0x708e[766],_0xb3dcx3)}},disableContextMenu:function(){return mxClient[_0x708e[80]]&& (_0x708e[82]=== typeof document[_0x708e[5]]|| 9> document[_0x708e[5]])?function(_0xb3dcx2){mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[768],function(){return !1})}:function(_0xb3dcx2){_0xb3dcx2[_0x708e[57]](_0x708e[769],_0x708e[770])}}(),getSource:function(_0xb3dcx2){return null!= _0xb3dcx2[_0x708e[771]]?_0xb3dcx2[_0x708e[771]]:_0xb3dcx2[_0x708e[772]]},isConsumed:function(_0xb3dcx2){return null!= _0xb3dcx2[_0x708e[721]]&& _0xb3dcx2[_0x708e[721]]},isLeftMouseButton:function(_0xb3dcx2){return _0xb3dcx2[_0x708e[172]]== (mxClient[_0x708e[80]]&& (_0x708e[82]=== typeof document[_0x708e[5]]|| 9> document[_0x708e[5]])?1:0)},isRightMouseButton:function(_0xb3dcx2){return 2== _0xb3dcx2[_0x708e[172]]},isPopupTrigger:function(_0xb3dcx2){return mxEvent[_0x708e[773]](_0xb3dcx2)|| mxEvent[_0x708e[774]](_0xb3dcx2)&& !mxEvent[_0x708e[775]](_0xb3dcx2)},isShiftDown:function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[776]]:!1},isAltDown:function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[777]]:!1},isControlDown:function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[778]]:!1},isMetaDown:function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[779]]:!1},getMainEvent:function(_0xb3dcx2){(_0x708e[755]== _0xb3dcx2[_0x708e[60]]|| _0x708e[756]== _0xb3dcx2[_0x708e[60]])&& null!= _0xb3dcx2[_0x708e[780]]&& null!= _0xb3dcx2[_0x708e[780]][0]?_0xb3dcx2= _0xb3dcx2[_0x708e[780]][0]:_0x708e[757]== _0xb3dcx2[_0x708e[60]]&& (null!= _0xb3dcx2[_0x708e[781]]&& null!= _0xb3dcx2[_0x708e[781]][0])&& (_0xb3dcx2= _0xb3dcx2[_0x708e[781]][0]);return _0xb3dcx2},getClientX:function(_0xb3dcx2){return mxEvent[_0x708e[783]](_0xb3dcx2)[_0x708e[782]]},getClientY:function(_0xb3dcx2){return mxEvent[_0x708e[783]](_0xb3dcx2)[_0x708e[784]]},consume:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;if(null!= _0xb3dcx3?_0xb3dcx3:1){_0xb3dcx2[_0x708e[738]]?(_0xb3dcx4&& _0xb3dcx2[_0x708e[785]](),_0xb3dcx2[_0x708e[738]]()):_0xb3dcx4&& (_0xb3dcx2[_0x708e[786]]= !0)};_0xb3dcx2[_0x708e[721]]= !0;_0xb3dcx2[_0x708e[739]]= !1},LABEL_HANDLE:-1,ROTATION_HANDLE:-2,MOUSE_DOWN:_0x708e[787],MOUSE_MOVE:_0x708e[788],MOUSE_UP:_0x708e[789],ACTIVATE:_0x708e[790],RESIZE_START:_0x708e[791],RESIZE:_0x708e[129],RESIZE_END:_0x708e[792],MOVE_START:_0x708e[793],MOVE:_0x708e[582],MOVE_END:_0x708e[794],PAN_START:_0x708e[795],PAN:_0x708e[796],PAN_END:_0x708e[797],MINIMIZE:_0x708e[798],NORMALIZE:_0x708e[799],MAXIMIZE:_0x708e[800],HIDE:_0x708e[801],SHOW:_0x708e[539],CLOSE:_0x708e[268],DESTROY:_0x708e[515],REFRESH:_0x708e[802],SIZE:_0x708e[803],SELECT:_0x708e[804],FIRED:_0x708e[805],GET:_0x708e[203],RECEIVE:_0x708e[806],CONNECT:_0x708e[807],DISCONNECT:_0x708e[808],SUSPEND:_0x708e[809],RESUME:_0x708e[810],MARK:_0x708e[811],SESSION:_0x708e[812],ROOT:_0x708e[813],POST:_0x708e[814],OPEN:_0x708e[392],SAVE:_0x708e[815],BEFORE_ADD_VERTEX:_0x708e[816],ADD_VERTEX:_0x708e[817],AFTER_ADD_VERTEX:_0x708e[818],DONE:_0x708e[819],EXECUTE:_0x708e[350],EXECUTED:_0x708e[820],BEGIN_UPDATE:_0x708e[473],START_EDIT:_0x708e[821],END_UPDATE:_0x708e[476],END_EDIT:_0x708e[822],BEFORE_UNDO:_0x708e[823],UNDO:_0x708e[824],REDO:_0x708e[825],CHANGE:_0x708e[826],NOTIFY:_0x708e[827],LAYOUT_CELLS:_0x708e[828],CLICK:_0x708e[173],SCALE:_0x708e[255],TRANSLATE:_0x708e[513],SCALE_AND_TRANSLATE:_0x708e[829],UP:_0x708e[830],DOWN:_0x708e[831],ADD:_0x708e[99],REMOVE:_0x708e[205],CLEAR:_0x708e[200],ADD_CELLS:_0x708e[832],CELLS_ADDED:_0x708e[833],MOVE_CELLS:_0x708e[834],CELLS_MOVED:_0x708e[835],RESIZE_CELLS:_0x708e[836],CELLS_RESIZED:_0x708e[837],TOGGLE_CELLS:_0x708e[838],CELLS_TOGGLED:_0x708e[839],ORDER_CELLS:_0x708e[840],CELLS_ORDERED:_0x708e[841],REMOVE_CELLS:_0x708e[842],CELLS_REMOVED:_0x708e[843],GROUP_CELLS:_0x708e[844],UNGROUP_CELLS:_0x708e[845],REMOVE_CELLS_FROM_PARENT:_0x708e[846],FOLD_CELLS:_0x708e[847],CELLS_FOLDED:_0x708e[848],ALIGN_CELLS:_0x708e[849],LABEL_CHANGED:_0x708e[850],CONNECT_CELL:_0x708e[851],CELL_CONNECTED:_0x708e[852],SPLIT_EDGE:_0x708e[853],FLIP_EDGE:_0x708e[854],START_EDITING:_0x708e[855],ADD_OVERLAY:_0x708e[856],REMOVE_OVERLAY:_0x708e[857],UPDATE_CELL_SIZE:_0x708e[858],ESCAPE:_0x708e[859],CLICK:_0x708e[173],DOUBLE_CLICK:_0x708e[860],START:_0x708e[861],RESET:_0x708e[862]};function mxXmlRequest(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[863]]= _0xb3dcx2;this[_0x708e[864]]= _0xb3dcx3;this[_0x708e[865]]= _0xb3dcx4|| _0x708e[866];this[_0x708e[307]]= null!= _0xb3dcx5?_0xb3dcx5:!0;this[_0x708e[867]]= _0xb3dcx9;this[_0x708e[868]]= _0xb3dcxa}mxXmlRequest[_0x708e[202]][_0x708e[863]]= null;mxXmlRequest[_0x708e[202]][_0x708e[864]]= null;mxXmlRequest[_0x708e[202]][_0x708e[865]]= null;mxXmlRequest[_0x708e[202]][_0x708e[307]]= null;mxXmlRequest[_0x708e[202]][_0x708e[869]]= !1;mxXmlRequest[_0x708e[202]][_0x708e[867]]= null;mxXmlRequest[_0x708e[202]][_0x708e[868]]= null;mxXmlRequest[_0x708e[202]][_0x708e[870]]= null;mxXmlRequest[_0x708e[202]][_0x708e[871]]= function(){return this[_0x708e[869]]};mxXmlRequest[_0x708e[202]][_0x708e[872]]= function(_0xb3dcx2){this[_0x708e[869]]= _0xb3dcx2};mxXmlRequest[_0x708e[202]][_0x708e[221]]= function(){return this[_0x708e[870]][_0x708e[873]]};mxXmlRequest[_0x708e[202]][_0x708e[220]]= function(){return 4== this[_0x708e[870]][_0x708e[417]]};mxXmlRequest[_0x708e[202]][_0x708e[874]]= function(){var _0xb3dcx2=this[_0x708e[875]]();return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[158]]:null};mxXmlRequest[_0x708e[202]][_0x708e[875]]= function(){var _0xb3dcx2=this[_0x708e[870]][_0x708e[876]];if(9<= document[_0x708e[5]]|| null== _0xb3dcx2|| null== _0xb3dcx2[_0x708e[158]]){_0xb3dcx2= mxUtils[_0x708e[877]](this[_0x708e[870]][_0x708e[873]])};return _0xb3dcx2};mxXmlRequest[_0x708e[202]][_0x708e[221]]= function(){return this[_0x708e[870]][_0x708e[873]]};mxXmlRequest[_0x708e[202]][_0x708e[878]]= function(){return this[_0x708e[870]][_0x708e[879]]};mxXmlRequest[_0x708e[202]][_0x708e[385]]= function(){if(window[_0x708e[880]]){return function(){var _0xb3dcx2= new XMLHttpRequest;this[_0x708e[871]]()&& _0xb3dcx2[_0x708e[881]]&& _0xb3dcx2[_0x708e[881]](_0x708e[882]);return _0xb3dcx2}};if(_0x708e[82]!= typeof ActiveXObject){return function(){return new ActiveXObject(_0x708e[883])}}}();mxXmlRequest[_0x708e[202]][_0x708e[414]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[870]]= this[_0x708e[385]]();null!= this[_0x708e[870]]&& (null!= _0xb3dcx2&& (this[_0x708e[870]][_0x708e[416]]= mxUtils[_0x708e[885]](this,function(){this[_0x708e[220]]()&& (_0xb3dcx2(this),this[_0x708e[884]]= null)})),this[_0x708e[870]][_0x708e[392]](this[_0x708e[865]],this[_0x708e[863]],this[_0x708e[307]],this[_0x708e[867]],this[_0x708e[868]]),this[_0x708e[886]](this[_0x708e[870]],this[_0x708e[864]]),this[_0x708e[870]][_0x708e[414]](this[_0x708e[864]]))};mxXmlRequest[_0x708e[202]][_0x708e[886]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[889]](_0x708e[887],_0x708e[888])};mxXmlRequest[_0x708e[202]][_0x708e[415]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= _0xb3dcx2|| document;var _0xb3dcx4=null;_0xb3dcx2== document&& (_0xb3dcx4= window[_0x708e[890]],window[_0x708e[890]]= null);var _0xb3dcx5=_0xb3dcx2[_0x708e[55]](_0x708e[891]);_0xb3dcx5[_0x708e[57]](_0x708e[865],this[_0x708e[865]]);_0xb3dcx5[_0x708e[57]](_0x708e[892],this[_0x708e[863]]);null!= _0xb3dcx3&& _0xb3dcx5[_0x708e[57]](_0x708e[772],_0xb3dcx3);_0xb3dcx5[_0x708e[124]][_0x708e[495]]= _0x708e[130];_0xb3dcx5[_0x708e[124]][_0x708e[187]]= _0x708e[188];for(var _0xb3dcx9=0< this[_0x708e[864]][_0x708e[2]](_0x708e[893])?this[_0x708e[864]][_0x708e[224]](_0x708e[893]):this[_0x708e[864]][_0x708e[224]](),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx9[_0xb3dcxa][_0x708e[2]](_0x708e[226]);if(0< _0xb3dcx12){var _0xb3dcx13=_0xb3dcx9[_0xb3dcxa][_0x708e[85]](0,_0xb3dcx12),_0xb3dcx14=_0xb3dcx9[_0xb3dcxa][_0x708e[85]](_0xb3dcx12+ 1),_0xb3dcx12=_0xb3dcx2[_0x708e[55]](_0x708e[126]);_0xb3dcx12[_0x708e[57]](_0x708e[298],_0xb3dcx13);_0xb3dcx14= _0xb3dcx14[_0x708e[230]](/\n/g,_0x708e[336]);_0xb3dcx13= _0xb3dcx2[_0x708e[344]](_0xb3dcx14);_0xb3dcx12[_0x708e[62]](_0xb3dcx13);_0xb3dcx5[_0x708e[62]](_0xb3dcx12)}};_0xb3dcx2[_0x708e[112]][_0x708e[62]](_0xb3dcx5);_0xb3dcx5[_0x708e[894]]();_0xb3dcx2[_0x708e[112]][_0x708e[266]](_0xb3dcx5);null!= _0xb3dcx4&& (window[_0x708e[890]]= _0xb3dcx4)};var mxClipboard={STEPSIZE:10,insertCount:1,cells:null,isEmpty:function(){return null== mxClipboard[_0x708e[895]]},cut:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= mxClipboard[_0x708e[149]](_0xb3dcx2,_0xb3dcx3);mxClipboard[_0x708e[896]]= 0;mxClipboard[_0x708e[842]](_0xb3dcx2,_0xb3dcx3);return _0xb3dcx3},removeCells:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[842]](_0xb3dcx3)},copy:function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= _0xb3dcx3|| _0xb3dcx2[_0x708e[897]]();var _0xb3dcx4=_0xb3dcx2[_0x708e[898]](_0xb3dcx3);mxClipboard[_0x708e[896]]= 1;mxClipboard[_0x708e[895]]= _0xb3dcx2[_0x708e[899]](_0xb3dcx4);return _0xb3dcx4},paste:function(_0xb3dcx2){if(null!= mxClipboard[_0x708e[895]]){var _0xb3dcx3=_0xb3dcx2[_0x708e[900]](mxClipboard[_0x708e[895]]),_0xb3dcx4=mxClipboard[_0x708e[896]]* mxClipboard[_0x708e[901]],_0xb3dcx5=_0xb3dcx2[_0x708e[902]](),_0xb3dcx3=_0xb3dcx2[_0x708e[903]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx4,_0xb3dcx5);mxClipboard[_0x708e[896]]++;_0xb3dcx2[_0x708e[904]](_0xb3dcx3)}}};function mxWindow(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15){null!= _0xb3dcx3&& (_0xb3dcx12= null!= _0xb3dcx12?_0xb3dcx12:!0,this[_0x708e[905]]= _0xb3dcx3,this[_0x708e[176]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx15),this[_0x708e[906]](),this[_0x708e[907]](),this[_0x708e[908]](),this[_0x708e[909]](_0xb3dcx12),this[_0x708e[910]](_0xb3dcx2),(null== _0xb3dcx13|| _0xb3dcx13)&& this[_0x708e[911]](),null!= _0xb3dcx14&& null!= _0xb3dcx14[_0x708e[265]]?_0xb3dcx14[_0x708e[265]][_0x708e[912]](this[_0x708e[485]],_0xb3dcx14):document[_0x708e[112]][_0x708e[62]](this[_0x708e[485]]))}mxWindow[_0x708e[202]]= new mxEventSource;mxWindow[_0x708e[202]][_0x708e[196]]= mxWindow;mxWindow[_0x708e[202]][_0x708e[913]]= mxClient[_0x708e[88]]+ _0x708e[914];mxWindow[_0x708e[202]][_0x708e[915]]= mxClient[_0x708e[88]]+ _0x708e[916];mxWindow[_0x708e[202]][_0x708e[917]]= mxClient[_0x708e[88]]+ _0x708e[918];mxWindow[_0x708e[202]][_0x708e[919]]= mxClient[_0x708e[88]]+ _0x708e[920];mxWindow[_0x708e[202]][_0x708e[921]]= mxClient[_0x708e[88]]+ _0x708e[922];mxWindow[_0x708e[202]][_0x708e[189]]= !1;mxWindow[_0x708e[202]][_0x708e[905]]= !1;mxWindow[_0x708e[202]][_0x708e[923]]= new mxRectangle(0,0,50,40);mxWindow[_0x708e[202]][_0x708e[924]]= !1;mxWindow[_0x708e[202]][_0x708e[905]]= !1;mxWindow[_0x708e[202]][_0x708e[165]]= !0;mxWindow[_0x708e[202]][_0x708e[176]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx9= null!= _0xb3dcx9?_0xb3dcx9:_0x708e[925];this[_0x708e[485]]= document[_0x708e[55]](_0x708e[485]);this[_0x708e[485]][_0x708e[926]]= _0xb3dcx9;this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0xb3dcx3+ _0x708e[168];this[_0x708e[116]]= document[_0x708e[55]](_0x708e[116]);this[_0x708e[116]][_0x708e[926]]= _0xb3dcx9;null!= _0xb3dcx4&& (mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= _0xb3dcx4+ _0x708e[168]),this[_0x708e[116]][_0x708e[124]][_0x708e[117]]= _0xb3dcx4+ _0x708e[168]);null!= _0xb3dcx5&& (mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= _0xb3dcx5+ _0x708e[168]),this[_0x708e[116]][_0x708e[124]][_0x708e[119]]= _0xb3dcx5+ _0x708e[168]);_0xb3dcx2= document[_0x708e[55]](_0x708e[120]);_0xb3dcx3= document[_0x708e[55]](_0x708e[121]);this[_0x708e[924]]= document[_0x708e[55]](_0x708e[122]);this[_0x708e[924]][_0x708e[926]]= _0xb3dcx9+ _0x708e[927];_0xb3dcx3[_0x708e[62]](this[_0x708e[924]]);_0xb3dcx2[_0x708e[62]](_0xb3dcx3);_0xb3dcx3= document[_0x708e[55]](_0x708e[121]);this[_0x708e[122]]= document[_0x708e[55]](_0x708e[122]);this[_0x708e[122]][_0x708e[926]]= _0xb3dcx9+ _0x708e[928];this[_0x708e[929]]= document[_0x708e[55]](_0x708e[485]);this[_0x708e[929]][_0x708e[926]]= _0xb3dcx9+ _0x708e[928];this[_0x708e[929]][_0x708e[124]][_0x708e[117]]= _0x708e[118];this[_0x708e[929]][_0x708e[62]](this[_0x708e[905]]);if(mxClient[_0x708e[80]]|| _0x708e[529]!= this[_0x708e[905]][_0x708e[301]][_0x708e[36]]()){this[_0x708e[929]][_0x708e[124]][_0x708e[119]]= _0x708e[118]};this[_0x708e[122]][_0x708e[62]](this[_0x708e[929]]);_0xb3dcx3[_0x708e[62]](this[_0x708e[122]]);_0xb3dcx2[_0x708e[62]](_0xb3dcx3);this[_0x708e[116]][_0x708e[62]](_0xb3dcx2);this[_0x708e[485]][_0x708e[62]](this[_0x708e[116]]);_0xb3dcx9= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[790]]()});mxEvent[_0x708e[169]](this[_0x708e[924]],_0x708e[751],_0xb3dcx9);mxEvent[_0x708e[169]](this[_0x708e[116]],_0x708e[751],_0xb3dcx9);mxClient[_0x708e[754]]&& (mxEvent[_0x708e[169]](this[_0x708e[924]],_0x708e[755],_0xb3dcx9),mxEvent[_0x708e[169]](this[_0x708e[116]],_0x708e[755],_0xb3dcx9));this[_0x708e[801]]()};mxWindow[_0x708e[202]][_0x708e[910]]= function(_0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[924]][_0x708e[285]];null!= _0xb3dcx3;){var _0xb3dcx4=_0xb3dcx3[_0x708e[287]];_0xb3dcx3[_0x708e[288]]== mxConstants[_0x708e[317]]&& _0xb3dcx3[_0x708e[265]][_0x708e[266]](_0xb3dcx3);_0xb3dcx3= _0xb3dcx4};mxUtils[_0x708e[53]](this[_0x708e[924]],_0xb3dcx2|| _0x708e[110])};mxWindow[_0x708e[202]][_0x708e[162]]= function(_0xb3dcx2){0> navigator[_0x708e[3]][_0x708e[2]](_0x708e[186])&& (this[_0x708e[929]][_0x708e[124]][_0x708e[277]]= _0xb3dcx2?_0x708e[278]:_0x708e[188])};mxWindow[_0x708e[202]][_0x708e[790]]= function(){if(mxWindow[_0x708e[930]]!= this){var _0xb3dcx2=mxUtils[_0x708e[275]](this[_0x708e[166]]()),_0xb3dcx2=null!= _0xb3dcx2?_0xb3dcx2[_0x708e[931]]:3;if(mxWindow[_0x708e[930]]){var _0xb3dcx3=mxWindow[_0x708e[930]][_0x708e[166]]();null!= _0xb3dcx3&& null!= _0xb3dcx3[_0x708e[124]]&& (_0xb3dcx3[_0x708e[124]][_0x708e[931]]= _0xb3dcx2)};_0xb3dcx3= mxWindow[_0x708e[930]];this[_0x708e[166]]()[_0x708e[124]][_0x708e[931]]= parseInt(_0xb3dcx2)+ 1;mxWindow[_0x708e[930]]= this;this[_0x708e[746]]( new mxEventObject(mxEvent.ACTIVATE,_0x708e[932],_0xb3dcx3))}};mxWindow[_0x708e[202]][_0x708e[166]]= function(){return this[_0x708e[485]]};mxWindow[_0x708e[202]][_0x708e[933]]= function(){mxUtils[_0x708e[933]](this[_0x708e[485]])};mxWindow[_0x708e[202]][_0x708e[934]]= function(){return null!= this[_0x708e[129]]?_0x708e[130]!= this[_0x708e[129]][_0x708e[124]][_0x708e[495]]:!1};mxWindow[_0x708e[202]][_0x708e[163]]= function(_0xb3dcx2){_0xb3dcx2?null== this[_0x708e[129]]?(this[_0x708e[129]]= document[_0x708e[55]](_0x708e[466]),this[_0x708e[129]][_0x708e[124]][_0x708e[491]]= _0x708e[492],this[_0x708e[129]][_0x708e[124]][_0x708e[553]]= _0x708e[935],this[_0x708e[129]][_0x708e[124]][_0x708e[699]]= _0x708e[935],this[_0x708e[129]][_0x708e[57]](_0x708e[390],mxClient[_0x708e[88]]+ _0x708e[922]),this[_0x708e[129]][_0x708e[124]][_0x708e[270]]= _0x708e[936],mxEvent[_0x708e[759]](this[_0x708e[129]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[790]]();var _0xb3dcx4=mxEvent[_0x708e[731]](_0xb3dcx2),_0xb3dcx5=mxEvent[_0x708e[733]](_0xb3dcx2),_0xb3dcx9=this[_0x708e[485]][_0x708e[359]],_0xb3dcxa=this[_0x708e[485]][_0x708e[167]],_0xb3dcx12=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){var _0xb3dcx3=mxEvent[_0x708e[731]](_0xb3dcx2)- _0xb3dcx4,_0xb3dcx12=mxEvent[_0x708e[733]](_0xb3dcx2)- _0xb3dcx5;this[_0x708e[937]](_0xb3dcx9+ _0xb3dcx3,_0xb3dcxa+ _0xb3dcx12);this[_0x708e[746]]( new mxEventObject(mxEvent.RESIZE,_0x708e[763],_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx2)}),_0xb3dcx13=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){mxEvent[_0x708e[938]](document,null,_0xb3dcx12,_0xb3dcx13);this[_0x708e[746]]( new mxEventObject(mxEvent.RESIZE_END,_0x708e[763],_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx2)});mxEvent[_0x708e[759]](document,null,_0xb3dcx12,_0xb3dcx13);this[_0x708e[746]]( new mxEventObject(mxEvent.RESIZE_START,_0x708e[763],_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx2)}),null,null),this[_0x708e[485]][_0x708e[62]](this[_0x708e[129]])):this[_0x708e[129]][_0x708e[124]][_0x708e[495]]= _0x708e[497]:null!= this[_0x708e[129]]&& (this[_0x708e[129]][_0x708e[124]][_0x708e[495]]= _0x708e[130])};mxWindow[_0x708e[202]][_0x708e[937]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= Math[_0x708e[160]](this[_0x708e[923]][_0x708e[117]],_0xb3dcx2);_0xb3dcx3= Math[_0x708e[160]](this[_0x708e[923]][_0x708e[119]],_0xb3dcx3);mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= _0xb3dcx2+ _0x708e[168],this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= _0xb3dcx3+ _0x708e[168]);this[_0x708e[116]][_0x708e[124]][_0x708e[117]]= _0xb3dcx2+ _0x708e[168];this[_0x708e[116]][_0x708e[124]][_0x708e[119]]= _0xb3dcx3+ _0x708e[168];mxClient[_0x708e[80]]|| (this[_0x708e[929]][_0x708e[124]][_0x708e[119]]= this[_0x708e[485]][_0x708e[167]]- this[_0x708e[924]][_0x708e[167]]- 2+ _0x708e[168])};mxWindow[_0x708e[202]][_0x708e[909]]= function(_0xb3dcx2){this[_0x708e[798]][_0x708e[124]][_0x708e[495]]= _0xb3dcx2?_0x708e[110]:_0x708e[130]};mxWindow[_0x708e[202]][_0x708e[939]]= function(){return new mxRectangle(0,0,0,this[_0x708e[924]][_0x708e[167]])};mxWindow[_0x708e[202]][_0x708e[907]]= function(){this[_0x708e[798]]= document[_0x708e[55]](_0x708e[466]);this[_0x708e[798]][_0x708e[57]](_0x708e[390],this[_0x708e[915]]);this[_0x708e[798]][_0x708e[57]](_0x708e[611],_0x708e[699]);this[_0x708e[798]][_0x708e[57]](_0x708e[924],_0x708e[940]);this[_0x708e[798]][_0x708e[124]][_0x708e[270]]= _0x708e[356];this[_0x708e[798]][_0x708e[124]][_0x708e[941]]= _0x708e[942];this[_0x708e[798]][_0x708e[124]][_0x708e[495]]= _0x708e[130];this[_0x708e[924]][_0x708e[62]](this[_0x708e[798]]);var _0xb3dcx2=!1,_0xb3dcx3=null,_0xb3dcx4=null,_0xb3dcx5=mxUtils[_0x708e[885]](this,function(_0xb3dcx5){this[_0x708e[790]]();if(_0xb3dcx2){_0xb3dcx2= !1,this[_0x708e[798]][_0x708e[57]](_0x708e[390],this[_0x708e[915]]),this[_0x708e[798]][_0x708e[57]](_0x708e[924],_0x708e[940]),this[_0x708e[929]][_0x708e[124]][_0x708e[495]]= _0x708e[110],this[_0x708e[800]][_0x708e[124]][_0x708e[495]]= _0xb3dcx3,mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= _0xb3dcx4),this[_0x708e[116]][_0x708e[124]][_0x708e[119]]= _0xb3dcx4,null!= this[_0x708e[129]]&& (this[_0x708e[129]][_0x708e[124]][_0x708e[187]]= _0x708e[110]),this[_0x708e[746]]( new mxEventObject(mxEvent.NORMALIZE,_0x708e[763],_0xb3dcx5))}else {_0xb3dcx2= !0;this[_0x708e[798]][_0x708e[57]](_0x708e[390],this[_0x708e[917]]);this[_0x708e[798]][_0x708e[57]](_0x708e[924],_0x708e[943]);this[_0x708e[929]][_0x708e[124]][_0x708e[495]]= _0x708e[130];_0xb3dcx3= this[_0x708e[800]][_0x708e[124]][_0x708e[495]];this[_0x708e[800]][_0x708e[124]][_0x708e[495]]= _0x708e[130];_0xb3dcx4= this[_0x708e[116]][_0x708e[124]][_0x708e[119]];var _0xb3dcxa=this[_0x708e[939]]();0< _0xb3dcxa[_0x708e[119]]&& (mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= _0xb3dcxa[_0x708e[119]]+ _0x708e[168]),this[_0x708e[116]][_0x708e[124]][_0x708e[119]]= _0xb3dcxa[_0x708e[119]]+ _0x708e[168]);0< _0xb3dcxa[_0x708e[117]]&& (mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= _0xb3dcxa[_0x708e[117]]+ _0x708e[168]),this[_0x708e[116]][_0x708e[124]][_0x708e[117]]= _0xb3dcxa[_0x708e[117]]+ _0x708e[168]);null!= this[_0x708e[129]]&& (this[_0x708e[129]][_0x708e[124]][_0x708e[187]]= _0x708e[188]);this[_0x708e[746]]( new mxEventObject(mxEvent.MINIMIZE,_0x708e[763],_0xb3dcx5))};mxEvent[_0x708e[722]](_0xb3dcx5)});mxEvent[_0x708e[169]](this[_0x708e[798]],_0x708e[751],_0xb3dcx5);mxClient[_0x708e[754]]&& mxEvent[_0x708e[169]](this[_0x708e[798]],_0x708e[755],_0xb3dcx5)};mxWindow[_0x708e[202]][_0x708e[161]]= function(_0xb3dcx2){this[_0x708e[800]][_0x708e[124]][_0x708e[495]]= _0xb3dcx2?_0x708e[110]:_0x708e[130]};mxWindow[_0x708e[202]][_0x708e[906]]= function(){this[_0x708e[800]]= document[_0x708e[55]](_0x708e[466]);this[_0x708e[800]][_0x708e[57]](_0x708e[390],this[_0x708e[919]]);this[_0x708e[800]][_0x708e[57]](_0x708e[611],_0x708e[699]);this[_0x708e[800]][_0x708e[57]](_0x708e[924],_0x708e[944]);this[_0x708e[800]][_0x708e[124]][_0x708e[270]]= _0x708e[583];this[_0x708e[800]][_0x708e[124]][_0x708e[945]]= _0x708e[942];this[_0x708e[800]][_0x708e[124]][_0x708e[270]]= _0x708e[356];this[_0x708e[800]][_0x708e[124]][_0x708e[495]]= _0x708e[130];this[_0x708e[924]][_0x708e[62]](this[_0x708e[800]]);var _0xb3dcx2=!1,_0xb3dcx3=null,_0xb3dcx4=null,_0xb3dcx5=null,_0xb3dcx9=null,_0xb3dcxa=mxUtils[_0x708e[885]](this,function(_0xb3dcxa){this[_0x708e[790]]();if(_0x708e[130]!= this[_0x708e[800]][_0x708e[124]][_0x708e[495]]){if(_0xb3dcx2){_0xb3dcx2= !1;this[_0x708e[800]][_0x708e[57]](_0x708e[390],this[_0x708e[919]]);this[_0x708e[800]][_0x708e[57]](_0x708e[924],_0x708e[944]);this[_0x708e[929]][_0x708e[124]][_0x708e[495]]= _0x708e[110];this[_0x708e[798]][_0x708e[124]][_0x708e[187]]= _0x708e[110];this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx3+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0xb3dcx4+ _0x708e[168];if(!mxClient[_0x708e[80]]&& (this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= _0xb3dcx5,this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= _0xb3dcx9,_0xb3dcx13= mxUtils[_0x708e[275]](this[_0x708e[929]]),_0x708e[278]== _0xb3dcx13[_0x708e[277]]|| null!= this[_0x708e[129]])){this[_0x708e[929]][_0x708e[124]][_0x708e[119]]= this[_0x708e[485]][_0x708e[167]]- this[_0x708e[924]][_0x708e[167]]- 2+ _0x708e[168]};this[_0x708e[116]][_0x708e[124]][_0x708e[119]]= _0xb3dcx5;this[_0x708e[116]][_0x708e[124]][_0x708e[117]]= _0xb3dcx9;null!= this[_0x708e[129]]&& (this[_0x708e[129]][_0x708e[124]][_0x708e[187]]= _0x708e[110]);this[_0x708e[746]]( new mxEventObject(mxEvent.NORMALIZE,_0x708e[763],_0xb3dcxa))}else {_0xb3dcx2= !0;this[_0x708e[800]][_0x708e[57]](_0x708e[390],this[_0x708e[917]]);this[_0x708e[800]][_0x708e[57]](_0x708e[924],_0x708e[943]);this[_0x708e[929]][_0x708e[124]][_0x708e[495]]= _0x708e[110];this[_0x708e[798]][_0x708e[124]][_0x708e[187]]= _0x708e[188];_0xb3dcx3= parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[361]]);_0xb3dcx4= parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[125]]);_0xb3dcx5= this[_0x708e[116]][_0x708e[124]][_0x708e[119]];_0xb3dcx9= this[_0x708e[116]][_0x708e[124]][_0x708e[117]];this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0x708e[946];this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0x708e[946];mxClient[_0x708e[80]]|| (this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= document[_0x708e[112]][_0x708e[157]]- 2+ _0x708e[168],this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= document[_0x708e[112]][_0x708e[159]]- 2+ _0x708e[168]);this[_0x708e[116]][_0x708e[124]][_0x708e[117]]= document[_0x708e[112]][_0x708e[159]]- 2+ _0x708e[168];this[_0x708e[116]][_0x708e[124]][_0x708e[119]]= document[_0x708e[112]][_0x708e[157]]- 2+ _0x708e[168];null!= this[_0x708e[129]]&& (this[_0x708e[129]][_0x708e[124]][_0x708e[187]]= _0x708e[188]);if(!mxClient[_0x708e[80]]){var _0xb3dcx13=mxUtils[_0x708e[275]](this[_0x708e[929]]);if(_0x708e[278]== _0xb3dcx13[_0x708e[277]]|| null!= this[_0x708e[129]]){this[_0x708e[929]][_0x708e[124]][_0x708e[119]]= this[_0x708e[485]][_0x708e[167]]- this[_0x708e[924]][_0x708e[167]]- 2+ _0x708e[168]}};this[_0x708e[746]]( new mxEventObject(mxEvent.MAXIMIZE,_0x708e[763],_0xb3dcxa))};mxEvent[_0x708e[722]](_0xb3dcxa)}});mxEvent[_0x708e[759]](this[_0x708e[800]],_0xb3dcxa);mxEvent[_0x708e[169]](this[_0x708e[924]],_0x708e[760],_0xb3dcxa)};mxWindow[_0x708e[202]][_0x708e[911]]= function(){this[_0x708e[924]][_0x708e[124]][_0x708e[270]]= _0x708e[582];mxEvent[_0x708e[759]](this[_0x708e[924]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){var _0xb3dcx3=mxEvent[_0x708e[731]](_0xb3dcx2),_0xb3dcx4=mxEvent[_0x708e[733]](_0xb3dcx2),_0xb3dcx5=this[_0x708e[730]](),_0xb3dcx9=this[_0x708e[732]](),_0xb3dcxa=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){var _0xb3dcxa=mxEvent[_0x708e[731]](_0xb3dcx2)- _0xb3dcx3,_0xb3dcx12=mxEvent[_0x708e[733]](_0xb3dcx2)- _0xb3dcx4;this[_0x708e[947]](_0xb3dcx5+ _0xb3dcxa,_0xb3dcx9+ _0xb3dcx12);this[_0x708e[746]]( new mxEventObject(mxEvent.MOVE,_0x708e[763],_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx2)}),_0xb3dcx12=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){mxEvent[_0x708e[938]](document,null,_0xb3dcxa,_0xb3dcx12);this[_0x708e[746]]( new mxEventObject(mxEvent.MOVE_END,_0x708e[763],_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx2)});mxEvent[_0x708e[759]](document,null,_0xb3dcxa,_0xb3dcx12);this[_0x708e[746]]( new mxEventObject(mxEvent.MOVE_START,_0x708e[763],_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx2)}))};mxWindow[_0x708e[202]][_0x708e[947]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0xb3dcx3+ _0x708e[168]};mxWindow[_0x708e[202]][_0x708e[730]]= function(){return parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[361]])};mxWindow[_0x708e[202]][_0x708e[732]]= function(){return parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[125]])};mxWindow[_0x708e[202]][_0x708e[908]]= function(){this[_0x708e[948]]= document[_0x708e[55]](_0x708e[466]);this[_0x708e[948]][_0x708e[57]](_0x708e[390],this[_0x708e[913]]);this[_0x708e[948]][_0x708e[57]](_0x708e[611],_0x708e[699]);this[_0x708e[948]][_0x708e[57]](_0x708e[924],_0x708e[949]);this[_0x708e[948]][_0x708e[124]][_0x708e[945]]= _0x708e[935];this[_0x708e[948]][_0x708e[124]][_0x708e[270]]= _0x708e[356];this[_0x708e[948]][_0x708e[124]][_0x708e[495]]= _0x708e[130];this[_0x708e[924]][_0x708e[950]](this[_0x708e[948]],this[_0x708e[924]][_0x708e[285]]);mxEvent[_0x708e[759]](this[_0x708e[948]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[746]]( new mxEventObject(mxEvent.CLOSE,_0x708e[763],_0xb3dcx2));this[_0x708e[165]]?this[_0x708e[515]]():this[_0x708e[175]](!1);mxEvent[_0x708e[722]](_0xb3dcx2)}))};mxWindow[_0x708e[202]][_0x708e[951]]= function(_0xb3dcx2){this[_0x708e[618]]= document[_0x708e[55]](_0x708e[466]);this[_0x708e[618]][_0x708e[57]](_0x708e[390],_0xb3dcx2);this[_0x708e[618]][_0x708e[57]](_0x708e[611],_0x708e[361]);this[_0x708e[618]][_0x708e[124]][_0x708e[941]]= _0x708e[952];this[_0x708e[618]][_0x708e[124]][_0x708e[945]]= _0x708e[946];this[_0x708e[618]][_0x708e[124]][_0x708e[953]]= _0x708e[954];this[_0x708e[924]][_0x708e[950]](this[_0x708e[618]],this[_0x708e[924]][_0x708e[285]])};mxWindow[_0x708e[202]][_0x708e[164]]= function(_0xb3dcx2){this[_0x708e[948]][_0x708e[124]][_0x708e[495]]= _0xb3dcx2?_0x708e[110]:_0x708e[130]};mxWindow[_0x708e[202]][_0x708e[174]]= function(){return null!= this[_0x708e[485]]?_0x708e[188]!= this[_0x708e[485]][_0x708e[124]][_0x708e[187]]:!1};mxWindow[_0x708e[202]][_0x708e[175]]= function(_0xb3dcx2){null!= this[_0x708e[485]]&& this[_0x708e[174]]()!= _0xb3dcx2&& (_0xb3dcx2?this[_0x708e[539]]():this[_0x708e[801]]())};mxWindow[_0x708e[202]][_0x708e[539]]= function(){this[_0x708e[485]][_0x708e[124]][_0x708e[187]]= _0x708e[110];this[_0x708e[790]]();var _0xb3dcx2=mxUtils[_0x708e[275]](this[_0x708e[929]]);if(!mxClient[_0x708e[80]]&& (_0x708e[278]== _0xb3dcx2[_0x708e[277]]|| null!= this[_0x708e[129]])){this[_0x708e[929]][_0x708e[124]][_0x708e[119]]= this[_0x708e[485]][_0x708e[167]]- this[_0x708e[924]][_0x708e[167]]- 2+ _0x708e[168]};this[_0x708e[746]]( new mxEventObject(mxEvent.SHOW))};mxWindow[_0x708e[202]][_0x708e[801]]= function(){this[_0x708e[485]][_0x708e[124]][_0x708e[187]]= _0x708e[188];this[_0x708e[746]]( new mxEventObject(mxEvent.HIDE))};mxWindow[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[746]]( new mxEventObject(mxEvent.DESTROY));null!= this[_0x708e[485]]&& (mxEvent[_0x708e[762]](this[_0x708e[485]]),this[_0x708e[485]][_0x708e[265]][_0x708e[266]](this[_0x708e[485]]),this[_0x708e[485]]= null);this[_0x708e[929]]= this[_0x708e[905]]= this[_0x708e[924]]= null};function mxForm(_0xb3dcx2){this[_0x708e[116]]= document[_0x708e[55]](_0x708e[116]);this[_0x708e[116]][_0x708e[926]]= _0xb3dcx2;this[_0x708e[112]]= document[_0x708e[55]](_0x708e[120]);this[_0x708e[116]][_0x708e[62]](this[_0x708e[112]])}mxForm[_0x708e[202]][_0x708e[116]]= null;mxForm[_0x708e[202]][_0x708e[112]]= !1;mxForm[_0x708e[202]][_0x708e[955]]= function(){return this[_0x708e[116]]};mxForm[_0x708e[202]][_0x708e[956]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[121]),_0xb3dcx5=document[_0x708e[55]](_0x708e[122]);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);var _0xb3dcx5=document[_0x708e[55]](_0x708e[122]),_0xb3dcx9=document[_0x708e[55]](_0x708e[172]);mxUtils[_0x708e[53]](_0xb3dcx9,mxResources[_0x708e[203]](_0x708e[957])|| _0x708e[958]);_0xb3dcx5[_0x708e[62]](_0xb3dcx9);mxEvent[_0x708e[169]](_0xb3dcx9,_0x708e[173],function(){_0xb3dcx2()});_0xb3dcx9= document[_0x708e[55]](_0x708e[172]);mxUtils[_0x708e[53]](_0xb3dcx9,mxResources[_0x708e[203]](_0x708e[959])|| _0x708e[960]);_0xb3dcx5[_0x708e[62]](_0xb3dcx9);mxEvent[_0x708e[169]](_0xb3dcx9,_0x708e[173],function(){_0xb3dcx3()});_0xb3dcx4[_0x708e[62]](_0xb3dcx5);this[_0x708e[112]][_0x708e[62]](_0xb3dcx4)};mxForm[_0x708e[202]][_0x708e[961]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[962]);_0xb3dcx4[_0x708e[57]](_0x708e[60],_0x708e[963]);_0xb3dcx4[_0x708e[131]]= _0xb3dcx3;return this[_0x708e[964]](_0xb3dcx2,_0xb3dcx4)};mxForm[_0x708e[202]][_0x708e[965]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[962]);_0xb3dcx4[_0x708e[57]](_0x708e[60],_0x708e[966]);this[_0x708e[964]](_0xb3dcx2,_0xb3dcx4);_0xb3dcx3&& (_0xb3dcx4[_0x708e[967]]= !0);return _0xb3dcx4};mxForm[_0x708e[202]][_0x708e[968]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=document[_0x708e[55]](_0x708e[126]);mxClient[_0x708e[133]]&& _0xb3dcx4--;_0xb3dcx5[_0x708e[57]](_0x708e[969],_0xb3dcx4|| 2);_0xb3dcx5[_0x708e[131]]= _0xb3dcx3;return this[_0x708e[964]](_0xb3dcx2,_0xb3dcx5)};mxForm[_0x708e[202]][_0x708e[970]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=document[_0x708e[55]](_0x708e[804]);null!= _0xb3dcx4&& _0xb3dcx5[_0x708e[57]](_0x708e[803],_0xb3dcx4);_0xb3dcx3&& _0xb3dcx5[_0x708e[57]](_0x708e[971],_0x708e[128]);return this[_0x708e[964]](_0xb3dcx2,_0xb3dcx5)};mxForm[_0x708e[202]][_0x708e[972]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=document[_0x708e[55]](_0x708e[973]);mxUtils[_0x708e[171]](_0xb3dcx9,_0xb3dcx3);_0xb3dcx9[_0x708e[57]](_0x708e[131],_0xb3dcx4);_0xb3dcx5&& _0xb3dcx9[_0x708e[57]](_0x708e[974],_0xb3dcx5);_0xb3dcx2[_0x708e[62]](_0xb3dcx9)};mxForm[_0x708e[202]][_0x708e[964]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[121]),_0xb3dcx5=document[_0x708e[55]](_0x708e[122]);mxUtils[_0x708e[53]](_0xb3dcx5,_0xb3dcx2);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);_0xb3dcx5= document[_0x708e[55]](_0x708e[122]);_0xb3dcx5[_0x708e[62]](_0xb3dcx3);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);this[_0x708e[112]][_0x708e[62]](_0xb3dcx4);return _0xb3dcx3};function mxImage(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[390]]= _0xb3dcx2;this[_0x708e[117]]= _0xb3dcx3;this[_0x708e[119]]= _0xb3dcx4}mxImage[_0x708e[202]][_0x708e[390]]= null;mxImage[_0x708e[202]][_0x708e[117]]= null;mxImage[_0x708e[202]][_0x708e[119]]= null;function mxDivResizer(_0xb3dcx2,_0xb3dcx3){if(_0x708e[485]== _0xb3dcx2[_0x708e[301]][_0x708e[216]]()){null== _0xb3dcx3&& (_0xb3dcx3= window);this[_0x708e[485]]= _0xb3dcx2;var _0xb3dcx4=mxUtils[_0x708e[275]](_0xb3dcx2);null!= _0xb3dcx4&& (this[_0x708e[975]]= _0x708e[278]== _0xb3dcx4[_0x708e[117]],this[_0x708e[976]]= _0x708e[278]== _0xb3dcx4[_0x708e[119]]);mxEvent[_0x708e[169]](_0xb3dcx3,_0x708e[129],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[977]]|| (this[_0x708e[977]]= !0,this[_0x708e[129]](),this[_0x708e[977]]= !1)}));this[_0x708e[129]]()}}mxDivResizer[_0x708e[202]][_0x708e[975]]= !0;mxDivResizer[_0x708e[202]][_0x708e[976]]= !0;mxDivResizer[_0x708e[202]][_0x708e[977]]= !1;mxDivResizer[_0x708e[202]][_0x708e[129]]= function(){var _0xb3dcx2=this[_0x708e[978]](),_0xb3dcx3=this[_0x708e[979]](),_0xb3dcx4=parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[361]]),_0xb3dcx5=parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[699]]),_0xb3dcx9=parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[125]]),_0xb3dcxa=parseInt(this[_0x708e[485]][_0x708e[124]][_0x708e[553]]);this[_0x708e[975]]&& (!isNaN(_0xb3dcx4)&& !isNaN(_0xb3dcx5)&& 0<= _0xb3dcx4&& 0<= _0xb3dcx5&& 0< _0xb3dcx2- _0xb3dcx5- _0xb3dcx4)&& (this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= _0xb3dcx2- _0xb3dcx5- _0xb3dcx4+ _0x708e[168]);this[_0x708e[976]]&& (!isNaN(_0xb3dcx9)&& !isNaN(_0xb3dcxa)&& 0<= _0xb3dcx9&& 0<= _0xb3dcxa&& 0< _0xb3dcx3- _0xb3dcx9- _0xb3dcxa)&& (this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= _0xb3dcx3- _0xb3dcx9- _0xb3dcxa+ _0x708e[168])};mxDivResizer[_0x708e[202]][_0x708e[978]]= function(){return document[_0x708e[112]][_0x708e[159]]};mxDivResizer[_0x708e[202]][_0x708e[979]]= function(){return document[_0x708e[112]][_0x708e[157]]};function mxDragSource(_0xb3dcx2,_0xb3dcx3){this[_0x708e[980]]= _0xb3dcx2;this[_0x708e[981]]= _0xb3dcx3;mxEvent[_0x708e[759]](_0xb3dcx2,mxUtils[_0x708e[885]](this,this[_0x708e[787]]))}mxDragSource[_0x708e[202]][_0x708e[980]]= null;mxDragSource[_0x708e[202]][_0x708e[981]]= null;mxDragSource[_0x708e[202]][_0x708e[559]]= null;mxDragSource[_0x708e[202]][_0x708e[982]]= null;mxDragSource[_0x708e[202]][_0x708e[983]]= null;mxDragSource[_0x708e[202]][_0x708e[984]]= !0;mxDragSource[_0x708e[202]][_0x708e[985]]= null;mxDragSource[_0x708e[202]][_0x708e[986]]= null;mxDragSource[_0x708e[202]][_0x708e[987]]= null;mxDragSource[_0x708e[202]][_0x708e[988]]= null;mxDragSource[_0x708e[202]][_0x708e[989]]= null;mxDragSource[_0x708e[202]][_0x708e[561]]= !0;mxDragSource[_0x708e[202]][_0x708e[990]]= !0;mxDragSource[_0x708e[202]][_0x708e[991]]= !0;mxDragSource[_0x708e[202]][_0x708e[563]]= !0;mxDragSource[_0x708e[202]][_0x708e[992]]= 100;mxDragSource[_0x708e[202]][_0x708e[993]]= 70;mxDragSource[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxDragSource[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxDragSource[_0x708e[202]][_0x708e[996]]= function(){return this[_0x708e[990]]};mxDragSource[_0x708e[202]][_0x708e[562]]= function(_0xb3dcx2){this[_0x708e[990]]= _0xb3dcx2};mxDragSource[_0x708e[202]][_0x708e[997]]= function(){return this[_0x708e[991]]};mxDragSource[_0x708e[202]][_0x708e[998]]= function(_0xb3dcx2){this[_0x708e[991]]= _0xb3dcx2};mxDragSource[_0x708e[202]][_0x708e[565]]= function(_0xb3dcx2){return null};mxDragSource[_0x708e[202]][_0x708e[564]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx2[_0x708e[999]](_0xb3dcx3,_0xb3dcx4)};mxDragSource[_0x708e[202]][_0x708e[566]]= function(_0xb3dcx2){return this[_0x708e[980]][_0x708e[511]](!0)};mxDragSource[_0x708e[202]][_0x708e[567]]= function(_0xb3dcx2){return null};mxDragSource[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2){this[_0x708e[984]]&& (!mxEvent[_0x708e[721]](_0xb3dcx2)&& null== this[_0x708e[1000]])&& (this[_0x708e[1001]](_0xb3dcx2),this[_0x708e[1000]]= mxUtils[_0x708e[885]](this,this[_0x708e[788]]),this[_0x708e[1002]]= mxUtils[_0x708e[885]](this,this[_0x708e[789]]),mxEvent[_0x708e[759]](document,null,this[_0x708e[1000]],this[_0x708e[1002]]),mxEvent[_0x708e[722]](_0xb3dcx2,!0,!1))};mxDragSource[_0x708e[202]][_0x708e[1001]]= function(_0xb3dcx2){this[_0x708e[982]]= this[_0x708e[566]](_0xb3dcx2);this[_0x708e[982]][_0x708e[124]][_0x708e[491]]= _0x708e[492];this[_0x708e[982]][_0x708e[124]][_0x708e[931]]= this[_0x708e[992]];mxUtils[_0x708e[254]](this[_0x708e[982]],this[_0x708e[993]])};mxDragSource[_0x708e[202]][_0x708e[1003]]= function(_0xb3dcx2){null!= this[_0x708e[982]]&& (null!= this[_0x708e[982]][_0x708e[265]]&& this[_0x708e[982]][_0x708e[265]][_0x708e[266]](this[_0x708e[982]]),this[_0x708e[982]]= null)};mxDragSource[_0x708e[202]][_0x708e[1004]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxEvent[_0x708e[731]](_0xb3dcx3),_0xb3dcx5=mxEvent[_0x708e[733]](_0xb3dcx3),_0xb3dcx9=mxUtils[_0x708e[445]](_0xb3dcx2[_0x708e[526]]),_0xb3dcxa=mxUtils[_0x708e[444]]();return _0xb3dcx4>= _0xb3dcx9[_0x708e[235]]- _0xb3dcxa[_0x708e[235]]&& _0xb3dcx5>= _0xb3dcx9[_0x708e[236]]- _0xb3dcxa[_0x708e[236]]&& _0xb3dcx4<= _0xb3dcx9[_0x708e[235]]- _0xb3dcxa[_0x708e[235]]+ _0xb3dcx2[_0x708e[526]][_0x708e[359]]&& _0xb3dcx5<= _0xb3dcx9[_0x708e[236]]- _0xb3dcxa[_0x708e[236]]+ _0xb3dcx2[_0x708e[526]][_0x708e[167]]};mxDragSource[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[565]](_0xb3dcx2);null!= _0xb3dcx3&& !this[_0x708e[1004]](_0xb3dcx3,_0xb3dcx2)&& (_0xb3dcx3= null);_0xb3dcx3!= this[_0x708e[985]]&& (null!= this[_0x708e[985]]&& this[_0x708e[1005]](this[_0x708e[985]]),this[_0x708e[985]]= _0xb3dcx3,null!= this[_0x708e[985]]&& this[_0x708e[1006]](this[_0x708e[985]]));null!= this[_0x708e[985]]&& this[_0x708e[1007]](this[_0x708e[985]],_0xb3dcx2);if(null!= this[_0x708e[982]]&& (null== this[_0x708e[983]]|| _0x708e[189]!= this[_0x708e[983]][_0x708e[124]][_0x708e[187]])){var _0xb3dcx3=mxEvent[_0x708e[731]](_0xb3dcx2),_0xb3dcx4=mxEvent[_0x708e[733]](_0xb3dcx2);null== this[_0x708e[982]][_0x708e[265]]&& document[_0x708e[112]][_0x708e[62]](this[_0x708e[982]]);this[_0x708e[982]][_0x708e[124]][_0x708e[187]]= _0x708e[189];null!= this[_0x708e[559]]&& (_0xb3dcx3+= this[_0x708e[559]][_0x708e[235]],_0xb3dcx4+= this[_0x708e[559]][_0x708e[236]]);_0xb3dcx3+= document[_0x708e[112]][_0x708e[360]]|| document[_0x708e[158]][_0x708e[360]];_0xb3dcx4+= document[_0x708e[112]][_0x708e[190]]|| document[_0x708e[158]][_0x708e[190]];this[_0x708e[982]][_0x708e[124]][_0x708e[361]]= _0xb3dcx3+ _0x708e[168];this[_0x708e[982]][_0x708e[124]][_0x708e[125]]= _0xb3dcx4+ _0x708e[168]}else {null!= this[_0x708e[982]]&& (this[_0x708e[982]][_0x708e[124]][_0x708e[187]]= _0x708e[188])};mxEvent[_0x708e[722]](_0xb3dcx2)};mxDragSource[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2){if(null!= this[_0x708e[985]]){if(null!= this[_0x708e[987]]&& (null== this[_0x708e[983]]|| _0x708e[188]!= this[_0x708e[983]][_0x708e[124]][_0x708e[187]])){var _0xb3dcx3=this[_0x708e[985]][_0x708e[441]][_0x708e[255]],_0xb3dcx4=this[_0x708e[985]][_0x708e[441]][_0x708e[513]];this[_0x708e[1008]](this[_0x708e[985]],_0xb3dcx2,this[_0x708e[986]],this[_0x708e[987]][_0x708e[235]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[235]],this[_0x708e[987]][_0x708e[236]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[236]])};this[_0x708e[1005]](this[_0x708e[985]])};this[_0x708e[1003]](_0xb3dcx2);mxEvent[_0x708e[938]](document,null,this[_0x708e[1000]],this[_0x708e[1002]]);this[_0x708e[985]]= this[_0x708e[1002]]= this[_0x708e[1000]]= null;mxEvent[_0x708e[722]](_0xb3dcx2)};mxDragSource[_0x708e[202]][_0x708e[1006]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[1009]]= !0;this[_0x708e[983]]= this[_0x708e[567]](_0xb3dcx2);this[_0x708e[996]]()&& null!= this[_0x708e[983]]&& (this[_0x708e[988]]= new mxGuide(_0xb3dcx2,_0xb3dcx2[_0x708e[1011]][_0x708e[1010]]()));this[_0x708e[563]]&& (this[_0x708e[989]]= new mxCellHighlight(_0xb3dcx2,mxConstants.DROP_TARGET_COLOR))};mxDragSource[_0x708e[202]][_0x708e[1005]]= function(_0xb3dcx2){this[_0x708e[987]]= this[_0x708e[986]]= null;_0xb3dcx2[_0x708e[1009]]= !1;null!= this[_0x708e[983]]&& (null!= this[_0x708e[983]][_0x708e[265]]&& this[_0x708e[983]][_0x708e[265]][_0x708e[266]](this[_0x708e[983]]),this[_0x708e[983]]= null);null!= this[_0x708e[988]]&& (this[_0x708e[988]][_0x708e[515]](),this[_0x708e[988]]= null);null!= this[_0x708e[989]]&& (this[_0x708e[989]][_0x708e[515]](),this[_0x708e[989]]= null)};mxDragSource[_0x708e[202]][_0x708e[1007]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxUtils[_0x708e[445]](_0xb3dcx2[_0x708e[526]]),_0xb3dcx5=mxUtils[_0x708e[444]](_0xb3dcx2[_0x708e[526]]),_0xb3dcx9=mxEvent[_0x708e[731]](_0xb3dcx3)- _0xb3dcx4[_0x708e[235]]+ _0xb3dcx5[_0x708e[235]],_0xb3dcx4=mxEvent[_0x708e[733]](_0xb3dcx3)- _0xb3dcx4[_0x708e[236]]+ _0xb3dcx5[_0x708e[236]];_0xb3dcx2[_0x708e[1012]]&& (null== this[_0x708e[561]]|| this[_0x708e[561]])&& _0xb3dcx2[_0x708e[1014]](_0xb3dcx9,_0xb3dcx4,_0xb3dcx2[_0x708e[1013]]);null!= this[_0x708e[989]]&& _0xb3dcx2[_0x708e[1015]]()&& (this[_0x708e[986]]= this[_0x708e[564]](_0xb3dcx2,_0xb3dcx9,_0xb3dcx4),_0xb3dcx5= _0xb3dcx2[_0x708e[249]]()[_0x708e[248]](this[_0x708e[986]]),this[_0x708e[989]][_0x708e[1016]](_0xb3dcx5));if(null!= this[_0x708e[983]]){null== this[_0x708e[983]][_0x708e[265]]&& (_0xb3dcx2[_0x708e[526]][_0x708e[62]](this[_0x708e[983]]),this[_0x708e[983]][_0x708e[124]][_0x708e[931]]= _0x708e[1017],this[_0x708e[983]][_0x708e[124]][_0x708e[491]]= _0x708e[492]);var _0xb3dcx5=this[_0x708e[997]]()&& _0xb3dcx2[_0x708e[1018]](_0xb3dcx3),_0xb3dcxa=!0;if(null!= this[_0x708e[988]]&& this[_0x708e[988]][_0x708e[1019]](_0xb3dcx3)){var _0xb3dcxa=parseInt(this[_0x708e[983]][_0x708e[124]][_0x708e[117]]),_0xb3dcx12=parseInt(this[_0x708e[983]][_0x708e[124]][_0x708e[119]]),_0xb3dcxa= new mxRectangle(0,0,_0xb3dcxa,_0xb3dcx12),_0xb3dcx4= new mxPoint(_0xb3dcx9,_0xb3dcx4),_0xb3dcx4=this[_0x708e[988]][_0x708e[582]](_0xb3dcxa,_0xb3dcx4,_0xb3dcx5),_0xb3dcxa=!1,_0xb3dcx9=_0xb3dcx4[_0x708e[235]],_0xb3dcx4=_0xb3dcx4[_0x708e[236]]}else {if(_0xb3dcx5){var _0xb3dcx5=_0xb3dcx2[_0x708e[441]][_0x708e[255]],_0xb3dcx12=_0xb3dcx2[_0x708e[441]][_0x708e[513]],_0xb3dcx13=_0xb3dcx2[_0x708e[1020]]/ 2,_0xb3dcx9=(_0xb3dcx2[_0x708e[1021]](_0xb3dcx9/ _0xb3dcx5- _0xb3dcx12[_0x708e[235]]- _0xb3dcx13)+ _0xb3dcx12[_0x708e[235]])* _0xb3dcx5,_0xb3dcx4=(_0xb3dcx2[_0x708e[1021]](_0xb3dcx4/ _0xb3dcx5- _0xb3dcx12[_0x708e[236]]- _0xb3dcx13)+ _0xb3dcx12[_0x708e[236]])* _0xb3dcx5}};null!= this[_0x708e[988]]&& _0xb3dcxa&& this[_0x708e[988]][_0x708e[801]]();null!= this[_0x708e[1022]]&& (_0xb3dcx9+= this[_0x708e[1022]][_0x708e[235]],_0xb3dcx4+= this[_0x708e[1022]][_0x708e[236]]);this[_0x708e[983]][_0x708e[124]][_0x708e[361]]= Math[_0x708e[488]](_0xb3dcx9)+ _0x708e[168];this[_0x708e[983]][_0x708e[124]][_0x708e[125]]= Math[_0x708e[488]](_0xb3dcx4)+ _0x708e[168];this[_0x708e[983]][_0x708e[124]][_0x708e[187]]= _0x708e[189]};this[_0x708e[987]]= new mxPoint(_0xb3dcx9,_0xb3dcx4)};mxDragSource[_0x708e[202]][_0x708e[1008]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){this[_0x708e[981]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[526]][_0x708e[393]]()};function mxToolbar(_0xb3dcx2){this[_0x708e[526]]= _0xb3dcx2}mxToolbar[_0x708e[202]]= new mxEventSource;mxToolbar[_0x708e[202]][_0x708e[196]]= mxToolbar;mxToolbar[_0x708e[202]][_0x708e[526]]= null;mxToolbar[_0x708e[202]][_0x708e[984]]= !0;mxToolbar[_0x708e[202]][_0x708e[1023]]= !1;mxToolbar[_0x708e[202]][_0x708e[1024]]= !0;mxToolbar[_0x708e[202]][_0x708e[1025]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=document[_0x708e[55]](null!= _0xb3dcx3?_0x708e[466]:_0x708e[172]),_0xb3dcx13=_0xb3dcx9|| (null!= _0xb3dcxa?_0x708e[1026]:_0x708e[1027]);_0xb3dcx12[_0x708e[926]]= _0xb3dcx13;_0xb3dcx12[_0x708e[57]](_0x708e[390],_0xb3dcx3);null!= _0xb3dcx2&& (null!= _0xb3dcx3?_0xb3dcx12[_0x708e[57]](_0x708e[924],_0xb3dcx2):mxUtils[_0x708e[53]](_0xb3dcx12,_0xb3dcx2));this[_0x708e[526]][_0x708e[62]](_0xb3dcx12);null!= _0xb3dcx4&& (mxEvent[_0x708e[169]](_0xb3dcx12,_0x708e[173],_0xb3dcx4),mxClient[_0x708e[754]]&& mxEvent[_0x708e[169]](_0xb3dcx12,_0x708e[757],_0xb3dcx4));_0xb3dcx2= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){null!= _0xb3dcx5?_0xb3dcx12[_0x708e[57]](_0x708e[390],_0xb3dcx3):_0xb3dcx12[_0x708e[124]][_0x708e[1028]]= _0x708e[110]});mxEvent[_0x708e[759]](_0xb3dcx12,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){null!= _0xb3dcx5?_0xb3dcx12[_0x708e[57]](_0x708e[390],_0xb3dcx5):_0xb3dcx12[_0x708e[124]][_0x708e[1028]]= _0x708e[579];if(null!= _0xb3dcxa){null== this[_0x708e[1029]]&& (this[_0x708e[1029]]= new mxPopupMenu,this[_0x708e[1029]][_0x708e[176]]());var _0xb3dcx3=this[_0x708e[1030]];this[_0x708e[1029]][_0x708e[1031]]()&& this[_0x708e[1029]][_0x708e[1032]]();_0xb3dcx3!= _0xb3dcx12&& (this[_0x708e[1030]]= _0xb3dcx12,this[_0x708e[1029]][_0x708e[1033]]= _0xb3dcxa,_0xb3dcx3= new mxPoint(_0xb3dcx12[_0x708e[358]],_0xb3dcx12[_0x708e[362]]+ _0xb3dcx12[_0x708e[167]]),this[_0x708e[1029]][_0x708e[152]](_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],null,_0xb3dcx2),this[_0x708e[1029]][_0x708e[1031]]()&& (_0xb3dcx12[_0x708e[926]]= _0xb3dcx13+ _0x708e[1034],this[_0x708e[1029]][_0x708e[1032]]= function(){mxPopupMenu[_0x708e[202]][_0x708e[1032]][_0x708e[183]](this);_0xb3dcx12[_0x708e[926]]= _0xb3dcx13;this[_0x708e[1030]]= null}))}}),null,_0xb3dcx2);mxEvent[_0x708e[169]](_0xb3dcx12,_0x708e[1035],_0xb3dcx2);return _0xb3dcx12};mxToolbar[_0x708e[202]][_0x708e[970]]= function(_0xb3dcx2){var _0xb3dcx3=document[_0x708e[55]](_0x708e[485]);_0xb3dcx3[_0x708e[124]][_0x708e[495]]= _0x708e[497];_0xb3dcx3[_0x708e[926]]= _0x708e[1036];var _0xb3dcx4=document[_0x708e[55]](_0x708e[804]);_0xb3dcx4[_0x708e[926]]= _0xb3dcx2|| _0x708e[1037];_0xb3dcx3[_0x708e[62]](_0xb3dcx4);this[_0x708e[526]][_0x708e[62]](_0xb3dcx3);return _0xb3dcx4};mxToolbar[_0x708e[202]][_0x708e[1038]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[804]);_0xb3dcx4[_0x708e[926]]= _0xb3dcx3|| _0x708e[1037];this[_0x708e[972]](_0xb3dcx4,_0xb3dcx2,null);mxEvent[_0x708e[169]](_0xb3dcx4,_0x708e[826],function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx4[_0x708e[1040]][_0xb3dcx4[_0x708e[1039]]];_0xb3dcx4[_0x708e[1039]]= 0;null!= _0xb3dcx3[_0x708e[1041]]&& _0xb3dcx3[_0x708e[1041]](_0xb3dcx2)});this[_0x708e[526]][_0x708e[62]](_0xb3dcx4);return _0xb3dcx4};mxToolbar[_0x708e[202]][_0x708e[972]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=document[_0x708e[55]](_0x708e[973]);mxUtils[_0x708e[171]](_0xb3dcx5,_0xb3dcx3);_0x708e[279]== typeof _0xb3dcx4?_0xb3dcx5[_0x708e[1041]]= _0xb3dcx4:_0xb3dcx5[_0x708e[57]](_0x708e[131],_0xb3dcx4);_0xb3dcx2[_0x708e[62]](_0xb3dcx5);return _0xb3dcx5};mxToolbar[_0x708e[202]][_0x708e[1042]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=document[_0x708e[55]](_0x708e[466]);_0xb3dcxa[_0x708e[1043]]= _0xb3dcx9|| _0x708e[1026];_0xb3dcxa[_0x708e[926]]= _0xb3dcxa[_0x708e[1043]];_0xb3dcxa[_0x708e[57]](_0x708e[390],_0xb3dcx3);_0xb3dcxa[_0x708e[1044]]= _0xb3dcx5;null!= _0xb3dcx2&& _0xb3dcxa[_0x708e[57]](_0x708e[924],_0xb3dcx2);mxEvent[_0x708e[169]](_0xb3dcxa,_0x708e[173],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1045]][_0x708e[1044]];null!= _0xb3dcx2?(this[_0x708e[1045]][_0x708e[1044]]= this[_0x708e[1045]][_0x708e[284]](_0x708e[390]),this[_0x708e[1045]][_0x708e[57]](_0x708e[390],_0xb3dcx2)):this[_0x708e[1045]][_0x708e[926]]= this[_0x708e[1045]][_0x708e[1043]];this[_0x708e[1024]]&& (this[_0x708e[1046]]= _0xb3dcxa);this[_0x708e[1045]]= _0xb3dcxa;_0xb3dcx2= _0xb3dcxa[_0x708e[1044]];null!= _0xb3dcx2?(_0xb3dcxa[_0x708e[1044]]= _0xb3dcxa[_0x708e[284]](_0x708e[390]),_0xb3dcxa[_0x708e[57]](_0x708e[390],_0xb3dcx2)):_0xb3dcxa[_0x708e[926]]= _0xb3dcxa[_0x708e[1043]]+ _0x708e[1034];this[_0x708e[746]]( new mxEventObject(mxEvent.SELECT));_0xb3dcx4()}));this[_0x708e[526]][_0x708e[62]](_0xb3dcxa);null== this[_0x708e[1046]]&& (this[_0x708e[1046]]= _0xb3dcxa,this[_0x708e[1047]](_0xb3dcxa),_0xb3dcx4());return _0xb3dcxa};mxToolbar[_0x708e[202]][_0x708e[1048]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcxa= null!= _0xb3dcxa?_0xb3dcxa:!0;var _0xb3dcx12=document[_0x708e[55]](null!= _0xb3dcx3?_0x708e[466]:_0x708e[172]);_0xb3dcx12[_0x708e[1043]]= _0xb3dcx9|| _0x708e[1026];_0xb3dcx12[_0x708e[926]]= _0xb3dcx12[_0x708e[1043]];_0xb3dcx12[_0x708e[57]](_0x708e[390],_0xb3dcx3);_0xb3dcx12[_0x708e[1044]]= _0xb3dcx5;null!= _0xb3dcx2&& _0xb3dcx12[_0x708e[57]](_0x708e[924],_0xb3dcx2);this[_0x708e[984]]&& _0xb3dcxa&& (mxEvent[_0x708e[169]](_0xb3dcx12,_0x708e[173],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1047]](_0xb3dcx12,_0xb3dcx4);this[_0x708e[1023]]= !1})),mxEvent[_0x708e[169]](_0xb3dcx12,_0x708e[760],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1047]](_0xb3dcx12,_0xb3dcx4);this[_0x708e[1023]]= !0})),null== this[_0x708e[1046]]&& (this[_0x708e[1046]]= _0xb3dcx12,this[_0x708e[1049]]= _0xb3dcx4,this[_0x708e[1047]](_0xb3dcx12,_0xb3dcx4)));this[_0x708e[526]][_0x708e[62]](_0xb3dcx12);return _0xb3dcx12};mxToolbar[_0x708e[202]][_0x708e[1047]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1045]]!= _0xb3dcx2){if(null!= this[_0x708e[1045]]){var _0xb3dcx4=this[_0x708e[1045]][_0x708e[1044]];null!= _0xb3dcx4?(this[_0x708e[1045]][_0x708e[1044]]= this[_0x708e[1045]][_0x708e[284]](_0x708e[390]),this[_0x708e[1045]][_0x708e[57]](_0x708e[390],_0xb3dcx4)):this[_0x708e[1045]][_0x708e[926]]= this[_0x708e[1045]][_0x708e[1043]]};this[_0x708e[1045]]= _0xb3dcx2;_0xb3dcx4= this[_0x708e[1045]][_0x708e[1044]];null!= _0xb3dcx4?(this[_0x708e[1045]][_0x708e[1044]]= this[_0x708e[1045]][_0x708e[284]](_0x708e[390]),this[_0x708e[1045]][_0x708e[57]](_0x708e[390],_0xb3dcx4)):this[_0x708e[1045]][_0x708e[926]]= this[_0x708e[1045]][_0x708e[1043]]+ _0x708e[1034];this[_0x708e[746]]( new mxEventObject(mxEvent.SELECT,_0x708e[279],_0xb3dcx3))}};mxToolbar[_0x708e[202]][_0x708e[1050]]= function(_0xb3dcx2){(_0xb3dcx2|| !this[_0x708e[1023]])&& this[_0x708e[1045]]!= this[_0x708e[1046]]&& this[_0x708e[1047]](this[_0x708e[1046]],this[_0x708e[1049]])};mxToolbar[_0x708e[202]][_0x708e[1051]]= function(_0xb3dcx2){return this[_0x708e[1025]](null,_0xb3dcx2,null)};mxToolbar[_0x708e[202]][_0x708e[1052]]= function(){mxUtils[_0x708e[345]](this[_0x708e[526]])};mxToolbar[_0x708e[202]][_0x708e[1053]]= function(){var _0xb3dcx2=document[_0x708e[55]](_0x708e[1054]);_0xb3dcx2[_0x708e[124]][_0x708e[941]]= _0x708e[1055];_0xb3dcx2[_0x708e[57]](_0x708e[803],_0x708e[500]);this[_0x708e[526]][_0x708e[62]](_0xb3dcx2)};mxToolbar[_0x708e[202]][_0x708e[515]]= function(){mxEvent[_0x708e[762]](this[_0x708e[526]]);this[_0x708e[1045]]= this[_0x708e[1049]]= this[_0x708e[1046]]= this[_0x708e[526]]= null;null!= this[_0x708e[1029]]&& this[_0x708e[1029]][_0x708e[515]]()};function mxSession(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[1056]]= _0xb3dcx3;this[_0x708e[1057]]= _0xb3dcx4;this[_0x708e[1058]]= _0xb3dcx5;null!= _0xb3dcx2&& (this[_0x708e[1059]]= new mxCodec,this[_0x708e[1059]][_0x708e[1060]]= function(_0xb3dcx3){return _0xb3dcx2[_0x708e[736]](_0xb3dcx3)});_0xb3dcx2[_0x708e[169]](mxEvent.NOTIFY,mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx3[_0x708e[720]](_0x708e[1061]);(null!= _0xb3dcx4&& this[_0x708e[143]]|| this[_0x708e[1062]]&& !this[_0x708e[1063]])&& this[_0x708e[827]](_0x708e[1064]+ this[_0x708e[1067]](_0xb3dcx4[_0x708e[1065]],_0xb3dcx4[_0x708e[1066]])+ _0x708e[1068])}))}mxSession[_0x708e[202]]= new mxEventSource;mxSession[_0x708e[202]][_0x708e[196]]= mxSession;mxSession[_0x708e[202]][_0x708e[251]]= null;mxSession[_0x708e[202]][_0x708e[1056]]= null;mxSession[_0x708e[202]][_0x708e[1057]]= null;mxSession[_0x708e[202]][_0x708e[1058]]= null;mxSession[_0x708e[202]][_0x708e[1059]]= null;mxSession[_0x708e[202]][_0x708e[1069]]= _0x708e[336];mxSession[_0x708e[202]][_0x708e[1070]]= !0;mxSession[_0x708e[202]][_0x708e[1071]]= !0;mxSession[_0x708e[202]][_0x708e[1072]]= 0;mxSession[_0x708e[202]][_0x708e[1073]]= 0;mxSession[_0x708e[202]][_0x708e[143]]= !1;mxSession[_0x708e[202]][_0x708e[1062]]= !1;mxSession[_0x708e[202]][_0x708e[1063]]= !1;mxSession[_0x708e[202]][_0x708e[1074]]= !1;mxSession[_0x708e[202]][_0x708e[861]]= function(){this[_0x708e[143]]?(this[_0x708e[1062]]= !0,this[_0x708e[746]]( new mxEventObject(mxEvent.CONNECT))):this[_0x708e[1062]]|| this[_0x708e[203]](this[_0x708e[1056]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1062]]= !0;this[_0x708e[746]]( new mxEventObject(mxEvent.CONNECT));this[_0x708e[1075]]()}))};mxSession[_0x708e[202]][_0x708e[809]]= function(){this[_0x708e[1062]]&& !this[_0x708e[1063]]&& (this[_0x708e[1063]]= !0,this[_0x708e[746]]( new mxEventObject(mxEvent.SUSPEND)))};mxSession[_0x708e[202]][_0x708e[810]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[1062]]&& this[_0x708e[1063]]&& (this[_0x708e[1063]]= !1,this[_0x708e[746]]( new mxEventObject(mxEvent.RESUME)),this[_0x708e[1074]]|| this[_0x708e[1075]]())};mxSession[_0x708e[202]][_0x708e[1076]]= function(_0xb3dcx2){this[_0x708e[1062]]&& (this[_0x708e[1062]]= !1);this[_0x708e[746]]( new mxEventObject(mxEvent.DISCONNECT,_0x708e[1077],_0xb3dcx2))};mxSession[_0x708e[202]][_0x708e[1075]]= function(){this[_0x708e[1062]]&& !this[_0x708e[1063]]&& null!= this[_0x708e[1057]]?(this[_0x708e[1074]]= !0,this[_0x708e[203]](this[_0x708e[1057]],mxUtils[_0x708e[885]](this,function(){this[_0x708e[1075]]()}))):this[_0x708e[1074]]= !1};mxSession[_0x708e[202]][_0x708e[827]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]&& (null!= this[_0x708e[1058]]&& (this[_0x708e[143]]?(mxLog[_0x708e[539]](),mxLog[_0x708e[143]](_0x708e[1078]+ this[_0x708e[1058]]+ _0x708e[1079]+ _0xb3dcx2)):(_0xb3dcx2= _0x708e[1080]+ _0xb3dcx2+ _0x708e[1081],this[_0x708e[1070]]&& (_0xb3dcx2= encodeURIComponent(_0xb3dcx2)),mxUtils[_0x708e[814]](this[_0x708e[1058]],_0x708e[1082]+ _0xb3dcx2,_0xb3dcx3,_0xb3dcx4))),this[_0x708e[1072]]+= _0xb3dcx2[_0x708e[67]],this[_0x708e[746]]( new mxEventObject(mxEvent.NOTIFY,_0x708e[863],this[_0x708e[1058]],_0x708e[338],_0xb3dcx2)))};mxSession[_0x708e[202]][_0x708e[203]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(_0x708e[82]!= typeof mxUtils){var _0xb3dcx5=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){null!= _0xb3dcx4?_0xb3dcx4(_0xb3dcx2):this[_0x708e[1076]](_0xb3dcx2)});mxUtils[_0x708e[203]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx4){if(_0x708e[82]!= typeof mxUtils){if(_0xb3dcx4[_0x708e[220]]()&& 404!= _0xb3dcx4[_0x708e[878]]()){if(this[_0x708e[1073]]+= _0xb3dcx4[_0x708e[221]]()[_0x708e[67]],this[_0x708e[746]]( new mxEventObject(mxEvent.GET,_0x708e[863],_0xb3dcx2,_0x708e[870],_0xb3dcx4)),this[_0x708e[1083]](_0xb3dcx4)){if(0< _0xb3dcx4[_0x708e[221]]()[_0x708e[67]]){var _0xb3dcxa=_0xb3dcx4[_0x708e[874]]();null== _0xb3dcxa?_0xb3dcx5(_0x708e[1084]+ _0xb3dcx4[_0x708e[221]]()):this[_0x708e[806]](_0xb3dcxa)};null!= _0xb3dcx3&& _0xb3dcx3(_0xb3dcx4)}}else {_0xb3dcx5(_0x708e[1085])}}}),function(_0xb3dcx2){_0xb3dcx5(_0x708e[1086])})}};mxSession[_0x708e[202]][_0x708e[1083]]= function(_0xb3dcx2){return 0> _0xb3dcx2[_0x708e[221]]()[_0x708e[2]](_0x708e[1087])};mxSession[_0x708e[202]][_0x708e[1067]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=_0x708e[110],_0xb3dcx5=_0xb3dcx3?-1:1,_0xb3dcx9=_0xb3dcx3?_0xb3dcx2[_0x708e[67]]- 1:0;0<= _0xb3dcx9&& _0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9+= _0xb3dcx5){var _0xb3dcxa=this[_0x708e[1059]][_0x708e[514]](_0xb3dcx2[_0xb3dcx9]),_0xb3dcx4=_0xb3dcx4+ mxUtils[_0x708e[875]](_0xb3dcxa,this[_0x708e[1069]])};return _0xb3dcx4};mxSession[_0x708e[202]][_0x708e[806]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[288]]== mxConstants[_0x708e[289]]){var _0xb3dcx3=_0xb3dcx2[_0x708e[284]](_0x708e[1088]);null!= _0xb3dcx3&& (this[_0x708e[251]][_0x708e[1089]]= _0xb3dcx3+ _0x708e[213]);for(_0xb3dcx3= _0xb3dcx2[_0x708e[285]];null!= _0xb3dcx3;){var _0xb3dcx4=_0xb3dcx3[_0x708e[301]][_0x708e[216]]();_0x708e[724]== _0xb3dcx4?this[_0x708e[1090]](_0xb3dcx3):_0x708e[1091]== _0xb3dcx4&& this[_0x708e[1092]](_0xb3dcx3);_0xb3dcx3= _0xb3dcx3[_0x708e[287]]};this[_0x708e[746]]( new mxEventObject(mxEvent.RECEIVE,_0x708e[252],_0xb3dcx2))}};mxSession[_0x708e[202]][_0x708e[1090]]= function(_0xb3dcx2){( new mxCodec(_0xb3dcx2[_0x708e[295]]))[_0x708e[1093]](_0xb3dcx2[_0x708e[285]],this[_0x708e[251]])};mxSession[_0x708e[202]][_0x708e[1092]]= function(_0xb3dcx2){for(_0xb3dcx2= _0xb3dcx2[_0x708e[285]];null!= _0xb3dcx2;){_0x708e[1061]== _0xb3dcx2[_0x708e[301]]&& this[_0x708e[1094]](_0xb3dcx2),_0xb3dcx2= _0xb3dcx2[_0x708e[287]]}};mxSession[_0x708e[202]][_0x708e[1094]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1095]](_0xb3dcx2);if(0< _0xb3dcx2[_0x708e[67]]){var _0xb3dcx3=this[_0x708e[1096]](_0xb3dcx2);this[_0x708e[251]][_0x708e[746]]( new mxEventObject(mxEvent.CHANGE,_0x708e[1061],_0xb3dcx3,_0x708e[1065],_0xb3dcx2));this[_0x708e[251]][_0x708e[746]]( new mxEventObject(mxEvent.UNDO,_0x708e[1061],_0xb3dcx3));this[_0x708e[746]]( new mxEventObject(mxEvent.FIRED,_0x708e[1061],_0xb3dcx3))}};mxSession[_0x708e[202]][_0x708e[1096]]= function(_0xb3dcx2){var _0xb3dcx3= new mxUndoableEdit(this[_0x708e[251]],this[_0x708e[1071]]);_0xb3dcx3[_0x708e[1065]]= _0xb3dcx2;_0xb3dcx3[_0x708e[827]]= function(){_0xb3dcx3[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.CHANGE,_0x708e[1061],_0xb3dcx3,_0x708e[1065],_0xb3dcx3[_0x708e[1065]]));_0xb3dcx3[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.NOTIFY,_0x708e[1061],_0xb3dcx3,_0x708e[1065],_0xb3dcx3[_0x708e[1065]]))};return _0xb3dcx3};mxSession[_0x708e[202]][_0x708e[1095]]= function(_0xb3dcx2){this[_0x708e[1059]][_0x708e[395]]= _0xb3dcx2[_0x708e[295]];var _0xb3dcx3=[];for(_0xb3dcx2= _0xb3dcx2[_0x708e[285]];null!= _0xb3dcx2;){var _0xb3dcx4=this[_0x708e[1098]](_0xb3dcx2);null!= _0xb3dcx4&& _0xb3dcx3[_0x708e[207]](_0xb3dcx4);_0xb3dcx2= _0xb3dcx2[_0x708e[287]]};return _0xb3dcx3};mxSession[_0x708e[202]][_0x708e[1098]]= function(_0xb3dcx2){var _0xb3dcx3=null;_0xb3dcx2[_0x708e[288]]== mxConstants[_0x708e[289]]&& (_0xb3dcx3= _0x708e[1099]== _0xb3dcx2[_0x708e[301]]?( new mxCodec(_0xb3dcx2[_0x708e[295]]))[_0x708e[1093]](_0xb3dcx2):this[_0x708e[1059]][_0x708e[1093]](_0xb3dcx2),null!= _0xb3dcx3&& (_0xb3dcx3[_0x708e[251]]= this[_0x708e[251]],_0xb3dcx3[_0x708e[350]](),_0x708e[1100]== _0xb3dcx2[_0x708e[301]]&& null== _0xb3dcx3[_0x708e[1101]]&& this[_0x708e[1102]](_0xb3dcx3[_0x708e[247]])));return _0xb3dcx3};mxSession[_0x708e[202]][_0x708e[1102]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1059]][_0x708e[1104]](_0xb3dcx2[_0x708e[1103]](),_0xb3dcx2);for(var _0xb3dcx4=this[_0x708e[251]][_0x708e[262]](_0xb3dcx2),_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4;_0xb3dcx5++){this[_0x708e[1102]](this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx5))}};function mxUndoableEdit(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1097]]= _0xb3dcx2;this[_0x708e[1065]]= [];this[_0x708e[1105]]= null!= _0xb3dcx3?_0xb3dcx3:!0}mxUndoableEdit[_0x708e[202]][_0x708e[1097]]= null;mxUndoableEdit[_0x708e[202]][_0x708e[1065]]= null;mxUndoableEdit[_0x708e[202]][_0x708e[1105]]= null;mxUndoableEdit[_0x708e[202]][_0x708e[1066]]= !1;mxUndoableEdit[_0x708e[202]][_0x708e[1106]]= !1;mxUndoableEdit[_0x708e[202]][_0x708e[1107]]= function(){return 0== this[_0x708e[1065]][_0x708e[67]]};mxUndoableEdit[_0x708e[202]][_0x708e[1108]]= function(){return this[_0x708e[1105]]};mxUndoableEdit[_0x708e[202]][_0x708e[99]]= function(_0xb3dcx2){this[_0x708e[1065]][_0x708e[207]](_0xb3dcx2)};mxUndoableEdit[_0x708e[202]][_0x708e[827]]= function(){};mxUndoableEdit[_0x708e[202]][_0x708e[1109]]= function(){};mxUndoableEdit[_0x708e[202]][_0x708e[824]]= function(){if(!this[_0x708e[1066]]){this[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0xb3dcx2=this[_0x708e[1065]][_0x708e[67]]- 1;0<= _0xb3dcx2;_0xb3dcx2--){var _0xb3dcx3=this[_0x708e[1065]][_0xb3dcx2];null!= _0xb3dcx3[_0x708e[350]]?_0xb3dcx3[_0x708e[350]]():null!= _0xb3dcx3[_0x708e[824]]&& _0xb3dcx3[_0x708e[824]]();this[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.EXECUTED,_0x708e[826],_0xb3dcx3))};this[_0x708e[1066]]= !0;this[_0x708e[1106]]= !1;this[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0x708e[827]]()};mxUndoableEdit[_0x708e[202]][_0x708e[825]]= function(){if(!this[_0x708e[1106]]){this[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.START_EDIT));for(var _0xb3dcx2=this[_0x708e[1065]][_0x708e[67]],_0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2;_0xb3dcx3++){var _0xb3dcx4=this[_0x708e[1065]][_0xb3dcx3];null!= _0xb3dcx4[_0x708e[350]]?_0xb3dcx4[_0x708e[350]]():null!= _0xb3dcx4[_0x708e[825]]&& _0xb3dcx4[_0x708e[825]]();this[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.EXECUTED,_0x708e[826],_0xb3dcx4))};this[_0x708e[1066]]= !1;this[_0x708e[1106]]= !0;this[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.END_EDIT))};this[_0x708e[827]]()};function mxUndoManager(_0xb3dcx2){this[_0x708e[803]]= null!= _0xb3dcx2?_0xb3dcx2:100;this[_0x708e[200]]()}mxUndoManager[_0x708e[202]]= new mxEventSource;mxUndoManager[_0x708e[202]][_0x708e[196]]= mxUndoManager;mxUndoManager[_0x708e[202]][_0x708e[803]]= null;mxUndoManager[_0x708e[202]][_0x708e[1110]]= null;mxUndoManager[_0x708e[202]][_0x708e[1111]]= 0;mxUndoManager[_0x708e[202]][_0x708e[1107]]= function(){return 0== this[_0x708e[1110]][_0x708e[67]]};mxUndoManager[_0x708e[202]][_0x708e[200]]= function(){this[_0x708e[1110]]= [];this[_0x708e[1111]]= 0;this[_0x708e[746]]( new mxEventObject(mxEvent.CLEAR))};mxUndoManager[_0x708e[202]][_0x708e[1112]]= function(){return 0< this[_0x708e[1111]]};mxUndoManager[_0x708e[202]][_0x708e[824]]= function(){for(;0< this[_0x708e[1111]];){var _0xb3dcx2=this[_0x708e[1110]][--this[_0x708e[1111]]];_0xb3dcx2[_0x708e[824]]();if(_0xb3dcx2[_0x708e[1108]]()){this[_0x708e[746]]( new mxEventObject(mxEvent.UNDO,_0x708e[1061],_0xb3dcx2));break}}};mxUndoManager[_0x708e[202]][_0x708e[1113]]= function(){return this[_0x708e[1111]]< this[_0x708e[1110]][_0x708e[67]]};mxUndoManager[_0x708e[202]][_0x708e[825]]= function(){for(var _0xb3dcx2=this[_0x708e[1110]][_0x708e[67]];this[_0x708e[1111]]< _0xb3dcx2;){var _0xb3dcx3=this[_0x708e[1110]][this[_0x708e[1111]]++];_0xb3dcx3[_0x708e[825]]();if(_0xb3dcx3[_0x708e[1108]]()){this[_0x708e[746]]( new mxEventObject(mxEvent.REDO,_0x708e[1061],_0xb3dcx3));break}}};mxUndoManager[_0x708e[202]][_0x708e[1114]]= function(_0xb3dcx2){this[_0x708e[330]]();0< this[_0x708e[803]]&& this[_0x708e[803]]== this[_0x708e[1110]][_0x708e[67]]&& this[_0x708e[1110]][_0x708e[1115]]();this[_0x708e[1110]][_0x708e[207]](_0xb3dcx2);this[_0x708e[1111]]= this[_0x708e[1110]][_0x708e[67]];this[_0x708e[746]]( new mxEventObject(mxEvent.ADD,_0x708e[1061],_0xb3dcx2))};mxUndoManager[_0x708e[202]][_0x708e[330]]= function(){if(this[_0x708e[1110]][_0x708e[67]]> this[_0x708e[1111]]){for(var _0xb3dcx2=this[_0x708e[1110]][_0x708e[300]](this[_0x708e[1111]],this[_0x708e[1110]][_0x708e[67]]- this[_0x708e[1111]]),_0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){_0xb3dcx2[_0xb3dcx3][_0x708e[1109]]()}}};var mxUrlConverter=function(_0xb3dcx2){var _0xb3dcx3=!0,_0xb3dcx4=null,_0xb3dcx5=null;return {isEnabled:function(){return _0xb3dcx3},setEnabled:function(_0xb3dcx2){_0xb3dcx3= _0xb3dcx2},getBaseUrl:function(){return _0xb3dcx4},setBaseUrl:function(_0xb3dcx2){_0xb3dcx4= _0xb3dcx2},getBaseDomain:function(){return _0xb3dcx4},setBaseDomain:function(_0xb3dcx2){_0xb3dcx4= _0xb3dcx2},isRelativeUrl:function(_0xb3dcx2){return _0x708e[43]!= _0xb3dcx2[_0x708e[85]](0,7)&& _0x708e[46]!= _0xb3dcx2[_0x708e[85]](0,8)&& _0x708e[1116]!= _0xb3dcx2[_0x708e[85]](0,10)},convert:function(_0xb3dcx2){if(_0xb3dcx3&& this[_0x708e[1117]](_0xb3dcx2)){if(null== _0xb3dcx4){_0xb3dcx5= location[_0x708e[1118]]+ _0x708e[1119]+ location[_0x708e[1120]];_0xb3dcx4= _0xb3dcx5+ location[_0x708e[1121]];var _0xb3dcxa=_0xb3dcx4[_0x708e[1122]](_0x708e[84]);0< _0xb3dcxa&& (_0xb3dcx4= _0xb3dcx4[_0x708e[85]](0,_0xb3dcxa+ 1))};_0xb3dcx2= _0x708e[84]== _0xb3dcx2[_0x708e[225]](0)?_0xb3dcx5+ _0xb3dcx2:_0xb3dcx4+ _0xb3dcx2};return _0xb3dcx2}}};function mxPanningManager(_0xb3dcx2){this[_0x708e[1123]]= null;this[_0x708e[1124]]= !1;this[_0x708e[1125]]= this[_0x708e[1126]]= this[_0x708e[1127]]= this[_0x708e[1128]]= this[_0x708e[1129]]= this[_0x708e[1130]]= 0;this[_0x708e[1131]]= !1;this[_0x708e[190]]= this[_0x708e[360]]= 0;this[_0x708e[1132]]= {mouseDown:function(_0xb3dcx2,_0xb3dcx3){},mouseMove:function(_0xb3dcx2,_0xb3dcx3){},mouseUp:mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1124]]&& this[_0x708e[1076]]()})};_0xb3dcx2[_0x708e[1133]](this[_0x708e[1132]]);mxEvent[_0x708e[169]](document,_0x708e[753],mxUtils[_0x708e[885]](this,function(){this[_0x708e[1124]]&& this[_0x708e[1076]]()}));var _0xb3dcx3=mxUtils[_0x708e[885]](this,function(){this[_0x708e[1131]]= mxUtils[_0x708e[1134]](_0xb3dcx2[_0x708e[526]]);this[_0x708e[360]]= _0xb3dcx2[_0x708e[526]][_0x708e[360]];this[_0x708e[190]]= _0xb3dcx2[_0x708e[526]][_0x708e[190]];return window[_0x708e[1141]](mxUtils[_0x708e[885]](this,function(){this[_0x708e[1130]]-= this[_0x708e[1126]];this[_0x708e[1129]]-= this[_0x708e[1125]];if(this[_0x708e[1131]]){var _0xb3dcx3=-_0xb3dcx2[_0x708e[526]][_0x708e[360]]- Math[_0x708e[430]](this[_0x708e[1126]]),_0xb3dcx5=-_0xb3dcx2[_0x708e[526]][_0x708e[190]]- Math[_0x708e[430]](this[_0x708e[1125]]);_0xb3dcx2[_0x708e[1135]](_0xb3dcx3,_0xb3dcx5);_0xb3dcx2[_0x708e[1136]]= this[_0x708e[360]]- _0xb3dcx2[_0x708e[526]][_0x708e[360]];_0xb3dcx2[_0x708e[1137]]= this[_0x708e[190]]- _0xb3dcx2[_0x708e[526]][_0x708e[190]];_0xb3dcx2[_0x708e[746]]( new mxEventObject(mxEvent.PAN))}else {_0xb3dcx2[_0x708e[1135]](this[_0x708e[1138]](),this[_0x708e[1139]]())}}),this[_0x708e[1140]])});this[_0x708e[1142]]= function(){return active};this[_0x708e[1138]]= function(){return Math[_0x708e[488]](this[_0x708e[1130]])};this[_0x708e[1139]]= function(){return Math[_0x708e[488]](this[_0x708e[1129]])};this[_0x708e[861]]= function(){this[_0x708e[1128]]= _0xb3dcx2[_0x708e[441]][_0x708e[513]][_0x708e[235]];this[_0x708e[1127]]= _0xb3dcx2[_0x708e[441]][_0x708e[513]][_0x708e[236]];this[_0x708e[1124]]= !0};this[_0x708e[1143]]= function(_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[1124]]|| this[_0x708e[861]]();this[_0x708e[360]]= _0xb3dcx2[_0x708e[526]][_0x708e[360]];this[_0x708e[190]]= _0xb3dcx2[_0x708e[526]][_0x708e[190]];_0xb3dcxa= null!= _0xb3dcxa?_0xb3dcxa:0;var _0xb3dcx12=_0xb3dcx2[_0x708e[526]];this[_0x708e[1126]]= _0xb3dcx4+ (null!= _0xb3dcx9?_0xb3dcx9:0)- _0xb3dcx12[_0x708e[360]]- _0xb3dcx12[_0x708e[159]];0> this[_0x708e[1126]]&& Math[_0x708e[425]](this[_0x708e[1126]])< this[_0x708e[467]]?this[_0x708e[1126]]= this[_0x708e[467]]+ this[_0x708e[1126]]:this[_0x708e[1126]]= this[_0x708e[1144]]?Math[_0x708e[160]](this[_0x708e[1126]],0):0;0== this[_0x708e[1126]]&& (this[_0x708e[1126]]= _0xb3dcx4- _0xb3dcx12[_0x708e[360]],this[_0x708e[1126]]= 0< this[_0x708e[1126]]&& this[_0x708e[1126]]< this[_0x708e[467]]?this[_0x708e[1126]]- this[_0x708e[467]]:this[_0x708e[1144]]?Math[_0x708e[243]](0,this[_0x708e[1126]]):0);this[_0x708e[1125]]= _0xb3dcx5+ _0xb3dcxa- _0xb3dcx12[_0x708e[190]]- _0xb3dcx12[_0x708e[157]];0> this[_0x708e[1125]]&& Math[_0x708e[425]](this[_0x708e[1125]])< this[_0x708e[467]]?this[_0x708e[1125]]= this[_0x708e[467]]+ this[_0x708e[1125]]:this[_0x708e[1125]]= this[_0x708e[1144]]?Math[_0x708e[160]](this[_0x708e[1125]],0):0;0== this[_0x708e[1125]]&& (this[_0x708e[1125]]= _0xb3dcx5- _0xb3dcx12[_0x708e[190]],this[_0x708e[1125]]= 0< this[_0x708e[1125]]&& this[_0x708e[1125]]< this[_0x708e[467]]?this[_0x708e[1125]]- this[_0x708e[467]]:this[_0x708e[1144]]?Math[_0x708e[243]](0,this[_0x708e[1125]]):0);0!= this[_0x708e[1126]]|| 0!= this[_0x708e[1125]]?(this[_0x708e[1126]]*= this[_0x708e[1145]],this[_0x708e[1125]]*= this[_0x708e[1145]],null== this[_0x708e[1123]]&& (this[_0x708e[1123]]= _0xb3dcx3())):null!= this[_0x708e[1123]]&& (window[_0x708e[1146]](this[_0x708e[1123]]),this[_0x708e[1123]]= null)};this[_0x708e[1076]]= function(){if(this[_0x708e[1124]]){if(this[_0x708e[1124]]= !1,null!= this[_0x708e[1123]]&& (window[_0x708e[1146]](this[_0x708e[1123]]),this[_0x708e[1123]]= null),this[_0x708e[1129]]= this[_0x708e[1130]]= 0,this[_0x708e[1131]]){_0xb3dcx2[_0x708e[1136]]= 0,_0xb3dcx2[_0x708e[1137]]= 0,_0xb3dcx2[_0x708e[746]]( new mxEventObject(mxEvent.PAN))}else {var _0xb3dcx3=_0xb3dcx2[_0x708e[1136]],_0xb3dcx5=_0xb3dcx2[_0x708e[1137]];if(0!= _0xb3dcx3|| 0!= _0xb3dcx5){_0xb3dcx2[_0x708e[1135]](0,0),_0xb3dcx2[_0x708e[441]][_0x708e[1147]](this[_0x708e[1128]]+ _0xb3dcx3/ _0xb3dcx2[_0x708e[441]][_0x708e[255]],this[_0x708e[1127]]+ _0xb3dcx5/ _0xb3dcx2[_0x708e[441]][_0x708e[255]])}}}};this[_0x708e[515]]= function(){_0xb3dcx2[_0x708e[1148]](this[_0x708e[1132]])}}mxPanningManager[_0x708e[202]][_0x708e[1145]]= 1/ 6;mxPanningManager[_0x708e[202]][_0x708e[1140]]= 10;mxPanningManager[_0x708e[202]][_0x708e[1144]]= !0;mxPanningManager[_0x708e[202]][_0x708e[467]]= 0;function mxPopupMenu(_0xb3dcx2){this[_0x708e[1033]]= _0xb3dcx2;null!= _0xb3dcx2&& this[_0x708e[176]]()}mxPopupMenu[_0x708e[202]]= new mxEventSource;mxPopupMenu[_0x708e[202]][_0x708e[196]]= mxPopupMenu;mxPopupMenu[_0x708e[202]][_0x708e[1149]]= mxClient[_0x708e[88]]+ _0x708e[1150];mxPopupMenu[_0x708e[202]][_0x708e[931]]= 10006;mxPopupMenu[_0x708e[202]][_0x708e[1033]]= null;mxPopupMenu[_0x708e[202]][_0x708e[1151]]= !1;mxPopupMenu[_0x708e[202]][_0x708e[984]]= !0;mxPopupMenu[_0x708e[202]][_0x708e[1152]]= 0;mxPopupMenu[_0x708e[202]][_0x708e[1153]]= !1;mxPopupMenu[_0x708e[202]][_0x708e[1154]]= !1;mxPopupMenu[_0x708e[202]][_0x708e[1155]]= !0;mxPopupMenu[_0x708e[202]][_0x708e[176]]= function(){this[_0x708e[116]]= document[_0x708e[55]](_0x708e[116]);this[_0x708e[116]][_0x708e[926]]= _0x708e[1156];this[_0x708e[120]]= document[_0x708e[55]](_0x708e[120]);this[_0x708e[116]][_0x708e[62]](this[_0x708e[120]]);this[_0x708e[485]]= document[_0x708e[55]](_0x708e[485]);this[_0x708e[485]][_0x708e[926]]= _0x708e[1156];this[_0x708e[485]][_0x708e[124]][_0x708e[495]]= _0x708e[497];this[_0x708e[485]][_0x708e[124]][_0x708e[931]]= this[_0x708e[931]];this[_0x708e[485]][_0x708e[62]](this[_0x708e[116]]);mxEvent[_0x708e[1157]](this[_0x708e[485]])};mxPopupMenu[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxPopupMenu[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxPopupMenu[_0x708e[202]][_0x708e[737]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[737]]()|| this[_0x708e[1151]]&& mxEvent[_0x708e[1158]](_0xb3dcx2[_0x708e[727]]())};mxPopupMenu[_0x708e[202]][_0x708e[1025]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx5= _0xb3dcx5|| this;this[_0x708e[1152]]++;_0xb3dcx5[_0x708e[1159]]&& (_0xb3dcx5[_0x708e[1160]]&& this[_0x708e[1051]](_0xb3dcx5,!0),_0xb3dcx5[_0x708e[1159]]= !1);_0xb3dcx5[_0x708e[1160]]= !0;var _0xb3dcx12=document[_0x708e[55]](_0x708e[121]);_0xb3dcx12[_0x708e[926]]= _0x708e[1161];var _0xb3dcx13=document[_0x708e[55]](_0x708e[122]);_0xb3dcx13[_0x708e[926]]= _0x708e[1162];null!= _0xb3dcx3?(_0xb3dcx9= document[_0x708e[55]](_0x708e[466]),_0xb3dcx9[_0x708e[390]]= _0xb3dcx3,_0xb3dcx13[_0x708e[62]](_0xb3dcx9)):null!= _0xb3dcx9&& (_0xb3dcx3= document[_0x708e[55]](_0x708e[485]),_0xb3dcx3[_0x708e[926]]= _0xb3dcx9,_0xb3dcx13[_0x708e[62]](_0xb3dcx3));_0xb3dcx12[_0x708e[62]](_0xb3dcx13);this[_0x708e[1155]]&& (_0xb3dcx13= document[_0x708e[55]](_0x708e[122]),_0xb3dcx13[_0x708e[926]]= _0x708e[1161]+ (null!= _0xb3dcxa&& !_0xb3dcxa?_0x708e[1163]:_0x708e[110]),mxUtils[_0x708e[53]](_0xb3dcx13,_0xb3dcx2),_0xb3dcx13[_0x708e[611]]= _0x708e[361],_0xb3dcx12[_0x708e[62]](_0xb3dcx13),_0xb3dcx2= document[_0x708e[55]](_0x708e[122]),_0xb3dcx2[_0x708e[926]]= _0x708e[1161]+ (null!= _0xb3dcxa&& !_0xb3dcxa?_0x708e[1163]:_0x708e[110]),_0xb3dcx2[_0x708e[124]][_0x708e[1164]]= _0x708e[1055],_0xb3dcx2[_0x708e[124]][_0x708e[1165]]= _0x708e[699],_0xb3dcx12[_0x708e[62]](_0xb3dcx2),null== _0xb3dcx5[_0x708e[485]]&& this[_0x708e[1166]](_0xb3dcx5));_0xb3dcx5[_0x708e[120]][_0x708e[62]](_0xb3dcx12);if(null== _0xb3dcxa|| _0xb3dcxa){mxEvent[_0x708e[759]](_0xb3dcx12,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1167]]= _0xb3dcx12;_0xb3dcx5[_0x708e[1168]]!= _0xb3dcx12&& _0xb3dcx5[_0x708e[1168]]!= _0xb3dcx5&& (null!= _0xb3dcx5[_0x708e[1168]]&& null!= _0xb3dcx5[_0x708e[1168]][_0x708e[485]][_0x708e[265]]&& this[_0x708e[1169]](_0xb3dcx5),null!= _0xb3dcx12[_0x708e[485]]&& (this[_0x708e[1170]](_0xb3dcx5,_0xb3dcx12),_0xb3dcx5[_0x708e[1168]]= _0xb3dcx12));mxEvent[_0x708e[722]](_0xb3dcx2)}),mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx5[_0x708e[1168]]!= _0xb3dcx12&& _0xb3dcx5[_0x708e[1168]]!= _0xb3dcx5&& (null!= _0xb3dcx5[_0x708e[1168]]&& null!= _0xb3dcx5[_0x708e[1168]][_0x708e[485]][_0x708e[265]]&& this[_0x708e[1169]](_0xb3dcx5),this[_0x708e[1153]]&& null!= _0xb3dcx12[_0x708e[485]]&& (this[_0x708e[1170]](_0xb3dcx5,_0xb3dcx12),_0xb3dcx5[_0x708e[1168]]= _0xb3dcx12));_0xb3dcx12[_0x708e[926]]= _0x708e[1171]}),mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1167]]== _0xb3dcx12&& (_0xb3dcx5[_0x708e[1168]]!= _0xb3dcx12&& this[_0x708e[1032]](),null!= _0xb3dcx4&& _0xb3dcx4(_0xb3dcx2));this[_0x708e[1167]]= null;mxEvent[_0x708e[722]](_0xb3dcx2)})),mxEvent[_0x708e[169]](_0xb3dcx12,_0x708e[1035],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx12[_0x708e[926]]= _0x708e[1161]}))};return _0xb3dcx12};mxPopupMenu[_0x708e[202]][_0x708e[1166]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[116]]= document[_0x708e[55]](_0x708e[116]);_0xb3dcx2[_0x708e[116]][_0x708e[926]]= _0x708e[1156];_0xb3dcx2[_0x708e[120]]= document[_0x708e[55]](_0x708e[120]);_0xb3dcx2[_0x708e[116]][_0x708e[62]](_0xb3dcx2[_0x708e[120]]);_0xb3dcx2[_0x708e[485]]= document[_0x708e[55]](_0x708e[485]);_0xb3dcx2[_0x708e[485]][_0x708e[926]]= _0x708e[1156];_0xb3dcx2[_0x708e[485]][_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx2[_0x708e[485]][_0x708e[124]][_0x708e[495]]= _0x708e[497];_0xb3dcx2[_0x708e[485]][_0x708e[124]][_0x708e[931]]= this[_0x708e[931]];_0xb3dcx2[_0x708e[485]][_0x708e[62]](_0xb3dcx2[_0x708e[116]]);var _0xb3dcx3=document[_0x708e[55]](_0x708e[466]);_0xb3dcx3[_0x708e[57]](_0x708e[390],this[_0x708e[1149]]);td= _0xb3dcx2[_0x708e[285]][_0x708e[287]][_0x708e[287]];td[_0x708e[62]](_0xb3dcx3)};mxPopupMenu[_0x708e[202]][_0x708e[1170]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx3[_0x708e[485]]){_0xb3dcx3[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2[_0x708e[485]][_0x708e[358]]+ _0xb3dcx3[_0x708e[358]]+ _0xb3dcx3[_0x708e[359]]- 1+ _0x708e[168];_0xb3dcx3[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0xb3dcx2[_0x708e[485]][_0x708e[362]]+ _0xb3dcx3[_0x708e[362]]+ _0x708e[168];document[_0x708e[112]][_0x708e[62]](_0xb3dcx3[_0x708e[485]]);var _0xb3dcx4=parseInt(_0xb3dcx3[_0x708e[485]][_0x708e[358]]),_0xb3dcx5=parseInt(_0xb3dcx3[_0x708e[485]][_0x708e[359]]),_0xb3dcx9=document[_0x708e[112]],_0xb3dcxa=document[_0x708e[158]];if(_0xb3dcx4+ _0xb3dcx5> (_0xb3dcx9[_0x708e[360]]|| _0xb3dcxa[_0x708e[360]])+ (_0xb3dcx9[_0x708e[159]]|| _0xb3dcxa[_0x708e[159]])){_0xb3dcx3[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2[_0x708e[485]][_0x708e[358]]- _0xb3dcx5+ (mxClient[_0x708e[80]]?6:-6)+ _0x708e[168]};mxUtils[_0x708e[933]](_0xb3dcx3[_0x708e[485]])}};mxPopupMenu[_0x708e[202]][_0x708e[1051]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= _0xb3dcx2|| this;if(this[_0x708e[1154]]&& !_0xb3dcx3){_0xb3dcx2[_0x708e[1159]]= !0}else {if(null!= _0xb3dcx2[_0x708e[120]]){_0xb3dcx2[_0x708e[1159]]= !1;var _0xb3dcx4=document[_0x708e[55]](_0x708e[121]),_0xb3dcx5=document[_0x708e[55]](_0x708e[122]);_0xb3dcx5[_0x708e[926]]= _0x708e[1162];_0xb3dcx5[_0x708e[124]][_0x708e[549]]= _0x708e[1172];_0xb3dcx4[_0x708e[62]](_0xb3dcx5);_0xb3dcx5= document[_0x708e[55]](_0x708e[122]);_0xb3dcx5[_0x708e[124]][_0x708e[549]]= _0x708e[1172];_0xb3dcx5[_0x708e[57]](_0x708e[1173],_0x708e[1174]);var _0xb3dcx9=document[_0x708e[55]](_0x708e[1054]);_0xb3dcx9[_0x708e[57]](_0x708e[803],_0x708e[500]);_0xb3dcx5[_0x708e[62]](_0xb3dcx9);_0xb3dcx4[_0x708e[62]](_0xb3dcx5);_0xb3dcx2[_0x708e[120]][_0x708e[62]](_0xb3dcx4)}}};mxPopupMenu[_0x708e[202]][_0x708e[152]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= this[_0x708e[485]]&& null!= this[_0x708e[120]]&& null!= this[_0x708e[1033]]){this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2+ _0x708e[168];for(this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0xb3dcx3+ _0x708e[168];null!= this[_0x708e[120]][_0x708e[285]];){mxEvent[_0x708e[762]](this[_0x708e[120]][_0x708e[285]]),this[_0x708e[120]][_0x708e[266]](this[_0x708e[120]][_0x708e[285]])};this[_0x708e[1152]]= 0;this[_0x708e[1033]](this,_0xb3dcx4,_0xb3dcx5);0< this[_0x708e[1152]]&& (this[_0x708e[1175]](),this[_0x708e[746]]( new mxEventObject(mxEvent.SHOW)))}};mxPopupMenu[_0x708e[202]][_0x708e[1031]]= function(){return null!= this[_0x708e[485]]&& this[_0x708e[485]][_0x708e[265]]== document[_0x708e[112]]};mxPopupMenu[_0x708e[202]][_0x708e[1175]]= function(){9<= document[_0x708e[5]]&& (this[_0x708e[485]][_0x708e[124]][_0x708e[347]]= _0x708e[130]);document[_0x708e[112]][_0x708e[62]](this[_0x708e[485]]);mxUtils[_0x708e[933]](this[_0x708e[485]])};mxPopupMenu[_0x708e[202]][_0x708e[1032]]= function(){null!= this[_0x708e[485]]&& (null!= this[_0x708e[485]][_0x708e[265]]&& this[_0x708e[485]][_0x708e[265]][_0x708e[266]](this[_0x708e[485]]),this[_0x708e[1169]](this),this[_0x708e[1160]]= !1)};mxPopupMenu[_0x708e[202]][_0x708e[1169]]= function(_0xb3dcx2){null!= _0xb3dcx2[_0x708e[1168]]&& (this[_0x708e[1169]](_0xb3dcx2[_0x708e[1168]]),null!= _0xb3dcx2[_0x708e[1168]][_0x708e[485]][_0x708e[265]]&& _0xb3dcx2[_0x708e[1168]][_0x708e[485]][_0x708e[265]][_0x708e[266]](_0xb3dcx2[_0x708e[1168]][_0x708e[485]]),_0xb3dcx2[_0x708e[1168]]= null)};mxPopupMenu[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[485]]&& (mxEvent[_0x708e[762]](this[_0x708e[485]]),null!= this[_0x708e[485]][_0x708e[265]]&& this[_0x708e[485]][_0x708e[265]][_0x708e[266]](this[_0x708e[485]]),this[_0x708e[485]]= null)};function mxAutoSaveManager(_0xb3dcx2){this[_0x708e[1176]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4){this[_0x708e[994]]()&& this[_0x708e[1177]](_0xb3dcx4[_0x708e[720]](_0x708e[1061])[_0x708e[1065]])});this[_0x708e[1178]](_0xb3dcx2)}mxAutoSaveManager[_0x708e[202]]= new mxEventSource;mxAutoSaveManager[_0x708e[202]][_0x708e[196]]= mxAutoSaveManager;mxAutoSaveManager[_0x708e[202]][_0x708e[1179]]= null;mxAutoSaveManager[_0x708e[202]][_0x708e[1180]]= 10;mxAutoSaveManager[_0x708e[202]][_0x708e[1181]]= 2;mxAutoSaveManager[_0x708e[202]][_0x708e[1182]]= 5;mxAutoSaveManager[_0x708e[202]][_0x708e[1183]]= 0;mxAutoSaveManager[_0x708e[202]][_0x708e[1184]]= 0;mxAutoSaveManager[_0x708e[202]][_0x708e[984]]= !0;mxAutoSaveManager[_0x708e[202]][_0x708e[1176]]= null;mxAutoSaveManager[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxAutoSaveManager[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxAutoSaveManager[_0x708e[202]][_0x708e[1178]]= function(_0xb3dcx2){null!= this[_0x708e[1179]]&& this[_0x708e[1179]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[1176]]);this[_0x708e[1179]]= _0xb3dcx2;null!= this[_0x708e[1179]]&& this[_0x708e[1179]][_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,this[_0x708e[1176]])};mxAutoSaveManager[_0x708e[202]][_0x708e[815]]= function(){};mxAutoSaveManager[_0x708e[202]][_0x708e[1177]]= function(_0xb3dcx2){_0xb3dcx2= (( new Date)[_0x708e[178]]()- this[_0x708e[1184]])/ 1E3;_0xb3dcx2> this[_0x708e[1180]]|| this[_0x708e[1183]]>= this[_0x708e[1182]]&& _0xb3dcx2> this[_0x708e[1181]]?(this[_0x708e[815]](),this[_0x708e[862]]()):this[_0x708e[1183]]++};mxAutoSaveManager[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[1184]]= ( new Date)[_0x708e[178]]();this[_0x708e[1183]]= 0};mxAutoSaveManager[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1178]](null)};function mxAnimation(_0xb3dcx2){this[_0x708e[1140]]= null!= _0xb3dcx2?_0xb3dcx2:20}mxAnimation[_0x708e[202]]= new mxEventSource;mxAnimation[_0x708e[202]][_0x708e[196]]= mxAnimation;mxAnimation[_0x708e[202]][_0x708e[1140]]= null;mxAnimation[_0x708e[202]][_0x708e[1123]]= null;mxAnimation[_0x708e[202]][_0x708e[1185]]= function(){null== this[_0x708e[1123]]&& (this[_0x708e[1123]]= window[_0x708e[1141]](mxUtils[_0x708e[885]](this,this[_0x708e[1186]]),this[_0x708e[1140]]))};mxAnimation[_0x708e[202]][_0x708e[1186]]= function(){this[_0x708e[746]]( new mxEventObject(mxEvent.EXECUTE))};mxAnimation[_0x708e[202]][_0x708e[1187]]= function(){null!= this[_0x708e[1123]]&& (window[_0x708e[1146]](this[_0x708e[1123]]),this[_0x708e[1123]]= null,this[_0x708e[746]]( new mxEventObject(mxEvent.DONE)))};function mxMorphing(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxAnimation[_0x708e[239]](this,_0xb3dcx5);this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[1188]]= null!= _0xb3dcx3?_0xb3dcx3:6;this[_0x708e[1189]]= null!= _0xb3dcx4?_0xb3dcx4:1.5}mxMorphing[_0x708e[202]]= new mxAnimation;mxMorphing[_0x708e[202]][_0x708e[196]]= mxMorphing;mxMorphing[_0x708e[202]][_0x708e[1179]]= null;mxMorphing[_0x708e[202]][_0x708e[1188]]= null;mxMorphing[_0x708e[202]][_0x708e[1190]]= 0;mxMorphing[_0x708e[202]][_0x708e[1189]]= null;mxMorphing[_0x708e[202]][_0x708e[895]]= null;mxMorphing[_0x708e[202]][_0x708e[1186]]= function(){var _0xb3dcx2= new mxCellStatePreview(this[_0x708e[1179]]);if(null!= this[_0x708e[895]]){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[895]][_0x708e[67]];_0xb3dcx3++){this[_0x708e[1191]](cells[_0xb3dcx3],_0xb3dcx2,!1)}}else {this[_0x708e[1191]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[501]](),_0xb3dcx2,!0)};this[_0x708e[539]](_0xb3dcx2);(_0xb3dcx2[_0x708e[1107]]()|| this[_0x708e[1190]]++ >= this[_0x708e[1188]])&& this[_0x708e[1187]]()};mxMorphing[_0x708e[202]][_0x708e[539]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[539]]()};mxMorphing[_0x708e[202]][_0x708e[1191]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2),_0xb3dcx9=null;if(null!= _0xb3dcx5&& (_0xb3dcx9= this[_0x708e[1192]](_0xb3dcx5),this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2)&& (0!= _0xb3dcx9[_0x708e[235]]|| 0!= _0xb3dcx9[_0x708e[236]]))){var _0xb3dcxa=this[_0x708e[1179]][_0x708e[441]][_0x708e[512]](),_0xb3dcx12=this[_0x708e[1179]][_0x708e[441]][_0x708e[518]]();_0xb3dcx9[_0x708e[235]]+= _0xb3dcxa[_0x708e[235]]* _0xb3dcx12;_0xb3dcx9[_0x708e[236]]+= _0xb3dcxa[_0x708e[236]]* _0xb3dcx12;_0xb3dcx3[_0x708e[1194]](_0xb3dcx5,-_0xb3dcx9[_0x708e[235]]/ this[_0x708e[1189]],-_0xb3dcx9[_0x708e[236]]/ this[_0x708e[1189]])};if(_0xb3dcx4&& !this[_0x708e[1195]](_0xb3dcx5,_0xb3dcx9)){_0xb3dcx5= this[_0x708e[1179]][_0x708e[502]]()[_0x708e[262]](_0xb3dcx2);for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){this[_0x708e[1191]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[263]](_0xb3dcx2,_0xb3dcx9),_0xb3dcx3,_0xb3dcx4)}}};mxMorphing[_0x708e[202]][_0x708e[1195]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx3&& (0!= _0xb3dcx3[_0x708e[235]]|| 0!= _0xb3dcx3[_0x708e[236]])};mxMorphing[_0x708e[202]][_0x708e[1192]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1196]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[512]](),_0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[518]]();_0xb3dcx2= new mxPoint(_0xb3dcx2[_0x708e[235]]/ _0xb3dcx5- _0xb3dcx4[_0x708e[235]],_0xb3dcx2[_0x708e[236]]/ _0xb3dcx5- _0xb3dcx4[_0x708e[236]]);return new mxPoint((_0xb3dcx3[_0x708e[235]]- _0xb3dcx2[_0x708e[235]])* _0xb3dcx5,(_0xb3dcx3[_0x708e[236]]- _0xb3dcx2[_0x708e[236]])* _0xb3dcx5)};mxMorphing[_0x708e[202]][_0x708e[1196]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[1196]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](_0xb3dcx2)),_0xb3dcx2= this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx2),null!= _0xb3dcx2&& (_0xb3dcx3[_0x708e[235]]+= _0xb3dcx2[_0x708e[235]],_0xb3dcx3[_0x708e[236]]+= _0xb3dcx2[_0x708e[236]]));null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[1179]][_0x708e[441]][_0x708e[512]](),_0xb3dcx3= new mxPoint(-_0xb3dcx3[_0x708e[235]],-_0xb3dcx3[_0x708e[236]]));return _0xb3dcx3};function mxImageBundle(_0xb3dcx2){this[_0x708e[1199]]= [];this[_0x708e[1200]]= null!= _0xb3dcx2?_0xb3dcx2:!1}mxImageBundle[_0x708e[202]][_0x708e[1199]]= null;mxImageBundle[_0x708e[202]][_0x708e[1199]]= null;mxImageBundle[_0x708e[202]][_0x708e[1201]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[1199]][_0xb3dcx2]= {value:_0xb3dcx3,fallback:_0xb3dcx4}};mxImageBundle[_0x708e[202]][_0x708e[1202]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[1199]][_0xb3dcx2],null!= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[1200]]?_0xb3dcx2[_0x708e[1203]]:_0xb3dcx2[_0x708e[131]]));return _0xb3dcx3};function mxImageExport(){}mxImageExport[_0x708e[202]][_0x708e[1204]]= !1;mxImageExport[_0x708e[202]][_0x708e[1205]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& (this[_0x708e[1207]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[1206]]),this[_0x708e[1204]]&& this[_0x708e[1207]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[1208]]))};mxImageExport[_0x708e[202]][_0x708e[1207]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= _0xb3dcx2){_0xb3dcx4(_0xb3dcx2,_0xb3dcx3);for(var _0xb3dcx5=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx9=_0xb3dcx5[_0x708e[251]][_0x708e[262]](_0xb3dcx2[_0x708e[246]]),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9;_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx5[_0x708e[441]][_0x708e[248]](_0xb3dcx5[_0x708e[251]][_0x708e[263]](_0xb3dcx2[_0x708e[246]],_0xb3dcxa));this[_0x708e[1207]](_0xb3dcx12,_0xb3dcx3,_0xb3dcx4)}}};mxImageExport[_0x708e[202]][_0x708e[1206]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[253]] instanceof mxShape&& (_0xb3dcx3[_0x708e[815]](),_0xb3dcx2[_0x708e[253]][_0x708e[1209]](_0xb3dcx3),_0xb3dcx3[_0x708e[1210]]());null!= _0xb3dcx2[_0x708e[963]]&& (_0xb3dcx3[_0x708e[815]](),_0xb3dcx2[_0x708e[963]][_0x708e[1209]](_0xb3dcx3),_0xb3dcx3[_0x708e[1210]]())};mxImageExport[_0x708e[202]][_0x708e[1208]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2[_0x708e[1211]]&& _0xb3dcx2[_0x708e[1211]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx5){_0xb3dcx5 instanceof mxShape&& _0xb3dcx5[_0x708e[1209]](_0xb3dcx3)})};function mxAbstractCanvas2D(){this[_0x708e[1212]]= this[_0x708e[1213]]();this[_0x708e[862]]()}mxAbstractCanvas2D[_0x708e[202]][_0x708e[724]]= null;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1214]]= null;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1215]]= null;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1216]]= !0;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1217]]= 0;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1218]]= 0;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1219]]= _0x708e[1220];mxAbstractCanvas2D[_0x708e[202]][_0x708e[1221]]= _0x708e[1222];mxAbstractCanvas2D[_0x708e[202]][_0x708e[1223]]= _0x708e[1224];mxAbstractCanvas2D[_0x708e[202]][_0x708e[1225]]= _0x708e[1226];mxAbstractCanvas2D[_0x708e[202]][_0x708e[1227]]= _0x708e[1228];mxAbstractCanvas2D[_0x708e[202]][_0x708e[1229]]= !1;mxAbstractCanvas2D[_0x708e[202]][_0x708e[1213]]= function(){return new mxUrlConverter};mxAbstractCanvas2D[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[724]]= this[_0x708e[1230]]();this[_0x708e[1214]]= []};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1230]]= function(){return {dx:0,dy:0,scale:1,alpha:1,fillColor:null,fillAlpha:1,gradientColor:null,gradientAlpha:1,gradientDirection:null,strokeColor:null,strokeWidth:1,dashed:!1,dashPattern:_0x708e[1231],lineCap:_0x708e[1232],lineJoin:_0x708e[1233],miterLimit:10,fontColor:_0x708e[1234],fontBackgroundColor:null,fontBorderColor:null,fontSize:mxConstants[_0x708e[483]],fontFamily:mxConstants[_0x708e[484]],fontStyle:0,shadow:!1,shadowColor:mxConstants[_0x708e[1235]],shadowAlpha:mxConstants[_0x708e[1236]],shadowDx:mxConstants[_0x708e[1237]],shadowDy:mxConstants[_0x708e[1238]],rotation:0,rotationCx:0,rotationCy:0}};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1239]]= function(_0xb3dcx2){return Math[_0x708e[488]](parseFloat(_0xb3dcx2))};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1240]]= function(){if(null!= this[_0x708e[1215]]&& (this[_0x708e[1215]][_0x708e[207]](arguments[0]),2< arguments[_0x708e[67]])){for(var _0xb3dcx2=this[_0x708e[724]],_0xb3dcx3=2;_0xb3dcx3< arguments[_0x708e[67]];_0xb3dcx3+= 2){this[_0x708e[1217]]= arguments[_0xb3dcx3- 1],this[_0x708e[1218]]= arguments[_0xb3dcx3],this[_0x708e[1215]][_0x708e[207]](this[_0x708e[1239]]((this[_0x708e[1217]]+ _0xb3dcx2[_0x708e[1126]])* _0xb3dcx2[_0x708e[255]])),this[_0x708e[1215]][_0x708e[207]](this[_0x708e[1239]]((this[_0x708e[1218]]+ _0xb3dcx2[_0x708e[1125]])* _0xb3dcx2[_0x708e[255]]))}}};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1241]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx4*= Math[_0x708e[424]]/ 180;return mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx2,_0xb3dcx3),Math[_0x708e[426]](_0xb3dcx4),Math[_0x708e[427]](_0xb3dcx4), new mxPoint(_0xb3dcx5,_0xb3dcx9))};mxAbstractCanvas2D[_0x708e[202]][_0x708e[815]]= function(){this[_0x708e[1214]][_0x708e[207]](this[_0x708e[724]]);this[_0x708e[724]]= mxUtils[_0x708e[238]](this[_0x708e[724]])};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1210]]= function(){this[_0x708e[724]]= this[_0x708e[1214]][_0x708e[1242]]()};mxAbstractCanvas2D[_0x708e[202]][_0x708e[255]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[255]]*= _0xb3dcx2;this[_0x708e[724]][_0x708e[610]]*= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[513]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[724]][_0x708e[1126]]+= _0xb3dcx2;this[_0x708e[724]][_0x708e[1125]]+= _0xb3dcx3};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1243]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[1244]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1245]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);this[_0x708e[724]][_0x708e[604]]= _0xb3dcx2;this[_0x708e[724]][_0x708e[606]]= null};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1246]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){_0xb3dcx4= this[_0x708e[724]];_0xb3dcx4[_0x708e[604]]= _0xb3dcx2;_0xb3dcx4[_0x708e[1247]]= null!= _0xb3dcx13?_0xb3dcx13:1;_0xb3dcx4[_0x708e[606]]= _0xb3dcx3;_0xb3dcx4[_0x708e[1248]]= null!= _0xb3dcx14?_0xb3dcx14:1;_0xb3dcx4[_0x708e[607]]= _0xb3dcx12};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1249]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);this[_0x708e[724]][_0x708e[608]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1250]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[610]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1251]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[648]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1252]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[649]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1253]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[1254]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1255]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[1256]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1257]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[1258]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1259]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);this[_0x708e[724]][_0x708e[665]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1260]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);this[_0x708e[724]][_0x708e[1261]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1262]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);this[_0x708e[724]][_0x708e[1263]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1264]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[487]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1265]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[486]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1266]]= function(_0xb3dcx2){null== _0xb3dcx2&& (_0xb3dcx2= 0);this[_0x708e[724]][_0x708e[666]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1267]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[639]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1268]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);this[_0x708e[724]][_0x708e[1269]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1270]]= function(_0xb3dcx2){this[_0x708e[724]][_0x708e[1271]]= _0xb3dcx2};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1272]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[724]][_0x708e[1273]]= _0xb3dcx2;this[_0x708e[724]][_0x708e[1274]]= _0xb3dcx3};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1275]]= function(){this[_0x708e[1218]]= this[_0x708e[1217]]= 0;this[_0x708e[1215]]= []};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1276]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1240]](this[_0x708e[1219]],_0xb3dcx2,_0xb3dcx3)};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1277]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1240]](this[_0x708e[1221]],_0xb3dcx2,_0xb3dcx3)};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1278]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[1240]](this[_0x708e[1223]],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1279]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[1240]](this[_0x708e[1225]],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa)};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1280]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){_0xb3dcx2= mxUtils[_0x708e[1281]](this[_0x708e[1217]],this[_0x708e[1218]],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12);for(_0xb3dcx3= 0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3+= 6){this[_0x708e[1279]](_0xb3dcx2[_0xb3dcx3],_0xb3dcx2[_0xb3dcx3+ 1],_0xb3dcx2[_0xb3dcx3+ 2],_0xb3dcx2[_0xb3dcx3+ 3],_0xb3dcx2[_0xb3dcx3+ 4],_0xb3dcx2[_0xb3dcx3+ 5])}};mxAbstractCanvas2D[_0x708e[202]][_0x708e[268]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[1240]](this[_0x708e[1227]])};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1282]]= function(){};function mxXmlCanvas2D(_0xb3dcx2){mxAbstractCanvas2D[_0x708e[239]](this);this[_0x708e[813]]= _0xb3dcx2;this[_0x708e[1283]]()}mxUtils[_0x708e[1284]](mxXmlCanvas2D,mxAbstractCanvas2D);mxXmlCanvas2D[_0x708e[202]][_0x708e[1285]]= !0;mxXmlCanvas2D[_0x708e[202]][_0x708e[1286]]= !0;mxXmlCanvas2D[_0x708e[202]][_0x708e[1283]]= function(){var _0xb3dcx2;_0xb3dcx2= this[_0x708e[55]](_0x708e[1287]);_0xb3dcx2[_0x708e[57]](_0x708e[1288],mxConstants.DEFAULT_FONTFAMILY);this[_0x708e[813]][_0x708e[62]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[55]](_0x708e[1289]);_0xb3dcx2[_0x708e[57]](_0x708e[803],mxConstants.DEFAULT_FONTSIZE);this[_0x708e[813]][_0x708e[62]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[55]](_0x708e[1290]);_0xb3dcx2[_0x708e[57]](_0x708e[352],mxConstants.SHADOWCOLOR);this[_0x708e[813]][_0x708e[62]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[55]](_0x708e[1291]);_0xb3dcx2[_0x708e[57]](_0x708e[1244],mxConstants.SHADOW_OPACITY);this[_0x708e[813]][_0x708e[62]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[55]](_0x708e[1292]);_0xb3dcx2[_0x708e[57]](_0x708e[1126],mxConstants.SHADOW_OFFSET_X);_0xb3dcx2[_0x708e[57]](_0x708e[1125],mxConstants.SHADOW_OFFSET_Y);this[_0x708e[813]][_0x708e[62]](_0xb3dcx2)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1239]]= function(_0xb3dcx2){return parseFloat(parseFloat(_0xb3dcx2)[_0x708e[1293]](2))};mxXmlCanvas2D[_0x708e[202]][_0x708e[55]]= function(_0xb3dcx2){return this[_0x708e[813]][_0x708e[295]][_0x708e[55]](_0xb3dcx2)};mxXmlCanvas2D[_0x708e[202]][_0x708e[815]]= function(){this[_0x708e[1286]]&& mxAbstractCanvas2D[_0x708e[202]][_0x708e[815]][_0x708e[183]](this,arguments);this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[815]))};mxXmlCanvas2D[_0x708e[202]][_0x708e[1210]]= function(){this[_0x708e[1286]]&& mxAbstractCanvas2D[_0x708e[202]][_0x708e[1210]][_0x708e[183]](this,arguments);this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[1210]))};mxXmlCanvas2D[_0x708e[202]][_0x708e[255]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[255]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1243]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[255]);_0xb3dcx3[_0x708e[57]](_0x708e[255],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[513]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[55]](_0x708e[513]);_0xb3dcx4[_0x708e[57]](_0x708e[1126],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx4[_0x708e[57]](_0x708e[1125],this[_0x708e[1239]](_0xb3dcx3));this[_0x708e[813]][_0x708e[62]](_0xb3dcx4)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1294]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=this[_0x708e[55]](_0x708e[1294]);if(0!= _0xb3dcx2|| _0xb3dcx3|| _0xb3dcx4){_0xb3dcxa[_0x708e[57]](_0x708e[1295],this[_0x708e[1239]](_0xb3dcx2)),_0xb3dcxa[_0x708e[57]](_0x708e[623],_0xb3dcx3?_0x708e[500]:_0x708e[468]),_0xb3dcxa[_0x708e[57]](_0x708e[624],_0xb3dcx4?_0x708e[500]:_0x708e[468]),_0xb3dcxa[_0x708e[57]](_0x708e[1296],this[_0x708e[1239]](_0xb3dcx5)),_0xb3dcxa[_0x708e[57]](_0x708e[1297],this[_0x708e[1239]](_0xb3dcx9)),this[_0x708e[813]][_0x708e[62]](_0xb3dcxa)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1243]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1244]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1243]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1244]);_0xb3dcx3[_0x708e[57]](_0x708e[1244],this[_0x708e[1239]](_0xb3dcx2));this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1245]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[604]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1245]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1298]);_0xb3dcx3[_0x708e[57]](_0x708e[352],null!= _0xb3dcx2?_0xb3dcx2:mxConstants[_0x708e[217]]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1246]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){if(null!= _0xb3dcx2&& null!= _0xb3dcx3){mxAbstractCanvas2D[_0x708e[202]][_0x708e[1246]][_0x708e[183]](this,arguments);var _0xb3dcx15=this[_0x708e[55]](_0x708e[1299]);_0xb3dcx15[_0x708e[57]](_0x708e[1300],_0xb3dcx2);_0xb3dcx15[_0x708e[57]](_0x708e[1301],_0xb3dcx3);_0xb3dcx15[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx15[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx5));_0xb3dcx15[_0x708e[57]](_0x708e[1302],this[_0x708e[1239]](_0xb3dcx9));_0xb3dcx15[_0x708e[57]](_0x708e[1303],this[_0x708e[1239]](_0xb3dcxa));null!= _0xb3dcx12&& _0xb3dcx15[_0x708e[57]](_0x708e[663],_0xb3dcx12);null!= _0xb3dcx13&& _0xb3dcx15[_0x708e[57]](_0x708e[1304],_0xb3dcx13);null!= _0xb3dcx14&& _0xb3dcx15[_0x708e[57]](_0x708e[1305],_0xb3dcx14);this[_0x708e[813]][_0x708e[62]](_0xb3dcx15)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1249]]= function(_0xb3dcx2){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[608]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1249]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1306]);_0xb3dcx3[_0x708e[57]](_0x708e[352],null!= _0xb3dcx2?_0xb3dcx2:mxConstants[_0x708e[217]]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1250]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[610]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1250]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1307]);_0xb3dcx3[_0x708e[57]](_0x708e[117],this[_0x708e[1239]](_0xb3dcx2));this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1251]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[648]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1251]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[648]);_0xb3dcx3[_0x708e[57]](_0x708e[648],_0xb3dcx2?_0x708e[500]:_0x708e[468]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1252]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[649]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1252]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1308]);_0xb3dcx3[_0x708e[57]](_0x708e[1309],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1253]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1254]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1253]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1310]);_0xb3dcx3[_0x708e[57]](_0x708e[1311],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1255]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1256]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1255]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1312]);_0xb3dcx3[_0x708e[57]](_0x708e[234],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1257]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1258]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1257]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1313]);_0xb3dcx3[_0x708e[57]](_0x708e[1314],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1259]]= function(_0xb3dcx2){if(this[_0x708e[1285]]){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[665]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1259]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1315]);_0xb3dcx3[_0x708e[57]](_0x708e[352],null!= _0xb3dcx2?_0xb3dcx2:mxConstants[_0x708e[217]]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1260]]= function(_0xb3dcx2){if(this[_0x708e[1285]]){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1261]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1260]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1316]);_0xb3dcx3[_0x708e[57]](_0x708e[352],null!= _0xb3dcx2?_0xb3dcx2:mxConstants[_0x708e[217]]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1262]]= function(_0xb3dcx2){if(this[_0x708e[1285]]){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1263]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1262]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1317]);_0xb3dcx3[_0x708e[57]](_0x708e[352],null!= _0xb3dcx2?_0xb3dcx2:mxConstants[_0x708e[217]]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1264]]= function(_0xb3dcx2){if(this[_0x708e[1285]]){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[487]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1264]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1289]);_0xb3dcx3[_0x708e[57]](_0x708e[803],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1265]]= function(_0xb3dcx2){if(this[_0x708e[1285]]){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[486]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1265]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1287]);_0xb3dcx3[_0x708e[57]](_0x708e[1288],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1266]]= function(_0xb3dcx2){if(this[_0x708e[1285]]){null== _0xb3dcx2&& (_0xb3dcx2= 0);if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[666]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1266]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1318]);_0xb3dcx3[_0x708e[57]](_0x708e[124],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1267]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[639]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1267]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[639]);_0xb3dcx3[_0x708e[57]](_0x708e[984],_0xb3dcx2?_0x708e[500]:_0x708e[468]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1268]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){_0xb3dcx2== mxConstants[_0x708e[217]]&& (_0xb3dcx2= null);if(this[_0x708e[724]][_0x708e[1269]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1268]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1290]);_0xb3dcx3[_0x708e[57]](_0x708e[352],null!= _0xb3dcx2?_0xb3dcx2:mxConstants[_0x708e[217]]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1270]]= function(_0xb3dcx2){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1271]]== _0xb3dcx2){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1270]][_0x708e[183]](this,arguments)};var _0xb3dcx3=this[_0x708e[55]](_0x708e[1291]);_0xb3dcx3[_0x708e[57]](_0x708e[1244],_0xb3dcx2);this[_0x708e[813]][_0x708e[62]](_0xb3dcx3)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1272]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1286]]){if(this[_0x708e[724]][_0x708e[1273]]== _0xb3dcx2&& this[_0x708e[724]][_0x708e[1274]]== _0xb3dcx3){return};mxAbstractCanvas2D[_0x708e[202]][_0x708e[1272]][_0x708e[183]](this,arguments)};var _0xb3dcx4=this[_0x708e[55]](_0x708e[1292]);_0xb3dcx4[_0x708e[57]](_0x708e[1126],_0xb3dcx2);_0xb3dcx4[_0x708e[57]](_0x708e[1125],_0xb3dcx3);this[_0x708e[813]][_0x708e[62]](_0xb3dcx4)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1319]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[55]](_0x708e[1319]);_0xb3dcx9[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx9[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx9[_0x708e[57]](_0x708e[1302],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx9[_0x708e[57]](_0x708e[1303],this[_0x708e[1239]](_0xb3dcx5));this[_0x708e[813]][_0x708e[62]](_0xb3dcx9)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1320]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=this[_0x708e[55]](_0x708e[1320]);_0xb3dcx12[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx12[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx12[_0x708e[57]](_0x708e[1302],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx12[_0x708e[57]](_0x708e[1303],this[_0x708e[1239]](_0xb3dcx5));_0xb3dcx12[_0x708e[57]](_0x708e[1126],this[_0x708e[1239]](_0xb3dcx9));_0xb3dcx12[_0x708e[57]](_0x708e[1125],this[_0x708e[1239]](_0xb3dcxa));this[_0x708e[813]][_0x708e[62]](_0xb3dcx12)};mxXmlCanvas2D[_0x708e[202]][_0x708e[680]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[55]](_0x708e[680]);_0xb3dcx9[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx9[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx9[_0x708e[57]](_0x708e[1302],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx9[_0x708e[57]](_0x708e[1303],this[_0x708e[1239]](_0xb3dcx5));this[_0x708e[813]][_0x708e[62]](_0xb3dcx9)};mxXmlCanvas2D[_0x708e[202]][_0x708e[618]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){_0xb3dcx9= this[_0x708e[1212]][_0x708e[1321]](_0xb3dcx9);var _0xb3dcx14=this[_0x708e[55]](_0x708e[618]);_0xb3dcx14[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx14[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx14[_0x708e[57]](_0x708e[1302],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx14[_0x708e[57]](_0x708e[1303],this[_0x708e[1239]](_0xb3dcx5));_0xb3dcx14[_0x708e[57]](_0x708e[390],_0xb3dcx9);_0xb3dcx14[_0x708e[57]](_0x708e[1322],_0xb3dcxa?_0x708e[500]:_0x708e[468]);_0xb3dcx14[_0x708e[57]](_0x708e[623],_0xb3dcx12?_0x708e[500]:_0x708e[468]);_0xb3dcx14[_0x708e[57]](_0x708e[624],_0xb3dcx13?_0x708e[500]:_0x708e[468]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx14)};mxXmlCanvas2D[_0x708e[202]][_0x708e[1275]]= function(){this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[1275]));this[_0x708e[1218]]= this[_0x708e[1217]]= 0};mxXmlCanvas2D[_0x708e[202]][_0x708e[1276]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[55]](_0x708e[582]);_0xb3dcx4[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx4[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));this[_0x708e[813]][_0x708e[62]](_0xb3dcx4);this[_0x708e[1217]]= _0xb3dcx2;this[_0x708e[1218]]= _0xb3dcx3};mxXmlCanvas2D[_0x708e[202]][_0x708e[1277]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[55]](_0x708e[683]);_0xb3dcx4[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx4[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));this[_0x708e[813]][_0x708e[62]](_0xb3dcx4);this[_0x708e[1217]]= _0xb3dcx2;this[_0x708e[1218]]= _0xb3dcx3};mxXmlCanvas2D[_0x708e[202]][_0x708e[1278]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[55]](_0x708e[1323]);_0xb3dcx9[_0x708e[57]](_0x708e[1324],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx9[_0x708e[57]](_0x708e[1325],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx9[_0x708e[57]](_0x708e[1326],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx9[_0x708e[57]](_0x708e[1327],this[_0x708e[1239]](_0xb3dcx5));this[_0x708e[813]][_0x708e[62]](_0xb3dcx9);this[_0x708e[1217]]= _0xb3dcx4;this[_0x708e[1218]]= _0xb3dcx5};mxXmlCanvas2D[_0x708e[202]][_0x708e[1279]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=this[_0x708e[55]](_0x708e[1328]);_0xb3dcx12[_0x708e[57]](_0x708e[1324],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx12[_0x708e[57]](_0x708e[1325],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx12[_0x708e[57]](_0x708e[1326],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx12[_0x708e[57]](_0x708e[1327],this[_0x708e[1239]](_0xb3dcx5));_0xb3dcx12[_0x708e[57]](_0x708e[1329],this[_0x708e[1239]](_0xb3dcx9));_0xb3dcx12[_0x708e[57]](_0x708e[1330],this[_0x708e[1239]](_0xb3dcxa));this[_0x708e[813]][_0x708e[62]](_0xb3dcx12);this[_0x708e[1217]]= _0xb3dcx9;this[_0x708e[1218]]= _0xb3dcxa};mxXmlCanvas2D[_0x708e[202]][_0x708e[268]]= function(){this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[268]))};mxXmlCanvas2D[_0x708e[202]][_0x708e[963]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){if(this[_0x708e[1285]]&& null!= _0xb3dcx9){mxUtils[_0x708e[1331]](_0xb3dcx9)&& (_0xb3dcx9= mxUtils[_0x708e[532]](_0xb3dcx9));var _0xb3dcx18=this[_0x708e[55]](_0x708e[963]);_0xb3dcx18[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2));_0xb3dcx18[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3));_0xb3dcx18[_0x708e[57]](_0x708e[1302],this[_0x708e[1239]](_0xb3dcx4));_0xb3dcx18[_0x708e[57]](_0x708e[1303],this[_0x708e[1239]](_0xb3dcx5));_0xb3dcx18[_0x708e[57]](_0x708e[1332],_0xb3dcx9);null!= _0xb3dcxa&& _0xb3dcx18[_0x708e[57]](_0x708e[611],_0xb3dcxa);null!= _0xb3dcx12&& _0xb3dcx18[_0x708e[57]](_0x708e[552],_0xb3dcx12);_0xb3dcx18[_0x708e[57]](_0x708e[1333],_0xb3dcx13?_0x708e[500]:_0x708e[468]);null== _0xb3dcx14&& (_0xb3dcx14= _0x708e[110]);_0xb3dcx18[_0x708e[57]](_0x708e[1239],_0xb3dcx14);null!= _0xb3dcx15&& _0xb3dcx18[_0x708e[57]](_0x708e[1334],_0xb3dcx15?_0x708e[500]:_0x708e[468]);null!= _0xb3dcx16&& _0xb3dcx18[_0x708e[57]](_0x708e[1335],_0xb3dcx16?_0x708e[500]:_0x708e[468]);null!= _0xb3dcx17&& _0xb3dcx18[_0x708e[57]](_0x708e[603],_0xb3dcx17);this[_0x708e[813]][_0x708e[62]](_0xb3dcx18)}};mxXmlCanvas2D[_0x708e[202]][_0x708e[1336]]= function(){this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[1336]))};mxXmlCanvas2D[_0x708e[202]][_0x708e[1334]]= function(){this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[1334]))};mxXmlCanvas2D[_0x708e[202]][_0x708e[1337]]= function(){this[_0x708e[813]][_0x708e[62]](this[_0x708e[55]](_0x708e[1338]))};function mxSvgCanvas2D(_0xb3dcx2,_0xb3dcx3){mxAbstractCanvas2D[_0x708e[239]](this);this[_0x708e[813]]= _0xb3dcx2;this[_0x708e[1339]]= [];this[_0x708e[1340]]= null;this[_0x708e[1341]]= null!= _0xb3dcx3?_0xb3dcx3:!1;var _0xb3dcx4=null;if(_0xb3dcx2[_0x708e[295]]!= document){for(_0xb3dcx4= _0xb3dcx2;null!= _0xb3dcx4&& _0x708e[571]!= _0xb3dcx4[_0x708e[301]];){_0xb3dcx4= _0xb3dcx4[_0x708e[265]]}};null!= _0xb3dcx4&& (0< _0xb3dcx4[_0x708e[64]](_0x708e[1340])[_0x708e[67]]&& (this[_0x708e[1340]]= _0xb3dcx4[_0x708e[64]](_0x708e[1340])[0]),null== this[_0x708e[1340]]&& (this[_0x708e[1340]]= this[_0x708e[55]](_0x708e[1340]),null!= _0xb3dcx4[_0x708e[285]]?_0xb3dcx4[_0x708e[950]](this[_0x708e[1340]],_0xb3dcx4[_0x708e[285]]):_0xb3dcx4[_0x708e[62]](this[_0x708e[1340]])),this[_0x708e[1341]]&& this[_0x708e[1340]][_0x708e[62]](this[_0x708e[1342]]()))}mxUtils[_0x708e[1284]](mxSvgCanvas2D,mxAbstractCanvas2D);mxSvgCanvas2D[_0x708e[202]][_0x708e[252]]= null;mxSvgCanvas2D[_0x708e[202]][_0x708e[1343]]= !0;mxSvgCanvas2D[_0x708e[202]][_0x708e[1285]]= !0;mxSvgCanvas2D[_0x708e[202]][_0x708e[1344]]= !0;mxSvgCanvas2D[_0x708e[202]][_0x708e[1345]]= 0;mxSvgCanvas2D[_0x708e[202]][_0x708e[1346]]= 0;mxSvgCanvas2D[_0x708e[202]][_0x708e[1347]]= !1;mxSvgCanvas2D[_0x708e[202]][_0x708e[862]]= function(){mxAbstractCanvas2D[_0x708e[202]][_0x708e[862]][_0x708e[183]](this,arguments);this[_0x708e[1339]]= []};mxSvgCanvas2D[_0x708e[202]][_0x708e[1342]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[55]](_0x708e[124]);_0xb3dcx2[_0x708e[57]](_0x708e[60],_0x708e[61]);mxUtils[_0x708e[53]](_0xb3dcx2,_0x708e[1348]+ mxConstants[_0x708e[484]]+ _0x708e[1349]+ mxConstants[_0x708e[483]]+ _0x708e[1350]);return _0xb3dcx2};mxSvgCanvas2D[_0x708e[202]][_0x708e[55]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= this[_0x708e[813]][_0x708e[295]][_0x708e[509]]){return this[_0x708e[813]][_0x708e[295]][_0x708e[509]](_0xb3dcx3|| mxConstants[_0x708e[1351]],_0xb3dcx2)};var _0xb3dcx4=this[_0x708e[813]][_0x708e[295]][_0x708e[55]](_0xb3dcx2);null!= _0xb3dcx3&& _0xb3dcx4[_0x708e[57]](_0x708e[1352],_0xb3dcx3);return _0xb3dcx4};mxSvgCanvas2D[_0x708e[202]][_0x708e[1353]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0x708e[198]== _0xb3dcx2[_0x708e[225]](0)&& (_0xb3dcx2= _0xb3dcx2[_0x708e[85]](1));_0x708e[198]== _0xb3dcx3[_0x708e[225]](0)&& (_0xb3dcx3= _0xb3dcx3[_0x708e[85]](1));_0xb3dcx2= _0xb3dcx2[_0x708e[216]]()+ _0x708e[213]+ _0xb3dcx4;_0xb3dcx3= _0xb3dcx3[_0x708e[216]]()+ _0x708e[213]+ _0xb3dcx5;_0xb3dcx4= null;null== _0xb3dcx9|| _0xb3dcx9== mxConstants[_0x708e[1354]]?_0xb3dcx4= _0x708e[1355]:_0xb3dcx9== mxConstants[_0x708e[1356]]?_0xb3dcx4= _0x708e[1357]:(_0xb3dcx5= _0xb3dcx2,_0xb3dcx2= _0xb3dcx3,_0xb3dcx3= _0xb3dcx5,_0xb3dcx9== mxConstants[_0x708e[1358]]?_0xb3dcx4= _0x708e[1355]:_0xb3dcx9== mxConstants[_0x708e[1359]]&& (_0xb3dcx4= _0x708e[1357]));return _0x708e[1360]+ _0xb3dcx2+ _0x708e[213]+ _0xb3dcx3+ _0x708e[213]+ _0xb3dcx4};mxSvgCanvas2D[_0x708e[202]][_0x708e[1361]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=this[_0x708e[1353]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx12=this[_0x708e[1339]][_0xb3dcxa];if(null== _0xb3dcx12){var _0xb3dcx13=this[_0x708e[813]][_0x708e[538]],_0xb3dcx14=0,_0xb3dcx15=_0xb3dcxa+ _0x708e[213]+ _0xb3dcx14;if(null!= _0xb3dcx13){for(_0xb3dcx12= _0xb3dcx13[_0x708e[295]][_0x708e[1362]](_0xb3dcx15);null!= _0xb3dcx12&& _0xb3dcx12[_0x708e[538]]!= _0xb3dcx13;){_0xb3dcx15= _0xb3dcxa+ _0x708e[213]+ _0xb3dcx14++,_0xb3dcx12= _0xb3dcx13[_0x708e[295]][_0x708e[1362]](_0xb3dcx15)}}else {_0xb3dcx15= _0x708e[1363]+ ++this[_0x708e[1346]]};null== _0xb3dcx12&& (_0xb3dcx12= this[_0x708e[1364]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx12[_0x708e[57]](_0x708e[1363],_0xb3dcx15),null!= this[_0x708e[1340]]?this[_0x708e[1340]][_0x708e[62]](_0xb3dcx12):_0xb3dcx13[_0x708e[62]](_0xb3dcx12));this[_0x708e[1339]][_0xb3dcxa]= _0xb3dcx12};return _0xb3dcx12[_0x708e[284]](_0x708e[1363])};mxSvgCanvas2D[_0x708e[202]][_0x708e[1364]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=this[_0x708e[55]](_0x708e[1365]);_0xb3dcxa[_0x708e[57]](_0x708e[1324],_0x708e[1366]);_0xb3dcxa[_0x708e[57]](_0x708e[1325],_0x708e[1366]);_0xb3dcxa[_0x708e[57]](_0x708e[1326],_0x708e[1366]);_0xb3dcxa[_0x708e[57]](_0x708e[1327],_0x708e[1366]);null== _0xb3dcx9|| _0xb3dcx9== mxConstants[_0x708e[1354]]?_0xb3dcxa[_0x708e[57]](_0x708e[1327],_0x708e[118]):_0xb3dcx9== mxConstants[_0x708e[1356]]?_0xb3dcxa[_0x708e[57]](_0x708e[1326],_0x708e[118]):_0xb3dcx9== mxConstants[_0x708e[1358]]?_0xb3dcxa[_0x708e[57]](_0x708e[1325],_0x708e[118]):_0xb3dcx9== mxConstants[_0x708e[1359]]&& _0xb3dcxa[_0x708e[57]](_0x708e[1324],_0x708e[118]);_0xb3dcx4= 1> _0xb3dcx4?_0x708e[1367]+ _0xb3dcx4:_0x708e[110];_0xb3dcx9= this[_0x708e[55]](_0x708e[1076]);_0xb3dcx9[_0x708e[57]](_0x708e[1368],_0x708e[1366]);_0xb3dcx9[_0x708e[57]](_0x708e[124],_0x708e[1369]+ _0xb3dcx2+ _0xb3dcx4);_0xb3dcxa[_0x708e[62]](_0xb3dcx9);_0xb3dcx4= 1> _0xb3dcx5?_0x708e[1367]+ _0xb3dcx5:_0x708e[110];_0xb3dcx9= this[_0x708e[55]](_0x708e[1076]);_0xb3dcx9[_0x708e[57]](_0x708e[1368],_0x708e[118]);_0xb3dcx9[_0x708e[57]](_0x708e[124],_0x708e[1369]+ _0xb3dcx3+ _0xb3dcx4);_0xb3dcxa[_0x708e[62]](_0xb3dcx9);return _0xb3dcxa};mxSvgCanvas2D[_0x708e[202]][_0x708e[1370]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[252]],_0xb3dcx5=this[_0x708e[724]];if(null!= _0xb3dcx4){if(_0x708e[1215]== _0xb3dcx4[_0x708e[301]]){if(null!= this[_0x708e[1215]]&& 0< this[_0x708e[1215]][_0x708e[67]]){_0xb3dcx4[_0x708e[57]](_0x708e[1371],this[_0x708e[1215]][_0x708e[234]](_0x708e[185]))}else {return}};_0xb3dcx2&& null!= _0xb3dcx5[_0x708e[604]]?this[_0x708e[1372]]():this[_0x708e[1341]]|| (_0x708e[680]== _0xb3dcx4[_0x708e[301]]&& mxClient[_0x708e[133]]&& !mxClient[_0x708e[76]]&& !mxClient[_0x708e[75]]?_0xb3dcx4[_0x708e[57]](_0x708e[1334],_0x708e[1373]):_0xb3dcx4[_0x708e[57]](_0x708e[1334],_0x708e[130]),_0xb3dcx2= !1);_0xb3dcx3&& null!= _0xb3dcx5[_0x708e[608]]?this[_0x708e[1374]]():this[_0x708e[1341]]|| _0xb3dcx4[_0x708e[57]](_0x708e[1336],_0x708e[130]);null!= _0xb3dcx5[_0x708e[535]]&& 0< _0xb3dcx5[_0x708e[535]][_0x708e[67]]&& _0xb3dcx4[_0x708e[57]](_0x708e[535],_0xb3dcx5[_0x708e[535]]);_0xb3dcx5[_0x708e[639]]&& this[_0x708e[813]][_0x708e[62]](this[_0x708e[1375]](_0xb3dcx4));0< this[_0x708e[1345]]&& !_0xb3dcx2&& this[_0x708e[813]][_0x708e[62]](this[_0x708e[1376]](_0xb3dcx4));this[_0x708e[1229]]&& (_0x708e[1215]!= _0xb3dcx4[_0x708e[301]]|| this[_0x708e[1215]][this[_0x708e[1215]][_0x708e[67]]- 1]== this[_0x708e[1227]])&& _0xb3dcx4[_0x708e[57]](_0x708e[1377],_0x708e[1378]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx4)}};mxSvgCanvas2D[_0x708e[202]][_0x708e[1372]]= function(){var _0xb3dcx2=this[_0x708e[724]];1> _0xb3dcx2[_0x708e[1244]]&& this[_0x708e[252]][_0x708e[57]](_0x708e[1379],_0xb3dcx2[_0x708e[1244]]);null!= _0xb3dcx2[_0x708e[604]]&& (null!= _0xb3dcx2[_0x708e[606]]?(_0xb3dcx2= this[_0x708e[1361]](_0xb3dcx2[_0x708e[604]],_0xb3dcx2[_0x708e[606]],_0xb3dcx2[_0x708e[1247]],_0xb3dcx2[_0x708e[1248]],_0xb3dcx2[_0x708e[607]]),this[_0x708e[252]][_0x708e[57]](_0x708e[1334],_0x708e[1380]+ _0xb3dcx2+ _0x708e[460])):this[_0x708e[252]][_0x708e[57]](_0x708e[1334],_0xb3dcx2[_0x708e[604]][_0x708e[216]]()))};mxSvgCanvas2D[_0x708e[202]][_0x708e[1374]]= function(){var _0xb3dcx2=this[_0x708e[724]];this[_0x708e[252]][_0x708e[57]](_0x708e[1336],_0xb3dcx2[_0x708e[608]][_0x708e[216]]());1> _0xb3dcx2[_0x708e[1244]]&& this[_0x708e[252]][_0x708e[57]](_0x708e[1381],_0xb3dcx2[_0x708e[1244]]);var _0xb3dcx3=Math[_0x708e[160]](1,this[_0x708e[1239]](_0xb3dcx2[_0x708e[610]]* _0xb3dcx2[_0x708e[255]]));1!= _0xb3dcx3&& this[_0x708e[252]][_0x708e[57]](_0x708e[1382],_0xb3dcx3);_0x708e[1215]== this[_0x708e[252]][_0x708e[301]]&& this[_0x708e[1383]]();_0xb3dcx2[_0x708e[648]]&& this[_0x708e[252]][_0x708e[57]](_0x708e[1384],this[_0x708e[1385]](_0xb3dcx3))};mxSvgCanvas2D[_0x708e[202]][_0x708e[1383]]= function(){var _0xb3dcx2=this[_0x708e[724]];null!= _0xb3dcx2[_0x708e[1256]]&& _0x708e[1233]!= _0xb3dcx2[_0x708e[1256]]&& this[_0x708e[252]][_0x708e[57]](_0x708e[1386],_0xb3dcx2[_0x708e[1256]]);if(null!= _0xb3dcx2[_0x708e[1254]]){var _0xb3dcx3=_0xb3dcx2[_0x708e[1254]];_0x708e[1232]== _0xb3dcx3&& (_0xb3dcx3= _0x708e[1387]);_0x708e[1387]!= _0xb3dcx3&& this[_0x708e[252]][_0x708e[57]](_0x708e[1388],_0xb3dcx3)};null!= _0xb3dcx2[_0x708e[1258]]&& (!this[_0x708e[1341]]|| 10!= _0xb3dcx2[_0x708e[1258]])&& this[_0x708e[252]][_0x708e[57]](_0x708e[1389],_0xb3dcx2[_0x708e[1258]])};mxSvgCanvas2D[_0x708e[202]][_0x708e[1385]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[724]][_0x708e[649]][_0x708e[224]](_0x708e[185]),_0xb3dcx4=[];if(0< _0xb3dcx3[_0x708e[67]]){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){_0xb3dcx4[_0xb3dcx5]= Number(_0xb3dcx3[_0xb3dcx5])* _0xb3dcx2}};return _0xb3dcx4[_0x708e[234]](_0x708e[185])};mxSvgCanvas2D[_0x708e[202]][_0x708e[1376]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[511]](!0);var _0xb3dcx3=parseFloat(_0xb3dcx2[_0x708e[284]](_0x708e[1382])|| 1)+ this[_0x708e[1345]];_0xb3dcx2[_0x708e[57]](_0x708e[1377],_0x708e[1336]);_0xb3dcx2[_0x708e[57]](_0x708e[187],_0x708e[188]);_0xb3dcx2[_0x708e[1390]](_0x708e[1384]);_0xb3dcx2[_0x708e[57]](_0x708e[1382],_0xb3dcx3);_0xb3dcx2[_0x708e[57]](_0x708e[1334],_0x708e[130]);_0xb3dcx2[_0x708e[57]](_0x708e[1336],mxClient[_0x708e[71]]?_0x708e[130]:_0x708e[1391]);return _0xb3dcx2};mxSvgCanvas2D[_0x708e[202]][_0x708e[1375]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[511]](!0);var _0xb3dcx3=this[_0x708e[724]];_0x708e[130]!= _0xb3dcx2[_0x708e[284]](_0x708e[1334])&& _0xb3dcx2[_0x708e[57]](_0x708e[1334],_0xb3dcx3[_0x708e[1269]]);_0x708e[130]!= _0xb3dcx2[_0x708e[284]](_0x708e[1336])&& _0xb3dcx2[_0x708e[57]](_0x708e[1336],_0xb3dcx3[_0x708e[1269]]);_0xb3dcx2[_0x708e[57]](_0x708e[535],_0x708e[536]+ this[_0x708e[1239]](_0xb3dcx3[_0x708e[1273]]* _0xb3dcx3[_0x708e[255]])+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx3[_0x708e[1274]]* _0xb3dcx3[_0x708e[255]])+ _0x708e[460]+ (_0xb3dcx3[_0x708e[535]]|| _0x708e[110]));_0xb3dcx2[_0x708e[57]](_0x708e[461],_0xb3dcx3[_0x708e[1271]]);return _0xb3dcx2};mxSvgCanvas2D[_0x708e[202]][_0x708e[1294]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(0!= _0xb3dcx2|| _0xb3dcx3|| _0xb3dcx4){var _0xb3dcxa=this[_0x708e[724]];_0xb3dcx5+= _0xb3dcxa[_0x708e[1126]];_0xb3dcx9+= _0xb3dcxa[_0x708e[1125]];_0xb3dcx5*= _0xb3dcxa[_0x708e[255]];_0xb3dcx9*= _0xb3dcxa[_0x708e[255]];_0xb3dcxa[_0x708e[535]]= _0xb3dcxa[_0x708e[535]]|| _0x708e[110];if(_0xb3dcx3&& _0xb3dcx4){_0xb3dcx2+= 180}else {if(_0xb3dcx3^ _0xb3dcx4){var _0xb3dcx12=_0xb3dcx3?_0xb3dcx5:0,_0xb3dcx13=_0xb3dcx3?-1:1,_0xb3dcx14=_0xb3dcx4?_0xb3dcx9:0,_0xb3dcx15=_0xb3dcx4?-1:1;_0xb3dcxa[_0x708e[535]]+= _0x708e[536]+ this[_0x708e[1239]](_0xb3dcx12)+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx14)+ _0x708e[1392]+ this[_0x708e[1239]](_0xb3dcx13)+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx15)+ _0x708e[1393]+ this[_0x708e[1239]](-_0xb3dcx12) + _0x708e[537]+ this[_0x708e[1239]](-_0xb3dcx14) + _0x708e[460]}};if(_0xb3dcx3?!_0xb3dcx4:_0xb3dcx4){_0xb3dcx2*= -1};0!= _0xb3dcx2&& (_0xb3dcxa[_0x708e[535]]+= _0x708e[1394]+ this[_0x708e[1239]](_0xb3dcx2)+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx5)+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx9)+ _0x708e[460]);_0xb3dcxa[_0x708e[603]]+= _0xb3dcx2;_0xb3dcxa[_0x708e[1395]]= _0xb3dcx5;_0xb3dcxa[_0x708e[1396]]= _0xb3dcx9}};mxSvgCanvas2D[_0x708e[202]][_0x708e[1275]]= function(){mxAbstractCanvas2D[_0x708e[202]][_0x708e[1275]][_0x708e[183]](this,arguments);this[_0x708e[252]]= this[_0x708e[55]](_0x708e[1215])};mxSvgCanvas2D[_0x708e[202]][_0x708e[1319]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[724]],_0xb3dcxa=this[_0x708e[55]](_0x708e[1319]);_0xb3dcxa[_0x708e[57]](_0x708e[235],this[_0x708e[1239]]((_0xb3dcx2+ _0xb3dcx9[_0x708e[1126]])* _0xb3dcx9[_0x708e[255]]));_0xb3dcxa[_0x708e[57]](_0x708e[236],this[_0x708e[1239]]((_0xb3dcx3+ _0xb3dcx9[_0x708e[1125]])* _0xb3dcx9[_0x708e[255]]));_0xb3dcxa[_0x708e[57]](_0x708e[117],this[_0x708e[1239]](_0xb3dcx4* _0xb3dcx9[_0x708e[255]]));_0xb3dcxa[_0x708e[57]](_0x708e[119],this[_0x708e[1239]](_0xb3dcx5* _0xb3dcx9[_0x708e[255]]));this[_0x708e[252]]= _0xb3dcxa};mxSvgCanvas2D[_0x708e[202]][_0x708e[1320]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[1319]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5);0< _0xb3dcx9&& this[_0x708e[252]][_0x708e[57]](_0x708e[1397],this[_0x708e[1239]](_0xb3dcx9* this[_0x708e[724]][_0x708e[255]]));0< _0xb3dcxa&& this[_0x708e[252]][_0x708e[57]](_0x708e[1398],this[_0x708e[1239]](_0xb3dcxa* this[_0x708e[724]][_0x708e[255]]))};mxSvgCanvas2D[_0x708e[202]][_0x708e[680]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[724]],_0xb3dcxa=this[_0x708e[55]](_0x708e[680]);_0xb3dcxa[_0x708e[57]](_0x708e[1296],Math[_0x708e[488]]((_0xb3dcx2+ _0xb3dcx4/ 2+ _0xb3dcx9[_0x708e[1126]])* _0xb3dcx9[_0x708e[255]]));_0xb3dcxa[_0x708e[57]](_0x708e[1297],Math[_0x708e[488]]((_0xb3dcx3+ _0xb3dcx5/ 2+ _0xb3dcx9[_0x708e[1125]])* _0xb3dcx9[_0x708e[255]]));_0xb3dcxa[_0x708e[57]](_0x708e[1397],_0xb3dcx4/ 2* _0xb3dcx9[_0x708e[255]]);_0xb3dcxa[_0x708e[57]](_0x708e[1398],_0xb3dcx5/ 2* _0xb3dcx9[_0x708e[255]]);this[_0x708e[252]]= _0xb3dcxa};mxSvgCanvas2D[_0x708e[202]][_0x708e[618]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){_0xb3dcx9= this[_0x708e[1212]][_0x708e[1321]](_0xb3dcx9);_0xb3dcxa= null!= _0xb3dcxa?_0xb3dcxa:!0;_0xb3dcx12= null!= _0xb3dcx12?_0xb3dcx12:!1;_0xb3dcx13= null!= _0xb3dcx13?_0xb3dcx13:!1;var _0xb3dcx14=this[_0x708e[724]];_0xb3dcx2+= _0xb3dcx14[_0x708e[1126]];_0xb3dcx3+= _0xb3dcx14[_0x708e[1125]];var _0xb3dcx15=this[_0x708e[55]](_0x708e[618]);_0xb3dcx15[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2* _0xb3dcx14[_0x708e[255]]));_0xb3dcx15[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3* _0xb3dcx14[_0x708e[255]]));_0xb3dcx15[_0x708e[57]](_0x708e[117],this[_0x708e[1239]](_0xb3dcx4* _0xb3dcx14[_0x708e[255]]));_0xb3dcx15[_0x708e[57]](_0x708e[119],this[_0x708e[1239]](_0xb3dcx5* _0xb3dcx14[_0x708e[255]]));null== _0xb3dcx15[_0x708e[1399]]?_0xb3dcx15[_0x708e[57]](_0x708e[1400],_0xb3dcx9):_0xb3dcx15[_0x708e[1399]](mxConstants.NS_XLINK,_0x708e[44],_0xb3dcx9);_0xb3dcxa|| _0xb3dcx15[_0x708e[57]](_0x708e[1401],_0x708e[130]);1> _0xb3dcx14[_0x708e[1244]]&& _0xb3dcx15[_0x708e[57]](_0x708e[461],_0xb3dcx14[_0x708e[1244]]);_0xb3dcx9= this[_0x708e[724]][_0x708e[535]]|| _0x708e[110];if(_0xb3dcx12|| _0xb3dcx13){var _0xb3dcx16=_0xb3dcxa= 1,_0xb3dcx17=0,_0xb3dcx18=0;_0xb3dcx12&& (_0xb3dcxa= -1,_0xb3dcx17= -_0xb3dcx4- 2* _0xb3dcx2);_0xb3dcx13&& (_0xb3dcx16= -1,_0xb3dcx18= -_0xb3dcx5- 2* _0xb3dcx3);_0xb3dcx9+= _0x708e[1402]+ _0xb3dcxa+ _0x708e[537]+ _0xb3dcx16+ _0x708e[1393]+ _0xb3dcx17+ _0x708e[537]+ _0xb3dcx18+ _0x708e[460]};0< _0xb3dcx9[_0x708e[67]]&& _0xb3dcx15[_0x708e[57]](_0x708e[535],_0xb3dcx9);this[_0x708e[813]][_0x708e[62]](_0xb3dcx15);this[_0x708e[1347]]&& (_0xb3dcx15[_0x708e[57]](_0x708e[124],_0x708e[1403]),_0xb3dcx15= this[_0x708e[55]](_0x708e[1319]),_0xb3dcx15[_0x708e[57]](_0x708e[187],_0x708e[188]),_0xb3dcx15[_0x708e[57]](_0x708e[1377],_0x708e[1334]),_0xb3dcx15[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2* _0xb3dcx14[_0x708e[255]])),_0xb3dcx15[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx3* _0xb3dcx14[_0x708e[255]])),_0xb3dcx15[_0x708e[57]](_0x708e[117],this[_0x708e[1239]](_0xb3dcx4* _0xb3dcx14[_0x708e[255]])),_0xb3dcx15[_0x708e[57]](_0x708e[119],this[_0x708e[1239]](_0xb3dcx5* _0xb3dcx14[_0x708e[255]])),this[_0x708e[813]][_0x708e[62]](_0xb3dcx15))};mxSvgCanvas2D[_0x708e[202]][_0x708e[1404]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx4= this[_0x708e[724]];_0xb3dcx5= _0x708e[1405]+ Math[_0x708e[488]](_0xb3dcx4[_0x708e[487]])+ _0x708e[1406]+ _0xb3dcx4[_0x708e[486]]+ _0x708e[1407]+ _0xb3dcx4[_0x708e[665]]+ _0x708e[1408]+ Math[_0x708e[488]](_0xb3dcx4[_0x708e[487]]* mxConstants[_0x708e[490]])+ _0x708e[1409]+ _0xb3dcx5;(_0xb3dcx4[_0x708e[666]]& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]]&& (_0xb3dcx5+= _0x708e[1411]);(_0xb3dcx4[_0x708e[666]]& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]]&& (_0xb3dcx5+= _0x708e[1413]);(_0xb3dcx4[_0x708e[666]]& mxConstants[_0x708e[1414]])== mxConstants[_0x708e[1414]]&& (_0xb3dcx5+= _0x708e[1415]);_0xb3dcx3== mxConstants[_0x708e[479]]?_0xb3dcx5+= _0x708e[1416]:_0xb3dcx3== mxConstants[_0x708e[480]]&& (_0xb3dcx5+= _0x708e[1417]);_0xb3dcx3= _0x708e[110];null!= _0xb3dcx4[_0x708e[1261]]&& (_0xb3dcx3+= _0x708e[1418]+ _0xb3dcx4[_0x708e[1261]]+ _0x708e[471]);null!= _0xb3dcx4[_0x708e[1263]]&& (_0xb3dcx3+= _0x708e[1419]+ _0xb3dcx4[_0x708e[1263]]+ _0x708e[471]);mxUtils[_0x708e[1331]](_0xb3dcx2)|| (_0xb3dcx4= document[_0x708e[55]](_0x708e[126]),_0xb3dcx4[_0x708e[339]]= _0xb3dcx2[_0x708e[230]](/</g,_0x708e[1421])[_0x708e[230]](/>/g,_0x708e[1420])[_0x708e[230]](/</g,_0x708e[334])[_0x708e[230]](/>/g,_0x708e[335]),_0xb3dcx2= _0xb3dcx4[_0x708e[131]],_0xb3dcx9?_0xb3dcx5+= _0xb3dcx3:0< _0xb3dcx3[_0x708e[67]]&& (_0xb3dcx2= _0x708e[1422]+ _0xb3dcx3+ _0x708e[1423]+ _0xb3dcx2+ _0x708e[1424]));if(!mxClient[_0x708e[80]]&& document[_0x708e[509]]){return _0xb3dcx9= document[_0x708e[509]](_0x708e[577],_0x708e[485]),_0xb3dcx9[_0x708e[57]](_0x708e[124],_0xb3dcx5),mxUtils[_0x708e[1331]](_0xb3dcx2)?this[_0x708e[813]][_0x708e[295]]!= document?_0xb3dcx9[_0x708e[62]](_0xb3dcx2[_0x708e[511]](!0)):_0xb3dcx9[_0x708e[62]](_0xb3dcx2):_0xb3dcx9[_0x708e[339]]= _0xb3dcx2,_0xb3dcx9};mxUtils[_0x708e[1331]](_0xb3dcx2)&& this[_0x708e[813]][_0x708e[295]]!= document&& (_0xb3dcx2= _0xb3dcx2[_0x708e[342]]);_0xb3dcx2= _0xb3dcx2[_0x708e[230]](/<br>/g,_0x708e[1426])[_0x708e[230]](/<hr>/g,_0x708e[1425]);return mxUtils[_0x708e[877]](_0x708e[1427]+ _0xb3dcx5+ _0x708e[1423]+ _0xb3dcx2+ _0x708e[1424])[_0x708e[158]]};mxSvgCanvas2D[_0x708e[202]][_0x708e[963]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){if(this[_0x708e[1285]]&& null!= _0xb3dcx9){_0xb3dcx17= null!= _0xb3dcx17?_0xb3dcx17:0;var _0xb3dcx18=this[_0x708e[724]];_0xb3dcx2+= _0xb3dcx18[_0x708e[1126]];_0xb3dcx3+= _0xb3dcx18[_0x708e[1125]];if(this[_0x708e[1344]]&& _0x708e[1428]== _0xb3dcx14){var _0xb3dcx19=_0x708e[1429];_0xb3dcx16?(_0xb3dcx19+= _0x708e[1430],0< _0xb3dcx5&& (_0xb3dcx19+= _0x708e[1431]+ Math[_0x708e[488]](_0xb3dcx5)+ _0x708e[1409]),0< _0xb3dcx4&& (_0xb3dcx19+= _0x708e[1432]+ Math[_0x708e[488]](_0xb3dcx4)+ _0x708e[1409])):_0xb3dcx15&& (_0xb3dcx19+= _0x708e[1432]+ Math[_0x708e[488]](_0xb3dcx4)+ _0x708e[1409],0< _0xb3dcx5&& (_0xb3dcx19+= _0x708e[1431]+ Math[_0x708e[488]](_0xb3dcx5)+ _0x708e[1409]));_0xb3dcx13?(!_0xb3dcx16&& 0< _0xb3dcx4&& (_0xb3dcx19+= _0x708e[1432]+ Math[_0x708e[488]](_0xb3dcx4)+ _0x708e[1409]),_0xb3dcx19+= _0x708e[1433]):_0xb3dcx19+= _0x708e[1434];_0xb3dcx13= this[_0x708e[55]](_0x708e[449]);1> _0xb3dcx18[_0x708e[1244]]&& _0xb3dcx13[_0x708e[57]](_0x708e[461],_0xb3dcx18[_0x708e[1244]]);_0xb3dcx14= this[_0x708e[55]](_0x708e[1435]);_0xb3dcx14[_0x708e[57]](_0x708e[1377],_0x708e[1378]);_0xb3dcx19= this[_0x708e[1404]](_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx19,_0xb3dcx15);if(null!= _0xb3dcx19){_0xb3dcx13[_0x708e[62]](_0xb3dcx14);this[_0x708e[813]][_0x708e[62]](_0xb3dcx13);var _0xb3dcx1a=0;if(mxClient[_0x708e[80]]&& !mxClient[_0x708e[48]]){var _0xb3dcx1b=document[_0x708e[55]](_0x708e[485]);_0xb3dcx1b[_0x708e[124]][_0x708e[103]]= _0xb3dcx19[_0x708e[284]](_0x708e[124]);_0xb3dcx1b[_0x708e[124]][_0x708e[495]]= mxClient[_0x708e[496]]?_0x708e[497]:_0x708e[498];_0xb3dcx1b[_0x708e[124]][_0x708e[187]]= _0x708e[188];_0xb3dcx1b[_0x708e[339]]= mxUtils[_0x708e[1331]](_0xb3dcx9)?_0xb3dcx9[_0x708e[342]]:_0xb3dcx9;document[_0x708e[112]][_0x708e[62]](_0xb3dcx1b);_0xb3dcx1a= _0xb3dcx1b[_0x708e[359]];_0xb3dcx5= mxClient[_0x708e[496]]&& 0< _0xb3dcx5&& _0xb3dcx16?Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx1b[_0x708e[167]]+ 2):_0xb3dcx1b[_0x708e[167]];_0xb3dcx1b[_0x708e[265]][_0x708e[266]](_0xb3dcx1b);_0xb3dcx14[_0x708e[62]](_0xb3dcx19)}else {this[_0x708e[813]][_0x708e[295]]!= document?(_0xb3dcx19[_0x708e[124]][_0x708e[187]]= _0x708e[188],document[_0x708e[112]][_0x708e[62]](_0xb3dcx19),_0xb3dcx1a= _0xb3dcx19[_0x708e[359]],_0xb3dcx5= _0xb3dcx19[_0x708e[167]],_0xb3dcx14[_0x708e[62]](_0xb3dcx19),_0xb3dcx19[_0x708e[124]][_0x708e[187]]= _0x708e[110]):(_0xb3dcx14[_0x708e[62]](_0xb3dcx19),_0xb3dcx1a= _0xb3dcx19[_0x708e[359]],_0xb3dcx5= _0xb3dcx19[_0x708e[167]])};_0xb3dcx4= _0xb3dcx15?Math[_0x708e[160]](_0xb3dcx4,_0xb3dcx1a):_0xb3dcx1a;1> _0xb3dcx18[_0x708e[1244]]&& _0xb3dcx13[_0x708e[57]](_0x708e[461],_0xb3dcx18[_0x708e[1244]]);_0xb3dcx15= _0xb3dcx9= 0;_0xb3dcxa== mxConstants[_0x708e[479]]?_0xb3dcx9-= _0xb3dcx4/ 2:_0xb3dcxa== mxConstants[_0x708e[480]]&& (_0xb3dcx9-= _0xb3dcx4);_0xb3dcx2+= _0xb3dcx9;_0xb3dcx12== mxConstants[_0x708e[481]]?_0xb3dcx15-= _0xb3dcx5/ 2:_0xb3dcx12== mxConstants[_0x708e[482]]&& (_0xb3dcx15-= _0xb3dcx5);_0xb3dcx3+= _0xb3dcx15;_0xb3dcxa= 1!= _0xb3dcx18[_0x708e[255]]?_0x708e[1402]+ _0xb3dcx18[_0x708e[255]]+ _0x708e[460]:_0x708e[110];0!= _0xb3dcx18[_0x708e[603]]&& this[_0x708e[1216]]?(_0xb3dcxa+= _0x708e[1394]+ _0xb3dcx18[_0x708e[603]]+ _0x708e[537]+ _0xb3dcx4/ 2+ _0x708e[537]+ _0xb3dcx5/ 2+ _0x708e[460],_0xb3dcx3= this[_0x708e[1241]]((_0xb3dcx2+ _0xb3dcx4/ 2)* _0xb3dcx18[_0x708e[255]],(_0xb3dcx3+ _0xb3dcx5/ 2)* _0xb3dcx18[_0x708e[255]],_0xb3dcx18[_0x708e[603]],_0xb3dcx18[_0x708e[1395]],_0xb3dcx18[_0x708e[1396]]),_0xb3dcx2= _0xb3dcx3[_0x708e[235]]- _0xb3dcx4* _0xb3dcx18[_0x708e[255]]/ 2,_0xb3dcx3= _0xb3dcx3[_0x708e[236]]- _0xb3dcx5* _0xb3dcx18[_0x708e[255]]/ 2):(_0xb3dcx2*= _0xb3dcx18[_0x708e[255]],_0xb3dcx3*= _0xb3dcx18[_0x708e[255]]);0!= _0xb3dcx17&& (_0xb3dcxa+= _0x708e[1394]+ _0xb3dcx17+ _0x708e[537]+ -_0xb3dcx9+ _0x708e[537]+ -_0xb3dcx15+ _0x708e[460]);_0xb3dcx13[_0x708e[57]](_0x708e[535],_0x708e[536]+ Math[_0x708e[488]](_0xb3dcx2)+ _0x708e[537]+ Math[_0x708e[488]](_0xb3dcx3)+ _0x708e[460]+ _0xb3dcxa);_0xb3dcx14[_0x708e[57]](_0x708e[117],Math[_0x708e[488]](Math[_0x708e[160]](1,_0xb3dcx4)));_0xb3dcx14[_0x708e[57]](_0x708e[119],Math[_0x708e[488]](Math[_0x708e[160]](1,_0xb3dcx5)))}}else {this[_0x708e[1436]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17)}}};mxSvgCanvas2D[_0x708e[202]][_0x708e[1437]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2= Math[_0x708e[488]](_0xb3dcx2);_0xb3dcx3= Math[_0x708e[488]](_0xb3dcx3);_0xb3dcx4= Math[_0x708e[488]](_0xb3dcx4);_0xb3dcx5= Math[_0x708e[488]](_0xb3dcx5);for(var _0xb3dcx9=_0x708e[1438]+ _0xb3dcx2+ _0x708e[213]+ _0xb3dcx3+ _0x708e[213]+ _0xb3dcx4+ _0x708e[213]+ _0xb3dcx5,_0xb3dcxa=0,_0xb3dcx12=_0xb3dcx9+ _0x708e[213]+ _0xb3dcxa;null!= document[_0x708e[1362]](_0xb3dcx12);){_0xb3dcx12= _0xb3dcx9+ _0x708e[213]+ ++_0xb3dcxa};clip= this[_0x708e[55]](_0x708e[1439]);clip[_0x708e[57]](_0x708e[1363],_0xb3dcx12);_0xb3dcx9= this[_0x708e[55]](_0x708e[1319]);_0xb3dcx9[_0x708e[57]](_0x708e[235],_0xb3dcx2);_0xb3dcx9[_0x708e[57]](_0x708e[236],_0xb3dcx3);_0xb3dcx9[_0x708e[57]](_0x708e[117],_0xb3dcx4);_0xb3dcx9[_0x708e[57]](_0x708e[119],_0xb3dcx5);clip[_0x708e[62]](_0xb3dcx9);return clip};mxSvgCanvas2D[_0x708e[202]][_0x708e[1436]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16){_0xb3dcx16= null!= _0xb3dcx16?_0xb3dcx16:0;_0xb3dcx13= this[_0x708e[724]];var _0xb3dcx17=Math[_0x708e[488]](_0xb3dcx13[_0x708e[487]]),_0xb3dcx18=this[_0x708e[55]](_0x708e[449]),_0xb3dcx19=_0xb3dcx13[_0x708e[535]]|| _0x708e[110];0!= _0xb3dcx16&& (_0xb3dcx19+= _0x708e[1394]+ _0xb3dcx16+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx2* _0xb3dcx13[_0x708e[255]])+ _0x708e[537]+ this[_0x708e[1239]](_0xb3dcx3* _0xb3dcx13[_0x708e[255]])+ _0x708e[460]);if(_0xb3dcx15&& 0< _0xb3dcx4&& 0< _0xb3dcx5){var _0xb3dcx1a=_0xb3dcx2;_0xb3dcx16= _0xb3dcx3;_0xb3dcxa== mxConstants[_0x708e[479]]?_0xb3dcx1a-= _0xb3dcx4/ 2:_0xb3dcxa== mxConstants[_0x708e[480]]&& (_0xb3dcx1a-= _0xb3dcx4);_0xb3dcx12== mxConstants[_0x708e[481]]?_0xb3dcx16-= _0xb3dcx5/ 2:_0xb3dcx12== mxConstants[_0x708e[482]]&& (_0xb3dcx16-= _0xb3dcx5);_0xb3dcx16= this[_0x708e[1437]](_0xb3dcx1a* _0xb3dcx13[_0x708e[255]]- 2,_0xb3dcx16* _0xb3dcx13[_0x708e[255]]- 2,_0xb3dcx4* _0xb3dcx13[_0x708e[255]]+ 4,_0xb3dcx5* _0xb3dcx13[_0x708e[255]]+ 4);null!= this[_0x708e[1340]]?this[_0x708e[1340]][_0x708e[62]](_0xb3dcx16):this[_0x708e[813]][_0x708e[62]](_0xb3dcx16);_0xb3dcx18[_0x708e[57]](_0x708e[1440],_0x708e[1380]+ _0xb3dcx16[_0x708e[284]](_0x708e[1363])+ _0x708e[460])};this[_0x708e[1441]](_0xb3dcx18,_0xb3dcxa);_0xb3dcx16= _0xb3dcxa== mxConstants[_0x708e[480]]?_0x708e[1282]:_0xb3dcxa== mxConstants[_0x708e[479]]?_0x708e[554]:_0x708e[861];_0x708e[861]!= _0xb3dcx16&& _0xb3dcx18[_0x708e[57]](_0x708e[1442],_0xb3dcx16);(!this[_0x708e[1341]]|| _0xb3dcx17!= mxConstants[_0x708e[483]])&& _0xb3dcx18[_0x708e[57]](_0x708e[1443],Math[_0x708e[488]](_0xb3dcx17* _0xb3dcx13[_0x708e[255]])+ _0x708e[168]);0< _0xb3dcx19[_0x708e[67]]&& _0xb3dcx18[_0x708e[57]](_0x708e[535],_0xb3dcx19);1> _0xb3dcx13[_0x708e[1244]]&& _0xb3dcx18[_0x708e[57]](_0x708e[461],_0xb3dcx13[_0x708e[1244]]);var _0xb3dcx19=_0xb3dcx9[_0x708e[224]](_0x708e[192]),_0xb3dcx1a=Math[_0x708e[488]](_0xb3dcx17* mxConstants[_0x708e[490]]),_0xb3dcx1b=_0xb3dcx17+ (_0xb3dcx19[_0x708e[67]]- 1)* _0xb3dcx1a;_0xb3dcx16= _0xb3dcx3+ _0xb3dcx17- 1;_0xb3dcx12== mxConstants[_0x708e[481]]?(_0xb3dcx5= (this[_0x708e[1343]]&& _0xb3dcx15&& 0< _0xb3dcx5?Math[_0x708e[243]](_0xb3dcx1b,_0xb3dcx5):_0xb3dcx1b)/ 2,_0xb3dcx16-= _0xb3dcx5+ 1):_0xb3dcx12== mxConstants[_0x708e[482]]&& (_0xb3dcx5= this[_0x708e[1343]]&& _0xb3dcx15&& 0< _0xb3dcx5?Math[_0x708e[243]](_0xb3dcx1b,_0xb3dcx5):_0xb3dcx1b,_0xb3dcx16-= _0xb3dcx5+ 2);for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx19[_0x708e[67]];_0xb3dcx5++){0< _0xb3dcx19[_0xb3dcx5][_0x708e[67]]&& 0< mxUtils[_0x708e[330]](_0xb3dcx19[_0xb3dcx5])[_0x708e[67]]&& (_0xb3dcx15= this[_0x708e[55]](_0x708e[963]),_0xb3dcx15[_0x708e[57]](_0x708e[235],this[_0x708e[1239]](_0xb3dcx2* _0xb3dcx13[_0x708e[255]])),_0xb3dcx15[_0x708e[57]](_0x708e[236],this[_0x708e[1239]](_0xb3dcx16* _0xb3dcx13[_0x708e[255]])),mxUtils[_0x708e[53]](_0xb3dcx15,_0xb3dcx19[_0xb3dcx5]),_0xb3dcx18[_0x708e[62]](_0xb3dcx15)),_0xb3dcx16+= _0xb3dcx1a};this[_0x708e[813]][_0x708e[62]](_0xb3dcx18);this[_0x708e[1444]](_0xb3dcx18,_0xb3dcx9,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx1b,_0xb3dcxa,_0xb3dcx12,_0xb3dcx14)};mxSvgCanvas2D[_0x708e[202]][_0x708e[1441]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[724]];_0xb3dcx2[_0x708e[57]](_0x708e[1334],_0xb3dcx3[_0x708e[665]]);(!this[_0x708e[1341]]|| _0xb3dcx3[_0x708e[486]]!= mxConstants[_0x708e[484]])&& _0xb3dcx2[_0x708e[57]](_0x708e[1445],_0xb3dcx3[_0x708e[486]]);(_0xb3dcx3[_0x708e[666]]& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]]&& _0xb3dcx2[_0x708e[57]](_0x708e[1446],_0x708e[1447]);(_0xb3dcx3[_0x708e[666]]& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]]&& _0xb3dcx2[_0x708e[57]](_0x708e[1448],_0x708e[1449]);(_0xb3dcx3[_0x708e[666]]& mxConstants[_0x708e[1414]])== mxConstants[_0x708e[1414]]&& _0xb3dcx2[_0x708e[57]](_0x708e[1450],_0x708e[355])};mxSvgCanvas2D[_0x708e[202]][_0x708e[1444]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){var _0xb3dcx15=this[_0x708e[724]];if(null!= _0xb3dcx15[_0x708e[1261]]|| null!= _0xb3dcx15[_0x708e[1263]]){var _0xb3dcx16=null;_0xb3dcx14?(_0xb3dcx12== mxConstants[_0x708e[479]]?_0xb3dcx4-= _0xb3dcx9/ 2:_0xb3dcx12== mxConstants[_0x708e[480]]&& (_0xb3dcx4-= _0xb3dcx9),_0xb3dcx13== mxConstants[_0x708e[481]]?_0xb3dcx5-= _0xb3dcxa/ 2:_0xb3dcx13== mxConstants[_0x708e[482]]&& (_0xb3dcx5-= _0xb3dcxa),_0xb3dcx16= new mxRectangle((_0xb3dcx4+ 1)* _0xb3dcx15[_0x708e[255]],_0xb3dcx5* _0xb3dcx15[_0x708e[255]],(_0xb3dcx9- 2)* _0xb3dcx15[_0x708e[255]],(_0xb3dcxa+ 2)* _0xb3dcx15[_0x708e[255]])):null!= _0xb3dcx2[_0x708e[1451]]&& this[_0x708e[813]][_0x708e[295]]== document?(_0xb3dcx16= _0xb3dcx2[_0x708e[1451]](),_0xb3dcx3= mxClient[_0x708e[80]]&& mxClient[_0x708e[48]],_0xb3dcx16= new mxRectangle(_0xb3dcx16[_0x708e[235]],_0xb3dcx16[_0x708e[236]]+ (_0xb3dcx3?0:1),_0xb3dcx16[_0x708e[117]],_0xb3dcx16[_0x708e[119]]+ (_0xb3dcx3?1:0))):(_0xb3dcx16= document[_0x708e[55]](_0x708e[485]),_0xb3dcx16[_0x708e[124]][_0x708e[489]]= Math[_0x708e[488]](_0xb3dcx15[_0x708e[487]]* mxConstants[_0x708e[490]])+ _0x708e[168],_0xb3dcx16[_0x708e[124]][_0x708e[487]]= Math[_0x708e[488]](_0xb3dcx15[_0x708e[487]])+ _0x708e[168],_0xb3dcx16[_0x708e[124]][_0x708e[486]]= _0xb3dcx15[_0x708e[486]],_0xb3dcx16[_0x708e[124]][_0x708e[493]]= _0x708e[494],_0xb3dcx16[_0x708e[124]][_0x708e[491]]= _0x708e[492],_0xb3dcx16[_0x708e[124]][_0x708e[187]]= _0x708e[188],_0xb3dcx16[_0x708e[124]][_0x708e[495]]= mxClient[_0x708e[496]]?_0x708e[497]:_0x708e[498],_0xb3dcx16[_0x708e[124]][_0x708e[499]]= _0x708e[500],(_0xb3dcx15[_0x708e[666]]& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]]&& (_0xb3dcx16[_0x708e[124]][_0x708e[1452]]= _0x708e[1447]),(_0xb3dcx15[_0x708e[666]]& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]]&& (_0xb3dcx16[_0x708e[124]][_0x708e[666]]= _0x708e[1449]),_0xb3dcx3= mxUtils[_0x708e[321]](_0xb3dcx3,!1),_0xb3dcx16[_0x708e[339]]= _0xb3dcx3[_0x708e[230]](/\n/g,_0x708e[1453]),document[_0x708e[112]][_0x708e[62]](_0xb3dcx16),_0xb3dcx9= _0xb3dcx16[_0x708e[359]],_0xb3dcxa= _0xb3dcx16[_0x708e[167]],_0xb3dcx16[_0x708e[265]][_0x708e[266]](_0xb3dcx16),_0xb3dcx12== mxConstants[_0x708e[479]]?_0xb3dcx4-= _0xb3dcx9/ 2:_0xb3dcx12== mxConstants[_0x708e[480]]&& (_0xb3dcx4-= _0xb3dcx9),_0xb3dcx13== mxConstants[_0x708e[481]]?_0xb3dcx5-= _0xb3dcxa/ 2:_0xb3dcx13== mxConstants[_0x708e[482]]&& (_0xb3dcx5-= _0xb3dcxa),_0xb3dcx16= new mxRectangle((_0xb3dcx4+ 1)* _0xb3dcx15[_0x708e[255]],(_0xb3dcx5+ 2)* _0xb3dcx15[_0x708e[255]],_0xb3dcx9* _0xb3dcx15[_0x708e[255]],(_0xb3dcxa+ 1)* _0xb3dcx15[_0x708e[255]]));null!= _0xb3dcx16&& (_0xb3dcx3= this[_0x708e[55]](_0x708e[1319]),_0xb3dcx3[_0x708e[57]](_0x708e[1334],_0xb3dcx15[_0x708e[1261]]|| _0x708e[130]),_0xb3dcx3[_0x708e[57]](_0x708e[1336],_0xb3dcx15[_0x708e[1263]]|| _0x708e[130]),_0xb3dcx3[_0x708e[57]](_0x708e[235],Math[_0x708e[519]](_0xb3dcx16[_0x708e[235]]- 1)),_0xb3dcx3[_0x708e[57]](_0x708e[236],Math[_0x708e[519]](_0xb3dcx16[_0x708e[236]]- 1)),_0xb3dcx3[_0x708e[57]](_0x708e[117],Math[_0x708e[430]](_0xb3dcx16[_0x708e[117]]+ 2)),_0xb3dcx3[_0x708e[57]](_0x708e[119],Math[_0x708e[430]](_0xb3dcx16[_0x708e[119]])),_0xb3dcx15= null!= _0xb3dcx15[_0x708e[1263]]?Math[_0x708e[160]](1,this[_0x708e[1239]](_0xb3dcx15[_0x708e[255]])):0,_0xb3dcx3[_0x708e[57]](_0x708e[1382],_0xb3dcx15),this[_0x708e[813]][_0x708e[295]]== document&& 1== mxUtils[_0x708e[1454]](_0xb3dcx15,2)&& _0xb3dcx3[_0x708e[57]](_0x708e[535],_0x708e[1455]),_0xb3dcx2[_0x708e[950]](_0xb3dcx3,_0xb3dcx2[_0x708e[285]]))}};mxSvgCanvas2D[_0x708e[202]][_0x708e[1336]]= function(){this[_0x708e[1370]](!1,!0)};mxSvgCanvas2D[_0x708e[202]][_0x708e[1334]]= function(){this[_0x708e[1370]](!0,!1)};mxSvgCanvas2D[_0x708e[202]][_0x708e[1337]]= function(){this[_0x708e[1370]](!0,!0)};var mxVmlCanvas2D=function(_0xb3dcx2){mxAbstractCanvas2D[_0x708e[239]](this);this[_0x708e[813]]= _0xb3dcx2};mxUtils[_0x708e[1284]](mxVmlCanvas2D,mxAbstractCanvas2D);mxVmlCanvas2D[_0x708e[202]][_0x708e[252]]= null;mxVmlCanvas2D[_0x708e[202]][_0x708e[1285]]= !0;mxVmlCanvas2D[_0x708e[202]][_0x708e[1219]]= _0x708e[1456];mxVmlCanvas2D[_0x708e[202]][_0x708e[1221]]= _0x708e[1457];mxVmlCanvas2D[_0x708e[202]][_0x708e[1225]]= _0x708e[1458];mxVmlCanvas2D[_0x708e[202]][_0x708e[1227]]= _0x708e[235];mxVmlCanvas2D[_0x708e[202]][_0x708e[1459]]= _0x708e[110];mxVmlCanvas2D[_0x708e[202]][_0x708e[1460]]= 1;mxVmlCanvas2D[_0x708e[202]][_0x708e[1370]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[252]],_0xb3dcx5=this[_0x708e[724]];if(null!= _0xb3dcx4){if(_0x708e[253]== _0xb3dcx4[_0x708e[301]]){if(null!= this[_0x708e[1215]]&& 0< this[_0x708e[1215]][_0x708e[67]]){_0xb3dcx4[_0x708e[1215]]= this[_0x708e[1215]][_0x708e[234]](_0x708e[185])+ _0x708e[1461],_0xb3dcx4[_0x708e[124]][_0x708e[117]]= this[_0x708e[813]][_0x708e[124]][_0x708e[117]],_0xb3dcx4[_0x708e[124]][_0x708e[119]]= this[_0x708e[813]][_0x708e[124]][_0x708e[119]],_0xb3dcx4[_0x708e[1462]]= parseInt(_0xb3dcx4[_0x708e[124]][_0x708e[117]])+ _0x708e[185]+ parseInt(_0xb3dcx4[_0x708e[124]][_0x708e[119]])}else {return}};_0xb3dcx4[_0x708e[1463]]= this[_0x708e[1239]](Math[_0x708e[160]](1,_0xb3dcx5[_0x708e[610]]* _0xb3dcx5[_0x708e[255]]/ this[_0x708e[1460]]))+ _0x708e[168];_0xb3dcx5[_0x708e[639]]&& this[_0x708e[813]][_0x708e[62]](this[_0x708e[1375]](_0xb3dcx4,_0xb3dcx2&& null!= _0xb3dcx5[_0x708e[604]],_0xb3dcx3&& null!= _0xb3dcx5[_0x708e[608]]));_0xb3dcx3&& null!= _0xb3dcx5[_0x708e[608]]?(_0xb3dcx4[_0x708e[1464]]= _0x708e[128],_0xb3dcx4[_0x708e[1306]]= _0xb3dcx5[_0x708e[608]]):_0xb3dcx4[_0x708e[1464]]= _0x708e[308];_0xb3dcx4[_0x708e[62]](this[_0x708e[1465]]());_0xb3dcx2&& null!= _0xb3dcx5[_0x708e[604]]?_0xb3dcx4[_0x708e[62]](this[_0x708e[1466]]()):this[_0x708e[1229]]&& (_0x708e[253]!= _0xb3dcx4[_0x708e[301]]|| this[_0x708e[1215]][this[_0x708e[1215]][_0x708e[67]]- 1]== this[_0x708e[1227]])?_0xb3dcx4[_0x708e[62]](this[_0x708e[1467]]()):_0xb3dcx4[_0x708e[1468]]= _0x708e[308];this[_0x708e[813]][_0x708e[62]](_0xb3dcx4)}};mxVmlCanvas2D[_0x708e[202]][_0x708e[1467]]= function(){var _0xb3dcx2=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1469]);_0xb3dcx2[_0x708e[390]]= mxClient[_0x708e[88]]+ _0x708e[1470];_0xb3dcx2[_0x708e[60]]= _0x708e[1471];return _0xb3dcx2};mxVmlCanvas2D[_0x708e[202]][_0x708e[1466]]= function(){var _0xb3dcx2=this[_0x708e[724]],_0xb3dcx3=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1469]);_0xb3dcx3[_0x708e[352]]= _0xb3dcx2[_0x708e[604]];if(null!= _0xb3dcx2[_0x708e[606]]){_0xb3dcx3[_0x708e[60]]= _0x708e[1299];_0xb3dcx3[_0x708e[865]]= _0x708e[130];_0xb3dcx3[_0x708e[1472]]= _0xb3dcx2[_0x708e[606]];var _0xb3dcx4=180- _0xb3dcx2[_0x708e[603]],_0xb3dcx4=_0xb3dcx2[_0x708e[607]]== mxConstants[_0x708e[1359]]?_0xb3dcx4- (90+ (_0x708e[235]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]?180:0)):_0xb3dcx2[_0x708e[607]]== mxConstants[_0x708e[1356]]?_0xb3dcx4+ (90+ (_0x708e[235]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]?180:0)):_0xb3dcx2[_0x708e[607]]== mxConstants[_0x708e[1358]]?_0xb3dcx4- (180+ (_0x708e[236]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]?-180:0)):_0xb3dcx4+ (_0x708e[236]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]?-180:0);if(_0x708e[235]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]|| _0x708e[236]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]){_0xb3dcx4*= -1};_0xb3dcx3[_0x708e[1474]]= mxUtils[_0x708e[1454]](_0xb3dcx4,360);_0xb3dcx3[_0x708e[461]]= 100* _0xb3dcx2[_0x708e[1244]]* _0xb3dcx2[_0x708e[1247]]+ _0x708e[229];_0xb3dcx3[_0x708e[57]](mxClient[_0x708e[1475]]+ _0x708e[1476],100* _0xb3dcx2[_0x708e[1244]]* _0xb3dcx2[_0x708e[1248]]+ _0x708e[229])}else {1> _0xb3dcx2[_0x708e[1244]]&& (_0xb3dcx3[_0x708e[461]]= 100* _0xb3dcx2[_0x708e[1244]]+ _0x708e[229])};return _0xb3dcx3};mxVmlCanvas2D[_0x708e[202]][_0x708e[1465]]= function(){var _0xb3dcx2=this[_0x708e[724]],_0xb3dcx3=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1477]);_0xb3dcx3[_0x708e[1478]]= _0xb3dcx2[_0x708e[1254]]|| _0x708e[1232];_0xb3dcx3[_0x708e[1479]]= _0xb3dcx2[_0x708e[1256]]|| _0x708e[1233];_0xb3dcx3[_0x708e[1313]]= _0xb3dcx2[_0x708e[1258]]|| _0x708e[1480];1> _0xb3dcx2[_0x708e[1244]]&& (_0xb3dcx3[_0x708e[461]]= 100* _0xb3dcx2[_0x708e[1244]]+ _0x708e[229]);_0xb3dcx2[_0x708e[648]]&& (_0xb3dcx3[_0x708e[1481]]= this[_0x708e[1482]]());return _0xb3dcx3};mxVmlCanvas2D[_0x708e[202]][_0x708e[1482]]= function(){var _0xb3dcx2=_0x708e[1483];if(null!= this[_0x708e[724]][_0x708e[649]]){var _0xb3dcx3=this[_0x708e[724]][_0x708e[649]][_0x708e[224]](_0x708e[185]);0< _0xb3dcx3[_0x708e[67]]&& 1== _0xb3dcx3[0]&& (_0xb3dcx2= _0x708e[1484])};return _0xb3dcx2};mxVmlCanvas2D[_0x708e[202]][_0x708e[1375]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[724]],_0xb3dcx9=-_0xb3dcx5[_0x708e[603]]* (Math[_0x708e[424]]/ 180),_0xb3dcxa=Math[_0x708e[426]](_0xb3dcx9),_0xb3dcx9=Math[_0x708e[427]](_0xb3dcx9),_0xb3dcx12=_0xb3dcx5[_0x708e[1273]]* _0xb3dcx5[_0x708e[255]],_0xb3dcx13=_0xb3dcx5[_0x708e[1274]]* _0xb3dcx5[_0x708e[255]];_0x708e[235]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]?_0xb3dcx12*= -1:_0x708e[236]== this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]&& (_0xb3dcx13*= -1);var _0xb3dcx14=_0xb3dcx2[_0x708e[511]](!0);_0xb3dcx14[_0x708e[124]][_0x708e[945]]= Math[_0x708e[488]](_0xb3dcx12* _0xb3dcxa- _0xb3dcx13* _0xb3dcx9)+ _0x708e[168];_0xb3dcx14[_0x708e[124]][_0x708e[953]]= Math[_0x708e[488]](_0xb3dcx12* _0xb3dcx9+ _0xb3dcx13* _0xb3dcxa)+ _0x708e[168];8== document[_0x708e[5]]&& (_0xb3dcx14[_0x708e[1463]]= _0xb3dcx2[_0x708e[1463]],_0x708e[253]== _0xb3dcx2[_0x708e[301]]&& (_0xb3dcx14[_0x708e[1215]]= this[_0x708e[1215]][_0x708e[234]](_0x708e[185])+ _0x708e[1461],_0xb3dcx14[_0x708e[124]][_0x708e[117]]= this[_0x708e[813]][_0x708e[124]][_0x708e[117]],_0xb3dcx14[_0x708e[124]][_0x708e[119]]= this[_0x708e[813]][_0x708e[124]][_0x708e[119]],_0xb3dcx14[_0x708e[1462]]= parseInt(_0xb3dcx2[_0x708e[124]][_0x708e[117]])+ _0x708e[185]+ parseInt(_0xb3dcx2[_0x708e[124]][_0x708e[119]])));_0xb3dcx4?(_0xb3dcx14[_0x708e[1306]]= _0xb3dcx5[_0x708e[1269]],_0xb3dcx14[_0x708e[62]](this[_0x708e[1485]]())):_0xb3dcx14[_0x708e[1464]]= _0x708e[308];_0xb3dcx3?_0xb3dcx14[_0x708e[62]](this[_0x708e[1486]]()):_0xb3dcx14[_0x708e[1468]]= _0x708e[308];return _0xb3dcx14};mxVmlCanvas2D[_0x708e[202]][_0x708e[1486]]= function(){var _0xb3dcx2=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1469]);_0xb3dcx2[_0x708e[352]]= this[_0x708e[724]][_0x708e[1269]];_0xb3dcx2[_0x708e[461]]= 100* this[_0x708e[724]][_0x708e[1244]]* this[_0x708e[724]][_0x708e[1271]]+ _0x708e[229];return _0xb3dcx2};mxVmlCanvas2D[_0x708e[202]][_0x708e[1485]]= function(){var _0xb3dcx2=this[_0x708e[1465]]();_0xb3dcx2[_0x708e[461]]= 100* this[_0x708e[724]][_0x708e[1244]]* this[_0x708e[724]][_0x708e[1271]]+ _0x708e[229];return _0xb3dcx2};mxVmlCanvas2D[_0x708e[202]][_0x708e[1294]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx3&& _0xb3dcx4?_0xb3dcx2+= 180:_0xb3dcx3?this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]= _0x708e[235]:_0xb3dcx4&& (this[_0x708e[813]][_0x708e[124]][_0x708e[1473]]= _0x708e[236]);if(_0xb3dcx3?!_0xb3dcx4:_0xb3dcx4){_0xb3dcx2*= -1};this[_0x708e[813]][_0x708e[124]][_0x708e[603]]= _0xb3dcx2;this[_0x708e[724]][_0x708e[603]]+= _0xb3dcx2;this[_0x708e[724]][_0x708e[1395]]= _0xb3dcx5;this[_0x708e[724]][_0x708e[1396]]= _0xb3dcx9};mxVmlCanvas2D[_0x708e[202]][_0x708e[1275]]= function(){mxAbstractCanvas2D[_0x708e[202]][_0x708e[1275]][_0x708e[183]](this,arguments);this[_0x708e[252]]= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1487]);this[_0x708e[252]][_0x708e[124]][_0x708e[491]]= _0x708e[492]};mxVmlCanvas2D[_0x708e[202]][_0x708e[1278]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[724]],_0xb3dcxa=(this[_0x708e[1217]]+ _0xb3dcx9[_0x708e[1126]])* _0xb3dcx9[_0x708e[255]],_0xb3dcx12=(this[_0x708e[1218]]+ _0xb3dcx9[_0x708e[1125]])* _0xb3dcx9[_0x708e[255]];_0xb3dcx2= (_0xb3dcx2+ _0xb3dcx9[_0x708e[1126]])* _0xb3dcx9[_0x708e[255]];_0xb3dcx3= (_0xb3dcx3+ _0xb3dcx9[_0x708e[1125]])* _0xb3dcx9[_0x708e[255]];_0xb3dcx4= (_0xb3dcx4+ _0xb3dcx9[_0x708e[1126]])* _0xb3dcx9[_0x708e[255]];_0xb3dcx5= (_0xb3dcx5+ _0xb3dcx9[_0x708e[1125]])* _0xb3dcx9[_0x708e[255]];var _0xb3dcx12=_0xb3dcx12+ 2/ 3* (_0xb3dcx3- _0xb3dcx12),_0xb3dcx13=_0xb3dcx4+ 2/ 3* (_0xb3dcx2- _0xb3dcx4);_0xb3dcx3= _0xb3dcx5+ 2/ 3* (_0xb3dcx3- _0xb3dcx5);this[_0x708e[1215]][_0x708e[207]](_0x708e[1488]+ this[_0x708e[1239]](_0xb3dcxa+ 2/ 3* (_0xb3dcx2- _0xb3dcxa))+ _0x708e[185]+ this[_0x708e[1239]](_0xb3dcx12)+ _0x708e[185]+ this[_0x708e[1239]](_0xb3dcx13)+ _0x708e[185]+ this[_0x708e[1239]](_0xb3dcx3)+ _0x708e[185]+ this[_0x708e[1239]](_0xb3dcx4)+ _0x708e[185]+ this[_0x708e[1239]](_0xb3dcx5));this[_0x708e[1217]]= _0xb3dcx4/ _0xb3dcx9[_0x708e[255]]- _0xb3dcx9[_0x708e[1126]];this[_0x708e[1218]]= _0xb3dcx5/ _0xb3dcx9[_0x708e[255]]- _0xb3dcx9[_0x708e[1125]]};mxVmlCanvas2D[_0x708e[202]][_0x708e[1489]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=this[_0x708e[724]];_0xb3dcx2= document[_0x708e[55]](_0xb3dcx2);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx2[_0x708e[124]][_0x708e[361]]= this[_0x708e[1239]]((_0xb3dcx3+ _0xb3dcxa[_0x708e[1126]])* _0xb3dcxa[_0x708e[255]])+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[125]]= this[_0x708e[1239]]((_0xb3dcx4+ _0xb3dcxa[_0x708e[1125]])* _0xb3dcxa[_0x708e[255]])+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[117]]= this[_0x708e[1239]](_0xb3dcx5* _0xb3dcxa[_0x708e[255]])+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[119]]= this[_0x708e[1239]](_0xb3dcx9* _0xb3dcxa[_0x708e[255]])+ _0x708e[168];return _0xb3dcx2};mxVmlCanvas2D[_0x708e[202]][_0x708e[1319]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[252]]= this[_0x708e[1489]](mxClient[_0x708e[463]]+ _0x708e[1490],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)};mxVmlCanvas2D[_0x708e[202]][_0x708e[1320]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[252]]= this[_0x708e[1489]](mxClient[_0x708e[463]]+ _0x708e[1491],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5);this[_0x708e[252]][_0x708e[57]](_0x708e[1492],Math[_0x708e[160]](100* _0xb3dcx9/ _0xb3dcx4,100* _0xb3dcxa/ _0xb3dcx5)+ _0x708e[229])};mxVmlCanvas2D[_0x708e[202]][_0x708e[680]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[252]]= this[_0x708e[1489]](mxClient[_0x708e[463]]+ _0x708e[1493],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)};mxVmlCanvas2D[_0x708e[202]][_0x708e[618]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){var _0xb3dcx14=null;_0xb3dcxa?(_0xb3dcx14= this[_0x708e[1489]](mxClient[_0x708e[463]]+ _0x708e[1490],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5),_0xb3dcx14[_0x708e[1464]]= _0x708e[308],_0xb3dcx2= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1469]),_0xb3dcx2[_0x708e[1322]]= _0xb3dcxa?_0x708e[1494]:_0x708e[1495],_0xb3dcx2[_0x708e[1294]]= _0x708e[128],_0xb3dcx2[_0x708e[60]]= _0x708e[1496],_0xb3dcx2[_0x708e[390]]= _0xb3dcx9,_0xb3dcx14[_0x708e[62]](_0xb3dcx2)):(_0xb3dcx14= this[_0x708e[1489]](mxClient[_0x708e[463]]+ _0x708e[464],_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5),_0xb3dcx14[_0x708e[390]]= _0xb3dcx9);_0xb3dcx12&& _0xb3dcx13?_0xb3dcx14[_0x708e[124]][_0x708e[603]]= _0x708e[1497]:_0xb3dcx12?_0xb3dcx14[_0x708e[124]][_0x708e[1473]]= _0x708e[235]:_0xb3dcx13&& (_0xb3dcx14[_0x708e[124]][_0x708e[1473]]= _0x708e[236]);1> this[_0x708e[724]][_0x708e[1244]]&& (_0xb3dcx14[_0x708e[124]][_0x708e[347]]+= _0x708e[459]+ 100* this[_0x708e[724]][_0x708e[1244]]+ _0x708e[460]);this[_0x708e[813]][_0x708e[62]](_0xb3dcx14)};mxVmlCanvas2D[_0x708e[202]][_0x708e[1404]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx4= document[_0x708e[55]](_0x708e[485]);var _0xb3dcx9=this[_0x708e[724]],_0xb3dcxa=_0x708e[110];null!= _0xb3dcx9[_0x708e[1261]]&& (_0xb3dcxa+= _0x708e[1418]+ _0xb3dcx9[_0x708e[1261]]+ _0x708e[471]);null!= _0xb3dcx9[_0x708e[1263]]&& (_0xb3dcxa+= _0x708e[1419]+ _0xb3dcx9[_0x708e[1263]]+ _0x708e[471]);mxUtils[_0x708e[1331]](_0xb3dcx2)?_0xb3dcx4[_0x708e[62]](_0xb3dcx2):0< _0xb3dcxa[_0x708e[67]]&& !_0xb3dcx5?(_0xb3dcx5= document[_0x708e[55]](_0x708e[485]),_0xb3dcx5[_0x708e[124]][_0x708e[103]]= _0xb3dcxa,_0xb3dcx5[_0x708e[124]][_0x708e[495]]= mxClient[_0x708e[496]]?_0x708e[497]:_0x708e[498],_0xb3dcx5[_0x708e[124]][_0x708e[499]]= _0x708e[500],_0xb3dcx5[_0x708e[339]]= _0xb3dcx2,_0xb3dcx4[_0x708e[62]](_0xb3dcx5)):(_0xb3dcx4[_0x708e[124]][_0x708e[103]]= _0xb3dcxa,_0xb3dcx4[_0x708e[339]]= _0xb3dcx2);_0xb3dcx2= _0xb3dcx4[_0x708e[124]];_0xb3dcx2[_0x708e[487]]= Math[_0x708e[488]](_0xb3dcx9[_0x708e[487]]/ this[_0x708e[1460]])+ _0x708e[168];_0xb3dcx2[_0x708e[486]]= _0xb3dcx9[_0x708e[486]];_0xb3dcx2[_0x708e[352]]= _0xb3dcx9[_0x708e[665]];_0xb3dcx2[_0x708e[123]]= _0x708e[125];_0xb3dcx2[_0x708e[1165]]= _0xb3dcx3|| _0x708e[361];_0xb3dcx2[_0x708e[489]]= Math[_0x708e[488]](_0xb3dcx9[_0x708e[487]]* mxConstants[_0x708e[490]]/ this[_0x708e[1460]])+ _0x708e[168];(_0xb3dcx9[_0x708e[666]]& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]]&& (_0xb3dcx2[_0x708e[1452]]= _0x708e[1447]);(_0xb3dcx9[_0x708e[666]]& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]]&& (_0xb3dcx2[_0x708e[666]]= _0x708e[1449]);(_0xb3dcx9[_0x708e[666]]& mxConstants[_0x708e[1414]])== mxConstants[_0x708e[1414]]&& (_0xb3dcx2[_0x708e[1498]]= _0x708e[355]);return _0xb3dcx4};mxVmlCanvas2D[_0x708e[202]][_0x708e[963]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){if(this[_0x708e[1285]]&& null!= _0xb3dcx9){var _0xb3dcx18=this[_0x708e[724]];if(_0x708e[1428]== _0xb3dcx14){null!= _0xb3dcx18[_0x708e[603]]&& (_0xb3dcx3= this[_0x708e[1241]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx18[_0x708e[603]],_0xb3dcx18[_0x708e[1395]],_0xb3dcx18[_0x708e[1396]]),_0xb3dcx2= _0xb3dcx3[_0x708e[235]],_0xb3dcx3= _0xb3dcx3[_0x708e[236]]);8== document[_0x708e[5]]?(_0xb3dcx2+= _0xb3dcx18[_0x708e[1126]],_0xb3dcx3+= _0xb3dcx18[_0x708e[1125]]):(_0xb3dcx2*= _0xb3dcx18[_0x708e[255]],_0xb3dcx3*= _0xb3dcx18[_0x708e[255]]);_0xb3dcx14= 8== document[_0x708e[5]]?document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1499]):document[_0x708e[55]](_0x708e[485]);_0xb3dcx14[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx14[_0x708e[124]][_0x708e[495]]= _0x708e[497];_0xb3dcx14[_0x708e[124]][_0x708e[361]]= this[_0x708e[1239]](_0xb3dcx2)+ _0x708e[168];_0xb3dcx14[_0x708e[124]][_0x708e[125]]= this[_0x708e[1239]](_0xb3dcx3)+ _0x708e[168];_0xb3dcx14[_0x708e[124]][_0x708e[499]]= _0xb3dcx18[_0x708e[255]];var _0xb3dcx19=document[_0x708e[55]](_0x708e[485]);_0xb3dcx19[_0x708e[124]][_0x708e[491]]= _0x708e[1500];_0xb3dcx19[_0x708e[124]][_0x708e[495]]= _0x708e[497];var _0xb3dcx1a=mxUtils[_0x708e[1501]](_0xb3dcxa,_0xb3dcx12),_0xb3dcx1b=_0xb3dcx1a[_0x708e[235]],_0xb3dcx1a=_0xb3dcx1a[_0x708e[236]];_0xb3dcx9= this[_0x708e[1404]](_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx15);_0xb3dcxa= document[_0x708e[55]](_0x708e[485]);_0xb3dcx13?(!_0xb3dcx16&& 0< _0xb3dcx4&& (_0xb3dcx9[_0x708e[124]][_0x708e[117]]= Math[_0x708e[488]](_0xb3dcx4)+ _0x708e[168]),_0xb3dcx9[_0x708e[124]][_0x708e[493]]= _0x708e[1502]):_0xb3dcx9[_0x708e[124]][_0x708e[493]]= _0x708e[494];_0xb3dcx13= _0xb3dcx18[_0x708e[603]]+ (_0xb3dcx17|| 0);this[_0x708e[1216]]&& 0!= _0xb3dcx13?(_0xb3dcxa[_0x708e[124]][_0x708e[495]]= _0x708e[497],_0xb3dcxa[_0x708e[124]][_0x708e[499]]= _0x708e[500],_0xb3dcxa[_0x708e[62]](_0xb3dcx9),8== document[_0x708e[5]]&& _0x708e[529]!= this[_0x708e[813]][_0x708e[301]]?(_0xb3dcx19[_0x708e[62]](_0xb3dcxa),_0xb3dcx14[_0x708e[62]](_0xb3dcx19)):_0xb3dcx14[_0x708e[62]](_0xb3dcxa)):8== document[_0x708e[5]]?(_0xb3dcx19[_0x708e[62]](_0xb3dcx9),_0xb3dcx14[_0x708e[62]](_0xb3dcx19)):(_0xb3dcx9[_0x708e[124]][_0x708e[495]]= _0x708e[497],_0xb3dcx14[_0x708e[62]](_0xb3dcx9));_0x708e[529]!= this[_0x708e[813]][_0x708e[301]]?(_0xb3dcx17= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1490]),_0xb3dcx17[_0x708e[1464]]= _0x708e[308],_0xb3dcx17[_0x708e[1468]]= _0x708e[308],_0xb3dcx17[_0x708e[62]](_0xb3dcx14),this[_0x708e[813]][_0x708e[62]](_0xb3dcx17)):this[_0x708e[813]][_0x708e[62]](_0xb3dcx14);_0xb3dcx16?(_0xb3dcx9[_0x708e[124]][_0x708e[277]]= _0x708e[188],0< _0xb3dcx4&& (_0xb3dcx9[_0x708e[124]][_0x708e[117]]= Math[_0x708e[488]](_0xb3dcx4)+ _0x708e[168]),0< _0xb3dcx5&& 8== document[_0x708e[5]]&& (_0xb3dcx9[_0x708e[124]][_0x708e[1503]]= Math[_0x708e[488]](_0xb3dcx5)+ _0x708e[168])):_0xb3dcx15&& (_0xb3dcx9[_0x708e[124]][_0x708e[117]]= _0xb3dcx4+ _0x708e[168],0< _0xb3dcx5&& (_0xb3dcx9[_0x708e[124]][_0x708e[1503]]= Math[_0x708e[488]](_0xb3dcx5)+ _0x708e[168]));if(this[_0x708e[1216]]&& 0!= _0xb3dcx13){_0xb3dcx4= _0xb3dcx13* (Math[_0x708e[424]]/ 180);_0xb3dcx13= parseFloat(parseFloat(Math[_0x708e[426]](_0xb3dcx4))[_0x708e[1293]](8));_0xb3dcx17= parseFloat(parseFloat(Math[_0x708e[427]](-_0xb3dcx4))[_0x708e[1293]](8));_0xb3dcx4%= 2* Math[_0x708e[424]];0> _0xb3dcx4&& (_0xb3dcx4+= 2* Math[_0x708e[424]]);_0xb3dcx4%= Math[_0x708e[424]];_0xb3dcx4> Math[_0x708e[424]]/ 2&& (_0xb3dcx4= Math[_0x708e[424]]- _0xb3dcx4);_0xb3dcx12= Math[_0x708e[426]](_0xb3dcx4);var _0xb3dcx1c=Math[_0x708e[427]](_0xb3dcx4);8== document[_0x708e[5]]&& (_0xb3dcx9[_0x708e[124]][_0x708e[495]]= _0x708e[498],_0xb3dcxa[_0x708e[124]][_0x708e[495]]= _0x708e[498],_0xb3dcx19[_0x708e[124]][_0x708e[495]]= _0x708e[498]);_0xb3dcx9[_0x708e[124]][_0x708e[187]]= _0x708e[188];document[_0x708e[112]][_0x708e[62]](_0xb3dcx9);_0xb3dcx4= _0xb3dcx9[_0x708e[359]];_0xb3dcx19= _0xb3dcx9[_0x708e[167]];if(mxClient[_0x708e[496]]&& (_0xb3dcx16|| _0xb3dcx15)&& _0xb3dcx19> _0xb3dcx5){_0xb3dcx19= _0xb3dcx5,_0xb3dcx9[_0x708e[124]][_0x708e[119]]= _0xb3dcx19+ _0x708e[168]};_0xb3dcx5= _0xb3dcx19;_0xb3dcx16= (_0xb3dcx5- _0xb3dcx5* _0xb3dcx12+ _0xb3dcx4* -_0xb3dcx1c)/ 2- _0xb3dcx17* _0xb3dcx4* (_0xb3dcx1b+ 0.5)+ _0xb3dcx13* _0xb3dcx5* (_0xb3dcx1a+ 0.5);_0xb3dcx15= (_0xb3dcx4- _0xb3dcx4* _0xb3dcx12+ _0xb3dcx5* -_0xb3dcx1c)/ 2+ _0xb3dcx13* _0xb3dcx4* (_0xb3dcx1b+ 0.5)+ _0xb3dcx17* _0xb3dcx5* (_0xb3dcx1a+ 0.5);_0x708e[1504]== _0xb3dcx14[_0x708e[301]]&& _0x708e[529]== this[_0x708e[813]][_0x708e[301]]?(_0xb3dcx1b= document[_0x708e[55]](_0x708e[485]),_0xb3dcx1b[_0x708e[124]][_0x708e[495]]= _0x708e[498],_0xb3dcx1b[_0x708e[124]][_0x708e[491]]= _0x708e[492],_0xb3dcx1b[_0x708e[124]][_0x708e[361]]= this[_0x708e[1239]](_0xb3dcx2+ (_0xb3dcx15- _0xb3dcx4/ 2)* _0xb3dcx18[_0x708e[255]])+ _0x708e[168],_0xb3dcx1b[_0x708e[124]][_0x708e[125]]= this[_0x708e[1239]](_0xb3dcx3+ (_0xb3dcx16- _0xb3dcx5/ 2)* _0xb3dcx18[_0x708e[255]])+ _0x708e[168],_0xb3dcx14[_0x708e[265]][_0x708e[62]](_0xb3dcx1b),_0xb3dcx1b[_0x708e[62]](_0xb3dcx14)):(_0xb3dcx18= 8== document[_0x708e[5]]?1:_0xb3dcx18[_0x708e[255]],_0xb3dcx14[_0x708e[124]][_0x708e[361]]= this[_0x708e[1239]](_0xb3dcx2+ (_0xb3dcx15- _0xb3dcx4/ 2)* _0xb3dcx18)+ _0x708e[168],_0xb3dcx14[_0x708e[124]][_0x708e[125]]= this[_0x708e[1239]](_0xb3dcx3+ (_0xb3dcx16- _0xb3dcx5/ 2)* _0xb3dcx18)+ _0x708e[168]);_0xb3dcxa[_0x708e[124]][_0x708e[347]]= _0x708e[1505]+ _0xb3dcx13+ _0x708e[1506]+ _0xb3dcx17+ _0x708e[1507]+ -_0xb3dcx17+ _0x708e[1508]+ _0xb3dcx13+ _0x708e[1509];_0xb3dcxa[_0x708e[124]][_0x708e[1028]]= this[_0x708e[1459]];1> this[_0x708e[724]][_0x708e[1244]]&& (_0xb3dcxa[_0x708e[124]][_0x708e[347]]+= _0x708e[459]+ 100* this[_0x708e[724]][_0x708e[1244]]+ _0x708e[460]);_0xb3dcx9[_0x708e[124]][_0x708e[187]]= _0x708e[110];_0xb3dcxa[_0x708e[62]](_0xb3dcx9)}else {8!= document[_0x708e[5]]?(_0xb3dcx9[_0x708e[124]][_0x708e[123]]= _0x708e[125],1> this[_0x708e[724]][_0x708e[1244]]&& (_0xb3dcx14[_0x708e[124]][_0x708e[347]]= _0x708e[459]+ 100* this[_0x708e[724]][_0x708e[1244]]+ _0x708e[460]),_0xb3dcx18= _0xb3dcx9[_0x708e[265]],_0xb3dcx9[_0x708e[124]][_0x708e[187]]= _0x708e[188],document[_0x708e[112]][_0x708e[62]](_0xb3dcx9),_0xb3dcx4= _0xb3dcx9[_0x708e[359]],_0xb3dcx19= _0xb3dcx9[_0x708e[167]],mxClient[_0x708e[496]]&& (_0xb3dcx16&& _0xb3dcx19> _0xb3dcx5)&& (_0xb3dcx19= _0xb3dcx5,_0xb3dcx9[_0x708e[124]][_0x708e[119]]= _0xb3dcx19+ _0x708e[168]),_0xb3dcx5= _0xb3dcx19,_0xb3dcx9[_0x708e[124]][_0x708e[187]]= _0x708e[110],_0xb3dcx18[_0x708e[62]](_0xb3dcx9),_0xb3dcx14[_0x708e[124]][_0x708e[361]]= this[_0x708e[1239]](_0xb3dcx2+ _0xb3dcx4* _0xb3dcx1b* this[_0x708e[724]][_0x708e[255]])+ _0x708e[168],_0xb3dcx14[_0x708e[124]][_0x708e[125]]= this[_0x708e[1239]](_0xb3dcx3+ _0xb3dcx5* _0xb3dcx1a* this[_0x708e[724]][_0x708e[255]])+ _0x708e[168]):(1> this[_0x708e[724]][_0x708e[1244]]&& (_0xb3dcx9[_0x708e[124]][_0x708e[347]]= _0x708e[459]+ 100* this[_0x708e[724]][_0x708e[1244]]+ _0x708e[460]),_0xb3dcx19[_0x708e[124]][_0x708e[361]]= 100* _0xb3dcx1b+ _0x708e[229],_0xb3dcx19[_0x708e[124]][_0x708e[125]]= 100* _0xb3dcx1a+ _0x708e[229])}}else {this[_0x708e[1436]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,mxUtils[_0x708e[321]](_0xb3dcx9,!1),_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17)}}};mxVmlCanvas2D[_0x708e[202]][_0x708e[1436]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){_0xb3dcx5= this[_0x708e[724]];_0xb3dcx2= (_0xb3dcx2+ _0xb3dcx5[_0x708e[1126]])* _0xb3dcx5[_0x708e[255]];_0xb3dcx3= (_0xb3dcx3+ _0xb3dcx5[_0x708e[1125]])* _0xb3dcx5[_0x708e[255]];_0xb3dcx4= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1487]);_0xb3dcx4[_0x708e[124]][_0x708e[117]]= _0x708e[942];_0xb3dcx4[_0x708e[124]][_0x708e[119]]= _0x708e[942];_0xb3dcx4[_0x708e[1464]]= _0x708e[308];_0xb3dcx15= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1469]);_0xb3dcx15[_0x708e[352]]= _0xb3dcx5[_0x708e[665]];_0xb3dcx15[_0x708e[461]]= 100* _0xb3dcx5[_0x708e[1244]]+ _0x708e[229];_0xb3dcx4[_0x708e[62]](_0xb3dcx15);_0xb3dcx15= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1510]);_0xb3dcx15[_0x708e[1511]]= _0x708e[128];_0xb3dcx15[_0x708e[6]]= _0x708e[1512]+ this[_0x708e[1239]](0)+ _0x708e[185]+ this[_0x708e[1239]](0)+ _0x708e[1513]+ this[_0x708e[1239]](1)+ _0x708e[185]+ this[_0x708e[1239]](0);_0xb3dcx4[_0x708e[62]](_0xb3dcx15);_0xb3dcx15= document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1514]);_0xb3dcx15[_0x708e[124]][_0x708e[103]]= _0x708e[1515]+ _0xb3dcxa;_0xb3dcx15[_0x708e[124]][_0x708e[611]]= _0xb3dcxa;_0xb3dcx15[_0x708e[124]][_0x708e[486]]= _0xb3dcx5[_0x708e[486]];_0xb3dcx15[_0x708e[1516]]= _0xb3dcx9;_0xb3dcx15[_0x708e[747]]= _0x708e[128];_0xb3dcxa= Math[_0x708e[488]](_0xb3dcx5[_0x708e[487]]* _0xb3dcx5[_0x708e[255]]/ this[_0x708e[1460]]);_0xb3dcx15[_0x708e[124]][_0x708e[487]]= _0xb3dcxa+ _0x708e[168];(_0xb3dcx5[_0x708e[666]]& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]]&& (_0xb3dcx15[_0x708e[124]][_0x708e[1452]]= _0x708e[1447]);(_0xb3dcx5[_0x708e[666]]& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]]&& (_0xb3dcx15[_0x708e[124]][_0x708e[666]]= _0x708e[1449]);(_0xb3dcx5[_0x708e[666]]& mxConstants[_0x708e[1414]])== mxConstants[_0x708e[1414]]&& (_0xb3dcx15[_0x708e[124]][_0x708e[354]]= _0x708e[355]);_0xb3dcx9= _0xb3dcx9[_0x708e[224]](_0x708e[192]);_0xb3dcx5= _0xb3dcxa+ (_0xb3dcx9[_0x708e[67]]- 1)* _0xb3dcxa* mxConstants[_0x708e[490]];_0xb3dcxa= _0xb3dcx9= 0;_0xb3dcx12== mxConstants[_0x708e[482]]?_0xb3dcxa= -_0xb3dcx5/ 2:_0xb3dcx12!= mxConstants[_0x708e[481]]&& (_0xb3dcxa= _0xb3dcx5/ 2);null!= _0xb3dcx17&& (_0xb3dcx4[_0x708e[124]][_0x708e[603]]= _0xb3dcx17,_0xb3dcx12= _0xb3dcx17* (Math[_0x708e[424]]/ 180),_0xb3dcx9= Math[_0x708e[427]](_0xb3dcx12)* _0xb3dcxa,_0xb3dcxa*= Math[_0x708e[426]](_0xb3dcx12));_0xb3dcx4[_0x708e[62]](_0xb3dcx15);_0xb3dcx4[_0x708e[124]][_0x708e[361]]= this[_0x708e[1239]](_0xb3dcx2- _0xb3dcx9)+ _0x708e[168];_0xb3dcx4[_0x708e[124]][_0x708e[125]]= this[_0x708e[1239]](_0xb3dcx3+ _0xb3dcxa)+ _0x708e[168];this[_0x708e[813]][_0x708e[62]](_0xb3dcx4)};mxVmlCanvas2D[_0x708e[202]][_0x708e[1336]]= function(){this[_0x708e[1370]](!1,!0)};mxVmlCanvas2D[_0x708e[202]][_0x708e[1334]]= function(){this[_0x708e[1370]](!0,!1)};mxVmlCanvas2D[_0x708e[202]][_0x708e[1337]]= function(){this[_0x708e[1370]](!0,!0)};function mxGuide(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[1517]](_0xb3dcx3)}mxGuide[_0x708e[202]][_0x708e[1179]]= null;mxGuide[_0x708e[202]][_0x708e[1214]]= null;mxGuide[_0x708e[202]][_0x708e[662]]= !0;mxGuide[_0x708e[202]][_0x708e[704]]= !0;mxGuide[_0x708e[202]][_0x708e[1518]]= null;mxGuide[_0x708e[202]][_0x708e[1519]]= null;mxGuide[_0x708e[202]][_0x708e[1517]]= function(_0xb3dcx2){this[_0x708e[1214]]= _0xb3dcx2};mxGuide[_0x708e[202]][_0x708e[1019]]= function(_0xb3dcx2){return !0};mxGuide[_0x708e[202]][_0x708e[1520]]= function(){return this[_0x708e[1179]][_0x708e[1020]]* this[_0x708e[1179]][_0x708e[441]][_0x708e[255]]/ 2};mxGuide[_0x708e[202]][_0x708e[1521]]= function(_0xb3dcx2){_0xb3dcx2= new mxPolyline([],mxConstants.GUIDE_COLOR,mxConstants.GUIDE_STROKEWIDTH);_0xb3dcx2[_0x708e[1522]]= !0;return _0xb3dcx2};mxGuide[_0x708e[202]][_0x708e[582]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= this[_0x708e[1214]]&& (this[_0x708e[662]]|| this[_0x708e[704]])&& null!= _0xb3dcx2&& null!= _0xb3dcx3){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[513]],_0xb3dcx9=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcxa=_0xb3dcx3[_0x708e[235]],_0xb3dcx12=_0xb3dcx3[_0x708e[236]],_0xb3dcx13=!1,_0xb3dcx14=!1,_0xb3dcx15=this[_0x708e[1520]](),_0xb3dcx16=_0xb3dcx15,_0xb3dcx17=_0xb3dcx15,_0xb3dcx15=_0xb3dcx2[_0x708e[238]]();_0xb3dcx15[_0x708e[235]]+= _0xb3dcx3[_0x708e[235]];_0xb3dcx15[_0x708e[236]]+= _0xb3dcx3[_0x708e[236]];var _0xb3dcx18=_0xb3dcx15[_0x708e[235]],_0xb3dcx19=_0xb3dcx15[_0x708e[235]]+ _0xb3dcx15[_0x708e[117]],_0xb3dcx1a=_0xb3dcx15[_0x708e[241]](),_0xb3dcx1b=_0xb3dcx15[_0x708e[236]],_0xb3dcx1c=_0xb3dcx15[_0x708e[236]]+ _0xb3dcx15[_0x708e[119]],_0xb3dcx1d=_0xb3dcx15[_0x708e[242]]();_0xb3dcx3= function(_0xb3dcx3){_0xb3dcx3+= this[_0x708e[1179]][_0x708e[1136]];var _0xb3dcx4=!1;Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1a)< _0xb3dcx16?(_0xb3dcxa= _0xb3dcx3- _0xb3dcx2[_0x708e[241]](),_0xb3dcx16= Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1a),_0xb3dcx4= !0):Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx18)< _0xb3dcx16?(_0xb3dcxa= _0xb3dcx3- _0xb3dcx2[_0x708e[235]],_0xb3dcx16= Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx18),_0xb3dcx4= !0):Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx19)< _0xb3dcx16&& (_0xb3dcxa= _0xb3dcx3- _0xb3dcx2[_0x708e[235]]- _0xb3dcx2[_0x708e[117]],_0xb3dcx16= Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx19),_0xb3dcx4= !0);if(_0xb3dcx4){null== this[_0x708e[1518]]&& (this[_0x708e[1518]]= this[_0x708e[1521]](!0),this[_0x708e[1518]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]],this[_0x708e[1518]][_0x708e[1229]]= !1,this[_0x708e[1518]][_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()));var _0xb3dcx5=this[_0x708e[1179]][_0x708e[526]];_0xb3dcx3-= this[_0x708e[1179]][_0x708e[1136]];this[_0x708e[1518]][_0x708e[1525]]= [ new mxPoint(_0xb3dcx3,-this[_0x708e[1179]][_0x708e[1137]]), new mxPoint(_0xb3dcx3,_0xb3dcx5[_0x708e[191]]- 3- this[_0x708e[1179]][_0x708e[1137]])]};_0xb3dcx13= _0xb3dcx13|| _0xb3dcx4};for(var _0xb3dcx15=function(_0xb3dcx3){_0xb3dcx3+= this[_0x708e[1179]][_0x708e[1137]];var _0xb3dcx4=!1;Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1d)< _0xb3dcx17?(_0xb3dcx12= _0xb3dcx3- _0xb3dcx2[_0x708e[242]](),_0xb3dcx17= Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1d),_0xb3dcx4= !0):Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1b)< _0xb3dcx17?(_0xb3dcx12= _0xb3dcx3- _0xb3dcx2[_0x708e[236]],_0xb3dcx17= Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1b),_0xb3dcx4= !0):Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1c)< _0xb3dcx17&& (_0xb3dcx12= _0xb3dcx3- _0xb3dcx2[_0x708e[236]]- _0xb3dcx2[_0x708e[119]],_0xb3dcx17= Math[_0x708e[425]](_0xb3dcx3- _0xb3dcx1c),_0xb3dcx4= !0);if(_0xb3dcx4){null== this[_0x708e[1519]]&& (this[_0x708e[1519]]= this[_0x708e[1521]](!1),this[_0x708e[1519]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]],this[_0x708e[1519]][_0x708e[1229]]= !1,this[_0x708e[1519]][_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()));var _0xb3dcx5=this[_0x708e[1179]][_0x708e[526]];_0xb3dcx3-= this[_0x708e[1179]][_0x708e[1137]];this[_0x708e[1519]][_0x708e[1525]]= [ new mxPoint(-this[_0x708e[1179]][_0x708e[1136]],_0xb3dcx3), new mxPoint(_0xb3dcx5[_0x708e[1526]]- 3- this[_0x708e[1179]][_0x708e[1136]],_0xb3dcx3)]};_0xb3dcx14= _0xb3dcx14|| _0xb3dcx4},_0xb3dcx1e=0;_0xb3dcx1e< this[_0x708e[1214]][_0x708e[67]];_0xb3dcx1e++){var _0xb3dcx1f=this[_0x708e[1214]][_0xb3dcx1e];null!= _0xb3dcx1f&& (this[_0x708e[662]]&& (_0xb3dcx3[_0x708e[239]](this,_0xb3dcx1f[_0x708e[241]]()),_0xb3dcx3[_0x708e[239]](this,_0xb3dcx1f[_0x708e[235]]),_0xb3dcx3[_0x708e[239]](this,_0xb3dcx1f[_0x708e[235]]+ _0xb3dcx1f[_0x708e[117]])),this[_0x708e[704]]&& (_0xb3dcx15[_0x708e[239]](this,_0xb3dcx1f[_0x708e[242]]()),_0xb3dcx15[_0x708e[239]](this,_0xb3dcx1f[_0x708e[236]]),_0xb3dcx15[_0x708e[239]](this,_0xb3dcx1f[_0x708e[236]]+ _0xb3dcx1f[_0x708e[119]])))};!_0xb3dcx13&& null!= this[_0x708e[1518]]?this[_0x708e[1518]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188]:null!= this[_0x708e[1518]]&& (this[_0x708e[1518]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[189],this[_0x708e[1518]][_0x708e[258]]());!_0xb3dcx14&& null!= this[_0x708e[1519]]?this[_0x708e[1519]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188]:null!= this[_0x708e[1519]]&& (this[_0x708e[1519]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[189],this[_0x708e[1519]][_0x708e[258]]());_0xb3dcx4&& (_0xb3dcx13|| (_0xb3dcx4= _0xb3dcx2[_0x708e[235]]- (this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[235]]/ _0xb3dcx9- _0xb3dcx5[_0x708e[235]])+ _0xb3dcx5[_0x708e[235]])* _0xb3dcx9,_0xb3dcxa= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcxa/ _0xb3dcx9)* _0xb3dcx9- _0xb3dcx4),_0xb3dcx14|| (_0xb3dcx5= _0xb3dcx2[_0x708e[236]]- (this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[236]]/ _0xb3dcx9- _0xb3dcx5[_0x708e[236]])+ _0xb3dcx5[_0x708e[236]])* _0xb3dcx9,_0xb3dcx12= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx12/ _0xb3dcx9)* _0xb3dcx9- _0xb3dcx5));_0xb3dcx3= new mxPoint(_0xb3dcxa,_0xb3dcx12)};return _0xb3dcx3};mxGuide[_0x708e[202]][_0x708e[801]]= function(){null!= this[_0x708e[1518]]&& (this[_0x708e[1518]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188]);null!= this[_0x708e[1519]]&& (this[_0x708e[1519]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188])};mxGuide[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[1518]]&& (this[_0x708e[1518]][_0x708e[515]](),this[_0x708e[1518]]= null);null!= this[_0x708e[1519]]&& (this[_0x708e[1519]][_0x708e[515]](),this[_0x708e[1519]]= null)};function mxStencil(_0xb3dcx2){this[_0x708e[1527]]= _0xb3dcx2;this[_0x708e[1528]]();this[_0x708e[1529]]()}mxStencil[_0x708e[1530]]= !1;mxStencil[_0x708e[202]][_0x708e[1527]]= null;mxStencil[_0x708e[202]][_0x708e[1531]]= null;mxStencil[_0x708e[202]][_0x708e[1322]]= null;mxStencil[_0x708e[202]][_0x708e[1532]]= null;mxStencil[_0x708e[202]][_0x708e[1533]]= null;mxStencil[_0x708e[202]][_0x708e[1534]]= null;mxStencil[_0x708e[202]][_0x708e[1535]]= null;mxStencil[_0x708e[202]][_0x708e[1307]]= null;mxStencil[_0x708e[202]][_0x708e[1528]]= function(){this[_0x708e[1535]]= this[_0x708e[1527]][_0x708e[64]](_0x708e[1536])[0];this[_0x708e[1534]]= this[_0x708e[1527]][_0x708e[64]](_0x708e[1537])[0];this[_0x708e[1532]]= Number(this[_0x708e[1527]][_0x708e[284]](_0x708e[1302])|| 100);this[_0x708e[1533]]= Number(this[_0x708e[1527]][_0x708e[284]](_0x708e[1303])|| 100);var _0xb3dcx2=this[_0x708e[1527]][_0x708e[284]](_0x708e[1322]);this[_0x708e[1322]]= null!= _0xb3dcx2?_0xb3dcx2:_0x708e[1538];_0xb3dcx2= this[_0x708e[1527]][_0x708e[284]](_0x708e[1307]);this[_0x708e[1307]]= null!= _0xb3dcx2?_0xb3dcx2:_0x708e[500]};mxStencil[_0x708e[202]][_0x708e[1529]]= function(){var _0xb3dcx2=this[_0x708e[1527]][_0x708e[64]](_0x708e[1539])[0];if(null!= _0xb3dcx2&& (_0xb3dcx2= mxUtils[_0x708e[1540]](_0xb3dcx2),null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]])){this[_0x708e[1531]]= [];for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){this[_0x708e[1531]][_0x708e[207]](this[_0x708e[1541]](_0xb3dcx2[_0xb3dcx3]))}}};mxStencil[_0x708e[202]][_0x708e[1541]]= function(_0xb3dcx2){var _0xb3dcx3=Number(_0xb3dcx2[_0x708e[284]](_0x708e[235])),_0xb3dcx4=Number(_0xb3dcx2[_0x708e[284]](_0x708e[236]));_0xb3dcx2= _0x708e[500]== _0xb3dcx2[_0x708e[284]](_0x708e[591]);return new mxConnectionConstraint( new mxPoint(_0xb3dcx3,_0xb3dcx4),_0xb3dcx2)};mxStencil[_0x708e[202]][_0x708e[1542]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= this[_0x708e[1543]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);_0xb3dcx2= _0xb3dcx2[_0x708e[284]](_0x708e[1544]);if(mxStencil[_0x708e[1530]]&& null== _0xb3dcx2|| _0x708e[500]== _0xb3dcx2){_0xb3dcx3= mxResources[_0x708e[203]](_0xb3dcx3)};return _0xb3dcx3};mxStencil[_0x708e[202]][_0x708e[1543]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= _0xb3dcx2[_0x708e[284]](_0xb3dcx3);null== _0xb3dcx3&& (_0xb3dcx2= mxUtils[_0x708e[329]](_0xb3dcx2),null!= _0xb3dcx2&& (_0xb3dcx2= mxUtils[_0x708e[1545]](_0xb3dcx2),_0x708e[279]== typeof _0xb3dcx2&& (_0xb3dcx3= _0xb3dcx2(_0xb3dcx4))));return _0xb3dcx3};mxStencil[_0x708e[202]][_0x708e[1546]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[1547]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,this[_0x708e[1534]],!1);this[_0x708e[1547]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,this[_0x708e[1535]],!0)};mxStencil[_0x708e[202]][_0x708e[1547]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){if(null!= _0xb3dcx12){var _0xb3dcx14=mxUtils[_0x708e[433]](_0xb3dcx3[_0x708e[124]],mxConstants.STYLE_DIRECTION,null);_0xb3dcx4= this[_0x708e[1548]](_0xb3dcx3[_0x708e[124]],_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx14);_0xb3dcx5= Math[_0x708e[243]](_0xb3dcx4[_0x708e[117]],_0xb3dcx4[_0x708e[119]]);_0xb3dcx5= _0x708e[1549]== this[_0x708e[1307]]?Number(mxUtils[_0x708e[1550]](_0xb3dcx3[_0x708e[124]],mxConstants.STYLE_STROKEWIDTH,1)):Number(this[_0x708e[1307]])* _0xb3dcx5;_0xb3dcx2[_0x708e[1250]](_0xb3dcx5);for(_0xb3dcx12= _0xb3dcx12[_0x708e[285]];null!= _0xb3dcx12;){_0xb3dcx12[_0x708e[288]]== mxConstants[_0x708e[289]]&& this[_0x708e[1551]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx12,_0xb3dcx4,_0xb3dcx13),_0xb3dcx12= _0xb3dcx12[_0x708e[287]]}}};mxStencil[_0x708e[202]][_0x708e[1548]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx2= _0xb3dcx3;_0xb3dcx3= _0xb3dcx5/ this[_0x708e[1532]];var _0xb3dcx12=_0xb3dcx9/ this[_0x708e[1533]];if(_0xb3dcxa= _0x708e[700]== _0xb3dcxa|| _0x708e[701]== _0xb3dcxa){_0xb3dcx12= _0xb3dcx5/ this[_0x708e[1533]];_0xb3dcx3= _0xb3dcx9/ this[_0x708e[1532]];var _0xb3dcx13=(_0xb3dcx5- _0xb3dcx9)/ 2;_0xb3dcx2+= _0xb3dcx13;_0xb3dcx4-= _0xb3dcx13};_0x708e[1552]== this[_0x708e[1322]]&& (_0xb3dcx3= _0xb3dcx12= Math[_0x708e[243]](_0xb3dcx3,_0xb3dcx12),_0xb3dcxa?(_0xb3dcx2+= (_0xb3dcx9- this[_0x708e[1532]]* _0xb3dcx3)/ 2,_0xb3dcx4+= (_0xb3dcx5- this[_0x708e[1533]]* _0xb3dcx12)/ 2):(_0xb3dcx2+= (_0xb3dcx5- this[_0x708e[1532]]* _0xb3dcx3)/ 2,_0xb3dcx4+= (_0xb3dcx9- this[_0x708e[1533]]* _0xb3dcx12)/ 2));return new mxRectangle(_0xb3dcx2,_0xb3dcx4,_0xb3dcx3,_0xb3dcx12)};mxStencil[_0x708e[202]][_0x708e[1551]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx4[_0x708e[301]],_0xb3dcx12=_0xb3dcx5[_0x708e[235]],_0xb3dcx13=_0xb3dcx5[_0x708e[236]],_0xb3dcx14=_0xb3dcx5[_0x708e[117]],_0xb3dcx15=_0xb3dcx5[_0x708e[119]],_0xb3dcx16=Math[_0x708e[243]](_0xb3dcx14,_0xb3dcx15);if(_0x708e[815]== _0xb3dcxa){_0xb3dcx2[_0x708e[815]]()}else {if(_0x708e[1210]== _0xb3dcxa){_0xb3dcx2[_0x708e[1210]]()}else {if(_0x708e[1215]== _0xb3dcxa){_0xb3dcx2[_0x708e[1275]]();for(_0xb3dcx4= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcx4;){_0xb3dcx4[_0x708e[288]]== mxConstants[_0x708e[289]]&& this[_0x708e[1551]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx4= _0xb3dcx4[_0x708e[287]]}}else {if(_0x708e[268]== _0xb3dcxa){_0xb3dcx2[_0x708e[268]]()}else {if(_0x708e[582]== _0xb3dcxa){_0xb3dcx2[_0x708e[1276]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15)}else {if(_0x708e[683]== _0xb3dcxa){_0xb3dcx2[_0x708e[1277]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15)}else {if(_0x708e[1323]== _0xb3dcxa){_0xb3dcx2[_0x708e[1278]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1324]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1325]))* _0xb3dcx15,_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1326]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1327]))* _0xb3dcx15)}else {if(_0x708e[1328]== _0xb3dcxa){_0xb3dcx2[_0x708e[1279]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1324]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1325]))* _0xb3dcx15,_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1326]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1327]))* _0xb3dcx15,_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1329]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[1330]))* _0xb3dcx15)}else {if(_0x708e[1553]== _0xb3dcxa){_0xb3dcx2[_0x708e[1280]](Number(_0xb3dcx4[_0x708e[284]](_0x708e[1397]))* _0xb3dcx14,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1398]))* _0xb3dcx15,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1554])),Number(_0xb3dcx4[_0x708e[284]](_0x708e[1555])),Number(_0xb3dcx4[_0x708e[284]](_0x708e[1556])),_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15)}else {if(_0x708e[1319]== _0xb3dcxa){_0xb3dcx2[_0x708e[1319]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1302]))* _0xb3dcx14,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1303]))* _0xb3dcx15)}else {if(_0x708e[1320]== _0xb3dcxa){_0xb3dcx3= _0xb3dcx4[_0x708e[284]](_0x708e[1492]),0== _0xb3dcx3&& (_0xb3dcx3= 100* mxConstants[_0x708e[1557]]),_0xb3dcx16= Number(_0xb3dcx4[_0x708e[284]](_0x708e[1302]))* _0xb3dcx14,_0xb3dcx5= Number(_0xb3dcx4[_0x708e[284]](_0x708e[1303]))* _0xb3dcx15,_0xb3dcx3= Number(_0xb3dcx3)/ 100,_0xb3dcx3= Math[_0x708e[243]](_0xb3dcx16* _0xb3dcx3,_0xb3dcx5* _0xb3dcx3),_0xb3dcx2[_0x708e[1320]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15,_0xb3dcx16,_0xb3dcx5,_0xb3dcx3,_0xb3dcx3)}else {if(_0x708e[680]== _0xb3dcxa){_0xb3dcx2[_0x708e[680]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1302]))* _0xb3dcx14,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1303]))* _0xb3dcx15)}else {if(_0x708e[618]== _0xb3dcxa){_0xb3dcx3= this[_0x708e[1543]](_0xb3dcx4,_0x708e[390],_0xb3dcx3),_0xb3dcx2[_0x708e[618]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1302]))* _0xb3dcx14,Number(_0xb3dcx4[_0x708e[284]](_0x708e[1303]))* _0xb3dcx15,_0xb3dcx3,!1,_0x708e[500]== _0xb3dcx4[_0x708e[284]](_0x708e[623]),_0x708e[500]== _0xb3dcx4[_0x708e[284]](_0x708e[624]))}else {if(_0x708e[963]== _0xb3dcxa){_0xb3dcx16= this[_0x708e[1542]](_0xb3dcx4,_0x708e[1332],_0xb3dcx3);_0xb3dcx5= _0x708e[500]== _0xb3dcx4[_0x708e[284]](_0x708e[704])?-90:0;if(_0x708e[468]== _0xb3dcx4[_0x708e[284]](_0x708e[1558])){var _0xb3dcx17=_0xb3dcx3[_0x708e[603]],_0xb3dcx18=1== mxUtils[_0x708e[433]](_0xb3dcx3[_0x708e[124]],mxConstants.STYLE_FLIPH,0);_0xb3dcx3= 1== mxUtils[_0x708e[433]](_0xb3dcx3[_0x708e[124]],mxConstants.STYLE_FLIPV,0);_0xb3dcx5= _0xb3dcx18&& _0xb3dcx3?_0xb3dcx5- _0xb3dcx17:_0xb3dcx18|| _0xb3dcx3?_0xb3dcx5+ _0xb3dcx17:_0xb3dcx5- _0xb3dcx17};_0xb3dcx5-= _0xb3dcx4[_0x708e[284]](_0x708e[603]);_0xb3dcx2[_0x708e[963]](_0xb3dcx12+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+ Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15,0,0,_0xb3dcx16,_0xb3dcx4[_0x708e[284]](_0x708e[611])|| _0x708e[361],_0xb3dcx4[_0x708e[284]](_0x708e[552])|| _0x708e[125],!1,_0x708e[110],!1,!1,_0xb3dcx5)}else {if(_0x708e[1559]== _0xb3dcxa){_0xb3dcx17= mxStencilRegistry[_0x708e[1560]](_0xb3dcx4[_0x708e[284]](_0x708e[298])),null!= _0xb3dcx17&& (_0xb3dcx12+= Number(_0xb3dcx4[_0x708e[284]](_0x708e[235]))* _0xb3dcx14,_0xb3dcx13+= Number(_0xb3dcx4[_0x708e[284]](_0x708e[236]))* _0xb3dcx15,_0xb3dcx16= Number(_0xb3dcx4[_0x708e[284]](_0x708e[1302]))* _0xb3dcx14,_0xb3dcx5= Number(_0xb3dcx4[_0x708e[284]](_0x708e[1303]))* _0xb3dcx15,_0xb3dcx17[_0x708e[1546]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx12,_0xb3dcx13,_0xb3dcx16,_0xb3dcx5))}else {if(_0x708e[1338]== _0xb3dcxa){_0xb3dcx2[_0x708e[1337]]()}else {if(_0x708e[1334]== _0xb3dcxa){_0xb3dcx2[_0x708e[1334]]()}else {if(_0x708e[1336]== _0xb3dcxa){_0xb3dcx2[_0x708e[1336]]()}else {if(_0x708e[1307]== _0xb3dcxa){_0xb3dcx2[_0x708e[1250]](Number(_0xb3dcx4[_0x708e[284]](_0x708e[117]))* _0xb3dcx16)}else {if(_0x708e[648]== _0xb3dcxa){_0xb3dcx2[_0x708e[1251]](_0x708e[500]== _0xb3dcx4[_0x708e[284]](_0x708e[648]))}else {if(_0x708e[1308]== _0xb3dcxa){if(_0xb3dcx4= _0xb3dcx4[_0x708e[284]](_0x708e[1309]),null!= _0xb3dcx4){_0xb3dcx4= _0xb3dcx4[_0x708e[224]](_0x708e[185]);_0xb3dcx14= [];for(_0xb3dcx15= 0;_0xb3dcx15< _0xb3dcx4[_0x708e[67]];_0xb3dcx15++){0< _0xb3dcx4[_0xb3dcx15][_0x708e[67]]&& _0xb3dcx14[_0x708e[207]](Number(_0xb3dcx4[_0xb3dcx15])* _0xb3dcx16)};_0xb3dcx4= _0xb3dcx14[_0x708e[234]](_0x708e[185]);_0xb3dcx2[_0x708e[1252]](_0xb3dcx4)}}else {_0x708e[1306]== _0xb3dcxa?_0xb3dcx2[_0x708e[1249]](_0xb3dcx4[_0x708e[284]](_0x708e[352])):_0x708e[1310]== _0xb3dcxa?_0xb3dcx2[_0x708e[1253]](_0xb3dcx4[_0x708e[284]](_0x708e[1311])):_0x708e[1312]== _0xb3dcxa?_0xb3dcx2[_0x708e[1255]](_0xb3dcx4[_0x708e[284]](_0x708e[234])):_0x708e[1313]== _0xb3dcxa?_0xb3dcx2[_0x708e[1257]](Number(_0xb3dcx4[_0x708e[284]](_0x708e[1314]))):_0x708e[1298]== _0xb3dcxa?_0xb3dcx2[_0x708e[1245]](_0xb3dcx4[_0x708e[284]](_0x708e[352])):_0x708e[1244]== _0xb3dcxa?_0xb3dcx2[_0x708e[1243]](_0xb3dcx4[_0x708e[284]](_0x708e[1244])):_0x708e[1315]== _0xb3dcxa?_0xb3dcx2[_0x708e[1259]](_0xb3dcx4[_0x708e[284]](_0x708e[352])):_0x708e[1318]== _0xb3dcxa?_0xb3dcx2[_0x708e[1266]](_0xb3dcx4[_0x708e[284]](_0x708e[124])):_0x708e[1287]== _0xb3dcxa?_0xb3dcx2[_0x708e[1265]](_0xb3dcx4[_0x708e[284]](_0x708e[1288])):_0x708e[1289]== _0xb3dcxa&& _0xb3dcx2[_0x708e[1264]](Number(_0xb3dcx4[_0x708e[284]](_0x708e[803]))* _0xb3dcx16)}}}}}}}}}}}}}}}}}}}}};_0xb3dcx9&& (_0x708e[1338]== _0xb3dcxa|| _0x708e[1334]== _0xb3dcxa|| _0x708e[1336]== _0xb3dcxa)&& _0xb3dcx2[_0x708e[1267]](!1)};function mxShape(_0xb3dcx2){this[_0x708e[1561]]= _0xb3dcx2;this[_0x708e[1307]]= 1;this[_0x708e[603]]= 0;this[_0x708e[461]]= 100;this[_0x708e[624]]= this[_0x708e[623]]= !1}mxShape[_0x708e[202]][_0x708e[507]]= null;mxShape[_0x708e[202]][_0x708e[255]]= 1;mxShape[_0x708e[202]][_0x708e[1562]]= null;mxShape[_0x708e[202]][_0x708e[1525]]= null;mxShape[_0x708e[202]][_0x708e[252]]= null;mxShape[_0x708e[202]][_0x708e[124]]= null;mxShape[_0x708e[202]][_0x708e[124]]= null;mxShape[_0x708e[202]][_0x708e[1563]]= null;mxShape[_0x708e[202]][_0x708e[1561]]= null;mxShape[_0x708e[202]][_0x708e[1564]]= 6;mxShape[_0x708e[202]][_0x708e[1229]]= !0;mxShape[_0x708e[202]][_0x708e[1565]]= !1;mxShape[_0x708e[202]][_0x708e[1460]]= 1;mxShape[_0x708e[202]][_0x708e[176]]= function(_0xb3dcx2){null== this[_0x708e[252]]&& (this[_0x708e[252]]= this[_0x708e[385]](_0xb3dcx2),null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[62]](this[_0x708e[252]]))};mxShape[_0x708e[202]][_0x708e[1566]]= function(){return !0};mxShape[_0x708e[202]][_0x708e[1567]]= function(){return !1};mxShape[_0x708e[202]][_0x708e[1568]]= function(){return 1== mxUtils[_0x708e[1454]](Math[_0x708e[160]](1,Math[_0x708e[488]](this[_0x708e[1307]]* this[_0x708e[255]])),2)?0.5:0};mxShape[_0x708e[202]][_0x708e[385]]= function(_0xb3dcx2){var _0xb3dcx3=null;return _0xb3dcx3= null!= _0xb3dcx2[_0x708e[538]]?this[_0x708e[1569]](_0xb3dcx2):8== document[_0x708e[5]]|| this[_0x708e[507]]== mxConstants[_0x708e[508]]|| this[_0x708e[507]]!= mxConstants[_0x708e[1523]]&& this[_0x708e[1567]]()?this[_0x708e[1570]](_0xb3dcx2):this[_0x708e[1571]](_0xb3dcx2)};mxShape[_0x708e[202]][_0x708e[1569]]= function(){return document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449])};mxShape[_0x708e[202]][_0x708e[1571]]= function(){var _0xb3dcx2=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1499]);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1570]]= function(){var _0xb3dcx2=document[_0x708e[55]](_0x708e[485]);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1572]]= function(){this[_0x708e[258]]()};mxShape[_0x708e[202]][_0x708e[258]]= function(){this[_0x708e[1573]]();this[_0x708e[1574]]()?(this[_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[110],_0x708e[529]== this[_0x708e[252]][_0x708e[301]]&& this[_0x708e[1567]]()?this[_0x708e[1575]]():this[_0x708e[1576]](),this[_0x708e[1577]]()):(this[_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188],this[_0x708e[1563]]= null)};mxShape[_0x708e[202]][_0x708e[1573]]= function(){var _0xb3dcx2=this[_0x708e[1525]];if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]&& null!= _0xb3dcx2[0]){this[_0x708e[1562]]= new mxRectangle(Number(_0xb3dcx2[0][_0x708e[235]]),Number(_0xb3dcx2[0][_0x708e[236]]),1,1);for(var _0xb3dcx3=1;_0xb3dcx3< this[_0x708e[1525]][_0x708e[67]];_0xb3dcx3++){null!= _0xb3dcx2[_0xb3dcx3]&& this[_0x708e[1562]][_0x708e[99]]( new mxRectangle(Number(_0xb3dcx2[_0xb3dcx3][_0x708e[235]]),Number(_0xb3dcx2[_0xb3dcx3][_0x708e[236]]),1,1))}}};mxShape[_0x708e[202]][_0x708e[1574]]= function(){return null!= this[_0x708e[1562]]&& !isNaN(this[_0x708e[1562]][_0x708e[235]])&& !isNaN(this[_0x708e[1562]][_0x708e[236]])&& !isNaN(this[_0x708e[1562]][_0x708e[117]])&& !isNaN(this[_0x708e[1562]][_0x708e[119]])&& 0< this[_0x708e[1562]][_0x708e[117]]&& 0< this[_0x708e[1562]][_0x708e[119]]};mxShape[_0x708e[202]][_0x708e[1578]]= function(){var _0xb3dcx2=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1499]);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx2[_0x708e[124]][_0x708e[117]]= this[_0x708e[252]][_0x708e[124]][_0x708e[117]];_0xb3dcx2[_0x708e[124]][_0x708e[119]]= this[_0x708e[252]][_0x708e[124]][_0x708e[119]];return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1576]]= function(){var _0xb3dcx2=this[_0x708e[1579]]();for(_0xb3dcx2[_0x708e[1229]]= this[_0x708e[1229]];this[_0x708e[252]][_0x708e[1580]]();){this[_0x708e[252]][_0x708e[266]](this[_0x708e[252]][_0x708e[1581]])};this[_0x708e[1209]](_0xb3dcx2);this[_0x708e[252]]!= _0xb3dcx2[_0x708e[813]]&& this[_0x708e[252]][_0x708e[1583]](_0x708e[1582],_0xb3dcx2[_0x708e[813]][_0x708e[342]]);_0x708e[529]== this[_0x708e[252]][_0x708e[301]]&& 8== document[_0x708e[5]]&& (this[_0x708e[252]][_0x708e[124]][_0x708e[347]]= _0x708e[110],(null== this[_0x708e[1561]]|| !this[_0x708e[1565]])&& mxUtils[_0x708e[1584]](this[_0x708e[252]]));this[_0x708e[1585]](_0xb3dcx2)};mxShape[_0x708e[202]][_0x708e[1579]]= function(){var _0xb3dcx2=null,_0xb3dcx3=null;if(null!= this[_0x708e[252]][_0x708e[538]]){_0xb3dcx2= new mxSvgCanvas2D(this[_0x708e[252]],!1),_0xb3dcx2[_0x708e[1345]]= this[_0x708e[1564]],_0xb3dcx2[_0x708e[1347]]= mxClient[_0x708e[133]]&& !mxClient[_0x708e[75]]&& !mxClient[_0x708e[76]],_0xb3dcx3= this[_0x708e[1568]](),0!= _0xb3dcx3?this[_0x708e[252]][_0x708e[57]](_0x708e[535],_0x708e[536]+ _0xb3dcx3+ _0x708e[537]+ _0xb3dcx3+ _0x708e[460]):this[_0x708e[252]][_0x708e[1390]](_0x708e[535])}else {this[_0x708e[1586]]();var _0xb3dcx4=Math[_0x708e[160]](1,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[117]])),_0xb3dcx5=Math[_0x708e[160]](1,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[119]])),_0xb3dcx3=8== document[_0x708e[5]]&& this[_0x708e[1566]]()?this[_0x708e[1578]]():this[_0x708e[252]],_0xb3dcx2= new mxVmlCanvas2D(_0xb3dcx3,!1);_0x708e[110]!= _0xb3dcx3[_0x708e[337]]&& (_0xb3dcx3[_0x708e[1462]]= _0xb3dcx4* this[_0x708e[1460]]+ _0x708e[537]+ _0xb3dcx5* this[_0x708e[1460]],_0xb3dcx2[_0x708e[255]](this[_0x708e[1460]]),_0xb3dcx2[_0x708e[1460]]= this[_0x708e[1460]]);_0xb3dcx3= this[_0x708e[255]];_0xb3dcx2[_0x708e[513]](-Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]]/ _0xb3dcx3),-Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]]/ _0xb3dcx3))};return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1586]]= function(){this[_0x708e[252]][_0x708e[124]][_0x708e[361]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]])+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[125]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]])+ _0x708e[168];var _0xb3dcx2=Math[_0x708e[160]](1,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[117]])),_0xb3dcx3=Math[_0x708e[160]](1,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[119]]));this[_0x708e[252]][_0x708e[124]][_0x708e[117]]= _0xb3dcx2+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[119]]= _0xb3dcx3+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[277]]= _0x708e[189]};mxShape[_0x708e[202]][_0x708e[1585]]= function(_0xb3dcx2){if(_0xb3dcx2 instanceof mxSvgCanvas2D){for(var _0xb3dcx3 in _0xb3dcx2[_0x708e[1339]]){var _0xb3dcx4=_0xb3dcx2[_0x708e[1339]][_0xb3dcx3];_0xb3dcx4[_0x708e[1587]]= (_0xb3dcx4[_0x708e[1587]]|| 0)+ 1};this[_0x708e[1589]](this[_0x708e[1588]]);this[_0x708e[1588]]= _0xb3dcx2[_0x708e[1339]]}};mxShape[_0x708e[202]][_0x708e[1209]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[255]],_0xb3dcx4=this[_0x708e[1562]][_0x708e[235]]/ _0xb3dcx3,_0xb3dcx5=this[_0x708e[1562]][_0x708e[236]]/ _0xb3dcx3,_0xb3dcx9=this[_0x708e[1562]][_0x708e[117]]/ _0xb3dcx3,_0xb3dcxa=this[_0x708e[1562]][_0x708e[119]]/ _0xb3dcx3;if(this[_0x708e[1590]]()){var _0xb3dcx12=(_0xb3dcx9- _0xb3dcxa)/ 2,_0xb3dcx4=_0xb3dcx4+ _0xb3dcx12,_0xb3dcx5=_0xb3dcx5- _0xb3dcx12,_0xb3dcx12=_0xb3dcx9,_0xb3dcx9=_0xb3dcxa,_0xb3dcxa=_0xb3dcx12};this[_0x708e[1591]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa);this[_0x708e[1592]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa);if(null!= this[_0x708e[1561]]){this[_0x708e[1593]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa)}else {if(_0xb3dcx2[_0x708e[1250]](this[_0x708e[1307]]),null!= this[_0x708e[1525]]){_0xb3dcx4= [];for(_0xb3dcx5= 0;_0xb3dcx5< this[_0x708e[1525]][_0x708e[67]];_0xb3dcx5++){_0xb3dcx4[_0x708e[207]]( new mxPoint(this[_0x708e[1525]][_0xb3dcx5][_0x708e[235]]/ _0xb3dcx3,this[_0x708e[1525]][_0xb3dcx5][_0x708e[236]]/ _0xb3dcx3))};this[_0x708e[1594]](_0xb3dcx2,_0xb3dcx4)}else {this[_0x708e[1595]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa)}}};mxShape[_0x708e[202]][_0x708e[1592]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=null;null!= this[_0x708e[124]]&& (_0xb3dcxa= this[_0x708e[124]][_0x708e[649]]);_0xb3dcx2[_0x708e[1243]](this[_0x708e[461]]/ 100);null!= this[_0x708e[1596]]&& _0xb3dcx2[_0x708e[1267]](this[_0x708e[1596]]);null!= this[_0x708e[1522]]&& _0xb3dcx2[_0x708e[1251]](this[_0x708e[1522]]);null!= _0xb3dcxa&& _0xb3dcx2[_0x708e[1252]](_0xb3dcxa);null!= this[_0x708e[1299]]?(_0xb3dcx3= this[_0x708e[1597]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[1246]](this[_0x708e[1334]],this[_0x708e[1299]],_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]],this[_0x708e[607]])):_0xb3dcx2[_0x708e[1245]](this[_0x708e[1334]]);_0xb3dcx2[_0x708e[1249]](this[_0x708e[1336]])};mxShape[_0x708e[202]][_0x708e[1597]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return new mxRectangle(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)};mxShape[_0x708e[202]][_0x708e[1591]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[255]](this[_0x708e[255]]);_0xb3dcx2[_0x708e[1294]](this[_0x708e[1598]](),this[_0x708e[623]],this[_0x708e[624]],_0xb3dcx3+ _0xb3dcx5/ 2,_0xb3dcx4+ _0xb3dcx9/ 2)};mxShape[_0x708e[202]][_0x708e[1593]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){this[_0x708e[1565]]&& (this[_0x708e[507]]== mxConstants[_0x708e[508]]?this[_0x708e[1599]](this[_0x708e[252]],_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9):8!= document[_0x708e[5]]&& this[_0x708e[1600]](this[_0x708e[252]]));this[_0x708e[1561]][_0x708e[1546]](_0xb3dcx2,this,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)};mxShape[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){this[_0x708e[1601]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1267]](!1);this[_0x708e[1602]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)};mxShape[_0x708e[202]][_0x708e[1601]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){};mxShape[_0x708e[202]][_0x708e[1602]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){};mxShape[_0x708e[202]][_0x708e[1594]]= function(_0xb3dcx2,_0xb3dcx3){};mxShape[_0x708e[202]][_0x708e[1603]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ARCSIZE,100* mxConstants[_0x708e[1557]])/ 100;return Math[_0x708e[243]](_0xb3dcx2* _0xb3dcx4,_0xb3dcx3* _0xb3dcx4)};mxShape[_0x708e[202]][_0x708e[1604]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=Math[_0x708e[430]](this[_0x708e[1307]]/ 2);_0xb3dcx2[_0x708e[1246]](_0x708e[1605],_0x708e[1605],_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,0.6* _0xb3dcx9,_0x708e[701],0.9,0.1);_0xb3dcx2[_0x708e[1275]]();_0xb3dcxa+= 2* _0xb3dcx12;this[_0x708e[1606]]?(_0xb3dcx2[_0x708e[1276]](_0xb3dcx3- _0xb3dcx12+ _0xb3dcxa,_0xb3dcx4- _0xb3dcx12),_0xb3dcx2[_0x708e[1278]](_0xb3dcx3- _0xb3dcx12,_0xb3dcx4- _0xb3dcx12,_0xb3dcx3- _0xb3dcx12,_0xb3dcx4- _0xb3dcx12+ _0xb3dcxa),_0xb3dcx2[_0x708e[1277]](_0xb3dcx3- _0xb3dcx12,_0xb3dcx4+ 0.4* _0xb3dcx9),_0xb3dcx2[_0x708e[1278]](_0xb3dcx3+ 0.5* _0xb3dcx5,_0xb3dcx4+ 0.7* _0xb3dcx9,_0xb3dcx3+ _0xb3dcx5+ _0xb3dcx12,_0xb3dcx4+ 0.4* _0xb3dcx9),_0xb3dcx2[_0x708e[1277]](_0xb3dcx3+ _0xb3dcx5+ _0xb3dcx12,_0xb3dcx4- _0xb3dcx12+ _0xb3dcxa),_0xb3dcx2[_0x708e[1278]](_0xb3dcx3+ _0xb3dcx5+ _0xb3dcx12,_0xb3dcx4- _0xb3dcx12,_0xb3dcx3+ _0xb3dcx5+ _0xb3dcx12- _0xb3dcxa,_0xb3dcx4- _0xb3dcx12)):(_0xb3dcx2[_0x708e[1276]](_0xb3dcx3- _0xb3dcx12,_0xb3dcx4- _0xb3dcx12),_0xb3dcx2[_0x708e[1277]](_0xb3dcx3- _0xb3dcx12,_0xb3dcx4+ 0.4* _0xb3dcx9),_0xb3dcx2[_0x708e[1278]](_0xb3dcx3+ 0.5* _0xb3dcx5,_0xb3dcx4+ 0.7* _0xb3dcx9,_0xb3dcx3+ _0xb3dcx5+ _0xb3dcx12,_0xb3dcx4+ 0.4* _0xb3dcx9),_0xb3dcx2[_0x708e[1277]](_0xb3dcx3+ _0xb3dcx5+ _0xb3dcx12,_0xb3dcx4- _0xb3dcx12));_0xb3dcx2[_0x708e[268]]();_0xb3dcx2[_0x708e[1334]]()};mxShape[_0x708e[202]][_0x708e[183]]= function(_0xb3dcx2){this[_0x708e[724]]= _0xb3dcx2;this[_0x708e[124]]= _0xb3dcx2[_0x708e[124]];if(null!= this[_0x708e[124]]){this[_0x708e[1334]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_FILLCOLOR,this[_0x708e[1334]]);this[_0x708e[1299]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_GRADIENTCOLOR,this[_0x708e[1299]]);this[_0x708e[607]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_GRADIENT_DIRECTION,this[_0x708e[607]]);this[_0x708e[461]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_OPACITY,this[_0x708e[461]]);this[_0x708e[1336]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_STROKECOLOR,this[_0x708e[1336]]);this[_0x708e[1307]]= mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_STROKEWIDTH,this[_0x708e[1307]]);this[_0x708e[657]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_SPACING,this[_0x708e[657]]);this[_0x708e[644]]= mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_STARTSIZE,this[_0x708e[644]]);this[_0x708e[643]]= mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_ENDSIZE,this[_0x708e[643]]);this[_0x708e[642]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_STARTARROW,this[_0x708e[642]]);this[_0x708e[641]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ENDARROW,this[_0x708e[641]]);this[_0x708e[603]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ROTATION,this[_0x708e[603]]);this[_0x708e[663]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_DIRECTION,this[_0x708e[663]]);this[_0x708e[623]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_FLIPH,0);this[_0x708e[624]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_FLIPV,0);null!= this[_0x708e[1561]]&& (this[_0x708e[623]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],_0x708e[1607],0)|| this[_0x708e[623]],this[_0x708e[624]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],_0x708e[1608],0)|| this[_0x708e[624]]);if(_0x708e[700]== this[_0x708e[663]]|| _0x708e[701]== this[_0x708e[663]]){_0xb3dcx2= this[_0x708e[623]],this[_0x708e[623]]= this[_0x708e[624]],this[_0x708e[624]]= _0xb3dcx2};this[_0x708e[1596]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_SHADOW,this[_0x708e[1596]]);this[_0x708e[1522]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_DASHED,this[_0x708e[1522]]);this[_0x708e[1606]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ROUNDED,this[_0x708e[1606]]);this[_0x708e[617]]= 1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_GLASS,this[_0x708e[617]]);_0x708e[130]== this[_0x708e[1334]]&& (this[_0x708e[1334]]= null);_0x708e[130]== this[_0x708e[1299]]&& (this[_0x708e[1299]]= null);_0x708e[130]== this[_0x708e[1336]]&& (this[_0x708e[1336]]= null)}};mxShape[_0x708e[202]][_0x708e[1609]]= function(_0xb3dcx2){null== _0xb3dcx2&& (_0xb3dcx2= _0x708e[110]);this[_0x708e[270]]= _0xb3dcx2;null!= this[_0x708e[252]]&& (this[_0x708e[252]][_0x708e[124]][_0x708e[270]]= _0xb3dcx2)};mxShape[_0x708e[202]][_0x708e[1610]]= function(){return this[_0x708e[270]]};mxShape[_0x708e[202]][_0x708e[1577]]= function(){if(null!= this[_0x708e[1562]]){var _0xb3dcx2=this[_0x708e[1611]]();if(null!= _0xb3dcx2){this[_0x708e[1612]](_0xb3dcx2);var _0xb3dcx3=this[_0x708e[1598]]();0!= _0xb3dcx3&& (_0xb3dcx2= mxUtils[_0x708e[1613]](_0xb3dcx2,_0xb3dcx3));_0xb3dcx2[_0x708e[235]]= Math[_0x708e[519]](_0xb3dcx2[_0x708e[235]]);_0xb3dcx2[_0x708e[236]]= Math[_0x708e[519]](_0xb3dcx2[_0x708e[236]]);_0xb3dcx2[_0x708e[117]]= Math[_0x708e[430]](_0xb3dcx2[_0x708e[117]]);_0xb3dcx2[_0x708e[119]]= Math[_0x708e[430]](_0xb3dcx2[_0x708e[119]])};this[_0x708e[1563]]= _0xb3dcx2}};mxShape[_0x708e[202]][_0x708e[1611]]= function(){var _0xb3dcx2=this[_0x708e[1562]][_0x708e[238]]();if(this[_0x708e[1590]]()){var _0xb3dcx3=(_0xb3dcx2[_0x708e[117]]- _0xb3dcx2[_0x708e[119]])/ 2;_0xb3dcx2[_0x708e[235]]+= _0xb3dcx3;_0xb3dcx2[_0x708e[236]]-= _0xb3dcx3;_0xb3dcx3= _0xb3dcx2[_0x708e[117]];_0xb3dcx2[_0x708e[117]]= _0xb3dcx2[_0x708e[119]];_0xb3dcx2[_0x708e[119]]= _0xb3dcx3};return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1612]]= function(_0xb3dcx2){this[_0x708e[1596]]&& (_0xb3dcx2[_0x708e[117]]+= Math[_0x708e[430]](mxConstants[_0x708e[1237]]* this[_0x708e[255]]),_0xb3dcx2[_0x708e[119]]+= Math[_0x708e[430]](mxConstants[_0x708e[1238]]* this[_0x708e[255]]));var _0xb3dcx3=Math[_0x708e[430]](this[_0x708e[1307]]* this[_0x708e[255]]);_0xb3dcx2[_0x708e[244]](Math[_0x708e[430]](_0xb3dcx3/ 2))};mxShape[_0x708e[202]][_0x708e[1590]]= function(){return null== this[_0x708e[1561]]&& (_0x708e[700]== this[_0x708e[663]]|| _0x708e[701]== this[_0x708e[663]])};mxShape[_0x708e[202]][_0x708e[1614]]= function(){return null!= this[_0x708e[603]]?this[_0x708e[603]]:0};mxShape[_0x708e[202]][_0x708e[1615]]= function(){var _0xb3dcx2=this[_0x708e[1614]]();1!= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_HORIZONTAL,1)&& (_0xb3dcx2+= mxText[_0x708e[202]][_0x708e[1616]]);return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1598]]= function(){var _0xb3dcx2=this[_0x708e[1614]]();null!= this[_0x708e[663]]&& (_0x708e[700]== this[_0x708e[663]]?_0xb3dcx2+= 270:_0x708e[703]== this[_0x708e[663]]?_0xb3dcx2+= 180:_0x708e[701]== this[_0x708e[663]]&& (_0xb3dcx2+= 90));return _0xb3dcx2};mxShape[_0x708e[202]][_0x708e[1599]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[1319]);_0xb3dcx2[_0x708e[57]](_0x708e[235],_0xb3dcx3);_0xb3dcx2[_0x708e[57]](_0x708e[236],_0xb3dcx4);_0xb3dcx2[_0x708e[57]](_0x708e[117],_0xb3dcx5);_0xb3dcx2[_0x708e[57]](_0x708e[119],_0xb3dcx9);_0xb3dcx2[_0x708e[57]](_0x708e[1334],_0x708e[130]);_0xb3dcx2[_0x708e[57]](_0x708e[1336],_0x708e[130]);_0xb3dcx2[_0x708e[57]](_0x708e[1377],_0x708e[1378]);this[_0x708e[252]][_0x708e[62]](_0xb3dcx2)};mxShape[_0x708e[202]][_0x708e[1600]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[124]][_0x708e[1617]]= _0x708e[1618]+ mxClient[_0x708e[88]]+ _0x708e[1619]};mxShape[_0x708e[202]][_0x708e[1589]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3 in _0xb3dcx2){var _0xb3dcx4=_0xb3dcx2[_0xb3dcx3];_0xb3dcx4[_0x708e[1587]]= (_0xb3dcx4[_0x708e[1587]]|| 0)- 1;0== _0xb3dcx4[_0x708e[1587]]&& null!= _0xb3dcx4[_0x708e[265]]&& _0xb3dcx4[_0x708e[265]][_0x708e[266]](_0xb3dcx4)}}};mxShape[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[252]]&& (mxEvent[_0x708e[762]](this[_0x708e[252]]),null!= this[_0x708e[252]][_0x708e[265]]&& this[_0x708e[252]][_0x708e[265]][_0x708e[266]](this[_0x708e[252]]),this[_0x708e[252]]= null);this[_0x708e[1589]](this[_0x708e[1588]]);this[_0x708e[1588]]= null};var mxStencilRegistry={stencils:[],addStencil:function(_0xb3dcx2,_0xb3dcx3){mxStencilRegistry[_0x708e[1620]][_0xb3dcx2]= _0xb3dcx3},getStencil:function(_0xb3dcx2){return mxStencilRegistry[_0x708e[1620]][_0xb3dcx2]}},mxMarker={markers:[],addMarker:function(_0xb3dcx2,_0xb3dcx3){mxMarker[_0x708e[1621]][_0xb3dcx2]= _0xb3dcx3},createMarker:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15){var _0xb3dcx16=mxMarker[_0x708e[1621]][_0xb3dcx4];return null!= _0xb3dcx16?_0xb3dcx16(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15):null}};(function(){function _0xb3dcx2(_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){_0xb3dcx3= 1.118* _0xb3dcx12* _0xb3dcx16;_0xb3dcx15= 1.118* _0xb3dcx13* _0xb3dcx16;_0xb3dcx12*= _0xb3dcx14+ _0xb3dcx16;_0xb3dcx13*= _0xb3dcx14+ _0xb3dcx16;var _0xb3dcx18=_0xb3dcxa[_0x708e[238]]();_0xb3dcx18[_0x708e[235]]-= _0xb3dcx3;_0xb3dcx18[_0x708e[236]]-= _0xb3dcx15;_0xb3dcx14= _0xb3dcx9!= mxConstants[_0x708e[1622]]?1:0.75;_0xb3dcxa[_0x708e[235]]+= -_0xb3dcx12* _0xb3dcx14- _0xb3dcx3;_0xb3dcxa[_0x708e[236]]+= -_0xb3dcx13* _0xb3dcx14- _0xb3dcx15;return function(){_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx18[_0x708e[235]],_0xb3dcx18[_0x708e[236]]);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]- _0xb3dcx12- _0xb3dcx13/ 2,_0xb3dcx18[_0x708e[236]]- _0xb3dcx13+ _0xb3dcx12/ 2);_0xb3dcx9== mxConstants[_0x708e[1622]]&& _0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]- 3* _0xb3dcx12/ 4,_0xb3dcx18[_0x708e[236]]- 3* _0xb3dcx13/ 4);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]+ _0xb3dcx13/ 2- _0xb3dcx12,_0xb3dcx18[_0x708e[236]]- _0xb3dcx13- _0xb3dcx12/ 2);_0xb3dcx2[_0x708e[268]]();_0xb3dcx17?_0xb3dcx2[_0x708e[1337]]():_0xb3dcx2[_0x708e[1336]]()}}function _0xb3dcx3(_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){_0xb3dcx15= _0xb3dcx9== mxConstants[_0x708e[1623]]?0.7071:0.9862;_0xb3dcx3= _0xb3dcx12* _0xb3dcx16* _0xb3dcx15;_0xb3dcx15*= _0xb3dcx13* _0xb3dcx16;_0xb3dcx12*= _0xb3dcx14+ _0xb3dcx16;_0xb3dcx13*= _0xb3dcx14+ _0xb3dcx16;var _0xb3dcx18=_0xb3dcxa[_0x708e[238]]();_0xb3dcx18[_0x708e[235]]-= _0xb3dcx3;_0xb3dcx18[_0x708e[236]]-= _0xb3dcx15;_0xb3dcxa[_0x708e[235]]+= -_0xb3dcx12- _0xb3dcx3;_0xb3dcxa[_0x708e[236]]+= -_0xb3dcx13- _0xb3dcx15;var _0xb3dcx19=_0xb3dcx9== mxConstants[_0x708e[1623]]?2:3.4;return function(){_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx18[_0x708e[235]],_0xb3dcx18[_0x708e[236]]);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]- _0xb3dcx12/ 2- _0xb3dcx13/ _0xb3dcx19,_0xb3dcx18[_0x708e[236]]+ _0xb3dcx12/ _0xb3dcx19- _0xb3dcx13/ 2);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]- _0xb3dcx12,_0xb3dcx18[_0x708e[236]]- _0xb3dcx13);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]- _0xb3dcx12/ 2+ _0xb3dcx13/ _0xb3dcx19,_0xb3dcx18[_0x708e[236]]- _0xb3dcx13/ 2- _0xb3dcx12/ _0xb3dcx19);_0xb3dcx2[_0x708e[268]]();_0xb3dcx17?_0xb3dcx2[_0x708e[1337]]():_0xb3dcx2[_0x708e[1336]]()}}mxMarker[_0x708e[1624]](_0x708e[693],_0xb3dcx2);mxMarker[_0x708e[1624]](_0x708e[694],_0xb3dcx2);mxMarker[_0x708e[1624]](_0x708e[392],function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){_0xb3dcx3= 1.118* _0xb3dcx12* _0xb3dcx16;_0xb3dcx9= 1.118* _0xb3dcx13* _0xb3dcx16;_0xb3dcx12*= _0xb3dcx14+ _0xb3dcx16;_0xb3dcx13*= _0xb3dcx14+ _0xb3dcx16;var _0xb3dcx18=_0xb3dcxa[_0x708e[238]]();_0xb3dcx18[_0x708e[235]]-= _0xb3dcx3;_0xb3dcx18[_0x708e[236]]-= _0xb3dcx9;_0xb3dcxa[_0x708e[235]]+= 2* -_0xb3dcx3;_0xb3dcxa[_0x708e[236]]+= 2* -_0xb3dcx9;return function(){_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx18[_0x708e[235]]- _0xb3dcx12- _0xb3dcx13/ 2,_0xb3dcx18[_0x708e[236]]- _0xb3dcx13+ _0xb3dcx12/ 2);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]],_0xb3dcx18[_0x708e[236]]);_0xb3dcx2[_0x708e[1277]](_0xb3dcx18[_0x708e[235]]+ _0xb3dcx13/ 2- _0xb3dcx12,_0xb3dcx18[_0x708e[236]]- _0xb3dcx13- _0xb3dcx12/ 2);_0xb3dcx2[_0x708e[1336]]()}});mxMarker[_0x708e[1624]](_0x708e[695],function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17){var _0xb3dcx18=_0xb3dcx14/ 2,_0xb3dcx19=_0xb3dcxa[_0x708e[238]]();_0xb3dcxa[_0x708e[235]]-= _0xb3dcx12* _0xb3dcx18;_0xb3dcxa[_0x708e[236]]-= _0xb3dcx13* _0xb3dcx18;return function(){_0xb3dcx2[_0x708e[680]](_0xb3dcx19[_0x708e[235]]- _0xb3dcx18,_0xb3dcx19[_0x708e[236]]- _0xb3dcx18,_0xb3dcx14,_0xb3dcx14);_0xb3dcx17?_0xb3dcx2[_0x708e[1337]]():_0xb3dcx2[_0x708e[1336]]()}});mxMarker[_0x708e[1624]](_0x708e[696],_0xb3dcx3);mxMarker[_0x708e[1624]](_0x708e[697],_0xb3dcx3)})();function mxActor(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxActor,mxShape);mxActor[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[513]](_0xb3dcx3,_0xb3dcx4);_0xb3dcx2[_0x708e[1275]]();this[_0x708e[1625]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1337]]()};mxActor[_0x708e[202]][_0x708e[1625]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx3= _0xb3dcx5/ 3;_0xb3dcx2[_0x708e[1276]](0,_0xb3dcx9);_0xb3dcx2[_0x708e[1279]](0,3* _0xb3dcx9/ 5,0,2* _0xb3dcx9/ 5,_0xb3dcx5/ 2,2* _0xb3dcx9/ 5);_0xb3dcx2[_0x708e[1279]](_0xb3dcx5/ 2- _0xb3dcx3,2* _0xb3dcx9/ 5,_0xb3dcx5/ 2- _0xb3dcx3,0,_0xb3dcx5/ 2,0);_0xb3dcx2[_0x708e[1279]](_0xb3dcx5/ 2+ _0xb3dcx3,0,_0xb3dcx5/ 2+ _0xb3dcx3,2* _0xb3dcx9/ 5,_0xb3dcx5/ 2,2* _0xb3dcx9/ 5);_0xb3dcx2[_0x708e[1279]](_0xb3dcx5,2* _0xb3dcx9/ 5,_0xb3dcx5,3* _0xb3dcx9/ 5,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[268]]()};function mxCloud(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxActor[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxCloud,mxActor);mxCloud[_0x708e[202]][_0x708e[1625]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[1276]](0.25* _0xb3dcx5,0.25* _0xb3dcx9);_0xb3dcx2[_0x708e[1279]](0.05* _0xb3dcx5,0.25* _0xb3dcx9,0,0.5* _0xb3dcx9,0.16* _0xb3dcx5,0.55* _0xb3dcx9);_0xb3dcx2[_0x708e[1279]](0,0.66* _0xb3dcx9,0.18* _0xb3dcx5,0.9* _0xb3dcx9,0.31* _0xb3dcx5,0.8* _0xb3dcx9);_0xb3dcx2[_0x708e[1279]](0.4* _0xb3dcx5,_0xb3dcx9,0.7* _0xb3dcx5,_0xb3dcx9,0.8* _0xb3dcx5,0.8* _0xb3dcx9);_0xb3dcx2[_0x708e[1279]](_0xb3dcx5,0.8* _0xb3dcx9,_0xb3dcx5,0.6* _0xb3dcx9,0.875* _0xb3dcx5,0.5* _0xb3dcx9);_0xb3dcx2[_0x708e[1279]](_0xb3dcx5,0.3* _0xb3dcx9,0.8* _0xb3dcx5,0.1* _0xb3dcx9,0.625* _0xb3dcx5,0.2* _0xb3dcx9);_0xb3dcx2[_0x708e[1279]](0.5* _0xb3dcx5,0.05* _0xb3dcx9,0.3* _0xb3dcx5,0.05* _0xb3dcx9,0.25* _0xb3dcx5,0.25* _0xb3dcx9);_0xb3dcx2[_0x708e[268]]()};function mxRectangleShape(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxRectangleShape,mxShape);mxRectangleShape[_0x708e[202]][_0x708e[1567]]= function(){return !this[_0x708e[1606]]&& !this[_0x708e[617]]&& 0== this[_0x708e[603]]};mxRectangleShape[_0x708e[202]][_0x708e[1601]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(this[_0x708e[1606]]){var _0xb3dcxa=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ARCSIZE,100* mxConstants[_0x708e[1557]])/ 100,_0xb3dcxa=Math[_0x708e[243]](_0xb3dcx5* _0xb3dcxa,_0xb3dcx9* _0xb3dcxa);_0xb3dcx2[_0x708e[1320]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcxa)}else {_0xb3dcx2[_0x708e[1319]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)};_0xb3dcx2[_0x708e[1337]]()};mxRectangleShape[_0x708e[202]][_0x708e[1602]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){this[_0x708e[617]]&& this[_0x708e[1604]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,this[_0x708e[1603]](_0xb3dcx5+ this[_0x708e[1307]],_0xb3dcx9+ this[_0x708e[1307]]))};mxRectangleShape[_0x708e[202]][_0x708e[1575]]= function(){this[_0x708e[1626]](this[_0x708e[252]]);this[_0x708e[1627]](this[_0x708e[252]]);this[_0x708e[1628]](this[_0x708e[252]])};mxRectangleShape[_0x708e[202]][_0x708e[1626]]= function(_0xb3dcx2){var _0xb3dcx3=9<= document[_0x708e[5]]?0:Math[_0x708e[430]](this[_0x708e[1307]]* this[_0x708e[255]]);_0xb3dcx2[_0x708e[124]][_0x708e[1629]]= Math[_0x708e[160]](1,_0xb3dcx3)+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[277]]= _0x708e[188];_0xb3dcx2[_0x708e[124]][_0x708e[361]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]]- _0xb3dcx3/ 2)+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[125]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]]- _0xb3dcx3/ 2)+ _0x708e[168];_0x708e[462]== document[_0x708e[135]]&& (_0xb3dcx3= -_0xb3dcx3);_0xb3dcx2[_0x708e[124]][_0x708e[117]]= Math[_0x708e[488]](Math[_0x708e[160]](0,this[_0x708e[1562]][_0x708e[117]]+ _0xb3dcx3))+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[119]]= Math[_0x708e[488]](Math[_0x708e[160]](0,this[_0x708e[1562]][_0x708e[119]]+ _0xb3dcx3))+ _0x708e[168]};mxRectangleShape[_0x708e[202]][_0x708e[1628]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1336]];null!= _0xb3dcx3&& _0xb3dcx3!= mxConstants[_0x708e[217]]?(_0xb3dcx2[_0x708e[124]][_0x708e[1630]]= _0xb3dcx3,this[_0x708e[1522]]?_0xb3dcx2[_0x708e[124]][_0x708e[465]]= _0x708e[648]:0< this[_0x708e[1307]]&& (_0xb3dcx2[_0x708e[124]][_0x708e[465]]= _0x708e[1631]),_0xb3dcx2[_0x708e[124]][_0x708e[1629]]= Math[_0x708e[160]](1,Math[_0x708e[430]](this[_0x708e[1307]]* this[_0x708e[255]]))+ _0x708e[168]):_0xb3dcx2[_0x708e[124]][_0x708e[1629]]= _0x708e[946];_0xb3dcx3= this[_0x708e[1334]];null!= _0xb3dcx3&& _0xb3dcx3!= mxConstants[_0x708e[217]]?(_0xb3dcx2[_0x708e[124]][_0x708e[1028]]= _0xb3dcx3,_0xb3dcx2[_0x708e[124]][_0x708e[1617]]= _0x708e[130]):this[_0x708e[1229]]?_0xb3dcx2[_0x708e[124]][_0x708e[1028]]= _0x708e[1373]:8== document[_0x708e[5]]?mxUtils[_0x708e[1584]](_0xb3dcx2):this[_0x708e[1600]](_0xb3dcx2)};mxRectangleShape[_0x708e[202]][_0x708e[1627]]= function(_0xb3dcx2){var _0xb3dcx3=_0x708e[110];100> this[_0x708e[461]]&& (_0xb3dcx3+= _0x708e[459]+ this[_0x708e[461]]+ _0x708e[460]);this[_0x708e[1596]]&& (_0xb3dcx3+= _0x708e[1632]+ Math[_0x708e[488]](mxConstants[_0x708e[1237]]* this[_0x708e[255]])+ _0x708e[1633]+ Math[_0x708e[488]](mxConstants[_0x708e[1238]]* this[_0x708e[255]])+ _0x708e[1634]+ mxConstants[_0x708e[1235]]+ _0x708e[1635]);if(this[_0x708e[1299]]){var _0xb3dcx4=this[_0x708e[1334]],_0xb3dcx5=this[_0x708e[1299]],_0xb3dcx9=_0x708e[468],_0xb3dcxa={east:0,south:1,west:2,north:3},_0xb3dcx12=null!= this[_0x708e[663]]?_0xb3dcxa[this[_0x708e[663]]]:0;null!= this[_0x708e[607]]&& (_0xb3dcx12= mxUtils[_0x708e[1454]](_0xb3dcx12+ _0xb3dcxa[this[_0x708e[607]]]- 1,4));1== _0xb3dcx12?(_0xb3dcx9= _0x708e[500],_0xb3dcxa= _0xb3dcx4,_0xb3dcx4= _0xb3dcx5,_0xb3dcx5= _0xb3dcxa):2== _0xb3dcx12?(_0xb3dcxa= _0xb3dcx4,_0xb3dcx4= _0xb3dcx5,_0xb3dcx5= _0xb3dcxa):3== _0xb3dcx12&& (_0xb3dcx9= _0x708e[500]);_0xb3dcx3+= _0x708e[1636]+ _0xb3dcx4+ _0x708e[1637]+ _0xb3dcx5+ _0x708e[1638]+ _0xb3dcx9+ _0x708e[1635]};_0xb3dcx2[_0x708e[124]][_0x708e[347]]= _0xb3dcx3};function mxEllipse(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxEllipse,mxShape);mxEllipse[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[680]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1337]]()};function mxDoubleEllipse(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxDoubleEllipse,mxShape);mxDoubleEllipse[_0x708e[202]][_0x708e[1460]]= 10;mxDoubleEllipse[_0x708e[202]][_0x708e[1601]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[680]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1337]]()};mxDoubleEllipse[_0x708e[202]][_0x708e[1602]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=Math[_0x708e[243]](4,Math[_0x708e[243]](_0xb3dcx5/ 5,_0xb3dcx9/ 5));_0xb3dcx5-= 2* _0xb3dcxa;_0xb3dcx9-= 2* _0xb3dcxa;0< _0xb3dcx5&& 0< _0xb3dcx9&& _0xb3dcx2[_0x708e[680]](_0xb3dcx3+ _0xb3dcxa,_0xb3dcx4+ _0xb3dcxa,_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1336]]()};function mxRhombus(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxRhombus,mxShape);mxRhombus[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx5/ 2,_0xb3dcx12=_0xb3dcx9/ 2;_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx3+ _0xb3dcxa,_0xb3dcx4);_0xb3dcx2[_0x708e[1277]](_0xb3dcx3+ _0xb3dcx5,_0xb3dcx4+ _0xb3dcx12);_0xb3dcx2[_0x708e[1277]](_0xb3dcx3+ _0xb3dcxa,_0xb3dcx4+ _0xb3dcx9);_0xb3dcx2[_0x708e[1277]](_0xb3dcx3,_0xb3dcx4+ _0xb3dcx12);_0xb3dcx2[_0x708e[268]]();_0xb3dcx2[_0x708e[1337]]()};function mxPolyline(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxShape[_0x708e[239]](this);this[_0x708e[1525]]= _0xb3dcx2;this[_0x708e[1336]]= _0xb3dcx3;this[_0x708e[1307]]= null!= _0xb3dcx4?_0xb3dcx4:1}mxUtils[_0x708e[1284]](mxPolyline,mxShape);mxPolyline[_0x708e[202]][_0x708e[1614]]= function(){return 0};mxPolyline[_0x708e[202]][_0x708e[1594]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1639]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[1606]])};mxPolyline[_0x708e[202]][_0x708e[1639]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ARCSIZE,mxConstants.LINE_ARCSIZE)/ 2,_0xb3dcx9=_0xb3dcx3[0],_0xb3dcxa=_0xb3dcx3[_0xb3dcx3[_0x708e[67]]- 1];_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]]);for(var _0xb3dcx12=1;_0xb3dcx12< _0xb3dcx3[_0x708e[67]]- 1;_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx3[_0xb3dcx12],_0xb3dcx14=_0xb3dcx9[_0x708e[235]]- _0xb3dcx13[_0x708e[235]],_0xb3dcx9=_0xb3dcx9[_0x708e[236]]- _0xb3dcx13[_0x708e[236]];if(_0xb3dcx4&& _0xb3dcx12< _0xb3dcx3[_0x708e[67]]- 1&& (0!= _0xb3dcx14|| 0!= _0xb3dcx9)){var _0xb3dcx15=Math[_0x708e[428]](_0xb3dcx14* _0xb3dcx14+ _0xb3dcx9* _0xb3dcx9),_0xb3dcx14=_0xb3dcx14* Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx15/ 2)/ _0xb3dcx15,_0xb3dcx9=_0xb3dcx9* Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx15/ 2)/ _0xb3dcx15;_0xb3dcx2[_0x708e[1277]](_0xb3dcx13[_0x708e[235]]+ _0xb3dcx14,_0xb3dcx13[_0x708e[236]]+ _0xb3dcx9);_0xb3dcx9= _0xb3dcx3[_0xb3dcx12+ 1];_0xb3dcx14= _0xb3dcx9[_0x708e[235]]- _0xb3dcx13[_0x708e[235]];_0xb3dcx9= _0xb3dcx9[_0x708e[236]]- _0xb3dcx13[_0x708e[236]];_0xb3dcx15= Math[_0x708e[160]](1,Math[_0x708e[428]](_0xb3dcx14* _0xb3dcx14+ _0xb3dcx9* _0xb3dcx9));_0xb3dcx14= _0xb3dcx14* Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx15/ 2)/ _0xb3dcx15;_0xb3dcx9= _0xb3dcx9* Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx15/ 2)/ _0xb3dcx15;_0xb3dcx14= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx14;_0xb3dcx9= _0xb3dcx13[_0x708e[236]]+ _0xb3dcx9;_0xb3dcx2[_0x708e[1278]](_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],_0xb3dcx14,_0xb3dcx9);_0xb3dcx13= new mxPoint(_0xb3dcx14,_0xb3dcx9)}else {_0xb3dcx2[_0x708e[1277]](_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]])};_0xb3dcx9= _0xb3dcx13};_0xb3dcx2[_0x708e[1277]](_0xb3dcxa[_0x708e[235]],_0xb3dcxa[_0x708e[236]]);_0xb3dcx2[_0x708e[1336]]()};function mxArrow(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){mxShape[_0x708e[239]](this);this[_0x708e[1525]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1;this[_0x708e[1640]]= null!= _0xb3dcx9?_0xb3dcx9:mxConstants[_0x708e[1641]];this[_0x708e[657]]= null!= _0xb3dcxa?_0xb3dcxa:mxConstants[_0x708e[1642]];this[_0x708e[643]]= null!= _0xb3dcx12?_0xb3dcx12:mxConstants[_0x708e[1643]]}mxUtils[_0x708e[1284]](mxArrow,mxShape);mxArrow[_0x708e[202]][_0x708e[1594]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxConstants[_0x708e[1642]],_0xb3dcx5=mxConstants[_0x708e[1641]],_0xb3dcx9=mxConstants[_0x708e[1643]],_0xb3dcxa=_0xb3dcx3[0],_0xb3dcx12=_0xb3dcx3[_0xb3dcx3[_0x708e[67]]- 1],_0xb3dcx13=_0xb3dcx12[_0x708e[235]]- _0xb3dcxa[_0x708e[235]],_0xb3dcx14=_0xb3dcx12[_0x708e[236]]- _0xb3dcxa[_0x708e[236]],_0xb3dcx15=Math[_0x708e[428]](_0xb3dcx13* _0xb3dcx13+ _0xb3dcx14* _0xb3dcx14),_0xb3dcx16=_0xb3dcx15- 2* _0xb3dcx4- _0xb3dcx9,_0xb3dcx13=_0xb3dcx13/ _0xb3dcx15,_0xb3dcx14=_0xb3dcx14/ _0xb3dcx15,_0xb3dcx15=_0xb3dcx5* _0xb3dcx14/ 3,_0xb3dcx5=-_0xb3dcx5* _0xb3dcx13/ 3,_0xb3dcx9=_0xb3dcxa[_0x708e[235]]- _0xb3dcx15/ 2+ _0xb3dcx4* _0xb3dcx13,_0xb3dcxa=_0xb3dcxa[_0x708e[236]]- _0xb3dcx5/ 2+ _0xb3dcx4* _0xb3dcx14,_0xb3dcx17=_0xb3dcx9+ _0xb3dcx15,_0xb3dcx18=_0xb3dcxa+ _0xb3dcx5,_0xb3dcx19=_0xb3dcx17+ _0xb3dcx16* _0xb3dcx13,_0xb3dcx16=_0xb3dcx18+ _0xb3dcx16* _0xb3dcx14,_0xb3dcx1a=_0xb3dcx19+ _0xb3dcx15,_0xb3dcx1b=_0xb3dcx16+ _0xb3dcx5,_0xb3dcx1c=_0xb3dcx1a- 3* _0xb3dcx15,_0xb3dcx1d=_0xb3dcx1b- 3* _0xb3dcx5;_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx9,_0xb3dcxa);_0xb3dcx2[_0x708e[1277]](_0xb3dcx17,_0xb3dcx18);_0xb3dcx2[_0x708e[1277]](_0xb3dcx19,_0xb3dcx16);_0xb3dcx2[_0x708e[1277]](_0xb3dcx1a,_0xb3dcx1b);_0xb3dcx2[_0x708e[1277]](_0xb3dcx12[_0x708e[235]]- _0xb3dcx4* _0xb3dcx13,_0xb3dcx12[_0x708e[236]]- _0xb3dcx4* _0xb3dcx14);_0xb3dcx2[_0x708e[1277]](_0xb3dcx1c,_0xb3dcx1d);_0xb3dcx2[_0x708e[1277]](_0xb3dcx1c+ _0xb3dcx15,_0xb3dcx1d+ _0xb3dcx5);_0xb3dcx2[_0x708e[268]]();_0xb3dcx2[_0x708e[1337]]()};function mxText(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,_0xb3dcx16,_0xb3dcx17,_0xb3dcx18,_0xb3dcx19,_0xb3dcx1a,_0xb3dcx1b,_0xb3dcx1c,_0xb3dcx1d,_0xb3dcx1e,_0xb3dcx1f){mxShape[_0x708e[239]](this);this[_0x708e[131]]= _0xb3dcx2;this[_0x708e[1562]]= _0xb3dcx3;this[_0x708e[352]]= null!= _0xb3dcx9?_0xb3dcx9:_0x708e[586];this[_0x708e[611]]= null!= _0xb3dcx4?_0xb3dcx4:_0x708e[110];this[_0x708e[552]]= null!= _0xb3dcx5?_0xb3dcx5:_0x708e[110];this[_0x708e[1288]]= null!= _0xb3dcxa?_0xb3dcxa:mxConstants[_0x708e[484]];this[_0x708e[803]]= null!= _0xb3dcx12?_0xb3dcx12:mxConstants[_0x708e[483]];this[_0x708e[666]]= null!= _0xb3dcx13?_0xb3dcx13:mxConstants[_0x708e[1644]];this[_0x708e[657]]= parseInt(_0xb3dcx14|| 2);this[_0x708e[658]]= this[_0x708e[657]]+ parseInt(_0xb3dcx15|| 0);this[_0x708e[661]]= this[_0x708e[657]]+ parseInt(_0xb3dcx16|| 0);this[_0x708e[660]]= this[_0x708e[657]]+ parseInt(_0xb3dcx17|| 0);this[_0x708e[659]]= this[_0x708e[657]]+ parseInt(_0xb3dcx18|| 0);this[_0x708e[662]]= null!= _0xb3dcx19?_0xb3dcx19:!0;this[_0x708e[1537]]= _0xb3dcx1a;this[_0x708e[467]]= _0xb3dcx1b;this[_0x708e[1333]]= null!= _0xb3dcx1c?_0xb3dcx1c:!1;this[_0x708e[1645]]= null!= _0xb3dcx1d?_0xb3dcx1d:!1;this[_0x708e[277]]= null!= _0xb3dcx1e?_0xb3dcx1e:_0x708e[189];this[_0x708e[629]]= null!= _0xb3dcx1f?_0xb3dcx1f:0;this[_0x708e[603]]= 0}mxUtils[_0x708e[1284]](mxText,mxShape);mxText[_0x708e[202]][_0x708e[1646]]= 0;mxText[_0x708e[202]][_0x708e[1647]]= 0;mxText[_0x708e[202]][_0x708e[1648]]= 0;mxText[_0x708e[202]][_0x708e[1649]]= 0;mxText[_0x708e[202]][_0x708e[1650]]= !0;mxText[_0x708e[202]][_0x708e[1616]]= -90;mxText[_0x708e[202]][_0x708e[1651]]= !0;mxText[_0x708e[202]][_0x708e[1652]]= !1;mxText[_0x708e[202]][_0x708e[1566]]= function(){return !1};mxText[_0x708e[202]][_0x708e[1567]]= function(){return 8!= document[_0x708e[5]]};mxText[_0x708e[202]][_0x708e[1568]]= function(){return 0};mxText[_0x708e[202]][_0x708e[1574]]= function(){return null!= this[_0x708e[1562]]&& !isNaN(this[_0x708e[1562]][_0x708e[235]])&& !isNaN(this[_0x708e[1562]][_0x708e[236]])&& !isNaN(this[_0x708e[1562]][_0x708e[117]])&& !isNaN(this[_0x708e[1562]][_0x708e[119]])};mxText[_0x708e[202]][_0x708e[1577]]= function(){var _0xb3dcx2=this[_0x708e[252]];8== document[_0x708e[5]]&& null!= _0xb3dcx2[_0x708e[285]]&& (_0xb3dcx2= _0xb3dcx2[_0x708e[285]],null!= _0xb3dcx2[_0x708e[285]]&& (_0xb3dcx2= _0xb3dcx2[_0x708e[285]]));this[_0x708e[1563]]= this[_0x708e[1562]][_0x708e[238]]();var _0xb3dcx3=this[_0x708e[1615]]();if(!this[_0x708e[1652]]&& null!= _0xb3dcx2&& _0x708e[1334]!= this[_0x708e[277]]&& (!this[_0x708e[1645]]|| !this[_0x708e[1651]])){var _0xb3dcx4=null,_0xb3dcx5=null;if(null!= _0xb3dcx2[_0x708e[538]]){if(null!= _0xb3dcx2[_0x708e[285]]&& null!= _0xb3dcx2[_0x708e[285]][_0x708e[285]]&& _0x708e[1435]== _0xb3dcx2[_0x708e[285]][_0x708e[285]][_0x708e[301]]){_0xb3dcx2= _0xb3dcx2[_0x708e[285]][_0x708e[285]],_0xb3dcx4= this[_0x708e[1333]]?this[_0x708e[1562]][_0x708e[117]]:parseInt(_0xb3dcx2[_0x708e[284]](_0x708e[117]))* this[_0x708e[255]],_0xb3dcx5= parseInt(_0xb3dcx2[_0x708e[284]](_0x708e[119]))* this[_0x708e[255]]}else {_0xb3dcx3= _0xb3dcx2[_0x708e[1451]]();if(0== _0xb3dcx3[_0x708e[117]]&& 0== _0xb3dcx3[_0x708e[119]]){return};this[_0x708e[1563]]= new mxRectangle(_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]]);_0xb3dcx3= 0}}else {_0xb3dcx5= this[_0x708e[724]][_0x708e[441]][_0x708e[1653]],null!= this[_0x708e[359]]&& null!= this[_0x708e[167]]?(_0xb3dcx4= this[_0x708e[1333]]?this[_0x708e[1562]][_0x708e[117]]:this[_0x708e[359]]* this[_0x708e[255]],_0xb3dcx5= this[_0x708e[167]]* this[_0x708e[255]]):null!= _0xb3dcx5?(this[_0x708e[1441]](_0xb3dcx5),this[_0x708e[1654]](_0xb3dcx5),mxUtils[_0x708e[1331]](this[_0x708e[131]])?_0xb3dcx5[_0x708e[339]]= this[_0x708e[131]][_0x708e[342]]:(_0xb3dcx4= this[_0x708e[1650]]?this[_0x708e[131]][_0x708e[230]](/\n/g,_0x708e[1453]):this[_0x708e[131]],_0xb3dcx5[_0x708e[339]]= _0xb3dcx4),_0xb3dcx4= this[_0x708e[1333]]?this[_0x708e[1562]][_0x708e[117]]:_0xb3dcx5[_0x708e[359]]* this[_0x708e[255]],_0xb3dcx5= _0xb3dcx5[_0x708e[167]]* this[_0x708e[255]]):(_0xb3dcx4= this[_0x708e[1333]]?this[_0x708e[1562]][_0x708e[117]]:_0xb3dcx2[_0x708e[359]]* this[_0x708e[255]],_0xb3dcx5= _0xb3dcx2[_0x708e[167]]* this[_0x708e[255]])};null!= _0xb3dcx4&& null!= _0xb3dcx5&& (this[_0x708e[1563]]= new mxRectangle(this[_0x708e[1562]][_0x708e[235]]+ this[_0x708e[1655]][_0x708e[235]]* _0xb3dcx4,this[_0x708e[1562]][_0x708e[236]]+ this[_0x708e[1655]][_0x708e[236]]* _0xb3dcx5,_0xb3dcx4,_0xb3dcx5))}else {this[_0x708e[1563]][_0x708e[235]]+= this[_0x708e[1655]][_0x708e[235]]* this[_0x708e[1563]][_0x708e[117]],this[_0x708e[1563]][_0x708e[236]]+= this[_0x708e[1655]][_0x708e[236]]* this[_0x708e[1563]][_0x708e[119]]};null!= this[_0x708e[1563]]&& (0!= _0xb3dcx3&& (_0xb3dcx3= mxUtils[_0x708e[1613]](this[_0x708e[1563]],_0xb3dcx3),this[_0x708e[1563]][_0x708e[235]]= _0xb3dcx3[_0x708e[235]],this[_0x708e[1563]][_0x708e[236]]= _0xb3dcx3[_0x708e[236]],mxClient[_0x708e[496]]|| (this[_0x708e[1563]][_0x708e[117]]= _0xb3dcx3[_0x708e[117]],this[_0x708e[1563]][_0x708e[119]]= _0xb3dcx3[_0x708e[119]])),this[_0x708e[1563]][_0x708e[235]]= Math[_0x708e[519]](this[_0x708e[1563]][_0x708e[235]]),this[_0x708e[1563]][_0x708e[236]]= Math[_0x708e[519]](this[_0x708e[1563]][_0x708e[236]]),this[_0x708e[1563]][_0x708e[117]]= Math[_0x708e[430]](this[_0x708e[1563]][_0x708e[117]]),this[_0x708e[1563]][_0x708e[119]]= Math[_0x708e[430]](this[_0x708e[1563]][_0x708e[119]]))};mxText[_0x708e[202]][_0x708e[1598]]= function(){return 0};mxText[_0x708e[202]][_0x708e[1615]]= function(){return null!= this[_0x708e[724]]&& null!= this[_0x708e[724]][_0x708e[253]]?this[_0x708e[724]][_0x708e[253]][_0x708e[1615]]():0};mxText[_0x708e[202]][_0x708e[1590]]= function(){return !this[_0x708e[662]]&& null!= this[_0x708e[724]]&& this[_0x708e[724]][_0x708e[441]][_0x708e[1179]][_0x708e[251]][_0x708e[1193]](this[_0x708e[724]][_0x708e[246]])};mxText[_0x708e[202]][_0x708e[1592]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){mxShape[_0x708e[202]][_0x708e[1592]][_0x708e[183]](this,arguments);_0xb3dcx2[_0x708e[1259]](this[_0x708e[352]]);_0xb3dcx2[_0x708e[1260]](this[_0x708e[1537]]);_0xb3dcx2[_0x708e[1262]](this[_0x708e[467]]);_0xb3dcx2[_0x708e[1265]](this[_0x708e[1288]]);_0xb3dcx2[_0x708e[1264]](this[_0x708e[803]]);_0xb3dcx2[_0x708e[1266]](this[_0x708e[666]])};mxText[_0x708e[202]][_0x708e[1586]]= function(){this[_0x708e[252]][_0x708e[124]][_0x708e[361]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]])+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[125]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]])+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[117]]= _0x708e[942];this[_0x708e[252]][_0x708e[124]][_0x708e[119]]= _0x708e[942];this[_0x708e[252]][_0x708e[124]][_0x708e[277]]= _0x708e[189]};mxText[_0x708e[202]][_0x708e[1209]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[255]],_0xb3dcx4=this[_0x708e[1562]][_0x708e[235]]/ _0xb3dcx3,_0xb3dcx5=this[_0x708e[1562]][_0x708e[236]]/ _0xb3dcx3,_0xb3dcx9=this[_0x708e[1562]][_0x708e[117]]/ _0xb3dcx3,_0xb3dcx3=this[_0x708e[1562]][_0x708e[119]]/ _0xb3dcx3;this[_0x708e[1591]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcx3);this[_0x708e[1592]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcx3);var _0xb3dcxa=mxUtils[_0x708e[1331]](this[_0x708e[131]])|| this[_0x708e[507]]== mxConstants[_0x708e[1656]],_0xb3dcx12=_0xb3dcxa|| _0xb3dcx2 instanceof mxVmlCanvas2D?_0x708e[1428]:_0x708e[110],_0xb3dcx13=this[_0x708e[131]];!_0xb3dcxa&& _0x708e[1428]== _0xb3dcx12&& (_0xb3dcx13= mxUtils[_0x708e[321]](_0xb3dcx13,!1));_0xb3dcx13= !mxUtils[_0x708e[1331]](this[_0x708e[131]])&& this[_0x708e[1650]]&& _0x708e[1428]== _0xb3dcx12?_0xb3dcx13[_0x708e[230]](/\n/g,_0x708e[1453]):_0xb3dcx13;_0xb3dcx2[_0x708e[963]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcx3,_0xb3dcx13,this[_0x708e[611]],this[_0x708e[552]],this[_0x708e[1333]],_0xb3dcx12,_0x708e[1334]== this[_0x708e[277]],this[_0x708e[1645]],this[_0x708e[1615]]())};mxText[_0x708e[202]][_0x708e[1575]]= function(){var _0xb3dcx2=this[_0x708e[252]][_0x708e[124]];_0xb3dcx2[_0x708e[461]]= 1> this[_0x708e[461]]?this[_0x708e[461]]:_0x708e[110];_0xb3dcx2[_0x708e[277]]= _0x708e[110];_0xb3dcx2[_0x708e[117]]= _0x708e[110];_0xb3dcx2[_0x708e[119]]= _0x708e[110];this[_0x708e[1441]](this[_0x708e[252]]);this[_0x708e[1654]](this[_0x708e[252]]);this[_0x708e[1657]]();this[_0x708e[167]]= this[_0x708e[359]]= null;null!= mxClient[_0x708e[73]]?this[_0x708e[1658]]():this[_0x708e[1659]]()};mxText[_0x708e[202]][_0x708e[1658]]= function(){var _0xb3dcx2=this[_0x708e[1615]](),_0xb3dcx3=this[_0x708e[252]][_0x708e[124]],_0xb3dcx4=this[_0x708e[1655]][_0x708e[235]],_0xb3dcx5=this[_0x708e[1655]][_0x708e[236]];0!= _0xb3dcx2?(_0xb3dcx3[mxClient[_0x708e[73]]+ _0x708e[1660]]= 100* -_0xb3dcx4+ _0x708e[1661]+ 100* -_0xb3dcx5+ _0x708e[229],_0xb3dcx3[mxClient[_0x708e[73]]+ _0x708e[1662]]= _0x708e[536]+ 100* _0xb3dcx4+ _0x708e[1663]+ 100* _0xb3dcx5+ _0x708e[1664]+ this[_0x708e[255]]+ _0x708e[1665]+ _0xb3dcx2+ _0x708e[1666]):(_0xb3dcx3[mxClient[_0x708e[73]]+ _0x708e[1660]]= _0x708e[1667],_0xb3dcx3[mxClient[_0x708e[73]]+ _0x708e[1662]]= _0x708e[1402]+ this[_0x708e[255]]+ _0x708e[1393]+ 100* _0xb3dcx4+ _0x708e[1663]+ 100* _0xb3dcx5+ _0x708e[1668]);_0xb3dcx3[_0x708e[361]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]])+ _0x708e[168];_0xb3dcx3[_0x708e[125]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]])+ _0x708e[168]};mxText[_0x708e[202]][_0x708e[1659]]= function(){var _0xb3dcx2=this[_0x708e[252]][_0x708e[124]],_0xb3dcx3=this[_0x708e[1655]][_0x708e[235]],_0xb3dcx4=this[_0x708e[1655]][_0x708e[236]],_0xb3dcx5=this[_0x708e[255]];_0xb3dcx2[_0x708e[347]]= _0x708e[110];var _0xb3dcx9=0,_0xb3dcxa=0,_0xb3dcx12=null!= this[_0x708e[724]]?this[_0x708e[724]][_0x708e[441]][_0x708e[1653]]:null;if(null!= _0xb3dcx12){_0xb3dcx12[_0x708e[124]][_0x708e[277]]= _0x708e[110];_0xb3dcx12[_0x708e[124]][_0x708e[119]]= _0x708e[110];_0xb3dcx12[_0x708e[124]][_0x708e[117]]= _0x708e[110];this[_0x708e[1441]](_0xb3dcx12);this[_0x708e[1654]](_0xb3dcx12);if(mxUtils[_0x708e[1331]](this[_0x708e[131]])){_0xb3dcx12[_0x708e[339]]= this[_0x708e[131]][_0x708e[342]]}else {var _0xb3dcx13=this[_0x708e[131]];this[_0x708e[507]]!= mxConstants[_0x708e[1656]]&& (_0xb3dcx13= mxUtils[_0x708e[321]](_0xb3dcx13,!1));_0xb3dcx13= this[_0x708e[1650]]?_0xb3dcx13[_0x708e[230]](/\n/g,_0x708e[1453]):_0xb3dcx13;_0xb3dcx12[_0x708e[339]]= _0xb3dcx13};_0xb3dcx9= _0xb3dcx12[_0x708e[359]]+ 2;_0xb3dcxa= _0xb3dcx12[_0x708e[167]]+ 2}else {_0xb3dcx9= this[_0x708e[252]][_0x708e[359]],_0xb3dcxa= this[_0x708e[252]][_0x708e[167]]+ 1};this[_0x708e[359]]= _0xb3dcx9;this[_0x708e[167]]= _0xb3dcxa;_0xb3dcx12= this[_0x708e[1562]][_0x708e[117]]/ _0xb3dcx5;_0xb3dcx13= this[_0x708e[1562]][_0x708e[119]]/ _0xb3dcx5;mxClient[_0x708e[496]]&& (this[_0x708e[1645]]|| _0x708e[1334]== this[_0x708e[277]])&& 0< _0xb3dcx13?(_0xb3dcx13= Math[_0x708e[243]](_0xb3dcx13,_0xb3dcxa),_0xb3dcx2[_0x708e[119]]= Math[_0x708e[488]](_0xb3dcx13+ 1)+ _0x708e[168]):_0xb3dcx13= _0xb3dcxa;_0x708e[1334]!= this[_0x708e[277]]&& (mxClient[_0x708e[496]]&& (this[_0x708e[1645]]|| this[_0x708e[1333]])&& 0< _0xb3dcx12?(_0xb3dcx12= Math[_0x708e[243]](_0xb3dcx12,_0xb3dcx9),_0xb3dcx2[_0x708e[117]]= Math[_0x708e[488]](_0xb3dcx12)+ _0x708e[168]):_0xb3dcx12= _0xb3dcx9);var _0xb3dcx13=_0xb3dcx13* _0xb3dcx5,_0xb3dcx12=_0xb3dcx12* _0xb3dcx5,_0xb3dcx9=this[_0x708e[1615]]()* (Math[_0x708e[424]]/ 180),_0xb3dcxa=parseFloat(parseFloat(Math[_0x708e[426]](_0xb3dcx9))[_0x708e[1293]](8)),_0xb3dcx14=parseFloat(parseFloat(Math[_0x708e[427]](-_0xb3dcx9))[_0x708e[1293]](8)),_0xb3dcx9=_0xb3dcx9% (2* Math[_0x708e[424]]);0> _0xb3dcx9&& (_0xb3dcx9+= 2* Math[_0x708e[424]]);_0xb3dcx9%= Math[_0x708e[424]];_0xb3dcx9> Math[_0x708e[424]]/ 2&& (_0xb3dcx9= Math[_0x708e[424]]- _0xb3dcx9);var _0xb3dcx15=Math[_0x708e[426]](_0xb3dcx9),_0xb3dcx16=Math[_0x708e[427]](-_0xb3dcx9),_0xb3dcx3=_0xb3dcx12* -(_0xb3dcx3+ 0.5),_0xb3dcx4=_0xb3dcx13* -(_0xb3dcx4+ 0.5),_0xb3dcx17=(_0xb3dcx13- _0xb3dcx13* _0xb3dcx15+ _0xb3dcx12* _0xb3dcx16)/ 2+ _0xb3dcx14* _0xb3dcx3- _0xb3dcxa* _0xb3dcx4;0!= _0xb3dcx9&& (_0xb3dcx2[_0x708e[347]]= _0x708e[1505]+ _0xb3dcxa+ _0x708e[1506]+ _0xb3dcx14+ _0x708e[1507]+ -_0xb3dcx14+ _0x708e[1508]+ _0xb3dcxa+ _0x708e[1509]);_0xb3dcx2[_0x708e[499]]= _0xb3dcx5;_0xb3dcx2[_0x708e[361]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]]+ ((_0xb3dcx12- _0xb3dcx12* _0xb3dcx15+ _0xb3dcx13* _0xb3dcx16)/ 2- _0xb3dcxa* _0xb3dcx3- _0xb3dcx14* _0xb3dcx4)- _0xb3dcx12/ 2)+ _0x708e[168];_0xb3dcx2[_0x708e[125]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]]+ _0xb3dcx17- _0xb3dcx13/ 2)+ _0x708e[168]};mxText[_0x708e[202]][_0x708e[1657]]= function(){if(mxUtils[_0x708e[1331]](this[_0x708e[131]])){this[_0x708e[252]][_0x708e[339]]= _0x708e[110],this[_0x708e[252]][_0x708e[62]](this[_0x708e[131]])}else {var _0xb3dcx2=this[_0x708e[131]];this[_0x708e[507]]!= mxConstants[_0x708e[1656]]&& (_0xb3dcx2= mxUtils[_0x708e[321]](_0xb3dcx2,!1));var _0xb3dcx2=this[_0x708e[1650]]?_0xb3dcx2[_0x708e[230]](/\n/g,_0x708e[1453]):_0xb3dcx2,_0xb3dcx3=null!= this[_0x708e[1537]]&& this[_0x708e[1537]]!= mxConstants[_0x708e[217]]?this[_0x708e[1537]]:null,_0xb3dcx4=null!= this[_0x708e[467]]&& this[_0x708e[467]]!= mxConstants[_0x708e[217]]?this[_0x708e[467]]:null;if(null!= _0xb3dcx3|| null!= _0xb3dcx4){if(_0x708e[1334]== this[_0x708e[277]]){null!= _0xb3dcx3&& (this[_0x708e[252]][_0x708e[124]][_0x708e[1028]]= _0xb3dcx3),null!= _0xb3dcx4&& (this[_0x708e[252]][_0x708e[124]][_0x708e[467]]= _0x708e[1669]+ _0xb3dcx4)}else {var _0xb3dcx5=_0x708e[110];null!= _0xb3dcx3&& (_0xb3dcx5+= _0x708e[1418]+ _0xb3dcx3+ _0x708e[471]);null!= _0xb3dcx4&& (_0xb3dcx5+= _0x708e[1419]+ _0xb3dcx4+ _0x708e[471]);_0xb3dcx2= _0x708e[1670]+ _0xb3dcx5+ _0x708e[1671]+ this[_0x708e[252]][_0x708e[124]][_0x708e[489]]+ _0x708e[1423]+ _0xb3dcx2+ _0x708e[1424];this[_0x708e[252]][_0x708e[124]][_0x708e[489]]= _0x708e[110]}};this[_0x708e[252]][_0x708e[339]]= _0xb3dcx2}};mxText[_0x708e[202]][_0x708e[1441]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[124]];_0xb3dcx2[_0x708e[489]]= Math[_0x708e[488]](this[_0x708e[803]]* mxConstants[_0x708e[490]])+ _0x708e[168];_0xb3dcx2[_0x708e[487]]= Math[_0x708e[488]](this[_0x708e[803]])+ _0x708e[168];_0xb3dcx2[_0x708e[486]]= this[_0x708e[1288]];_0xb3dcx2[_0x708e[123]]= _0x708e[125];_0xb3dcx2[_0x708e[352]]= this[_0x708e[352]];_0xb3dcx2[_0x708e[1452]]= (this[_0x708e[666]]& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]]?_0x708e[1447]:_0x708e[110];_0xb3dcx2[_0x708e[666]]= (this[_0x708e[666]]& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]]?_0x708e[1449]:_0x708e[110];_0xb3dcx2[_0x708e[1498]]= (this[_0x708e[666]]& mxConstants[_0x708e[1414]])== mxConstants[_0x708e[1414]]?_0x708e[355]:_0x708e[110];_0xb3dcx2[_0x708e[1165]]= this[_0x708e[611]]== mxConstants[_0x708e[479]]?_0x708e[698]:this[_0x708e[611]]== mxConstants[_0x708e[480]]?_0x708e[699]:_0x708e[361]};mxText[_0x708e[202]][_0x708e[1654]]= function(_0xb3dcx2){var _0xb3dcx3=Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[117]]/ this[_0x708e[255]]),_0xb3dcx4=Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[119]]/ this[_0x708e[255]]);_0xb3dcx2= _0xb3dcx2[_0x708e[124]];this[_0x708e[1645]]?(_0xb3dcx2[_0x708e[277]]= _0x708e[188],0< _0xb3dcx4&& (_0xb3dcx2[_0x708e[1503]]= _0xb3dcx4+ _0x708e[168]),0< _0xb3dcx3&& (_0xb3dcx2[_0x708e[117]]= _0xb3dcx3+ _0x708e[168])):_0x708e[1334]== this[_0x708e[277]]&& (_0xb3dcx2[_0x708e[117]]= _0xb3dcx3+ _0x708e[168],0< _0xb3dcx4&& (_0xb3dcx2[_0x708e[1503]]= _0xb3dcx4+ _0x708e[168]));this[_0x708e[1333]]?(!this[_0x708e[1645]]&& 0< _0xb3dcx3&& (_0xb3dcx2[_0x708e[117]]= _0xb3dcx3+ _0x708e[168]),_0xb3dcx2[_0x708e[493]]= _0x708e[1502]):_0xb3dcx2[_0x708e[493]]= _0x708e[494]};mxText[_0x708e[202]][_0x708e[1672]]= function(){this[_0x708e[1655]]= mxUtils[_0x708e[1501]](this[_0x708e[611]],this[_0x708e[552]])};mxText[_0x708e[202]][_0x708e[1673]]= function(){var _0xb3dcx2=0,_0xb3dcx3=0,_0xb3dcx2=this[_0x708e[611]]== mxConstants[_0x708e[479]]?(this[_0x708e[659]]- this[_0x708e[661]])/ 2:this[_0x708e[611]]== mxConstants[_0x708e[480]]?-this[_0x708e[661]]- this[_0x708e[1649]]:this[_0x708e[659]]+ this[_0x708e[1648]],_0xb3dcx3=this[_0x708e[552]]== mxConstants[_0x708e[481]]?(this[_0x708e[658]]- this[_0x708e[660]])/ 2:this[_0x708e[552]]== mxConstants[_0x708e[482]]?-this[_0x708e[660]]- this[_0x708e[1647]]:this[_0x708e[658]]+ this[_0x708e[1646]];return new mxPoint(_0xb3dcx2,_0xb3dcx3)};function mxTriangle(){mxActor[_0x708e[239]](this)}mxUtils[_0x708e[1284]](mxTriangle,mxActor);mxTriangle[_0x708e[202]][_0x708e[1625]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[1276]](0,0);_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,0.5* _0xb3dcx9);_0xb3dcx2[_0x708e[1277]](0,_0xb3dcx9);_0xb3dcx2[_0x708e[268]]()};function mxHexagon(){mxActor[_0x708e[239]](this)}mxUtils[_0x708e[1284]](mxHexagon,mxActor);mxHexagon[_0x708e[202]][_0x708e[1625]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[1276]](0.25* _0xb3dcx5,0);_0xb3dcx2[_0x708e[1277]](0.75* _0xb3dcx5,0);_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,0.5* _0xb3dcx9);_0xb3dcx2[_0x708e[1277]](0.75* _0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1277]](0.25* _0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[1277]](0,0.5* _0xb3dcx9);_0xb3dcx2[_0x708e[268]]()};function mxLine(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1336]]= _0xb3dcx3;this[_0x708e[1307]]= null!= _0xb3dcx4?_0xb3dcx4:1}mxUtils[_0x708e[1284]](mxLine,mxShape);mxLine[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx4+= _0xb3dcx9/ 2;_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx3,_0xb3dcx4);_0xb3dcx2[_0x708e[1277]](_0xb3dcx3+ _0xb3dcx5,_0xb3dcx4);_0xb3dcx2[_0x708e[1336]]()};function mxImageShape(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[618]]= _0xb3dcx3;this[_0x708e[1334]]= _0xb3dcx4;this[_0x708e[1336]]= _0xb3dcx5;this[_0x708e[1307]]= null!= _0xb3dcx9?_0xb3dcx9:1;this[_0x708e[639]]= !1}mxUtils[_0x708e[1284]](mxImageShape,mxRectangleShape);mxImageShape[_0x708e[202]][_0x708e[1674]]= !0;mxImageShape[_0x708e[202]][_0x708e[1568]]= function(){return !mxClient[_0x708e[80]]?0.5:0};mxImageShape[_0x708e[202]][_0x708e[183]]= function(_0xb3dcx2){mxShape[_0x708e[202]][_0x708e[183]][_0x708e[183]](this,arguments);this[_0x708e[1299]]= this[_0x708e[1336]]= this[_0x708e[1334]]= null;null!= this[_0x708e[124]]&& (this[_0x708e[1334]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_BACKGROUND),this[_0x708e[1336]]= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_BORDER),this[_0x708e[1674]]= 1== mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_ASPECT,1),this[_0x708e[623]]= this[_0x708e[623]]|| 1== mxUtils[_0x708e[433]](this[_0x708e[124]],_0x708e[1675],0),this[_0x708e[624]]= this[_0x708e[624]]|| 1== mxUtils[_0x708e[433]](this[_0x708e[124]],_0x708e[1676],0))};mxImageShape[_0x708e[202]][_0x708e[1567]]= function(){return !this[_0x708e[1674]]};mxImageShape[_0x708e[202]][_0x708e[1570]]= function(){var _0xb3dcx2=document[_0x708e[55]](_0x708e[485]);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];return _0xb3dcx2};mxImageShape[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= this[_0x708e[618]]){var _0xb3dcxa=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_BACKGROUND,null),_0xb3dcx12=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_BORDER,null);if(null!= _0xb3dcxa|| null!= _0xb3dcx12){_0xb3dcx2[_0x708e[1245]](_0xb3dcxa),_0xb3dcx2[_0x708e[1249]](_0xb3dcx12),_0xb3dcx2[_0x708e[1319]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[1337]]()};_0xb3dcx2[_0x708e[618]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,this[_0x708e[618]],this[_0x708e[1674]],!1,!1)}else {mxRectangleShape[_0x708e[202]][_0x708e[1601]][_0x708e[183]](this,arguments)}};mxImageShape[_0x708e[202]][_0x708e[1575]]= function(){this[_0x708e[252]][_0x708e[124]][_0x708e[361]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]])+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[125]]= Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]])+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[117]]= Math[_0x708e[160]](0,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[117]]))+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[119]]= Math[_0x708e[160]](0,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[119]]))+ _0x708e[168];this[_0x708e[252]][_0x708e[124]][_0x708e[1028]]= this[_0x708e[1334]]|| _0x708e[110];this[_0x708e[252]][_0x708e[124]][_0x708e[1630]]= this[_0x708e[1336]]|| _0x708e[110];this[_0x708e[252]][_0x708e[339]]= _0x708e[110];if(null!= this[_0x708e[618]]){var _0xb3dcx2=document[_0x708e[55]](mxClient[_0x708e[49]]|| null== mxClient[_0x708e[73]]&& 0!= this[_0x708e[603]]?mxClient[_0x708e[463]]+ _0x708e[464]:_0x708e[466]);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx2[_0x708e[390]]= this[_0x708e[618]];var _0xb3dcx3=100> this[_0x708e[461]]?_0x708e[459]+ this[_0x708e[461]]+ _0x708e[460]:_0x708e[110];this[_0x708e[252]][_0x708e[124]][_0x708e[347]]= _0xb3dcx3;this[_0x708e[623]]&& this[_0x708e[624]]?_0xb3dcx3+= _0x708e[1677]:this[_0x708e[623]]?_0xb3dcx3+= _0x708e[1678]:this[_0x708e[624]]&& (_0xb3dcx3+= _0x708e[1679]);_0xb3dcx2[_0x708e[124]][_0x708e[347]]!= _0xb3dcx3&& (_0xb3dcx2[_0x708e[124]][_0x708e[347]]= _0xb3dcx3);_0x708e[618]== _0xb3dcx2[_0x708e[301]]?_0xb3dcx2[_0x708e[124]][_0x708e[603]]= this[_0x708e[603]]:_0xb3dcx2[_0x708e[124]][mxClient[_0x708e[73]]+ _0x708e[1662]]= _0x708e[1394]+ this[_0x708e[603]]+ _0x708e[1666];_0xb3dcx2[_0x708e[124]][_0x708e[117]]= this[_0x708e[252]][_0x708e[124]][_0x708e[117]];_0xb3dcx2[_0x708e[124]][_0x708e[119]]= this[_0x708e[252]][_0x708e[124]][_0x708e[119]];this[_0x708e[252]][_0x708e[124]][_0x708e[1617]]= _0x708e[110];this[_0x708e[252]][_0x708e[62]](_0xb3dcx2)}else {this[_0x708e[1600]](this[_0x708e[252]])}};function mxLabel(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxRectangleShape[_0x708e[239]](this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}mxUtils[_0x708e[1284]](mxLabel,mxRectangleShape);mxLabel[_0x708e[202]][_0x708e[1680]]= mxConstants[_0x708e[1681]];mxLabel[_0x708e[202]][_0x708e[657]]= 2;mxLabel[_0x708e[202]][_0x708e[1682]]= 10;mxLabel[_0x708e[202]][_0x708e[635]]= 2;mxLabel[_0x708e[202]][_0x708e[176]]= function(_0xb3dcx2){mxShape[_0x708e[202]][_0x708e[176]][_0x708e[183]](this,arguments);null!= this[_0x708e[632]]&& null!= this[_0x708e[630]]&& (this[_0x708e[1683]]= new this[_0x708e[630]],this[_0x708e[1683]][_0x708e[507]]= this[_0x708e[507]],this[_0x708e[1683]][_0x708e[1562]]= this[_0x708e[1562]],this[_0x708e[1683]][_0x708e[1334]]= this[_0x708e[632]],this[_0x708e[1683]][_0x708e[1336]]= this[_0x708e[632]],this[_0x708e[1683]][_0x708e[1299]]= this[_0x708e[634]],this[_0x708e[1683]][_0x708e[663]]= this[_0x708e[638]],this[_0x708e[1683]][_0x708e[176]](this[_0x708e[252]]))};mxLabel[_0x708e[202]][_0x708e[258]]= function(){null!= this[_0x708e[1683]]&& (this[_0x708e[1683]][_0x708e[1334]]= this[_0x708e[632]],this[_0x708e[1683]][_0x708e[1336]]= this[_0x708e[632]],this[_0x708e[1683]][_0x708e[1299]]= this[_0x708e[634]],this[_0x708e[1683]][_0x708e[663]]= this[_0x708e[638]]);mxShape[_0x708e[202]][_0x708e[258]][_0x708e[183]](this,arguments)};mxLabel[_0x708e[202]][_0x708e[1567]]= function(){return mxRectangleShape[_0x708e[202]][_0x708e[1567]][_0x708e[183]](this,arguments)&& null== this[_0x708e[632]]&& null== this[_0x708e[630]]};mxLabel[_0x708e[202]][_0x708e[1602]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){this[_0x708e[1684]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);this[_0x708e[1685]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9);mxRectangleShape[_0x708e[202]][_0x708e[1602]][_0x708e[183]](this,arguments)};mxLabel[_0x708e[202]][_0x708e[1684]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){null!= this[_0x708e[618]]&& (_0xb3dcx3= this[_0x708e[1686]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[618]](_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]],this[_0x708e[618]],!1,!1,!1))};mxLabel[_0x708e[202]][_0x708e[1686]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0xb3dcxa=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0xb3dcx12=mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_WIDTH,mxConstants.DEFAULT_IMAGESIZE),_0xb3dcx13=mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_HEIGHT,mxConstants.DEFAULT_IMAGESIZE),_0xb3dcx14=mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_SPACING,this[_0x708e[657]])+ 5;_0xb3dcx2= _0xb3dcx9== mxConstants[_0x708e[479]]?_0xb3dcx2+ (_0xb3dcx4- _0xb3dcx12)/ 2:_0xb3dcx9== mxConstants[_0x708e[480]]?_0xb3dcx2+ (_0xb3dcx4- _0xb3dcx12- _0xb3dcx14):_0xb3dcx2+ _0xb3dcx14;_0xb3dcx3= _0xb3dcxa== mxConstants[_0x708e[1687]]?_0xb3dcx3+ _0xb3dcx14:_0xb3dcxa== mxConstants[_0x708e[482]]?_0xb3dcx3+ (_0xb3dcx5- _0xb3dcx13- _0xb3dcx14):_0xb3dcx3+ (_0xb3dcx5- _0xb3dcx13)/ 2;return new mxRectangle(_0xb3dcx2,_0xb3dcx3,_0xb3dcx12,_0xb3dcx13)};mxLabel[_0x708e[202]][_0x708e[1685]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){null!= this[_0x708e[1683]]?(this[_0x708e[1683]][_0x708e[1562]]= this[_0x708e[1688]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),this[_0x708e[1683]][_0x708e[1209]](_0xb3dcx2)):null!= this[_0x708e[631]]&& (_0xb3dcx3= this[_0x708e[1688]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[618]](_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]],this[_0x708e[631]],!1,!1,!1))};mxLabel[_0x708e[202]][_0x708e[1688]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_ALIGN,mxConstants.ALIGN_LEFT),_0xb3dcxa=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_IMAGE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0xb3dcx12=mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_INDICATOR_WIDTH,this[_0x708e[1682]]),_0xb3dcx13=mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_INDICATOR_HEIGHT,this[_0x708e[1682]]),_0xb3dcx14=this[_0x708e[657]]+ 5;_0xb3dcx2= _0xb3dcx9== mxConstants[_0x708e[480]]?_0xb3dcx2+ (_0xb3dcx4- _0xb3dcx12- _0xb3dcx14):_0xb3dcx9== mxConstants[_0x708e[479]]?_0xb3dcx2+ (_0xb3dcx4- _0xb3dcx12)/ 2:_0xb3dcx2+ _0xb3dcx14;_0xb3dcx3= _0xb3dcxa== mxConstants[_0x708e[482]]?_0xb3dcx3+ (_0xb3dcx5- _0xb3dcx13- _0xb3dcx14):_0xb3dcxa== mxConstants[_0x708e[1687]]?_0xb3dcx3+ _0xb3dcx14:_0xb3dcx3+ (_0xb3dcx5- _0xb3dcx13)/ 2;return new mxRectangle(_0xb3dcx2,_0xb3dcx3,_0xb3dcx12,_0xb3dcx13)};mxLabel[_0x708e[202]][_0x708e[1575]]= function(){for(mxRectangleShape[_0x708e[202]][_0x708e[1575]][_0x708e[183]](this,arguments);this[_0x708e[252]][_0x708e[1580]]();){this[_0x708e[252]][_0x708e[266]](this[_0x708e[252]][_0x708e[1581]])};if(null!= this[_0x708e[618]]){var _0xb3dcx2=document[_0x708e[55]](_0x708e[466]);_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[1500];_0xb3dcx2[_0x708e[57]](_0x708e[467],_0x708e[468]);var _0xb3dcx3=this[_0x708e[1686]](this[_0x708e[1562]][_0x708e[235]],this[_0x708e[1562]][_0x708e[236]],this[_0x708e[1562]][_0x708e[117]],this[_0x708e[1562]][_0x708e[119]]);_0xb3dcx3[_0x708e[235]]-= this[_0x708e[1562]][_0x708e[235]];_0xb3dcx3[_0x708e[236]]-= this[_0x708e[1562]][_0x708e[236]];_0xb3dcx2[_0x708e[124]][_0x708e[361]]= Math[_0x708e[488]](_0xb3dcx3[_0x708e[235]])+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[125]]= Math[_0x708e[488]](_0xb3dcx3[_0x708e[236]])+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[117]]= Math[_0x708e[488]](_0xb3dcx3[_0x708e[117]])+ _0x708e[168];_0xb3dcx2[_0x708e[124]][_0x708e[119]]= Math[_0x708e[488]](_0xb3dcx3[_0x708e[119]])+ _0x708e[168];_0xb3dcx2[_0x708e[390]]= this[_0x708e[618]];this[_0x708e[252]][_0x708e[62]](_0xb3dcx2)}};function mxCylinder(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxCylinder,mxShape);mxCylinder[_0x708e[202]][_0x708e[1503]]= 40;mxCylinder[_0x708e[202]][_0x708e[1564]]= 0;mxCylinder[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[513]](_0xb3dcx3,_0xb3dcx4);_0xb3dcx2[_0x708e[1275]]();this[_0x708e[1625]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,!1);_0xb3dcx2[_0x708e[1337]]();_0xb3dcx2[_0x708e[1267]](!1);_0xb3dcx2[_0x708e[1275]]();this[_0x708e[1625]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,!0);_0xb3dcx2[_0x708e[1336]]()};mxCylinder[_0x708e[202]][_0x708e[1625]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx3= Math[_0x708e[243]](this[_0x708e[1503]],Math[_0x708e[488]](_0xb3dcx9/ 5));if(_0xb3dcxa&& null!= this[_0x708e[1334]]|| !_0xb3dcxa&& null== this[_0x708e[1334]]){_0xb3dcx2[_0x708e[1276]](0,_0xb3dcx3),_0xb3dcx2[_0x708e[1279]](0,2* _0xb3dcx3,_0xb3dcx5,2* _0xb3dcx3,_0xb3dcx5,_0xb3dcx3),_0xb3dcxa|| (_0xb3dcx2[_0x708e[1336]](),_0xb3dcx2[_0x708e[1275]]())};_0xb3dcxa|| (_0xb3dcx2[_0x708e[1276]](0,_0xb3dcx3),_0xb3dcx2[_0x708e[1279]](0,-_0xb3dcx3/ 3,_0xb3dcx5,-_0xb3dcx3/ 3,_0xb3dcx5,_0xb3dcx3),_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,_0xb3dcx9- _0xb3dcx3),_0xb3dcx2[_0x708e[1279]](_0xb3dcx5,_0xb3dcx9+ _0xb3dcx3/ 3,0,_0xb3dcx9+ _0xb3dcx3/ 3,0,_0xb3dcx9- _0xb3dcx3),_0xb3dcx2[_0x708e[268]]())};function mxConnector(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxPolyline[_0x708e[239]](this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)}mxUtils[_0x708e[1284]](mxConnector,mxPolyline);mxConnector[_0x708e[202]][_0x708e[1594]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1689]](_0xb3dcx2,_0xb3dcx3,!0),_0xb3dcx5=this[_0x708e[1689]](_0xb3dcx2,_0xb3dcx3,!1);null== this[_0x708e[124]]|| 1!= this[_0x708e[124]][mxConstants[_0x708e[1690]]]?this[_0x708e[1639]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[1606]]):this[_0x708e[1691]](_0xb3dcx2,_0xb3dcx3);_0xb3dcx2[_0x708e[1245]](this[_0x708e[1336]]);_0xb3dcx2[_0x708e[1267]](!1);_0xb3dcx2[_0x708e[1251]](!1);null!= _0xb3dcx4&& _0xb3dcx4();null!= _0xb3dcx5&& _0xb3dcx5()};mxConnector[_0x708e[202]][_0x708e[1691]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[1275]]();var _0xb3dcx4=_0xb3dcx3[0],_0xb3dcx5=_0xb3dcx3[_0x708e[67]];_0xb3dcx2[_0x708e[1276]](_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]]);for(_0xb3dcx4= 1;_0xb3dcx4< _0xb3dcx5- 2;_0xb3dcx4++){var _0xb3dcx9=_0xb3dcx3[_0xb3dcx4],_0xb3dcxa=_0xb3dcx3[_0xb3dcx4+ 1];_0xb3dcx2[_0x708e[1278]](_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],(_0xb3dcx9[_0x708e[235]]+ _0xb3dcxa[_0x708e[235]])/ 2,(_0xb3dcx9[_0x708e[236]]+ _0xb3dcxa[_0x708e[236]])/ 2)};_0xb3dcx9= _0xb3dcx3[_0xb3dcx5- 2];_0xb3dcxa= _0xb3dcx3[_0xb3dcx5- 1];_0xb3dcx2[_0x708e[1278]](_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],_0xb3dcxa[_0x708e[235]],_0xb3dcxa[_0x708e[236]]);_0xb3dcx2[_0x708e[1336]]()};mxConnector[_0x708e[202]][_0x708e[1689]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx3[_0x708e[67]],_0xb3dcx9=_0xb3dcx4?_0xb3dcx3[1]:_0xb3dcx3[_0xb3dcx5- 2];_0xb3dcx3= _0xb3dcx4?_0xb3dcx3[0]:_0xb3dcx3[_0xb3dcx5- 1];var _0xb3dcx5=_0xb3dcx3[_0x708e[235]]- _0xb3dcx9[_0x708e[235]],_0xb3dcxa=_0xb3dcx3[_0x708e[236]]- _0xb3dcx9[_0x708e[236]],_0xb3dcx12=Math[_0x708e[160]](1,Math[_0x708e[428]](_0xb3dcx5* _0xb3dcx5+ _0xb3dcxa* _0xb3dcxa)),_0xb3dcx9=_0xb3dcx5/ _0xb3dcx12,_0xb3dcx5=_0xb3dcxa/ _0xb3dcx12,_0xb3dcxa=mxUtils[_0x708e[1550]](this[_0x708e[124]],_0xb3dcx4?mxConstants[_0x708e[1692]]:mxConstants[_0x708e[1693]],mxConstants.DEFAULT_MARKERSIZE),_0xb3dcx12=mxUtils[_0x708e[433]](this[_0x708e[124]],_0xb3dcx4?mxConstants[_0x708e[1694]]:mxConstants[_0x708e[1695]]);return mxMarker[_0x708e[1689]](_0xb3dcx2,this,_0xb3dcx12,_0xb3dcx3,_0xb3dcx9,_0xb3dcx5,_0xb3dcxa,_0xb3dcx4,this[_0x708e[1307]],0!= this[_0x708e[124]][_0xb3dcx4?mxConstants[_0x708e[1696]]:mxConstants[_0x708e[1697]]])};mxConnector[_0x708e[202]][_0x708e[1612]]= function(_0xb3dcx2){mxShape[_0x708e[202]][_0x708e[1612]][_0x708e[183]](this,arguments);var _0xb3dcx3=0;mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_STARTARROW,mxConstants.NONE)!= mxConstants[_0x708e[217]]&& (_0xb3dcx3= mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_MARKERSIZE)+ 1);mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ENDARROW,mxConstants.NONE)!= mxConstants[_0x708e[217]]&& (_0xb3dcx3= Math[_0x708e[160]](_0xb3dcx3,mxUtils[_0x708e[1550]](this[_0x708e[124]],mxConstants.STYLE_ENDSIZE,mxConstants.DEFAULT_MARKERSIZE))+ 1);_0xb3dcx2[_0x708e[244]](Math[_0x708e[430]](_0xb3dcx3* this[_0x708e[255]]))};function mxSwimlane(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxShape[_0x708e[239]](this);this[_0x708e[1562]]= _0xb3dcx2;this[_0x708e[1334]]= _0xb3dcx3;this[_0x708e[1336]]= _0xb3dcx4;this[_0x708e[1307]]= null!= _0xb3dcx5?_0xb3dcx5:1}mxUtils[_0x708e[1284]](mxSwimlane,mxShape);mxSwimlane[_0x708e[202]][_0x708e[1680]]= 16;mxSwimlane[_0x708e[202]][_0x708e[1597]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2= Math[_0x708e[243]](_0xb3dcx9,mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE));return new mxRectangle(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx2)};mxSwimlane[_0x708e[202]][_0x708e[1614]]= function(){var _0xb3dcx2=mxShape[_0x708e[202]][_0x708e[1614]][_0x708e[183]](this,arguments);1!= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_HORIZONTAL,1)&& (_0xb3dcx2+= mxText[_0x708e[202]][_0x708e[1616]]);return _0xb3dcx2};mxSwimlane[_0x708e[202]][_0x708e[1615]]= function(){return this[_0x708e[1614]]()};mxSwimlane[_0x708e[202]][_0x708e[1590]]= function(){return mxShape[_0x708e[202]][_0x708e[1590]][_0x708e[183]](this,arguments)|| 1!= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_HORIZONTAL,1)};mxSwimlane[_0x708e[202]][_0x708e[1603]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_ARCSIZE,100* mxConstants[_0x708e[1557]])/ 100;return 3* _0xb3dcx4* _0xb3dcx2};mxSwimlane[_0x708e[202]][_0x708e[1595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=Math[_0x708e[243]](_0xb3dcx9,mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),_0xb3dcx12=mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_SWIMLANE_FILLCOLOR,mxConstants.NONE),_0xb3dcx13=1== mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_SWIMLANE_LINE,1),_0xb3dcx14=0;_0xb3dcx2[_0x708e[513]](_0xb3dcx3,_0xb3dcx4);this[_0x708e[1606]]?(_0xb3dcx14= this[_0x708e[1603]](_0xb3dcx5,_0xb3dcx9,_0xb3dcxa),this[_0x708e[1698]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx14,_0xb3dcx12,_0xb3dcx13)):this[_0x708e[1699]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13);_0xb3dcx12= mxUtils[_0x708e[433]](this[_0x708e[124]],mxConstants.STYLE_SEPARATORCOLOR,mxConstants.NONE);this[_0x708e[1700]](_0xb3dcx2,_0xb3dcx5,_0xb3dcxa,_0xb3dcx9,_0xb3dcx12);null!= this[_0x708e[618]]&& (_0xb3dcx9= this[_0x708e[1686]](_0xb3dcx3,_0xb3dcxa,_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[618]](_0xb3dcx9[_0x708e[235]]- _0xb3dcx3,_0xb3dcx9[_0x708e[236]]- _0xb3dcx4,_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]],this[_0x708e[618]],!1,!1,!1));this[_0x708e[617]]&& (_0xb3dcx2[_0x708e[1267]](!1),this[_0x708e[1604]](_0xb3dcx2,0,0,_0xb3dcx5,_0xb3dcxa,_0xb3dcx14))};mxSwimlane[_0x708e[202]][_0x708e[1699]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){_0xb3dcx12!= mxConstants[_0x708e[217]]&& (_0xb3dcx2[_0x708e[815]](),_0xb3dcx2[_0x708e[1245]](_0xb3dcx12),_0xb3dcx2[_0x708e[1319]](0,0,_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[1337]](),_0xb3dcx2[_0x708e[1210]](),_0xb3dcx2[_0x708e[1267]](!1));_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](0,_0xb3dcxa);_0xb3dcx2[_0x708e[1277]](0,0);_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,0);_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,_0xb3dcxa);_0xb3dcx13&& _0xb3dcx2[_0x708e[268]]();_0xb3dcx2[_0x708e[1337]]();_0xb3dcxa< _0xb3dcx9&& _0xb3dcx12== mxConstants[_0x708e[217]]&& (_0xb3dcx2[_0x708e[1229]]= !1,_0xb3dcx2[_0x708e[1275]](),_0xb3dcx2[_0x708e[1276]](0,_0xb3dcxa),_0xb3dcx2[_0x708e[1277]](0,_0xb3dcx9),_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,_0xb3dcx9),_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,_0xb3dcxa),_0xb3dcx2[_0x708e[1336]]())};mxSwimlane[_0x708e[202]][_0x708e[1698]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){_0xb3dcx13!= mxConstants[_0x708e[217]]&& (_0xb3dcx2[_0x708e[815]](),_0xb3dcx2[_0x708e[1245]](_0xb3dcx13),_0xb3dcx2[_0x708e[1320]](0,0,_0xb3dcx5,_0xb3dcx9,_0xb3dcx12,_0xb3dcx12),_0xb3dcx2[_0x708e[1337]](),_0xb3dcx2[_0x708e[1210]](),_0xb3dcx2[_0x708e[1267]](!1));_0xb3dcx2[_0x708e[1275]]();_0xb3dcx2[_0x708e[1276]](_0xb3dcx5,_0xb3dcxa);_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,_0xb3dcx12);_0xb3dcx2[_0x708e[1278]](_0xb3dcx5,0,_0xb3dcx5- Math[_0x708e[243]](_0xb3dcx5/ 2,_0xb3dcx12),0);_0xb3dcx2[_0x708e[1277]](Math[_0x708e[243]](_0xb3dcx5/ 2,_0xb3dcx12),0);_0xb3dcx2[_0x708e[1278]](0,0,0,_0xb3dcx12);_0xb3dcx2[_0x708e[1277]](0,_0xb3dcxa);_0xb3dcx14&& _0xb3dcx2[_0x708e[268]]();_0xb3dcx2[_0x708e[1337]]();_0xb3dcxa< _0xb3dcx9&& _0xb3dcx13== mxConstants[_0x708e[217]]&& (_0xb3dcx2[_0x708e[1229]]= !1,_0xb3dcx2[_0x708e[1275]](),_0xb3dcx2[_0x708e[1276]](0,_0xb3dcxa),_0xb3dcx2[_0x708e[1277]](0,_0xb3dcx9- _0xb3dcx12),_0xb3dcx2[_0x708e[1278]](0,_0xb3dcx9,Math[_0x708e[243]](_0xb3dcx5/ 2,_0xb3dcx12),_0xb3dcx9),_0xb3dcx2[_0x708e[1277]](_0xb3dcx5- Math[_0x708e[243]](_0xb3dcx5/ 2,_0xb3dcx12),_0xb3dcx9),_0xb3dcx2[_0x708e[1278]](_0xb3dcx5,_0xb3dcx9,_0xb3dcx5,_0xb3dcx9- _0xb3dcx12),_0xb3dcx2[_0x708e[1277]](_0xb3dcx5,_0xb3dcxa),_0xb3dcx2[_0x708e[1336]]())};mxSwimlane[_0x708e[202]][_0x708e[1700]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx9!= mxConstants[_0x708e[217]]&& (_0xb3dcx2[_0x708e[1249]](_0xb3dcx9),_0xb3dcx2[_0x708e[1251]](!0),_0xb3dcx2[_0x708e[1275]](),_0xb3dcx2[_0x708e[1276]](_0xb3dcx3,_0xb3dcx4),_0xb3dcx2[_0x708e[1277]](_0xb3dcx3,_0xb3dcx5),_0xb3dcx2[_0x708e[1336]](),_0xb3dcx2[_0x708e[1251]](!1))};mxSwimlane[_0x708e[202]][_0x708e[1686]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return new mxRectangle(_0xb3dcx2+ _0xb3dcx4- this[_0x708e[1680]],_0xb3dcx3,this[_0x708e[1680]],this[_0x708e[1680]])};function mxGraphLayout(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2}mxGraphLayout[_0x708e[202]][_0x708e[1179]]= null;mxGraphLayout[_0x708e[202]][_0x708e[1701]]= !0;mxGraphLayout[_0x708e[202]][_0x708e[1101]]= null;mxGraphLayout[_0x708e[202]][_0x708e[1702]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){};mxGraphLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){};mxGraphLayout[_0x708e[202]][_0x708e[1703]]= function(){return this[_0x708e[1179]]};mxGraphLayout[_0x708e[202]][_0x708e[1704]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx4= this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx3);_0xb3dcx3= null!= _0xb3dcx4?_0xb3dcx4[_0x708e[124]]:this[_0x708e[1179]][_0x708e[1705]](_0xb3dcx3);return null!= _0xb3dcx3?_0xb3dcx3[_0xb3dcx2]:null};mxGraphLayout[_0x708e[1706]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx4&& null!= _0xb3dcx2){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;_0xb3dcx9= _0xb3dcx9|| [];var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2);if(null== _0xb3dcx9[_0xb3dcxa]&& (_0xb3dcx9[_0xb3dcxa]= _0xb3dcx2,_0xb3dcx5= _0xb3dcx4(_0xb3dcx2,_0xb3dcx5),null== _0xb3dcx5|| _0xb3dcx5)){if(_0xb3dcx5= this[_0x708e[1179]][_0x708e[251]][_0x708e[1707]](_0xb3dcx2),0< _0xb3dcx5){for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx5;_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[1179]][_0x708e[251]][_0x708e[1708]](_0xb3dcx2,_0xb3dcxa),_0xb3dcx13=this[_0x708e[1179]][_0x708e[251]][_0x708e[1709]](_0xb3dcx12,!0)== _0xb3dcx2;if(!_0xb3dcx3|| _0xb3dcx13){_0xb3dcx13= this[_0x708e[1179]][_0x708e[441]][_0x708e[1710]](_0xb3dcx12,!_0xb3dcx13),this[_0x708e[1706]](_0xb3dcx13,_0xb3dcx3,_0xb3dcx4,_0xb3dcx12,_0xb3dcx9)}}}}}};mxGraphLayout[_0x708e[202]][_0x708e[1711]]= function(_0xb3dcx2){return this[_0x708e[1179]][_0x708e[1712]](_0xb3dcx2)};mxGraphLayout[_0x708e[202]][_0x708e[1713]]= function(_0xb3dcx2){return !this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2)|| !this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx2)};mxGraphLayout[_0x708e[202]][_0x708e[1715]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]();return !_0xb3dcx3[_0x708e[250]](_0xb3dcx2)|| !this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx2)|| null== _0xb3dcx3[_0x708e[1709]](_0xb3dcx2,!0)|| null== _0xb3dcx3[_0x708e[1709]](_0xb3dcx2,!1)};mxGraphLayout[_0x708e[202]][_0x708e[1716]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_NOEDGESTYLE,_0xb3dcx3?_0x708e[468]:_0x708e[500],[_0xb3dcx2])};mxGraphLayout[_0x708e[202]][_0x708e[1718]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_ORTHOGONAL,_0xb3dcx3?_0x708e[500]:_0x708e[468],[_0xb3dcx2])};mxGraphLayout[_0x708e[202]][_0x708e[1719]]= function(_0xb3dcx2){var _0xb3dcx3= new mxPoint;if(null!= _0xb3dcx2&& _0xb3dcx2!= this[_0x708e[1101]]){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]();if(_0xb3dcx4[_0x708e[1720]](this[_0x708e[1101]],_0xb3dcx2)){for(var _0xb3dcx5=_0xb3dcx4[_0x708e[1721]](_0xb3dcx2);_0xb3dcx2!= this[_0x708e[1101]];){_0xb3dcx3[_0x708e[235]]+= _0xb3dcx5[_0x708e[235]],_0xb3dcx3[_0x708e[236]]+= _0xb3dcx5[_0x708e[236]],_0xb3dcx2= _0xb3dcx4[_0x708e[1197]](_0xb3dcx2),_0xb3dcx5= _0xb3dcx4[_0x708e[1721]](_0xb3dcx2)}}};return _0xb3dcx3};mxGraphLayout[_0x708e[202]][_0x708e[1722]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[251]],_0xb3dcx5=_0xb3dcx4[_0x708e[1721]](_0xb3dcx2);null== _0xb3dcx5?(_0xb3dcx5= new mxGeometry,_0xb3dcx5[_0x708e[1723]](!0)):_0xb3dcx5= _0xb3dcx5[_0x708e[238]]();if(null!= this[_0x708e[1101]]&& null!= _0xb3dcx3){for(var _0xb3dcx9=_0xb3dcx4[_0x708e[1197]](_0xb3dcx2),_0xb3dcx9=this[_0x708e[1719]](_0xb3dcx9),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx3[_0x708e[67]];_0xb3dcxa++){_0xb3dcx3[_0xb3dcxa][_0x708e[235]]-= _0xb3dcx9[_0x708e[235]],_0xb3dcx3[_0xb3dcxa][_0x708e[236]]-= _0xb3dcx9[_0x708e[236]]}};_0xb3dcx5[_0x708e[1525]]= _0xb3dcx3;_0xb3dcx4[_0x708e[1724]](_0xb3dcx2,_0xb3dcx5)}};mxGraphLayout[_0x708e[202]][_0x708e[1725]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[1721]](_0xb3dcx2),_0xb3dcxa=null;if(null!= _0xb3dcx9){_0xb3dcxa= new mxRectangle(_0xb3dcx3,_0xb3dcx4,_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]]);if(this[_0x708e[1701]]){var _0xb3dcx12=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);if(null!= _0xb3dcx12&& null!= _0xb3dcx12[_0x708e[963]]&& null!= _0xb3dcx12[_0x708e[963]][_0x708e[1563]]){var _0xb3dcx13=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx14=_0xb3dcx12[_0x708e[963]][_0x708e[1563]];_0xb3dcx12[_0x708e[963]][_0x708e[1563]][_0x708e[235]]< _0xb3dcx12[_0x708e[235]]&& (_0xb3dcx3+= (_0xb3dcx12[_0x708e[235]]- _0xb3dcx14[_0x708e[235]])/ _0xb3dcx13,_0xb3dcxa[_0x708e[117]]= _0xb3dcx14[_0x708e[117]]);_0xb3dcx12[_0x708e[963]][_0x708e[1563]][_0x708e[236]]< _0xb3dcx12[_0x708e[236]]&& (_0xb3dcx4+= (_0xb3dcx12[_0x708e[236]]- _0xb3dcx14[_0x708e[236]])/ _0xb3dcx13,_0xb3dcxa[_0x708e[119]]= _0xb3dcx14[_0x708e[119]])}};null!= this[_0x708e[1101]]&& (_0xb3dcx12= _0xb3dcx5[_0x708e[1197]](_0xb3dcx2),null!= _0xb3dcx12&& _0xb3dcx12!= this[_0x708e[1101]]&& (_0xb3dcx12= this[_0x708e[1719]](_0xb3dcx12),_0xb3dcx3-= _0xb3dcx12[_0x708e[235]],_0xb3dcx4-= _0xb3dcx12[_0x708e[236]]));if(_0xb3dcx9[_0x708e[235]]!= _0xb3dcx3|| _0xb3dcx9[_0x708e[236]]!= _0xb3dcx4){_0xb3dcx9= _0xb3dcx9[_0x708e[238]](),_0xb3dcx9[_0x708e[235]]= _0xb3dcx3,_0xb3dcx9[_0x708e[236]]= _0xb3dcx4,_0xb3dcx5[_0x708e[1724]](_0xb3dcx2,_0xb3dcx9)}};return _0xb3dcxa};mxGraphLayout[_0x708e[202]][_0x708e[1726]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1721]](_0xb3dcx2);if(this[_0x708e[1701]]){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);if(null!= _0xb3dcx4&& null!= _0xb3dcx4[_0x708e[963]]&& null!= _0xb3dcx4[_0x708e[963]][_0x708e[1563]]){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx9=_0xb3dcx4[_0x708e[963]][_0x708e[1563]],_0xb3dcxa=Math[_0x708e[160]](_0xb3dcx4[_0x708e[235]]- _0xb3dcx9[_0x708e[235]],0)/ _0xb3dcx5,_0xb3dcx12=Math[_0x708e[160]](_0xb3dcx4[_0x708e[236]]- _0xb3dcx9[_0x708e[236]],0)/ _0xb3dcx5,_0xb3dcx13=Math[_0x708e[160]](_0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]- (_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]),0)/ _0xb3dcx5,_0xb3dcx4=Math[_0x708e[160]](_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]]- (_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]),0)/ _0xb3dcx5,_0xb3dcx3= new mxRectangle(_0xb3dcx3[_0x708e[235]]- _0xb3dcxa,_0xb3dcx3[_0x708e[236]]- _0xb3dcx12,_0xb3dcx3[_0x708e[117]]+ _0xb3dcxa+ _0xb3dcx13,_0xb3dcx3[_0x708e[119]]+ _0xb3dcx12+ _0xb3dcx4)}};null!= this[_0x708e[1101]]&& (_0xb3dcx2= this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](_0xb3dcx2),_0xb3dcx3= _0xb3dcx3[_0x708e[238]](),null!= _0xb3dcx2&& _0xb3dcx2!= this[_0x708e[1101]]&& (_0xb3dcx2= this[_0x708e[1719]](_0xb3dcx2),_0xb3dcx3[_0x708e[235]]+= _0xb3dcx2[_0x708e[235]],_0xb3dcx3[_0x708e[236]]+= _0xb3dcx2[_0x708e[236]]));return new mxRectangle(_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]])};mxGraphLayout[_0x708e[202]][_0x708e[1727]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1179]][_0x708e[502]]()[_0x708e[473]]();try{for(var _0xb3dcx4=_0xb3dcx2[_0x708e[67]]- 1;0<= _0xb3dcx4;_0xb3dcx4--){var _0xb3dcx5=_0xb3dcx2[_0xb3dcx4],_0xb3dcx9=this[_0x708e[1179]][_0x708e[1728]](_0xb3dcx5),_0xb3dcxa=this[_0x708e[1179]][_0x708e[1729]](_0xb3dcx9),_0xb3dcx12=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx5),_0xb3dcx13=0,_0xb3dcx14=0;if(this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx5)){var _0xb3dcx15=this[_0x708e[1179]][_0x708e[1731]](_0xb3dcx5),_0xb3dcx13=_0xb3dcx15[_0x708e[117]],_0xb3dcx14=_0xb3dcx15[_0x708e[119]]};null!= _0xb3dcxa&& null!= _0xb3dcx12&& (_0xb3dcx12= _0xb3dcx12[_0x708e[238]](),_0xb3dcx12[_0x708e[235]]= _0xb3dcx12[_0x708e[235]]+ _0xb3dcxa[_0x708e[235]]- _0xb3dcx3- _0xb3dcx13,_0xb3dcx12[_0x708e[236]]= _0xb3dcx12[_0x708e[236]]+ _0xb3dcxa[_0x708e[236]]- _0xb3dcx3- _0xb3dcx14,_0xb3dcx12[_0x708e[117]]= _0xb3dcxa[_0x708e[117]]+ 2* _0xb3dcx3+ _0xb3dcx13,_0xb3dcx12[_0x708e[119]]= _0xb3dcxa[_0x708e[119]]+ 2* _0xb3dcx3+ _0xb3dcx14,this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1724]](_0xb3dcx5,_0xb3dcx12),this[_0x708e[1179]][_0x708e[834]](_0xb3dcx9,_0xb3dcx3+ _0xb3dcx13- _0xb3dcxa[_0x708e[235]],_0xb3dcx3+ _0xb3dcx14- _0xb3dcxa[_0x708e[236]]))}}finally{this[_0x708e[1179]][_0x708e[502]]()[_0x708e[476]]()}};function mxStackLayout(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2);this[_0x708e[662]]= null!= _0xb3dcx3?_0xb3dcx3:!0;this[_0x708e[657]]= null!= _0xb3dcx4?_0xb3dcx4:0;this[_0x708e[1732]]= null!= _0xb3dcx5?_0xb3dcx5:0;this[_0x708e[1733]]= null!= _0xb3dcx9?_0xb3dcx9:0;this[_0x708e[467]]= null!= _0xb3dcxa?_0xb3dcxa:0}mxStackLayout[_0x708e[202]]= new mxGraphLayout;mxStackLayout[_0x708e[202]][_0x708e[196]]= mxStackLayout;mxStackLayout[_0x708e[202]][_0x708e[662]]= null;mxStackLayout[_0x708e[202]][_0x708e[657]]= null;mxStackLayout[_0x708e[202]][_0x708e[1732]]= null;mxStackLayout[_0x708e[202]][_0x708e[1733]]= null;mxStackLayout[_0x708e[202]][_0x708e[467]]= 0;mxStackLayout[_0x708e[202]][_0x708e[1734]]= !1;mxStackLayout[_0x708e[202]][_0x708e[1334]]= !1;mxStackLayout[_0x708e[202]][_0x708e[1735]]= !1;mxStackLayout[_0x708e[202]][_0x708e[1736]]= !1;mxStackLayout[_0x708e[202]][_0x708e[1333]]= null;mxStackLayout[_0x708e[202]][_0x708e[1737]]= function(){return this[_0x708e[662]]};mxStackLayout[_0x708e[202]][_0x708e[1702]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[1197]](_0xb3dcx2),_0xb3dcxa=this[_0x708e[1737]]();if(null!= _0xb3dcx2&& null!= _0xb3dcx9){var _0xb3dcx12=0,_0xb3dcx13=0,_0xb3dcx14=_0xb3dcx5[_0x708e[262]](_0xb3dcx9);_0xb3dcx3= _0xb3dcxa?_0xb3dcx3:_0xb3dcx4;_0xb3dcx12= this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx9);null!= _0xb3dcx12&& (_0xb3dcx3-= _0xb3dcxa?_0xb3dcx12[_0x708e[235]]:_0xb3dcx12[_0x708e[236]]);for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcx14;_0xb3dcx12++){if(_0xb3dcx4= _0xb3dcx5[_0x708e[263]](_0xb3dcx9,_0xb3dcx12),_0xb3dcx4!= _0xb3dcx2&& (_0xb3dcx4= _0xb3dcx5[_0x708e[1721]](_0xb3dcx4),null!= _0xb3dcx4)){_0xb3dcx4= _0xb3dcxa?_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]/ 2:_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]/ 2;if(_0xb3dcx13< _0xb3dcx3&& _0xb3dcx4> _0xb3dcx3){break};_0xb3dcx13= _0xb3dcx4}};_0xb3dcxa= _0xb3dcx9[_0x708e[1738]](_0xb3dcx2);_0xb3dcxa= Math[_0x708e[160]](0,_0xb3dcx12- (_0xb3dcx12> _0xb3dcxa?1:0));_0xb3dcx5[_0x708e[99]](_0xb3dcx9,_0xb3dcx2,_0xb3dcxa)}};mxStackLayout[_0x708e[202]][_0x708e[1739]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx4=_0xb3dcx3[_0x708e[1721]](_0xb3dcx2);if(null!= this[_0x708e[1179]][_0x708e[526]]&& (null== _0xb3dcx4&& _0xb3dcx3[_0x708e[1740]](_0xb3dcx2)|| _0xb3dcx2== this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1741]])){_0xb3dcx4= new mxRectangle(0,0,this[_0x708e[1179]][_0x708e[526]][_0x708e[359]]- 1,this[_0x708e[1179]][_0x708e[526]][_0x708e[167]]- 1)};return _0xb3dcx4};mxStackLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[1737]](),_0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=this[_0x708e[1739]](_0xb3dcx2),_0xb3dcx9=0;null!= _0xb3dcx5&& (_0xb3dcx9= _0xb3dcx3?_0xb3dcx5[_0x708e[119]]:_0xb3dcx5[_0x708e[117]]);var _0xb3dcx9=_0xb3dcx9- (2* this[_0x708e[657]]+ 2* this[_0x708e[467]]),_0xb3dcxa=this[_0x708e[1732]]+ this[_0x708e[467]],_0xb3dcx12=this[_0x708e[1733]]+ this[_0x708e[467]];if(this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx2)){var _0xb3dcx13=this[_0x708e[1179]][_0x708e[1705]](_0xb3dcx2),_0xb3dcx14=mxUtils[_0x708e[433]](_0xb3dcx13,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE),_0xb3dcx13=mxUtils[_0x708e[433]](_0xb3dcx13,mxConstants.STYLE_HORIZONTAL,!0);_0xb3dcx3== _0xb3dcx13&& (_0xb3dcx9-= _0xb3dcx14);_0xb3dcx3?_0xb3dcx12+= _0xb3dcx14:_0xb3dcxa+= _0xb3dcx14};_0xb3dcx4[_0x708e[473]]();try{for(var _0xb3dcx14=0,_0xb3dcx13=null,_0xb3dcx15=_0xb3dcx4[_0x708e[262]](_0xb3dcx2),_0xb3dcx16=0;_0xb3dcx16< _0xb3dcx15;_0xb3dcx16++){var _0xb3dcx17=_0xb3dcx4[_0x708e[263]](_0xb3dcx2,_0xb3dcx16);if(!this[_0x708e[1713]](_0xb3dcx17)&& this[_0x708e[1711]](_0xb3dcx17)){var _0xb3dcx18=_0xb3dcx4[_0x708e[1721]](_0xb3dcx17);if(null!= _0xb3dcx18){_0xb3dcx18= _0xb3dcx18[_0x708e[238]]();if(null!= this[_0x708e[1333]]&& null!= _0xb3dcx13&& (_0xb3dcx3&& _0xb3dcx13[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]]+ _0xb3dcx18[_0x708e[117]]+ 2* this[_0x708e[657]]> this[_0x708e[1333]]|| !_0xb3dcx3&& _0xb3dcx13[_0x708e[236]]+ _0xb3dcx13[_0x708e[119]]+ _0xb3dcx18[_0x708e[119]]+ 2* this[_0x708e[657]]> this[_0x708e[1333]])){_0xb3dcx13= null,_0xb3dcx3?_0xb3dcx12+= _0xb3dcx14+ this[_0x708e[657]]:_0xb3dcxa+= _0xb3dcx14+ this[_0x708e[657]],_0xb3dcx14= 0};_0xb3dcx14= Math[_0x708e[160]](_0xb3dcx14,_0xb3dcx3?_0xb3dcx18[_0x708e[119]]:_0xb3dcx18[_0x708e[117]]);null!= _0xb3dcx13?_0xb3dcx3?_0xb3dcx18[_0x708e[235]]= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]]+ this[_0x708e[657]]:_0xb3dcx18[_0x708e[236]]= _0xb3dcx13[_0x708e[236]]+ _0xb3dcx13[_0x708e[119]]+ this[_0x708e[657]]:this[_0x708e[1734]]|| (_0xb3dcx3?_0xb3dcx18[_0x708e[235]]= _0xb3dcxa:_0xb3dcx18[_0x708e[236]]= _0xb3dcx12);_0xb3dcx3?_0xb3dcx18[_0x708e[236]]= _0xb3dcx12:_0xb3dcx18[_0x708e[235]]= _0xb3dcxa;this[_0x708e[1334]]&& 0< _0xb3dcx9&& (_0xb3dcx3?_0xb3dcx18[_0x708e[119]]= _0xb3dcx9:_0xb3dcx18[_0x708e[117]]= _0xb3dcx9);_0xb3dcx4[_0x708e[1724]](_0xb3dcx17,_0xb3dcx18);_0xb3dcx13= _0xb3dcx18}}};this[_0x708e[1735]]&& null!= _0xb3dcx5&& null!= _0xb3dcx13&& !this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx2)?(_0xb3dcx5= _0xb3dcx5[_0x708e[238]](),_0xb3dcx3?_0xb3dcx5[_0x708e[117]]= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]]+ this[_0x708e[657]]:_0xb3dcx5[_0x708e[119]]= _0xb3dcx13[_0x708e[236]]+ _0xb3dcx13[_0x708e[119]]+ this[_0x708e[657]],_0xb3dcx4[_0x708e[1724]](_0xb3dcx2,_0xb3dcx5)):this[_0x708e[1736]]&& (null!= _0xb3dcx5&& null!= _0xb3dcx13)&& (_0xb3dcx3?_0xb3dcx13[_0x708e[117]]= _0xb3dcx5[_0x708e[117]]- _0xb3dcx13[_0x708e[235]]- this[_0x708e[657]]:_0xb3dcx13[_0x708e[119]]= _0xb3dcx5[_0x708e[119]]- _0xb3dcx13[_0x708e[236]]- this[_0x708e[657]])}finally{_0xb3dcx4[_0x708e[476]]()}}};function mxPartitionLayout(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2);this[_0x708e[662]]= null!= _0xb3dcx3?_0xb3dcx3:!0;this[_0x708e[657]]= _0xb3dcx4|| 0;this[_0x708e[467]]= _0xb3dcx5|| 0}mxPartitionLayout[_0x708e[202]]= new mxGraphLayout;mxPartitionLayout[_0x708e[202]][_0x708e[196]]= mxPartitionLayout;mxPartitionLayout[_0x708e[202]][_0x708e[662]]= null;mxPartitionLayout[_0x708e[202]][_0x708e[657]]= null;mxPartitionLayout[_0x708e[202]][_0x708e[467]]= null;mxPartitionLayout[_0x708e[202]][_0x708e[1743]]= !0;mxPartitionLayout[_0x708e[202]][_0x708e[1737]]= function(){return this[_0x708e[662]]};mxPartitionLayout[_0x708e[202]][_0x708e[1702]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= this[_0x708e[1179]][_0x708e[502]]();var _0xb3dcx5=_0xb3dcx4[_0x708e[1197]](_0xb3dcx2);if(null!= _0xb3dcx2&& null!= _0xb3dcx5){for(var _0xb3dcx9=0,_0xb3dcxa=0,_0xb3dcx12=_0xb3dcx4[_0x708e[262]](_0xb3dcx5),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx12;_0xb3dcx9++){var _0xb3dcx13=_0xb3dcx4[_0x708e[263]](_0xb3dcx5,_0xb3dcx9),_0xb3dcx13=this[_0x708e[1726]](_0xb3dcx13);if(null!= _0xb3dcx13){_0xb3dcx13= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]]/ 2;if(_0xb3dcxa< _0xb3dcx3&& _0xb3dcx13> _0xb3dcx3){break};_0xb3dcxa= _0xb3dcx13}};_0xb3dcx3= _0xb3dcx5[_0x708e[1738]](_0xb3dcx2);_0xb3dcx3= Math[_0x708e[160]](0,_0xb3dcx9- (_0xb3dcx9> _0xb3dcx3?1:0));_0xb3dcx4[_0x708e[99]](_0xb3dcx5,_0xb3dcx2,_0xb3dcx3)}};mxPartitionLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1737]](),_0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx4[_0x708e[1721]](_0xb3dcx2);if(null!= this[_0x708e[1179]][_0x708e[526]]&& (null== _0xb3dcx5&& _0xb3dcx4[_0x708e[1740]](_0xb3dcx2)|| _0xb3dcx2== this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1741]])){_0xb3dcx5= new mxRectangle(0,0,this[_0x708e[1179]][_0x708e[526]][_0x708e[359]]- 1,this[_0x708e[1179]][_0x708e[526]][_0x708e[167]]- 1)};if(null!= _0xb3dcx5){for(var _0xb3dcx9=[],_0xb3dcxa=_0xb3dcx4[_0x708e[262]](_0xb3dcx2),_0xb3dcx12=0;_0xb3dcx12< _0xb3dcxa;_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx4[_0x708e[263]](_0xb3dcx2,_0xb3dcx12);!this[_0x708e[1713]](_0xb3dcx13)&& this[_0x708e[1711]](_0xb3dcx13)&& _0xb3dcx9[_0x708e[207]](_0xb3dcx13)};_0xb3dcxa= _0xb3dcx9[_0x708e[67]];if(0< _0xb3dcxa){var _0xb3dcx14=this[_0x708e[467]],_0xb3dcx15=this[_0x708e[467]],_0xb3dcx16=_0xb3dcx3?_0xb3dcx5[_0x708e[119]]:_0xb3dcx5[_0x708e[117]],_0xb3dcx16=_0xb3dcx16- 2* this[_0x708e[467]];_0xb3dcx2= this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx2)?this[_0x708e[1179]][_0x708e[1731]](_0xb3dcx2): new mxRectangle;_0xb3dcx16-= _0xb3dcx3?_0xb3dcx2[_0x708e[119]]:_0xb3dcx2[_0x708e[117]];_0xb3dcx14+= _0xb3dcx2[_0x708e[117]];_0xb3dcx15+= _0xb3dcx2[_0x708e[119]];_0xb3dcx2= this[_0x708e[467]]+ (_0xb3dcxa- 1)* this[_0x708e[657]];_0xb3dcx5= _0xb3dcx3?(_0xb3dcx5[_0x708e[117]]- _0xb3dcx14- _0xb3dcx2)/ _0xb3dcxa:(_0xb3dcx5[_0x708e[119]]- _0xb3dcx15- _0xb3dcx2)/ _0xb3dcxa;if(0< _0xb3dcx5){_0xb3dcx4[_0x708e[473]]();try{for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcxa;_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx9[_0xb3dcx12],_0xb3dcx17=_0xb3dcx4[_0x708e[1721]](_0xb3dcx13);null!= _0xb3dcx17&& (_0xb3dcx17= _0xb3dcx17[_0x708e[238]](),_0xb3dcx17[_0x708e[235]]= _0xb3dcx14,_0xb3dcx17[_0x708e[236]]= _0xb3dcx15,_0xb3dcx3?(this[_0x708e[1743]]&& (_0xb3dcx17[_0x708e[117]]= _0xb3dcx5,_0xb3dcx17[_0x708e[119]]= _0xb3dcx16),_0xb3dcx14+= _0xb3dcx5+ this[_0x708e[657]]):(this[_0x708e[1743]]&& (_0xb3dcx17[_0x708e[119]]= _0xb3dcx5,_0xb3dcx17[_0x708e[117]]= _0xb3dcx16),_0xb3dcx15+= _0xb3dcx5+ this[_0x708e[657]]),_0xb3dcx4[_0x708e[1724]](_0xb3dcx13,_0xb3dcx17))}}finally{_0xb3dcx4[_0x708e[476]]()}}}}};function mxCompactTreeLayout(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2);this[_0x708e[662]]= null!= _0xb3dcx3?_0xb3dcx3:!0;this[_0x708e[1744]]= null!= _0xb3dcx4?_0xb3dcx4:!1}mxCompactTreeLayout[_0x708e[202]]= new mxGraphLayout;mxCompactTreeLayout[_0x708e[202]][_0x708e[196]]= mxCompactTreeLayout;mxCompactTreeLayout[_0x708e[202]][_0x708e[662]]= null;mxCompactTreeLayout[_0x708e[202]][_0x708e[1744]]= null;mxCompactTreeLayout[_0x708e[202]][_0x708e[1735]]= !0;mxCompactTreeLayout[_0x708e[202]][_0x708e[1745]]= 10;mxCompactTreeLayout[_0x708e[202]][_0x708e[1746]]= null;mxCompactTreeLayout[_0x708e[202]][_0x708e[1747]]= !1;mxCompactTreeLayout[_0x708e[202]][_0x708e[1748]]= 10;mxCompactTreeLayout[_0x708e[202]][_0x708e[1749]]= 20;mxCompactTreeLayout[_0x708e[202]][_0x708e[1750]]= !0;mxCompactTreeLayout[_0x708e[202]][_0x708e[1751]]= 5;mxCompactTreeLayout[_0x708e[202]][_0x708e[1752]]= 4;mxCompactTreeLayout[_0x708e[202]][_0x708e[1753]]= 8;mxCompactTreeLayout[_0x708e[202]][_0x708e[1754]]= 4;mxCompactTreeLayout[_0x708e[202]][_0x708e[1755]]= !0;mxCompactTreeLayout[_0x708e[202]][_0x708e[1713]]= function(_0xb3dcx2){return mxGraphLayout[_0x708e[202]][_0x708e[1713]][_0x708e[183]](this,arguments)|| 0== this[_0x708e[1179]][_0x708e[1756]](_0xb3dcx2)[_0x708e[67]]};mxCompactTreeLayout[_0x708e[202]][_0x708e[1737]]= function(){return this[_0x708e[662]]};mxCompactTreeLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1101]]= _0xb3dcx2;var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]();if(null== _0xb3dcx3){if(0< this[_0x708e[1179]][_0x708e[264]](_0xb3dcx2,_0xb3dcx4[_0x708e[1197]](_0xb3dcx2),this[_0x708e[1744]],!this[_0x708e[1744]],!1)[_0x708e[67]]){_0xb3dcx3= _0xb3dcx2}else {var _0xb3dcx5=this[_0x708e[1179]][_0x708e[1757]](_0xb3dcx2,!0,this[_0x708e[1744]]);if(0< _0xb3dcx5[_0x708e[67]]){for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5[_0x708e[67]];_0xb3dcx9++){if(!this[_0x708e[1713]](_0xb3dcx5[_0xb3dcx9])&& 0< this[_0x708e[1179]][_0x708e[264]](_0xb3dcx5[_0xb3dcx9],null,this[_0x708e[1744]],!this[_0x708e[1744]],!1)[_0x708e[67]]){_0xb3dcx3= _0xb3dcx5[_0xb3dcx9];break}}}}};if(null!= _0xb3dcx3){this[_0x708e[1746]]= this[_0x708e[1735]]?{}:null;_0xb3dcx4[_0x708e[473]]();try{var _0xb3dcxa=this[_0x708e[1758]](_0xb3dcx3,_0xb3dcx2);if(null!= _0xb3dcxa){this[_0x708e[1759]](_0xb3dcxa);var _0xb3dcx12=this[_0x708e[1179]][_0x708e[1020]],_0xb3dcx5=_0xb3dcx12;if(!this[_0x708e[1747]]){var _0xb3dcx13=this[_0x708e[1726]](_0xb3dcx3);null!= _0xb3dcx13&& (_0xb3dcx12= _0xb3dcx13[_0x708e[235]],_0xb3dcx5= _0xb3dcx13[_0x708e[236]])};_0xb3dcx13= null;_0xb3dcx13= this[_0x708e[1737]]()?this[_0x708e[1760]](_0xb3dcxa,_0xb3dcx12,_0xb3dcx5):this[_0x708e[1761]](_0xb3dcxa,null,_0xb3dcx12,_0xb3dcx5);if(null!= _0xb3dcx13){var _0xb3dcx14=_0xb3dcx9= 0;0> _0xb3dcx13[_0x708e[235]]&& (_0xb3dcx9= Math[_0x708e[425]](_0xb3dcx12- _0xb3dcx13[_0x708e[235]]));0> _0xb3dcx13[_0x708e[236]]&& (_0xb3dcx14= Math[_0x708e[425]](_0xb3dcx5- _0xb3dcx13[_0x708e[236]]));(0!= _0xb3dcx9|| 0!= _0xb3dcx14)&& this[_0x708e[1762]](_0xb3dcxa,_0xb3dcx9,_0xb3dcx14);this[_0x708e[1735]]&& this[_0x708e[1763]]();this[_0x708e[1755]]&& this[_0x708e[1764]](_0xb3dcxa)}}}finally{_0xb3dcx4[_0x708e[476]]()}}};mxCompactTreeLayout[_0x708e[202]][_0x708e[1762]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2[_0x708e[235]]+= _0xb3dcx3;_0xb3dcx2[_0x708e[236]]+= _0xb3dcx4;this[_0x708e[183]](_0xb3dcx2);for(_0xb3dcx2= _0xb3dcx2[_0x708e[247]];null!= _0xb3dcx2;){this[_0x708e[1762]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4),_0xb3dcx2= _0xb3dcx2[_0x708e[1765]]}};mxCompactTreeLayout[_0x708e[202]][_0x708e[1758]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:[];var _0xb3dcx5=mxCellPath[_0x708e[385]](_0xb3dcx2),_0xb3dcx9=null;if(null!= _0xb3dcx2&& null== _0xb3dcx4[_0xb3dcx5]&& !this[_0x708e[1713]](_0xb3dcx2)){_0xb3dcx4[_0xb3dcx5]= _0xb3dcx2;var _0xb3dcx9=this[_0x708e[1766]](_0xb3dcx2),_0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcxa=null;_0xb3dcx2= this[_0x708e[1179]][_0x708e[264]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[1744]],!this[_0x708e[1744]],!1,!0);for(var _0xb3dcx12=this[_0x708e[1179]][_0x708e[249]](),_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx2[_0x708e[67]];_0xb3dcx13++){var _0xb3dcx14=_0xb3dcx2[_0xb3dcx13];if(!this[_0x708e[1715]](_0xb3dcx14)){this[_0x708e[1750]]&& this[_0x708e[1722]](_0xb3dcx14,null);this[_0x708e[1755]]&& (this[_0x708e[1716]](_0xb3dcx14,!1),this[_0x708e[1722]](_0xb3dcx14,null));var _0xb3dcx15=_0xb3dcx12[_0x708e[248]](_0xb3dcx14),_0xb3dcx14=null!= _0xb3dcx15?_0xb3dcx15[_0x708e[1710]](this[_0x708e[1744]]):_0xb3dcx12[_0x708e[1710]](_0xb3dcx14,this[_0x708e[1744]]),_0xb3dcx15=this[_0x708e[1758]](_0xb3dcx14,_0xb3dcx3,_0xb3dcx4);null!= _0xb3dcx15&& null!= _0xb3dcx5[_0x708e[1721]](_0xb3dcx14)&& (null== _0xb3dcxa?_0xb3dcx9[_0x708e[247]]= _0xb3dcx15:_0xb3dcxa[_0x708e[1765]]= _0xb3dcx15,_0xb3dcxa= _0xb3dcx15)}}};return _0xb3dcx9};mxCompactTreeLayout[_0x708e[202]][_0x708e[1759]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3=_0xb3dcx2[_0x708e[247]];null!= _0xb3dcx3;){this[_0x708e[1759]](_0xb3dcx3),_0xb3dcx3= _0xb3dcx3[_0x708e[1765]]};null!= _0xb3dcx2[_0x708e[247]]?this[_0x708e[1767]](_0xb3dcx2,this[_0x708e[234]](_0xb3dcx2)):this[_0x708e[1768]](_0xb3dcx2)}};mxCompactTreeLayout[_0x708e[202]][_0x708e[1760]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2[_0x708e[235]]+= _0xb3dcx3+ _0xb3dcx2[_0x708e[1769]];_0xb3dcx2[_0x708e[236]]+= _0xb3dcx4+ _0xb3dcx2[_0x708e[1770]];_0xb3dcx5= this[_0x708e[183]](_0xb3dcx2,_0xb3dcx5);_0xb3dcx3= _0xb3dcx2[_0x708e[247]];if(null!= _0xb3dcx3){_0xb3dcx5= this[_0x708e[1760]](_0xb3dcx3,_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],_0xb3dcx5);_0xb3dcx4= _0xb3dcx2[_0x708e[236]]+ _0xb3dcx3[_0x708e[1770]];for(var _0xb3dcx9=_0xb3dcx3[_0x708e[1765]];null!= _0xb3dcx9;){_0xb3dcx5= this[_0x708e[1760]](_0xb3dcx9,_0xb3dcx2[_0x708e[235]]+ _0xb3dcx3[_0x708e[1769]],_0xb3dcx4,_0xb3dcx5),_0xb3dcx4+= _0xb3dcx9[_0x708e[1770]],_0xb3dcx9= _0xb3dcx9[_0x708e[1765]]}};return _0xb3dcx5};mxCompactTreeLayout[_0x708e[202]][_0x708e[1761]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[235]]+= _0xb3dcx4+ _0xb3dcx2[_0x708e[1770]];_0xb3dcx2[_0x708e[236]]+= _0xb3dcx5+ _0xb3dcx2[_0x708e[1769]];_0xb3dcx9= this[_0x708e[183]](_0xb3dcx2,_0xb3dcx9);_0xb3dcx3= _0xb3dcx2[_0x708e[247]];if(null!= _0xb3dcx3){_0xb3dcx9= this[_0x708e[1761]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],_0xb3dcx9);_0xb3dcx4= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx3[_0x708e[1770]];for(_0xb3dcx5= _0xb3dcx3[_0x708e[1765]];null!= _0xb3dcx5;){_0xb3dcx9= this[_0x708e[1761]](_0xb3dcx5,_0xb3dcx2,_0xb3dcx4,_0xb3dcx2[_0x708e[236]]+ _0xb3dcx3[_0x708e[1769]],_0xb3dcx9),_0xb3dcx4+= _0xb3dcx5[_0x708e[1770]],_0xb3dcx5= _0xb3dcx5[_0x708e[1765]]}};return _0xb3dcx9};mxCompactTreeLayout[_0x708e[202]][_0x708e[1767]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1749]]+ this[_0x708e[1748]],_0xb3dcx5=(_0xb3dcx3- _0xb3dcx2[_0x708e[117]])/ 2- this[_0x708e[1749]],_0xb3dcx9=_0xb3dcx5+ _0xb3dcx2[_0x708e[117]]+ 2* this[_0x708e[1749]]- _0xb3dcx3;_0xb3dcx2[_0x708e[247]][_0x708e[1769]]= _0xb3dcx4+ _0xb3dcx2[_0x708e[119]];_0xb3dcx2[_0x708e[247]][_0x708e[1770]]= _0xb3dcx9;_0xb3dcx2[_0x708e[1772]][_0x708e[1771]]= this[_0x708e[1773]](_0xb3dcx2[_0x708e[119]],0,this[_0x708e[1773]](_0xb3dcx4,_0xb3dcx9,_0xb3dcx2[_0x708e[1772]][_0x708e[1771]]));_0xb3dcx2[_0x708e[1772]][_0x708e[1774]]= this[_0x708e[1773]](_0xb3dcx2[_0x708e[119]],0,this[_0x708e[1773]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx2[_0x708e[1772]][_0x708e[1774]]))};mxCompactTreeLayout[_0x708e[202]][_0x708e[1768]]= function(_0xb3dcx2){var _0xb3dcx3=2* this[_0x708e[1749]];_0xb3dcx2[_0x708e[1772]][_0x708e[1775]]= this[_0x708e[1773]](_0xb3dcx2[_0x708e[119]]+ _0xb3dcx3,0);_0xb3dcx2[_0x708e[1772]][_0x708e[1771]]= _0xb3dcx2[_0x708e[1772]][_0x708e[1775]];_0xb3dcx2[_0x708e[1772]][_0x708e[1776]]= this[_0x708e[1773]](0,-_0xb3dcx2[_0x708e[117]]- _0xb3dcx3);_0xb3dcx2[_0x708e[1772]][_0x708e[1774]]= this[_0x708e[1773]](_0xb3dcx2[_0x708e[119]]+ _0xb3dcx3,0,_0xb3dcx2[_0x708e[1772]][_0x708e[1776]])};mxCompactTreeLayout[_0x708e[202]][_0x708e[234]]= function(_0xb3dcx2){var _0xb3dcx3=2* this[_0x708e[1749]],_0xb3dcx4=_0xb3dcx2[_0x708e[247]];_0xb3dcx2[_0x708e[1772]]= _0xb3dcx4[_0x708e[1772]];for(var _0xb3dcx5=_0xb3dcx4[_0x708e[117]]+ _0xb3dcx3,_0xb3dcx9=_0xb3dcx5,_0xb3dcx4=_0xb3dcx4[_0x708e[1765]];null!= _0xb3dcx4;){var _0xb3dcxa=this[_0x708e[1777]](_0xb3dcx2[_0x708e[1772]],_0xb3dcx4[_0x708e[1772]]);_0xb3dcx4[_0x708e[1770]]= _0xb3dcxa+ _0xb3dcx5;_0xb3dcx4[_0x708e[1769]]= 0;_0xb3dcx5= _0xb3dcx4[_0x708e[117]]+ _0xb3dcx3;_0xb3dcx9+= _0xb3dcxa+ _0xb3dcx5;_0xb3dcx4= _0xb3dcx4[_0x708e[1765]]};return _0xb3dcx9};mxCompactTreeLayout[_0x708e[202]][_0x708e[1777]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=0,_0xb3dcx5=0,_0xb3dcx9=0,_0xb3dcxa=_0xb3dcx2[_0x708e[1774]],_0xb3dcx12=_0xb3dcx3[_0x708e[1771]];null!= _0xb3dcx12&& null!= _0xb3dcxa;){var _0xb3dcx13=this[_0x708e[1368]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx12[_0x708e[1126]],_0xb3dcx12[_0x708e[1125]],_0xb3dcxa[_0x708e[1126]],_0xb3dcxa[_0x708e[1125]]),_0xb3dcx5=_0xb3dcx5+ _0xb3dcx13,_0xb3dcx9=_0xb3dcx9+ _0xb3dcx13;_0xb3dcx4+ _0xb3dcx12[_0x708e[1126]]<= _0xb3dcxa[_0x708e[1126]]?(_0xb3dcx4+= _0xb3dcx12[_0x708e[1126]],_0xb3dcx5+= _0xb3dcx12[_0x708e[1125]],_0xb3dcx12= _0xb3dcx12[_0x708e[1765]]):(_0xb3dcx4-= _0xb3dcxa[_0x708e[1126]],_0xb3dcx5-= _0xb3dcxa[_0x708e[1125]],_0xb3dcxa= _0xb3dcxa[_0x708e[1765]])};null!= _0xb3dcx12?(_0xb3dcx4= this[_0x708e[1778]](_0xb3dcx2[_0x708e[1775]],0,0,_0xb3dcx12,_0xb3dcx4,_0xb3dcx5),_0xb3dcx2[_0x708e[1775]]= null!= _0xb3dcx4[_0x708e[1765]]?_0xb3dcx3[_0x708e[1775]]:_0xb3dcx4,_0xb3dcx2[_0x708e[1776]]= _0xb3dcx3[_0x708e[1776]]):(_0xb3dcx4= this[_0x708e[1778]](_0xb3dcx3[_0x708e[1776]],_0xb3dcx4,_0xb3dcx5,_0xb3dcxa,0,0),null== _0xb3dcx4[_0x708e[1765]]&& (_0xb3dcx2[_0x708e[1776]]= _0xb3dcx4));_0xb3dcx2[_0x708e[1774]]= _0xb3dcx3[_0x708e[1774]];return _0xb3dcx9};mxCompactTreeLayout[_0x708e[202]][_0x708e[1368]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=0;if(_0xb3dcx9<= _0xb3dcx2|| 0>= _0xb3dcx2+ _0xb3dcx4){return 0};_0xb3dcx12= 0< _0xb3dcx9* _0xb3dcx5- _0xb3dcx4* _0xb3dcxa?0> _0xb3dcx2?_0xb3dcx2* _0xb3dcx5/ _0xb3dcx4- _0xb3dcx3:0< _0xb3dcx2?_0xb3dcx2* _0xb3dcxa/ _0xb3dcx9- _0xb3dcx3:-_0xb3dcx3:_0xb3dcx9< _0xb3dcx2+ _0xb3dcx4?_0xb3dcxa- (_0xb3dcx3+ (_0xb3dcx9- _0xb3dcx2)* _0xb3dcx5/ _0xb3dcx4):_0xb3dcx9> _0xb3dcx2+ _0xb3dcx4?(_0xb3dcx4+ _0xb3dcx2)* _0xb3dcxa/ _0xb3dcx9- (_0xb3dcx3+ _0xb3dcx5):_0xb3dcxa- (_0xb3dcx3+ _0xb3dcx5);return 0< _0xb3dcx12?_0xb3dcx12:0};mxCompactTreeLayout[_0x708e[202]][_0x708e[1778]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx3= _0xb3dcx9+ _0xb3dcx5[_0x708e[1126]]- _0xb3dcx3;_0xb3dcx9= _0xb3dcx9= 0;0== _0xb3dcx5[_0x708e[1126]]?_0xb3dcx9= _0xb3dcx5[_0x708e[1125]]:(_0xb3dcx9= _0xb3dcx3* _0xb3dcx5[_0x708e[1125]],_0xb3dcx9/= _0xb3dcx5[_0x708e[1126]]);_0xb3dcx3= this[_0x708e[1773]](_0xb3dcx3,_0xb3dcx9,_0xb3dcx5[_0x708e[1765]]);_0xb3dcx2[_0x708e[1765]]= this[_0x708e[1773]](0,_0xb3dcxa+ _0xb3dcx5[_0x708e[1125]]- _0xb3dcx9- _0xb3dcx4,_0xb3dcx3);return _0xb3dcx3};mxCompactTreeLayout[_0x708e[202]][_0x708e[1766]]= function(_0xb3dcx2){var _0xb3dcx3={};_0xb3dcx3[_0x708e[246]]= _0xb3dcx2;_0xb3dcx3[_0x708e[235]]= 0;_0xb3dcx3[_0x708e[236]]= 0;_0xb3dcx3[_0x708e[117]]= 0;_0xb3dcx3[_0x708e[119]]= 0;_0xb3dcx2= this[_0x708e[1726]](_0xb3dcx2);null!= _0xb3dcx2&& (this[_0x708e[1737]]()?(_0xb3dcx3[_0x708e[117]]= _0xb3dcx2[_0x708e[119]],_0xb3dcx3[_0x708e[119]]= _0xb3dcx2[_0x708e[117]]):(_0xb3dcx3[_0x708e[117]]= _0xb3dcx2[_0x708e[117]],_0xb3dcx3[_0x708e[119]]= _0xb3dcx2[_0x708e[119]]));_0xb3dcx3[_0x708e[1769]]= 0;_0xb3dcx3[_0x708e[1770]]= 0;_0xb3dcx3[_0x708e[1772]]= {};return _0xb3dcx3};mxCompactTreeLayout[_0x708e[202]][_0x708e[183]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx2[_0x708e[246]],_0xb3dcx9=_0xb3dcx4[_0x708e[1721]](_0xb3dcx5);null!= _0xb3dcx5&& null!= _0xb3dcx9&& (this[_0x708e[1711]](_0xb3dcx5)&& (_0xb3dcx9= this[_0x708e[1725]](_0xb3dcx5,_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]]),this[_0x708e[1735]]&& (_0xb3dcx4= _0xb3dcx4[_0x708e[1197]](_0xb3dcx5),_0xb3dcx5= mxCellPath[_0x708e[385]](_0xb3dcx4),null== this[_0x708e[1746]][_0xb3dcx5]&& (this[_0x708e[1746]][_0xb3dcx5]= _0xb3dcx4))),_0xb3dcx3= null== _0xb3dcx3? new mxRectangle(_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]]): new mxRectangle(Math[_0x708e[243]](_0xb3dcx3[_0x708e[235]],_0xb3dcx9[_0x708e[235]]),Math[_0x708e[243]](_0xb3dcx3[_0x708e[236]],_0xb3dcx9[_0x708e[236]]),Math[_0x708e[160]](_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]),Math[_0x708e[160]](_0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]],_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]])));return _0xb3dcx3};mxCompactTreeLayout[_0x708e[202]][_0x708e[1773]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5={};_0xb3dcx5[_0x708e[1126]]= _0xb3dcx2;_0xb3dcx5[_0x708e[1125]]= _0xb3dcx3;_0xb3dcx5[_0x708e[1765]]= _0xb3dcx4;return _0xb3dcx5};mxCompactTreeLayout[_0x708e[202]][_0x708e[1763]]= function(){var _0xb3dcx2=[],_0xb3dcx3;for(_0xb3dcx3 in this[_0x708e[1746]]){_0xb3dcx2[_0x708e[207]](this[_0x708e[1746]][_0xb3dcx3])};this[_0x708e[1727]](mxUtils[_0x708e[1779]](_0xb3dcx2,!0),this[_0x708e[1745]])};mxCompactTreeLayout[_0x708e[202]][_0x708e[1764]]= function(_0xb3dcx2){this[_0x708e[1780]](_0xb3dcx2);for(_0xb3dcx2= _0xb3dcx2[_0x708e[247]];null!= _0xb3dcx2;){this[_0x708e[1764]](_0xb3dcx2),_0xb3dcx2= _0xb3dcx2[_0x708e[1765]]}};mxCompactTreeLayout[_0x708e[202]][_0x708e[1780]]= function(_0xb3dcx2){for(var _0xb3dcx3=_0xb3dcx2[_0x708e[247]],_0xb3dcx4=_0xb3dcx2[_0x708e[246]],_0xb3dcx5=0,_0xb3dcx9=[];null!= _0xb3dcx3;){_0xb3dcx5++;var _0xb3dcxa=_0xb3dcx3[_0x708e[235]];this[_0x708e[662]]&& (_0xb3dcxa= _0xb3dcx3[_0x708e[236]]);_0xb3dcx9[_0x708e[207]]( new WeightedCellSorter(_0xb3dcx3,_0xb3dcxa));_0xb3dcx3= _0xb3dcx3[_0x708e[1765]]};_0xb3dcx9[_0x708e[470]](WeightedCellSorter[_0x708e[202]][_0x708e[469]]);var _0xb3dcxa=_0xb3dcx2[_0x708e[117]],_0xb3dcx12=(_0xb3dcx5+ 1)* this[_0x708e[1751]];_0xb3dcxa> _0xb3dcx12+ 2* this[_0x708e[1751]]&& (_0xb3dcxa-= 2* this[_0x708e[1751]]);_0xb3dcx2= _0xb3dcxa/ _0xb3dcx5;_0xb3dcx3= _0xb3dcx2/ 2;_0xb3dcxa> _0xb3dcx12+ 2* this[_0x708e[1751]]&& (_0xb3dcx3+= this[_0x708e[1751]]);for(var _0xb3dcxa=this[_0x708e[1753]]- this[_0x708e[1752]],_0xb3dcx12=0,_0xb3dcx13=this[_0x708e[1726]](_0xb3dcx4),_0xb3dcx14=0;_0xb3dcx14< _0xb3dcx9[_0x708e[67]];_0xb3dcx14++){for(var _0xb3dcx15=_0xb3dcx9[_0xb3dcx14][_0x708e[246]][_0x708e[246]],_0xb3dcx16=this[_0x708e[1726]](_0xb3dcx15),_0xb3dcx15=this[_0x708e[1179]][_0x708e[1781]](_0xb3dcx4,_0xb3dcx15,!1),_0xb3dcx17=[],_0xb3dcx18=0,_0xb3dcx19=0,_0xb3dcx1a=0;_0xb3dcx1a< _0xb3dcx15[_0x708e[67]];_0xb3dcx1a++){this[_0x708e[662]]?(_0xb3dcx18= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]],_0xb3dcx19= _0xb3dcx13[_0x708e[236]]+ _0xb3dcx3,_0xb3dcx17[_0x708e[207]]( new mxPoint(_0xb3dcx18,_0xb3dcx19)),_0xb3dcx18= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]]+ _0xb3dcxa,_0xb3dcx17[_0x708e[207]]( new mxPoint(_0xb3dcx18,_0xb3dcx19)),_0xb3dcx19= _0xb3dcx16[_0x708e[236]]+ _0xb3dcx16[_0x708e[119]]/ 2):(_0xb3dcx18= _0xb3dcx13[_0x708e[235]]+ _0xb3dcx3,_0xb3dcx19= _0xb3dcx13[_0x708e[236]]+ _0xb3dcx13[_0x708e[119]],_0xb3dcx17[_0x708e[207]]( new mxPoint(_0xb3dcx18,_0xb3dcx19)),_0xb3dcx19= _0xb3dcx13[_0x708e[236]]+ _0xb3dcx13[_0x708e[119]]+ _0xb3dcxa,_0xb3dcx17[_0x708e[207]]( new mxPoint(_0xb3dcx18,_0xb3dcx19)),_0xb3dcx18= _0xb3dcx16[_0x708e[235]]+ _0xb3dcx16[_0x708e[117]]/ 2),_0xb3dcx17[_0x708e[207]]( new mxPoint(_0xb3dcx18,_0xb3dcx19)),this[_0x708e[1722]](_0xb3dcx15[_0xb3dcx1a],_0xb3dcx17)};_0xb3dcx14< _0xb3dcx5/ 2?_0xb3dcxa+= this[_0x708e[1752]]:_0xb3dcx14> _0xb3dcx5/ 2&& (_0xb3dcxa-= this[_0x708e[1752]]);_0xb3dcx3+= _0xb3dcx2;_0xb3dcx12= Math[_0x708e[160]](_0xb3dcx12,_0xb3dcxa)}};function WeightedCellSorter(_0xb3dcx2,_0xb3dcx3){this[_0x708e[246]]= _0xb3dcx2;this[_0x708e[1782]]= _0xb3dcx3}WeightedCellSorter[_0x708e[202]][_0x708e[1782]]= 0;WeightedCellSorter[_0x708e[202]][_0x708e[1783]]= !1;WeightedCellSorter[_0x708e[202]][_0x708e[1784]]= !1;WeightedCellSorter[_0x708e[202]][_0x708e[1785]]= null;WeightedCellSorter[_0x708e[202]][_0x708e[246]]= null;WeightedCellSorter[_0x708e[202]][_0x708e[469]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2&& null!= _0xb3dcx3?_0xb3dcx3[_0x708e[1782]]> _0xb3dcx2[_0x708e[1782]]?1:_0xb3dcx3[_0x708e[1782]]< _0xb3dcx2[_0x708e[1782]]?-1:_0xb3dcx3[_0x708e[1783]]?1:-1:0};function mxFastOrganicLayout(_0xb3dcx2){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2)}mxFastOrganicLayout[_0x708e[202]]= new mxGraphLayout;mxFastOrganicLayout[_0x708e[202]][_0x708e[196]]= mxFastOrganicLayout;mxFastOrganicLayout[_0x708e[202]][_0x708e[1786]]= !0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1750]]= !0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1787]]= !0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1788]]= 50;mxFastOrganicLayout[_0x708e[202]][_0x708e[1789]]= 0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1790]]= 2;mxFastOrganicLayout[_0x708e[202]][_0x708e[1791]]= 500;mxFastOrganicLayout[_0x708e[202]][_0x708e[1792]]= 4;mxFastOrganicLayout[_0x708e[202]][_0x708e[1793]]= 200;mxFastOrganicLayout[_0x708e[202]][_0x708e[1794]]= 0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1795]]= 0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1796]]= 0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1797]]= !0;mxFastOrganicLayout[_0x708e[202]][_0x708e[1713]]= function(_0xb3dcx2){return mxGraphLayout[_0x708e[202]][_0x708e[1713]][_0x708e[183]](this,arguments)|| 0== this[_0x708e[1179]][_0x708e[1756]](_0xb3dcx2)[_0x708e[67]]};mxFastOrganicLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]();this[_0x708e[1798]]= [];for(var _0xb3dcx4=this[_0x708e[1179]][_0x708e[1728]](_0xb3dcx2),_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){this[_0x708e[1713]](_0xb3dcx4[_0xb3dcx5])|| this[_0x708e[1798]][_0x708e[207]](_0xb3dcx4[_0xb3dcx5])};var _0xb3dcx9=this[_0x708e[1786]]?this[_0x708e[1179]][_0x708e[441]][_0x708e[1799]](this[_0x708e[1798]]):null,_0xb3dcxa=this[_0x708e[1798]][_0x708e[67]];this[_0x708e[1800]]= [];this[_0x708e[1801]]= [];this[_0x708e[1802]]= [];this[_0x708e[1803]]= [];this[_0x708e[1804]]= [];this[_0x708e[1805]]= [];this[_0x708e[1806]]= [];this[_0x708e[1807]]= [];0.0010> this[_0x708e[1788]]&& (this[_0x708e[1788]]= 0.0010);this[_0x708e[1789]]= this[_0x708e[1788]]* this[_0x708e[1788]];for(_0xb3dcx5= 0;_0xb3dcx5< this[_0x708e[1798]][_0x708e[67]];_0xb3dcx5++){var _0xb3dcx12=this[_0x708e[1798]][_0xb3dcx5];this[_0x708e[1803]][_0xb3dcx5]= [];var _0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx12);this[_0x708e[1800]][_0xb3dcx13]= _0xb3dcx5;var _0xb3dcx14=this[_0x708e[1726]](_0xb3dcx12),_0xb3dcx15=_0xb3dcx14[_0x708e[117]],_0xb3dcx16=_0xb3dcx14[_0x708e[119]],_0xb3dcx17=_0xb3dcx14[_0x708e[235]],_0xb3dcx18=_0xb3dcx14[_0x708e[236]];this[_0x708e[1803]][_0xb3dcx5][0]= _0xb3dcx17+ _0xb3dcx15/ 2;this[_0x708e[1803]][_0xb3dcx5][1]= _0xb3dcx18+ _0xb3dcx16/ 2;this[_0x708e[1806]][_0xb3dcx5]= Math[_0x708e[243]](_0xb3dcx15,_0xb3dcx16);this[_0x708e[1807]][_0xb3dcx5]= this[_0x708e[1806]][_0xb3dcx5]* this[_0x708e[1806]][_0xb3dcx5]};_0xb3dcx3[_0x708e[473]]();try{for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcxa;_0xb3dcx5++){this[_0x708e[1801]][_0xb3dcx5]= 0;this[_0x708e[1802]][_0xb3dcx5]= 0;this[_0x708e[1804]][_0xb3dcx5]= this[_0x708e[1711]](this[_0x708e[1798]][_0xb3dcx5]);var _0xb3dcx19=this[_0x708e[1179]][_0x708e[1756]](this[_0x708e[1798]][_0xb3dcx5],_0xb3dcx2),_0xb3dcx4=this[_0x708e[1179]][_0x708e[1808]](_0xb3dcx19,this[_0x708e[1798]][_0xb3dcx5]);this[_0x708e[1805]][_0xb3dcx5]= [];for(_0xb3dcx15= 0;_0xb3dcx15< _0xb3dcx4[_0x708e[67]];_0xb3dcx15++){this[_0x708e[1750]]&& this[_0x708e[1179]][_0x708e[1809]](_0xb3dcx19[_0xb3dcx15]);this[_0x708e[1787]]&& this[_0x708e[1716]](_0xb3dcx19[_0xb3dcx15],!1);var _0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx4[_0xb3dcx15]),_0xb3dcx1a=this[_0x708e[1800]][_0xb3dcx13];this[_0x708e[1805]][_0xb3dcx5][_0xb3dcx15]= null!= _0xb3dcx1a?_0xb3dcx1a:_0xb3dcx5}};this[_0x708e[1794]]= this[_0x708e[1793]];0== this[_0x708e[1795]]&& (this[_0x708e[1795]]= 20* Math[_0x708e[428]](_0xb3dcxa));for(this[_0x708e[1796]]= 0;this[_0x708e[1796]]< this[_0x708e[1795]];this[_0x708e[1796]]++){if(!this[_0x708e[1797]]){return};this[_0x708e[1810]]();this[_0x708e[1811]]();this[_0x708e[1812]]();this[_0x708e[1813]]()};_0xb3dcx2= _0xb3dcx4= null;for(_0xb3dcx5= 0;_0xb3dcx5< this[_0x708e[1798]][_0x708e[67]];_0xb3dcx5++){_0xb3dcx12= this[_0x708e[1798]][_0xb3dcx5],this[_0x708e[1711]](_0xb3dcx12)&& (_0xb3dcx14= this[_0x708e[1726]](_0xb3dcx12),null!= _0xb3dcx14&& (this[_0x708e[1803]][_0xb3dcx5][0]-= _0xb3dcx14[_0x708e[117]]/ 2,this[_0x708e[1803]][_0xb3dcx5][1]-= _0xb3dcx14[_0x708e[119]]/ 2,_0xb3dcx17= this[_0x708e[1179]][_0x708e[1021]](this[_0x708e[1803]][_0xb3dcx5][0]),_0xb3dcx18= this[_0x708e[1179]][_0x708e[1021]](this[_0x708e[1803]][_0xb3dcx5][1]),this[_0x708e[1725]](_0xb3dcx12,_0xb3dcx17,_0xb3dcx18),_0xb3dcx4= null== _0xb3dcx4?_0xb3dcx17:Math[_0x708e[243]](_0xb3dcx4,_0xb3dcx17),_0xb3dcx2= null== _0xb3dcx2?_0xb3dcx18:Math[_0x708e[243]](_0xb3dcx2,_0xb3dcx18)))};_0xb3dcx5= -(_0xb3dcx4|| 0)+ 1;_0xb3dcx12= -(_0xb3dcx2|| 0)+ 1;null!= _0xb3dcx9&& (_0xb3dcx5+= _0xb3dcx9[_0x708e[235]],_0xb3dcx12+= _0xb3dcx9[_0x708e[236]]);this[_0x708e[1179]][_0x708e[834]](this[_0x708e[1798]],_0xb3dcx5,_0xb3dcx12)}finally{_0xb3dcx3[_0x708e[476]]()}};mxFastOrganicLayout[_0x708e[202]][_0x708e[1812]]= function(){for(var _0xb3dcx2=0;_0xb3dcx2< this[_0x708e[1798]][_0x708e[67]];_0xb3dcx2++){if(this[_0x708e[1804]][_0xb3dcx2]){var _0xb3dcx3=Math[_0x708e[428]](this[_0x708e[1801]][_0xb3dcx2]* this[_0x708e[1801]][_0xb3dcx2]+ this[_0x708e[1802]][_0xb3dcx2]* this[_0x708e[1802]][_0xb3dcx2]);0.0010> _0xb3dcx3&& (_0xb3dcx3= 0.0010);var _0xb3dcx4=this[_0x708e[1801]][_0xb3dcx2]/ _0xb3dcx3* Math[_0x708e[243]](_0xb3dcx3,this[_0x708e[1794]]),_0xb3dcx3=this[_0x708e[1802]][_0xb3dcx2]/ _0xb3dcx3* Math[_0x708e[243]](_0xb3dcx3,this[_0x708e[1794]]);this[_0x708e[1801]][_0xb3dcx2]= 0;this[_0x708e[1802]][_0xb3dcx2]= 0;this[_0x708e[1803]][_0xb3dcx2][0]+= _0xb3dcx4;this[_0x708e[1803]][_0xb3dcx2][1]+= _0xb3dcx3}}};mxFastOrganicLayout[_0x708e[202]][_0x708e[1811]]= function(){for(var _0xb3dcx2=0;_0xb3dcx2< this[_0x708e[1798]][_0x708e[67]];_0xb3dcx2++){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1805]][_0xb3dcx2][_0x708e[67]];_0xb3dcx3++){var _0xb3dcx4=this[_0x708e[1805]][_0xb3dcx2][_0xb3dcx3];if(_0xb3dcx2!= _0xb3dcx4&& this[_0x708e[1804]][_0xb3dcx2]&& this[_0x708e[1804]][_0xb3dcx4]){var _0xb3dcx5=this[_0x708e[1803]][_0xb3dcx2][0]- this[_0x708e[1803]][_0xb3dcx4][0],_0xb3dcx9=this[_0x708e[1803]][_0xb3dcx2][1]- this[_0x708e[1803]][_0xb3dcx4][1],_0xb3dcxa=_0xb3dcx5* _0xb3dcx5+ _0xb3dcx9* _0xb3dcx9- this[_0x708e[1807]][_0xb3dcx2]- this[_0x708e[1807]][_0xb3dcx4];_0xb3dcxa< this[_0x708e[1792]]&& (_0xb3dcxa= this[_0x708e[1792]]);var _0xb3dcx12=Math[_0x708e[428]](_0xb3dcxa),_0xb3dcxa=_0xb3dcxa/ this[_0x708e[1788]],_0xb3dcx5=_0xb3dcx5/ _0xb3dcx12* _0xb3dcxa,_0xb3dcx9=_0xb3dcx9/ _0xb3dcx12* _0xb3dcxa;this[_0x708e[1801]][_0xb3dcx2]-= _0xb3dcx5;this[_0x708e[1802]][_0xb3dcx2]-= _0xb3dcx9;this[_0x708e[1801]][_0xb3dcx4]+= _0xb3dcx5;this[_0x708e[1802]][_0xb3dcx4]+= _0xb3dcx9}}}};mxFastOrganicLayout[_0x708e[202]][_0x708e[1810]]= function(){for(var _0xb3dcx2=this[_0x708e[1798]][_0x708e[67]],_0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2;_0xb3dcx3++){for(var _0xb3dcx4=_0xb3dcx3;_0xb3dcx4< _0xb3dcx2;_0xb3dcx4++){if(!this[_0x708e[1797]]){return};if(_0xb3dcx4!= _0xb3dcx3&& this[_0x708e[1804]][_0xb3dcx3]&& this[_0x708e[1804]][_0xb3dcx4]){var _0xb3dcx5=this[_0x708e[1803]][_0xb3dcx3][0]- this[_0x708e[1803]][_0xb3dcx4][0],_0xb3dcx9=this[_0x708e[1803]][_0xb3dcx3][1]- this[_0x708e[1803]][_0xb3dcx4][1];0== _0xb3dcx5&& (_0xb3dcx5= 0.01+ Math[_0x708e[1814]]());0== _0xb3dcx9&& (_0xb3dcx9= 0.01+ Math[_0x708e[1814]]());var _0xb3dcxa=Math[_0x708e[428]](_0xb3dcx5* _0xb3dcx5+ _0xb3dcx9* _0xb3dcx9),_0xb3dcx12=_0xb3dcxa- this[_0x708e[1806]][_0xb3dcx3]- this[_0x708e[1806]][_0xb3dcx4];_0xb3dcx12> this[_0x708e[1791]]|| (_0xb3dcx12< this[_0x708e[1790]]&& (_0xb3dcx12= this[_0x708e[1790]]),_0xb3dcx12= this[_0x708e[1789]]/ _0xb3dcx12,_0xb3dcx5= _0xb3dcx5/ _0xb3dcxa* _0xb3dcx12,_0xb3dcx9= _0xb3dcx9/ _0xb3dcxa* _0xb3dcx12,this[_0x708e[1801]][_0xb3dcx3]+= _0xb3dcx5,this[_0x708e[1802]][_0xb3dcx3]+= _0xb3dcx9,this[_0x708e[1801]][_0xb3dcx4]-= _0xb3dcx5,this[_0x708e[1802]][_0xb3dcx4]-= _0xb3dcx9)}}}};mxFastOrganicLayout[_0x708e[202]][_0x708e[1813]]= function(){this[_0x708e[1794]]= this[_0x708e[1793]]* (1- this[_0x708e[1796]]/ this[_0x708e[1795]])};function mxCircleLayout(_0xb3dcx2,_0xb3dcx3){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2);this[_0x708e[1806]]= null!= _0xb3dcx3?_0xb3dcx3:100}mxCircleLayout[_0x708e[202]]= new mxGraphLayout;mxCircleLayout[_0x708e[202]][_0x708e[196]]= mxCircleLayout;mxCircleLayout[_0x708e[202]][_0x708e[1806]]= null;mxCircleLayout[_0x708e[202]][_0x708e[1815]]= !1;mxCircleLayout[_0x708e[202]][_0x708e[1732]]= 0;mxCircleLayout[_0x708e[202]][_0x708e[1733]]= 0;mxCircleLayout[_0x708e[202]][_0x708e[1750]]= !0;mxCircleLayout[_0x708e[202]][_0x708e[1787]]= !0;mxCircleLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx3[_0x708e[473]]();try{for(var _0xb3dcx4=0,_0xb3dcx5=null,_0xb3dcx9=null,_0xb3dcxa=[],_0xb3dcx12=_0xb3dcx3[_0x708e[262]](_0xb3dcx2),_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx12;_0xb3dcx13++){var _0xb3dcx14=_0xb3dcx3[_0x708e[263]](_0xb3dcx2,_0xb3dcx13);if(this[_0x708e[1713]](_0xb3dcx14)){this[_0x708e[1715]](_0xb3dcx14)|| (this[_0x708e[1750]]&& this[_0x708e[1179]][_0x708e[1809]](_0xb3dcx14),this[_0x708e[1787]]&& this[_0x708e[1716]](_0xb3dcx14,!1))}else {_0xb3dcxa[_0x708e[207]](_0xb3dcx14);var _0xb3dcx15=this[_0x708e[1726]](_0xb3dcx14),_0xb3dcx5=null== _0xb3dcx5?_0xb3dcx15[_0x708e[236]]:Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx15[_0x708e[236]]),_0xb3dcx9=null== _0xb3dcx9?_0xb3dcx15[_0x708e[235]]:Math[_0x708e[243]](_0xb3dcx9,_0xb3dcx15[_0x708e[235]]),_0xb3dcx4=Math[_0x708e[160]](_0xb3dcx4,Math[_0x708e[160]](_0xb3dcx15[_0x708e[117]],_0xb3dcx15[_0x708e[119]]))}};var _0xb3dcx16=this[_0x708e[1816]](_0xb3dcxa[_0x708e[67]],_0xb3dcx4);this[_0x708e[1815]]&& (_0xb3dcx9= this[_0x708e[1732]],_0xb3dcx5= this[_0x708e[1733]]);this[_0x708e[1817]](_0xb3dcxa,_0xb3dcx16,_0xb3dcx9,_0xb3dcx5)}finally{_0xb3dcx3[_0x708e[476]]()}};mxCircleLayout[_0x708e[202]][_0x708e[1816]]= function(_0xb3dcx2,_0xb3dcx3){return Math[_0x708e[160]](_0xb3dcx2* _0xb3dcx3/ Math[_0x708e[424]],this[_0x708e[1806]])};mxCircleLayout[_0x708e[202]][_0x708e[1817]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){for(var _0xb3dcx9=_0xb3dcx2[_0x708e[67]],_0xb3dcxa=2* Math[_0x708e[424]]/ _0xb3dcx9,_0xb3dcx12=0;_0xb3dcx12< _0xb3dcx9;_0xb3dcx12++){this[_0x708e[1711]](_0xb3dcx2[_0xb3dcx12])&& this[_0x708e[1725]](_0xb3dcx2[_0xb3dcx12],_0xb3dcx4+ _0xb3dcx3+ _0xb3dcx3* Math[_0x708e[427]](_0xb3dcx12* _0xb3dcxa),_0xb3dcx5+ _0xb3dcx3+ _0xb3dcx3* Math[_0x708e[426]](_0xb3dcx12* _0xb3dcxa))}};function mxParallelEdgeLayout(_0xb3dcx2){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2)}mxParallelEdgeLayout[_0x708e[202]]= new mxGraphLayout;mxParallelEdgeLayout[_0x708e[202]][_0x708e[196]]= mxParallelEdgeLayout;mxParallelEdgeLayout[_0x708e[202]][_0x708e[657]]= 20;mxParallelEdgeLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1818]](_0xb3dcx2);this[_0x708e[1179]][_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx3 in _0xb3dcx2){var _0xb3dcx4=_0xb3dcx2[_0xb3dcx3];1< _0xb3dcx4[_0x708e[67]]&& this[_0x708e[1759]](_0xb3dcx4)}}finally{this[_0x708e[1179]][_0x708e[251]][_0x708e[476]]()}};mxParallelEdgeLayout[_0x708e[202]][_0x708e[1818]]= function(_0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx4=[],_0xb3dcx5=_0xb3dcx3[_0x708e[262]](_0xb3dcx2),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx3[_0x708e[263]](_0xb3dcx2,_0xb3dcx9);if(!this[_0x708e[1715]](_0xb3dcxa)){var _0xb3dcx12=this[_0x708e[1819]](_0xb3dcxa);null!= _0xb3dcx12&& (null== _0xb3dcx4[_0xb3dcx12]&& (_0xb3dcx4[_0xb3dcx12]= []),_0xb3dcx4[_0xb3dcx12][_0x708e[207]](_0xb3dcxa))}};return _0xb3dcx4};mxParallelEdgeLayout[_0x708e[202]][_0x708e[1819]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[249]](),_0xb3dcx4=_0xb3dcx3[_0x708e[248]](_0xb3dcx2),_0xb3dcx5=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[1710]](!0):_0xb3dcx3[_0x708e[1710]](_0xb3dcx2,!0);_0xb3dcx2= null!= _0xb3dcx4?_0xb3dcx4[_0x708e[1710]](!1):_0xb3dcx3[_0x708e[1710]](_0xb3dcx2,!1);return null!= _0xb3dcx5&& null!= _0xb3dcx2?(_0xb3dcx5= mxCellPath[_0x708e[385]](_0xb3dcx5),_0xb3dcx2= mxCellPath[_0x708e[385]](_0xb3dcx2),_0xb3dcx5> _0xb3dcx2?_0xb3dcx2+ _0x708e[213]+ _0xb3dcx5:_0xb3dcx5+ _0x708e[213]+ _0xb3dcx2):null};mxParallelEdgeLayout[_0x708e[202]][_0x708e[1759]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[0],_0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx4[_0x708e[1721]](_0xb3dcx4[_0x708e[1709]](_0xb3dcx3,!0)),_0xb3dcx9=_0xb3dcx4[_0x708e[1721]](_0xb3dcx4[_0x708e[1709]](_0xb3dcx3,!1));if(_0xb3dcx5== _0xb3dcx9){for(var _0xb3dcx3=_0xb3dcx5[_0x708e[235]]+ _0xb3dcx5[_0x708e[117]]+ this[_0x708e[657]],_0xb3dcx4=_0xb3dcx5[_0x708e[236]]+ _0xb3dcx5[_0x708e[119]]/ 2,_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2[_0x708e[67]];_0xb3dcxa++){this[_0x708e[1820]](_0xb3dcx2[_0xb3dcxa],_0xb3dcx3,_0xb3dcx4),_0xb3dcx3+= this[_0x708e[657]]}}else {if(null!= _0xb3dcx5&& null!= _0xb3dcx9){for(var _0xb3dcx3=_0xb3dcx5[_0x708e[235]]+ _0xb3dcx5[_0x708e[117]]/ 2,_0xb3dcx4=_0xb3dcx5[_0x708e[236]]+ _0xb3dcx5[_0x708e[119]]/ 2,_0xb3dcxa=_0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]/ 2- _0xb3dcx3,_0xb3dcx12=_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]]/ 2- _0xb3dcx4,_0xb3dcx9=Math[_0x708e[428]](_0xb3dcxa* _0xb3dcxa+ _0xb3dcx12* _0xb3dcx12),_0xb3dcx5=_0xb3dcx12* this[_0x708e[657]]/ _0xb3dcx9,_0xb3dcx9=_0xb3dcxa* this[_0x708e[657]]/ _0xb3dcx9,_0xb3dcx3=_0xb3dcx3+ _0xb3dcxa/ 2+ _0xb3dcx5* (_0xb3dcx2[_0x708e[67]]- 1)/ 2,_0xb3dcx4=_0xb3dcx4+ _0xb3dcx12/ 2- _0xb3dcx9* (_0xb3dcx2[_0x708e[67]]- 1)/ 2,_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2[_0x708e[67]];_0xb3dcxa++){this[_0x708e[1820]](_0xb3dcx2[_0xb3dcxa],_0xb3dcx3,_0xb3dcx4),_0xb3dcx3-= _0xb3dcx5,_0xb3dcx4+= _0xb3dcx9}}}};mxParallelEdgeLayout[_0x708e[202]][_0x708e[1820]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[1179]][_0x708e[1712]](_0xb3dcx2)&& this[_0x708e[1722]](_0xb3dcx2,[ new mxPoint(_0xb3dcx3,_0xb3dcx4)])};function mxCompositeLayout(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2);this[_0x708e[1821]]= _0xb3dcx3;this[_0x708e[1822]]= _0xb3dcx4}mxCompositeLayout[_0x708e[202]]= new mxGraphLayout;mxCompositeLayout[_0x708e[202]][_0x708e[196]]= mxCompositeLayout;mxCompositeLayout[_0x708e[202]][_0x708e[1821]]= null;mxCompositeLayout[_0x708e[202]][_0x708e[1822]]= null;mxCompositeLayout[_0x708e[202]][_0x708e[1702]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null!= this[_0x708e[1822]]?this[_0x708e[1822]][_0x708e[582]][_0x708e[183]](this[_0x708e[1822]],arguments):this[_0x708e[1821]][0][_0x708e[582]][_0x708e[183]](this[_0x708e[1821]][0],arguments)};mxCompositeLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx3[_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< this[_0x708e[1821]][_0x708e[67]];_0xb3dcx4++){this[_0x708e[1821]][_0xb3dcx4][_0x708e[350]][_0x708e[183]](this[_0x708e[1821]][_0xb3dcx4],arguments)}}finally{_0xb3dcx3[_0x708e[476]]()}};function mxEdgeLabelLayout(_0xb3dcx2,_0xb3dcx3){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2)}mxEdgeLabelLayout[_0x708e[202]]= new mxGraphLayout;mxEdgeLabelLayout[_0x708e[202]][_0x708e[196]]= mxEdgeLabelLayout;mxEdgeLabelLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[1179]][_0x708e[441]],_0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=[],_0xb3dcx9=[],_0xb3dcxa=_0xb3dcx4[_0x708e[262]](_0xb3dcx2),_0xb3dcx12=0;_0xb3dcx12< _0xb3dcxa;_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx4[_0x708e[263]](_0xb3dcx2,_0xb3dcx12),_0xb3dcx14=_0xb3dcx3[_0x708e[248]](_0xb3dcx13);null!= _0xb3dcx14&& (this[_0x708e[1713]](_0xb3dcx13)?this[_0x708e[1715]](_0xb3dcx13)|| _0xb3dcx5[_0x708e[207]](_0xb3dcx14):_0xb3dcx9[_0x708e[207]](_0xb3dcx14))};this[_0x708e[1823]](_0xb3dcx9,_0xb3dcx5)};mxEdgeLabelLayout[_0x708e[202]][_0x708e[1823]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx4[_0x708e[473]]();try{for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=_0xb3dcx3[_0xb3dcx5];if(null!= _0xb3dcx9&& null!= _0xb3dcx9[_0x708e[963]]&& null!= _0xb3dcx9[_0x708e[963]][_0x708e[1563]]){for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx2[_0xb3dcxa];null!= _0xb3dcx12&& this[_0x708e[1824]](_0xb3dcx9,_0xb3dcx12)}}}}finally{_0xb3dcx4[_0x708e[476]]()}};mxEdgeLabelLayout[_0x708e[202]][_0x708e[1824]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx2[_0x708e[963]][_0x708e[1563]];if(mxUtils[_0x708e[1825]](_0xb3dcx5,_0xb3dcx3)){var _0xb3dcx9=-_0xb3dcx5[_0x708e[236]]- _0xb3dcx5[_0x708e[119]]+ _0xb3dcx3[_0x708e[236]],_0xb3dcxa=-_0xb3dcx5[_0x708e[236]]+ _0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]],_0xb3dcx9=Math[_0x708e[425]](_0xb3dcx9)< Math[_0x708e[425]](_0xb3dcxa)?_0xb3dcx9:_0xb3dcxa,_0xb3dcxa=-_0xb3dcx5[_0x708e[235]]- _0xb3dcx5[_0x708e[117]]+ _0xb3dcx3[_0x708e[235]],_0xb3dcx5=-_0xb3dcx5[_0x708e[235]]+ _0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx5=Math[_0x708e[425]](_0xb3dcxa)< Math[_0x708e[425]](_0xb3dcx5)?_0xb3dcxa:_0xb3dcx5;Math[_0x708e[425]](_0xb3dcx5)< Math[_0x708e[425]](_0xb3dcx9)?_0xb3dcx9= 0:_0xb3dcx5= 0;_0xb3dcxa= _0xb3dcx4[_0x708e[1721]](_0xb3dcx2[_0x708e[246]]);null!= _0xb3dcxa&& (_0xb3dcxa= _0xb3dcxa[_0x708e[238]](),null!= _0xb3dcxa[_0x708e[1368]]?(_0xb3dcxa[_0x708e[1368]][_0x708e[235]]+= _0xb3dcx5,_0xb3dcxa[_0x708e[1368]][_0x708e[236]]+= _0xb3dcx9):_0xb3dcxa[_0x708e[1368]]= new mxPoint(_0xb3dcx5,_0xb3dcx9),_0xb3dcx4[_0x708e[1724]](_0xb3dcx2[_0x708e[246]],_0xb3dcxa))}};function mxGraphAbstractHierarchyCell(){this[_0x708e[235]]= [];this[_0x708e[236]]= [];this[_0x708e[1826]]= []}mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1827]]= -1;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1828]]= -1;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[235]]= null;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[236]]= null;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[117]]= 0;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[119]]= 0;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1829]]= null;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1830]]= null;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1826]]= null;mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1831]]= function(_0xb3dcx2){return null};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1832]]= function(_0xb3dcx2){return null};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[250]]= function(){return !1};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1193]]= function(){return !1};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1833]]= function(_0xb3dcx2){return null};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1834]]= function(_0xb3dcx2,_0xb3dcx3){return null};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1835]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1193]]()?this[_0x708e[235]][0]= _0xb3dcx3:this[_0x708e[250]]()&& (this[_0x708e[235]][_0xb3dcx2- this[_0x708e[1828]]- 1]= _0xb3dcx3)};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[730]]= function(_0xb3dcx2){return this[_0x708e[1193]]()?this[_0x708e[235]][0]:this[_0x708e[250]]()?this[_0x708e[235]][_0xb3dcx2- this[_0x708e[1828]]- 1]:0};mxGraphAbstractHierarchyCell[_0x708e[202]][_0x708e[1836]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1193]]()?this[_0x708e[236]][0]= _0xb3dcx3:this[_0x708e[250]]()&& (this[_0x708e[236]][_0xb3dcx2- this[_0x708e[1828]]- 1]= _0xb3dcx3)};function mxGraphHierarchyNode(_0xb3dcx2){mxGraphAbstractHierarchyCell[_0x708e[183]](this,arguments);this[_0x708e[246]]= _0xb3dcx2}mxGraphHierarchyNode[_0x708e[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyNode[_0x708e[202]][_0x708e[196]]= mxGraphHierarchyNode;mxGraphHierarchyNode[_0x708e[202]][_0x708e[246]]= null;mxGraphHierarchyNode[_0x708e[202]][_0x708e[1837]]= [];mxGraphHierarchyNode[_0x708e[202]][_0x708e[1838]]= [];mxGraphHierarchyNode[_0x708e[202]][_0x708e[1839]]= !1;mxGraphHierarchyNode[_0x708e[202]][_0x708e[1840]]= function(_0xb3dcx2){return this[_0x708e[1827]]};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1831]]= function(_0xb3dcx2){if(null== this[_0x708e[1829]]){this[_0x708e[1829]]= [];this[_0x708e[1829]][0]= [];for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1837]][_0x708e[67]];_0xb3dcx3++){var _0xb3dcx4=this[_0x708e[1837]][_0xb3dcx3];-1== _0xb3dcx4[_0x708e[1827]]|| _0xb3dcx4[_0x708e[1827]]== _0xb3dcx2+ 1?this[_0x708e[1829]][0][_0x708e[207]](_0xb3dcx4[_0x708e[1097]]):this[_0x708e[1829]][0][_0x708e[207]](_0xb3dcx4)}};return this[_0x708e[1829]][0]};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1832]]= function(_0xb3dcx2){if(null== this[_0x708e[1830]]){this[_0x708e[1830]]= [];this[_0x708e[1830]][0]= [];for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1838]][_0x708e[67]];_0xb3dcx3++){var _0xb3dcx4=this[_0x708e[1838]][_0xb3dcx3];-1== _0xb3dcx4[_0x708e[1828]]|| _0xb3dcx4[_0x708e[1828]]== _0xb3dcx2- 1?this[_0x708e[1830]][0][_0x708e[207]](_0xb3dcx4[_0x708e[772]]):this[_0x708e[1830]][0][_0x708e[207]](_0xb3dcx4)}};return this[_0x708e[1830]][0]};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1193]]= function(){return !0};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1833]]= function(_0xb3dcx2){return this[_0x708e[1826]][0]};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1834]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1826]][0]= _0xb3dcx3};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1720]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& null!= this[_0x708e[1839]]&& null!= _0xb3dcx2[_0x708e[1839]]&& this[_0x708e[1839]][_0x708e[67]]< _0xb3dcx2[_0x708e[1839]][_0x708e[67]]){if(this[_0x708e[1839]]== _0xb3dcx2[_0x708e[1839]]){return !0};if(null== this[_0x708e[1839]]|| null== this[_0x708e[1839]]){return !1};for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1839]][_0x708e[67]];_0xb3dcx3++){if(this[_0x708e[1839]][_0xb3dcx3]!= _0xb3dcx2[_0x708e[1839]][_0xb3dcx3]){return !1}};return !0};return !1};mxGraphHierarchyNode[_0x708e[202]][_0x708e[1841]]= function(){return this[_0x708e[246]]};function mxGraphHierarchyEdge(_0xb3dcx2){mxGraphAbstractHierarchyCell[_0x708e[183]](this,arguments);this[_0x708e[1842]]= _0xb3dcx2}mxGraphHierarchyEdge[_0x708e[202]]= new mxGraphAbstractHierarchyCell;mxGraphHierarchyEdge[_0x708e[202]][_0x708e[196]]= mxGraphHierarchyEdge;mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1842]]= null;mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1097]]= null;mxGraphHierarchyEdge[_0x708e[202]][_0x708e[772]]= null;mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1843]]= !1;mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1744]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1097]];this[_0x708e[1097]]= this[_0x708e[772]];this[_0x708e[772]]= _0xb3dcx2;this[_0x708e[1843]]= !this[_0x708e[1843]]};mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1831]]= function(_0xb3dcx2){if(null== this[_0x708e[1829]]){this[_0x708e[1829]]= [];for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1826]][_0x708e[67]];_0xb3dcx3++){this[_0x708e[1829]][_0xb3dcx3]= [],_0xb3dcx3== this[_0x708e[1826]][_0x708e[67]]- 1?this[_0x708e[1829]][_0xb3dcx3][_0x708e[207]](this[_0x708e[1097]]):this[_0x708e[1829]][_0xb3dcx3][_0x708e[207]](this)}};return this[_0x708e[1829]][_0xb3dcx2- this[_0x708e[1828]]- 1]};mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1832]]= function(_0xb3dcx2){if(null== this[_0x708e[1830]]){this[_0x708e[1830]]= [];for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1826]][_0x708e[67]];_0xb3dcx3++){this[_0x708e[1830]][_0xb3dcx3]= [],0== _0xb3dcx3?this[_0x708e[1830]][_0xb3dcx3][_0x708e[207]](this[_0x708e[772]]):this[_0x708e[1830]][_0xb3dcx3][_0x708e[207]](this)}};return this[_0x708e[1830]][_0xb3dcx2- this[_0x708e[1828]]- 1]};mxGraphHierarchyEdge[_0x708e[202]][_0x708e[250]]= function(){return !0};mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1833]]= function(_0xb3dcx2){return this[_0x708e[1826]][_0xb3dcx2- this[_0x708e[1828]]- 1]};mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1834]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1826]][_0xb3dcx2- this[_0x708e[1828]]- 1]= _0xb3dcx3};mxGraphHierarchyEdge[_0x708e[202]][_0x708e[1841]]= function(){return null!= this[_0x708e[1842]]&& 0< this[_0x708e[1842]][_0x708e[67]]?this[_0x708e[1842]][0]:null};function mxGraphHierarchyModel(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2[_0x708e[1703]]();this[_0x708e[1844]]= _0xb3dcx9;this[_0x708e[1845]]= _0xb3dcx4;this[_0x708e[1101]]= _0xb3dcx5;this[_0x708e[1846]]= {};this[_0x708e[1847]]= {};this[_0x708e[1827]]= 0;_0xb3dcx4= [];null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[1179]][_0x708e[1728]](_0xb3dcx5));this[_0x708e[1827]]= this[_0x708e[1848]];this[_0x708e[1849]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){_0xb3dcx9= _0xb3dcx4[_0xb3dcx5][_0x708e[1838]];for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx9[_0xb3dcxa],_0xb3dcx13=_0xb3dcx12[_0x708e[1842]];if(null!= _0xb3dcx13&& 0< _0xb3dcx13[_0x708e[67]]){var _0xb3dcx13=_0xb3dcx13[0],_0xb3dcx14=_0xb3dcx2[_0x708e[1710]](_0xb3dcx13,!1),_0xb3dcx14=mxCellPath[_0x708e[385]](_0xb3dcx14),_0xb3dcx14=this[_0x708e[1846]][_0xb3dcx14];_0xb3dcx4[_0xb3dcx5]== _0xb3dcx14&& (_0xb3dcx14= _0xb3dcx2[_0x708e[1710]](_0xb3dcx13,!0),_0xb3dcx14= mxCellPath[_0x708e[385]](_0xb3dcx14),_0xb3dcx14= this[_0x708e[1846]][_0xb3dcx14]);null!= _0xb3dcx14&& _0xb3dcx4[_0xb3dcx5]!= _0xb3dcx14&& (_0xb3dcx12[_0x708e[772]]= _0xb3dcx14,0== _0xb3dcx14[_0x708e[1837]][_0x708e[67]]&& (_0xb3dcx14[_0x708e[1837]]= []),0> mxUtils[_0x708e[2]](_0xb3dcx14[_0x708e[1837]],_0xb3dcx12)&& _0xb3dcx14[_0x708e[1837]][_0x708e[207]](_0xb3dcx12))}};_0xb3dcx4[_0xb3dcx5][_0x708e[1826]][0]= 1}}mxGraphHierarchyModel[_0x708e[202]][_0x708e[1827]]= null;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1846]]= null;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1847]]= null;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1850]]= null;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1845]]= null;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1101]]= null;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1851]]= 0;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1848]]= 1E8;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1844]]= !1;mxGraphHierarchyModel[_0x708e[202]][_0x708e[1849]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){for(var _0xb3dcx5=_0xb3dcx2[_0x708e[1703]](),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){_0xb3dcx4[_0xb3dcx9]= new mxGraphHierarchyNode(_0xb3dcx3[_0xb3dcx9]);var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx3[_0xb3dcx9]);this[_0x708e[1846]][_0xb3dcxa]= _0xb3dcx4[_0xb3dcx9];_0xb3dcxa= _0xb3dcx2[_0x708e[264]](_0xb3dcx3[_0xb3dcx9]);_0xb3dcx4[_0xb3dcx9][_0x708e[1838]]= [];for(var _0xb3dcx12=0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx2[_0x708e[1710]](_0xb3dcxa[_0xb3dcx12],!1);if(_0xb3dcx13!= _0xb3dcx3[_0xb3dcx9]&& _0xb3dcx13!= _0xb3dcx3[_0xb3dcx9]&& _0xb3dcx2[_0x708e[1179]][_0x708e[251]][_0x708e[1193]](_0xb3dcx13)&& !_0xb3dcx2[_0x708e[1713]](_0xb3dcx13)){var _0xb3dcx14=_0xb3dcx2[_0x708e[1781]](_0xb3dcx3[_0xb3dcx9],_0xb3dcx13,!1),_0xb3dcx15=_0xb3dcx2[_0x708e[1781]](_0xb3dcx3[_0xb3dcx9],_0xb3dcx13,!0),_0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx14[0]);if(null!= _0xb3dcx14&& 0< _0xb3dcx14[_0x708e[67]]&& null== this[_0x708e[1847]][_0xb3dcx13]&& 2* _0xb3dcx15[_0x708e[67]]>= _0xb3dcx14[_0x708e[67]]){for(var _0xb3dcx15= new mxGraphHierarchyEdge(_0xb3dcx14),_0xb3dcx16=0;_0xb3dcx16< _0xb3dcx14[_0x708e[67]];_0xb3dcx16++){var _0xb3dcx17=_0xb3dcx14[_0xb3dcx16],_0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx17);this[_0x708e[1847]][_0xb3dcx13]= _0xb3dcx15;_0xb3dcx5[_0x708e[1809]](_0xb3dcx17);_0xb3dcx2[_0x708e[1787]]&& (_0xb3dcx2[_0x708e[1716]](_0xb3dcx17,!1),_0xb3dcx2[_0x708e[1718]](_0xb3dcx17,!0))};_0xb3dcx15[_0x708e[1097]]= _0xb3dcx4[_0xb3dcx9];0> mxUtils[_0x708e[2]](_0xb3dcx4[_0xb3dcx9][_0x708e[1838]],_0xb3dcx15)&& _0xb3dcx4[_0xb3dcx9][_0x708e[1838]][_0x708e[207]](_0xb3dcx15)}}};_0xb3dcx4[_0xb3dcx9][_0x708e[1826]][0]= 0}};mxGraphHierarchyModel[_0x708e[202]][_0x708e[1852]]= function(){var _0xb3dcx2=[];if(null!= this[_0x708e[1845]]){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1845]][_0x708e[67]];_0xb3dcx3++){var _0xb3dcx4=mxCellPath[_0x708e[385]](this[_0x708e[1845]][_0xb3dcx3]),_0xb3dcx4=this[_0x708e[1846]][_0xb3dcx4];null!= _0xb3dcx4&& _0xb3dcx2[_0x708e[207]](_0xb3dcx4)}};for(var _0xb3dcx5 in this[_0x708e[1846]]){_0xb3dcx4= this[_0x708e[1846]][_0xb3dcx5],_0xb3dcx4[_0x708e[1826]][0]= -1};for(var _0xb3dcx9=_0xb3dcx2[_0x708e[1853]]();0< _0xb3dcx2[_0x708e[67]];){var _0xb3dcx4=_0xb3dcx2[0],_0xb3dcxa,_0xb3dcx12;_0xb3dcxa= _0xb3dcx4[_0x708e[1837]];_0xb3dcx12= _0xb3dcx4[_0x708e[1838]];for(var _0xb3dcx13=!0,_0xb3dcx14=this[_0x708e[1848]],_0xb3dcx3=0;_0xb3dcx3< _0xb3dcxa[_0x708e[67]];_0xb3dcx3++){var _0xb3dcx15=_0xb3dcxa[_0xb3dcx3];if(5270620== _0xb3dcx15[_0x708e[1826]][0]){_0xb3dcx15= _0xb3dcx15[_0x708e[1097]],_0xb3dcx14= Math[_0x708e[243]](_0xb3dcx14,_0xb3dcx15[_0x708e[1826]][0]- 1)}else {_0xb3dcx13= !1;break}};if(_0xb3dcx13){_0xb3dcx4[_0x708e[1826]][0]= _0xb3dcx14;this[_0x708e[1827]]= Math[_0x708e[243]](this[_0x708e[1827]],_0xb3dcx14);if(null!= _0xb3dcx12){for(_0xb3dcx3= 0;_0xb3dcx3< _0xb3dcx12[_0x708e[67]];_0xb3dcx3++){_0xb3dcx15= _0xb3dcx12[_0xb3dcx3],_0xb3dcx15[_0x708e[1826]][0]= 5270620,_0xb3dcx15= _0xb3dcx15[_0x708e[772]],-1== _0xb3dcx15[_0x708e[1826]][0]&& (_0xb3dcx2[_0x708e[207]](_0xb3dcx15),_0xb3dcx15[_0x708e[1826]][0]= -2)}};_0xb3dcx2[_0x708e[1115]]()}else {if(_0xb3dcx3= _0xb3dcx2[_0x708e[1115]](),_0xb3dcx2[_0x708e[207]](_0xb3dcx4),_0xb3dcx3== _0xb3dcx4&& 1== _0xb3dcx2[_0x708e[67]]){break}}};for(_0xb3dcx5 in this[_0x708e[1846]]){_0xb3dcx4= this[_0x708e[1846]][_0xb3dcx5],_0xb3dcx4[_0x708e[1826]][0]-= this[_0x708e[1827]]};for(_0xb3dcx3= 0;_0xb3dcx3< _0xb3dcx9[_0x708e[67]];_0xb3dcx3++){_0xb3dcx4= _0xb3dcx9[_0xb3dcx3];_0xb3dcx2= 0;_0xb3dcxa= _0xb3dcx4[_0x708e[1838]];for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcxa[_0x708e[67]];_0xb3dcx5++){_0xb3dcx15= _0xb3dcxa[_0xb3dcx5],_0xb3dcx15= _0xb3dcx15[_0x708e[772]],_0xb3dcx4[_0x708e[1826]][0]= Math[_0x708e[160]](_0xb3dcx2,_0xb3dcx15[_0x708e[1826]][0]+ 1),_0xb3dcx2= _0xb3dcx4[_0x708e[1826]][0]}};this[_0x708e[1827]]= this[_0x708e[1848]]- this[_0x708e[1827]]};mxGraphHierarchyModel[_0x708e[202]][_0x708e[1854]]= function(){var _0xb3dcx2=[];this[_0x708e[1850]]= [];for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1827]]+ 1;_0xb3dcx3++){_0xb3dcx2[_0xb3dcx3]= [],this[_0x708e[1850]][_0xb3dcx3]= _0xb3dcx2[_0xb3dcx3]};var _0xb3dcx4=null;if(null!= this[_0x708e[1845]]){for(var _0xb3dcx5=this[_0x708e[1845]],_0xb3dcx4=[],_0xb3dcx3=0;_0xb3dcx3< _0xb3dcx5[_0x708e[67]];_0xb3dcx3++){var _0xb3dcx9=mxCellPath[_0x708e[385]](_0xb3dcx5[_0xb3dcx3]);_0xb3dcx4[_0xb3dcx3]= this[_0x708e[1846]][_0xb3dcx9]}};this[_0x708e[209]](function(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcx15){0== _0xb3dcx15&& (0> _0xb3dcx4[_0x708e[1827]]&& 0> _0xb3dcx4[_0x708e[1828]])&& (_0xb3dcx2[_0xb3dcx4[_0x708e[1826]][0]][_0x708e[207]](_0xb3dcx4),_0xb3dcx4[_0x708e[1827]]= _0xb3dcx4[_0x708e[1826]][0],_0xb3dcx4[_0x708e[1828]]= _0xb3dcx4[_0x708e[1826]][0],_0xb3dcx4[_0x708e[1826]][0]= _0xb3dcx2[_0xb3dcx4[_0x708e[1827]]][_0x708e[67]]- 1);if(null!= _0xb3dcx3&& null!= _0xb3dcx5&& 1< _0xb3dcx3[_0x708e[1827]]- _0xb3dcx4[_0x708e[1827]]){_0xb3dcx5[_0x708e[1827]]= _0xb3dcx3[_0x708e[1827]];_0xb3dcx5[_0x708e[1828]]= _0xb3dcx4[_0x708e[1827]];_0xb3dcx5[_0x708e[1826]]= [];_0xb3dcx5[_0x708e[235]]= [];_0xb3dcx5[_0x708e[236]]= [];for(_0xb3dcx3= _0xb3dcx5[_0x708e[1828]]+ 1;_0xb3dcx3< _0xb3dcx5[_0x708e[1827]];_0xb3dcx3++){_0xb3dcx2[_0xb3dcx3][_0x708e[207]](_0xb3dcx5),_0xb3dcx5[_0x708e[1834]](_0xb3dcx3,_0xb3dcx2[_0xb3dcx3][_0x708e[67]]- 1)}}},_0xb3dcx4,!1,null)};mxGraphHierarchyModel[_0x708e[202]][_0x708e[209]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx3){for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx3[_0xb3dcx9];null!= _0xb3dcxa&& (null== _0xb3dcx5&& (_0xb3dcx5= {}),_0xb3dcx4?(_0xb3dcxa[_0x708e[1839]]= [],_0xb3dcxa[_0x708e[1839]][0]= this[_0x708e[1851]],_0xb3dcxa[_0x708e[1839]][1]= _0xb3dcx9,this[_0x708e[1855]](null,_0xb3dcxa,null,_0xb3dcx2,_0xb3dcx5,_0xb3dcxa[_0x708e[1839]],_0xb3dcx9,0)):this[_0x708e[1758]](null,_0xb3dcxa,null,_0xb3dcx2,_0xb3dcx5,0))};this[_0x708e[1851]]++}};mxGraphHierarchyModel[_0x708e[202]][_0x708e[1758]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){if(null!= _0xb3dcx3){var _0xb3dcx12=mxCellPath[_0x708e[385]](_0xb3dcx3[_0x708e[246]]);if(null== _0xb3dcx9[_0xb3dcx12]){_0xb3dcx9[_0xb3dcx12]= _0xb3dcx3;_0xb3dcx5(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcxa,0);_0xb3dcx2= _0xb3dcx3[_0x708e[1838]][_0x708e[1853]]();for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){_0xb3dcx12= _0xb3dcx2[_0xb3dcx4],this[_0x708e[1758]](_0xb3dcx3,_0xb3dcx12[_0x708e[772]],_0xb3dcx12,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa+ 1)}}else {_0xb3dcx5(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcxa,1)}}};mxGraphHierarchyModel[_0x708e[202]][_0x708e[1855]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13){if(null!= _0xb3dcx3){if(null!= _0xb3dcx2&& (null== _0xb3dcx3[_0x708e[1839]]|| _0xb3dcx3[_0x708e[1839]][0]!= _0xb3dcx2[_0x708e[1839]][0])){_0xb3dcxa= _0xb3dcx2[_0x708e[1839]][_0x708e[67]]+ 1,_0xb3dcx3[_0x708e[1839]]= _0xb3dcx2[_0x708e[1839]][_0x708e[1853]](),_0xb3dcx3[_0x708e[1839]][_0xb3dcxa- 1]= _0xb3dcx12};_0xb3dcx12= mxCellPath[_0x708e[385]](_0xb3dcx3[_0x708e[246]]);if(null== _0xb3dcx9[_0xb3dcx12]){_0xb3dcx9[_0xb3dcx12]= _0xb3dcx3;_0xb3dcx5(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx13,0);_0xb3dcx2= _0xb3dcx3[_0x708e[1838]][_0x708e[1853]]();for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){_0xb3dcx12= _0xb3dcx2[_0xb3dcx4],this[_0x708e[1855]](_0xb3dcx3,_0xb3dcx12[_0x708e[772]],_0xb3dcx12,_0xb3dcx5,_0xb3dcx9,_0xb3dcx3[_0x708e[1839]],_0xb3dcx4,_0xb3dcx13+ 1)}}else {_0xb3dcx5(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx13,1)}}};function mxHierarchicalLayoutStage(){}mxHierarchicalLayoutStage[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){};function mxMedianHybridCrossingReduction(_0xb3dcx2){this[_0x708e[1759]]= _0xb3dcx2}mxMedianHybridCrossingReduction[_0x708e[202]]= new mxHierarchicalLayoutStage;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[196]]= mxMedianHybridCrossingReduction;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1759]]= null;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1795]]= 24;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1856]]= null;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1857]]= 0;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1858]]= 0;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1859]]= 2;mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1759]][_0x708e[502]]();this[_0x708e[1856]]= [];for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[1850]][_0x708e[67]];_0xb3dcx3++){this[_0x708e[1856]][_0xb3dcx3]= _0xb3dcx2[_0x708e[1850]][_0xb3dcx3][_0x708e[1853]]()};for(var _0xb3dcx4=0,_0xb3dcx5=this[_0x708e[1860]](_0xb3dcx2),_0xb3dcx3=0;_0xb3dcx3< this[_0x708e[1795]]&& _0xb3dcx4< this[_0x708e[1859]];_0xb3dcx3++){this[_0x708e[1861]](_0xb3dcx3,_0xb3dcx2);this[_0x708e[1862]](_0xb3dcx3,_0xb3dcx2);var _0xb3dcx9=this[_0x708e[1860]](_0xb3dcx2);if(_0xb3dcx9< _0xb3dcx5){_0xb3dcx5= _0xb3dcx9;for(_0xb3dcx9= _0xb3dcx4= 0;_0xb3dcx9< this[_0x708e[1856]][_0x708e[67]];_0xb3dcx9++){for(var _0xb3dcxa=_0xb3dcx2[_0x708e[1850]][_0xb3dcx9],_0xb3dcx12=0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){var _0xb3dcx13=_0xb3dcxa[_0xb3dcx12];this[_0x708e[1856]][_0xb3dcx9][_0xb3dcx13[_0x708e[1833]](_0xb3dcx9)]= _0xb3dcx13}}}else {_0xb3dcx4++;for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[1856]][_0x708e[67]];_0xb3dcx9++){_0xb3dcxa= _0xb3dcx2[_0x708e[1850]][_0xb3dcx9];for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcxa[_0x708e[67]];_0xb3dcx12++){_0xb3dcx13= _0xb3dcxa[_0xb3dcx12],_0xb3dcx13[_0x708e[1834]](_0xb3dcx9,_0xb3dcx12)}}};if(0== _0xb3dcx5){break}};_0xb3dcx4= [];_0xb3dcx5= [];for(_0xb3dcx3= 0;_0xb3dcx3< _0xb3dcx2[_0x708e[1827]]+ 1;_0xb3dcx3++){_0xb3dcx5[_0xb3dcx3]= [],_0xb3dcx4[_0xb3dcx3]= _0xb3dcx5[_0xb3dcx3]};for(_0xb3dcx3= 0;_0xb3dcx3< this[_0x708e[1856]][_0x708e[67]];_0xb3dcx3++){for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[1856]][_0xb3dcx3][_0x708e[67]];_0xb3dcx9++){_0xb3dcx5[_0xb3dcx3][_0x708e[207]](this[_0x708e[1856]][_0xb3dcx3][_0xb3dcx9])}};_0xb3dcx2[_0x708e[1850]]= _0xb3dcx4};mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1860]]= function(_0xb3dcx2){for(var _0xb3dcx3=_0xb3dcx2[_0x708e[1850]][_0x708e[67]],_0xb3dcx4=0,_0xb3dcx5=1;_0xb3dcx5< _0xb3dcx3;_0xb3dcx5++){_0xb3dcx4+= this[_0x708e[1863]](_0xb3dcx5,_0xb3dcx2)};return _0xb3dcx4};mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1863]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=0,_0xb3dcx5=_0xb3dcx3[_0x708e[1850]][_0xb3dcx2],_0xb3dcx9=_0xb3dcx5[_0x708e[67]],_0xb3dcxa=_0xb3dcx3[_0x708e[1850]][_0xb3dcx2- 1][_0x708e[67]],_0xb3dcx12=[],_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx9;_0xb3dcx13++){_0xb3dcx12[_0xb3dcx13]= []};for(_0xb3dcx13= 0;_0xb3dcx13< _0xb3dcx5[_0x708e[67]];_0xb3dcx13++){for(var _0xb3dcx14=_0xb3dcx5[_0xb3dcx13],_0xb3dcx15=_0xb3dcx14[_0x708e[1833]](_0xb3dcx2),_0xb3dcx16=_0xb3dcx14[_0x708e[1832]](_0xb3dcx2),_0xb3dcx14=0;_0xb3dcx14< _0xb3dcx16[_0x708e[67]];_0xb3dcx14++){var _0xb3dcx17=_0xb3dcx16[_0xb3dcx14][_0x708e[1833]](_0xb3dcx2- 1);_0xb3dcx12[_0xb3dcx15][_0xb3dcx17]= 201207}};for(_0xb3dcx13= 0;_0xb3dcx13< _0xb3dcx9;_0xb3dcx13++){for(_0xb3dcx14= 0;_0xb3dcx14< _0xb3dcxa;_0xb3dcx14++){if(201207== _0xb3dcx12[_0xb3dcx13][_0xb3dcx14]){for(_0xb3dcx5= _0xb3dcx13+ 1;_0xb3dcx5< _0xb3dcx9;_0xb3dcx5++){for(_0xb3dcx15= 0;_0xb3dcx15< _0xb3dcx14;_0xb3dcx15++){201207== _0xb3dcx12[_0xb3dcx5][_0xb3dcx15]&& _0xb3dcx4++}};for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx13;_0xb3dcx5++){for(_0xb3dcx15= _0xb3dcx14+ 1;_0xb3dcx15< _0xb3dcxa;_0xb3dcx15++){201207== _0xb3dcx12[_0xb3dcx5][_0xb3dcx15]&& _0xb3dcx4++}}}}};return _0xb3dcx4/ 2};mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1862]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=!0,_0xb3dcx5=0;_0xb3dcx4&& 10> _0xb3dcx5++;){for(var _0xb3dcx9=1== _0xb3dcx2% 2&& 1== _0xb3dcx5% 2,_0xb3dcx4=!1,_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx3[_0x708e[1850]][_0x708e[67]];_0xb3dcxa++){for(var _0xb3dcx12=_0xb3dcx3[_0x708e[1850]][_0xb3dcxa],_0xb3dcx13=[],_0xb3dcx14=0;_0xb3dcx14< _0xb3dcx12[_0x708e[67]];_0xb3dcx14++){var _0xb3dcx15=_0xb3dcx12[_0xb3dcx14],_0xb3dcx16=_0xb3dcx15[_0x708e[1833]](_0xb3dcxa);0> _0xb3dcx16&& (_0xb3dcx16= _0xb3dcx14);_0xb3dcx13[_0xb3dcx16]= _0xb3dcx15};for(var _0xb3dcx17=_0xb3dcx16= _0xb3dcx15= null,_0xb3dcx18=null,_0xb3dcx19=null,_0xb3dcx1a=null,_0xb3dcx1b=null,_0xb3dcx1c=null,_0xb3dcx1d=null,_0xb3dcx1e=null,_0xb3dcx14=0;_0xb3dcx14< _0xb3dcx12[_0x708e[67]]- 1;_0xb3dcx14++){if(0== _0xb3dcx14){for(var _0xb3dcx1d=_0xb3dcx13[_0xb3dcx14],_0xb3dcx15=_0xb3dcx1d[_0x708e[1831]](_0xb3dcxa),_0xb3dcx16=_0xb3dcx1d[_0x708e[1832]](_0xb3dcxa),_0xb3dcx19=[],_0xb3dcx1a=[],_0xb3dcx1f=0;_0xb3dcx1f< _0xb3dcx15[_0x708e[67]];_0xb3dcx1f++){_0xb3dcx19[_0xb3dcx1f]= _0xb3dcx15[_0xb3dcx1f][_0x708e[1833]](_0xb3dcxa+ 1)};for(_0xb3dcx1f= 0;_0xb3dcx1f< _0xb3dcx16[_0x708e[67]];_0xb3dcx1f++){_0xb3dcx1a[_0xb3dcx1f]= _0xb3dcx16[_0xb3dcx1f][_0x708e[1833]](_0xb3dcxa- 1)}}else {_0xb3dcx15= _0xb3dcx17,_0xb3dcx16= _0xb3dcx18,_0xb3dcx19= _0xb3dcx1b,_0xb3dcx1a= _0xb3dcx1c,_0xb3dcx1d= _0xb3dcx1e};_0xb3dcx1e= _0xb3dcx13[_0xb3dcx14+ 1];_0xb3dcx17= _0xb3dcx1e[_0x708e[1831]](_0xb3dcxa);_0xb3dcx18= _0xb3dcx1e[_0x708e[1832]](_0xb3dcxa);_0xb3dcx1b= [];_0xb3dcx1c= [];for(_0xb3dcx1f= 0;_0xb3dcx1f< _0xb3dcx17[_0x708e[67]];_0xb3dcx1f++){_0xb3dcx1b[_0xb3dcx1f]= _0xb3dcx17[_0xb3dcx1f][_0x708e[1833]](_0xb3dcxa+ 1)};for(_0xb3dcx1f= 0;_0xb3dcx1f< _0xb3dcx18[_0x708e[67]];_0xb3dcx1f++){_0xb3dcx1c[_0xb3dcx1f]= _0xb3dcx18[_0xb3dcx1f][_0x708e[1833]](_0xb3dcxa- 1)};for(var _0xb3dcx20=0,_0xb3dcx62=0,_0xb3dcx1f=0;_0xb3dcx1f< _0xb3dcx19[_0x708e[67]];_0xb3dcx1f++){for(var _0xb3dcx63=0;_0xb3dcx63< _0xb3dcx1b[_0x708e[67]];_0xb3dcx63++){_0xb3dcx19[_0xb3dcx1f]> _0xb3dcx1b[_0xb3dcx63]&& _0xb3dcx20++,_0xb3dcx19[_0xb3dcx1f]< _0xb3dcx1b[_0xb3dcx63]&& _0xb3dcx62++}};for(_0xb3dcx1f= 0;_0xb3dcx1f< _0xb3dcx1a[_0x708e[67]];_0xb3dcx1f++){for(_0xb3dcx63= 0;_0xb3dcx63< _0xb3dcx1c[_0x708e[67]];_0xb3dcx63++){_0xb3dcx1a[_0xb3dcx1f]> _0xb3dcx1c[_0xb3dcx63]&& _0xb3dcx20++,_0xb3dcx1a[_0xb3dcx1f]< _0xb3dcx1c[_0xb3dcx63]&& _0xb3dcx62++}};if(_0xb3dcx62< _0xb3dcx20|| _0xb3dcx62== _0xb3dcx20&& _0xb3dcx9){_0xb3dcx17= _0xb3dcx1d[_0x708e[1833]](_0xb3dcxa),_0xb3dcx1d[_0x708e[1834]](_0xb3dcxa,_0xb3dcx1e[_0x708e[1833]](_0xb3dcxa)),_0xb3dcx1e[_0x708e[1834]](_0xb3dcxa,_0xb3dcx17),_0xb3dcx17= _0xb3dcx15,_0xb3dcx18= _0xb3dcx16,_0xb3dcx1b= _0xb3dcx19,_0xb3dcx1c= _0xb3dcx1a,_0xb3dcx1e= _0xb3dcx1d,_0xb3dcx9|| (_0xb3dcx4= !0)}}}}};mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1861]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=0== _0xb3dcx2% 2;if(_0xb3dcx4){for(var _0xb3dcx5=_0xb3dcx3[_0x708e[1827]]- 1;0<= _0xb3dcx5;_0xb3dcx5--){this[_0x708e[1864]](_0xb3dcx5,_0xb3dcx4)}}else {for(_0xb3dcx5= 1;_0xb3dcx5< _0xb3dcx3[_0x708e[1827]];_0xb3dcx5++){this[_0x708e[1864]](_0xb3dcx5,_0xb3dcx4)}}};mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1864]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=this[_0x708e[1856]][_0xb3dcx2][_0x708e[67]],_0xb3dcx5=[],_0xb3dcx9=[],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx4;_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[1856]][_0xb3dcx2][_0xb3dcxa],_0xb3dcx13= new MedianCellSorter;_0xb3dcx13[_0x708e[246]]= _0xb3dcx12;var _0xb3dcx14;_0xb3dcx14= _0xb3dcx3?_0xb3dcx12[_0x708e[1831]](_0xb3dcx2):_0xb3dcx12[_0x708e[1832]](_0xb3dcx2);var _0xb3dcx15;_0xb3dcx15= _0xb3dcx3?_0xb3dcx2+ 1:_0xb3dcx2- 1;null!= _0xb3dcx14&& 0!= _0xb3dcx14[_0x708e[67]]?(_0xb3dcx13[_0x708e[1865]]= this[_0x708e[1865]](_0xb3dcx14,_0xb3dcx15),_0xb3dcx5[_0x708e[207]](_0xb3dcx13)):_0xb3dcx9[_0xb3dcx12[_0x708e[1833]](_0xb3dcx2)]= !0};_0xb3dcx5[_0x708e[470]](MedianCellSorter[_0x708e[202]][_0x708e[469]]);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx4;_0xb3dcxa++){null== _0xb3dcx9[_0xb3dcxa]&& (_0xb3dcx12= _0xb3dcx5[_0x708e[1115]]()[_0x708e[246]],_0xb3dcx12[_0x708e[1834]](_0xb3dcx2,_0xb3dcxa))}};mxMedianHybridCrossingReduction[_0x708e[202]][_0x708e[1865]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=[],_0xb3dcx5=0,_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx2[_0xb3dcx9];_0xb3dcx4[_0xb3dcx5++]= _0xb3dcxa[_0x708e[1833]](_0xb3dcx3)};_0xb3dcx4[_0x708e[470]](function(_0xb3dcx2,_0xb3dcx3){return _0xb3dcx2- _0xb3dcx3});if(1== _0xb3dcx5% 2){return _0xb3dcx4[Math[_0x708e[519]](_0xb3dcx5/ 2)]};if(2== _0xb3dcx5){return (_0xb3dcx4[0]+ _0xb3dcx4[1])/ 2};_0xb3dcx9= _0xb3dcx5/ 2;_0xb3dcxa= _0xb3dcx4[_0xb3dcx9- 1]- _0xb3dcx4[0];_0xb3dcx5= _0xb3dcx4[_0xb3dcx5- 1]- _0xb3dcx4[_0xb3dcx9];return (_0xb3dcx4[_0xb3dcx9- 1]* _0xb3dcx5+ _0xb3dcx4[_0xb3dcx9]* _0xb3dcxa)/ (_0xb3dcxa+ _0xb3dcx5)};function MedianCellSorter(){}MedianCellSorter[_0x708e[202]][_0x708e[1865]]= 0;MedianCellSorter[_0x708e[202]][_0x708e[246]]= !1;MedianCellSorter[_0x708e[202]][_0x708e[469]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2&& null!= _0xb3dcx3?_0xb3dcx3[_0x708e[1865]]> _0xb3dcx2[_0x708e[1865]]?-1:_0xb3dcx3[_0x708e[1865]]< _0xb3dcx2[_0x708e[1865]]?1:0:0};function mxMinimumCycleRemover(_0xb3dcx2){this[_0x708e[1759]]= _0xb3dcx2}mxMinimumCycleRemover[_0x708e[202]]= new mxHierarchicalLayoutStage;mxMinimumCycleRemover[_0x708e[202]][_0x708e[196]]= mxMinimumCycleRemover;mxMinimumCycleRemover[_0x708e[202]][_0x708e[1759]]= null;mxMinimumCycleRemover[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1759]][_0x708e[502]](),_0xb3dcx4={},_0xb3dcx5=mxUtils[_0x708e[238]](_0xb3dcx3[_0x708e[1846]],null,!0),_0xb3dcx9=null;if(null!= _0xb3dcx3[_0x708e[1845]]){var _0xb3dcxa=_0xb3dcx3[_0x708e[1845]],_0xb3dcx9=[];for(_0xb3dcx2= 0;_0xb3dcx2< _0xb3dcxa[_0x708e[67]];_0xb3dcx2++){var _0xb3dcx12=mxCellPath[_0x708e[385]](_0xb3dcxa[_0xb3dcx2]);_0xb3dcx9[_0xb3dcx2]= _0xb3dcx3[_0x708e[1846]][_0xb3dcx12]}};_0xb3dcx3[_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){_0xb3dcx3[_0x708e[1720]](_0xb3dcx2)&& (_0xb3dcx9[_0x708e[1744]](),mxUtils[_0x708e[205]](_0xb3dcx9,_0xb3dcx2[_0x708e[1838]]),_0xb3dcx2[_0x708e[1837]][_0x708e[207]](_0xb3dcx9),mxUtils[_0x708e[205]](_0xb3dcx9,_0xb3dcx3[_0x708e[1837]]),_0xb3dcx3[_0x708e[1838]][_0x708e[207]](_0xb3dcx9));_0xb3dcx2= mxCellPath[_0x708e[385]](_0xb3dcx3[_0x708e[246]]);_0xb3dcx4[_0xb3dcx2]= _0xb3dcx3;delete _0xb3dcx5[_0xb3dcx2]},_0xb3dcx9,!0,null);_0xb3dcx9= null;0< _0xb3dcx5[_0x708e[1866]]&& (_0xb3dcx9= mxUtils[_0x708e[238]](_0xb3dcx5,null,!0));_0xb3dcx2= mxUtils[_0x708e[238]](_0xb3dcx4,null,!0);_0xb3dcx3[_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){_0xb3dcx3[_0x708e[1720]](_0xb3dcx2)&& (_0xb3dcx9[_0x708e[1744]](),mxUtils[_0x708e[205]](_0xb3dcx9,_0xb3dcx2[_0x708e[1838]]),_0xb3dcx3[_0x708e[1838]][_0x708e[207]](_0xb3dcx9),_0xb3dcx2[_0x708e[1837]][_0x708e[207]](_0xb3dcx9),mxUtils[_0x708e[205]](_0xb3dcx9,_0xb3dcx3[_0x708e[1837]]));_0xb3dcx2= mxCellPath[_0x708e[385]](_0xb3dcx3[_0x708e[246]]);_0xb3dcx4[_0xb3dcx2]= _0xb3dcx3;delete _0xb3dcx5[_0xb3dcx2]},_0xb3dcx5,!0,_0xb3dcx2);_0xb3dcxa= this[_0x708e[1759]][_0x708e[1703]]();if(null!= _0xb3dcx9&& 0< _0xb3dcx9[_0x708e[67]]){_0xb3dcx3= _0xb3dcx3[_0x708e[1845]];for(_0xb3dcx2= 0;_0xb3dcx2< _0xb3dcx9[_0x708e[67]];_0xb3dcx2++){_0xb3dcx12= _0xb3dcx9[_0xb3dcx2][_0x708e[246]],0== _0xb3dcxa[_0x708e[1867]](_0xb3dcx12)[_0x708e[67]]&& _0xb3dcx3[_0x708e[207]](_0xb3dcx12)}}};function mxCoordinateAssignment(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[1759]]= _0xb3dcx2;this[_0x708e[1868]]= _0xb3dcx3;this[_0x708e[1869]]= _0xb3dcx4;this[_0x708e[1870]]= _0xb3dcx5;this[_0x708e[1871]]= _0xb3dcx9;this[_0x708e[1872]]= _0xb3dcxa}var mxHierarchicalEdgeStyle={ORTHOGONAL:1,POLYLINE:2,STRAIGHT:3,CURVE:4};mxCoordinateAssignment[_0x708e[202]]= new mxHierarchicalLayoutStage;mxCoordinateAssignment[_0x708e[202]][_0x708e[196]]= mxCoordinateAssignment;mxCoordinateAssignment[_0x708e[202]][_0x708e[1759]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1868]]= 30;mxCoordinateAssignment[_0x708e[202]][_0x708e[1869]]= 100;mxCoordinateAssignment[_0x708e[202]][_0x708e[1872]]= 10;mxCoordinateAssignment[_0x708e[202]][_0x708e[1795]]= 8;mxCoordinateAssignment[_0x708e[202]][_0x708e[1751]]= 5;mxCoordinateAssignment[_0x708e[202]][_0x708e[1752]]= 2;mxCoordinateAssignment[_0x708e[202]][_0x708e[1753]]= 12;mxCoordinateAssignment[_0x708e[202]][_0x708e[1754]]= 4;mxCoordinateAssignment[_0x708e[202]][_0x708e[1873]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1870]]= mxConstants[_0x708e[1358]];mxCoordinateAssignment[_0x708e[202]][_0x708e[1871]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1874]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1875]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1876]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1877]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1878]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1879]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1880]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1881]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1882]]= !0;mxCoordinateAssignment[_0x708e[202]][_0x708e[675]]= mxHierarchicalEdgeStyle[_0x708e[1883]];mxCoordinateAssignment[_0x708e[202]][_0x708e[1884]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1885]]= null;mxCoordinateAssignment[_0x708e[202]][_0x708e[1745]]= 10;mxCoordinateAssignment[_0x708e[202]][_0x708e[1886]]= function(){var _0xb3dcx2=this[_0x708e[1759]][_0x708e[502]]();mxLog[_0x708e[539]]();mxLog[_0x708e[171]](_0x708e[1887]);for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[1850]][_0x708e[67]];_0xb3dcx3++){mxLog[_0x708e[53]](_0x708e[1888],_0xb3dcx3,_0x708e[1889]);for(var _0xb3dcx4=_0xb3dcx2[_0x708e[1850]][_0xb3dcx3],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){mxLog[_0x708e[53]](_0xb3dcx4[_0xb3dcx5][_0x708e[1833]](_0xb3dcx3),_0x708e[316])};mxLog[_0x708e[171]]()};mxLog[_0x708e[171]](_0x708e[1890])};mxCoordinateAssignment[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){this[_0x708e[1873]]= [];_0xb3dcx2= this[_0x708e[1759]][_0x708e[502]]();this[_0x708e[1875]]= 0;this[_0x708e[1891]](this[_0x708e[1759]][_0x708e[1703]](),_0xb3dcx2);this[_0x708e[1882]]&& this[_0x708e[1892]](_0xb3dcx2);var _0xb3dcx3=1E8;if(this[_0x708e[1882]]){for(var _0xb3dcx4=0;_0xb3dcx4< this[_0x708e[1795]];_0xb3dcx4++){0!= _0xb3dcx4&& (this[_0x708e[1893]](_0xb3dcx4,_0xb3dcx2),this[_0x708e[1892]](_0xb3dcx2));if(this[_0x708e[1875]]< _0xb3dcx3){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[1850]][_0x708e[67]];_0xb3dcx5++){for(var _0xb3dcx9=_0xb3dcx2[_0x708e[1850]][_0xb3dcx5],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx9[_0xb3dcxa];_0xb3dcx12[_0x708e[1835]](_0xb3dcx5,_0xb3dcx12[_0x708e[1833]](_0xb3dcx5))}};_0xb3dcx3= this[_0x708e[1875]]}else {for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx2[_0x708e[1850]][_0x708e[67]];_0xb3dcx5++){_0xb3dcx9= _0xb3dcx2[_0x708e[1850]][_0xb3dcx5];for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){_0xb3dcx12= _0xb3dcx9[_0xb3dcxa],_0xb3dcx12[_0x708e[1834]](_0xb3dcx5,_0xb3dcx12[_0x708e[730]](_0xb3dcx5))}}};this[_0x708e[1894]](this[_0x708e[1759]][_0x708e[1703]](),_0xb3dcx2);this[_0x708e[1875]]= 0}};this[_0x708e[1895]](this[_0x708e[1759]][_0x708e[1703]](),_0xb3dcx2)};mxCoordinateAssignment[_0x708e[202]][_0x708e[1892]]= function(_0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4=[],_0xb3dcx5=[],_0xb3dcx9=0;_0xb3dcx9<= _0xb3dcx2[_0x708e[1827]];_0xb3dcx9++){_0xb3dcx5[_0xb3dcx9]= _0xb3dcx2[_0x708e[1850]][_0xb3dcx9];for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx5[_0xb3dcx9][_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx5[_0xb3dcx9][_0xb3dcxa],_0xb3dcx13= new WeightedCellSorter(_0xb3dcx12,_0xb3dcx9);_0xb3dcx13[_0x708e[1785]]= _0xb3dcxa;_0xb3dcx13[_0x708e[1784]]= !0;_0xb3dcx3[_0x708e[207]](_0xb3dcx13);_0xb3dcx12= mxCellPath[_0x708e[385]](_0xb3dcx12[_0x708e[1841]]());_0xb3dcx4[_0xb3dcx12]= _0xb3dcx13}};_0xb3dcx2= 10* _0xb3dcx3[_0x708e[67]];for(_0xb3dcxa= 0;0< _0xb3dcx3[_0x708e[67]]&& _0xb3dcxa<= _0xb3dcx2;){var _0xb3dcx13=_0xb3dcx3[_0x708e[1115]](),_0xb3dcx9=_0xb3dcx13[_0x708e[246]],_0xb3dcx14=_0xb3dcx13[_0x708e[1782]],_0xb3dcx15=parseInt(_0xb3dcx13[_0x708e[1785]]),_0xb3dcx12=_0xb3dcx9[_0x708e[1831]](_0xb3dcx14),_0xb3dcx16=_0xb3dcx9[_0x708e[1832]](_0xb3dcx14),_0xb3dcx17=_0xb3dcx12[_0x708e[67]],_0xb3dcx18=_0xb3dcx16[_0x708e[67]],_0xb3dcx19=this[_0x708e[1896]](_0xb3dcx12,_0xb3dcx14+ 1),_0xb3dcx1a=this[_0x708e[1896]](_0xb3dcx16,_0xb3dcx14- 1),_0xb3dcx1b=_0xb3dcx17+ _0xb3dcx18,_0xb3dcx1c=_0xb3dcx9[_0x708e[1833]](_0xb3dcx14),_0xb3dcx1d=_0xb3dcx1c;0< _0xb3dcx1b&& (_0xb3dcx1d= (_0xb3dcx19* _0xb3dcx17+ _0xb3dcx1a* _0xb3dcx18)/ _0xb3dcx1b);_0xb3dcx17= !1;_0xb3dcx1d< _0xb3dcx1c- 1?0== _0xb3dcx15?(_0xb3dcx9[_0x708e[1834]](_0xb3dcx14,_0xb3dcx1d),_0xb3dcx17= !0):(_0xb3dcx15= _0xb3dcx5[_0xb3dcx14][_0xb3dcx15- 1],_0xb3dcx1c= _0xb3dcx15[_0x708e[1833]](_0xb3dcx14),_0xb3dcx1c= _0xb3dcx1c+ _0xb3dcx15[_0x708e[117]]/ 2+ this[_0x708e[1868]]+ _0xb3dcx9[_0x708e[117]]/ 2,_0xb3dcx1c< _0xb3dcx1d?(_0xb3dcx9[_0x708e[1834]](_0xb3dcx14,_0xb3dcx1d),_0xb3dcx17= !0):_0xb3dcx1c< _0xb3dcx9[_0x708e[1833]](_0xb3dcx14)- 1&& (_0xb3dcx9[_0x708e[1834]](_0xb3dcx14,_0xb3dcx1c),_0xb3dcx17= !0)):_0xb3dcx1d> _0xb3dcx1c+ 1&& (_0xb3dcx15== _0xb3dcx5[_0xb3dcx14][_0x708e[67]]- 1?(_0xb3dcx9[_0x708e[1834]](_0xb3dcx14,_0xb3dcx1d),_0xb3dcx17= !0):(_0xb3dcx15= _0xb3dcx5[_0xb3dcx14][_0xb3dcx15+ 1],_0xb3dcx1c= _0xb3dcx15[_0x708e[1833]](_0xb3dcx14),_0xb3dcx1c= _0xb3dcx1c- _0xb3dcx15[_0x708e[117]]/ 2- this[_0x708e[1868]]- _0xb3dcx9[_0x708e[117]]/ 2,_0xb3dcx1c> _0xb3dcx1d?(_0xb3dcx9[_0x708e[1834]](_0xb3dcx14,_0xb3dcx1d),_0xb3dcx17= !0):_0xb3dcx1c> _0xb3dcx9[_0x708e[1833]](_0xb3dcx14)+ 1&& (_0xb3dcx9[_0x708e[1834]](_0xb3dcx14,_0xb3dcx1c),_0xb3dcx17= !0)));if(_0xb3dcx17){for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx12[_0x708e[67]];_0xb3dcx9++){_0xb3dcx14= _0xb3dcx12[_0xb3dcx9],_0xb3dcx14= mxCellPath[_0x708e[385]](_0xb3dcx14[_0x708e[1841]]()),_0xb3dcx14= _0xb3dcx4[_0xb3dcx14],null!= _0xb3dcx14&& !1== _0xb3dcx14[_0x708e[1784]]&& (_0xb3dcx14[_0x708e[1784]]= !0,_0xb3dcx3[_0x708e[207]](_0xb3dcx14))};for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx16[_0x708e[67]];_0xb3dcx9++){_0xb3dcx14= _0xb3dcx16[_0xb3dcx9],_0xb3dcx14= mxCellPath[_0x708e[385]](_0xb3dcx14[_0x708e[1841]]()),_0xb3dcx14= _0xb3dcx4[_0xb3dcx14],null!= _0xb3dcx14&& !1== _0xb3dcx14[_0x708e[1784]]&& (_0xb3dcx14[_0x708e[1784]]= !0,_0xb3dcx3[_0x708e[207]](_0xb3dcx14))}};_0xb3dcx13[_0x708e[1784]]= !1;_0xb3dcxa++}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1893]]= function(_0xb3dcx2,_0xb3dcx3){if(0== _0xb3dcx2% 2){for(var _0xb3dcx4=_0xb3dcx3[_0x708e[1827]];0< _0xb3dcx4;_0xb3dcx4--){this[_0x708e[1897]](_0xb3dcx4- 1,_0xb3dcx3,_0xb3dcx4)}}else {for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx3[_0x708e[1827]]- 1;_0xb3dcx4++){this[_0x708e[1897]](_0xb3dcx4+ 1,_0xb3dcx3,_0xb3dcx4)}}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1897]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= _0xb3dcx3[_0x708e[1850]][_0xb3dcx2];for(var _0xb3dcx5=[],_0xb3dcx9=[],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx3[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx3[_0xb3dcxa];_0xb3dcx5[_0xb3dcxa]= new WeightedCellSorter;_0xb3dcx5[_0xb3dcxa][_0x708e[246]]= _0xb3dcx12;_0xb3dcx5[_0xb3dcxa][_0x708e[1785]]= _0xb3dcxa;var _0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx12[_0x708e[1841]]());_0xb3dcx9[_0xb3dcx13]= _0xb3dcx5[_0xb3dcxa];var _0xb3dcx14=null,_0xb3dcx14=_0xb3dcx4< _0xb3dcx2?_0xb3dcx12[_0x708e[1832]](_0xb3dcx2):_0xb3dcx12[_0x708e[1831]](_0xb3dcx2);_0xb3dcx5[_0xb3dcxa][_0x708e[1782]]= this[_0x708e[1898]](_0xb3dcx12,_0xb3dcx14)};_0xb3dcx5[_0x708e[470]](WeightedCellSorter[_0x708e[202]][_0x708e[469]]);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx5[_0x708e[67]];_0xb3dcxa++){_0xb3dcx13= 0;_0xb3dcx12= _0xb3dcx5[_0xb3dcxa][_0x708e[246]];_0xb3dcx13= 0;_0xb3dcx14= _0xb3dcx4< _0xb3dcx2?_0xb3dcx12[_0x708e[1832]](_0xb3dcx2)[_0x708e[1853]]():_0xb3dcx12[_0x708e[1831]](_0xb3dcx2)[_0x708e[1853]]();null!= _0xb3dcx14&& (_0xb3dcx13= _0xb3dcx14[_0x708e[67]],_0xb3dcx13= 0< _0xb3dcx13?this[_0x708e[1896]](_0xb3dcx14,_0xb3dcx4):_0xb3dcx12[_0x708e[1833]](_0xb3dcx2));for(var _0xb3dcx15=0,_0xb3dcx14=-1E8,_0xb3dcx16=_0xb3dcx5[_0xb3dcxa][_0x708e[1785]]- 1;0<= _0xb3dcx16;){var _0xb3dcx17=mxCellPath[_0x708e[385]](_0xb3dcx3[_0xb3dcx16][_0x708e[1841]]()),_0xb3dcx17=_0xb3dcx9[_0xb3dcx17];if(null!= _0xb3dcx17){var _0xb3dcx18=_0xb3dcx17[_0x708e[246]];_0xb3dcx17[_0x708e[1784]]?(_0xb3dcx14= _0xb3dcx18[_0x708e[1833]](_0xb3dcx2)+ _0xb3dcx18[_0x708e[117]]/ 2+ this[_0x708e[1868]]+ _0xb3dcx15+ _0xb3dcx12[_0x708e[117]]/ 2,_0xb3dcx16= -1):(_0xb3dcx15+= _0xb3dcx18[_0x708e[117]]+ this[_0x708e[1868]],_0xb3dcx16--)}};_0xb3dcx15= 0;_0xb3dcx18= 1E8;for(_0xb3dcx16= _0xb3dcx5[_0xb3dcxa][_0x708e[1785]]+ 1;_0xb3dcx16< _0xb3dcx5[_0x708e[67]];){if(_0xb3dcx17= mxCellPath[_0x708e[385]](_0xb3dcx3[_0xb3dcx16][_0x708e[1841]]()),_0xb3dcx17= _0xb3dcx9[_0xb3dcx17],null!= _0xb3dcx17){var _0xb3dcx19=_0xb3dcx17[_0x708e[246]];_0xb3dcx17[_0x708e[1784]]?(_0xb3dcx18= _0xb3dcx19[_0x708e[1833]](_0xb3dcx2)- _0xb3dcx19[_0x708e[117]]/ 2- this[_0x708e[1868]]- _0xb3dcx15- _0xb3dcx12[_0x708e[117]]/ 2,_0xb3dcx16= _0xb3dcx5[_0x708e[67]]):(_0xb3dcx15+= _0xb3dcx19[_0x708e[117]]+ this[_0x708e[1868]],_0xb3dcx16++)}};_0xb3dcx13>= _0xb3dcx14&& _0xb3dcx13<= _0xb3dcx18?_0xb3dcx12[_0x708e[1834]](_0xb3dcx2,_0xb3dcx13):_0xb3dcx13< _0xb3dcx14?(_0xb3dcx12[_0x708e[1834]](_0xb3dcx2,_0xb3dcx14),this[_0x708e[1875]]+= _0xb3dcx14- _0xb3dcx13):_0xb3dcx13> _0xb3dcx18&& (_0xb3dcx12[_0x708e[1834]](_0xb3dcx2,_0xb3dcx18),this[_0x708e[1875]]+= _0xb3dcx13- _0xb3dcx18);_0xb3dcx5[_0xb3dcxa][_0x708e[1784]]= !0}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1898]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=0,_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=_0xb3dcx3[_0xb3dcx5];_0xb3dcx2[_0x708e[1193]]()&& _0xb3dcx9[_0x708e[1193]]()?_0xb3dcx4++:_0xb3dcx4= _0xb3dcx2[_0x708e[250]]()&& _0xb3dcx9[_0x708e[250]]()?_0xb3dcx4+ 8:_0xb3dcx4+ 2};return _0xb3dcx4};mxCoordinateAssignment[_0x708e[202]][_0x708e[1896]]= function(_0xb3dcx2,_0xb3dcx3){if(0== _0xb3dcx2[_0x708e[67]]){return 0};for(var _0xb3dcx4=[],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){_0xb3dcx4[_0xb3dcx5]= _0xb3dcx2[_0xb3dcx5][_0x708e[1833]](_0xb3dcx3)};_0xb3dcx4[_0x708e[470]](function(_0xb3dcx2,_0xb3dcx3){return _0xb3dcx2- _0xb3dcx3});if(1== _0xb3dcx2[_0x708e[67]]% 2){return _0xb3dcx4[Math[_0x708e[519]](_0xb3dcx2[_0x708e[67]]/ 2)]};_0xb3dcx5= _0xb3dcx2[_0x708e[67]]/ 2;return (_0xb3dcx4[_0xb3dcx5- 1]+ _0xb3dcx4[_0xb3dcx5])/ 2};mxCoordinateAssignment[_0x708e[202]][_0x708e[1891]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1899]](_0xb3dcx2,_0xb3dcx3);for(var _0xb3dcx4=this[_0x708e[1876]];0<= _0xb3dcx4;_0xb3dcx4--){_0xb3dcx4< _0xb3dcx3[_0x708e[1827]]&& this[_0x708e[1900]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx3)};for(_0xb3dcx4= this[_0x708e[1876]]+ 1;_0xb3dcx4<= _0xb3dcx3[_0x708e[1827]];_0xb3dcx4++){0< _0xb3dcx4&& this[_0x708e[1900]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx3)}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1900]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= _0xb3dcx4[_0x708e[1850]][_0xb3dcx2];_0xb3dcx4= 0;for(var _0xb3dcx5=this[_0x708e[1871]]+ (this[_0x708e[1879]]- this[_0x708e[1880]][_0xb3dcx2])/ 2,_0xb3dcx9=!1,_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx3[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx3[_0xb3dcxa];if(_0xb3dcx12[_0x708e[1193]]()){var _0xb3dcx13=this[_0x708e[1759]][_0x708e[1726]](_0xb3dcx12[_0x708e[246]]);null!= _0xb3dcx13?this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1354]]?(_0xb3dcx12[_0x708e[117]]= _0xb3dcx13[_0x708e[117]],_0xb3dcx12[_0x708e[119]]= _0xb3dcx13[_0x708e[119]]):(_0xb3dcx12[_0x708e[117]]= _0xb3dcx13[_0x708e[119]],_0xb3dcx12[_0x708e[119]]= _0xb3dcx13[_0x708e[117]]):_0xb3dcx9= !0;_0xb3dcx4= Math[_0x708e[160]](_0xb3dcx4,_0xb3dcx12[_0x708e[119]])}else {_0xb3dcx12[_0x708e[250]]()&& (_0xb3dcx13= 1,null!= _0xb3dcx12[_0x708e[1842]]?_0xb3dcx13= _0xb3dcx12[_0x708e[1842]][_0x708e[67]]:mxLog[_0x708e[283]](_0x708e[1901]),_0xb3dcx12[_0x708e[117]]= (_0xb3dcx13- 1)* this[_0x708e[1872]])};_0xb3dcx5+= _0xb3dcx12[_0x708e[117]]/ 2;_0xb3dcx12[_0x708e[1835]](_0xb3dcx2,_0xb3dcx5);_0xb3dcx12[_0x708e[1834]](_0xb3dcx2,_0xb3dcx5);_0xb3dcx5+= _0xb3dcx12[_0x708e[117]]/ 2;_0xb3dcx5+= this[_0x708e[1868]]};!0== _0xb3dcx9&& mxLog[_0x708e[283]](_0x708e[1902])};mxCoordinateAssignment[_0x708e[202]][_0x708e[1899]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=-this[_0x708e[1869]],_0xb3dcx5=0;this[_0x708e[1880]]= [];this[_0x708e[1881]]= [];for(var _0xb3dcx9=_0xb3dcx3[_0x708e[1827]];0<= _0xb3dcx9;_0xb3dcx9--){for(var _0xb3dcxa=0,_0xb3dcx12=_0xb3dcx3[_0x708e[1850]][_0xb3dcx9],_0xb3dcx13=this[_0x708e[1871]],_0xb3dcx14=!1,_0xb3dcx15=0;_0xb3dcx15< _0xb3dcx12[_0x708e[67]];_0xb3dcx15++){var _0xb3dcx16=_0xb3dcx12[_0xb3dcx15];if(_0xb3dcx16[_0x708e[1193]]()){var _0xb3dcx17=this[_0x708e[1759]][_0x708e[1726]](_0xb3dcx16[_0x708e[246]]);null!= _0xb3dcx17?this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1354]]?(_0xb3dcx16[_0x708e[117]]= _0xb3dcx17[_0x708e[117]],_0xb3dcx16[_0x708e[119]]= _0xb3dcx17[_0x708e[119]]):(_0xb3dcx16[_0x708e[117]]= _0xb3dcx17[_0x708e[119]],_0xb3dcx16[_0x708e[119]]= _0xb3dcx17[_0x708e[117]]):_0xb3dcx14= !0;_0xb3dcxa= Math[_0x708e[160]](_0xb3dcxa,_0xb3dcx16[_0x708e[119]])}else {_0xb3dcx16[_0x708e[250]]()&& (_0xb3dcx17= 1,null!= _0xb3dcx16[_0x708e[1842]]?_0xb3dcx17= _0xb3dcx16[_0x708e[1842]][_0x708e[67]]:mxLog[_0x708e[283]](_0x708e[1901]),_0xb3dcx16[_0x708e[117]]= (_0xb3dcx17- 1)* this[_0x708e[1872]])};_0xb3dcx13+= _0xb3dcx16[_0x708e[117]]/ 2;_0xb3dcx16[_0x708e[1835]](_0xb3dcx9,_0xb3dcx13);_0xb3dcx16[_0x708e[1834]](_0xb3dcx9,_0xb3dcx13);_0xb3dcx13+= _0xb3dcx16[_0x708e[117]]/ 2;_0xb3dcx13+= this[_0x708e[1868]];_0xb3dcx13> this[_0x708e[1879]]&& (this[_0x708e[1879]]= _0xb3dcx13,this[_0x708e[1876]]= _0xb3dcx9);this[_0x708e[1880]][_0xb3dcx9]= _0xb3dcx13};!0== _0xb3dcx14&& mxLog[_0x708e[283]](_0x708e[1902]);this[_0x708e[1881]][_0xb3dcx9]= _0xb3dcx4;_0xb3dcx13= _0xb3dcxa/ 2+ _0xb3dcx5/ 2+ this[_0x708e[1869]];_0xb3dcx5= _0xb3dcxa;_0xb3dcx4= this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1359]]?_0xb3dcx4+ _0xb3dcx13:_0xb3dcx4- _0xb3dcx13;for(_0xb3dcx15= 0;_0xb3dcx15< _0xb3dcx12[_0x708e[67]];_0xb3dcx15++){_0xb3dcx12[_0xb3dcx15][_0x708e[1836]](_0xb3dcx9,_0xb3dcx4)}}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1894]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx3[_0x708e[1847]],_0xb3dcx5;for(_0xb3dcx5 in _0xb3dcx4){var _0xb3dcx9=_0xb3dcx4[_0xb3dcx5];if(!(1> _0xb3dcx9[_0x708e[1827]]- _0xb3dcx9[_0x708e[1828]]- 1)){for(var _0xb3dcxa=_0xb3dcx9[_0x708e[1833]](_0xb3dcx9[_0x708e[1828]]+ 1),_0xb3dcx12=!0,_0xb3dcx13=0,_0xb3dcx14=_0xb3dcx9[_0x708e[1828]]+ 2;_0xb3dcx14< _0xb3dcx9[_0x708e[1827]];_0xb3dcx14++){var _0xb3dcx15=_0xb3dcx9[_0x708e[1833]](_0xb3dcx14);_0xb3dcxa!= _0xb3dcx15?(_0xb3dcx12= !1,_0xb3dcxa= _0xb3dcx15):_0xb3dcx13++};if(!_0xb3dcx12){for(var _0xb3dcx12=_0xb3dcxa= 0,_0xb3dcx15=[],_0xb3dcx16=[],_0xb3dcx17=_0xb3dcx9[_0x708e[1833]](_0xb3dcx9[_0x708e[1828]]+ 1),_0xb3dcx14=_0xb3dcx9[_0x708e[1828]]+ 1;_0xb3dcx14< _0xb3dcx9[_0x708e[1827]]- 1;_0xb3dcx14++){var _0xb3dcx18=_0xb3dcx9[_0x708e[730]](_0xb3dcx14+ 1);_0xb3dcx17== _0xb3dcx18?(_0xb3dcx15[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 1]= _0xb3dcx17,_0xb3dcxa++):this[_0x708e[1903]](_0xb3dcx3,_0xb3dcx9,_0xb3dcx14+ 1,_0xb3dcx17)?(_0xb3dcx15[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 1]= _0xb3dcx17,_0xb3dcxa++):_0xb3dcx17= _0xb3dcx15[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 1]= _0xb3dcx18};_0xb3dcx17= _0xb3dcx9[_0x708e[730]](_0xb3dcx14);for(_0xb3dcx14= _0xb3dcx9[_0x708e[1827]]- 1;_0xb3dcx14> _0xb3dcx9[_0x708e[1828]]+ 1;_0xb3dcx14--){_0xb3dcx18= _0xb3dcx9[_0x708e[730]](_0xb3dcx14- 1),_0xb3dcx17== _0xb3dcx18?(_0xb3dcx16[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 2]= _0xb3dcx17,_0xb3dcx12++):this[_0x708e[1903]](_0xb3dcx3,_0xb3dcx9,_0xb3dcx14- 1,_0xb3dcx17)?(_0xb3dcx16[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 2]= _0xb3dcx17,_0xb3dcx12++):(_0xb3dcx16[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 2]= _0xb3dcx9[_0x708e[730]](_0xb3dcx14- 1),_0xb3dcx17= _0xb3dcx18)};if(_0xb3dcx12> _0xb3dcx13|| _0xb3dcxa> _0xb3dcx13){if(_0xb3dcx12>= _0xb3dcxa){for(_0xb3dcx14= _0xb3dcx9[_0x708e[1827]]- 2;_0xb3dcx14> _0xb3dcx9[_0x708e[1828]];_0xb3dcx14--){_0xb3dcx9[_0x708e[1835]](_0xb3dcx14,_0xb3dcx16[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 1])}}else {if(_0xb3dcxa> _0xb3dcx12){for(_0xb3dcx14= _0xb3dcx9[_0x708e[1828]]+ 2;_0xb3dcx14< _0xb3dcx9[_0x708e[1827]];_0xb3dcx14++){_0xb3dcx9[_0x708e[1835]](_0xb3dcx14,_0xb3dcx15[_0xb3dcx14- _0xb3dcx9[_0x708e[1828]]- 2])}}}}}}}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1903]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2= _0xb3dcx2[_0x708e[1850]][_0xb3dcx4];for(var _0xb3dcx9=-1,_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2[_0x708e[67]];_0xb3dcxa++){if(_0xb3dcx3== _0xb3dcx2[_0xb3dcxa]){_0xb3dcx9= _0xb3dcxa;break}};if(0> _0xb3dcx9){return !1};_0xb3dcxa= _0xb3dcx3[_0x708e[1833]](_0xb3dcx4);if(_0xb3dcx5< _0xb3dcxa){if(0== _0xb3dcx9){return !0};_0xb3dcx2= _0xb3dcx2[_0xb3dcx9- 1];_0xb3dcx4= _0xb3dcx2[_0x708e[1833]](_0xb3dcx4);_0xb3dcx4= _0xb3dcx4+ _0xb3dcx2[_0x708e[117]]/ 2+ this[_0x708e[1868]]+ _0xb3dcx3[_0x708e[117]]/ 2;if(!(_0xb3dcx4<= _0xb3dcx5)){return !1}}else {if(_0xb3dcx5> _0xb3dcxa){if(_0xb3dcx9== _0xb3dcx2[_0x708e[67]]- 1){return !0};_0xb3dcx2= _0xb3dcx2[_0xb3dcx9+ 1];_0xb3dcx4= _0xb3dcx2[_0x708e[1833]](_0xb3dcx4);_0xb3dcx4= _0xb3dcx4- _0xb3dcx2[_0x708e[117]]/ 2- this[_0x708e[1868]]- _0xb3dcx3[_0x708e[117]]/ 2;if(!(_0xb3dcx4>= _0xb3dcx5)){return !1}}};return !0};mxCoordinateAssignment[_0x708e[202]][_0x708e[1895]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1877]]= [];this[_0x708e[1878]]= [];for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3[_0x708e[1850]][_0x708e[67]];_0xb3dcx4++){this[_0x708e[1877]][_0xb3dcx4]= Number[_0x708e[1904]],this[_0x708e[1878]][_0xb3dcx4]= 0};_0xb3dcx4= null;this[_0x708e[1759]][_0x708e[1735]]&& (_0xb3dcx4= {});var _0xb3dcx5=_0xb3dcx3[_0x708e[1847]],_0xb3dcx9=_0xb3dcx3[_0x708e[1846]],_0xb3dcxa;for(_0xb3dcxa in _0xb3dcx9){var _0xb3dcx12=_0xb3dcx9[_0xb3dcxa];this[_0x708e[1725]](_0xb3dcx12);if(this[_0x708e[1759]][_0x708e[1735]]){var _0xb3dcx12=_0xb3dcx2[_0x708e[251]][_0x708e[1197]](_0xb3dcx12[_0x708e[246]]),_0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx12);null== _0xb3dcx4[_0xb3dcx13]&& (_0xb3dcx4[_0xb3dcx13]= _0xb3dcx12)}};this[_0x708e[1759]][_0x708e[1735]]&& null!= _0xb3dcx4&& this[_0x708e[1763]](_0xb3dcx4);(this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1905]]|| this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1883]]|| this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1906]])&& this[_0x708e[1764]](_0xb3dcx3);for(_0xb3dcxa in _0xb3dcx5){this[_0x708e[1907]](_0xb3dcx5[_0xb3dcxa])}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1763]]= function(_0xb3dcx2){var _0xb3dcx3=[],_0xb3dcx4;for(_0xb3dcx4 in _0xb3dcx2){_0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx4])};this[_0x708e[1759]][_0x708e[1727]](mxUtils[_0x708e[1779]](_0xb3dcx3,!0),this[_0x708e[1745]])};mxCoordinateAssignment[_0x708e[202]][_0x708e[1764]]= function(_0xb3dcx2){for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[1850]][_0x708e[67]];_0xb3dcx3++){for(var _0xb3dcx4=_0xb3dcx2[_0x708e[1850]][_0xb3dcx3],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=_0xb3dcx4[_0xb3dcx5];if(_0xb3dcx9[_0x708e[1193]]()){for(var _0xb3dcxa=_0xb3dcx9[_0x708e[1832]](_0xb3dcx3),_0xb3dcx12=_0xb3dcx3- 1,_0xb3dcx13=0;2> _0xb3dcx13;_0xb3dcx13++){if(-1< _0xb3dcx12&& _0xb3dcx12< _0xb3dcx2[_0x708e[1850]][_0x708e[67]]&& null!= _0xb3dcxa&& 0< _0xb3dcxa[_0x708e[67]]){for(var _0xb3dcx14=[],_0xb3dcx15=0;_0xb3dcx15< _0xb3dcxa[_0x708e[67]];_0xb3dcx15++){var _0xb3dcx16= new WeightedCellSorter(_0xb3dcxa[_0xb3dcx15],_0xb3dcxa[_0xb3dcx15][_0x708e[730]](_0xb3dcx12));_0xb3dcx14[_0x708e[207]](_0xb3dcx16)};_0xb3dcx14[_0x708e[470]](WeightedCellSorter[_0x708e[202]][_0x708e[469]]);for(var _0xb3dcx16=_0xb3dcx9[_0x708e[235]][0]- _0xb3dcx9[_0x708e[117]]/ 2,_0xb3dcx17=_0xb3dcx16+ _0xb3dcx9[_0x708e[117]],_0xb3dcx18=_0xb3dcxa= 0,_0xb3dcx12=[],_0xb3dcx15=0;_0xb3dcx15< _0xb3dcx14[_0x708e[67]];_0xb3dcx15++){var _0xb3dcx19=_0xb3dcx14[_0xb3dcx15][_0x708e[246]],_0xb3dcx1a;if(_0xb3dcx19[_0x708e[1193]]()){_0xb3dcx1a= 0== _0xb3dcx13?_0xb3dcx9[_0x708e[1838]]:_0xb3dcx9[_0x708e[1837]];for(var _0xb3dcx1b=0;_0xb3dcx1b< _0xb3dcx1a[_0x708e[67]];_0xb3dcx1b++){if(_0xb3dcx1a[_0xb3dcx1b][_0x708e[1097]]== _0xb3dcx19|| _0xb3dcx1a[_0xb3dcx1b][_0x708e[772]]== _0xb3dcx19){_0xb3dcxa+= _0xb3dcx1a[_0xb3dcx1b][_0x708e[1842]][_0x708e[67]],_0xb3dcx18++,_0xb3dcx12[_0x708e[207]](_0xb3dcx1a[_0xb3dcx1b])}}}else {_0xb3dcxa+= _0xb3dcx19[_0x708e[1842]][_0x708e[67]],_0xb3dcx18++,_0xb3dcx12[_0x708e[207]](_0xb3dcx19)}};_0xb3dcx9[_0x708e[117]]> (_0xb3dcxa+ 1)* this[_0x708e[1751]]+ 2* this[_0x708e[1751]]&& (_0xb3dcx16+= this[_0x708e[1751]],_0xb3dcx17-= this[_0x708e[1751]]);_0xb3dcx14= (_0xb3dcx17- _0xb3dcx16)/ _0xb3dcxa;_0xb3dcx16+= _0xb3dcx14/ 2;_0xb3dcx17= this[_0x708e[1753]]- this[_0x708e[1752]];for(_0xb3dcx15= _0xb3dcx18= 0;_0xb3dcx15< _0xb3dcx12[_0x708e[67]];_0xb3dcx15++){_0xb3dcx19= _0xb3dcx12[_0xb3dcx15][_0x708e[1842]][_0x708e[67]];_0xb3dcx1b= mxCellPath[_0x708e[385]](_0xb3dcx12[_0xb3dcx15][_0x708e[1842]][0]);_0xb3dcx1a= this[_0x708e[1873]][_0xb3dcx1b];null== _0xb3dcx1a&& (_0xb3dcx1a= [],this[_0x708e[1873]][_0xb3dcx1b]= _0xb3dcx1a);_0xb3dcx15< _0xb3dcxa/ 2?_0xb3dcx17+= this[_0x708e[1752]]:_0xb3dcx15> _0xb3dcxa/ 2&& (_0xb3dcx17-= this[_0x708e[1752]]);for(_0xb3dcx1b= 0;_0xb3dcx1b< _0xb3dcx19;_0xb3dcx1b++){_0xb3dcx1a[4* _0xb3dcx1b+ 2* _0xb3dcx13]= _0xb3dcx16,_0xb3dcx16+= _0xb3dcx14,_0xb3dcx1a[4* _0xb3dcx1b+ 2* _0xb3dcx13+ 1]= _0xb3dcx17};_0xb3dcx18= Math[_0x708e[160]](_0xb3dcx18,_0xb3dcx17)}};_0xb3dcxa= _0xb3dcx9[_0x708e[1831]](_0xb3dcx3);_0xb3dcx12= _0xb3dcx3+ 1}}}}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1907]]= function(_0xb3dcx2){var _0xb3dcx3=0;if(101207!= _0xb3dcx2[_0x708e[1826]][0]){var _0xb3dcx4=_0xb3dcx2[_0x708e[1827]],_0xb3dcx5=_0xb3dcx2[_0x708e[1828]];_0xb3dcx4== _0xb3dcx5&& (_0xb3dcx4= _0xb3dcx2[_0x708e[1097]][_0x708e[1827]],_0xb3dcx5= _0xb3dcx2[_0x708e[772]][_0x708e[1828]]);for(var _0xb3dcx9=0,_0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2[_0x708e[1842]][0]),_0xb3dcxa=this[_0x708e[1873]][_0xb3dcxa],_0xb3dcx12=_0xb3dcx2[_0x708e[1843]]?_0xb3dcx2[_0x708e[772]][_0x708e[246]]:_0xb3dcx2[_0x708e[1097]][_0x708e[246]],_0xb3dcx13=this[_0x708e[1759]][_0x708e[1179]],_0xb3dcx14=0;_0xb3dcx14< _0xb3dcx2[_0x708e[1842]][_0x708e[67]];_0xb3dcx14++){var _0xb3dcx15=_0xb3dcx2[_0x708e[1842]][_0xb3dcx14],_0xb3dcx16=this[_0x708e[1759]][_0x708e[1710]](_0xb3dcx15,!0),_0xb3dcx17=_0xb3dcx13[_0x708e[251]][_0x708e[1709]](_0xb3dcx15,!0),_0xb3dcx18=[],_0xb3dcx19=_0xb3dcx2[_0x708e[1843]];_0xb3dcx16!= _0xb3dcx12&& (_0xb3dcx19= !_0xb3dcx19);if(null!= _0xb3dcxa){var _0xb3dcx1a=_0xb3dcx19?2:0,_0xb3dcx1b=_0xb3dcx19?this[_0x708e[1877]][_0xb3dcx5]:this[_0x708e[1878]][_0xb3dcx4],_0xb3dcx1c=_0xb3dcxa[4* _0xb3dcx9+ 1+ _0xb3dcx1a];_0xb3dcx19&& (_0xb3dcx1c= -_0xb3dcx1c);_0xb3dcx1b+= _0xb3dcx1c;_0xb3dcx1a= _0xb3dcxa[4* _0xb3dcx9+ _0xb3dcx1a];_0xb3dcx17= _0xb3dcx13[_0x708e[251]][_0x708e[1709]](_0xb3dcx15,!0);this[_0x708e[1759]][_0x708e[1908]](_0xb3dcx17)&& _0xb3dcx13[_0x708e[251]][_0x708e[1197]](_0xb3dcx17)== _0xb3dcx16&& (_0xb3dcx1a= _0xb3dcx13[_0x708e[441]][_0x708e[248]](_0xb3dcx17),_0xb3dcx1a= null!= _0xb3dcx1a?_0xb3dcx1a[_0x708e[235]]:_0xb3dcx16[_0x708e[256]][_0x708e[235]]+ _0xb3dcx2[_0x708e[1097]][_0x708e[117]]* _0xb3dcx17[_0x708e[256]][_0x708e[235]]);this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1354]]?(_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1a,_0xb3dcx1b)),this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1906]]&& _0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1a,_0xb3dcx1b+ _0xb3dcx1c))):(_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1b,_0xb3dcx1a)),this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1906]]&& _0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1b+ _0xb3dcx1c,_0xb3dcx1a)))};_0xb3dcx1a= _0xb3dcx2[_0x708e[235]][_0x708e[67]]- 1;_0xb3dcx1b= _0xb3dcx1c= -1;_0xb3dcx16= _0xb3dcx2[_0x708e[1827]]- 1;_0xb3dcx19&& (_0xb3dcx1a= 0,_0xb3dcx1c= _0xb3dcx2[_0x708e[235]][_0x708e[67]],_0xb3dcx1b= 1,_0xb3dcx16= _0xb3dcx2[_0x708e[1828]]+ 1);for(;_0xb3dcx2[_0x708e[1827]]!= _0xb3dcx2[_0x708e[1828]]&& _0xb3dcx1a!= _0xb3dcx1c;_0xb3dcx1a+= _0xb3dcx1b){var _0xb3dcx17=_0xb3dcx2[_0x708e[235]][_0xb3dcx1a]+ _0xb3dcx3,_0xb3dcx1d=(this[_0x708e[1877]][_0xb3dcx16]+ this[_0x708e[1878]][_0xb3dcx16+ 1])/ 2,_0xb3dcx1e=(this[_0x708e[1877]][_0xb3dcx16- 1]+ this[_0x708e[1878]][_0xb3dcx16])/ 2;if(_0xb3dcx19){var _0xb3dcx1f=_0xb3dcx1d,_0xb3dcx1d=_0xb3dcx1e,_0xb3dcx1e=_0xb3dcx1f};this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1354]]?(_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx17,_0xb3dcx1d)),_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx17,_0xb3dcx1e))):(_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1d,_0xb3dcx17)),_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1e,_0xb3dcx17)));this[_0x708e[1874]]= Math[_0x708e[160]](this[_0x708e[1874]],_0xb3dcx17);_0xb3dcx16+= _0xb3dcx1b};null!= _0xb3dcxa&& (_0xb3dcx1a= _0xb3dcx19?2:0,_0xb3dcx1b= _0xb3dcx19?this[_0x708e[1878]][_0xb3dcx4]:this[_0x708e[1877]][_0xb3dcx5],_0xb3dcx1c= _0xb3dcxa[4* _0xb3dcx9+ 3- _0xb3dcx1a],_0xb3dcx19&& (_0xb3dcx1c= -_0xb3dcx1c),_0xb3dcx1b-= _0xb3dcx1c,_0xb3dcx1a= _0xb3dcxa[4* _0xb3dcx9+ 2- _0xb3dcx1a],_0xb3dcx19= _0xb3dcx13[_0x708e[251]][_0x708e[1709]](_0xb3dcx15,!1),_0xb3dcx16= this[_0x708e[1759]][_0x708e[1710]](_0xb3dcx15,!1),this[_0x708e[1759]][_0x708e[1908]](_0xb3dcx19)&& _0xb3dcx13[_0x708e[251]][_0x708e[1197]](_0xb3dcx19)== _0xb3dcx16&& (_0xb3dcx1a= _0xb3dcx13[_0x708e[441]][_0x708e[248]](_0xb3dcx19),_0xb3dcx1a= null!= _0xb3dcx1a?_0xb3dcx1a[_0x708e[235]]:_0xb3dcx16[_0x708e[256]][_0x708e[235]]+ _0xb3dcx2[_0x708e[772]][_0x708e[117]]* _0xb3dcx19[_0x708e[256]][_0x708e[235]]),this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1354]]?(this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1906]]&& _0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1a,_0xb3dcx1b- _0xb3dcx1c)),_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1a,_0xb3dcx1b))):(this[_0x708e[675]]== mxHierarchicalEdgeStyle[_0x708e[1906]]&& _0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1b- _0xb3dcx1c,_0xb3dcx1a)),_0xb3dcx18[_0x708e[207]]( new mxPoint(_0xb3dcx1b,_0xb3dcx1a))));_0xb3dcx2[_0x708e[1843]]&& this[_0x708e[1909]](_0xb3dcx2,_0xb3dcx15);this[_0x708e[1759]][_0x708e[1722]](_0xb3dcx15,_0xb3dcx18);_0xb3dcx3= 0== _0xb3dcx3?this[_0x708e[1872]]:0< _0xb3dcx3?-_0xb3dcx3:-_0xb3dcx3+ this[_0x708e[1872]];_0xb3dcx9++};_0xb3dcx2[_0x708e[1826]][0]= 101207}};mxCoordinateAssignment[_0x708e[202]][_0x708e[1725]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[246]],_0xb3dcx4=_0xb3dcx2[_0x708e[235]][0]- _0xb3dcx2[_0x708e[117]]/ 2,_0xb3dcx5=_0xb3dcx2[_0x708e[236]][0]- _0xb3dcx2[_0x708e[119]]/ 2;this[_0x708e[1877]][_0xb3dcx2[_0x708e[1828]]]= Math[_0x708e[243]](this[_0x708e[1877]][_0xb3dcx2[_0x708e[1828]]],_0xb3dcx5);this[_0x708e[1878]][_0xb3dcx2[_0x708e[1828]]]= Math[_0x708e[160]](this[_0x708e[1878]][_0xb3dcx2[_0x708e[1828]]],_0xb3dcx5+ _0xb3dcx2[_0x708e[119]]);this[_0x708e[1870]]== mxConstants[_0x708e[1358]]|| this[_0x708e[1870]]== mxConstants[_0x708e[1354]]?this[_0x708e[1759]][_0x708e[1725]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5):this[_0x708e[1759]][_0x708e[1725]](_0xb3dcx3,_0xb3dcx5,_0xb3dcx4);this[_0x708e[1874]]= Math[_0x708e[160]](this[_0x708e[1874]],_0xb3dcx4+ _0xb3dcx2[_0x708e[117]])};mxCoordinateAssignment[_0x708e[202]][_0x708e[1909]]= function(_0xb3dcx2,_0xb3dcx3){};function WeightedCellSorter(_0xb3dcx2,_0xb3dcx3){this[_0x708e[246]]= _0xb3dcx2;this[_0x708e[1782]]= _0xb3dcx3}WeightedCellSorter[_0x708e[202]][_0x708e[1782]]= 0;WeightedCellSorter[_0x708e[202]][_0x708e[1783]]= !1;WeightedCellSorter[_0x708e[202]][_0x708e[1784]]= !1;WeightedCellSorter[_0x708e[202]][_0x708e[1785]]= null;WeightedCellSorter[_0x708e[202]][_0x708e[246]]= null;WeightedCellSorter[_0x708e[202]][_0x708e[469]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2&& null!= _0xb3dcx3?_0xb3dcx3[_0x708e[1782]]> _0xb3dcx2[_0x708e[1782]]?-1:_0xb3dcx3[_0x708e[1782]]< _0xb3dcx2[_0x708e[1782]]?1:_0xb3dcx3[_0x708e[1783]]?-1:1:0};function mxHierarchicalLayout(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxGraphLayout[_0x708e[239]](this,_0xb3dcx2);this[_0x708e[1870]]= null!= _0xb3dcx3?_0xb3dcx3:mxConstants[_0x708e[1358]];this[_0x708e[1910]]= null!= _0xb3dcx4?_0xb3dcx4:!0}mxHierarchicalLayout[_0x708e[202]]= new mxGraphLayout;mxHierarchicalLayout[_0x708e[202]][_0x708e[196]]= mxHierarchicalLayout;mxHierarchicalLayout[_0x708e[202]][_0x708e[1845]]= null;mxHierarchicalLayout[_0x708e[202]][_0x708e[1735]]= !1;mxHierarchicalLayout[_0x708e[202]][_0x708e[1911]]= !1;mxHierarchicalLayout[_0x708e[202]][_0x708e[1912]]= 0;mxHierarchicalLayout[_0x708e[202]][_0x708e[1868]]= 30;mxHierarchicalLayout[_0x708e[202]][_0x708e[1869]]= 100;mxHierarchicalLayout[_0x708e[202]][_0x708e[1913]]= 60;mxHierarchicalLayout[_0x708e[202]][_0x708e[1872]]= 10;mxHierarchicalLayout[_0x708e[202]][_0x708e[1870]]= mxConstants[_0x708e[1358]];mxHierarchicalLayout[_0x708e[202]][_0x708e[1882]]= !0;mxHierarchicalLayout[_0x708e[202]][_0x708e[1844]]= !0;mxHierarchicalLayout[_0x708e[202]][_0x708e[1787]]= !0;mxHierarchicalLayout[_0x708e[202]][_0x708e[1914]]= !0;mxHierarchicalLayout[_0x708e[202]][_0x708e[251]]= null;mxHierarchicalLayout[_0x708e[202]][_0x708e[1915]]= null;mxHierarchicalLayout[_0x708e[202]][_0x708e[502]]= function(){return this[_0x708e[251]]};mxHierarchicalLayout[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1101]]= _0xb3dcx2;var _0xb3dcx4=this[_0x708e[1179]][_0x708e[251]];this[_0x708e[1915]]= {};if(!(null== _0xb3dcx3&& null== _0xb3dcx2)){if(null!= _0xb3dcx3&& null!= _0xb3dcx2){for(var _0xb3dcx5=[],_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){_0xb3dcx4[_0x708e[1720]](_0xb3dcx2,_0xb3dcx3[_0xb3dcx9])&& _0xb3dcx5[_0x708e[207]](_0xb3dcx3[_0xb3dcx9])};this[_0x708e[1845]]= _0xb3dcx5}else {this[_0x708e[1845]]= _0xb3dcx3};_0xb3dcx4[_0x708e[473]]();try{this[_0x708e[1916]](_0xb3dcx2),this[_0x708e[1735]]&& !this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx2)&& this[_0x708e[1179]][_0x708e[1917]]([_0xb3dcx2],this[_0x708e[1912]],this[_0x708e[1911]])}finally{_0xb3dcx4[_0x708e[476]]()}}};mxHierarchicalLayout[_0x708e[202]][_0x708e[1918]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=[];if(null!= _0xb3dcx2&& null!= _0xb3dcx3){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[251]],_0xb3dcx9=null,_0xb3dcxa=-1E5,_0xb3dcx12;for(_0xb3dcx12 in _0xb3dcx3){var _0xb3dcx13=_0xb3dcx3[_0xb3dcx12];if(_0xb3dcx5[_0x708e[1193]](_0xb3dcx13)&& this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx13)){for(var _0xb3dcx14=this[_0x708e[264]](_0xb3dcx13),_0xb3dcx15=0,_0xb3dcx16=0,_0xb3dcx17=0;_0xb3dcx17< _0xb3dcx14[_0x708e[67]];_0xb3dcx17++){this[_0x708e[1710]](_0xb3dcx14[_0xb3dcx17],!0)== _0xb3dcx13?_0xb3dcx15++:_0xb3dcx16++};0== _0xb3dcx16&& 0< _0xb3dcx15&& _0xb3dcx4[_0x708e[207]](_0xb3dcx13);_0xb3dcx14= _0xb3dcx15- _0xb3dcx16;_0xb3dcx14> _0xb3dcxa&& (_0xb3dcxa= _0xb3dcx14,_0xb3dcx9= _0xb3dcx13)}};0== _0xb3dcx4[_0x708e[67]]&& null!= _0xb3dcx9&& _0xb3dcx4[_0x708e[207]](_0xb3dcx9)};return _0xb3dcx4};mxHierarchicalLayout[_0x708e[202]][_0x708e[264]]= function(_0xb3dcx2){var _0xb3dcx3=mxCellPath[_0x708e[385]](_0xb3dcx2);if(null!= this[_0x708e[1915]][_0xb3dcx3]){return this[_0x708e[1915]][_0xb3dcx3]};for(var _0xb3dcx4=this[_0x708e[1179]][_0x708e[251]],_0xb3dcx5=[],_0xb3dcx9=this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx2),_0xb3dcxa=_0xb3dcx4[_0x708e[262]](_0xb3dcx2),_0xb3dcx12=0;_0xb3dcx12< _0xb3dcxa;_0xb3dcx12++){var _0xb3dcx13=_0xb3dcx4[_0x708e[263]](_0xb3dcx2,_0xb3dcx12);if(this[_0x708e[1908]](_0xb3dcx13)){_0xb3dcx5= _0xb3dcx5[_0x708e[1919]](_0xb3dcx4[_0x708e[264]](_0xb3dcx13,!0,!0))}else {if(_0xb3dcx9|| !this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx13)){_0xb3dcx5= _0xb3dcx5[_0x708e[1919]](_0xb3dcx4[_0x708e[264]](_0xb3dcx13,!0,!0))}}};_0xb3dcx5= _0xb3dcx5[_0x708e[1919]](_0xb3dcx4[_0x708e[264]](_0xb3dcx2,!0,!0));_0xb3dcx4= [];for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcx5[_0x708e[67]];_0xb3dcx12++){_0xb3dcx9= this[_0x708e[1710]](_0xb3dcx5[_0xb3dcx12],!0),_0xb3dcxa= this[_0x708e[1710]](_0xb3dcx5[_0xb3dcx12],!1),(_0xb3dcx9== _0xb3dcxa|| _0xb3dcx9!= _0xb3dcxa&& (_0xb3dcxa== _0xb3dcx2&& (null== this[_0x708e[1101]]|| this[_0x708e[1179]][_0x708e[1920]](_0xb3dcx9,this[_0x708e[1101]],this[_0x708e[1914]]))|| _0xb3dcx9== _0xb3dcx2&& (null== this[_0x708e[1101]]|| this[_0x708e[1179]][_0x708e[1920]](_0xb3dcxa,this[_0x708e[1101]],this[_0x708e[1914]]))))&& _0xb3dcx4[_0x708e[207]](_0xb3dcx5[_0xb3dcx12])};return this[_0x708e[1915]][_0xb3dcx3]= _0xb3dcx4};mxHierarchicalLayout[_0x708e[202]][_0x708e[1710]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx4=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[1710]](_0xb3dcx3):this[_0x708e[1179]][_0x708e[441]][_0x708e[1710]](_0xb3dcx2,_0xb3dcx3);this[_0x708e[1908]](_0xb3dcx4)&& (_0xb3dcx4= this[_0x708e[1179]][_0x708e[251]][_0x708e[1197]](_0xb3dcx4));return _0xb3dcx4};mxHierarchicalLayout[_0x708e[202]][_0x708e[1916]]= function(_0xb3dcx2){var _0xb3dcx3=[],_0xb3dcx4=[];if(null== this[_0x708e[1845]]&& null!= _0xb3dcx2){var _0xb3dcx5={};this[_0x708e[1921]](_0xb3dcx2,_0xb3dcx5);this[_0x708e[1845]]= [];var _0xb3dcx9=!0,_0xb3dcxa;for(_0xb3dcxa in _0xb3dcx5){if(null!= _0xb3dcx5[_0xb3dcxa]){_0xb3dcx9= !1;break}};for(;!_0xb3dcx9;){for(var _0xb3dcx12=this[_0x708e[1918]](_0xb3dcx2,_0xb3dcx5),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx12[_0x708e[67]];_0xb3dcx9++){var _0xb3dcx13=[];_0xb3dcx3[_0x708e[207]](_0xb3dcx13);this[_0x708e[1706]](_0xb3dcx12[_0xb3dcx9],!0,null,_0xb3dcx4,_0xb3dcx13,_0xb3dcx3,_0xb3dcx5)};for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx12[_0x708e[67]];_0xb3dcx9++){this[_0x708e[1845]][_0x708e[207]](_0xb3dcx12[_0xb3dcx9])};_0xb3dcx9= !0;for(_0xb3dcxa in _0xb3dcx5){if(null!= _0xb3dcx5[_0xb3dcxa]){_0xb3dcx9= !1;break}}}}else {for(_0xb3dcx9= 0;_0xb3dcx9< roots[_0x708e[67]];_0xb3dcx9++){_0xb3dcx13= [],_0xb3dcx3[_0x708e[207]](_0xb3dcx13),traverse(roots[_0x708e[203]](_0xb3dcx9),!0,null,_0xb3dcx4,_0xb3dcx13,_0xb3dcx3,null)}};for(_0xb3dcx9= _0xb3dcx4= 0;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){_0xb3dcx13= _0xb3dcx3[_0xb3dcx9];_0xb3dcx5= [];for(_0xb3dcxa in _0xb3dcx13){_0xb3dcx5[_0x708e[207]](_0xb3dcx13[_0xb3dcxa])};this[_0x708e[251]]= new mxGraphHierarchyModel(this,_0xb3dcx5,this[_0x708e[1845]],_0xb3dcx2,this[_0x708e[1844]]);this[_0x708e[1922]](_0xb3dcx2);this[_0x708e[1923]]();this[_0x708e[1924]](_0xb3dcx2);_0xb3dcx4= this[_0x708e[1925]](_0xb3dcx4,_0xb3dcx2)}};mxHierarchicalLayout[_0x708e[202]][_0x708e[1921]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[251]];_0xb3dcx4[_0x708e[1193]](_0xb3dcx2)&& (_0xb3dcx2!= this[_0x708e[1101]]&& this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx2))&& (_0xb3dcx3[mxCellPath[_0x708e[385]](_0xb3dcx2)]= _0xb3dcx2);if(this[_0x708e[1914]]|| _0xb3dcx2== this[_0x708e[1101]]&& this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx2)){for(var _0xb3dcx5=_0xb3dcx4[_0x708e[262]](_0xb3dcx2),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx4[_0x708e[263]](_0xb3dcx2,_0xb3dcx9);this[_0x708e[1908]](_0xb3dcxa)|| this[_0x708e[1921]](_0xb3dcxa,_0xb3dcx3)}}};mxHierarchicalLayout[_0x708e[202]][_0x708e[1908]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[256]][_0x708e[1500]]?!0:!1};mxHierarchicalLayout[_0x708e[202]][_0x708e[1781]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;for(var _0xb3dcx5=this[_0x708e[264]](_0xb3dcx2),_0xb3dcx9=[],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx5[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[1710]](_0xb3dcx5[_0xb3dcxa],!0),_0xb3dcx13=this[_0x708e[1710]](_0xb3dcx5[_0xb3dcxa],!1);(_0xb3dcx12== _0xb3dcx2&& _0xb3dcx13== _0xb3dcx3|| !_0xb3dcx4&& _0xb3dcx12== _0xb3dcx3&& _0xb3dcx13== _0xb3dcx2)&& _0xb3dcx9[_0x708e[207]](_0xb3dcx5[_0xb3dcxa])};return _0xb3dcx9};mxHierarchicalLayout[_0x708e[202]][_0x708e[1706]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){if(null!= _0xb3dcx2&& null!= _0xb3dcx5){var _0xb3dcx13=mxCellPath[_0x708e[385]](_0xb3dcx2);if(null== _0xb3dcx5[_0xb3dcx13]&& (null== _0xb3dcx12|| null!= _0xb3dcx12[_0xb3dcx13])){null== _0xb3dcx9[_0xb3dcx13]&& (_0xb3dcx9[_0xb3dcx13]= _0xb3dcx2);null== _0xb3dcx5[_0xb3dcx13]&& (_0xb3dcx5[_0xb3dcx13]= _0xb3dcx2);delete _0xb3dcx12[_0xb3dcx13];var _0xb3dcx14=this[_0x708e[264]](_0xb3dcx2);for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx14[_0x708e[67]];_0xb3dcx4++){if(_0xb3dcx13= this[_0x708e[1710]](_0xb3dcx14[_0xb3dcx4],!0)== _0xb3dcx2,!_0xb3dcx3|| _0xb3dcx13){_0xb3dcx13= this[_0x708e[1710]](_0xb3dcx14[_0xb3dcx4],!_0xb3dcx13),_0xb3dcx9= this[_0x708e[1706]](_0xb3dcx13,_0xb3dcx3,_0xb3dcx14[_0xb3dcx4],_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12)}}}else {if(null== _0xb3dcx9[_0xb3dcx13]){for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcxa[_0x708e[67]];_0xb3dcx4++){if(_0xb3dcx2= _0xb3dcxa[_0xb3dcx4],null!= _0xb3dcx2[_0xb3dcx13]){for(_0xb3dcx14 in _0xb3dcx9){_0xb3dcx2[_0xb3dcx14]= _0xb3dcx9[_0xb3dcx14]};_0xb3dcxa[_0x708e[1242]]();return _0xb3dcx2}}}}};return _0xb3dcx9};mxHierarchicalLayout[_0x708e[202]][_0x708e[1922]]= function(_0xb3dcx2){( new mxMinimumCycleRemover(this))[_0x708e[350]](_0xb3dcx2)};mxHierarchicalLayout[_0x708e[202]][_0x708e[1923]]= function(){this[_0x708e[251]][_0x708e[1852]]();this[_0x708e[251]][_0x708e[1854]]()};mxHierarchicalLayout[_0x708e[202]][_0x708e[1924]]= function(_0xb3dcx2){( new mxMedianHybridCrossingReduction(this))[_0x708e[350]](_0xb3dcx2)};mxHierarchicalLayout[_0x708e[202]][_0x708e[1925]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4= new mxCoordinateAssignment(this,this[_0x708e[1868]],this[_0x708e[1869]],this[_0x708e[1870]],_0xb3dcx2,this[_0x708e[1872]]);_0xb3dcx4[_0x708e[1882]]= this[_0x708e[1882]];_0xb3dcx4[_0x708e[350]](_0xb3dcx3);return _0xb3dcx4[_0x708e[1874]]+ this[_0x708e[1913]]};function mxGraphModel(_0xb3dcx2){this[_0x708e[1926]]= this[_0x708e[1096]]();null!= _0xb3dcx2?this[_0x708e[1927]](_0xb3dcx2):this[_0x708e[200]]()}mxGraphModel[_0x708e[202]]= new mxEventSource;mxGraphModel[_0x708e[202]][_0x708e[196]]= mxGraphModel;mxGraphModel[_0x708e[202]][_0x708e[813]]= null;mxGraphModel[_0x708e[202]][_0x708e[895]]= null;mxGraphModel[_0x708e[202]][_0x708e[1928]]= !0;mxGraphModel[_0x708e[202]][_0x708e[1929]]= !0;mxGraphModel[_0x708e[202]][_0x708e[1089]]= _0x708e[110];mxGraphModel[_0x708e[202]][_0x708e[1930]]= _0x708e[110];mxGraphModel[_0x708e[202]][_0x708e[1931]]= 0;mxGraphModel[_0x708e[202]][_0x708e[1926]]= null;mxGraphModel[_0x708e[202]][_0x708e[1932]]= 0;mxGraphModel[_0x708e[202]][_0x708e[1933]]= !1;mxGraphModel[_0x708e[202]][_0x708e[200]]= function(){this[_0x708e[1927]](this[_0x708e[1934]]())};mxGraphModel[_0x708e[202]][_0x708e[1935]]= function(){return this[_0x708e[1929]]};mxGraphModel[_0x708e[202]][_0x708e[1936]]= function(_0xb3dcx2){this[_0x708e[1929]]= _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[1934]]= function(){var _0xb3dcx2= new mxCell;_0xb3dcx2[_0x708e[1937]]( new mxCell);return _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[736]]= function(_0xb3dcx2){return null!= this[_0x708e[895]]?this[_0x708e[895]][_0xb3dcx2]:null};mxGraphModel[_0x708e[202]][_0x708e[1938]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null;if(null!= _0xb3dcx2){for(var _0xb3dcx4=[],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){_0xb3dcx3(_0xb3dcx2[_0xb3dcx5])&& _0xb3dcx4[_0x708e[207]](_0xb3dcx2[_0xb3dcx5])}};return _0xb3dcx4};mxGraphModel[_0x708e[202]][_0x708e[1939]]= function(_0xb3dcx2){return this[_0x708e[1921]](null,_0xb3dcx2)};mxGraphModel[_0x708e[202]][_0x708e[1921]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=[];_0xb3dcx3= _0xb3dcx3|| this[_0x708e[501]]();(null== _0xb3dcx2|| _0xb3dcx2(_0xb3dcx3))&& _0xb3dcx4[_0x708e[207]](_0xb3dcx3);for(var _0xb3dcx5=this[_0x708e[262]](_0xb3dcx3),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[263]](_0xb3dcx3,_0xb3dcx9),_0xb3dcx4=_0xb3dcx4[_0x708e[1919]](this[_0x708e[1921]](_0xb3dcx2,_0xb3dcxa))};return _0xb3dcx4};mxGraphModel[_0x708e[202]][_0x708e[501]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2|| this[_0x708e[813]];if(null!= _0xb3dcx2){for(;null!= _0xb3dcx2;){_0xb3dcx3= _0xb3dcx2,_0xb3dcx2= this[_0x708e[1197]](_0xb3dcx2)}};return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1927]]= function(_0xb3dcx2){this[_0x708e[350]]( new mxRootChange(this,_0xb3dcx2));return _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[1940]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[813]];this[_0x708e[813]]= _0xb3dcx2;this[_0x708e[1931]]= 0;this[_0x708e[895]]= null;this[_0x708e[1941]](_0xb3dcx2);return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1942]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& this[_0x708e[813]]== _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[1740]]= function(_0xb3dcx2){return this[_0x708e[1942]](this[_0x708e[1197]](_0xb3dcx2))};mxGraphModel[_0x708e[202]][_0x708e[1720]]= function(_0xb3dcx2,_0xb3dcx3){for(;null!= _0xb3dcx3&& _0xb3dcx3!= _0xb3dcx2;){_0xb3dcx3= this[_0x708e[1197]](_0xb3dcx3)};return _0xb3dcx3== _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[442]]= function(_0xb3dcx2){return this[_0x708e[1720]](this[_0x708e[813]],_0xb3dcx2)};mxGraphModel[_0x708e[202]][_0x708e[1197]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1197]]():null};mxGraphModel[_0x708e[202]][_0x708e[99]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(_0xb3dcx3!= _0xb3dcx2&& null!= _0xb3dcx2&& null!= _0xb3dcx3){null== _0xb3dcx4&& (_0xb3dcx4= this[_0x708e[262]](_0xb3dcx2));var _0xb3dcx5=_0xb3dcx2!= this[_0x708e[1197]](_0xb3dcx3);this[_0x708e[350]]( new mxChildChange(this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4));this[_0x708e[1928]]&& _0xb3dcx5&& this[_0x708e[1943]](_0xb3dcx3)};return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1941]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){null== _0xb3dcx2[_0x708e[1103]]()&& this[_0x708e[1929]]&& _0xb3dcx2[_0x708e[1945]](this[_0x708e[1944]](_0xb3dcx2));if(null!= _0xb3dcx2[_0x708e[1103]]()){var _0xb3dcx3=this[_0x708e[736]](_0xb3dcx2[_0x708e[1103]]());if(_0xb3dcx3!= _0xb3dcx2){for(;null!= _0xb3dcx3;){_0xb3dcx2[_0x708e[1945]](this[_0x708e[1944]](_0xb3dcx2)),_0xb3dcx3= this[_0x708e[736]](_0xb3dcx2[_0x708e[1103]]())};null== this[_0x708e[895]]&& (this[_0x708e[895]]= {});this[_0x708e[895]][_0xb3dcx2[_0x708e[1103]]()]= _0xb3dcx2}};mxUtils[_0x708e[1946]](_0xb3dcx2[_0x708e[1103]]())&& (this[_0x708e[1931]]= Math[_0x708e[160]](this[_0x708e[1931]],_0xb3dcx2[_0x708e[1103]]()));for(var _0xb3dcx3=this[_0x708e[262]](_0xb3dcx2),_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3;_0xb3dcx4++){this[_0x708e[1941]](this[_0x708e[263]](_0xb3dcx2,_0xb3dcx4))}}};mxGraphModel[_0x708e[202]][_0x708e[1944]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1931]];this[_0x708e[1931]]++;return this[_0x708e[1089]]+ _0xb3dcx2+ this[_0x708e[1930]]};mxGraphModel[_0x708e[202]][_0x708e[1943]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= _0xb3dcx3|| this[_0x708e[501]](_0xb3dcx2);for(var _0xb3dcx4=this[_0x708e[262]](_0xb3dcx2),_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4;_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[263]](_0xb3dcx2,_0xb3dcx5);this[_0x708e[1943]](_0xb3dcx9,_0xb3dcx3)};_0xb3dcx9= this[_0x708e[1707]](_0xb3dcx2);_0xb3dcx4= [];for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx9;_0xb3dcx5++){_0xb3dcx4[_0x708e[207]](this[_0x708e[1708]](_0xb3dcx2,_0xb3dcx5))};for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){_0xb3dcx9= _0xb3dcx4[_0xb3dcx5],this[_0x708e[1720]](_0xb3dcx3,_0xb3dcx9)&& this[_0x708e[1947]](_0xb3dcx9,_0xb3dcx3)}};mxGraphModel[_0x708e[202]][_0x708e[1947]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=this[_0x708e[1709]](_0xb3dcx2,!0),_0xb3dcx5=this[_0x708e[1709]](_0xb3dcx2,!1),_0xb3dcx9=null;null!= _0xb3dcx4&& !this[_0x708e[250]](_0xb3dcx4)&& null!= _0xb3dcx4[_0x708e[256]]&& _0xb3dcx4[_0x708e[256]][_0x708e[1500]];){_0xb3dcx4= this[_0x708e[1197]](_0xb3dcx4)};for(;null!= _0xb3dcx5&& !this[_0x708e[250]](_0xb3dcx5)&& null!= _0xb3dcx5[_0x708e[256]]&& _0xb3dcx5[_0x708e[256]][_0x708e[1500]];){_0xb3dcx5= this[_0x708e[1197]](_0xb3dcx5)};if(this[_0x708e[1720]](_0xb3dcx3,_0xb3dcx4)&& this[_0x708e[1720]](_0xb3dcx3,_0xb3dcx5)&& (_0xb3dcx9= _0xb3dcx4== _0xb3dcx5?this[_0x708e[1197]](_0xb3dcx4):this[_0x708e[1948]](_0xb3dcx4,_0xb3dcx5),null!= _0xb3dcx9&& (this[_0x708e[1197]](_0xb3dcx9)!= this[_0x708e[813]]|| this[_0x708e[1720]](_0xb3dcx9,_0xb3dcx2))&& this[_0x708e[1197]](_0xb3dcx2)!= _0xb3dcx9)){_0xb3dcx4= this[_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcx4){var _0xb3dcxa=this[_0x708e[1949]](this[_0x708e[1197]](_0xb3dcx2)),_0xb3dcx12=this[_0x708e[1949]](_0xb3dcx9),_0xb3dcx5=_0xb3dcx12[_0x708e[235]]- _0xb3dcxa[_0x708e[235]],_0xb3dcxa=_0xb3dcx12[_0x708e[236]]- _0xb3dcxa[_0x708e[236]],_0xb3dcx4=_0xb3dcx4[_0x708e[238]]();_0xb3dcx4[_0x708e[513]](-_0xb3dcx5,-_0xb3dcxa);this[_0x708e[1724]](_0xb3dcx2,_0xb3dcx4)};this[_0x708e[99]](_0xb3dcx9,_0xb3dcx2,this[_0x708e[262]](_0xb3dcx9))}};mxGraphModel[_0x708e[202]][_0x708e[1949]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2?(_0xb3dcx3= this[_0x708e[1949]](this[_0x708e[1197]](_0xb3dcx2)),this[_0x708e[250]](_0xb3dcx2)|| (_0xb3dcx2= this[_0x708e[1721]](_0xb3dcx2),null!= _0xb3dcx2&& (_0xb3dcx3[_0x708e[235]]+= _0xb3dcx2[_0x708e[235]],_0xb3dcx3[_0x708e[236]]+= _0xb3dcx2[_0x708e[236]]))):_0xb3dcx3= new mxPoint;return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1948]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& null!= _0xb3dcx3){var _0xb3dcx4=mxCellPath[_0x708e[385]](_0xb3dcx3);if(null!= _0xb3dcx4&& 0< _0xb3dcx4[_0x708e[67]]){var _0xb3dcx5=_0xb3dcx2,_0xb3dcx9=mxCellPath[_0x708e[385]](_0xb3dcx5);if(_0xb3dcx4[_0x708e[67]]< _0xb3dcx9[_0x708e[67]]){var _0xb3dcx5=_0xb3dcx3,_0xb3dcxa=_0xb3dcx9,_0xb3dcx9=_0xb3dcx4,_0xb3dcx4=_0xb3dcxa};for(;null!= _0xb3dcx5;){_0xb3dcxa= this[_0x708e[1197]](_0xb3dcx5);if(0== _0xb3dcx4[_0x708e[2]](_0xb3dcx9+ mxCellPath[_0x708e[1950]])&& null!= _0xb3dcxa){return _0xb3dcx5};_0xb3dcx9= mxCellPath[_0x708e[1951]](_0xb3dcx9);_0xb3dcx5= _0xb3dcxa}}};return null};mxGraphModel[_0x708e[202]][_0x708e[205]]= function(_0xb3dcx2){_0xb3dcx2== this[_0x708e[813]]?this[_0x708e[1927]](null):null!= this[_0x708e[1197]](_0xb3dcx2)&& this[_0x708e[350]]( new mxChildChange(this,null,_0xb3dcx2));return _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[1102]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& null!= this[_0x708e[895]]){for(var _0xb3dcx3=this[_0x708e[262]](_0xb3dcx2)- 1;0<= _0xb3dcx3;_0xb3dcx3--){this[_0x708e[1102]](this[_0x708e[263]](_0xb3dcx2,_0xb3dcx3))};null!= this[_0x708e[895]]&& null!= _0xb3dcx2[_0x708e[1103]]()&& delete this[_0x708e[895]][_0xb3dcx2[_0x708e[1103]]()]}};mxGraphModel[_0x708e[202]][_0x708e[1952]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1197]](_0xb3dcx2);null!= _0xb3dcx3?(_0xb3dcx3!= _0xb3dcx5|| _0xb3dcx5[_0x708e[1738]](_0xb3dcx2)!= _0xb3dcx4)&& _0xb3dcx3[_0x708e[1937]](_0xb3dcx2,_0xb3dcx4):null!= _0xb3dcx5&& (_0xb3dcx4= _0xb3dcx5[_0x708e[1738]](_0xb3dcx2),_0xb3dcx5[_0x708e[205]](_0xb3dcx4));!this[_0x708e[442]](_0xb3dcx5)&& null!= _0xb3dcx3?this[_0x708e[1941]](_0xb3dcx2):null== _0xb3dcx3&& this[_0x708e[1102]](_0xb3dcx2);return _0xb3dcx5};mxGraphModel[_0x708e[202]][_0x708e[262]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[262]]():0};mxGraphModel[_0x708e[202]][_0x708e[263]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[263]](_0xb3dcx3):null};mxGraphModel[_0x708e[202]][_0x708e[1953]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1954]]:null};mxGraphModel[_0x708e[202]][_0x708e[1728]]= function(_0xb3dcx2){return this[_0x708e[1955]](_0xb3dcx2,!0,!1)};mxGraphModel[_0x708e[202]][_0x708e[1956]]= function(_0xb3dcx2){return this[_0x708e[1955]](_0xb3dcx2,!1,!0)};mxGraphModel[_0x708e[202]][_0x708e[1955]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;for(var _0xb3dcx5=this[_0x708e[262]](_0xb3dcx2),_0xb3dcx9=[],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx5;_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[263]](_0xb3dcx2,_0xb3dcxa);(!_0xb3dcx4&& !_0xb3dcx3|| _0xb3dcx4&& this[_0x708e[250]](_0xb3dcx12)|| _0xb3dcx3&& this[_0x708e[1193]](_0xb3dcx12)) && _0xb3dcx9[_0x708e[207]](_0xb3dcx12)};return _0xb3dcx9};mxGraphModel[_0x708e[202]][_0x708e[1709]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1709]](_0xb3dcx3):null};mxGraphModel[_0x708e[202]][_0x708e[1957]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx3!= this[_0x708e[1709]](_0xb3dcx2,_0xb3dcx4);this[_0x708e[350]]( new mxTerminalChange(this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4));this[_0x708e[1928]]&& _0xb3dcx5&& this[_0x708e[1947]](_0xb3dcx2,this[_0x708e[501]]());return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1958]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[473]]();try{this[_0x708e[1957]](_0xb3dcx2,_0xb3dcx3,!0),this[_0x708e[1957]](_0xb3dcx2,_0xb3dcx4,!1)}finally{this[_0x708e[476]]()}};mxGraphModel[_0x708e[202]][_0x708e[1959]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1709]](_0xb3dcx2,_0xb3dcx4);null!= _0xb3dcx3?_0xb3dcx3[_0x708e[1960]](_0xb3dcx2,_0xb3dcx4):null!= _0xb3dcx5&& _0xb3dcx5[_0x708e[1961]](_0xb3dcx2,_0xb3dcx4);return _0xb3dcx5};mxGraphModel[_0x708e[202]][_0x708e[1707]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1707]]():0};mxGraphModel[_0x708e[202]][_0x708e[1708]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1708]](_0xb3dcx3):null};mxGraphModel[_0x708e[202]][_0x708e[1962]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){for(var _0xb3dcx5=0,_0xb3dcx9=this[_0x708e[1707]](_0xb3dcx2),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9;_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[1708]](_0xb3dcx2,_0xb3dcxa);_0xb3dcx12!= _0xb3dcx4&& this[_0x708e[1709]](_0xb3dcx12,_0xb3dcx3)== _0xb3dcx2&& _0xb3dcx5++};return _0xb3dcx5};mxGraphModel[_0x708e[202]][_0x708e[1756]]= function(_0xb3dcx2){return this[_0x708e[264]](_0xb3dcx2,!0,!0,!1)};mxGraphModel[_0x708e[202]][_0x708e[1867]]= function(_0xb3dcx2){return this[_0x708e[264]](_0xb3dcx2,!0,!1,!1)};mxGraphModel[_0x708e[202]][_0x708e[1963]]= function(_0xb3dcx2){return this[_0x708e[264]](_0xb3dcx2,!1,!0,!1)};mxGraphModel[_0x708e[202]][_0x708e[264]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!0;for(var _0xb3dcx9=this[_0x708e[1707]](_0xb3dcx2),_0xb3dcxa=[],_0xb3dcx12=0;_0xb3dcx12< _0xb3dcx9;_0xb3dcx12++){var _0xb3dcx13=this[_0x708e[1708]](_0xb3dcx2,_0xb3dcx12),_0xb3dcx14=this[_0x708e[1709]](_0xb3dcx13,!0),_0xb3dcx15=this[_0x708e[1709]](_0xb3dcx13,!1);(_0xb3dcx5&& _0xb3dcx14== _0xb3dcx15|| _0xb3dcx14!= _0xb3dcx15&& (_0xb3dcx3&& _0xb3dcx15== _0xb3dcx2|| _0xb3dcx4&& _0xb3dcx14== _0xb3dcx2))&& _0xb3dcxa[_0x708e[207]](_0xb3dcx13)};return _0xb3dcxa};mxGraphModel[_0x708e[202]][_0x708e[1781]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;var _0xb3dcx5=this[_0x708e[1707]](_0xb3dcx2),_0xb3dcx9=this[_0x708e[1707]](_0xb3dcx3),_0xb3dcxa=_0xb3dcx2,_0xb3dcx12=_0xb3dcx5;_0xb3dcx9< _0xb3dcx5&& (_0xb3dcx12= _0xb3dcx9,_0xb3dcxa= _0xb3dcx3);_0xb3dcx5= [];for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx12;_0xb3dcx9++){var _0xb3dcx13=this[_0x708e[1708]](_0xb3dcxa,_0xb3dcx9),_0xb3dcx14=this[_0x708e[1709]](_0xb3dcx13,!0),_0xb3dcx15=this[_0x708e[1709]](_0xb3dcx13,!1),_0xb3dcx16=_0xb3dcx15== _0xb3dcx2&& _0xb3dcx14== _0xb3dcx3;(_0xb3dcx14== _0xb3dcx2&& _0xb3dcx15== _0xb3dcx3|| !_0xb3dcx4&& _0xb3dcx16)&& _0xb3dcx5[_0x708e[207]](_0xb3dcx13)};return _0xb3dcx5};mxGraphModel[_0x708e[202]][_0x708e[1808]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!0;var _0xb3dcx9=[];if(null!= _0xb3dcx2){for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[1709]](_0xb3dcx2[_0xb3dcxa],!0),_0xb3dcx13=this[_0x708e[1709]](_0xb3dcx2[_0xb3dcxa],!1);_0xb3dcx12== _0xb3dcx3&& null!= _0xb3dcx13&& _0xb3dcx13!= _0xb3dcx3&& _0xb3dcx5?_0xb3dcx9[_0x708e[207]](_0xb3dcx13):_0xb3dcx13== _0xb3dcx3&& (null!= _0xb3dcx12&& _0xb3dcx12!= _0xb3dcx3&& _0xb3dcx4)&& _0xb3dcx9[_0x708e[207]](_0xb3dcx12)}};return _0xb3dcx9};mxGraphModel[_0x708e[202]][_0x708e[1964]]= function(_0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){for(var _0xb3dcx5=_0xb3dcx2[_0xb3dcx4],_0xb3dcx9=!0,_0xb3dcxa=this[_0x708e[1197]](_0xb3dcx5);null!= _0xb3dcxa;){if(0<= mxUtils[_0x708e[2]](_0xb3dcx2,_0xb3dcxa)){_0xb3dcx9= !1;break};_0xb3dcxa= this[_0x708e[1197]](_0xb3dcxa)};_0xb3dcx9&& _0xb3dcx3[_0x708e[207]](_0xb3dcx5)};return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1193]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1193]]():!1};mxGraphModel[_0x708e[202]][_0x708e[250]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[250]]():!1};mxGraphModel[_0x708e[202]][_0x708e[1965]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1965]]():!1};mxGraphModel[_0x708e[202]][_0x708e[433]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[433]]():null};mxGraphModel[_0x708e[202]][_0x708e[1966]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[350]]( new mxValueChange(this,_0xb3dcx2,_0xb3dcx3));return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1967]]= function(_0xb3dcx2,_0xb3dcx3){return _0xb3dcx2[_0x708e[1968]](_0xb3dcx3)};mxGraphModel[_0x708e[202]][_0x708e[1721]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1721]]():null};mxGraphModel[_0x708e[202]][_0x708e[1724]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3!= this[_0x708e[1721]](_0xb3dcx2)&& this[_0x708e[350]]( new mxGeometryChange(this,_0xb3dcx2,_0xb3dcx3));return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1969]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1721]](_0xb3dcx2);_0xb3dcx2[_0x708e[1724]](_0xb3dcx3);return _0xb3dcx4};mxGraphModel[_0x708e[202]][_0x708e[474]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[474]]():null};mxGraphModel[_0x708e[202]][_0x708e[475]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3!= this[_0x708e[474]](_0xb3dcx2)&& this[_0x708e[350]]( new mxStyleChange(this,_0xb3dcx2,_0xb3dcx3));return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1970]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[474]](_0xb3dcx2);_0xb3dcx2[_0x708e[475]](_0xb3dcx3);return _0xb3dcx4};mxGraphModel[_0x708e[202]][_0x708e[1971]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1971]]():!1};mxGraphModel[_0x708e[202]][_0x708e[1972]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3!= this[_0x708e[1971]](_0xb3dcx2)&& this[_0x708e[350]]( new mxCollapseChange(this,_0xb3dcx2,_0xb3dcx3));return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1973]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1971]](_0xb3dcx2);_0xb3dcx2[_0x708e[1972]](_0xb3dcx3);return _0xb3dcx4};mxGraphModel[_0x708e[202]][_0x708e[174]]= function(_0xb3dcx2){return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[174]]():!1};mxGraphModel[_0x708e[202]][_0x708e[175]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3!= this[_0x708e[174]](_0xb3dcx2)&& this[_0x708e[350]]( new mxVisibleChange(this,_0xb3dcx2,_0xb3dcx3));return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1974]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[174]](_0xb3dcx2);_0xb3dcx2[_0x708e[175]](_0xb3dcx3);return _0xb3dcx4};mxGraphModel[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[350]]();this[_0x708e[473]]();this[_0x708e[1926]][_0x708e[99]](_0xb3dcx2);this[_0x708e[746]]( new mxEventObject(mxEvent.EXECUTE,_0x708e[826],_0xb3dcx2));this[_0x708e[746]]( new mxEventObject(mxEvent.EXECUTED,_0x708e[826],_0xb3dcx2));this[_0x708e[476]]()};mxGraphModel[_0x708e[202]][_0x708e[473]]= function(){this[_0x708e[1932]]++;this[_0x708e[746]]( new mxEventObject(mxEvent.BEGIN_UPDATE));1== this[_0x708e[1932]]&& this[_0x708e[746]]( new mxEventObject(mxEvent.START_EDIT))};mxGraphModel[_0x708e[202]][_0x708e[476]]= function(){this[_0x708e[1932]]--;0== this[_0x708e[1932]]&& this[_0x708e[746]]( new mxEventObject(mxEvent.END_EDIT));if(!this[_0x708e[1933]]){this[_0x708e[1933]]= 0== this[_0x708e[1932]];this[_0x708e[746]]( new mxEventObject(mxEvent.END_UPDATE,_0x708e[1061],this[_0x708e[1926]]));try{if(this[_0x708e[1933]]&& !this[_0x708e[1926]][_0x708e[1107]]()){this[_0x708e[746]]( new mxEventObject(mxEvent.BEFORE_UNDO,_0x708e[1061],this[_0x708e[1926]]));var _0xb3dcx2=this[_0x708e[1926]];this[_0x708e[1926]]= this[_0x708e[1096]]();_0xb3dcx2[_0x708e[827]]();this[_0x708e[746]]( new mxEventObject(mxEvent.UNDO,_0x708e[1061],_0xb3dcx2))}}finally{this[_0x708e[1933]]= !1}}};mxGraphModel[_0x708e[202]][_0x708e[1096]]= function(){var _0xb3dcx2= new mxUndoableEdit(this,!0);_0xb3dcx2[_0x708e[827]]= function(){_0xb3dcx2[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.CHANGE,_0x708e[1061],_0xb3dcx2,_0x708e[1065],_0xb3dcx2[_0x708e[1065]]));_0xb3dcx2[_0x708e[1097]][_0x708e[746]]( new mxEventObject(mxEvent.NOTIFY,_0x708e[1061],_0xb3dcx2,_0x708e[1065],_0xb3dcx2[_0x708e[1065]]))};return _0xb3dcx2};mxGraphModel[_0x708e[202]][_0x708e[1975]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;this[_0x708e[473]]();try{var _0xb3dcx5={};this[_0x708e[1976]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5);for(var _0xb3dcx9 in _0xb3dcx5){var _0xb3dcxa=_0xb3dcx5[_0xb3dcx9],_0xb3dcx12=this[_0x708e[1709]](_0xb3dcxa,!0);null!= _0xb3dcx12&& (_0xb3dcx12= _0xb3dcx5[mxCellPath[_0x708e[385]](_0xb3dcx12)],this[_0x708e[1957]](_0xb3dcxa,_0xb3dcx12,!0));_0xb3dcx12= this[_0x708e[1709]](_0xb3dcxa,!1);null!= _0xb3dcx12&& (_0xb3dcx12= _0xb3dcx5[mxCellPath[_0x708e[385]](_0xb3dcx12)],this[_0x708e[1957]](_0xb3dcxa,_0xb3dcx12,!1))}}finally{this[_0x708e[476]]()}};mxGraphModel[_0x708e[202]][_0x708e[1976]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[473]]();try{for(var _0xb3dcx9=_0xb3dcx2[_0x708e[262]](),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9;_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx2[_0x708e[263]](_0xb3dcxa);if(_0x708e[279]== typeof _0xb3dcx12[_0x708e[1103]]){var _0xb3dcx13=_0xb3dcx12[_0x708e[1103]](),_0xb3dcx14=null!= _0xb3dcx13&& (!this[_0x708e[250]](_0xb3dcx12)|| !_0xb3dcx4)?this[_0x708e[736]](_0xb3dcx13):null;if(null== _0xb3dcx14){var _0xb3dcx15=_0xb3dcx12[_0x708e[238]]();_0xb3dcx15[_0x708e[1945]](_0xb3dcx13);_0xb3dcx15[_0x708e[1957]](_0xb3dcx12[_0x708e[1709]](!0),!0);_0xb3dcx15[_0x708e[1957]](_0xb3dcx12[_0x708e[1709]](!1),!1);_0xb3dcx14= _0xb3dcx3[_0x708e[1937]](_0xb3dcx15);this[_0x708e[1941]](_0xb3dcx14)};_0xb3dcx5[mxCellPath[_0x708e[385]](_0xb3dcx12)]= _0xb3dcx14;this[_0x708e[1976]](_0xb3dcx12,_0xb3dcx14,_0xb3dcx4,_0xb3dcx5)}}}finally{this[_0x708e[476]]()}};mxGraphModel[_0x708e[202]][_0x708e[1977]]= function(_0xb3dcx2){var _0xb3dcx3=[];if(null!= _0xb3dcx2){for(var _0xb3dcx4={},_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[1197]](_0xb3dcx2[_0xb3dcx5]);if(null!= _0xb3dcx9){var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx9);null== _0xb3dcx4[_0xb3dcxa]&& (_0xb3dcx4[_0xb3dcxa]= _0xb3dcx9,_0xb3dcx3[_0x708e[207]](_0xb3dcx9))}}};return _0xb3dcx3};mxGraphModel[_0x708e[202]][_0x708e[1978]]= function(_0xb3dcx2){return null!= _0xb3dcx2?this[_0x708e[899]]([_0xb3dcx2],!0)[0]:null};mxGraphModel[_0x708e[202]][_0x708e[899]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4={},_0xb3dcx5=[],_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){null!= _0xb3dcx2[_0xb3dcx9]?_0xb3dcx5[_0x708e[207]](this[_0x708e[1979]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx4,_0xb3dcx3)):_0xb3dcx5[_0x708e[207]](null)};for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx5[_0x708e[67]];_0xb3dcx9++){null!= _0xb3dcx5[_0xb3dcx9]&& this[_0x708e[1980]](_0xb3dcx5[_0xb3dcx9],_0xb3dcx2[_0xb3dcx9],_0xb3dcx4)};return _0xb3dcx5};mxGraphModel[_0x708e[202]][_0x708e[1979]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1981]](_0xb3dcx2);_0xb3dcx3[mxObjectIdentity[_0x708e[203]](_0xb3dcx2)]= _0xb3dcx5;if(_0xb3dcx4){_0xb3dcx4= this[_0x708e[262]](_0xb3dcx2);for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4;_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[1979]](this[_0x708e[263]](_0xb3dcx2,_0xb3dcx9),_0xb3dcx3,!0);_0xb3dcx5[_0x708e[1937]](_0xb3dcxa)}};return _0xb3dcx5};mxGraphModel[_0x708e[202]][_0x708e[1981]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[238]]()};mxGraphModel[_0x708e[202]][_0x708e[1980]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1709]](_0xb3dcx3,!0);null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcx4[mxObjectIdentity[_0x708e[203]](_0xb3dcx5)],null!= _0xb3dcx5&& _0xb3dcx5[_0x708e[1960]](_0xb3dcx2,!0));_0xb3dcx5= this[_0x708e[1709]](_0xb3dcx3,!1);null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcx4[mxObjectIdentity[_0x708e[203]](_0xb3dcx5)],null!= _0xb3dcx5&& _0xb3dcx5[_0x708e[1960]](_0xb3dcx2,!1));for(var _0xb3dcx5=this[_0x708e[262]](_0xb3dcx2),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){this[_0x708e[1980]](this[_0x708e[263]](_0xb3dcx2,_0xb3dcx9),this[_0x708e[263]](_0xb3dcx3,_0xb3dcx9),_0xb3dcx4)}};function mxRootChange(_0xb3dcx2,_0xb3dcx3){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[257]]= this[_0x708e[813]]= _0xb3dcx3}mxRootChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[813]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1940]](this[_0x708e[257]])};function mxChildChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[257]]= this[_0x708e[1101]]= _0xb3dcx3;this[_0x708e[247]]= _0xb3dcx4;this[_0x708e[1982]]= this[_0x708e[1983]]= _0xb3dcx5}mxChildChange[_0x708e[202]][_0x708e[350]]= function(){var _0xb3dcx2=this[_0x708e[251]][_0x708e[1197]](this[_0x708e[247]]),_0xb3dcx3=null!= _0xb3dcx2?_0xb3dcx2[_0x708e[1738]](this[_0x708e[247]]):0;null== this[_0x708e[257]]&& this[_0x708e[807]](this[_0x708e[247]],!1);_0xb3dcx2= this[_0x708e[251]][_0x708e[1952]](this[_0x708e[247]],this[_0x708e[257]],this[_0x708e[1982]]);null!= this[_0x708e[257]]&& this[_0x708e[807]](this[_0x708e[247]],!0);this[_0x708e[1101]]= this[_0x708e[257]];this[_0x708e[257]]= _0xb3dcx2;this[_0x708e[1983]]= this[_0x708e[1982]];this[_0x708e[1982]]= _0xb3dcx3};mxChildChange[_0x708e[202]][_0x708e[807]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;var _0xb3dcx4=_0xb3dcx2[_0x708e[1709]](!0),_0xb3dcx5=_0xb3dcx2[_0x708e[1709]](!1);null!= _0xb3dcx4&& (_0xb3dcx3?this[_0x708e[251]][_0x708e[1959]](_0xb3dcx2,_0xb3dcx4,!0):this[_0x708e[251]][_0x708e[1959]](_0xb3dcx2,null,!0));null!= _0xb3dcx5&& (_0xb3dcx3?this[_0x708e[251]][_0x708e[1959]](_0xb3dcx2,_0xb3dcx5,!1):this[_0x708e[251]][_0x708e[1959]](_0xb3dcx2,null,!1));_0xb3dcx2[_0x708e[1957]](_0xb3dcx4,!0);_0xb3dcx2[_0x708e[1957]](_0xb3dcx5,!1);_0xb3dcx4= this[_0x708e[251]][_0x708e[262]](_0xb3dcx2);for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx4;_0xb3dcx5++){this[_0x708e[807]](this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx5),_0xb3dcx3)}};function mxTerminalChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[1984]]= _0xb3dcx4;this[_0x708e[1097]]= _0xb3dcx5}mxTerminalChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[1984]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1959]](this[_0x708e[246]],this[_0x708e[257]],this[_0x708e[1097]])};function mxValueChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[131]]= _0xb3dcx4}mxValueChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[131]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1967]](this[_0x708e[246]],this[_0x708e[257]])};function mxStyleChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[124]]= _0xb3dcx4}mxStyleChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[124]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1970]](this[_0x708e[246]],this[_0x708e[257]])};function mxGeometryChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[256]]= _0xb3dcx4}mxGeometryChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[256]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1969]](this[_0x708e[246]],this[_0x708e[257]])};function mxCollapseChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[1985]]= _0xb3dcx4}mxCollapseChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[1985]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1973]](this[_0x708e[246]],this[_0x708e[257]])};function mxVisibleChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[189]]= _0xb3dcx4}mxVisibleChange[_0x708e[202]][_0x708e[350]]= function(){this[_0x708e[189]]= this[_0x708e[257]];this[_0x708e[257]]= this[_0x708e[251]][_0x708e[1974]](this[_0x708e[246]],this[_0x708e[257]])};function mxCellAttributeChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[246]]= _0xb3dcx2;this[_0x708e[1986]]= _0xb3dcx3;this[_0x708e[257]]= this[_0x708e[131]]= _0xb3dcx4}mxCellAttributeChange[_0x708e[202]][_0x708e[350]]= function(){var _0xb3dcx2=this[_0x708e[246]][_0x708e[284]](this[_0x708e[1986]]);null== this[_0x708e[257]]?this[_0x708e[246]][_0x708e[131]][_0x708e[1390]](this[_0x708e[1986]]):this[_0x708e[246]][_0x708e[57]](this[_0x708e[1986]],this[_0x708e[257]]);this[_0x708e[257]]= _0xb3dcx2};function mxCell(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[131]]= _0xb3dcx2;this[_0x708e[1724]](_0xb3dcx3);this[_0x708e[475]](_0xb3dcx4);if(null!= this[_0x708e[1987]]){this[_0x708e[1987]]()}}mxCell[_0x708e[202]][_0x708e[1363]]= null;mxCell[_0x708e[202]][_0x708e[131]]= null;mxCell[_0x708e[202]][_0x708e[256]]= null;mxCell[_0x708e[202]][_0x708e[124]]= null;mxCell[_0x708e[202]][_0x708e[1988]]= !1;mxCell[_0x708e[202]][_0x708e[1989]]= !1;mxCell[_0x708e[202]][_0x708e[1990]]= !0;mxCell[_0x708e[202]][_0x708e[189]]= !0;mxCell[_0x708e[202]][_0x708e[1985]]= !1;mxCell[_0x708e[202]][_0x708e[1101]]= null;mxCell[_0x708e[202]][_0x708e[1097]]= null;mxCell[_0x708e[202]][_0x708e[772]]= null;mxCell[_0x708e[202]][_0x708e[1954]]= null;mxCell[_0x708e[202]][_0x708e[1842]]= null;mxCell[_0x708e[202]][_0x708e[1991]]= _0x708e[1992][_0x708e[224]](_0x708e[185]);mxCell[_0x708e[202]][_0x708e[1103]]= function(){return this[_0x708e[1363]]};mxCell[_0x708e[202]][_0x708e[1945]]= function(_0xb3dcx2){this[_0x708e[1363]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[433]]= function(){return this[_0x708e[131]]};mxCell[_0x708e[202]][_0x708e[1966]]= function(_0xb3dcx2){this[_0x708e[131]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1968]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[433]]();this[_0x708e[1966]](_0xb3dcx2);return _0xb3dcx3};mxCell[_0x708e[202]][_0x708e[1721]]= function(){return this[_0x708e[256]]};mxCell[_0x708e[202]][_0x708e[1724]]= function(_0xb3dcx2){this[_0x708e[256]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[474]]= function(){return this[_0x708e[124]]};mxCell[_0x708e[202]][_0x708e[475]]= function(_0xb3dcx2){this[_0x708e[124]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1193]]= function(){return this[_0x708e[1988]]};mxCell[_0x708e[202]][_0x708e[1993]]= function(_0xb3dcx2){this[_0x708e[1988]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[250]]= function(){return this[_0x708e[1989]]};mxCell[_0x708e[202]][_0x708e[1994]]= function(_0xb3dcx2){this[_0x708e[1989]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1965]]= function(){return this[_0x708e[1990]]};mxCell[_0x708e[202]][_0x708e[1995]]= function(_0xb3dcx2){this[_0x708e[1990]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[174]]= function(){return this[_0x708e[189]]};mxCell[_0x708e[202]][_0x708e[175]]= function(_0xb3dcx2){this[_0x708e[189]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1971]]= function(){return this[_0x708e[1985]]};mxCell[_0x708e[202]][_0x708e[1972]]= function(_0xb3dcx2){this[_0x708e[1985]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1197]]= function(){return this[_0x708e[1101]]};mxCell[_0x708e[202]][_0x708e[1996]]= function(_0xb3dcx2){this[_0x708e[1101]]= _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1709]]= function(_0xb3dcx2){return _0xb3dcx2?this[_0x708e[1097]]:this[_0x708e[772]]};mxCell[_0x708e[202]][_0x708e[1957]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3?this[_0x708e[1097]]= _0xb3dcx2:this[_0x708e[772]]= _0xb3dcx2;return _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[262]]= function(){return null== this[_0x708e[1954]]?0:this[_0x708e[1954]][_0x708e[67]]};mxCell[_0x708e[202]][_0x708e[1738]]= function(_0xb3dcx2){return mxUtils[_0x708e[2]](this[_0x708e[1954]],_0xb3dcx2)};mxCell[_0x708e[202]][_0x708e[263]]= function(_0xb3dcx2){return null== this[_0x708e[1954]]?null:this[_0x708e[1954]][_0xb3dcx2]};mxCell[_0x708e[202]][_0x708e[1937]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& (null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[262]](),_0xb3dcx2[_0x708e[1197]]()== this&& _0xb3dcx3--),_0xb3dcx2[_0x708e[1997]](),_0xb3dcx2[_0x708e[1996]](this),null== this[_0x708e[1954]]?(this[_0x708e[1954]]= [],this[_0x708e[1954]][_0x708e[207]](_0xb3dcx2)):this[_0x708e[1954]][_0x708e[300]](_0xb3dcx3,0,_0xb3dcx2));return _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[205]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= this[_0x708e[1954]]&& 0<= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[263]](_0xb3dcx2),null!= _0xb3dcx3&& (this[_0x708e[1954]][_0x708e[300]](_0xb3dcx2,1),_0xb3dcx3[_0x708e[1996]](null)));return _0xb3dcx3};mxCell[_0x708e[202]][_0x708e[1997]]= function(){if(null!= this[_0x708e[1101]]){var _0xb3dcx2=this[_0x708e[1101]][_0x708e[1738]](this);this[_0x708e[1101]][_0x708e[205]](_0xb3dcx2)}};mxCell[_0x708e[202]][_0x708e[1707]]= function(){return null== this[_0x708e[1842]]?0:this[_0x708e[1842]][_0x708e[67]]};mxCell[_0x708e[202]][_0x708e[1998]]= function(_0xb3dcx2){return mxUtils[_0x708e[2]](this[_0x708e[1842]],_0xb3dcx2)};mxCell[_0x708e[202]][_0x708e[1708]]= function(_0xb3dcx2){return null== this[_0x708e[1842]]?null:this[_0x708e[1842]][_0xb3dcx2]};mxCell[_0x708e[202]][_0x708e[1960]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[1999]](_0xb3dcx3),_0xb3dcx2[_0x708e[1957]](this,_0xb3dcx3),null== this[_0x708e[1842]]|| _0xb3dcx2[_0x708e[1709]](!_0xb3dcx3) != this|| 0> mxUtils[_0x708e[2]](this[_0x708e[1842]],_0xb3dcx2))){null== this[_0x708e[1842]]&& (this[_0x708e[1842]]= []),this[_0x708e[1842]][_0x708e[207]](_0xb3dcx2)};return _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1961]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2){if(_0xb3dcx2[_0x708e[1709]](!_0xb3dcx3) != this&& null!= this[_0x708e[1842]]){var _0xb3dcx4=this[_0x708e[1998]](_0xb3dcx2);0<= _0xb3dcx4&& this[_0x708e[1842]][_0x708e[300]](_0xb3dcx4,1)};_0xb3dcx2[_0x708e[1957]](null,_0xb3dcx3)};return _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[1999]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1709]](_0xb3dcx2);null!= _0xb3dcx3&& _0xb3dcx3[_0x708e[1961]](this,_0xb3dcx2)};mxCell[_0x708e[202]][_0x708e[284]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[433]]();return (null!= _0xb3dcx4&& _0xb3dcx4[_0x708e[288]]== mxConstants[_0x708e[289]]?_0xb3dcx4[_0x708e[284]](_0xb3dcx2):null)|| _0xb3dcx3};mxCell[_0x708e[202]][_0x708e[57]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[433]]();null!= _0xb3dcx4&& _0xb3dcx4[_0x708e[288]]== mxConstants[_0x708e[289]]&& _0xb3dcx4[_0x708e[57]](_0xb3dcx2,_0xb3dcx3)};mxCell[_0x708e[202]][_0x708e[238]]= function(){var _0xb3dcx2=mxUtils[_0x708e[238]](this,this[_0x708e[1991]]);_0xb3dcx2[_0x708e[1966]](this[_0x708e[2000]]());return _0xb3dcx2};mxCell[_0x708e[202]][_0x708e[2000]]= function(){var _0xb3dcx2=this[_0x708e[433]]();null!= _0xb3dcx2&& (_0x708e[279]== typeof _0xb3dcx2[_0x708e[238]]?_0xb3dcx2= _0xb3dcx2[_0x708e[238]]():isNaN(_0xb3dcx2[_0x708e[288]])|| (_0xb3dcx2= _0xb3dcx2[_0x708e[511]](!0)));return _0xb3dcx2};function mxGeometry(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxRectangle[_0x708e[239]](this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}mxGeometry[_0x708e[202]]= new mxRectangle;mxGeometry[_0x708e[202]][_0x708e[196]]= mxGeometry;mxGeometry[_0x708e[202]][_0x708e[2001]]= !0;mxGeometry[_0x708e[202]][_0x708e[2002]]= null;mxGeometry[_0x708e[202]][_0x708e[2003]]= null;mxGeometry[_0x708e[202]][_0x708e[2004]]= null;mxGeometry[_0x708e[202]][_0x708e[1525]]= null;mxGeometry[_0x708e[202]][_0x708e[1368]]= null;mxGeometry[_0x708e[202]][_0x708e[1500]]= !1;mxGeometry[_0x708e[202]][_0x708e[2005]]= function(){if(null!= this[_0x708e[2002]]){var _0xb3dcx2= new mxRectangle(this[_0x708e[235]],this[_0x708e[236]],this[_0x708e[117]],this[_0x708e[119]]);this[_0x708e[235]]= this[_0x708e[2002]][_0x708e[235]];this[_0x708e[236]]= this[_0x708e[2002]][_0x708e[236]];this[_0x708e[117]]= this[_0x708e[2002]][_0x708e[117]];this[_0x708e[119]]= this[_0x708e[2002]][_0x708e[119]];this[_0x708e[2002]]= _0xb3dcx2}};mxGeometry[_0x708e[202]][_0x708e[2006]]= function(_0xb3dcx2){return _0xb3dcx2?this[_0x708e[2003]]:this[_0x708e[2004]]};mxGeometry[_0x708e[202]][_0x708e[2007]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3?this[_0x708e[2003]]= _0xb3dcx2:this[_0x708e[2004]]= _0xb3dcx2;return _0xb3dcx2};mxGeometry[_0x708e[202]][_0x708e[513]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[238]]();this[_0x708e[1500]]|| (this[_0x708e[235]]+= _0xb3dcx2,this[_0x708e[236]]+= _0xb3dcx3);null!= this[_0x708e[2003]]&& (this[_0x708e[2003]][_0x708e[235]]+= _0xb3dcx2,this[_0x708e[2003]][_0x708e[236]]+= _0xb3dcx3);null!= this[_0x708e[2004]]&& (this[_0x708e[2004]][_0x708e[235]]+= _0xb3dcx2,this[_0x708e[2004]][_0x708e[236]]+= _0xb3dcx3);if(this[_0x708e[2001]]&& null!= this[_0x708e[1525]]){for(var _0xb3dcx4=this[_0x708e[1525]][_0x708e[67]],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4;_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[1525]][_0xb3dcx5];null!= _0xb3dcx9&& (_0xb3dcx9[_0x708e[235]]+= _0xb3dcx2,_0xb3dcx9[_0x708e[236]]+= _0xb3dcx3)}}};var mxCellPath={PATH_SEPARATOR:_0x708e[87],create:function(_0xb3dcx2){var _0xb3dcx3=_0x708e[110];if(null!= _0xb3dcx2){for(var _0xb3dcx4=_0xb3dcx2[_0x708e[1197]]();null!= _0xb3dcx4;){_0xb3dcx3= _0xb3dcx4[_0x708e[1738]](_0xb3dcx2)+ mxCellPath[_0x708e[1950]]+ _0xb3dcx3,_0xb3dcx2= _0xb3dcx4,_0xb3dcx4= _0xb3dcx2[_0x708e[1197]]()}};_0xb3dcx2= _0xb3dcx3[_0x708e[67]];1< _0xb3dcx2&& (_0xb3dcx3= _0xb3dcx3[_0x708e[85]](0,_0xb3dcx2- 1));return _0xb3dcx3},getParentPath:function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[1122]](mxCellPath.PATH_SEPARATOR);if(0<= _0xb3dcx3){return _0xb3dcx2[_0x708e[85]](0,_0xb3dcx3)};if(0< _0xb3dcx2[_0x708e[67]]){return _0x708e[110]}};return null},resolve:function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2;if(null!= _0xb3dcx3){for(var _0xb3dcx5=_0xb3dcx3[_0x708e[224]](mxCellPath.PATH_SEPARATOR),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5[_0x708e[67]];_0xb3dcx9++){_0xb3dcx4= _0xb3dcx4[_0x708e[263]](parseInt(_0xb3dcx5[_0xb3dcx9]))}};return _0xb3dcx4},compare:function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=Math[_0x708e[243]](_0xb3dcx2[_0x708e[67]],_0xb3dcx3[_0x708e[67]]),_0xb3dcx5=0,_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4;_0xb3dcx9++){if(_0xb3dcx2[_0xb3dcx9]!= _0xb3dcx3[_0xb3dcx9]){0== _0xb3dcx2[_0xb3dcx9][_0x708e[67]]|| 0== _0xb3dcx3[_0xb3dcx9][_0x708e[67]]?_0xb3dcx5= _0xb3dcx2[_0xb3dcx9]== _0xb3dcx3[_0xb3dcx9]?0:_0xb3dcx2[_0xb3dcx9]> _0xb3dcx3[_0xb3dcx9]?1:-1:(_0xb3dcx4= parseInt(_0xb3dcx2[_0xb3dcx9]),_0xb3dcx9= parseInt(_0xb3dcx3[_0xb3dcx9]),_0xb3dcx5= _0xb3dcx4== _0xb3dcx9?0:_0xb3dcx4> _0xb3dcx9?1:-1);break}};0== _0xb3dcx5&& (_0xb3dcx4= _0xb3dcx2[_0x708e[67]],_0xb3dcx9= _0xb3dcx3[_0x708e[67]],_0xb3dcx4!= _0xb3dcx9&& (_0xb3dcx5= _0xb3dcx4> _0xb3dcx9?1:-1));return _0xb3dcx5}},mxPerimeter={RectanglePerimeter:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= _0xb3dcx2[_0x708e[241]]();var _0xb3dcx9=_0xb3dcx2[_0x708e[242]](),_0xb3dcxa=Math[_0x708e[429]](_0xb3dcx4[_0x708e[236]]- _0xb3dcx9,_0xb3dcx4[_0x708e[235]]- _0xb3dcx3),_0xb3dcx12= new mxPoint(0,0),_0xb3dcx13=Math[_0x708e[424]],_0xb3dcx14=Math[_0x708e[424]]/ 2- _0xb3dcxa,_0xb3dcx15=Math[_0x708e[429]](_0xb3dcx2[_0x708e[119]],_0xb3dcx2[_0x708e[117]]);_0xb3dcxa< -_0xb3dcx13+ _0xb3dcx15|| _0xb3dcxa> _0xb3dcx13- _0xb3dcx15?(_0xb3dcx12[_0x708e[235]]= _0xb3dcx2[_0x708e[235]],_0xb3dcx12[_0x708e[236]]= _0xb3dcx9- _0xb3dcx2[_0x708e[117]]* Math[_0x708e[2008]](_0xb3dcxa)/ 2):_0xb3dcxa< -_0xb3dcx15?(_0xb3dcx12[_0x708e[236]]= _0xb3dcx2[_0x708e[236]],_0xb3dcx12[_0x708e[235]]= _0xb3dcx3- _0xb3dcx2[_0x708e[119]]* Math[_0x708e[2008]](_0xb3dcx14)/ 2):_0xb3dcxa< _0xb3dcx15?(_0xb3dcx12[_0x708e[235]]= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]],_0xb3dcx12[_0x708e[236]]= _0xb3dcx9+ _0xb3dcx2[_0x708e[117]]* Math[_0x708e[2008]](_0xb3dcxa)/ 2):(_0xb3dcx12[_0x708e[236]]= _0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]],_0xb3dcx12[_0x708e[235]]= _0xb3dcx3+ _0xb3dcx2[_0x708e[119]]* Math[_0x708e[2008]](_0xb3dcx14)/ 2);_0xb3dcx5&& (_0xb3dcx4[_0x708e[235]]>= _0xb3dcx2[_0x708e[235]]&& _0xb3dcx4[_0x708e[235]]<= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]?_0xb3dcx12[_0x708e[235]]= _0xb3dcx4[_0x708e[235]]:_0xb3dcx4[_0x708e[236]]>= _0xb3dcx2[_0x708e[236]]&& _0xb3dcx4[_0x708e[236]]<= _0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]&& (_0xb3dcx12[_0x708e[236]]= _0xb3dcx4[_0x708e[236]]),_0xb3dcx4[_0x708e[235]]< _0xb3dcx2[_0x708e[235]]?_0xb3dcx12[_0x708e[235]]= _0xb3dcx2[_0x708e[235]]:_0xb3dcx4[_0x708e[235]]> _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]&& (_0xb3dcx12[_0x708e[235]]= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]),_0xb3dcx4[_0x708e[236]]< _0xb3dcx2[_0x708e[236]]?_0xb3dcx12[_0x708e[236]]= _0xb3dcx2[_0x708e[236]]:_0xb3dcx4[_0x708e[236]]> _0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]&& (_0xb3dcx12[_0x708e[236]]= _0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]));return _0xb3dcx12},EllipsePerimeter:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[_0x708e[235]],_0xb3dcxa=_0xb3dcx2[_0x708e[236]],_0xb3dcx12=_0xb3dcx2[_0x708e[117]]/ 2,_0xb3dcx13=_0xb3dcx2[_0x708e[119]]/ 2,_0xb3dcx14=_0xb3dcx9+ _0xb3dcx12,_0xb3dcx15=_0xb3dcxa+ _0xb3dcx13;_0xb3dcx3= _0xb3dcx4[_0x708e[235]];_0xb3dcx4= _0xb3dcx4[_0x708e[236]];var _0xb3dcx16=parseInt(_0xb3dcx3- _0xb3dcx14),_0xb3dcx17=parseInt(_0xb3dcx4- _0xb3dcx15);if(0== _0xb3dcx16&& 0!= _0xb3dcx17){return new mxPoint(_0xb3dcx14,_0xb3dcx15+ _0xb3dcx13* _0xb3dcx17/ Math[_0x708e[425]](_0xb3dcx17))};if(0== _0xb3dcx16&& 0== _0xb3dcx17){return new mxPoint(_0xb3dcx3,_0xb3dcx4)};if(_0xb3dcx5){if(_0xb3dcx4>= _0xb3dcxa&& _0xb3dcx4<= _0xb3dcxa+ _0xb3dcx2[_0x708e[119]]){return _0xb3dcx2= _0xb3dcx4- _0xb3dcx15,_0xb3dcx2= Math[_0x708e[428]](_0xb3dcx12* _0xb3dcx12* (1- _0xb3dcx2* _0xb3dcx2/ (_0xb3dcx13* _0xb3dcx13)))|| 0,_0xb3dcx3<= _0xb3dcx9&& (_0xb3dcx2= -_0xb3dcx2), new mxPoint(_0xb3dcx14+ _0xb3dcx2,_0xb3dcx4)};if(_0xb3dcx3>= _0xb3dcx9&& _0xb3dcx3<= _0xb3dcx9+ _0xb3dcx2[_0x708e[117]]){return _0xb3dcx2= _0xb3dcx3- _0xb3dcx14,_0xb3dcx2= Math[_0x708e[428]](_0xb3dcx13* _0xb3dcx13* (1- _0xb3dcx2* _0xb3dcx2/ (_0xb3dcx12* _0xb3dcx12)))|| 0,_0xb3dcx4<= _0xb3dcxa&& (_0xb3dcx2= -_0xb3dcx2), new mxPoint(_0xb3dcx3,_0xb3dcx15+ _0xb3dcx2)}};_0xb3dcx9= _0xb3dcx17/ _0xb3dcx16;_0xb3dcx15-= _0xb3dcx9* _0xb3dcx14;_0xb3dcxa= _0xb3dcx12* _0xb3dcx12* _0xb3dcx9* _0xb3dcx9+ _0xb3dcx13* _0xb3dcx13;_0xb3dcx2= -2* _0xb3dcx14* _0xb3dcxa;_0xb3dcx13= Math[_0x708e[428]](_0xb3dcx2* _0xb3dcx2- 4* _0xb3dcxa* (_0xb3dcx12* _0xb3dcx12* _0xb3dcx9* _0xb3dcx9* _0xb3dcx14* _0xb3dcx14+ _0xb3dcx13* _0xb3dcx13* _0xb3dcx14* _0xb3dcx14- _0xb3dcx12* _0xb3dcx12* _0xb3dcx13* _0xb3dcx13));_0xb3dcx12= (-_0xb3dcx2+ _0xb3dcx13) / (2* _0xb3dcxa);_0xb3dcx13= (-_0xb3dcx2- _0xb3dcx13) / (2* _0xb3dcxa);_0xb3dcx14= _0xb3dcx9* _0xb3dcx12+ _0xb3dcx15;_0xb3dcx15= _0xb3dcx9* _0xb3dcx13+ _0xb3dcx15;_0xb3dcx9= Math[_0x708e[428]](Math[_0x708e[2009]](_0xb3dcx12- _0xb3dcx3,2)+ Math[_0x708e[2009]](_0xb3dcx14- _0xb3dcx4,2));_0xb3dcx3= Math[_0x708e[428]](Math[_0x708e[2009]](_0xb3dcx13- _0xb3dcx3,2)+ Math[_0x708e[2009]](_0xb3dcx15- _0xb3dcx4,2));_0xb3dcxa= _0xb3dcx4= 0;_0xb3dcx9< _0xb3dcx3?(_0xb3dcx4= _0xb3dcx12,_0xb3dcxa= _0xb3dcx14):(_0xb3dcx4= _0xb3dcx13,_0xb3dcxa= _0xb3dcx15);return new mxPoint(_0xb3dcx4,_0xb3dcxa)},RhombusPerimeter:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= _0xb3dcx2[_0x708e[235]];var _0xb3dcx9=_0xb3dcx2[_0x708e[236]],_0xb3dcxa=_0xb3dcx2[_0x708e[117]];_0xb3dcx2= _0xb3dcx2[_0x708e[119]];var _0xb3dcx12=_0xb3dcx3+ _0xb3dcxa/ 2,_0xb3dcx13=_0xb3dcx9+ _0xb3dcx2/ 2,_0xb3dcx14=_0xb3dcx4[_0x708e[235]];_0xb3dcx4= _0xb3dcx4[_0x708e[236]];if(_0xb3dcx12== _0xb3dcx14){return _0xb3dcx13> _0xb3dcx4? new mxPoint(_0xb3dcx12,_0xb3dcx9): new mxPoint(_0xb3dcx12,_0xb3dcx9+ _0xb3dcx2)};if(_0xb3dcx13== _0xb3dcx4){return _0xb3dcx12> _0xb3dcx14? new mxPoint(_0xb3dcx3,_0xb3dcx13): new mxPoint(_0xb3dcx3+ _0xb3dcxa,_0xb3dcx13)};var _0xb3dcx15=_0xb3dcx12,_0xb3dcx16=_0xb3dcx13;_0xb3dcx5&& (_0xb3dcx14>= _0xb3dcx3&& _0xb3dcx14<= _0xb3dcx3+ _0xb3dcxa?_0xb3dcx15= _0xb3dcx14:_0xb3dcx4>= _0xb3dcx9&& _0xb3dcx4<= _0xb3dcx9+ _0xb3dcx2&& (_0xb3dcx16= _0xb3dcx4));return _0xb3dcx14< _0xb3dcx12?_0xb3dcx4< _0xb3dcx13?mxUtils[_0x708e[2010]](_0xb3dcx14,_0xb3dcx4,_0xb3dcx15,_0xb3dcx16,_0xb3dcx12,_0xb3dcx9,_0xb3dcx3,_0xb3dcx13):mxUtils[_0x708e[2010]](_0xb3dcx14,_0xb3dcx4,_0xb3dcx15,_0xb3dcx16,_0xb3dcx12,_0xb3dcx9+ _0xb3dcx2,_0xb3dcx3,_0xb3dcx13):_0xb3dcx4< _0xb3dcx13?mxUtils[_0x708e[2010]](_0xb3dcx14,_0xb3dcx4,_0xb3dcx15,_0xb3dcx16,_0xb3dcx12,_0xb3dcx9,_0xb3dcx3+ _0xb3dcxa,_0xb3dcx13):mxUtils[_0x708e[2010]](_0xb3dcx14,_0xb3dcx4,_0xb3dcx15,_0xb3dcx16,_0xb3dcx12,_0xb3dcx9+ _0xb3dcx2,_0xb3dcx3+ _0xb3dcxa,_0xb3dcx13)},TrianglePerimeter:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]][mxConstants[_0x708e[2011]]]:null;var _0xb3dcx9=_0xb3dcx3== mxConstants[_0x708e[1358]]|| _0xb3dcx3== mxConstants[_0x708e[1354]],_0xb3dcxa=_0xb3dcx2[_0x708e[235]],_0xb3dcx12=_0xb3dcx2[_0x708e[236]],_0xb3dcx13=_0xb3dcx2[_0x708e[117]];_0xb3dcx2= _0xb3dcx2[_0x708e[119]];var _0xb3dcx14=_0xb3dcxa+ _0xb3dcx13/ 2,_0xb3dcx15=_0xb3dcx12+ _0xb3dcx2/ 2,_0xb3dcx16= new mxPoint(_0xb3dcxa,_0xb3dcx12),_0xb3dcx17= new mxPoint(_0xb3dcxa+ _0xb3dcx13,_0xb3dcx15),_0xb3dcx18= new mxPoint(_0xb3dcxa,_0xb3dcx12+ _0xb3dcx2);_0xb3dcx3== mxConstants[_0x708e[1358]]?(_0xb3dcx16= _0xb3dcx18,_0xb3dcx17= new mxPoint(_0xb3dcx14,_0xb3dcx12),_0xb3dcx18= new mxPoint(_0xb3dcxa+ _0xb3dcx13,_0xb3dcx12+ _0xb3dcx2)):_0xb3dcx3== mxConstants[_0x708e[1354]]?(_0xb3dcx17= new mxPoint(_0xb3dcx14,_0xb3dcx12+ _0xb3dcx2),_0xb3dcx18= new mxPoint(_0xb3dcxa+ _0xb3dcx13,_0xb3dcx12)):_0xb3dcx3== mxConstants[_0x708e[1359]]&& (_0xb3dcx16= new mxPoint(_0xb3dcxa+ _0xb3dcx13,_0xb3dcx12),_0xb3dcx17= new mxPoint(_0xb3dcxa,_0xb3dcx15),_0xb3dcx18= new mxPoint(_0xb3dcxa+ _0xb3dcx13,_0xb3dcx12+ _0xb3dcx2));var _0xb3dcx19=_0xb3dcx4[_0x708e[235]]- _0xb3dcx14,_0xb3dcx1a=_0xb3dcx4[_0x708e[236]]- _0xb3dcx15,_0xb3dcx19=_0xb3dcx9?Math[_0x708e[429]](_0xb3dcx19,_0xb3dcx1a):Math[_0x708e[429]](_0xb3dcx1a,_0xb3dcx19),_0xb3dcx1b=_0xb3dcx9?Math[_0x708e[429]](_0xb3dcx13,_0xb3dcx2):Math[_0x708e[429]](_0xb3dcx2,_0xb3dcx13),_0xb3dcx1a=!1,_0xb3dcx1a=_0xb3dcx3== mxConstants[_0x708e[1358]]|| _0xb3dcx3== mxConstants[_0x708e[1359]]?_0xb3dcx19> -_0xb3dcx1b&& _0xb3dcx19< _0xb3dcx1b:_0xb3dcx19< -Math[_0x708e[424]]+ _0xb3dcx1b|| _0xb3dcx19> Math[_0x708e[424]]- _0xb3dcx1b,_0xb3dcx1b=null;_0xb3dcx1a?_0xb3dcx1b= _0xb3dcx5&& (_0xb3dcx9&& _0xb3dcx4[_0x708e[235]]>= _0xb3dcx16[_0x708e[235]]&& _0xb3dcx4[_0x708e[235]]<= _0xb3dcx18[_0x708e[235]]|| !_0xb3dcx9&& _0xb3dcx4[_0x708e[236]]>= _0xb3dcx16[_0x708e[236]]&& _0xb3dcx4[_0x708e[236]]<= _0xb3dcx18[_0x708e[236]])?_0xb3dcx9? new mxPoint(_0xb3dcx4[_0x708e[235]],_0xb3dcx16[_0x708e[236]]): new mxPoint(_0xb3dcx16[_0x708e[235]],_0xb3dcx4[_0x708e[236]]):_0xb3dcx3== mxConstants[_0x708e[1358]]? new mxPoint(_0xb3dcxa+ _0xb3dcx13/ 2+ _0xb3dcx2* Math[_0x708e[2008]](_0xb3dcx19)/ 2,_0xb3dcx12+ _0xb3dcx2):_0xb3dcx3== mxConstants[_0x708e[1354]]? new mxPoint(_0xb3dcxa+ _0xb3dcx13/ 2- _0xb3dcx2* Math[_0x708e[2008]](_0xb3dcx19)/ 2,_0xb3dcx12):_0xb3dcx3== mxConstants[_0x708e[1359]]? new mxPoint(_0xb3dcxa+ _0xb3dcx13,_0xb3dcx12+ _0xb3dcx2/ 2+ _0xb3dcx13* Math[_0x708e[2008]](_0xb3dcx19)/ 2): new mxPoint(_0xb3dcxa,_0xb3dcx12+ _0xb3dcx2/ 2- _0xb3dcx13* Math[_0x708e[2008]](_0xb3dcx19)/ 2):(_0xb3dcx5&& (_0xb3dcx5= new mxPoint(_0xb3dcx14,_0xb3dcx15),_0xb3dcx4[_0x708e[236]]>= _0xb3dcx12&& _0xb3dcx4[_0x708e[236]]<= _0xb3dcx12+ _0xb3dcx2?(_0xb3dcx5[_0x708e[235]]= _0xb3dcx9?_0xb3dcx14:_0xb3dcx3== mxConstants[_0x708e[1359]]?_0xb3dcxa+ _0xb3dcx13:_0xb3dcxa,_0xb3dcx5[_0x708e[236]]= _0xb3dcx4[_0x708e[236]]):_0xb3dcx4[_0x708e[235]]>= _0xb3dcxa&& _0xb3dcx4[_0x708e[235]]<= _0xb3dcxa+ _0xb3dcx13&& (_0xb3dcx5[_0x708e[235]]= _0xb3dcx4[_0x708e[235]],_0xb3dcx5[_0x708e[236]]= !_0xb3dcx9?_0xb3dcx15:_0xb3dcx3== mxConstants[_0x708e[1358]]?_0xb3dcx12+ _0xb3dcx2:_0xb3dcx12),_0xb3dcx14= _0xb3dcx5[_0x708e[235]],_0xb3dcx15= _0xb3dcx5[_0x708e[236]]),_0xb3dcx1b= _0xb3dcx9&& _0xb3dcx4[_0x708e[235]]<= _0xb3dcxa+ _0xb3dcx13/ 2|| !_0xb3dcx9&& _0xb3dcx4[_0x708e[236]]<= _0xb3dcx12+ _0xb3dcx2/ 2?mxUtils[_0x708e[2010]](_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]],_0xb3dcx14,_0xb3dcx15,_0xb3dcx16[_0x708e[235]],_0xb3dcx16[_0x708e[236]],_0xb3dcx17[_0x708e[235]],_0xb3dcx17[_0x708e[236]]):mxUtils[_0x708e[2010]](_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]],_0xb3dcx14,_0xb3dcx15,_0xb3dcx17[_0x708e[235]],_0xb3dcx17[_0x708e[236]],_0xb3dcx18[_0x708e[235]],_0xb3dcx18[_0x708e[236]]));null== _0xb3dcx1b&& (_0xb3dcx1b= new mxPoint(_0xb3dcx14,_0xb3dcx15));return _0xb3dcx1b}};function mxPrintPreview(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[255]]= null!= _0xb3dcx3?_0xb3dcx3:1/ _0xb3dcx2[_0x708e[2012]];this[_0x708e[467]]= null!= _0xb3dcx5?_0xb3dcx5:0;this[_0x708e[2013]]= null!= _0xb3dcx4?_0xb3dcx4:_0xb3dcx2[_0x708e[2013]];this[_0x708e[924]]= null!= _0xb3dcx13?_0xb3dcx13:_0x708e[2014];this[_0x708e[1732]]= null!= _0xb3dcx9?_0xb3dcx9:0;this[_0x708e[1733]]= null!= _0xb3dcxa?_0xb3dcxa:0;this[_0x708e[1630]]= _0xb3dcx12;this[_0x708e[2015]]= null!= _0xb3dcx14?_0xb3dcx14:!0}mxPrintPreview[_0x708e[202]][_0x708e[1179]]= null;mxPrintPreview[_0x708e[202]][_0x708e[2013]]= null;mxPrintPreview[_0x708e[202]][_0x708e[255]]= null;mxPrintPreview[_0x708e[202]][_0x708e[467]]= 0;mxPrintPreview[_0x708e[202]][_0x708e[1732]]= 0;mxPrintPreview[_0x708e[202]][_0x708e[1733]]= 0;mxPrintPreview[_0x708e[202]][_0x708e[2016]]= !0;mxPrintPreview[_0x708e[202]][_0x708e[2017]]= !1;mxPrintPreview[_0x708e[202]][_0x708e[1630]]= null;mxPrintPreview[_0x708e[202]][_0x708e[924]]= null;mxPrintPreview[_0x708e[202]][_0x708e[2015]]= null;mxPrintPreview[_0x708e[202]][_0x708e[2018]]= null;mxPrintPreview[_0x708e[202]][_0x708e[2019]]= 0;mxPrintPreview[_0x708e[202]][_0x708e[2020]]= function(){return this[_0x708e[2018]]};mxPrintPreview[_0x708e[202]][_0x708e[2021]]= function(){var _0xb3dcx2=_0x708e[110];8== document[_0x708e[5]]&& (_0xb3dcx2= _0x708e[2022]);return _0xb3dcx2};mxPrintPreview[_0x708e[202]][_0x708e[392]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[259]][_0x708e[2023]],_0xb3dcx4=null;try{this[_0x708e[2017]]&& (this[_0x708e[1179]][_0x708e[259]][_0x708e[2023]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[176]](_0xb3dcx2[_0x708e[441]][_0x708e[2024]]())});if(null== this[_0x708e[2018]]){this[_0x708e[2018]]= window[_0x708e[392]]();var _0xb3dcx5=this[_0x708e[2018]][_0x708e[395]],_0xb3dcx9=this[_0x708e[2021]]();null!= _0xb3dcx9&& 0< _0xb3dcx9[_0x708e[67]]&& _0xb3dcx5[_0x708e[171]](_0xb3dcx9);_0xb3dcx5[_0x708e[171]](_0x708e[528]);_0xb3dcx5[_0x708e[171]](_0x708e[531]);this[_0x708e[2025]](_0xb3dcx5,_0xb3dcx2);_0xb3dcx5[_0x708e[171]](_0x708e[533]);_0xb3dcx5[_0x708e[171]](_0x708e[2026]);mxClient[_0x708e[54]](_0x708e[94],mxClient[_0x708e[86]]+ _0x708e[95],_0xb3dcx5);mxClient[_0x708e[47]]&& (_0xb3dcx5[_0x708e[100]][_0x708e[99]](_0x708e[6],_0x708e[97]),_0xb3dcx5[_0x708e[100]][_0x708e[99]](_0x708e[7],_0x708e[101]),_0xb3dcx5[_0x708e[102]]()[_0x708e[103]]= _0x708e[104],mxClient[_0x708e[54]](_0x708e[94],mxClient[_0x708e[86]]+ _0x708e[105],_0xb3dcx5));var _0xb3dcxa=this[_0x708e[1179]][_0x708e[517]]()[_0x708e[238]](),_0xb3dcx12=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[518]](),_0xb3dcx13=_0xb3dcx12/ this[_0x708e[255]],_0xb3dcx14=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[512]]();this[_0x708e[2016]]|| (this[_0x708e[1732]]= -_0xb3dcx14[_0x708e[235]]* this[_0x708e[255]],this[_0x708e[1733]]= -_0xb3dcx14[_0x708e[236]]* this[_0x708e[255]],_0xb3dcxa[_0x708e[117]]+= _0xb3dcxa[_0x708e[235]],_0xb3dcxa[_0x708e[119]]+= _0xb3dcxa[_0x708e[236]],_0xb3dcxa[_0x708e[235]]= 0,this[_0x708e[467]]= _0xb3dcxa[_0x708e[236]]= 0);_0xb3dcxa[_0x708e[117]]/= _0xb3dcx13;_0xb3dcxa[_0x708e[119]]/= _0xb3dcx13;var _0xb3dcx15=this[_0x708e[2013]][_0x708e[117]]- 2* this[_0x708e[467]],_0xb3dcx16=this[_0x708e[2013]][_0x708e[119]]- 2* this[_0x708e[467]],_0xb3dcx17=Math[_0x708e[160]](1,Math[_0x708e[430]]((_0xb3dcxa[_0x708e[117]]+ this[_0x708e[1732]])/ _0xb3dcx15)),_0xb3dcx18=Math[_0x708e[160]](1,Math[_0x708e[430]]((_0xb3dcxa[_0x708e[119]]+ this[_0x708e[1733]])/ _0xb3dcx16));this[_0x708e[2019]]= _0xb3dcx17* _0xb3dcx18;var _0xb3dcx19=mxUtils[_0x708e[885]](this,function(){if(this[_0x708e[2015]]&& (1< _0xb3dcx18|| 1< _0xb3dcx17)){var _0xb3dcx2=this[_0x708e[2027]](_0xb3dcx18,_0xb3dcx17);_0xb3dcx5[_0x708e[112]][_0x708e[62]](_0xb3dcx2);if(mxClient[_0x708e[80]]){_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[492];var _0xb3dcx3=function(){_0xb3dcx2[_0x708e[124]][_0x708e[125]]= _0xb3dcx5[_0x708e[112]][_0x708e[190]]+ 10+ _0x708e[168]};mxEvent[_0x708e[169]](this[_0x708e[2018]],_0x708e[276],function(_0xb3dcx2){_0xb3dcx3()});mxEvent[_0x708e[169]](this[_0x708e[2018]],_0x708e[129],function(_0xb3dcx2){_0xb3dcx3()})}}});_0xb3dcx2= function(_0xb3dcx2,_0xb3dcx3){null!= this[_0x708e[1630]]&& (_0xb3dcx2[_0x708e[124]][_0x708e[1630]]= this[_0x708e[1630]],_0xb3dcx2[_0x708e[124]][_0x708e[465]]= _0x708e[1631],_0xb3dcx2[_0x708e[124]][_0x708e[1629]]= _0x708e[942]);_0xb3dcx2[_0x708e[124]][_0x708e[1537]]= _0x708e[1391];_0xb3dcx3&& (_0xb3dcx2[_0x708e[124]][_0x708e[2028]]= _0x708e[2029]);mxClient[_0x708e[80]]?(_0xb3dcx5[_0x708e[171]](_0xb3dcx2[_0x708e[342]]),_0xb3dcx2[_0x708e[265]][_0x708e[266]](_0xb3dcx2)):(_0xb3dcx2[_0x708e[265]][_0x708e[266]](_0xb3dcx2),_0xb3dcx5[_0x708e[112]][_0x708e[62]](_0xb3dcx2));if(_0xb3dcx3){var _0xb3dcx4=_0xb3dcx5[_0x708e[55]](_0x708e[1054]);_0xb3dcx4[_0x708e[926]]= _0x708e[2030];_0xb3dcx5[_0x708e[112]][_0x708e[62]](_0xb3dcx4)}};var _0xb3dcx1a=this[_0x708e[2031]](this[_0x708e[2013]][_0x708e[117]],this[_0x708e[2013]][_0x708e[119]]);if(null!= _0xb3dcx1a){for(var _0xb3dcx1b=0;_0xb3dcx1b< _0xb3dcx1a[_0x708e[67]];_0xb3dcx1b++){_0xb3dcx2(_0xb3dcx1a[_0xb3dcx1b],!0)}};for(var _0xb3dcx1c=this[_0x708e[2032]](this[_0x708e[2013]][_0x708e[117]],this[_0x708e[2013]][_0x708e[119]]),_0xb3dcx1b=0;_0xb3dcx1b< _0xb3dcx18;_0xb3dcx1b++){for(var _0xb3dcx1d=_0xb3dcx1b* _0xb3dcx16/ this[_0x708e[255]]- this[_0x708e[1733]]/ this[_0x708e[255]]+ (_0xb3dcxa[_0x708e[236]]- _0xb3dcx14[_0x708e[236]]* _0xb3dcx12)/ _0xb3dcx12,_0xb3dcx1a=0;_0xb3dcx1a< _0xb3dcx17;_0xb3dcx1a++){if(null== this[_0x708e[2018]]){return null};var _0xb3dcx1e=_0xb3dcx1a* _0xb3dcx15/ this[_0x708e[255]]- this[_0x708e[1732]]/ this[_0x708e[255]]+ (_0xb3dcxa[_0x708e[235]]- _0xb3dcx14[_0x708e[235]]* _0xb3dcx12)/ _0xb3dcx12,_0xb3dcx1f=_0xb3dcx1b* _0xb3dcx17+ _0xb3dcx1a+ 1,_0xb3dcx4=this[_0x708e[2034]](this[_0x708e[2013]][_0x708e[117]],this[_0x708e[2013]][_0x708e[119]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2033]](-_0xb3dcx1e,-_0xb3dcx1d,this[_0x708e[255]],_0xb3dcx1f,_0xb3dcx2)}));_0xb3dcx4[_0x708e[57]](_0x708e[1363],_0x708e[2035]+ _0xb3dcx1f);_0xb3dcx2(_0xb3dcx4,null!= _0xb3dcx1c|| _0xb3dcx1b< _0xb3dcx18- 1|| _0xb3dcx1a< _0xb3dcx17- 1)}};if(null!= _0xb3dcx1c){for(_0xb3dcx1b= 0;_0xb3dcx1b< _0xb3dcx1c[_0x708e[67]];_0xb3dcx1b++){_0xb3dcx2(_0xb3dcx1c[_0xb3dcx1b],_0xb3dcx1b< _0xb3dcx1c[_0x708e[67]])}};_0xb3dcx5[_0x708e[171]](_0x708e[527]);_0xb3dcx5[_0x708e[171]](_0x708e[534]);_0xb3dcx5[_0x708e[268]]();_0xb3dcx19();mxEvent[_0x708e[762]](_0xb3dcx5[_0x708e[112]])};this[_0x708e[2018]][_0x708e[393]]()}catch(y){null!= _0xb3dcx4&& null!= _0xb3dcx4[_0x708e[265]]&& _0xb3dcx4[_0x708e[265]][_0x708e[266]](_0xb3dcx4)}finally{this[_0x708e[1179]][_0x708e[259]][_0x708e[2023]]= _0xb3dcx3};return this[_0x708e[2018]]};mxPrintPreview[_0x708e[202]][_0x708e[2025]]= function(_0xb3dcx2,_0xb3dcx3){null!= this[_0x708e[924]]&& _0xb3dcx2[_0x708e[171]](_0x708e[2036]+ this[_0x708e[924]]+ _0x708e[2037]);_0xb3dcx2[_0x708e[171]](_0x708e[2038]);_0xb3dcx2[_0x708e[171]](_0x708e[2039]);_0xb3dcx2[_0x708e[171]](_0x708e[2040]);_0xb3dcx2[_0x708e[171]](_0x708e[2041]);_0xb3dcx2[_0x708e[171]](_0x708e[233]);_0xb3dcx2[_0x708e[171]](_0x708e[2042]);_0xb3dcx2[_0x708e[171]](_0x708e[2043]);_0xb3dcx2[_0x708e[171]](_0x708e[2044]);_0xb3dcx2[_0x708e[171]](_0x708e[2045]);_0xb3dcx2[_0x708e[171]](_0x708e[233]);null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[171]](_0xb3dcx3);_0xb3dcx2[_0x708e[171]](_0x708e[2046])};mxPrintPreview[_0x708e[202]][_0x708e[2027]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[2018]][_0x708e[395]],_0xb3dcx5=_0xb3dcx4[_0x708e[55]](_0x708e[116]);_0xb3dcx5[_0x708e[926]]= _0x708e[2047];_0xb3dcx5[_0x708e[57]](_0x708e[467],_0x708e[468]);for(var _0xb3dcx9=_0xb3dcx4[_0x708e[55]](_0x708e[120]),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2;_0xb3dcxa++){for(var _0xb3dcx12=_0xb3dcx4[_0x708e[55]](_0x708e[121]),_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx3;_0xb3dcx13++){var _0xb3dcx14=_0xb3dcxa* _0xb3dcx3+ _0xb3dcx13+ 1,_0xb3dcx15=_0xb3dcx4[_0x708e[55]](_0x708e[122]);if(!mxClient[_0x708e[133]]|| mxClient[_0x708e[75]]|| mxClient[_0x708e[76]]){var _0xb3dcx16=_0xb3dcx4[_0x708e[55]](_0x708e[2048]);_0xb3dcx16[_0x708e[57]](_0x708e[44],_0x708e[2049]+ _0xb3dcx14);mxUtils[_0x708e[53]](_0xb3dcx16,_0xb3dcx14,_0xb3dcx4);_0xb3dcx15[_0x708e[62]](_0xb3dcx16)}else {mxUtils[_0x708e[53]](_0xb3dcx15,_0xb3dcx14,_0xb3dcx4)};_0xb3dcx12[_0x708e[62]](_0xb3dcx15)};_0xb3dcx9[_0x708e[62]](_0xb3dcx12)};_0xb3dcx5[_0x708e[62]](_0xb3dcx9);return _0xb3dcx5};mxPrintPreview[_0x708e[202]][_0x708e[2034]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=document[_0x708e[55]](_0x708e[485]);try{_0xb3dcx5[_0x708e[124]][_0x708e[117]]= _0xb3dcx2+ _0x708e[168];_0xb3dcx5[_0x708e[124]][_0x708e[119]]= _0xb3dcx3+ _0x708e[168];_0xb3dcx5[_0x708e[124]][_0x708e[277]]= _0x708e[188];_0xb3dcx5[_0x708e[124]][_0x708e[2050]]= _0x708e[1824];_0xb3dcx5[_0x708e[124]][_0x708e[491]]= _0x708e[1500];var _0xb3dcx9=document[_0x708e[55]](_0x708e[485]);_0xb3dcx9[_0x708e[124]][_0x708e[125]]= this[_0x708e[467]]+ _0x708e[168];_0xb3dcx9[_0x708e[124]][_0x708e[361]]= this[_0x708e[467]]+ _0x708e[168];_0xb3dcx9[_0x708e[124]][_0x708e[117]]= _0xb3dcx2- 2* this[_0x708e[467]]+ _0x708e[168];_0xb3dcx9[_0x708e[124]][_0x708e[119]]= _0xb3dcx3- 2* this[_0x708e[467]]+ _0x708e[168];_0xb3dcx9[_0x708e[124]][_0x708e[277]]= _0x708e[188];this[_0x708e[1179]][_0x708e[507]]== mxConstants[_0x708e[1523]]&& (_0xb3dcx9[_0x708e[124]][_0x708e[491]]= _0x708e[492]);_0xb3dcx5[_0x708e[62]](_0xb3dcx9);document[_0x708e[112]][_0x708e[62]](_0xb3dcx5);_0xb3dcx4(_0xb3dcx9)}catch(f){throw _0xb3dcx5[_0x708e[265]][_0x708e[266]](_0xb3dcx5),f};return _0xb3dcx5};mxPrintPreview[_0x708e[202]][_0x708e[2033]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx5= this[_0x708e[1179]][_0x708e[249]]();var _0xb3dcxa=this[_0x708e[1179]][_0x708e[526]];this[_0x708e[1179]][_0x708e[526]]= _0xb3dcx9;var _0xb3dcx12=_0xb3dcx5[_0x708e[2051]](),_0xb3dcx13=_0xb3dcx5[_0x708e[2052]](),_0xb3dcx14=_0xb3dcx5[_0x708e[2024]](),_0xb3dcx15=_0xb3dcx5[_0x708e[1524]]();this[_0x708e[1179]][_0x708e[507]]== mxConstants[_0x708e[508]]?_0xb3dcx5[_0x708e[1569]]():this[_0x708e[1179]][_0x708e[507]]== mxConstants[_0x708e[1523]]?_0xb3dcx5[_0x708e[1571]]():_0xb3dcx5[_0x708e[1570]]();var _0xb3dcx16=_0xb3dcx5[_0x708e[503]]();_0xb3dcx5[_0x708e[504]](!1);var _0xb3dcx17=this[_0x708e[1179]][_0x708e[994]]();this[_0x708e[1179]][_0x708e[995]](!1);var _0xb3dcx18=_0xb3dcx5[_0x708e[512]]();_0xb3dcx5[_0x708e[513]]= new mxPoint(_0xb3dcx2,_0xb3dcx3);_0xb3dcx2= null;try{var _0xb3dcx19=[this[_0x708e[1179]][_0x708e[502]]()[_0x708e[501]]()];_0xb3dcx2= new mxTemporaryCellStates(_0xb3dcx5,_0xb3dcx4,_0xb3dcx19)}finally{if(mxClient[_0x708e[80]]){_0xb3dcx5[_0x708e[506]][_0x708e[339]]= _0x708e[110]}else {for(_0xb3dcx4= _0xb3dcx9[_0x708e[285]];null!= _0xb3dcx4;){_0xb3dcx19= _0xb3dcx4[_0x708e[287]],_0xb3dcx3= _0xb3dcx4[_0x708e[301]][_0x708e[216]](),_0x708e[571]== _0xb3dcx3?(_0xb3dcx4[_0x708e[57]](_0x708e[117],parseInt(_0xb3dcx9[_0x708e[124]][_0x708e[117]])),_0xb3dcx4[_0x708e[57]](_0x708e[119],parseInt(_0xb3dcx9[_0x708e[124]][_0x708e[119]]))):_0x708e[583]!= _0xb3dcx4[_0x708e[124]][_0x708e[270]]&& _0x708e[116]!= _0xb3dcx3&& _0xb3dcx4[_0x708e[265]][_0x708e[266]](_0xb3dcx4),_0xb3dcx4= _0xb3dcx19}};_0xb3dcx5[_0x708e[506]][_0x708e[265]][_0x708e[266]](_0xb3dcx5[_0x708e[506]]);this[_0x708e[1179]][_0x708e[995]](_0xb3dcx17);this[_0x708e[1179]][_0x708e[526]]= _0xb3dcxa;_0xb3dcx5[_0x708e[510]]= _0xb3dcx12;_0xb3dcx5[_0x708e[2053]]= _0xb3dcx13;_0xb3dcx5[_0x708e[505]]= _0xb3dcx14;_0xb3dcx5[_0x708e[506]]= _0xb3dcx15;_0xb3dcx5[_0x708e[513]]= _0xb3dcx18;_0xb3dcx2[_0x708e[515]]();_0xb3dcx5[_0x708e[504]](_0xb3dcx16)}};mxPrintPreview[_0x708e[202]][_0x708e[2031]]= function(){return null};mxPrintPreview[_0x708e[202]][_0x708e[2032]]= function(){return null};mxPrintPreview[_0x708e[202]][_0x708e[540]]= function(){var _0xb3dcx2=this[_0x708e[392]]();null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[540]]()};mxPrintPreview[_0x708e[202]][_0x708e[268]]= function(){null!= this[_0x708e[2018]]&& (this[_0x708e[2018]][_0x708e[268]](),this[_0x708e[2018]]= null)};function mxStylesheet(){this[_0x708e[2054]]= {};this[_0x708e[2056]](this[_0x708e[2055]]());this[_0x708e[2058]](this[_0x708e[2057]]())}mxStylesheet[_0x708e[202]][_0x708e[2055]]= function(){var _0xb3dcx2={};_0xb3dcx2[mxConstants[_0x708e[2059]]]= mxConstants[_0x708e[2060]];_0xb3dcx2[mxConstants[_0x708e[2061]]]= mxPerimeter[_0x708e[2062]];_0xb3dcx2[mxConstants[_0x708e[2063]]]= mxConstants[_0x708e[481]];_0xb3dcx2[mxConstants[_0x708e[2064]]]= mxConstants[_0x708e[479]];_0xb3dcx2[mxConstants[_0x708e[2065]]]= _0x708e[2066];_0xb3dcx2[mxConstants[_0x708e[2067]]]= _0x708e[2068];_0xb3dcx2[mxConstants[_0x708e[2069]]]= _0x708e[2070];return _0xb3dcx2};mxStylesheet[_0x708e[202]][_0x708e[2057]]= function(){var _0xb3dcx2={};_0xb3dcx2[mxConstants[_0x708e[2059]]]= mxConstants[_0x708e[2071]];_0xb3dcx2[mxConstants[_0x708e[1695]]]= mxConstants[_0x708e[1622]];_0xb3dcx2[mxConstants[_0x708e[2063]]]= mxConstants[_0x708e[481]];_0xb3dcx2[mxConstants[_0x708e[2064]]]= mxConstants[_0x708e[479]];_0xb3dcx2[mxConstants[_0x708e[2067]]]= _0x708e[2068];_0xb3dcx2[mxConstants[_0x708e[2069]]]= _0x708e[2072];return _0xb3dcx2};mxStylesheet[_0x708e[202]][_0x708e[2056]]= function(_0xb3dcx2){this[_0x708e[2074]](_0x708e[2073],_0xb3dcx2)};mxStylesheet[_0x708e[202]][_0x708e[2058]]= function(_0xb3dcx2){this[_0x708e[2074]](_0x708e[2075],_0xb3dcx2)};mxStylesheet[_0x708e[202]][_0x708e[2076]]= function(){return this[_0x708e[2054]][_0x708e[2073]]};mxStylesheet[_0x708e[202]][_0x708e[2077]]= function(){return this[_0x708e[2054]][_0x708e[2075]]};mxStylesheet[_0x708e[202]][_0x708e[2074]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2054]][_0xb3dcx2]= _0xb3dcx3};mxStylesheet[_0x708e[202]][_0x708e[1705]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx3;if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){for(var _0xb3dcx5=_0xb3dcx2[_0x708e[224]](_0x708e[471]),_0xb3dcx4=null!= _0xb3dcx4&& _0x708e[471]!= _0xb3dcx2[_0x708e[225]](0)?mxUtils[_0x708e[238]](_0xb3dcx4):{},_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx5[_0xb3dcx9],_0xb3dcx12=_0xb3dcxa[_0x708e[2]](_0x708e[226]);if(0<= _0xb3dcx12){var _0xb3dcx13=_0xb3dcxa[_0x708e[85]](0,_0xb3dcx12),_0xb3dcxa=_0xb3dcxa[_0x708e[85]](_0xb3dcx12+ 1);_0xb3dcxa== mxConstants[_0x708e[217]]? delete _0xb3dcx4[_0xb3dcx13]:mxUtils[_0x708e[1946]](_0xb3dcxa)?_0xb3dcx4[_0xb3dcx13]= parseFloat(_0xb3dcxa):_0xb3dcx4[_0xb3dcx13]= _0xb3dcxa}else {if(_0xb3dcxa= this[_0x708e[2054]][_0xb3dcxa],null!= _0xb3dcxa){for(_0xb3dcx13 in _0xb3dcxa){_0xb3dcx4[_0xb3dcx13]= _0xb3dcxa[_0xb3dcx13]}}}}};return _0xb3dcx4};function mxCellState(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[441]]= _0xb3dcx2;this[_0x708e[246]]= _0xb3dcx3;this[_0x708e[124]]= _0xb3dcx4;this[_0x708e[2078]]= new mxPoint;this[_0x708e[2079]]= new mxPoint}mxCellState[_0x708e[202]]= new mxRectangle;mxCellState[_0x708e[202]][_0x708e[196]]= mxCellState;mxCellState[_0x708e[202]][_0x708e[441]]= null;mxCellState[_0x708e[202]][_0x708e[246]]= null;mxCellState[_0x708e[202]][_0x708e[124]]= null;mxCellState[_0x708e[202]][_0x708e[2080]]= !0;mxCellState[_0x708e[202]][_0x708e[2081]]= !1;mxCellState[_0x708e[202]][_0x708e[2082]]= !1;mxCellState[_0x708e[202]][_0x708e[2078]]= null;mxCellState[_0x708e[202]][_0x708e[439]]= null;mxCellState[_0x708e[202]][_0x708e[2079]]= null;mxCellState[_0x708e[202]][_0x708e[2083]]= null;mxCellState[_0x708e[202]][_0x708e[2084]]= null;mxCellState[_0x708e[202]][_0x708e[2085]]= 0;mxCellState[_0x708e[202]][_0x708e[67]]= 0;mxCellState[_0x708e[202]][_0x708e[2086]]= null;mxCellState[_0x708e[202]][_0x708e[253]]= null;mxCellState[_0x708e[202]][_0x708e[963]]= null;mxCellState[_0x708e[202]][_0x708e[2087]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= _0xb3dcx2|| 0;_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3: new mxRectangle(this[_0x708e[235]],this[_0x708e[236]],this[_0x708e[117]],this[_0x708e[119]]);if(null!= this[_0x708e[253]]&& null!= this[_0x708e[253]][_0x708e[1561]]){var _0xb3dcx4=this[_0x708e[253]][_0x708e[1561]][_0x708e[1548]](this[_0x708e[124]],_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]],_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]]);_0xb3dcx3[_0x708e[235]]= _0xb3dcx4[_0x708e[235]];_0xb3dcx3[_0x708e[236]]= _0xb3dcx4[_0x708e[236]];_0xb3dcx3[_0x708e[117]]= this[_0x708e[253]][_0x708e[1561]][_0x708e[1532]]* _0xb3dcx4[_0x708e[117]];_0xb3dcx3[_0x708e[119]]= this[_0x708e[253]][_0x708e[1561]][_0x708e[1533]]* _0xb3dcx4[_0x708e[119]]};0!= _0xb3dcx2&& _0xb3dcx3[_0x708e[244]](_0xb3dcx2);return _0xb3dcx3};mxCellState[_0x708e[202]][_0x708e[2088]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3?(null== this[_0x708e[439]]&& (this[_0x708e[439]]= []),0== this[_0x708e[439]][_0x708e[67]]?this[_0x708e[439]][_0x708e[207]](_0xb3dcx2):this[_0x708e[439]][0]= _0xb3dcx2):null== this[_0x708e[439]]?(this[_0x708e[439]]= [],this[_0x708e[439]][_0x708e[207]](null),this[_0x708e[439]][_0x708e[207]](_0xb3dcx2)):1== this[_0x708e[439]][_0x708e[67]]?this[_0x708e[439]][_0x708e[207]](_0xb3dcx2):this[_0x708e[439]][this[_0x708e[439]][_0x708e[67]]- 1]= _0xb3dcx2};mxCellState[_0x708e[202]][_0x708e[1609]]= function(_0xb3dcx2){null!= this[_0x708e[253]]&& this[_0x708e[253]][_0x708e[1609]](_0xb3dcx2);null!= this[_0x708e[963]]&& this[_0x708e[963]][_0x708e[1609]](_0xb3dcx2)};mxCellState[_0x708e[202]][_0x708e[1710]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[2089]](_0xb3dcx2);return null!= _0xb3dcx2?_0xb3dcx2[_0x708e[246]]:null};mxCellState[_0x708e[202]][_0x708e[2089]]= function(_0xb3dcx2){return _0xb3dcx2?this[_0x708e[2083]]:this[_0x708e[2084]]};mxCellState[_0x708e[202]][_0x708e[2090]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3?this[_0x708e[2083]]= _0xb3dcx2:this[_0x708e[2084]]= _0xb3dcx2};mxCellState[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[441]][_0x708e[1179]][_0x708e[259]][_0x708e[515]](this)};mxCellState[_0x708e[202]][_0x708e[238]]= function(){var _0xb3dcx2= new mxCellState(this[_0x708e[441]],this[_0x708e[246]],this[_0x708e[124]]);if(null!= this[_0x708e[439]]){_0xb3dcx2[_0x708e[439]]= [];for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[439]][_0x708e[67]];_0xb3dcx3++){_0xb3dcx2[_0x708e[439]][_0xb3dcx3]= this[_0x708e[439]][_0xb3dcx3][_0x708e[238]]()}};null!= this[_0x708e[2078]]&& (_0xb3dcx2[_0x708e[2078]]= this[_0x708e[2078]][_0x708e[238]]());null!= this[_0x708e[2079]]&& (_0xb3dcx2[_0x708e[2079]]= this[_0x708e[2079]][_0x708e[238]]());null!= this[_0x708e[1563]]&& (_0xb3dcx2[_0x708e[1563]]= this[_0x708e[1563]][_0x708e[238]]());_0xb3dcx2[_0x708e[2085]]= this[_0x708e[2085]];_0xb3dcx2[_0x708e[2086]]= this[_0x708e[2086]];_0xb3dcx2[_0x708e[67]]= this[_0x708e[67]];_0xb3dcx2[_0x708e[235]]= this[_0x708e[235]];_0xb3dcx2[_0x708e[236]]= this[_0x708e[236]];_0xb3dcx2[_0x708e[117]]= this[_0x708e[117]];_0xb3dcx2[_0x708e[119]]= this[_0x708e[119]];return _0xb3dcx2};function mxGraphSelectionModel(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[895]]= []}mxGraphSelectionModel[_0x708e[202]]= new mxEventSource;mxGraphSelectionModel[_0x708e[202]][_0x708e[196]]= mxGraphSelectionModel;mxGraphSelectionModel[_0x708e[202]][_0x708e[2091]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[819]:_0x708e[110];mxGraphSelectionModel[_0x708e[202]][_0x708e[2092]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2093]:_0x708e[110];mxGraphSelectionModel[_0x708e[202]][_0x708e[1179]]= null;mxGraphSelectionModel[_0x708e[202]][_0x708e[2094]]= !1;mxGraphSelectionModel[_0x708e[202]][_0x708e[2095]]= function(){return this[_0x708e[2094]]};mxGraphSelectionModel[_0x708e[202]][_0x708e[2096]]= function(_0xb3dcx2){this[_0x708e[2094]]= _0xb3dcx2};mxGraphSelectionModel[_0x708e[202]][_0x708e[2097]]= function(_0xb3dcx2){return null!= _0xb3dcx2?0<= mxUtils[_0x708e[2]](this[_0x708e[895]],_0xb3dcx2):!1};mxGraphSelectionModel[_0x708e[202]][_0x708e[1107]]= function(){return 0== this[_0x708e[895]][_0x708e[67]]};mxGraphSelectionModel[_0x708e[202]][_0x708e[200]]= function(){this[_0x708e[2098]](null,this[_0x708e[895]])};mxGraphSelectionModel[_0x708e[202]][_0x708e[2099]]= function(_0xb3dcx2){null!= _0xb3dcx2&& this[_0x708e[2100]]([_0xb3dcx2])};mxGraphSelectionModel[_0x708e[202]][_0x708e[2100]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){this[_0x708e[2094]]&& (_0xb3dcx2= [this[_0x708e[2101]](_0xb3dcx2)]);for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){this[_0x708e[1179]][_0x708e[2102]](_0xb3dcx2[_0xb3dcx4])&& _0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx4])};this[_0x708e[2098]](_0xb3dcx3,this[_0x708e[895]])}};mxGraphSelectionModel[_0x708e[202]][_0x708e[2101]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){if(this[_0x708e[1179]][_0x708e[2102]](_0xb3dcx2[_0xb3dcx3])){return _0xb3dcx2[_0xb3dcx3]}}};return null};mxGraphSelectionModel[_0x708e[202]][_0x708e[2103]]= function(_0xb3dcx2){null!= _0xb3dcx2&& this[_0x708e[832]]([_0xb3dcx2])};mxGraphSelectionModel[_0x708e[202]][_0x708e[832]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=null;this[_0x708e[2094]]&& (_0xb3dcx3= this[_0x708e[895]],_0xb3dcx2= [this[_0x708e[2101]](_0xb3dcx2)]);for(var _0xb3dcx4=[],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){!this[_0x708e[2097]](_0xb3dcx2[_0xb3dcx5])&& this[_0x708e[1179]][_0x708e[2102]](_0xb3dcx2[_0xb3dcx5])&& _0xb3dcx4[_0x708e[207]](_0xb3dcx2[_0xb3dcx5])};this[_0x708e[2098]](_0xb3dcx4,_0xb3dcx3)}};mxGraphSelectionModel[_0x708e[202]][_0x708e[2104]]= function(_0xb3dcx2){null!= _0xb3dcx2&& this[_0x708e[842]]([_0xb3dcx2])};mxGraphSelectionModel[_0x708e[202]][_0x708e[842]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){this[_0x708e[2097]](_0xb3dcx2[_0xb3dcx4])&& _0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx4])};this[_0x708e[2098]](null,_0xb3dcx3)}};mxGraphSelectionModel[_0x708e[202]][_0x708e[2098]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]&& null!= _0xb3dcx2[0]|| null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]&& null!= _0xb3dcx3[0]){var _0xb3dcx4= new mxSelectionChange(this,_0xb3dcx2,_0xb3dcx3);_0xb3dcx4[_0x708e[350]]();var _0xb3dcx5= new mxUndoableEdit(this,!1);_0xb3dcx5[_0x708e[99]](_0xb3dcx4);this[_0x708e[746]]( new mxEventObject(mxEvent.UNDO,_0x708e[1061],_0xb3dcx5))}};mxGraphSelectionModel[_0x708e[202]][_0x708e[1941]]= function(_0xb3dcx2){null!= _0xb3dcx2&& !this[_0x708e[2097]](_0xb3dcx2)&& this[_0x708e[895]][_0x708e[207]](_0xb3dcx2)};mxGraphSelectionModel[_0x708e[202]][_0x708e[1102]]= function(_0xb3dcx2){null!= _0xb3dcx2&& (_0xb3dcx2= mxUtils[_0x708e[2]](this[_0x708e[895]],_0xb3dcx2),0<= _0xb3dcx2&& this[_0x708e[895]][_0x708e[300]](_0xb3dcx2,1))};function mxSelectionChange(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[2105]]= _0xb3dcx2;this[_0x708e[2106]]= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[1853]]():null;this[_0x708e[2107]]= null!= _0xb3dcx4?_0xb3dcx4[_0x708e[1853]]():null}mxSelectionChange[_0x708e[202]][_0x708e[350]]= function(){var _0xb3dcx2=mxLog[_0x708e[2109]](_0x708e[2108]);window[_0x708e[879]]= mxResources[_0x708e[203]](this[_0x708e[2105]][_0x708e[2092]])|| this[_0x708e[2105]][_0x708e[2092]];if(null!= this[_0x708e[2107]]){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[2107]][_0x708e[67]];_0xb3dcx3++){this[_0x708e[2105]][_0x708e[1102]](this[_0x708e[2107]][_0xb3dcx3])}};if(null!= this[_0x708e[2106]]){for(_0xb3dcx3= 0;_0xb3dcx3< this[_0x708e[2106]][_0x708e[67]];_0xb3dcx3++){this[_0x708e[2105]][_0x708e[1941]](this[_0x708e[2106]][_0xb3dcx3])}};_0xb3dcx3= this[_0x708e[2106]];this[_0x708e[2106]]= this[_0x708e[2107]];this[_0x708e[2107]]= _0xb3dcx3;window[_0x708e[879]]= mxResources[_0x708e[203]](this[_0x708e[2105]][_0x708e[2091]])|| this[_0x708e[2105]][_0x708e[2091]];mxLog[_0x708e[2110]](_0x708e[2108],_0xb3dcx2);this[_0x708e[2105]][_0x708e[746]]( new mxEventObject(mxEvent.CHANGE,_0x708e[2106],this[_0x708e[2106]],_0x708e[2107],this[_0x708e[2107]]))};function mxCellEditor(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2}mxCellEditor[_0x708e[202]][_0x708e[1179]]= null;mxCellEditor[_0x708e[202]][_0x708e[126]]= null;mxCellEditor[_0x708e[202]][_0x708e[2111]]= null;mxCellEditor[_0x708e[202]][_0x708e[2112]]= null;mxCellEditor[_0x708e[202]][_0x708e[2113]]= !1;mxCellEditor[_0x708e[202]][_0x708e[2114]]= !0;mxCellEditor[_0x708e[202]][_0x708e[2115]]= _0x708e[110];mxCellEditor[_0x708e[202]][_0x708e[2116]]= _0x708e[110];mxCellEditor[_0x708e[202]][_0x708e[176]]= function(){this[_0x708e[126]]= document[_0x708e[55]](_0x708e[126]);this[_0x708e[126]][_0x708e[926]]= _0x708e[2117];this[_0x708e[126]][_0x708e[124]][_0x708e[491]]= _0x708e[492];this[_0x708e[126]][_0x708e[124]][_0x708e[277]]= _0x708e[189];this[_0x708e[126]][_0x708e[57]](_0x708e[2118],_0x708e[2119]);this[_0x708e[126]][_0x708e[57]](_0x708e[969],_0x708e[2120]);mxClient[_0x708e[133]]&& (this[_0x708e[126]][_0x708e[124]][_0x708e[129]]= _0x708e[130]);mxEvent[_0x708e[169]](this[_0x708e[126]],_0x708e[2121],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2122]]()}));mxEvent[_0x708e[169]](this[_0x708e[126]],_0x708e[2123],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){mxEvent[_0x708e[721]](_0xb3dcx2)|| (113== _0xb3dcx2[_0x708e[2124]]|| this[_0x708e[1179]][_0x708e[2125]]()&& 13== _0xb3dcx2[_0x708e[2124]]&& !mxEvent[_0x708e[775]](_0xb3dcx2)&& !mxEvent[_0x708e[774]](_0xb3dcx2)?(this[_0x708e[1179]][_0x708e[2126]](!1),mxEvent[_0x708e[722]](_0xb3dcx2)):27== _0xb3dcx2[_0x708e[2124]]?(this[_0x708e[1179]][_0x708e[2126]](!0),mxEvent[_0x708e[722]](_0xb3dcx2)):(this[_0x708e[2127]]&& (this[_0x708e[2127]]= !1,this[_0x708e[126]][_0x708e[131]]= _0x708e[110]),this[_0x708e[2128]](!0)))}));mxEvent[_0x708e[169]](this[_0x708e[126]],_0x708e[2129],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2114]]&& !mxEvent[_0x708e[721]](_0xb3dcx2)&& setTimeout(mxUtils[_0x708e[885]](this,function(){this[_0x708e[129]]()}),0)}))};mxCellEditor[_0x708e[202]][_0x708e[129]]= function(){if(null!= this[_0x708e[1653]]){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](this[_0x708e[2111]]),_0xb3dcx3=this[_0x708e[1179]][_0x708e[2130]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx4=this[_0x708e[1179]][_0x708e[2131]](_0xb3dcx2[_0x708e[246]]);if(this[_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]])){this[_0x708e[1562]][_0x708e[235]]= _0xb3dcx2[_0x708e[2079]][_0x708e[235]],this[_0x708e[1562]][_0x708e[236]]= _0xb3dcx2[_0x708e[2079]][_0x708e[236]],this[_0x708e[1562]][_0x708e[117]]= 0,this[_0x708e[1562]][_0x708e[119]]= 0}else {if(null!= this[_0x708e[1562]]){this[_0x708e[1562]][_0x708e[235]]= _0xb3dcx2[_0x708e[235]];this[_0x708e[1562]][_0x708e[236]]= _0xb3dcx2[_0x708e[236]];this[_0x708e[1562]][_0x708e[117]]= _0xb3dcx2[_0x708e[117]];this[_0x708e[1562]][_0x708e[119]]= _0xb3dcx2[_0x708e[119]];var _0xb3dcx5=mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0xb3dcx5== mxConstants[_0x708e[2132]]?this[_0x708e[1562]][_0x708e[235]]-= _0xb3dcx2[_0x708e[117]]:_0xb3dcx5== mxConstants[_0x708e[480]]&& (this[_0x708e[1562]][_0x708e[235]]+= _0xb3dcx2[_0x708e[117]]);_0xb3dcx5= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0xb3dcx5== mxConstants[_0x708e[1687]]?this[_0x708e[1562]][_0x708e[236]]-= _0xb3dcx2[_0x708e[119]]:_0xb3dcx5== mxConstants[_0x708e[482]]&& (this[_0x708e[1562]][_0x708e[236]]+= _0xb3dcx2[_0x708e[119]])}};_0xb3dcx5= this[_0x708e[126]][_0x708e[131]];if(_0x708e[192]== _0xb3dcx5[_0x708e[225]](_0xb3dcx5[_0x708e[67]]- 1)|| _0x708e[110]== _0xb3dcx5){_0xb3dcx5+= _0x708e[544]};_0xb3dcx5= mxUtils[_0x708e[321]](_0xb3dcx5,!1);_0xb3dcx4?(this[_0x708e[1653]][_0x708e[124]][_0x708e[493]]= _0x708e[1502],this[_0x708e[1653]][_0x708e[124]][_0x708e[117]]= this[_0x708e[1562]][_0x708e[117]]+ _0x708e[168]):_0xb3dcx5= _0xb3dcx5[_0x708e[230]](/ /g,_0x708e[544]);_0xb3dcx5= _0xb3dcx5[_0x708e[230]](/\n/g,_0x708e[1453]);this[_0x708e[1653]][_0x708e[339]]= _0xb3dcx5;var _0xb3dcx5=this[_0x708e[1653]][_0x708e[359]]+ 30,_0xb3dcx9=this[_0x708e[1653]][_0x708e[167]]+ 16,_0xb3dcx5=Math[_0x708e[160]](_0xb3dcx5,40),_0xb3dcx9=Math[_0x708e[160]](_0xb3dcx9,20);_0xb3dcx3&& (_0xb3dcx5= Math[_0x708e[243]](this[_0x708e[1562]][_0x708e[117]]- 4,_0xb3dcx5),_0xb3dcx9= Math[_0x708e[243]](this[_0x708e[1562]][_0x708e[119]],_0xb3dcx9));var _0xb3dcxa=null!= _0xb3dcx2[_0x708e[963]]?_0xb3dcx2[_0x708e[963]][_0x708e[1655]]:null;null== _0xb3dcxa&& (_0xb3dcxa= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER),_0xb3dcx2= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE),_0xb3dcxa= mxUtils[_0x708e[1501]](_0xb3dcxa,_0xb3dcx2));if(null!= _0xb3dcxa){if(_0xb3dcx3|| !_0xb3dcx4){this[_0x708e[126]][_0x708e[124]][_0x708e[361]]= Math[_0x708e[160]](0,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[235]]- _0xb3dcxa[_0x708e[235]]* this[_0x708e[1562]][_0x708e[117]]+ _0xb3dcxa[_0x708e[235]]* _0xb3dcx5)- 3)+ _0x708e[168]};this[_0x708e[126]][_0x708e[124]][_0x708e[125]]= Math[_0x708e[160]](0,Math[_0x708e[488]](this[_0x708e[1562]][_0x708e[236]]- _0xb3dcxa[_0x708e[236]]* this[_0x708e[1562]][_0x708e[119]]+ _0xb3dcxa[_0x708e[236]]* _0xb3dcx9)+ 4)+ _0x708e[168]};if(_0xb3dcx3|| !_0xb3dcx4){this[_0x708e[126]][_0x708e[124]][_0x708e[117]]= _0xb3dcx5+ _0x708e[168]};this[_0x708e[126]][_0x708e[124]][_0x708e[119]]= _0xb3dcx9+ _0x708e[168]}};mxCellEditor[_0x708e[202]][_0x708e[2133]]= function(){return this[_0x708e[2113]]};mxCellEditor[_0x708e[202]][_0x708e[2128]]= function(_0xb3dcx2){this[_0x708e[2113]]= _0xb3dcx2};mxCellEditor[_0x708e[202]][_0x708e[2122]]= function(){this[_0x708e[2126]](!this[_0x708e[1179]][_0x708e[2134]]())};mxCellEditor[_0x708e[202]][_0x708e[855]]= function(_0xb3dcx2,_0xb3dcx3){null== this[_0x708e[126]]&& this[_0x708e[176]]();this[_0x708e[2126]](!0);var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);if(null!= _0xb3dcx4){this[_0x708e[2111]]= _0xb3dcx2;this[_0x708e[2112]]= _0xb3dcx3;this[_0x708e[2116]]= null;null!= _0xb3dcx4[_0x708e[963]]&& this[_0x708e[2135]](_0xb3dcx4)&& (this[_0x708e[2116]]= _0xb3dcx4[_0x708e[963]][_0x708e[252]],this[_0x708e[2116]][_0x708e[124]][_0x708e[187]]= _0x708e[188]);var _0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx5=mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_FONTSIZE,mxConstants.DEFAULT_FONTSIZE)* _0xb3dcx5,_0xb3dcx9=mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_FONTFAMILY,mxConstants.DEFAULT_FONTFAMILY),_0xb3dcxa=mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_FONTCOLOR,_0x708e[586]),_0xb3dcx12=mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT),_0xb3dcx13=(mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_FONTSTYLE,0)& mxConstants[_0x708e[1410]])== mxConstants[_0x708e[1410]],_0xb3dcx14=(mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_FONTSTYLE,0)& mxConstants[_0x708e[1412]])== mxConstants[_0x708e[1412]],_0xb3dcx15=(mxUtils[_0x708e[433]](_0xb3dcx4[_0x708e[124]],mxConstants.STYLE_FONTSTYLE,0)& mxConstants[_0x708e[1414]])== mxConstants[_0x708e[1414]];this[_0x708e[126]][_0x708e[124]][_0x708e[487]]= Math[_0x708e[488]](_0xb3dcx5)+ _0x708e[168];this[_0x708e[126]][_0x708e[124]][_0x708e[489]]= Math[_0x708e[488]](_0xb3dcx5* mxConstants[_0x708e[490]])+ _0x708e[168];this[_0x708e[126]][_0x708e[124]][_0x708e[486]]= _0xb3dcx9;this[_0x708e[126]][_0x708e[124]][_0x708e[1165]]= _0xb3dcx12;this[_0x708e[126]][_0x708e[124]][_0x708e[352]]= _0xb3dcxa;this[_0x708e[126]][_0x708e[124]][_0x708e[1452]]= _0xb3dcx13?_0x708e[1447]:_0x708e[1502];this[_0x708e[126]][_0x708e[124]][_0x708e[666]]= _0xb3dcx14?_0x708e[1449]:_0x708e[110];this[_0x708e[126]][_0x708e[124]][_0x708e[354]]= _0xb3dcx15?_0x708e[355]:_0x708e[110];this[_0x708e[126]][_0x708e[124]][_0x708e[277]]= _0x708e[278];this[_0x708e[126]][_0x708e[124]][_0x708e[2136]]= _0x708e[130];this[_0x708e[1562]]= _0xb3dcx5= this[_0x708e[2137]](_0xb3dcx4);this[_0x708e[126]][_0x708e[124]][_0x708e[361]]= _0xb3dcx5[_0x708e[235]]+ _0x708e[168];this[_0x708e[126]][_0x708e[124]][_0x708e[125]]= _0xb3dcx5[_0x708e[236]]+ _0x708e[168];this[_0x708e[126]][_0x708e[124]][_0x708e[117]]= _0xb3dcx5[_0x708e[117]]+ _0x708e[168];this[_0x708e[126]][_0x708e[124]][_0x708e[119]]= _0xb3dcx5[_0x708e[119]]+ _0x708e[168];this[_0x708e[126]][_0x708e[124]][_0x708e[931]]= 5;_0xb3dcx4= this[_0x708e[2138]](_0xb3dcx4,_0xb3dcx3);null== _0xb3dcx4|| 0== _0xb3dcx4[_0x708e[67]]?(_0xb3dcx4= this[_0x708e[2139]](),this[_0x708e[2127]]= !0):this[_0x708e[2127]]= !1;this[_0x708e[2128]](!1);this[_0x708e[126]][_0x708e[131]]= _0xb3dcx4;this[_0x708e[1179]][_0x708e[526]][_0x708e[62]](this[_0x708e[126]]);_0x708e[130]!= this[_0x708e[126]][_0x708e[124]][_0x708e[495]]&& (this[_0x708e[2114]]&& (this[_0x708e[1653]]= this[_0x708e[2140]](),document[_0x708e[112]][_0x708e[62]](this[_0x708e[1653]]),this[_0x708e[129]]()),this[_0x708e[126]][_0x708e[393]](),this[_0x708e[126]][_0x708e[804]]())}};mxCellEditor[_0x708e[202]][_0x708e[2140]]= function(){var _0xb3dcx2=document[_0x708e[55]](_0x708e[485]),_0xb3dcx3=_0xb3dcx2[_0x708e[124]];_0xb3dcx3[_0x708e[491]]= _0x708e[492];_0xb3dcx3[_0x708e[493]]= _0x708e[494];_0xb3dcx3[_0x708e[187]]= _0x708e[188];_0xb3dcx3[_0x708e[495]]= mxClient[_0x708e[496]]?_0x708e[497]:_0x708e[498];_0xb3dcx3[_0x708e[499]]= _0x708e[500];_0xb3dcx3[_0x708e[123]]= _0x708e[125];_0xb3dcx3[_0x708e[489]]= this[_0x708e[126]][_0x708e[124]][_0x708e[489]];_0xb3dcx3[_0x708e[487]]= this[_0x708e[126]][_0x708e[124]][_0x708e[487]];_0xb3dcx3[_0x708e[486]]= this[_0x708e[126]][_0x708e[124]][_0x708e[486]];_0xb3dcx3[_0x708e[1452]]= this[_0x708e[126]][_0x708e[124]][_0x708e[1452]];_0xb3dcx3[_0x708e[1165]]= this[_0x708e[126]][_0x708e[124]][_0x708e[1165]];_0xb3dcx3[_0x708e[666]]= this[_0x708e[126]][_0x708e[124]][_0x708e[666]];_0xb3dcx3[_0x708e[354]]= this[_0x708e[126]][_0x708e[124]][_0x708e[354]];return _0xb3dcx2};mxCellEditor[_0x708e[202]][_0x708e[2126]]= function(_0xb3dcx2){null!= this[_0x708e[2111]]&& (null!= this[_0x708e[2116]]&& (this[_0x708e[2116]][_0x708e[124]][_0x708e[187]]= _0x708e[189],this[_0x708e[2116]]= null),!_0xb3dcx2&& this[_0x708e[2133]]()&& this[_0x708e[1179]][_0x708e[850]](this[_0x708e[2111]],this[_0x708e[2141]](),this[_0x708e[2112]]),null!= this[_0x708e[1653]]&& (document[_0x708e[112]][_0x708e[266]](this[_0x708e[1653]]),this[_0x708e[1653]]= null),this[_0x708e[1562]]= this[_0x708e[2112]]= this[_0x708e[2111]]= null,this[_0x708e[126]][_0x708e[2121]](),this[_0x708e[126]][_0x708e[265]][_0x708e[266]](this[_0x708e[126]]))};mxCellEditor[_0x708e[202]][_0x708e[2138]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[1179]][_0x708e[2142]](_0xb3dcx2[_0x708e[246]],_0xb3dcx3)};mxCellEditor[_0x708e[202]][_0x708e[2141]]= function(){return this[_0x708e[126]][_0x708e[131]][_0x708e[230]](/\r/g,_0x708e[110])};mxCellEditor[_0x708e[202]][_0x708e[2135]]= function(_0xb3dcx2){return !0};mxCellEditor[_0x708e[202]][_0x708e[939]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]];return new mxRectangle(0,0,null== _0xb3dcx2[_0x708e[963]]?30:_0xb3dcx2[_0x708e[963]][_0x708e[803]]* _0xb3dcx3+ 20,_0x708e[361]== this[_0x708e[126]][_0x708e[124]][_0x708e[1165]]?120:40)};mxCellEditor[_0x708e[202]][_0x708e[2137]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx5=this[_0x708e[939]](_0xb3dcx2),_0xb3dcx9=_0xb3dcx5[_0x708e[117]],_0xb3dcx5=_0xb3dcx5[_0x708e[119]],_0xb3dcxa=parseInt(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2143]]]|| 2)* _0xb3dcx4,_0xb3dcx12=parseInt(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2144]]]|| 0)* _0xb3dcx4+ _0xb3dcxa,_0xb3dcx13=parseInt(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2145]]]|| 0)* _0xb3dcx4+ _0xb3dcxa,_0xb3dcx14=parseInt(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2146]]]|| 0)* _0xb3dcx4+ _0xb3dcxa,_0xb3dcx4=parseInt(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2147]]]|| 0)* _0xb3dcx4+ _0xb3dcxa,_0xb3dcx13= new mxRectangle(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],Math[_0x708e[160]](_0xb3dcx9,_0xb3dcx2[_0x708e[117]]- _0xb3dcx4- _0xb3dcx13),Math[_0x708e[160]](_0xb3dcx5,_0xb3dcx2[_0x708e[119]]- _0xb3dcx12- _0xb3dcx14));_0xb3dcx3?(_0xb3dcx13[_0x708e[235]]= _0xb3dcx2[_0x708e[2079]][_0x708e[235]],_0xb3dcx13[_0x708e[236]]= _0xb3dcx2[_0x708e[2079]][_0x708e[236]],null!= _0xb3dcx2[_0x708e[963]]&& null!= _0xb3dcx2[_0x708e[963]][_0x708e[1563]]&& (0< _0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[235]]&& (_0xb3dcx13[_0x708e[235]]= _0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[235]]),0< _0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[236]]&& (_0xb3dcx13[_0x708e[236]]= _0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[236]]))):null!= _0xb3dcx2[_0x708e[963]]&& null!= _0xb3dcx2[_0x708e[963]][_0x708e[1563]]&& (_0xb3dcx13[_0x708e[235]]= Math[_0x708e[243]](_0xb3dcx13[_0x708e[235]],_0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[235]]),_0xb3dcx13[_0x708e[236]]= Math[_0x708e[243]](_0xb3dcx13[_0x708e[236]],_0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[236]]));_0xb3dcx13[_0x708e[235]]+= _0xb3dcx4;_0xb3dcx13[_0x708e[236]]+= _0xb3dcx12;null!= _0xb3dcx2[_0x708e[963]]&& null!= _0xb3dcx2[_0x708e[963]][_0x708e[1563]]&& (_0xb3dcx3?(_0xb3dcx13[_0x708e[117]]= Math[_0x708e[160]](_0xb3dcx9,_0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[117]]),_0xb3dcx13[_0x708e[119]]= Math[_0x708e[160]](_0xb3dcx5,_0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[119]])):(_0xb3dcx13[_0x708e[117]]= Math[_0x708e[160]](_0xb3dcx13[_0x708e[117]],_0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[117]]),_0xb3dcx13[_0x708e[119]]= Math[_0x708e[160]](_0xb3dcx13[_0x708e[119]],_0xb3dcx2[_0x708e[963]][_0x708e[1563]][_0x708e[119]])));this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2[_0x708e[246]])&& (_0xb3dcx3= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER),_0xb3dcx3== mxConstants[_0x708e[2132]]?_0xb3dcx13[_0x708e[235]]-= _0xb3dcx2[_0x708e[117]]:_0xb3dcx3== mxConstants[_0x708e[480]]&& (_0xb3dcx13[_0x708e[235]]+= _0xb3dcx2[_0x708e[117]]),_0xb3dcx3= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE),_0xb3dcx3== mxConstants[_0x708e[1687]]?_0xb3dcx13[_0x708e[236]]-= _0xb3dcx2[_0x708e[119]]:_0xb3dcx3== mxConstants[_0x708e[482]]&& (_0xb3dcx13[_0x708e[236]]+= _0xb3dcx2[_0x708e[119]]));return _0xb3dcx13};mxCellEditor[_0x708e[202]][_0x708e[2139]]= function(_0xb3dcx2){return this[_0x708e[2115]]};mxCellEditor[_0x708e[202]][_0x708e[2148]]= function(){return this[_0x708e[2111]]};mxCellEditor[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[126]]&& (mxEvent[_0x708e[762]](this[_0x708e[126]]),null!= this[_0x708e[126]][_0x708e[265]]&& this[_0x708e[126]][_0x708e[265]][_0x708e[266]](this[_0x708e[126]]),this[_0x708e[126]]= null)};function mxCellRenderer(){}mxCellRenderer[_0x708e[202]][_0x708e[2149]]= mxConnector;mxCellRenderer[_0x708e[202]][_0x708e[2150]]= mxRectangleShape;mxCellRenderer[_0x708e[202]][_0x708e[2151]]= mxText;mxCellRenderer[_0x708e[202]][_0x708e[2152]]= !0;mxCellRenderer[_0x708e[202]][_0x708e[2153]]= {};mxCellRenderer[_0x708e[2154]]= function(_0xb3dcx2,_0xb3dcx3){mxCellRenderer[_0x708e[202]][_0x708e[2153]][_0xb3dcx2]= _0xb3dcx3};mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_RECTANGLE,mxRectangleShape);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_ELLIPSE,mxEllipse);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_RHOMBUS,mxRhombus);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_CYLINDER,mxCylinder);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_CONNECTOR,mxConnector);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_ACTOR,mxActor);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_TRIANGLE,mxTriangle);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_HEXAGON,mxHexagon);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_CLOUD,mxCloud);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_LINE,mxLine);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_ARROW,mxArrow);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_DOUBLE_ELLIPSE,mxDoubleEllipse);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_SWIMLANE,mxSwimlane);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_IMAGE,mxImageShape);mxCellRenderer[_0x708e[2154]](mxConstants.SHAPE_LABEL,mxLabel);mxCellRenderer[_0x708e[202]][_0x708e[2155]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]();if(null!= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[526]]&& null== _0xb3dcx2[_0x708e[253]]&& _0xb3dcx2[_0x708e[246]]!= _0xb3dcx2[_0x708e[441]][_0x708e[1741]]&& (_0xb3dcx4[_0x708e[1193]](_0xb3dcx2[_0x708e[246]])|| _0xb3dcx4[_0x708e[250]](_0xb3dcx2[_0x708e[246]]))){if(this[_0x708e[2156]](_0xb3dcx2),null!= _0xb3dcx2[_0x708e[253]]&& (null== _0xb3dcx3|| _0xb3dcx3)){this[_0x708e[2157]](_0xb3dcx2),_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2158]]|| _0xb3dcx4[_0x708e[250]](_0xb3dcx2[_0x708e[246]])?_0xb3dcx2[_0x708e[2081]]= !0:_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2159]]&& null!= this[_0x708e[2160]]&& (this[_0x708e[2160]][_0x708e[265]]== _0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]]?this[_0x708e[2161]](_0xb3dcx2,this[_0x708e[2160]]):this[_0x708e[2160]]= null),_0xb3dcx2[_0x708e[253]][_0x708e[255]]= _0xb3dcx2[_0x708e[441]][_0x708e[255]],this[_0x708e[2162]](_0xb3dcx2),this[_0x708e[2163]](_0xb3dcx2)}}};mxCellRenderer[_0x708e[202]][_0x708e[2157]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[253]][_0x708e[176]](_0xb3dcx2[_0x708e[441]][_0x708e[2024]]())};mxCellRenderer[_0x708e[202]][_0x708e[2164]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=null,_0xb3dcx5=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx9=_0xb3dcx5[_0x708e[502]](),_0xb3dcxa=_0xb3dcx2[_0x708e[246]],_0xb3dcx12=_0xb3dcx9[_0x708e[1197]](_0xb3dcxa);null!= _0xb3dcx12&& null== _0xb3dcx4;){_0xb3dcx4= this[_0x708e[2165]](_0xb3dcx5,_0xb3dcx12,_0xb3dcxa,_0xb3dcx3),_0xb3dcxa= _0xb3dcx12,_0xb3dcx12= _0xb3dcx9[_0x708e[1197]](_0xb3dcxa)};return _0xb3dcx4};mxCellRenderer[_0x708e[202]][_0x708e[2165]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null,_0xb3dcxa=_0xb3dcx2[_0x708e[502]]();for(_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx3[_0x708e[1738]](_0xb3dcx4)- 1:_0xb3dcxa[_0x708e[262]](_0xb3dcx3)- 1;0<= _0xb3dcx4&& null== _0xb3dcx9;_0xb3dcx4--){_0xb3dcx9= this[_0x708e[2165]](_0xb3dcx2,_0xb3dcxa[_0x708e[263]](_0xb3dcx3,_0xb3dcx4),null,_0xb3dcx5)};if(null== _0xb3dcx9&& (_0xb3dcx9= _0xb3dcx2[_0x708e[441]][_0x708e[248]](_0xb3dcx3),null!= _0xb3dcx9&& (null== _0xb3dcx9[_0x708e[253]]|| null== _0xb3dcx9[_0x708e[253]][_0x708e[252]]|| _0xb3dcx9[_0x708e[253]][_0x708e[252]][_0x708e[265]]!= _0xb3dcx5))){_0xb3dcx9= null};return _0xb3dcx9};mxCellRenderer[_0x708e[202]][_0x708e[2166]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]],_0xb3dcx4=this[_0x708e[2164]](_0xb3dcx2,_0xb3dcx3),_0xb3dcx5=_0xb3dcx3[_0x708e[285]];null!= _0xb3dcx4&& (_0xb3dcx5= _0xb3dcx4[_0x708e[253]][_0x708e[252]],null!= _0xb3dcx4[_0x708e[963]]&& (null!= _0xb3dcx4[_0x708e[963]][_0x708e[252]]&& _0xb3dcx4[_0x708e[963]][_0x708e[252]][_0x708e[265]]== _0xb3dcx3)&& (_0xb3dcx5= _0xb3dcx4[_0x708e[963]][_0x708e[252]]),_0xb3dcx5= _0xb3dcx5[_0x708e[287]]);this[_0x708e[2161]](_0xb3dcx2,_0xb3dcx5)};mxCellRenderer[_0x708e[202]][_0x708e[2167]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]],_0xb3dcx4=_0xb3dcx3[_0x708e[1179]][_0x708e[502]]();if(_0xb3dcx3[_0x708e[1179]][_0x708e[2159]]){if(null== this[_0x708e[2160]]|| null== this[_0x708e[2160]][_0x708e[265]]|| this[_0x708e[2160]][_0x708e[265]]!= _0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]]){this[_0x708e[2160]]= _0xb3dcx2[_0x708e[253]][_0x708e[252]]}}else {if(_0xb3dcx3[_0x708e[1179]][_0x708e[2168]]){var _0xb3dcx5=_0xb3dcx2[_0x708e[253]][_0x708e[252]],_0xb3dcx9=_0xb3dcx5[_0x708e[265]],_0xb3dcx4=_0xb3dcx4[_0x708e[1197]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx3=_0xb3dcx3[_0x708e[248]](_0xb3dcx4),_0xb3dcx9=null!= _0xb3dcx3&& null!= _0xb3dcx3[_0x708e[253]]&& null!= _0xb3dcx3[_0x708e[253]][_0x708e[252]]?_0xb3dcx3[_0x708e[253]][_0x708e[252]][_0x708e[287]]:_0xb3dcx9[_0x708e[285]];null!= _0xb3dcx9&& _0xb3dcx9!= _0xb3dcx5&& this[_0x708e[2161]](_0xb3dcx2,_0xb3dcx9)}}};mxCellRenderer[_0x708e[202]][_0x708e[2161]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]][_0x708e[950]](_0xb3dcx2[_0x708e[253]][_0x708e[252]],_0xb3dcx3);null!= _0xb3dcx2[_0x708e[963]]&& (null!= _0xb3dcx2[_0x708e[963]][_0x708e[252]]&& _0xb3dcx2[_0x708e[963]][_0x708e[252]][_0x708e[265]]== _0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]])&& _0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]][_0x708e[950]](_0xb3dcx2[_0x708e[963]][_0x708e[252]],_0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[287]])};mxCellRenderer[_0x708e[202]][_0x708e[2156]]= function(_0xb3dcx2){if(null!= _0xb3dcx2[_0x708e[124]]){var _0xb3dcx3=mxStencilRegistry[_0x708e[1560]](_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2059]]]);null!= _0xb3dcx3?_0xb3dcx2[_0x708e[253]]= new mxShape(_0xb3dcx3):(_0xb3dcx3= this[_0x708e[2169]](_0xb3dcx2),_0xb3dcx2[_0x708e[253]]= new _0xb3dcx3);_0xb3dcx2[_0x708e[253]][_0x708e[1525]]= _0xb3dcx2[_0x708e[439]];_0xb3dcx2[_0x708e[253]][_0x708e[1562]]= new mxRectangle(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],_0xb3dcx2[_0x708e[117]],_0xb3dcx2[_0x708e[119]]);_0xb3dcx2[_0x708e[253]][_0x708e[507]]= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[507]];this[_0x708e[2170]](_0xb3dcx2)}};mxCellRenderer[_0x708e[202]][_0x708e[2171]]= function(_0xb3dcx2){return null!= _0xb3dcx2?mxCellRenderer[_0x708e[202]][_0x708e[2153]][_0xb3dcx2]:null};mxCellRenderer[_0x708e[202]][_0x708e[2169]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[2171]](_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2059]]]);null== _0xb3dcx3&& (_0xb3dcx3= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]])?this[_0x708e[2149]]:this[_0x708e[2150]]);return _0xb3dcx3};mxCellRenderer[_0x708e[202]][_0x708e[2170]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[253]][_0x708e[183]](_0xb3dcx2);_0xb3dcx2[_0x708e[253]][_0x708e[618]]= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[1202]](_0xb3dcx2);_0xb3dcx2[_0x708e[253]][_0x708e[630]]= this[_0x708e[2171]](_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2172]](_0xb3dcx2));_0xb3dcx2[_0x708e[253]][_0x708e[632]]= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2173]](_0xb3dcx2);_0xb3dcx2[_0x708e[253]][_0x708e[634]]= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2174]](_0xb3dcx2);_0xb3dcx2[_0x708e[253]][_0x708e[638]]= _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2175]]];_0xb3dcx2[_0x708e[253]][_0x708e[631]]= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2176]](_0xb3dcx2);this[_0x708e[2177]](_0xb3dcx2)};mxCellRenderer[_0x708e[202]][_0x708e[2177]]= function(_0xb3dcx2){null!= _0xb3dcx2[_0x708e[253]]&& (this[_0x708e[2178]](_0xb3dcx2,_0x708e[632],mxConstants.STYLE_FILLCOLOR),this[_0x708e[2178]](_0xb3dcx2,_0x708e[634],mxConstants.STYLE_GRADIENTCOLOR),this[_0x708e[2178]](_0xb3dcx2,_0x708e[1334],mxConstants.STYLE_FILLCOLOR),this[_0x708e[2178]](_0xb3dcx2,_0x708e[1336],mxConstants.STYLE_STROKECOLOR),this[_0x708e[2178]](_0xb3dcx2,_0x708e[1299],mxConstants.STYLE_GRADIENTCOLOR))};mxCellRenderer[_0x708e[202]][_0x708e[2178]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[253]][_0xb3dcx3],_0xb3dcx9=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcxa=null;_0x708e[1549]== _0xb3dcx5?_0xb3dcxa= _0xb3dcx9[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0x708e[246]]):_0x708e[687]== _0xb3dcx5?(_0xb3dcxa= null!= _0xb3dcx9[_0x708e[251]][_0x708e[1709]](_0xb3dcx2[_0x708e[246]],!1)?_0xb3dcx9[_0x708e[251]][_0x708e[1709]](_0xb3dcx2[_0x708e[246]],!1):_0xb3dcx2[_0x708e[246]],_0xb3dcxa= _0xb3dcx9[_0x708e[2179]](_0xb3dcxa),_0xb3dcx4= _0xb3dcx9[_0x708e[2180]]):_0x708e[2181]== _0xb3dcx5&& (_0xb3dcx2[_0x708e[253]][_0xb3dcx3]= _0xb3dcx2[_0x708e[253]][_0x708e[632]]);null!= _0xb3dcxa&& (_0xb3dcx5= _0xb3dcx9[_0x708e[249]]()[_0x708e[248]](_0xb3dcxa),_0xb3dcx2[_0x708e[253]][_0xb3dcx3]= null,null!= _0xb3dcx5&& (_0xb3dcx2[_0x708e[253]][_0xb3dcx3]= null!= _0xb3dcx5[_0x708e[253]]&& _0x708e[632]!= _0xb3dcx3?_0xb3dcx5[_0x708e[253]][_0xb3dcx3]:_0xb3dcx5[_0x708e[124]][_0xb3dcx4]))};mxCellRenderer[_0x708e[202]][_0x708e[2182]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2183]](_0xb3dcx2[_0x708e[246]])};mxCellRenderer[_0x708e[202]][_0x708e[2184]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[441]][_0x708e[1179]];_0xb3dcx4[_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]]);if(0< _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2185]]]|| null== _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2185]]]){var _0xb3dcx5=_0xb3dcx4[_0x708e[2186]](_0xb3dcx2[_0x708e[246]])|| null!= _0xb3dcx3&& mxUtils[_0x708e[1331]](_0xb3dcx3);_0xb3dcx2[_0x708e[963]]= new this[_0x708e[2151]](_0xb3dcx3, new mxRectangle,_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2064]]]|| mxConstants[_0x708e[479]],_0xb3dcx4[_0x708e[2187]](_0xb3dcx2),_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2069]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2188]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2185]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2189]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2143]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2144]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2145]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2146]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2147]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2190]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2191]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2192]]],_0xb3dcx4[_0x708e[2131]](_0xb3dcx2[_0x708e[246]])&& _0xb3dcx4[_0x708e[2186]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx4[_0x708e[2130]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2193]]],_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2194]]]);_0xb3dcx2[_0x708e[963]][_0x708e[461]]= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_TEXT_OPACITY,100);_0xb3dcx2[_0x708e[963]][_0x708e[507]]= _0xb3dcx5?mxConstants[_0x708e[1656]]:_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[507]];_0xb3dcx2[_0x708e[963]][_0x708e[724]]= _0xb3dcx2;this[_0x708e[2195]](_0xb3dcx2);var _0xb3dcx9=!1,_0xb3dcxa=function(_0xb3dcx3){var _0xb3dcx5=_0xb3dcx2;if(mxClient[_0x708e[754]]|| _0xb3dcx9){_0xb3dcx5= mxEvent[_0x708e[731]](_0xb3dcx3),_0xb3dcx3= mxEvent[_0x708e[733]](_0xb3dcx3),_0xb3dcx3= mxUtils[_0x708e[2196]](_0xb3dcx4[_0x708e[526]],_0xb3dcx5,_0xb3dcx3),_0xb3dcx5= _0xb3dcx4[_0x708e[441]][_0x708e[248]](_0xb3dcx4[_0x708e[999]](_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]]))};return _0xb3dcx5};mxEvent[_0x708e[759]](_0xb3dcx2[_0x708e[963]][_0x708e[252]],mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2197]](_0xb3dcx2,_0xb3dcx3)&& (_0xb3dcx4[_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx3,_0xb3dcx2)),_0xb3dcx9= _0xb3dcx4[_0x708e[507]]!= mxConstants[_0x708e[508]]&& _0x708e[2198]== mxEvent[_0x708e[728]](_0xb3dcx3)[_0x708e[301]])}),mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2197]](_0xb3dcx2,_0xb3dcx3)&& _0xb3dcx4[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx3,_0xb3dcxa(_0xb3dcx3)))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2197]](_0xb3dcx2,_0xb3dcx3)&& (_0xb3dcx4[_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx3,_0xb3dcxa(_0xb3dcx3))),_0xb3dcx9= !1)}));mxEvent[_0x708e[169]](_0xb3dcx2[_0x708e[963]][_0x708e[252]],_0x708e[760],mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2197]](_0xb3dcx2,_0xb3dcx3)&& (_0xb3dcx4[_0x708e[761]](_0xb3dcx3,_0xb3dcx2[_0x708e[246]]),mxEvent[_0x708e[722]](_0xb3dcx3))}))}};mxCellRenderer[_0x708e[202]][_0x708e[2195]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]][_0x708e[1179]];_0xb3dcx2[_0x708e[963]][_0x708e[507]]!= mxConstants[_0x708e[508]]&& (mxClient[_0x708e[48]]&& mxClient[_0x708e[2199]]?_0xb3dcx2[_0x708e[963]][_0x708e[176]](_0xb3dcx3[_0x708e[526]]):mxUtils[_0x708e[458]](_0xb3dcx2[_0x708e[441]][_0x708e[2024]]())&& (null!= _0xb3dcx2[_0x708e[253]][_0x708e[685]]?_0xb3dcx2[_0x708e[963]][_0x708e[176]](_0xb3dcx2[_0x708e[253]][_0x708e[685]]):_0xb3dcx2[_0x708e[963]][_0x708e[176]](_0xb3dcx2[_0x708e[253]][_0x708e[252]])));null== _0xb3dcx2[_0x708e[963]][_0x708e[252]]&& (_0xb3dcx2[_0x708e[963]][_0x708e[176]](_0xb3dcx2[_0x708e[441]][_0x708e[2024]]()),null!= _0xb3dcx2[_0x708e[253]]&& null!= _0xb3dcx2[_0x708e[963]]&& _0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[265]][_0x708e[950]](_0xb3dcx2[_0x708e[963]][_0x708e[252]],_0xb3dcx2[_0x708e[253]][_0x708e[252]][_0x708e[287]]))};mxCellRenderer[_0x708e[202]][_0x708e[2162]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2200]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx4=null;if(null!= _0xb3dcx3){for(var _0xb3dcx4= new mxDictionary,_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=null!= _0xb3dcx2[_0x708e[1211]]?_0xb3dcx2[_0x708e[1211]][_0x708e[205]](_0xb3dcx3[_0xb3dcx5]):null;null== _0xb3dcx9&& (_0xb3dcx9= new mxImageShape( new mxRectangle,_0xb3dcx3[_0xb3dcx5][_0x708e[618]][_0x708e[390]]),_0xb3dcx9[_0x708e[507]]= _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[507]],_0xb3dcx9[_0x708e[1674]]= !1,_0xb3dcx9[_0x708e[2201]]= _0xb3dcx3[_0xb3dcx5],this[_0x708e[2023]](_0xb3dcx2,_0xb3dcx9),this[_0x708e[2202]](_0xb3dcx2,_0xb3dcx3[_0xb3dcx5],_0xb3dcx9),null!= _0xb3dcx3[_0xb3dcx5][_0x708e[270]]&& (_0xb3dcx9[_0x708e[252]][_0x708e[124]][_0x708e[270]]= _0xb3dcx3[_0xb3dcx5][_0x708e[270]]));_0xb3dcx4[_0x708e[204]](_0xb3dcx3[_0xb3dcx5],_0xb3dcx9)}};null!= _0xb3dcx2[_0x708e[1211]]&& _0xb3dcx2[_0x708e[1211]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[515]]()});_0xb3dcx2[_0x708e[1211]]= _0xb3dcx4};mxCellRenderer[_0x708e[202]][_0x708e[2023]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[176]](_0xb3dcx2[_0x708e[441]][_0x708e[1524]]())};mxCellRenderer[_0x708e[202]][_0x708e[2202]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[441]][_0x708e[1179]];mxEvent[_0x708e[169]](_0xb3dcx4[_0x708e[252]],_0x708e[173],function(_0xb3dcx4){_0xb3dcx5[_0x708e[2203]]()&& _0xb3dcx5[_0x708e[2126]](!_0xb3dcx5[_0x708e[2134]]());_0xb3dcx3[_0x708e[746]]( new mxEventObject(mxEvent.CLICK,_0x708e[763],_0xb3dcx4,_0x708e[246],_0xb3dcx2[_0x708e[246]]))});mxEvent[_0x708e[759]](_0xb3dcx4[_0x708e[252]],function(_0xb3dcx2){mxEvent[_0x708e[722]](_0xb3dcx2)},function(_0xb3dcx3){_0xb3dcx5[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx3,_0xb3dcx2))});mxClient[_0x708e[754]]&& mxEvent[_0x708e[169]](_0xb3dcx4[_0x708e[252]],_0x708e[757],function(_0xb3dcx4){_0xb3dcx3[_0x708e[746]]( new mxEventObject(mxEvent.CLICK,_0x708e[763],_0xb3dcx4,_0x708e[246],_0xb3dcx2[_0x708e[246]]))})};mxCellRenderer[_0x708e[202]][_0x708e[2204]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx4=_0xb3dcx3[_0x708e[2205]](_0xb3dcx2);if(_0xb3dcx3[_0x708e[2206]]&& null!= _0xb3dcx4){if(null== _0xb3dcx2[_0x708e[2207]]){var _0xb3dcx5= new mxRectangle(0,0,_0xb3dcx4[_0x708e[117]],_0xb3dcx4[_0x708e[119]]);_0xb3dcx2[_0x708e[2207]]= new mxImageShape(_0xb3dcx5,_0xb3dcx4[_0x708e[390]]);_0xb3dcx2[_0x708e[2207]][_0x708e[1674]]= !1;_0xb3dcx2[_0x708e[2207]][_0x708e[507]]= _0xb3dcx3[_0x708e[507]];this[_0x708e[2208]](_0xb3dcx2,_0xb3dcx2[_0x708e[2207]],!0,function(_0xb3dcx4){if(_0xb3dcx3[_0x708e[994]]()){var _0xb3dcx5=!_0xb3dcx3[_0x708e[1742]](_0xb3dcx2[_0x708e[246]]);_0xb3dcx3[_0x708e[847]](_0xb3dcx5,!1,[_0xb3dcx2[_0x708e[246]]]);mxEvent[_0x708e[722]](_0xb3dcx4)}})}}else {null!= _0xb3dcx2[_0x708e[2207]]&& (_0xb3dcx2[_0x708e[2207]][_0x708e[515]](),_0xb3dcx2[_0x708e[2207]]= null)}};mxCellRenderer[_0x708e[202]][_0x708e[2208]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[_0x708e[441]][_0x708e[1179]];_0xb3dcx9[_0x708e[2186]](_0xb3dcx2[_0x708e[246]])&& mxClient[_0x708e[2199]]&& _0xb3dcx9[_0x708e[507]]== mxConstants[_0x708e[508]]?(_0xb3dcx3[_0x708e[507]]= mxConstants[_0x708e[2209]],_0xb3dcx3[_0x708e[176]](_0xb3dcx9[_0x708e[526]]),_0xb3dcx3[_0x708e[252]][_0x708e[124]][_0x708e[931]]= 1):_0xb3dcx3[_0x708e[176]](_0xb3dcx2[_0x708e[441]][_0x708e[1524]]());_0xb3dcx3= _0xb3dcx3[_0x708e[2210]]|| _0xb3dcx3[_0x708e[252]];_0xb3dcx5&& (_0xb3dcx9[_0x708e[994]]()&& (_0xb3dcx3[_0x708e[124]][_0x708e[270]]= _0x708e[356]),mxEvent[_0x708e[169]](_0xb3dcx3,_0x708e[173],_0xb3dcx5));_0xb3dcx4&& mxEvent[_0x708e[759]](_0xb3dcx3,function(_0xb3dcx3){_0xb3dcx9[_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx3,_0xb3dcx2));mxEvent[_0x708e[722]](_0xb3dcx3)},function(_0xb3dcx3){_0xb3dcx9[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx3,_0xb3dcx2))});return _0xb3dcx3};mxCellRenderer[_0x708e[202]][_0x708e[2211]]= function(_0xb3dcx2,_0xb3dcx3){return !0};mxCellRenderer[_0x708e[202]][_0x708e[2197]]= function(_0xb3dcx2,_0xb3dcx3){return !0};mxCellRenderer[_0x708e[202]][_0x708e[2163]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx4=function(_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2;if(_0xb3dcx3[_0x708e[507]]!= mxConstants[_0x708e[508]]&& _0x708e[2198]== mxEvent[_0x708e[728]](_0xb3dcx4)[_0x708e[301]]|| mxClient[_0x708e[754]]){_0xb3dcx5= mxEvent[_0x708e[731]](_0xb3dcx4),_0xb3dcx4= mxEvent[_0x708e[733]](_0xb3dcx4),_0xb3dcx4= mxUtils[_0x708e[2196]](_0xb3dcx3[_0x708e[526]],_0xb3dcx5,_0xb3dcx4),_0xb3dcx5= _0xb3dcx3[_0x708e[441]][_0x708e[248]](_0xb3dcx3[_0x708e[999]](_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]]))};return _0xb3dcx5},_0xb3dcx5=!1;mxEvent[_0x708e[169]](_0xb3dcx2[_0x708e[253]][_0x708e[252]],_0x708e[2212],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx3[_0x708e[2213]]= 0;_0xb3dcx5= !0;mxEvent[_0x708e[722]](_0xb3dcx2)}));mxEvent[_0x708e[759]](_0xb3dcx2[_0x708e[253]][_0x708e[252]],mxUtils[_0x708e[885]](this,function(_0xb3dcx4){this[_0x708e[2211]](_0xb3dcx2,_0xb3dcx4)&& !_0xb3dcx5?_0xb3dcx3[_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx4,null!= _0xb3dcx2[_0x708e[253]]&& mxEvent[_0x708e[728]](_0xb3dcx4)== _0xb3dcx2[_0x708e[253]][_0x708e[905]]?null:_0xb3dcx2)):_0xb3dcx5&& mxEvent[_0x708e[722]](_0xb3dcx4)}),mxUtils[_0x708e[885]](this,function(_0xb3dcx9){this[_0x708e[2211]](_0xb3dcx2,_0xb3dcx9)&& !_0xb3dcx5?_0xb3dcx3[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx9,null!= _0xb3dcx2[_0x708e[253]]&& mxEvent[_0x708e[728]](_0xb3dcx9)== _0xb3dcx2[_0x708e[253]][_0x708e[905]]?null:_0xb3dcx4(_0xb3dcx9))):_0xb3dcx5&& mxEvent[_0x708e[722]](_0xb3dcx9)}),mxUtils[_0x708e[885]](this,function(_0xb3dcx9){this[_0x708e[2211]](_0xb3dcx2,_0xb3dcx9)&& !_0xb3dcx5?_0xb3dcx3[_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx9,null!= _0xb3dcx2[_0x708e[253]]&& mxEvent[_0x708e[728]](_0xb3dcx9)== _0xb3dcx2[_0x708e[253]][_0x708e[905]]?null:_0xb3dcx4(_0xb3dcx9))):_0xb3dcx5&& mxEvent[_0x708e[722]](_0xb3dcx9)}));var _0xb3dcx9=mxClient[_0x708e[754]]?_0x708e[2214]:_0x708e[760];mxEvent[_0x708e[169]](_0xb3dcx2[_0x708e[253]][_0x708e[252]],_0xb3dcx9,mxUtils[_0x708e[885]](this,function(_0xb3dcx4){_0xb3dcx5= !1;_0x708e[2214]== _0xb3dcx9?(_0xb3dcx3[_0x708e[2213]]= 0,_0xb3dcx3[_0x708e[2215]]&& (_0xb3dcx3[_0x708e[2216]](_0xb3dcx2,_0xb3dcx4),mxEvent[_0x708e[722]](_0xb3dcx4))):this[_0x708e[2211]](_0xb3dcx2,_0xb3dcx4)&& (_0xb3dcx3[_0x708e[761]](_0xb3dcx4,null!= _0xb3dcx2[_0x708e[253]]&& mxEvent[_0x708e[728]](_0xb3dcx4)== _0xb3dcx2[_0x708e[253]][_0x708e[905]]?null:_0xb3dcx2[_0x708e[246]]),mxEvent[_0x708e[722]](_0xb3dcx4))}))};mxCellRenderer[_0x708e[202]][_0x708e[2217]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[2182]](_0xb3dcx2);if(null== _0xb3dcx2[_0x708e[963]]&& null!= _0xb3dcx4&& (mxUtils[_0x708e[1331]](_0xb3dcx4)|| 0< _0xb3dcx4[_0x708e[67]])){this[_0x708e[2184]](_0xb3dcx2,_0xb3dcx4)}else {if(null!= _0xb3dcx2[_0x708e[963]]&& (null== _0xb3dcx4|| 0== _0xb3dcx4[_0x708e[67]])){_0xb3dcx2[_0x708e[963]][_0x708e[515]](),_0xb3dcx2[_0x708e[963]]= null}};if(null!= _0xb3dcx2[_0x708e[963]]){var _0xb3dcx5=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx9=_0xb3dcx5[_0x708e[2131]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx5=_0xb3dcx5[_0x708e[2130]](_0xb3dcx2[_0x708e[246]]),_0xb3dcxa=this[_0x708e[2218]](_0xb3dcx2);if(_0xb3dcx3|| _0xb3dcx2[_0x708e[963]][_0x708e[131]]!= _0xb3dcx4|| _0xb3dcx2[_0x708e[963]][_0x708e[2131]]!= _0xb3dcx9|| _0xb3dcx2[_0x708e[963]][_0x708e[2219]]!= _0xb3dcx5|| _0xb3dcx2[_0x708e[963]][_0x708e[255]]!= _0xb3dcx2[_0x708e[441]][_0x708e[255]]|| !_0xb3dcx2[_0x708e[963]][_0x708e[1562]][_0x708e[237]](_0xb3dcxa)){_0xb3dcx2[_0x708e[963]][_0x708e[131]]= _0xb3dcx4,_0xb3dcx2[_0x708e[963]][_0x708e[1562]]= _0xb3dcxa,_0xb3dcx2[_0x708e[963]][_0x708e[255]]= this[_0x708e[2220]](_0xb3dcx2),_0xb3dcx2[_0x708e[963]][_0x708e[2131]]= _0xb3dcx9,_0xb3dcx2[_0x708e[963]][_0x708e[2219]]= _0xb3dcx5,_0xb3dcx2[_0x708e[963]][_0x708e[258]]()}}};mxCellRenderer[_0x708e[202]][_0x708e[2220]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[441]][_0x708e[255]]};mxCellRenderer[_0x708e[202]][_0x708e[2218]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx4=_0xb3dcx2[_0x708e[441]][_0x708e[255]],_0xb3dcx5=_0xb3dcx3[_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx9= new mxRectangle(_0xb3dcx2[_0x708e[2079]][_0x708e[235]],_0xb3dcx2[_0x708e[2079]][_0x708e[236]]);_0xb3dcx2[_0x708e[963]][_0x708e[1672]]();_0xb3dcx5?(_0xb3dcx5= _0xb3dcx2[_0x708e[963]][_0x708e[1673]](),_0xb3dcx9[_0x708e[235]]+= _0xb3dcx5[_0x708e[235]]* _0xb3dcx4,_0xb3dcx9[_0x708e[236]]+= _0xb3dcx5[_0x708e[236]]* _0xb3dcx4,_0xb3dcx3= _0xb3dcx3[_0x708e[1198]](_0xb3dcx2[_0x708e[246]]),null!= _0xb3dcx3&& (_0xb3dcx9[_0x708e[117]]= Math[_0x708e[160]](0,_0xb3dcx2[_0x708e[963]][_0x708e[1655]][_0x708e[235]]* _0xb3dcx3[_0x708e[117]]* _0xb3dcx4- _0xb3dcx2[_0x708e[963]][_0x708e[659]]* _0xb3dcx4- _0xb3dcx2[_0x708e[963]][_0x708e[661]]* _0xb3dcx4),_0xb3dcx9[_0x708e[119]]= Math[_0x708e[160]](0,_0xb3dcx2[_0x708e[963]][_0x708e[1655]][_0x708e[236]]* _0xb3dcx3[_0x708e[119]]* _0xb3dcx4- _0xb3dcx2[_0x708e[963]][_0x708e[658]]* _0xb3dcx4- _0xb3dcx2[_0x708e[963]][_0x708e[660]]* _0xb3dcx4))):(_0xb3dcx2[_0x708e[963]][_0x708e[1590]]()&& (_0xb3dcx5= _0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[235]]= _0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[236]]= _0xb3dcx5),_0xb3dcx9[_0x708e[235]]+= _0xb3dcx2[_0x708e[235]],_0xb3dcx9[_0x708e[236]]+= _0xb3dcx2[_0x708e[236]],_0xb3dcx9[_0x708e[117]]= Math[_0x708e[160]](1,_0xb3dcx2[_0x708e[117]]),_0xb3dcx9[_0x708e[119]]= Math[_0x708e[160]](1,_0xb3dcx2[_0x708e[119]]),_0xb3dcx3[_0x708e[1730]](_0xb3dcx2[_0x708e[246]])&& (_0xb3dcx3= _0xb3dcx3[_0x708e[1731]](_0xb3dcx2[_0x708e[246]]),0< _0xb3dcx3[_0x708e[117]]?(_0xb3dcx5= Math[_0x708e[243]](_0xb3dcx9[_0x708e[117]],_0xb3dcx3[_0x708e[117]]* _0xb3dcx4),_0xb3dcx2[_0x708e[253]][_0x708e[623]]&& (_0xb3dcx9[_0x708e[235]]+= _0xb3dcx9[_0x708e[117]]- _0xb3dcx5),_0xb3dcx9[_0x708e[117]]= _0xb3dcx5):0< _0xb3dcx3[_0x708e[119]]&& (_0xb3dcx5= Math[_0x708e[243]](_0xb3dcx9[_0x708e[119]],_0xb3dcx3[_0x708e[119]]* _0xb3dcx4),_0xb3dcx2[_0x708e[253]][_0x708e[624]]&& (_0xb3dcx9[_0x708e[236]]+= _0xb3dcx9[_0x708e[119]]- _0xb3dcx5),_0xb3dcx9[_0x708e[119]]= _0xb3dcx5)),this[_0x708e[2221]](_0xb3dcx2,_0xb3dcx9));return _0xb3dcx9};mxCellRenderer[_0x708e[202]][_0x708e[2221]]= function(_0xb3dcx2,_0xb3dcx3){if(_0xb3dcx2[_0x708e[963]][_0x708e[1590]]()){var _0xb3dcx4=(_0xb3dcx2[_0x708e[117]]- _0xb3dcx2[_0x708e[119]])/ 2;_0xb3dcx3[_0x708e[235]]+= _0xb3dcx4;_0xb3dcx3[_0x708e[236]]-= _0xb3dcx4;_0xb3dcx4= _0xb3dcx3[_0x708e[117]];_0xb3dcx3[_0x708e[117]]= _0xb3dcx3[_0x708e[119]];_0xb3dcx3[_0x708e[119]]= _0xb3dcx4};_0xb3dcx3[_0x708e[235]]-= _0xb3dcx2[_0x708e[963]][_0x708e[1655]][_0x708e[235]]* _0xb3dcx3[_0x708e[117]];_0xb3dcx3[_0x708e[236]]-= _0xb3dcx2[_0x708e[963]][_0x708e[1655]][_0x708e[236]]* _0xb3dcx3[_0x708e[119]];if(_0x708e[1334]!= _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2193]]]){var _0xb3dcx4=_0xb3dcx2[_0x708e[441]][_0x708e[255]],_0xb3dcx5=_0xb3dcx2[_0x708e[963]][_0x708e[1673]]();_0xb3dcx3[_0x708e[235]]+= _0xb3dcx5[_0x708e[235]]* _0xb3dcx4;_0xb3dcx3[_0x708e[236]]+= _0xb3dcx5[_0x708e[236]]* _0xb3dcx4;_0xb3dcx3[_0x708e[117]]= Math[_0x708e[160]](0,_0xb3dcx3[_0x708e[117]]- _0xb3dcx2[_0x708e[963]][_0x708e[659]]* _0xb3dcx4- _0xb3dcx2[_0x708e[963]][_0x708e[661]]* _0xb3dcx4);_0xb3dcx3[_0x708e[119]]= Math[_0x708e[160]](0,_0xb3dcx3[_0x708e[119]]- _0xb3dcx2[_0x708e[963]][_0x708e[658]]* _0xb3dcx4- _0xb3dcx2[_0x708e[963]][_0x708e[660]]* _0xb3dcx4)};var _0xb3dcx9=_0xb3dcx2[_0x708e[963]][_0x708e[1615]]();if(0!= _0xb3dcx9&& (null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[251]][_0x708e[1193]](_0xb3dcx2[_0x708e[246]]))&& (_0xb3dcx4= _0xb3dcx2[_0x708e[241]](),_0xb3dcx5= _0xb3dcx2[_0x708e[242]](),_0xb3dcx3[_0x708e[235]]!= _0xb3dcx4|| _0xb3dcx3[_0x708e[236]]!= _0xb3dcx5)){_0xb3dcx9*= Math[_0x708e[424]]/ 180,pt= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]]),Math[_0x708e[426]](_0xb3dcx9),Math[_0x708e[427]](_0xb3dcx9), new mxPoint(_0xb3dcx4,_0xb3dcx5)),_0xb3dcx3[_0x708e[235]]= pt[_0x708e[235]],_0xb3dcx3[_0x708e[236]]= pt[_0x708e[236]]}};mxCellRenderer[_0x708e[202]][_0x708e[2222]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2162]](_0xb3dcx2);if(null!= _0xb3dcx2[_0x708e[1211]]){var _0xb3dcx4=mxUtils[_0x708e[1454]](mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION,0),90),_0xb3dcx5=mxUtils[_0x708e[431]](_0xb3dcx4),_0xb3dcx9=Math[_0x708e[426]](_0xb3dcx5),_0xb3dcxa=Math[_0x708e[427]](_0xb3dcx5);_0xb3dcx2[_0x708e[1211]][_0x708e[209]](function(_0xb3dcx5,_0xb3dcx13){var _0xb3dcx14=_0xb3dcx13[_0x708e[2201]][_0x708e[1799]](_0xb3dcx2);if(!_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]])&& null!= _0xb3dcx2[_0x708e[253]]&& 0!= _0xb3dcx4){var _0xb3dcx15=_0xb3dcx14[_0x708e[241]](),_0xb3dcx16=_0xb3dcx14[_0x708e[242]](),_0xb3dcx16=mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx15,_0xb3dcx16),_0xb3dcx9,_0xb3dcxa, new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]())),_0xb3dcx15=_0xb3dcx16[_0x708e[235]],_0xb3dcx16=_0xb3dcx16[_0x708e[236]];_0xb3dcx14[_0x708e[235]]= Math[_0x708e[488]](_0xb3dcx15- _0xb3dcx14[_0x708e[117]]/ 2);_0xb3dcx14[_0x708e[236]]= Math[_0x708e[488]](_0xb3dcx16- _0xb3dcx14[_0x708e[119]]/ 2)};if(_0xb3dcx3|| null== _0xb3dcx13[_0x708e[1562]]|| _0xb3dcx13[_0x708e[255]]!= _0xb3dcx2[_0x708e[441]][_0x708e[255]]|| !_0xb3dcx13[_0x708e[1562]][_0x708e[237]](_0xb3dcx14)){_0xb3dcx13[_0x708e[1562]]= _0xb3dcx14,_0xb3dcx13[_0x708e[255]]= _0xb3dcx2[_0x708e[441]][_0x708e[255]],_0xb3dcx13[_0x708e[258]]()}})}};mxCellRenderer[_0x708e[202]][_0x708e[2223]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2[_0x708e[2207]]){var _0xb3dcx4=this[_0x708e[2224]](_0xb3dcx2),_0xb3dcx5=this[_0x708e[2152]]?mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION,0):_0xb3dcx2[_0x708e[253]][_0x708e[1615]](),_0xb3dcx9=_0xb3dcx2[_0x708e[441]][_0x708e[255]];if(_0xb3dcx3|| _0xb3dcx2[_0x708e[2207]][_0x708e[255]]!= _0xb3dcx9|| !_0xb3dcx2[_0x708e[2207]][_0x708e[1562]][_0x708e[237]](_0xb3dcx4)|| _0xb3dcx2[_0x708e[2207]][_0x708e[603]]!= _0xb3dcx5){_0xb3dcx2[_0x708e[2207]][_0x708e[603]]= _0xb3dcx5,_0xb3dcx2[_0x708e[2207]][_0x708e[1562]]= _0xb3dcx4,_0xb3dcx2[_0x708e[2207]][_0x708e[255]]= _0xb3dcx9,_0xb3dcx2[_0x708e[2207]][_0x708e[258]]()}}};mxCellRenderer[_0x708e[202]][_0x708e[2224]]= function(_0xb3dcx2){if(null!= _0xb3dcx2[_0x708e[2207]]){var _0xb3dcx3=_0xb3dcx2[_0x708e[2207]][_0x708e[255]],_0xb3dcx4=_0xb3dcx2[_0x708e[2207]][_0x708e[1562]][_0x708e[117]]/ _0xb3dcx3,_0xb3dcx3=_0xb3dcx2[_0x708e[2207]][_0x708e[1562]][_0x708e[119]]/ _0xb3dcx3,_0xb3dcx5=_0xb3dcx2[_0x708e[441]][_0x708e[255]],_0xb3dcx9=_0xb3dcx2[_0x708e[241]](),_0xb3dcxa=_0xb3dcx2[_0x708e[242]]();if(!_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]])&& (_0xb3dcx9= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx4* _0xb3dcx5,_0xb3dcxa= _0xb3dcx2[_0x708e[236]]+ _0xb3dcx3* _0xb3dcx5,null!= _0xb3dcx2[_0x708e[253]])){var _0xb3dcx12=_0xb3dcx2[_0x708e[253]][_0x708e[1598]]();if(this[_0x708e[2152]]){_0xb3dcx12= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION,0)}else {if(_0xb3dcx2[_0x708e[253]][_0x708e[1590]]()){var _0xb3dcx13=(_0xb3dcx2[_0x708e[117]]- _0xb3dcx2[_0x708e[119]])/ 2,_0xb3dcx9=_0xb3dcx9+ _0xb3dcx13,_0xb3dcxa=_0xb3dcxa- _0xb3dcx13}};0!= _0xb3dcx12&& (_0xb3dcx13= mxUtils[_0x708e[431]](_0xb3dcx12),_0xb3dcx12= Math[_0x708e[426]](_0xb3dcx13),_0xb3dcx13= Math[_0x708e[427]](_0xb3dcx13),_0xb3dcxa= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx9,_0xb3dcxa),_0xb3dcx12,_0xb3dcx13, new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]())),_0xb3dcx9= _0xb3dcxa[_0x708e[235]],_0xb3dcxa= _0xb3dcxa[_0x708e[236]])};return _0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]]), new mxRectangle(Math[_0x708e[488]](_0xb3dcx9- _0xb3dcx4/ 2* _0xb3dcx5),Math[_0x708e[488]](_0xb3dcxa- _0xb3dcx3/ 2* _0xb3dcx5),Math[_0x708e[488]](_0xb3dcx4* _0xb3dcx5),Math[_0x708e[488]](_0xb3dcx3* _0xb3dcx5))};return null};mxCellRenderer[_0x708e[202]][_0x708e[258]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= _0xb3dcx2[_0x708e[253]]){var _0xb3dcx5=!1;_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]]);reconfigure= null!= _0xb3dcx3?_0xb3dcx3:!1;this[_0x708e[2204]](_0xb3dcx2);if(_0xb3dcx2[_0x708e[2082]]|| _0xb3dcx2[_0x708e[2081]]){_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[2158]]?this[_0x708e[2166]](_0xb3dcx2):this[_0x708e[2167]](_0xb3dcx2)};if(_0xb3dcx2[_0x708e[2082]]|| !mxUtils[_0x708e[2225]](_0xb3dcx2[_0x708e[253]][_0x708e[124]],_0xb3dcx2[_0x708e[124]])){this[_0x708e[2170]](_0xb3dcx2),_0xb3dcx3= !0};delete _0xb3dcx2[_0x708e[2081]];delete _0xb3dcx2[_0x708e[2082]];if(_0xb3dcx3|| null== _0xb3dcx2[_0x708e[253]][_0x708e[1562]]|| _0xb3dcx2[_0x708e[253]][_0x708e[255]]!= _0xb3dcx2[_0x708e[441]][_0x708e[255]]|| !_0xb3dcx2[_0x708e[253]][_0x708e[1562]][_0x708e[237]](_0xb3dcx2)|| !mxUtils[_0x708e[2226]](_0xb3dcx2[_0x708e[253]][_0x708e[1525]],_0xb3dcx2[_0x708e[439]])){_0xb3dcx5= !0,_0xb3dcx2[_0x708e[253]][_0x708e[1525]]= null!= _0xb3dcx2[_0x708e[439]]?_0xb3dcx2[_0x708e[439]][_0x708e[1853]]():null,_0xb3dcx2[_0x708e[253]][_0x708e[1562]]= new mxRectangle(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],_0xb3dcx2[_0x708e[117]],_0xb3dcx2[_0x708e[119]]),_0xb3dcx2[_0x708e[253]][_0x708e[255]]= _0xb3dcx2[_0x708e[441]][_0x708e[255]],null== _0xb3dcx4|| _0xb3dcx4?_0xb3dcx2[_0x708e[253]][_0x708e[258]]():_0xb3dcx2[_0x708e[253]][_0x708e[1577]]()};if(null== _0xb3dcx4|| _0xb3dcx4){this[_0x708e[2217]](_0xb3dcx2,_0xb3dcx5),this[_0x708e[2222]](_0xb3dcx2,_0xb3dcx5),this[_0x708e[2223]](_0xb3dcx2,_0xb3dcx5)}}};mxCellRenderer[_0x708e[202]][_0x708e[515]]= function(_0xb3dcx2){null!= _0xb3dcx2[_0x708e[253]]&& (null!= _0xb3dcx2[_0x708e[963]]&& (_0xb3dcx2[_0x708e[963]][_0x708e[515]](),_0xb3dcx2[_0x708e[963]]= null),null!= _0xb3dcx2[_0x708e[1211]]&& (_0xb3dcx2[_0x708e[1211]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx4){_0xb3dcx4[_0x708e[515]]()}),_0xb3dcx2[_0x708e[1211]]= null),null!= _0xb3dcx2[_0x708e[2207]]&& (_0xb3dcx2[_0x708e[2207]][_0x708e[515]](),_0xb3dcx2[_0x708e[2207]]= null),_0xb3dcx2[_0x708e[253]][_0x708e[515]](),_0xb3dcx2[_0x708e[253]]= null)};var mxEdgeStyle={EntityRelation:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx2[_0x708e[441]],_0xb3dcx12=_0xb3dcxa[_0x708e[1179]];_0xb3dcx5= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_SEGMENT,mxConstants.ENTITY_SEGMENT)* _0xb3dcxa[_0x708e[255]];var _0xb3dcx13=_0xb3dcx2[_0x708e[439]],_0xb3dcx14=_0xb3dcx13[0],_0xb3dcx15=_0xb3dcx13[_0xb3dcx13[_0x708e[67]]- 1],_0xb3dcx13=!1;if(null!= _0xb3dcx14){_0xb3dcx3= new mxCellState,_0xb3dcx3[_0x708e[235]]= _0xb3dcx14[_0x708e[235]],_0xb3dcx3[_0x708e[236]]= _0xb3dcx14[_0x708e[236]]}else {if(null!= _0xb3dcx3){var _0xb3dcx16=mxUtils[_0x708e[2227]](_0xb3dcx3,_0xb3dcx2,!0,mxConstants.DIRECTION_MASK_NONE);_0xb3dcx16!= mxConstants[_0x708e[434]]?_0xb3dcx13= _0xb3dcx16== mxConstants[_0x708e[436]]:(_0xb3dcx14= _0xb3dcx12[_0x708e[1198]](_0xb3dcx3[_0x708e[246]]),_0xb3dcx14[_0x708e[1500]]?_0xb3dcx13= 0.5>= _0xb3dcx14[_0x708e[235]]:null!= _0xb3dcx4&& (_0xb3dcx13= _0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]< _0xb3dcx3[_0x708e[235]]))}else {return}};_0xb3dcx14= !0;null!= _0xb3dcx15?(_0xb3dcx4= new mxCellState,_0xb3dcx4[_0x708e[235]]= _0xb3dcx15[_0x708e[235]],_0xb3dcx4[_0x708e[236]]= _0xb3dcx15[_0x708e[236]]):null!= _0xb3dcx4&& (_0xb3dcx16= mxUtils[_0x708e[2227]](_0xb3dcx4,_0xb3dcx2,!1,mxConstants.DIRECTION_MASK_NONE),_0xb3dcx16!= mxConstants[_0x708e[434]]?_0xb3dcx14= _0xb3dcx16== mxConstants[_0x708e[436]]:(_0xb3dcx2= _0xb3dcx12[_0x708e[1198]](_0xb3dcx4[_0x708e[246]]),_0xb3dcx2[_0x708e[1500]]?_0xb3dcx14= 0.5>= _0xb3dcx2[_0x708e[235]]:null!= _0xb3dcx3&& (_0xb3dcx14= _0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]]< _0xb3dcx4[_0x708e[235]])));null!= _0xb3dcx3&& null!= _0xb3dcx4&& (_0xb3dcx2= _0xb3dcx13?_0xb3dcx3[_0x708e[235]]:_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx3= _0xb3dcxa[_0x708e[2228]](_0xb3dcx3),_0xb3dcx12= _0xb3dcx14?_0xb3dcx4[_0x708e[235]]:_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]],_0xb3dcx4= _0xb3dcxa[_0x708e[2228]](_0xb3dcx4),_0xb3dcxa= new mxPoint(_0xb3dcx2+ (_0xb3dcx13?-_0xb3dcx5:_0xb3dcx5),_0xb3dcx3),_0xb3dcx15= new mxPoint(_0xb3dcx12+ (_0xb3dcx14?-_0xb3dcx5:_0xb3dcx5),_0xb3dcx4),_0xb3dcx13== _0xb3dcx14?(_0xb3dcx5= _0xb3dcx13?Math[_0x708e[243]](_0xb3dcx2,_0xb3dcx12)- _0xb3dcx5:Math[_0x708e[160]](_0xb3dcx2,_0xb3dcx12)+ _0xb3dcx5,_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx5,_0xb3dcx3)),_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx5,_0xb3dcx4))):(_0xb3dcxa[_0x708e[235]]< _0xb3dcx15[_0x708e[235]]== _0xb3dcx13?(_0xb3dcx5= _0xb3dcx3+ (_0xb3dcx4- _0xb3dcx3)/ 2,_0xb3dcx9[_0x708e[207]](_0xb3dcxa),_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcxa[_0x708e[235]],_0xb3dcx5)),_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx15[_0x708e[235]],_0xb3dcx5))):_0xb3dcx9[_0x708e[207]](_0xb3dcxa),_0xb3dcx9[_0x708e[207]](_0xb3dcx15)))},Loop:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx3){_0xb3dcx4= _0xb3dcx2[_0x708e[441]];var _0xb3dcxa=_0xb3dcx4[_0x708e[1179]];_0xb3dcx5= null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]?_0xb3dcx5[0]:null;null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcx4[_0x708e[2229]](_0xb3dcx2,_0xb3dcx5),mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx5[_0x708e[235]],_0xb3dcx5[_0x708e[236]])&& (_0xb3dcx5= null));var _0xb3dcx12=0,_0xb3dcx13=0,_0xb3dcx14=0,_0xb3dcx15=0,_0xb3dcxa=mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_SEGMENT,_0xb3dcxa[_0x708e[1020]])* _0xb3dcx4[_0x708e[255]];_0xb3dcx2= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_DIRECTION,mxConstants.DIRECTION_WEST);_0xb3dcx2== mxConstants[_0x708e[1358]]|| _0xb3dcx2== mxConstants[_0x708e[1354]]?(_0xb3dcx12= _0xb3dcx4[_0x708e[2230]](_0xb3dcx3),_0xb3dcx13= _0xb3dcxa):(_0xb3dcx14= _0xb3dcx4[_0x708e[2228]](_0xb3dcx3),_0xb3dcx15= _0xb3dcxa);null== _0xb3dcx5|| _0xb3dcx5[_0x708e[235]]< _0xb3dcx3[_0x708e[235]]|| _0xb3dcx5[_0x708e[235]]> _0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]]?null!= _0xb3dcx5?(_0xb3dcx12= _0xb3dcx5[_0x708e[235]],_0xb3dcx15= Math[_0x708e[160]](Math[_0x708e[425]](_0xb3dcx14- _0xb3dcx5[_0x708e[236]]),_0xb3dcx15)):_0xb3dcx2== mxConstants[_0x708e[1358]]?_0xb3dcx14= _0xb3dcx3[_0x708e[236]]- 2* _0xb3dcx13:_0xb3dcx2== mxConstants[_0x708e[1354]]?_0xb3dcx14= _0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]]+ 2* _0xb3dcx13:_0xb3dcx12= _0xb3dcx2== mxConstants[_0x708e[1356]]?_0xb3dcx3[_0x708e[235]]- 2* _0xb3dcx15:_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]]+ 2* _0xb3dcx15:null!= _0xb3dcx5&& (_0xb3dcx12= _0xb3dcx4[_0x708e[2230]](_0xb3dcx3),_0xb3dcx13= Math[_0x708e[160]](Math[_0x708e[425]](_0xb3dcx12- _0xb3dcx5[_0x708e[235]]),_0xb3dcx15),_0xb3dcx14= _0xb3dcx5[_0x708e[236]],_0xb3dcx15= 0);_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx12- _0xb3dcx13,_0xb3dcx14- _0xb3dcx15));_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx12+ _0xb3dcx13,_0xb3dcx14+ _0xb3dcx15))}},ElbowConnector:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]?_0xb3dcx5[0]:null,_0xb3dcx12=!1,_0xb3dcx13=!1;if(null!= _0xb3dcx3&& null!= _0xb3dcx4){if(null!= _0xb3dcxa){var _0xb3dcx14=Math[_0x708e[243]](_0xb3dcx3[_0x708e[235]],_0xb3dcx4[_0x708e[235]]),_0xb3dcx15=Math[_0x708e[160]](_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]),_0xb3dcx13=Math[_0x708e[243]](_0xb3dcx3[_0x708e[236]],_0xb3dcx4[_0x708e[236]]),_0xb3dcx16=Math[_0x708e[160]](_0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]],_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]),_0xb3dcxa=_0xb3dcx2[_0x708e[441]][_0x708e[2229]](_0xb3dcx2,_0xb3dcxa),_0xb3dcx12=_0xb3dcxa[_0x708e[236]]< _0xb3dcx13|| _0xb3dcxa[_0x708e[236]]> _0xb3dcx16,_0xb3dcx13=_0xb3dcxa[_0x708e[235]]< _0xb3dcx14|| _0xb3dcxa[_0x708e[235]]> _0xb3dcx15}else {_0xb3dcx14= Math[_0x708e[160]](_0xb3dcx3[_0x708e[235]],_0xb3dcx4[_0x708e[235]]),_0xb3dcx15= Math[_0x708e[243]](_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]),_0xb3dcx12= _0xb3dcx14== _0xb3dcx15,_0xb3dcx12|| (_0xb3dcx13= Math[_0x708e[160]](_0xb3dcx3[_0x708e[236]],_0xb3dcx4[_0x708e[236]]),_0xb3dcx16= Math[_0x708e[243]](_0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]],_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]),_0xb3dcx13= _0xb3dcx13== _0xb3dcx16)}};!_0xb3dcx13&& (_0xb3dcx12|| _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2231]]]== mxConstants[_0x708e[2232]])?mxEdgeStyle.TopToBottom(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9):mxEdgeStyle.SideToSide(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)},SideToSide:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx2[_0x708e[441]];_0xb3dcx5= null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]?_0xb3dcx5[0]:null;var _0xb3dcx12=_0xb3dcx2[_0x708e[439]],_0xb3dcx13=_0xb3dcx12[0],_0xb3dcx12=_0xb3dcx12[_0xb3dcx12[_0x708e[67]]- 1];null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcxa[_0x708e[2229]](_0xb3dcx2,_0xb3dcx5));null!= _0xb3dcx13&& (_0xb3dcx3= new mxCellState,_0xb3dcx3[_0x708e[235]]= _0xb3dcx13[_0x708e[235]],_0xb3dcx3[_0x708e[236]]= _0xb3dcx13[_0x708e[236]]);null!= _0xb3dcx12&& (_0xb3dcx4= new mxCellState,_0xb3dcx4[_0x708e[235]]= _0xb3dcx12[_0x708e[235]],_0xb3dcx4[_0x708e[236]]= _0xb3dcx12[_0x708e[236]]);null!= _0xb3dcx3&& null!= _0xb3dcx4&& (_0xb3dcx2= Math[_0x708e[160]](_0xb3dcx3[_0x708e[235]],_0xb3dcx4[_0x708e[235]]),_0xb3dcx13= Math[_0x708e[243]](_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]),_0xb3dcx2= null!= _0xb3dcx5?_0xb3dcx5[_0x708e[235]]:_0xb3dcx13+ (_0xb3dcx2- _0xb3dcx13)/ 2,_0xb3dcx13= _0xb3dcxa[_0x708e[2228]](_0xb3dcx3),_0xb3dcxa= _0xb3dcxa[_0x708e[2228]](_0xb3dcx4),null!= _0xb3dcx5&& (_0xb3dcx5[_0x708e[236]]>= _0xb3dcx3[_0x708e[236]]&& _0xb3dcx5[_0x708e[236]]<= _0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]]&& (_0xb3dcx13= _0xb3dcx5[_0x708e[236]]),_0xb3dcx5[_0x708e[236]]>= _0xb3dcx4[_0x708e[236]]&& _0xb3dcx5[_0x708e[236]]<= _0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]&& (_0xb3dcxa= _0xb3dcx5[_0x708e[236]])),!mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx13)&& !mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx13)&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx2,_0xb3dcx13)),!mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx2,_0xb3dcxa)&& !mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx2,_0xb3dcxa)&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx2,_0xb3dcxa)),1== _0xb3dcx9[_0x708e[67]]&& (null!= _0xb3dcx5?!mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx5[_0x708e[236]])&& !mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx5[_0x708e[236]])&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx2,_0xb3dcx5[_0x708e[236]])):(_0xb3dcxa= Math[_0x708e[160]](_0xb3dcx3[_0x708e[236]],_0xb3dcx4[_0x708e[236]]),_0xb3dcx3= Math[_0x708e[243]](_0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]],_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]),_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx2,_0xb3dcxa+ (_0xb3dcx3- _0xb3dcxa)/ 2)))))},TopToBottom:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx2[_0x708e[441]];_0xb3dcx5= null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]?_0xb3dcx5[0]:null;var _0xb3dcx12=_0xb3dcx2[_0x708e[439]],_0xb3dcx13=_0xb3dcx12[0],_0xb3dcx12=_0xb3dcx12[_0xb3dcx12[_0x708e[67]]- 1];null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcxa[_0x708e[2229]](_0xb3dcx2,_0xb3dcx5));null!= _0xb3dcx13&& (_0xb3dcx3= new mxCellState,_0xb3dcx3[_0x708e[235]]= _0xb3dcx13[_0x708e[235]],_0xb3dcx3[_0x708e[236]]= _0xb3dcx13[_0x708e[236]]);null!= _0xb3dcx12&& (_0xb3dcx4= new mxCellState,_0xb3dcx4[_0x708e[235]]= _0xb3dcx12[_0x708e[235]],_0xb3dcx4[_0x708e[236]]= _0xb3dcx12[_0x708e[236]]);null!= _0xb3dcx3&& null!= _0xb3dcx4&& (_0xb3dcx13= Math[_0x708e[160]](_0xb3dcx3[_0x708e[236]],_0xb3dcx4[_0x708e[236]]),_0xb3dcx12= Math[_0x708e[243]](_0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]],_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]),_0xb3dcx2= _0xb3dcxa[_0x708e[2230]](_0xb3dcx3),null!= _0xb3dcx5&& (_0xb3dcx5[_0x708e[235]]>= _0xb3dcx3[_0x708e[235]]&& _0xb3dcx5[_0x708e[235]]<= _0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]])&& (_0xb3dcx2= _0xb3dcx5[_0x708e[235]]),_0xb3dcx13= null!= _0xb3dcx5?_0xb3dcx5[_0x708e[236]]:_0xb3dcx12+ (_0xb3dcx13- _0xb3dcx12)/ 2,!mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx13)&& !mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx13)&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx2,_0xb3dcx13)),_0xb3dcx2= null!= _0xb3dcx5&& _0xb3dcx5[_0x708e[235]]>= _0xb3dcx4[_0x708e[235]]&& _0xb3dcx5[_0x708e[235]]<= _0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]?_0xb3dcx5[_0x708e[235]]:_0xb3dcxa[_0x708e[2230]](_0xb3dcx4),!mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx13)&& !mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx13)&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx2,_0xb3dcx13)),1== _0xb3dcx9[_0x708e[67]]&& (null!= _0xb3dcx5&& 1== _0xb3dcx9[_0x708e[67]]?!mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx5[_0x708e[235]],_0xb3dcx13)&& !mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx5[_0x708e[235]],_0xb3dcx13)&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx5[_0x708e[235]],_0xb3dcx13)):(_0xb3dcxa= Math[_0x708e[160]](_0xb3dcx3[_0x708e[235]],_0xb3dcx4[_0x708e[235]]),_0xb3dcx3= Math[_0x708e[243]](_0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]],_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]),_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcxa+ (_0xb3dcx3- _0xb3dcxa)/ 2,_0xb3dcx13)))))},SegmentConnector:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx2[_0x708e[439]],_0xb3dcx12=!0,_0xb3dcx13=null,_0xb3dcx14=_0xb3dcxa[0];null== _0xb3dcx14&& null!= _0xb3dcx3?_0xb3dcx14= new mxPoint(_0xb3dcx2[_0x708e[441]][_0x708e[2230]](_0xb3dcx3),_0xb3dcx2[_0x708e[441]][_0x708e[2228]](_0xb3dcx3)):null!= _0xb3dcx14&& (_0xb3dcx14= _0xb3dcx14[_0x708e[238]]());var _0xb3dcx15=_0xb3dcxa[_0x708e[67]]- 1;if(null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]){for(var _0xb3dcx13=_0xb3dcx2[_0x708e[441]][_0x708e[2229]](_0xb3dcx2,_0xb3dcx5[0]),_0xb3dcx16=_0xb3dcx3,_0xb3dcx17=_0xb3dcxa[0],_0xb3dcx18=!1,_0xb3dcx19=!1,_0xb3dcx18=_0xb3dcx13,_0xb3dcx1a=_0xb3dcx5[_0x708e[67]],_0xb3dcx1b=0;2> _0xb3dcx1b;_0xb3dcx1b++){var _0xb3dcx1c=null!= _0xb3dcx17&& _0xb3dcx17[_0x708e[235]]== _0xb3dcx18[_0x708e[235]],_0xb3dcx1d=null!= _0xb3dcx17&& _0xb3dcx17[_0x708e[236]]== _0xb3dcx18[_0x708e[236]],_0xb3dcx1e=null!= _0xb3dcx16&& _0xb3dcx18[_0x708e[236]]>= _0xb3dcx16[_0x708e[236]]&& _0xb3dcx18[_0x708e[236]]<= _0xb3dcx16[_0x708e[236]]+ _0xb3dcx16[_0x708e[119]],_0xb3dcx16=null!= _0xb3dcx16&& _0xb3dcx18[_0x708e[235]]>= _0xb3dcx16[_0x708e[235]]&& _0xb3dcx18[_0x708e[235]]<= _0xb3dcx16[_0x708e[235]]+ _0xb3dcx16[_0x708e[117]],_0xb3dcx18=_0xb3dcx1d|| null== _0xb3dcx17&& _0xb3dcx1e,_0xb3dcx19=_0xb3dcx1c|| null== _0xb3dcx17&& _0xb3dcx16;if(null!= _0xb3dcx17&& !_0xb3dcx1d&& !_0xb3dcx1c&& (_0xb3dcx1e|| _0xb3dcx16)){_0xb3dcx12= _0xb3dcx1e?!1:!0;break};if(_0xb3dcx19|| _0xb3dcx18){_0xb3dcx12= _0xb3dcx18;1== _0xb3dcx1b&& (_0xb3dcx12= 0== _0xb3dcx5[_0x708e[67]]% 2?_0xb3dcx18:_0xb3dcx19);break};_0xb3dcx16= _0xb3dcx4;_0xb3dcx17= _0xb3dcxa[_0xb3dcx15];_0xb3dcx18= _0xb3dcx2[_0x708e[441]][_0x708e[2229]](_0xb3dcx2,_0xb3dcx5[_0xb3dcx1a- 1])};_0xb3dcx12&& (null!= _0xb3dcxa[0]&& _0xb3dcxa[0][_0x708e[236]]!= _0xb3dcx13[_0x708e[236]]|| null== _0xb3dcxa[0]&& null!= _0xb3dcx3&& (_0xb3dcx13[_0x708e[236]]< _0xb3dcx3[_0x708e[236]]|| _0xb3dcx13[_0x708e[236]]> _0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]]))?_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx14[_0x708e[235]],_0xb3dcx13[_0x708e[236]])):!_0xb3dcx12&& (null!= _0xb3dcxa[0]&& _0xb3dcxa[0][_0x708e[235]]!= _0xb3dcx13[_0x708e[235]]|| null== _0xb3dcxa[0]&& null!= _0xb3dcx3&& (_0xb3dcx13[_0x708e[235]]< _0xb3dcx3[_0x708e[235]]|| _0xb3dcx13[_0x708e[235]]> _0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]]))&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx13[_0x708e[235]],_0xb3dcx14[_0x708e[236]]));_0xb3dcx12?_0xb3dcx14[_0x708e[236]]= _0xb3dcx13[_0x708e[236]]:_0xb3dcx14[_0x708e[235]]= _0xb3dcx13[_0x708e[235]];for(_0xb3dcx1b= 0;_0xb3dcx1b< _0xb3dcx5[_0x708e[67]];_0xb3dcx1b++){_0xb3dcx12= !_0xb3dcx12,_0xb3dcx13= _0xb3dcx2[_0x708e[441]][_0x708e[2229]](_0xb3dcx2,_0xb3dcx5[_0xb3dcx1b]),_0xb3dcx12?_0xb3dcx14[_0x708e[236]]= _0xb3dcx13[_0x708e[236]]:_0xb3dcx14[_0x708e[235]]= _0xb3dcx13[_0x708e[235]],_0xb3dcx9[_0x708e[207]](_0xb3dcx14[_0x708e[238]]())}}else {_0xb3dcx13= _0xb3dcx14,_0xb3dcx12= !0};_0xb3dcx14= _0xb3dcxa[_0xb3dcx15];null== _0xb3dcx14&& null!= _0xb3dcx4&& (_0xb3dcx14= new mxPoint(_0xb3dcx2[_0x708e[441]][_0x708e[2230]](_0xb3dcx4),_0xb3dcx2[_0x708e[441]][_0x708e[2228]](_0xb3dcx4)));_0xb3dcx12&& (null!= _0xb3dcxa[_0xb3dcx15]&& _0xb3dcxa[_0xb3dcx15][_0x708e[236]]!= _0xb3dcx13[_0x708e[236]]|| null== _0xb3dcxa[_0xb3dcx15]&& null!= _0xb3dcx4&& (_0xb3dcx13[_0x708e[236]]< _0xb3dcx4[_0x708e[236]]|| _0xb3dcx13[_0x708e[236]]> _0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]))?_0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx14[_0x708e[235]],_0xb3dcx13[_0x708e[236]])):!_0xb3dcx12&& (null!= _0xb3dcxa[_0xb3dcx15]&& _0xb3dcxa[_0xb3dcx15][_0x708e[235]]!= _0xb3dcx13[_0x708e[235]]|| null== _0xb3dcxa[_0xb3dcx15]&& null!= _0xb3dcx4&& (_0xb3dcx13[_0x708e[235]]< _0xb3dcx4[_0x708e[235]]|| _0xb3dcx13[_0x708e[235]]> _0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]))&& _0xb3dcx9[_0x708e[207]]( new mxPoint(_0xb3dcx13[_0x708e[235]],_0xb3dcx14[_0x708e[236]]));if(null== _0xb3dcxa[0]&& null!= _0xb3dcx3){for(;1< _0xb3dcx9[_0x708e[67]]&& mxUtils[_0x708e[442]](_0xb3dcx3,_0xb3dcx9[1][_0x708e[235]],_0xb3dcx9[1][_0x708e[236]]);){_0xb3dcx9= _0xb3dcx9[_0x708e[300]](1,1)}};if(null== _0xb3dcxa[_0xb3dcx15]&& null!= _0xb3dcx4){for(;1< _0xb3dcx9[_0x708e[67]]&& mxUtils[_0x708e[442]](_0xb3dcx4,_0xb3dcx9[_0xb3dcx9[_0x708e[67]]- 1][_0x708e[235]],_0xb3dcx9[_0xb3dcx9[_0x708e[67]]- 1][_0x708e[236]]);){_0xb3dcx9= _0xb3dcx9[_0x708e[300]](_0xb3dcx9[_0x708e[67]]- 1,1)}}},orthBuffer:10,dirVectors:[[-1,0],[0,-1],[1,0],[0,1],[-1,0],[0,-1],[1,0]],wayPoints1:[[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0],[0,0]],routePatterns:[[[513,2308,2081,2562],[513,1090,514,2184,2114,2561],[513,1090,514,2564,2184,2562],[513,2308,2561,1090,514,2568,2308]],[[514,1057,513,2308,2081,2562],[514,2184,2114,2561],[514,2184,2562,1057,513,2564,2184],[514,1057,513,2568,2308,2561]],[[1090,514,1057,513,2308,2081,2562],[2114,2561],[1090,2562,1057,513,2564,2184],[1090,514,1057,513,2308,2561,2568]],[[2081,2562],[1057,513,1090,514,2184,2114,2561],[1057,513,1090,514,2184,2562,2564],[1057,2561,1090,514,2568,2308]]],inlineRoutePatterns:[[null,[2114,2568],null,null],[null,[514,2081,2114,2568],null,null],[null,[2114,2561],null,null],[[2081,2562],[1057,2114,2568],[2184,2562],null]],vertexSeperations:[],limits:[[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]],LEFT_MASK:32,TOP_MASK:64,RIGHT_MASK:128,BOTTOM_MASK:256,LEFT:1,TOP:2,RIGHT:4,BOTTOM:8,SIDE_MASK:480,CENTER_MASK:512,SOURCE_MASK:1024,TARGET_MASK:2048,VERTEX_MASK:3072,OrthConnector:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=_0xb3dcx2[_0x708e[441]][_0x708e[1179]],_0xb3dcx12=null== _0xb3dcx3?!1:_0xb3dcxa[_0x708e[502]]()[_0x708e[250]](_0xb3dcx3[_0x708e[246]]),_0xb3dcxa=null== _0xb3dcx4?!1:_0xb3dcxa[_0x708e[502]]()[_0x708e[250]](_0xb3dcx4[_0x708e[246]]);if(null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]|| _0xb3dcx12|| _0xb3dcxa){mxEdgeStyle.SegmentConnector(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)}else {_0xb3dcx5= _0xb3dcx2[_0x708e[439]];var _0xb3dcx13=_0xb3dcx5[0],_0xb3dcx14=_0xb3dcx5[_0xb3dcx5[_0x708e[67]]- 1];_0xb3dcx5= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[235]]:_0xb3dcx13[_0x708e[235]];var _0xb3dcx12=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[236]]:_0xb3dcx13[_0x708e[236]],_0xb3dcx15=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[117]]:1,_0xb3dcx16=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[119]]:1,_0xb3dcx17=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[235]]:_0xb3dcx14[_0x708e[235]],_0xb3dcx18=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[236]]:_0xb3dcx14[_0x708e[236]],_0xb3dcx19=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[117]]:1,_0xb3dcx1a=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[119]]:1,_0xb3dcxa=_0xb3dcx2[_0x708e[441]][_0x708e[255]]* mxEdgeStyle[_0x708e[2233]],_0xb3dcx1b=[mxConstants[_0x708e[2234]],mxConstants[_0x708e[2234]]];null!= _0xb3dcx3&& (_0xb3dcx1b[0]= mxUtils[_0x708e[2227]](_0xb3dcx3,_0xb3dcx2,!0,mxConstants.DIRECTION_MASK_ALL));null!= _0xb3dcx4&& (_0xb3dcx1b[1]= mxUtils[_0x708e[2227]](_0xb3dcx4,_0xb3dcx2,!1,mxConstants.DIRECTION_MASK_ALL));_0xb3dcx2= [0,0];_0xb3dcx5= [[_0xb3dcx5,_0xb3dcx12,_0xb3dcx15,_0xb3dcx16],[_0xb3dcx17,_0xb3dcx18,_0xb3dcx19,_0xb3dcx1a]];for(_0xb3dcx15= 0;2> _0xb3dcx15;_0xb3dcx15++){mxEdgeStyle[_0x708e[2235]][_0xb3dcx15][1]= _0xb3dcx5[_0xb3dcx15][0]- _0xb3dcxa,mxEdgeStyle[_0x708e[2235]][_0xb3dcx15][2]= _0xb3dcx5[_0xb3dcx15][1]- _0xb3dcxa,mxEdgeStyle[_0x708e[2235]][_0xb3dcx15][4]= _0xb3dcx5[_0xb3dcx15][0]+ _0xb3dcx5[_0xb3dcx15][2]+ _0xb3dcxa,mxEdgeStyle[_0x708e[2235]][_0xb3dcx15][8]= _0xb3dcx5[_0xb3dcx15][1]+ _0xb3dcx5[_0xb3dcx15][3]+ _0xb3dcxa};_0xb3dcx15= _0xb3dcx5[0][0]+ _0xb3dcx5[0][2]/ 2- (_0xb3dcx5[1][0]+ _0xb3dcx5[1][2]/ 2);_0xb3dcx16= _0xb3dcx5[0][1]+ _0xb3dcx5[0][3]/ 2- (_0xb3dcx5[1][1]+ _0xb3dcx5[1][3]/ 2);_0xb3dcx12= 0;0> _0xb3dcx15?_0xb3dcx12= 0> _0xb3dcx16?2:1:0>= _0xb3dcx16&& (_0xb3dcx12= 3,0== _0xb3dcx15&& (_0xb3dcx12= 2));_0xb3dcx16= null;null!= _0xb3dcx3&& (_0xb3dcx16= _0xb3dcx13);_0xb3dcx3= [[0.5,0.5],[0.5,0.5]];for(_0xb3dcx15= 0;2> _0xb3dcx15;_0xb3dcx15++){null!= _0xb3dcx16&& (_0xb3dcx3[_0xb3dcx15][0]= (_0xb3dcx16[_0x708e[235]]- _0xb3dcx5[_0xb3dcx15][0])/ _0xb3dcx5[_0xb3dcx15][2],0.01> _0xb3dcx3[_0xb3dcx15][0]?_0xb3dcx2[_0xb3dcx15]= mxConstants[_0x708e[436]]:0.99< _0xb3dcx3[_0xb3dcx15][0]&& (_0xb3dcx2[_0xb3dcx15]= mxConstants[_0x708e[438]]),_0xb3dcx3[_0xb3dcx15][1]= (_0xb3dcx16[_0x708e[236]]- _0xb3dcx5[_0xb3dcx15][1])/ _0xb3dcx5[_0xb3dcx15][3],0.01> _0xb3dcx3[_0xb3dcx15][1]?_0xb3dcx2[_0xb3dcx15]= mxConstants[_0x708e[435]]:0.99< _0xb3dcx3[_0xb3dcx15][1]&& (_0xb3dcx2[_0xb3dcx15]= mxConstants[_0x708e[437]])),_0xb3dcx16= null,null!= _0xb3dcx4&& (_0xb3dcx16= _0xb3dcx14)};_0xb3dcx15= _0xb3dcx5[0][1]- (_0xb3dcx5[1][1]+ _0xb3dcx5[1][3]);_0xb3dcx16= _0xb3dcx5[0][0]- (_0xb3dcx5[1][0]+ _0xb3dcx5[1][2]);_0xb3dcx17= _0xb3dcx5[1][1]- (_0xb3dcx5[0][1]+ _0xb3dcx5[0][3]);_0xb3dcx18= _0xb3dcx5[1][0]- (_0xb3dcx5[0][0]+ _0xb3dcx5[0][2]);mxEdgeStyle[_0x708e[2236]][1]= Math[_0x708e[160]](_0xb3dcx16- 2* _0xb3dcxa,0);mxEdgeStyle[_0x708e[2236]][2]= Math[_0x708e[160]](_0xb3dcx15- 2* _0xb3dcxa,0);mxEdgeStyle[_0x708e[2236]][4]= Math[_0x708e[160]](_0xb3dcx17- 2* _0xb3dcxa,0);mxEdgeStyle[_0x708e[2236]][3]= Math[_0x708e[160]](_0xb3dcx18- 2* _0xb3dcxa,0);_0xb3dcx4= [];_0xb3dcx13= [];_0xb3dcx14= [];_0xb3dcx13[0]= _0xb3dcx16>= _0xb3dcx18?mxConstants[_0x708e[436]]:mxConstants[_0x708e[438]];_0xb3dcx14[0]= _0xb3dcx15>= _0xb3dcx17?mxConstants[_0x708e[435]]:mxConstants[_0x708e[437]];_0xb3dcx13[1]= mxUtils[_0x708e[2237]](_0xb3dcx13[0]);_0xb3dcx14[1]= mxUtils[_0x708e[2237]](_0xb3dcx14[0]);_0xb3dcx16= _0xb3dcx16>= _0xb3dcx18?_0xb3dcx16:_0xb3dcx18;_0xb3dcx17= _0xb3dcx15>= _0xb3dcx17?_0xb3dcx15:_0xb3dcx17;_0xb3dcx18= [[0,0],[0,0]];_0xb3dcx19= !1;for(_0xb3dcx15= 0;2> _0xb3dcx15;_0xb3dcx15++){0== _0xb3dcx2[_0xb3dcx15]&& (0== (_0xb3dcx13[_0xb3dcx15]& _0xb3dcx1b[_0xb3dcx15])&& (_0xb3dcx13[_0xb3dcx15]= mxUtils[_0x708e[2237]](_0xb3dcx13[_0xb3dcx15])),0== (_0xb3dcx14[_0xb3dcx15]& _0xb3dcx1b[_0xb3dcx15])&& (_0xb3dcx14[_0xb3dcx15]= mxUtils[_0x708e[2237]](_0xb3dcx14[_0xb3dcx15])),_0xb3dcx18[_0xb3dcx15][0]= _0xb3dcx14[_0xb3dcx15],_0xb3dcx18[_0xb3dcx15][1]= _0xb3dcx13[_0xb3dcx15])};_0xb3dcx17> 2* _0xb3dcxa&& _0xb3dcx16> 2* _0xb3dcxa&& (0< (_0xb3dcx13[0]& _0xb3dcx1b[0])&& 0< (_0xb3dcx14[1]& _0xb3dcx1b[1])?(_0xb3dcx18[0][0]= _0xb3dcx13[0],_0xb3dcx18[0][1]= _0xb3dcx14[0],_0xb3dcx18[1][0]= _0xb3dcx14[1],_0xb3dcx18[1][1]= _0xb3dcx13[1],_0xb3dcx19= !0):0< (_0xb3dcx14[0]& _0xb3dcx1b[0])&& 0< (_0xb3dcx13[1]& _0xb3dcx1b[1])&& (_0xb3dcx18[0][0]= _0xb3dcx14[0],_0xb3dcx18[0][1]= _0xb3dcx13[0],_0xb3dcx18[1][0]= _0xb3dcx13[1],_0xb3dcx18[1][1]= _0xb3dcx14[1],_0xb3dcx19= !0));_0xb3dcx17> 2* _0xb3dcxa&& !_0xb3dcx19&& (_0xb3dcx18[0][0]= _0xb3dcx14[0],_0xb3dcx18[0][1]= _0xb3dcx13[0],_0xb3dcx18[1][0]= _0xb3dcx14[1],_0xb3dcx18[1][1]= _0xb3dcx13[1],_0xb3dcx19= !0);_0xb3dcx16> 2* _0xb3dcxa&& !_0xb3dcx19&& (_0xb3dcx18[0][0]= _0xb3dcx13[0],_0xb3dcx18[0][1]= _0xb3dcx14[0],_0xb3dcx18[1][0]= _0xb3dcx13[1],_0xb3dcx18[1][1]= _0xb3dcx14[1]);for(_0xb3dcx15= 0;2> _0xb3dcx15;_0xb3dcx15++){if(0== _0xb3dcx2[_0xb3dcx15]&& (0== (_0xb3dcx18[_0xb3dcx15][0]& _0xb3dcx1b[_0xb3dcx15])&& (_0xb3dcx18[_0xb3dcx15][0]= _0xb3dcx18[_0xb3dcx15][1]),_0xb3dcx4[_0xb3dcx15]= _0xb3dcx18[_0xb3dcx15][0]& _0xb3dcx1b[_0xb3dcx15],_0xb3dcx4[_0xb3dcx15]|= (_0xb3dcx18[_0xb3dcx15][1]& _0xb3dcx1b[_0xb3dcx15])<< 8,_0xb3dcx4[_0xb3dcx15]|= (_0xb3dcx18[1- _0xb3dcx15][_0xb3dcx15]& _0xb3dcx1b[_0xb3dcx15])<< 16,_0xb3dcx4[_0xb3dcx15]|= (_0xb3dcx18[1- _0xb3dcx15][1- _0xb3dcx15]& _0xb3dcx1b[_0xb3dcx15])<< 24,0== (_0xb3dcx4[_0xb3dcx15]& 15)&& (_0xb3dcx4[_0xb3dcx15]<<= 8),0== (_0xb3dcx4[_0xb3dcx15]& 3840)&& (_0xb3dcx4[_0xb3dcx15]= _0xb3dcx4[_0xb3dcx15]& 15| _0xb3dcx4[_0xb3dcx15]>> 8),0== (_0xb3dcx4[_0xb3dcx15]& 983040)&& (_0xb3dcx4[_0xb3dcx15]= _0xb3dcx4[_0xb3dcx15]& 65535| (_0xb3dcx4[_0xb3dcx15]& 251658240)>> 8),_0xb3dcx2[_0xb3dcx15]= _0xb3dcx4[_0xb3dcx15]& 15,_0xb3dcx1b[_0xb3dcx15]== mxConstants[_0x708e[436]]|| _0xb3dcx1b[_0xb3dcx15]== mxConstants[_0x708e[435]]|| _0xb3dcx1b[_0xb3dcx15]== mxConstants[_0x708e[438]]|| _0xb3dcx1b[_0xb3dcx15]== mxConstants[_0x708e[437]])){_0xb3dcx2[_0xb3dcx15]= _0xb3dcx1b[_0xb3dcx15]}};_0xb3dcx15= _0xb3dcx2[0]== mxConstants[_0x708e[438]]?3:_0xb3dcx2[0];_0xb3dcx1b= _0xb3dcx2[1]== mxConstants[_0x708e[438]]?3:_0xb3dcx2[1];_0xb3dcx15-= _0xb3dcx12;_0xb3dcx1b-= _0xb3dcx12;1> _0xb3dcx15&& (_0xb3dcx15+= 4);1> _0xb3dcx1b&& (_0xb3dcx1b+= 4);_0xb3dcx1b= mxEdgeStyle[_0x708e[2238]][_0xb3dcx15- 1][_0xb3dcx1b- 1];mxEdgeStyle[_0x708e[2239]][0][0]= _0xb3dcx5[0][0];mxEdgeStyle[_0x708e[2239]][0][1]= _0xb3dcx5[0][1];switch(_0xb3dcx2[0]){case mxConstants[_0x708e[436]]:mxEdgeStyle[_0x708e[2239]][0][0]-= _0xb3dcxa;mxEdgeStyle[_0x708e[2239]][0][1]+= _0xb3dcx3[0][1]* _0xb3dcx5[0][3];break;case mxConstants[_0x708e[437]]:mxEdgeStyle[_0x708e[2239]][0][0]+= _0xb3dcx3[0][0]* _0xb3dcx5[0][2];mxEdgeStyle[_0x708e[2239]][0][1]+= _0xb3dcx5[0][3]+ _0xb3dcxa;break;case mxConstants[_0x708e[438]]:mxEdgeStyle[_0x708e[2239]][0][0]+= _0xb3dcx5[0][2]+ _0xb3dcxa;mxEdgeStyle[_0x708e[2239]][0][1]+= _0xb3dcx3[0][1]* _0xb3dcx5[0][3];break;case mxConstants[_0x708e[435]]:mxEdgeStyle[_0x708e[2239]][0][0]+= _0xb3dcx3[0][0]* _0xb3dcx5[0][2],mxEdgeStyle[_0x708e[2239]][0][1]-= _0xb3dcxa};_0xb3dcxa= 0;_0xb3dcx13= _0xb3dcx4= 0< (_0xb3dcx2[0]& (mxConstants[_0x708e[438]]| mxConstants[_0x708e[436]]))?0:1;for(_0xb3dcx15= _0xb3dcx14= 0;_0xb3dcx15< _0xb3dcx1b[_0x708e[67]];_0xb3dcx15++){_0xb3dcx14= _0xb3dcx1b[_0xb3dcx15]& 15;_0xb3dcx1a= _0xb3dcx14== mxConstants[_0x708e[438]]?3:_0xb3dcx14;_0xb3dcx1a+= _0xb3dcx12;4< _0xb3dcx1a&& (_0xb3dcx1a-= 4);_0xb3dcx16= mxEdgeStyle[_0x708e[2240]][_0xb3dcx1a- 1];_0xb3dcx14= 0< _0xb3dcx1a% 2?0:1;_0xb3dcx14!= _0xb3dcx4&& (_0xb3dcxa++,mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][0]= mxEdgeStyle[_0x708e[2239]][_0xb3dcxa- 1][0],mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][1]= mxEdgeStyle[_0x708e[2239]][_0xb3dcxa- 1][1]);var _0xb3dcx1c=0< (_0xb3dcx1b[_0xb3dcx15]& mxEdgeStyle[_0x708e[2241]]),_0xb3dcx19=0< (_0xb3dcx1b[_0xb3dcx15]& mxEdgeStyle[_0x708e[2242]]),_0xb3dcx17=(_0xb3dcx1b[_0xb3dcx15]& mxEdgeStyle[_0x708e[2243]])>> 5,_0xb3dcx17=_0xb3dcx17<< _0xb3dcx12;15< _0xb3dcx17&& (_0xb3dcx17>>= 4);_0xb3dcx18= 0< (_0xb3dcx1b[_0xb3dcx15]& mxEdgeStyle[_0x708e[2244]]);(_0xb3dcx19|| _0xb3dcx1c)&& 9> _0xb3dcx17?(_0xb3dcx1a= 0,_0xb3dcx19= _0xb3dcx19?0:1,_0xb3dcx1a= _0xb3dcx18&& 0== _0xb3dcx14?_0xb3dcx5[_0xb3dcx19][0]+ _0xb3dcx3[_0xb3dcx19][0]* _0xb3dcx5[_0xb3dcx19][2]:_0xb3dcx18?_0xb3dcx5[_0xb3dcx19][1]+ _0xb3dcx3[_0xb3dcx19][1]* _0xb3dcx5[_0xb3dcx19][3]:mxEdgeStyle[_0x708e[2235]][_0xb3dcx19][_0xb3dcx17],0== _0xb3dcx14?(_0xb3dcx17= (_0xb3dcx1a- mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][0])* _0xb3dcx16[0],0< _0xb3dcx17&& (mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][0]+= _0xb3dcx16[0]* _0xb3dcx17)):(_0xb3dcx17= (_0xb3dcx1a- mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][1])* _0xb3dcx16[1],0< _0xb3dcx17&& (mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][1]+= _0xb3dcx16[1]* _0xb3dcx17))):_0xb3dcx18&& (mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][0]+= _0xb3dcx16[0]* Math[_0x708e[425]](mxEdgeStyle[_0x708e[2236]][_0xb3dcx1a]/ 2),mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][1]+= _0xb3dcx16[1]* Math[_0x708e[425]](mxEdgeStyle[_0x708e[2236]][_0xb3dcx1a]/ 2));0< _0xb3dcxa&& mxEdgeStyle[_0x708e[2239]][_0xb3dcxa][_0xb3dcx14]== mxEdgeStyle[_0x708e[2239]][_0xb3dcxa- 1][_0xb3dcx14]?_0xb3dcxa--:_0xb3dcx4= _0xb3dcx14};for(_0xb3dcx15= 0;_0xb3dcx15<= _0xb3dcxa&& !(_0xb3dcx15== _0xb3dcxa&& ((0< (_0xb3dcx2[1]& (mxConstants[_0x708e[438]]| mxConstants[_0x708e[436]]))?0:1)== _0xb3dcx13?0:1)!= (_0xb3dcxa+ 1)% 2);_0xb3dcx15++){_0xb3dcx9[_0x708e[207]]( new mxPoint(mxEdgeStyle[_0x708e[2239]][_0xb3dcx15][0],mxEdgeStyle[_0x708e[2239]][_0xb3dcx15][1]))}}},getRoutePattern:function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[0]== mxConstants[_0x708e[438]]?3:_0xb3dcx2[0];_0xb3dcx2= _0xb3dcx2[1]== mxConstants[_0x708e[438]]?3:_0xb3dcx2[1];_0xb3dcx9-= _0xb3dcx3;_0xb3dcx2-= _0xb3dcx3;1> _0xb3dcx9&& (_0xb3dcx9+= 4);1> _0xb3dcx2&& (_0xb3dcx2+= 4);_0xb3dcx3= routePatterns[_0xb3dcx9- 1][_0xb3dcx2- 1];if(0== _0xb3dcx4|| 0== _0xb3dcx5){null!= inlineRoutePatterns[_0xb3dcx9- 1][_0xb3dcx2- 1]&& (_0xb3dcx3= inlineRoutePatterns[_0xb3dcx9- 1][_0xb3dcx2- 1])};return _0xb3dcx3}},mxStyleRegistry={values:[],putValue:function(_0xb3dcx2,_0xb3dcx3){mxStyleRegistry[_0x708e[2245]][_0xb3dcx2]= _0xb3dcx3},getValue:function(_0xb3dcx2){return mxStyleRegistry[_0x708e[2245]][_0xb3dcx2]},getName:function(_0xb3dcx2){for(var _0xb3dcx3 in mxStyleRegistry[_0x708e[2245]]){if(mxStyleRegistry[_0x708e[2245]][_0xb3dcx3]== _0xb3dcx2){return _0xb3dcx3}};return null}};mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_ELBOW,mxEdgeStyle.ElbowConnector);mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_ENTITY_RELATION,mxEdgeStyle.EntityRelation);mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_LOOP,mxEdgeStyle.Loop);mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_SIDETOSIDE,mxEdgeStyle.SideToSide);mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_TOPTOBOTTOM,mxEdgeStyle.TopToBottom);mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_ORTHOGONAL,mxEdgeStyle.OrthConnector);mxStyleRegistry[_0x708e[2246]](mxConstants.EDGESTYLE_SEGMENT,mxEdgeStyle.SegmentConnector);mxStyleRegistry[_0x708e[2246]](mxConstants.PERIMETER_ELLIPSE,mxPerimeter.EllipsePerimeter);mxStyleRegistry[_0x708e[2246]](mxConstants.PERIMETER_RECTANGLE,mxPerimeter.RectanglePerimeter);mxStyleRegistry[_0x708e[2246]](mxConstants.PERIMETER_RHOMBUS,mxPerimeter.RhombusPerimeter);mxStyleRegistry[_0x708e[2246]](mxConstants.PERIMETER_TRIANGLE,mxPerimeter.TrianglePerimeter);function mxGraphView(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[513]]= new mxPoint;this[_0x708e[2247]]= new mxRectangle;this[_0x708e[1214]]= new mxDictionary}mxGraphView[_0x708e[202]]= new mxEventSource;mxGraphView[_0x708e[202]][_0x708e[196]]= mxGraphView;mxGraphView[_0x708e[202]][_0x708e[2248]]= new mxPoint;mxGraphView[_0x708e[202]][_0x708e[2091]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[819]:_0x708e[110];mxGraphView[_0x708e[202]][_0x708e[2249]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2250]:_0x708e[110];mxGraphView[_0x708e[202]][_0x708e[2251]]= !1;mxGraphView[_0x708e[202]][_0x708e[2252]]= !0;mxGraphView[_0x708e[202]][_0x708e[2253]]= !0;mxGraphView[_0x708e[202]][_0x708e[2254]]= !0;mxGraphView[_0x708e[202]][_0x708e[1179]]= null;mxGraphView[_0x708e[202]][_0x708e[1741]]= null;mxGraphView[_0x708e[202]][_0x708e[2247]]= null;mxGraphView[_0x708e[202]][_0x708e[255]]= 1;mxGraphView[_0x708e[202]][_0x708e[513]]= null;mxGraphView[_0x708e[202]][_0x708e[2255]]= !1;mxGraphView[_0x708e[202]][_0x708e[517]]= function(){return this[_0x708e[2247]]};mxGraphView[_0x708e[202]][_0x708e[2256]]= function(_0xb3dcx2){this[_0x708e[2247]]= _0xb3dcx2};mxGraphView[_0x708e[202]][_0x708e[1799]]= function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){for(var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){if(_0xb3dcx4[_0x708e[1193]](_0xb3dcx2[_0xb3dcx5])|| _0xb3dcx4[_0x708e[250]](_0xb3dcx2[_0xb3dcx5])){var _0xb3dcx9=this[_0x708e[248]](_0xb3dcx2[_0xb3dcx5]);null!= _0xb3dcx9&& (null== _0xb3dcx3?_0xb3dcx3= new mxRectangle(_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]]):_0xb3dcx3[_0x708e[99]](_0xb3dcx9))}}};return _0xb3dcx3};mxGraphView[_0x708e[202]][_0x708e[2257]]= function(_0xb3dcx2){if(this[_0x708e[1741]]!= _0xb3dcx2){var _0xb3dcx3= new mxCurrentRootChange(this,_0xb3dcx2);_0xb3dcx3[_0x708e[350]]();var _0xb3dcx4= new mxUndoableEdit(this,!1);_0xb3dcx4[_0x708e[99]](_0xb3dcx3);this[_0x708e[746]]( new mxEventObject(mxEvent.UNDO,_0x708e[1061],_0xb3dcx4));this[_0x708e[1179]][_0x708e[2258]]()};return _0xb3dcx2};mxGraphView[_0x708e[202]][_0x708e[829]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[255]],_0xb3dcx9= new mxPoint(this[_0x708e[513]][_0x708e[235]],this[_0x708e[513]][_0x708e[236]]);if(this[_0x708e[255]]!= _0xb3dcx2|| this[_0x708e[513]][_0x708e[235]]!= _0xb3dcx3|| this[_0x708e[513]][_0x708e[236]]!= _0xb3dcx4){this[_0x708e[255]]= _0xb3dcx2,this[_0x708e[513]][_0x708e[235]]= _0xb3dcx3,this[_0x708e[513]][_0x708e[236]]= _0xb3dcx4,this[_0x708e[503]]()&& (this[_0x708e[2259]](),this[_0x708e[1179]][_0x708e[2258]]())};this[_0x708e[746]]( new mxEventObject(mxEvent.SCALE_AND_TRANSLATE,_0x708e[255],_0xb3dcx2,_0x708e[2260],_0xb3dcx5,_0x708e[513],this[_0x708e[513]],_0x708e[2261],_0xb3dcx9))};mxGraphView[_0x708e[202]][_0x708e[518]]= function(){return this[_0x708e[255]]};mxGraphView[_0x708e[202]][_0x708e[2262]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[255]];this[_0x708e[255]]!= _0xb3dcx2&& (this[_0x708e[255]]= _0xb3dcx2,this[_0x708e[503]]()&& (this[_0x708e[2259]](),this[_0x708e[1179]][_0x708e[2258]]()));this[_0x708e[746]]( new mxEventObject(mxEvent.SCALE,_0x708e[255],_0xb3dcx2,_0x708e[2260],_0xb3dcx3))};mxGraphView[_0x708e[202]][_0x708e[512]]= function(){return this[_0x708e[513]]};mxGraphView[_0x708e[202]][_0x708e[1147]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4= new mxPoint(this[_0x708e[513]][_0x708e[235]],this[_0x708e[513]][_0x708e[236]]);if(this[_0x708e[513]][_0x708e[235]]!= _0xb3dcx2|| this[_0x708e[513]][_0x708e[236]]!= _0xb3dcx3){this[_0x708e[513]][_0x708e[235]]= _0xb3dcx2,this[_0x708e[513]][_0x708e[236]]= _0xb3dcx3,this[_0x708e[503]]()&& (this[_0x708e[2259]](),this[_0x708e[1179]][_0x708e[2258]]())};this[_0x708e[746]]( new mxEventObject(mxEvent.TRANSLATE,_0x708e[513],this[_0x708e[513]],_0x708e[2261],_0xb3dcx4))};mxGraphView[_0x708e[202]][_0x708e[802]]= function(){null!= this[_0x708e[1741]]&& this[_0x708e[200]]();this[_0x708e[2259]]()};mxGraphView[_0x708e[202]][_0x708e[2259]]= function(){this[_0x708e[2263]]();this[_0x708e[2264]]()};mxGraphView[_0x708e[202]][_0x708e[200]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx2= _0xb3dcx2|| _0xb3dcx5[_0x708e[501]]();_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;this[_0x708e[2265]](_0xb3dcx2);if(_0xb3dcx4&& (_0xb3dcx3|| _0xb3dcx2!= this[_0x708e[1741]])){_0xb3dcx4= _0xb3dcx5[_0x708e[262]](_0xb3dcx2);for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4;_0xb3dcx9++){this[_0x708e[200]](_0xb3dcx5[_0x708e[263]](_0xb3dcx2,_0xb3dcx9),_0xb3dcx3)}}else {this[_0x708e[2263]](_0xb3dcx2)}};mxGraphView[_0x708e[202]][_0x708e[2263]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx2= _0xb3dcx2|| _0xb3dcx9[_0x708e[501]]();_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!1;var _0xb3dcxa=this[_0x708e[248]](_0xb3dcx2);null!= _0xb3dcxa&& (_0xb3dcxa[_0x708e[2080]]= !0,_0xb3dcx5&& (_0xb3dcxa[_0x708e[2082]]= !0));if(_0xb3dcx3){for(var _0xb3dcx12=_0xb3dcx9[_0x708e[262]](_0xb3dcx2),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx12;_0xb3dcxa++){var _0xb3dcx13=_0xb3dcx9[_0x708e[263]](_0xb3dcx2,_0xb3dcxa);this[_0x708e[2263]](_0xb3dcx13,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)}};if(_0xb3dcx4){_0xb3dcx5= _0xb3dcx9[_0x708e[1707]](_0xb3dcx2);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx5;_0xb3dcxa++){this[_0x708e[2263]](_0xb3dcx9[_0x708e[1708]](_0xb3dcx2,_0xb3dcxa),_0xb3dcx3,_0xb3dcx4)}}};mxGraphView[_0x708e[202]][_0x708e[2264]]= function(_0xb3dcx2){var _0xb3dcx3=mxLog[_0x708e[2109]](_0x708e[2266]);window[_0x708e[879]]= mxResources[_0x708e[203]](this[_0x708e[2249]])|| this[_0x708e[2249]];var _0xb3dcx4=null;if(this[_0x708e[2253]]&& null!= this[_0x708e[510]]&& null== this[_0x708e[1653]]&& (8== document[_0x708e[5]]|| mxClient[_0x708e[496]])){_0xb3dcx4= this[_0x708e[510]][_0x708e[124]][_0x708e[495]];this[_0x708e[510]][_0x708e[124]][_0x708e[495]]= _0x708e[130];var _0xb3dcx5=document[_0x708e[55]](_0x708e[485]);_0xb3dcx5[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx5[_0x708e[124]][_0x708e[493]]= _0x708e[494];_0xb3dcx5[_0x708e[124]][_0x708e[187]]= _0x708e[188];_0xb3dcx5[_0x708e[124]][_0x708e[495]]= mxClient[_0x708e[496]]?_0x708e[497]:_0x708e[498];_0xb3dcx5[_0x708e[124]][_0x708e[499]]= _0x708e[500];document[_0x708e[112]][_0x708e[62]](_0xb3dcx5);this[_0x708e[1653]]= _0xb3dcx5};_0xb3dcx2= _0xb3dcx2|| (null!= this[_0x708e[1741]]?this[_0x708e[1741]]:this[_0x708e[1179]][_0x708e[502]]()[_0x708e[501]]());this[_0x708e[2267]](null,_0xb3dcx2);_0xb3dcx2= this[_0x708e[2268]](null,_0xb3dcx2);null== _0xb3dcx2&& (_0xb3dcx2= new mxRectangle);this[_0x708e[2256]](_0xb3dcx2);this[_0x708e[2269]]();null!= _0xb3dcx4&& (this[_0x708e[510]][_0x708e[124]][_0x708e[495]]= _0xb3dcx4,document[_0x708e[112]][_0x708e[266]](this[_0x708e[1653]]),this[_0x708e[1653]]= null);window[_0x708e[879]]= mxResources[_0x708e[203]](this[_0x708e[2091]])|| this[_0x708e[2091]];mxLog[_0x708e[2110]](_0x708e[2266],_0xb3dcx3)};mxGraphView[_0x708e[202]][_0x708e[2270]]= function(_0xb3dcx2){return new mxRectangleShape(_0xb3dcx2,_0x708e[1391],_0x708e[586])};mxGraphView[_0x708e[202]][_0x708e[2269]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[2271]]();if(null!= _0xb3dcx2){if(null== this[_0x708e[1617]]|| this[_0x708e[1617]][_0x708e[618]]!= _0xb3dcx2[_0x708e[390]]){null!= this[_0x708e[1617]]&& this[_0x708e[1617]][_0x708e[515]]();var _0xb3dcx3= new mxRectangle(0,0,1,1);this[_0x708e[1617]]= new mxImageShape(_0xb3dcx3,_0xb3dcx2[_0x708e[390]]);this[_0x708e[1617]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]];this[_0x708e[1617]][_0x708e[176]](this[_0x708e[2053]]);this[_0x708e[1617]][_0x708e[258]]()};this[_0x708e[2272]](this[_0x708e[1617]],_0xb3dcx2)}else {null!= this[_0x708e[1617]]&& (this[_0x708e[1617]][_0x708e[515]](),this[_0x708e[1617]]= null)};this[_0x708e[1179]][_0x708e[2273]]?(_0xb3dcx3= this[_0x708e[2274]](),null== this[_0x708e[2275]]?(this[_0x708e[2275]]= this[_0x708e[2270]](_0xb3dcx3),this[_0x708e[2275]][_0x708e[255]]= this[_0x708e[255]],this[_0x708e[2275]][_0x708e[1596]]= !0,this[_0x708e[2275]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]],this[_0x708e[2275]][_0x708e[176]](this[_0x708e[2053]]),this[_0x708e[2275]][_0x708e[258]](),mxEvent[_0x708e[169]](this[_0x708e[2275]][_0x708e[252]],_0x708e[760],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[761]](_0xb3dcx2)})),mxEvent[_0x708e[759]](this[_0x708e[2275]][_0x708e[252]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx2))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx2){null!= this[_0x708e[1179]][_0x708e[2276]]&& this[_0x708e[1179]][_0x708e[2276]][_0x708e[2277]]()&& this[_0x708e[1179]][_0x708e[2276]][_0x708e[801]]();this[_0x708e[1179]][_0x708e[1009]]&& !mxEvent[_0x708e[721]](_0xb3dcx2)&& this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx2))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx2))}))):(this[_0x708e[2275]][_0x708e[255]]= this[_0x708e[255]],this[_0x708e[2275]][_0x708e[1562]]= _0xb3dcx3,this[_0x708e[2275]][_0x708e[258]]())):null!= this[_0x708e[2275]]&& (this[_0x708e[2275]][_0x708e[515]](),this[_0x708e[2275]]= null)};mxGraphView[_0x708e[202]][_0x708e[2274]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[2013]],_0xb3dcx3=this[_0x708e[255]]* this[_0x708e[1179]][_0x708e[2012]];return new mxRectangle(this[_0x708e[255]]* this[_0x708e[513]][_0x708e[235]],this[_0x708e[255]]* this[_0x708e[513]][_0x708e[236]],_0xb3dcx2[_0x708e[117]]* _0xb3dcx3,_0xb3dcx2[_0x708e[119]]* _0xb3dcx3)};mxGraphView[_0x708e[202]][_0x708e[2272]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[255]]= this[_0x708e[255]];_0xb3dcx2[_0x708e[1562]][_0x708e[235]]= this[_0x708e[255]]* this[_0x708e[513]][_0x708e[235]];_0xb3dcx2[_0x708e[1562]][_0x708e[236]]= this[_0x708e[255]]* this[_0x708e[513]][_0x708e[236]];_0xb3dcx2[_0x708e[1562]][_0x708e[117]]= this[_0x708e[255]]* _0xb3dcx3[_0x708e[117]];_0xb3dcx2[_0x708e[1562]][_0x708e[119]]= this[_0x708e[255]]* _0xb3dcx3[_0x708e[119]];_0xb3dcx2[_0x708e[258]]()};mxGraphView[_0x708e[202]][_0x708e[2267]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=this[_0x708e[248]](_0xb3dcx3,!0);if(null!= _0xb3dcx5&& _0xb3dcx5[_0x708e[2080]]){if(this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx3)){if(_0xb3dcx3!= this[_0x708e[1741]]&& null!= _0xb3dcx2){_0xb3dcx5[_0x708e[2079]][_0x708e[235]]= 0;_0xb3dcx5[_0x708e[2079]][_0x708e[236]]= 0;_0xb3dcx5[_0x708e[2078]][_0x708e[235]]= _0xb3dcx2[_0x708e[2078]][_0x708e[235]];_0xb3dcx5[_0x708e[2078]][_0x708e[236]]= _0xb3dcx2[_0x708e[2078]][_0x708e[236]];var _0xb3dcx9=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx3);if(null!= _0xb3dcx9){if(!_0xb3dcx4[_0x708e[250]](_0xb3dcx3)){var _0xb3dcxa=_0xb3dcx9[_0x708e[1368]]|| this[_0x708e[2248]];_0xb3dcx9[_0x708e[1500]]?(_0xb3dcx5[_0x708e[2078]][_0x708e[235]]+= _0xb3dcx9[_0x708e[235]]* _0xb3dcx2[_0x708e[117]]/ this[_0x708e[255]]+ _0xb3dcxa[_0x708e[235]],_0xb3dcx5[_0x708e[2078]][_0x708e[236]]+= _0xb3dcx9[_0x708e[236]]* _0xb3dcx2[_0x708e[119]]/ this[_0x708e[255]]+ _0xb3dcxa[_0x708e[236]]):(_0xb3dcx5[_0x708e[2079]][_0x708e[235]]= this[_0x708e[255]]* _0xb3dcxa[_0x708e[235]],_0xb3dcx5[_0x708e[2079]][_0x708e[236]]= this[_0x708e[255]]* _0xb3dcxa[_0x708e[236]],_0xb3dcx5[_0x708e[2078]][_0x708e[235]]+= _0xb3dcx9[_0x708e[235]],_0xb3dcx5[_0x708e[2078]][_0x708e[236]]+= _0xb3dcx9[_0x708e[236]])};_0xb3dcx5[_0x708e[235]]= this[_0x708e[255]]* (this[_0x708e[513]][_0x708e[235]]+ _0xb3dcx5[_0x708e[2078]][_0x708e[235]]);_0xb3dcx5[_0x708e[236]]= this[_0x708e[255]]* (this[_0x708e[513]][_0x708e[236]]+ _0xb3dcx5[_0x708e[2078]][_0x708e[236]]);_0xb3dcx5[_0x708e[117]]= this[_0x708e[255]]* _0xb3dcx9[_0x708e[117]];_0xb3dcx5[_0x708e[119]]= this[_0x708e[255]]* _0xb3dcx9[_0x708e[119]];if(_0xb3dcx4[_0x708e[1193]](_0xb3dcx3)){if(_0xb3dcx9[_0x708e[1500]]&& (_0xb3dcxa= mxUtils[_0x708e[431]](_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]),0!= _0xb3dcxa)){var _0xb3dcx9=Math[_0x708e[426]](_0xb3dcxa),_0xb3dcxa=Math[_0x708e[427]](_0xb3dcxa),_0xb3dcx12= new mxPoint(_0xb3dcx5[_0x708e[241]](),_0xb3dcx5[_0x708e[242]]()),_0xb3dcx13= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]()),_0xb3dcx9=mxUtils[_0x708e[432]](_0xb3dcx12,_0xb3dcx9,_0xb3dcxa,_0xb3dcx13);_0xb3dcx5[_0x708e[235]]= _0xb3dcx9[_0x708e[235]]- _0xb3dcx5[_0x708e[117]]/ 2;_0xb3dcx5[_0x708e[236]]= _0xb3dcx9[_0x708e[236]]- _0xb3dcx5[_0x708e[119]]/ 2};this[_0x708e[2279]](_0xb3dcx5)}}}}else {this[_0x708e[2265]](_0xb3dcx3)};_0xb3dcxa= this[_0x708e[1179]][_0x708e[2280]](_0xb3dcx3);null!= _0xb3dcxa&& (_0xb3dcx5[_0x708e[2078]][_0x708e[235]]+= _0xb3dcxa[_0x708e[235]],_0xb3dcx5[_0x708e[2078]][_0x708e[236]]+= _0xb3dcxa[_0x708e[236]])};if(null!= _0xb3dcx5&& (!this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx3)|| _0xb3dcx3== this[_0x708e[1741]])){_0xb3dcx9= _0xb3dcx4[_0x708e[262]](_0xb3dcx3);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx9;_0xb3dcxa++){_0xb3dcx12= _0xb3dcx4[_0x708e[263]](_0xb3dcx3,_0xb3dcxa),this[_0x708e[2267]](_0xb3dcx5,_0xb3dcx12)}}};mxGraphView[_0x708e[202]][_0x708e[2279]]= function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_LABEL_POSITION,mxConstants.ALIGN_CENTER);_0xb3dcx3== mxConstants[_0x708e[2132]]?_0xb3dcx2[_0x708e[2079]][_0x708e[235]]-= _0xb3dcx2[_0x708e[117]]:_0xb3dcx3== mxConstants[_0x708e[480]]&& (_0xb3dcx2[_0x708e[2079]][_0x708e[235]]+= _0xb3dcx2[_0x708e[117]]);_0xb3dcx3= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_VERTICAL_LABEL_POSITION,mxConstants.ALIGN_MIDDLE);_0xb3dcx3== mxConstants[_0x708e[1687]]?_0xb3dcx2[_0x708e[2079]][_0x708e[236]]-= _0xb3dcx2[_0x708e[119]]:_0xb3dcx3== mxConstants[_0x708e[482]]&& (_0xb3dcx2[_0x708e[2079]][_0x708e[236]]+= _0xb3dcx2[_0x708e[119]])};mxGraphView[_0x708e[202]][_0x708e[2268]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=this[_0x708e[248]](_0xb3dcx3),_0xb3dcx9=null;if(null!= _0xb3dcx5){if(_0xb3dcx5[_0x708e[2080]]){var _0xb3dcxa=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx3);if(null!= _0xb3dcxa&& _0xb3dcx4[_0x708e[250]](_0xb3dcx3)){var _0xb3dcx12=this[_0x708e[248]](this[_0x708e[1710]](_0xb3dcx3,!0));_0xb3dcx5[_0x708e[2090]](_0xb3dcx12,!0);if(null!= _0xb3dcx12&& _0xb3dcx4[_0x708e[250]](_0xb3dcx12[_0x708e[246]])&& !_0xb3dcx4[_0x708e[1720]](_0xb3dcx12[_0x708e[246]],_0xb3dcx3)){var _0xb3dcx13=this[_0x708e[248]](_0xb3dcx4[_0x708e[1197]](_0xb3dcx12[_0x708e[246]]));this[_0x708e[2268]](_0xb3dcx13,_0xb3dcx12[_0x708e[246]])};var _0xb3dcx14=this[_0x708e[248]](this[_0x708e[1710]](_0xb3dcx3,!1));_0xb3dcx5[_0x708e[2090]](_0xb3dcx14,!1);null!= _0xb3dcx14&& (_0xb3dcx4[_0x708e[250]](_0xb3dcx14[_0x708e[246]])&& !_0xb3dcx4[_0x708e[1720]](_0xb3dcx14[_0x708e[246]],_0xb3dcx3))&& (_0xb3dcx13= this[_0x708e[248]](_0xb3dcx4[_0x708e[1197]](_0xb3dcx14[_0x708e[246]])),this[_0x708e[2268]](_0xb3dcx13,_0xb3dcx14[_0x708e[246]]));this[_0x708e[2281]](_0xb3dcx5,_0xb3dcx12,_0xb3dcx14);this[_0x708e[2282]](_0xb3dcx5,_0xb3dcxa[_0x708e[1525]],_0xb3dcx12,_0xb3dcx14);this[_0x708e[2283]](_0xb3dcx5,_0xb3dcx12,_0xb3dcx14);this[_0x708e[2284]](_0xb3dcx5);this[_0x708e[2285]](_0xb3dcx5)}else {null!= _0xb3dcxa&& (_0xb3dcxa[_0x708e[1500]]&& null!= _0xb3dcx2&& _0xb3dcx4[_0x708e[250]](_0xb3dcx2[_0x708e[246]]))&& (_0xb3dcxa= this[_0x708e[245]](_0xb3dcx2,_0xb3dcxa),null!= _0xb3dcxa&& (_0xb3dcx5[_0x708e[235]]= _0xb3dcxa[_0x708e[235]],_0xb3dcx5[_0x708e[236]]= _0xb3dcxa[_0x708e[236]],_0xb3dcxa[_0x708e[235]]= _0xb3dcxa[_0x708e[235]]/ this[_0x708e[255]]- this[_0x708e[513]][_0x708e[235]],_0xb3dcxa[_0x708e[236]]= _0xb3dcxa[_0x708e[236]]/ this[_0x708e[255]]- this[_0x708e[513]][_0x708e[236]],_0xb3dcx5[_0x708e[2078]]= _0xb3dcxa,this[_0x708e[2286]](_0xb3dcx2,_0xb3dcx5)))};_0xb3dcx5[_0x708e[2080]]= !1;_0xb3dcx3!= this[_0x708e[1741]]&& this[_0x708e[1179]][_0x708e[259]][_0x708e[258]](_0xb3dcx5,!1,this[_0x708e[2287]]())};if(_0xb3dcx4[_0x708e[250]](_0xb3dcx3)|| _0xb3dcx4[_0x708e[1193]](_0xb3dcx3)){null!= _0xb3dcx5[_0x708e[253]]&& null!= _0xb3dcx5[_0x708e[253]][_0x708e[1563]]&& (_0xb3dcx9= _0xb3dcx5[_0x708e[253]][_0x708e[1563]][_0x708e[238]]()),null!= _0xb3dcx5[_0x708e[963]]&& !this[_0x708e[1179]][_0x708e[2130]](_0xb3dcx5[_0x708e[246]])&& null!= _0xb3dcx5[_0x708e[963]][_0x708e[1563]]&& (null!= _0xb3dcx9?_0xb3dcx9[_0x708e[99]](_0xb3dcx5[_0x708e[963]][_0x708e[1563]]):_0xb3dcx9= _0xb3dcx5[_0x708e[963]][_0x708e[1563]][_0x708e[238]]())}};if(null!= _0xb3dcx5&& (!this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx3)|| _0xb3dcx3== this[_0x708e[1741]])){_0xb3dcxa= _0xb3dcx4[_0x708e[262]](_0xb3dcx3);for(_0xb3dcx12= 0;_0xb3dcx12< _0xb3dcxa;_0xb3dcx12++){_0xb3dcx13= _0xb3dcx4[_0x708e[263]](_0xb3dcx3,_0xb3dcx12),_0xb3dcx13= this[_0x708e[2268]](_0xb3dcx5,_0xb3dcx13),null!= _0xb3dcx13&& (null== _0xb3dcx9?_0xb3dcx9= _0xb3dcx13:_0xb3dcx9[_0x708e[99]](_0xb3dcx13))}};return _0xb3dcx9};mxGraphView[_0x708e[202]][_0x708e[2286]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx3[_0x708e[246]];if(!this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx4)|| _0xb3dcx4== this[_0x708e[1741]]){for(var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[262]](_0xb3dcx4),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9;_0xb3dcxa++){this[_0x708e[2267]](_0xb3dcx3,_0xb3dcx5[_0x708e[263]](_0xb3dcx4,_0xb3dcxa))}}};mxGraphView[_0x708e[202]][_0x708e[2281]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[2289]](_0xb3dcx2,_0xb3dcx3,!0,this[_0x708e[1179]][_0x708e[2288]](_0xb3dcx2,_0xb3dcx3,!0));this[_0x708e[2289]](_0xb3dcx2,_0xb3dcx4,!1,this[_0x708e[1179]][_0x708e[2288]](_0xb3dcx2,_0xb3dcx4,!1))};mxGraphView[_0x708e[202]][_0x708e[2289]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null;null!= _0xb3dcx5&& (_0xb3dcx9= this[_0x708e[1179]][_0x708e[2290]](_0xb3dcx3,_0xb3dcx5));if(null== _0xb3dcx9&& null== _0xb3dcx3){_0xb3dcx3= this[_0x708e[255]];_0xb3dcx5= this[_0x708e[513]];var _0xb3dcxa=_0xb3dcx2[_0x708e[2078]],_0xb3dcx9=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx2[_0x708e[246]])[_0x708e[2006]](_0xb3dcx4);null!= _0xb3dcx9&& (_0xb3dcx9= new mxPoint(_0xb3dcx3* (_0xb3dcx5[_0x708e[235]]+ _0xb3dcx9[_0x708e[235]]+ _0xb3dcxa[_0x708e[235]]),_0xb3dcx3* (_0xb3dcx5[_0x708e[236]]+ _0xb3dcx9[_0x708e[236]]+ _0xb3dcxa[_0x708e[236]])))};_0xb3dcx2[_0x708e[2088]](_0xb3dcx9,_0xb3dcx4)};mxGraphView[_0x708e[202]][_0x708e[2282]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx2){var _0xb3dcx9=[];_0xb3dcx9[_0x708e[207]](_0xb3dcx2[_0x708e[439]][0]);var _0xb3dcxa=this[_0x708e[2291]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5);if(null!= _0xb3dcxa){_0xb3dcx4= this[_0x708e[2292]](_0xb3dcx2,_0xb3dcx4,!0),_0xb3dcx5= this[_0x708e[2292]](_0xb3dcx2,_0xb3dcx5,!1),_0xb3dcxa(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx3,_0xb3dcx9)}else {if(null!= _0xb3dcx3){for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx3[_0x708e[67]];_0xb3dcxa++){null!= _0xb3dcx3[_0xb3dcxa]&& (_0xb3dcx5= mxUtils[_0x708e[238]](_0xb3dcx3[_0xb3dcxa]),_0xb3dcx9[_0x708e[207]](this[_0x708e[2229]](_0xb3dcx2,_0xb3dcx5)))}}};_0xb3dcx3= _0xb3dcx2[_0x708e[439]];_0xb3dcx9[_0x708e[207]](_0xb3dcx3[_0xb3dcx3[_0x708e[67]]- 1]);_0xb3dcx2[_0x708e[439]]= _0xb3dcx9}};mxGraphView[_0x708e[202]][_0x708e[2229]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[2078]];return new mxPoint(this[_0x708e[255]]* (_0xb3dcx3[_0x708e[235]]+ this[_0x708e[513]][_0x708e[235]]+ _0xb3dcx4[_0x708e[235]]),this[_0x708e[255]]* (_0xb3dcx3[_0x708e[236]]+ this[_0x708e[513]][_0x708e[236]]+ _0xb3dcx4[_0x708e[236]]))};mxGraphView[_0x708e[202]][_0x708e[2291]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2= null!= _0xb3dcx4&& _0xb3dcx4== _0xb3dcx5?mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_LOOP,this[_0x708e[1179]][_0x708e[2293]]):!mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_NOEDGESTYLE,!1)?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2294]]]:null;_0x708e[1516]== typeof _0xb3dcx2&& (_0xb3dcx3= mxStyleRegistry[_0x708e[433]](_0xb3dcx2),null== _0xb3dcx3&& this[_0x708e[2295]]()&& (_0xb3dcx3= mxUtils[_0x708e[1545]](_0xb3dcx2)),_0xb3dcx2= _0xb3dcx3);return _0x708e[279]== typeof _0xb3dcx2?_0xb3dcx2:null};mxGraphView[_0x708e[202]][_0x708e[2283]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[439]],_0xb3dcx9=_0xb3dcx5[0];null== _0xb3dcx5[_0xb3dcx5[_0x708e[67]]- 1]&& null!= _0xb3dcx4&& this[_0x708e[2296]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx3,!1);null== _0xb3dcx9&& null!= _0xb3dcx3&& this[_0x708e[2296]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,!0)};mxGraphView[_0x708e[202]][_0x708e[2296]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= this[_0x708e[2292]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx5);var _0xb3dcx9=this[_0x708e[2297]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5),_0xb3dcxa=this[_0x708e[1179]][_0x708e[2298]](_0xb3dcx2);_0xb3dcx4= mxUtils[_0x708e[431]](Number(_0xb3dcx3[_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]));var _0xb3dcx12= new mxPoint(_0xb3dcx3[_0x708e[241]](),_0xb3dcx3[_0x708e[242]]());if(0!= _0xb3dcx4){var _0xb3dcx13=Math[_0x708e[426]](-_0xb3dcx4),_0xb3dcx14=Math[_0x708e[427]](-_0xb3dcx4),_0xb3dcx9=mxUtils[_0x708e[432]](_0xb3dcx9,_0xb3dcx13,_0xb3dcx14,_0xb3dcx12)};_0xb3dcx13= parseFloat(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2299]]]|| 0);_0xb3dcx13+= parseFloat(_0xb3dcx2[_0x708e[124]][_0xb3dcx5?mxConstants[_0x708e[2300]]:mxConstants[_0x708e[2301]]]|| 0);_0xb3dcx3= this[_0x708e[2302]](_0xb3dcx3,_0xb3dcx9,0== _0xb3dcx4&& _0xb3dcxa,_0xb3dcx13);0!= _0xb3dcx4&& (_0xb3dcx13= Math[_0x708e[426]](_0xb3dcx4),_0xb3dcx14= Math[_0x708e[427]](_0xb3dcx4),_0xb3dcx3= mxUtils[_0x708e[432]](_0xb3dcx3,_0xb3dcx13,_0xb3dcx14,_0xb3dcx12));_0xb3dcx2[_0x708e[2088]](_0xb3dcx3,_0xb3dcx5)};mxGraphView[_0x708e[202]][_0x708e[2292]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],_0xb3dcx4?mxConstants[_0x708e[2303]]:mxConstants[_0x708e[2304]]);null!= _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[248]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[736]](_0xb3dcx2)),null!= _0xb3dcx2&& (_0xb3dcx3= _0xb3dcx2));return _0xb3dcx3};mxGraphView[_0x708e[202]][_0x708e[2302]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null;if(null!= _0xb3dcx2){var _0xb3dcxa=this[_0x708e[2305]](_0xb3dcx2);if(null!= _0xb3dcxa&& null!= _0xb3dcx3&& (_0xb3dcx5= this[_0x708e[2087]](_0xb3dcx2,_0xb3dcx5),0< _0xb3dcx5[_0x708e[117]]|| 0< _0xb3dcx5[_0x708e[119]])){_0xb3dcx9= _0xb3dcxa(_0xb3dcx5,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)};null== _0xb3dcx9&& (_0xb3dcx9= this[_0x708e[245]](_0xb3dcx2))};return _0xb3dcx9};mxGraphView[_0x708e[202]][_0x708e[2230]]= function(_0xb3dcx2){var _0xb3dcx3=null!= _0xb3dcx2[_0x708e[124]]?parseFloat(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2306]]])|| 0:0;return _0xb3dcx2[_0x708e[241]]()+ _0xb3dcx3* _0xb3dcx2[_0x708e[117]]};mxGraphView[_0x708e[202]][_0x708e[2228]]= function(_0xb3dcx2){var _0xb3dcx3=null!= _0xb3dcx2[_0x708e[124]]?parseFloat(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2307]]])|| 0:0;return _0xb3dcx2[_0x708e[242]]()+ _0xb3dcx3* _0xb3dcx2[_0x708e[119]]};mxGraphView[_0x708e[202]][_0x708e[2087]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:0;null!= _0xb3dcx2&& (_0xb3dcx3+= parseFloat(_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2299]]]|| 0));return _0xb3dcx2[_0x708e[2087]](_0xb3dcx3* this[_0x708e[255]])};mxGraphView[_0x708e[202]][_0x708e[2305]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2061]]];if(_0x708e[1516]== typeof _0xb3dcx2){var _0xb3dcx3=mxStyleRegistry[_0x708e[433]](_0xb3dcx2);null== _0xb3dcx3&& this[_0x708e[2295]]()&& (_0xb3dcx3= mxUtils[_0x708e[1545]](_0xb3dcx2));_0xb3dcx2= _0xb3dcx3};return _0x708e[279]== typeof _0xb3dcx2?_0xb3dcx2:null};mxGraphView[_0x708e[202]][_0x708e[2297]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= _0xb3dcx2[_0x708e[439]];var _0xb3dcx5=null;if(null!= _0xb3dcx2&& (_0xb3dcx4|| 2< _0xb3dcx2[_0x708e[67]]|| null== _0xb3dcx3)){_0xb3dcx5= _0xb3dcx2[_0x708e[67]],_0xb3dcx5= _0xb3dcx2[_0xb3dcx4?Math[_0x708e[243]](1,_0xb3dcx5- 1):Math[_0x708e[160]](0,_0xb3dcx5- 2)]};null== _0xb3dcx5&& null!= _0xb3dcx3&& (_0xb3dcx5= new mxPoint(_0xb3dcx3[_0x708e[241]](),_0xb3dcx3[_0x708e[242]]()));return _0xb3dcx5};mxGraphView[_0x708e[202]][_0x708e[1710]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx4[_0x708e[1709]](_0xb3dcx2,_0xb3dcx3),_0xb3dcx9=_0xb3dcx5;null!= _0xb3dcx5&& _0xb3dcx5!= this[_0x708e[1741]];){if(!this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx9)|| this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx5)){_0xb3dcx9= _0xb3dcx5};_0xb3dcx5= _0xb3dcx4[_0x708e[1197]](_0xb3dcx5)};_0xb3dcx4[_0x708e[1197]](_0xb3dcx9)== _0xb3dcx4[_0x708e[501]]()&& (_0xb3dcx9= null);return _0xb3dcx9};mxGraphView[_0x708e[202]][_0x708e[2284]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[439]];_0xb3dcx2[_0x708e[67]]= 0;if(null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]){var _0xb3dcx4=_0xb3dcx3[0],_0xb3dcx5=_0xb3dcx3[_0xb3dcx3[_0x708e[67]]- 1];if(null== _0xb3dcx4|| null== _0xb3dcx5){_0xb3dcx2[_0x708e[246]]!= this[_0x708e[1741]]&& this[_0x708e[200]](_0xb3dcx2[_0x708e[246]],!0)}else {if(_0xb3dcx4[_0x708e[235]]!= _0xb3dcx5[_0x708e[235]]|| _0xb3dcx4[_0x708e[236]]!= _0xb3dcx5[_0x708e[236]]){var _0xb3dcx9=_0xb3dcx5[_0x708e[235]]- _0xb3dcx4[_0x708e[235]],_0xb3dcxa=_0xb3dcx5[_0x708e[236]]- _0xb3dcx4[_0x708e[236]];_0xb3dcx2[_0x708e[2085]]= Math[_0x708e[428]](_0xb3dcx9* _0xb3dcx9+ _0xb3dcxa* _0xb3dcxa)}else {_0xb3dcx2[_0x708e[2085]]= 0};var _0xb3dcx5=0,_0xb3dcx12=[],_0xb3dcxa=_0xb3dcx4;if(null!= _0xb3dcxa){for(var _0xb3dcx4=_0xb3dcxa[_0x708e[235]],_0xb3dcx13=_0xb3dcxa[_0x708e[236]],_0xb3dcx14=_0xb3dcx4,_0xb3dcx15=_0xb3dcx13,_0xb3dcx16=1;_0xb3dcx16< _0xb3dcx3[_0x708e[67]];_0xb3dcx16++){var _0xb3dcx17=_0xb3dcx3[_0xb3dcx16];null!= _0xb3dcx17&& (_0xb3dcx9= _0xb3dcxa[_0x708e[235]]- _0xb3dcx17[_0x708e[235]],_0xb3dcxa= _0xb3dcxa[_0x708e[236]]- _0xb3dcx17[_0x708e[236]],_0xb3dcx9= Math[_0x708e[428]](_0xb3dcx9* _0xb3dcx9+ _0xb3dcxa* _0xb3dcxa),_0xb3dcx12[_0x708e[207]](_0xb3dcx9),_0xb3dcx5+= _0xb3dcx9,_0xb3dcxa= _0xb3dcx17,_0xb3dcx4= Math[_0x708e[243]](_0xb3dcxa[_0x708e[235]],_0xb3dcx4),_0xb3dcx13= Math[_0x708e[243]](_0xb3dcxa[_0x708e[236]],_0xb3dcx13),_0xb3dcx14= Math[_0x708e[160]](_0xb3dcxa[_0x708e[235]],_0xb3dcx14),_0xb3dcx15= Math[_0x708e[160]](_0xb3dcxa[_0x708e[236]],_0xb3dcx15))};_0xb3dcx2[_0x708e[67]]= _0xb3dcx5;_0xb3dcx2[_0x708e[2086]]= _0xb3dcx12;_0xb3dcx2[_0x708e[235]]= _0xb3dcx4;_0xb3dcx2[_0x708e[236]]= _0xb3dcx13;_0xb3dcx2[_0x708e[117]]= Math[_0x708e[160]](1,_0xb3dcx14- _0xb3dcx4);_0xb3dcx2[_0x708e[119]]= Math[_0x708e[160]](1,_0xb3dcx15- _0xb3dcx13)}}}};mxGraphView[_0x708e[202]][_0x708e[245]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[241]](),_0xb3dcx5=_0xb3dcx2[_0x708e[242]]();if(null!= _0xb3dcx2[_0x708e[2086]]&& (null== _0xb3dcx3|| _0xb3dcx3[_0x708e[1500]])){for(var _0xb3dcx9=_0xb3dcx2[_0x708e[439]][_0x708e[67]],_0xb3dcxa=((null!= _0xb3dcx3?_0xb3dcx3[_0x708e[235]]/ 2:0)+ 0.5)* _0xb3dcx2[_0x708e[67]],_0xb3dcx12=_0xb3dcx2[_0x708e[2086]][0],_0xb3dcx13=0,_0xb3dcx14=1;_0xb3dcxa> _0xb3dcx13+ _0xb3dcx12&& _0xb3dcx14< _0xb3dcx9- 1;){_0xb3dcx13+= _0xb3dcx12,_0xb3dcx12= _0xb3dcx2[_0x708e[2086]][_0xb3dcx14++]};_0xb3dcx9= 0== _0xb3dcx12?0:(_0xb3dcxa- _0xb3dcx13)/ _0xb3dcx12;_0xb3dcxa= _0xb3dcx2[_0x708e[439]][_0xb3dcx14- 1];_0xb3dcx14= _0xb3dcx2[_0x708e[439]][_0xb3dcx14];if(null!= _0xb3dcxa&& null!= _0xb3dcx14){_0xb3dcx13= _0xb3dcx4= _0xb3dcx5= 0;if(null!= _0xb3dcx3){var _0xb3dcx5=_0xb3dcx3[_0x708e[236]],_0xb3dcx15=_0xb3dcx3[_0x708e[1368]];null!= _0xb3dcx15&& (_0xb3dcx4= _0xb3dcx15[_0x708e[235]],_0xb3dcx13= _0xb3dcx15[_0x708e[236]])};_0xb3dcx15= _0xb3dcx14[_0x708e[235]]- _0xb3dcxa[_0x708e[235]];_0xb3dcx14= _0xb3dcx14[_0x708e[236]]- _0xb3dcxa[_0x708e[236]];_0xb3dcx4= _0xb3dcxa[_0x708e[235]]+ _0xb3dcx15* _0xb3dcx9+ ((0== _0xb3dcx12?0:_0xb3dcx14/ _0xb3dcx12)* _0xb3dcx5+ _0xb3dcx4)* this[_0x708e[255]];_0xb3dcx5= _0xb3dcxa[_0x708e[236]]+ _0xb3dcx14* _0xb3dcx9- ((0== _0xb3dcx12?0:_0xb3dcx15/ _0xb3dcx12)* _0xb3dcx5- _0xb3dcx13)* this[_0x708e[255]]}}else {null!= _0xb3dcx3&& (_0xb3dcx15= _0xb3dcx3[_0x708e[1368]],null!= _0xb3dcx15&& (_0xb3dcx4+= _0xb3dcx15[_0x708e[235]],_0xb3dcx5+= _0xb3dcx15[_0x708e[236]]))};return new mxPoint(_0xb3dcx4,_0xb3dcx5)};mxGraphView[_0x708e[202]][_0x708e[2308]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1721]](_0xb3dcx2[_0x708e[246]]);if(null!= _0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[_0x708e[439]][_0x708e[67]];if(_0xb3dcx5[_0x708e[1500]]&& 1< _0xb3dcx9){for(var _0xb3dcx5=_0xb3dcx2[_0x708e[67]],_0xb3dcxa=_0xb3dcx2[_0x708e[2086]],_0xb3dcx12=_0xb3dcx2[_0x708e[439]][0],_0xb3dcx13=_0xb3dcx2[_0x708e[439]][1],_0xb3dcx14=mxUtils[_0x708e[440]](_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],_0xb3dcx3,_0xb3dcx4),_0xb3dcx15=0,_0xb3dcx16=0,_0xb3dcx17=0,_0xb3dcx18=2;_0xb3dcx18< _0xb3dcx9;_0xb3dcx18++){_0xb3dcx16+= _0xb3dcxa[_0xb3dcx18- 2],_0xb3dcx13= _0xb3dcx2[_0x708e[439]][_0xb3dcx18],_0xb3dcx12= mxUtils[_0x708e[440]](_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],_0xb3dcx3,_0xb3dcx4),_0xb3dcx12<= _0xb3dcx14&& (_0xb3dcx14= _0xb3dcx12,_0xb3dcx15= _0xb3dcx18- 1,_0xb3dcx17= _0xb3dcx16),_0xb3dcx12= _0xb3dcx13};_0xb3dcx9= _0xb3dcxa[_0xb3dcx15];_0xb3dcx12= _0xb3dcx2[_0x708e[439]][_0xb3dcx15];_0xb3dcx13= _0xb3dcx2[_0x708e[439]][_0xb3dcx15+ 1];_0xb3dcx14= _0xb3dcx13[_0x708e[235]];_0xb3dcxa= _0xb3dcx13[_0x708e[236]];_0xb3dcx2= _0xb3dcx12[_0x708e[235]]- _0xb3dcx14;_0xb3dcx15= _0xb3dcx12[_0x708e[236]]- _0xb3dcxa;_0xb3dcx14= _0xb3dcx3- _0xb3dcx14;_0xb3dcxa= _0xb3dcx4- _0xb3dcxa;_0xb3dcx14= _0xb3dcx2- _0xb3dcx14;_0xb3dcxa= _0xb3dcx15- _0xb3dcxa;_0xb3dcxa= _0xb3dcx14* _0xb3dcx2+ _0xb3dcxa* _0xb3dcx15;_0xb3dcx2= Math[_0x708e[428]](0>= _0xb3dcxa?0:_0xb3dcxa* _0xb3dcxa/ (_0xb3dcx2* _0xb3dcx2+ _0xb3dcx15* _0xb3dcx15));_0xb3dcx2> _0xb3dcx9&& (_0xb3dcx2= _0xb3dcx9);_0xb3dcx9= Math[_0x708e[428]](mxUtils[_0x708e[440]](_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],_0xb3dcx3,_0xb3dcx4));-1== mxUtils[_0x708e[2309]](_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],_0xb3dcx13[_0x708e[235]],_0xb3dcx13[_0x708e[236]],_0xb3dcx3,_0xb3dcx4)&& (_0xb3dcx9= -_0xb3dcx9);return new mxPoint(-2* ((_0xb3dcx5/ 2- _0xb3dcx17- _0xb3dcx2)/ _0xb3dcx5),_0xb3dcx9/ this[_0x708e[255]])}};return new mxPoint};mxGraphView[_0x708e[202]][_0x708e[2285]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[439]];_0xb3dcx2[_0x708e[2079]][_0x708e[235]]= _0xb3dcx2[_0x708e[241]]();_0xb3dcx2[_0x708e[2079]][_0x708e[236]]= _0xb3dcx2[_0x708e[242]]();if(null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]&& null!= _0xb3dcx2[_0x708e[2086]]){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx2[_0x708e[246]]);if(_0xb3dcx4[_0x708e[1500]]){var _0xb3dcx5=this[_0x708e[245]](_0xb3dcx2,_0xb3dcx4);null!= _0xb3dcx5&& (_0xb3dcx2[_0x708e[2079]]= _0xb3dcx5)}else {var _0xb3dcx5=_0xb3dcx3[0],_0xb3dcx9=_0xb3dcx3[_0xb3dcx3[_0x708e[67]]- 1];if(null!= _0xb3dcx5&& null!= _0xb3dcx9){var _0xb3dcx3=_0xb3dcx9[_0x708e[235]]- _0xb3dcx5[_0x708e[235]],_0xb3dcxa=_0xb3dcx9[_0x708e[236]]- _0xb3dcx5[_0x708e[236]],_0xb3dcx12=_0xb3dcx9= 0,_0xb3dcx4=_0xb3dcx4[_0x708e[1368]];null!= _0xb3dcx4&& (_0xb3dcx9= _0xb3dcx4[_0x708e[235]],_0xb3dcx12= _0xb3dcx4[_0x708e[236]]);_0xb3dcx4= _0xb3dcx5[_0x708e[236]]+ _0xb3dcxa/ 2+ _0xb3dcx12* this[_0x708e[255]];_0xb3dcx2[_0x708e[2079]][_0x708e[235]]= _0xb3dcx5[_0x708e[235]]+ _0xb3dcx3/ 2+ _0xb3dcx9* this[_0x708e[255]];_0xb3dcx2[_0x708e[2079]][_0x708e[236]]= _0xb3dcx4}}}};mxGraphView[_0x708e[202]][_0x708e[248]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= _0xb3dcx3|| !1;var _0xb3dcx4=null;null!= _0xb3dcx2&& (_0xb3dcx4= this[_0x708e[1214]][_0x708e[203]](_0xb3dcx2),this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx2)&& (null== _0xb3dcx4&& _0xb3dcx3&& this[_0x708e[1179]][_0x708e[1714]](_0xb3dcx2)?(_0xb3dcx4= this[_0x708e[1230]](_0xb3dcx2),this[_0x708e[1214]][_0x708e[204]](_0xb3dcx2,_0xb3dcx4)):_0xb3dcx3&& (null!= _0xb3dcx4&& this[_0x708e[2255]])&& (_0xb3dcx4[_0x708e[124]]= this[_0x708e[1179]][_0x708e[1705]](_0xb3dcx2))));return _0xb3dcx4};mxGraphView[_0x708e[202]][_0x708e[2287]]= function(){return this[_0x708e[2254]]};mxGraphView[_0x708e[202]][_0x708e[2310]]= function(_0xb3dcx2){this[_0x708e[2254]]= _0xb3dcx2};mxGraphView[_0x708e[202]][_0x708e[2295]]= function(){return this[_0x708e[2251]]};mxGraphView[_0x708e[202]][_0x708e[2311]]= function(_0xb3dcx2){this[_0x708e[2251]]= _0xb3dcx2};mxGraphView[_0x708e[202]][_0x708e[2312]]= function(){return this[_0x708e[1214]]};mxGraphView[_0x708e[202]][_0x708e[1517]]= function(_0xb3dcx2){this[_0x708e[1214]]= _0xb3dcx2};mxGraphView[_0x708e[202]][_0x708e[2313]]= function(_0xb3dcx2){if(null== _0xb3dcx2){return this[_0x708e[1214]]};for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=this[_0x708e[248]](_0xb3dcx2[_0xb3dcx4]);null!= _0xb3dcx5&& _0xb3dcx3[_0x708e[207]](_0xb3dcx5)};return _0xb3dcx3};mxGraphView[_0x708e[202]][_0x708e[2265]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[1214]][_0x708e[205]](_0xb3dcx2),null!= _0xb3dcx3&& (this[_0x708e[1179]][_0x708e[259]][_0x708e[515]](_0xb3dcx3),_0xb3dcx3[_0x708e[515]]()));return _0xb3dcx3};mxGraphView[_0x708e[202]][_0x708e[1230]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[1705]](_0xb3dcx2);_0xb3dcx2= new mxCellState(this,_0xb3dcx2,_0xb3dcx3);this[_0x708e[1179]][_0x708e[259]][_0x708e[2155]](_0xb3dcx2,this[_0x708e[2287]]());return _0xb3dcx2};mxGraphView[_0x708e[202]][_0x708e[2051]]= function(){return this[_0x708e[510]]};mxGraphView[_0x708e[202]][_0x708e[2052]]= function(){return this[_0x708e[2053]]};mxGraphView[_0x708e[202]][_0x708e[2024]]= function(){return this[_0x708e[505]]};mxGraphView[_0x708e[202]][_0x708e[1524]]= function(){return this[_0x708e[506]]};mxGraphView[_0x708e[202]][_0x708e[2314]]= function(_0xb3dcx2){_0xb3dcx2= mxEvent[_0x708e[728]](_0xb3dcx2);return _0xb3dcx2== this[_0x708e[1179]][_0x708e[526]]|| _0xb3dcx2[_0x708e[265]]== this[_0x708e[2053]]|| null!= _0xb3dcx2[_0x708e[265]]&& _0xb3dcx2[_0x708e[265]][_0x708e[265]]== this[_0x708e[2053]]|| _0xb3dcx2== this[_0x708e[510]][_0x708e[265]]|| _0xb3dcx2== this[_0x708e[510]]|| _0xb3dcx2== this[_0x708e[2053]]|| _0xb3dcx2== this[_0x708e[505]]|| _0xb3dcx2== this[_0x708e[506]]};mxGraphView[_0x708e[202]][_0x708e[2315]]= function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[445]](this[_0x708e[1179]][_0x708e[526]]);_0xb3dcx2= new mxPoint(_0xb3dcx2[_0x708e[782]]- _0xb3dcx3[_0x708e[235]],_0xb3dcx2[_0x708e[784]]- _0xb3dcx3[_0x708e[236]]);var _0xb3dcx3=this[_0x708e[1179]][_0x708e[526]][_0x708e[359]],_0xb3dcx4=this[_0x708e[1179]][_0x708e[526]][_0x708e[159]];if(_0xb3dcx3> _0xb3dcx4&& _0xb3dcx2[_0x708e[235]]> _0xb3dcx4+ 2&& _0xb3dcx2[_0x708e[235]]<= _0xb3dcx3){return !0};_0xb3dcx3= this[_0x708e[1179]][_0x708e[526]][_0x708e[167]];_0xb3dcx4= this[_0x708e[1179]][_0x708e[526]][_0x708e[157]];return _0xb3dcx3> _0xb3dcx4&& _0xb3dcx2[_0x708e[236]]> _0xb3dcx4+ 2&& _0xb3dcx2[_0x708e[236]]<= _0xb3dcx3?!0:!1};mxGraphView[_0x708e[202]][_0x708e[176]]= function(){this[_0x708e[2163]]();var _0xb3dcx2=this[_0x708e[1179]];_0xb3dcx2[_0x708e[507]]== mxConstants[_0x708e[508]]?this[_0x708e[1569]]():_0xb3dcx2[_0x708e[507]]== mxConstants[_0x708e[1523]]?this[_0x708e[1571]]():this[_0x708e[1570]]()};mxGraphView[_0x708e[202]][_0x708e[2163]]= function(){var _0xb3dcx2=this[_0x708e[1179]],_0xb3dcx3=_0xb3dcx2[_0x708e[526]];if(null!= _0xb3dcx3){mxEvent[_0x708e[759]](_0xb3dcx3,mxUtils[_0x708e[885]](this,function(_0xb3dcx3){mxClient[_0x708e[754]]&& _0xb3dcx2[_0x708e[2203]]()&& _0xb3dcx2[_0x708e[2126]](!_0xb3dcx2[_0x708e[2134]]());this[_0x708e[2314]](_0xb3dcx3)&& (!mxClient[_0x708e[80]]&& !mxClient[_0x708e[76]]&& !mxClient[_0x708e[71]]&& !mxClient[_0x708e[75]]|| !this[_0x708e[2315]](_0xb3dcx3))&& _0xb3dcx2[_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx3))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2314]](_0xb3dcx3)&& _0xb3dcx2[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx3))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2314]](_0xb3dcx3)&& _0xb3dcx2[_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx3))}));mxEvent[_0x708e[169]](_0xb3dcx3,_0x708e[760],mxUtils[_0x708e[885]](this,function(_0xb3dcx3){_0xb3dcx2[_0x708e[761]](_0xb3dcx3)}));var _0xb3dcx4=function(_0xb3dcx4){var _0xb3dcx9=null;mxClient[_0x708e[754]]&& (_0xb3dcx9= mxEvent[_0x708e[731]](_0xb3dcx4),_0xb3dcx4= mxEvent[_0x708e[733]](_0xb3dcx4),_0xb3dcx4= mxUtils[_0x708e[2196]](_0xb3dcx3,_0xb3dcx9,_0xb3dcx4),_0xb3dcx9= _0xb3dcx2[_0x708e[441]][_0x708e[248]](_0xb3dcx2[_0x708e[999]](_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]])));return _0xb3dcx9};_0xb3dcx2[_0x708e[1133]]({mouseDown:function(_0xb3dcx3,_0xb3dcx4){_0xb3dcx2[_0x708e[2316]][_0x708e[1032]]()},mouseMove:function(){},mouseUp:function(){}});this[_0x708e[2317]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx3){null!= _0xb3dcx2[_0x708e[2276]]&& _0xb3dcx2[_0x708e[2276]][_0x708e[2277]]()&& _0xb3dcx2[_0x708e[2276]][_0x708e[801]]();this[_0x708e[2252]]&& (_0xb3dcx2[_0x708e[1009]]&& !mxEvent[_0x708e[721]](_0xb3dcx3))&& _0xb3dcx2[_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx3,_0xb3dcx4(_0xb3dcx3)))});this[_0x708e[2318]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx3){this[_0x708e[2252]]&& _0xb3dcx2[_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx3))});mxEvent[_0x708e[759]](document,null,this[_0x708e[2317]],this[_0x708e[2318]])}};mxGraphView[_0x708e[202]][_0x708e[1570]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[526]];null!= _0xb3dcx2&& (this[_0x708e[510]]= this[_0x708e[2319]](_0x708e[118],_0x708e[118]),this[_0x708e[2053]]= this[_0x708e[2319]](_0x708e[942],_0x708e[942]),this[_0x708e[505]]= this[_0x708e[2319]](_0x708e[942],_0x708e[942]),this[_0x708e[506]]= this[_0x708e[2319]](_0x708e[942],_0x708e[942]),this[_0x708e[510]][_0x708e[62]](this[_0x708e[2053]]),this[_0x708e[510]][_0x708e[62]](this[_0x708e[505]]),this[_0x708e[510]][_0x708e[62]](this[_0x708e[506]]),_0xb3dcx2[_0x708e[62]](this[_0x708e[510]]),mxClient[_0x708e[496]]&& (_0xb3dcx2= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[517]]();this[_0x708e[2320]](_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]+ this[_0x708e[1179]][_0x708e[467]],_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]+ this[_0x708e[1179]][_0x708e[467]])}),mxEvent[_0x708e[169]](window,_0x708e[129],_0xb3dcx2)))};mxGraphView[_0x708e[202]][_0x708e[2320]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= this[_0x708e[1179]][_0x708e[526]]){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[526]][_0x708e[167]];this[_0x708e[510]][_0x708e[124]][_0x708e[117]]= this[_0x708e[1179]][_0x708e[526]][_0x708e[359]]< _0xb3dcx2?_0xb3dcx2+ _0x708e[168]:_0x708e[118];this[_0x708e[510]][_0x708e[124]][_0x708e[119]]= _0xb3dcx4< _0xb3dcx3?_0xb3dcx3+ _0x708e[168]:_0x708e[118]}};mxGraphView[_0x708e[202]][_0x708e[2319]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[529]);null!= _0xb3dcx2&& null!= _0xb3dcx3?(_0xb3dcx4[_0x708e[124]][_0x708e[491]]= _0x708e[492],_0xb3dcx4[_0x708e[124]][_0x708e[361]]= _0x708e[946],_0xb3dcx4[_0x708e[124]][_0x708e[125]]= _0x708e[946],_0xb3dcx4[_0x708e[124]][_0x708e[117]]= _0xb3dcx2,_0xb3dcx4[_0x708e[124]][_0x708e[119]]= _0xb3dcx3):_0xb3dcx4[_0x708e[124]][_0x708e[491]]= _0x708e[1500];return _0xb3dcx4};mxGraphView[_0x708e[202]][_0x708e[1571]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[526]];if(null!= _0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[359]],_0xb3dcx4=_0xb3dcx2[_0x708e[167]];this[_0x708e[510]]= this[_0x708e[2321]](_0xb3dcx3,_0xb3dcx4);this[_0x708e[2053]]= this[_0x708e[2321]](_0xb3dcx3,_0xb3dcx4);this[_0x708e[505]]= this[_0x708e[2321]](_0xb3dcx3,_0xb3dcx4);this[_0x708e[506]]= this[_0x708e[2321]](_0xb3dcx3,_0xb3dcx4);this[_0x708e[510]][_0x708e[62]](this[_0x708e[2053]]);this[_0x708e[510]][_0x708e[62]](this[_0x708e[505]]);this[_0x708e[510]][_0x708e[62]](this[_0x708e[506]]);_0xb3dcx2[_0x708e[62]](this[_0x708e[510]])}};mxGraphView[_0x708e[202]][_0x708e[2321]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](mxClient[_0x708e[463]]+ _0x708e[1499]);_0xb3dcx4[_0x708e[124]][_0x708e[491]]= _0x708e[492];_0xb3dcx4[_0x708e[124]][_0x708e[361]]= _0x708e[946];_0xb3dcx4[_0x708e[124]][_0x708e[125]]= _0x708e[946];_0xb3dcx4[_0x708e[124]][_0x708e[117]]= _0xb3dcx2+ _0x708e[168];_0xb3dcx4[_0x708e[124]][_0x708e[119]]= _0xb3dcx3+ _0x708e[168];_0xb3dcx4[_0x708e[57]](_0x708e[1462],_0xb3dcx2+ _0x708e[537]+ _0xb3dcx3);_0xb3dcx4[_0x708e[57]](_0x708e[2322],_0x708e[2323]);return _0xb3dcx4};mxGraphView[_0x708e[202]][_0x708e[1569]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[526]];this[_0x708e[510]]= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449]);this[_0x708e[2053]]= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449]);this[_0x708e[510]][_0x708e[62]](this[_0x708e[2053]]);this[_0x708e[505]]= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449]);this[_0x708e[510]][_0x708e[62]](this[_0x708e[505]]);this[_0x708e[506]]= document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[449]);this[_0x708e[510]][_0x708e[62]](this[_0x708e[506]]);var _0xb3dcx3=document[_0x708e[509]](mxConstants.NS_SVG,_0x708e[571]);_0xb3dcx3[_0x708e[124]][_0x708e[117]]= _0x708e[118];_0xb3dcx3[_0x708e[124]][_0x708e[119]]= _0x708e[118];_0xb3dcx3[_0x708e[124]][_0x708e[495]]= _0x708e[694];_0xb3dcx3[_0x708e[62]](this[_0x708e[510]]);null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[62]](_0xb3dcx3),_0x708e[2324]== mxUtils[_0x708e[275]](_0xb3dcx2)[_0x708e[491]]&& (_0xb3dcx2[_0x708e[124]][_0x708e[491]]= _0x708e[1500]))};mxGraphView[_0x708e[202]][_0x708e[515]]= function(){var _0xb3dcx2=null!= this[_0x708e[510]]?this[_0x708e[510]][_0x708e[538]]:null;null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[510]]);null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[265]]&& (this[_0x708e[200]](this[_0x708e[1741]],!0),mxEvent[_0x708e[938]](document,null,this[_0x708e[2317]],this[_0x708e[2318]]),mxEvent[_0x708e[762]](this[_0x708e[1179]][_0x708e[526]]),_0xb3dcx2[_0x708e[265]][_0x708e[266]](_0xb3dcx2),this[_0x708e[506]]= this[_0x708e[505]]= this[_0x708e[2053]]= this[_0x708e[510]]= this[_0x708e[2318]]= this[_0x708e[2317]]= null)};function mxCurrentRootChange(_0xb3dcx2,_0xb3dcx3){this[_0x708e[441]]= _0xb3dcx2;this[_0x708e[257]]= this[_0x708e[813]]= _0xb3dcx3;this[_0x708e[2325]]= null== _0xb3dcx3;if(!this[_0x708e[2325]]){for(var _0xb3dcx4=this[_0x708e[441]][_0x708e[1741]],_0xb3dcx5=this[_0x708e[441]][_0x708e[1179]][_0x708e[502]]();null!= _0xb3dcx4;){if(_0xb3dcx4== _0xb3dcx3){this[_0x708e[2325]]= !0;break};_0xb3dcx4= _0xb3dcx5[_0x708e[1197]](_0xb3dcx4)}}}mxCurrentRootChange[_0x708e[202]][_0x708e[350]]= function(){var _0xb3dcx2=this[_0x708e[441]][_0x708e[1741]];this[_0x708e[441]][_0x708e[1741]]= this[_0x708e[257]];this[_0x708e[257]]= _0xb3dcx2;_0xb3dcx2= this[_0x708e[441]][_0x708e[1179]][_0x708e[2326]](this[_0x708e[441]][_0x708e[1741]]);null!= _0xb3dcx2&& (this[_0x708e[441]][_0x708e[513]]= new mxPoint(-_0xb3dcx2[_0x708e[235]],-_0xb3dcx2[_0x708e[236]]));this[_0x708e[441]][_0x708e[746]]( new mxEventObject(this[_0x708e[2325]]?mxEvent[_0x708e[2327]]:mxEvent[_0x708e[2328]],_0x708e[813],this[_0x708e[441]][_0x708e[1741]],_0x708e[257],this[_0x708e[257]]));this[_0x708e[2325]]?(this[_0x708e[441]][_0x708e[200]](this[_0x708e[441]][_0x708e[1741]],!0),this[_0x708e[441]][_0x708e[2264]]()):this[_0x708e[441]][_0x708e[802]]();this[_0x708e[2325]]= !this[_0x708e[2325]]};function mxGraph(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[2329]]= null;this[_0x708e[2330]]= _0xb3dcx4;this[_0x708e[507]]= mxClient[_0x708e[48]]?mxConstants[_0x708e[508]]:_0xb3dcx4== mxConstants[_0x708e[2331]]&& mxClient[_0x708e[47]]?mxConstants[_0x708e[1523]]:_0xb3dcx4== mxConstants[_0x708e[2332]]?mxConstants[_0x708e[1656]]:_0xb3dcx4== mxConstants[_0x708e[2333]]?mxConstants[_0x708e[2209]]:mxConstants[_0x708e[2334]];this[_0x708e[251]]= null!= _0xb3dcx3?_0xb3dcx3: new mxGraphModel;this[_0x708e[2335]]= [];this[_0x708e[2336]]= [];this[_0x708e[259]]= this[_0x708e[2337]]();this[_0x708e[2339]](this[_0x708e[2338]]());this[_0x708e[2341]](null!= _0xb3dcx5?_0xb3dcx5:this[_0x708e[2340]]());this[_0x708e[441]]= this[_0x708e[2342]]();this[_0x708e[2343]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1177]](_0xb3dcx3[_0x708e[720]](_0x708e[1061])[_0x708e[1065]])});this[_0x708e[251]][_0x708e[169]](mxEvent.CHANGE,this[_0x708e[2343]]);this[_0x708e[2344]]();null!= _0xb3dcx2&& this[_0x708e[176]](_0xb3dcx2);this[_0x708e[441]][_0x708e[2259]]()}mxLoadResources&& mxResources[_0x708e[99]](mxClient[_0x708e[86]]+ _0x708e[2345]);mxGraph[_0x708e[202]]= new mxEventSource;mxGraph[_0x708e[202]][_0x708e[196]]= mxGraph;mxGraph[_0x708e[202]][_0x708e[2346]]= [];mxGraph[_0x708e[202]][_0x708e[2329]]= null;mxGraph[_0x708e[202]][_0x708e[1009]]= !1;mxGraph[_0x708e[202]][_0x708e[251]]= null;mxGraph[_0x708e[202]][_0x708e[441]]= null;mxGraph[_0x708e[202]][_0x708e[94]]= null;mxGraph[_0x708e[202]][_0x708e[2105]]= null;mxGraph[_0x708e[202]][_0x708e[2347]]= null;mxGraph[_0x708e[202]][_0x708e[259]]= null;mxGraph[_0x708e[202]][_0x708e[2335]]= null;mxGraph[_0x708e[202]][_0x708e[2330]]= null;mxGraph[_0x708e[202]][_0x708e[507]]= null;mxGraph[_0x708e[202]][_0x708e[1020]]= 10;mxGraph[_0x708e[202]][_0x708e[991]]= !0;mxGraph[_0x708e[202]][_0x708e[2348]]= !0;mxGraph[_0x708e[202]][_0x708e[2349]]= !0;mxGraph[_0x708e[202]][_0x708e[2350]]= 700;mxGraph[_0x708e[202]][_0x708e[2351]]= 25;mxGraph[_0x708e[202]][_0x708e[2352]]= 0;mxGraph[_0x708e[202]][_0x708e[2352]]= 0;mxGraph[_0x708e[202]][_0x708e[2213]]= 0;mxGraph[_0x708e[202]][_0x708e[2215]]= !0;mxGraph[_0x708e[202]][_0x708e[2353]]= 4;mxGraph[_0x708e[202]][_0x708e[2354]]= 0.5;mxGraph[_0x708e[202]][_0x708e[2355]]= null;mxGraph[_0x708e[202]][_0x708e[2356]]= null;mxGraph[_0x708e[202]][_0x708e[1617]]= null;mxGraph[_0x708e[202]][_0x708e[2273]]= !1;mxGraph[_0x708e[202]][_0x708e[2357]]= !1;mxGraph[_0x708e[202]][_0x708e[2358]]= _0x708e[579];mxGraph[_0x708e[202]][_0x708e[2359]]= !0;mxGraph[_0x708e[202]][_0x708e[2360]]= 20;mxGraph[_0x708e[202]][_0x708e[2361]]= !1;mxGraph[_0x708e[202]][_0x708e[2013]]= mxConstants[_0x708e[516]];mxGraph[_0x708e[202]][_0x708e[2012]]= 1.5;mxGraph[_0x708e[202]][_0x708e[984]]= !0;mxGraph[_0x708e[202]][_0x708e[2362]]= !0;mxGraph[_0x708e[202]][_0x708e[2363]]= !0;mxGraph[_0x708e[202]][_0x708e[2364]]= !1;mxGraph[_0x708e[202]][_0x708e[2365]]= !0;mxGraph[_0x708e[202]][_0x708e[2366]]= !0;mxGraph[_0x708e[202]][_0x708e[2367]]= !0;mxGraph[_0x708e[202]][_0x708e[2368]]= !1;mxGraph[_0x708e[202]][_0x708e[2369]]= !0;mxGraph[_0x708e[202]][_0x708e[2206]]= !0;mxGraph[_0x708e[202]][_0x708e[2370]]= !0;mxGraph[_0x708e[202]][_0x708e[2371]]= !0;mxGraph[_0x708e[202]][_0x708e[2372]]= !0;mxGraph[_0x708e[202]][_0x708e[2373]]= !0;mxGraph[_0x708e[202]][_0x708e[2374]]= !1;mxGraph[_0x708e[202]][_0x708e[2375]]= !1;mxGraph[_0x708e[202]][_0x708e[2376]]= !0;mxGraph[_0x708e[202]][_0x708e[2377]]= !0;mxGraph[_0x708e[202]][_0x708e[2378]]= !0;mxGraph[_0x708e[202]][_0x708e[2379]]= !0;mxGraph[_0x708e[202]][_0x708e[2380]]= !0;mxGraph[_0x708e[202]][_0x708e[2381]]= !1;mxGraph[_0x708e[202]][_0x708e[1012]]= !0;mxGraph[_0x708e[202]][_0x708e[2382]]= !1;mxGraph[_0x708e[202]][_0x708e[2383]]= !1;mxGraph[_0x708e[202]][_0x708e[2384]]= !1;mxGraph[_0x708e[202]][_0x708e[1013]]= !0;mxGraph[_0x708e[202]][_0x708e[2385]]= null;mxGraph[_0x708e[202]][_0x708e[2386]]= null;mxGraph[_0x708e[202]][_0x708e[2387]]= null;mxGraph[_0x708e[202]][_0x708e[2388]]= null;mxGraph[_0x708e[202]][_0x708e[2389]]= !1;mxGraph[_0x708e[202]][_0x708e[467]]= 0;mxGraph[_0x708e[202]][_0x708e[2158]]= !0;mxGraph[_0x708e[202]][_0x708e[2159]]= !1;mxGraph[_0x708e[202]][_0x708e[2168]]= !0;mxGraph[_0x708e[202]][_0x708e[2390]]= !0;mxGraph[_0x708e[202]][_0x708e[2391]]= !0;mxGraph[_0x708e[202]][_0x708e[2392]]= !0;mxGraph[_0x708e[202]][_0x708e[2393]]= !0;mxGraph[_0x708e[202]][_0x708e[2394]]= !0;mxGraph[_0x708e[202]][_0x708e[2395]]= 1.2;mxGraph[_0x708e[202]][_0x708e[2396]]= !1;mxGraph[_0x708e[202]][_0x708e[2397]]= !0;mxGraph[_0x708e[202]][_0x708e[2398]]= !0;mxGraph[_0x708e[202]][_0x708e[2399]]= !1;mxGraph[_0x708e[202]][_0x708e[2400]]= !1;mxGraph[_0x708e[202]][_0x708e[2401]]= !0;mxGraph[_0x708e[202]][_0x708e[2402]]= !1;mxGraph[_0x708e[202]][_0x708e[2293]]= mxEdgeStyle[_0x708e[2403]];mxGraph[_0x708e[202]][_0x708e[2404]]= !0;mxGraph[_0x708e[202]][_0x708e[2405]]= !1;mxGraph[_0x708e[202]][_0x708e[2406]]= !0;mxGraph[_0x708e[202]][_0x708e[2407]]= !1;mxGraph[_0x708e[202]][_0x708e[2408]]= !0;mxGraph[_0x708e[202]][_0x708e[2409]]= !0;mxGraph[_0x708e[202]][_0x708e[2410]]= !1;mxGraph[_0x708e[202]][_0x708e[2411]]= !0;mxGraph[_0x708e[202]][_0x708e[2412]]= !0;mxGraph[_0x708e[202]][_0x708e[2180]]= mxConstants[_0x708e[2065]];mxGraph[_0x708e[202]][_0x708e[2336]]= null;mxGraph[_0x708e[202]][_0x708e[2413]]= 0.1;mxGraph[_0x708e[202]][_0x708e[2414]]= 8;mxGraph[_0x708e[202]][_0x708e[1136]]= 0;mxGraph[_0x708e[202]][_0x708e[1137]]= 0;mxGraph[_0x708e[202]][_0x708e[2415]]= new mxImage(mxClient[_0x708e[88]]+ _0x708e[2416],9,9);mxGraph[_0x708e[202]][_0x708e[2417]]= new mxImage(mxClient[_0x708e[88]]+ _0x708e[2418],9,9);mxGraph[_0x708e[202]][_0x708e[2419]]= new mxImage(_0x708e[2420],16,16);mxGraph[_0x708e[202]][_0x708e[2421]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2422]:_0x708e[110];mxGraph[_0x708e[202]][_0x708e[2423]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2424]:_0x708e[110];mxGraph[_0x708e[202]][_0x708e[2425]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2426]:_0x708e[110];mxGraph[_0x708e[202]][_0x708e[176]]= function(_0xb3dcx2){this[_0x708e[526]]= _0xb3dcx2;this[_0x708e[2347]]= this[_0x708e[2427]]();this[_0x708e[441]][_0x708e[176]]();this[_0x708e[2258]]();mxClient[_0x708e[80]]&& (mxEvent[_0x708e[169]](window,_0x708e[2428],mxUtils[_0x708e[885]](this,function(){this[_0x708e[515]]()})),mxEvent[_0x708e[169]](_0xb3dcx2,_0x708e[2429],mxUtils[_0x708e[885]](this,function(){return this[_0x708e[2203]]()})));8== document[_0x708e[5]]&& _0xb3dcx2[_0x708e[1583]](_0x708e[1582],_0x708e[2430])};mxGraph[_0x708e[202]][_0x708e[2344]]= function(_0xb3dcx2){this[_0x708e[2276]]= new mxTooltipHandler(this);this[_0x708e[2276]][_0x708e[995]](!1);this[_0x708e[2316]]= new mxPanningHandler(this);this[_0x708e[2316]][_0x708e[2431]]= !1;this[_0x708e[2432]]= new mxSelectionCellsHandler(this);this[_0x708e[2433]]= new mxConnectionHandler(this);this[_0x708e[2433]][_0x708e[995]](!1);this[_0x708e[1011]]= new mxGraphHandler(this)};mxGraph[_0x708e[202]][_0x708e[2338]]= function(){return new mxGraphSelectionModel(this)};mxGraph[_0x708e[202]][_0x708e[2340]]= function(){return new mxStylesheet};mxGraph[_0x708e[202]][_0x708e[2342]]= function(){return new mxGraphView(this)};mxGraph[_0x708e[202]][_0x708e[2337]]= function(){return new mxCellRenderer};mxGraph[_0x708e[202]][_0x708e[2427]]= function(){return new mxCellEditor(this)};mxGraph[_0x708e[202]][_0x708e[502]]= function(){return this[_0x708e[251]]};mxGraph[_0x708e[202]][_0x708e[249]]= function(){return this[_0x708e[441]]};mxGraph[_0x708e[202]][_0x708e[2434]]= function(){return this[_0x708e[94]]};mxGraph[_0x708e[202]][_0x708e[2341]]= function(_0xb3dcx2){this[_0x708e[94]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2435]]= function(){return this[_0x708e[2105]]};mxGraph[_0x708e[202]][_0x708e[2339]]= function(_0xb3dcx2){this[_0x708e[2105]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2436]]= function(_0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=_0xb3dcx2[_0xb3dcx4];if(_0xb3dcx5[_0x708e[196]]!= mxRootChange){var _0xb3dcx9=null;_0xb3dcx5 instanceof mxChildChange&& null== _0xb3dcx5[_0x708e[257]]?_0xb3dcx9= _0xb3dcx5[_0x708e[247]]:null!= _0xb3dcx5[_0x708e[246]]&& _0xb3dcx5[_0x708e[246]] instanceof mxCell&& (_0xb3dcx9= _0xb3dcx5[_0x708e[246]]);null!= _0xb3dcx9&& 0> mxUtils[_0x708e[2]](_0xb3dcx3,_0xb3dcx9)&& _0xb3dcx3[_0x708e[207]](_0xb3dcx9)}};return this[_0x708e[502]]()[_0x708e[1964]](_0xb3dcx3)};mxGraph[_0x708e[202]][_0x708e[1177]]= function(_0xb3dcx2){for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){this[_0x708e[2437]](_0xb3dcx2[_0xb3dcx3])};this[_0x708e[2439]](this[_0x708e[2438]](_0xb3dcx2));this[_0x708e[441]][_0x708e[2264]]();this[_0x708e[2258]]()};mxGraph[_0x708e[202]][_0x708e[2438]]= function(_0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=_0xb3dcx2[_0xb3dcx4];if(_0xb3dcx5 instanceof mxRootChange){break}else {_0xb3dcx5 instanceof mxChildChange?null!= _0xb3dcx5[_0x708e[257]]&& null== _0xb3dcx5[_0x708e[1101]]&& (_0xb3dcx3= _0xb3dcx3[_0x708e[1919]](this[_0x708e[251]][_0x708e[1939]](_0xb3dcx5[_0x708e[247]]))):_0xb3dcx5 instanceof mxVisibleChange&& (_0xb3dcx3= _0xb3dcx3[_0x708e[1919]](this[_0x708e[251]][_0x708e[1939]](_0xb3dcx5[_0x708e[246]])))}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2437]]= function(_0xb3dcx2){if(_0xb3dcx2 instanceof mxRootChange){this[_0x708e[2440]](),this[_0x708e[2441]](_0xb3dcx2[_0x708e[257]]),this[_0x708e[2398]]&& (this[_0x708e[441]][_0x708e[255]]= 1,this[_0x708e[441]][_0x708e[513]][_0x708e[235]]= 0,this[_0x708e[441]][_0x708e[513]][_0x708e[236]]= 0),this[_0x708e[746]]( new mxEventObject(mxEvent.ROOT))}else {if(_0xb3dcx2 instanceof mxChildChange){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0x708e[247]]);null!= _0xb3dcx3?this[_0x708e[441]][_0x708e[2263]](_0xb3dcx2[_0x708e[247]],!0,!1,null!= _0xb3dcx2[_0x708e[257]]):(this[_0x708e[2441]](_0xb3dcx2[_0x708e[247]]),this[_0x708e[441]][_0x708e[1741]]== _0xb3dcx2[_0x708e[247]]&& this[_0x708e[2442]]());_0xb3dcx3!= _0xb3dcx2[_0x708e[257]]&& (null!= _0xb3dcx3&& this[_0x708e[441]][_0x708e[2263]](_0xb3dcx3,!1,!1),null!= _0xb3dcx2[_0x708e[257]]&& this[_0x708e[441]][_0x708e[2263]](_0xb3dcx2[_0x708e[257]],!1,!1))}else {_0xb3dcx2 instanceof mxTerminalChange|| _0xb3dcx2 instanceof mxGeometryChange?this[_0x708e[441]][_0x708e[2263]](_0xb3dcx2[_0x708e[246]]):_0xb3dcx2 instanceof mxValueChange?this[_0x708e[441]][_0x708e[2263]](_0xb3dcx2[_0x708e[246]],!1,!1):_0xb3dcx2 instanceof mxStyleChange?(this[_0x708e[441]][_0x708e[2263]](_0xb3dcx2[_0x708e[246]],!0,!0,!1),this[_0x708e[441]][_0x708e[2265]](_0xb3dcx2[_0x708e[246]])):null!= _0xb3dcx2[_0x708e[246]]&& _0xb3dcx2[_0x708e[246]] instanceof mxCell&& this[_0x708e[2441]](_0xb3dcx2[_0x708e[246]])}}};mxGraph[_0x708e[202]][_0x708e[2441]]= function(_0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[251]][_0x708e[262]](_0xb3dcx2),_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3;_0xb3dcx4++){this[_0x708e[2441]](this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx4))};this[_0x708e[441]][_0x708e[2265]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2443]]= function(_0xb3dcx2,_0xb3dcx3){null== _0xb3dcx2[_0x708e[1211]]&& (_0xb3dcx2[_0x708e[1211]]= []);_0xb3dcx2[_0x708e[1211]][_0x708e[207]](_0xb3dcx3);var _0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);null!= _0xb3dcx4&& this[_0x708e[259]][_0x708e[258]](_0xb3dcx4);this[_0x708e[746]]( new mxEventObject(mxEvent.ADD_OVERLAY,_0x708e[246],_0xb3dcx2,_0x708e[2201],_0xb3dcx3));return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2200]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[1211]]};mxGraph[_0x708e[202]][_0x708e[2444]]= function(_0xb3dcx2,_0xb3dcx3){if(null== _0xb3dcx3){this[_0x708e[2445]](_0xb3dcx2)}else {var _0xb3dcx4=mxUtils[_0x708e[2]](_0xb3dcx2[_0x708e[1211]],_0xb3dcx3);0<= _0xb3dcx4?(_0xb3dcx2[_0x708e[1211]][_0x708e[300]](_0xb3dcx4,1),0== _0xb3dcx2[_0x708e[1211]][_0x708e[67]]&& (_0xb3dcx2[_0x708e[1211]]= null),_0xb3dcx4= this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),null!= _0xb3dcx4&& this[_0x708e[259]][_0x708e[258]](_0xb3dcx4),this[_0x708e[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0x708e[246],_0xb3dcx2,_0x708e[2201],_0xb3dcx3))):_0xb3dcx3= null};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2445]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[1211]];if(null!= _0xb3dcx3){_0xb3dcx2[_0x708e[1211]]= null;var _0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);null!= _0xb3dcx4&& this[_0x708e[259]][_0x708e[258]](_0xb3dcx4);for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx3[_0x708e[67]];_0xb3dcx4++){this[_0x708e[746]]( new mxEventObject(mxEvent.REMOVE_OVERLAY,_0x708e[246],_0xb3dcx2,_0x708e[2201],_0xb3dcx3[_0xb3dcx4]))}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2446]]= function(_0xb3dcx2){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2:this[_0x708e[251]][_0x708e[501]]();this[_0x708e[2445]](_0xb3dcx2);for(var _0xb3dcx3=this[_0x708e[251]][_0x708e[262]](_0xb3dcx2),_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3;_0xb3dcx4++){var _0xb3dcx5=this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx4);this[_0x708e[2446]](_0xb3dcx5)}};mxGraph[_0x708e[202]][_0x708e[2447]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]){return _0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:this[_0x708e[2419]],_0xb3dcx3= new mxCellOverlay(_0xb3dcx4,_0x708e[2448]+ _0xb3dcx3+ _0x708e[2449]),_0xb3dcx5&& _0xb3dcx3[_0x708e[169]](mxEvent.CLICK,mxUtils[_0x708e[885]](this,function(_0xb3dcx3,_0xb3dcx4){this[_0x708e[994]]()&& this[_0x708e[2450]](_0xb3dcx2)})),this[_0x708e[2443]](_0xb3dcx2,_0xb3dcx3)};this[_0x708e[2445]](_0xb3dcx2);return null};mxGraph[_0x708e[202]][_0x708e[855]]= function(_0xb3dcx2){this[_0x708e[2451]](null,_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2451]]= function(_0xb3dcx2,_0xb3dcx3){null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[2452]](),null!= _0xb3dcx2&& !this[_0x708e[2453]](_0xb3dcx2)&& (_0xb3dcx2= null));null!= _0xb3dcx2&& (this[_0x708e[746]]( new mxEventObject(mxEvent.START_EDITING,_0x708e[246],_0xb3dcx2,_0x708e[763],_0xb3dcx3)),this[_0x708e[2347]][_0x708e[855]](_0xb3dcx2,_0xb3dcx3))};mxGraph[_0x708e[202]][_0x708e[2142]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[2454]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2126]]= function(_0xb3dcx2){this[_0x708e[2347]][_0x708e[2126]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[850]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[2456]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[2455]](_0xb3dcx2)),this[_0x708e[746]]( new mxEventObject(mxEvent.LABEL_CHANGED,_0x708e[246],_0xb3dcx2,_0x708e[131],_0xb3dcx3,_0x708e[763],_0xb3dcx4))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2456]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[251]][_0x708e[1966]](_0xb3dcx2,_0xb3dcx3),_0xb3dcx4&& this[_0x708e[2457]](_0xb3dcx2,!1)}finally{this[_0x708e[251]][_0x708e[476]]()}};mxGraph[_0x708e[202]][_0x708e[859]]= function(_0xb3dcx2){this[_0x708e[2126]](!0);this[_0x708e[2433]][_0x708e[862]]();this[_0x708e[1011]][_0x708e[862]]();_0xb3dcx2= this[_0x708e[897]]();for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){var _0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2[_0xb3dcx3]);null!= _0xb3dcx4&& null!= _0xb3dcx4[_0x708e[2458]]&& _0xb3dcx4[_0x708e[2458]][_0x708e[862]]()}};mxGraph[_0x708e[202]][_0x708e[173]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[727]](),_0xb3dcx4=_0xb3dcx2[_0x708e[736]](),_0xb3dcx5= new mxEventObject(mxEvent.CLICK,_0x708e[763],_0xb3dcx3,_0x708e[246],_0xb3dcx4);_0xb3dcx2[_0x708e[721]]()&& _0xb3dcx5[_0x708e[722]]();this[_0x708e[746]](_0xb3dcx5);this[_0x708e[994]]()&& (!mxEvent[_0x708e[721]](_0xb3dcx3)&& !_0xb3dcx5[_0x708e[721]]())&& (null!= _0xb3dcx4?this[_0x708e[2459]](_0xb3dcx4,_0xb3dcx3):(_0xb3dcx4= null,this[_0x708e[2460]]()&& (_0xb3dcx4= this[_0x708e[2461]](_0xb3dcx2[_0x708e[734]](),_0xb3dcx2[_0x708e[735]]())),null!= _0xb3dcx4?this[_0x708e[2459]](_0xb3dcx4,_0xb3dcx3):this[_0x708e[2462]](_0xb3dcx3)|| this[_0x708e[2440]]()))};mxGraph[_0x708e[202]][_0x708e[761]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x708e[763],_0xb3dcx2,_0x708e[246],_0xb3dcx3);this[_0x708e[746]](_0xb3dcx4);this[_0x708e[994]]()&& (!mxEvent[_0x708e[721]](_0xb3dcx2)&& !_0xb3dcx4[_0x708e[721]]()&& null!= _0xb3dcx3&& this[_0x708e[2453]](_0xb3dcx3))&& this[_0x708e[2451]](_0xb3dcx3,_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[1014]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(!this[_0x708e[2382]]&& (this[_0x708e[2384]]|| mxUtils[_0x708e[1134]](this[_0x708e[526]]))){var _0xb3dcx9=this[_0x708e[526]];_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:20;if(_0xb3dcx2>= _0xb3dcx9[_0x708e[360]]&& _0xb3dcx3>= _0xb3dcx9[_0x708e[190]]&& _0xb3dcx2<= _0xb3dcx9[_0x708e[360]]+ _0xb3dcx9[_0x708e[159]]&& _0xb3dcx3<= _0xb3dcx9[_0x708e[190]]+ _0xb3dcx9[_0x708e[157]]){var _0xb3dcxa=_0xb3dcx9[_0x708e[360]]+ _0xb3dcx9[_0x708e[159]]- _0xb3dcx2;if(_0xb3dcxa< _0xb3dcx5){if(_0xb3dcx2= _0xb3dcx9[_0x708e[360]],_0xb3dcx9[_0x708e[360]]+= _0xb3dcx5- _0xb3dcxa,_0xb3dcx4&& _0xb3dcx2== _0xb3dcx9[_0x708e[360]]){if(this[_0x708e[507]]== mxConstants[_0x708e[508]]){_0xb3dcx2= this[_0x708e[441]][_0x708e[2024]]()[_0x708e[538]];var _0xb3dcx12=this[_0x708e[526]][_0x708e[1526]]+ _0xb3dcx5- _0xb3dcxa}else {_0xb3dcx12= Math[_0x708e[160]](_0xb3dcx9[_0x708e[159]],_0xb3dcx9[_0x708e[1526]])+ _0xb3dcx5- _0xb3dcxa,_0xb3dcx2= this[_0x708e[441]][_0x708e[2051]]()};_0xb3dcx2[_0x708e[124]][_0x708e[117]]= _0xb3dcx12+ _0x708e[168];_0xb3dcx9[_0x708e[360]]+= _0xb3dcx5- _0xb3dcxa}}else {_0xb3dcxa= _0xb3dcx2- _0xb3dcx9[_0x708e[360]],_0xb3dcxa< _0xb3dcx5&& (_0xb3dcx9[_0x708e[360]]-= _0xb3dcx5- _0xb3dcxa)};_0xb3dcxa= _0xb3dcx9[_0x708e[190]]+ _0xb3dcx9[_0x708e[157]]- _0xb3dcx3;_0xb3dcxa< _0xb3dcx5?(_0xb3dcx2= _0xb3dcx9[_0x708e[190]],_0xb3dcx9[_0x708e[190]]+= _0xb3dcx5- _0xb3dcxa,_0xb3dcx2== _0xb3dcx9[_0x708e[190]]&& _0xb3dcx4&& (this[_0x708e[507]]== mxConstants[_0x708e[508]]?(_0xb3dcx2= this[_0x708e[441]][_0x708e[2024]]()[_0x708e[538]],_0xb3dcx3= this[_0x708e[526]][_0x708e[191]]+ _0xb3dcx5- _0xb3dcxa):(_0xb3dcx3= Math[_0x708e[160]](_0xb3dcx9[_0x708e[157]],_0xb3dcx9[_0x708e[191]])+ _0xb3dcx5- _0xb3dcxa,_0xb3dcx2= this[_0x708e[441]][_0x708e[2051]]()),_0xb3dcx2[_0x708e[124]][_0x708e[119]]= _0xb3dcx3+ _0x708e[168],_0xb3dcx9[_0x708e[190]]+= _0xb3dcx5- _0xb3dcxa)):(_0xb3dcxa= _0xb3dcx3- _0xb3dcx9[_0x708e[190]],_0xb3dcxa< _0xb3dcx5&& (_0xb3dcx9[_0x708e[190]]-= _0xb3dcx5- _0xb3dcxa))}}else {this[_0x708e[2383]]&& !this[_0x708e[2316]][_0x708e[1124]]&& (null== this[_0x708e[2463]]&& (this[_0x708e[2463]]= this[_0x708e[2464]]()),this[_0x708e[2463]][_0x708e[1143]](_0xb3dcx2+ this[_0x708e[1136]],_0xb3dcx3+ this[_0x708e[1137]]))}};mxGraph[_0x708e[202]][_0x708e[2464]]= function(){return new mxPanningManager(this)};mxGraph[_0x708e[202]][_0x708e[2465]]= function(){function _0xb3dcx2(_0xb3dcx2){var _0xb3dcx3=0,_0xb3dcx3=_0x708e[2466]== _0xb3dcx2?2:_0x708e[2467]== _0xb3dcx2?4:_0x708e[2468]== _0xb3dcx2?6:parseInt(_0xb3dcx2);isNaN(_0xb3dcx3)&& (_0xb3dcx3= 0);return _0xb3dcx3}var _0xb3dcx3=mxUtils[_0x708e[275]](this[_0x708e[526]]),_0xb3dcx4= new mxRectangle;_0xb3dcx4[_0x708e[235]]= _0xb3dcx2(_0xb3dcx3[_0x708e[2469]])+ parseInt(_0xb3dcx3[_0x708e[357]]|| 0);_0xb3dcx4[_0x708e[236]]= _0xb3dcx2(_0xb3dcx3[_0x708e[2470]])+ parseInt(_0xb3dcx3[_0x708e[2471]]|| 0);_0xb3dcx4[_0x708e[117]]= _0xb3dcx2(_0xb3dcx3[_0x708e[2472]])+ parseInt(_0xb3dcx3[_0x708e[1164]]|| 0);_0xb3dcx4[_0x708e[119]]= _0xb3dcx2(_0xb3dcx3[_0x708e[2473]])+ parseInt(_0xb3dcx3[_0x708e[2474]]|| 0);return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[2475]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= this[_0x708e[441]][_0x708e[255]];var _0xb3dcx5=this[_0x708e[441]][_0x708e[513]],_0xb3dcx9=this[_0x708e[2013]],_0xb3dcxa=_0xb3dcx2* this[_0x708e[2012]],_0xb3dcx9= new mxRectangle(0,0,_0xb3dcx9[_0x708e[117]]* _0xb3dcxa,_0xb3dcx9[_0x708e[119]]* _0xb3dcxa);_0xb3dcx3= this[_0x708e[2357]]?Math[_0x708e[430]](_0xb3dcx3/ _0xb3dcx9[_0x708e[117]]):1;_0xb3dcx4= this[_0x708e[2357]]?Math[_0x708e[430]](_0xb3dcx4/ _0xb3dcx9[_0x708e[119]]):1;return new mxRectangle(0,0,_0xb3dcx3* _0xb3dcx9[_0x708e[117]]+ 2+ _0xb3dcx5[_0x708e[235]]/ _0xb3dcx2,_0xb3dcx4* _0xb3dcx9[_0x708e[119]]+ 2+ _0xb3dcx5[_0x708e[236]]/ _0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2258]]= function(){var _0xb3dcx2=this[_0x708e[517]]();if(null!= this[_0x708e[526]]){var _0xb3dcx3=this[_0x708e[2476]](),_0xb3dcx4=Math[_0x708e[160]](0,_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]+ 1+ _0xb3dcx3),_0xb3dcx3=Math[_0x708e[160]](0,_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]+ 1+ _0xb3dcx3);null!= this[_0x708e[2387]]&& (_0xb3dcx4= Math[_0x708e[160]](_0xb3dcx4,this[_0x708e[2387]][_0x708e[117]]),_0xb3dcx3= Math[_0x708e[160]](_0xb3dcx3,this[_0x708e[2387]][_0x708e[119]]));this[_0x708e[2389]]&& this[_0x708e[2477]](_0xb3dcx4,_0xb3dcx3);if(this[_0x708e[2361]]|| !mxClient[_0x708e[80]]&& this[_0x708e[2273]]){var _0xb3dcx5=this[_0x708e[2475]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx3);null!= _0xb3dcx5&& (_0xb3dcx4= _0xb3dcx5[_0x708e[117]],_0xb3dcx3= _0xb3dcx5[_0x708e[119]])};null!= this[_0x708e[2386]]&& (_0xb3dcx4= Math[_0x708e[160]](_0xb3dcx4,this[_0x708e[2386]][_0x708e[117]]* this[_0x708e[441]][_0x708e[255]]),_0xb3dcx3= Math[_0x708e[160]](_0xb3dcx3,this[_0x708e[2386]][_0x708e[119]]* this[_0x708e[441]][_0x708e[255]]));_0xb3dcx4= Math[_0x708e[430]](_0xb3dcx4- 1);_0xb3dcx3= Math[_0x708e[430]](_0xb3dcx3- 1);this[_0x708e[507]]== mxConstants[_0x708e[508]]?(_0xb3dcx5= this[_0x708e[441]][_0x708e[2024]]()[_0x708e[538]],_0xb3dcx5[_0x708e[124]][_0x708e[2478]]= Math[_0x708e[160]](1,_0xb3dcx4)+ _0x708e[168],_0xb3dcx5[_0x708e[124]][_0x708e[2479]]= Math[_0x708e[160]](1,_0xb3dcx3)+ _0x708e[168],_0xb3dcx5[_0x708e[124]][_0x708e[117]]= _0x708e[118],_0xb3dcx5[_0x708e[124]][_0x708e[119]]= _0x708e[118]):mxClient[_0x708e[496]]?this[_0x708e[441]][_0x708e[2320]](Math[_0x708e[160]](1,_0xb3dcx4),Math[_0x708e[160]](1,_0xb3dcx3)):(this[_0x708e[441]][_0x708e[510]][_0x708e[124]][_0x708e[2478]]= Math[_0x708e[160]](1,_0xb3dcx4)+ _0x708e[168],this[_0x708e[441]][_0x708e[510]][_0x708e[124]][_0x708e[2479]]= Math[_0x708e[160]](1,_0xb3dcx3)+ _0x708e[168]);this[_0x708e[2480]](this[_0x708e[2357]],_0xb3dcx4- 1,_0xb3dcx3- 1)};this[_0x708e[746]]( new mxEventObject(mxEvent.SIZE,_0x708e[1562],_0xb3dcx2))};mxGraph[_0x708e[202]][_0x708e[2477]]= function(_0xb3dcx2,_0xb3dcx3){if(mxClient[_0x708e[80]]){if(mxClient[_0x708e[496]]){var _0xb3dcx4=this[_0x708e[2465]]();_0xb3dcx2+= Math[_0x708e[160]](2,_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]+ 1);_0xb3dcx3+= Math[_0x708e[160]](2,_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]+ 1)}else {9<= document[_0x708e[5]]?(_0xb3dcx2+= 3,_0xb3dcx3+= 5):(_0xb3dcx2+= 1,_0xb3dcx3+= 1)}}else {_0xb3dcx3+= 1};null!= this[_0x708e[2388]]&& (_0xb3dcx2= Math[_0x708e[243]](this[_0x708e[2388]][_0x708e[117]],_0xb3dcx2),_0xb3dcx3= Math[_0x708e[243]](this[_0x708e[2388]][_0x708e[119]],_0xb3dcx3));this[_0x708e[526]][_0x708e[124]][_0x708e[117]]= Math[_0x708e[430]](_0xb3dcx2)+ _0x708e[168];this[_0x708e[526]][_0x708e[124]][_0x708e[119]]= Math[_0x708e[430]](_0xb3dcx3)+ _0x708e[168]};mxGraph[_0x708e[202]][_0x708e[2480]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[441]][_0x708e[255]],_0xb3dcx9=this[_0x708e[441]][_0x708e[513]],_0xb3dcxa=this[_0x708e[2013]],_0xb3dcx12=_0xb3dcx5* this[_0x708e[2012]],_0xb3dcx9= new mxRectangle(_0xb3dcx5* _0xb3dcx9[_0x708e[235]],_0xb3dcx5* _0xb3dcx9[_0x708e[236]],_0xb3dcxa[_0x708e[117]]* _0xb3dcx12,_0xb3dcxa[_0x708e[119]]* _0xb3dcx12);_0xb3dcx2= _0xb3dcx2&& Math[_0x708e[243]](_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]])> this[_0x708e[2360]];_0xb3dcx9[_0x708e[235]]= mxUtils[_0x708e[1454]](_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[117]]);_0xb3dcx9[_0x708e[236]]= mxUtils[_0x708e[1454]](_0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[119]]);_0xb3dcxa= _0xb3dcx2?Math[_0x708e[430]]((_0xb3dcx3- _0xb3dcx9[_0x708e[235]])/ _0xb3dcx9[_0x708e[117]]):0;_0xb3dcx2= _0xb3dcx2?Math[_0x708e[430]]((_0xb3dcx4- _0xb3dcx9[_0x708e[236]])/ _0xb3dcx9[_0x708e[119]]):0;null== this[_0x708e[2481]]&& 0< _0xb3dcxa&& (this[_0x708e[2481]]= []);if(null!= this[_0x708e[2481]]){for(_0xb3dcx12= 0;_0xb3dcx12<= _0xb3dcxa;_0xb3dcx12++){var _0xb3dcx13=[ new mxPoint(_0xb3dcx9[_0x708e[235]]+ _0xb3dcx12* _0xb3dcx9[_0x708e[117]],1), new mxPoint(_0xb3dcx9[_0x708e[235]]+ _0xb3dcx12* _0xb3dcx9[_0x708e[117]],_0xb3dcx4)];null!= this[_0x708e[2481]][_0xb3dcx12]?(this[_0x708e[2481]][_0xb3dcx12][_0x708e[255]]= 1,this[_0x708e[2481]][_0xb3dcx12][_0x708e[1525]]= _0xb3dcx13,this[_0x708e[2481]][_0xb3dcx12][_0x708e[258]]()):(_0xb3dcx13= new mxPolyline(_0xb3dcx13,this[_0x708e[2358]],this[_0x708e[255]]),_0xb3dcx13[_0x708e[507]]= this[_0x708e[507]],_0xb3dcx13[_0x708e[1522]]= this[_0x708e[2359]],_0xb3dcx13[_0x708e[255]]= _0xb3dcx5,_0xb3dcx13[_0x708e[176]](this[_0x708e[441]][_0x708e[2053]]),_0xb3dcx13[_0x708e[258]](),this[_0x708e[2481]][_0xb3dcx12]= _0xb3dcx13)};for(_0xb3dcx12= _0xb3dcxa;_0xb3dcx12< this[_0x708e[2481]][_0x708e[67]];_0xb3dcx12++){this[_0x708e[2481]][_0xb3dcx12][_0x708e[515]]()};this[_0x708e[2481]][_0x708e[300]](_0xb3dcxa,this[_0x708e[2481]][_0x708e[67]]- _0xb3dcxa)};null== this[_0x708e[2482]]&& 0< _0xb3dcx2&& (this[_0x708e[2482]]= []);if(null!= this[_0x708e[2482]]){for(_0xb3dcx12= 0;_0xb3dcx12<= _0xb3dcx2;_0xb3dcx12++){_0xb3dcx13= [ new mxPoint(1,_0xb3dcx9[_0x708e[236]]+ _0xb3dcx12* _0xb3dcx9[_0x708e[119]]), new mxPoint(_0xb3dcx3,_0xb3dcx9[_0x708e[236]]+ _0xb3dcx12* _0xb3dcx9[_0x708e[119]])],null!= this[_0x708e[2482]][_0xb3dcx12]?(this[_0x708e[2482]][_0xb3dcx12][_0x708e[255]]= 1,this[_0x708e[2482]][_0xb3dcx12][_0x708e[1525]]= _0xb3dcx13,this[_0x708e[2482]][_0xb3dcx12][_0x708e[258]]()):(_0xb3dcx13= new mxPolyline(_0xb3dcx13,this[_0x708e[2358]],_0xb3dcx5),_0xb3dcx13[_0x708e[507]]= this[_0x708e[507]],_0xb3dcx13[_0x708e[1522]]= this[_0x708e[2359]],_0xb3dcx13[_0x708e[255]]= _0xb3dcx5,_0xb3dcx13[_0x708e[176]](this[_0x708e[441]][_0x708e[2053]]),_0xb3dcx13[_0x708e[258]](),this[_0x708e[2482]][_0xb3dcx12]= _0xb3dcx13)};for(_0xb3dcx12= _0xb3dcx2;_0xb3dcx12< this[_0x708e[2482]][_0x708e[67]];_0xb3dcx12++){this[_0x708e[2482]][_0xb3dcx12][_0x708e[515]]()};this[_0x708e[2482]][_0x708e[300]](_0xb3dcx2,this[_0x708e[2482]][_0x708e[67]]- _0xb3dcx2)}};mxGraph[_0x708e[202]][_0x708e[1705]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[251]][_0x708e[474]](_0xb3dcx2),_0xb3dcx4=null,_0xb3dcx4=this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)?this[_0x708e[94]][_0x708e[2077]]():this[_0x708e[94]][_0x708e[2076]]();null!= _0xb3dcx3&& (_0xb3dcx4= this[_0x708e[2483]](this[_0x708e[94]][_0x708e[1705]](_0xb3dcx3,_0xb3dcx4)));null== _0xb3dcx4&& (_0xb3dcx4= mxGraph[_0x708e[202]][_0x708e[2346]]);return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[2483]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[mxConstants[_0x708e[2484]]],_0xb3dcx4=this[_0x708e[2485]](_0xb3dcx3);null!= _0xb3dcx4?_0xb3dcx2[mxConstants[_0x708e[2484]]]= _0xb3dcx4:_0xb3dcx4= _0xb3dcx3;null!= _0xb3dcx4&& _0x708e[2486]== _0xb3dcx4[_0x708e[85]](0,11)&& (_0xb3dcx3= _0xb3dcx4[_0x708e[2]](_0x708e[537]),0< _0xb3dcx3&& (_0xb3dcx4= _0xb3dcx4[_0x708e[85]](0,_0xb3dcx3)+ _0x708e[2487]+ _0xb3dcx4[_0x708e[85]](_0xb3dcx3+ 1)),_0xb3dcx2[mxConstants[_0x708e[2484]]]= _0xb3dcx4)};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2488]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= _0xb3dcx3|| this[_0x708e[897]]();if(null!= _0xb3dcx3){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3[_0x708e[67]];_0xb3dcx4++){this[_0x708e[251]][_0x708e[475]](_0xb3dcx3[_0xb3dcx4],_0xb3dcx2)}}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2489]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= _0xb3dcx4|| this[_0x708e[2452]]();this[_0x708e[2490]](_0xb3dcx2,_0xb3dcx3,[_0xb3dcx4])};mxGraph[_0x708e[202]][_0x708e[2490]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;_0xb3dcx4= _0xb3dcx4|| this[_0x708e[897]]();if(null!= _0xb3dcx4&& 0< _0xb3dcx4[_0x708e[67]]){var _0xb3dcx5=this[_0x708e[441]][_0x708e[248]](_0xb3dcx4[0]),_0xb3dcx5=null!= _0xb3dcx5?_0xb3dcx5[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx4[0]);null!= _0xb3dcx5&& (_0xb3dcx3= mxUtils[_0x708e[433]](_0xb3dcx5,_0xb3dcx2,_0xb3dcx3)?0:1,this[_0x708e[1717]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4))}};mxGraph[_0x708e[202]][_0x708e[1717]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= _0xb3dcx4|| this[_0x708e[897]]();mxUtils[_0x708e[1717]](this[_0x708e[251]],_0xb3dcx4,_0xb3dcx2,_0xb3dcx3)};mxGraph[_0x708e[202]][_0x708e[2491]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[2492]](_0xb3dcx2,_0xb3dcx3,null,_0xb3dcx4)};mxGraph[_0x708e[202]][_0x708e[2492]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx5= _0xb3dcx5|| this[_0x708e[897]]();if(null!= _0xb3dcx5&& 0< _0xb3dcx5[_0x708e[67]]){if(null== _0xb3dcx4){var _0xb3dcx9=this[_0x708e[441]][_0x708e[248]](_0xb3dcx5[0]),_0xb3dcx9=null!= _0xb3dcx9?_0xb3dcx9[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx5[0]);null!= _0xb3dcx9&& (_0xb3dcx4= (parseInt(_0xb3dcx9[_0xb3dcx2]|| 0)& _0xb3dcx3)!= _0xb3dcx3)};mxUtils[_0x708e[2492]](this[_0x708e[251]],_0xb3dcx5,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)}};mxGraph[_0x708e[202]][_0x708e[849]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[897]]());if(null!= _0xb3dcx3&& 1< _0xb3dcx3[_0x708e[67]]){if(null== _0xb3dcx4){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[1198]](_0xb3dcx3[_0xb3dcx5]);if(null!= _0xb3dcx9&& !this[_0x708e[251]][_0x708e[250]](_0xb3dcx3[_0xb3dcx5])){if(null== _0xb3dcx4){if(_0xb3dcx2== mxConstants[_0x708e[479]]){_0xb3dcx4= _0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]/ 2;break}else {if(_0xb3dcx2== mxConstants[_0x708e[480]]){_0xb3dcx4= _0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]}else {if(_0xb3dcx2== mxConstants[_0x708e[1687]]){_0xb3dcx4= _0xb3dcx9[_0x708e[236]]}else {if(_0xb3dcx2== mxConstants[_0x708e[481]]){_0xb3dcx4= _0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]]/ 2;break}else {_0xb3dcx4= _0xb3dcx2== mxConstants[_0x708e[482]]?_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]]:_0xb3dcx9[_0x708e[235]]}}}}}else {_0xb3dcx4= _0xb3dcx2== mxConstants[_0x708e[480]]?Math[_0x708e[160]](_0xb3dcx4,_0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]):_0xb3dcx2== mxConstants[_0x708e[1687]]?Math[_0x708e[243]](_0xb3dcx4,_0xb3dcx9[_0x708e[236]]):_0xb3dcx2== mxConstants[_0x708e[482]]?Math[_0x708e[160]](_0xb3dcx4,_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]]):Math[_0x708e[243]](_0xb3dcx4,_0xb3dcx9[_0x708e[235]])}}}};if(null!= _0xb3dcx4){this[_0x708e[251]][_0x708e[473]]();try{for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){_0xb3dcx9= this[_0x708e[1198]](_0xb3dcx3[_0xb3dcx5]),null!= _0xb3dcx9&& !this[_0x708e[251]][_0x708e[250]](_0xb3dcx3[_0xb3dcx5])&& (_0xb3dcx9= _0xb3dcx9[_0x708e[238]](),_0xb3dcx2== mxConstants[_0x708e[479]]?_0xb3dcx9[_0x708e[235]]= _0xb3dcx4- _0xb3dcx9[_0x708e[117]]/ 2:_0xb3dcx2== mxConstants[_0x708e[480]]?_0xb3dcx9[_0x708e[235]]= _0xb3dcx4- _0xb3dcx9[_0x708e[117]]:_0xb3dcx2== mxConstants[_0x708e[1687]]?_0xb3dcx9[_0x708e[236]]= _0xb3dcx4:_0xb3dcx2== mxConstants[_0x708e[481]]?_0xb3dcx9[_0x708e[236]]= _0xb3dcx4- _0xb3dcx9[_0x708e[119]]/ 2:_0xb3dcx2== mxConstants[_0x708e[482]]?_0xb3dcx9[_0x708e[236]]= _0xb3dcx4- _0xb3dcx9[_0x708e[119]]:_0xb3dcx9[_0x708e[235]]= _0xb3dcx4,this[_0x708e[251]][_0x708e[1724]](_0xb3dcx3[_0xb3dcx5],_0xb3dcx9))};this[_0x708e[746]]( new mxEventObject(mxEvent.ALIGN_CELLS,_0x708e[611],_0xb3dcx2,_0x708e[895],_0xb3dcx3))}finally{this[_0x708e[251]][_0x708e[476]]()}}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[854]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& null!= this[_0x708e[2356]]){this[_0x708e[251]][_0x708e[473]]();try{var _0xb3dcx3=this[_0x708e[251]][_0x708e[474]](_0xb3dcx2);null== _0xb3dcx3|| 0== _0xb3dcx3[_0x708e[67]]?this[_0x708e[251]][_0x708e[475]](_0xb3dcx2,this[_0x708e[2356]]):this[_0x708e[251]][_0x708e[475]](_0xb3dcx2,null);this[_0x708e[1809]](_0xb3dcx2);this[_0x708e[746]]( new mxEventObject(mxEvent.FLIP_EDGE,_0x708e[1989],_0xb3dcx2))}finally{this[_0x708e[251]][_0x708e[476]]()}};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2493]]= function(_0xb3dcx2){this[_0x708e[2336]][_0x708e[207]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2494]]= function(_0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< this[_0x708e[2336]][_0x708e[67]];_0xb3dcx4++){this[_0x708e[2336]][_0xb3dcx4]!= _0xb3dcx2&& _0xb3dcx3[_0x708e[207]](this[_0x708e[2336]][_0xb3dcx4])};this[_0x708e[2336]]= _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2485]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[2336]][_0x708e[67]];_0xb3dcx3++){var _0xb3dcx4=this[_0x708e[2336]][_0xb3dcx3][_0x708e[1202]](_0xb3dcx2);if(null!= _0xb3dcx4){return _0xb3dcx4}}};return null};mxGraph[_0x708e[202]][_0x708e[840]]= function(_0xb3dcx2,_0xb3dcx3){null== _0xb3dcx3&& (_0xb3dcx3= mxUtils[_0x708e[1779]](this[_0x708e[897]](),!0));this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[841]](_0xb3dcx3,_0xb3dcx2),this[_0x708e[746]]( new mxEventObject(mxEvent.ORDER_CELLS,_0x708e[2495],_0xb3dcx2,_0x708e[895],_0xb3dcx3))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[841]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0xb3dcx4]);_0xb3dcx3?this[_0x708e[251]][_0x708e[99]](_0xb3dcx5,_0xb3dcx2[_0xb3dcx4],_0xb3dcx4):this[_0x708e[251]][_0x708e[99]](_0xb3dcx5,_0xb3dcx2[_0xb3dcx4],this[_0x708e[251]][_0x708e[262]](_0xb3dcx5)- 1)};this[_0x708e[746]]( new mxEventObject(mxEvent.CELLS_ORDERED,_0x708e[2495],_0xb3dcx3,_0x708e[895],_0xb3dcx2))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[844]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null== _0xb3dcx4&& (_0xb3dcx4= mxUtils[_0x708e[1779]](this[_0x708e[897]](),!0));_0xb3dcx4= this[_0x708e[2496]](_0xb3dcx4);null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[2497]](_0xb3dcx4));var _0xb3dcx5=this[_0x708e[2498]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx3);if(0< _0xb3dcx4[_0x708e[67]]&& null!= _0xb3dcx5){var _0xb3dcx9=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2);null== _0xb3dcx9&& (_0xb3dcx9= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx4[0]));this[_0x708e[251]][_0x708e[473]]();try{null== this[_0x708e[1198]](_0xb3dcx2)&& this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2, new mxGeometry);var _0xb3dcxa=this[_0x708e[251]][_0x708e[262]](_0xb3dcx9);this[_0x708e[833]]([_0xb3dcx2],_0xb3dcx9,_0xb3dcxa,null,null,!1);_0xb3dcxa= this[_0x708e[251]][_0x708e[262]](_0xb3dcx2);this[_0x708e[833]](_0xb3dcx4,_0xb3dcx2,_0xb3dcxa,null,null,!1,!1);this[_0x708e[835]](_0xb3dcx4,-_0xb3dcx5[_0x708e[235]],-_0xb3dcx5[_0x708e[236]],!1,!0);this[_0x708e[837]]([_0xb3dcx2],[_0xb3dcx5]);this[_0x708e[746]]( new mxEventObject(mxEvent.GROUP_CELLS,_0x708e[1504],_0xb3dcx2,_0x708e[467],_0xb3dcx3,_0x708e[895],_0xb3dcx4))}finally{this[_0x708e[251]][_0x708e[476]]()}};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2496]]= function(_0xb3dcx2){var _0xb3dcx3=[];if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){var _0xb3dcx4=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[0]);_0xb3dcx3[_0x708e[207]](_0xb3dcx2[0]);for(var _0xb3dcx5=1;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0xb3dcx5])== _0xb3dcx4&& _0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx5])}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2498]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= this[_0x708e[1729]](_0xb3dcx3);null!= _0xb3dcx3&& (this[_0x708e[1730]](_0xb3dcx2)&& (_0xb3dcx2= this[_0x708e[1731]](_0xb3dcx2),_0xb3dcx3[_0x708e[235]]-= _0xb3dcx2[_0x708e[117]],_0xb3dcx3[_0x708e[236]]-= _0xb3dcx2[_0x708e[119]],_0xb3dcx3[_0x708e[117]]+= _0xb3dcx2[_0x708e[117]],_0xb3dcx3[_0x708e[119]]+= _0xb3dcx2[_0x708e[119]]),_0xb3dcx3[_0x708e[235]]-= _0xb3dcx4,_0xb3dcx3[_0x708e[236]]-= _0xb3dcx4,_0xb3dcx3[_0x708e[117]]+= 2* _0xb3dcx4,_0xb3dcx3[_0x708e[119]]+= 2* _0xb3dcx4);return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2497]]= function(_0xb3dcx2){_0xb3dcx2= new mxCell(_0x708e[110]);_0xb3dcx2[_0x708e[1993]](!0);_0xb3dcx2[_0x708e[1995]](!1);return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[845]]= function(_0xb3dcx2){var _0xb3dcx3=[];if(null== _0xb3dcx2){_0xb3dcx2= this[_0x708e[897]]();for(var _0xb3dcx4=[],_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){0< this[_0x708e[251]][_0x708e[262]](_0xb3dcx2[_0xb3dcx5])&& _0xb3dcx4[_0x708e[207]](_0xb3dcx2[_0xb3dcx5])};_0xb3dcx2= _0xb3dcx4};if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){this[_0x708e[251]][_0x708e[473]]();try{for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[251]][_0x708e[1953]](_0xb3dcx2[_0xb3dcx5]);if(null!= _0xb3dcx9&& 0< _0xb3dcx9[_0x708e[67]]){var _0xb3dcx9=_0xb3dcx9[_0x708e[1853]](),_0xb3dcxa=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0xb3dcx5]),_0xb3dcx12=this[_0x708e[251]][_0x708e[262]](_0xb3dcxa);this[_0x708e[833]](_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,null,null,!0);_0xb3dcx3= _0xb3dcx3[_0x708e[1919]](_0xb3dcx9)}};this[_0x708e[843]](this[_0x708e[2499]](_0xb3dcx2));this[_0x708e[746]]( new mxEventObject(mxEvent.UNGROUP_CELLS,_0x708e[895],_0xb3dcx2))}finally{this[_0x708e[251]][_0x708e[476]]()}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[846]]= function(_0xb3dcx2){null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[897]]());this[_0x708e[251]][_0x708e[473]]();try{var _0xb3dcx3=this[_0x708e[902]](),_0xb3dcx4=this[_0x708e[251]][_0x708e[262]](_0xb3dcx3);this[_0x708e[833]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,null,null,!0);this[_0x708e[746]]( new mxEventObject(mxEvent.REMOVE_CELLS_FROM_PARENT,_0x708e[895],_0xb3dcx2))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[1917]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[897]]());_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:0;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[1198]](_0xb3dcx2[_0xb3dcx5]);if(null!= _0xb3dcx9){var _0xb3dcxa=this[_0x708e[1955]](_0xb3dcx2[_0xb3dcx5]);if(null!= _0xb3dcxa&& 0< _0xb3dcxa[_0x708e[67]]){var _0xb3dcx12=this[_0x708e[1729]](_0xb3dcxa);if(0< _0xb3dcx12[_0x708e[117]]&& 0< _0xb3dcx12[_0x708e[119]]){var _0xb3dcx13=this[_0x708e[1730]](_0xb3dcx2[_0xb3dcx5])?this[_0x708e[1731]](_0xb3dcx2[_0xb3dcx5]): new mxRectangle,_0xb3dcx9=_0xb3dcx9[_0x708e[238]]();_0xb3dcx4&& (_0xb3dcx9[_0x708e[235]]+= _0xb3dcx12[_0x708e[235]]- _0xb3dcx13[_0x708e[117]]- _0xb3dcx3,_0xb3dcx9[_0x708e[236]]+= _0xb3dcx12[_0x708e[236]]- _0xb3dcx13[_0x708e[119]]- _0xb3dcx3);_0xb3dcx9[_0x708e[117]]= _0xb3dcx12[_0x708e[117]]+ _0xb3dcx13[_0x708e[117]]+ 2* _0xb3dcx3;_0xb3dcx9[_0x708e[119]]= _0xb3dcx12[_0x708e[119]]+ _0xb3dcx13[_0x708e[119]]+ 2* _0xb3dcx3;this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2[_0xb3dcx5],_0xb3dcx9);this[_0x708e[834]](_0xb3dcxa,-_0xb3dcx12[_0x708e[235]]+ _0xb3dcx13[_0x708e[117]]+ _0xb3dcx3,-_0xb3dcx12[_0x708e[236]]+ _0xb3dcx13[_0x708e[119]]+ _0xb3dcx3)}}}}}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[899]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;var _0xb3dcx4=null;if(null!= _0xb3dcx2){for(var _0xb3dcx5={},_0xb3dcx4=[],_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2[_0xb3dcx9]);_0xb3dcx5[_0xb3dcxa]= _0xb3dcx2[_0xb3dcx9];_0xb3dcx4[_0x708e[207]](_0xb3dcx2[_0xb3dcx9])};if(0< _0xb3dcx4[_0x708e[67]]){for(var _0xb3dcxa=this[_0x708e[441]][_0x708e[255]],_0xb3dcx12=this[_0x708e[441]][_0x708e[513]],_0xb3dcx4=this[_0x708e[251]][_0x708e[899]](_0xb3dcx2,!0),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){if(!_0xb3dcx3&& this[_0x708e[251]][_0x708e[250]](_0xb3dcx4[_0xb3dcx9])&& null!= this[_0x708e[2500]](_0xb3dcx4[_0xb3dcx9],this[_0x708e[251]][_0x708e[1709]](_0xb3dcx4[_0xb3dcx9],!0),this[_0x708e[251]][_0x708e[1709]](_0xb3dcx4[_0xb3dcx9],!1))){_0xb3dcx4[_0xb3dcx9]= null}else {var _0xb3dcx13=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx4[_0xb3dcx9]);if(null!= _0xb3dcx13){var _0xb3dcx14=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2[_0xb3dcx9]),_0xb3dcx15=this[_0x708e[441]][_0x708e[248]](this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0xb3dcx9]));if(null!= _0xb3dcx14&& null!= _0xb3dcx15){var _0xb3dcx16=_0xb3dcx15[_0x708e[2078]][_0x708e[235]],_0xb3dcx15=_0xb3dcx15[_0x708e[2078]][_0x708e[236]];if(this[_0x708e[251]][_0x708e[250]](_0xb3dcx4[_0xb3dcx9])){for(var _0xb3dcx14=_0xb3dcx14[_0x708e[439]],_0xb3dcx17=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2[_0xb3dcx9],!0),_0xb3dcx18=mxCellPath[_0x708e[385]](_0xb3dcx17);null!= _0xb3dcx17&& null== _0xb3dcx5[_0xb3dcx18];){_0xb3dcx17= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx17),_0xb3dcx18= mxCellPath[_0x708e[385]](_0xb3dcx17)};null== _0xb3dcx17&& _0xb3dcx13[_0x708e[2007]]( new mxPoint(_0xb3dcx14[0][_0x708e[235]]/ _0xb3dcxa- _0xb3dcx12[_0x708e[235]],_0xb3dcx14[0][_0x708e[236]]/ _0xb3dcxa- _0xb3dcx12[_0x708e[236]]),!0);_0xb3dcx17= this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2[_0xb3dcx9],!1);for(_0xb3dcx18= mxCellPath[_0x708e[385]](_0xb3dcx17);null!= _0xb3dcx17&& null== _0xb3dcx5[_0xb3dcx18];){_0xb3dcx17= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx17),_0xb3dcx18= mxCellPath[_0x708e[385]](_0xb3dcx17)};null== _0xb3dcx17&& (_0xb3dcx17= _0xb3dcx14[_0x708e[67]]- 1,_0xb3dcx13[_0x708e[2007]]( new mxPoint(_0xb3dcx14[_0xb3dcx17][_0x708e[235]]/ _0xb3dcxa- _0xb3dcx12[_0x708e[235]],_0xb3dcx14[_0xb3dcx17][_0x708e[236]]/ _0xb3dcxa- _0xb3dcx12[_0x708e[236]]),!1));_0xb3dcx13= _0xb3dcx13[_0x708e[1525]];if(null!= _0xb3dcx13){for(_0xb3dcx14= 0;_0xb3dcx14< _0xb3dcx13[_0x708e[67]];_0xb3dcx14++){_0xb3dcx13[_0xb3dcx14][_0x708e[235]]+= _0xb3dcx16,_0xb3dcx13[_0xb3dcx14][_0x708e[236]]+= _0xb3dcx15}}}else {_0xb3dcx13[_0x708e[235]]+= _0xb3dcx16,_0xb3dcx13[_0x708e[236]]+= _0xb3dcx15}}}}}}else {_0xb3dcx4= []}};return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[2501]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){_0xb3dcx3= this[_0x708e[2502]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14);return this[_0x708e[2103]](_0xb3dcx3,_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2502]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){_0xb3dcx2= new mxGeometry(_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12);_0xb3dcx2[_0x708e[1500]]= null!= _0xb3dcx14?_0xb3dcx14:!1;_0xb3dcx4= new mxCell(_0xb3dcx4,_0xb3dcx2,_0xb3dcx13);_0xb3dcx4[_0x708e[1945]](_0xb3dcx3);_0xb3dcx4[_0x708e[1993]](!0);_0xb3dcx4[_0x708e[1995]](!0);return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[1960]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx3= this[_0x708e[2503]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa);return this[_0x708e[2504]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx5,_0xb3dcx9)};mxGraph[_0x708e[202]][_0x708e[2503]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx2= new mxCell(_0xb3dcx4, new mxGeometry,_0xb3dcxa);_0xb3dcx2[_0x708e[1945]](_0xb3dcx3);_0xb3dcx2[_0x708e[1994]](!0);_0xb3dcx2[_0x708e[256]][_0x708e[1500]]= !0;return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2504]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return this[_0x708e[2103]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcx4,_0xb3dcx5)};mxGraph[_0x708e[202]][_0x708e[2103]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return this[_0x708e[832]]([_0xb3dcx2],_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)[0]};mxGraph[_0x708e[202]][_0x708e[832]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[902]]());null== _0xb3dcx4&& (_0xb3dcx4= this[_0x708e[251]][_0x708e[262]](_0xb3dcx3));this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[833]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,!1,!0),this[_0x708e[746]]( new mxEventObject(mxEvent.ADD_CELLS,_0x708e[895],_0xb3dcx2,_0x708e[1101],_0xb3dcx3,_0x708e[1983],_0xb3dcx4,_0x708e[1097],_0xb3dcx5,_0x708e[772],_0xb3dcx9))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[833]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){if(null!= _0xb3dcx2&& null!= _0xb3dcx3&& null!= _0xb3dcx4){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx13=_0xb3dcxa?this[_0x708e[441]][_0x708e[248]](_0xb3dcx3):null,_0xb3dcx14=null!= _0xb3dcx13?_0xb3dcx13[_0x708e[2078]]:null,_0xb3dcx15= new mxPoint(0,0),_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx2[_0x708e[67]];_0xb3dcx13++){if(null== _0xb3dcx2[_0xb3dcx13]){_0xb3dcx4--}else {var _0xb3dcx16=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0xb3dcx13]);if(null!= _0xb3dcx14&& _0xb3dcx2[_0xb3dcx13]!= _0xb3dcx3&& _0xb3dcx3!= _0xb3dcx16){var _0xb3dcx17=this[_0x708e[441]][_0x708e[248]](_0xb3dcx16),_0xb3dcx18=null!= _0xb3dcx17?_0xb3dcx17[_0x708e[2078]]:_0xb3dcx15,_0xb3dcx19=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2[_0xb3dcx13]);if(null!= _0xb3dcx19){var _0xb3dcx1a=_0xb3dcx18[_0x708e[235]]- _0xb3dcx14[_0x708e[235]],_0xb3dcx1b=_0xb3dcx18[_0x708e[236]]- _0xb3dcx14[_0x708e[236]],_0xb3dcx19=_0xb3dcx19[_0x708e[238]]();_0xb3dcx19[_0x708e[513]](_0xb3dcx1a,_0xb3dcx1b);!_0xb3dcx19[_0x708e[1500]]&& (this[_0x708e[251]][_0x708e[1193]](_0xb3dcx2[_0xb3dcx13])&& !this[_0x708e[2505]]())&& (_0xb3dcx19[_0x708e[235]]= Math[_0x708e[160]](0,_0xb3dcx19[_0x708e[235]]),_0xb3dcx19[_0x708e[236]]= Math[_0x708e[160]](0,_0xb3dcx19[_0x708e[236]]));this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2[_0xb3dcx13],_0xb3dcx19)}};_0xb3dcx3== _0xb3dcx16&& _0xb3dcx4+ _0xb3dcx13> this[_0x708e[251]][_0x708e[262]](_0xb3dcx3)&& _0xb3dcx4--;this[_0x708e[251]][_0x708e[99]](_0xb3dcx3,_0xb3dcx2[_0xb3dcx13],_0xb3dcx4+ _0xb3dcx13);this[_0x708e[2506]]()&& this[_0x708e[2507]](_0xb3dcx2[_0xb3dcx13])&& this[_0x708e[2508]](_0xb3dcx2[_0xb3dcx13]);(null== _0xb3dcx12|| _0xb3dcx12)&& this[_0x708e[2509]](_0xb3dcx2[_0xb3dcx13]);null!= _0xb3dcx5&& this[_0x708e[852]](_0xb3dcx2[_0xb3dcx13],_0xb3dcx5,!0);null!= _0xb3dcx9&& this[_0x708e[852]](_0xb3dcx2[_0xb3dcx13],_0xb3dcx9,!1)}};this[_0x708e[746]]( new mxEventObject(mxEvent.CELLS_ADDED,_0x708e[895],_0xb3dcx2,_0x708e[1101],_0xb3dcx3,_0x708e[1983],_0xb3dcx4,_0x708e[1097],_0xb3dcx5,_0x708e[772],_0xb3dcx9,_0x708e[492],_0xb3dcxa))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[842]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[2510]](this[_0x708e[897]]()));_0xb3dcx3&& (_0xb3dcx2= this[_0x708e[2510]](this[_0x708e[2499]](_0xb3dcx2)));this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[843]](_0xb3dcx2),this[_0x708e[746]]( new mxEventObject(mxEvent.REMOVE_CELLS,_0x708e[895],_0xb3dcx2,_0x708e[2511],_0xb3dcx3))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[843]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){var _0xb3dcx3=this[_0x708e[441]][_0x708e[255]],_0xb3dcx4=this[_0x708e[441]][_0x708e[513]];this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx5={},_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2[_0xb3dcx9]);_0xb3dcx5[_0xb3dcxa]= _0xb3dcx2[_0xb3dcx9]};for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){for(var _0xb3dcx12=this[_0x708e[1756]](_0xb3dcx2[_0xb3dcx9]),_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx12[_0x708e[67]];_0xb3dcx13++){if(_0xb3dcxa= mxCellPath[_0x708e[385]](_0xb3dcx12[_0xb3dcx13]),null== _0xb3dcx5[_0xb3dcxa]){var _0xb3dcx14=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx12[_0xb3dcx13]);if(null!= _0xb3dcx14){var _0xb3dcx15=this[_0x708e[441]][_0x708e[248]](_0xb3dcx12[_0xb3dcx13]);if(null!= _0xb3dcx15){var _0xb3dcx14=_0xb3dcx14[_0x708e[238]](),_0xb3dcx16=_0xb3dcx15[_0x708e[1710]](!0) == _0xb3dcx2[_0xb3dcx9],_0xb3dcx17=_0xb3dcx15[_0x708e[439]],_0xb3dcx18=_0xb3dcx16?0:_0xb3dcx17[_0x708e[67]]- 1;_0xb3dcx14[_0x708e[2007]]( new mxPoint(_0xb3dcx17[_0xb3dcx18][_0x708e[235]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[235]],_0xb3dcx17[_0xb3dcx18][_0x708e[236]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[236]]),_0xb3dcx16);this[_0x708e[251]][_0x708e[1957]](_0xb3dcx12[_0xb3dcx13],null,_0xb3dcx16);this[_0x708e[251]][_0x708e[1724]](_0xb3dcx12[_0xb3dcx13],_0xb3dcx14)}}}};this[_0x708e[251]][_0x708e[205]](_0xb3dcx2[_0xb3dcx9])};this[_0x708e[746]]( new mxEventObject(mxEvent.CELLS_REMOVED,_0x708e[895],_0xb3dcx2))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[853]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx5= _0xb3dcx5|| 0;_0xb3dcx9= _0xb3dcx9|| 0;null== _0xb3dcx4&& (_0xb3dcx4= this[_0x708e[899]]([_0xb3dcx2])[0]);var _0xb3dcxa=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2),_0xb3dcx12=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!0);this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[835]](_0xb3dcx3,_0xb3dcx5,_0xb3dcx9,!1,!1),this[_0x708e[833]](_0xb3dcx3,_0xb3dcxa,this[_0x708e[251]][_0x708e[262]](_0xb3dcxa),null,null,!0),this[_0x708e[833]]([_0xb3dcx4],_0xb3dcxa,this[_0x708e[251]][_0x708e[262]](_0xb3dcxa),_0xb3dcx12,_0xb3dcx3[0],!1),this[_0x708e[852]](_0xb3dcx2,_0xb3dcx3[0],!0),this[_0x708e[746]]( new mxEventObject(mxEvent.SPLIT_EDGE,_0x708e[1989],_0xb3dcx2,_0x708e[895],_0xb3dcx3,_0x708e[2512],_0xb3dcx4,_0x708e[1126],_0xb3dcx5,_0x708e[1125],_0xb3dcx9))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[838]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[897]]());_0xb3dcx4&& (_0xb3dcx3= this[_0x708e[2499]](_0xb3dcx3));this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[839]](_0xb3dcx3,_0xb3dcx2),this[_0x708e[746]]( new mxEventObject(mxEvent.TOGGLE_CELLS,_0x708e[539],_0xb3dcx2,_0x708e[895],_0xb3dcx3,_0x708e[2511],_0xb3dcx4))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[839]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){this[_0x708e[251]][_0x708e[175]](_0xb3dcx2[_0xb3dcx4],_0xb3dcx3)}}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[847]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;null== _0xb3dcx4&& (_0xb3dcx4= this[_0x708e[2513]](this[_0x708e[897]](),_0xb3dcx2));this[_0x708e[2126]](!1);this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[848]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx3,_0xb3dcx5),this[_0x708e[746]]( new mxEventObject(mxEvent.FOLD_CELLS,_0x708e[2514],_0xb3dcx2,_0x708e[2515],_0xb3dcx3,_0x708e[895],_0xb3dcx4))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[848]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){if((!_0xb3dcx5|| this[_0x708e[2516]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx3)) && _0xb3dcx3!= this[_0x708e[1742]](_0xb3dcx2[_0xb3dcx9])){if(this[_0x708e[251]][_0x708e[1972]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx3),this[_0x708e[2517]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx3),this[_0x708e[2507]](_0xb3dcx2[_0xb3dcx9])&& this[_0x708e[2508]](_0xb3dcx2[_0xb3dcx9]),_0xb3dcx4){var _0xb3dcxa=this[_0x708e[251]][_0x708e[1953]](_0xb3dcx2[_0xb3dcx9]);this[_0x708e[847]](_0xb3dcxa,_0xb3dcx3,_0xb3dcx4)}}};this[_0x708e[746]]( new mxEventObject(mxEvent.CELLS_FOLDED,_0x708e[895],_0xb3dcx2,_0x708e[2514],_0xb3dcx3,_0x708e[2515],_0xb3dcx4))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2517]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2){var _0xb3dcx4=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2);null!= _0xb3dcx4&& (_0xb3dcx4= _0xb3dcx4[_0x708e[238]](),this[_0x708e[2518]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx3),_0xb3dcx4[_0x708e[2005]](),this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2,_0xb3dcx4))}};mxGraph[_0x708e[202]][_0x708e[2518]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= _0xb3dcx2&& null!= _0xb3dcx3){_0xb3dcx4= this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);if(null== _0xb3dcx3[_0x708e[2002]]){var _0xb3dcx5=_0xb3dcx3;this[_0x708e[2394]]&& (_0xb3dcx2= this[_0x708e[2519]](_0xb3dcx2),null!= _0xb3dcx2&& (_0xb3dcx5= _0xb3dcx2,_0xb3dcx2= mxUtils[_0x708e[433]](_0xb3dcx4,mxConstants.STYLE_STARTSIZE),0< _0xb3dcx2&& (_0xb3dcx5[_0x708e[119]]= Math[_0x708e[160]](_0xb3dcx5[_0x708e[119]],_0xb3dcx2))));_0xb3dcx3[_0x708e[2002]]= new mxRectangle(0,0,_0xb3dcx5[_0x708e[117]],_0xb3dcx5[_0x708e[119]])};if(null!= _0xb3dcx3[_0x708e[2002]]){_0xb3dcx3[_0x708e[2002]][_0x708e[235]]= _0xb3dcx3[_0x708e[235]];_0xb3dcx3[_0x708e[2002]][_0x708e[236]]= _0xb3dcx3[_0x708e[236]];var _0xb3dcx9=mxUtils[_0x708e[431]](_0xb3dcx4[mxConstants[_0x708e[2278]]]|| _0x708e[468]);0!= _0xb3dcx9&& (_0xb3dcx2= _0xb3dcx3[_0x708e[2002]][_0x708e[241]]()- _0xb3dcx3[_0x708e[241]](),_0xb3dcx4= _0xb3dcx3[_0x708e[2002]][_0x708e[242]]()- _0xb3dcx3[_0x708e[242]](),_0xb3dcx5= Math[_0x708e[426]](_0xb3dcx9),_0xb3dcx9= Math[_0x708e[427]](_0xb3dcx9),_0xb3dcx3[_0x708e[2002]][_0x708e[235]]+= _0xb3dcx5* _0xb3dcx2- _0xb3dcx9* _0xb3dcx4- _0xb3dcx2,_0xb3dcx3[_0x708e[2002]][_0x708e[236]]+= _0xb3dcx9* _0xb3dcx2+ _0xb3dcx5* _0xb3dcx4- _0xb3dcx4)}}};mxGraph[_0x708e[202]][_0x708e[2499]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[1853]]();return _0xb3dcx3= _0xb3dcx3[_0x708e[1919]](this[_0x708e[2520]](_0xb3dcx2))};mxGraph[_0x708e[202]][_0x708e[2520]]= function(_0xb3dcx2){var _0xb3dcx3=[];if(null!= _0xb3dcx2){for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){for(var _0xb3dcx5=this[_0x708e[251]][_0x708e[1707]](_0xb3dcx2[_0xb3dcx4]),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){_0xb3dcx3[_0x708e[207]](this[_0x708e[251]][_0x708e[1708]](_0xb3dcx2[_0xb3dcx4],_0xb3dcx9))};_0xb3dcx5= this[_0x708e[251]][_0x708e[1953]](_0xb3dcx2[_0xb3dcx4]);_0xb3dcx3= _0xb3dcx3[_0x708e[1919]](this[_0x708e[2520]](_0xb3dcx5))}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[858]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[2457]](_0xb3dcx2,_0xb3dcx3),this[_0x708e[746]]( new mxEventObject(mxEvent.UPDATE_CELL_SIZE,_0x708e[246],_0xb3dcx2,_0x708e[2521],_0xb3dcx3))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2457]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2){this[_0x708e[251]][_0x708e[473]]();try{var _0xb3dcx4=this[_0x708e[2519]](_0xb3dcx2),_0xb3dcx5=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcx4&& null!= _0xb3dcx5){var _0xb3dcx9=this[_0x708e[1742]](_0xb3dcx2),_0xb3dcx5=_0xb3dcx5[_0x708e[238]]();if(this[_0x708e[1730]](_0xb3dcx2)){var _0xb3dcxa=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx12=null!= _0xb3dcxa?_0xb3dcxa[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2),_0xb3dcx13=this[_0x708e[251]][_0x708e[474]](_0xb3dcx2);null== _0xb3dcx13&& (_0xb3dcx13= _0x708e[110]);mxUtils[_0x708e[433]](_0xb3dcx12,mxConstants.STYLE_HORIZONTAL,!0)?(_0xb3dcx13= mxUtils[_0x708e[475]](_0xb3dcx13,mxConstants.STYLE_STARTSIZE,_0xb3dcx4[_0x708e[119]]+ 8),_0xb3dcx9&& (_0xb3dcx5[_0x708e[119]]= _0xb3dcx4[_0x708e[119]]+ 8),_0xb3dcx5[_0x708e[117]]= _0xb3dcx4[_0x708e[117]]):(_0xb3dcx13= mxUtils[_0x708e[475]](_0xb3dcx13,mxConstants.STYLE_STARTSIZE,_0xb3dcx4[_0x708e[117]]+ 8),_0xb3dcx9&& (_0xb3dcx5[_0x708e[117]]= _0xb3dcx4[_0x708e[117]]+ 8),_0xb3dcx5[_0x708e[119]]= _0xb3dcx4[_0x708e[119]]);this[_0x708e[251]][_0x708e[475]](_0xb3dcx2,_0xb3dcx13)}else {_0xb3dcx5[_0x708e[117]]= _0xb3dcx4[_0x708e[117]],_0xb3dcx5[_0x708e[119]]= _0xb3dcx4[_0x708e[119]]};if(!_0xb3dcx3&& !_0xb3dcx9){var _0xb3dcx14=this[_0x708e[441]][_0x708e[1799]](this[_0x708e[251]][_0x708e[1953]](_0xb3dcx2));if(null!= _0xb3dcx14){var _0xb3dcx15=this[_0x708e[441]][_0x708e[513]],_0xb3dcx16=this[_0x708e[441]][_0x708e[255]],_0xb3dcx17=(_0xb3dcx14[_0x708e[236]]+ _0xb3dcx14[_0x708e[119]])/ _0xb3dcx16- _0xb3dcx5[_0x708e[236]]- _0xb3dcx15[_0x708e[236]];_0xb3dcx5[_0x708e[117]]= Math[_0x708e[160]](_0xb3dcx5[_0x708e[117]],(_0xb3dcx14[_0x708e[235]]+ _0xb3dcx14[_0x708e[117]])/ _0xb3dcx16- _0xb3dcx5[_0x708e[235]]- _0xb3dcx15[_0x708e[235]]);_0xb3dcx5[_0x708e[119]]= Math[_0x708e[160]](_0xb3dcx5[_0x708e[119]],_0xb3dcx17)}};this[_0x708e[837]]([_0xb3dcx2],[_0xb3dcx5])}}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2519]]= function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= _0xb3dcx2){var _0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx5=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);if(null!= _0xb3dcx5&& !this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)){var _0xb3dcx9=_0xb3dcx5[mxConstants[_0x708e[2185]]]|| mxConstants[_0x708e[483]],_0xb3dcxa=0,_0xb3dcx3=0;if((null!= this[_0x708e[1202]](_0xb3dcx4)|| null!= _0xb3dcx5[mxConstants[_0x708e[2484]]])&& _0xb3dcx5[mxConstants[_0x708e[2059]]]== mxConstants[_0x708e[2522]]){_0xb3dcx5[mxConstants[_0x708e[2063]]]== mxConstants[_0x708e[481]]&& (_0xb3dcxa+= parseFloat(_0xb3dcx5[mxConstants[_0x708e[2523]]])|| mxLabel[_0x708e[202]][_0x708e[1680]]),_0xb3dcx5[mxConstants[_0x708e[2064]]]!= mxConstants[_0x708e[479]]&& (_0xb3dcx3+= parseFloat(_0xb3dcx5[mxConstants[_0x708e[2524]]])|| mxLabel[_0x708e[202]][_0x708e[1680]])};_0xb3dcxa+= 2* (_0xb3dcx5[mxConstants[_0x708e[2143]]]|| 0);_0xb3dcxa+= _0xb3dcx5[mxConstants[_0x708e[2147]]]|| 0;_0xb3dcxa+= _0xb3dcx5[mxConstants[_0x708e[2145]]]|| 0;_0xb3dcx3+= 2* (_0xb3dcx5[mxConstants[_0x708e[2143]]]|| 0);_0xb3dcx3+= _0xb3dcx5[mxConstants[_0x708e[2144]]]|| 0;_0xb3dcx3+= _0xb3dcx5[mxConstants[_0x708e[2146]]]|| 0;_0xb3dcx4= this[_0x708e[2205]](_0xb3dcx4);null!= _0xb3dcx4&& (_0xb3dcxa+= _0xb3dcx4[_0x708e[117]]+ 8);_0xb3dcx4= this[_0x708e[2183]](_0xb3dcx2);null!= _0xb3dcx4&& 0< _0xb3dcx4[_0x708e[67]]?(this[_0x708e[2186]](_0xb3dcx2)|| (_0xb3dcx4= _0xb3dcx4[_0x708e[230]](/\n/g,_0x708e[545])),_0xb3dcx9= mxUtils[_0x708e[2525]](_0xb3dcx4,_0xb3dcx9,_0xb3dcx5[mxConstants[_0x708e[2188]]]),_0xb3dcx2= _0xb3dcx9[_0x708e[117]]+ _0xb3dcxa,_0xb3dcx3= _0xb3dcx9[_0x708e[119]]+ _0xb3dcx3,mxUtils[_0x708e[433]](_0xb3dcx5,mxConstants.STYLE_HORIZONTAL,!0)|| (_0xb3dcx5= _0xb3dcx3,_0xb3dcx3= _0xb3dcx2,_0xb3dcx2= _0xb3dcx5),this[_0x708e[991]]&& (_0xb3dcx2= this[_0x708e[1021]](_0xb3dcx2+ this[_0x708e[1020]]/ 2),_0xb3dcx3= this[_0x708e[1021]](_0xb3dcx3+ this[_0x708e[1020]]/ 2)),_0xb3dcx3= new mxRectangle(0,0,_0xb3dcx2,_0xb3dcx3)):(_0xb3dcx5= 4* this[_0x708e[1020]],_0xb3dcx3= new mxRectangle(0,0,_0xb3dcx5,_0xb3dcx5))}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2216]]= function(_0xb3dcx2,_0xb3dcx3){if(0.2< Math[_0x708e[425]](1- _0xb3dcx3[_0x708e[255]])){var _0xb3dcx4=this[_0x708e[441]][_0x708e[255]],_0xb3dcx5=this[_0x708e[441]][_0x708e[513]],_0xb3dcx9=_0xb3dcx2[_0x708e[117]]* _0xb3dcx3[_0x708e[255]],_0xb3dcxa=_0xb3dcx2[_0x708e[119]]* _0xb3dcx3[_0x708e[255]],_0xb3dcx12=_0xb3dcx2[_0x708e[236]]- (_0xb3dcxa- _0xb3dcx2[_0x708e[119]])/ 2,_0xb3dcx4= new mxRectangle(this[_0x708e[1021]]((_0xb3dcx2[_0x708e[235]]- (_0xb3dcx9- _0xb3dcx2[_0x708e[117]])/ 2)/ _0xb3dcx4)- _0xb3dcx5[_0x708e[235]],this[_0x708e[1021]](_0xb3dcx12/ _0xb3dcx4)- _0xb3dcx5[_0x708e[236]],this[_0x708e[1021]](_0xb3dcx9/ _0xb3dcx4),this[_0x708e[1021]](_0xb3dcxa/ _0xb3dcx4));this[_0x708e[2526]](_0xb3dcx2[_0x708e[246]],_0xb3dcx4)}};mxGraph[_0x708e[202]][_0x708e[2526]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[836]]([_0xb3dcx2],[_0xb3dcx3])[0]};mxGraph[_0x708e[202]][_0x708e[836]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[251]][_0x708e[473]]();try{this[_0x708e[837]](_0xb3dcx2,_0xb3dcx3),this[_0x708e[746]]( new mxEventObject(mxEvent.RESIZE_CELLS,_0x708e[895],_0xb3dcx2,_0x708e[1562],_0xb3dcx3))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[837]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[67]]== _0xb3dcx3[_0x708e[67]]){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=_0xb3dcx3[_0xb3dcx4],_0xb3dcx9=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2[_0xb3dcx4]);if(null!= _0xb3dcx9&& (_0xb3dcx9[_0x708e[235]]!= _0xb3dcx5[_0x708e[235]]|| _0xb3dcx9[_0x708e[236]]!= _0xb3dcx5[_0x708e[236]]|| _0xb3dcx9[_0x708e[117]]!= _0xb3dcx5[_0x708e[117]]|| _0xb3dcx9[_0x708e[119]]!= _0xb3dcx5[_0x708e[119]])){_0xb3dcx9= _0xb3dcx9[_0x708e[238]]();if(_0xb3dcx9[_0x708e[1500]]){var _0xb3dcxa=_0xb3dcx9[_0x708e[1368]];null!= _0xb3dcxa&& (_0xb3dcxa[_0x708e[235]]+= _0xb3dcx5[_0x708e[235]]- _0xb3dcx9[_0x708e[235]],_0xb3dcxa[_0x708e[236]]+= _0xb3dcx5[_0x708e[236]]- _0xb3dcx9[_0x708e[236]])}else {_0xb3dcx9[_0x708e[235]]= _0xb3dcx5[_0x708e[235]],_0xb3dcx9[_0x708e[236]]= _0xb3dcx5[_0x708e[236]]};_0xb3dcx9[_0x708e[117]]= _0xb3dcx5[_0x708e[117]];_0xb3dcx9[_0x708e[119]]= _0xb3dcx5[_0x708e[119]];!_0xb3dcx9[_0x708e[1500]]&& (this[_0x708e[251]][_0x708e[1193]](_0xb3dcx2[_0xb3dcx4])&& !this[_0x708e[2505]]())&& (_0xb3dcx9[_0x708e[235]]= Math[_0x708e[160]](0,_0xb3dcx9[_0x708e[235]]),_0xb3dcx9[_0x708e[236]]= Math[_0x708e[160]](0,_0xb3dcx9[_0x708e[236]]));this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2[_0xb3dcx4],_0xb3dcx9);this[_0x708e[2507]](_0xb3dcx2[_0xb3dcx4])&& this[_0x708e[2508]](_0xb3dcx2[_0xb3dcx4])}};this[_0x708e[2399]]&& this[_0x708e[1750]](_0xb3dcx2);this[_0x708e[746]]( new mxEventObject(mxEvent.CELLS_RESIZED,_0x708e[895],_0xb3dcx2,_0x708e[1562],_0xb3dcx3))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2508]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2),_0xb3dcx4=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx3);if(null!= _0xb3dcx3&& (null!= _0xb3dcx4&& !this[_0x708e[1742]](_0xb3dcx3))&& (_0xb3dcx2= this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2),null!= _0xb3dcx2&& (_0xb3dcx4[_0x708e[117]]< _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]|| _0xb3dcx4[_0x708e[119]]< _0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]))){_0xb3dcx4= _0xb3dcx4[_0x708e[238]](),_0xb3dcx4[_0x708e[117]]= Math[_0x708e[160]](_0xb3dcx4[_0x708e[117]],_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]),_0xb3dcx4[_0x708e[119]]= Math[_0x708e[160]](_0xb3dcx4[_0x708e[119]],_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]),this[_0x708e[837]]([_0xb3dcx3],[_0xb3dcx4])}}};mxGraph[_0x708e[202]][_0x708e[903]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return this[_0x708e[834]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,!0,_0xb3dcx5,_0xb3dcx9)};mxGraph[_0x708e[202]][_0x708e[834]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:0;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!1;if(null!= _0xb3dcx2&& (0!= _0xb3dcx3|| 0!= _0xb3dcx4|| _0xb3dcx5|| null!= _0xb3dcx9)){this[_0x708e[251]][_0x708e[473]]();try{_0xb3dcx5&& (_0xb3dcx2= this[_0x708e[899]](_0xb3dcx2,this[_0x708e[2527]]()),null== _0xb3dcx9&& (_0xb3dcx9= this[_0x708e[902]]()));var _0xb3dcx12=this[_0x708e[2505]]();null!= _0xb3dcx9&& this[_0x708e[2528]](!0);this[_0x708e[835]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,!_0xb3dcx5&& this[_0x708e[2529]]()&& this[_0x708e[2530]](),null== _0xb3dcx9);this[_0x708e[2528]](_0xb3dcx12);if(null!= _0xb3dcx9){var _0xb3dcx13=this[_0x708e[251]][_0x708e[262]](_0xb3dcx9);this[_0x708e[833]](_0xb3dcx2,_0xb3dcx9,_0xb3dcx13,null,null,!0)};this[_0x708e[746]]( new mxEventObject(mxEvent.MOVE_CELLS,_0x708e[895],_0xb3dcx2,_0x708e[1126],_0xb3dcx3,_0x708e[1125],_0xb3dcx4,_0x708e[238],_0xb3dcx5,_0x708e[772],_0xb3dcx9,_0x708e[763],_0xb3dcxa))}finally{this[_0x708e[251]][_0x708e[476]]()}};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[835]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx2&& (0!= _0xb3dcx3|| 0!= _0xb3dcx4)){this[_0x708e[251]][_0x708e[473]]();try{_0xb3dcx5&& this[_0x708e[2531]](_0xb3dcx2);for(var _0xb3dcxa=0;_0xb3dcxa< _0xb3dcx2[_0x708e[67]];_0xb3dcxa++){this[_0x708e[2532]](_0xb3dcx2[_0xb3dcxa],_0xb3dcx3,_0xb3dcx4),_0xb3dcx9&& this[_0x708e[2509]](_0xb3dcx2[_0xb3dcxa])};this[_0x708e[2400]]&& this[_0x708e[1750]](_0xb3dcx2);this[_0x708e[746]]( new mxEventObject(mxEvent.CELLS_MOVED,_0x708e[895],_0xb3dcx2,_0x708e[1126],_0xb3dcx4,_0x708e[1125],_0xb3dcx4,_0x708e[808],_0xb3dcx5))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2532]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2);null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcx5[_0x708e[238]](),_0xb3dcx5[_0x708e[513]](_0xb3dcx3,_0xb3dcx4),!_0xb3dcx5[_0x708e[1500]]&& (this[_0x708e[251]][_0x708e[1193]](_0xb3dcx2)&& !this[_0x708e[2505]]())&& (_0xb3dcx5[_0x708e[235]]= Math[_0x708e[160]](0,_0xb3dcx5[_0x708e[235]]),_0xb3dcx5[_0x708e[236]]= Math[_0x708e[160]](0,_0xb3dcx5[_0x708e[236]])),_0xb3dcx5[_0x708e[1500]]&& !this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)&& (null== _0xb3dcx5[_0x708e[1368]]?_0xb3dcx5[_0x708e[1368]]= new mxPoint(_0xb3dcx3,_0xb3dcx4):(_0xb3dcx5[_0x708e[1368]][_0x708e[235]]+= _0xb3dcx3,_0xb3dcx5[_0x708e[1368]][_0x708e[236]]+= _0xb3dcx4)),this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2,_0xb3dcx5))};mxGraph[_0x708e[202]][_0x708e[2533]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& !this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2);if(_0xb3dcx3== this[_0x708e[902]]()|| _0xb3dcx3== this[_0x708e[2534]]()){return this[_0x708e[2535]]()};if(null!= _0xb3dcx3&& _0xb3dcx3!= this[_0x708e[902]]()){var _0xb3dcx4=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx3);if(null!= _0xb3dcx4){var _0xb3dcx5=_0xb3dcx2= 0,_0xb3dcx9=_0xb3dcx4[_0x708e[117]],_0xb3dcx4=_0xb3dcx4[_0x708e[119]];this[_0x708e[1730]](_0xb3dcx3)&& (_0xb3dcx3= this[_0x708e[1731]](_0xb3dcx3),_0xb3dcx2= _0xb3dcx3[_0x708e[117]],_0xb3dcx9-= _0xb3dcx3[_0x708e[117]],_0xb3dcx5= _0xb3dcx3[_0x708e[119]],_0xb3dcx4-= _0xb3dcx3[_0x708e[119]]);return new mxRectangle(_0xb3dcx2,_0xb3dcx5,_0xb3dcx9,_0xb3dcx4)}}};return null};mxGraph[_0x708e[202]][_0x708e[2535]]= function(){return this[_0x708e[2385]]};mxGraph[_0x708e[202]][_0x708e[2509]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2),_0xb3dcx4=this[_0x708e[2536]](_0xb3dcx2)?this[_0x708e[2533]](_0xb3dcx2):this[_0x708e[2535]]();if(null!= _0xb3dcx3&& null!= _0xb3dcx4&& !_0xb3dcx3[_0x708e[1500]]&& (_0xb3dcx3[_0x708e[235]]< _0xb3dcx4[_0x708e[235]]|| _0xb3dcx3[_0x708e[236]]< _0xb3dcx4[_0x708e[236]]|| _0xb3dcx4[_0x708e[117]]< _0xb3dcx3[_0x708e[235]]+ _0xb3dcx3[_0x708e[117]]|| _0xb3dcx4[_0x708e[119]]< _0xb3dcx3[_0x708e[236]]+ _0xb3dcx3[_0x708e[119]])){_0xb3dcx2= this[_0x708e[2537]](_0xb3dcx2),0< _0xb3dcx4[_0x708e[117]]&& (_0xb3dcx3[_0x708e[235]]= Math[_0x708e[243]](_0xb3dcx3[_0x708e[235]],_0xb3dcx4[_0x708e[235]]+ _0xb3dcx4[_0x708e[117]]- (1- _0xb3dcx2)* _0xb3dcx3[_0x708e[117]])),0< _0xb3dcx4[_0x708e[119]]&& (_0xb3dcx3[_0x708e[236]]= Math[_0x708e[243]](_0xb3dcx3[_0x708e[236]],_0xb3dcx4[_0x708e[236]]+ _0xb3dcx4[_0x708e[119]]- (1- _0xb3dcx2)* _0xb3dcx3[_0x708e[119]])),_0xb3dcx3[_0x708e[235]]= Math[_0x708e[160]](_0xb3dcx3[_0x708e[235]],_0xb3dcx4[_0x708e[235]]- _0xb3dcx3[_0x708e[117]]* _0xb3dcx2),_0xb3dcx3[_0x708e[236]]= Math[_0x708e[160]](_0xb3dcx3[_0x708e[236]],_0xb3dcx4[_0x708e[236]]- _0xb3dcx3[_0x708e[119]]* _0xb3dcx2)}}};mxGraph[_0x708e[202]][_0x708e[1750]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){for(var _0xb3dcx3={},_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=mxCellPath[_0x708e[385]](_0xb3dcx2[_0xb3dcx4]);_0xb3dcx3[_0xb3dcx5]= _0xb3dcx2[_0xb3dcx4]};this[_0x708e[251]][_0x708e[473]]();try{for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx9=this[_0x708e[251]][_0x708e[264]](_0xb3dcx2[_0xb3dcx4]);if(null!= _0xb3dcx9){for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx9[_0x708e[67]];_0xb3dcx5++){var _0xb3dcxa=this[_0x708e[441]][_0x708e[248]](_0xb3dcx9[_0xb3dcx5]),_0xb3dcx12=null!= _0xb3dcxa?_0xb3dcxa[_0x708e[1710]](!0):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx9[_0xb3dcx5],!0),_0xb3dcx13=null!= _0xb3dcxa?_0xb3dcxa[_0x708e[1710]](!1):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx9[_0xb3dcx5],!1),_0xb3dcx14=mxCellPath[_0x708e[385]](_0xb3dcx12),_0xb3dcx15=mxCellPath[_0x708e[385]](_0xb3dcx13);(null== _0xb3dcx3[_0xb3dcx14]|| null== _0xb3dcx3[_0xb3dcx15])&& this[_0x708e[1809]](_0xb3dcx9[_0xb3dcx5])}};this[_0x708e[1750]](this[_0x708e[251]][_0x708e[1953]](_0xb3dcx2[_0xb3dcx4]))}}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[1809]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2);null!= _0xb3dcx3&& (null!= _0xb3dcx3[_0x708e[1525]]&& 0< _0xb3dcx3[_0x708e[1525]][_0x708e[67]])&& (_0xb3dcx3= _0xb3dcx3[_0x708e[238]](),_0xb3dcx3[_0x708e[1525]]= [],this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2,_0xb3dcx3));return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2538]]= function(_0xb3dcx2,_0xb3dcx3){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[253]]&& null!= _0xb3dcx2[_0x708e[253]][_0x708e[1561]]?_0xb3dcx2[_0x708e[253]][_0x708e[1561]][_0x708e[1531]]:null};mxGraph[_0x708e[202]][_0x708e[2288]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= null;var _0xb3dcx5=_0xb3dcx2[_0x708e[124]][_0xb3dcx4?mxConstants[_0x708e[2539]]:mxConstants[_0x708e[2540]]];if(null!= _0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[_0x708e[124]][_0xb3dcx4?mxConstants[_0x708e[2541]]:mxConstants[_0x708e[2542]]];null!= _0xb3dcx9&& (_0xb3dcx3= new mxPoint(parseFloat(_0xb3dcx5),parseFloat(_0xb3dcx9)))};_0xb3dcx5= !1;null!= _0xb3dcx3&& (_0xb3dcx5= mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],_0xb3dcx4?mxConstants[_0x708e[2543]]:mxConstants[_0x708e[2544]],!0));return new mxConnectionConstraint(_0xb3dcx3,_0xb3dcx5)};mxGraph[_0x708e[202]][_0x708e[2545]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx5){this[_0x708e[251]][_0x708e[473]]();try{null== _0xb3dcx5|| null== _0xb3dcx5[_0x708e[2546]]?(this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2539]]:mxConstants[_0x708e[2540]],null,[_0xb3dcx2]),this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2541]]:mxConstants[_0x708e[2542]],null,[_0xb3dcx2]),this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2543]]:mxConstants[_0x708e[2544]],null,[_0xb3dcx2])):null!= _0xb3dcx5[_0x708e[2546]]&& (this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2539]]:mxConstants[_0x708e[2540]],_0xb3dcx5[_0x708e[2546]][_0x708e[235]],[_0xb3dcx2]),this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2541]]:mxConstants[_0x708e[2542]],_0xb3dcx5[_0x708e[2546]][_0x708e[236]],[_0xb3dcx2]),_0xb3dcx5[_0x708e[591]]?this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2543]]:mxConstants[_0x708e[2544]],null,[_0xb3dcx2]):this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2543]]:mxConstants[_0x708e[2544]],_0x708e[468],[_0xb3dcx2]))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2290]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null;if(null!= _0xb3dcx2){var _0xb3dcx5=this[_0x708e[441]][_0x708e[2087]](_0xb3dcx2),_0xb3dcx9= new mxPoint(_0xb3dcx5[_0x708e[241]](),_0xb3dcx5[_0x708e[242]]()),_0xb3dcxa=_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2011]]],_0xb3dcx12=0;if(null!= _0xb3dcxa&& (_0x708e[700]== _0xb3dcxa?_0xb3dcx12+= 270:_0x708e[703]== _0xb3dcxa?_0xb3dcx12+= 180:_0x708e[701]== _0xb3dcxa&& (_0xb3dcx12+= 90),_0x708e[700]== _0xb3dcxa|| _0x708e[701]== _0xb3dcxa)){_0xb3dcx5[_0x708e[235]]+= _0xb3dcx5[_0x708e[117]]/ 2- _0xb3dcx5[_0x708e[119]]/ 2;_0xb3dcx5[_0x708e[236]]+= _0xb3dcx5[_0x708e[119]]/ 2- _0xb3dcx5[_0x708e[117]]/ 2;var _0xb3dcx13=_0xb3dcx5[_0x708e[117]];_0xb3dcx5[_0x708e[117]]= _0xb3dcx5[_0x708e[119]];_0xb3dcx5[_0x708e[119]]= _0xb3dcx13};if(null!= _0xb3dcx3[_0x708e[2546]]){var _0xb3dcx14=_0xb3dcx4= 1,_0xb3dcx15=0,_0xb3dcx16=0;if(this[_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2[_0x708e[246]])){var _0xb3dcx17=_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2547]]],_0xb3dcx18=_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2548]]];null!= _0xb3dcx2[_0x708e[253]][_0x708e[1561]]&& (_0xb3dcx17= 1== mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],_0x708e[1607],0)|| _0xb3dcx17,_0xb3dcx18= 1== mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],_0x708e[1608],0)|| _0xb3dcx18);if(_0x708e[700]== _0xb3dcxa|| _0x708e[701]== _0xb3dcxa){_0xb3dcx13= _0xb3dcx17,_0xb3dcx17= _0xb3dcx18,_0xb3dcx18= _0xb3dcx13};_0xb3dcx17&& (_0xb3dcx4= -1,_0xb3dcx15= -_0xb3dcx5[_0x708e[117]]);_0xb3dcx18&& (_0xb3dcx14= -1,_0xb3dcx16= -_0xb3dcx5[_0x708e[119]])};_0xb3dcx4= new mxPoint(_0xb3dcx5[_0x708e[235]]+ _0xb3dcx3[_0x708e[2546]][_0x708e[235]]* _0xb3dcx5[_0x708e[117]]* _0xb3dcx4- _0xb3dcx15,_0xb3dcx5[_0x708e[236]]+ _0xb3dcx3[_0x708e[2546]][_0x708e[236]]* _0xb3dcx5[_0x708e[119]]* _0xb3dcx14- _0xb3dcx16)};_0xb3dcxa= _0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2278]]]|| 0;_0xb3dcx3[_0x708e[591]]?(0!= _0xb3dcx12&& null!= _0xb3dcx4&& (_0xb3dcx13= _0xb3dcx5= 0,90== _0xb3dcx12?_0xb3dcx13= 1:180== _0xb3dcx12?_0xb3dcx5= -1:270== _0xb3dcxa&& (_0xb3dcx13= -1),_0xb3dcx4= mxUtils[_0x708e[432]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx13,_0xb3dcx9)),null!= _0xb3dcx4&& _0xb3dcx3[_0x708e[591]]&& (_0xb3dcx4= this[_0x708e[441]][_0x708e[2302]](_0xb3dcx2,_0xb3dcx4,!1))):_0xb3dcxa+= _0xb3dcx12;0!= _0xb3dcxa&& null!= _0xb3dcx4&& (_0xb3dcx12= mxUtils[_0x708e[431]](_0xb3dcxa),_0xb3dcx5= Math[_0x708e[426]](_0xb3dcx12),_0xb3dcx13= Math[_0x708e[427]](_0xb3dcx12),_0xb3dcx4= mxUtils[_0x708e[432]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx13,_0xb3dcx9))};return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[851]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[251]][_0x708e[473]]();try{var _0xb3dcx9=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,_0xb3dcx4);this[_0x708e[852]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5);this[_0x708e[746]]( new mxEventObject(mxEvent.CONNECT_CELL,_0x708e[1989],_0xb3dcx2,_0x708e[1984],_0xb3dcx3,_0x708e[1097],_0xb3dcx4,_0x708e[257],_0xb3dcx9))}finally{this[_0x708e[251]][_0x708e[476]]()};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[852]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx2){this[_0x708e[251]][_0x708e[473]]();try{var _0xb3dcx9=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,_0xb3dcx4);this[_0x708e[2545]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5);this[_0x708e[2549]]()&& (_0xb3dcx5= null,this[_0x708e[1908]](_0xb3dcx3)&& (_0xb3dcx5= _0xb3dcx3[_0x708e[1103]](),_0xb3dcx3= this[_0x708e[2550]](_0xb3dcx3,_0xb3dcx4)),this[_0x708e[1717]](_0xb3dcx4?mxConstants[_0x708e[2303]]:mxConstants[_0x708e[2304]],_0xb3dcx5,[_0xb3dcx2]));this[_0x708e[251]][_0x708e[1957]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);this[_0x708e[2401]]&& this[_0x708e[1809]](_0xb3dcx2);this[_0x708e[746]]( new mxEventObject(mxEvent.CELL_CONNECTED,_0x708e[1989],_0xb3dcx2,_0x708e[1984],_0xb3dcx3,_0x708e[1097],_0xb3dcx4,_0x708e[257],_0xb3dcx9))}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2531]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){this[_0x708e[251]][_0x708e[473]]();try{for(var _0xb3dcx3=this[_0x708e[441]][_0x708e[255]],_0xb3dcx4=this[_0x708e[441]][_0x708e[513]],_0xb3dcx5={},_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2[_0xb3dcx9]);_0xb3dcx5[_0xb3dcxa]= _0xb3dcx2[_0xb3dcx9]};for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){if(this[_0x708e[251]][_0x708e[250]](_0xb3dcx2[_0xb3dcx9])){var _0xb3dcx12=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2[_0xb3dcx9]);if(null!= _0xb3dcx12){var _0xb3dcx13=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2[_0xb3dcx9]),_0xb3dcx14=this[_0x708e[441]][_0x708e[248]](this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2[_0xb3dcx9]));if(null!= _0xb3dcx13&& null!= _0xb3dcx14){var _0xb3dcx12=_0xb3dcx12[_0x708e[238]](),_0xb3dcx15=-_0xb3dcx14[_0x708e[2078]][_0x708e[235]],_0xb3dcx16=-_0xb3dcx14[_0x708e[2078]][_0x708e[236]],_0xb3dcx17=_0xb3dcx13[_0x708e[439]],_0xb3dcx18=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2[_0xb3dcx9],!0);if(null!= _0xb3dcx18&& this[_0x708e[2551]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx18,!0)){for(var _0xb3dcx19=mxCellPath[_0x708e[385]](_0xb3dcx18);null!= _0xb3dcx18&& null== _0xb3dcx5[_0xb3dcx19];){_0xb3dcx18= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx18),_0xb3dcx19= mxCellPath[_0x708e[385]](_0xb3dcx18)};null== _0xb3dcx18&& (_0xb3dcx12[_0x708e[2007]]( new mxPoint(_0xb3dcx17[0][_0x708e[235]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[235]]+ _0xb3dcx15,_0xb3dcx17[0][_0x708e[236]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[236]]+ _0xb3dcx16),!0),this[_0x708e[251]][_0x708e[1957]](_0xb3dcx2[_0xb3dcx9],null,!0))};var _0xb3dcx1a=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2[_0xb3dcx9],!1);if(null!= _0xb3dcx1a&& this[_0x708e[2551]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx1a,!1)){for(var _0xb3dcx1b=mxCellPath[_0x708e[385]](_0xb3dcx1a);null!= _0xb3dcx1a&& null== _0xb3dcx5[_0xb3dcx1b];){_0xb3dcx1a= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx1a),_0xb3dcx1b= mxCellPath[_0x708e[385]](_0xb3dcx1a)};if(null== _0xb3dcx1a){var _0xb3dcx1c=_0xb3dcx17[_0x708e[67]]- 1;_0xb3dcx12[_0x708e[2007]]( new mxPoint(_0xb3dcx17[_0xb3dcx1c][_0x708e[235]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[235]]+ _0xb3dcx15,_0xb3dcx17[_0xb3dcx1c][_0x708e[236]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[236]]+ _0xb3dcx16),!1);this[_0x708e[251]][_0x708e[1957]](_0xb3dcx2[_0xb3dcx9],null,!1)}};this[_0x708e[251]][_0x708e[1724]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx12)}}}}}finally{this[_0x708e[251]][_0x708e[476]]()}}};mxGraph[_0x708e[202]][_0x708e[2534]]= function(){return this[_0x708e[441]][_0x708e[1741]]};mxGraph[_0x708e[202]][_0x708e[2326]]= function(_0xb3dcx2){return null};mxGraph[_0x708e[202]][_0x708e[1908]]= function(_0xb3dcx2){return !1};mxGraph[_0x708e[202]][_0x708e[2550]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2280]]= function(_0xb3dcx2){return null};mxGraph[_0x708e[202]][_0x708e[2552]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2|| this[_0x708e[2452]]();null!= _0xb3dcx2&& this[_0x708e[2553]](_0xb3dcx2)&& (this[_0x708e[441]][_0x708e[2257]](_0xb3dcx2),this[_0x708e[2440]]())};mxGraph[_0x708e[202]][_0x708e[2554]]= function(){var _0xb3dcx2=this[_0x708e[251]][_0x708e[501]](),_0xb3dcx3=this[_0x708e[2534]]();if(null!= _0xb3dcx3){for(var _0xb3dcx4=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx3);_0xb3dcx4!= _0xb3dcx2&& !this[_0x708e[2553]](_0xb3dcx4)&& this[_0x708e[251]][_0x708e[1197]](_0xb3dcx4)!= _0xb3dcx2;){_0xb3dcx4= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx4)};_0xb3dcx4== _0xb3dcx2|| this[_0x708e[251]][_0x708e[1197]](_0xb3dcx4)== _0xb3dcx2?this[_0x708e[441]][_0x708e[2257]](null):this[_0x708e[441]][_0x708e[2257]](_0xb3dcx4);null!= this[_0x708e[441]][_0x708e[248]](_0xb3dcx3)&& this[_0x708e[2450]](_0xb3dcx3)}};mxGraph[_0x708e[202]][_0x708e[2442]]= function(){var _0xb3dcx2=this[_0x708e[2534]]();null!= _0xb3dcx2&& (this[_0x708e[441]][_0x708e[2257]](null),null!= this[_0x708e[441]][_0x708e[248]](_0xb3dcx2)&& this[_0x708e[2450]](_0xb3dcx2))};mxGraph[_0x708e[202]][_0x708e[2553]]= function(_0xb3dcx2){return null!= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[517]]= function(){return this[_0x708e[441]][_0x708e[517]]()};mxGraph[_0x708e[202]][_0x708e[2555]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=[_0xb3dcx2];_0xb3dcx3&& (_0xb3dcx5= _0xb3dcx5[_0x708e[1919]](this[_0x708e[251]][_0x708e[264]](_0xb3dcx2)));_0xb3dcx5= this[_0x708e[441]][_0x708e[1799]](_0xb3dcx5);if(_0xb3dcx4){_0xb3dcx4= this[_0x708e[251]][_0x708e[262]](_0xb3dcx2);for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4;_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[2555]](this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx9),_0xb3dcx3,!0);null!= _0xb3dcx5?_0xb3dcx5[_0x708e[99]](_0xb3dcxa):_0xb3dcx5= _0xb3dcxa}};return _0xb3dcx5};mxGraph[_0x708e[202]][_0x708e[1729]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;var _0xb3dcx4=null;if(null!= _0xb3dcx2){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){if(_0xb3dcx3|| this[_0x708e[251]][_0x708e[1193]](_0xb3dcx2[_0xb3dcx5])){var _0xb3dcx9=this[_0x708e[1198]](_0xb3dcx2[_0xb3dcx5]);if(null!= _0xb3dcx9){var _0xb3dcxa=_0xb3dcx9[_0x708e[1525]];if(null!= _0xb3dcxa&& 0< _0xb3dcxa[_0x708e[67]]){for(var _0xb3dcx12= new mxRectangle(_0xb3dcxa[0][_0x708e[235]],_0xb3dcxa[0][_0x708e[236]],0,0),_0xb3dcx13=function(_0xb3dcx2){null!= _0xb3dcx2&& _0xb3dcx12[_0x708e[99]]( new mxRectangle(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],0,0))},_0xb3dcx14=1;_0xb3dcx14< _0xb3dcxa[_0x708e[67]];_0xb3dcx14++){_0xb3dcx13(_0xb3dcxa[_0xb3dcx14])};_0xb3dcx13(_0xb3dcx9[_0x708e[2006]](!0));_0xb3dcx13(_0xb3dcx9[_0x708e[2006]](!1))};null== _0xb3dcx4?_0xb3dcx4= new mxRectangle(_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]]):_0xb3dcx4[_0x708e[99]](_0xb3dcx9)}}}};return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[802]]= function(_0xb3dcx2){this[_0x708e[441]][_0x708e[200]](_0xb3dcx2,null== _0xb3dcx2);this[_0x708e[441]][_0x708e[2264]]();this[_0x708e[2258]]();this[_0x708e[746]]( new mxEventObject(mxEvent.REFRESH))};mxGraph[_0x708e[202]][_0x708e[1021]]= function(_0xb3dcx2){this[_0x708e[991]]&& (_0xb3dcx2= Math[_0x708e[488]](_0xb3dcx2/ this[_0x708e[1020]])* this[_0x708e[1020]]);return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[1135]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[2365]]&& mxUtils[_0x708e[1134]](this[_0x708e[526]])){this[_0x708e[526]][_0x708e[360]]= -_0xb3dcx2,this[_0x708e[526]][_0x708e[190]]= -_0xb3dcx3}else {var _0xb3dcx4=this[_0x708e[441]][_0x708e[2051]]();if(this[_0x708e[507]]== mxConstants[_0x708e[508]]){if(0== _0xb3dcx2&& 0== _0xb3dcx3){if(mxClient[_0x708e[80]]?_0xb3dcx4[_0x708e[57]](_0x708e[535],_0x708e[536]+ _0xb3dcx2+ _0x708e[537]+ _0xb3dcx3+ _0x708e[460]):_0xb3dcx4[_0x708e[1390]](_0x708e[535]),null!= this[_0x708e[2556]]){for(var _0xb3dcx5=this[_0x708e[2556]][_0x708e[285]];null!= _0xb3dcx5;){var _0xb3dcx9=_0xb3dcx5[_0x708e[287]];this[_0x708e[526]][_0x708e[62]](_0xb3dcx5);_0xb3dcx5= _0xb3dcx9};this[_0x708e[2556]][_0x708e[265]][_0x708e[266]](this[_0x708e[2556]]);this[_0x708e[2556]]= null;this[_0x708e[526]][_0x708e[62]](_0xb3dcx4[_0x708e[265]]);for(_0xb3dcx5= this[_0x708e[2557]][_0x708e[285]];null!= _0xb3dcx5;){_0xb3dcx9= _0xb3dcx5[_0x708e[287]],this[_0x708e[526]][_0x708e[62]](_0xb3dcx5),_0xb3dcx5= _0xb3dcx9};this[_0x708e[2557]][_0x708e[265]][_0x708e[266]](this[_0x708e[2557]]);this[_0x708e[2557]]= null}}else {_0xb3dcx4[_0x708e[57]](_0x708e[535],_0x708e[536]+ _0xb3dcx2+ _0x708e[537]+ _0xb3dcx3+ _0x708e[460]);if(null== this[_0x708e[2556]]){this[_0x708e[2556]]= document[_0x708e[55]](_0x708e[485]);this[_0x708e[2556]][_0x708e[124]][_0x708e[491]]= _0x708e[492];this[_0x708e[2556]][_0x708e[124]][_0x708e[277]]= _0x708e[189];this[_0x708e[2557]]= document[_0x708e[55]](_0x708e[485]);this[_0x708e[2557]][_0x708e[124]][_0x708e[491]]= _0x708e[492];this[_0x708e[2557]][_0x708e[124]][_0x708e[277]]= _0x708e[189];for(var _0xb3dcxa=this[_0x708e[2556]],_0xb3dcx5=this[_0x708e[526]][_0x708e[285]];null!= _0xb3dcx5;){_0xb3dcx9= _0xb3dcx5[_0x708e[287]],_0xb3dcx5!= _0xb3dcx4[_0x708e[265]]?_0xb3dcxa[_0x708e[62]](_0xb3dcx5):_0xb3dcxa= this[_0x708e[2557]],_0xb3dcx5= _0xb3dcx9};this[_0x708e[526]][_0x708e[950]](this[_0x708e[2556]],_0xb3dcx4[_0x708e[265]]);this[_0x708e[526]][_0x708e[62]](this[_0x708e[2557]])};this[_0x708e[2556]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2+ _0x708e[168];this[_0x708e[2556]][_0x708e[124]][_0x708e[125]]= _0xb3dcx3+ _0x708e[168];this[_0x708e[2557]][_0x708e[124]][_0x708e[361]]= _0xb3dcx2+ _0x708e[168];this[_0x708e[2557]][_0x708e[124]][_0x708e[125]]= _0xb3dcx3+ _0x708e[168]}}else {_0xb3dcx4[_0x708e[124]][_0x708e[361]]= _0xb3dcx2+ _0x708e[168],_0xb3dcx4[_0x708e[124]][_0x708e[125]]= _0xb3dcx3+ _0x708e[168]};this[_0x708e[1136]]= _0xb3dcx2;this[_0x708e[1137]]= _0xb3dcx3;this[_0x708e[746]]( new mxEventObject(mxEvent.PAN))}};mxGraph[_0x708e[202]][_0x708e[2558]]= function(){this[_0x708e[499]](this[_0x708e[2395]])};mxGraph[_0x708e[202]][_0x708e[2559]]= function(){this[_0x708e[499]](1/ this[_0x708e[2395]])};mxGraph[_0x708e[202]][_0x708e[2560]]= function(){1== this[_0x708e[441]][_0x708e[255]]?this[_0x708e[441]][_0x708e[1147]](0,0):(this[_0x708e[441]][_0x708e[513]][_0x708e[235]]= 0,this[_0x708e[441]][_0x708e[513]][_0x708e[236]]= 0,this[_0x708e[441]][_0x708e[2262]](1))};mxGraph[_0x708e[202]][_0x708e[2561]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[499]](_0xb3dcx2/ this[_0x708e[441]][_0x708e[255]],_0xb3dcx3)};mxGraph[_0x708e[202]][_0x708e[499]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:this[_0x708e[2397]];var _0xb3dcx4=this[_0x708e[441]][_0x708e[255]]* _0xb3dcx2,_0xb3dcx5=this[_0x708e[441]][_0x708e[248]](this[_0x708e[2452]]());if(this[_0x708e[2396]]&& null!= _0xb3dcx5){_0xb3dcx5= new mxRectangle(_0xb3dcx5[_0x708e[235]]* _0xb3dcx2,_0xb3dcx5[_0x708e[236]]* _0xb3dcx2,_0xb3dcx5[_0x708e[117]]* _0xb3dcx2,_0xb3dcx5[_0x708e[119]]* _0xb3dcx2),this[_0x708e[441]][_0x708e[255]]= _0xb3dcx4,this[_0x708e[2562]](_0xb3dcx5)|| (this[_0x708e[441]][_0x708e[2259]](),this[_0x708e[441]][_0x708e[2262]](_0xb3dcx4))}else {if(_0xb3dcx3&& !mxUtils[_0x708e[1134]](this[_0x708e[526]])){var _0xb3dcx5=this[_0x708e[526]][_0x708e[359]],_0xb3dcx9=this[_0x708e[526]][_0x708e[167]];if(1< _0xb3dcx2){var _0xb3dcxa=(_0xb3dcx2- 1)/ (2* _0xb3dcx4),_0xb3dcx5=_0xb3dcx5* -_0xb3dcxa,_0xb3dcx9=_0xb3dcx9* -_0xb3dcxa}else {_0xb3dcxa= (1/ _0xb3dcx2- 1)/ (2* this[_0x708e[441]][_0x708e[255]]),_0xb3dcx5*= _0xb3dcxa,_0xb3dcx9*= _0xb3dcxa};this[_0x708e[441]][_0x708e[829]](_0xb3dcx4,this[_0x708e[441]][_0x708e[513]][_0x708e[235]]+ _0xb3dcx5,this[_0x708e[441]][_0x708e[513]][_0x708e[236]]+ _0xb3dcx9)}else {this[_0x708e[441]][_0x708e[2262]](_0xb3dcx4),mxUtils[_0x708e[1134]](this[_0x708e[526]])&& (_0xb3dcx9= _0xb3dcx5= 0,_0xb3dcx3&& (_0xb3dcx5= this[_0x708e[526]][_0x708e[359]]* (_0xb3dcx2- 1)/ 2,_0xb3dcx9= this[_0x708e[526]][_0x708e[167]]* (_0xb3dcx2- 1)/ 2),this[_0x708e[526]][_0x708e[360]]= Math[_0x708e[488]](this[_0x708e[526]][_0x708e[360]]* _0xb3dcx2+ _0xb3dcx5),this[_0x708e[526]][_0x708e[190]]= Math[_0x708e[488]](this[_0x708e[526]][_0x708e[190]]* _0xb3dcx2+ _0xb3dcx9))}}};mxGraph[_0x708e[202]][_0x708e[2563]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[526]][_0x708e[159]]/ _0xb3dcx2[_0x708e[117]]/ (this[_0x708e[526]][_0x708e[157]]/ _0xb3dcx2[_0x708e[119]]);_0xb3dcx2[_0x708e[235]]= Math[_0x708e[160]](0,_0xb3dcx2[_0x708e[235]]);_0xb3dcx2[_0x708e[236]]= Math[_0x708e[160]](0,_0xb3dcx2[_0x708e[236]]);var _0xb3dcx4=Math[_0x708e[243]](this[_0x708e[526]][_0x708e[1526]],_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]),_0xb3dcx5=Math[_0x708e[243]](this[_0x708e[526]][_0x708e[191]],_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]);_0xb3dcx2[_0x708e[117]]= _0xb3dcx4- _0xb3dcx2[_0x708e[235]];_0xb3dcx2[_0x708e[119]]= _0xb3dcx5- _0xb3dcx2[_0x708e[236]];1> _0xb3dcx3?(_0xb3dcx3= _0xb3dcx2[_0x708e[119]]/ _0xb3dcx3,_0xb3dcx4= (_0xb3dcx3- _0xb3dcx2[_0x708e[119]])/ 2,_0xb3dcx2[_0x708e[119]]= _0xb3dcx3,_0xb3dcx3= Math[_0x708e[243]](_0xb3dcx2[_0x708e[236]],_0xb3dcx4),_0xb3dcx2[_0x708e[236]]-= _0xb3dcx3,_0xb3dcx5= Math[_0x708e[243]](this[_0x708e[526]][_0x708e[191]],_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]),_0xb3dcx2[_0x708e[119]]= _0xb3dcx5- _0xb3dcx2[_0x708e[236]]):(_0xb3dcx3*= _0xb3dcx2[_0x708e[117]],_0xb3dcx4= (_0xb3dcx3- _0xb3dcx2[_0x708e[117]])/ 2,_0xb3dcx2[_0x708e[117]]= _0xb3dcx3,_0xb3dcx3= Math[_0x708e[243]](_0xb3dcx2[_0x708e[235]],_0xb3dcx4),_0xb3dcx2[_0x708e[235]]-= _0xb3dcx3,_0xb3dcx4= Math[_0x708e[243]](this[_0x708e[526]][_0x708e[1526]],_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]),_0xb3dcx2[_0x708e[117]]= _0xb3dcx4- _0xb3dcx2[_0x708e[235]]);_0xb3dcx3= this[_0x708e[526]][_0x708e[159]]/ _0xb3dcx2[_0x708e[117]];_0xb3dcx4= this[_0x708e[441]][_0x708e[255]]* _0xb3dcx3;mxUtils[_0x708e[1134]](this[_0x708e[526]])?(this[_0x708e[441]][_0x708e[2262]](_0xb3dcx4),this[_0x708e[526]][_0x708e[360]]= Math[_0x708e[488]](_0xb3dcx2[_0x708e[235]]* _0xb3dcx3),this[_0x708e[526]][_0x708e[190]]= Math[_0x708e[488]](_0xb3dcx2[_0x708e[236]]* _0xb3dcx3)):this[_0x708e[441]][_0x708e[829]](_0xb3dcx4,this[_0x708e[441]][_0x708e[513]][_0x708e[235]]- _0xb3dcx2[_0x708e[235]]/ this[_0x708e[441]][_0x708e[255]],this[_0x708e[441]][_0x708e[513]][_0x708e[236]]- _0xb3dcx2[_0x708e[236]]/ this[_0x708e[441]][_0x708e[255]])};mxGraph[_0x708e[202]][_0x708e[933]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= this[_0x708e[526]]){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2:0;_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;var _0xb3dcx4=this[_0x708e[526]][_0x708e[159]],_0xb3dcx5=this[_0x708e[526]][_0x708e[157]],_0xb3dcx9=this[_0x708e[441]][_0x708e[517]]();_0xb3dcx3&& (null!= _0xb3dcx9[_0x708e[235]]&& null!= _0xb3dcx9[_0x708e[236]])&& (_0xb3dcx9[_0x708e[117]]+= _0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[119]]+= _0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[235]]= 0,_0xb3dcx9[_0x708e[236]]= 0);var _0xb3dcxa=this[_0x708e[441]][_0x708e[255]],_0xb3dcx12=_0xb3dcx9[_0x708e[117]]/ _0xb3dcxa,_0xb3dcx13=_0xb3dcx9[_0x708e[119]]/ _0xb3dcxa;null!= this[_0x708e[1617]]&& (_0xb3dcx12= Math[_0x708e[160]](_0xb3dcx12,this[_0x708e[1617]][_0x708e[117]]- _0xb3dcx9[_0x708e[235]]/ _0xb3dcxa),_0xb3dcx13= Math[_0x708e[160]](_0xb3dcx13,this[_0x708e[1617]][_0x708e[119]]- _0xb3dcx9[_0x708e[236]]/ _0xb3dcxa));var _0xb3dcx14=_0xb3dcx3?_0xb3dcx2:2* _0xb3dcx2,_0xb3dcx4=Math[_0x708e[519]](100* Math[_0x708e[243]](_0xb3dcx4/ (_0xb3dcx12+ _0xb3dcx14),_0xb3dcx5/ (_0xb3dcx13+ _0xb3dcx14)))/ 100;null!= this[_0x708e[2413]]&& (_0xb3dcx4= Math[_0x708e[160]](_0xb3dcx4,this[_0x708e[2413]]));null!= this[_0x708e[2414]]&& (_0xb3dcx4= Math[_0x708e[243]](_0xb3dcx4,this[_0x708e[2414]]));_0xb3dcx3?this[_0x708e[441]][_0x708e[255]]!= _0xb3dcx4&& this[_0x708e[441]][_0x708e[2262]](_0xb3dcx4):mxUtils[_0x708e[1134]](this[_0x708e[526]])?(this[_0x708e[441]][_0x708e[2262]](_0xb3dcx4),null!= _0xb3dcx9[_0x708e[235]]&& (this[_0x708e[526]][_0x708e[360]]= Math[_0x708e[488]](_0xb3dcx9[_0x708e[235]]/ _0xb3dcxa)* _0xb3dcx4- _0xb3dcx2- Math[_0x708e[160]](0,(this[_0x708e[526]][_0x708e[159]]- _0xb3dcx12* _0xb3dcx4)/ 2)),null!= _0xb3dcx9[_0x708e[236]]&& (this[_0x708e[526]][_0x708e[190]]= Math[_0x708e[488]](_0xb3dcx9[_0x708e[236]]/ _0xb3dcxa)* _0xb3dcx4- _0xb3dcx2- Math[_0x708e[160]](0,(this[_0x708e[526]][_0x708e[157]]- _0xb3dcx13* _0xb3dcx4)/ 2))):this[_0x708e[441]][_0x708e[829]](_0xb3dcx4,null!= _0xb3dcx9[_0x708e[235]]?Math[_0x708e[519]](this[_0x708e[441]][_0x708e[513]][_0x708e[235]]- _0xb3dcx9[_0x708e[235]]/ _0xb3dcxa+ _0xb3dcx2+ 1):_0xb3dcx2,null!= _0xb3dcx9[_0x708e[236]]?Math[_0x708e[519]](this[_0x708e[441]][_0x708e[513]][_0x708e[236]]- _0xb3dcx9[_0x708e[236]]/ _0xb3dcxa+ _0xb3dcx2+ 1):_0xb3dcx2)};return this[_0x708e[441]][_0x708e[255]]};mxGraph[_0x708e[202]][_0x708e[2564]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=-this[_0x708e[441]][_0x708e[513]][_0x708e[235]],_0xb3dcx5=-this[_0x708e[441]][_0x708e[513]][_0x708e[236]],_0xb3dcx9=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);null!= _0xb3dcx9&& (_0xb3dcx4= new mxRectangle(_0xb3dcx4+ _0xb3dcx9[_0x708e[235]],_0xb3dcx5+ _0xb3dcx9[_0x708e[236]],_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]]),_0xb3dcx3&& null!= this[_0x708e[526]]&& (_0xb3dcx5= this[_0x708e[526]][_0x708e[159]],_0xb3dcx9= this[_0x708e[526]][_0x708e[157]],_0xb3dcx4[_0x708e[235]]= _0xb3dcx4[_0x708e[241]]()- _0xb3dcx5/ 2,_0xb3dcx4[_0x708e[117]]= _0xb3dcx5,_0xb3dcx4[_0x708e[236]]= _0xb3dcx4[_0x708e[242]]()- _0xb3dcx9/ 2,_0xb3dcx4[_0x708e[119]]= _0xb3dcx9),this[_0x708e[2562]](_0xb3dcx4)&& this[_0x708e[441]][_0x708e[1147]](this[_0x708e[441]][_0x708e[513]][_0x708e[235]],this[_0x708e[441]][_0x708e[513]][_0x708e[236]]))};mxGraph[_0x708e[202]][_0x708e[2562]]= function(_0xb3dcx2){var _0xb3dcx3=!1;if(null!= _0xb3dcx2){var _0xb3dcx4=this[_0x708e[526]][_0x708e[359]],_0xb3dcx5=this[_0x708e[526]][_0x708e[167]],_0xb3dcx9=Math[_0x708e[243]](_0xb3dcx4,_0xb3dcx2[_0x708e[117]]),_0xb3dcxa=Math[_0x708e[243]](_0xb3dcx5,_0xb3dcx2[_0x708e[119]]);if(mxUtils[_0x708e[1134]](this[_0x708e[526]])){_0xb3dcx4= this[_0x708e[526]];_0xb3dcx2[_0x708e[235]]+= this[_0x708e[441]][_0x708e[513]][_0x708e[235]];_0xb3dcx2[_0x708e[236]]+= this[_0x708e[441]][_0x708e[513]][_0x708e[236]];var _0xb3dcx12=_0xb3dcx4[_0x708e[360]]- _0xb3dcx2[_0x708e[235]],_0xb3dcx5=Math[_0x708e[160]](_0xb3dcx12- _0xb3dcx4[_0x708e[360]],0);0< _0xb3dcx12?_0xb3dcx4[_0x708e[360]]-= _0xb3dcx12+ 2:(_0xb3dcx12= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx9- _0xb3dcx4[_0x708e[360]]- _0xb3dcx4[_0x708e[159]],0< _0xb3dcx12&& (_0xb3dcx4[_0x708e[360]]+= _0xb3dcx12+ 2));_0xb3dcx9= _0xb3dcx4[_0x708e[190]]- _0xb3dcx2[_0x708e[236]];_0xb3dcx12= Math[_0x708e[160]](0,_0xb3dcx9- _0xb3dcx4[_0x708e[190]]);0< _0xb3dcx9?_0xb3dcx4[_0x708e[190]]-= _0xb3dcx9+ 2:(_0xb3dcx9= _0xb3dcx2[_0x708e[236]]+ _0xb3dcxa- _0xb3dcx4[_0x708e[190]]- _0xb3dcx4[_0x708e[157]],0< _0xb3dcx9&& (_0xb3dcx4[_0x708e[190]]+= _0xb3dcx9+ 2));!this[_0x708e[2365]]&& (0!= _0xb3dcx5|| 0!= _0xb3dcx12)&& this[_0x708e[441]][_0x708e[1147]](_0xb3dcx5,_0xb3dcx12)}else {var _0xb3dcx12=-this[_0x708e[441]][_0x708e[513]][_0x708e[235]],_0xb3dcx13=-this[_0x708e[441]][_0x708e[513]][_0x708e[236]],_0xb3dcx14=this[_0x708e[441]][_0x708e[255]];_0xb3dcx2[_0x708e[235]]+ _0xb3dcx9> _0xb3dcx12+ _0xb3dcx4&& (this[_0x708e[441]][_0x708e[513]][_0x708e[235]]-= (_0xb3dcx2[_0x708e[235]]+ _0xb3dcx9- _0xb3dcx4- _0xb3dcx12)/ _0xb3dcx14,_0xb3dcx3= !0);_0xb3dcx2[_0x708e[236]]+ _0xb3dcxa> _0xb3dcx13+ _0xb3dcx5&& (this[_0x708e[441]][_0x708e[513]][_0x708e[236]]-= (_0xb3dcx2[_0x708e[236]]+ _0xb3dcxa- _0xb3dcx5- _0xb3dcx13)/ _0xb3dcx14,_0xb3dcx3= !0);_0xb3dcx2[_0x708e[235]]< _0xb3dcx12&& (this[_0x708e[441]][_0x708e[513]][_0x708e[235]]+= (_0xb3dcx12- _0xb3dcx2[_0x708e[235]])/ _0xb3dcx14,_0xb3dcx3= !0);_0xb3dcx2[_0x708e[236]]< _0xb3dcx13&& (this[_0x708e[441]][_0x708e[513]][_0x708e[236]]+= (_0xb3dcx13- _0xb3dcx2[_0x708e[236]])/ _0xb3dcx14,_0xb3dcx3= !0);_0xb3dcx3&& (this[_0x708e[441]][_0x708e[802]](),null!= this[_0x708e[2432]]&& this[_0x708e[2432]][_0x708e[802]]())}};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[1198]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[1714]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[174]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[1742]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1971]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2565]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1965]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2298]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2566]]];if(null!= _0xb3dcx3){return _0xb3dcx3};_0xb3dcx2= this[_0x708e[441]][_0x708e[2291]](_0xb3dcx2);return _0xb3dcx2== mxEdgeStyle[_0x708e[2567]]|| _0xb3dcx2== mxEdgeStyle[_0x708e[2568]]|| _0xb3dcx2== mxEdgeStyle[_0x708e[2569]]|| _0xb3dcx2== mxEdgeStyle[_0x708e[2570]]|| _0xb3dcx2== mxEdgeStyle[_0x708e[2571]]|| _0xb3dcx2== mxEdgeStyle[_0x708e[2572]]};mxGraph[_0x708e[202]][_0x708e[2573]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[2089]](!0);_0xb3dcx2= _0xb3dcx2[_0x708e[2089]](!1);return null!= _0xb3dcx3&& _0xb3dcx3== _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2574]]= function(_0xb3dcx2){return mxEvent[_0x708e[775]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2462]]= function(_0xb3dcx2){return mxClient[_0x708e[2575]]?mxEvent[_0x708e[2576]](_0xb3dcx2):mxEvent[_0x708e[775]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[1018]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& !mxEvent[_0x708e[2577]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2578]]= function(_0xb3dcx2){return mxEvent[_0x708e[774]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2579]]= function(_0xb3dcx2){return mxEvent[_0x708e[2577]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2580]]= function(_0xb3dcx2){mxUtils[_0x708e[150]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2581]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return null== this[_0x708e[2500]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)};mxGraph[_0x708e[202]][_0x708e[2500]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= _0xb3dcx2&& !this[_0x708e[2530]]()&& (null== _0xb3dcx3|| null== _0xb3dcx4)){return _0x708e[110]};if(null!= _0xb3dcx2&& null== this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!0)&& null== this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!1)){return null};if(!this[_0x708e[2402]]&& _0xb3dcx3== _0xb3dcx4&& null!= _0xb3dcx3|| !this[_0x708e[2582]](_0xb3dcx3,_0xb3dcx4)){return _0x708e[110]};if(null!= _0xb3dcx3&& null!= _0xb3dcx4){var _0xb3dcx5=_0x708e[110];if(!this[_0x708e[2404]]){var _0xb3dcx9=this[_0x708e[251]][_0x708e[1781]](_0xb3dcx3,_0xb3dcx4,!0);if(1< _0xb3dcx9[_0x708e[67]]|| 1== _0xb3dcx9[_0x708e[67]]&& _0xb3dcx9[0]!= _0xb3dcx2){_0xb3dcx5+= (mxResources[_0x708e[203]](this[_0x708e[2421]])|| this[_0x708e[2421]])+ _0x708e[192]}};var _0xb3dcx9=this[_0x708e[251]][_0x708e[1962]](_0xb3dcx3,!0,_0xb3dcx2),_0xb3dcxa=this[_0x708e[251]][_0x708e[1962]](_0xb3dcx4,!1,_0xb3dcx2);if(null!= this[_0x708e[2335]]){for(var _0xb3dcx12=0;_0xb3dcx12< this[_0x708e[2335]][_0x708e[67]];_0xb3dcx12++){var _0xb3dcx13=this[_0x708e[2335]][_0xb3dcx12][_0x708e[2583]](this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx9,_0xb3dcxa);null!= _0xb3dcx13&& (_0xb3dcx5+= _0xb3dcx13)}};_0xb3dcx13= this[_0x708e[2584]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);null!= _0xb3dcx13&& (_0xb3dcx5+= _0xb3dcx13);return 0< _0xb3dcx5[_0x708e[67]]?_0xb3dcx5:null};return this[_0x708e[2406]]?null:_0x708e[110]};mxGraph[_0x708e[202]][_0x708e[2584]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return null};mxGraph[_0x708e[202]][_0x708e[2585]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2:this[_0x708e[251]][_0x708e[501]]();_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:{};for(var _0xb3dcx4=!0,_0xb3dcx5=this[_0x708e[251]][_0x708e[262]](_0xb3dcx2),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx9),_0xb3dcx12=_0xb3dcx3;this[_0x708e[2553]](_0xb3dcxa)&& (_0xb3dcx12= {});_0xb3dcx12= this[_0x708e[2585]](_0xb3dcxa,_0xb3dcx12);null!= _0xb3dcx12?this[_0x708e[2447]](_0xb3dcxa,_0xb3dcx12[_0x708e[230]](/\n/g,_0x708e[545])):this[_0x708e[2447]](_0xb3dcxa,null);_0xb3dcx4= _0xb3dcx4&& null== _0xb3dcx12};_0xb3dcx5= _0x708e[110];this[_0x708e[1742]](_0xb3dcx2)&& !_0xb3dcx4&& (_0xb3dcx5+= (mxResources[_0x708e[203]](this[_0x708e[2423]])|| this[_0x708e[2423]])+ _0x708e[192]);_0xb3dcx5= this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)?_0xb3dcx5+ (this[_0x708e[2500]](_0xb3dcx2,this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!0),this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!1))|| _0x708e[110]):_0xb3dcx5+ (this[_0x708e[2586]](_0xb3dcx2)|| _0x708e[110]);_0xb3dcx9= this[_0x708e[2587]](_0xb3dcx2,_0xb3dcx3);null!= _0xb3dcx9&& (_0xb3dcx5+= _0xb3dcx9);null== this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2)&& this[_0x708e[441]][_0x708e[2264]]();return 0< _0xb3dcx5[_0x708e[67]]|| !_0xb3dcx4?_0xb3dcx5:null};mxGraph[_0x708e[202]][_0x708e[2586]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1962]](_0xb3dcx2,!0),_0xb3dcx4=this[_0x708e[251]][_0x708e[1962]](_0xb3dcx2,!1);_0xb3dcx2= this[_0x708e[251]][_0x708e[433]](_0xb3dcx2);var _0xb3dcx5=_0x708e[110];if(null!= this[_0x708e[2335]]){for(var _0xb3dcx9=0;_0xb3dcx9< this[_0x708e[2335]][_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[2335]][_0xb3dcx9];if(_0xb3dcxa[_0x708e[1097]]&& mxUtils[_0x708e[1331]](_0xb3dcx2,_0xb3dcxa[_0x708e[60]],_0xb3dcxa[_0x708e[2588]],_0xb3dcxa[_0x708e[131]])&& (0== _0xb3dcxa[_0x708e[160]]&& 0< _0xb3dcx3|| 1== _0xb3dcxa[_0x708e[243]]&& 0== _0xb3dcx3|| 1== _0xb3dcxa[_0x708e[160]]&& 1< _0xb3dcx3)){_0xb3dcx5+= _0xb3dcxa[_0x708e[2589]]+ _0x708e[192]}else {if(!_0xb3dcxa[_0x708e[1097]]&& mxUtils[_0x708e[1331]](_0xb3dcx2,_0xb3dcxa[_0x708e[60]],_0xb3dcxa[_0x708e[2588]],_0xb3dcxa[_0x708e[131]])&& (0== _0xb3dcxa[_0x708e[160]]&& 0< _0xb3dcx4|| 1== _0xb3dcxa[_0x708e[243]]&& 0== _0xb3dcx4|| 1== _0xb3dcxa[_0x708e[160]]&& 1< _0xb3dcx4)){_0xb3dcx5+= _0xb3dcxa[_0x708e[2589]]+ _0x708e[192]}}}};return 0< _0xb3dcx5[_0x708e[67]]?_0xb3dcx5:null};mxGraph[_0x708e[202]][_0x708e[2587]]= function(_0xb3dcx2,_0xb3dcx3){return null};mxGraph[_0x708e[202]][_0x708e[2271]]= function(){return this[_0x708e[1617]]};mxGraph[_0x708e[202]][_0x708e[2590]]= function(_0xb3dcx2){this[_0x708e[1617]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2205]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& this[_0x708e[2206]]&& !this[_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]])){var _0xb3dcx3=this[_0x708e[1742]](_0xb3dcx2[_0x708e[246]]);if(this[_0x708e[2516]](_0xb3dcx2[_0x708e[246]],!_0xb3dcx3)){return _0xb3dcx3?this[_0x708e[2415]]:this[_0x708e[2417]]}};return null};mxGraph[_0x708e[202]][_0x708e[2454]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[251]][_0x708e[433]](_0xb3dcx2);if(null!= _0xb3dcx2){if(mxUtils[_0x708e[1331]](_0xb3dcx2)){return _0xb3dcx2[_0x708e[301]]};if(_0x708e[279]== typeof _0xb3dcx2[_0x708e[2591]]){return _0xb3dcx2.toString()}};return _0x708e[110]};mxGraph[_0x708e[202]][_0x708e[2183]]= function(_0xb3dcx2){var _0xb3dcx3=_0x708e[110];if(this[_0x708e[2409]]&& null!= _0xb3dcx2){var _0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx4=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);mxUtils[_0x708e[433]](_0xb3dcx4,mxConstants.STYLE_NOLABEL,!1)|| (_0xb3dcx3= this[_0x708e[2454]](_0xb3dcx2))};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[2186]]= function(_0xb3dcx2){return this[_0x708e[2592]]()};mxGraph[_0x708e[202]][_0x708e[2592]]= function(){return this[_0x708e[2410]]};mxGraph[_0x708e[202]][_0x708e[2593]]= function(_0xb3dcx2){this[_0x708e[2410]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2131]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return null!= _0xb3dcx2?_0x708e[1333]== _0xb3dcx2[mxConstants[_0x708e[2594]]]:!1};mxGraph[_0x708e[202]][_0x708e[2130]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return null!= _0xb3dcx2?_0x708e[188]== _0xb3dcx2[mxConstants[_0x708e[2193]]]:!1};mxGraph[_0x708e[202]][_0x708e[2595]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null;if(null!= _0xb3dcx2){if(null!= _0xb3dcx2[_0x708e[2207]]&& (_0xb3dcx3== _0xb3dcx2[_0x708e[2207]][_0x708e[252]]|| _0xb3dcx3[_0x708e[265]]== _0xb3dcx2[_0x708e[2207]][_0x708e[252]])){_0xb3dcx9= this[_0x708e[2425]],_0xb3dcx9= mxResources[_0x708e[203]](_0xb3dcx9)|| _0xb3dcx9};null== _0xb3dcx9&& null!= _0xb3dcx2[_0x708e[1211]]&& _0xb3dcx2[_0x708e[1211]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx4){if(null== _0xb3dcx9&& (_0xb3dcx3== _0xb3dcx4[_0x708e[252]]|| _0xb3dcx3[_0x708e[265]]== _0xb3dcx4[_0x708e[252]])){_0xb3dcx9= _0xb3dcx4[_0x708e[2201]].toString()}});null== _0xb3dcx9&& (_0xb3dcx4= this[_0x708e[2432]][_0x708e[2596]](_0xb3dcx2[_0x708e[246]]),null!= _0xb3dcx4&& _0x708e[279]== typeof _0xb3dcx4[_0x708e[2597]]&& (_0xb3dcx9= _0xb3dcx4[_0x708e[2597]](_0xb3dcx3)));null== _0xb3dcx9&& (_0xb3dcx9= this[_0x708e[2598]](_0xb3dcx2[_0x708e[246]]))};return _0xb3dcx9};mxGraph[_0x708e[202]][_0x708e[2598]]= function(_0xb3dcx2){var _0xb3dcx3=null;return _0xb3dcx3= null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[2595]]?_0xb3dcx2[_0x708e[2595]]():this[_0x708e[2454]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2599]]= function(_0xb3dcx2){return null};mxGraph[_0x708e[202]][_0x708e[1731]]= function(_0xb3dcx2){var _0xb3dcx3= new mxRectangle,_0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx4?_0xb3dcx4[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);null!= _0xb3dcx2&& (_0xb3dcx4= parseInt(mxUtils[_0x708e[433]](_0xb3dcx2,mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE)),mxUtils[_0x708e[433]](_0xb3dcx2,mxConstants.STYLE_HORIZONTAL,!0)?_0xb3dcx3[_0x708e[119]]= _0xb3dcx4:_0xb3dcx3[_0x708e[117]]= _0xb3dcx4);return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[1202]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[124]]?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2484]]]:null};mxGraph[_0x708e[202]][_0x708e[2187]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[124]]?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2063]]]|| mxConstants[_0x708e[481]]:null};mxGraph[_0x708e[202]][_0x708e[2173]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[124]]?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2600]]]:null};mxGraph[_0x708e[202]][_0x708e[2174]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[124]]?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2601]]]:null};mxGraph[_0x708e[202]][_0x708e[2172]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[124]]?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2602]]]:null};mxGraph[_0x708e[202]][_0x708e[2176]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[124]]?_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2603]]]:null};mxGraph[_0x708e[202]][_0x708e[2476]]= function(){return this[_0x708e[467]]};mxGraph[_0x708e[202]][_0x708e[2604]]= function(_0xb3dcx2){this[_0x708e[467]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[1730]]= function(_0xb3dcx2){if(null!= _0xb3dcx2&& this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2)!= this[_0x708e[251]][_0x708e[501]]()){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx3=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);if(null!= _0xb3dcx3&& !this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)){return _0xb3dcx3[mxConstants[_0x708e[2059]]]== mxConstants[_0x708e[2605]]}};return !1};mxGraph[_0x708e[202]][_0x708e[2606]]= function(){return this[_0x708e[2389]]};mxGraph[_0x708e[202]][_0x708e[2607]]= function(_0xb3dcx2){this[_0x708e[2389]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxGraph[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2608]]= function(){return this[_0x708e[2362]]};mxGraph[_0x708e[202]][_0x708e[2609]]= function(_0xb3dcx2){this[_0x708e[2362]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2134]]= function(){return this[_0x708e[2363]]};mxGraph[_0x708e[202]][_0x708e[2610]]= function(_0xb3dcx2){this[_0x708e[2363]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2125]]= function(){return this[_0x708e[2364]]};mxGraph[_0x708e[202]][_0x708e[2611]]= function(_0xb3dcx2){this[_0x708e[2364]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2612]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[251]][_0x708e[1721]](_0xb3dcx2);return this[_0x708e[2613]]()|| null!= _0xb3dcx3&& this[_0x708e[251]][_0x708e[1193]](_0xb3dcx2)&& _0xb3dcx3[_0x708e[1500]]};mxGraph[_0x708e[202]][_0x708e[2613]]= function(){return this[_0x708e[2368]]};mxGraph[_0x708e[202]][_0x708e[2614]]= function(_0xb3dcx2){this[_0x708e[2368]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2615]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1938]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return this[_0x708e[2616]](_0xb3dcx2)}))};mxGraph[_0x708e[202]][_0x708e[2616]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2617]]()&& 0!= _0xb3dcx2[mxConstants[_0x708e[2618]]]};mxGraph[_0x708e[202]][_0x708e[2617]]= function(){return this[_0x708e[2369]]};mxGraph[_0x708e[202]][_0x708e[2619]]= function(_0xb3dcx2){this[_0x708e[2369]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[898]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1938]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return this[_0x708e[2620]](_0xb3dcx2)}))};mxGraph[_0x708e[202]][_0x708e[2620]]= function(_0xb3dcx2){return this[_0x708e[2366]]};mxGraph[_0x708e[202]][_0x708e[900]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1938]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return this[_0x708e[2621]](_0xb3dcx2)}))};mxGraph[_0x708e[202]][_0x708e[2621]]= function(_0xb3dcx2){return this[_0x708e[2367]]};mxGraph[_0x708e[202]][_0x708e[2102]]= function(_0xb3dcx2){return this[_0x708e[2622]]()};mxGraph[_0x708e[202]][_0x708e[2622]]= function(){return this[_0x708e[2379]]};mxGraph[_0x708e[202]][_0x708e[2623]]= function(_0xb3dcx2){this[_0x708e[2379]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2510]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1938]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return this[_0x708e[2624]](_0xb3dcx2)}))};mxGraph[_0x708e[202]][_0x708e[2624]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2625]]()&& 0!= _0xb3dcx2[mxConstants[_0x708e[2626]]]};mxGraph[_0x708e[202]][_0x708e[2625]]= function(){return this[_0x708e[2371]]};mxGraph[_0x708e[202]][_0x708e[2627]]= function(_0xb3dcx2){this[_0x708e[2371]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2628]]= function(_0xb3dcx2){return !this[_0x708e[2612]](_0xb3dcx2)&& (this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)&& this[_0x708e[2373]]|| this[_0x708e[251]][_0x708e[1193]](_0xb3dcx2)&& this[_0x708e[2374]])};mxGraph[_0x708e[202]][_0x708e[2629]]= function(_0xb3dcx2){return this[_0x708e[251]][_0x708e[1938]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return this[_0x708e[1712]](_0xb3dcx2)}))};mxGraph[_0x708e[202]][_0x708e[1712]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx3=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2630]]()&& !this[_0x708e[2612]](_0xb3dcx2)&& 0!= _0xb3dcx3[mxConstants[_0x708e[2631]]]};mxGraph[_0x708e[202]][_0x708e[2630]]= function(){return this[_0x708e[2372]]};mxGraph[_0x708e[202]][_0x708e[2632]]= function(_0xb3dcx2){this[_0x708e[2372]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[997]]= function(){return this[_0x708e[991]]};mxGraph[_0x708e[202]][_0x708e[998]]= function(_0xb3dcx2){this[_0x708e[991]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2549]]= function(){return this[_0x708e[2348]]};mxGraph[_0x708e[202]][_0x708e[2633]]= function(_0xb3dcx2){this[_0x708e[2348]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2634]]= function(){return this[_0x708e[1020]]};mxGraph[_0x708e[202]][_0x708e[2635]]= function(_0xb3dcx2){this[_0x708e[1020]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2636]]= function(){return this[_0x708e[2353]]};mxGraph[_0x708e[202]][_0x708e[2637]]= function(_0xb3dcx2){this[_0x708e[2353]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2638]]= function(){return this[_0x708e[2374]]};mxGraph[_0x708e[202]][_0x708e[2639]]= function(_0xb3dcx2){this[_0x708e[2374]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2640]]= function(){return this[_0x708e[2373]]};mxGraph[_0x708e[202]][_0x708e[2641]]= function(_0xb3dcx2){this[_0x708e[2373]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2642]]= function(){return this[_0x708e[2412]]};mxGraph[_0x708e[202]][_0x708e[2643]]= function(_0xb3dcx2){this[_0x708e[2412]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2460]]= function(){return this[_0x708e[2411]]};mxGraph[_0x708e[202]][_0x708e[2644]]= function(_0xb3dcx2){this[_0x708e[2411]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2645]]= function(){return this[_0x708e[2404]]};mxGraph[_0x708e[202]][_0x708e[2646]]= function(_0xb3dcx2){this[_0x708e[2404]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2647]]= function(){return this[_0x708e[2402]]};mxGraph[_0x708e[202]][_0x708e[2648]]= function(_0xb3dcx2){this[_0x708e[2406]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2530]]= function(){return this[_0x708e[2406]]};mxGraph[_0x708e[202]][_0x708e[2649]]= function(_0xb3dcx2){this[_0x708e[2405]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2650]]= function(){return this[_0x708e[2405]]};mxGraph[_0x708e[202]][_0x708e[2651]]= function(_0xb3dcx2){this[_0x708e[2407]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2527]]= function(){return this[_0x708e[2407]]};mxGraph[_0x708e[202]][_0x708e[2652]]= function(_0xb3dcx2){this[_0x708e[2402]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2529]]= function(){return this[_0x708e[2408]]};mxGraph[_0x708e[202]][_0x708e[2653]]= function(_0xb3dcx2){this[_0x708e[2408]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[1015]]= function(){return this[_0x708e[2375]]};mxGraph[_0x708e[202]][_0x708e[2654]]= function(_0xb3dcx2){this[_0x708e[2375]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2655]]= function(){return this[_0x708e[2376]]};mxGraph[_0x708e[202]][_0x708e[2656]]= function(_0xb3dcx2){this[_0x708e[2376]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2657]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx3=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2658]]()&& !this[_0x708e[2612]](_0xb3dcx2)&& 0!= _0xb3dcx3[mxConstants[_0x708e[2659]]]};mxGraph[_0x708e[202]][_0x708e[2658]]= function(){return this[_0x708e[2377]]};mxGraph[_0x708e[202]][_0x708e[2660]]= function(_0xb3dcx2){this[_0x708e[2377]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2661]]= function(_0xb3dcx2,_0xb3dcx3){return !0};mxGraph[_0x708e[202]][_0x708e[2662]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx3=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2663]]()&& !this[_0x708e[2612]](_0xb3dcx2)&& 0!= _0xb3dcx3[mxConstants[_0x708e[2664]]]};mxGraph[_0x708e[202]][_0x708e[2663]]= function(){return this[_0x708e[2378]]};mxGraph[_0x708e[202]][_0x708e[2665]]= function(_0xb3dcx2){this[_0x708e[2378]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2453]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx3=null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2666]]()&& !this[_0x708e[2612]](_0xb3dcx2)&& 0!= _0xb3dcx3[mxConstants[_0x708e[2667]]]};mxGraph[_0x708e[202]][_0x708e[2666]]= function(){return this[_0x708e[2370]]};mxGraph[_0x708e[202]][_0x708e[2668]]= function(_0xb3dcx2){this[_0x708e[2370]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2551]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return this[_0x708e[2669]]()&& !this[_0x708e[2612]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2669]]= function(){return this[_0x708e[2380]]};mxGraph[_0x708e[202]][_0x708e[2670]]= function(_0xb3dcx2){this[_0x708e[2380]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2671]]= function(_0xb3dcx2){return null== _0xb3dcx2&& this[_0x708e[2406]]|| null!= _0xb3dcx2&& (!this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)|| this[_0x708e[2405]])&& this[_0x708e[2565]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2672]]= function(_0xb3dcx2){return this[_0x708e[2671]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2582]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[2671]](_0xb3dcx2)&& this[_0x708e[2672]](_0xb3dcx3)};mxGraph[_0x708e[202]][_0x708e[1995]]= function(_0xb3dcx2){this[_0x708e[2433]][_0x708e[995]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[1965]]= function(_0xb3dcx2){return this[_0x708e[2433]][_0x708e[994]]()};mxGraph[_0x708e[202]][_0x708e[2673]]= function(_0xb3dcx2){this[_0x708e[2276]][_0x708e[995]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2674]]= function(_0xb3dcx2){this[_0x708e[2316]][_0x708e[2431]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2203]]= function(_0xb3dcx2){if(null!= this[_0x708e[2347]]){var _0xb3dcx3=this[_0x708e[2347]][_0x708e[2148]]();return null== _0xb3dcx2?null!= _0xb3dcx3:_0xb3dcx2== _0xb3dcx3};return !1};mxGraph[_0x708e[202]][_0x708e[2455]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return this[_0x708e[2675]]()|| 1== _0xb3dcx2[mxConstants[_0x708e[2676]]]};mxGraph[_0x708e[202]][_0x708e[2675]]= function(){return this[_0x708e[2381]]};mxGraph[_0x708e[202]][_0x708e[2677]]= function(_0xb3dcx2){this[_0x708e[2381]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2507]]= function(_0xb3dcx2){return !this[_0x708e[502]]()[_0x708e[250]](_0xb3dcx2)&& this[_0x708e[2678]]()};mxGraph[_0x708e[202]][_0x708e[2678]]= function(){return this[_0x708e[2392]]};mxGraph[_0x708e[202]][_0x708e[2679]]= function(_0xb3dcx2){this[_0x708e[2392]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2506]]= function(){return this[_0x708e[2393]]};mxGraph[_0x708e[202]][_0x708e[2680]]= function(_0xb3dcx2){this[_0x708e[2393]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2536]]= function(_0xb3dcx2){return this[_0x708e[2681]]()&& !this[_0x708e[502]]()[_0x708e[250]](this[_0x708e[502]]()[_0x708e[1197]](_0xb3dcx2))};mxGraph[_0x708e[202]][_0x708e[2681]]= function(){return this[_0x708e[2391]]};mxGraph[_0x708e[202]][_0x708e[2682]]= function(_0xb3dcx2){this[_0x708e[2391]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2505]]= function(){return this[_0x708e[2390]]};mxGraph[_0x708e[202]][_0x708e[2528]]= function(_0xb3dcx2){this[_0x708e[2390]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2537]]= function(_0xb3dcx2){return this[_0x708e[2683]](_0xb3dcx2)?this[_0x708e[2354]]:0};mxGraph[_0x708e[202]][_0x708e[2683]]= function(_0xb3dcx2){return !1};mxGraph[_0x708e[202]][_0x708e[2513]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[251]][_0x708e[1938]](_0xb3dcx2,mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return this[_0x708e[2516]](_0xb3dcx2,_0xb3dcx3)}))};mxGraph[_0x708e[202]][_0x708e[2516]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2),_0xb3dcx4=null!= _0xb3dcx4?_0xb3dcx4[_0x708e[124]]:this[_0x708e[1705]](_0xb3dcx2);return 0< this[_0x708e[251]][_0x708e[262]](_0xb3dcx2)&& 0!= _0xb3dcx4[mxConstants[_0x708e[2684]]]};mxGraph[_0x708e[202]][_0x708e[2685]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return null!= _0xb3dcx2&& (this[_0x708e[2655]]()&& this[_0x708e[2686]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)|| !this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)&& (this[_0x708e[1730]](_0xb3dcx2)|| 0< this[_0x708e[251]][_0x708e[262]](_0xb3dcx2)&& !this[_0x708e[1742]](_0xb3dcx2)))};mxGraph[_0x708e[202]][_0x708e[2686]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return this[_0x708e[251]][_0x708e[250]](_0xb3dcx2)&& null!= _0xb3dcx3&& 1== _0xb3dcx3[_0x708e[67]]&& this[_0x708e[2565]](_0xb3dcx3[0])&& null== this[_0x708e[2500]](_0xb3dcx2,this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!0),_0xb3dcx3[0])?(_0xb3dcx4= this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!0),_0xb3dcx2= this[_0x708e[251]][_0x708e[1709]](_0xb3dcx2,!1),!this[_0x708e[251]][_0x708e[1720]](_0xb3dcx3[0],_0xb3dcx4)&& !this[_0x708e[251]][_0x708e[1720]](_0xb3dcx3[0],_0xb3dcx2)):!1};mxGraph[_0x708e[202]][_0x708e[564]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(!this[_0x708e[2642]]()){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){if(this[_0x708e[1730]](_0xb3dcx2[_0xb3dcx5])){return null}}};_0xb3dcx5= mxUtils[_0x708e[2196]](this[_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx3),mxEvent[_0x708e[733]](_0xb3dcx3));_0xb3dcx5[_0x708e[235]]-= this[_0x708e[1136]];_0xb3dcx5[_0x708e[236]]-= this[_0x708e[1137]];_0xb3dcx5= this[_0x708e[2461]](_0xb3dcx5[_0x708e[235]],_0xb3dcx5[_0x708e[236]]);if(null== _0xb3dcx4){_0xb3dcx4= _0xb3dcx5}else {if(null!= _0xb3dcx5){for(var _0xb3dcx9=this[_0x708e[251]][_0x708e[1197]](_0xb3dcx5);null!= _0xb3dcx9&& this[_0x708e[1730]](_0xb3dcx9)&& _0xb3dcx9!= _0xb3dcx4;){_0xb3dcx9= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx9)};_0xb3dcx9== _0xb3dcx4&& (_0xb3dcx4= _0xb3dcx5)}};for(;null!= _0xb3dcx4&& !this[_0x708e[2685]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx3)&& !this[_0x708e[251]][_0x708e[1740]](_0xb3dcx4);){_0xb3dcx4= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx4)};return !this[_0x708e[251]][_0x708e[1740]](_0xb3dcx4)&& 0> mxUtils[_0x708e[2]](_0xb3dcx2,_0xb3dcx4)?_0xb3dcx4:null};mxGraph[_0x708e[202]][_0x708e[902]]= function(){var _0xb3dcx2=this[_0x708e[2355]];null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[2534]](),null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[251]][_0x708e[501]](),_0xb3dcx2= this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,0)));return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2687]]= function(_0xb3dcx2){this[_0x708e[2355]]= _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2179]]= function(_0xb3dcx2){for(;null!= _0xb3dcx2&& !this[_0x708e[1730]](_0xb3dcx2);){_0xb3dcx2= this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2)};return _0xb3dcx2};mxGraph[_0x708e[202]][_0x708e[2461]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= _0xb3dcx4|| this[_0x708e[902]]();if(null!= _0xb3dcx4){for(var _0xb3dcx5=this[_0x708e[251]][_0x708e[262]](_0xb3dcx4),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[251]][_0x708e[263]](_0xb3dcx4,_0xb3dcx9),_0xb3dcx12=this[_0x708e[2461]](_0xb3dcx2,_0xb3dcx3,_0xb3dcxa);if(null!= _0xb3dcx12){return _0xb3dcx12};if(this[_0x708e[1730]](_0xb3dcxa)&& (_0xb3dcx12= this[_0x708e[441]][_0x708e[248]](_0xb3dcxa),this[_0x708e[1825]](_0xb3dcx12,_0xb3dcx2,_0xb3dcx3))){return _0xb3dcxa}}};return null};mxGraph[_0x708e[202]][_0x708e[999]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!0;_0xb3dcx9= null!= _0xb3dcx9?_0xb3dcx9:!0;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:this[_0x708e[902]]();if(null!= _0xb3dcx4){for(var _0xb3dcxa=this[_0x708e[251]][_0x708e[262]](_0xb3dcx4)- 1;0<= _0xb3dcxa;_0xb3dcxa--){var _0xb3dcx12=this[_0x708e[251]][_0x708e[263]](_0xb3dcx4,_0xb3dcxa),_0xb3dcx13=this[_0x708e[999]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx12,_0xb3dcx5,_0xb3dcx9);if(null!= _0xb3dcx13){return _0xb3dcx13};if(this[_0x708e[1714]](_0xb3dcx12)&& (_0xb3dcx9&& this[_0x708e[251]][_0x708e[250]](_0xb3dcx12)|| _0xb3dcx5&& this[_0x708e[251]][_0x708e[1193]](_0xb3dcx12))){if(_0xb3dcx13= this[_0x708e[441]][_0x708e[248]](_0xb3dcx12),this[_0x708e[1825]](_0xb3dcx13,_0xb3dcx2,_0xb3dcx3)){return _0xb3dcx12}}}};return null};mxGraph[_0x708e[202]][_0x708e[1825]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= _0xb3dcx2){var _0xb3dcx5=_0xb3dcx2[_0x708e[439]];if(null!= _0xb3dcx5){_0xb3dcx2= this[_0x708e[2353]]* this[_0x708e[2353]];for(var _0xb3dcx9=_0xb3dcx5[0],_0xb3dcxa=1;_0xb3dcxa< _0xb3dcx5[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx5[_0xb3dcxa];if(mxUtils[_0x708e[440]](_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]],_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],_0xb3dcx3,_0xb3dcx4)<= _0xb3dcx2){return !0};_0xb3dcx9= _0xb3dcx12}}else {if(_0xb3dcx9= mxUtils[_0x708e[431]](mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION)|| 0),0!= _0xb3dcx9&& (_0xb3dcx5= Math[_0x708e[426]](-_0xb3dcx9),_0xb3dcx9= Math[_0x708e[427]](-_0xb3dcx9),_0xb3dcxa= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]()),_0xb3dcx9= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx3,_0xb3dcx4),_0xb3dcx5,_0xb3dcx9,_0xb3dcxa),_0xb3dcx3= _0xb3dcx9[_0x708e[235]],_0xb3dcx4= _0xb3dcx9[_0x708e[236]]),mxUtils[_0x708e[442]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)){return !0}}};return !1};mxGraph[_0x708e[202]][_0x708e[2688]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[1731]](_0xb3dcx2);if(null!= _0xb3dcx5){var _0xb3dcx9=this[_0x708e[249]]()[_0x708e[518]]();_0xb3dcx3-= _0xb3dcx5[_0x708e[235]];_0xb3dcx4-= _0xb3dcx5[_0x708e[236]];if(0< _0xb3dcx2[_0x708e[117]]&& 0< _0xb3dcx3&& _0xb3dcx3> _0xb3dcx2[_0x708e[117]]* _0xb3dcx9|| 0< _0xb3dcx2[_0x708e[119]]&& 0< _0xb3dcx4&& _0xb3dcx4> _0xb3dcx2[_0x708e[119]]* _0xb3dcx9){return !0}};return !1};mxGraph[_0x708e[202]][_0x708e[1728]]= function(_0xb3dcx2){return this[_0x708e[1955]](_0xb3dcx2,!0,!1)};mxGraph[_0x708e[202]][_0x708e[1956]]= function(_0xb3dcx2){return this[_0x708e[1955]](_0xb3dcx2,!1,!0)};mxGraph[_0x708e[202]][_0x708e[1955]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2:this[_0x708e[902]]();_0xb3dcx2= this[_0x708e[251]][_0x708e[1955]](_0xb3dcx2,null!= _0xb3dcx3?_0xb3dcx3:!1,null!= _0xb3dcx4?_0xb3dcx4:!1);_0xb3dcx3= [];for(_0xb3dcx4= 0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){this[_0x708e[1714]](_0xb3dcx2[_0xb3dcx4])&& _0xb3dcx3[_0x708e[207]](_0xb3dcx2[_0xb3dcx4])};return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[1756]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[264]](_0xb3dcx2,_0xb3dcx3,!0,!0,!1)};mxGraph[_0x708e[202]][_0x708e[1867]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[264]](_0xb3dcx2,_0xb3dcx3,!0,!1,!1)};mxGraph[_0x708e[202]][_0x708e[1963]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[264]](_0xb3dcx2,_0xb3dcx3,!1,!0,!1)};mxGraph[_0x708e[202]][_0x708e[264]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!0;_0xb3dcx9= null!= _0xb3dcx9?_0xb3dcx9:!0;_0xb3dcxa= null!= _0xb3dcxa?_0xb3dcxa:!1;for(var _0xb3dcx12=[],_0xb3dcx13=this[_0x708e[1742]](_0xb3dcx2),_0xb3dcx14=this[_0x708e[251]][_0x708e[262]](_0xb3dcx2),_0xb3dcx15=0;_0xb3dcx15< _0xb3dcx14;_0xb3dcx15++){var _0xb3dcx16=this[_0x708e[251]][_0x708e[263]](_0xb3dcx2,_0xb3dcx15);if(_0xb3dcx13|| !this[_0x708e[1714]](_0xb3dcx16)){_0xb3dcx12= _0xb3dcx12[_0x708e[1919]](this[_0x708e[251]][_0x708e[264]](_0xb3dcx16,_0xb3dcx4,_0xb3dcx5))}};_0xb3dcx12= _0xb3dcx12[_0x708e[1919]](this[_0x708e[251]][_0x708e[264]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5));_0xb3dcx13= [];for(_0xb3dcx15= 0;_0xb3dcx15< _0xb3dcx12[_0x708e[67]];_0xb3dcx15++){_0xb3dcx16= this[_0x708e[441]][_0x708e[248]](_0xb3dcx12[_0xb3dcx15]),_0xb3dcx14= null!= _0xb3dcx16?_0xb3dcx16[_0x708e[1710]](!0):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx12[_0xb3dcx15],!0),_0xb3dcx16= null!= _0xb3dcx16?_0xb3dcx16[_0x708e[1710]](!1):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx12[_0xb3dcx15],!1),(_0xb3dcx9&& _0xb3dcx14== _0xb3dcx16|| _0xb3dcx14!= _0xb3dcx16&& (_0xb3dcx4&& _0xb3dcx16== _0xb3dcx2&& (null== _0xb3dcx3|| this[_0x708e[1920]](_0xb3dcx14,_0xb3dcx3,_0xb3dcxa))|| _0xb3dcx5&& _0xb3dcx14== _0xb3dcx2&& (null== _0xb3dcx3|| this[_0x708e[1920]](_0xb3dcx16,_0xb3dcx3,_0xb3dcxa))))&& _0xb3dcx13[_0x708e[207]](_0xb3dcx12[_0xb3dcx15])};return _0xb3dcx13};mxGraph[_0x708e[202]][_0x708e[1920]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx4?this[_0x708e[251]][_0x708e[1720]](_0xb3dcx3,_0xb3dcx2):this[_0x708e[251]][_0x708e[1197]](_0xb3dcx2)== _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[1808]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!0;_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!0;var _0xb3dcx9=[],_0xb3dcxa={};if(null!= _0xb3dcx2){for(var _0xb3dcx12=0;_0xb3dcx12< _0xb3dcx2[_0x708e[67]];_0xb3dcx12++){var _0xb3dcx13=this[_0x708e[441]][_0x708e[248]](_0xb3dcx2[_0xb3dcx12]),_0xb3dcx14=null!= _0xb3dcx13?_0xb3dcx13[_0x708e[1710]](!0):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx2[_0xb3dcx12],!0),_0xb3dcx13=null!= _0xb3dcx13?_0xb3dcx13[_0x708e[1710]](!1):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx2[_0xb3dcx12],!1);if(_0xb3dcx14== _0xb3dcx3&& null!= _0xb3dcx13&& _0xb3dcx13!= _0xb3dcx3&& _0xb3dcx5){var _0xb3dcx15=mxCellPath[_0x708e[385]](_0xb3dcx13);null== _0xb3dcxa[_0xb3dcx15]&& (_0xb3dcxa[_0xb3dcx15]= _0xb3dcx13,_0xb3dcx9[_0x708e[207]](_0xb3dcx13))}else {_0xb3dcx13== _0xb3dcx3&& (null!= _0xb3dcx14&& _0xb3dcx14!= _0xb3dcx3&& _0xb3dcx4)&& (_0xb3dcx15= mxCellPath[_0x708e[385]](_0xb3dcx14),null== _0xb3dcxa[_0xb3dcx15]&& (_0xb3dcxa[_0xb3dcx15]= _0xb3dcx14,_0xb3dcx9[_0x708e[207]](_0xb3dcx14)))}}};return _0xb3dcx9};mxGraph[_0x708e[202]][_0x708e[1781]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;for(var _0xb3dcx5=this[_0x708e[264]](_0xb3dcx2),_0xb3dcx9=[],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx5[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[441]][_0x708e[248]](_0xb3dcx5[_0xb3dcxa]),_0xb3dcx13=null!= _0xb3dcx12?_0xb3dcx12[_0x708e[1710]](!0):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx5[_0xb3dcxa],!0),_0xb3dcx12=null!= _0xb3dcx12?_0xb3dcx12[_0x708e[1710]](!1):this[_0x708e[441]][_0x708e[1710]](_0xb3dcx5[_0xb3dcxa],!1);(_0xb3dcx13== _0xb3dcx2&& _0xb3dcx12== _0xb3dcx3|| !_0xb3dcx4&& _0xb3dcx13== _0xb3dcx3&& _0xb3dcx12== _0xb3dcx2)&& _0xb3dcx9[_0x708e[207]](_0xb3dcx5[_0xb3dcxa])};return _0xb3dcx9};mxGraph[_0x708e[202]][_0x708e[2689]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxUtils[_0x708e[2196]](this[_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx2),mxEvent[_0x708e[733]](_0xb3dcx2)),_0xb3dcx5=this[_0x708e[441]][_0x708e[255]],_0xb3dcx9=this[_0x708e[441]][_0x708e[513]],_0xb3dcxa=!1!= _0xb3dcx3?this[_0x708e[1020]]/ 2:0;_0xb3dcx4[_0x708e[235]]= this[_0x708e[1021]](_0xb3dcx4[_0x708e[235]]/ _0xb3dcx5- _0xb3dcx9[_0x708e[235]]- _0xb3dcxa);_0xb3dcx4[_0x708e[236]]= this[_0x708e[1021]](_0xb3dcx4[_0x708e[236]]/ _0xb3dcx5- _0xb3dcx9[_0x708e[236]]- _0xb3dcxa);return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[2690]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcxa= null!= _0xb3dcxa?_0xb3dcxa:[];if(0< _0xb3dcx4|| 0< _0xb3dcx5){var _0xb3dcx12=_0xb3dcx2+ _0xb3dcx4,_0xb3dcx13=_0xb3dcx3+ _0xb3dcx5;_0xb3dcx9= _0xb3dcx9|| this[_0x708e[902]]();if(null!= _0xb3dcx9){for(var _0xb3dcx14=this[_0x708e[251]][_0x708e[262]](_0xb3dcx9),_0xb3dcx15=0;_0xb3dcx15< _0xb3dcx14;_0xb3dcx15++){var _0xb3dcx16=this[_0x708e[251]][_0x708e[263]](_0xb3dcx9,_0xb3dcx15),_0xb3dcx17=this[_0x708e[441]][_0x708e[248]](_0xb3dcx16);if(this[_0x708e[1714]](_0xb3dcx16)&& null!= _0xb3dcx17){var _0xb3dcx18=_0xb3dcx17,_0xb3dcx17=mxUtils[_0x708e[433]](_0xb3dcx17[_0x708e[124]],mxConstants.STYLE_ROTATION)|| 0;0!= _0xb3dcx17&& (_0xb3dcx18= mxUtils[_0x708e[1613]](_0xb3dcx18,_0xb3dcx17));_0xb3dcx18[_0x708e[235]]>= _0xb3dcx2&& _0xb3dcx18[_0x708e[236]]+ _0xb3dcx18[_0x708e[119]]<= _0xb3dcx13&& _0xb3dcx18[_0x708e[236]]>= _0xb3dcx3&& _0xb3dcx18[_0x708e[235]]+ _0xb3dcx18[_0x708e[117]]<= _0xb3dcx12?_0xb3dcxa[_0x708e[207]](_0xb3dcx16):this[_0x708e[2690]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx16,_0xb3dcxa)}}}};return _0xb3dcxa};mxGraph[_0x708e[202]][_0x708e[2691]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=[];if(_0xb3dcx5|| _0xb3dcx9){if(null== _0xb3dcx4&& (_0xb3dcx4= this[_0x708e[902]]()),null!= _0xb3dcx4){for(var _0xb3dcx12=this[_0x708e[251]][_0x708e[262]](_0xb3dcx4),_0xb3dcx13=0;_0xb3dcx13< _0xb3dcx12;_0xb3dcx13++){var _0xb3dcx14=this[_0x708e[251]][_0x708e[263]](_0xb3dcx4,_0xb3dcx13),_0xb3dcx15=this[_0x708e[441]][_0x708e[248]](_0xb3dcx14);this[_0x708e[1714]](_0xb3dcx14)&& null!= _0xb3dcx15&& (!_0xb3dcx5|| _0xb3dcx15[_0x708e[235]]>= _0xb3dcx2) && (!_0xb3dcx9|| _0xb3dcx15[_0x708e[236]]>= _0xb3dcx3) && _0xb3dcxa[_0x708e[207]](_0xb3dcx14)}}};return _0xb3dcxa};mxGraph[_0x708e[202]][_0x708e[1757]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!1;_0xb3dcx4= null!= _0xb3dcx4?_0xb3dcx4:!1;var _0xb3dcx5=[];if(null!= _0xb3dcx2){for(var _0xb3dcx9=this[_0x708e[502]](),_0xb3dcxa=_0xb3dcx9[_0x708e[262]](_0xb3dcx2),_0xb3dcx12=null,_0xb3dcx13=0,_0xb3dcx14=0;_0xb3dcx14< _0xb3dcxa;_0xb3dcx14++){var _0xb3dcx15=_0xb3dcx9[_0x708e[263]](_0xb3dcx2,_0xb3dcx14);if(this[_0x708e[251]][_0x708e[1193]](_0xb3dcx15)&& this[_0x708e[1714]](_0xb3dcx15)){for(var _0xb3dcx16=this[_0x708e[1756]](_0xb3dcx15,_0xb3dcx3?_0xb3dcx2:null),_0xb3dcx17=0,_0xb3dcx18=0,_0xb3dcx19=0;_0xb3dcx19< _0xb3dcx16[_0x708e[67]];_0xb3dcx19++){this[_0x708e[441]][_0x708e[1710]](_0xb3dcx16[_0xb3dcx19],!0)== _0xb3dcx15?_0xb3dcx17++:_0xb3dcx18++};(_0xb3dcx4&& 0== _0xb3dcx17&& 0< _0xb3dcx18|| !_0xb3dcx4&& 0== _0xb3dcx18&& 0< _0xb3dcx17)&& _0xb3dcx5[_0x708e[207]](_0xb3dcx15);_0xb3dcx16= _0xb3dcx4?_0xb3dcx18- _0xb3dcx17:_0xb3dcx17- _0xb3dcx18;_0xb3dcx16> _0xb3dcx13&& (_0xb3dcx13= _0xb3dcx16,_0xb3dcx12= _0xb3dcx15)}};0== _0xb3dcx5[_0x708e[67]]&& null!= _0xb3dcx12&& _0xb3dcx5[_0x708e[207]](_0xb3dcx12)};return _0xb3dcx5};mxGraph[_0x708e[202]][_0x708e[1706]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx4&& null!= _0xb3dcx2){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;_0xb3dcx9= _0xb3dcx9|| [];var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2);if(null== _0xb3dcx9[_0xb3dcxa]&& (_0xb3dcx9[_0xb3dcxa]= _0xb3dcx2,_0xb3dcx5= _0xb3dcx4(_0xb3dcx2,_0xb3dcx5),null== _0xb3dcx5|| _0xb3dcx5)){if(_0xb3dcx5= this[_0x708e[251]][_0x708e[1707]](_0xb3dcx2),0< _0xb3dcx5){for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx5;_0xb3dcxa++){var _0xb3dcx12=this[_0x708e[251]][_0x708e[1708]](_0xb3dcx2,_0xb3dcxa),_0xb3dcx13=this[_0x708e[251]][_0x708e[1709]](_0xb3dcx12,!0)== _0xb3dcx2;if(!_0xb3dcx3|| _0xb3dcx13){_0xb3dcx13= this[_0x708e[251]][_0x708e[1709]](_0xb3dcx12,!_0xb3dcx13),this[_0x708e[1706]](_0xb3dcx13,_0xb3dcx3,_0xb3dcx4,_0xb3dcx12,_0xb3dcx9)}}}}}};mxGraph[_0x708e[202]][_0x708e[2692]]= function(_0xb3dcx2){return this[_0x708e[2435]]()[_0x708e[2097]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2693]]= function(){return this[_0x708e[2435]]()[_0x708e[1107]]()};mxGraph[_0x708e[202]][_0x708e[2440]]= function(){return this[_0x708e[2435]]()[_0x708e[200]]()};mxGraph[_0x708e[202]][_0x708e[2694]]= function(){return this[_0x708e[2435]]()[_0x708e[895]][_0x708e[67]]};mxGraph[_0x708e[202]][_0x708e[2452]]= function(){return this[_0x708e[2435]]()[_0x708e[895]][0]};mxGraph[_0x708e[202]][_0x708e[897]]= function(){return this[_0x708e[2435]]()[_0x708e[895]][_0x708e[1853]]()};mxGraph[_0x708e[202]][_0x708e[2450]]= function(_0xb3dcx2){this[_0x708e[2435]]()[_0x708e[2099]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[904]]= function(_0xb3dcx2){this[_0x708e[2435]]()[_0x708e[2100]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2695]]= function(_0xb3dcx2){this[_0x708e[2435]]()[_0x708e[2103]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2696]]= function(_0xb3dcx2){this[_0x708e[2435]]()[_0x708e[832]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2697]]= function(_0xb3dcx2){this[_0x708e[2435]]()[_0x708e[2104]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2439]]= function(_0xb3dcx2){this[_0x708e[2435]]()[_0x708e[842]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2698]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[2690]](_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],_0xb3dcx2[_0x708e[117]],_0xb3dcx2[_0x708e[119]]);this[_0x708e[2699]](_0xb3dcx4,_0xb3dcx3);return _0xb3dcx4};mxGraph[_0x708e[202]][_0x708e[2700]]= function(){this[_0x708e[2701]](!0)};mxGraph[_0x708e[202]][_0x708e[2702]]= function(){this[_0x708e[2701]]()};mxGraph[_0x708e[202]][_0x708e[2703]]= function(){this[_0x708e[2701]](!1,!0)};mxGraph[_0x708e[202]][_0x708e[2704]]= function(){this[_0x708e[2701]](!1,!1,!0)};mxGraph[_0x708e[202]][_0x708e[2701]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[2105]],_0xb3dcx9=0< _0xb3dcx5[_0x708e[895]][_0x708e[67]]?_0xb3dcx5[_0x708e[895]][0]:null;1< _0xb3dcx5[_0x708e[895]][_0x708e[67]]&& _0xb3dcx5[_0x708e[200]]();var _0xb3dcx5=null!= _0xb3dcx9?this[_0x708e[251]][_0x708e[1197]](_0xb3dcx9):this[_0x708e[902]](),_0xb3dcxa=this[_0x708e[251]][_0x708e[262]](_0xb3dcx5);null== _0xb3dcx9&& 0< _0xb3dcxa?(_0xb3dcx2= this[_0x708e[251]][_0x708e[263]](_0xb3dcx5,0),this[_0x708e[2450]](_0xb3dcx2)):(null== _0xb3dcx9|| _0xb3dcx3)&& null!= this[_0x708e[441]][_0x708e[248]](_0xb3dcx5)&& null!= this[_0x708e[251]][_0x708e[1721]](_0xb3dcx5)?this[_0x708e[2534]]()!= _0xb3dcx5&& this[_0x708e[2450]](_0xb3dcx5):null!= _0xb3dcx9&& _0xb3dcx4?0< this[_0x708e[251]][_0x708e[262]](_0xb3dcx9)&& (_0xb3dcx2= this[_0x708e[251]][_0x708e[263]](_0xb3dcx9,0),this[_0x708e[2450]](_0xb3dcx2)):0< _0xb3dcxa&& (_0xb3dcx3= _0xb3dcx5[_0x708e[1738]](_0xb3dcx9),_0xb3dcx2?(_0xb3dcx3++,_0xb3dcx2= this[_0x708e[251]][_0x708e[263]](_0xb3dcx5,_0xb3dcx3% _0xb3dcxa)):(_0xb3dcx3--,_0xb3dcx2= this[_0x708e[251]][_0x708e[263]](_0xb3dcx5,0> _0xb3dcx3?_0xb3dcxa- 1:_0xb3dcx3)),this[_0x708e[2450]](_0xb3dcx2))};mxGraph[_0x708e[202]][_0x708e[2705]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2|| this[_0x708e[902]]();_0xb3dcx2= this[_0x708e[251]][_0x708e[1953]](_0xb3dcx2);null!= _0xb3dcx2&& this[_0x708e[904]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2706]]= function(_0xb3dcx2){this[_0x708e[2707]](!0,!1,_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2708]]= function(_0xb3dcx2){this[_0x708e[2707]](!1,!0,_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2707]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= _0xb3dcx4|| this[_0x708e[902]]();var _0xb3dcx5=mxUtils[_0x708e[885]](this,function(_0xb3dcx4){return null!= this[_0x708e[441]][_0x708e[248]](_0xb3dcx4)&& 0== this[_0x708e[251]][_0x708e[262]](_0xb3dcx4)&& (this[_0x708e[251]][_0x708e[1193]](_0xb3dcx4)&& _0xb3dcx2|| this[_0x708e[251]][_0x708e[250]](_0xb3dcx4)&& _0xb3dcx3)});_0xb3dcx4= this[_0x708e[251]][_0x708e[1921]](_0xb3dcx5,_0xb3dcx4);this[_0x708e[904]](_0xb3dcx4)};mxGraph[_0x708e[202]][_0x708e[2459]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[2692]](_0xb3dcx2);this[_0x708e[2462]](_0xb3dcx3)?_0xb3dcx4?this[_0x708e[2697]](_0xb3dcx2):this[_0x708e[2695]](_0xb3dcx2):(!_0xb3dcx4|| 1!= this[_0x708e[2694]]()) && this[_0x708e[2450]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2699]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2462]](_0xb3dcx3)?this[_0x708e[2696]](_0xb3dcx2):this[_0x708e[904]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[2709]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2&& (this[_0x708e[251]][_0x708e[250]](_0xb3dcx2[_0x708e[246]])?(_0xb3dcx3= this[_0x708e[441]][_0x708e[2291]](_0xb3dcx2),_0xb3dcx3= this[_0x708e[2573]](_0xb3dcx2)|| _0xb3dcx3== mxEdgeStyle[_0x708e[2568]]|| _0xb3dcx3== mxEdgeStyle[_0x708e[2569]]|| _0xb3dcx3== mxEdgeStyle[_0x708e[2570]]? new mxElbowEdgeHandler(_0xb3dcx2):_0xb3dcx3== mxEdgeStyle[_0x708e[2567]]|| _0xb3dcx3== mxEdgeStyle[_0x708e[2572]]? new mxEdgeSegmentHandler(_0xb3dcx2): new mxEdgeHandler(_0xb3dcx2)):_0xb3dcx3= new mxVertexHandler(_0xb3dcx2));return _0xb3dcx3};mxGraph[_0x708e[202]][_0x708e[1133]]= function(_0xb3dcx2){null== this[_0x708e[2329]]&& (this[_0x708e[2329]]= []);this[_0x708e[2329]][_0x708e[207]](_0xb3dcx2)};mxGraph[_0x708e[202]][_0x708e[1148]]= function(_0xb3dcx2){if(null!= this[_0x708e[2329]]){for(var _0xb3dcx3=0;_0xb3dcx3< this[_0x708e[2329]][_0x708e[67]];_0xb3dcx3++){if(this[_0x708e[2329]][_0xb3dcx3]== _0xb3dcx2){this[_0x708e[2329]][_0x708e[300]](_0xb3dcx3,1);break}}}};mxGraph[_0x708e[202]][_0x708e[2710]]= function(_0xb3dcx2){if(null== _0xb3dcx2[_0x708e[725]]|| null== _0xb3dcx2[_0x708e[726]]){var _0xb3dcx3=mxUtils[_0x708e[2196]](this[_0x708e[526]],_0xb3dcx2[_0x708e[730]](),_0xb3dcx2[_0x708e[732]]());_0xb3dcx2[_0x708e[725]]= _0xb3dcx3[_0x708e[235]]- this[_0x708e[1136]];_0xb3dcx2[_0x708e[726]]= _0xb3dcx3[_0x708e[236]]- this[_0x708e[1137]]}};mxGraph[_0x708e[202]][_0x708e[758]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null== _0xb3dcx4&& (_0xb3dcx4= this);this[_0x708e[2710]](_0xb3dcx3);_0xb3dcx2== mxEvent[_0x708e[2711]]&& (this[_0x708e[1009]]= !0);if(mxClient[_0x708e[754]]&& this[_0x708e[2349]]&& _0xb3dcx2== mxEvent[_0x708e[2711]]){var _0xb3dcx5=( new Date)[_0x708e[178]]();_0xb3dcx5- this[_0x708e[2213]]< this[_0x708e[2350]]&& Math[_0x708e[425]](this[_0x708e[2712]]- _0xb3dcx3[_0x708e[730]]())< this[_0x708e[2351]]&& Math[_0x708e[425]](this[_0x708e[2352]]- _0xb3dcx3[_0x708e[732]]())< this[_0x708e[2351]]?(this[_0x708e[2213]]= 0,this[_0x708e[761]](_0xb3dcx3[_0x708e[727]](),_0xb3dcx3[_0x708e[736]]()),_0xb3dcx3[_0x708e[727]]()[_0x708e[786]]= !0):(this[_0x708e[2712]]= _0xb3dcx3[_0x708e[730]](),this[_0x708e[2352]]= _0xb3dcx3[_0x708e[732]](),this[_0x708e[2213]]= _0xb3dcx5)};_0xb3dcx5= 2!= _0xb3dcx3[_0x708e[727]]()[_0x708e[764]];if(mxClient[_0x708e[80]]&& _0x708e[462]== document[_0x708e[135]]){if(null!= this[_0x708e[2713]]&& Math[_0x708e[425]](this[_0x708e[2713]]- _0xb3dcx3[_0x708e[730]]())> this[_0x708e[2351]]|| null!= this[_0x708e[2714]]&& Math[_0x708e[425]](this[_0x708e[2714]]- _0xb3dcx3[_0x708e[732]]())> this[_0x708e[2351]]){_0xb3dcx5= !0};_0xb3dcx2== mxEvent[_0x708e[2715]]&& (this[_0x708e[2713]]= _0xb3dcx3[_0x708e[730]](),this[_0x708e[2714]]= _0xb3dcx3[_0x708e[732]]())};if((_0xb3dcx2!= mxEvent[_0x708e[2715]]|| this[_0x708e[1009]])&& _0xb3dcx5){if(_0xb3dcx2== mxEvent[_0x708e[2715]]&& (this[_0x708e[1009]]= !1),!this[_0x708e[2203]]()&& (mxClient[_0x708e[71]]|| mxClient[_0x708e[75]]|| mxClient[_0x708e[76]]|| mxClient[_0x708e[80]]&& mxClient[_0x708e[48]]|| _0xb3dcx3[_0x708e[727]]()[_0x708e[772]]!= this[_0x708e[526]])){_0xb3dcx2== mxEvent[_0x708e[2716]]&& (this[_0x708e[1009]]&& this[_0x708e[1012]])&& this[_0x708e[1014]](_0xb3dcx3[_0x708e[734]](),_0xb3dcx3[_0x708e[735]](),this[_0x708e[1013]]);if(null!= this[_0x708e[2329]]){_0xb3dcx4= [_0xb3dcx4,_0xb3dcx3];_0xb3dcx3[_0x708e[727]]()[_0x708e[739]]= !0;for(_0xb3dcx5= 0;_0xb3dcx5< this[_0x708e[2329]][_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[2329]][_0xb3dcx5];_0xb3dcx2== mxEvent[_0x708e[2711]]?_0xb3dcx9[_0x708e[787]][_0x708e[183]](_0xb3dcx9,_0xb3dcx4):_0xb3dcx2== mxEvent[_0x708e[2716]]?_0xb3dcx9[_0x708e[788]][_0x708e[183]](_0xb3dcx9,_0xb3dcx4):_0xb3dcx2== mxEvent[_0x708e[2715]]&& _0xb3dcx9[_0x708e[789]][_0x708e[183]](_0xb3dcx9,_0xb3dcx4)}};_0xb3dcx2== mxEvent[_0x708e[2715]]&& this[_0x708e[173]](_0xb3dcx3)}}else {_0xb3dcx2== mxEvent[_0x708e[2715]]&& (this[_0x708e[1009]]= !1)}};mxGraph[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[2717]]|| (this[_0x708e[2717]]= !0,null!= this[_0x708e[2276]]&& this[_0x708e[2276]][_0x708e[515]](),null!= this[_0x708e[2432]]&& this[_0x708e[2432]][_0x708e[515]](),null!= this[_0x708e[2316]]&& this[_0x708e[2316]][_0x708e[515]](),null!= this[_0x708e[2433]]&& this[_0x708e[2433]][_0x708e[515]](),null!= this[_0x708e[1011]]&& this[_0x708e[1011]][_0x708e[515]](),null!= this[_0x708e[2347]]&& this[_0x708e[2347]][_0x708e[515]](),null!= this[_0x708e[441]]&& this[_0x708e[441]][_0x708e[515]](),null!= this[_0x708e[251]]&& null!= this[_0x708e[2343]]&& (this[_0x708e[251]][_0x708e[745]](this[_0x708e[2343]]),this[_0x708e[2343]]= null),this[_0x708e[526]]= null)};function mxCellOverlay(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){this[_0x708e[618]]= _0xb3dcx2;this[_0x708e[2718]]= _0xb3dcx3;this[_0x708e[611]]= null!= _0xb3dcx4?_0xb3dcx4:this[_0x708e[611]];this[_0x708e[123]]= null!= _0xb3dcx5?_0xb3dcx5:this[_0x708e[123]];this[_0x708e[1368]]= null!= _0xb3dcx9?_0xb3dcx9: new mxPoint;this[_0x708e[270]]= null!= _0xb3dcxa?_0xb3dcxa:_0x708e[2719]}mxCellOverlay[_0x708e[202]]= new mxEventSource;mxCellOverlay[_0x708e[202]][_0x708e[196]]= mxCellOverlay;mxCellOverlay[_0x708e[202]][_0x708e[618]]= null;mxCellOverlay[_0x708e[202]][_0x708e[2718]]= null;mxCellOverlay[_0x708e[202]][_0x708e[611]]= mxConstants[_0x708e[480]];mxCellOverlay[_0x708e[202]][_0x708e[123]]= mxConstants[_0x708e[482]];mxCellOverlay[_0x708e[202]][_0x708e[1368]]= null;mxCellOverlay[_0x708e[202]][_0x708e[270]]= null;mxCellOverlay[_0x708e[202]][_0x708e[2354]]= 0.5;mxCellOverlay[_0x708e[202]][_0x708e[1799]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[441]][_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx4=_0xb3dcx2[_0x708e[441]][_0x708e[255]],_0xb3dcx5=null,_0xb3dcx9=this[_0x708e[618]][_0x708e[117]],_0xb3dcxa=this[_0x708e[618]][_0x708e[119]];_0xb3dcx3?(_0xb3dcx3= _0xb3dcx2[_0x708e[439]],1== _0xb3dcx3[_0x708e[67]]% 2?_0xb3dcx5= _0xb3dcx3[Math[_0x708e[519]](_0xb3dcx3[_0x708e[67]]/ 2)]:(_0xb3dcx5= _0xb3dcx3[_0x708e[67]]/ 2,_0xb3dcx2= _0xb3dcx3[_0xb3dcx5- 1],_0xb3dcx3= _0xb3dcx3[_0xb3dcx5],_0xb3dcx5= new mxPoint(_0xb3dcx2[_0x708e[235]]+ (_0xb3dcx3[_0x708e[235]]- _0xb3dcx2[_0x708e[235]])/ 2,_0xb3dcx2[_0x708e[236]]+ (_0xb3dcx3[_0x708e[236]]- _0xb3dcx2[_0x708e[236]])/ 2))):(_0xb3dcx5= new mxPoint,_0xb3dcx5[_0x708e[235]]= this[_0x708e[611]]== mxConstants[_0x708e[2132]]?_0xb3dcx2[_0x708e[235]]:this[_0x708e[611]]== mxConstants[_0x708e[479]]?_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]/ 2:_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]],_0xb3dcx5[_0x708e[236]]= this[_0x708e[123]]== mxConstants[_0x708e[1687]]?_0xb3dcx2[_0x708e[236]]:this[_0x708e[123]]== mxConstants[_0x708e[481]]?_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]/ 2:_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]);return new mxRectangle(Math[_0x708e[488]](_0xb3dcx5[_0x708e[235]]- (_0xb3dcx9* this[_0x708e[2354]]- this[_0x708e[1368]][_0x708e[235]])* _0xb3dcx4),Math[_0x708e[488]](_0xb3dcx5[_0x708e[236]]- (_0xb3dcxa* this[_0x708e[2354]]- this[_0x708e[1368]][_0x708e[236]])* _0xb3dcx4),_0xb3dcx9* _0xb3dcx4,_0xb3dcxa* _0xb3dcx4)};mxCellOverlay[_0x708e[202]][_0x708e[2591]]= function(){return this[_0x708e[2718]]};function mxOutline(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1097]]= _0xb3dcx2;null!= _0xb3dcx3&& this[_0x708e[176]](_0xb3dcx3)}mxOutline[_0x708e[202]][_0x708e[1097]]= null;mxOutline[_0x708e[202]][_0x708e[2136]]= null;mxOutline[_0x708e[202]][_0x708e[2720]]= mxConstants[_0x708e[2333]];mxOutline[_0x708e[202]][_0x708e[984]]= !0;mxOutline[_0x708e[202]][_0x708e[2721]]= !0;mxOutline[_0x708e[202]][_0x708e[467]]= 10;mxOutline[_0x708e[202]][_0x708e[2722]]= 8;mxOutline[_0x708e[202]][_0x708e[2723]]= !1;mxOutline[_0x708e[202]][_0x708e[2724]]= null;mxOutline[_0x708e[202]][_0x708e[1063]]= !1;mxOutline[_0x708e[202]][_0x708e[176]]= function(_0xb3dcx2){this[_0x708e[2136]]= new mxGraph(_0xb3dcx2,this[_0x708e[1097]][_0x708e[502]](),this[_0x708e[2720]],this[_0x708e[1097]][_0x708e[2434]]());this[_0x708e[2136]][_0x708e[2206]]= !1;this[_0x708e[2136]][_0x708e[1012]]= !1;var _0xb3dcx3=this[_0x708e[2136]][_0x708e[1177]];this[_0x708e[2136]][_0x708e[1177]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){!this[_0x708e[1063]]&& null!= this[_0x708e[2136]]&& _0xb3dcx3[_0x708e[183]](this[_0x708e[2136]],arguments)});mxClient[_0x708e[48]]&& (_0xb3dcx2= this[_0x708e[2136]][_0x708e[249]]()[_0x708e[2051]]()[_0x708e[265]],_0xb3dcx2[_0x708e[57]](_0x708e[2725],_0x708e[2726]),_0xb3dcx2[_0x708e[57]](_0x708e[2727],_0x708e[2726]));this[_0x708e[2136]][_0x708e[2409]]= !1;this[_0x708e[2136]][_0x708e[995]](!1);this[_0x708e[2728]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){!this[_0x708e[1063]]&& !this[_0x708e[1124]]&& this[_0x708e[2729]]()});this[_0x708e[1097]][_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,this[_0x708e[2728]]);this[_0x708e[2136]][_0x708e[1133]](this);_0xb3dcx2= this[_0x708e[1097]][_0x708e[249]]();_0xb3dcx2[_0x708e[169]](mxEvent.SCALE,this[_0x708e[2728]]);_0xb3dcx2[_0x708e[169]](mxEvent.TRANSLATE,this[_0x708e[2728]]);_0xb3dcx2[_0x708e[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x708e[2728]]);_0xb3dcx2[_0x708e[169]](mxEvent.DOWN,this[_0x708e[2728]]);_0xb3dcx2[_0x708e[169]](mxEvent.UP,this[_0x708e[2728]]);mxEvent[_0x708e[169]](this[_0x708e[1097]][_0x708e[526]],_0x708e[276],this[_0x708e[2728]]);this[_0x708e[2730]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2723]]&& this[_0x708e[2728]][_0x708e[183]](this,arguments)});this[_0x708e[1097]][_0x708e[169]](mxEvent.PAN,this[_0x708e[2730]]);this[_0x708e[2731]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2136]][_0x708e[2341]](this[_0x708e[1097]][_0x708e[2434]]());this[_0x708e[2136]][_0x708e[802]]()});this[_0x708e[1097]][_0x708e[169]](mxEvent.REFRESH,this[_0x708e[2731]]);this[_0x708e[1562]]= new mxRectangle(0,0,0,0);this[_0x708e[2732]]= new mxRectangleShape(this[_0x708e[1562]],null,mxConstants.OUTLINE_COLOR,mxConstants.OUTLINE_STROKEWIDTH);this[_0x708e[2732]][_0x708e[507]]= this[_0x708e[2136]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]];this[_0x708e[2732]][_0x708e[176]](this[_0x708e[2136]][_0x708e[249]]()[_0x708e[1524]]());mxEvent[_0x708e[2733]](this[_0x708e[2732]][_0x708e[252]],this[_0x708e[2136]]);this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[1537]]= _0x708e[110];this[_0x708e[2734]]= this[_0x708e[2735]]();this[_0x708e[2734]][_0x708e[176]](this[_0x708e[2136]][_0x708e[249]]()[_0x708e[1524]]());this[_0x708e[984]]&& (this[_0x708e[2734]][_0x708e[252]][_0x708e[124]][_0x708e[270]]= _0x708e[356]);mxEvent[_0x708e[169]](this[_0x708e[2734]][_0x708e[252]],mxClient[_0x708e[754]]?_0x708e[755]:_0x708e[751],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2136]][_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx2))}));this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[495]]= this[_0x708e[2721]]?_0x708e[110]:_0x708e[130];this[_0x708e[2734]][_0x708e[252]][_0x708e[124]][_0x708e[495]]= this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[495]];this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[270]]= _0x708e[582];this[_0x708e[2729]](!1)};mxOutline[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxOutline[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxOutline[_0x708e[202]][_0x708e[2736]]= function(_0xb3dcx2){this[_0x708e[2734]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0xb3dcx2?_0x708e[189]:_0x708e[188]};mxOutline[_0x708e[202]][_0x708e[802]]= function(){this[_0x708e[2729]](!0)};mxOutline[_0x708e[202]][_0x708e[2735]]= function(){var _0xb3dcx2=null!= this[_0x708e[2724]]? new mxImageShape( new mxRectangle(0,0,this[_0x708e[2724]][_0x708e[117]],this[_0x708e[2724]][_0x708e[119]]),this[_0x708e[2724]][_0x708e[390]]): new mxRectangleShape( new mxRectangle(0,0,this[_0x708e[2722]],this[_0x708e[2722]]),mxConstants.OUTLINE_HANDLE_FILLCOLOR,mxConstants.OUTLINE_HANDLE_STROKECOLOR);_0xb3dcx2[_0x708e[507]]= this[_0x708e[2136]][_0x708e[507]];return _0xb3dcx2};mxOutline[_0x708e[202]][_0x708e[2737]]= function(){return new mxRectangle(0,0,this[_0x708e[1097]][_0x708e[526]][_0x708e[1526]],this[_0x708e[1097]][_0x708e[526]][_0x708e[191]])};mxOutline[_0x708e[202]][_0x708e[2738]]= function(_0xb3dcx2){return null};mxOutline[_0x708e[202]][_0x708e[2729]]= function(_0xb3dcx2){if(null!= this[_0x708e[1097]]){var _0xb3dcx3=this[_0x708e[1097]][_0x708e[441]][_0x708e[255]],_0xb3dcx4=this[_0x708e[1097]][_0x708e[517]](),_0xb3dcx4= new mxRectangle(_0xb3dcx4[_0x708e[235]]/ _0xb3dcx3+ this[_0x708e[1097]][_0x708e[1136]],_0xb3dcx4[_0x708e[236]]/ _0xb3dcx3+ this[_0x708e[1097]][_0x708e[1137]],_0xb3dcx4[_0x708e[117]]/ _0xb3dcx3,_0xb3dcx4[_0x708e[119]]/ _0xb3dcx3),_0xb3dcx5= new mxRectangle(0,0,this[_0x708e[1097]][_0x708e[526]][_0x708e[159]]/ _0xb3dcx3,this[_0x708e[1097]][_0x708e[526]][_0x708e[157]]/ _0xb3dcx3),_0xb3dcx9=_0xb3dcx4[_0x708e[238]]();_0xb3dcx9[_0x708e[99]](_0xb3dcx5);var _0xb3dcxa=this[_0x708e[2737]](),_0xb3dcx5=Math[_0x708e[160]](_0xb3dcxa[_0x708e[117]]/ _0xb3dcx3,_0xb3dcx9[_0x708e[117]]),_0xb3dcx3=Math[_0x708e[160]](_0xb3dcxa[_0x708e[119]]/ _0xb3dcx3,_0xb3dcx9[_0x708e[119]]),_0xb3dcx9=Math[_0x708e[160]](0,this[_0x708e[2136]][_0x708e[526]][_0x708e[159]]- this[_0x708e[467]]),_0xb3dcxa=Math[_0x708e[160]](0,this[_0x708e[2136]][_0x708e[526]][_0x708e[157]]- this[_0x708e[467]]),_0xb3dcx9=Math[_0x708e[243]](_0xb3dcx9/ _0xb3dcx5,_0xb3dcxa/ _0xb3dcx3);if(0< _0xb3dcx9){this[_0x708e[2136]][_0x708e[249]]()[_0x708e[255]]!= _0xb3dcx9&& (this[_0x708e[2136]][_0x708e[249]]()[_0x708e[255]]= _0xb3dcx9,_0xb3dcx2= !0);_0xb3dcx5= this[_0x708e[2136]][_0x708e[249]]();_0xb3dcx5[_0x708e[1741]]!= this[_0x708e[1097]][_0x708e[249]]()[_0x708e[1741]]&& _0xb3dcx5[_0x708e[2257]](this[_0x708e[1097]][_0x708e[249]]()[_0x708e[1741]]);var _0xb3dcx3=this[_0x708e[1097]][_0x708e[441]][_0x708e[513]],_0xb3dcxa=_0xb3dcx3[_0x708e[235]]+ this[_0x708e[1097]][_0x708e[1136]],_0xb3dcx12=_0xb3dcx3[_0x708e[236]]+ this[_0x708e[1097]][_0x708e[1137]],_0xb3dcx9=this[_0x708e[2738]](_0xb3dcx9);null!= _0xb3dcx9&& (_0xb3dcxa+= _0xb3dcx9[_0x708e[235]],_0xb3dcx12+= _0xb3dcx9[_0x708e[236]]);0> _0xb3dcx4[_0x708e[235]]&& (_0xb3dcxa-= _0xb3dcx4[_0x708e[235]]);0> _0xb3dcx4[_0x708e[236]]&& (_0xb3dcx12-= _0xb3dcx4[_0x708e[236]]);if(_0xb3dcx5[_0x708e[513]][_0x708e[235]]!= _0xb3dcxa|| _0xb3dcx5[_0x708e[513]][_0x708e[236]]!= _0xb3dcx12){_0xb3dcx5[_0x708e[513]][_0x708e[235]]= _0xb3dcxa,_0xb3dcx5[_0x708e[513]][_0x708e[236]]= _0xb3dcx12,_0xb3dcx2= !0};var _0xb3dcx4=_0xb3dcx5[_0x708e[513]],_0xb3dcx9=this[_0x708e[1097]][_0x708e[249]]()[_0x708e[255]],_0xb3dcxa=_0xb3dcx9/ _0xb3dcx5[_0x708e[255]],_0xb3dcx12=1/ _0xb3dcx5[_0x708e[255]],_0xb3dcx13=this[_0x708e[1097]][_0x708e[526]];this[_0x708e[1562]]= new mxRectangle((_0xb3dcx4[_0x708e[235]]- _0xb3dcx3[_0x708e[235]]- this[_0x708e[1097]][_0x708e[1136]])/ _0xb3dcx12,(_0xb3dcx4[_0x708e[236]]- _0xb3dcx3[_0x708e[236]]- this[_0x708e[1097]][_0x708e[1137]])/ _0xb3dcx12,_0xb3dcx13[_0x708e[159]]/ _0xb3dcxa,_0xb3dcx13[_0x708e[157]]/ _0xb3dcxa);this[_0x708e[1562]][_0x708e[235]]+= this[_0x708e[1097]][_0x708e[526]][_0x708e[360]]* _0xb3dcx5[_0x708e[255]]/ _0xb3dcx9;this[_0x708e[1562]][_0x708e[236]]+= this[_0x708e[1097]][_0x708e[526]][_0x708e[190]]* _0xb3dcx5[_0x708e[255]]/ _0xb3dcx9;_0xb3dcx4= this[_0x708e[2732]][_0x708e[1562]];if(_0xb3dcx4[_0x708e[235]]!= this[_0x708e[1562]][_0x708e[235]]|| _0xb3dcx4[_0x708e[236]]!= this[_0x708e[1562]][_0x708e[236]]|| _0xb3dcx4[_0x708e[117]]!= this[_0x708e[1562]][_0x708e[117]]|| _0xb3dcx4[_0x708e[119]]!= this[_0x708e[1562]][_0x708e[119]]){this[_0x708e[2732]][_0x708e[1562]]= this[_0x708e[1562]],this[_0x708e[2732]][_0x708e[258]]()};_0xb3dcx4= this[_0x708e[2734]][_0x708e[1562]];_0xb3dcx5= new mxRectangle(this[_0x708e[1562]][_0x708e[235]]+ this[_0x708e[1562]][_0x708e[117]]- _0xb3dcx4[_0x708e[117]]/ 2,this[_0x708e[1562]][_0x708e[236]]+ this[_0x708e[1562]][_0x708e[119]]- _0xb3dcx4[_0x708e[119]]/ 2,_0xb3dcx4[_0x708e[117]],_0xb3dcx4[_0x708e[119]]);if(_0xb3dcx4[_0x708e[235]]!= _0xb3dcx5[_0x708e[235]]|| _0xb3dcx4[_0x708e[236]]!= _0xb3dcx5[_0x708e[236]]|| _0xb3dcx4[_0x708e[117]]!= _0xb3dcx5[_0x708e[117]]|| _0xb3dcx4[_0x708e[119]]!= _0xb3dcx5[_0x708e[119]]){this[_0x708e[2734]][_0x708e[1562]]= _0xb3dcx5,_0x708e[188]!= this[_0x708e[2734]][_0x708e[252]][_0x708e[124]][_0x708e[187]]&& this[_0x708e[2734]][_0x708e[258]]()};_0xb3dcx2&& this[_0x708e[2136]][_0x708e[441]][_0x708e[2259]]()}}};mxOutline[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[984]]&& this[_0x708e[2721]]&& (this[_0x708e[499]]= _0xb3dcx3[_0x708e[729]](this[_0x708e[2734]]),this[_0x708e[2739]]= _0xb3dcx3[_0x708e[730]](),this[_0x708e[2740]]= _0xb3dcx3[_0x708e[732]](),this[_0x708e[1124]]= !0,this[_0x708e[1097]][_0x708e[2365]]&& mxUtils[_0x708e[1134]](this[_0x708e[1097]][_0x708e[526]])?(this[_0x708e[2741]]= this[_0x708e[1097]][_0x708e[526]][_0x708e[360]],this[_0x708e[2742]]= this[_0x708e[1097]][_0x708e[526]][_0x708e[190]]):this[_0x708e[2742]]= this[_0x708e[2741]]= 0);_0xb3dcx3[_0x708e[722]]()};mxOutline[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1124]]){this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[495]]= this[_0x708e[2721]]?_0x708e[110]:_0x708e[130];this[_0x708e[2734]][_0x708e[252]][_0x708e[124]][_0x708e[495]]= this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[495]];var _0xb3dcx4=_0xb3dcx3[_0x708e[730]]()- this[_0x708e[2739]],_0xb3dcx5=_0xb3dcx3[_0x708e[732]]()- this[_0x708e[2740]],_0xb3dcx9=null;if(this[_0x708e[499]]){_0xb3dcx9= this[_0x708e[1097]][_0x708e[526]],_0xb3dcx5= _0xb3dcx4/ (_0xb3dcx9[_0x708e[159]]/ _0xb3dcx9[_0x708e[157]]),_0xb3dcx9= new mxRectangle(this[_0x708e[1562]][_0x708e[235]],this[_0x708e[1562]][_0x708e[236]],Math[_0x708e[160]](1,this[_0x708e[1562]][_0x708e[117]]+ _0xb3dcx4),Math[_0x708e[160]](1,this[_0x708e[1562]][_0x708e[119]]+ _0xb3dcx5)),this[_0x708e[2732]][_0x708e[1562]]= _0xb3dcx9,this[_0x708e[2732]][_0x708e[258]]()}else {var _0xb3dcxa=this[_0x708e[2136]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx9= new mxRectangle(this[_0x708e[1562]][_0x708e[235]]+ _0xb3dcx4,this[_0x708e[1562]][_0x708e[236]]+ _0xb3dcx5,this[_0x708e[1562]][_0x708e[117]],this[_0x708e[1562]][_0x708e[119]]);this[_0x708e[2732]][_0x708e[1562]]= _0xb3dcx9;this[_0x708e[2732]][_0x708e[258]]();_0xb3dcx4= _0xb3dcx4/ _0xb3dcxa* this[_0x708e[1097]][_0x708e[249]]()[_0x708e[255]];_0xb3dcx5= _0xb3dcx5/ _0xb3dcxa* this[_0x708e[1097]][_0x708e[249]]()[_0x708e[255]];this[_0x708e[1097]][_0x708e[1135]](-_0xb3dcx4- this[_0x708e[2741]],-_0xb3dcx5- this[_0x708e[2742]])};_0xb3dcx4= this[_0x708e[2734]][_0x708e[1562]];this[_0x708e[2734]][_0x708e[1562]]= new mxRectangle(_0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]]- _0xb3dcx4[_0x708e[117]]/ 2,_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]]- _0xb3dcx4[_0x708e[119]]/ 2,_0xb3dcx4[_0x708e[117]],_0xb3dcx4[_0x708e[119]]);_0x708e[188]!= this[_0x708e[2734]][_0x708e[252]][_0x708e[124]][_0x708e[187]]&& this[_0x708e[2734]][_0x708e[258]]();_0xb3dcx3[_0x708e[722]]()}};mxOutline[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1124]]){var _0xb3dcx4=_0xb3dcx3[_0x708e[730]]()- this[_0x708e[2739]],_0xb3dcx5=_0xb3dcx3[_0x708e[732]]()- this[_0x708e[2740]];if(0< Math[_0x708e[425]](_0xb3dcx4)|| 0< Math[_0x708e[425]](_0xb3dcx5)){if(this[_0x708e[499]]){var _0xb3dcx5=this[_0x708e[2732]][_0x708e[1562]][_0x708e[117]],_0xb3dcx9=this[_0x708e[1097]][_0x708e[249]]()[_0x708e[255]];this[_0x708e[1097]][_0x708e[2561]](_0xb3dcx9- _0xb3dcx4* _0xb3dcx9/ _0xb3dcx5,!1)}else {if(!this[_0x708e[1097]][_0x708e[2365]]|| !mxUtils[_0x708e[1134]](this[_0x708e[1097]][_0x708e[526]])){this[_0x708e[1097]][_0x708e[1135]](0,0),_0xb3dcx4/= this[_0x708e[2136]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx5/= this[_0x708e[2136]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx9= this[_0x708e[1097]][_0x708e[249]]()[_0x708e[513]],this[_0x708e[1097]][_0x708e[249]]()[_0x708e[1147]](_0xb3dcx9[_0x708e[235]]- _0xb3dcx4,_0xb3dcx9[_0x708e[236]]- _0xb3dcx5)}};this[_0x708e[2729]]();_0xb3dcx3[_0x708e[722]]()};this[_0x708e[1983]]= null;this[_0x708e[1124]]= !1}};mxOutline[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[1097]]&& (this[_0x708e[1097]][_0x708e[745]](this[_0x708e[2730]]),this[_0x708e[1097]][_0x708e[745]](this[_0x708e[2731]]),this[_0x708e[1097]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[2728]]),this[_0x708e[1097]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[2728]]),mxEvent[_0x708e[169]](this[_0x708e[1097]][_0x708e[526]],_0x708e[276],this[_0x708e[2728]]),this[_0x708e[1097]]= null);null!= this[_0x708e[2136]]&& (this[_0x708e[2136]][_0x708e[1148]](this),this[_0x708e[2136]][_0x708e[515]](),this[_0x708e[2136]]= null);null!= this[_0x708e[2732]]&& (this[_0x708e[2732]][_0x708e[515]](),this[_0x708e[2732]]= null);null!= this[_0x708e[2734]]&& (this[_0x708e[2734]][_0x708e[515]](),this[_0x708e[2734]]= null)};function mxMultiplicity(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15){this[_0x708e[1097]]= _0xb3dcx2;this[_0x708e[60]]= _0xb3dcx3;this[_0x708e[2588]]= _0xb3dcx4;this[_0x708e[131]]= _0xb3dcx5;this[_0x708e[243]]= null!= _0xb3dcx9?_0xb3dcx9:0;this[_0x708e[160]]= null!= _0xb3dcxa?_0xb3dcxa:_0x708e[2743];this[_0x708e[2744]]= _0xb3dcx12;this[_0x708e[2589]]= mxResources[_0x708e[203]](_0xb3dcx13)|| _0xb3dcx13;this[_0x708e[2745]]= mxResources[_0x708e[203]](_0xb3dcx14)|| _0xb3dcx14;this[_0x708e[2746]]= null!= _0xb3dcx15?_0xb3dcx15:!0}mxMultiplicity[_0x708e[202]][_0x708e[60]]= null;mxMultiplicity[_0x708e[202]][_0x708e[2588]]= null;mxMultiplicity[_0x708e[202]][_0x708e[131]]= null;mxMultiplicity[_0x708e[202]][_0x708e[1097]]= null;mxMultiplicity[_0x708e[202]][_0x708e[243]]= null;mxMultiplicity[_0x708e[202]][_0x708e[160]]= null;mxMultiplicity[_0x708e[202]][_0x708e[2744]]= null;mxMultiplicity[_0x708e[202]][_0x708e[2746]]= !0;mxMultiplicity[_0x708e[202]][_0x708e[2589]]= null;mxMultiplicity[_0x708e[202]][_0x708e[2745]]= null;mxMultiplicity[_0x708e[202]][_0x708e[2583]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=_0x708e[110];if(this[_0x708e[1097]]&& this[_0x708e[2747]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx3)|| !this[_0x708e[1097]]&& this[_0x708e[2747]](_0xb3dcx2,_0xb3dcx5,_0xb3dcx3)){if(null!= this[_0x708e[2589]]&& (this[_0x708e[1097]]&& (0== this[_0x708e[160]]|| _0xb3dcx9>= this[_0x708e[160]])|| !this[_0x708e[1097]]&& (0== this[_0x708e[160]]|| _0xb3dcxa>= this[_0x708e[160]]))){_0xb3dcx12+= this[_0x708e[2589]]+ _0x708e[192]};null!= this[_0x708e[2744]]&& (null!= this[_0x708e[2745]]&& 0< this[_0x708e[2744]][_0x708e[67]])&& (this[_0x708e[2748]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5)|| (_0xb3dcx12+= this[_0x708e[2745]]+ _0x708e[192]))};return 0< _0xb3dcx12[_0x708e[67]]?_0xb3dcx12:null};mxMultiplicity[_0x708e[202]][_0x708e[2748]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx3= _0xb3dcx2[_0x708e[251]][_0x708e[433]](_0xb3dcx4);_0xb3dcx5= _0xb3dcx2[_0x708e[251]][_0x708e[433]](_0xb3dcx5);_0xb3dcx4= !this[_0x708e[2746]];for(var _0xb3dcx9=this[_0x708e[2744]],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){if(this[_0x708e[1097]]&& this[_0x708e[2749]](_0xb3dcx2,_0xb3dcx5,_0xb3dcx9[_0xb3dcxa])){_0xb3dcx4= this[_0x708e[2746]];break}else {if(!this[_0x708e[1097]]&& this[_0x708e[2749]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9[_0xb3dcxa])){_0xb3dcx4= this[_0x708e[2746]];break}}};return _0xb3dcx4};mxMultiplicity[_0x708e[202]][_0x708e[2747]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= _0xb3dcx2[_0x708e[251]][_0x708e[433]](_0xb3dcx3);return this[_0x708e[2749]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[60]],this[_0x708e[2588]],this[_0x708e[131]])};mxMultiplicity[_0x708e[202]][_0x708e[2749]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return null!= _0xb3dcx3?isNaN(_0xb3dcx3[_0x708e[288]])?_0xb3dcx3== _0xb3dcx4:mxUtils[_0x708e[1331]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9):!1};function mxLayoutManager(_0xb3dcx2){this[_0x708e[2750]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4){this[_0x708e[994]]()&& this[_0x708e[823]](_0xb3dcx4[_0x708e[720]](_0x708e[1061]))});this[_0x708e[2317]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4){this[_0x708e[994]]()&& this[_0x708e[835]](_0xb3dcx4[_0x708e[720]](_0x708e[895]),_0xb3dcx4[_0x708e[720]](_0x708e[763]))});this[_0x708e[1178]](_0xb3dcx2)}mxLayoutManager[_0x708e[202]]= new mxEventSource;mxLayoutManager[_0x708e[202]][_0x708e[196]]= mxLayoutManager;mxLayoutManager[_0x708e[202]][_0x708e[1179]]= null;mxLayoutManager[_0x708e[202]][_0x708e[2751]]= !0;mxLayoutManager[_0x708e[202]][_0x708e[984]]= !0;mxLayoutManager[_0x708e[202]][_0x708e[2728]]= null;mxLayoutManager[_0x708e[202]][_0x708e[2317]]= null;mxLayoutManager[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxLayoutManager[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxLayoutManager[_0x708e[202]][_0x708e[2752]]= function(){return this[_0x708e[2751]]};mxLayoutManager[_0x708e[202]][_0x708e[2753]]= function(_0xb3dcx2){this[_0x708e[2751]]= _0xb3dcx2};mxLayoutManager[_0x708e[202]][_0x708e[1703]]= function(){return this[_0x708e[1179]]};mxLayoutManager[_0x708e[202]][_0x708e[1178]]= function(_0xb3dcx2){if(null!= this[_0x708e[1179]]){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx3[_0x708e[745]](this[_0x708e[2750]]);this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2317]])};this[_0x708e[1179]]= _0xb3dcx2;null!= this[_0x708e[1179]]&& (_0xb3dcx3= this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx3[_0x708e[169]](mxEvent.BEFORE_UNDO,this[_0x708e[2750]]),this[_0x708e[1179]][_0x708e[169]](mxEvent.MOVE_CELLS,this[_0x708e[2317]]))};mxLayoutManager[_0x708e[202]][_0x708e[2754]]= function(_0xb3dcx2){return null};mxLayoutManager[_0x708e[202]][_0x708e[823]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[2755]](_0xb3dcx2[_0x708e[1065]]);var _0xb3dcx3=this[_0x708e[1703]]()[_0x708e[502]]();if(this[_0x708e[2752]]()){for(var _0xb3dcx4=_0xb3dcx3[_0x708e[1977]](_0xb3dcx2);0< _0xb3dcx4[_0x708e[67]];){_0xb3dcx2= _0xb3dcx2[_0x708e[1919]](_0xb3dcx4),_0xb3dcx4= _0xb3dcx3[_0x708e[1977]](_0xb3dcx4)}};this[_0x708e[828]](mxUtils[_0x708e[1779]](_0xb3dcx2,!1))};mxLayoutManager[_0x708e[202]][_0x708e[835]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& null!= _0xb3dcx3){for(var _0xb3dcx4=mxUtils[_0x708e[2196]](this[_0x708e[1703]]()[_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx3),mxEvent[_0x708e[733]](_0xb3dcx3)),_0xb3dcx5=this[_0x708e[1703]]()[_0x708e[502]](),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx2[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[2754]](_0xb3dcx5[_0x708e[1197]](_0xb3dcx2[_0xb3dcx9]));null!= _0xb3dcxa&& _0xb3dcxa[_0x708e[1702]](_0xb3dcx2[_0xb3dcx9],_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]])}}};mxLayoutManager[_0x708e[202]][_0x708e[2755]]= function(_0xb3dcx2){for(var _0xb3dcx3=[],_0xb3dcx4={},_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx9=_0xb3dcx2[_0xb3dcx5];if(_0xb3dcx9 instanceof mxRootChange){return []};for(var _0xb3dcx9=this[_0x708e[2756]](_0xb3dcx9),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){if(null!= _0xb3dcx9[_0xb3dcxa]){var _0xb3dcx12=mxCellPath[_0x708e[385]](_0xb3dcx9[_0xb3dcxa]);null== _0xb3dcx4[_0xb3dcx12]&& (_0xb3dcx4[_0xb3dcx12]= _0xb3dcx9[_0xb3dcxa],_0xb3dcx3[_0x708e[207]](_0xb3dcx9[_0xb3dcxa]))}}};return _0xb3dcx3};mxLayoutManager[_0x708e[202]][_0x708e[2756]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1703]]()[_0x708e[502]]();return _0xb3dcx2 instanceof mxChildChange?[_0xb3dcx2[_0x708e[247]],_0xb3dcx2[_0x708e[257]],_0xb3dcx3[_0x708e[1197]](_0xb3dcx2[_0x708e[247]])]:_0xb3dcx2 instanceof mxTerminalChange|| _0xb3dcx2 instanceof mxGeometryChange?[_0xb3dcx2[_0x708e[246]],_0xb3dcx3[_0x708e[1197]](_0xb3dcx2[_0x708e[246]])]:[]};mxLayoutManager[_0x708e[202]][_0x708e[828]]= function(_0xb3dcx2){if(0< _0xb3dcx2[_0x708e[67]]){var _0xb3dcx3=this[_0x708e[1703]]()[_0x708e[502]]();_0xb3dcx3[_0x708e[473]]();try{for(var _0xb3dcx4=null,_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){_0xb3dcx2[_0xb3dcx5]!= _0xb3dcx3[_0x708e[501]]()&& _0xb3dcx2[_0xb3dcx5]!= _0xb3dcx4&& (_0xb3dcx4= _0xb3dcx2[_0xb3dcx5],this[_0x708e[2757]](this[_0x708e[2754]](_0xb3dcx4),_0xb3dcx4))};this[_0x708e[746]]( new mxEventObject(mxEvent.LAYOUT_CELLS,_0x708e[895],_0xb3dcx2))}finally{_0xb3dcx3[_0x708e[476]]()}}};mxLayoutManager[_0x708e[202]][_0x708e[2757]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[350]](_0xb3dcx3)};mxLayoutManager[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1178]](null)};function mxSpaceManager(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[2758]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[994]]()&& this[_0x708e[837]](_0xb3dcx3[_0x708e[720]](_0x708e[895]))});this[_0x708e[2759]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[994]]()&& this[_0x708e[837]](_0xb3dcx3[_0x708e[720]](_0x708e[895]))});this[_0x708e[2760]]= null!= _0xb3dcx3?_0xb3dcx3:!0;this[_0x708e[2761]]= null!= _0xb3dcx4?_0xb3dcx4:!0;this[_0x708e[2392]]= null!= _0xb3dcx5?_0xb3dcx5:!0;this[_0x708e[1178]](_0xb3dcx2)}mxSpaceManager[_0x708e[202]]= new mxEventSource;mxSpaceManager[_0x708e[202]][_0x708e[196]]= mxSpaceManager;mxSpaceManager[_0x708e[202]][_0x708e[1179]]= null;mxSpaceManager[_0x708e[202]][_0x708e[984]]= !0;mxSpaceManager[_0x708e[202]][_0x708e[2760]]= !0;mxSpaceManager[_0x708e[202]][_0x708e[2761]]= !0;mxSpaceManager[_0x708e[202]][_0x708e[2392]]= !0;mxSpaceManager[_0x708e[202]][_0x708e[2758]]= null;mxSpaceManager[_0x708e[202]][_0x708e[2759]]= null;mxSpaceManager[_0x708e[202]][_0x708e[2762]]= function(_0xb3dcx2){return !this[_0x708e[1703]]()[_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2)};mxSpaceManager[_0x708e[202]][_0x708e[2763]]= function(_0xb3dcx2){return this[_0x708e[1703]]()[_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2)&& this[_0x708e[1703]]()[_0x708e[1712]](_0xb3dcx2)};mxSpaceManager[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxSpaceManager[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxSpaceManager[_0x708e[202]][_0x708e[2764]]= function(){return this[_0x708e[2760]]};mxSpaceManager[_0x708e[202]][_0x708e[2765]]= function(_0xb3dcx2){this[_0x708e[2760]]= _0xb3dcx2};mxSpaceManager[_0x708e[202]][_0x708e[2766]]= function(){return this[_0x708e[2761]]};mxSpaceManager[_0x708e[202]][_0x708e[2767]]= function(_0xb3dcx2){this[_0x708e[2761]]= _0xb3dcx2};mxSpaceManager[_0x708e[202]][_0x708e[2678]]= function(){return this[_0x708e[2392]]};mxSpaceManager[_0x708e[202]][_0x708e[2679]]= function(_0xb3dcx2){this[_0x708e[2392]]= _0xb3dcx2};mxSpaceManager[_0x708e[202]][_0x708e[1703]]= function(){return this[_0x708e[1179]]};mxSpaceManager[_0x708e[202]][_0x708e[1178]]= function(_0xb3dcx2){null!= this[_0x708e[1179]]&& (this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2758]]),this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2759]]));this[_0x708e[1179]]= _0xb3dcx2;null!= this[_0x708e[1179]]&& (this[_0x708e[1179]][_0x708e[169]](mxEvent.RESIZE_CELLS,this[_0x708e[2758]]),this[_0x708e[1179]][_0x708e[169]](mxEvent.FOLD_CELLS,this[_0x708e[2759]]))};mxSpaceManager[_0x708e[202]][_0x708e[837]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]]();_0xb3dcx3[_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){if(!this[_0x708e[2762]](_0xb3dcx2[_0xb3dcx4])){this[_0x708e[2768]](_0xb3dcx2[_0xb3dcx4]);break}}}finally{_0xb3dcx3[_0x708e[476]]()}}};mxSpaceManager[_0x708e[202]][_0x708e[2768]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1703]](),_0xb3dcx4=_0xb3dcx3[_0x708e[249]](),_0xb3dcx5=_0xb3dcx3[_0x708e[502]](),_0xb3dcx9=_0xb3dcx4[_0x708e[248]](_0xb3dcx2),_0xb3dcxa=_0xb3dcx4[_0x708e[248]](_0xb3dcx5[_0x708e[1197]](_0xb3dcx2));if(null!= _0xb3dcx9&& null!= _0xb3dcxa){var _0xb3dcx12=this[_0x708e[2769]](_0xb3dcx9),_0xb3dcx13=_0xb3dcx5[_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcx12&& null!= _0xb3dcx13){var _0xb3dcx14=_0xb3dcx4[_0x708e[513]],_0xb3dcx15=_0xb3dcx4[_0x708e[255]],_0xb3dcx4=_0xb3dcx9[_0x708e[235]]- _0xb3dcxa[_0x708e[2078]][_0x708e[235]]- _0xb3dcx14[_0x708e[235]]* _0xb3dcx15,_0xb3dcxa=_0xb3dcx9[_0x708e[236]]- _0xb3dcxa[_0x708e[2078]][_0x708e[236]]- _0xb3dcx14[_0x708e[236]]* _0xb3dcx15,_0xb3dcx14=_0xb3dcx9[_0x708e[235]]+ _0xb3dcx9[_0x708e[117]],_0xb3dcx16=_0xb3dcx9[_0x708e[236]]+ _0xb3dcx9[_0x708e[119]],_0xb3dcx17=_0xb3dcx9[_0x708e[117]]- _0xb3dcx13[_0x708e[117]]* _0xb3dcx15+ _0xb3dcx4- _0xb3dcx13[_0x708e[235]]* _0xb3dcx15,_0xb3dcx18=_0xb3dcx9[_0x708e[119]]- _0xb3dcx13[_0x708e[119]]* _0xb3dcx15+ _0xb3dcxa- _0xb3dcx13[_0x708e[236]]* _0xb3dcx15,_0xb3dcx19=1- _0xb3dcx13[_0x708e[117]]* _0xb3dcx15/ _0xb3dcx9[_0x708e[117]],_0xb3dcx9=1- _0xb3dcx13[_0x708e[119]]* _0xb3dcx15/ _0xb3dcx9[_0x708e[119]];_0xb3dcx5[_0x708e[473]]();try{for(_0xb3dcx13= 0;_0xb3dcx13< _0xb3dcx12[_0x708e[67]];_0xb3dcx13++){_0xb3dcx12[_0xb3dcx13]!= _0xb3dcx2&& this[_0x708e[2763]](_0xb3dcx12[_0xb3dcx13])&& this[_0x708e[2770]](_0xb3dcx12[_0xb3dcx13],_0xb3dcx17,_0xb3dcx18,_0xb3dcx4,_0xb3dcxa,_0xb3dcx14,_0xb3dcx16,_0xb3dcx19,_0xb3dcx9,this[_0x708e[2678]]()&& _0xb3dcx3[_0x708e[2507]](_0xb3dcx12[_0xb3dcx13]))}}finally{_0xb3dcx5[_0x708e[476]]()}}}};mxSpaceManager[_0x708e[202]][_0x708e[2770]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15){_0xb3dcx5= this[_0x708e[1703]]();var _0xb3dcx16=_0xb3dcx5[_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);if(null!= _0xb3dcx16){var _0xb3dcx17=_0xb3dcx5[_0x708e[502]](),_0xb3dcx18=_0xb3dcx17[_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcx18){_0xb3dcx17[_0x708e[473]]();try{if(this[_0x708e[2764]]()){if(_0xb3dcx16[_0x708e[235]]>= _0xb3dcxa){_0xb3dcx18= _0xb3dcx18[_0x708e[238]](),_0xb3dcx18[_0x708e[513]](-_0xb3dcx3,0)}else {var _0xb3dcx19=Math[_0x708e[160]](0,_0xb3dcx16[_0x708e[235]]- x0),_0xb3dcx18=_0xb3dcx18[_0x708e[238]]();_0xb3dcx18[_0x708e[513]](-_0xb3dcx13* _0xb3dcx19,0)}};if(this[_0x708e[2766]]()){if(_0xb3dcx16[_0x708e[236]]>= _0xb3dcx12){_0xb3dcx18= _0xb3dcx18[_0x708e[238]](),_0xb3dcx18[_0x708e[513]](0,-_0xb3dcx4)}else {var _0xb3dcx1a=Math[_0x708e[160]](0,_0xb3dcx16[_0x708e[236]]- _0xb3dcx9),_0xb3dcx18=_0xb3dcx18[_0x708e[238]]();_0xb3dcx18[_0x708e[513]](0,-_0xb3dcx14* _0xb3dcx1a)}};_0xb3dcx18!= _0xb3dcx17[_0x708e[1721]](_0xb3dcx2)&& (_0xb3dcx17[_0x708e[1724]](_0xb3dcx2,_0xb3dcx18),_0xb3dcx15&& _0xb3dcx5[_0x708e[2508]](_0xb3dcx2))}finally{_0xb3dcx17[_0x708e[476]]()}}}};mxSpaceManager[_0x708e[202]][_0x708e[2769]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1703]](),_0xb3dcx4=_0xb3dcx3[_0x708e[502]]()[_0x708e[1197]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx5=this[_0x708e[2766]](),_0xb3dcx9=this[_0x708e[2764]]();return _0xb3dcx3[_0x708e[2691]](_0xb3dcx2[_0x708e[235]]+ (_0xb3dcx5?0:_0xb3dcx2[_0x708e[117]]),_0xb3dcx2[_0x708e[236]]+ (_0xb3dcx5&& _0xb3dcx9?0:_0xb3dcx2[_0x708e[119]]),_0xb3dcx4,_0xb3dcx9,_0xb3dcx5)};mxSpaceManager[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1178]](null)};function mxSwimlaneManager(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[662]]= null!= _0xb3dcx3?_0xb3dcx3:!0;this[_0x708e[2771]]= null!= _0xb3dcx4?_0xb3dcx4:!0;this[_0x708e[2772]]= null!= _0xb3dcx5?_0xb3dcx5:!0;this[_0x708e[2773]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[994]]()&& this[_0x708e[2774]]()&& this[_0x708e[833]](_0xb3dcx3[_0x708e[720]](_0x708e[895]))});this[_0x708e[2758]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[994]]()&& this[_0x708e[2775]]()&& this[_0x708e[837]](_0xb3dcx3[_0x708e[720]](_0x708e[895]))});this[_0x708e[1178]](_0xb3dcx2)}mxSwimlaneManager[_0x708e[202]]= new mxEventSource;mxSwimlaneManager[_0x708e[202]][_0x708e[196]]= mxSwimlaneManager;mxSwimlaneManager[_0x708e[202]][_0x708e[1179]]= null;mxSwimlaneManager[_0x708e[202]][_0x708e[984]]= !0;mxSwimlaneManager[_0x708e[202]][_0x708e[662]]= !0;mxSwimlaneManager[_0x708e[202]][_0x708e[2771]]= !0;mxSwimlaneManager[_0x708e[202]][_0x708e[2772]]= !0;mxSwimlaneManager[_0x708e[202]][_0x708e[2773]]= null;mxSwimlaneManager[_0x708e[202]][_0x708e[2758]]= null;mxSwimlaneManager[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxSwimlaneManager[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxSwimlaneManager[_0x708e[202]][_0x708e[1737]]= function(){return this[_0x708e[662]]};mxSwimlaneManager[_0x708e[202]][_0x708e[2776]]= function(_0xb3dcx2){this[_0x708e[662]]= _0xb3dcx2};mxSwimlaneManager[_0x708e[202]][_0x708e[2774]]= function(){return this[_0x708e[2771]]};mxSwimlaneManager[_0x708e[202]][_0x708e[2777]]= function(_0xb3dcx2){this[_0x708e[2771]]= _0xb3dcx2};mxSwimlaneManager[_0x708e[202]][_0x708e[2775]]= function(){return this[_0x708e[2772]]};mxSwimlaneManager[_0x708e[202]][_0x708e[2778]]= function(_0xb3dcx2){this[_0x708e[2772]]= _0xb3dcx2};mxSwimlaneManager[_0x708e[202]][_0x708e[1703]]= function(){return this[_0x708e[1179]]};mxSwimlaneManager[_0x708e[202]][_0x708e[1178]]= function(_0xb3dcx2){null!= this[_0x708e[1179]]&& (this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2773]]),this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2758]]));this[_0x708e[1179]]= _0xb3dcx2;null!= this[_0x708e[1179]]&& (this[_0x708e[1179]][_0x708e[169]](mxEvent.ADD_CELLS,this[_0x708e[2773]]),this[_0x708e[1179]][_0x708e[169]](mxEvent.CELLS_RESIZED,this[_0x708e[2758]]))};mxSwimlaneManager[_0x708e[202]][_0x708e[2779]]= function(_0xb3dcx2){return !this[_0x708e[1703]]()[_0x708e[1730]](_0xb3dcx2)};mxSwimlaneManager[_0x708e[202]][_0x708e[2780]]= function(_0xb3dcx2){if(this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx2)){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx2);_0xb3dcx2= null!= _0xb3dcx3?_0xb3dcx3[_0x708e[124]]:this[_0x708e[1179]][_0x708e[1705]](_0xb3dcx2);return 1== mxUtils[_0x708e[433]](_0xb3dcx2,mxConstants.STYLE_HORIZONTAL,1)};return !this[_0x708e[1737]]()};mxSwimlaneManager[_0x708e[202]][_0x708e[833]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[1703]]()[_0x708e[502]]();_0xb3dcx3[_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){this[_0x708e[2779]](_0xb3dcx2[_0xb3dcx4])|| this[_0x708e[2781]](_0xb3dcx2[_0xb3dcx4])}}finally{_0xb3dcx3[_0x708e[476]]()}}};mxSwimlaneManager[_0x708e[202]][_0x708e[2781]]= function(_0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[1703]]()[_0x708e[502]](),_0xb3dcx4=_0xb3dcx3[_0x708e[1197]](_0xb3dcx2),_0xb3dcx5=_0xb3dcx3[_0x708e[262]](_0xb3dcx4),_0xb3dcx9=null,_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx5;_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx3[_0x708e[263]](_0xb3dcx4,_0xb3dcxa);if(_0xb3dcx12!= _0xb3dcx2&& !this[_0x708e[2779]](_0xb3dcx12)&& (_0xb3dcx9= _0xb3dcx3[_0x708e[1721]](_0xb3dcx12),null!= _0xb3dcx9)){break}};null!= _0xb3dcx9&& this[_0x708e[2782]](_0xb3dcx2,_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]])};mxSwimlaneManager[_0x708e[202]][_0x708e[837]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[1703]]()[_0x708e[502]]();_0xb3dcx3[_0x708e[473]]();try{for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx2[_0x708e[67]];_0xb3dcx4++){if(!this[_0x708e[2779]](_0xb3dcx2[_0xb3dcx4])){var _0xb3dcx5=_0xb3dcx3[_0x708e[1721]](_0xb3dcx2[_0xb3dcx4]);if(null!= _0xb3dcx5){for(var _0xb3dcx9= new mxRectangle(0,0,_0xb3dcx5[_0x708e[117]],_0xb3dcx5[_0x708e[119]]),_0xb3dcxa=_0xb3dcx2[_0xb3dcx4],_0xb3dcx12=_0xb3dcxa;null!= _0xb3dcx12;){var _0xb3dcxa=_0xb3dcx12,_0xb3dcx12=_0xb3dcx3[_0x708e[1197]](_0xb3dcx12),_0xb3dcx13=this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx12)?this[_0x708e[1179]][_0x708e[1731]](_0xb3dcx12): new mxRectangle;_0xb3dcx9[_0x708e[117]]+= _0xb3dcx13[_0x708e[117]];_0xb3dcx9[_0x708e[119]]+= _0xb3dcx13[_0x708e[119]]};this[_0x708e[2782]](_0xb3dcxa,_0xb3dcx9[_0x708e[117]],_0xb3dcx9[_0x708e[119]])}}}}finally{_0xb3dcx3[_0x708e[476]]()}}};mxSwimlaneManager[_0x708e[202]][_0x708e[2782]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1703]]()[_0x708e[502]]();_0xb3dcx5[_0x708e[473]]();try{if(!this[_0x708e[2779]](_0xb3dcx2)){var _0xb3dcx9=_0xb3dcx5[_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcx9){var _0xb3dcxa=this[_0x708e[2780]](_0xb3dcx2);if(_0xb3dcxa&& _0xb3dcx9[_0x708e[119]]!= _0xb3dcx4|| !_0xb3dcxa&& _0xb3dcx9[_0x708e[117]]!= _0xb3dcx3){_0xb3dcx9= _0xb3dcx9[_0x708e[238]](),_0xb3dcxa?_0xb3dcx9[_0x708e[119]]= _0xb3dcx4:_0xb3dcx9[_0x708e[117]]= _0xb3dcx3,_0xb3dcx5[_0x708e[1724]](_0xb3dcx2,_0xb3dcx9)}}};var _0xb3dcx12=this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx2)?this[_0x708e[1179]][_0x708e[1731]](_0xb3dcx2): new mxRectangle;_0xb3dcx3-= _0xb3dcx12[_0x708e[117]];_0xb3dcx4-= _0xb3dcx12[_0x708e[119]];for(var _0xb3dcx13=_0xb3dcx5[_0x708e[262]](_0xb3dcx2),_0xb3dcx9=0;_0xb3dcx9< _0xb3dcx13;_0xb3dcx9++){var _0xb3dcx14=_0xb3dcx5[_0x708e[263]](_0xb3dcx2,_0xb3dcx9);this[_0x708e[2782]](_0xb3dcx14,_0xb3dcx3,_0xb3dcx4)}}finally{_0xb3dcx5[_0x708e[476]]()}};mxSwimlaneManager[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1178]](null)};function mxTemporaryCellStates(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[441]]= _0xb3dcx2;_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:1;this[_0x708e[2783]]= _0xb3dcx2[_0x708e[517]]();this[_0x708e[2784]]= _0xb3dcx2[_0x708e[2312]]();this[_0x708e[2785]]= _0xb3dcx2[_0x708e[518]]();_0xb3dcx2[_0x708e[1517]]( new mxDictionary);_0xb3dcx2[_0x708e[2262]](_0xb3dcx3);if(null!= _0xb3dcx4){_0xb3dcx3= _0xb3dcx2[_0x708e[1230]]( new mxCell);for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){_0xb3dcx2[_0x708e[2267]](_0xb3dcx3,_0xb3dcx4[_0xb3dcx5])};for(var _0xb3dcx9=null,_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]];_0xb3dcx5++){var _0xb3dcxa=_0xb3dcx2[_0x708e[2268]](_0xb3dcx3,_0xb3dcx4[_0xb3dcx5]);null== _0xb3dcx9?_0xb3dcx9= _0xb3dcxa:_0xb3dcx9[_0x708e[99]](_0xb3dcxa)};null== _0xb3dcx9&& (_0xb3dcx9= new mxRectangle);_0xb3dcx2[_0x708e[2256]](_0xb3dcx9)}}mxTemporaryCellStates[_0x708e[202]][_0x708e[441]]= null;mxTemporaryCellStates[_0x708e[202]][_0x708e[2784]]= null;mxTemporaryCellStates[_0x708e[202]][_0x708e[2783]]= null;mxTemporaryCellStates[_0x708e[202]][_0x708e[2785]]= null;mxTemporaryCellStates[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[441]][_0x708e[2262]](this[_0x708e[2785]]);this[_0x708e[441]][_0x708e[1517]](this[_0x708e[2784]]);this[_0x708e[441]][_0x708e[2256]](this[_0x708e[2783]])};function mxCellStatePreview(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[2786]]= {}}mxCellStatePreview[_0x708e[202]][_0x708e[1179]]= null;mxCellStatePreview[_0x708e[202]][_0x708e[2786]]= null;mxCellStatePreview[_0x708e[202]][_0x708e[2787]]= 0;mxCellStatePreview[_0x708e[202]][_0x708e[1107]]= function(){return 0== this[_0x708e[2787]]};mxCellStatePreview[_0x708e[202]][_0x708e[1194]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx5= null!= _0xb3dcx5?_0xb3dcx5:!0;_0xb3dcx9= null!= _0xb3dcx9?_0xb3dcx9:!0;var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx12=this[_0x708e[2786]][_0xb3dcxa];null== _0xb3dcx12?(_0xb3dcx12= new mxPoint(_0xb3dcx3,_0xb3dcx4),this[_0x708e[2786]][_0xb3dcxa]= _0xb3dcx12,this[_0x708e[2787]]++):_0xb3dcx5?(_0xb3dcx12[_0x708e[2788]]+= _0xb3dcx3,_0xb3dcx12[_0x708e[2789]]+= _0xb3dcx4):(_0xb3dcx12[_0x708e[2788]]= _0xb3dcx3,_0xb3dcx12[_0x708e[2789]]= _0xb3dcx4);_0xb3dcx9&& this[_0x708e[2790]](_0xb3dcx2);return _0xb3dcx12};mxCellStatePreview[_0x708e[202]][_0x708e[539]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx4=_0xb3dcx3[_0x708e[501]](),_0xb3dcx5;for(_0xb3dcx5 in this[_0x708e[2786]]){var _0xb3dcx9=mxCellPath[_0x708e[2791]](_0xb3dcx4,_0xb3dcx5),_0xb3dcxa=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx9),_0xb3dcx12=this[_0x708e[2786]][_0xb3dcx5],_0xb3dcx9=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx3[_0x708e[1197]](_0xb3dcx9));this[_0x708e[2792]](_0xb3dcx9,_0xb3dcxa,_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]])};for(_0xb3dcx5 in this[_0x708e[2786]]){_0xb3dcx9= mxCellPath[_0x708e[2791]](_0xb3dcx4,_0xb3dcx5),_0xb3dcxa= this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx9),_0xb3dcx12= this[_0x708e[2786]][_0xb3dcx5],_0xb3dcx9= this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx3[_0x708e[1197]](_0xb3dcx9)),this[_0x708e[2793]](_0xb3dcx9,_0xb3dcxa,_0xb3dcx12[_0x708e[235]],_0xb3dcx12[_0x708e[236]],_0xb3dcx2)}};mxCellStatePreview[_0x708e[202]][_0x708e[2792]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx3){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[502]]();if(_0xb3dcx9[_0x708e[1193]](_0xb3dcx3[_0x708e[246]])){_0xb3dcx3[_0x708e[2080]]= !0;this[_0x708e[1179]][_0x708e[441]][_0x708e[2267]](_0xb3dcx2,_0xb3dcx3[_0x708e[246]]);_0xb3dcx2= _0xb3dcx9[_0x708e[1721]](_0xb3dcx3[_0x708e[246]]);var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx3[_0x708e[246]]);if((0!= _0xb3dcx4|| 0!= _0xb3dcx5)&& null!= _0xb3dcx2&& (!_0xb3dcx2[_0x708e[1500]]|| null!= this[_0x708e[2786]][_0xb3dcxa])){_0xb3dcx3[_0x708e[235]]+= _0xb3dcx4,_0xb3dcx3[_0x708e[236]]+= _0xb3dcx5}};_0xb3dcx2= _0xb3dcx9[_0x708e[262]](_0xb3dcx3[_0x708e[246]]);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx2;_0xb3dcxa++){this[_0x708e[2792]](_0xb3dcx3,this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx9[_0x708e[263]](_0xb3dcx3[_0x708e[246]],_0xb3dcxa)),_0xb3dcx4,_0xb3dcx5)}}};mxCellStatePreview[_0x708e[202]][_0x708e[2793]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx3){_0xb3dcx3[_0x708e[2080]]= !0;this[_0x708e[1179]][_0x708e[441]][_0x708e[2268]](_0xb3dcx2,_0xb3dcx3[_0x708e[246]]);var _0xb3dcxa=mxCellPath[_0x708e[385]](_0xb3dcx3[_0x708e[246]]),_0xb3dcx12=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx13=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx3[_0x708e[246]]);if((0!= _0xb3dcx4|| 0!= _0xb3dcx5)&& null!= _0xb3dcx13&& _0xb3dcx13[_0x708e[1500]]&& _0xb3dcx12[_0x708e[1193]](_0xb3dcx3[_0x708e[246]])&& (null== _0xb3dcx2|| _0xb3dcx12[_0x708e[1193]](_0xb3dcx2[_0x708e[246]])|| null!= this[_0x708e[2786]][_0xb3dcxa])){_0xb3dcx3[_0x708e[235]]+= _0xb3dcx4,_0xb3dcx3[_0x708e[236]]+= _0xb3dcx5,this[_0x708e[1179]][_0x708e[259]][_0x708e[258]](_0xb3dcx3)};null!= _0xb3dcx9&& _0xb3dcx9(_0xb3dcx3);_0xb3dcx2= _0xb3dcx12[_0x708e[262]](_0xb3dcx3[_0x708e[246]]);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx2;_0xb3dcxa++){this[_0x708e[2793]](_0xb3dcx3,this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx12[_0x708e[263]](_0xb3dcx3[_0x708e[246]],_0xb3dcxa)),_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)}}};mxCellStatePreview[_0x708e[202]][_0x708e[2790]]= function(_0xb3dcx2){for(var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx4=_0xb3dcx3[_0x708e[1707]](_0xb3dcx2[_0x708e[246]]),_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4;_0xb3dcx5++){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx3[_0x708e[1708]](_0xb3dcx2[_0x708e[246]],_0xb3dcx5));null!= _0xb3dcx9&& this[_0x708e[1194]](_0xb3dcx9,0,0)}};function mxConnectionConstraint(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2546]]= _0xb3dcx2;this[_0x708e[591]]= null!= _0xb3dcx3?_0xb3dcx3:!0}mxConnectionConstraint[_0x708e[202]][_0x708e[2546]]= null;mxConnectionConstraint[_0x708e[202]][_0x708e[591]]= null;function mxGraphHandler(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[1179]][_0x708e[1133]](this);this[_0x708e[2730]]= mxUtils[_0x708e[885]](this,function(){this[_0x708e[2794]]()});this[_0x708e[1179]][_0x708e[169]](mxEvent.PAN,this[_0x708e[2730]])}mxGraphHandler[_0x708e[202]][_0x708e[1179]]= null;mxGraphHandler[_0x708e[202]][_0x708e[2795]]= mxClient[_0x708e[80]]?20:50;mxGraphHandler[_0x708e[202]][_0x708e[984]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[2796]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[2797]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[2798]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[990]]= !1;mxGraphHandler[_0x708e[202]][_0x708e[2799]]= null;mxGraphHandler[_0x708e[202]][_0x708e[2800]]= null;mxGraphHandler[_0x708e[202]][_0x708e[2801]]= null;mxGraphHandler[_0x708e[202]][_0x708e[2802]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[2803]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[846]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[2804]]= !1;mxGraphHandler[_0x708e[202]][_0x708e[2805]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[923]]= 6;mxGraphHandler[_0x708e[202]][_0x708e[2806]]= _0x708e[586];mxGraphHandler[_0x708e[202]][_0x708e[2807]]= !1;mxGraphHandler[_0x708e[202]][_0x708e[253]]= null;mxGraphHandler[_0x708e[202]][_0x708e[2808]]= !1;mxGraphHandler[_0x708e[202]][_0x708e[2809]]= !0;mxGraphHandler[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxGraphHandler[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[2810]]= function(){return this[_0x708e[2797]]};mxGraphHandler[_0x708e[202]][_0x708e[2811]]= function(_0xb3dcx2){this[_0x708e[2797]]= _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[2812]]= function(){return this[_0x708e[2798]]};mxGraphHandler[_0x708e[202]][_0x708e[2813]]= function(_0xb3dcx2){this[_0x708e[2798]]= _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[2814]]= function(){return this[_0x708e[2803]]};mxGraphHandler[_0x708e[202]][_0x708e[2815]]= function(_0xb3dcx2){this[_0x708e[2803]]= _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[2816]]= function(){return this[_0x708e[846]]};mxGraphHandler[_0x708e[202]][_0x708e[2817]]= function(_0xb3dcx2){this[_0x708e[846]]= _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[2818]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[736]]()};mxGraphHandler[_0x708e[202]][_0x708e[2819]]= function(_0xb3dcx2){return this[_0x708e[1179]][_0x708e[2692]](_0xb3dcx2)};mxGraphHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& this[_0x708e[994]]()&& this[_0x708e[1179]][_0x708e[994]]()&& !this[_0x708e[1179]][_0x708e[2579]](_0xb3dcx3[_0x708e[727]]())&& null!= _0xb3dcx3[_0x708e[248]]()){var _0xb3dcx4=this[_0x708e[2818]](_0xb3dcx3);this[_0x708e[246]]= null;this[_0x708e[2820]]= this[_0x708e[2819]](_0xb3dcx4);this[_0x708e[2814]]()&& !this[_0x708e[2820]]&& this[_0x708e[1179]][_0x708e[2459]](_0xb3dcx4,_0xb3dcx3[_0x708e[727]]());if(this[_0x708e[2812]]()){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[251]],_0xb3dcx9=_0xb3dcx5[_0x708e[1721]](_0xb3dcx4);this[_0x708e[1179]][_0x708e[1712]](_0xb3dcx4)&& (!_0xb3dcx5[_0x708e[250]](_0xb3dcx4)|| 1< this[_0x708e[1179]][_0x708e[2694]]()|| null!= _0xb3dcx9[_0x708e[1525]]&& 0< _0xb3dcx9[_0x708e[1525]][_0x708e[67]]|| null== _0xb3dcx5[_0x708e[1709]](_0xb3dcx4,!0)|| null== _0xb3dcx5[_0x708e[1709]](_0xb3dcx4,!1)|| this[_0x708e[1179]][_0x708e[2406]]|| this[_0x708e[1179]][_0x708e[2574]](_0xb3dcx3[_0x708e[727]]())&& this[_0x708e[1179]][_0x708e[2617]]())&& this[_0x708e[861]](_0xb3dcx4,_0xb3dcx3[_0x708e[730]](),_0xb3dcx3[_0x708e[732]]());this[_0x708e[2821]]= !0;!mxClient[_0x708e[75]]&& !mxClient[_0x708e[76]]|| _0x708e[2822]!= _0xb3dcx3[_0x708e[728]]()[_0x708e[301]]?_0xb3dcx3[_0x708e[722]]():mxClient[_0x708e[75]]&& _0x708e[2822]== _0xb3dcx3[_0x708e[728]]()[_0x708e[301]]&& (this[_0x708e[2821]]= !1,this[_0x708e[2823]]= null)}}};mxGraphHandler[_0x708e[202]][_0x708e[1010]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[902]](),_0xb3dcx3=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx4=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){return null!= this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx2)&& _0xb3dcx3[_0x708e[1193]](_0xb3dcx2)&& null!= _0xb3dcx3[_0x708e[1721]](_0xb3dcx2)&& !_0xb3dcx3[_0x708e[1721]](_0xb3dcx2)[_0x708e[1500]]});return this[_0x708e[1179]][_0x708e[441]][_0x708e[2313]](_0xb3dcx3[_0x708e[1921]](_0xb3dcx4,_0xb3dcx2))};mxGraphHandler[_0x708e[202]][_0x708e[2690]]= function(_0xb3dcx2){return !this[_0x708e[2820]]&& this[_0x708e[1179]][_0x708e[1712]](_0xb3dcx2)?[_0xb3dcx2]:this[_0x708e[1179]][_0x708e[2629]](this[_0x708e[1179]][_0x708e[897]]())};mxGraphHandler[_0x708e[202]][_0x708e[2824]]= function(_0xb3dcx2){_0xb3dcx2= this[_0x708e[1613]](_0xb3dcx2);null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[244]](-1,-1),_0xb3dcx2[_0x708e[117]]< this[_0x708e[923]]&& (_0xb3dcx2[_0x708e[235]]-= (this[_0x708e[923]]- _0xb3dcx2[_0x708e[117]])/ 2,_0xb3dcx2[_0x708e[117]]= this[_0x708e[923]]),_0xb3dcx2[_0x708e[119]]< this[_0x708e[923]]&& (_0xb3dcx2[_0x708e[236]]-= (this[_0x708e[923]]- _0xb3dcx2[_0x708e[119]])/ 2,_0xb3dcx2[_0x708e[119]]= this[_0x708e[923]]));return _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[1613]]= function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){for(var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=0;_0xb3dcx5< _0xb3dcx2[_0x708e[67]];_0xb3dcx5++){if(_0xb3dcx4[_0x708e[1193]](_0xb3dcx2[_0xb3dcx5])|| _0xb3dcx4[_0x708e[250]](_0xb3dcx2[_0xb3dcx5])){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx2[_0xb3dcx5]);if(null!= _0xb3dcx9){var _0xb3dcxa=_0xb3dcx9;_0xb3dcx4[_0x708e[1193]](_0xb3dcx2[_0xb3dcx5])&& (null!= _0xb3dcx9[_0x708e[253]]&& null!= _0xb3dcx9[_0x708e[253]][_0x708e[1563]])&& (_0xb3dcxa= _0xb3dcx9[_0x708e[253]][_0x708e[1563]]);null== _0xb3dcx3?_0xb3dcx3= new mxRectangle(_0xb3dcxa[_0x708e[235]],_0xb3dcxa[_0x708e[236]],_0xb3dcxa[_0x708e[117]],_0xb3dcxa[_0x708e[119]]):_0xb3dcx3[_0x708e[99]](_0xb3dcxa)}}}};return _0xb3dcx3};mxGraphHandler[_0x708e[202]][_0x708e[2825]]= function(_0xb3dcx2){_0xb3dcx2= new mxRectangleShape(_0xb3dcx2,null,this[_0x708e[2806]]);_0xb3dcx2[_0x708e[1522]]= !0;this[_0x708e[2807]]?(_0xb3dcx2[_0x708e[507]]= mxConstants[_0x708e[1656]],_0xb3dcx2[_0x708e[176]](this[_0x708e[1179]][_0x708e[526]])):(_0xb3dcx2[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]],_0xb3dcx2[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()),_0xb3dcx2[_0x708e[1229]]= !1);return _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[861]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[246]]= _0xb3dcx2;this[_0x708e[2823]]= mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],_0xb3dcx3,_0xb3dcx4);this[_0x708e[895]]= this[_0x708e[2690]](this[_0x708e[246]]);this[_0x708e[1562]]= this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1799]](this[_0x708e[895]]);this[_0x708e[2826]]= this[_0x708e[2824]](this[_0x708e[895]]);this[_0x708e[990]]&& (this[_0x708e[2799]]= new mxGuide(this[_0x708e[1179]],this[_0x708e[1010]]()))};mxGraphHandler[_0x708e[202]][_0x708e[2827]]= function(_0xb3dcx2){return null!= this[_0x708e[2799]]?this[_0x708e[2799]][_0x708e[1019]](_0xb3dcx2[_0x708e[727]]()):!0};mxGraphHandler[_0x708e[202]][_0x708e[1021]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[2808]]?this[_0x708e[1179]][_0x708e[441]][_0x708e[255]]:1;_0xb3dcx2[_0x708e[235]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[235]]/ _0xb3dcx3)* _0xb3dcx3;_0xb3dcx2[_0x708e[236]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[236]]/ _0xb3dcx3)* _0xb3dcx3;return _0xb3dcx2};mxGraphHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]];if(!_0xb3dcx3[_0x708e[721]]()&& _0xb3dcx4[_0x708e[1009]]&& null!= this[_0x708e[246]]&& null!= this[_0x708e[2823]]&& null!= this[_0x708e[1562]]){var _0xb3dcx5=mxUtils[_0x708e[2196]](_0xb3dcx4[_0x708e[526]],_0xb3dcx3[_0x708e[730]](),_0xb3dcx3[_0x708e[732]]()),_0xb3dcx9=_0xb3dcx5[_0x708e[235]]- this[_0x708e[2823]][_0x708e[235]],_0xb3dcxa=_0xb3dcx5[_0x708e[236]]- this[_0x708e[2823]][_0x708e[236]],_0xb3dcx5=_0xb3dcx4[_0x708e[2353]];if(null!= this[_0x708e[253]]|| Math[_0x708e[425]](_0xb3dcx9)> _0xb3dcx5|| Math[_0x708e[425]](_0xb3dcxa)> _0xb3dcx5){null== this[_0x708e[1016]]&& (this[_0x708e[1016]]= new mxCellHighlight(this[_0x708e[1179]],mxConstants.DROP_TARGET_COLOR,3));null== this[_0x708e[253]]&& (this[_0x708e[253]]= this[_0x708e[2825]](this[_0x708e[1562]]));var _0xb3dcx12=_0xb3dcx4[_0x708e[1018]](_0xb3dcx3[_0x708e[727]]()),_0xb3dcx5=!0;if(null!= this[_0x708e[2799]]&& this[_0x708e[2827]](_0xb3dcx3)){_0xb3dcxa= this[_0x708e[2799]][_0x708e[582]](this[_0x708e[1562]], new mxPoint(_0xb3dcx9,_0xb3dcxa),_0xb3dcx12),_0xb3dcx5= !1,_0xb3dcx9= _0xb3dcxa[_0x708e[235]],_0xb3dcxa= _0xb3dcxa[_0x708e[236]]}else {if(_0xb3dcx12){var _0xb3dcx13=_0xb3dcx4[_0x708e[249]]()[_0x708e[513]],_0xb3dcx14=_0xb3dcx4[_0x708e[249]]()[_0x708e[255]],_0xb3dcx12=this[_0x708e[1562]][_0x708e[235]]- (_0xb3dcx4[_0x708e[1021]](this[_0x708e[1562]][_0x708e[235]]/ _0xb3dcx14- _0xb3dcx13[_0x708e[235]])+ _0xb3dcx13[_0x708e[235]])* _0xb3dcx14,_0xb3dcx13=this[_0x708e[1562]][_0x708e[236]]- (_0xb3dcx4[_0x708e[1021]](this[_0x708e[1562]][_0x708e[236]]/ _0xb3dcx14- _0xb3dcx13[_0x708e[236]])+ _0xb3dcx13[_0x708e[236]])* _0xb3dcx14,_0xb3dcxa=this[_0x708e[1021]]( new mxPoint(_0xb3dcx9,_0xb3dcxa)),_0xb3dcx9=_0xb3dcxa[_0x708e[235]]- _0xb3dcx12,_0xb3dcxa=_0xb3dcxa[_0x708e[236]]- _0xb3dcx13}};null!= this[_0x708e[2799]]&& _0xb3dcx5&& this[_0x708e[2799]][_0x708e[801]]();_0xb3dcx4[_0x708e[2578]](_0xb3dcx3[_0x708e[727]]())&& (Math[_0x708e[425]](_0xb3dcx9)> Math[_0x708e[425]](_0xb3dcxa)?_0xb3dcxa= 0:_0xb3dcx9= 0);this[_0x708e[2800]]= _0xb3dcx9;this[_0x708e[2801]]= _0xb3dcxa;this[_0x708e[2794]]();_0xb3dcx5= null;_0xb3dcxa= _0xb3dcx3[_0x708e[736]]();_0xb3dcx4[_0x708e[1015]]()&& this[_0x708e[2796]]&& (_0xb3dcx5= _0xb3dcx4[_0x708e[564]](this[_0x708e[895]],_0xb3dcx3[_0x708e[727]](),_0xb3dcxa));_0xb3dcx12= _0xb3dcx5;for(_0xb3dcx13= _0xb3dcx4[_0x708e[502]]();null!= _0xb3dcx12&& _0xb3dcx12!= this[_0x708e[895]][0];){_0xb3dcx12= _0xb3dcx13[_0x708e[1197]](_0xb3dcx12)};var _0xb3dcx14=_0xb3dcx4[_0x708e[2574]](_0xb3dcx3[_0x708e[727]]())&& _0xb3dcx4[_0x708e[2617]]()&& this[_0x708e[2810]](),_0xb3dcx9=_0xb3dcx4[_0x708e[249]]()[_0x708e[248]](_0xb3dcx5),_0xb3dcx15=!1;null!= _0xb3dcx9&& null== _0xb3dcx12&& (_0xb3dcx13[_0x708e[1197]](this[_0x708e[246]])!= _0xb3dcx5|| _0xb3dcx14)?(this[_0x708e[772]]!= _0xb3dcx5&& (this[_0x708e[772]]= _0xb3dcx5,this[_0x708e[2828]](mxConstants.DROP_TARGET_COLOR)),_0xb3dcx15= !0):(this[_0x708e[772]]= null,this[_0x708e[2804]]&& (null!= _0xb3dcxa&& 1== this[_0x708e[895]][_0x708e[67]]&& _0xb3dcx4[_0x708e[502]]()[_0x708e[1193]](_0xb3dcxa)&& _0xb3dcx4[_0x708e[2565]](_0xb3dcxa))&& (_0xb3dcx9= _0xb3dcx4[_0x708e[249]]()[_0x708e[248]](_0xb3dcxa),null!= _0xb3dcx9&& (_0xb3dcx4= null== _0xb3dcx4[_0x708e[2500]](null,this[_0x708e[246]],_0xb3dcxa)?mxConstants[_0x708e[2829]]:mxConstants[_0x708e[2830]],this[_0x708e[2828]](_0xb3dcx4),_0xb3dcx15= !0)));null!= _0xb3dcx9&& _0xb3dcx15?this[_0x708e[1016]][_0x708e[1016]](_0xb3dcx9):this[_0x708e[1016]][_0x708e[801]]()};_0xb3dcx3[_0x708e[722]]();mxEvent[_0x708e[722]](_0xb3dcx3[_0x708e[727]]())}else {if((this[_0x708e[2812]]()|| this[_0x708e[2810]]())&& this[_0x708e[2802]]&& !_0xb3dcx3[_0x708e[721]]()&& null!= _0xb3dcx3[_0x708e[248]]()&& !_0xb3dcx4[_0x708e[1009]]){_0xb3dcx9= _0xb3dcx4[_0x708e[2599]](_0xb3dcx3[_0x708e[736]]()),null== _0xb3dcx9&& (_0xb3dcx4[_0x708e[994]]()&& _0xb3dcx4[_0x708e[1712]](_0xb3dcx3[_0x708e[736]]()))&& (_0xb3dcx9= _0xb3dcx4[_0x708e[502]]()[_0x708e[250]](_0xb3dcx3[_0x708e[736]]())?mxConstants[_0x708e[2831]]:mxConstants[_0x708e[2832]]),_0xb3dcx3[_0x708e[248]]()[_0x708e[1609]](_0xb3dcx9),_0xb3dcx3[_0x708e[722]]()}}};mxGraphHandler[_0x708e[202]][_0x708e[2794]]= function(){null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[1562]]= new mxRectangle(Math[_0x708e[488]](this[_0x708e[2826]][_0x708e[235]]+ this[_0x708e[2800]]- this[_0x708e[1179]][_0x708e[1136]]),Math[_0x708e[488]](this[_0x708e[2826]][_0x708e[236]]+ this[_0x708e[2801]]- this[_0x708e[1179]][_0x708e[1137]]),this[_0x708e[2826]][_0x708e[117]],this[_0x708e[2826]][_0x708e[119]]),this[_0x708e[253]][_0x708e[258]]())};mxGraphHandler[_0x708e[202]][_0x708e[2828]]= function(_0xb3dcx2){null!= this[_0x708e[1016]]&& this[_0x708e[1016]][_0x708e[2828]](_0xb3dcx2)};mxGraphHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()){var _0xb3dcx4=this[_0x708e[1179]];if(null!= this[_0x708e[246]]&& null!= this[_0x708e[2823]]&& null!= this[_0x708e[253]]&& null!= this[_0x708e[2800]]&& null!= this[_0x708e[2801]]){var _0xb3dcx5=_0xb3dcx4[_0x708e[249]]()[_0x708e[255]],_0xb3dcx9=_0xb3dcx4[_0x708e[2574]](_0xb3dcx3[_0x708e[727]]())&& _0xb3dcx4[_0x708e[2617]]()&& this[_0x708e[2810]](),_0xb3dcxa=this[_0x708e[2800]]/ _0xb3dcx5,_0xb3dcx5=this[_0x708e[2801]]/ _0xb3dcx5,_0xb3dcx12=_0xb3dcx3[_0x708e[736]]();this[_0x708e[2804]]&& null== this[_0x708e[772]]&& null!= _0xb3dcx12&& _0xb3dcx4[_0x708e[502]]()[_0x708e[1193]](_0xb3dcx12)&& _0xb3dcx4[_0x708e[2565]](_0xb3dcx12)&& _0xb3dcx4[_0x708e[2581]](null,this[_0x708e[246]],_0xb3dcx12)?_0xb3dcx4[_0x708e[2433]][_0x708e[807]](this[_0x708e[246]],_0xb3dcx12,_0xb3dcx3[_0x708e[727]]()):(_0xb3dcx12= this[_0x708e[772]],_0xb3dcx4[_0x708e[2655]]()&& _0xb3dcx4[_0x708e[2686]](_0xb3dcx12,this[_0x708e[895]],_0xb3dcx3[_0x708e[727]]())?_0xb3dcx4[_0x708e[853]](_0xb3dcx12,this[_0x708e[895]],null,_0xb3dcxa,_0xb3dcx5):this[_0x708e[834]](this[_0x708e[895]],_0xb3dcxa,_0xb3dcx5,_0xb3dcx9,this[_0x708e[772]],_0xb3dcx3[_0x708e[727]]()))}else {this[_0x708e[2814]]()&& (this[_0x708e[2820]]&& null!= this[_0x708e[246]])&& this[_0x708e[2833]](_0xb3dcx3)}};this[_0x708e[2821]]&& _0xb3dcx3[_0x708e[722]]();this[_0x708e[862]]()};mxGraphHandler[_0x708e[202]][_0x708e[2833]]= function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[2459]](this[_0x708e[246]],_0xb3dcx2[_0x708e[727]]())};mxGraphHandler[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[2834]]();this[_0x708e[2820]]= this[_0x708e[2821]]= !1;this[_0x708e[772]]= this[_0x708e[246]]= this[_0x708e[2823]]= this[_0x708e[2835]]= this[_0x708e[2801]]= this[_0x708e[2800]]= null};mxGraphHandler[_0x708e[202]][_0x708e[2836]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1193]](_0xb3dcx2)){_0xb3dcx2= this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);_0xb3dcx4= mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx4),mxEvent[_0x708e[733]](_0xb3dcx4));var _0xb3dcx5=mxUtils[_0x708e[431]](mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION)|| 0);if(0!= _0xb3dcx5){_0xb3dcx3= Math[_0x708e[426]](-_0xb3dcx5);var _0xb3dcx5=Math[_0x708e[427]](-_0xb3dcx5),_0xb3dcx9= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]());_0xb3dcx4= mxUtils[_0x708e[432]](_0xb3dcx4,_0xb3dcx3,_0xb3dcx5,_0xb3dcx9)};return null!= _0xb3dcx2&& !mxUtils[_0x708e[442]](_0xb3dcx2,_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]])};return !1};mxGraphHandler[_0x708e[202]][_0x708e[834]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){_0xb3dcx5&& (_0xb3dcx2= this[_0x708e[1179]][_0x708e[2615]](_0xb3dcx2));null== _0xb3dcx9&& (this[_0x708e[2816]]()&& this[_0x708e[2836]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](this[_0x708e[246]]),_0xb3dcx2,_0xb3dcxa))&& (_0xb3dcx9= this[_0x708e[1179]][_0x708e[902]]());_0xb3dcx2= this[_0x708e[1179]][_0x708e[834]](_0xb3dcx2,_0xb3dcx3- this[_0x708e[1179]][_0x708e[1136]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx4- this[_0x708e[1179]][_0x708e[1137]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx5,_0xb3dcx9,_0xb3dcxa);this[_0x708e[2814]]()&& this[_0x708e[2805]]&& this[_0x708e[1179]][_0x708e[2564]](_0xb3dcx2[0]);_0xb3dcx5&& this[_0x708e[1179]][_0x708e[904]](_0xb3dcx2)};mxGraphHandler[_0x708e[202]][_0x708e[2834]]= function(){null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[515]](),this[_0x708e[253]]= null);null!= this[_0x708e[2799]]&& (this[_0x708e[2799]][_0x708e[515]](),this[_0x708e[2799]]= null);null!= this[_0x708e[1016]]&& (this[_0x708e[1016]][_0x708e[515]](),this[_0x708e[1016]]= null)};mxGraphHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[1148]](this);this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2730]]);this[_0x708e[2834]]()};function mxPanningHandler(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[1033]]= _0xb3dcx3,this[_0x708e[1179]][_0x708e[1133]](this),this[_0x708e[176]]())}mxPanningHandler[_0x708e[202]]= new mxPopupMenu;mxPanningHandler[_0x708e[202]][_0x708e[196]]= mxPanningHandler;mxPanningHandler[_0x708e[202]][_0x708e[1179]]= null;mxPanningHandler[_0x708e[202]][_0x708e[2837]]= null;mxPanningHandler[_0x708e[202]][_0x708e[2838]]= null;mxPanningHandler[_0x708e[202]][_0x708e[2839]]= !0;mxPanningHandler[_0x708e[202]][_0x708e[2840]]= !1;mxPanningHandler[_0x708e[202]][_0x708e[2841]]= !0;mxPanningHandler[_0x708e[202]][_0x708e[2842]]= !0;mxPanningHandler[_0x708e[202]][_0x708e[2843]]= !1;mxPanningHandler[_0x708e[202]][_0x708e[2844]]= !0;mxPanningHandler[_0x708e[202]][_0x708e[2845]]= !1;mxPanningHandler[_0x708e[202]][_0x708e[2431]]= !0;mxPanningHandler[_0x708e[202]][_0x708e[2846]]= function(){return this[_0x708e[2431]]};mxPanningHandler[_0x708e[202]][_0x708e[2847]]= function(_0xb3dcx2){this[_0x708e[2431]]= _0xb3dcx2};mxPanningHandler[_0x708e[202]][_0x708e[176]]= function(){mxPopupMenu[_0x708e[202]][_0x708e[176]][_0x708e[183]](this);mxEvent[_0x708e[169]](this[_0x708e[485]],mxClient[_0x708e[754]]?_0x708e[756]:_0x708e[752],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[2276]][_0x708e[801]]()}))};mxPanningHandler[_0x708e[202]][_0x708e[2848]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[727]]();return this[_0x708e[2840]]&& (this[_0x708e[2843]]|| null== _0xb3dcx2[_0x708e[248]]())&& mxEvent[_0x708e[1158]](_0xb3dcx3)|| mxEvent[_0x708e[775]](_0xb3dcx3)&& mxEvent[_0x708e[774]](_0xb3dcx3)|| this[_0x708e[2839]]&& mxEvent[_0x708e[737]](_0xb3dcx3)};mxPanningHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& this[_0x708e[994]]()){this[_0x708e[1032]]();this[_0x708e[2741]]= -this[_0x708e[1179]][_0x708e[526]][_0x708e[360]];this[_0x708e[2742]]= -this[_0x708e[1179]][_0x708e[526]][_0x708e[190]];var _0xb3dcx4=mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],_0xb3dcx3[_0x708e[730]](),_0xb3dcx3[_0x708e[732]]());this[_0x708e[2837]]= _0xb3dcx4[_0x708e[235]];this[_0x708e[2838]]= _0xb3dcx4[_0x708e[236]];this[_0x708e[2849]]= this[_0x708e[737]](_0xb3dcx3);this[_0x708e[2850]]= this[_0x708e[2846]]()&& this[_0x708e[2848]](_0xb3dcx3);this[_0x708e[2739]]= _0xb3dcx3[_0x708e[730]]();this[_0x708e[2740]]= _0xb3dcx3[_0x708e[732]]();this[_0x708e[2850]]&& this[_0x708e[2851]](_0xb3dcx3)}};mxPanningHandler[_0x708e[202]][_0x708e[2851]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[722]]()};mxPanningHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx3[_0x708e[730]]()- this[_0x708e[2739]],_0xb3dcx5=_0xb3dcx3[_0x708e[732]]()- this[_0x708e[2740]];if(this[_0x708e[1124]]){this[_0x708e[2844]]&& (this[_0x708e[2845]]&& (_0xb3dcx4= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx4),_0xb3dcx5= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx5)),this[_0x708e[1179]][_0x708e[1135]](_0xb3dcx4+ this[_0x708e[2741]],_0xb3dcx5+ this[_0x708e[2742]])),this[_0x708e[746]]( new mxEventObject(mxEvent.PAN,_0x708e[763],_0xb3dcx3)),_0xb3dcx3[_0x708e[722]]()}else {if(this[_0x708e[2850]]){var _0xb3dcx9=this[_0x708e[1124]];this[_0x708e[1124]]= Math[_0x708e[425]](_0xb3dcx4)> this[_0x708e[1179]][_0x708e[2353]]|| Math[_0x708e[425]](_0xb3dcx5)> this[_0x708e[1179]][_0x708e[2353]];!_0xb3dcx9&& this[_0x708e[1124]]&& this[_0x708e[746]]( new mxEventObject(mxEvent.PAN_START,_0x708e[763],_0xb3dcx3))}}};mxPanningHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=Math[_0x708e[425]](_0xb3dcx3[_0x708e[730]]()- this[_0x708e[2739]]),_0xb3dcx5=Math[_0x708e[425]](_0xb3dcx3[_0x708e[732]]()- this[_0x708e[2740]]);if(this[_0x708e[1124]]){if(!this[_0x708e[1179]][_0x708e[2365]]|| !mxUtils[_0x708e[1134]](this[_0x708e[1179]][_0x708e[526]])){_0xb3dcx4= _0xb3dcx3[_0x708e[730]]()- this[_0x708e[2739]];_0xb3dcx5= _0xb3dcx3[_0x708e[732]]()- this[_0x708e[2740]];this[_0x708e[2845]]&& (_0xb3dcx4= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx4),_0xb3dcx5= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx5));var _0xb3dcx9=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcxa=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[513]];this[_0x708e[1179]][_0x708e[1135]](0,0);this[_0x708e[1135]](_0xb3dcxa[_0x708e[235]]+ _0xb3dcx4/ _0xb3dcx9,_0xb3dcxa[_0x708e[236]]+ _0xb3dcx5/ _0xb3dcx9)};this[_0x708e[1124]]= !1;this[_0x708e[746]]( new mxEventObject(mxEvent.PAN_END,_0x708e[763],_0xb3dcx3));_0xb3dcx3[_0x708e[722]]()}else {this[_0x708e[2849]]&& (_0xb3dcx4< this[_0x708e[1179]][_0x708e[2353]]&& _0xb3dcx5< this[_0x708e[1179]][_0x708e[2353]])&& (_0xb3dcx4= this[_0x708e[2852]](_0xb3dcx3),this[_0x708e[1179]][_0x708e[994]]()&& this[_0x708e[2841]]&& null!= _0xb3dcx4&& !this[_0x708e[1179]][_0x708e[2692]](_0xb3dcx4)?this[_0x708e[1179]][_0x708e[2450]](_0xb3dcx4):this[_0x708e[2842]]&& null== _0xb3dcx4&& this[_0x708e[1179]][_0x708e[2440]](),this[_0x708e[1179]][_0x708e[2276]][_0x708e[801]](),_0xb3dcx5= mxUtils[_0x708e[444]](),_0xb3dcx5= new mxPoint(_0xb3dcx3[_0x708e[730]]()+ _0xb3dcx5[_0x708e[235]],_0xb3dcx3[_0x708e[732]]()+ _0xb3dcx5[_0x708e[236]]),this[_0x708e[152]](_0xb3dcx5[_0x708e[235]]+ 1,_0xb3dcx5[_0x708e[236]]+ 1,_0xb3dcx4,_0xb3dcx3[_0x708e[727]]()),_0xb3dcx3[_0x708e[722]]())};this[_0x708e[2849]]= this[_0x708e[2850]]= !1};mxPanningHandler[_0x708e[202]][_0x708e[2852]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[736]]()};mxPanningHandler[_0x708e[202]][_0x708e[1135]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1147]](_0xb3dcx2,_0xb3dcx3)};mxPanningHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[1148]](this);mxPopupMenu[_0x708e[202]][_0x708e[515]][_0x708e[183]](this)};function mxCellMarker(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){mxEventSource[_0x708e[239]](this);null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[2853]]= null!= _0xb3dcx3?_0xb3dcx3:mxConstants[_0x708e[2854]],this[_0x708e[2855]]= null!= _0xb3dcx3?_0xb3dcx4:mxConstants[_0x708e[2856]],this[_0x708e[2857]]= null!= _0xb3dcx5?_0xb3dcx5:mxConstants[_0x708e[2858]],this[_0x708e[1016]]= new mxCellHighlight(_0xb3dcx2))}mxUtils[_0x708e[1284]](mxCellMarker,mxEventSource);mxCellMarker[_0x708e[202]][_0x708e[1179]]= null;mxCellMarker[_0x708e[202]][_0x708e[984]]= !0;mxCellMarker[_0x708e[202]][_0x708e[2857]]= mxConstants[_0x708e[2858]];mxCellMarker[_0x708e[202]][_0x708e[2859]]= !1;mxCellMarker[_0x708e[202]][_0x708e[2853]]= null;mxCellMarker[_0x708e[202]][_0x708e[2855]]= null;mxCellMarker[_0x708e[202]][_0x708e[2860]]= null;mxCellMarker[_0x708e[202]][_0x708e[2861]]= null;mxCellMarker[_0x708e[202]][_0x708e[2862]]= null;mxCellMarker[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxCellMarker[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxCellMarker[_0x708e[202]][_0x708e[2863]]= function(_0xb3dcx2){this[_0x708e[2857]]= _0xb3dcx2};mxCellMarker[_0x708e[202]][_0x708e[2864]]= function(){return this[_0x708e[2857]]};mxCellMarker[_0x708e[202]][_0x708e[2865]]= function(_0xb3dcx2){this[_0x708e[2859]]= _0xb3dcx2};mxCellMarker[_0x708e[202]][_0x708e[2866]]= function(){return this[_0x708e[2859]]};mxCellMarker[_0x708e[202]][_0x708e[2867]]= function(){return null!= this[_0x708e[2861]]};mxCellMarker[_0x708e[202]][_0x708e[2868]]= function(){return this[_0x708e[2861]]};mxCellMarker[_0x708e[202]][_0x708e[2869]]= function(){return this[_0x708e[2862]]};mxCellMarker[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[2861]]= null;null!= this[_0x708e[2862]]&& (this[_0x708e[2862]]= null,this[_0x708e[2870]]())};mxCellMarker[_0x708e[202]][_0x708e[2871]]= function(_0xb3dcx2){var _0xb3dcx3=null;if(this[_0x708e[994]]()){var _0xb3dcx3=this[_0x708e[248]](_0xb3dcx2),_0xb3dcx4=null!= _0xb3dcx3?this[_0x708e[2872]](_0xb3dcx3):!1;_0xb3dcx2= this[_0x708e[2873]](_0xb3dcx2[_0x708e[727]](),_0xb3dcx3,_0xb3dcx4);this[_0x708e[2861]]= _0xb3dcx4?_0xb3dcx3:null;if(_0xb3dcx3!= this[_0x708e[2862]]|| _0xb3dcx2!= this[_0x708e[2860]]){this[_0x708e[2860]]= _0xb3dcx2,null!= _0xb3dcx3&& null!= this[_0x708e[2860]]?(this[_0x708e[2862]]= _0xb3dcx3,this[_0x708e[811]]()):null!= this[_0x708e[2862]]&& (this[_0x708e[2862]]= null,this[_0x708e[2870]]())}};return _0xb3dcx3};mxCellMarker[_0x708e[202]][_0x708e[2874]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);null!= _0xb3dcx4&& (this[_0x708e[2860]]= null!= _0xb3dcx3?_0xb3dcx3:this[_0x708e[2853]],this[_0x708e[2862]]= _0xb3dcx4,this[_0x708e[811]]())};mxCellMarker[_0x708e[202]][_0x708e[811]]= function(){this[_0x708e[1016]][_0x708e[2828]](this[_0x708e[2860]]);this[_0x708e[1016]][_0x708e[1016]](this[_0x708e[2862]]);this[_0x708e[746]]( new mxEventObject(mxEvent.MARK,_0x708e[724],this[_0x708e[2862]]))};mxCellMarker[_0x708e[202]][_0x708e[2870]]= function(){this[_0x708e[811]]()};mxCellMarker[_0x708e[202]][_0x708e[2872]]= function(_0xb3dcx2){return !0};mxCellMarker[_0x708e[202]][_0x708e[2873]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx4?this[_0x708e[2853]]:this[_0x708e[2855]]};mxCellMarker[_0x708e[202]][_0x708e[248]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[249]]();cell= this[_0x708e[736]](_0xb3dcx2);_0xb3dcx3= this[_0x708e[2875]](_0xb3dcx3[_0x708e[248]](cell));return null!= _0xb3dcx3&& this[_0x708e[1825]](_0xb3dcx3,_0xb3dcx2)?_0xb3dcx3:null};mxCellMarker[_0x708e[202]][_0x708e[736]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[736]]()};mxCellMarker[_0x708e[202]][_0x708e[2875]]= function(_0xb3dcx2){return _0xb3dcx2};mxCellMarker[_0x708e[202]][_0x708e[1825]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[2859]]?mxUtils[_0x708e[2876]](_0xb3dcx2,_0xb3dcx3[_0x708e[734]](),_0xb3dcx3[_0x708e[735]](),this[_0x708e[2857]],mxConstants.MIN_HOTSPOT_SIZE,mxConstants.MAX_HOTSPOT_SIZE):!0};mxCellMarker[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[2877]]);this[_0x708e[1179]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[2877]]);this[_0x708e[1016]][_0x708e[515]]()};function mxSelectionCellsHandler(_0xb3dcx2){mxEventSource[_0x708e[239]](this);this[_0x708e[1179]]= _0xb3dcx2;this[_0x708e[2878]]= new mxDictionary;this[_0x708e[1179]][_0x708e[1133]](this);this[_0x708e[2731]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4){this[_0x708e[994]]()&& this[_0x708e[802]]()});this[_0x708e[1179]][_0x708e[2435]]()[_0x708e[169]](mxEvent.CHANGE,this[_0x708e[2731]]);this[_0x708e[1179]][_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,this[_0x708e[2731]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.SCALE,this[_0x708e[2731]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.TRANSLATE,this[_0x708e[2731]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x708e[2731]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.DOWN,this[_0x708e[2731]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.UP,this[_0x708e[2731]])}mxUtils[_0x708e[1284]](mxSelectionCellsHandler,mxEventSource);mxSelectionCellsHandler[_0x708e[202]][_0x708e[1179]]= null;mxSelectionCellsHandler[_0x708e[202]][_0x708e[984]]= !0;mxSelectionCellsHandler[_0x708e[202]][_0x708e[2731]]= null;mxSelectionCellsHandler[_0x708e[202]][_0x708e[2879]]= 100;mxSelectionCellsHandler[_0x708e[202]][_0x708e[2878]]= null;mxSelectionCellsHandler[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxSelectionCellsHandler[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxSelectionCellsHandler[_0x708e[202]][_0x708e[2596]]= function(_0xb3dcx2){return this[_0x708e[2878]][_0x708e[203]](_0xb3dcx2)};mxSelectionCellsHandler[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[2878]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[862]][_0x708e[183]](_0xb3dcx3)})};mxSelectionCellsHandler[_0x708e[202]][_0x708e[802]]= function(){var _0xb3dcx2=this[_0x708e[2878]];this[_0x708e[2878]]= new mxDictionary;for(var _0xb3dcx3=this[_0x708e[1179]][_0x708e[897]](),_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx3[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx3[_0xb3dcx4]);if(null!= _0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[_0x708e[205]](_0xb3dcx3[_0xb3dcx4]);null!= _0xb3dcx9&& (_0xb3dcx9[_0x708e[724]]!= _0xb3dcx5?(_0xb3dcx9[_0x708e[515]](),_0xb3dcx9= null):_0xb3dcx9[_0x708e[258]]());null== _0xb3dcx9&& (_0xb3dcx9= this[_0x708e[1179]][_0x708e[2709]](_0xb3dcx5),this[_0x708e[746]]( new mxEventObject(mxEvent.ADD,_0x708e[724],_0xb3dcx5)));null!= _0xb3dcx9&& this[_0x708e[2878]][_0x708e[204]](_0xb3dcx3[_0xb3dcx4],_0xb3dcx9)}};_0xb3dcx2[_0x708e[209]](mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[746]]( new mxEventObject(mxEvent.REMOVE,_0x708e[724],_0xb3dcx3[_0x708e[724]]));_0xb3dcx3[_0x708e[515]]()}))};mxSelectionCellsHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1179]][_0x708e[994]]()&& this[_0x708e[994]]()){var _0xb3dcx4=[_0xb3dcx2,_0xb3dcx3];this[_0x708e[2878]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[787]][_0x708e[183]](_0xb3dcx3,_0xb3dcx4)})}};mxSelectionCellsHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1179]][_0x708e[994]]()&& this[_0x708e[994]]()){var _0xb3dcx4=[_0xb3dcx2,_0xb3dcx3];this[_0x708e[2878]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[788]][_0x708e[183]](_0xb3dcx3,_0xb3dcx4)})}};mxSelectionCellsHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1179]][_0x708e[994]]()&& this[_0x708e[994]]()){var _0xb3dcx4=[_0xb3dcx2,_0xb3dcx3];this[_0x708e[2878]][_0x708e[209]](function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3[_0x708e[789]][_0x708e[183]](_0xb3dcx3,_0xb3dcx4)})}};mxSelectionCellsHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[1148]](this);null!= this[_0x708e[2731]]&& (this[_0x708e[1179]][_0x708e[2435]]()[_0x708e[745]](this[_0x708e[2731]]),this[_0x708e[1179]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[2731]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[2731]]),this[_0x708e[2731]]= null)};function mxConnectionHandler(_0xb3dcx2,_0xb3dcx3){mxEventSource[_0x708e[239]](this);null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[1033]]= _0xb3dcx3,this[_0x708e[176]]())}mxUtils[_0x708e[1284]](mxConnectionHandler,mxEventSource);mxConnectionHandler[_0x708e[202]][_0x708e[1179]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[1033]]= !0;mxConnectionHandler[_0x708e[202]][_0x708e[2880]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2881]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2882]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[2883]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[984]]= !0;mxConnectionHandler[_0x708e[202]][_0x708e[804]]= !0;mxConnectionHandler[_0x708e[202]][_0x708e[2884]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2885]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[2886]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[267]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[2887]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2888]]= !0;mxConnectionHandler[_0x708e[202]][_0x708e[2889]]= 500;mxConnectionHandler[_0x708e[202]][_0x708e[2890]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2891]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2892]]= 4;mxConnectionHandler[_0x708e[202]][_0x708e[2893]]= 0;mxConnectionHandler[_0x708e[202]][_0x708e[2894]]= 0;mxConnectionHandler[_0x708e[202]][_0x708e[2895]]= !1;mxConnectionHandler[_0x708e[202]][_0x708e[2823]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[2896]]= new mxPoint(0,mxConstants.TOOLTIP_VERTICAL_OFFSET);mxConnectionHandler[_0x708e[202]][_0x708e[2897]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[1176]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[2898]]= null;mxConnectionHandler[_0x708e[202]][_0x708e[2899]]= 0;mxConnectionHandler[_0x708e[202]][_0x708e[2900]]= mxClient[_0x708e[47]];mxConnectionHandler[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxConnectionHandler[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxConnectionHandler[_0x708e[202]][_0x708e[2901]]= function(){return this[_0x708e[2884]]};mxConnectionHandler[_0x708e[202]][_0x708e[2902]]= function(_0xb3dcx2){this[_0x708e[2884]]= _0xb3dcx2};mxConnectionHandler[_0x708e[202]][_0x708e[2156]]= function(){var _0xb3dcx2= new mxPolyline([],mxConstants.INVALID_COLOR);_0xb3dcx2[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]];_0xb3dcx2[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]());_0xb3dcx2[_0x708e[1564]]= 0;_0xb3dcx2[_0x708e[1229]]= !1;_0xb3dcx2[_0x708e[1522]]= !0;if(this[_0x708e[1179]][_0x708e[507]]== mxConstants[_0x708e[508]]){_0xb3dcx2[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130])}else {var _0xb3dcx3=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx2= mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx2),mxEvent[_0x708e[733]](_0xb3dcx2));return this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](this[_0x708e[1179]][_0x708e[999]](_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]]))});mxEvent[_0x708e[2733]](_0xb3dcx2[_0x708e[252]],this[_0x708e[1179]],_0xb3dcx3)};return _0xb3dcx2};mxConnectionHandler[_0x708e[202]][_0x708e[176]]= function(){this[_0x708e[1179]][_0x708e[1133]](this);this[_0x708e[2885]]= this[_0x708e[1689]]();this[_0x708e[2886]]= new mxConstraintHandler(this[_0x708e[1179]]);this[_0x708e[1176]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){null!= this[_0x708e[2903]]&& (this[_0x708e[2903]]= this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](this[_0x708e[2903]][_0x708e[246]]));null!= this[_0x708e[2903]]?this[_0x708e[2905]](this[_0x708e[2904]],this[_0x708e[2903]]):(this[_0x708e[2906]](this[_0x708e[2904]]),this[_0x708e[257]]= null);this[_0x708e[2886]][_0x708e[862]]()});this[_0x708e[1179]][_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,this[_0x708e[1176]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.SCALE,this[_0x708e[1176]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.TRANSLATE,this[_0x708e[1176]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x708e[1176]]);this[_0x708e[2898]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2906]](this[_0x708e[2904]])});this[_0x708e[1179]][_0x708e[169]](mxEvent.START_EDITING,this[_0x708e[2898]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.DOWN,this[_0x708e[2898]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.UP,this[_0x708e[2898]])};mxConnectionHandler[_0x708e[202]][_0x708e[2907]]= function(_0xb3dcx2){return !0};mxConnectionHandler[_0x708e[202]][_0x708e[1689]]= function(){var _0xb3dcx2= new mxCellMarker(this[_0x708e[1179]]);_0xb3dcx2[_0x708e[2859]]= !0;_0xb3dcx2[_0x708e[736]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= mxCellMarker[_0x708e[202]][_0x708e[736]][_0x708e[183]](_0xb3dcx2,arguments);this[_0x708e[267]]= null;if(!this[_0x708e[2907]](_0xb3dcx4)){return null};null!= _0xb3dcx4?this[_0x708e[2908]]()?null!= this[_0x708e[257]]&& (this[_0x708e[267]]= this[_0x708e[2909]](this[_0x708e[257]][_0x708e[246]],_0xb3dcx4),null!= this[_0x708e[267]]&& 0== this[_0x708e[267]][_0x708e[67]]&& (_0xb3dcx4= null,this[_0x708e[2901]]()&& (this[_0x708e[267]]= null))):this[_0x708e[2671]](_0xb3dcx4)|| (_0xb3dcx4= null):this[_0x708e[2908]]()&& (!this[_0x708e[2901]]()&& !this[_0x708e[1179]][_0x708e[2406]])&& (this[_0x708e[267]]= _0x708e[110]);return _0xb3dcx4});_0xb3dcx2[_0x708e[2872]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx3){return this[_0x708e[2908]]()?null== this[_0x708e[267]]:mxCellMarker[_0x708e[202]][_0x708e[2872]][_0x708e[183]](_0xb3dcx2,arguments)});_0xb3dcx2[_0x708e[2873]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return null== this[_0x708e[2882]]|| this[_0x708e[2908]]()?mxCellMarker[_0x708e[202]][_0x708e[2873]][_0x708e[183]](_0xb3dcx2,arguments):null});_0xb3dcx2[_0x708e[1825]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx3,_0xb3dcx4){return null!= this[_0x708e[2882]]|| this[_0x708e[2908]]()?!0:mxCellMarker[_0x708e[202]][_0x708e[1825]][_0x708e[183]](_0xb3dcx2,arguments)});return _0xb3dcx2};mxConnectionHandler[_0x708e[202]][_0x708e[861]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[257]]= _0xb3dcx2;this[_0x708e[2823]]= new mxPoint(_0xb3dcx3,_0xb3dcx4);this[_0x708e[2897]]= null!= _0xb3dcx5?_0xb3dcx5:this[_0x708e[2910]](null);this[_0x708e[2885]][_0x708e[2860]]= this[_0x708e[2885]][_0x708e[2853]];this[_0x708e[2885]][_0x708e[2862]]= _0xb3dcx2;this[_0x708e[2885]][_0x708e[811]]();this[_0x708e[746]]( new mxEventObject(mxEvent.START,_0x708e[724],this[_0x708e[257]]))};mxConnectionHandler[_0x708e[202]][_0x708e[2908]]= function(){return null!= this[_0x708e[2823]]&& null!= this[_0x708e[253]]};mxConnectionHandler[_0x708e[202]][_0x708e[2671]]= function(_0xb3dcx2){return this[_0x708e[1179]][_0x708e[2671]](_0xb3dcx2)};mxConnectionHandler[_0x708e[202]][_0x708e[2672]]= function(_0xb3dcx2){return !0};mxConnectionHandler[_0x708e[202]][_0x708e[2909]]= function(_0xb3dcx2,_0xb3dcx3){return !this[_0x708e[2672]](_0xb3dcx3)?_0x708e[110]:this[_0x708e[1179]][_0x708e[2500]](null,_0xb3dcx2,_0xb3dcx3)};mxConnectionHandler[_0x708e[202]][_0x708e[2911]]= function(_0xb3dcx2){return this[_0x708e[2882]]};mxConnectionHandler[_0x708e[202]][_0x708e[2912]]= function(_0xb3dcx2){return null!= _0xb3dcx2[_0x708e[963]]&& _0xb3dcx2[_0x708e[963]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]]?!0:this[_0x708e[2880]]};mxConnectionHandler[_0x708e[202]][_0x708e[2913]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[2911]](_0xb3dcx2);if(null!= _0xb3dcx3&& null!= _0xb3dcx2){this[_0x708e[2903]]= _0xb3dcx2;var _0xb3dcx4=[],_0xb3dcx5= new mxRectangle(0,0,_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]]),_0xb3dcx9= new mxImageShape(_0xb3dcx5,_0xb3dcx3[_0x708e[390]],null,null,0);_0xb3dcx9[_0x708e[1674]]= !1;this[_0x708e[2912]](_0xb3dcx2)?(_0xb3dcx9[_0x708e[507]]= mxConstants[_0x708e[1656]],_0xb3dcx9[_0x708e[176]](this[_0x708e[1179]][_0x708e[526]])):(_0xb3dcx9[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]== mxConstants[_0x708e[508]]?mxConstants[_0x708e[508]]:mxConstants[_0x708e[1523]],_0xb3dcx9[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()),this[_0x708e[2881]]&& null!= _0xb3dcx9[_0x708e[252]][_0x708e[328]]&& _0xb3dcx9[_0x708e[252]][_0x708e[265]][_0x708e[950]](_0xb3dcx9[_0x708e[252]],_0xb3dcx9[_0x708e[252]][_0x708e[265]][_0x708e[285]]));_0xb3dcx9[_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[2914]];var _0xb3dcxa=mxUtils[_0x708e[885]](this,function(){return null!= this[_0x708e[2915]]?this[_0x708e[2915]]:_0xb3dcx2}),_0xb3dcx3=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){mxEvent[_0x708e[721]](_0xb3dcx2)|| (this[_0x708e[2916]]= _0xb3dcx9,this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx2,_0xb3dcxa())))});mxEvent[_0x708e[2733]](_0xb3dcx9[_0x708e[252]],this[_0x708e[1179]],_0xb3dcxa,_0xb3dcx3);_0xb3dcx4[_0x708e[207]](_0xb3dcx9);this[_0x708e[2905]](_0xb3dcx4,this[_0x708e[2903]]);return _0xb3dcx4};return null};mxConnectionHandler[_0x708e[202]][_0x708e[2905]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= _0xb3dcx2&& null!= _0xb3dcx2[0]&& null!= _0xb3dcx3){var _0xb3dcx4=this[_0x708e[2917]](_0xb3dcx2[0],_0xb3dcx3);_0xb3dcx2[0][_0x708e[1562]][_0x708e[235]]= _0xb3dcx4[_0x708e[235]];_0xb3dcx2[0][_0x708e[1562]][_0x708e[236]]= _0xb3dcx4[_0x708e[236]];_0xb3dcx2[0][_0x708e[258]]()}};mxConnectionHandler[_0x708e[202]][_0x708e[2917]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx5=_0xb3dcx3[_0x708e[241]](),_0xb3dcx9=_0xb3dcx3[_0x708e[242]]();if(this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx3[_0x708e[246]])){var _0xb3dcxa=this[_0x708e[1179]][_0x708e[1731]](_0xb3dcx3[_0x708e[246]]),_0xb3dcx5=0!= _0xb3dcxa[_0x708e[117]]?_0xb3dcx3[_0x708e[235]]+ _0xb3dcxa[_0x708e[117]]* _0xb3dcx4/ 2:_0xb3dcx5,_0xb3dcx9=0!= _0xb3dcxa[_0x708e[119]]?_0xb3dcx3[_0x708e[236]]+ _0xb3dcxa[_0x708e[119]]* _0xb3dcx4/ 2:_0xb3dcx9,_0xb3dcxa=mxUtils[_0x708e[431]](mxUtils[_0x708e[433]](_0xb3dcx3[_0x708e[124]],mxConstants.STYLE_ROTATION)|| 0);if(0!= _0xb3dcxa){var _0xb3dcx4=Math[_0x708e[426]](_0xb3dcxa),_0xb3dcxa=Math[_0x708e[427]](_0xb3dcxa),_0xb3dcx12= new mxPoint(_0xb3dcx3[_0x708e[241]](),_0xb3dcx3[_0x708e[242]]()),_0xb3dcx9=mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx5,_0xb3dcx9),_0xb3dcx4,_0xb3dcxa,_0xb3dcx12),_0xb3dcx5=_0xb3dcx9[_0x708e[235]],_0xb3dcx9=_0xb3dcx9[_0x708e[236]]}};return new mxPoint(_0xb3dcx5- _0xb3dcx2[_0x708e[1562]][_0x708e[117]]/ 2,_0xb3dcx9- _0xb3dcx2[_0x708e[1562]][_0x708e[119]]/ 2)};mxConnectionHandler[_0x708e[202]][_0x708e[2906]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){this[_0x708e[2903]]= null;for(var _0xb3dcx3=0;_0xb3dcx3< _0xb3dcx2[_0x708e[67]];_0xb3dcx3++){_0xb3dcx2[_0xb3dcx3][_0x708e[515]]()}}};mxConnectionHandler[_0x708e[202]][_0x708e[2918]]= function(_0xb3dcx2){return !this[_0x708e[1179]][_0x708e[2579]](_0xb3dcx2[_0x708e[727]]())&& (null!= this[_0x708e[2886]][_0x708e[2919]]&& null!= this[_0x708e[2886]][_0x708e[2920]]|| null!= this[_0x708e[257]]&& null== this[_0x708e[267]]&& (null== this[_0x708e[2904]]|| null!= this[_0x708e[2904]]&& null!= this[_0x708e[2916]]))};mxConnectionHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2899]]++;if(this[_0x708e[994]]()&& this[_0x708e[1179]][_0x708e[994]]()&& !_0xb3dcx3[_0x708e[721]]()&& !this[_0x708e[2908]]()&& this[_0x708e[2918]](_0xb3dcx3)){null!= this[_0x708e[2886]][_0x708e[2920]]&& null!= this[_0x708e[2886]][_0x708e[2919]]&& null!= this[_0x708e[2886]][_0x708e[987]]?(this[_0x708e[2921]]= this[_0x708e[2886]][_0x708e[2920]],this[_0x708e[257]]= this[_0x708e[2886]][_0x708e[2919]],this[_0x708e[2823]]= this[_0x708e[2886]][_0x708e[987]][_0x708e[238]]()):this[_0x708e[2823]]= new mxPoint(_0xb3dcx3[_0x708e[734]](),_0xb3dcx3[_0x708e[735]]());this[_0x708e[2897]]= this[_0x708e[2910]](_0xb3dcx3);this[_0x708e[2899]]= 1;this[_0x708e[2887]]&& null== this[_0x708e[253]]&& (this[_0x708e[2922]]= null,this[_0x708e[253]]= this[_0x708e[2156]]());if(null== this[_0x708e[257]]&& null!= this[_0x708e[2897]]){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[2689]](_0xb3dcx3[_0x708e[727]]());this[_0x708e[2897]][_0x708e[246]][_0x708e[256]][_0x708e[2007]](_0xb3dcx4,!0)};this[_0x708e[746]]( new mxEventObject(mxEvent.START,_0x708e[724],this[_0x708e[257]]));_0xb3dcx3[_0x708e[722]]()}else {if(mxClient[_0x708e[754]]&& this[_0x708e[2888]]&& !this[_0x708e[2890]]&& this[_0x708e[994]]()&& this[_0x708e[1179]][_0x708e[994]]()&& !this[_0x708e[2908]]()){this[_0x708e[2890]]= !0;this[_0x708e[2893]]= _0xb3dcx3[_0x708e[730]]();this[_0x708e[2894]]= _0xb3dcx3[_0x708e[732]]();var _0xb3dcx5=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](this[_0x708e[2885]][_0x708e[736]](_0xb3dcx3));this[_0x708e[2923]]&& window[_0x708e[2924]](this[_0x708e[2923]]);this[_0x708e[2923]]= window[_0x708e[261]](mxUtils[_0x708e[885]](this,function(){this[_0x708e[2891]]&& this[_0x708e[2925]](_0xb3dcx3,_0xb3dcx5);this[_0x708e[2891]]= this[_0x708e[2890]]= !1}),this[_0x708e[2889]]);this[_0x708e[2891]]= !0}};this[_0x708e[2926]]= this[_0x708e[2916]];this[_0x708e[2916]]= null};mxConnectionHandler[_0x708e[202]][_0x708e[2925]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx3&& (this[_0x708e[2885]][_0x708e[2860]]= this[_0x708e[2885]][_0x708e[2853]],this[_0x708e[2885]][_0x708e[2862]]= _0xb3dcx3,this[_0x708e[2885]][_0x708e[811]](),this[_0x708e[2823]]= new mxPoint(_0xb3dcx2[_0x708e[734]](),_0xb3dcx2[_0x708e[735]]()),this[_0x708e[2897]]= this[_0x708e[2910]](_0xb3dcx2),this[_0x708e[257]]= _0xb3dcx3,this[_0x708e[746]]( new mxEventObject(mxEvent.START,_0x708e[724],this[_0x708e[257]])))};mxConnectionHandler[_0x708e[202]][_0x708e[2927]]= function(_0xb3dcx2){return !this[_0x708e[1179]][_0x708e[1712]](_0xb3dcx2[_0x708e[246]])};mxConnectionHandler[_0x708e[202]][_0x708e[2910]]= function(_0xb3dcx2){return null};mxConnectionHandler[_0x708e[202]][_0x708e[2928]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[2885]][_0x708e[2871]](_0xb3dcx2);this[_0x708e[2886]][_0x708e[2729]](_0xb3dcx2,null== this[_0x708e[2823]]);this[_0x708e[2915]]= _0xb3dcx3};mxConnectionHandler[_0x708e[202]][_0x708e[2929]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[518]](),_0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[512]]();_0xb3dcx2[_0x708e[235]]= _0xb3dcx2[_0x708e[235]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[235]];_0xb3dcx2[_0x708e[236]]= _0xb3dcx2[_0x708e[236]]/ _0xb3dcx3- _0xb3dcx4[_0x708e[236]]};mxConnectionHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2891]]&& (this[_0x708e[2891]]= Math[_0x708e[425]](this[_0x708e[2893]]- _0xb3dcx3[_0x708e[730]]())< this[_0x708e[2892]]&& Math[_0x708e[425]](this[_0x708e[2894]]- _0xb3dcx3[_0x708e[732]]())< this[_0x708e[2892]]);if(!_0xb3dcx3[_0x708e[721]]()&& (this[_0x708e[2895]]|| null!= this[_0x708e[2823]]|| !this[_0x708e[1179]][_0x708e[1009]])){!this[_0x708e[994]]()&& null!= this[_0x708e[2915]]&& (this[_0x708e[2906]](this[_0x708e[2904]]),this[_0x708e[2915]]= null);(null!= this[_0x708e[2823]]|| this[_0x708e[994]]()&& this[_0x708e[1179]][_0x708e[994]]())&& this[_0x708e[2928]](_0xb3dcx3);if(null!= this[_0x708e[2823]]){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx4= new mxPoint(this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx3[_0x708e[734]]()/ _0xb3dcx4)* _0xb3dcx4,this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx3[_0x708e[735]]()/ _0xb3dcx4)* _0xb3dcx4),_0xb3dcx5=null,_0xb3dcx9=_0xb3dcx4;null!= this[_0x708e[2886]][_0x708e[2920]]&& (null!= this[_0x708e[2886]][_0x708e[2919]]&& null!= this[_0x708e[2886]][_0x708e[987]])&& (_0xb3dcx5= this[_0x708e[2886]][_0x708e[2920]],_0xb3dcx9= this[_0x708e[2886]][_0x708e[987]][_0x708e[238]]());var _0xb3dcxa=this[_0x708e[2823]];if(null!= this[_0x708e[2926]]){var _0xb3dcx12=this[_0x708e[2926]][_0x708e[1562]][_0x708e[117]],_0xb3dcx13=this[_0x708e[2926]][_0x708e[1562]][_0x708e[119]];null!= this[_0x708e[2915]]&& this[_0x708e[2883]]?(_0xb3dcx12= this[_0x708e[2917]](this[_0x708e[2926]],this[_0x708e[2915]]),this[_0x708e[2926]][_0x708e[1562]][_0x708e[235]]= _0xb3dcx12[_0x708e[235]],this[_0x708e[2926]][_0x708e[1562]][_0x708e[236]]= _0xb3dcx12[_0x708e[236]]):(_0xb3dcx12= new mxRectangle(_0xb3dcx3[_0x708e[734]]()+ this[_0x708e[2896]][_0x708e[235]],_0xb3dcx3[_0x708e[735]]()+ this[_0x708e[2896]][_0x708e[236]],_0xb3dcx12,_0xb3dcx13),this[_0x708e[2926]][_0x708e[1562]]= _0xb3dcx12);this[_0x708e[2926]][_0x708e[258]]()};if(null!= this[_0x708e[2897]]){this[_0x708e[2897]][_0x708e[439]]= [null,null!= this[_0x708e[2915]]?null:_0xb3dcx9];this[_0x708e[1179]][_0x708e[441]][_0x708e[2289]](this[_0x708e[2897]],this[_0x708e[257]],!0,this[_0x708e[2921]]);null!= this[_0x708e[2915]]&& (null== _0xb3dcx5&& (_0xb3dcx5= this[_0x708e[1179]][_0x708e[2288]](this[_0x708e[2897]],this[_0x708e[257]],!1)),this[_0x708e[2897]][_0x708e[2088]](null,!1),this[_0x708e[1179]][_0x708e[441]][_0x708e[2289]](this[_0x708e[2897]],this[_0x708e[2915]],!1,_0xb3dcx5));_0xb3dcxa= null;if(null!= this[_0x708e[2922]]){_0xb3dcxa= [];for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[2922]][_0x708e[67]];_0xb3dcx9++){_0xb3dcx5= this[_0x708e[2922]][_0xb3dcx9][_0x708e[238]](),this[_0x708e[2929]](_0xb3dcx5),_0xb3dcxa[_0xb3dcx9]= _0xb3dcx5}};this[_0x708e[1179]][_0x708e[441]][_0x708e[2282]](this[_0x708e[2897]],_0xb3dcxa,this[_0x708e[257]],this[_0x708e[2915]]);this[_0x708e[1179]][_0x708e[441]][_0x708e[2283]](this[_0x708e[2897]],this[_0x708e[257]],this[_0x708e[2915]]);_0xb3dcx9= this[_0x708e[2897]][_0x708e[439]][this[_0x708e[2897]][_0x708e[439]][_0x708e[67]]- 1];_0xb3dcxa= this[_0x708e[2897]][_0x708e[439]][0]}else {null!= this[_0x708e[2915]]&& null== this[_0x708e[2886]][_0x708e[2920]]&& (_0xb3dcx12= this[_0x708e[2930]](this[_0x708e[2915]],_0xb3dcx3),null!= _0xb3dcx12&& (_0xb3dcx9= _0xb3dcx12)),null== this[_0x708e[2921]]&& null!= this[_0x708e[257]]&& (_0xb3dcx12= this[_0x708e[2931]](this[_0x708e[257]],null!= this[_0x708e[2922]]&& 0< this[_0x708e[2922]][_0x708e[67]]?this[_0x708e[2922]][0]:_0xb3dcx9,_0xb3dcx3),null!= _0xb3dcx12&& (_0xb3dcxa= _0xb3dcx12))};if(null== this[_0x708e[2915]]&& this[_0x708e[2900]]){_0xb3dcx12= _0xb3dcxa;null!= this[_0x708e[2897]]&& 2< this[_0x708e[2897]][_0x708e[439]][_0x708e[67]]&& (_0xb3dcx5= this[_0x708e[2897]][_0x708e[439]][this[_0x708e[2897]][_0x708e[439]][_0x708e[67]]- 2],null!= _0xb3dcx5&& (_0xb3dcx12= _0xb3dcx5));_0xb3dcx5= _0xb3dcx9[_0x708e[235]]- _0xb3dcx12[_0x708e[235]];_0xb3dcx12= _0xb3dcx9[_0x708e[236]]- _0xb3dcx12[_0x708e[236]];_0xb3dcx13= Math[_0x708e[428]](_0xb3dcx5* _0xb3dcx5+ _0xb3dcx12* _0xb3dcx12);if(0== _0xb3dcx13){return};_0xb3dcx9[_0x708e[235]]-= 4* _0xb3dcx5/ _0xb3dcx13;_0xb3dcx9[_0x708e[236]]-= 4* _0xb3dcx12/ _0xb3dcx13};if(null== this[_0x708e[253]]&& (_0xb3dcx5= Math[_0x708e[425]](_0xb3dcx4[_0x708e[235]]- this[_0x708e[2823]][_0x708e[235]]),_0xb3dcx12= Math[_0x708e[425]](_0xb3dcx4[_0x708e[236]]- this[_0x708e[2823]][_0x708e[236]]),_0xb3dcx5> this[_0x708e[1179]][_0x708e[2353]]|| _0xb3dcx12> this[_0x708e[1179]][_0x708e[2353]])){this[_0x708e[253]]= this[_0x708e[2156]](),this[_0x708e[2928]](_0xb3dcx3)};null!= this[_0x708e[253]]&& (null!= this[_0x708e[2897]]?this[_0x708e[253]][_0x708e[1525]]= this[_0x708e[2897]][_0x708e[439]]:(_0xb3dcx4= [_0xb3dcxa],null!= this[_0x708e[2922]]&& (_0xb3dcx4= _0xb3dcx4[_0x708e[1919]](this[_0x708e[2922]])),_0xb3dcx4[_0x708e[207]](_0xb3dcx9),this[_0x708e[253]][_0x708e[1525]]= _0xb3dcx4),this[_0x708e[2932]]());mxEvent[_0x708e[722]](_0xb3dcx3[_0x708e[727]]());_0xb3dcx3[_0x708e[722]]()}else {!this[_0x708e[994]]()|| !this[_0x708e[1179]][_0x708e[994]]()?this[_0x708e[2886]][_0x708e[862]]():this[_0x708e[257]]!= this[_0x708e[2915]]&& null== this[_0x708e[2897]]?(this[_0x708e[2906]](this[_0x708e[2904]]),this[_0x708e[2904]]= null,null!= this[_0x708e[2915]]&& null== this[_0x708e[267]]&& (this[_0x708e[2904]]= this[_0x708e[2913]](this[_0x708e[2915]]),null== this[_0x708e[2904]]&& (this[_0x708e[2915]][_0x708e[1609]](mxConstants.CURSOR_CONNECT),_0xb3dcx3[_0x708e[722]]())),this[_0x708e[257]]= this[_0x708e[2915]]):this[_0x708e[257]]== this[_0x708e[2915]]&& (null!= this[_0x708e[2915]]&& null== this[_0x708e[2904]]&& !this[_0x708e[1179]][_0x708e[1009]])&& _0xb3dcx3[_0x708e[722]]()};null!= this[_0x708e[2886]][_0x708e[2920]]&& this[_0x708e[2885]][_0x708e[862]]();if(!this[_0x708e[1179]][_0x708e[1009]]&& null!= this[_0x708e[2915]]&& null!= this[_0x708e[2904]]){_0xb3dcx4= !1;_0xb3dcxa= _0xb3dcx3[_0x708e[728]]();for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[2904]][_0x708e[67]]&& !_0xb3dcx4;_0xb3dcx9++){_0xb3dcx4= _0xb3dcxa== this[_0x708e[2904]][_0xb3dcx9][_0x708e[252]]|| _0xb3dcxa[_0x708e[265]]== this[_0x708e[2904]][_0xb3dcx9][_0x708e[252]]};_0xb3dcx4|| this[_0x708e[2933]](this[_0x708e[2915]],this[_0x708e[2904]],_0xb3dcx3)}}else {this[_0x708e[2886]][_0x708e[862]]()}};mxConnectionHandler[_0x708e[202]][_0x708e[2930]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null,_0xb3dcx5=_0xb3dcx2[_0x708e[441]],_0xb3dcx9=_0xb3dcx5[_0x708e[2305]](_0xb3dcx2);if(null!= _0xb3dcx9){var _0xb3dcxa=null!= this[_0x708e[2922]]&& 0< this[_0x708e[2922]][_0x708e[67]]?this[_0x708e[2922]][this[_0x708e[2922]][_0x708e[67]]- 1]: new mxPoint(this[_0x708e[257]][_0x708e[241]](),this[_0x708e[257]][_0x708e[242]]()),_0xb3dcx5=_0xb3dcx9(_0xb3dcx5[_0x708e[2087]](_0xb3dcx2),this[_0x708e[2897]],_0xb3dcxa,!1);null!= _0xb3dcx5&& (_0xb3dcx4= _0xb3dcx5)}else {_0xb3dcx4= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]())};return _0xb3dcx4};mxConnectionHandler[_0x708e[202]][_0x708e[2931]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx4= null;var _0xb3dcx5=_0xb3dcx2[_0x708e[441]],_0xb3dcx9=_0xb3dcx5[_0x708e[2305]](_0xb3dcx2),_0xb3dcxa= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]());if(null!= _0xb3dcx9){var _0xb3dcx12=mxUtils[_0x708e[433]](_0xb3dcx2[_0x708e[124]],mxConstants.STYLE_ROTATION,0),_0xb3dcx13=-_0xb3dcx12* (Math[_0x708e[424]]/ 180);0!= _0xb3dcx12&& (_0xb3dcx3= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx3[_0x708e[235]],_0xb3dcx3[_0x708e[236]]),Math[_0x708e[426]](_0xb3dcx13),Math[_0x708e[427]](_0xb3dcx13),_0xb3dcxa));_0xb3dcx2= _0xb3dcx9(_0xb3dcx5[_0x708e[2087]](_0xb3dcx2),_0xb3dcx2,_0xb3dcx3,!1);null!= _0xb3dcx2&& (0!= _0xb3dcx12&& (_0xb3dcx2= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]]),Math[_0x708e[426]](-_0xb3dcx13),Math[_0x708e[427]](-_0xb3dcx13),_0xb3dcxa)),_0xb3dcx4= _0xb3dcx2)}else {_0xb3dcx4= _0xb3dcxa};return _0xb3dcx4};mxConnectionHandler[_0x708e[202]][_0x708e[2933]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){};mxConnectionHandler[_0x708e[202]][_0x708e[2934]]= function(_0xb3dcx2){return null!= _0xb3dcx2[_0x708e[248]]()};mxConnectionHandler[_0x708e[202]][_0x708e[2935]]= function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],_0xb3dcx2[_0x708e[730]](),_0xb3dcx2[_0x708e[732]]()),_0xb3dcx4=Math[_0x708e[425]](_0xb3dcx3[_0x708e[235]]- this[_0x708e[2823]][_0x708e[235]]),_0xb3dcx3=Math[_0x708e[425]](_0xb3dcx3[_0x708e[236]]- this[_0x708e[2823]][_0x708e[236]]);if(null!= this[_0x708e[2922]]|| 1< this[_0x708e[2899]]&& (_0xb3dcx4> this[_0x708e[1179]][_0x708e[2353]]|| _0xb3dcx3> this[_0x708e[1179]][_0x708e[2353]])){null== this[_0x708e[2922]]&& (this[_0x708e[2922]]= []),_0xb3dcx4= this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx3= new mxPoint(this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[734]]()/ _0xb3dcx4)* _0xb3dcx4,this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[735]]()/ _0xb3dcx4)* _0xb3dcx4),this[_0x708e[2922]][_0x708e[207]](_0xb3dcx3)}};mxConnectionHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& this[_0x708e[2908]]()){if(this[_0x708e[2887]]&& !this[_0x708e[2934]](_0xb3dcx3)){this[_0x708e[2935]](_0xb3dcx3);_0xb3dcx3[_0x708e[722]]();return};if(null== this[_0x708e[267]]){var _0xb3dcx4=null!= this[_0x708e[257]]?this[_0x708e[257]][_0x708e[246]]:null,_0xb3dcx5=null;null!= this[_0x708e[2886]][_0x708e[2920]]&& null!= this[_0x708e[2886]][_0x708e[2919]]&& (_0xb3dcx5= this[_0x708e[2886]][_0x708e[2919]][_0x708e[246]]);null== _0xb3dcx5&& this[_0x708e[2885]][_0x708e[2867]]()&& (_0xb3dcx5= this[_0x708e[2885]][_0x708e[2861]][_0x708e[246]]);this[_0x708e[807]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx3[_0x708e[727]](),_0xb3dcx3[_0x708e[736]]())}else {null!= this[_0x708e[257]]&& (null!= this[_0x708e[2885]][_0x708e[2861]]&& this[_0x708e[257]][_0x708e[246]]== this[_0x708e[2885]][_0x708e[2861]][_0x708e[246]])&& this[_0x708e[1179]][_0x708e[2459]](this[_0x708e[2885]][_0x708e[1097]],evt),0< this[_0x708e[267]][_0x708e[67]]&& this[_0x708e[1179]][_0x708e[2580]](this[_0x708e[267]])};this[_0x708e[2906]](this[_0x708e[2904]]);_0xb3dcx3[_0x708e[722]]()};null!= this[_0x708e[2823]]&& this[_0x708e[862]]();this[_0x708e[2891]]= this[_0x708e[2890]]= !1};mxConnectionHandler[_0x708e[202]][_0x708e[862]]= function(){null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[515]](),this[_0x708e[253]]= null);this[_0x708e[2906]](this[_0x708e[2904]]);this[_0x708e[2904]]= null;this[_0x708e[2885]][_0x708e[862]]();this[_0x708e[2886]][_0x708e[862]]();this[_0x708e[2921]]= this[_0x708e[267]]= this[_0x708e[257]]= this[_0x708e[2897]]= this[_0x708e[2926]]= null;this[_0x708e[2899]]= 0;this[_0x708e[2916]]= this[_0x708e[2823]]= null;this[_0x708e[746]]( new mxEventObject(mxEvent.RESET))};mxConnectionHandler[_0x708e[202]][_0x708e[2932]]= function(){var _0xb3dcx2=null== this[_0x708e[267]];this[_0x708e[253]][_0x708e[1307]]= this[_0x708e[2936]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[2937]](_0xb3dcx2);this[_0x708e[253]][_0x708e[1336]]= _0xb3dcx2;this[_0x708e[253]][_0x708e[258]]()};mxConnectionHandler[_0x708e[202]][_0x708e[2937]]= function(_0xb3dcx2){return _0xb3dcx2?mxConstants[_0x708e[2829]]:mxConstants[_0x708e[2938]]};mxConnectionHandler[_0x708e[202]][_0x708e[2936]]= function(_0xb3dcx2){return _0xb3dcx2?3:1};mxConnectionHandler[_0x708e[202]][_0x708e[807]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx3|| this[_0x708e[2901]]()|| this[_0x708e[1179]][_0x708e[2406]]){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcxa=null;_0xb3dcx9[_0x708e[473]]();try{if(null!= _0xb3dcx2&& (null== _0xb3dcx3&& this[_0x708e[2901]]())&& (_0xb3dcx3= this[_0x708e[2939]](_0xb3dcx4,_0xb3dcx2),null!= _0xb3dcx3)){_0xb3dcx5= this[_0x708e[1179]][_0x708e[564]]([_0xb3dcx3],_0xb3dcx4,_0xb3dcx5);if(null== _0xb3dcx5|| !this[_0x708e[1179]][_0x708e[502]]()[_0x708e[250]](_0xb3dcx5)){var _0xb3dcx12=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx5);if(null!= _0xb3dcx12){var _0xb3dcx13=_0xb3dcx9[_0x708e[1721]](_0xb3dcx3);_0xb3dcx13[_0x708e[235]]-= _0xb3dcx12[_0x708e[2078]][_0x708e[235]];_0xb3dcx13[_0x708e[236]]-= _0xb3dcx12[_0x708e[2078]][_0x708e[236]]}}else {_0xb3dcx5= this[_0x708e[1179]][_0x708e[902]]()};this[_0x708e[1179]][_0x708e[2103]](_0xb3dcx3,_0xb3dcx5)};var _0xb3dcx14=this[_0x708e[1179]][_0x708e[902]]();null!= _0xb3dcx2&& (null!= _0xb3dcx3&& _0xb3dcx9[_0x708e[1197]](_0xb3dcx2)== _0xb3dcx9[_0x708e[1197]](_0xb3dcx3)&& _0xb3dcx9[_0x708e[1197]](_0xb3dcx9[_0x708e[1197]](_0xb3dcx2))!= _0xb3dcx9[_0x708e[501]]())&& (_0xb3dcx14= _0xb3dcx9[_0x708e[1197]](_0xb3dcx2),null!= _0xb3dcx2[_0x708e[256]]&& _0xb3dcx2[_0x708e[256]][_0x708e[1500]]&& (null!= _0xb3dcx3[_0x708e[256]]&& _0xb3dcx3[_0x708e[256]][_0x708e[1500]])&& (_0xb3dcx14= _0xb3dcx9[_0x708e[1197]](_0xb3dcx14)));_0xb3dcx13= _0xb3dcx12= null;null!= this[_0x708e[2897]]&& (_0xb3dcx12= this[_0x708e[2897]][_0x708e[246]][_0x708e[131]],_0xb3dcx13= this[_0x708e[2897]][_0x708e[246]][_0x708e[124]]);_0xb3dcxa= this[_0x708e[1960]](_0xb3dcx14,null,_0xb3dcx12,_0xb3dcx2,_0xb3dcx3,_0xb3dcx13);if(null!= _0xb3dcxa){this[_0x708e[1179]][_0x708e[2545]](_0xb3dcxa,_0xb3dcx2,!0,this[_0x708e[2921]]);this[_0x708e[1179]][_0x708e[2545]](_0xb3dcxa,_0xb3dcx3,!1,this[_0x708e[2886]][_0x708e[2920]]);null!= this[_0x708e[2897]]&& _0xb3dcx9[_0x708e[1724]](_0xb3dcxa,this[_0x708e[2897]][_0x708e[246]][_0x708e[256]]);var _0xb3dcx15=_0xb3dcx9[_0x708e[1721]](_0xb3dcxa);null== _0xb3dcx15&& (_0xb3dcx15= new mxGeometry,_0xb3dcx15[_0x708e[1500]]= !0,_0xb3dcx9[_0x708e[1724]](_0xb3dcxa,_0xb3dcx15));if(null!= this[_0x708e[2922]]&& 0< this[_0x708e[2922]][_0x708e[67]]){var _0xb3dcx16=this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx17=this[_0x708e[1179]][_0x708e[441]][_0x708e[513]];_0xb3dcx15[_0x708e[1525]]= [];for(_0xb3dcx2= 0;_0xb3dcx2< this[_0x708e[2922]][_0x708e[67]];_0xb3dcx2++){var _0xb3dcx18=this[_0x708e[2922]][_0xb3dcx2];_0xb3dcx15[_0x708e[1525]][_0x708e[207]]( new mxPoint(_0xb3dcx18[_0x708e[235]]/ _0xb3dcx16- _0xb3dcx17[_0x708e[235]],_0xb3dcx18[_0x708e[236]]/ _0xb3dcx16- _0xb3dcx17[_0x708e[236]]))}};null== _0xb3dcx3&& (_0xb3dcx18= this[_0x708e[1179]][_0x708e[2689]](_0xb3dcx4,!1),_0xb3dcx18[_0x708e[235]]-= this[_0x708e[1179]][_0x708e[1136]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx18[_0x708e[236]]-= this[_0x708e[1179]][_0x708e[1137]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx15[_0x708e[2007]](_0xb3dcx18,!1));this[_0x708e[746]]( new mxEventObject(mxEvent.CONNECT,_0x708e[246],_0xb3dcxa,_0x708e[763],_0xb3dcx4,_0x708e[772],_0xb3dcx5))}}catch(q){mxLog[_0x708e[539]](),mxLog[_0x708e[143]](q[_0x708e[281]])}finally{_0xb3dcx9[_0x708e[476]]()};this[_0x708e[804]]&& this[_0x708e[2707]](_0xb3dcxa,_0xb3dcx3)}};mxConnectionHandler[_0x708e[202]][_0x708e[2707]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1179]][_0x708e[2450]](_0xb3dcx2)};mxConnectionHandler[_0x708e[202]][_0x708e[1960]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){if(null== this[_0x708e[1033]]){return this[_0x708e[1179]][_0x708e[1960]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa)};_0xb3dcx3= this[_0x708e[2503]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa);return _0xb3dcx3= this[_0x708e[1179]][_0x708e[2504]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx5,_0xb3dcx9)};mxConnectionHandler[_0x708e[202]][_0x708e[2939]]= function(_0xb3dcx2,_0xb3dcx3){for(var _0xb3dcx4=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx3);null!= _0xb3dcx4&& _0xb3dcx4[_0x708e[1500]];){_0xb3dcx3= this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](_0xb3dcx3),_0xb3dcx4= this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx3)};var _0xb3dcx5=this[_0x708e[1179]][_0x708e[899]]([_0xb3dcx3])[0],_0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1721]](_0xb3dcx5);if(null!= _0xb3dcx4){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[2689]](_0xb3dcx2);_0xb3dcx4[_0x708e[235]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx9[_0x708e[235]]- _0xb3dcx4[_0x708e[117]]/ 2)- this[_0x708e[1179]][_0x708e[1136]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]];_0xb3dcx4[_0x708e[236]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx9[_0x708e[236]]- _0xb3dcx4[_0x708e[119]]/ 2)- this[_0x708e[1179]][_0x708e[1137]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]];if(null!= this[_0x708e[2823]]){var _0xb3dcxa=this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx3);if(null!= _0xb3dcxa){var _0xb3dcx12=this[_0x708e[2940]]();Math[_0x708e[425]](this[_0x708e[1179]][_0x708e[1021]](this[_0x708e[2823]][_0x708e[235]])- this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx9[_0x708e[235]]))<= _0xb3dcx12?_0xb3dcx4[_0x708e[235]]= _0xb3dcxa[_0x708e[235]]:Math[_0x708e[425]](this[_0x708e[1179]][_0x708e[1021]](this[_0x708e[2823]][_0x708e[236]])- this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx9[_0x708e[236]]))<= _0xb3dcx12&& (_0xb3dcx4[_0x708e[236]]= _0xb3dcxa[_0x708e[236]])}}};return _0xb3dcx5};mxConnectionHandler[_0x708e[202]][_0x708e[2940]]= function(){return this[_0x708e[1179]][_0x708e[997]]()?this[_0x708e[1179]][_0x708e[1020]]:this[_0x708e[1179]][_0x708e[2353]]};mxConnectionHandler[_0x708e[202]][_0x708e[2503]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null;null!= this[_0x708e[1033]]&& (_0xb3dcx9= this[_0x708e[1033]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5));null== _0xb3dcx9&& (_0xb3dcx9= new mxCell(_0xb3dcx2|| _0x708e[110]),_0xb3dcx9[_0x708e[1994]](!0),_0xb3dcx9[_0x708e[475]](_0xb3dcx5),_0xb3dcx2= new mxGeometry,_0xb3dcx2[_0x708e[1500]]= !0,_0xb3dcx9[_0x708e[1724]](_0xb3dcx2));return _0xb3dcx9};mxConnectionHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[1148]](this);null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[515]](),this[_0x708e[253]]= null);null!= this[_0x708e[2885]]&& (this[_0x708e[2885]][_0x708e[515]](),this[_0x708e[2885]]= null);null!= this[_0x708e[2886]]&& (this[_0x708e[2886]][_0x708e[515]](),this[_0x708e[2886]]= null);null!= this[_0x708e[1176]]&& (this[_0x708e[1179]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[1176]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[1176]]),this[_0x708e[1176]]= null);null!= this[_0x708e[2898]]&& (this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2898]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[2898]]),this[_0x708e[2898]]= null)};function mxConstraintHandler(_0xb3dcx2){this[_0x708e[1179]]= _0xb3dcx2}mxConstraintHandler[_0x708e[202]][_0x708e[2941]]= new mxImage(mxClient[_0x708e[88]]+ _0x708e[2942],5,5);mxConstraintHandler[_0x708e[202]][_0x708e[1179]]= null;mxConstraintHandler[_0x708e[202]][_0x708e[984]]= !0;mxConstraintHandler[_0x708e[202]][_0x708e[2943]]= mxConstants[_0x708e[2854]];mxConstraintHandler[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxConstraintHandler[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxConstraintHandler[_0x708e[202]][_0x708e[862]]= function(){if(null!= this[_0x708e[2944]]){for(var _0xb3dcx2=0;_0xb3dcx2< this[_0x708e[2944]][_0x708e[67]];_0xb3dcx2++){this[_0x708e[2944]][_0xb3dcx2][_0x708e[515]]()};this[_0x708e[2944]]= null};null!= this[_0x708e[2945]]&& (this[_0x708e[2945]][_0x708e[515]](),this[_0x708e[2945]]= null);this[_0x708e[2946]]= this[_0x708e[2919]]= this[_0x708e[987]]= this[_0x708e[2947]]= this[_0x708e[2920]]= null};mxConstraintHandler[_0x708e[202]][_0x708e[2636]]= function(){return this[_0x708e[1179]][_0x708e[2636]]()};mxConstraintHandler[_0x708e[202]][_0x708e[2948]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return this[_0x708e[2941]]};mxConstraintHandler[_0x708e[202]][_0x708e[2949]]= function(_0xb3dcx2,_0xb3dcx3){return !1};mxConstraintHandler[_0x708e[202]][_0x708e[2729]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[994]]()&& !this[_0x708e[2949]](_0xb3dcx2)){var _0xb3dcx4=this[_0x708e[2636]](),_0xb3dcx5= new mxRectangle(_0xb3dcx2[_0x708e[734]]()- _0xb3dcx4,_0xb3dcx2[_0x708e[735]]()- _0xb3dcx4,2* _0xb3dcx4,2* _0xb3dcx4),_0xb3dcx9=null!= _0xb3dcx2[_0x708e[736]]()?this[_0x708e[1179]][_0x708e[2565]](_0xb3dcx2[_0x708e[736]]()):!1;if(null== this[_0x708e[2947]]|| !mxUtils[_0x708e[1825]](this[_0x708e[2947]],_0xb3dcx5)|| null!= _0xb3dcx2[_0x708e[248]]()&& null!= this[_0x708e[2919]]&& _0xb3dcx9){if(this[_0x708e[2947]]= null,_0xb3dcx2[_0x708e[248]]()!= this[_0x708e[2919]]){if(this[_0x708e[2919]]= null,this[_0x708e[1531]]= null!= _0xb3dcx2[_0x708e[248]]()&& _0xb3dcx9?this[_0x708e[1179]][_0x708e[2538]](_0xb3dcx2[_0x708e[248]](),_0xb3dcx3):null,null!= this[_0x708e[1531]]){this[_0x708e[2919]]= _0xb3dcx2[_0x708e[248]]();this[_0x708e[2947]]= new mxRectangle(_0xb3dcx2[_0x708e[248]]()[_0x708e[235]],_0xb3dcx2[_0x708e[248]]()[_0x708e[236]],_0xb3dcx2[_0x708e[248]]()[_0x708e[117]],_0xb3dcx2[_0x708e[248]]()[_0x708e[119]]);if(null!= this[_0x708e[2944]]){for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[2944]][_0x708e[67]];_0xb3dcx9++){this[_0x708e[2944]][_0xb3dcx9][_0x708e[515]]()};this[_0x708e[2946]]= this[_0x708e[2944]]= null};this[_0x708e[2944]]= [];this[_0x708e[2946]]= [];for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[1531]][_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=this[_0x708e[1179]][_0x708e[2290]](_0xb3dcx2[_0x708e[248]](),this[_0x708e[1531]][_0xb3dcx9]),_0xb3dcx12=this[_0x708e[2948]](_0xb3dcx2[_0x708e[248]](),this[_0x708e[1531]][_0xb3dcx9],_0xb3dcxa),_0xb3dcx13=_0xb3dcx12[_0x708e[390]],_0xb3dcx12= new mxRectangle(_0xb3dcxa[_0x708e[235]]- _0xb3dcx12[_0x708e[117]]/ 2,_0xb3dcxa[_0x708e[236]]- _0xb3dcx12[_0x708e[119]]/ 2,_0xb3dcx12[_0x708e[117]],_0xb3dcx12[_0x708e[119]]),_0xb3dcx12= new mxImageShape(_0xb3dcx12,_0xb3dcx13);_0xb3dcx12[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[2334]]:mxConstants[_0x708e[508]];_0xb3dcx12[_0x708e[1674]]= !1;_0xb3dcx12[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]());null!= _0xb3dcx12[_0x708e[252]][_0x708e[328]]&& _0xb3dcx12[_0x708e[252]][_0x708e[265]][_0x708e[950]](_0xb3dcx12[_0x708e[252]],_0xb3dcx12[_0x708e[252]][_0x708e[265]][_0x708e[285]]);_0xb3dcx13= mxUtils[_0x708e[885]](this,function(){return null!= this[_0x708e[2919]]?this[_0x708e[2919]]:_0xb3dcx2[_0x708e[248]]()});_0xb3dcx12[_0x708e[258]]();mxEvent[_0x708e[2733]](_0xb3dcx12[_0x708e[252]],this[_0x708e[1179]],_0xb3dcx13);this[_0x708e[2947]][_0x708e[99]](_0xb3dcx12[_0x708e[1562]]);this[_0x708e[2944]][_0x708e[207]](_0xb3dcx12);this[_0x708e[2946]][_0x708e[207]](_0xb3dcxa)};this[_0x708e[2947]][_0x708e[244]](_0xb3dcx4)}else {if(null!= this[_0x708e[2944]]){null!= this[_0x708e[2945]]&& (this[_0x708e[2945]][_0x708e[515]](),this[_0x708e[2945]]= null);for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[2944]][_0x708e[67]];_0xb3dcx9++){this[_0x708e[2944]][_0xb3dcx9][_0x708e[515]]()};this[_0x708e[2946]]= this[_0x708e[2944]]= null}}}};this[_0x708e[987]]= this[_0x708e[2920]]= null;if(null!= this[_0x708e[2944]]&& null!= this[_0x708e[1531]]&& (null== _0xb3dcx2[_0x708e[248]]()|| this[_0x708e[2919]]== _0xb3dcx2[_0x708e[248]]())){for(_0xb3dcx9= 0;_0xb3dcx9< this[_0x708e[2944]][_0x708e[67]];_0xb3dcx9++){if(mxUtils[_0x708e[1825]](this[_0x708e[2944]][_0xb3dcx9][_0x708e[1562]],_0xb3dcx5)){this[_0x708e[2920]]= this[_0x708e[1531]][_0xb3dcx9];this[_0x708e[987]]= this[_0x708e[2946]][_0xb3dcx9];_0xb3dcx4= this[_0x708e[2944]][_0xb3dcx9][_0x708e[1562]][_0x708e[238]]();_0xb3dcx4[_0x708e[244]](mxClient[_0x708e[80]]?3:2);mxClient[_0x708e[80]]&& (_0xb3dcx4[_0x708e[117]]-= 1,_0xb3dcx4[_0x708e[119]]-= 1);null== this[_0x708e[2945]]?(_0xb3dcx4= new mxRectangleShape(_0xb3dcx4,null,this[_0x708e[2943]],3),_0xb3dcx4[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]== mxConstants[_0x708e[508]]?mxConstants[_0x708e[508]]:mxConstants[_0x708e[1523]],_0xb3dcx4[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()),this[_0x708e[2945]]= _0xb3dcx4,_0xb3dcx13= mxUtils[_0x708e[885]](this,function(){return null!= this[_0x708e[2919]]?this[_0x708e[2919]]:_0xb3dcx2[_0x708e[248]]()}),mxEvent[_0x708e[2733]](_0xb3dcx4[_0x708e[252]],this[_0x708e[1179]],_0xb3dcx13)):(this[_0x708e[2945]][_0x708e[1562]]= _0xb3dcx4,this[_0x708e[2945]][_0x708e[258]]());break}}};null== this[_0x708e[2920]]&& null!= this[_0x708e[2945]]&& (this[_0x708e[2945]][_0x708e[515]](),this[_0x708e[2945]]= null)}};mxConstraintHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[862]]()};function mxRubberband(_0xb3dcx2){null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[1179]][_0x708e[1133]](this),this[_0x708e[2730]]= mxUtils[_0x708e[885]](this,function(){this[_0x708e[2950]]()}),this[_0x708e[1179]][_0x708e[169]](mxEvent.PAN,this[_0x708e[2730]]),mxClient[_0x708e[80]]&& mxEvent[_0x708e[169]](window,_0x708e[2428],mxUtils[_0x708e[885]](this,function(){this[_0x708e[515]]()})))}mxRubberband[_0x708e[202]][_0x708e[2951]]= 20;mxRubberband[_0x708e[202]][_0x708e[984]]= !0;mxRubberband[_0x708e[202]][_0x708e[485]]= null;mxRubberband[_0x708e[202]][_0x708e[2952]]= null;mxRubberband[_0x708e[202]][_0x708e[2953]]= 0;mxRubberband[_0x708e[202]][_0x708e[2954]]= 0;mxRubberband[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxRubberband[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxRubberband[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& this[_0x708e[994]]()&& this[_0x708e[1179]][_0x708e[994]]()&& (this[_0x708e[1179]][_0x708e[2579]](_0xb3dcx3[_0x708e[727]]())|| null== _0xb3dcx3[_0x708e[248]]())){var _0xb3dcx4=mxUtils[_0x708e[445]](this[_0x708e[1179]][_0x708e[526]]),_0xb3dcx5=mxUtils[_0x708e[444]](this[_0x708e[1179]][_0x708e[526]]);_0xb3dcx5[_0x708e[235]]-= _0xb3dcx4[_0x708e[235]];_0xb3dcx5[_0x708e[236]]-= _0xb3dcx4[_0x708e[236]];this[_0x708e[861]](_0xb3dcx3[_0x708e[730]]()+ _0xb3dcx5[_0x708e[235]],_0xb3dcx3[_0x708e[732]]()+ _0xb3dcx5[_0x708e[236]]);if(mxClient[_0x708e[133]]&& !mxClient[_0x708e[75]]&& !mxClient[_0x708e[76]]){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[526]],_0xb3dcxa=function(_0xb3dcx2){_0xb3dcx2= new mxMouseEvent(_0xb3dcx2);var _0xb3dcx3=mxUtils[_0x708e[2196]](_0xb3dcx9,_0xb3dcx2[_0x708e[730]](),_0xb3dcx2[_0x708e[732]]());_0xb3dcx2[_0x708e[725]]= _0xb3dcx3[_0x708e[235]];_0xb3dcx2[_0x708e[726]]= _0xb3dcx3[_0x708e[236]];return _0xb3dcx2};this[_0x708e[2955]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[788]](this[_0x708e[1179]],_0xb3dcxa(_0xb3dcx2))});this[_0x708e[981]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[789]](this[_0x708e[1179]],_0xb3dcxa(_0xb3dcx2))});mxEvent[_0x708e[169]](document,_0x708e[752],this[_0x708e[2955]]);mxEvent[_0x708e[169]](document,_0x708e[753],this[_0x708e[981]])};_0xb3dcx3[_0x708e[722]](!1)}};mxRubberband[_0x708e[202]][_0x708e[861]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2823]]= new mxPoint(_0xb3dcx2,_0xb3dcx3)};mxRubberband[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& null!= this[_0x708e[2823]]){var _0xb3dcx4=mxUtils[_0x708e[444]](this[_0x708e[1179]][_0x708e[526]]),_0xb3dcx5=mxUtils[_0x708e[445]](this[_0x708e[1179]][_0x708e[526]]);_0xb3dcx4[_0x708e[235]]-= _0xb3dcx5[_0x708e[235]];_0xb3dcx4[_0x708e[236]]-= _0xb3dcx5[_0x708e[236]];var _0xb3dcx5=_0xb3dcx3[_0x708e[730]]()+ _0xb3dcx4[_0x708e[235]],_0xb3dcx4=_0xb3dcx3[_0x708e[732]]()+ _0xb3dcx4[_0x708e[236]],_0xb3dcx9=this[_0x708e[2823]][_0x708e[235]]- _0xb3dcx5,_0xb3dcxa=this[_0x708e[2823]][_0x708e[236]]- _0xb3dcx4,_0xb3dcx12=this[_0x708e[1179]][_0x708e[2353]];if(null!= this[_0x708e[485]]|| Math[_0x708e[425]](_0xb3dcx9)> _0xb3dcx12|| Math[_0x708e[425]](_0xb3dcxa)> _0xb3dcx12){null== this[_0x708e[485]]&& (this[_0x708e[485]]= this[_0x708e[2156]]()),mxUtils[_0x708e[2440]](),this[_0x708e[2729]](_0xb3dcx5,_0xb3dcx4),_0xb3dcx3[_0x708e[722]]()}}};mxRubberband[_0x708e[202]][_0x708e[2156]]= function(){null== this[_0x708e[2952]]&& (this[_0x708e[2952]]= document[_0x708e[55]](_0x708e[485]),this[_0x708e[2952]][_0x708e[926]]= _0x708e[2956],mxUtils[_0x708e[254]](this[_0x708e[2952]],this[_0x708e[2951]]));this[_0x708e[1179]][_0x708e[526]][_0x708e[62]](this[_0x708e[2952]]);return this[_0x708e[2952]]};mxRubberband[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null!= this[_0x708e[485]];this[_0x708e[862]]();_0xb3dcx4&& (_0xb3dcx4= new mxRectangle(this[_0x708e[235]],this[_0x708e[236]],this[_0x708e[117]],this[_0x708e[119]]),this[_0x708e[1179]][_0x708e[2698]](_0xb3dcx4,_0xb3dcx3[_0x708e[727]]()),_0xb3dcx3[_0x708e[722]]())};mxRubberband[_0x708e[202]][_0x708e[862]]= function(){null!= this[_0x708e[485]]&& this[_0x708e[485]][_0x708e[265]][_0x708e[266]](this[_0x708e[485]]);null!= this[_0x708e[2955]]&& (mxEvent[_0x708e[745]](document,_0x708e[752],this[_0x708e[2955]]),this[_0x708e[2955]]= null);null!= this[_0x708e[981]]&& (mxEvent[_0x708e[745]](document,_0x708e[753],this[_0x708e[981]]),this[_0x708e[981]]= null);this[_0x708e[2954]]= this[_0x708e[2953]]= 0;this[_0x708e[485]]= this[_0x708e[2823]]= null};mxRubberband[_0x708e[202]][_0x708e[2729]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[2953]]= _0xb3dcx2;this[_0x708e[2954]]= _0xb3dcx3;this[_0x708e[2950]]()};mxRubberband[_0x708e[202]][_0x708e[2950]]= function(){if(null!= this[_0x708e[485]]){var _0xb3dcx2=this[_0x708e[2953]]- this[_0x708e[1179]][_0x708e[1136]],_0xb3dcx3=this[_0x708e[2954]]- this[_0x708e[1179]][_0x708e[1137]];this[_0x708e[235]]= Math[_0x708e[243]](this[_0x708e[2823]][_0x708e[235]],_0xb3dcx2);this[_0x708e[236]]= Math[_0x708e[243]](this[_0x708e[2823]][_0x708e[236]],_0xb3dcx3);this[_0x708e[117]]= Math[_0x708e[160]](this[_0x708e[2823]][_0x708e[235]],_0xb3dcx2)- this[_0x708e[235]];this[_0x708e[119]]= Math[_0x708e[160]](this[_0x708e[2823]][_0x708e[236]],_0xb3dcx3)- this[_0x708e[236]];_0xb3dcx2= mxClient[_0x708e[47]]?this[_0x708e[1179]][_0x708e[1137]]:0;this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= this[_0x708e[235]]+ (mxClient[_0x708e[47]]?this[_0x708e[1179]][_0x708e[1136]]:0)+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= this[_0x708e[236]]+ _0xb3dcx2+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[117]]= Math[_0x708e[160]](1,this[_0x708e[117]])+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[119]]= Math[_0x708e[160]](1,this[_0x708e[119]])+ _0x708e[168]}};mxRubberband[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[2717]]|| (this[_0x708e[2717]]= !0,this[_0x708e[1179]][_0x708e[1148]](this),this[_0x708e[1179]][_0x708e[745]](this[_0x708e[2730]]),this[_0x708e[862]](),null!= this[_0x708e[2952]]&& (this[_0x708e[2952]]= null))};function mxVertexHandler(_0xb3dcx2){null!= _0xb3dcx2&& (this[_0x708e[724]]= _0xb3dcx2,this[_0x708e[176]]())}mxVertexHandler[_0x708e[202]][_0x708e[1179]]= null;mxVertexHandler[_0x708e[202]][_0x708e[724]]= null;mxVertexHandler[_0x708e[202]][_0x708e[2957]]= !1;mxVertexHandler[_0x708e[202]][_0x708e[1983]]= null;mxVertexHandler[_0x708e[202]][_0x708e[2958]]= !0;mxVertexHandler[_0x708e[202]][_0x708e[2959]]= null;mxVertexHandler[_0x708e[202]][_0x708e[2353]]= 0;mxVertexHandler[_0x708e[202]][_0x708e[2809]]= !1;mxVertexHandler[_0x708e[202]][_0x708e[2960]]= !0;mxVertexHandler[_0x708e[202]][_0x708e[176]]= function(){this[_0x708e[1179]]= this[_0x708e[724]][_0x708e[441]][_0x708e[1179]];this[_0x708e[2961]]= this[_0x708e[2962]](this[_0x708e[724]]);this[_0x708e[1562]]= new mxRectangle(this[_0x708e[2961]][_0x708e[235]],this[_0x708e[2961]][_0x708e[236]],this[_0x708e[2961]][_0x708e[117]],this[_0x708e[2961]][_0x708e[119]]);this[_0x708e[2732]]= this[_0x708e[2963]](this[_0x708e[1562]]);this[_0x708e[2732]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]];this[_0x708e[2732]][_0x708e[1229]]= !1;this[_0x708e[2732]][_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]());this[_0x708e[1179]][_0x708e[1712]](this[_0x708e[724]][_0x708e[246]])&& (this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[2832]]);mxEvent[_0x708e[2733]](this[_0x708e[2732]][_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);if(0>= mxGraphHandler[_0x708e[202]][_0x708e[2795]]|| this[_0x708e[1179]][_0x708e[2694]]()< mxGraphHandler[_0x708e[202]][_0x708e[2795]]){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[2657]](this[_0x708e[724]][_0x708e[246]]);this[_0x708e[2964]]= [];if(_0xb3dcx2|| this[_0x708e[1179]][_0x708e[2628]](this[_0x708e[724]][_0x708e[246]])&& 2<= this[_0x708e[724]][_0x708e[117]]&& 2<= this[_0x708e[724]][_0x708e[119]]){var _0xb3dcx3=0;_0xb3dcx2&& (this[_0x708e[2957]]|| (this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[936],_0xb3dcx3++)),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2965],_0xb3dcx3++)),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2966],_0xb3dcx3++)),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2967],_0xb3dcx3++)),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2968],_0xb3dcx3++)),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2969],_0xb3dcx3++)),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2970],_0xb3dcx3++))),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2735]](_0x708e[2971],_0xb3dcx3++)));_0xb3dcx2= this[_0x708e[1179]][_0x708e[251]][_0x708e[1721]](this[_0x708e[724]][_0x708e[246]]);null!= _0xb3dcx2&& (!_0xb3dcx2[_0x708e[1500]]&& !this[_0x708e[1179]][_0x708e[1730]](this[_0x708e[724]][_0x708e[246]])&& this[_0x708e[1179]][_0x708e[2628]](this[_0x708e[724]][_0x708e[246]]))&& (this[_0x708e[2972]]= this[_0x708e[2735]](mxConstants.CURSOR_LABEL_HANDLE,mxEvent.LABEL_HANDLE,mxConstants.LABEL_HANDLE_SIZE,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2972]]))}else {this[_0x708e[1179]][_0x708e[1712]](this[_0x708e[724]][_0x708e[246]])&& (!this[_0x708e[1179]][_0x708e[2657]](this[_0x708e[724]][_0x708e[246]])&& 2> this[_0x708e[724]][_0x708e[117]]&& 2> this[_0x708e[724]][_0x708e[119]])&& (this[_0x708e[2972]]= this[_0x708e[2735]](mxConstants.CURSOR_MOVABLE_VERTEX,null,null,mxConstants.LABEL_HANDLE_FILLCOLOR),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2972]]))}};if(this[_0x708e[2809]]&& (0>= mxGraphHandler[_0x708e[202]][_0x708e[2795]]|| this[_0x708e[1179]][_0x708e[2694]]()< mxGraphHandler[_0x708e[202]][_0x708e[2795]])){this[_0x708e[2973]]= this[_0x708e[2735]](_0x708e[356],mxEvent.ROTATION_HANDLE,mxConstants[_0x708e[2974]]+ 3,mxConstants.HANDLE_FILLCOLOR),this[_0x708e[2964]][_0x708e[207]](this[_0x708e[2973]])};this[_0x708e[258]]()};mxVertexHandler[_0x708e[202]][_0x708e[2962]]= function(_0xb3dcx2){return new mxRectangle(Math[_0x708e[488]](_0xb3dcx2[_0x708e[235]]),Math[_0x708e[488]](_0xb3dcx2[_0x708e[236]]),Math[_0x708e[488]](_0xb3dcx2[_0x708e[117]]),Math[_0x708e[488]](_0xb3dcx2[_0x708e[119]]))};mxVertexHandler[_0x708e[202]][_0x708e[2963]]= function(_0xb3dcx2){_0xb3dcx2= new mxRectangleShape(_0xb3dcx2,null,this[_0x708e[2975]]());_0xb3dcx2[_0x708e[1307]]= this[_0x708e[2976]]();_0xb3dcx2[_0x708e[1522]]= this[_0x708e[2977]]();return _0xb3dcx2};mxVertexHandler[_0x708e[202]][_0x708e[2975]]= function(){return mxConstants[_0x708e[2978]]};mxVertexHandler[_0x708e[202]][_0x708e[2976]]= function(){return mxConstants[_0x708e[2979]]};mxVertexHandler[_0x708e[202]][_0x708e[2977]]= function(){return mxConstants[_0x708e[2980]]};mxVertexHandler[_0x708e[202]][_0x708e[2735]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){_0xb3dcx4= _0xb3dcx4|| mxConstants[_0x708e[2974]];_0xb3dcx4= new mxRectangle(0,0,_0xb3dcx4,_0xb3dcx4);_0xb3dcx5= this[_0x708e[2981]](_0xb3dcx4,_0xb3dcx3,_0xb3dcx5);_0xb3dcx5[_0x708e[1567]]()&& null!= this[_0x708e[724]][_0x708e[963]]&& this[_0x708e[724]][_0x708e[963]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]]?(_0xb3dcx5[_0x708e[1562]][_0x708e[119]]-= 1,_0xb3dcx5[_0x708e[1562]][_0x708e[117]]-= 1,_0xb3dcx5[_0x708e[507]]= mxConstants[_0x708e[1656]],_0xb3dcx5[_0x708e[176]](this[_0x708e[1179]][_0x708e[526]])):(_0xb3dcx5[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[2334]]:mxConstants[_0x708e[508]],_0xb3dcx5[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()));mxEvent[_0x708e[2733]](_0xb3dcx5[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);this[_0x708e[1179]][_0x708e[994]]()&& (_0xb3dcx5[_0x708e[252]][_0x708e[124]][_0x708e[270]]= _0xb3dcx2);this[_0x708e[2982]](_0xb3dcx3)|| (_0xb3dcx5[_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188]);return _0xb3dcx5};mxVertexHandler[_0x708e[202]][_0x708e[2982]]= function(_0xb3dcx2){return !0};mxVertexHandler[_0x708e[202]][_0x708e[2981]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return null!= this[_0x708e[2959]]?(_0xb3dcx2[_0x708e[117]]= this[_0x708e[2959]][_0x708e[117]],_0xb3dcx2[_0x708e[119]]= this[_0x708e[2959]][_0x708e[119]], new mxImageShape(_0xb3dcx2,this[_0x708e[2959]][_0x708e[390]])):_0xb3dcx3== mxEvent[_0x708e[2983]]? new mxEllipse(_0xb3dcx2,_0xb3dcx4|| mxConstants[_0x708e[2984]],mxConstants.HANDLE_STROKECOLOR): new mxRectangleShape(_0xb3dcx2,_0xb3dcx4|| mxConstants[_0x708e[2984]],mxConstants.HANDLE_STROKECOLOR)};mxVertexHandler[_0x708e[202]][_0x708e[2985]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null!= _0xb3dcx2&& (_0xb3dcx2[_0x708e[1562]][_0x708e[235]]= Math[_0x708e[488]](_0xb3dcx3- _0xb3dcx2[_0x708e[1562]][_0x708e[117]]/ 2),_0xb3dcx2[_0x708e[1562]][_0x708e[236]]= Math[_0x708e[488]](_0xb3dcx4- _0xb3dcx2[_0x708e[1562]][_0x708e[119]]/ 2),_0xb3dcx2[_0x708e[258]]())};mxVertexHandler[_0x708e[202]][_0x708e[2986]]= function(_0xb3dcx2){if(_0xb3dcx2[_0x708e[729]](this[_0x708e[2973]])){return mxEvent[_0x708e[2983]]};if(_0xb3dcx2[_0x708e[729]](this[_0x708e[2972]])){return mxEvent[_0x708e[2987]]};if(null!= this[_0x708e[2964]]){for(var _0xb3dcx3=this[_0x708e[2353]],_0xb3dcx3=this[_0x708e[2958]]&& (mxClient[_0x708e[80]]|| 0< _0xb3dcx3)? new mxRectangle(_0xb3dcx2[_0x708e[734]]()- _0xb3dcx3,_0xb3dcx2[_0x708e[735]]()- _0xb3dcx3,2* _0xb3dcx3,2* _0xb3dcx3):null,_0xb3dcx4=0;_0xb3dcx4< this[_0x708e[2964]][_0x708e[67]];_0xb3dcx4++){if(_0xb3dcx2[_0x708e[729]](this[_0x708e[2964]][_0xb3dcx4])|| null!= _0xb3dcx3&& mxUtils[_0x708e[1825]](this[_0x708e[2964]][_0xb3dcx4][_0x708e[1562]],_0xb3dcx3)){return _0xb3dcx4}}};return null};mxVertexHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& this[_0x708e[1179]][_0x708e[994]]()&& !this[_0x708e[1179]][_0x708e[2579]](_0xb3dcx3[_0x708e[727]]())&& (0< this[_0x708e[2353]]|| _0xb3dcx3[_0x708e[248]]()== this[_0x708e[724]])){var _0xb3dcx4=this[_0x708e[2986]](_0xb3dcx3);null!= _0xb3dcx4&& (this[_0x708e[861]](_0xb3dcx3[_0x708e[730]](),_0xb3dcx3[_0x708e[732]](),_0xb3dcx4),_0xb3dcx3[_0x708e[722]]())}};mxVertexHandler[_0x708e[202]][_0x708e[861]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],_0xb3dcx2,_0xb3dcx3);this[_0x708e[2739]]= _0xb3dcx2[_0x708e[235]];this[_0x708e[2740]]= _0xb3dcx2[_0x708e[236]];this[_0x708e[1983]]= _0xb3dcx4;this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[495]]= _0xb3dcx4== mxEvent[_0x708e[2983]]?_0x708e[497]:_0x708e[130];this[_0x708e[2988]]= this[_0x708e[2963]](this[_0x708e[1562]]);!(mxClient[_0x708e[48]]&& 0!= Number(this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]))&& null!= this[_0x708e[724]][_0x708e[963]]&& this[_0x708e[724]][_0x708e[963]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]]?(this[_0x708e[2988]][_0x708e[507]]= mxConstants[_0x708e[1656]],this[_0x708e[2988]][_0x708e[176]](this[_0x708e[1179]][_0x708e[526]])):(this[_0x708e[2988]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]],this[_0x708e[2988]][_0x708e[176]](this[_0x708e[1179]][_0x708e[441]][_0x708e[1524]]()))};mxVertexHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& null!= this[_0x708e[1983]]){var _0xb3dcx4= new mxPoint(_0xb3dcx3[_0x708e[734]](),_0xb3dcx3[_0x708e[735]]()),_0xb3dcx5=this[_0x708e[1179]][_0x708e[1018]](_0xb3dcx3[_0x708e[727]]()),_0xb3dcx9=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]];if(this[_0x708e[1983]]== mxEvent[_0x708e[2987]]){_0xb3dcx5&& (_0xb3dcx4[_0x708e[235]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx4[_0x708e[235]]/ _0xb3dcx9)* _0xb3dcx9,_0xb3dcx4[_0x708e[236]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx4[_0x708e[236]]/ _0xb3dcx9)* _0xb3dcx9),this[_0x708e[2985]](this[_0x708e[2964]][this[_0x708e[2964]][_0x708e[67]]- 1],_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]])}else {if(this[_0x708e[1983]]== mxEvent[_0x708e[2983]]){var _0xb3dcxa=this[_0x708e[724]][_0x708e[235]]+ this[_0x708e[724]][_0x708e[117]]/ 2- _0xb3dcx4[_0x708e[235]],_0xb3dcx12=this[_0x708e[724]][_0x708e[236]]+ this[_0x708e[724]][_0x708e[119]]/ 2- _0xb3dcx4[_0x708e[236]];this[_0x708e[2989]]= 0!= _0xb3dcxa?180* Math[_0x708e[2990]](_0xb3dcx12/ _0xb3dcxa)/ Math[_0x708e[424]]+ 90:0> _0xb3dcx12?180:0;0< _0xb3dcxa&& (this[_0x708e[2989]]-= 180);this[_0x708e[2960]]&& (_0xb3dcxa= _0xb3dcx4[_0x708e[235]]- this[_0x708e[724]][_0x708e[241]](),_0xb3dcx12= _0xb3dcx4[_0x708e[236]]- this[_0x708e[724]][_0x708e[242]](),_0xb3dcxa= Math[_0x708e[425]](Math[_0x708e[428]](_0xb3dcxa* _0xb3dcxa+ _0xb3dcx12* _0xb3dcx12)- this[_0x708e[724]][_0x708e[119]]/ 2- 20),_0xb3dcxa= Math[_0x708e[160]](1,5* Math[_0x708e[243]](3,Math[_0x708e[160]](0,Math[_0x708e[488]](80/ Math[_0x708e[425]](_0xb3dcxa))))),this[_0x708e[2989]]= Math[_0x708e[488]](this[_0x708e[2989]]/ _0xb3dcxa)* _0xb3dcxa);this[_0x708e[2732]][_0x708e[603]]= this[_0x708e[2989]];this[_0x708e[2732]][_0x708e[258]]()}else {var _0xb3dcx13=mxUtils[_0x708e[431]](this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]),_0xb3dcx14=Math[_0x708e[426]](-_0xb3dcx13),_0xb3dcx15=Math[_0x708e[427]](-_0xb3dcx13),_0xb3dcx16= new mxPoint(this[_0x708e[724]][_0x708e[241]](),this[_0x708e[724]][_0x708e[242]]()),_0xb3dcxa=_0xb3dcx4[_0x708e[235]]- this[_0x708e[2739]],_0xb3dcx12=_0xb3dcx4[_0x708e[236]]- this[_0x708e[2740]],_0xb3dcx4=this[_0x708e[1179]][_0x708e[441]][_0x708e[513]],_0xb3dcx17=_0xb3dcx15* _0xb3dcxa+ _0xb3dcx14* _0xb3dcx12,_0xb3dcxa=_0xb3dcx14* _0xb3dcxa- _0xb3dcx15* _0xb3dcx12;this[_0x708e[1562]]= this[_0x708e[2991]](this[_0x708e[2961]],_0xb3dcxa,_0xb3dcx17,this[_0x708e[1983]],_0xb3dcx5,_0xb3dcx9,_0xb3dcx4);_0xb3dcx14= Math[_0x708e[426]](_0xb3dcx13);_0xb3dcx15= Math[_0x708e[427]](_0xb3dcx13);_0xb3dcx12= new mxPoint(this[_0x708e[1562]][_0x708e[241]](),this[_0x708e[1562]][_0x708e[242]]());_0xb3dcxa= _0xb3dcx12[_0x708e[235]]- _0xb3dcx16[_0x708e[235]];_0xb3dcx12= _0xb3dcx12[_0x708e[236]]- _0xb3dcx16[_0x708e[236]];_0xb3dcx16= _0xb3dcx15* _0xb3dcxa+ _0xb3dcx14* _0xb3dcx12- _0xb3dcx12;this[_0x708e[1562]][_0x708e[235]]+= _0xb3dcx14* _0xb3dcxa- _0xb3dcx15* _0xb3dcx12- _0xb3dcxa;this[_0x708e[1562]][_0x708e[236]]+= _0xb3dcx16;this[_0x708e[2932]]()}};_0xb3dcx3[_0x708e[722]]()}else {null!= this[_0x708e[2986]](_0xb3dcx3)&& _0xb3dcx3[_0x708e[722]](!1)}};mxVertexHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){if(!_0xb3dcx3[_0x708e[721]]()&& null!= this[_0x708e[1983]]&& null!= this[_0x708e[724]]){var _0xb3dcx4= new mxPoint(_0xb3dcx3[_0x708e[734]](),_0xb3dcx3[_0x708e[735]]());this[_0x708e[1179]][_0x708e[502]]()[_0x708e[473]]();try{if(this[_0x708e[1983]]== mxEvent[_0x708e[2983]]){null!= this[_0x708e[2989]]&& this[_0x708e[2992]](this[_0x708e[724]][_0x708e[246]],this[_0x708e[2989]]- (this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| 0))}else {var _0xb3dcx5=this[_0x708e[1179]][_0x708e[1018]](_0xb3dcx3[_0x708e[727]]()),_0xb3dcx9=mxUtils[_0x708e[431]](this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]),_0xb3dcxa=Math[_0x708e[426]](-_0xb3dcx9),_0xb3dcx12=Math[_0x708e[427]](-_0xb3dcx9),_0xb3dcx13=_0xb3dcx4[_0x708e[235]]- this[_0x708e[2739]],_0xb3dcx14=_0xb3dcx4[_0x708e[236]]- this[_0x708e[2740]],_0xb3dcx4=_0xb3dcx12* _0xb3dcx13+ _0xb3dcxa* _0xb3dcx14,_0xb3dcx13=_0xb3dcxa* _0xb3dcx13- _0xb3dcx12* _0xb3dcx14,_0xb3dcx14=_0xb3dcx4,_0xb3dcx15=this[_0x708e[1179]][_0x708e[441]][_0x708e[255]];this[_0x708e[2526]](this[_0x708e[724]][_0x708e[246]],_0xb3dcx13/ _0xb3dcx15,_0xb3dcx14/ _0xb3dcx15,this[_0x708e[1983]],_0xb3dcx5)}}finally{this[_0x708e[1179]][_0x708e[502]]()[_0x708e[476]]()};this[_0x708e[862]]();_0xb3dcx3[_0x708e[722]]()}};mxVertexHandler[_0x708e[202]][_0x708e[2992]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]();if(_0xb3dcx4[_0x708e[1193]](_0xb3dcx2)){var _0xb3dcx5=_0xb3dcx2== this[_0x708e[724]]?this[_0x708e[724]]:this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx2);null!= _0xb3dcx5&& this[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_ROTATION,(_0xb3dcx5[_0x708e[124]][mxConstants[_0x708e[2278]]]|| 0)+ _0xb3dcx3,[_0xb3dcx2]);if(this[_0x708e[724]][_0x708e[246]]!= _0xb3dcx2&& (_0xb3dcx5= this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx2),null!= _0xb3dcx5&& !_0xb3dcx5[_0x708e[1500]])){if(0!= _0xb3dcx3){var _0xb3dcx9=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](_0xb3dcx2),_0xb3dcxa=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx9);if(!_0xb3dcx5[_0x708e[1500]]&& null!= _0xb3dcxa){var _0xb3dcx12=mxUtils[_0x708e[431]](_0xb3dcx3),_0xb3dcx9=Math[_0x708e[426]](_0xb3dcx12),_0xb3dcx12=Math[_0x708e[427]](_0xb3dcx12),_0xb3dcx13= new mxPoint(_0xb3dcx5[_0x708e[241]](),_0xb3dcx5[_0x708e[242]]()),_0xb3dcxa= new mxPoint(_0xb3dcxa[_0x708e[117]]/ 2,_0xb3dcxa[_0x708e[119]]/ 2),_0xb3dcx9=mxUtils[_0x708e[432]](_0xb3dcx13,_0xb3dcx9,_0xb3dcx12,_0xb3dcxa),_0xb3dcx5=_0xb3dcx5[_0x708e[238]]();_0xb3dcx5[_0x708e[235]]= _0xb3dcx9[_0x708e[235]]- _0xb3dcx5[_0x708e[117]]/ 2;_0xb3dcx5[_0x708e[236]]= _0xb3dcx9[_0x708e[236]]- _0xb3dcx5[_0x708e[119]]/ 2;_0xb3dcx4[_0x708e[1724]](_0xb3dcx2,_0xb3dcx5)}}else {_0xb3dcx5= _0xb3dcx5[_0x708e[238]](),_0xb3dcx5[_0x708e[235]]+= dx,_0xb3dcx5[_0x708e[236]]+= dy,_0xb3dcx4[_0x708e[1724]](_0xb3dcx2,_0xb3dcx5)}};_0xb3dcx5= _0xb3dcx4[_0x708e[262]](_0xb3dcx2);for(_0xb3dcx9= 0;_0xb3dcx9< _0xb3dcx5;_0xb3dcx9++){this[_0x708e[2992]](_0xb3dcx4[_0x708e[263]](_0xb3dcx2,_0xb3dcx9),_0xb3dcx3)}}};mxVertexHandler[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[1983]]= this[_0x708e[2989]]= null;null!= this[_0x708e[2988]]&& (this[_0x708e[2988]][_0x708e[515]](),this[_0x708e[2988]]= null);null!= this[_0x708e[2732]]&& (this[_0x708e[2732]][_0x708e[252]][_0x708e[124]][_0x708e[495]]= _0x708e[497],this[_0x708e[2961]]= this[_0x708e[2962]](this[_0x708e[724]]),this[_0x708e[1562]]= new mxRectangle(this[_0x708e[2961]][_0x708e[235]],this[_0x708e[2961]][_0x708e[236]],this[_0x708e[2961]][_0x708e[117]],this[_0x708e[2961]][_0x708e[119]]),this[_0x708e[2932]]())};mxVertexHandler[_0x708e[202]][_0x708e[2526]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=this[_0x708e[1179]][_0x708e[251]][_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcxa){if(_0xb3dcx5== mxEvent[_0x708e[2987]]){_0xb3dcx5= this[_0x708e[1179]][_0x708e[441]][_0x708e[255]],_0xb3dcx3= (this[_0x708e[2972]][_0x708e[1562]][_0x708e[241]]()- this[_0x708e[2739]])/ _0xb3dcx5,_0xb3dcx4= (this[_0x708e[2972]][_0x708e[1562]][_0x708e[242]]()- this[_0x708e[2740]])/ _0xb3dcx5,_0xb3dcxa= _0xb3dcxa[_0x708e[238]](),null== _0xb3dcxa[_0x708e[1368]]?_0xb3dcxa[_0x708e[1368]]= new mxPoint(_0xb3dcx3,_0xb3dcx4):(_0xb3dcxa[_0x708e[1368]][_0x708e[235]]+= _0xb3dcx3,_0xb3dcxa[_0x708e[1368]][_0x708e[236]]+= _0xb3dcx4),this[_0x708e[1179]][_0x708e[251]][_0x708e[1724]](_0xb3dcx2,_0xb3dcxa)}else {_0xb3dcx5= this[_0x708e[2991]](_0xb3dcxa,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,1, new mxPoint(0,0));var _0xb3dcx12=mxUtils[_0x708e[431]](this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]);if(0!= _0xb3dcx12){_0xb3dcx3= _0xb3dcx5[_0x708e[241]]()- _0xb3dcxa[_0x708e[241]]();_0xb3dcx4= _0xb3dcx5[_0x708e[242]]()- _0xb3dcxa[_0x708e[242]]();_0xb3dcx9= Math[_0x708e[426]](_0xb3dcx12);var _0xb3dcx13=Math[_0x708e[427]](_0xb3dcx12),_0xb3dcx12=_0xb3dcx9* _0xb3dcx3- _0xb3dcx13* _0xb3dcx4- _0xb3dcx3;_0xb3dcx3= _0xb3dcx13* _0xb3dcx3+ _0xb3dcx9* _0xb3dcx4- _0xb3dcx4;_0xb3dcx4= _0xb3dcx5[_0x708e[235]]- _0xb3dcxa[_0x708e[235]];var _0xb3dcx14=_0xb3dcx5[_0x708e[236]]- _0xb3dcxa[_0x708e[236]],_0xb3dcx15=_0xb3dcx9* _0xb3dcx4- _0xb3dcx13* _0xb3dcx14;_0xb3dcx9= _0xb3dcx13* _0xb3dcx4+ _0xb3dcx9* _0xb3dcx14;_0xb3dcx5[_0x708e[235]]+= _0xb3dcx12;_0xb3dcx5[_0x708e[236]]+= _0xb3dcx3;if(!this[_0x708e[1179]][_0x708e[1742]](_0xb3dcx2)&& (0!= _0xb3dcx12|| 0!= _0xb3dcx3)){_0xb3dcx4= _0xb3dcxa[_0x708e[235]]- _0xb3dcx5[_0x708e[235]]+ _0xb3dcx15,_0xb3dcx14= _0xb3dcxa[_0x708e[236]]- _0xb3dcx5[_0x708e[236]]+ _0xb3dcx9,this[_0x708e[2993]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx14)}};this[_0x708e[1179]][_0x708e[2526]](_0xb3dcx2,_0xb3dcx5)}}};mxVertexHandler[_0x708e[202]][_0x708e[2993]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){for(var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[262]](_0xb3dcx2),_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9;_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx5[_0x708e[263]](_0xb3dcx2,_0xb3dcxa);if(_0xb3dcx5[_0x708e[1193]](_0xb3dcx12)){var _0xb3dcx13=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx12);null!= _0xb3dcx13&& !_0xb3dcx13[_0x708e[1500]]&& (_0xb3dcx13= _0xb3dcx13[_0x708e[238]](),_0xb3dcx13[_0x708e[235]]+= _0xb3dcx3,_0xb3dcx13[_0x708e[236]]+= _0xb3dcx4,_0xb3dcx5[_0x708e[1724]](_0xb3dcx12,_0xb3dcx13))}}};mxVertexHandler[_0x708e[202]][_0x708e[2991]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){if(this[_0x708e[2957]]){_0xb3dcx12= _0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]+ _0xb3dcx3;var _0xb3dcx13=_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]+ _0xb3dcx4;_0xb3dcx9&& (_0xb3dcx12= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx12/ _0xb3dcxa)* _0xb3dcxa,_0xb3dcx13= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx13/ _0xb3dcxa)* _0xb3dcxa);_0xb3dcxa= new mxRectangle(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]],0,0);_0xb3dcxa[_0x708e[99]]( new mxRectangle(_0xb3dcx12,_0xb3dcx13,0,0));return _0xb3dcxa};var _0xb3dcx13=_0xb3dcx2[_0x708e[235]]- _0xb3dcx12[_0x708e[235]]* _0xb3dcxa,_0xb3dcx14=_0xb3dcx13+ _0xb3dcx2[_0x708e[117]],_0xb3dcx15=_0xb3dcx2[_0x708e[236]]- _0xb3dcx12[_0x708e[236]]* _0xb3dcxa;_0xb3dcx2= _0xb3dcx15+ _0xb3dcx2[_0x708e[119]];4< _0xb3dcx5?(_0xb3dcx2+= _0xb3dcx4,_0xb3dcx9&& (_0xb3dcx2= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2/ _0xb3dcxa)* _0xb3dcxa)):3> _0xb3dcx5&& (_0xb3dcx15+= _0xb3dcx4,_0xb3dcx9&& (_0xb3dcx15= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx15/ _0xb3dcxa)* _0xb3dcxa));if(0== _0xb3dcx5|| 3== _0xb3dcx5|| 5== _0xb3dcx5){_0xb3dcx13+= _0xb3dcx3,_0xb3dcx9&& (_0xb3dcx13= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx13/ _0xb3dcxa)* _0xb3dcxa)}else {if(2== _0xb3dcx5|| 4== _0xb3dcx5|| 7== _0xb3dcx5){_0xb3dcx14+= _0xb3dcx3,_0xb3dcx9&& (_0xb3dcx14= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx14/ _0xb3dcxa)* _0xb3dcxa)}};_0xb3dcx9= _0xb3dcx14- _0xb3dcx13;_0xb3dcx2-= _0xb3dcx15;0> _0xb3dcx9&& (_0xb3dcx13+= _0xb3dcx9,_0xb3dcx9= Math[_0x708e[425]](_0xb3dcx9));0> _0xb3dcx2&& (_0xb3dcx15+= _0xb3dcx2,_0xb3dcx2= Math[_0x708e[425]](_0xb3dcx2));return new mxRectangle(_0xb3dcx13+ _0xb3dcx12[_0x708e[235]]* _0xb3dcxa,_0xb3dcx15+ _0xb3dcx12[_0x708e[236]]* _0xb3dcxa,_0xb3dcx9,_0xb3dcx2)};mxVertexHandler[_0x708e[202]][_0x708e[258]]= function(){this[_0x708e[2961]]= this[_0x708e[2962]](this[_0x708e[724]]);this[_0x708e[1562]]= new mxRectangle(this[_0x708e[724]][_0x708e[235]],this[_0x708e[724]][_0x708e[236]],this[_0x708e[724]][_0x708e[117]],this[_0x708e[724]][_0x708e[119]]);var _0xb3dcx2=this[_0x708e[724]];if(null!= this[_0x708e[2964]]){var _0xb3dcx3=_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]],_0xb3dcx4=_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]];if(this[_0x708e[2957]]){this[_0x708e[2985]](this[_0x708e[2964]][0],_0xb3dcx3,_0xb3dcx4)}else {var _0xb3dcx5=_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]/ 2,_0xb3dcx9=_0xb3dcx2[_0x708e[236]]+ _0xb3dcx2[_0x708e[119]]/ 2;if(1< this[_0x708e[2964]][_0x708e[67]]){var _0xb3dcxa=mxUtils[_0x708e[431]](_0xb3dcx2[_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]),_0xb3dcx12=Math[_0x708e[426]](_0xb3dcxa),_0xb3dcxa=Math[_0x708e[427]](_0xb3dcxa),_0xb3dcx13= new mxPoint(_0xb3dcx2[_0x708e[241]](),_0xb3dcx2[_0x708e[242]]()),_0xb3dcx14=mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]]),_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][0],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx5;_0xb3dcx14[_0x708e[236]]= _0xb3dcx2[_0x708e[236]];_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][1],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx3;_0xb3dcx14[_0x708e[236]]= _0xb3dcx2[_0x708e[236]];_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][2],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx2[_0x708e[235]];_0xb3dcx14[_0x708e[236]]= _0xb3dcx9;_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][3],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx3;_0xb3dcx14[_0x708e[236]]= _0xb3dcx9;_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][4],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx2[_0x708e[235]];_0xb3dcx14[_0x708e[236]]= _0xb3dcx4;_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][5],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx5;_0xb3dcx14[_0x708e[236]]= _0xb3dcx4;_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][6],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);_0xb3dcx14[_0x708e[235]]= _0xb3dcx3;_0xb3dcx14[_0x708e[236]]= _0xb3dcx4;_0xb3dcx14= mxUtils[_0x708e[432]](_0xb3dcx14,_0xb3dcx12,_0xb3dcxa,_0xb3dcx13);this[_0x708e[2985]](this[_0x708e[2964]][7],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]);this[_0x708e[2985]](this[_0x708e[2964]][8],_0xb3dcx5+ _0xb3dcx2[_0x708e[2079]][_0x708e[235]],_0xb3dcx9+ _0xb3dcx2[_0x708e[2079]][_0x708e[236]])}else {2<= this[_0x708e[724]][_0x708e[117]]&& 2<= this[_0x708e[724]][_0x708e[119]]?this[_0x708e[2985]](this[_0x708e[2964]][0],_0xb3dcx5+ _0xb3dcx2[_0x708e[2079]][_0x708e[235]],_0xb3dcx9+ _0xb3dcx2[_0x708e[2079]][_0x708e[236]]):this[_0x708e[2985]](this[_0x708e[2964]][0],_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]])}}};null!= this[_0x708e[2973]]&& (_0xb3dcxa= mxUtils[_0x708e[431]](this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]),_0xb3dcx12= Math[_0x708e[426]](_0xb3dcxa),_0xb3dcxa= Math[_0x708e[427]](_0xb3dcxa),_0xb3dcx13= new mxPoint(this[_0x708e[724]][_0x708e[241]](),this[_0x708e[724]][_0x708e[242]]()),_0xb3dcx14= mxUtils[_0x708e[432]]( new mxPoint(_0xb3dcx2[_0x708e[235]]+ _0xb3dcx2[_0x708e[117]]/ 2,_0xb3dcx2[_0x708e[236]]- 16),_0xb3dcx12,_0xb3dcxa,_0xb3dcx13),this[_0x708e[2985]](this[_0x708e[2973]],_0xb3dcx14[_0x708e[235]],_0xb3dcx14[_0x708e[236]]));this[_0x708e[2732]][_0x708e[603]]= Number(this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]);this[_0x708e[2932]]()};mxVertexHandler[_0x708e[202]][_0x708e[2932]]= function(){null!= this[_0x708e[2988]]&& (this[_0x708e[2988]][_0x708e[1562]]= this[_0x708e[1562]],this[_0x708e[2988]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]]&& (this[_0x708e[2988]][_0x708e[1562]][_0x708e[117]]= Math[_0x708e[160]](0,this[_0x708e[2988]][_0x708e[1562]][_0x708e[117]]- 1),this[_0x708e[2988]][_0x708e[1562]][_0x708e[119]]= Math[_0x708e[160]](0,this[_0x708e[2988]][_0x708e[1562]][_0x708e[119]]- 1)),this[_0x708e[2988]][_0x708e[603]]= Number(this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]),this[_0x708e[2988]][_0x708e[258]]());this[_0x708e[2732]][_0x708e[1562]]= this[_0x708e[1562]];this[_0x708e[2732]][_0x708e[258]]()};mxVertexHandler[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[2988]]&& (this[_0x708e[2988]][_0x708e[515]](),this[_0x708e[2988]]= null);this[_0x708e[2732]][_0x708e[515]]();this[_0x708e[2972]]= this[_0x708e[2732]]= null;if(null!= this[_0x708e[2964]]){for(var _0xb3dcx2=0;_0xb3dcx2< this[_0x708e[2964]][_0x708e[67]];_0xb3dcx2++){this[_0x708e[2964]][_0xb3dcx2][_0x708e[515]](),this[_0x708e[2964]][_0xb3dcx2]= null}}};function mxEdgeHandler(_0xb3dcx2){null!= _0xb3dcx2&& (this[_0x708e[724]]= _0xb3dcx2,this[_0x708e[176]]())}mxEdgeHandler[_0x708e[202]][_0x708e[1179]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[724]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[2885]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[2886]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[267]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[253]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[2994]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[2972]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[2797]]= !0;mxEdgeHandler[_0x708e[202]][_0x708e[2771]]= !1;mxEdgeHandler[_0x708e[202]][_0x708e[2995]]= !1;mxEdgeHandler[_0x708e[202]][_0x708e[574]]= !1;mxEdgeHandler[_0x708e[202]][_0x708e[2958]]= !0;mxEdgeHandler[_0x708e[202]][_0x708e[2996]]= !1;mxEdgeHandler[_0x708e[202]][_0x708e[2959]]= null;mxEdgeHandler[_0x708e[202]][_0x708e[2353]]= 0;mxEdgeHandler[_0x708e[202]][_0x708e[176]]= function(){this[_0x708e[1179]]= this[_0x708e[724]][_0x708e[441]][_0x708e[1179]];this[_0x708e[2885]]= this[_0x708e[1689]]();this[_0x708e[2886]]= new mxConstraintHandler(this[_0x708e[1179]]);this[_0x708e[1525]]= [];this[_0x708e[2997]]= this[_0x708e[2998]](this[_0x708e[724]]);this[_0x708e[253]]= this[_0x708e[2963]](this[_0x708e[2997]]);this[_0x708e[253]][_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[2334]]:mxConstants[_0x708e[508]];this[_0x708e[253]][_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]());this[_0x708e[253]][_0x708e[1564]]= 0;this[_0x708e[253]][_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[2831]];mxEvent[_0x708e[169]](this[_0x708e[253]][_0x708e[252]],_0x708e[760],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[761]](_0xb3dcx2,this[_0x708e[724]][_0x708e[246]])}));mxEvent[_0x708e[759]](this[_0x708e[253]][_0x708e[252]],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[2771]]&& this[_0x708e[2999]](_0xb3dcx2)?this[_0x708e[3000]](this[_0x708e[724]],_0xb3dcx2):this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xb3dcx2,this[_0x708e[724]]))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx2){var _0xb3dcx4=this[_0x708e[724]][_0x708e[246]];if(null!= this[_0x708e[1983]]){var _0xb3dcx5=mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx2),mxEvent[_0x708e[733]](_0xb3dcx2)),_0xb3dcx4=this[_0x708e[1179]][_0x708e[999]](_0xb3dcx5[_0x708e[235]],_0xb3dcx5[_0x708e[236]]);this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx4)&& this[_0x708e[1179]][_0x708e[2688]](_0xb3dcx4,_0xb3dcx5[_0x708e[235]],_0xb3dcx5[_0x708e[236]])&& (_0xb3dcx4= null)};this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xb3dcx2,this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx4)))}),mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[758]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xb3dcx2,this[_0x708e[724]]))}));this[_0x708e[574]]= null!= this[_0x708e[724]][_0x708e[963]]&& this[_0x708e[724]][_0x708e[963]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]];if(!this[_0x708e[574]]){var _0xb3dcx2=this[_0x708e[724]][_0x708e[2089]](!0);null!= _0xb3dcx2&& (this[_0x708e[574]]= null!= _0xb3dcx2[_0x708e[963]]&& _0xb3dcx2[_0x708e[963]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]]);this[_0x708e[574]]|| (_0xb3dcx2= this[_0x708e[724]][_0x708e[2089]](!1),null!= _0xb3dcx2&& (this[_0x708e[574]]= null!= _0xb3dcx2[_0x708e[963]]&& _0xb3dcx2[_0x708e[963]][_0x708e[252]][_0x708e[265]]== this[_0x708e[1179]][_0x708e[526]]))};if(this[_0x708e[1179]][_0x708e[2694]]()< mxGraphHandler[_0x708e[202]][_0x708e[2795]]|| 0>= mxGraphHandler[_0x708e[202]][_0x708e[2795]]){this[_0x708e[2994]]= this[_0x708e[3001]]()};this[_0x708e[685]]= new mxPoint(this[_0x708e[724]][_0x708e[2079]][_0x708e[235]],this[_0x708e[724]][_0x708e[2079]][_0x708e[236]]);this[_0x708e[2972]]= new mxRectangleShape( new mxRectangle,mxConstants.LABEL_HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR);this[_0x708e[2972]][_0x708e[1229]]= !1;this[_0x708e[3002]](this[_0x708e[2972]]);this[_0x708e[2972]][_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[3003]];mxEvent[_0x708e[2733]](this[_0x708e[2972]][_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);this[_0x708e[258]]()};mxEdgeHandler[_0x708e[202]][_0x708e[2999]]= function(_0xb3dcx2){return mxEvent[_0x708e[774]](_0xb3dcx2)};mxEdgeHandler[_0x708e[202]][_0x708e[3004]]= function(_0xb3dcx2){return mxEvent[_0x708e[774]](_0xb3dcx2)};mxEdgeHandler[_0x708e[202]][_0x708e[2998]]= function(_0xb3dcx2){return _0xb3dcx2[_0x708e[439]]};mxEdgeHandler[_0x708e[202]][_0x708e[2963]]= function(_0xb3dcx2){_0xb3dcx2= new mxPolyline(_0xb3dcx2,this[_0x708e[2975]]());_0xb3dcx2[_0x708e[1307]]= this[_0x708e[2976]]();_0xb3dcx2[_0x708e[1522]]= this[_0x708e[2977]]();return _0xb3dcx2};mxEdgeHandler[_0x708e[202]][_0x708e[2975]]= function(){return mxConstants[_0x708e[3005]]};mxEdgeHandler[_0x708e[202]][_0x708e[2976]]= function(){return mxConstants[_0x708e[3006]]};mxEdgeHandler[_0x708e[202]][_0x708e[2977]]= function(){return mxConstants[_0x708e[3007]]};mxEdgeHandler[_0x708e[202]][_0x708e[2907]]= function(_0xb3dcx2){return !0};mxEdgeHandler[_0x708e[202]][_0x708e[1689]]= function(){var _0xb3dcx2= new mxCellMarker(this[_0x708e[1179]]),_0xb3dcx3=this;_0xb3dcx2[_0x708e[736]]= function(_0xb3dcx2){var _0xb3dcx5=mxCellMarker[_0x708e[202]][_0x708e[736]][_0x708e[183]](this,arguments);if(!_0xb3dcx3[_0x708e[2907]](_0xb3dcx5)){return null};var _0xb3dcx9=_0xb3dcx3[_0x708e[1179]][_0x708e[502]]();if(_0xb3dcx5== _0xb3dcx3[_0x708e[724]][_0x708e[246]]|| null!= _0xb3dcx5&& !_0xb3dcx3[_0x708e[1179]][_0x708e[2405]]&& _0xb3dcx9[_0x708e[250]](_0xb3dcx5)){_0xb3dcx5= null};return _0xb3dcx5};_0xb3dcx2[_0x708e[2872]]= function(_0xb3dcx2){var _0xb3dcx5=_0xb3dcx3[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx3[_0x708e[1179]][_0x708e[441]][_0x708e[2292]](_0xb3dcx2,_0xb3dcx3[_0x708e[1179]][_0x708e[441]][_0x708e[248]](_0xb3dcx5[_0x708e[1709]](_0xb3dcx3[_0x708e[724]][_0x708e[246]],!_0xb3dcx3[_0x708e[729]])),!_0xb3dcx3[_0x708e[729]]),_0xb3dcx5=null!= _0xb3dcx5?_0xb3dcx5[_0x708e[246]]:null;_0xb3dcx3[_0x708e[267]]= _0xb3dcx3[_0x708e[2909]](_0xb3dcx3[_0x708e[729]]?_0xb3dcx2[_0x708e[246]]:_0xb3dcx5,_0xb3dcx3[_0x708e[729]]?_0xb3dcx5:_0xb3dcx2[_0x708e[246]]);return null== _0xb3dcx3[_0x708e[267]]};return _0xb3dcx2};mxEdgeHandler[_0x708e[202]][_0x708e[2909]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[1179]][_0x708e[2500]](this[_0x708e[724]][_0x708e[246]],_0xb3dcx2,_0xb3dcx3)};mxEdgeHandler[_0x708e[202]][_0x708e[3001]]= function(){for(var _0xb3dcx2=this[_0x708e[724]][_0x708e[246]],_0xb3dcx3=[],_0xb3dcx4=0;_0xb3dcx4< this[_0x708e[2997]][_0x708e[67]];_0xb3dcx4++){if(this[_0x708e[3008]](_0xb3dcx4)){var _0xb3dcx5=_0xb3dcx4== this[_0x708e[2997]][_0x708e[67]]- 1;if((_0xb3dcx5= 0== _0xb3dcx4|| _0xb3dcx5)|| this[_0x708e[1179]][_0x708e[2662]](_0xb3dcx2)){var _0xb3dcx9=this[_0x708e[3009]](_0xb3dcx4);this[_0x708e[3002]](_0xb3dcx9);mxClient[_0x708e[754]]&& _0xb3dcx9[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130]);if(this[_0x708e[3010]](_0xb3dcx4)){if(mxClient[_0x708e[754]]){var _0xb3dcxa=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){_0xb3dcx2= mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx2),mxEvent[_0x708e[733]](_0xb3dcx2));return this[_0x708e[1179]][_0x708e[441]][_0x708e[248]](this[_0x708e[1179]][_0x708e[999]](_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]]))});mxEvent[_0x708e[2733]](_0xb3dcx9[_0x708e[252]],this[_0x708e[1179]],_0xb3dcxa)}else {_0xb3dcx9[_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[3011]],mxEvent[_0x708e[2733]](_0xb3dcx9[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]])}};_0xb3dcx3[_0x708e[207]](_0xb3dcx9);_0xb3dcx5|| (this[_0x708e[1525]][_0x708e[207]]( new mxPoint(0,0)),_0xb3dcx9[_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188])}}};return _0xb3dcx3};mxEdgeHandler[_0x708e[202]][_0x708e[3010]]= function(_0xb3dcx2){return !0};mxEdgeHandler[_0x708e[202]][_0x708e[3008]]= function(_0xb3dcx2){return !0};mxEdgeHandler[_0x708e[202]][_0x708e[3009]]= function(_0xb3dcx2){if(null!= this[_0x708e[2959]]){return new mxImageShape( new mxRectangle(0,0,this[_0x708e[2959]][_0x708e[117]],this[_0x708e[2959]][_0x708e[119]]),this[_0x708e[2959]][_0x708e[390]])};_0xb3dcx2= mxConstants[_0x708e[2974]];this[_0x708e[574]]&& (_0xb3dcx2-= 1);return new mxRectangleShape( new mxRectangle(0,0,_0xb3dcx2,_0xb3dcx2),mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};mxEdgeHandler[_0x708e[202]][_0x708e[3002]]= function(_0xb3dcx2){this[_0x708e[574]]?(_0xb3dcx2[_0x708e[507]]= mxConstants[_0x708e[1656]],_0xb3dcx2[_0x708e[176]](this[_0x708e[1179]][_0x708e[526]])):(_0xb3dcx2[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[2334]]:mxConstants[_0x708e[508]],_0xb3dcx2[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]()))};mxEdgeHandler[_0x708e[202]][_0x708e[2986]]= function(_0xb3dcx2){if(null!= this[_0x708e[2994]]){for(var _0xb3dcx3=this[_0x708e[2353]],_0xb3dcx3=this[_0x708e[2958]]&& (mxClient[_0x708e[80]]|| 0< _0xb3dcx3)? new mxRectangle(_0xb3dcx2[_0x708e[734]]()- _0xb3dcx3,_0xb3dcx2[_0x708e[735]]()- _0xb3dcx3,2* _0xb3dcx3,2* _0xb3dcx3):null,_0xb3dcx4=0;_0xb3dcx4< this[_0x708e[2994]][_0x708e[67]];_0xb3dcx4++){if((_0xb3dcx2[_0x708e[729]](this[_0x708e[2994]][_0xb3dcx4])|| null!= _0xb3dcx3&& mxUtils[_0x708e[1825]](this[_0x708e[2994]][_0xb3dcx4][_0x708e[1562]],_0xb3dcx3))&& _0x708e[188]!= this[_0x708e[2994]][_0xb3dcx4][_0x708e[252]][_0x708e[124]][_0x708e[187]]){return _0xb3dcx4}}};if(_0xb3dcx2[_0x708e[729]](this[_0x708e[2972]])&& _0x708e[188]!= this[_0x708e[2972]][_0x708e[252]][_0x708e[124]][_0x708e[187]]|| _0xb3dcx2[_0x708e[729]](this[_0x708e[724]][_0x708e[963]])){if(!mxClient[_0x708e[75]]&& !mxClient[_0x708e[76]]|| _0x708e[2822]!= _0xb3dcx2[_0x708e[728]]()[_0x708e[301]]){return mxEvent[_0x708e[2987]]}};return null};mxEdgeHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null,_0xb3dcx4=this[_0x708e[2986]](_0xb3dcx3);null!= _0xb3dcx4&& (!_0xb3dcx3[_0x708e[721]]()&& this[_0x708e[1179]][_0x708e[994]]()&& !this[_0x708e[1179]][_0x708e[2579]](_0xb3dcx3[_0x708e[727]]()))&& (this[_0x708e[2995]]&& this[_0x708e[3004]](_0xb3dcx3[_0x708e[727]]())?this[_0x708e[3012]](this[_0x708e[724]],_0xb3dcx4):(_0xb3dcx4!= mxEvent[_0x708e[2987]]|| this[_0x708e[1179]][_0x708e[2628]](_0xb3dcx3[_0x708e[736]]()))&& this[_0x708e[861]](_0xb3dcx3[_0x708e[730]](),_0xb3dcx3[_0x708e[732]](),_0xb3dcx4),_0xb3dcx3[_0x708e[722]]())};mxEdgeHandler[_0x708e[202]][_0x708e[861]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[2739]]= _0xb3dcx2;this[_0x708e[2740]]= _0xb3dcx3;this[_0x708e[729]]= null== this[_0x708e[2994]]?!1:0== _0xb3dcx4;this[_0x708e[3013]]= null== this[_0x708e[2994]]?!1:_0xb3dcx4== this[_0x708e[2994]][_0x708e[67]]- 1;this[_0x708e[3014]]= _0xb3dcx4== mxEvent[_0x708e[2987]];if(this[_0x708e[729]]|| this[_0x708e[3013]]){if(_0xb3dcx2= this[_0x708e[724]][_0x708e[246]],_0xb3dcx3= this[_0x708e[1179]][_0x708e[251]][_0x708e[1709]](_0xb3dcx2,this[_0x708e[729]]),null== _0xb3dcx3&& this[_0x708e[1179]][_0x708e[2661]](_0xb3dcx2,this[_0x708e[729]])|| null!= _0xb3dcx3&& this[_0x708e[1179]][_0x708e[2551]](_0xb3dcx2,_0xb3dcx3,this[_0x708e[729]])){this[_0x708e[1983]]= _0xb3dcx4}}else {this[_0x708e[1983]]= _0xb3dcx4}};mxEdgeHandler[_0x708e[202]][_0x708e[3015]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[724]][_0x708e[238]]()};mxEdgeHandler[_0x708e[202]][_0x708e[3016]]= function(){return this[_0x708e[1179]][_0x708e[1020]]* this[_0x708e[1179]][_0x708e[441]][_0x708e[255]]/ 2};mxEdgeHandler[_0x708e[202]][_0x708e[2689]]= function(_0xb3dcx2){var _0xb3dcx3= new mxPoint(_0xb3dcx2[_0x708e[734]](),_0xb3dcx2[_0x708e[735]]()),_0xb3dcx4=this[_0x708e[3016]](),_0xb3dcx5=this[_0x708e[1179]][_0x708e[249]](),_0xb3dcx9=!1,_0xb3dcxa=!1;if(this[_0x708e[2996]]&& 0< _0xb3dcx4){var _0xb3dcx12=function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx5=_0xb3dcx2[_0x708e[235]];Math[_0x708e[425]](_0xb3dcx3[_0x708e[235]]- _0xb3dcx5)< _0xb3dcx4&& (_0xb3dcx3[_0x708e[235]]= _0xb3dcx5,_0xb3dcx9= !0);_0xb3dcx2= _0xb3dcx2[_0x708e[236]];Math[_0x708e[425]](_0xb3dcx3[_0x708e[236]]- _0xb3dcx2)< _0xb3dcx4&& (_0xb3dcx3[_0x708e[236]]= _0xb3dcx2,_0xb3dcxa= !0)}},_0xb3dcx13=function(_0xb3dcx2){null!= _0xb3dcx2&& _0xb3dcx12[_0x708e[239]](this, new mxPoint(_0xb3dcx5[_0x708e[2230]](_0xb3dcx2),_0xb3dcx5[_0x708e[2228]](_0xb3dcx2)))};_0xb3dcx13[_0x708e[239]](this,this[_0x708e[724]][_0x708e[2089]](!0));_0xb3dcx13[_0x708e[239]](this,this[_0x708e[724]][_0x708e[2089]](!1));if(null!= this[_0x708e[2997]]){for(_0xb3dcx13= 0;_0xb3dcx13< this[_0x708e[2997]];_0xb3dcx13++){_0xb3dcx13!= this[_0x708e[1983]]&& _0xb3dcx12[_0x708e[239]](this,this[_0x708e[2997]][_0xb3dcx13])}}};this[_0x708e[1179]][_0x708e[1018]](_0xb3dcx2[_0x708e[727]]())&& (_0xb3dcx2= _0xb3dcx5[_0x708e[255]],_0xb3dcx13= _0xb3dcx5[_0x708e[513]],_0xb3dcx9|| (_0xb3dcx3[_0x708e[235]]= (this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx3[_0x708e[235]]/ _0xb3dcx2- _0xb3dcx13[_0x708e[235]])+ _0xb3dcx13[_0x708e[235]])* _0xb3dcx2),_0xb3dcxa|| (_0xb3dcx3[_0x708e[236]]= (this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx3[_0x708e[236]]/ _0xb3dcx2- _0xb3dcx13[_0x708e[236]])+ _0xb3dcx13[_0x708e[236]])* _0xb3dcx2));return _0xb3dcx3};mxEdgeHandler[_0x708e[202]][_0x708e[3017]]= function(_0xb3dcx2){this[_0x708e[2886]][_0x708e[2729]](_0xb3dcx2,this[_0x708e[729]]);this[_0x708e[2885]][_0x708e[2871]](_0xb3dcx2);_0xb3dcx2= this[_0x708e[2885]][_0x708e[2868]]();var _0xb3dcx3=null;null!= this[_0x708e[2886]][_0x708e[2919]]&& null!= this[_0x708e[2886]][_0x708e[2920]]&& this[_0x708e[2885]][_0x708e[862]]();null!= _0xb3dcx2?_0xb3dcx3= _0xb3dcx2:null!= this[_0x708e[2886]][_0x708e[2920]]&& null!= this[_0x708e[2886]][_0x708e[2919]]&& (_0xb3dcx3= this[_0x708e[2886]][_0x708e[2919]]);return _0xb3dcx3};mxEdgeHandler[_0x708e[202]][_0x708e[3018]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[1198]](this[_0x708e[724]][_0x708e[246]]),_0xb3dcx3=null!= _0xb3dcx3[_0x708e[1525]]?_0xb3dcx3[_0x708e[1525]][_0x708e[1853]]():null;!this[_0x708e[729]]&& !this[_0x708e[3013]]?(this[_0x708e[2196]](_0xb3dcx2,!1),null== _0xb3dcx3?_0xb3dcx3= [_0xb3dcx2]:_0xb3dcx3[this[_0x708e[1983]]- 1]= _0xb3dcx2):this[_0x708e[1179]][_0x708e[2401]]&& (_0xb3dcx3= null);return _0xb3dcx3};mxEdgeHandler[_0x708e[202]][_0x708e[3019]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[729]]?_0xb3dcx4:this[_0x708e[724]][_0x708e[2089]](!0),_0xb3dcx9=this[_0x708e[3013]]?_0xb3dcx4:this[_0x708e[724]][_0x708e[2089]](!1),_0xb3dcxa=this[_0x708e[1179]][_0x708e[2288]](_0xb3dcx2,_0xb3dcx5,!0),_0xb3dcx12=this[_0x708e[1179]][_0x708e[2288]](_0xb3dcx2,_0xb3dcx9,!1),_0xb3dcx13=this[_0x708e[2886]][_0x708e[2920]];null== _0xb3dcx13&& (_0xb3dcx13= new mxConnectionConstraint);this[_0x708e[729]]?_0xb3dcxa= _0xb3dcx13:this[_0x708e[3013]]&& (_0xb3dcx12= _0xb3dcx13);(!this[_0x708e[729]]|| null!= _0xb3dcx5)&& _0xb3dcx2[_0x708e[441]][_0x708e[2289]](_0xb3dcx2,_0xb3dcx5,!0,_0xb3dcxa);(!this[_0x708e[3013]]|| null!= _0xb3dcx9)&& _0xb3dcx2[_0x708e[441]][_0x708e[2289]](_0xb3dcx2,_0xb3dcx9,!1,_0xb3dcx12);if((this[_0x708e[729]]|| this[_0x708e[3013]])&& null== _0xb3dcx4){_0xb3dcx2[_0x708e[2088]](_0xb3dcx3,this[_0x708e[729]]),null== this[_0x708e[2885]][_0x708e[2869]]()&& (this[_0x708e[267]]= this[_0x708e[1179]][_0x708e[2406]]?null:_0x708e[110])};_0xb3dcx2[_0x708e[441]][_0x708e[2282]](_0xb3dcx2,this[_0x708e[1525]],_0xb3dcx5,_0xb3dcx9);_0xb3dcx2[_0x708e[441]][_0x708e[2283]](_0xb3dcx2,_0xb3dcx5,_0xb3dcx9)};mxEdgeHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= this[_0x708e[1983]]&& null!= this[_0x708e[2885]]){var _0xb3dcx4=this[_0x708e[2689]](_0xb3dcx3);if(this[_0x708e[3014]]){this[_0x708e[685]][_0x708e[235]]= _0xb3dcx4[_0x708e[235]],this[_0x708e[685]][_0x708e[236]]= _0xb3dcx4[_0x708e[236]]}else {this[_0x708e[1525]]= this[_0x708e[3018]](_0xb3dcx4);var _0xb3dcx5=this[_0x708e[729]]|| this[_0x708e[3013]]?this[_0x708e[3017]](_0xb3dcx3):null,_0xb3dcx9=this[_0x708e[3015]](_0xb3dcx4,null!= _0xb3dcx5?_0xb3dcx5[_0x708e[246]]:null);this[_0x708e[3019]](_0xb3dcx9,_0xb3dcx4,_0xb3dcx5);this[_0x708e[3020]](null== this[_0x708e[267]]?this[_0x708e[2885]][_0x708e[2853]]:this[_0x708e[2885]][_0x708e[2855]]);this[_0x708e[2997]]= _0xb3dcx9[_0x708e[439]];this[_0x708e[1124]]= !0};this[_0x708e[2932]]();mxEvent[_0x708e[722]](_0xb3dcx3[_0x708e[727]]());_0xb3dcx3[_0x708e[722]]()}else {mxClient[_0x708e[80]]&& null!= this[_0x708e[2986]](_0xb3dcx3)&& _0xb3dcx3[_0x708e[722]](!1)}};mxEdgeHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){if(null!= this[_0x708e[1983]]&& null!= this[_0x708e[2885]]){var _0xb3dcx4=this[_0x708e[724]][_0x708e[246]];if(_0xb3dcx3[_0x708e[730]]()!= this[_0x708e[2739]]|| _0xb3dcx3[_0x708e[732]]()!= this[_0x708e[2740]]){if(null!= this[_0x708e[267]]){0< this[_0x708e[267]][_0x708e[67]]&& this[_0x708e[1179]][_0x708e[2580]](this[_0x708e[267]])}else {if(this[_0x708e[3014]]){this[_0x708e[3021]](this[_0x708e[724]],this[_0x708e[685]][_0x708e[235]],this[_0x708e[685]][_0x708e[236]])}else {if(this[_0x708e[729]]|| this[_0x708e[3013]]){var _0xb3dcx5=null;null!= this[_0x708e[2886]][_0x708e[2920]]&& null!= this[_0x708e[2886]][_0x708e[2919]]&& (_0xb3dcx5= this[_0x708e[2886]][_0x708e[2919]][_0x708e[246]]);null== _0xb3dcx5&& this[_0x708e[2885]][_0x708e[2867]]()&& (_0xb3dcx5= this[_0x708e[2885]][_0x708e[2861]][_0x708e[246]]);if(null!= _0xb3dcx5){_0xb3dcx4= this[_0x708e[807]](_0xb3dcx4,_0xb3dcx5,this[_0x708e[729]],this[_0x708e[1179]][_0x708e[2574]](_0xb3dcx3[_0x708e[727]]())&& this[_0x708e[2797]]&& this[_0x708e[1179]][_0x708e[2617]](),_0xb3dcx3)}else {if(this[_0x708e[1179]][_0x708e[2530]]()){_0xb3dcx5= this[_0x708e[2997]][this[_0x708e[729]]?0:this[_0x708e[2997]][_0x708e[67]]- 1];_0xb3dcx5[_0x708e[235]]= _0xb3dcx5[_0x708e[235]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]]- this[_0x708e[1179]][_0x708e[441]][_0x708e[513]][_0x708e[235]];_0xb3dcx5[_0x708e[236]]= _0xb3dcx5[_0x708e[236]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]]- this[_0x708e[1179]][_0x708e[441]][_0x708e[513]][_0x708e[236]];var _0xb3dcx9=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](_0xb3dcx4));null!= _0xb3dcx9&& (_0xb3dcx5[_0x708e[235]]-= _0xb3dcx9[_0x708e[2078]][_0x708e[235]],_0xb3dcx5[_0x708e[236]]-= _0xb3dcx9[_0x708e[2078]][_0x708e[236]]);_0xb3dcx5[_0x708e[235]]-= this[_0x708e[1179]][_0x708e[1136]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]];_0xb3dcx5[_0x708e[236]]-= this[_0x708e[1179]][_0x708e[1137]]/ this[_0x708e[1179]][_0x708e[441]][_0x708e[255]];this[_0x708e[3022]](_0xb3dcx4,_0xb3dcx5,this[_0x708e[729]])}}}else {this[_0x708e[1124]]?this[_0x708e[3023]](_0xb3dcx4,this[_0x708e[1525]]):(this[_0x708e[1179]][_0x708e[249]]()[_0x708e[2263]](this[_0x708e[724]][_0x708e[246]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[2259]](this[_0x708e[724]][_0x708e[246]]))}}}};null!= this[_0x708e[2885]]&& (this[_0x708e[862]](),_0xb3dcx4!= this[_0x708e[724]][_0x708e[246]]&& this[_0x708e[1179]][_0x708e[2450]](_0xb3dcx4));_0xb3dcx3[_0x708e[722]]()}};mxEdgeHandler[_0x708e[202]][_0x708e[862]]= function(){this[_0x708e[1525]]= this[_0x708e[685]]= this[_0x708e[1983]]= this[_0x708e[267]]= null;this[_0x708e[3013]]= this[_0x708e[729]]= this[_0x708e[3014]]= this[_0x708e[1124]]= !1;this[_0x708e[2885]][_0x708e[862]]();this[_0x708e[2886]][_0x708e[862]]();this[_0x708e[3020]](mxConstants.EDGE_SELECTION_COLOR);this[_0x708e[258]]()};mxEdgeHandler[_0x708e[202]][_0x708e[3020]]= function(_0xb3dcx2){null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[1336]]= _0xb3dcx2)};mxEdgeHandler[_0x708e[202]][_0x708e[2196]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[518]](),_0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[512]]();_0xb3dcx3&& (_0xb3dcx2[_0x708e[235]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[235]]),_0xb3dcx2[_0x708e[236]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[236]]));_0xb3dcx2[_0x708e[235]]= Math[_0x708e[488]](_0xb3dcx2[_0x708e[235]]/ _0xb3dcx4- _0xb3dcx5[_0x708e[235]]);_0xb3dcx2[_0x708e[236]]= Math[_0x708e[488]](_0xb3dcx2[_0x708e[236]]/ _0xb3dcx4- _0xb3dcx5[_0x708e[236]]);_0xb3dcx4= this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1197]](this[_0x708e[724]][_0x708e[246]]));null!= _0xb3dcx4&& (_0xb3dcx2[_0x708e[235]]-= _0xb3dcx4[_0x708e[2078]][_0x708e[235]],_0xb3dcx2[_0x708e[236]]-= _0xb3dcx4[_0x708e[2078]][_0x708e[236]]);return _0xb3dcx2};mxEdgeHandler[_0x708e[202]][_0x708e[3021]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[1721]](_0xb3dcx2[_0x708e[246]]);if(null!= _0xb3dcx9){var _0xb3dcx9=_0xb3dcx9[_0x708e[238]](),_0xb3dcxa=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[2308]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);_0xb3dcx9[_0x708e[235]]= _0xb3dcxa[_0x708e[235]];_0xb3dcx9[_0x708e[236]]= _0xb3dcxa[_0x708e[236]];var _0xb3dcx12=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]];_0xb3dcx9[_0x708e[1368]]= new mxPoint(0,0);_0xb3dcxa= this[_0x708e[1179]][_0x708e[441]][_0x708e[245]](_0xb3dcx2,_0xb3dcx9);_0xb3dcx9[_0x708e[1368]]= new mxPoint((_0xb3dcx3- _0xb3dcxa[_0x708e[235]])/ _0xb3dcx12,(_0xb3dcx4- _0xb3dcxa[_0x708e[236]])/ _0xb3dcx12);_0xb3dcx5[_0x708e[1724]](_0xb3dcx2[_0x708e[246]],_0xb3dcx9)}};mxEdgeHandler[_0x708e[202]][_0x708e[807]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx9= this[_0x708e[1179]][_0x708e[502]]();var _0xb3dcxa=_0xb3dcx9[_0x708e[1197]](_0xb3dcx2);_0xb3dcx9[_0x708e[473]]();try{if(_0xb3dcx5){var _0xb3dcx12=_0xb3dcx2[_0x708e[238]]();_0xb3dcx9[_0x708e[99]](_0xb3dcxa,_0xb3dcx12,_0xb3dcx9[_0x708e[262]](_0xb3dcxa));var _0xb3dcx13=_0xb3dcx9[_0x708e[1709]](_0xb3dcx2,!_0xb3dcx4);this[_0x708e[1179]][_0x708e[851]](_0xb3dcx12,_0xb3dcx13,!_0xb3dcx4);_0xb3dcx2= _0xb3dcx12};var _0xb3dcx14=this[_0x708e[2886]][_0x708e[2920]];null== _0xb3dcx14&& (_0xb3dcx14= new mxConnectionConstraint);this[_0x708e[1179]][_0x708e[851]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx14)}finally{_0xb3dcx9[_0x708e[476]]()};return _0xb3dcx2};mxEdgeHandler[_0x708e[202]][_0x708e[3022]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[1721]](_0xb3dcx2);if(null!= _0xb3dcx9){_0xb3dcx5[_0x708e[473]]();try{_0xb3dcx9= _0xb3dcx9[_0x708e[238]](),_0xb3dcx9[_0x708e[2007]](_0xb3dcx3,_0xb3dcx4),_0xb3dcx5[_0x708e[1724]](_0xb3dcx2,_0xb3dcx9),this[_0x708e[1179]][_0x708e[851]](_0xb3dcx2,null,_0xb3dcx4, new mxConnectionConstraint)}finally{_0xb3dcx5[_0x708e[476]]()}}};mxEdgeHandler[_0x708e[202]][_0x708e[3023]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx5=_0xb3dcx4[_0x708e[1721]](_0xb3dcx2);null!= _0xb3dcx5&& (_0xb3dcx5= _0xb3dcx5[_0x708e[238]](),_0xb3dcx5[_0x708e[1525]]= _0xb3dcx3,_0xb3dcx4[_0x708e[1724]](_0xb3dcx2,_0xb3dcx5))};mxEdgeHandler[_0x708e[202]][_0x708e[3000]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=mxUtils[_0x708e[2196]](this[_0x708e[1179]][_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx3),mxEvent[_0x708e[733]](_0xb3dcx3)),_0xb3dcx5=this[_0x708e[1179]][_0x708e[1018]](_0xb3dcx3);this[_0x708e[2196]](_0xb3dcx4,_0xb3dcx5);this[_0x708e[3024]](_0xb3dcx2,_0xb3dcx4[_0x708e[235]],_0xb3dcx4[_0x708e[236]]);mxEvent[_0x708e[722]](_0xb3dcx3)};mxEdgeHandler[_0x708e[202]][_0x708e[3024]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[1179]][_0x708e[1198]](_0xb3dcx2[_0x708e[246]]);_0xb3dcx3= new mxPoint(_0xb3dcx3,_0xb3dcx4);if(null!= _0xb3dcx5){_0xb3dcx5= _0xb3dcx5[_0x708e[238]]();_0xb3dcx4= this[_0x708e[1179]][_0x708e[441]][_0x708e[513]];var _0xb3dcx9=this[_0x708e[1179]][_0x708e[441]][_0x708e[255]];_0xb3dcx4= mxUtils[_0x708e[3025]](_0xb3dcx2,(_0xb3dcx3[_0x708e[235]]+ _0xb3dcx4[_0x708e[235]])* _0xb3dcx9,(_0xb3dcx3[_0x708e[236]]+ _0xb3dcx4[_0x708e[236]])* _0xb3dcx9);null== _0xb3dcx5[_0x708e[1525]]?_0xb3dcx5[_0x708e[1525]]= [_0xb3dcx3]:_0xb3dcx5[_0x708e[1525]][_0x708e[300]](_0xb3dcx4,0,_0xb3dcx3);this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1724]](_0xb3dcx2[_0x708e[246]],_0xb3dcx5);this[_0x708e[515]]();this[_0x708e[176]]()}};mxEdgeHandler[_0x708e[202]][_0x708e[3012]]= function(_0xb3dcx2,_0xb3dcx3){if(0< _0xb3dcx3&& _0xb3dcx3< this[_0x708e[2997]][_0x708e[67]]- 1){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[1198]](this[_0x708e[724]][_0x708e[246]]);null!= _0xb3dcx4&& null!= _0xb3dcx4[_0x708e[1525]]&& (_0xb3dcx4= _0xb3dcx4[_0x708e[238]](),_0xb3dcx4[_0x708e[1525]][_0x708e[300]](_0xb3dcx3- 1,1),this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1724]](_0xb3dcx2[_0x708e[246]],_0xb3dcx4),this[_0x708e[515]](),this[_0x708e[176]]())}};mxEdgeHandler[_0x708e[202]][_0x708e[3026]]= function(_0xb3dcx2){_0xb3dcx2= 0== _0xb3dcx2;var _0xb3dcx3=this[_0x708e[724]][_0x708e[246]],_0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1709]](_0xb3dcx3,_0xb3dcx2),_0xb3dcx5=mxConstants[_0x708e[2984]];null!= _0xb3dcx4&& !this[_0x708e[1179]][_0x708e[2551]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx2)|| null== _0xb3dcx4&& !this[_0x708e[1179]][_0x708e[2661]](_0xb3dcx3,_0xb3dcx2)?_0xb3dcx5= mxConstants[_0x708e[3027]]:null!= _0xb3dcx4&& this[_0x708e[1179]][_0x708e[2551]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx2)&& (_0xb3dcx5= mxConstants[_0x708e[3028]]);return _0xb3dcx5};mxEdgeHandler[_0x708e[202]][_0x708e[258]]= function(){this[_0x708e[2997]]= this[_0x708e[724]][_0x708e[439]][_0x708e[1853]]();var _0xb3dcx2=this[_0x708e[724]][_0x708e[246]],_0xb3dcx3=mxConstants[_0x708e[3029]];this[_0x708e[685]]= new mxPoint(this[_0x708e[724]][_0x708e[2079]][_0x708e[235]],this[_0x708e[724]][_0x708e[2079]][_0x708e[236]]);this[_0x708e[2972]][_0x708e[1562]]= new mxRectangle(Math[_0x708e[488]](this[_0x708e[685]][_0x708e[235]]- _0xb3dcx3/ 2),Math[_0x708e[488]](this[_0x708e[685]][_0x708e[236]]- _0xb3dcx3/ 2),_0xb3dcx3,_0xb3dcx3);this[_0x708e[2972]][_0x708e[258]]();_0xb3dcx3= this[_0x708e[1179]][_0x708e[2183]](_0xb3dcx2);null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]&& this[_0x708e[1179]][_0x708e[2628]](_0xb3dcx2)?this[_0x708e[2972]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[189]:this[_0x708e[2972]][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[188];if(null!= this[_0x708e[2994]]&& 0< this[_0x708e[2994]][_0x708e[67]]){var _0xb3dcx4=this[_0x708e[2997]][_0x708e[67]]- 1,_0xb3dcx2=this[_0x708e[2997]][0],_0xb3dcx5=this[_0x708e[2997]][0][_0x708e[236]],_0xb3dcx3=this[_0x708e[2994]][0][_0x708e[1562]];this[_0x708e[2994]][0][_0x708e[1562]]= new mxRectangle(Math[_0x708e[488]](this[_0x708e[2997]][0][_0x708e[235]]- _0xb3dcx3[_0x708e[117]]/ 2),Math[_0x708e[488]](_0xb3dcx5- _0xb3dcx3[_0x708e[119]]/ 2),_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]]);this[_0x708e[2994]][0][_0x708e[1334]]= this[_0x708e[3026]](0);this[_0x708e[2994]][0][_0x708e[258]]();var _0xb3dcx5=this[_0x708e[2997]][_0xb3dcx4],_0xb3dcx9=this[_0x708e[2997]][_0xb3dcx4][_0x708e[235]],_0xb3dcx4=this[_0x708e[2997]][_0xb3dcx4][_0x708e[236]],_0xb3dcxa=this[_0x708e[2994]][_0x708e[67]]- 1,_0xb3dcx3=this[_0x708e[2994]][_0xb3dcxa][_0x708e[1562]];this[_0x708e[2994]][_0xb3dcxa][_0x708e[1562]]= new mxRectangle(Math[_0x708e[488]](_0xb3dcx9- _0xb3dcx3[_0x708e[117]]/ 2),Math[_0x708e[488]](_0xb3dcx4- _0xb3dcx3[_0x708e[119]]/ 2),_0xb3dcx3[_0x708e[117]],_0xb3dcx3[_0x708e[119]]);this[_0x708e[2994]][_0xb3dcxa][_0x708e[1334]]= this[_0x708e[3026]](_0xb3dcxa);this[_0x708e[2994]][_0xb3dcxa][_0x708e[258]]();this[_0x708e[3030]](_0xb3dcx2,_0xb3dcx5)};this[_0x708e[2932]]()};mxEdgeHandler[_0x708e[202]][_0x708e[3030]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1721]](this[_0x708e[724]][_0x708e[246]])[_0x708e[1525]];if(null!= _0xb3dcx4){null== this[_0x708e[1525]]&& (this[_0x708e[1525]]= []);for(var _0xb3dcx5=1;_0xb3dcx5< this[_0x708e[2994]][_0x708e[67]]- 1;_0xb3dcx5++){if(null!= this[_0x708e[2994]][_0xb3dcx5]){if(null!= this[_0x708e[2997]][_0xb3dcx5]){var _0xb3dcx9=this[_0x708e[2997]][_0xb3dcx5][_0x708e[235]],_0xb3dcxa=this[_0x708e[2997]][_0xb3dcx5][_0x708e[236]],_0xb3dcx12=this[_0x708e[2994]][_0xb3dcx5][_0x708e[1562]];this[_0x708e[2994]][_0xb3dcx5][_0x708e[252]][_0x708e[124]][_0x708e[187]]= _0x708e[189];this[_0x708e[2994]][_0xb3dcx5][_0x708e[1562]]= new mxRectangle(Math[_0x708e[488]](_0xb3dcx9- _0xb3dcx12[_0x708e[117]]/ 2),Math[_0x708e[488]](_0xb3dcxa- _0xb3dcx12[_0x708e[119]]/ 2),_0xb3dcx12[_0x708e[117]],_0xb3dcx12[_0x708e[119]]);this[_0x708e[2994]][_0xb3dcx5][_0x708e[258]]();this[_0x708e[1525]][_0xb3dcx5- 1]= _0xb3dcx4[_0xb3dcx5- 1]}else {this[_0x708e[2994]][_0xb3dcx5][_0x708e[515]](),this[_0x708e[2994]][_0xb3dcx5]= null}}}}};mxEdgeHandler[_0x708e[202]][_0x708e[2932]]= function(){if(this[_0x708e[3014]]){var _0xb3dcx2=mxConstants[_0x708e[3029]],_0xb3dcx2= new mxRectangle(Math[_0x708e[488]](this[_0x708e[685]][_0x708e[235]]- _0xb3dcx2/ 2),Math[_0x708e[488]](this[_0x708e[685]][_0x708e[236]]- _0xb3dcx2/ 2),_0xb3dcx2,_0xb3dcx2);this[_0x708e[2972]][_0x708e[1562]]= _0xb3dcx2;this[_0x708e[2972]][_0x708e[258]]()}else {this[_0x708e[253]][_0x708e[1525]]= this[_0x708e[2997]],this[_0x708e[253]][_0x708e[258]]()}};mxEdgeHandler[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[2885]]&& (this[_0x708e[2885]][_0x708e[515]](),this[_0x708e[2885]]= null);null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[515]](),this[_0x708e[253]]= null);null!= this[_0x708e[2972]]&& (this[_0x708e[2972]][_0x708e[515]](),this[_0x708e[2972]]= null);null!= this[_0x708e[2886]]&& (this[_0x708e[2886]][_0x708e[515]](),this[_0x708e[2886]]= null);if(null!= this[_0x708e[2994]]){for(var _0xb3dcx2=0;_0xb3dcx2< this[_0x708e[2994]][_0x708e[67]];_0xb3dcx2++){null!= this[_0x708e[2994]][_0xb3dcx2]&& (this[_0x708e[2994]][_0xb3dcx2][_0x708e[515]](),this[_0x708e[2994]][_0xb3dcx2]= null)}}};function mxElbowEdgeHandler(_0xb3dcx2){mxEdgeHandler[_0x708e[239]](this,_0xb3dcx2)}mxUtils[_0x708e[1284]](mxElbowEdgeHandler,mxEdgeHandler);mxElbowEdgeHandler[_0x708e[202]]= new mxEdgeHandler;mxElbowEdgeHandler[_0x708e[202]][_0x708e[196]]= mxElbowEdgeHandler;mxElbowEdgeHandler[_0x708e[202]][_0x708e[3031]]= !0;mxElbowEdgeHandler[_0x708e[202]][_0x708e[3032]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[3033]:_0x708e[110];mxElbowEdgeHandler[_0x708e[202]][_0x708e[3001]]= function(){var _0xb3dcx2=[],_0xb3dcx3=this[_0x708e[3009]](0);this[_0x708e[3002]](_0xb3dcx3);_0xb3dcx3[_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[3011]];mxEvent[_0x708e[2733]](_0xb3dcx3[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);_0xb3dcx2[_0x708e[207]](_0xb3dcx3);mxClient[_0x708e[754]]&& _0xb3dcx3[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130]);_0xb3dcx2[_0x708e[207]](this[_0x708e[3034]]());this[_0x708e[1525]][_0x708e[207]]( new mxPoint(0,0));_0xb3dcx3= this[_0x708e[3009]](2);this[_0x708e[3002]](_0xb3dcx3);_0xb3dcx3[_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[3011]];mxEvent[_0x708e[2733]](_0xb3dcx3[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);_0xb3dcx2[_0x708e[207]](_0xb3dcx3);mxClient[_0x708e[754]]&& _0xb3dcx3[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130]);return _0xb3dcx2};mxElbowEdgeHandler[_0x708e[202]][_0x708e[3034]]= function(){var _0xb3dcx2=this[_0x708e[3009]]();this[_0x708e[3002]](_0xb3dcx2);var _0xb3dcx3=this[_0x708e[3035]]();_0xb3dcx2[_0x708e[252]][_0x708e[124]][_0x708e[270]]= _0xb3dcx3;_0xb3dcx3= mxUtils[_0x708e[885]](this,function(_0xb3dcx2){!mxEvent[_0x708e[721]](_0xb3dcx2)&& this[_0x708e[3031]]&& (this[_0x708e[1179]][_0x708e[854]](this[_0x708e[724]][_0x708e[246]],_0xb3dcx2),mxEvent[_0x708e[722]](_0xb3dcx2))});mxEvent[_0x708e[2733]](_0xb3dcx2[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]],null,null,null,_0xb3dcx3);this[_0x708e[1179]][_0x708e[2662]](this[_0x708e[724]][_0x708e[246]])|| (_0xb3dcx2[_0x708e[252]][_0x708e[124]][_0x708e[495]]= _0x708e[130]);return _0xb3dcx2};mxElbowEdgeHandler[_0x708e[202]][_0x708e[3035]]= function(){return this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2294]]]== mxEdgeStyle[_0x708e[2570]]|| this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2294]]]== mxConstants[_0x708e[3036]]|| (this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2294]]]== mxEdgeStyle[_0x708e[2568]]|| this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2294]]]== mxConstants[_0x708e[3037]])&& this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2231]]]== mxConstants[_0x708e[2232]]?_0x708e[3038]:_0x708e[3039]};mxElbowEdgeHandler[_0x708e[202]][_0x708e[2597]]= function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= this[_0x708e[2994]]&& null!= this[_0x708e[2994]][1]&& (_0xb3dcx2== this[_0x708e[2994]][1][_0x708e[252]]|| _0xb3dcx2[_0x708e[265]]== this[_0x708e[2994]][1][_0x708e[252]])){_0xb3dcx3= this[_0x708e[3032]],_0xb3dcx3= mxResources[_0x708e[203]](_0xb3dcx3)|| _0xb3dcx3};return _0xb3dcx3};mxElbowEdgeHandler[_0x708e[202]][_0x708e[2196]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[518]](),_0xb3dcx5=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[512]](),_0xb3dcx9=this[_0x708e[724]][_0x708e[2078]];_0xb3dcx3&& (_0xb3dcx2[_0x708e[235]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[235]]),_0xb3dcx2[_0x708e[236]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx2[_0x708e[236]]));_0xb3dcx2[_0x708e[235]]= Math[_0x708e[488]](_0xb3dcx2[_0x708e[235]]/ _0xb3dcx4- _0xb3dcx5[_0x708e[235]]- _0xb3dcx9[_0x708e[235]]);_0xb3dcx2[_0x708e[236]]= Math[_0x708e[488]](_0xb3dcx2[_0x708e[236]]/ _0xb3dcx4- _0xb3dcx5[_0x708e[236]]- _0xb3dcx9[_0x708e[236]])};mxElbowEdgeHandler[_0x708e[202]][_0x708e[3030]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1721]](this[_0x708e[724]][_0x708e[246]])[_0x708e[1525]],_0xb3dcx4=null!= _0xb3dcx4?_0xb3dcx4[0]:null,_0xb3dcx4=null== _0xb3dcx4? new mxPoint(_0xb3dcx2[_0x708e[235]]+ (_0xb3dcx3[_0x708e[235]]- _0xb3dcx2[_0x708e[235]])/ 2,_0xb3dcx2[_0x708e[236]]+ (_0xb3dcx3[_0x708e[236]]- _0xb3dcx2[_0x708e[236]])/ 2): new mxPoint(this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]]* (_0xb3dcx4[_0x708e[235]]+ this[_0x708e[1179]][_0x708e[249]]()[_0x708e[513]][_0x708e[235]]+ this[_0x708e[724]][_0x708e[2078]][_0x708e[235]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]]* (_0xb3dcx4[_0x708e[236]]+ this[_0x708e[1179]][_0x708e[249]]()[_0x708e[513]][_0x708e[236]]+ this[_0x708e[724]][_0x708e[2078]][_0x708e[236]])),_0xb3dcx5=this[_0x708e[2994]][1][_0x708e[1562]],_0xb3dcx9=_0xb3dcx5[_0x708e[117]],_0xb3dcx5=_0xb3dcx5[_0x708e[119]];null== this[_0x708e[2959]]&& (_0xb3dcx5= _0xb3dcx9= mxConstants[_0x708e[2974]]);var _0xb3dcxa= new mxRectangle(Math[_0x708e[488]](_0xb3dcx4[_0x708e[235]]- _0xb3dcx9/ 2),Math[_0x708e[488]](_0xb3dcx4[_0x708e[236]]- _0xb3dcx5/ 2),_0xb3dcx9,_0xb3dcx5);null== this[_0x708e[2959]]&& (_0x708e[188]!= this[_0x708e[2972]][_0x708e[252]][_0x708e[124]][_0x708e[187]]&& mxUtils[_0x708e[1825]](_0xb3dcxa,this[_0x708e[2972]][_0x708e[1562]]))&& (_0xb3dcx9+= 3,_0xb3dcx5+= 3,_0xb3dcxa= new mxRectangle(Math[_0x708e[488]](_0xb3dcx4[_0x708e[235]]- _0xb3dcx9/ 2),Math[_0x708e[488]](_0xb3dcx4[_0x708e[236]]- _0xb3dcx5/ 2),_0xb3dcx9,_0xb3dcx5));this[_0x708e[2994]][1][_0x708e[1562]]= _0xb3dcxa;this[_0x708e[2994]][1][_0x708e[258]]()};function mxEdgeSegmentHandler(_0xb3dcx2){mxEdgeHandler[_0x708e[239]](this,_0xb3dcx2)}mxUtils[_0x708e[1284]](mxEdgeSegmentHandler,mxEdgeHandler);mxEdgeSegmentHandler[_0x708e[202]]= new mxElbowEdgeHandler;mxEdgeSegmentHandler[_0x708e[202]][_0x708e[196]]= mxEdgeSegmentHandler;mxEdgeSegmentHandler[_0x708e[202]][_0x708e[3018]]= function(_0xb3dcx2){if(this[_0x708e[729]]|| this[_0x708e[3013]]){return mxElbowEdgeHandler[_0x708e[202]][_0x708e[3018]][_0x708e[183]](this,arguments)};this[_0x708e[2196]](_0xb3dcx2,!1);var _0xb3dcx3=this[_0x708e[724]][_0x708e[439]],_0xb3dcx4=_0xb3dcx3[0][_0x708e[238]]();this[_0x708e[2196]](_0xb3dcx4,!1);for(var _0xb3dcx5=[],_0xb3dcx9=1;_0xb3dcx9< _0xb3dcx3[_0x708e[67]];_0xb3dcx9++){var _0xb3dcxa=_0xb3dcx3[_0xb3dcx9][_0x708e[238]]();this[_0x708e[2196]](_0xb3dcxa,!1);_0xb3dcx9== this[_0x708e[1983]]&& (_0xb3dcx4[_0x708e[235]]== _0xb3dcxa[_0x708e[235]]?(_0xb3dcx4[_0x708e[235]]= _0xb3dcx2[_0x708e[235]],_0xb3dcxa[_0x708e[235]]= _0xb3dcx2[_0x708e[235]]):(_0xb3dcx4[_0x708e[236]]= _0xb3dcx2[_0x708e[236]],_0xb3dcxa[_0x708e[236]]= _0xb3dcx2[_0x708e[236]]));_0xb3dcx9< _0xb3dcx3[_0x708e[67]]- 1&& _0xb3dcx5[_0x708e[207]](_0xb3dcxa);_0xb3dcx4= _0xb3dcxa};if(1== _0xb3dcx5[_0x708e[67]]){if(_0xb3dcx4= this[_0x708e[724]][_0x708e[441]],_0xb3dcx9= this[_0x708e[724]][_0x708e[2089]](!0),_0xb3dcxa= this[_0x708e[724]][_0x708e[2089]](!1),null!= _0xb3dcxa& null!= _0xb3dcx9){var _0xb3dcx12=this[_0x708e[724]][_0x708e[2078]][_0x708e[235]],_0xb3dcx13=this[_0x708e[724]][_0x708e[2078]][_0x708e[236]];mxUtils[_0x708e[442]](_0xb3dcxa,_0xb3dcx5[0][_0x708e[235]]+ _0xb3dcx12,_0xb3dcx5[0][_0x708e[236]]+ _0xb3dcx13)?_0xb3dcx3[1][_0x708e[236]]== _0xb3dcx3[2][_0x708e[236]]?_0xb3dcx5[0][_0x708e[236]]= _0xb3dcx4[_0x708e[2228]](_0xb3dcx9)- _0xb3dcx13:_0xb3dcx5[0][_0x708e[235]]= _0xb3dcx4[_0x708e[2230]](_0xb3dcx9)- _0xb3dcx12:mxUtils[_0x708e[442]](_0xb3dcx9,_0xb3dcx5[0][_0x708e[235]]+ _0xb3dcx12,_0xb3dcx5[0][_0x708e[236]]+ _0xb3dcx13)&& (_0xb3dcx3[1][_0x708e[236]]== _0xb3dcx3[0][_0x708e[236]]?_0xb3dcx5[0][_0x708e[236]]= _0xb3dcx4[_0x708e[2228]](_0xb3dcxa)- _0xb3dcx13:_0xb3dcx5[0][_0x708e[235]]= _0xb3dcx4[_0x708e[2230]](_0xb3dcxa)- _0xb3dcx12)}}else {0== _0xb3dcx5[_0x708e[67]]&& (_0xb3dcx5= [_0xb3dcx2])};return _0xb3dcx5};mxEdgeSegmentHandler[_0x708e[202]][_0x708e[3001]]= function(){var _0xb3dcx2=[],_0xb3dcx3=this[_0x708e[3009]](0);this[_0x708e[3002]](_0xb3dcx3);_0xb3dcx3[_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[3011]];mxEvent[_0x708e[2733]](_0xb3dcx3[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);_0xb3dcx2[_0x708e[207]](_0xb3dcx3);mxClient[_0x708e[754]]&& _0xb3dcx3[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130]);var _0xb3dcx4=this[_0x708e[724]][_0x708e[439]];if(this[_0x708e[1179]][_0x708e[2662]](this[_0x708e[724]][_0x708e[246]])){null== this[_0x708e[1525]]&& (this[_0x708e[1525]]= []);for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4[_0x708e[67]]- 1;_0xb3dcx5++){_0xb3dcx3= this[_0x708e[3034]](),_0xb3dcx2[_0x708e[207]](_0xb3dcx3),_0xb3dcx3[_0x708e[252]][_0x708e[124]][_0x708e[270]]= 0== _0xb3dcx4[_0xb3dcx5][_0x708e[235]]- _0xb3dcx4[_0xb3dcx5+ 1][_0x708e[235]]?_0x708e[3039]:_0x708e[3038],this[_0x708e[1525]][_0x708e[207]]( new mxPoint(0,0)),mxClient[_0x708e[754]]&& _0xb3dcx3[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130])}};_0xb3dcx3= this[_0x708e[3009]](_0xb3dcx4[_0x708e[67]]);this[_0x708e[3002]](_0xb3dcx3);_0xb3dcx3[_0x708e[252]][_0x708e[124]][_0x708e[270]]= mxConstants[_0x708e[3011]];mxEvent[_0x708e[2733]](_0xb3dcx3[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);_0xb3dcx2[_0x708e[207]](_0xb3dcx3);mxClient[_0x708e[754]]&& _0xb3dcx3[_0x708e[252]][_0x708e[57]](_0x708e[1377],_0x708e[130]);return _0xb3dcx2};mxEdgeSegmentHandler[_0x708e[202]][_0x708e[258]]= function(){this[_0x708e[802]]();mxEdgeHandler[_0x708e[202]][_0x708e[258]][_0x708e[183]](this,arguments)};mxEdgeSegmentHandler[_0x708e[202]][_0x708e[802]]= function(){if(null!= this[_0x708e[2994]]){for(var _0xb3dcx2=0;_0xb3dcx2< this[_0x708e[2994]][_0x708e[67]];_0xb3dcx2++){null!= this[_0x708e[2994]][_0xb3dcx2]&& (this[_0x708e[2994]][_0xb3dcx2][_0x708e[515]](),this[_0x708e[2994]][_0xb3dcx2]= null)};this[_0x708e[2994]]= this[_0x708e[3001]]()}};mxEdgeSegmentHandler[_0x708e[202]][_0x708e[3030]]= function(_0xb3dcx2,_0xb3dcx3){if(this[_0x708e[1179]][_0x708e[2662]](this[_0x708e[724]][_0x708e[246]])){var _0xb3dcx4=mxConstants[_0x708e[2974]],_0xb3dcx5=this[_0x708e[724]][_0x708e[439]];if(null!= _0xb3dcx5&& 1< _0xb3dcx5[_0x708e[67]]){for(var _0xb3dcx9=0;_0xb3dcx9< this[_0x708e[724]][_0x708e[439]][_0x708e[67]]- 1;_0xb3dcx9++){if(null!= this[_0x708e[2994]][_0xb3dcx9+ 1]){_0xb3dcx2= _0xb3dcx5[_0xb3dcx9];_0xb3dcx3= _0xb3dcx5[_0xb3dcx9+ 1];var _0xb3dcxa= new mxPoint(_0xb3dcx2[_0x708e[235]]+ (_0xb3dcx3[_0x708e[235]]- _0xb3dcx2[_0x708e[235]])/ 2,_0xb3dcx2[_0x708e[236]]+ (_0xb3dcx3[_0x708e[236]]- _0xb3dcx2[_0x708e[236]])/ 2);this[_0x708e[2994]][_0xb3dcx9+ 1][_0x708e[1562]]= new mxRectangle(Math[_0x708e[488]](_0xb3dcxa[_0x708e[235]]- _0xb3dcx4/ 2),Math[_0x708e[488]](_0xb3dcxa[_0x708e[236]]- _0xb3dcx4/ 2),_0xb3dcx4,_0xb3dcx4);this[_0x708e[2994]][_0xb3dcx9+ 1][_0x708e[258]]()}}}}};mxEdgeSegmentHandler[_0x708e[202]][_0x708e[3023]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= [];var _0xb3dcx4=this[_0x708e[2997]];if(1< _0xb3dcx4[_0x708e[67]]){for(var _0xb3dcx5=_0xb3dcx4[0],_0xb3dcx9=_0xb3dcx4[1],_0xb3dcxa=2;_0xb3dcxa< _0xb3dcx4[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx4[_0xb3dcxa];if((Math[_0x708e[488]](_0xb3dcx5[_0x708e[235]])!= Math[_0x708e[488]](_0xb3dcx9[_0x708e[235]])|| Math[_0x708e[488]](_0xb3dcx9[_0x708e[235]])!= Math[_0x708e[488]](_0xb3dcx12[_0x708e[235]]))&& (Math[_0x708e[488]](_0xb3dcx5[_0x708e[236]])!= Math[_0x708e[488]](_0xb3dcx9[_0x708e[236]])|| Math[_0x708e[488]](_0xb3dcx9[_0x708e[236]])!= Math[_0x708e[488]](_0xb3dcx12[_0x708e[236]]))){_0xb3dcx5= _0xb3dcx9,_0xb3dcx9= _0xb3dcx9[_0x708e[238]](),this[_0x708e[2196]](_0xb3dcx9,!1),_0xb3dcx3[_0x708e[207]](_0xb3dcx9)};_0xb3dcx9= _0xb3dcx12}};mxElbowEdgeHandler[_0x708e[202]][_0x708e[3023]][_0x708e[183]](this,arguments)};function mxKeyHandler(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[772]]= _0xb3dcx3|| document[_0x708e[158]],this[_0x708e[3040]]= [],this[_0x708e[3041]]= [],this[_0x708e[3042]]= [],this[_0x708e[3043]]= [],mxEvent[_0x708e[169]](this[_0x708e[772]],_0x708e[2123],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[3044]](_0xb3dcx2)})),mxClient[_0x708e[80]]&& mxEvent[_0x708e[169]](window,_0x708e[2428],mxUtils[_0x708e[885]](this,function(){this[_0x708e[515]]()})))}mxKeyHandler[_0x708e[202]][_0x708e[1179]]= null;mxKeyHandler[_0x708e[202]][_0x708e[772]]= null;mxKeyHandler[_0x708e[202]][_0x708e[3040]]= null;mxKeyHandler[_0x708e[202]][_0x708e[3041]]= null;mxKeyHandler[_0x708e[202]][_0x708e[3042]]= null;mxKeyHandler[_0x708e[202]][_0x708e[3043]]= null;mxKeyHandler[_0x708e[202]][_0x708e[984]]= !0;mxKeyHandler[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxKeyHandler[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxKeyHandler[_0x708e[202]][_0x708e[3045]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3040]][_0xb3dcx2]= _0xb3dcx3};mxKeyHandler[_0x708e[202]][_0x708e[3046]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3041]][_0xb3dcx2]= _0xb3dcx3};mxKeyHandler[_0x708e[202]][_0x708e[3047]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3042]][_0xb3dcx2]= _0xb3dcx3};mxKeyHandler[_0x708e[202]][_0x708e[3048]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3043]][_0xb3dcx2]= _0xb3dcx3};mxKeyHandler[_0x708e[202]][_0x708e[775]]= function(_0xb3dcx2){return mxEvent[_0x708e[775]](_0xb3dcx2)};mxKeyHandler[_0x708e[202]][_0x708e[3049]]= function(_0xb3dcx2){return null!= _0xb3dcx2?this[_0x708e[775]](_0xb3dcx2)?mxEvent[_0x708e[774]](_0xb3dcx2)?this[_0x708e[3043]][_0xb3dcx2[_0x708e[2124]]]:this[_0x708e[3042]][_0xb3dcx2[_0x708e[2124]]]:mxEvent[_0x708e[774]](_0xb3dcx2)?this[_0x708e[3041]][_0xb3dcx2[_0x708e[2124]]]:this[_0x708e[3040]][_0xb3dcx2[_0x708e[2124]]]:null};mxKeyHandler[_0x708e[202]][_0x708e[3050]]= function(_0xb3dcx2){_0xb3dcx2= mxEvent[_0x708e[728]](_0xb3dcx2);if(_0xb3dcx2== this[_0x708e[772]]|| _0xb3dcx2[_0x708e[265]]== this[_0x708e[772]]|| null!= this[_0x708e[1179]][_0x708e[2347]]&& _0xb3dcx2== this[_0x708e[1179]][_0x708e[2347]][_0x708e[126]]){return !0};for(;null!= _0xb3dcx2;){if(_0xb3dcx2== this[_0x708e[1179]][_0x708e[526]]){return !0};_0xb3dcx2= _0xb3dcx2[_0x708e[265]]};return !1};mxKeyHandler[_0x708e[202]][_0x708e[3044]]= function(_0xb3dcx2){if(this[_0x708e[1179]][_0x708e[994]]()&& !mxEvent[_0x708e[721]](_0xb3dcx2)&& this[_0x708e[3050]](_0xb3dcx2)&& this[_0x708e[994]]()){if(27== _0xb3dcx2[_0x708e[2124]]){this[_0x708e[859]](_0xb3dcx2)}else {if(!this[_0x708e[1179]][_0x708e[2203]]()){var _0xb3dcx3=this[_0x708e[3049]](_0xb3dcx2);null!= _0xb3dcx3&& (_0xb3dcx3(_0xb3dcx2),mxEvent[_0x708e[722]](_0xb3dcx2))}}}};mxKeyHandler[_0x708e[202]][_0x708e[859]]= function(_0xb3dcx2){this[_0x708e[1179]][_0x708e[2608]]()&& this[_0x708e[1179]][_0x708e[859]](_0xb3dcx2)};mxKeyHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[772]]= null};function mxTooltipHandler(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[1140]]= _0xb3dcx3|| 500,this[_0x708e[1179]][_0x708e[1133]](this))}mxTooltipHandler[_0x708e[202]][_0x708e[931]]= 10005;mxTooltipHandler[_0x708e[202]][_0x708e[1179]]= null;mxTooltipHandler[_0x708e[202]][_0x708e[1140]]= null;mxTooltipHandler[_0x708e[202]][_0x708e[3051]]= !1;mxTooltipHandler[_0x708e[202]][_0x708e[984]]= !0;mxTooltipHandler[_0x708e[202]][_0x708e[994]]= function(){return this[_0x708e[984]]};mxTooltipHandler[_0x708e[202]][_0x708e[995]]= function(_0xb3dcx2){this[_0x708e[984]]= _0xb3dcx2};mxTooltipHandler[_0x708e[202]][_0x708e[2277]]= function(){return this[_0x708e[3051]]};mxTooltipHandler[_0x708e[202]][_0x708e[3052]]= function(_0xb3dcx2){this[_0x708e[3051]]= _0xb3dcx2};mxTooltipHandler[_0x708e[202]][_0x708e[176]]= function(){null!= document[_0x708e[112]]&& (this[_0x708e[485]]= document[_0x708e[55]](_0x708e[485]),this[_0x708e[485]][_0x708e[926]]= _0x708e[3053],this[_0x708e[485]][_0x708e[124]][_0x708e[187]]= _0x708e[188],this[_0x708e[485]][_0x708e[124]][_0x708e[931]]= this[_0x708e[931]],document[_0x708e[112]][_0x708e[62]](this[_0x708e[485]]),mxEvent[_0x708e[169]](this[_0x708e[485]],_0x708e[751],mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[3054]]()})))};mxTooltipHandler[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[862]](_0xb3dcx3,!1);this[_0x708e[3054]]()};mxTooltipHandler[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){if(_0xb3dcx3[_0x708e[730]]()!= this[_0x708e[1217]]|| _0xb3dcx3[_0x708e[732]]()!= this[_0x708e[1218]]){this[_0x708e[862]](_0xb3dcx3,!0),(this[_0x708e[2277]]()|| _0xb3dcx3[_0x708e[248]]()!= this[_0x708e[724]]|| _0xb3dcx3[_0x708e[728]]()!= this[_0x708e[252]]&& (!this[_0x708e[3055]]|| null!= _0xb3dcx3[_0x708e[248]]()&& this[_0x708e[3055]]== (_0xb3dcx3[_0x708e[729]](_0xb3dcx3[_0x708e[248]]()[_0x708e[253]])|| !_0xb3dcx3[_0x708e[729]](_0xb3dcx3[_0x708e[248]]()[_0x708e[963]]))))&& this[_0x708e[3054]]()};this[_0x708e[1217]]= _0xb3dcx3[_0x708e[730]]();this[_0x708e[1218]]= _0xb3dcx3[_0x708e[732]]()};mxTooltipHandler[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[862]](_0xb3dcx3,!0);this[_0x708e[3054]]()};mxTooltipHandler[_0x708e[202]][_0x708e[3056]]= function(){null!= this[_0x708e[1123]]&& (window[_0x708e[2924]](this[_0x708e[1123]]),this[_0x708e[1123]]= null)};mxTooltipHandler[_0x708e[202]][_0x708e[862]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3056]]();if(_0xb3dcx3&& this[_0x708e[994]]()&& null!= _0xb3dcx2[_0x708e[248]]()&& (null== this[_0x708e[485]]|| _0x708e[188]== this[_0x708e[485]][_0x708e[124]][_0x708e[187]])){var _0xb3dcx4=_0xb3dcx2[_0x708e[248]](),_0xb3dcx5=_0xb3dcx2[_0x708e[728]](),_0xb3dcx9=_0xb3dcx2[_0x708e[730]](),_0xb3dcxa=_0xb3dcx2[_0x708e[732]](),_0xb3dcx12=_0xb3dcx2[_0x708e[729]](_0xb3dcx4[_0x708e[253]])|| _0xb3dcx2[_0x708e[729]](_0xb3dcx4[_0x708e[963]]);this[_0x708e[1123]]= window[_0x708e[261]](mxUtils[_0x708e[885]](this,function(){if(!this[_0x708e[1179]][_0x708e[2203]]()&& !this[_0x708e[1179]][_0x708e[2316]][_0x708e[1031]]()){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[2595]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa);this[_0x708e[539]](_0xb3dcx2,_0xb3dcx9,_0xb3dcxa);this[_0x708e[724]]= _0xb3dcx4;this[_0x708e[252]]= _0xb3dcx5;this[_0x708e[3055]]= _0xb3dcx12}}),this[_0x708e[1140]])}};mxTooltipHandler[_0x708e[202]][_0x708e[801]]= function(){this[_0x708e[3056]]();this[_0x708e[3054]]()};mxTooltipHandler[_0x708e[202]][_0x708e[3054]]= function(){null!= this[_0x708e[485]]&& (this[_0x708e[485]][_0x708e[124]][_0x708e[187]]= _0x708e[188])};mxTooltipHandler[_0x708e[202]][_0x708e[539]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){null== this[_0x708e[485]]&& this[_0x708e[176]]();var _0xb3dcx5=mxUtils[_0x708e[444]]();this[_0x708e[485]][_0x708e[124]][_0x708e[361]]= _0xb3dcx3+ _0xb3dcx5[_0x708e[235]]+ _0x708e[168];this[_0x708e[485]][_0x708e[124]][_0x708e[125]]= _0xb3dcx4+ mxConstants[_0x708e[560]]+ _0xb3dcx5[_0x708e[236]]+ _0x708e[168];mxUtils[_0x708e[1331]](_0xb3dcx2)?(this[_0x708e[485]][_0x708e[339]]= _0x708e[110],this[_0x708e[485]][_0x708e[62]](_0xb3dcx2)):this[_0x708e[485]][_0x708e[339]]= _0xb3dcx2[_0x708e[230]](/\n/g,_0x708e[545]);this[_0x708e[485]][_0x708e[124]][_0x708e[187]]= _0x708e[110];mxUtils[_0x708e[933]](this[_0x708e[485]])}};mxTooltipHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[1148]](this);mxEvent[_0x708e[762]](this[_0x708e[485]]);null!= this[_0x708e[485]]&& null!= this[_0x708e[485]][_0x708e[265]]&& this[_0x708e[485]][_0x708e[265]][_0x708e[266]](this[_0x708e[485]]);this[_0x708e[485]]= null};function mxCellTracker(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){mxCellMarker[_0x708e[239]](this,_0xb3dcx2,_0xb3dcx3);this[_0x708e[1179]][_0x708e[1133]](this);null!= _0xb3dcx4&& (this[_0x708e[736]]= _0xb3dcx4);mxClient[_0x708e[80]]&& mxEvent[_0x708e[169]](window,_0x708e[2428],mxUtils[_0x708e[885]](this,function(){this[_0x708e[515]]()}))}mxUtils[_0x708e[1284]](mxCellTracker,mxCellMarker);mxCellTracker[_0x708e[202]][_0x708e[787]]= function(_0xb3dcx2,_0xb3dcx3){};mxCellTracker[_0x708e[202]][_0x708e[788]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[994]]()&& this[_0x708e[2871]](_0xb3dcx3)};mxCellTracker[_0x708e[202]][_0x708e[789]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[862]]()};mxCellTracker[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[2717]]|| (this[_0x708e[2717]]= !0,this[_0x708e[1179]][_0x708e[1148]](this),mxCellMarker[_0x708e[202]][_0x708e[515]][_0x708e[183]](this))};function mxCellHighlight(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){null!= _0xb3dcx2&& (this[_0x708e[1179]]= _0xb3dcx2,this[_0x708e[2943]]= null!= _0xb3dcx3?_0xb3dcx3:mxConstants[_0x708e[2854]],this[_0x708e[610]]= null!= _0xb3dcx4?_0xb3dcx4:mxConstants[_0x708e[3057]],this[_0x708e[648]]= null!= _0xb3dcx5?_0xb3dcx5:!1,this[_0x708e[3058]]= mxUtils[_0x708e[885]](this,function(){this[_0x708e[2950]]()}),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.SCALE,this[_0x708e[3058]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.TRANSLATE,this[_0x708e[3058]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.SCALE_AND_TRANSLATE,this[_0x708e[3058]]),this[_0x708e[1179]][_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,this[_0x708e[3058]]),this[_0x708e[2877]]= mxUtils[_0x708e[885]](this,function(){this[_0x708e[801]]()}),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.DOWN,this[_0x708e[2877]]),this[_0x708e[1179]][_0x708e[249]]()[_0x708e[169]](mxEvent.UP,this[_0x708e[2877]]))}mxCellHighlight[_0x708e[202]][_0x708e[3059]]= !1;mxCellHighlight[_0x708e[202]][_0x708e[1179]]= !0;mxCellHighlight[_0x708e[202]][_0x708e[724]]= null;mxCellHighlight[_0x708e[202]][_0x708e[657]]= 2;mxCellHighlight[_0x708e[202]][_0x708e[2877]]= null;mxCellHighlight[_0x708e[202]][_0x708e[2828]]= function(_0xb3dcx2){this[_0x708e[2943]]= _0xb3dcx2;null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[1336]]= _0xb3dcx2)};mxCellHighlight[_0x708e[202]][_0x708e[3060]]= function(){this[_0x708e[253]]= this[_0x708e[2156]]();this[_0x708e[2950]]();!this[_0x708e[3059]]&& this[_0x708e[253]][_0x708e[252]][_0x708e[265]][_0x708e[285]]!= this[_0x708e[253]][_0x708e[252]]&& this[_0x708e[253]][_0x708e[252]][_0x708e[265]][_0x708e[950]](this[_0x708e[253]][_0x708e[252]],this[_0x708e[253]][_0x708e[252]][_0x708e[265]][_0x708e[285]])};mxCellHighlight[_0x708e[202]][_0x708e[2156]]= function(){var _0xb3dcx2=null,_0xb3dcx2=this[_0x708e[1179]][_0x708e[251]][_0x708e[250]](this[_0x708e[724]][_0x708e[246]])? new mxPolyline(this[_0x708e[724]][_0x708e[439]],this[_0x708e[2943]],this[_0x708e[610]]): new mxRectangleShape( new mxRectangle,null,this[_0x708e[2943]],this[_0x708e[610]]);_0xb3dcx2[_0x708e[507]]= this[_0x708e[1179]][_0x708e[507]]!= mxConstants[_0x708e[508]]?mxConstants[_0x708e[1523]]:mxConstants[_0x708e[508]];_0xb3dcx2[_0x708e[176]](this[_0x708e[1179]][_0x708e[249]]()[_0x708e[1524]]());mxEvent[_0x708e[2733]](_0xb3dcx2[_0x708e[252]],this[_0x708e[1179]],this[_0x708e[724]]);_0xb3dcx2[_0x708e[1564]]= 0;_0xb3dcx2[_0x708e[1229]]= !1;_0xb3dcx2[_0x708e[1522]]= this[_0x708e[648]];return _0xb3dcx2};mxCellHighlight[_0x708e[202]][_0x708e[2950]]= function(){if(null!= this[_0x708e[724]]&& null!= this[_0x708e[253]]){var _0xb3dcx2=0;this[_0x708e[1179]][_0x708e[251]][_0x708e[250]](this[_0x708e[724]][_0x708e[246]])?this[_0x708e[253]][_0x708e[1525]]= this[_0x708e[724]][_0x708e[439]]:(this[_0x708e[253]][_0x708e[1562]]= new mxRectangle(this[_0x708e[724]][_0x708e[235]]- this[_0x708e[657]],this[_0x708e[724]][_0x708e[236]]- this[_0x708e[657]],this[_0x708e[724]][_0x708e[117]]+ 2* this[_0x708e[657]],this[_0x708e[724]][_0x708e[119]]+ 2* this[_0x708e[657]]),_0xb3dcx2= Number(this[_0x708e[724]][_0x708e[124]][mxConstants[_0x708e[2278]]]|| _0x708e[468]));null!= this[_0x708e[724]][_0x708e[253]]&& this[_0x708e[253]][_0x708e[1609]](this[_0x708e[724]][_0x708e[253]][_0x708e[1610]]());0!= _0xb3dcx2&& (this[_0x708e[253]][_0x708e[603]]= _0xb3dcx2);this[_0x708e[253]][_0x708e[258]]()}};mxCellHighlight[_0x708e[202]][_0x708e[801]]= function(){this[_0x708e[1016]](null)};mxCellHighlight[_0x708e[202]][_0x708e[1016]]= function(_0xb3dcx2){this[_0x708e[724]]!= _0xb3dcx2&& (null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[515]](),this[_0x708e[253]]= null),this[_0x708e[724]]= _0xb3dcx2,null!= this[_0x708e[724]]&& this[_0x708e[3060]]())};mxCellHighlight[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[1179]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[3058]]);this[_0x708e[1179]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[3058]]);this[_0x708e[1179]][_0x708e[249]]()[_0x708e[745]](this[_0x708e[2877]]);this[_0x708e[1179]][_0x708e[502]]()[_0x708e[745]](this[_0x708e[2877]]);null!= this[_0x708e[253]]&& (this[_0x708e[253]][_0x708e[515]](),this[_0x708e[253]]= null)};function mxDefaultKeyHandler(_0xb3dcx2){if(null!= _0xb3dcx2){this[_0x708e[3061]]= _0xb3dcx2;this[_0x708e[2458]]= new mxKeyHandler(_0xb3dcx2[_0x708e[1179]]);var _0xb3dcx3=this[_0x708e[2458]][_0x708e[859]];this[_0x708e[2458]][_0x708e[859]]= function(_0xb3dcx4){_0xb3dcx3[_0x708e[183]](this,arguments);_0xb3dcx2[_0x708e[3062]]();_0xb3dcx2[_0x708e[746]]( new mxEventObject(mxEvent.ESCAPE,_0x708e[763],_0xb3dcx4))}}}mxDefaultKeyHandler[_0x708e[202]][_0x708e[3061]]= null;mxDefaultKeyHandler[_0x708e[202]][_0x708e[2458]]= null;mxDefaultKeyHandler[_0x708e[202]][_0x708e[3063]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=mxUtils[_0x708e[885]](this,function(){this[_0x708e[3061]][_0x708e[350]](_0xb3dcx3)});_0xb3dcx4?this[_0x708e[2458]][_0x708e[3047]](_0xb3dcx2,_0xb3dcx5):this[_0x708e[2458]][_0x708e[3045]](_0xb3dcx2,_0xb3dcx5)};mxDefaultKeyHandler[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[2458]][_0x708e[515]]();this[_0x708e[2458]]= null};function mxDefaultPopupMenu(_0xb3dcx2){this[_0x708e[3064]]= _0xb3dcx2}mxDefaultPopupMenu[_0x708e[202]][_0x708e[88]]= null;mxDefaultPopupMenu[_0x708e[202]][_0x708e[3064]]= null;mxDefaultPopupMenu[_0x708e[202]][_0x708e[3065]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){if(null!= this[_0x708e[3064]]){var _0xb3dcx9=this[_0x708e[3066]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5);this[_0x708e[3067]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,this[_0x708e[3064]][_0x708e[285]],null)}};mxDefaultPopupMenu[_0x708e[202]][_0x708e[3067]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12){for(var _0xb3dcx13=!1;null!= _0xb3dcxa;){if(_0x708e[99]== _0xb3dcxa[_0x708e[301]]){var _0xb3dcx14=_0xb3dcxa[_0x708e[284]](_0x708e[3068]);if(null== _0xb3dcx14|| _0xb3dcx9[_0xb3dcx14]){var _0xb3dcx14=_0xb3dcxa[_0x708e[284]](_0x708e[3069]),_0xb3dcx14=mxResources[_0x708e[203]](_0xb3dcx14)|| _0xb3dcx14,_0xb3dcx15=mxUtils[_0x708e[1545]](mxUtils[_0x708e[329]](_0xb3dcxa)),_0xb3dcx16=_0xb3dcxa[_0x708e[284]](_0x708e[892]),_0xb3dcx17=_0xb3dcxa[_0x708e[284]](_0x708e[2916]),_0xb3dcx18=_0xb3dcxa[_0x708e[284]](_0x708e[3070]);_0xb3dcx13&& (_0xb3dcx3[_0x708e[1051]](_0xb3dcx12),_0xb3dcx13= !1);null!= _0xb3dcx17&& this[_0x708e[88]]&& (_0xb3dcx17= this[_0x708e[88]]+ _0xb3dcx17);_0xb3dcx14= this[_0x708e[3071]](_0xb3dcx3,_0xb3dcx2,_0xb3dcx14,_0xb3dcx17,_0xb3dcx15,_0xb3dcx16,_0xb3dcx4,_0xb3dcx12,_0xb3dcx18);this[_0x708e[3067]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa[_0x708e[285]],_0xb3dcx14)}}else {_0x708e[3072]== _0xb3dcxa[_0x708e[301]]&& (_0xb3dcx13= !0)};_0xb3dcxa= _0xb3dcxa[_0x708e[287]]}};mxDefaultPopupMenu[_0x708e[202]][_0x708e[3071]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa,_0xb3dcx12,_0xb3dcx13,_0xb3dcx14){return _0xb3dcx2[_0x708e[1025]](_0xb3dcx4,_0xb3dcx5,function(_0xb3dcx2){_0x708e[279]== typeof _0xb3dcx9&& _0xb3dcx9[_0x708e[239]](_0xb3dcx3,_0xb3dcx3,_0xb3dcx12,_0xb3dcx2);null!= _0xb3dcxa&& _0xb3dcx3[_0x708e[350]](_0xb3dcxa,_0xb3dcx12,_0xb3dcx2)},_0xb3dcx13,_0xb3dcx14)};mxDefaultPopupMenu[_0x708e[202]][_0x708e[3066]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[1179]][_0x708e[502]](),_0xb3dcx9=_0xb3dcx5[_0x708e[262]](_0xb3dcx3),_0xb3dcxa=[];_0xb3dcxa[_0x708e[3073]]= null== _0xb3dcx3;_0xb3dcxa[_0x708e[3074]]= 1< _0xb3dcx2[_0x708e[1179]][_0x708e[2694]]();_0xb3dcxa[_0x708e[3075]]= _0xb3dcx5[_0x708e[501]]()!= _0xb3dcx5[_0x708e[1197]](_0xb3dcx2[_0x708e[1179]][_0x708e[902]]());_0xb3dcxa[_0x708e[246]]= null!= _0xb3dcx3;_0xb3dcx5= null!= _0xb3dcx3&& 1== _0xb3dcx2[_0x708e[1179]][_0x708e[2694]]();_0xb3dcxa[_0x708e[3076]]= _0xb3dcx5&& 0< _0xb3dcx9;_0xb3dcxa[_0x708e[3077]]= _0xb3dcx5&& _0xb3dcx2[_0x708e[1179]][_0x708e[2516]](_0xb3dcx3,!1);_0xb3dcxa[_0x708e[3078]]= _0xb3dcx5&& _0xb3dcx2[_0x708e[1179]][_0x708e[2516]](_0xb3dcx3,!0);_0xb3dcxa[_0x708e[3079]]= _0xb3dcx5&& _0xb3dcx2[_0x708e[1179]][_0x708e[2553]](_0xb3dcx3);_0xb3dcxa[_0x708e[3080]]= _0xb3dcxa[_0x708e[3079]]&& 0== _0xb3dcx9;_0xb3dcxa[_0x708e[687]]= _0xb3dcx5&& _0xb3dcx2[_0x708e[1179]][_0x708e[1730]](_0xb3dcx3);_0xb3dcx9= this[_0x708e[3064]][_0x708e[64]](_0x708e[3081]);for(_0xb3dcx5= 0;_0xb3dcx5< _0xb3dcx9[_0x708e[67]];_0xb3dcx5++){var _0xb3dcx12=mxUtils[_0x708e[1545]](mxUtils[_0x708e[329]](_0xb3dcx9[_0xb3dcx5])),_0xb3dcx13=_0xb3dcx9[_0xb3dcx5][_0x708e[284]](_0x708e[298]);null!= _0xb3dcx13&& _0x708e[279]== typeof _0xb3dcx12&& (_0xb3dcxa[_0xb3dcx13]= _0xb3dcx12(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4))};return _0xb3dcxa};function mxDefaultToolbar(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3061]]= _0xb3dcx3;null!= _0xb3dcx2&& null!= _0xb3dcx3&& this[_0x708e[176]](_0xb3dcx2)}mxDefaultToolbar[_0x708e[202]][_0x708e[3061]]= null;mxDefaultToolbar[_0x708e[202]][_0x708e[3082]]= null;mxDefaultToolbar[_0x708e[202]][_0x708e[2877]]= null;mxDefaultToolbar[_0x708e[202]][_0x708e[657]]= 4;mxDefaultToolbar[_0x708e[202]][_0x708e[2804]]= !1;mxDefaultToolbar[_0x708e[202]][_0x708e[176]]= function(_0xb3dcx2){null!= _0xb3dcx2&& (this[_0x708e[3082]]= new mxToolbar(_0xb3dcx2),this[_0x708e[3082]][_0x708e[169]](mxEvent.SELECT,mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx4[_0x708e[720]](_0x708e[279]);this[_0x708e[3061]][_0x708e[3083]]= null!= _0xb3dcx5?mxUtils[_0x708e[885]](this,function(){_0xb3dcx5[_0x708e[183]](this,arguments);this[_0x708e[3082]][_0x708e[1050]]()}):null})),this[_0x708e[2877]]= mxUtils[_0x708e[885]](this,function(){null!= this[_0x708e[3082]]&& this[_0x708e[3082]][_0x708e[1050]](!0)}),this[_0x708e[3061]][_0x708e[1179]][_0x708e[169]](mxEvent.DOUBLE_CLICK,this[_0x708e[2877]]),this[_0x708e[3061]][_0x708e[169]](mxEvent.ESCAPE,this[_0x708e[2877]]))};mxDefaultToolbar[_0x708e[202]][_0x708e[1025]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=mxUtils[_0x708e[885]](this,function(){null!= _0xb3dcx4&& 0< _0xb3dcx4[_0x708e[67]]&& this[_0x708e[3061]][_0x708e[350]](_0xb3dcx4)});return this[_0x708e[3082]][_0x708e[1025]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcx5)};mxDefaultToolbar[_0x708e[202]][_0x708e[1051]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2|| mxClient[_0x708e[88]]+ _0x708e[3084];this[_0x708e[3082]][_0x708e[1051]](_0xb3dcx2)};mxDefaultToolbar[_0x708e[202]][_0x708e[970]]= function(){return this[_0x708e[3082]][_0x708e[970]]()};mxDefaultToolbar[_0x708e[202]][_0x708e[1038]]= function(_0xb3dcx2){return this[_0x708e[3082]][_0x708e[1038]](_0xb3dcx2)};mxDefaultToolbar[_0x708e[202]][_0x708e[3085]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=mxUtils[_0x708e[885]](this,function(){this[_0x708e[3061]][_0x708e[350]](_0xb3dcx4)});this[_0x708e[972]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx5)};mxDefaultToolbar[_0x708e[202]][_0x708e[972]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return this[_0x708e[3082]][_0x708e[972]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)};mxDefaultToolbar[_0x708e[202]][_0x708e[1048]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){var _0xb3dcxa=mxUtils[_0x708e[885]](this,function(){this[_0x708e[3061]][_0x708e[3086]](_0xb3dcx4);null!= _0xb3dcx9&& _0xb3dcx9(this[_0x708e[3061]])});return this[_0x708e[3082]][_0x708e[1042]](_0xb3dcx2,_0xb3dcx3,_0xb3dcxa,_0xb3dcx5)};mxDefaultToolbar[_0x708e[202]][_0x708e[3087]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9,_0xb3dcxa){var _0xb3dcx12=function(){return _0x708e[279]== typeof _0xb3dcx4?_0xb3dcx4():null!= _0xb3dcx4?_0xb3dcx4[_0x708e[238]]():null},_0xb3dcx13=mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){_0x708e[279]== typeof _0xb3dcx9?_0xb3dcx9(this[_0x708e[3061]],_0xb3dcx12(),_0xb3dcx2,_0xb3dcx3):this[_0x708e[1008]](_0xb3dcx12(),_0xb3dcx2,_0xb3dcx3);this[_0x708e[3082]][_0x708e[1050]]();mxEvent[_0x708e[722]](_0xb3dcx2)});_0xb3dcx2= this[_0x708e[3082]][_0x708e[1048]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx13,_0xb3dcx5,null,_0xb3dcxa);this[_0x708e[3088]](_0xb3dcx2,function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx13(_0xb3dcx3,_0xb3dcx4)});return _0xb3dcx2};mxDefaultToolbar[_0x708e[202]][_0x708e[1008]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[3061]][_0x708e[1179]],_0xb3dcx9=_0xb3dcx5[_0x708e[502]]();if(null== _0xb3dcx4|| _0xb3dcx9[_0x708e[250]](_0xb3dcx4)|| !this[_0x708e[2804]]|| !_0xb3dcx5[_0x708e[2565]](_0xb3dcx4)){for(;null!= _0xb3dcx4&& !_0xb3dcx5[_0x708e[2685]](_0xb3dcx4,[_0xb3dcx2],_0xb3dcx3);){_0xb3dcx4= _0xb3dcx9[_0x708e[1197]](_0xb3dcx4)};this[_0x708e[1937]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)}else {this[_0x708e[807]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)}};mxDefaultToolbar[_0x708e[202]][_0x708e[1937]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[3061]][_0x708e[1179]];if(_0xb3dcx5[_0x708e[2621]](_0xb3dcx2)){var _0xb3dcx9=mxEvent[_0x708e[731]](_0xb3dcx3),_0xb3dcxa=mxEvent[_0x708e[733]](_0xb3dcx3),_0xb3dcx9=mxUtils[_0x708e[2196]](_0xb3dcx5[_0x708e[526]],_0xb3dcx9,_0xb3dcxa);return _0xb3dcx5[_0x708e[2655]]()&& _0xb3dcx5[_0x708e[2686]](_0xb3dcx4,[_0xb3dcx2],_0xb3dcx3)?_0xb3dcx5[_0x708e[853]](_0xb3dcx4,[_0xb3dcx2],null,_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]]):this[_0x708e[3061]][_0x708e[817]](_0xb3dcx4,_0xb3dcx2,_0xb3dcx9[_0x708e[235]],_0xb3dcx9[_0x708e[236]])};return null};mxDefaultToolbar[_0x708e[202]][_0x708e[807]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= this[_0x708e[3061]][_0x708e[1179]];var _0xb3dcx5=_0xb3dcx3[_0x708e[502]]();if(null!= _0xb3dcx4&& _0xb3dcx3[_0x708e[2565]](_0xb3dcx2)&& _0xb3dcx3[_0x708e[2581]](null,_0xb3dcx4,_0xb3dcx2)){var _0xb3dcx9=null;_0xb3dcx5[_0x708e[473]]();try{var _0xb3dcxa=_0xb3dcx5[_0x708e[1721]](_0xb3dcx4),_0xb3dcx12=_0xb3dcx5[_0x708e[1721]](_0xb3dcx2)[_0x708e[238]]();_0xb3dcx12[_0x708e[235]]= _0xb3dcxa[_0x708e[235]]+ (_0xb3dcxa[_0x708e[117]]- _0xb3dcx12[_0x708e[117]])/ 2;_0xb3dcx12[_0x708e[236]]= _0xb3dcxa[_0x708e[236]]+ (_0xb3dcxa[_0x708e[119]]- _0xb3dcx12[_0x708e[119]])/ 2;var _0xb3dcx13=this[_0x708e[657]]* _0xb3dcx3[_0x708e[1020]],_0xb3dcx14=20* _0xb3dcx5[_0x708e[1962]](_0xb3dcx4,!0);this[_0x708e[3061]][_0x708e[3089]]?_0xb3dcx12[_0x708e[235]]+= (_0xb3dcx12[_0x708e[117]]+ _0xb3dcxa[_0x708e[117]])/ 2+ _0xb3dcx13+ _0xb3dcx14:_0xb3dcx12[_0x708e[236]]+= (_0xb3dcx12[_0x708e[119]]+ _0xb3dcxa[_0x708e[119]])/ 2+ _0xb3dcx13+ _0xb3dcx14;_0xb3dcx2[_0x708e[1724]](_0xb3dcx12);var _0xb3dcx15=_0xb3dcx5[_0x708e[1197]](_0xb3dcx4);_0xb3dcx3[_0x708e[2103]](_0xb3dcx2,_0xb3dcx15);_0xb3dcx3[_0x708e[2509]](_0xb3dcx2);_0xb3dcx9= this[_0x708e[3061]][_0x708e[2503]](_0xb3dcx4,_0xb3dcx2);if(null== _0xb3dcx5[_0x708e[1721]](_0xb3dcx9)){var _0xb3dcx16= new mxGeometry;_0xb3dcx16[_0x708e[1500]]= !0;_0xb3dcx5[_0x708e[1724]](_0xb3dcx9,_0xb3dcx16)};_0xb3dcx3[_0x708e[2504]](_0xb3dcx9,_0xb3dcx15,_0xb3dcx4,_0xb3dcx2)}finally{_0xb3dcx5[_0x708e[476]]()};_0xb3dcx3[_0x708e[904]]([_0xb3dcx2,_0xb3dcx9]);_0xb3dcx3[_0x708e[2564]](_0xb3dcx2)}};mxDefaultToolbar[_0x708e[202]][_0x708e[3088]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=document[_0x708e[55]](_0x708e[466]);_0xb3dcx4[_0x708e[57]](_0x708e[390],_0xb3dcx2[_0x708e[284]](_0x708e[390]));var _0xb3dcx5=mxUtils[_0x708e[885]](this,function(_0xb3dcx9){_0xb3dcx4[_0x708e[124]][_0x708e[117]]= 2* _0xb3dcx2[_0x708e[359]]+ _0x708e[168];_0xb3dcx4[_0x708e[124]][_0x708e[119]]= 2* _0xb3dcx2[_0x708e[167]]+ _0x708e[168];mxUtils[_0x708e[3090]](_0xb3dcx2,this[_0x708e[3061]][_0x708e[1179]],_0xb3dcx3,_0xb3dcx4);mxEvent[_0x708e[745]](_0xb3dcx4,_0x708e[219],_0xb3dcx5)});mxClient[_0x708e[80]]?_0xb3dcx5():mxEvent[_0x708e[169]](_0xb3dcx4,_0x708e[219],_0xb3dcx5)};mxDefaultToolbar[_0x708e[202]][_0x708e[515]]= function(){null!= this[_0x708e[2877]]&& (this[_0x708e[3061]][_0x708e[1179]][_0x708e[745]](_0x708e[760],this[_0x708e[2877]]),this[_0x708e[3061]][_0x708e[745]](_0x708e[859],this[_0x708e[2877]]),this[_0x708e[2877]]= null);null!= this[_0x708e[3082]]&& (this[_0x708e[3082]][_0x708e[515]](),this[_0x708e[3082]]= null)};function mxEditor(_0xb3dcx2){this[_0x708e[3091]]= [];this[_0x708e[3092]]();if(null!= document[_0x708e[112]]){this[_0x708e[3093]]= [];this[_0x708e[3094]]= new mxDefaultPopupMenu;this[_0x708e[3095]]= new mxUndoManager;this[_0x708e[1179]]= this[_0x708e[3096]]();this[_0x708e[3082]]= this[_0x708e[3097]]();this[_0x708e[3098]]= new mxDefaultKeyHandler(this);this[_0x708e[3099]](_0xb3dcx2);this[_0x708e[1179]][_0x708e[2180]]= this[_0x708e[3100]];!mxClient[_0x708e[3101]]&& null!= this[_0x708e[1056]]&& (this[_0x708e[812]]= this[_0x708e[3102]]());if(null!= this[_0x708e[1987]]){this[_0x708e[1987]]()};mxClient[_0x708e[80]]&& mxEvent[_0x708e[169]](window,_0x708e[2428],mxUtils[_0x708e[885]](this,function(){this[_0x708e[515]]()}))}}mxLoadResources&& mxResources[_0x708e[99]](mxClient[_0x708e[86]]+ _0x708e[3103]);mxEditor[_0x708e[202]]= new mxEventSource;mxEditor[_0x708e[202]][_0x708e[196]]= mxEditor;mxEditor[_0x708e[202]][_0x708e[3104]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[3105]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[3106]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[3107]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[3108]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[3109]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[3110]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[716]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[3111]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[3112]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[3113]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2719]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[3114]]= _0x708e[130]!= mxClient[_0x708e[90]]?_0x708e[2136]:_0x708e[110];mxEditor[_0x708e[202]][_0x708e[2136]]= null;mxEditor[_0x708e[202]][_0x708e[1179]]= null;mxEditor[_0x708e[202]][_0x708e[2720]]= null;mxEditor[_0x708e[202]][_0x708e[3082]]= null;mxEditor[_0x708e[202]][_0x708e[812]]= null;mxEditor[_0x708e[202]][_0x708e[879]]= null;mxEditor[_0x708e[202]][_0x708e[3094]]= null;mxEditor[_0x708e[202]][_0x708e[3095]]= null;mxEditor[_0x708e[202]][_0x708e[3098]]= null;mxEditor[_0x708e[202]][_0x708e[3091]]= null;mxEditor[_0x708e[202]][_0x708e[3115]]= _0x708e[1061];mxEditor[_0x708e[202]][_0x708e[3116]]= !1;mxEditor[_0x708e[202]][_0x708e[1157]]= !0;mxEditor[_0x708e[202]][_0x708e[3083]]= null;mxEditor[_0x708e[202]][_0x708e[3117]]= !1;mxEditor[_0x708e[202]][_0x708e[3118]]= null;mxEditor[_0x708e[202]][_0x708e[2075]]= null;mxEditor[_0x708e[202]][_0x708e[3119]]= null;mxEditor[_0x708e[202]][_0x708e[3120]]= null;mxEditor[_0x708e[202]][_0x708e[3121]]= null;mxEditor[_0x708e[202]][_0x708e[3122]]= null;mxEditor[_0x708e[202]][_0x708e[1069]]= _0x708e[336];mxEditor[_0x708e[202]][_0x708e[3123]]= _0x708e[338];mxEditor[_0x708e[202]][_0x708e[1070]]= !0;mxEditor[_0x708e[202]][_0x708e[3124]]= null;mxEditor[_0x708e[202]][_0x708e[3125]]= null;mxEditor[_0x708e[202]][_0x708e[1056]]= null;mxEditor[_0x708e[202]][_0x708e[1058]]= null;mxEditor[_0x708e[202]][_0x708e[1057]]= null;mxEditor[_0x708e[202]][_0x708e[3089]]= !1;mxEditor[_0x708e[202]][_0x708e[3126]]= !1;mxEditor[_0x708e[202]][_0x708e[3127]]= 0;mxEditor[_0x708e[202]][_0x708e[3128]]= !1;mxEditor[_0x708e[202]][_0x708e[3129]]= !1;mxEditor[_0x708e[202]][_0x708e[3093]]= null;mxEditor[_0x708e[202]][_0x708e[3130]]= 0;mxEditor[_0x708e[202]][_0x708e[3100]]= _0x708e[604];mxEditor[_0x708e[202]][_0x708e[3112]]= null;mxEditor[_0x708e[202]][_0x708e[3131]]= null;mxEditor[_0x708e[202]][_0x708e[3132]]= 20;mxEditor[_0x708e[202]][_0x708e[2719]]= null;mxEditor[_0x708e[202]][_0x708e[3133]]= null;mxEditor[_0x708e[202]][_0x708e[3134]]= null;mxEditor[_0x708e[202]][_0x708e[3135]]= 300;mxEditor[_0x708e[202]][_0x708e[3136]]= 260;mxEditor[_0x708e[202]][_0x708e[3137]]= 240;mxEditor[_0x708e[202]][_0x708e[3138]]= null;mxEditor[_0x708e[202]][_0x708e[3139]]= !1;mxEditor[_0x708e[202]][_0x708e[3140]]= !1;mxEditor[_0x708e[202]][_0x708e[2113]]= !1;mxEditor[_0x708e[202]][_0x708e[2133]]= function(){return this[_0x708e[2113]]};mxEditor[_0x708e[202]][_0x708e[2128]]= function(_0xb3dcx2){this[_0x708e[2113]]= _0xb3dcx2};mxEditor[_0x708e[202]][_0x708e[3092]]= function(){this[_0x708e[3071]](_0x708e[815],function(_0xb3dcx2){_0xb3dcx2[_0x708e[815]]()});this[_0x708e[3071]](_0x708e[540],function(_0xb3dcx2){( new mxPrintPreview(_0xb3dcx2[_0x708e[1179]],1))[_0x708e[392]]()});this[_0x708e[3071]](_0x708e[539],function(_0xb3dcx2){mxUtils[_0x708e[539]](_0xb3dcx2[_0x708e[1179]],null,10,10)});this[_0x708e[3071]](_0x708e[3141],function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[3142]]();if(null== _0xb3dcx3|| mxClient[_0x708e[3101]]){_0xb3dcx2[_0x708e[350]](_0x708e[539])}else {var _0xb3dcx4=mxUtils[_0x708e[3143]](_0xb3dcx2[_0x708e[1179]],1),_0xb3dcx4=mxUtils[_0x708e[875]](_0xb3dcx4,_0x708e[192]);mxUtils[_0x708e[894]](_0xb3dcx3,_0xb3dcx2[_0x708e[3123]]+ _0x708e[226]+ encodeURIComponent(_0xb3dcx4),document,_0x708e[3144])}});this[_0x708e[3071]](_0x708e[802],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[802]]()});this[_0x708e[3071]](_0x708e[3145],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& mxClipboard[_0x708e[3145]](_0xb3dcx2[_0x708e[1179]])});this[_0x708e[3071]](_0x708e[149],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& mxClipboard[_0x708e[149]](_0xb3dcx2[_0x708e[1179]])});this[_0x708e[3071]](_0x708e[3146],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& mxClipboard[_0x708e[3146]](_0xb3dcx2[_0x708e[1179]])});this[_0x708e[3071]](_0x708e[3147],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[842]]()});this[_0x708e[3071]](_0x708e[1504],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2450]](_0xb3dcx2[_0x708e[844]]())});this[_0x708e[3071]](_0x708e[3148],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[904]](_0xb3dcx2[_0x708e[1179]][_0x708e[845]]())});this[_0x708e[3071]](_0x708e[1997],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[846]]()});this[_0x708e[3071]](_0x708e[824],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[824]]()});this[_0x708e[3071]](_0x708e[825],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[825]]()});this[_0x708e[3071]](_0x708e[2558],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[2558]]()});this[_0x708e[3071]](_0x708e[2559],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[2559]]()});this[_0x708e[3071]](_0x708e[3149],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[2560]]()});this[_0x708e[3071]](_0x708e[933],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[933]]()});this[_0x708e[3071]](_0x708e[3150],function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[3150]](_0xb3dcx3)});this[_0x708e[3071]](_0x708e[2705],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2705]]()});this[_0x708e[3071]](_0x708e[3151],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2440]]()});this[_0x708e[3071]](_0x708e[2706],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2706]]()});this[_0x708e[3071]](_0x708e[2708],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2708]]()});this[_0x708e[3071]](_0x708e[1061],function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2453]](_0xb3dcx3)&& _0xb3dcx2[_0x708e[1179]][_0x708e[2451]](_0xb3dcx3)});this[_0x708e[3071]](_0x708e[3152],function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[840]](!0)});this[_0x708e[3071]](_0x708e[3153],function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[840]](!1)});this[_0x708e[3071]](_0x708e[2552],function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2[_0x708e[1179]][_0x708e[2552]](_0xb3dcx3)});this[_0x708e[3071]](_0x708e[2554],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[2554]]()});this[_0x708e[3071]](_0x708e[2442],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[2442]]()});this[_0x708e[3071]](_0x708e[3154],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2702]]()});this[_0x708e[3071]](_0x708e[3155],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2700]]()});this[_0x708e[3071]](_0x708e[3156],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2703]]()});this[_0x708e[3071]](_0x708e[3157],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2704]]()});this[_0x708e[3071]](_0x708e[2514],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[847]](!0)});this[_0x708e[3071]](_0x708e[3158],function(_0xb3dcx2){if(_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()){var _0xb3dcx3=_0xb3dcx2[_0x708e[1179]][_0x708e[1728]]();_0xb3dcx2[_0x708e[1179]][_0x708e[847]](!0,!1,_0xb3dcx3)}});this[_0x708e[3071]](_0x708e[3159],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[847]](!1)});this[_0x708e[3071]](_0x708e[3160],function(_0xb3dcx2){if(_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()){var _0xb3dcx3=_0xb3dcx2[_0x708e[1179]][_0x708e[1728]]();_0xb3dcx2[_0x708e[1179]][_0x708e[847]](!1,!1,_0xb3dcx3)}});this[_0x708e[3071]](_0x708e[1447],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_BOLD)});this[_0x708e[3071]](_0x708e[1449],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_ITALIC)});this[_0x708e[3071]](_0x708e[355],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_UNDERLINE)});this[_0x708e[3071]](_0x708e[639],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[2491]](mxConstants.STYLE_FONTSTYLE,mxConstants.FONT_SHADOW)});this[_0x708e[3071]](_0x708e[3161],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[849]](mxConstants.ALIGN_LEFT)});this[_0x708e[3071]](_0x708e[3162],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[849]](mxConstants.ALIGN_CENTER)});this[_0x708e[3071]](_0x708e[3163],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[849]](mxConstants.ALIGN_RIGHT)});this[_0x708e[3071]](_0x708e[3164],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[849]](mxConstants.ALIGN_TOP)});this[_0x708e[3071]](_0x708e[3165],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[849]](mxConstants.ALIGN_MIDDLE)});this[_0x708e[3071]](_0x708e[3166],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[849]](mxConstants.ALIGN_BOTTOM)});this[_0x708e[3071]](_0x708e[3167],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_LEFT)});this[_0x708e[3071]](_0x708e[3168],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_CENTER)});this[_0x708e[3071]](_0x708e[3169],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_ALIGN,mxConstants.ALIGN_RIGHT)});this[_0x708e[3071]](_0x708e[3170],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_TOP)});this[_0x708e[3071]](_0x708e[3171],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_MIDDLE)});this[_0x708e[3071]](_0x708e[3172],function(_0xb3dcx2){_0xb3dcx2[_0x708e[1179]][_0x708e[994]]()&& _0xb3dcx2[_0x708e[1179]][_0x708e[1717]](mxConstants.STYLE_VERTICAL_ALIGN,mxConstants.ALIGN_BOTTOM)});this[_0x708e[3071]](_0x708e[499],function(_0xb3dcx2){var _0xb3dcx3=100* _0xb3dcx2[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx3=parseFloat(mxUtils[_0x708e[3173]](mxResources[_0x708e[203]](_0xb3dcx2[_0x708e[3104]])|| _0xb3dcx2[_0x708e[3104]],_0xb3dcx3))/ 100;isNaN(_0xb3dcx3)|| _0xb3dcx2[_0x708e[1179]][_0x708e[249]]()[_0x708e[2262]](_0xb3dcx3)});this[_0x708e[3071]](_0x708e[3174],function(_0xb3dcx2){null!= _0xb3dcx2[_0x708e[3112]]?_0xb3dcx2[_0x708e[3112]][_0x708e[175]](!_0xb3dcx2[_0x708e[3112]][_0x708e[174]]()):_0xb3dcx2[_0x708e[3175]]()});this[_0x708e[3071]](_0x708e[3176],function(_0xb3dcx2){null!= _0xb3dcx2[_0x708e[2719]]?_0xb3dcx2[_0x708e[2719]][_0x708e[175]](!_0xb3dcx2[_0x708e[2719]][_0x708e[174]]()):_0xb3dcx2[_0x708e[3177]]()});this[_0x708e[3071]](_0x708e[3178],function(_0xb3dcx2){null== _0xb3dcx2[_0x708e[2136]]?_0xb3dcx2[_0x708e[3179]]():_0xb3dcx2[_0x708e[2136]][_0x708e[175]](!_0xb3dcx2[_0x708e[2136]][_0x708e[174]]())});this[_0x708e[3071]](_0x708e[3180],function(_0xb3dcx2){mxLog[_0x708e[175]](!mxLog[_0x708e[174]]())})};mxEditor[_0x708e[202]][_0x708e[3102]]= function(){var _0xb3dcx2=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[746]]( new mxEventObject(mxEvent.SESSION,_0x708e[812],_0xb3dcx2))});return this[_0x708e[807]](this[_0x708e[1056]],this[_0x708e[1057]],this[_0x708e[1058]],_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3099]]= function(_0xb3dcx2){null!= _0xb3dcx2&& (( new mxCodec(_0xb3dcx2[_0x708e[295]]))[_0x708e[1093]](_0xb3dcx2,this),this[_0x708e[3181]]())};mxEditor[_0x708e[202]][_0x708e[3182]]= function(){document[_0x708e[3183]]= _0x708e[3184]};mxEditor[_0x708e[202]][_0x708e[3181]]= function(){this[_0x708e[1184]]= ( new Date)[_0x708e[178]]();this[_0x708e[3095]][_0x708e[200]]();this[_0x708e[1183]]= 0;this[_0x708e[2128]](!1)};mxEditor[_0x708e[202]][_0x708e[3071]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3091]][_0xb3dcx2]= _0xb3dcx3};mxEditor[_0x708e[202]][_0x708e[350]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[3091]][_0xb3dcx2];if(null!= _0xb3dcx5){try{var _0xb3dcx9=arguments;_0xb3dcx9[0]= this;_0xb3dcx5[_0x708e[183]](this,_0xb3dcx9)}catch(f){throw mxUtils[_0x708e[267]](_0x708e[3185]+ _0xb3dcx2+ _0x708e[3186]+ f[_0x708e[281]],280,!0),f}}else {mxUtils[_0x708e[267]](_0x708e[3187]+ _0xb3dcx2,280,!0)}};mxEditor[_0x708e[202]][_0x708e[3188]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[3118]][_0xb3dcx2]= _0xb3dcx3};mxEditor[_0x708e[202]][_0x708e[3189]]= function(_0xb3dcx2){return this[_0x708e[3118]][_0xb3dcx2]};mxEditor[_0x708e[202]][_0x708e[3096]]= function(){var _0xb3dcx2= new mxGraph(null,null,this[_0x708e[2720]]);_0xb3dcx2[_0x708e[2673]](!0);_0xb3dcx2[_0x708e[2674]](!0);this[_0x708e[3190]](_0xb3dcx2);this[_0x708e[3191]](_0xb3dcx2);this[_0x708e[3192]](_0xb3dcx2);this[_0x708e[3193]](_0xb3dcx2);this[_0x708e[3194]](_0xb3dcx2);_0xb3dcx2[_0x708e[2316]][_0x708e[1033]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){return this[_0x708e[3195]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5)});_0xb3dcx2[_0x708e[2433]][_0x708e[1033]]= mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx4){return this[_0x708e[2503]](_0xb3dcx2,_0xb3dcx4)});this[_0x708e[3196]](_0xb3dcx2);this[_0x708e[3197]](_0xb3dcx2);return _0xb3dcx2};mxEditor[_0x708e[202]][_0x708e[3196]]= function(_0xb3dcx2){_0xb3dcx2= new mxSwimlaneManager(_0xb3dcx2,!1);_0xb3dcx2[_0x708e[1737]]= mxUtils[_0x708e[885]](this,function(){return this[_0x708e[3089]]});_0xb3dcx2[_0x708e[994]]= mxUtils[_0x708e[885]](this,function(){return this[_0x708e[3128]]});return _0xb3dcx2};mxEditor[_0x708e[202]][_0x708e[3197]]= function(_0xb3dcx2){var _0xb3dcx3= new mxLayoutManager(_0xb3dcx2),_0xb3dcx4=this;_0xb3dcx3[_0x708e[2754]]= function(_0xb3dcx3){var _0xb3dcx9=null,_0xb3dcxa=_0xb3dcx4[_0x708e[1179]][_0x708e[502]]();if(null!= _0xb3dcxa[_0x708e[1197]](_0xb3dcx3)){if(_0xb3dcx4[_0x708e[3129]]&& _0xb3dcx2[_0x708e[1730]](_0xb3dcx3)){null== _0xb3dcx4[_0x708e[3198]]&& (_0xb3dcx4[_0x708e[3198]]= _0xb3dcx4[_0x708e[3199]]()),_0xb3dcx9= _0xb3dcx4[_0x708e[3198]]}else {if(_0xb3dcx4[_0x708e[3126]]&& (_0xb3dcx2[_0x708e[2553]](_0xb3dcx3)|| null== _0xb3dcxa[_0x708e[1197]](_0xb3dcxa[_0x708e[1197]](_0xb3dcx3)))){null== _0xb3dcx4[_0x708e[3200]]&& (_0xb3dcx4[_0x708e[3200]]= _0xb3dcx4[_0x708e[3201]]()),_0xb3dcx9= _0xb3dcx4[_0x708e[3200]]}}};return _0xb3dcx9};return _0xb3dcx3};mxEditor[_0x708e[202]][_0x708e[3202]]= function(_0xb3dcx2){null== this[_0x708e[1179]][_0x708e[526]]&& (this[_0x708e[1179]][_0x708e[176]](_0xb3dcx2),this[_0x708e[3203]]= new mxRubberband(this[_0x708e[1179]]),this[_0x708e[1157]]&& mxEvent[_0x708e[1157]](_0xb3dcx2),mxClient[_0x708e[496]]&& new mxDivResizer(_0xb3dcx2))};mxEditor[_0x708e[202]][_0x708e[3190]]= function(_0xb3dcx2){_0xb3dcx2[_0x708e[169]](mxEvent.DOUBLE_CLICK,mxUtils[_0x708e[885]](this,function(_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx4[_0x708e[720]](_0x708e[246]);null!= _0xb3dcx5&& (_0xb3dcx2[_0x708e[994]]()&& null!= this[_0x708e[3115]])&& (this[_0x708e[350]](this[_0x708e[3115]],_0xb3dcx5),_0xb3dcx4[_0x708e[722]]())}))};mxEditor[_0x708e[202]][_0x708e[3191]]= function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx9=_0xb3dcx3[_0x708e[720]](_0x708e[1061]);this[_0x708e[3095]][_0x708e[1114]](_0xb3dcx9)});_0xb3dcx2[_0x708e[502]]()[_0x708e[169]](mxEvent.UNDO,_0xb3dcx3);_0xb3dcx2[_0x708e[249]]()[_0x708e[169]](mxEvent.UNDO,_0xb3dcx3);_0xb3dcx3= function(_0xb3dcx3,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx5[_0x708e[720]](_0x708e[1061])[_0x708e[1065]];_0xb3dcx2[_0x708e[904]](_0xb3dcx2[_0x708e[2436]](_0xb3dcx9))};this[_0x708e[3095]][_0x708e[169]](mxEvent.UNDO,_0xb3dcx3);this[_0x708e[3095]][_0x708e[169]](mxEvent.REDO,_0xb3dcx3)};mxEditor[_0x708e[202]][_0x708e[3192]]= function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[885]](this,function(_0xb3dcx2){this[_0x708e[746]]( new mxEventObject(mxEvent.ROOT))});_0xb3dcx2[_0x708e[249]]()[_0x708e[169]](mxEvent.DOWN,_0xb3dcx3);_0xb3dcx2[_0x708e[249]]()[_0x708e[169]](mxEvent.UP,_0xb3dcx3)};mxEditor[_0x708e[202]][_0x708e[3193]]= function(_0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[885]](this,function(_0xb3dcx3,_0xb3dcx5){this[_0x708e[2128]](!0);!0== this[_0x708e[3140]]&& _0xb3dcx2[_0x708e[2585]]();for(var _0xb3dcx9=_0xb3dcx5[_0x708e[720]](_0x708e[1061])[_0x708e[1065]],_0xb3dcxa=0;_0xb3dcxa< _0xb3dcx9[_0x708e[67]];_0xb3dcxa++){var _0xb3dcx12=_0xb3dcx9[_0xb3dcxa];if(_0xb3dcx12 instanceof mxRootChange|| _0xb3dcx12 instanceof mxValueChange&& _0xb3dcx12[_0x708e[246]]== this[_0x708e[1179]][_0x708e[251]][_0x708e[813]]|| _0xb3dcx12 instanceof mxCellAttributeChange&& _0xb3dcx12[_0x708e[246]]== this[_0x708e[1179]][_0x708e[251]][_0x708e[813]]){this[_0x708e[746]]( new mxEventObject(mxEvent.ROOT));break}}});_0xb3dcx2[_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,_0xb3dcx3)};mxEditor[_0x708e[202]][_0x708e[3194]]= function(_0xb3dcx2){var _0xb3dcx3=this;_0xb3dcx2[_0x708e[1133]]({mouseDown:function(_0xb3dcx2,_0xb3dcx5){if(null!= _0xb3dcx3[_0x708e[3083]]&& !_0xb3dcx5[_0x708e[737]]()&& (_0xb3dcx3[_0x708e[3117]]|| null== _0xb3dcx5[_0x708e[248]]())){_0xb3dcx3[_0x708e[1179]][_0x708e[2440]](),_0xb3dcx3[_0x708e[3083]](_0xb3dcx5[_0x708e[727]](),_0xb3dcx5[_0x708e[736]]()),this[_0x708e[1142]]= !0,_0xb3dcx5[_0x708e[722]]()}},mouseMove:function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1142]]&& _0xb3dcx3[_0x708e[722]]()},mouseUp:function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1142]]&& (this[_0x708e[1142]]= !1,_0xb3dcx3[_0x708e[722]]())}})};mxEditor[_0x708e[202]][_0x708e[3201]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[1020]],_0xb3dcx3= new mxStackLayout(this[_0x708e[1179]],!this[_0x708e[3089]],this[_0x708e[3127]],2* _0xb3dcx2,2* _0xb3dcx2);_0xb3dcx3[_0x708e[1713]]= function(_0xb3dcx2){return !_0xb3dcx3[_0x708e[1179]][_0x708e[1730]](_0xb3dcx2)};return _0xb3dcx3};mxEditor[_0x708e[202]][_0x708e[3199]]= function(){return new mxCompactTreeLayout(this[_0x708e[1179]],this[_0x708e[3089]])};mxEditor[_0x708e[202]][_0x708e[3097]]= function(){return new mxDefaultToolbar(null,this)};mxEditor[_0x708e[202]][_0x708e[3204]]= function(_0xb3dcx2){this[_0x708e[3082]][_0x708e[176]](_0xb3dcx2);mxClient[_0x708e[496]]&& new mxDivResizer(_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3205]]= function(_0xb3dcx2){null== this[_0x708e[879]]&& (this[_0x708e[879]]= _0xb3dcx2,this[_0x708e[169]](mxEvent.SAVE,mxUtils[_0x708e[885]](this,function(){var _0xb3dcx2=( new Date)[_0x708e[3206]]();this[_0x708e[3207]]((mxResources[_0x708e[203]](this[_0x708e[3106]])|| this[_0x708e[3106]])+ _0x708e[3186]+ _0xb3dcx2)})),this[_0x708e[169]](mxEvent.OPEN,mxUtils[_0x708e[885]](this,function(){this[_0x708e[3207]]((mxResources[_0x708e[203]](this[_0x708e[3108]])|| this[_0x708e[3108]])+ _0x708e[3186]+ this[_0x708e[3122]])})),mxClient[_0x708e[496]]&& new mxDivResizer(_0xb3dcx2))};mxEditor[_0x708e[202]][_0x708e[3207]]= function(_0xb3dcx2){null!= this[_0x708e[879]]&& null!= _0xb3dcx2&& (this[_0x708e[879]][_0x708e[339]]= _0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3208]]= function(_0xb3dcx2){this[_0x708e[169]](mxEvent.ROOT,mxUtils[_0x708e[885]](this,function(_0xb3dcx3){_0xb3dcx2[_0x708e[339]]= this[_0x708e[3209]]()}));mxClient[_0x708e[496]]&& new mxDivResizer(_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3210]]= function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx2&& ( new mxCompactTreeLayout(this[_0x708e[1179]],_0xb3dcx3))[_0x708e[350]](_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3209]]= function(){for(var _0xb3dcx2=_0x708e[110],_0xb3dcx3=this[_0x708e[1179]],_0xb3dcx4=_0xb3dcx3[_0x708e[2534]]();null!= _0xb3dcx4&& null!= _0xb3dcx3[_0x708e[502]]()[_0x708e[1197]](_0xb3dcx3[_0x708e[502]]()[_0x708e[1197]](_0xb3dcx4));){_0xb3dcx3[_0x708e[2553]](_0xb3dcx4)&& (_0xb3dcx2= _0x708e[3211]+ _0xb3dcx3[_0x708e[2454]](_0xb3dcx4)+ _0xb3dcx2),_0xb3dcx4= _0xb3dcx3[_0x708e[502]]()[_0x708e[1197]](_0xb3dcx4)};return this[_0x708e[3212]]()+ _0xb3dcx2};mxEditor[_0x708e[202]][_0x708e[3212]]= function(){var _0xb3dcx2=this[_0x708e[1179]][_0x708e[502]]()[_0x708e[501]]();return this[_0x708e[1179]][_0x708e[2454]](_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[824]]= function(){this[_0x708e[3095]][_0x708e[824]]()};mxEditor[_0x708e[202]][_0x708e[825]]= function(){this[_0x708e[3095]][_0x708e[825]]()};mxEditor[_0x708e[202]][_0x708e[844]]= function(){var _0xb3dcx2=null!= this[_0x708e[3121]]?this[_0x708e[3121]]:this[_0x708e[1179]][_0x708e[1020]];return this[_0x708e[1179]][_0x708e[844]](this[_0x708e[3213]](),_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3213]]= function(){return this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1978]](this[_0x708e[3120]])};mxEditor[_0x708e[202]][_0x708e[392]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[219]](_0xb3dcx2)[_0x708e[875]]();this[_0x708e[3214]](_0xb3dcx3[_0x708e[158]]);this[_0x708e[3122]]= _0xb3dcx2;this[_0x708e[746]]( new mxEventObject(mxEvent.OPEN,_0x708e[3122],_0xb3dcx2))}};mxEditor[_0x708e[202]][_0x708e[3214]]= function(_0xb3dcx2){( new mxCodec(_0xb3dcx2[_0x708e[295]]))[_0x708e[1093]](_0xb3dcx2,this[_0x708e[1179]][_0x708e[502]]());this[_0x708e[3181]]()};mxEditor[_0x708e[202]][_0x708e[815]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx2= _0xb3dcx2|| this[_0x708e[3215]]();if(null!= _0xb3dcx2&& 0< _0xb3dcx2[_0x708e[67]]){var _0xb3dcx4=this[_0x708e[3216]](_0xb3dcx3);this[_0x708e[3217]](_0xb3dcx2,_0xb3dcx4);this[_0x708e[2128]](!1)};this[_0x708e[746]]( new mxEventObject(mxEvent.SAVE,_0x708e[863],_0xb3dcx2))};mxEditor[_0x708e[202]][_0x708e[3217]]= function(_0xb3dcx2,_0xb3dcx3){this[_0x708e[1070]]&& (_0xb3dcx3= encodeURIComponent(_0xb3dcx3));mxUtils[_0x708e[814]](_0xb3dcx2,this[_0x708e[3123]]+ _0x708e[226]+ _0xb3dcx3,mxUtils[_0x708e[885]](this,function(_0xb3dcx4){this[_0x708e[746]]( new mxEventObject(mxEvent.POST,_0x708e[870],_0xb3dcx4,_0x708e[863],_0xb3dcx2,_0x708e[410],_0xb3dcx3))}))};mxEditor[_0x708e[202]][_0x708e[3216]]= function(_0xb3dcx2){_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2:this[_0x708e[1069]];var _0xb3dcx3=( new mxCodec)[_0x708e[514]](this[_0x708e[1179]][_0x708e[502]]());return mxUtils[_0x708e[875]](_0xb3dcx3,_0xb3dcx2)};mxEditor[_0x708e[202]][_0x708e[3215]]= function(){return this[_0x708e[3124]]};mxEditor[_0x708e[202]][_0x708e[3142]]= function(){return this[_0x708e[3125]]};mxEditor[_0x708e[202]][_0x708e[807]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null;mxClient[_0x708e[3101]]|| (_0xb3dcx9= new mxSession(this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx2,_0xb3dcx3,_0xb3dcx4),_0xb3dcx9[_0x708e[169]](mxEvent.RECEIVE,mxUtils[_0x708e[885]](this,function(_0xb3dcx2,_0xb3dcx3){null!= _0xb3dcx3[_0x708e[720]](_0x708e[252])[_0x708e[284]](_0x708e[1088])&& this[_0x708e[3181]]()})),_0xb3dcx9[_0x708e[169]](mxEvent.DISCONNECT,_0xb3dcx5),_0xb3dcx9[_0x708e[169]](mxEvent.CONNECT,_0xb3dcx5),_0xb3dcx9[_0x708e[169]](mxEvent.NOTIFY,_0xb3dcx5),_0xb3dcx9[_0x708e[169]](mxEvent.GET,_0xb3dcx5),_0xb3dcx9[_0x708e[861]]());return _0xb3dcx9};mxEditor[_0x708e[202]][_0x708e[3218]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=this[_0x708e[1179]][_0x708e[2434]]()[_0x708e[2054]][_0xb3dcx3];this[_0x708e[1179]][_0x708e[249]]()[_0x708e[2434]]()[_0x708e[2074]](_0xb3dcx3,this[_0x708e[1179]][_0x708e[2434]]()[_0x708e[2054]][_0xb3dcx2]);this[_0x708e[1179]][_0x708e[2434]]()[_0x708e[2074]](_0xb3dcx2,_0xb3dcx4);this[_0x708e[1179]][_0x708e[802]]()};mxEditor[_0x708e[202]][_0x708e[3150]]= function(_0xb3dcx2){_0xb3dcx2= _0xb3dcx2|| this[_0x708e[1179]][_0x708e[2452]]();null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[1179]][_0x708e[2534]](),null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[1179]][_0x708e[502]]()[_0x708e[501]]()));if(null!= _0xb3dcx2){this[_0x708e[1179]][_0x708e[2126]](!0);var _0xb3dcx3=mxUtils[_0x708e[445]](this[_0x708e[1179]][_0x708e[526]]),_0xb3dcx4=_0xb3dcx3[_0x708e[235]]+ 10,_0xb3dcx3=_0xb3dcx3[_0x708e[236]];if(null!= this[_0x708e[716]]&& !this[_0x708e[3139]]){_0xb3dcx4= this[_0x708e[716]][_0x708e[730]](),_0xb3dcx3= this[_0x708e[716]][_0x708e[732]]()}else {var _0xb3dcx5=this[_0x708e[1179]][_0x708e[2555]](_0xb3dcx2);null!= _0xb3dcx5&& (_0xb3dcx4+= _0xb3dcx5[_0x708e[235]]+ Math[_0x708e[243]](200,_0xb3dcx5[_0x708e[117]]),_0xb3dcx3+= _0xb3dcx5[_0x708e[236]])};this[_0x708e[3062]]();_0xb3dcx2= this[_0x708e[3219]](_0xb3dcx2);null!= _0xb3dcx2&& (this[_0x708e[716]]= new mxWindow(mxResources[_0x708e[203]](this[_0x708e[3110]])|| this[_0x708e[3110]],_0xb3dcx2,_0xb3dcx4,_0xb3dcx3,this[_0x708e[3137]],this[_0x708e[3138]],!1),this[_0x708e[716]][_0x708e[175]](!0))}};mxEditor[_0x708e[202]][_0x708e[3220]]= function(){return null!= this[_0x708e[716]]};mxEditor[_0x708e[202]][_0x708e[3219]]= function(_0xb3dcx2){var _0xb3dcx3=this[_0x708e[1179]][_0x708e[502]](),_0xb3dcx4=_0xb3dcx3[_0x708e[433]](_0xb3dcx2);if(mxUtils[_0x708e[1331]](_0xb3dcx4)){var _0xb3dcx5= new mxForm(_0x708e[716]);_0xb3dcx5[_0x708e[961]](_0x708e[3222],_0xb3dcx2[_0x708e[1103]]())[_0x708e[57]](_0x708e[3221],_0x708e[128]);var _0xb3dcx9=null,_0xb3dcxa=null,_0xb3dcx12=null,_0xb3dcx13=null,_0xb3dcx14=null;_0xb3dcx3[_0x708e[1193]](_0xb3dcx2)&& (_0xb3dcx9= _0xb3dcx3[_0x708e[1721]](_0xb3dcx2),null!= _0xb3dcx9&& (_0xb3dcxa= _0xb3dcx5[_0x708e[961]](_0x708e[125],_0xb3dcx9[_0x708e[236]]),_0xb3dcx12= _0xb3dcx5[_0x708e[961]](_0x708e[361],_0xb3dcx9[_0x708e[235]]),_0xb3dcx13= _0xb3dcx5[_0x708e[961]](_0x708e[117],_0xb3dcx9[_0x708e[117]]),_0xb3dcx14= _0xb3dcx5[_0x708e[961]](_0x708e[119],_0xb3dcx9[_0x708e[119]])));for(var _0xb3dcx15=_0xb3dcx3[_0x708e[474]](_0xb3dcx2),_0xb3dcx16=_0xb3dcx5[_0x708e[961]](_0x708e[3223],_0xb3dcx15|| _0x708e[110]),_0xb3dcx17=_0xb3dcx4[_0x708e[320]],_0xb3dcx18=[],_0xb3dcx4=0;_0xb3dcx4< _0xb3dcx17[_0x708e[67]];_0xb3dcx4++){_0xb3dcx18[_0xb3dcx4]= _0xb3dcx5[_0x708e[968]](_0xb3dcx17[_0xb3dcx4][_0x708e[301]],_0xb3dcx17[_0xb3dcx4][_0x708e[318]],_0x708e[685]== _0xb3dcx17[_0xb3dcx4][_0x708e[301]]?4:2)};_0xb3dcx4= mxUtils[_0x708e[885]](this,function(){this[_0x708e[3062]]();_0xb3dcx3[_0x708e[473]]();try{null!= _0xb3dcx9&& (_0xb3dcx9= _0xb3dcx9[_0x708e[238]](),_0xb3dcx9[_0x708e[235]]= parseFloat(_0xb3dcx12[_0x708e[131]]),_0xb3dcx9[_0x708e[236]]= parseFloat(_0xb3dcxa[_0x708e[131]]),_0xb3dcx9[_0x708e[117]]= parseFloat(_0xb3dcx13[_0x708e[131]]),_0xb3dcx9[_0x708e[119]]= parseFloat(_0xb3dcx14[_0x708e[131]]),_0xb3dcx3[_0x708e[1724]](_0xb3dcx2,_0xb3dcx9));0< _0xb3dcx16[_0x708e[131]][_0x708e[67]]?_0xb3dcx3[_0x708e[475]](_0xb3dcx2,_0xb3dcx16[_0x708e[131]]):_0xb3dcx3[_0x708e[475]](_0xb3dcx2,null);for(var _0xb3dcx4=0;_0xb3dcx4< _0xb3dcx17[_0x708e[67]];_0xb3dcx4++){var _0xb3dcx5= new mxCellAttributeChange(_0xb3dcx2,_0xb3dcx17[_0xb3dcx4][_0x708e[301]],_0xb3dcx18[_0xb3dcx4][_0x708e[131]]);_0xb3dcx3[_0x708e[350]](_0xb3dcx5)};this[_0x708e[1179]][_0x708e[2455]](_0xb3dcx2)&& this[_0x708e[1179]][_0x708e[858]](_0xb3dcx2)}finally{_0xb3dcx3[_0x708e[476]]()}});_0xb3dcx15= mxUtils[_0x708e[885]](this,function(){this[_0x708e[3062]]()});_0xb3dcx5[_0x708e[956]](_0xb3dcx4,_0xb3dcx15);return _0xb3dcx5[_0x708e[116]]};return null};mxEditor[_0x708e[202]][_0x708e[3062]]= function(){null!= this[_0x708e[716]]&& (this[_0x708e[716]][_0x708e[515]](),this[_0x708e[716]]= null)};mxEditor[_0x708e[202]][_0x708e[3175]]= function(){if(null== this[_0x708e[3112]]){var _0xb3dcx2=document[_0x708e[55]](_0x708e[485]);_0xb3dcx2[_0x708e[124]][_0x708e[549]]= _0x708e[952];_0xb3dcx2[_0x708e[124]][_0x708e[357]]= _0x708e[550];var _0xb3dcx3=document[_0x708e[112]][_0x708e[159]],_0xb3dcx3= new mxWindow(mxResources[_0x708e[203]](this[_0x708e[3111]])|| this[_0x708e[3111]],_0xb3dcx2,_0xb3dcx3- 220,this[_0x708e[3132]],200);_0xb3dcx3[_0x708e[164]](!0);_0xb3dcx3[_0x708e[165]]= !1;var _0xb3dcx4=mxUtils[_0x708e[885]](this,function(_0xb3dcx3){mxEvent[_0x708e[762]](_0xb3dcx2);_0xb3dcx2[_0x708e[339]]= _0x708e[110];this[_0x708e[3224]](_0xb3dcx2)});this[_0x708e[1179]][_0x708e[502]]()[_0x708e[169]](mxEvent.CHANGE,_0xb3dcx4);this[_0x708e[1179]][_0x708e[2435]]()[_0x708e[169]](mxEvent.CHANGE,_0xb3dcx4);this[_0x708e[1179]][_0x708e[169]](mxEvent.ROOT,_0xb3dcx4);null!= this[_0x708e[3131]]&& _0xb3dcx3[_0x708e[951]](this[_0x708e[3131]]);this[_0x708e[3112]]= _0xb3dcx3;this[_0x708e[3224]](_0xb3dcx2)};this[_0x708e[3112]][_0x708e[175]](!0)};mxEditor[_0x708e[202]][_0x708e[3225]]= function(_0xb3dcx2){null!= this[_0x708e[3112]]&& (_0xb3dcx2= this[_0x708e[3112]][_0x708e[905]],mxEvent[_0x708e[762]](_0xb3dcx2),_0xb3dcx2[_0x708e[339]]= _0x708e[110],this[_0x708e[3224]](_0xb3dcx2))};mxEditor[_0x708e[202]][_0x708e[3224]]= function(_0xb3dcx2){};mxEditor[_0x708e[202]][_0x708e[3177]]= function(_0xb3dcx2){if(null== this[_0x708e[2719]]){var _0xb3dcx3=document[_0x708e[55]](_0x708e[389]);_0xb3dcx3[_0x708e[57]](_0x708e[390],mxResources[_0x708e[203]](_0x708e[3134])|| this[_0x708e[3134]]);_0xb3dcx3[_0x708e[57]](_0x708e[119],_0x708e[118]);_0xb3dcx3[_0x708e[57]](_0x708e[117],_0x708e[118]);_0xb3dcx3[_0x708e[57]](_0x708e[3226],_0x708e[468]);_0xb3dcx3[_0x708e[124]][_0x708e[1028]]= _0x708e[1391];_0xb3dcx2= document[_0x708e[112]][_0x708e[159]];var _0xb3dcx4=document[_0x708e[112]][_0x708e[157]]|| document[_0x708e[158]][_0x708e[157]],_0xb3dcx5= new mxWindow(mxResources[_0x708e[203]](this[_0x708e[3113]])|| this[_0x708e[3113]],_0xb3dcx3,(_0xb3dcx2- this[_0x708e[3135]])/ 2,(_0xb3dcx4- this[_0x708e[3136]])/ 3,this[_0x708e[3135]],this[_0x708e[3136]]);_0xb3dcx5[_0x708e[161]](!0);_0xb3dcx5[_0x708e[164]](!0);_0xb3dcx5[_0x708e[165]]= !1;_0xb3dcx5[_0x708e[163]](!0);null!= this[_0x708e[3133]]&& _0xb3dcx5[_0x708e[951]](this[_0x708e[3133]]);mxClient[_0x708e[133]]&& (_0xb3dcx2= function(_0xb3dcx2){_0xb3dcx3[_0x708e[57]](_0x708e[119],_0xb3dcx5[_0x708e[485]][_0x708e[167]]- 26+ _0x708e[168])},_0xb3dcx5[_0x708e[169]](mxEvent.RESIZE_END,_0xb3dcx2),_0xb3dcx5[_0x708e[169]](mxEvent.MAXIMIZE,_0xb3dcx2),_0xb3dcx5[_0x708e[169]](mxEvent.NORMALIZE,_0xb3dcx2),_0xb3dcx5[_0x708e[169]](mxEvent.SHOW,_0xb3dcx2));this[_0x708e[2719]]= _0xb3dcx5};this[_0x708e[2719]][_0x708e[175]](!0)};mxEditor[_0x708e[202]][_0x708e[3179]]= function(){if(null== this[_0x708e[2136]]){var _0xb3dcx2=document[_0x708e[55]](_0x708e[485]);_0xb3dcx2[_0x708e[124]][_0x708e[277]]= _0x708e[188];_0xb3dcx2[_0x708e[124]][_0x708e[117]]= _0x708e[118];_0xb3dcx2[_0x708e[124]][_0x708e[119]]= _0x708e[118];_0xb3dcx2[_0x708e[124]][_0x708e[1537]]= _0x708e[1391];_0xb3dcx2[_0x708e[124]][_0x708e[270]]= _0x708e[582];var _0xb3dcx3= new mxWindow(mxResources[_0x708e[203]](this[_0x708e[3114]])|| this[_0x708e[3114]],_0xb3dcx2,600,480,200,200,!1),_0xb3dcx4= new mxOutline(this[_0x708e[1179]],_0xb3dcx2);_0xb3dcx3[_0x708e[164]](!0);_0xb3dcx3[_0x708e[163]](!0);_0xb3dcx3[_0x708e[165]]= !1;_0xb3dcx3[_0x708e[169]](mxEvent.RESIZE_END,function(){_0xb3dcx4[_0x708e[2729]]()});this[_0x708e[2136]]= _0xb3dcx3;this[_0x708e[2136]][_0x708e[2136]]= _0xb3dcx4};this[_0x708e[2136]][_0x708e[175]](!0);this[_0x708e[2136]][_0x708e[2136]][_0x708e[2729]](!0)};mxEditor[_0x708e[202]][_0x708e[3086]]= function(_0xb3dcx2){_0x708e[804]== _0xb3dcx2?(this[_0x708e[1179]][_0x708e[2316]][_0x708e[2840]]= !1,this[_0x708e[1179]][_0x708e[1995]](!1)):_0x708e[807]== _0xb3dcx2?(this[_0x708e[1179]][_0x708e[2316]][_0x708e[2840]]= !1,this[_0x708e[1179]][_0x708e[1995]](!0)):_0x708e[796]== _0xb3dcx2&& (this[_0x708e[1179]][_0x708e[2316]][_0x708e[2840]]= !0,this[_0x708e[1179]][_0x708e[1995]](!1))};mxEditor[_0x708e[202]][_0x708e[3195]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){this[_0x708e[3094]][_0x708e[3065]](this,_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)};mxEditor[_0x708e[202]][_0x708e[2503]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null;if(null!= this[_0x708e[2075]]){_0xb3dcx4= this[_0x708e[1179]][_0x708e[502]]()[_0x708e[1978]](this[_0x708e[2075]])}else {_0xb3dcx4= new mxCell(_0x708e[110]);_0xb3dcx4[_0x708e[1994]](!0);var _0xb3dcx5= new mxGeometry;_0xb3dcx5[_0x708e[1500]]= !0;_0xb3dcx4[_0x708e[1724]](_0xb3dcx5)};_0xb3dcx5= this[_0x708e[2291]]();null!= _0xb3dcx5&& _0xb3dcx4[_0x708e[475]](_0xb3dcx5);return _0xb3dcx4};mxEditor[_0x708e[202]][_0x708e[2291]]= function(){return this[_0x708e[3119]]};mxEditor[_0x708e[202]][_0x708e[3227]]= function(_0xb3dcx2){return null!= this[_0x708e[3093]]&& 0< this[_0x708e[3093]][_0x708e[67]]&& this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx2)?this[_0x708e[3093]][this[_0x708e[3130]]++ % this[_0x708e[3093]][_0x708e[67]]]:null};mxEditor[_0x708e[202]][_0x708e[3228]]= function(_0xb3dcx2){if(null!= this[_0x708e[3100]]){var _0xb3dcx3=this[_0x708e[3227]](_0xb3dcx2);null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[475]](_0xb3dcx2[_0x708e[474]]()+ _0x708e[471]+ this[_0x708e[3100]]+ _0x708e[226]+ _0xb3dcx3)}};mxEditor[_0x708e[202]][_0x708e[817]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){for(var _0xb3dcx9=this[_0x708e[1179]][_0x708e[502]]();null!= _0xb3dcx2&& !this[_0x708e[1179]][_0x708e[2685]](_0xb3dcx2);){_0xb3dcx2= _0xb3dcx9[_0x708e[1197]](_0xb3dcx2)};_0xb3dcx2= null!= _0xb3dcx2?_0xb3dcx2:this[_0x708e[1179]][_0x708e[2461]](_0xb3dcx4,_0xb3dcx5);var _0xb3dcxa=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[255]],_0xb3dcx12=_0xb3dcx9[_0x708e[1721]](_0xb3dcx3),_0xb3dcx13=_0xb3dcx9[_0x708e[1721]](_0xb3dcx2);if(this[_0x708e[1179]][_0x708e[1730]](_0xb3dcx3)&& !this[_0x708e[1179]][_0x708e[2412]]){_0xb3dcx2= null}else {if(null== _0xb3dcx2&& this[_0x708e[3116]]){return null};if(null!= _0xb3dcx2&& null!= _0xb3dcx13){var _0xb3dcx14=this[_0x708e[1179]][_0x708e[249]]()[_0x708e[248]](_0xb3dcx2);if(null!= _0xb3dcx14){if(_0xb3dcx4-= _0xb3dcx14[_0x708e[2078]][_0x708e[235]]* _0xb3dcxa,_0xb3dcx5-= _0xb3dcx14[_0x708e[2078]][_0x708e[236]]* _0xb3dcxa,this[_0x708e[1179]][_0x708e[3229]]){var _0xb3dcx13=_0xb3dcx12[_0x708e[117]],_0xb3dcx15=_0xb3dcx12[_0x708e[119]],_0xb3dcx16=_0xb3dcx14[_0x708e[235]]+ _0xb3dcx14[_0x708e[117]];_0xb3dcx4+ _0xb3dcx13> _0xb3dcx16&& (_0xb3dcx4-= _0xb3dcx4+ _0xb3dcx13- _0xb3dcx16);_0xb3dcx16= _0xb3dcx14[_0x708e[236]]+ _0xb3dcx14[_0x708e[119]];_0xb3dcx5+ _0xb3dcx15> _0xb3dcx16&& (_0xb3dcx5-= _0xb3dcx5+ _0xb3dcx15- _0xb3dcx16)}}else {null!= _0xb3dcx13&& (_0xb3dcx4-= _0xb3dcx13[_0x708e[235]]* _0xb3dcxa,_0xb3dcx5-= _0xb3dcx13[_0x708e[236]]* _0xb3dcxa)}}};_0xb3dcx12= _0xb3dcx12[_0x708e[238]]();_0xb3dcx12[_0x708e[235]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx4/ _0xb3dcxa- this[_0x708e[1179]][_0x708e[249]]()[_0x708e[513]][_0x708e[235]]- this[_0x708e[1179]][_0x708e[1020]]/ 2);_0xb3dcx12[_0x708e[236]]= this[_0x708e[1179]][_0x708e[1021]](_0xb3dcx5/ _0xb3dcxa- this[_0x708e[1179]][_0x708e[249]]()[_0x708e[513]][_0x708e[236]]- this[_0x708e[1179]][_0x708e[1020]]/ 2);_0xb3dcx3[_0x708e[1724]](_0xb3dcx12);null== _0xb3dcx2&& (_0xb3dcx2= this[_0x708e[1179]][_0x708e[902]]());this[_0x708e[3228]](_0xb3dcx3);this[_0x708e[746]]( new mxEventObject(mxEvent.BEFORE_ADD_VERTEX,_0x708e[1988],_0xb3dcx3,_0x708e[1101],_0xb3dcx2));_0xb3dcx9[_0x708e[473]]();try{_0xb3dcx3= this[_0x708e[1179]][_0x708e[2103]](_0xb3dcx3,_0xb3dcx2),null!= _0xb3dcx3&& (this[_0x708e[1179]][_0x708e[2509]](_0xb3dcx3),this[_0x708e[746]]( new mxEventObject(mxEvent.ADD_VERTEX,_0x708e[1988],_0xb3dcx3)))}finally{_0xb3dcx9[_0x708e[476]]()};null!= _0xb3dcx3&& (this[_0x708e[1179]][_0x708e[2450]](_0xb3dcx3),this[_0x708e[1179]][_0x708e[2564]](_0xb3dcx3),this[_0x708e[746]]( new mxEventObject(mxEvent.AFTER_ADD_VERTEX,_0x708e[1988],_0xb3dcx3)));return _0xb3dcx3};mxEditor[_0x708e[202]][_0x708e[515]]= function(){this[_0x708e[2717]]|| (this[_0x708e[2717]]= !0,null!= this[_0x708e[3112]]&& this[_0x708e[3112]][_0x708e[515]](),null!= this[_0x708e[2136]]&& this[_0x708e[2136]][_0x708e[515]](),null!= this[_0x708e[716]]&& this[_0x708e[716]][_0x708e[515]](),null!= this[_0x708e[3098]]&& this[_0x708e[3098]][_0x708e[515]](),null!= this[_0x708e[3203]]&& this[_0x708e[3203]][_0x708e[515]](),null!= this[_0x708e[3082]]&& this[_0x708e[3082]][_0x708e[515]](),null!= this[_0x708e[1179]]&& this[_0x708e[1179]][_0x708e[515]](),this[_0x708e[3118]]= this[_0x708e[879]]= null)};var mxCodecRegistry={codecs:[],aliases:[],register:function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[718]]();mxCodecRegistry[_0x708e[3230]][_0xb3dcx3]= _0xb3dcx2;var _0xb3dcx4=mxUtils[_0x708e[197]](_0xb3dcx2[_0x708e[3231]][_0x708e[196]]);_0xb3dcx4!= _0xb3dcx3&& mxCodecRegistry[_0x708e[3232]](_0xb3dcx4,_0xb3dcx3)};return _0xb3dcx2},addAlias:function(_0xb3dcx2,_0xb3dcx3){mxCodecRegistry[_0x708e[3233]][_0xb3dcx2]= _0xb3dcx3},getCodec:function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= _0xb3dcx2){var _0xb3dcx3=mxUtils[_0x708e[197]](_0xb3dcx2),_0xb3dcx4=mxCodecRegistry[_0x708e[3233]][_0xb3dcx3];null!= _0xb3dcx4&& (_0xb3dcx3= _0xb3dcx4);_0xb3dcx3= mxCodecRegistry[_0x708e[3230]][_0xb3dcx3];if(null== _0xb3dcx3){try{_0xb3dcx3= new mxObjectCodec( new _0xb3dcx2),mxCodecRegistry[_0x708e[3234]](_0xb3dcx3)}catch(d){}}};return _0xb3dcx3}};function mxCodec(_0xb3dcx2){this[_0x708e[395]]= _0xb3dcx2|| mxUtils[_0x708e[306]]();this[_0x708e[68]]= []}mxCodec[_0x708e[202]][_0x708e[395]]= null;mxCodec[_0x708e[202]][_0x708e[68]]= null;mxCodec[_0x708e[202]][_0x708e[3235]]= !1;mxCodec[_0x708e[202]][_0x708e[1104]]= function(_0xb3dcx2,_0xb3dcx3){return this[_0x708e[68]][_0xb3dcx2]= _0xb3dcx3};mxCodec[_0x708e[202]][_0x708e[3236]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[68]][_0xb3dcx2],null== _0xb3dcx3&& (_0xb3dcx3= this[_0x708e[1060]](_0xb3dcx2),null== _0xb3dcx3&& (_0xb3dcx2= this[_0x708e[1362]](_0xb3dcx2),null!= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[1093]](_0xb3dcx2)))));return _0xb3dcx3};mxCodec[_0x708e[202]][_0x708e[1060]]= function(_0xb3dcx2){return null};mxCodec[_0x708e[202]][_0x708e[1362]]= function(_0xb3dcx2,_0xb3dcx3){return mxUtils[_0x708e[290]](this[_0x708e[395]][_0x708e[158]],null!= _0xb3dcx3?_0xb3dcx3:_0x708e[1363],_0xb3dcx2)};mxCodec[_0x708e[202]][_0x708e[1103]]= function(_0xb3dcx2){var _0xb3dcx3=null;null!= _0xb3dcx2&& (_0xb3dcx3= this[_0x708e[3237]](_0xb3dcx2),null== _0xb3dcx3&& _0xb3dcx2 instanceof mxCell&& (_0xb3dcx3= _0xb3dcx2[_0x708e[1103]](),null== _0xb3dcx3&& (_0xb3dcx3= mxCellPath[_0x708e[385]](_0xb3dcx2),0== _0xb3dcx3[_0x708e[67]]&& (_0xb3dcx3= _0x708e[813]))));return _0xb3dcx3};mxCodec[_0x708e[202]][_0x708e[3237]]= function(_0xb3dcx2){return null};mxCodec[_0x708e[202]][_0x708e[514]]= function(_0xb3dcx2){var _0xb3dcx3=null;if(null!= _0xb3dcx2&& null!= _0xb3dcx2[_0x708e[196]]){var _0xb3dcx4=mxCodecRegistry[_0x708e[3238]](_0xb3dcx2[_0x708e[196]]);null!= _0xb3dcx4?_0xb3dcx3= _0xb3dcx4[_0x708e[514]](this,_0xb3dcx2):mxUtils[_0x708e[1331]](_0xb3dcx2)?_0xb3dcx3= mxClient[_0x708e[80]]?_0xb3dcx2[_0x708e[511]](!0):this[_0x708e[395]][_0x708e[3239]](_0xb3dcx2,!0):mxLog[_0x708e[283]](_0x708e[3240]+ mxUtils[_0x708e[197]](_0xb3dcx2[_0x708e[196]]))};return _0xb3dcx3};mxCodec[_0x708e[202]][_0x708e[1093]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=null;if(null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[288]]== mxConstants[_0x708e[289]]){var _0xb3dcx5=null;try{_0xb3dcx5= eval(_0xb3dcx2[_0x708e[301]])}catch(e){};try{var _0xb3dcxa=mxCodecRegistry[_0x708e[3238]](_0xb3dcx5);null!= _0xb3dcxa?_0xb3dcx4= _0xb3dcxa[_0x708e[1093]](this,_0xb3dcx2,_0xb3dcx3):(_0xb3dcx4= _0xb3dcx2[_0x708e[511]](!0),_0xb3dcx4[_0x708e[1390]](_0x708e[3069]))}catch(g){mxLog[_0x708e[143]](_0x708e[3241]+ _0xb3dcx2[_0x708e[301]]+ _0x708e[3186]+ g[_0x708e[281]])}};return _0xb3dcx4};mxCodec[_0x708e[202]][_0x708e[3242]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3[_0x708e[62]](this[_0x708e[514]](_0xb3dcx2));if(null== _0xb3dcx4|| _0xb3dcx4){_0xb3dcx4= _0xb3dcx2[_0x708e[262]]();for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx4;_0xb3dcx5++){this[_0x708e[3242]](_0xb3dcx2[_0x708e[263]](_0xb3dcx5),_0xb3dcx3)}}};mxCodec[_0x708e[202]][_0x708e[3243]]= function(_0xb3dcx2){return null!= _0xb3dcx2&& _0x708e[279]== typeof _0xb3dcx2[_0x708e[3243]]?_0xb3dcx2[_0x708e[3243]]():!1};mxCodec[_0x708e[202]][_0x708e[3244]]= function(_0xb3dcx2,_0xb3dcx3){_0xb3dcx3= null!= _0xb3dcx3?_0xb3dcx3:!0;var _0xb3dcx4=null;if(null!= _0xb3dcx2&& _0xb3dcx2[_0x708e[288]]== mxConstants[_0x708e[289]]){_0xb3dcx4= mxCodecRegistry[_0x708e[3238]](_0xb3dcx2[_0x708e[301]]);if(!this[_0x708e[3243]](_0xb3dcx4)){for(var _0xb3dcx5=_0xb3dcx2[_0x708e[285]];null!= _0xb3dcx5&& !this[_0x708e[3243]](_0xb3dcx4);){_0xb3dcx4= mxCodecRegistry[_0x708e[3238]](_0xb3dcx5[_0x708e[301]]),_0xb3dcx5= _0xb3dcx5[_0x708e[287]]}};this[_0x708e[3243]](_0xb3dcx4)|| (_0xb3dcx4= mxCodecRegistry[_0x708e[3238]](mxCell));_0xb3dcx4= _0xb3dcx4[_0x708e[1093]](this,_0xb3dcx2);_0xb3dcx3&& this[_0x708e[3245]](_0xb3dcx4)};return _0xb3dcx4};mxCodec[_0x708e[202]][_0x708e[3245]]= function(_0xb3dcx2){var _0xb3dcx3=_0xb3dcx2[_0x708e[1101]],_0xb3dcx4=_0xb3dcx2[_0x708e[1709]](!0),_0xb3dcx5=_0xb3dcx2[_0x708e[1709]](!1);_0xb3dcx2[_0x708e[1957]](null,!1);_0xb3dcx2[_0x708e[1957]](null,!0);_0xb3dcx2[_0x708e[1101]]= null;null!= _0xb3dcx3&& _0xb3dcx3[_0x708e[1937]](_0xb3dcx2);null!= _0xb3dcx4&& _0xb3dcx4[_0x708e[1960]](_0xb3dcx2,!0);null!= _0xb3dcx5&& _0xb3dcx5[_0x708e[1960]](_0xb3dcx2,!1)};mxCodec[_0x708e[202]][_0x708e[57]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null!= _0xb3dcx3&& null!= _0xb3dcx4&& _0xb3dcx2[_0x708e[57]](_0xb3dcx3,_0xb3dcx4)};function mxObjectCodec(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){this[_0x708e[3231]]= _0xb3dcx2;this[_0x708e[3246]]= null!= _0xb3dcx3?_0xb3dcx3:[];this[_0x708e[3247]]= null!= _0xb3dcx4?_0xb3dcx4:[];this[_0x708e[3248]]= null!= _0xb3dcx5?_0xb3dcx5:[];this[_0x708e[3249]]= {};for(var _0xb3dcx9 in this[_0x708e[3248]]){this[_0x708e[3249]][this[_0x708e[3248]][_0xb3dcx9]]= _0xb3dcx9}}mxObjectCodec[_0x708e[202]][_0x708e[3231]]= null;mxObjectCodec[_0x708e[202]][_0x708e[3246]]= null;mxObjectCodec[_0x708e[202]][_0x708e[3247]]= null;mxObjectCodec[_0x708e[202]][_0x708e[3248]]= null;mxObjectCodec[_0x708e[202]][_0x708e[3249]]= null;mxObjectCodec[_0x708e[202]][_0x708e[718]]= function(){return mxUtils[_0x708e[197]](this[_0x708e[3231]][_0x708e[196]])};mxObjectCodec[_0x708e[202]][_0x708e[3250]]= function(){return new this[_0x708e[3231]][_0x708e[196]]};mxObjectCodec[_0x708e[202]][_0x708e[3251]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[3249]][_0xb3dcx2];null!= _0xb3dcx3&& (_0xb3dcx2= _0xb3dcx3)};return _0xb3dcx2};mxObjectCodec[_0x708e[202]][_0x708e[3252]]= function(_0xb3dcx2){if(null!= _0xb3dcx2){var _0xb3dcx3=this[_0x708e[3248]][_0xb3dcx2];null!= _0xb3dcx3&& (_0xb3dcx2= _0xb3dcx3)};return _0xb3dcx2};mxObjectCodec[_0x708e[202]][_0x708e[3253]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return _0xb3dcx3== mxObjectIdentity[_0x708e[195]]|| 0<= mxUtils[_0x708e[2]](this[_0x708e[3246]],_0xb3dcx3)};mxObjectCodec[_0x708e[202]][_0x708e[3254]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){return 0<= mxUtils[_0x708e[2]](this[_0x708e[3247]],_0xb3dcx3)};mxObjectCodec[_0x708e[202]][_0x708e[514]]= function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4=_0xb3dcx2[_0x708e[395]][_0x708e[55]](this[_0x708e[718]]());_0xb3dcx3= this[_0x708e[3255]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);this[_0x708e[3256]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);return this[_0x708e[3257]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)};mxObjectCodec[_0x708e[202]][_0x708e[3256]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2[_0x708e[57]](_0xb3dcx4,_0x708e[1363],_0xb3dcx2[_0x708e[1103]](_0xb3dcx3));for(var _0xb3dcx5 in _0xb3dcx3){var _0xb3dcx9=_0xb3dcx5,_0xb3dcxa=_0xb3dcx3[_0xb3dcx9];null!= _0xb3dcxa&& !this[_0x708e[3253]](_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,!0)&& (mxUtils[_0x708e[1946]](_0xb3dcx9)&& (_0xb3dcx9= null),this[_0x708e[3258]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9,_0xb3dcxa,_0xb3dcx4))}};mxObjectCodec[_0x708e[202]][_0x708e[3258]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){if(null!= _0xb3dcx5){if(this[_0x708e[3254]](_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,!0)){var _0xb3dcxa=_0xb3dcx2[_0x708e[1103]](_0xb3dcx5);if(null== _0xb3dcxa){mxLog[_0x708e[283]](_0x708e[3259]+ this[_0x708e[718]]()+ _0x708e[87]+ _0xb3dcx4+ _0x708e[226]+ _0xb3dcx5);return};_0xb3dcx5= _0xb3dcxa};_0xb3dcxa= this[_0x708e[3231]][_0xb3dcx4];if(null== _0xb3dcx4|| _0xb3dcx2[_0x708e[3235]]|| _0xb3dcxa!= _0xb3dcx5){_0xb3dcx4= this[_0x708e[3252]](_0xb3dcx4),this[_0x708e[3260]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)}}};mxObjectCodec[_0x708e[202]][_0x708e[3260]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0x708e[194]!= typeof _0xb3dcx5?this[_0x708e[3261]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9):this[_0x708e[3262]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9)};mxObjectCodec[_0x708e[202]][_0x708e[3261]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx5= this[_0x708e[3263]](_0xb3dcx5);null== _0xb3dcx4?(_0xb3dcx3= _0xb3dcx2[_0x708e[395]][_0x708e[55]](_0x708e[99]),_0x708e[279]== typeof _0xb3dcx5?_0xb3dcx3[_0x708e[62]](_0xb3dcx2[_0x708e[395]][_0x708e[344]](_0xb3dcx5)):_0xb3dcx2[_0x708e[57]](_0xb3dcx3,_0x708e[131],_0xb3dcx5),_0xb3dcx9[_0x708e[62]](_0xb3dcx3)):_0x708e[279]!= typeof _0xb3dcx5&& _0xb3dcx2[_0x708e[57]](_0xb3dcx9,_0xb3dcx4,_0xb3dcx5)};mxObjectCodec[_0x708e[202]][_0x708e[3262]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){_0xb3dcx2= _0xb3dcx2[_0x708e[514]](_0xb3dcx5);null!= _0xb3dcx2?(null!= _0xb3dcx4&& _0xb3dcx2[_0x708e[57]](_0x708e[3069],_0xb3dcx4),_0xb3dcx9[_0x708e[62]](_0xb3dcx2)):mxLog[_0x708e[283]](_0x708e[3264]+ this[_0x708e[718]]()+ _0x708e[87]+ _0xb3dcx4+ _0x708e[3186]+ _0xb3dcx5)};mxObjectCodec[_0x708e[202]][_0x708e[3263]]= function(_0xb3dcx2){if(_0x708e[82]== typeof _0xb3dcx2[_0x708e[67]]&& (!0== _0xb3dcx2|| !1== _0xb3dcx2)){_0xb3dcx2= !0== _0xb3dcx2?_0x708e[500]:_0x708e[468]};return _0xb3dcx2};mxObjectCodec[_0x708e[202]][_0x708e[3265]]= function(_0xb3dcx2){mxUtils[_0x708e[1946]](_0xb3dcx2)&& (_0xb3dcx2= parseFloat(_0xb3dcx2));return _0xb3dcx2};mxObjectCodec[_0x708e[202]][_0x708e[3255]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx3};mxObjectCodec[_0x708e[202]][_0x708e[3257]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx4};mxObjectCodec[_0x708e[202]][_0x708e[1093]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx3[_0x708e[284]](_0x708e[1363]),_0xb3dcx9=_0xb3dcx2[_0x708e[68]][_0xb3dcx5];null== _0xb3dcx9&& (_0xb3dcx9= _0xb3dcx4|| this[_0x708e[3250]](),null!= _0xb3dcx5&& _0xb3dcx2[_0x708e[1104]](_0xb3dcx5,_0xb3dcx9));_0xb3dcx3= this[_0x708e[3266]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9);this[_0x708e[3267]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9);return this[_0x708e[3268]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx9)};mxObjectCodec[_0x708e[202]][_0x708e[3267]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){null!= _0xb3dcx3&& (this[_0x708e[3269]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4),this[_0x708e[3270]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4))};mxObjectCodec[_0x708e[202]][_0x708e[3269]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx3= _0xb3dcx3[_0x708e[320]];if(null!= _0xb3dcx3){for(var _0xb3dcx5=0;_0xb3dcx5< _0xb3dcx3[_0x708e[67]];_0xb3dcx5++){this[_0x708e[3271]](_0xb3dcx2,_0xb3dcx3[_0xb3dcx5],_0xb3dcx4)}}};mxObjectCodec[_0x708e[202]][_0x708e[3271]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx3[_0x708e[301]];if(_0x708e[3069]!= _0xb3dcx5&& _0x708e[1363]!= _0xb3dcx5){_0xb3dcx3= this[_0x708e[3265]](_0xb3dcx3[_0x708e[318]]);var _0xb3dcx9=this[_0x708e[3251]](_0xb3dcx5);if(this[_0x708e[3254]](_0xb3dcx4,_0xb3dcx9,_0xb3dcx3,!1)){_0xb3dcx2= _0xb3dcx2[_0x708e[3236]](_0xb3dcx3);if(null== _0xb3dcx2){mxLog[_0x708e[283]](_0x708e[3272]+ this[_0x708e[718]]()+ _0x708e[87]+ _0xb3dcx5+ _0x708e[226]+ _0xb3dcx3);return};_0xb3dcx3= _0xb3dcx2};this[_0x708e[3253]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx3,!1)|| (_0xb3dcx4[_0xb3dcx5]= _0xb3dcx3)}};mxObjectCodec[_0x708e[202]][_0x708e[3270]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){for(_0xb3dcx3= _0xb3dcx3[_0x708e[285]];null!= _0xb3dcx3;){var _0xb3dcx5=_0xb3dcx3[_0x708e[287]];_0xb3dcx3[_0x708e[288]]== mxConstants[_0x708e[289]]&& !this[_0x708e[3273]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4)&& this[_0x708e[3274]](_0xb3dcx2,_0xb3dcx3,_0xb3dcx4);_0xb3dcx3= _0xb3dcx5}};mxObjectCodec[_0x708e[202]][_0x708e[3274]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){var _0xb3dcx5=this[_0x708e[3251]](_0xb3dcx3[_0x708e[284]](_0x708e[3069]));if(null== _0xb3dcx5|| !this[_0x708e[3253]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx3,!1)){var _0xb3dcx9=this[_0x708e[3275]](_0xb3dcx4,_0xb3dcx5,_0xb3dcx3),_0xb3dcxa=null;_0x708e[99]== _0xb3dcx3[_0x708e[301]]?(_0xb3dcxa= _0xb3dcx3[_0x708e[284]](_0x708e[131]),null== _0xb3dcxa&& (_0xb3dcxa= mxUtils[_0x708e[1545]](mxUtils[_0x708e[329]](_0xb3dcx3)))):_0xb3dcxa= _0xb3dcx2[_0x708e[1093]](_0xb3dcx3,_0xb3dcx9);this[_0x708e[3276]](_0xb3dcx4,_0xb3dcx5,_0xb3dcxa,_0xb3dcx9)}};mxObjectCodec[_0x708e[202]][_0x708e[3275]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){_0xb3dcx2= _0xb3dcx2[_0xb3dcx3];_0xb3dcx2 instanceof Array&& 0< _0xb3dcx2[_0x708e[67]]&& (_0xb3dcx2= null);return _0xb3dcx2};mxObjectCodec[_0x708e[202]][_0x708e[3276]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4,_0xb3dcx5){null!= _0xb3dcx4&& _0xb3dcx4!= _0xb3dcx5&& (null!= _0xb3dcx3&& 0< _0xb3dcx3[_0x708e[67]]?_0xb3dcx2[_0xb3dcx3]= _0xb3dcx4:_0xb3dcx2[_0x708e[207]](_0xb3dcx4))};mxObjectCodec[_0x708e[202]][_0x708e[3273]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){if(_0x708e[3277]== _0xb3dcx3[_0x708e[301]]){_0xb3dcx3= _0xb3dcx3[_0x708e[284]](_0x708e[298]);if(null!= _0xb3dcx3){try{var _0xb3dcx5=mxUtils[_0x708e[219]](_0xb3dcx3)[_0x708e[874]]();null!= _0xb3dcx5&& _0xb3dcx2[_0x708e[1093]](_0xb3dcx5,_0xb3dcx4)}catch(e){}};return !0};return !1};mxObjectCodec[_0x708e[202]][_0x708e[3266]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx3};mxObjectCodec[_0x708e[202]][_0x708e[3268]]= function(_0xb3dcx2,_0xb3dcx3,_0xb3dcx4){return _0xb3dcx4};mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxCell,[_0x708e[1954],_0x708e[1842],_0x708e[1211],_0x708e[1991]],[_0x708e[1101],_0x708e[1097],_0x708e[772]]);_0xb3dcx2[_0x708e[3243]]= function(){return !0};_0xb3dcx2[_0x708e[3253]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return mxObjectCodec[_0x708e[202]][_0x708e[3253]][_0x708e[183]](this,arguments)|| _0xb3dcx9&& _0x708e[131]== _0xb3dcx4&& _0xb3dcx5[_0x708e[288]]== mxConstants[_0x708e[289]]};_0xb3dcx2[_0x708e[3257]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx4[_0x708e[131]]&& _0xb3dcx4[_0x708e[131]][_0x708e[288]]== mxConstants[_0x708e[289]]){var _0xb3dcx9=_0xb3dcx5;_0xb3dcx5= mxClient[_0x708e[80]]?_0xb3dcx4[_0x708e[131]][_0x708e[511]](!0):_0xb3dcx2[_0x708e[395]][_0x708e[3239]](_0xb3dcx4[_0x708e[131]],!0);_0xb3dcx5[_0x708e[62]](_0xb3dcx9);_0xb3dcx2= _0xb3dcx9[_0x708e[284]](_0x708e[1363]);_0xb3dcx5[_0x708e[57]](_0x708e[1363],_0xb3dcx2);_0xb3dcx9[_0x708e[1390]](_0x708e[1363])};return _0xb3dcx5};_0xb3dcx2[_0x708e[3266]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx4,_0xb3dcxa=this[_0x708e[718]]();_0xb3dcx4[_0x708e[301]]!= _0xb3dcxa?(_0xb3dcx9= _0xb3dcx4[_0x708e[64]](_0xb3dcxa)[0],null!= _0xb3dcx9&& _0xb3dcx9[_0x708e[265]]== _0xb3dcx4?(mxUtils[_0x708e[3278]](_0xb3dcx9,!0),mxUtils[_0x708e[3278]](_0xb3dcx9,!1),_0xb3dcx9[_0x708e[265]][_0x708e[266]](_0xb3dcx9)):_0xb3dcx9= null,_0xb3dcx5[_0x708e[131]]= _0xb3dcx4[_0x708e[511]](!0),_0xb3dcx4= _0xb3dcx5[_0x708e[131]][_0x708e[284]](_0x708e[1363]),null!= _0xb3dcx4&& (_0xb3dcx5[_0x708e[1945]](_0xb3dcx4),_0xb3dcx5[_0x708e[131]][_0x708e[1390]](_0x708e[1363]))):_0xb3dcx5[_0x708e[1945]](_0xb3dcx4[_0x708e[284]](_0x708e[1363]));if(null!= _0xb3dcx9){for(_0xb3dcx4= 0;_0xb3dcx4< this[_0x708e[3247]][_0x708e[67]];_0xb3dcx4++){var _0xb3dcxa=this[_0x708e[3247]][_0xb3dcx4],_0xb3dcx12=_0xb3dcx9[_0x708e[284]](_0xb3dcxa);if(null!= _0xb3dcx12){_0xb3dcx9[_0x708e[1390]](_0xb3dcxa);var _0xb3dcx13=_0xb3dcx2[_0x708e[68]][_0xb3dcx12]|| _0xb3dcx2[_0x708e[1060]](_0xb3dcx12);null== _0xb3dcx13&& (_0xb3dcx12= _0xb3dcx2[_0x708e[1362]](_0xb3dcx12),null!= _0xb3dcx12&& (_0xb3dcx13= (mxCodecRegistry[_0x708e[3230]][_0xb3dcx12[_0x708e[301]]]|| this)[_0x708e[1093]](_0xb3dcx2,_0xb3dcx12)));_0xb3dcx5[_0xb3dcxa]= _0xb3dcx13}}};return _0xb3dcx9};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxGraphModel);_0xb3dcx2[_0x708e[3256]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx2[_0x708e[395]][_0x708e[55]](_0x708e[813]);_0xb3dcx2[_0x708e[3242]](_0xb3dcx4[_0x708e[501]](),_0xb3dcx9);_0xb3dcx5[_0x708e[62]](_0xb3dcx9)};_0xb3dcx2[_0x708e[3274]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0x708e[813]== _0xb3dcx4[_0x708e[301]]?this[_0x708e[3279]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5):mxObjectCodec[_0x708e[202]][_0x708e[3274]][_0x708e[183]](this,arguments)};_0xb3dcx2[_0x708e[3279]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=null;for(_0xb3dcx4= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcx4;){var _0xb3dcxa=_0xb3dcx2[_0x708e[3244]](_0xb3dcx4);null!= _0xb3dcxa&& null== _0xb3dcxa[_0x708e[1197]]()&& (_0xb3dcx9= _0xb3dcxa);_0xb3dcx4= _0xb3dcx4[_0x708e[287]]};null!= _0xb3dcx9&& _0xb3dcx5[_0x708e[1927]](_0xb3dcx9)};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxRootChange,[_0x708e[251],_0x708e[257],_0x708e[813]]);_0xb3dcx2[_0x708e[3257]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2[_0x708e[3242]](_0xb3dcx4[_0x708e[813]],_0xb3dcx5);return _0xb3dcx5};_0xb3dcx2[_0x708e[3266]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx4[_0x708e[285]]&& _0xb3dcx4[_0x708e[285]][_0x708e[288]]== mxConstants[_0x708e[289]]){_0xb3dcx4= _0xb3dcx4[_0x708e[511]](!0);var _0xb3dcx9=_0xb3dcx4[_0x708e[285]];_0xb3dcx5[_0x708e[813]]= _0xb3dcx2[_0x708e[3244]](_0xb3dcx9,!1);_0xb3dcx5= _0xb3dcx9[_0x708e[287]];_0xb3dcx9[_0x708e[265]][_0x708e[266]](_0xb3dcx9);for(_0xb3dcx9= _0xb3dcx5;null!= _0xb3dcx9;){_0xb3dcx5= _0xb3dcx9[_0x708e[287]],_0xb3dcx2[_0x708e[3244]](_0xb3dcx9),_0xb3dcx9[_0x708e[265]][_0x708e[266]](_0xb3dcx9),_0xb3dcx9= _0xb3dcx5}};return _0xb3dcx4};_0xb3dcx2[_0x708e[3268]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0xb3dcx5[_0x708e[257]]= _0xb3dcx5[_0x708e[813]];return _0xb3dcx5};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxChildChange,[_0x708e[251],_0x708e[247],_0x708e[1982]],[_0x708e[1101],_0x708e[257]]);_0xb3dcx2[_0x708e[3254]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5,_0xb3dcx9){return _0x708e[247]== _0xb3dcx4&& (null!= _0xb3dcx2[_0x708e[257]]|| !_0xb3dcx9)?!0:0<= mxUtils[_0x708e[2]](this[_0x708e[3247]],_0xb3dcx4)};_0xb3dcx2[_0x708e[3257]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){this[_0x708e[3254]](_0xb3dcx4,_0x708e[247],_0xb3dcx4[_0x708e[247]],!0)?_0xb3dcx5[_0x708e[57]](_0x708e[247],_0xb3dcx2[_0x708e[1103]](_0xb3dcx4[_0x708e[247]])):_0xb3dcx2[_0x708e[3242]](_0xb3dcx4[_0x708e[247]],_0xb3dcx5);return _0xb3dcx5};_0xb3dcx2[_0x708e[3266]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx4[_0x708e[285]]&& _0xb3dcx4[_0x708e[285]][_0x708e[288]]== mxConstants[_0x708e[289]]){_0xb3dcx4= _0xb3dcx4[_0x708e[511]](!0);var _0xb3dcx9=_0xb3dcx4[_0x708e[285]];_0xb3dcx5[_0x708e[247]]= _0xb3dcx2[_0x708e[3244]](_0xb3dcx9,!1);_0xb3dcx5= _0xb3dcx9[_0x708e[287]];_0xb3dcx9[_0x708e[265]][_0x708e[266]](_0xb3dcx9);for(_0xb3dcx9= _0xb3dcx5;null!= _0xb3dcx9;){_0xb3dcx5= _0xb3dcx9[_0x708e[287]];if(_0xb3dcx9[_0x708e[288]]== mxConstants[_0x708e[289]]){var _0xb3dcxa=_0xb3dcx9[_0x708e[284]](_0x708e[1363]);null== _0xb3dcx2[_0x708e[1060]](_0xb3dcxa)&& _0xb3dcx2[_0x708e[3244]](_0xb3dcx9)};_0xb3dcx9[_0x708e[265]][_0x708e[266]](_0xb3dcx9);_0xb3dcx9= _0xb3dcx5}}else {_0xb3dcx9= _0xb3dcx4[_0x708e[284]](_0x708e[247]),_0xb3dcx5[_0x708e[247]]= _0xb3dcx2[_0x708e[3236]](_0xb3dcx9)};return _0xb3dcx4};_0xb3dcx2[_0x708e[3268]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0xb3dcx5[_0x708e[247]][_0x708e[1101]]= _0xb3dcx5[_0x708e[257]];_0xb3dcx5[_0x708e[257]]= _0xb3dcx5[_0x708e[1101]];_0xb3dcx5[_0x708e[1982]]= _0xb3dcx5[_0x708e[1983]];return _0xb3dcx5};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxTerminalChange,[_0x708e[251],_0x708e[257]],[_0x708e[246],_0x708e[1984]]);_0xb3dcx2[_0x708e[3268]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0xb3dcx5[_0x708e[257]]= _0xb3dcx5[_0x708e[1984]];return _0xb3dcx5};return _0xb3dcx2}());var mxGenericChangeCodec=function(_0xb3dcx2,_0xb3dcx3){var _0xb3dcx4= new mxObjectCodec(_0xb3dcx2,[_0x708e[251],_0x708e[257]],[_0x708e[246]]);_0xb3dcx4[_0x708e[3268]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcxa){mxUtils[_0x708e[1331]](_0xb3dcxa[_0x708e[246]])&& (_0xb3dcxa[_0x708e[246]]= _0xb3dcx2[_0x708e[3244]](_0xb3dcxa[_0x708e[246]],!1));_0xb3dcxa[_0x708e[257]]= _0xb3dcxa[_0xb3dcx3];return _0xb3dcxa};return _0xb3dcx4};mxCodecRegistry[_0x708e[3234]](mxGenericChangeCodec( new mxValueChange,_0x708e[131]));mxCodecRegistry[_0x708e[3234]](mxGenericChangeCodec( new mxStyleChange,_0x708e[124]));mxCodecRegistry[_0x708e[3234]](mxGenericChangeCodec( new mxGeometryChange,_0x708e[256]));mxCodecRegistry[_0x708e[3234]](mxGenericChangeCodec( new mxCollapseChange,_0x708e[1985]));mxCodecRegistry[_0x708e[3234]](mxGenericChangeCodec( new mxVisibleChange,_0x708e[189]));mxCodecRegistry[_0x708e[3234]](mxGenericChangeCodec( new mxCellAttributeChange,_0x708e[131]));mxCodecRegistry[_0x708e[3234]](function(){return new mxObjectCodec( new mxGraph,_0x708e[3280][_0x708e[224]](_0x708e[185]))}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxGraphView);_0xb3dcx2[_0x708e[514]]= function(_0xb3dcx2,_0xb3dcx4){return this[_0x708e[3242]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx4[_0x708e[1179]][_0x708e[502]]()[_0x708e[501]]())};_0xb3dcx2[_0x708e[3242]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx4[_0x708e[1179]][_0x708e[502]](),_0xb3dcxa=_0xb3dcx4[_0x708e[248]](_0xb3dcx5),_0xb3dcx12=_0xb3dcx9[_0x708e[1197]](_0xb3dcx5);if(null== _0xb3dcx12|| null!= _0xb3dcxa){var _0xb3dcx13=_0xb3dcx9[_0x708e[262]](_0xb3dcx5),_0xb3dcx14=_0xb3dcx4[_0x708e[1179]][_0x708e[1198]](_0xb3dcx5),_0xb3dcx15=null;_0xb3dcx12== _0xb3dcx9[_0x708e[501]]()?_0xb3dcx15= _0x708e[3281]:null== _0xb3dcx12?_0xb3dcx15= _0x708e[1179]:_0xb3dcx9[_0x708e[250]](_0xb3dcx5)?_0xb3dcx15= _0x708e[1989]:0< _0xb3dcx13&& null!= _0xb3dcx14?_0xb3dcx15= _0x708e[1504]:_0xb3dcx9[_0x708e[1193]](_0xb3dcx5)&& (_0xb3dcx15= _0x708e[1988]);if(null!= _0xb3dcx15){var _0xb3dcx16=_0xb3dcx2[_0x708e[395]][_0x708e[55]](_0xb3dcx15);null!= _0xb3dcx4[_0x708e[1179]][_0x708e[2183]](_0xb3dcx5)&& (_0xb3dcx16[_0x708e[57]](_0x708e[685],_0xb3dcx4[_0x708e[1179]][_0x708e[2183]](_0xb3dcx5)),_0xb3dcx4[_0x708e[1179]][_0x708e[2186]](_0xb3dcx5)&& _0xb3dcx16[_0x708e[57]](_0x708e[1428],!0));if(null== _0xb3dcx12){var _0xb3dcx17=_0xb3dcx4[_0x708e[517]]();null!= _0xb3dcx17&& (_0xb3dcx16[_0x708e[57]](_0x708e[235],Math[_0x708e[488]](_0xb3dcx17[_0x708e[235]])),_0xb3dcx16[_0x708e[57]](_0x708e[236],Math[_0x708e[488]](_0xb3dcx17[_0x708e[236]])),_0xb3dcx16[_0x708e[57]](_0x708e[117],Math[_0x708e[488]](_0xb3dcx17[_0x708e[117]])),_0xb3dcx16[_0x708e[57]](_0x708e[119],Math[_0x708e[488]](_0xb3dcx17[_0x708e[119]])));_0xb3dcx16[_0x708e[57]](_0x708e[255],_0xb3dcx4[_0x708e[255]])}else {if(null!= _0xb3dcxa&& null!= _0xb3dcx14){for(_0xb3dcx17 in _0xb3dcxa[_0x708e[124]]){_0xb3dcx12= _0xb3dcxa[_0x708e[124]][_0xb3dcx17],_0x708e[279]== typeof _0xb3dcx12&& _0x708e[194]== typeof _0xb3dcx12&& (_0xb3dcx12= mxStyleRegistry[_0x708e[718]](_0xb3dcx12)),null!= _0xb3dcx12&& (_0x708e[279]!= typeof _0xb3dcx12&& _0x708e[194]!= typeof _0xb3dcx12)&& _0xb3dcx16[_0x708e[57]](_0xb3dcx17,_0xb3dcx12)};_0xb3dcx12= _0xb3dcxa[_0x708e[439]];if(null!= _0xb3dcx12&& 0< _0xb3dcx12[_0x708e[67]]){_0xb3dcx14= Math[_0x708e[488]](_0xb3dcx12[0][_0x708e[235]])+ _0x708e[537]+ Math[_0x708e[488]](_0xb3dcx12[0][_0x708e[236]]);for(_0xb3dcx17= 1;_0xb3dcx17< _0xb3dcx12[_0x708e[67]];_0xb3dcx17++){_0xb3dcx14+= _0x708e[185]+ Math[_0x708e[488]](_0xb3dcx12[_0xb3dcx17][_0x708e[235]])+ _0x708e[537]+ Math[_0x708e[488]](_0xb3dcx12[_0xb3dcx17][_0x708e[236]])};_0xb3dcx16[_0x708e[57]](_0x708e[1525],_0xb3dcx14)}else {_0xb3dcx16[_0x708e[57]](_0x708e[235],Math[_0x708e[488]](_0xb3dcxa[_0x708e[235]])),_0xb3dcx16[_0x708e[57]](_0x708e[236],Math[_0x708e[488]](_0xb3dcxa[_0x708e[236]])),_0xb3dcx16[_0x708e[57]](_0x708e[117],Math[_0x708e[488]](_0xb3dcxa[_0x708e[117]])),_0xb3dcx16[_0x708e[57]](_0x708e[119],Math[_0x708e[488]](_0xb3dcxa[_0x708e[119]]))};_0xb3dcx17= _0xb3dcxa[_0x708e[2079]];null!= _0xb3dcx17&& (0!= _0xb3dcx17[_0x708e[235]]&& _0xb3dcx16[_0x708e[57]](_0x708e[1126],Math[_0x708e[488]](_0xb3dcx17[_0x708e[235]])),0!= _0xb3dcx17[_0x708e[236]]&& _0xb3dcx16[_0x708e[57]](_0x708e[1125],Math[_0x708e[488]](_0xb3dcx17[_0x708e[236]])))}};for(_0xb3dcx17= 0;_0xb3dcx17< _0xb3dcx13;_0xb3dcx17++){_0xb3dcxa= this[_0x708e[3242]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx9[_0x708e[263]](_0xb3dcx5,_0xb3dcx17)),null!= _0xb3dcxa&& _0xb3dcx16[_0x708e[62]](_0xb3dcxa)}}};return _0xb3dcx16};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxStylesheet);_0xb3dcx2[_0x708e[514]]= function(_0xb3dcx2,_0xb3dcx4){var _0xb3dcx5=_0xb3dcx2[_0x708e[395]][_0x708e[55]](this[_0x708e[718]]()),_0xb3dcx9;for(_0xb3dcx9 in _0xb3dcx4[_0x708e[2054]]){var _0xb3dcxa=_0xb3dcx4[_0x708e[2054]][_0xb3dcx9],_0xb3dcx12=_0xb3dcx2[_0x708e[395]][_0x708e[55]](_0x708e[99]);if(null!= _0xb3dcx9){_0xb3dcx12[_0x708e[57]](_0x708e[3069],_0xb3dcx9);for(var _0xb3dcx13 in _0xb3dcxa){var _0xb3dcx14=this[_0x708e[3282]](_0xb3dcx13,_0xb3dcxa[_0xb3dcx13]);if(null!= _0xb3dcx14){var _0xb3dcx15=_0xb3dcx2[_0x708e[395]][_0x708e[55]](_0x708e[99]);_0xb3dcx15[_0x708e[57]](_0x708e[131],_0xb3dcx14);_0xb3dcx15[_0x708e[57]](_0x708e[3069],_0xb3dcx13);_0xb3dcx12[_0x708e[62]](_0xb3dcx15)}};0< _0xb3dcx12[_0x708e[271]][_0x708e[67]]&& _0xb3dcx5[_0x708e[62]](_0xb3dcx12)}};return _0xb3dcx5};_0xb3dcx2[_0x708e[3282]]= function(_0xb3dcx2,_0xb3dcx4){var _0xb3dcx5= typeof _0xb3dcx4;_0x708e[279]== _0xb3dcx5?_0xb3dcx4= mxStyleRegistry[_0x708e[718]](style[j]):_0x708e[194]== _0xb3dcx5&& (_0xb3dcx4= null);return _0xb3dcx4};_0xb3dcx2[_0x708e[1093]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0xb3dcx5= _0xb3dcx5|| new this[_0x708e[3231]][_0x708e[196]];var _0xb3dcx9=_0xb3dcx4[_0x708e[284]](_0x708e[1363]);null!= _0xb3dcx9&& (_0xb3dcx2[_0x708e[68]][_0xb3dcx9]= _0xb3dcx5);for(_0xb3dcx4= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcx4;){if(!this[_0x708e[3273]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5)&& _0x708e[99]== _0xb3dcx4[_0x708e[301]]&& (_0xb3dcx9= _0xb3dcx4[_0x708e[284]](_0x708e[3069]),null!= _0xb3dcx9)){var _0xb3dcxa=_0xb3dcx4[_0x708e[284]](_0x708e[1284]),_0xb3dcx12=null!= _0xb3dcxa?mxUtils[_0x708e[238]](_0xb3dcx5[_0x708e[2054]][_0xb3dcxa]):null;null== _0xb3dcx12&& (null!= _0xb3dcxa&& mxLog[_0x708e[283]](_0x708e[3283]+ _0xb3dcxa+ _0x708e[3284]),_0xb3dcx12= {});for(_0xb3dcxa= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcxa;){if(_0xb3dcxa[_0x708e[288]]== mxConstants[_0x708e[289]]){var _0xb3dcx13=_0xb3dcxa[_0x708e[284]](_0x708e[3069]);if(_0x708e[99]== _0xb3dcxa[_0x708e[301]]){var _0xb3dcx14=mxUtils[_0x708e[329]](_0xb3dcxa),_0xb3dcx15=null;null!= _0xb3dcx14&& 0< _0xb3dcx14[_0x708e[67]]?_0xb3dcx15= mxUtils[_0x708e[1545]](_0xb3dcx14):(_0xb3dcx15= _0xb3dcxa[_0x708e[284]](_0x708e[131]),mxUtils[_0x708e[1946]](_0xb3dcx15)&& (_0xb3dcx15= parseFloat(_0xb3dcx15)));null!= _0xb3dcx15&& (_0xb3dcx12[_0xb3dcx13]= _0xb3dcx15)}else {_0x708e[205]== _0xb3dcxa[_0x708e[301]]&& delete _0xb3dcx12[_0xb3dcx13]}};_0xb3dcxa= _0xb3dcxa[_0x708e[287]]};_0xb3dcx5[_0x708e[2074]](_0xb3dcx9,_0xb3dcx12)};_0xb3dcx4= _0xb3dcx4[_0x708e[287]]};return _0xb3dcx5};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxDefaultKeyHandler);_0xb3dcx2[_0x708e[514]]= function(_0xb3dcx2,_0xb3dcx4){return null};_0xb3dcx2[_0x708e[1093]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx5){for(_0xb3dcx4= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcx4;){if(!this[_0x708e[3273]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5)&& _0x708e[99]== _0xb3dcx4[_0x708e[301]]){var _0xb3dcx9=_0xb3dcx4[_0x708e[284]](_0x708e[3069]),_0xb3dcxa=_0xb3dcx4[_0x708e[284]](_0x708e[892]),_0xb3dcx12=_0xb3dcx4[_0x708e[284]](_0x708e[2207]);_0xb3dcx5[_0x708e[3063]](_0xb3dcx9,_0xb3dcxa,_0xb3dcx12)};_0xb3dcx4= _0xb3dcx4[_0x708e[287]]}};return _0xb3dcx5};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxDefaultToolbar);_0xb3dcx2[_0x708e[514]]= function(_0xb3dcx2,_0xb3dcx4){return null};_0xb3dcx2[_0x708e[1093]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(null!= _0xb3dcx5){var _0xb3dcx9=_0xb3dcx5[_0x708e[3061]];for(_0xb3dcx4= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcx4;){if(_0xb3dcx4[_0x708e[288]]== mxConstants[_0x708e[289]]&& !this[_0x708e[3273]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5)){if(_0x708e[3072]== _0xb3dcx4[_0x708e[301]]){_0xb3dcx5[_0x708e[1051]]()}else {if(_0x708e[345]== _0xb3dcx4[_0x708e[301]]){_0xb3dcx5[_0x708e[3082]][_0x708e[1052]]()}else {if(_0x708e[1054]== _0xb3dcx4[_0x708e[301]]){_0xb3dcx5[_0x708e[3082]][_0x708e[1053]]()}else {if(_0x708e[99]== _0xb3dcx4[_0x708e[301]]){var _0xb3dcxa=_0xb3dcx4[_0x708e[284]](_0x708e[3069]),_0xb3dcxa=mxResources[_0x708e[203]](_0xb3dcxa)|| _0xb3dcxa,_0xb3dcx12=_0xb3dcx4[_0x708e[284]](_0x708e[2916]),_0xb3dcx13=_0xb3dcx4[_0x708e[284]](_0x708e[3285]),_0xb3dcx14=_0xb3dcx4[_0x708e[284]](_0x708e[892]),_0xb3dcx15=_0xb3dcx4[_0x708e[284]](_0x708e[3286]),_0xb3dcx16=_0xb3dcx4[_0x708e[284]](_0x708e[3231]),_0xb3dcx17=_0x708e[468]!= _0xb3dcx4[_0x708e[284]](_0x708e[3287]),_0xb3dcx18=mxUtils[_0x708e[329]](_0xb3dcx4),_0xb3dcx19=null;if(null!= _0xb3dcx14){_0xb3dcx19= _0xb3dcx5[_0x708e[1025]](_0xb3dcxa,_0xb3dcx12,_0xb3dcx14,_0xb3dcx13)}else {if(null!= _0xb3dcx15){var _0xb3dcx1a=mxUtils[_0x708e[1545]](_0xb3dcx18),_0xb3dcx19=_0xb3dcx5[_0x708e[1048]](_0xb3dcxa,_0xb3dcx12,_0xb3dcx15,_0xb3dcx13,_0xb3dcx1a)}else {if(null!= _0xb3dcx16|| null!= _0xb3dcx18&& 0< _0xb3dcx18[_0x708e[67]]){_0xb3dcx19= _0xb3dcx9[_0x708e[3118]][_0xb3dcx16],_0xb3dcx16= _0xb3dcx4[_0x708e[284]](_0x708e[124]),null!= _0xb3dcx19&& null!= _0xb3dcx16&& (_0xb3dcx19= _0xb3dcx19[_0x708e[238]](),_0xb3dcx19[_0x708e[475]](_0xb3dcx16)),_0xb3dcx16= null,null!= _0xb3dcx18&& 0< _0xb3dcx18[_0x708e[67]]&& (_0xb3dcx16= mxUtils[_0x708e[1545]](_0xb3dcx18)),_0xb3dcx19= _0xb3dcx5[_0x708e[3087]](_0xb3dcxa,_0xb3dcx12,_0xb3dcx19,_0xb3dcx13,_0xb3dcx16,_0xb3dcx17)}else {if(_0xb3dcx13= mxUtils[_0x708e[1540]](_0xb3dcx4),0< _0xb3dcx13[_0x708e[67]]){if(null== _0xb3dcx12){_0xb3dcx16= _0xb3dcx5[_0x708e[1038]](_0xb3dcxa);for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx13[_0x708e[67]];_0xb3dcxa++){_0xb3dcx17= _0xb3dcx13[_0xb3dcxa],_0x708e[3072]== _0xb3dcx17[_0x708e[301]]?_0xb3dcx5[_0x708e[972]](_0xb3dcx16,_0x708e[3288]):_0x708e[99]== _0xb3dcx17[_0x708e[301]]&& (_0xb3dcx12= _0xb3dcx17[_0x708e[284]](_0x708e[3069]),_0xb3dcx17= _0xb3dcx17[_0x708e[284]](_0x708e[892]),_0xb3dcx5[_0x708e[3085]](_0xb3dcx16,_0xb3dcx12,_0xb3dcx17))}}else {var _0xb3dcx1b=null,_0xb3dcx1c=_0xb3dcx5[_0x708e[3087]](_0xb3dcxa,_0xb3dcx12,function(){var _0xb3dcx2=_0xb3dcx9[_0x708e[3118]][_0xb3dcx1b[_0x708e[131]]];if(null!= _0xb3dcx2){var _0xb3dcx2=_0xb3dcx2[_0x708e[238]](),_0xb3dcx3=_0xb3dcx1b[_0x708e[1040]][_0xb3dcx1b[_0x708e[1039]]][_0x708e[3289]];null!= _0xb3dcx3&& _0xb3dcx2[_0x708e[475]](_0xb3dcx3);return _0xb3dcx2};mxLog[_0x708e[283]](_0x708e[3290]+ _0xb3dcx2+ _0x708e[3291]);return null},null,null,_0xb3dcx17),_0xb3dcx1b=_0xb3dcx5[_0x708e[970]]();mxEvent[_0x708e[169]](_0xb3dcx1b,_0x708e[826],function(){_0xb3dcx5[_0x708e[3082]][_0x708e[1047]](_0xb3dcx1c,function(_0xb3dcx2){_0xb3dcx2= mxUtils[_0x708e[2196]](_0xb3dcx9[_0x708e[1179]][_0x708e[526]],mxEvent[_0x708e[731]](_0xb3dcx2),mxEvent[_0x708e[733]](_0xb3dcx2));return _0xb3dcx9[_0x708e[817]](null,_0xb3dcx1a(),_0xb3dcx2[_0x708e[235]],_0xb3dcx2[_0x708e[236]])});_0xb3dcx5[_0x708e[3082]][_0x708e[1023]]= !1});for(_0xb3dcxa= 0;_0xb3dcxa< _0xb3dcx13[_0x708e[67]];_0xb3dcxa++){_0xb3dcx17= _0xb3dcx13[_0xb3dcxa],_0x708e[3072]== _0xb3dcx17[_0x708e[301]]?_0xb3dcx5[_0x708e[972]](_0xb3dcx1b,_0x708e[3288]):_0x708e[99]== _0xb3dcx17[_0x708e[301]]&& (_0xb3dcx12= _0xb3dcx17[_0x708e[284]](_0x708e[3069]),_0xb3dcx18= _0xb3dcx17[_0x708e[284]](_0x708e[3231]),_0xb3dcx5[_0x708e[972]](_0xb3dcx1b,_0xb3dcx12,_0xb3dcx18|| _0xb3dcx16)[_0x708e[3289]]= _0xb3dcx17[_0x708e[284]](_0x708e[124]))}}}}}};null!= _0xb3dcx19&& (_0xb3dcx16= _0xb3dcx4[_0x708e[284]](_0x708e[1363]),null!= _0xb3dcx16&& 0< _0xb3dcx16[_0x708e[67]]&& _0xb3dcx19[_0x708e[57]](_0x708e[1363],_0xb3dcx16))}}}}};_0xb3dcx4= _0xb3dcx4[_0x708e[287]]}};return _0xb3dcx5};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxDefaultPopupMenu);_0xb3dcx2[_0x708e[514]]= function(_0xb3dcx2,_0xb3dcx4){return null};_0xb3dcx2[_0x708e[1093]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){var _0xb3dcx9=_0xb3dcx4[_0x708e[64]](_0x708e[3277])[0];null!= _0xb3dcx9?this[_0x708e[3273]](_0xb3dcx2,_0xb3dcx9,_0xb3dcx5):null!= _0xb3dcx5&& (_0xb3dcx5[_0x708e[3064]]= _0xb3dcx4);return _0xb3dcx5};return _0xb3dcx2}());mxCodecRegistry[_0x708e[3234]](function(){var _0xb3dcx2= new mxObjectCodec( new mxEditor,_0x708e[3292][_0x708e[224]](_0x708e[185]));_0xb3dcx2[_0x708e[3268]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){_0xb3dcx2= _0xb3dcx4[_0x708e[284]](_0x708e[2075]);null!= _0xb3dcx2&& (_0xb3dcx4[_0x708e[1390]](_0x708e[2075]),_0xb3dcx5[_0x708e[2075]]= _0xb3dcx5[_0x708e[3118]][_0xb3dcx2]);_0xb3dcx2= _0xb3dcx4[_0x708e[284]](_0x708e[3120]);null!= _0xb3dcx2&& (_0xb3dcx4[_0x708e[1390]](_0x708e[3120]),_0xb3dcx5[_0x708e[3120]]= _0xb3dcx5[_0x708e[3118]][_0xb3dcx2]);return _0xb3dcx5};_0xb3dcx2[_0x708e[3274]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){if(_0x708e[3293]== _0xb3dcx4[_0x708e[301]]){if(_0x708e[3118]== _0xb3dcx4[_0x708e[284]](_0x708e[3069])){this[_0x708e[3294]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5);return}}else {if(_0x708e[3295]== _0xb3dcx4[_0x708e[301]]){this[_0x708e[3296]](_0xb3dcx2,_0xb3dcx4,_0xb3dcx5);return}};mxObjectCodec[_0x708e[202]][_0x708e[3274]][_0x708e[183]](this,arguments)};_0xb3dcx2[_0x708e[3296]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){for(_0xb3dcx2= _0xb3dcx4[_0x708e[285]];null!= _0xb3dcx2;){if(_0x708e[99]== _0xb3dcx2[_0x708e[301]]){_0xb3dcx4= _0xb3dcx2[_0x708e[284]](_0x708e[3069]);var _0xb3dcx9=_0xb3dcx2[_0x708e[284]](_0x708e[980]),_0xb3dcxa=_0xb3dcx2[_0x708e[284]](_0x708e[124]),_0xb3dcx12=null;if(null!= _0xb3dcx9){_0xb3dcx12= document[_0x708e[1362]](_0xb3dcx9),null!= _0xb3dcx12&& null!= _0xb3dcxa&& (_0xb3dcx12[_0x708e[124]][_0x708e[103]]+= _0x708e[471]+ _0xb3dcxa)}else {var _0xb3dcx9=parseInt(_0xb3dcx2[_0x708e[284]](_0x708e[235])),_0xb3dcx13=parseInt(_0xb3dcx2[_0x708e[284]](_0x708e[236])),_0xb3dcx14=_0xb3dcx2[_0x708e[284]](_0x708e[117]),_0xb3dcx15=_0xb3dcx2[_0x708e[284]](_0x708e[119]),_0xb3dcx12=document[_0x708e[55]](_0x708e[485]);_0xb3dcx12[_0x708e[124]][_0x708e[103]]= _0xb3dcxa;( new mxWindow(mxResources[_0x708e[203]](_0xb3dcx4)|| _0xb3dcx4,_0xb3dcx12,_0xb3dcx9,_0xb3dcx13,_0xb3dcx14,_0xb3dcx15,!1,!0))[_0x708e[175]](!0)};_0x708e[1179]== _0xb3dcx4?_0xb3dcx5[_0x708e[3202]](_0xb3dcx12):_0x708e[3082]== _0xb3dcx4?_0xb3dcx5[_0x708e[3204]](_0xb3dcx12):_0x708e[924]== _0xb3dcx4?_0xb3dcx5[_0x708e[3208]](_0xb3dcx12):_0x708e[879]== _0xb3dcx4?_0xb3dcx5[_0x708e[3205]](_0xb3dcx12):_0x708e[201]== _0xb3dcx4&& _0xb3dcx5[_0x708e[3297]](_0xb3dcx12)}else {_0x708e[3298]== _0xb3dcx2[_0x708e[301]]?mxResources[_0x708e[99]](_0xb3dcx2[_0x708e[284]](_0x708e[3299])):_0x708e[94]== _0xb3dcx2[_0x708e[301]]&& mxClient[_0x708e[54]](_0x708e[94],_0xb3dcx2[_0x708e[284]](_0x708e[298]))};_0xb3dcx2= _0xb3dcx2[_0x708e[287]]}};_0xb3dcx2[_0x708e[3294]]= function(_0xb3dcx2,_0xb3dcx4,_0xb3dcx5){null== _0xb3dcx5[_0x708e[3118]]&& (_0xb3dcx5[_0x708e[3118]]= []);_0xb3dcx4= mxUtils[_0x708e[1540]](_0xb3dcx4);for(var _0xb3dcx9=0;_0xb3dcx9< _0xb3dcx4[_0x708e[67]];_0xb3dcx9++){for(var _0xb3dcxa=_0xb3dcx4[_0xb3dcx9][_0x708e[284]](_0x708e[3069]),_0xb3dcx12=_0xb3dcx4[_0xb3dcx9][_0x708e[285]];null!= _0xb3dcx12&& 1!= _0xb3dcx12[_0x708e[288]];){_0xb3dcx12= _0xb3dcx12[_0x708e[287]]};null!= _0xb3dcx12&& (_0xb3dcx5[_0x708e[3118]][_0xb3dcxa]= _0xb3dcx2[_0x708e[3244]](_0xb3dcx12))}};return _0xb3dcx2}()) \ 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 3c29da7..3b35443 100644 --- a/public/assets/plugins/square/js/Actions.js +++ b/public/assets/plugins/square/js/Actions.js @@ -1 +1 @@ -var _0xe4aa=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x61\x63\x74\x69\x6F\x6E\x73","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x64\x69\x74\x6F\x72","\x67\x72\x61\x70\x68","\x6E\x65\x77","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53","\x73\x61\x76\x65\x41\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2D\x53","\x70\x75\x62\x6C\x69\x73\x68","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x50","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x43\x74\x72\x6C\x2B\x45","\x65\x64\x69\x74\x46\x69\x6C\x65","\x65\x64\x69\x74","\x67\x65\x74","\x62\x69\x6E\x64","\x70\x75\x74","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x70\x72\x69\x6E\x74\x53\x63\x72\x65\x65\x6E","\x73\x70\x72\x69\x74\x65\x2D\x70\x72\x69\x6E\x74","\x43\x74\x72\x6C\x2B\x50","\x70\x72\x65\x76\x69\x65\x77","\x73\x68\x6F\x77","\x75\x6E\x64\x6F","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x70\x72\x69\x74\x65\x2D\x75\x6E\x64\x6F","\x43\x74\x72\x6C\x2B\x5A","\x72\x65\x64\x6F","\x73\x70\x72\x69\x74\x65\x2D\x72\x65\x64\x6F","\x43\x74\x72\x6C\x2B\x59","\x63\x75\x74","\x73\x70\x72\x69\x74\x65\x2D\x63\x75\x74","\x43\x74\x72\x6C\x2B\x58","\x63\x6F\x70\x79","\x73\x70\x72\x69\x74\x65\x2D\x63\x6F\x70\x79","\x43\x74\x72\x6C\x2B\x43","\x70\x61\x73\x74\x65","\x73\x70\x72\x69\x74\x65\x2D\x70\x61\x73\x74\x65","\x43\x74\x72\x6C\x2B\x56","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x44\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x44","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x56","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x45","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x43\x74\x72\x6C\x2B\x41","\x68\x6F\x6D\x65","\x48\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x55\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x44\x6F\x77\x6E","\x65\x78\x70\x61\x6E\x64","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x45\x6E\x74\x65\x72","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x42\x61\x63\x6B\x73\x70\x61\x63\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x6F\x72\x64\x65\x72\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x46","\x74\x6F\x42\x61\x63\x6B","\x43\x74\x72\x6C\x2B\x42","\x67\x72\x6F\x75\x70","\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x43\x74\x72\x6C\x2B\x47","\x75\x6E\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x55","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x70\x72\x6F\x6D\x70\x74","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x75\x70\x64\x61\x74\x65\x47\x72\x6F\x75\x70\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x43\x65\x6C\x6C\x53\x69\x7A\x65","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x77\x72\x61\x70","\x53\x54\x59\x4C\x45\x5F\x57\x48\x49\x54\x45\x5F\x53\x50\x41\x43\x45","\x73\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x30","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x54\x41\x54\x49\x4F\x4E","\x20\x28","\x20\x30\x2D\x33\x36\x30\x29","\x74\x69\x6C\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x63\x6C\x6F\x6E\x65","\x78","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x79","\x73\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x76\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x65\x61\x73\x74","\x73\x6F\x75\x74\x68","\x77\x65\x73\x74","\x6E\x6F\x72\x74\x68","\x43\x74\x72\x6C\x2B\x52","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x41\x64\x64","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x53\x75\x62\x74\x72\x61\x63\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x66\x69\x74","\x66\x69\x74\x50\x61\x67\x65","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x66\x75\x6E\x63\x74","\x70\x61\x67\x65\x56\x69\x65\x77","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x6D\x61\x78","\x72\x6F\x75\x6E\x64","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x63\x75\x73\x74\x6F\x6D","\x20\x28\x25\x29","\x67\x65\x74\x53\x63\x61\x6C\x65","\x67\x72\x69\x64","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x47","\x73\x65\x74\x54\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x67\x75\x69\x64\x65\x73","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x73\x63\x61\x6C\x65","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x61\x75\x74\x6F","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x76\x61\x6C\x69\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x43\x74\x72\x6C\x2B\x51","\x63\x6F\x70\x79\x43\x6F\x6E\x6E\x65\x63\x74","\x69\x73\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x68\x65\x6C\x70","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x73\x4C\x61\x6E\x67\x75\x61\x67\x65\x53\x75\x70\x70\x6F\x72\x74\x65\x64","\x5F","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x69\x6B\x69\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x64\x69\x73\x70\x6C\x61\x79\x2F\x58\x4D\x44\x2F\x43\x61\x6C\x6C\x79\x2B\x53\x71\x75\x61\x72\x65","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x46\x31","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x73\x68\x61\x64\x6F\x77","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x63\x75\x72\x76\x65\x64","\x29","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x73\x74\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x58","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x74\x72\x69\x67\x67\x65\x72\x59","\x61\x64\x64\x50\x6F\x69\x6E\x74\x41\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74","\x69\x6D\x61\x67\x65","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x69\x6E\x73\x65\x72\x74\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45","\x75\x72\x6C","\x6F\x6E\x6C\x6F\x61\x64","\x6F\x6E\x65\x72\x72\x6F\x72","\x66\x69\x6C\x65\x4E\x6F\x74\x46\x6F\x75\x6E\x64","\x61\x6C\x65\x72\x74","\x73\x72\x63","\x63\x61\x6C\x6C","\x6C\x61\x62\x65\x6C","\x65\x6E\x61\x62\x6C\x65\x64","\x69\x63\x6F\x6E\x43\x6C\x73","\x73\x68\x6F\x72\x74\x63\x75\x74","\x65\x78\x74\x65\x6E\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64"];_0xe4aa[0];function Actions(_0x55b6x2){this[_0xe4aa[1]]= _0x55b6x2;this[_0xe4aa[2]]= new Object();this[_0xe4aa[3]]()}Actions[_0xe4aa[4]][_0xe4aa[3]]= function(){var _0x55b6x3=this[_0xe4aa[1]];var _0x55b6x4=_0x55b6x3[_0xe4aa[5]];var _0x55b6x5=_0x55b6x4[_0xe4aa[6]];this[_0xe4aa[10]](_0xe4aa[7],function(){_0x55b6x3[_0xe4aa[9]]( new NewDialog(_0x55b6x3)[_0xe4aa[8]],300,180,true,true)});this[_0xe4aa[10]](_0xe4aa[11],function(){_0x55b6x3[_0xe4aa[9]]( new OpenDialog(_0x55b6x3)[_0xe4aa[8]],300,180,true,true)});this[_0xe4aa[10]](_0xe4aa[12],function(){_0x55b6x3[_0xe4aa[13]](false)},null,null,_0xe4aa[14]);this[_0xe4aa[10]](_0xe4aa[15],function(){_0x55b6x3[_0xe4aa[13]](true)},null,null,_0xe4aa[16]);this[_0xe4aa[10]](_0xe4aa[17],function(){_0x55b6x3[_0xe4aa[18]](false)},null,null,_0xe4aa[19]);this[_0xe4aa[10]](_0xe4aa[20],function(){_0x55b6x3[_0xe4aa[9]]( new VariableDialog(_0x55b6x3)[_0xe4aa[8]],300,180,true,true)});this[_0xe4aa[10]](_0xe4aa[21],function(){_0x55b6x3[_0xe4aa[9]]( new ImportDialog(_0x55b6x3)[_0xe4aa[8]],300,200,true,true)});this[_0xe4aa[10]](_0xe4aa[22],function(){_0x55b6x3[_0xe4aa[9]]( new ExportDialog(_0x55b6x3)[_0xe4aa[8]],300,200,true,true)},null,null,_0xe4aa[23]);this[_0xe4aa[28]](_0xe4aa[24], new Action(mxResources[_0xe4aa[26]](_0xe4aa[25]),mxUtils[_0xe4aa[27]](this,function(){this[_0xe4aa[1]][_0xe4aa[9]]( new EditFileDialog(_0x55b6x3)[_0xe4aa[8]],620,420,true,true)})));this[_0xe4aa[10]](_0xe4aa[29],function(){_0x55b6x3[_0xe4aa[9]]( new RenameDialog(_0x55b6x3)[_0xe4aa[8]],300,180,true,true)});this[_0xe4aa[10]](_0xe4aa[30],function(){mxUtils[_0xe4aa[31]](_0x55b6x5)},null,_0xe4aa[32],_0xe4aa[33]);this[_0xe4aa[10]](_0xe4aa[34],function(){mxUtils[_0xe4aa[35]](_0x55b6x5,null,10,10)});this[_0xe4aa[10]](_0xe4aa[36],function(){_0x55b6x4[_0xe4aa[37]][_0xe4aa[36]]()},null,_0xe4aa[38],_0xe4aa[39]);this[_0xe4aa[10]](_0xe4aa[40],function(){_0x55b6x4[_0xe4aa[37]][_0xe4aa[40]]()},null,_0xe4aa[41],_0xe4aa[42]);this[_0xe4aa[10]](_0xe4aa[43],function(){mxClipboard[_0xe4aa[43]](_0x55b6x5)},null,_0xe4aa[44],_0xe4aa[45]);this[_0xe4aa[10]](_0xe4aa[46],function(){mxClipboard[_0xe4aa[46]](_0x55b6x5)},null,_0xe4aa[47],_0xe4aa[48]);this[_0xe4aa[10]](_0xe4aa[49],function(){mxClipboard[_0xe4aa[49]](_0x55b6x5)},false,_0xe4aa[50],_0xe4aa[51]);this[_0xe4aa[10]](_0xe4aa[52],function(){_0x55b6x5[_0xe4aa[53]]()},null,null,_0xe4aa[54]);this[_0xe4aa[10]](_0xe4aa[55],function(){var _0x55b6x6=_0x55b6x5[_0xe4aa[56]];_0x55b6x5[_0xe4aa[59]](_0x55b6x5[_0xe4aa[58]](_0x55b6x5[_0xe4aa[57]](),_0x55b6x6,_0x55b6x6,true))},null,null,_0xe4aa[60]);this[_0xe4aa[10]](_0xe4aa[61],function(){_0x55b6x5[_0xe4aa[61]]()},null,null,_0xe4aa[62]);this[_0xe4aa[10]](_0xe4aa[63],function(){_0x55b6x5[_0xe4aa[63]]()},null,null,_0xe4aa[64]);this[_0xe4aa[10]](_0xe4aa[65],function(){_0x55b6x5[_0xe4aa[65]]()},null,null,_0xe4aa[66]);this[_0xe4aa[10]](_0xe4aa[67],function(){_0x55b6x5[_0xe4aa[67]]()},null,null,_0xe4aa[68]);this[_0xe4aa[10]](_0xe4aa[69],function(){_0x55b6x5[_0xe4aa[69]]()},null,null,_0xe4aa[70]);this[_0xe4aa[10]](_0xe4aa[71],function(){_0x55b6x5[_0xe4aa[71]]()},null,null,_0xe4aa[72]);this[_0xe4aa[10]](_0xe4aa[73],function(){_0x55b6x5[_0xe4aa[74]](false)},null,null,_0xe4aa[75]);this[_0xe4aa[10]](_0xe4aa[76],function(){_0x55b6x5[_0xe4aa[74]](true)},null,null,_0xe4aa[77]);this[_0xe4aa[10]](_0xe4aa[78],function(){_0x55b6x5[_0xe4aa[79]](false)},null,null,_0xe4aa[80]);this[_0xe4aa[10]](_0xe4aa[81],function(){_0x55b6x5[_0xe4aa[79]](true)},null,null,_0xe4aa[82]);this[_0xe4aa[10]](_0xe4aa[83],function(){_0x55b6x5[_0xe4aa[85]](_0x55b6x5[_0xe4aa[84]](null,0))},null,null,_0xe4aa[86]);this[_0xe4aa[10]](_0xe4aa[87],function(){_0x55b6x5[_0xe4aa[59]](_0x55b6x5[_0xe4aa[88]]())},null,null,_0xe4aa[89]);this[_0xe4aa[10]](_0xe4aa[90],function(){_0x55b6x5[_0xe4aa[91]]()});this[_0xe4aa[10]](_0xe4aa[92],function(){var _0x55b6x7=_0x55b6x5[_0xe4aa[93]]();var _0x55b6x8=_0x55b6x5[_0xe4aa[94]](_0x55b6x7);if(_0x55b6x8== null){_0x55b6x8= _0xe4aa[95]};_0x55b6x8= mxUtils[_0xe4aa[97]](mxResources[_0xe4aa[26]](_0xe4aa[96]),_0x55b6x8);if(_0x55b6x8!= null){_0x55b6x5[_0xe4aa[98]](_0x55b6x7,_0x55b6x8)}});this[_0xe4aa[10]](_0xe4aa[99],function(){var _0x55b6x7=_0x55b6x5[_0xe4aa[93]]();var _0x55b6x8=_0x55b6x5[_0xe4aa[94]](_0x55b6x7);if(_0x55b6x8!= null){window[_0xe4aa[11]](_0x55b6x8)}});this[_0xe4aa[10]](_0xe4aa[100],function(){var _0x55b6x9=_0x55b6x5[_0xe4aa[57]]();if(_0x55b6x9!= null){_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[101]]();try{for(var _0x55b6xa=0;_0x55b6xa< _0x55b6x9[_0xe4aa[103]];_0x55b6xa++){var _0x55b6x7=_0x55b6x9[_0x55b6xa];if(_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[104]](_0x55b6x7)){_0x55b6x5[_0xe4aa[105]]([_0x55b6x7],20)}else {_0x55b6x5[_0xe4aa[106]](_0x55b6x7)}}}finally{_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[107]]()}}});this[_0xe4aa[10]](_0xe4aa[108],function(){var _0x55b6xb=_0x55b6x5[_0xe4aa[110]]()[_0xe4aa[109]](_0x55b6x5[_0xe4aa[93]]());var _0x55b6xc=_0xe4aa[111];if(_0x55b6xb!= null&& _0x55b6xb[_0xe4aa[113]][mxConstants[_0xe4aa[112]]]== _0xe4aa[111]){_0x55b6xc= null};_0x55b6x5[_0xe4aa[114]](mxConstants.STYLE_WHITE_SPACE,_0x55b6xc)});this[_0xe4aa[10]](_0xe4aa[115],function(){var _0x55b6xc=_0xe4aa[116];var _0x55b6xb=_0x55b6x5[_0xe4aa[110]]()[_0xe4aa[109]](_0x55b6x5[_0xe4aa[93]]());if(_0x55b6xb!= null){_0x55b6xc= _0x55b6xb[_0xe4aa[113]][mxConstants[_0xe4aa[117]]]|| _0x55b6xc};_0x55b6xc= mxUtils[_0xe4aa[97]](mxResources[_0xe4aa[26]](_0xe4aa[96])+ _0xe4aa[118]+ mxResources[_0xe4aa[26]](_0xe4aa[115])+ _0xe4aa[119],_0x55b6xc);if(_0x55b6xc!= null){_0x55b6x5[_0xe4aa[114]](mxConstants.STYLE_ROTATION,_0x55b6xc)}});this[_0xe4aa[10]](_0xe4aa[120],function(){var _0x55b6x9=_0x55b6x5[_0xe4aa[57]]();if(_0x55b6x9!= null){_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[101]]();try{for(var _0x55b6xa=0;_0x55b6xa< _0x55b6x9[_0xe4aa[103]];_0x55b6xa++){var _0x55b6x7=_0x55b6x9[_0x55b6xa];if(_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[121]](_0x55b6x7)&& _0x55b6x5[_0xe4aa[102]]()[_0xe4aa[104]](_0x55b6x7)== 0){var _0x55b6xd=_0x55b6x5[_0xe4aa[122]](_0x55b6x7);if(_0x55b6xd!= null){_0x55b6xd= _0x55b6xd[_0xe4aa[123]]();_0x55b6xd[_0xe4aa[124]]+= _0x55b6xd[_0xe4aa[125]]/ 2- _0x55b6xd[_0xe4aa[126]]/ 2;_0x55b6xd[_0xe4aa[127]]+= _0x55b6xd[_0xe4aa[126]]/ 2- _0x55b6xd[_0xe4aa[125]]/ 2;var _0x55b6xe=_0x55b6xd[_0xe4aa[125]];_0x55b6xd[_0xe4aa[125]]= _0x55b6xd[_0xe4aa[126]];_0x55b6xd[_0xe4aa[126]]= _0x55b6xe;_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[128]](_0x55b6x7,_0x55b6xd);var _0x55b6xb=_0x55b6x5[_0xe4aa[129]][_0xe4aa[109]](_0x55b6x7);if(_0x55b6xb!= null){var _0x55b6xf=_0x55b6xb[_0xe4aa[113]][mxConstants[_0xe4aa[130]]]|| _0xe4aa[131];if(_0x55b6xf== _0xe4aa[131]){_0x55b6xf= _0xe4aa[132]}else {if(_0x55b6xf== _0xe4aa[132]){_0x55b6xf= _0xe4aa[133]}else {if(_0x55b6xf== _0xe4aa[133]){_0x55b6xf= _0xe4aa[134]}else {if(_0x55b6xf== _0xe4aa[134]){_0x55b6xf= _0xe4aa[131]}}}};_0x55b6x5[_0xe4aa[114]](mxConstants.STYLE_DIRECTION,_0x55b6xf,[_0x55b6x7])}}}}}finally{_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[107]]()}}},null,null,_0xe4aa[135]);this[_0xe4aa[10]](_0xe4aa[136],function(){_0x55b6x5[_0xe4aa[137]](1)});this[_0xe4aa[10]](_0xe4aa[138],function(){_0x55b6x5[_0xe4aa[138]]()},null,null,_0xe4aa[139]);this[_0xe4aa[10]](_0xe4aa[140],function(){_0x55b6x5[_0xe4aa[140]]()},null,null,_0xe4aa[141]);this[_0xe4aa[10]](_0xe4aa[142],function(){_0x55b6x5[_0xe4aa[143]]()});this[_0xe4aa[10]](_0xe4aa[144],mxUtils[_0xe4aa[27]](this,function(){if(!_0x55b6x5[_0xe4aa[145]]){this[_0xe4aa[26]](_0xe4aa[147])[_0xe4aa[146]]()};var _0x55b6x10=_0x55b6x5[_0xe4aa[148]];var _0x55b6x11=_0x55b6x5[_0xe4aa[149]];var _0x55b6x12=_0x55b6x5[_0xe4aa[8]][_0xe4aa[150]]- 20;var _0x55b6x13=_0x55b6x5[_0xe4aa[8]][_0xe4aa[151]]- 20;var _0x55b6x14=Math[_0xe4aa[153]](100* Math[_0xe4aa[152]](_0x55b6x12/ _0x55b6x10[_0xe4aa[125]]/ _0x55b6x11,_0x55b6x13/ _0x55b6x10[_0xe4aa[126]]/ _0x55b6x11))/ 100;_0x55b6x5[_0xe4aa[137]](_0x55b6x14);_0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]= Math[_0xe4aa[157]](_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[124]]* _0x55b6x14- Math[_0xe4aa[156]](10,(_0x55b6x5[_0xe4aa[8]][_0xe4aa[150]]- _0x55b6x10[_0xe4aa[125]]* _0x55b6x11* _0x55b6x14)/ 2));_0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]= Math[_0xe4aa[157]](_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[127]]* _0x55b6x14- Math[_0xe4aa[156]](10,(_0x55b6x5[_0xe4aa[8]][_0xe4aa[151]]- _0x55b6x10[_0xe4aa[126]]* _0x55b6x11* _0x55b6x14)/ 2))}));this[_0xe4aa[10]](_0xe4aa[159],mxUtils[_0xe4aa[27]](this,function(){if(!_0x55b6x5[_0xe4aa[145]]){this[_0xe4aa[26]](_0xe4aa[147])[_0xe4aa[146]]()};var _0x55b6x10=_0x55b6x5[_0xe4aa[148]];var _0x55b6x11=_0x55b6x5[_0xe4aa[149]];var _0x55b6x12=_0x55b6x5[_0xe4aa[8]][_0xe4aa[150]]- 20;var _0x55b6x14=Math[_0xe4aa[153]](100* _0x55b6x12/ _0x55b6x10[_0xe4aa[125]]/ _0x55b6x11)/ 100;_0x55b6x5[_0xe4aa[137]](_0x55b6x14);_0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]= Math[_0xe4aa[157]](_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[124]]* _0x55b6x14- Math[_0xe4aa[156]](10,(_0x55b6x5[_0xe4aa[8]][_0xe4aa[150]]- _0x55b6x10[_0xe4aa[125]]* _0x55b6x11* _0x55b6x14)/ 2));_0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]= Math[_0xe4aa[157]](_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[127]]* _0x55b6x14- Math[_0xe4aa[156]](10,(_0x55b6x5[_0xe4aa[8]][_0xe4aa[151]]- _0x55b6x10[_0xe4aa[126]]* _0x55b6x11* _0x55b6x14)/ 2))}));this[_0xe4aa[28]](_0xe4aa[160], new Action(mxResources[_0xe4aa[26]](_0xe4aa[161]),function(){var _0x55b6xc=mxUtils[_0xe4aa[97]](mxResources[_0xe4aa[26]](_0xe4aa[96])+ _0xe4aa[162],parseInt(_0x55b6x5[_0xe4aa[110]]()[_0xe4aa[163]]()* 100));if(_0x55b6xc!= null&& _0x55b6xc[_0xe4aa[103]]> 0&& !isNaN(parseInt(_0x55b6xc))){_0x55b6x5[_0xe4aa[137]](parseInt(_0x55b6xc)/ 100)}}));var _0x55b6x15=null;_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[164],function(){_0x55b6x5[_0xe4aa[166]](!_0x55b6x5[_0xe4aa[165]]());_0x55b6x4[_0xe4aa[167]]()},null,null,_0xe4aa[168]);_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[165]]()});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[171],function(){_0x55b6x5[_0xe4aa[173]][_0xe4aa[172]]= !_0x55b6x5[_0xe4aa[173]][_0xe4aa[172]]});_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[173]][_0xe4aa[172]]});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[174],function(){_0x55b6x5[_0xe4aa[176]][_0xe4aa[177]](!_0x55b6x5[_0xe4aa[176]][_0xe4aa[175]]())});_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[176]][_0xe4aa[175]]()});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[178],function(){_0x55b6x5[_0xe4aa[179]]= !_0x55b6x5[_0xe4aa[179]];_0x55b6x5[_0xe4aa[129]][_0xe4aa[180]]()});_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[179]]});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[181],function(){_0x55b6x5[_0xe4aa[181]]= !_0x55b6x5[_0xe4aa[181]];_0x55b6x4[_0xe4aa[167]]();if(!_0x55b6x5[_0xe4aa[181]]){var _0x55b6x16=_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]];_0x55b6x5[_0xe4aa[129]][_0xe4aa[183]](_0x55b6x16[_0xe4aa[124]]- _0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]/ _0x55b6x5[_0xe4aa[129]][_0xe4aa[182]],_0x55b6x16[_0xe4aa[127]]- _0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]/ _0x55b6x5[_0xe4aa[129]][_0xe4aa[182]]);_0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]= 0;_0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]= 0;_0x55b6x5[_0xe4aa[184]]()}else {var _0x55b6x17=_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[124]];var _0x55b6x18=_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[127]];_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[124]]= 0;_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]][_0xe4aa[127]]= 0;_0x55b6x5[_0xe4aa[184]]();_0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]-= Math[_0xe4aa[157]](_0x55b6x17* _0x55b6x5[_0xe4aa[129]][_0xe4aa[182]]);_0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]-= Math[_0xe4aa[157]](_0x55b6x18* _0x55b6x5[_0xe4aa[129]][_0xe4aa[182]])}},!mxClient.IS_TOUCH);_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[8]][_0xe4aa[113]][_0xe4aa[185]]== _0xe4aa[186]});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[147],mxUtils[_0xe4aa[27]](this,function(){_0x55b6x5[_0xe4aa[145]]= !_0x55b6x5[_0xe4aa[145]];_0x55b6x5[_0xe4aa[187]]= _0x55b6x5[_0xe4aa[145]];_0x55b6x5[_0xe4aa[188]]= _0x55b6x5[_0xe4aa[187]];_0x55b6x5[_0xe4aa[129]][_0xe4aa[189]]();_0x55b6x5[_0xe4aa[184]]();_0x55b6x4[_0xe4aa[167]]();_0x55b6x4[_0xe4aa[191]][_0xe4aa[190]]();if(mxUtils[_0xe4aa[192]](_0x55b6x5[_0xe4aa[8]])){if(_0x55b6x5[_0xe4aa[145]]){_0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]-= 20;_0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]-= 20}else {_0x55b6x5[_0xe4aa[8]][_0xe4aa[154]]+= 20;_0x55b6x5[_0xe4aa[8]][_0xe4aa[158]]+= 20}}}));_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[145]]});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[193],function(){_0x55b6x5[_0xe4aa[195]](!_0x55b6x5[_0xe4aa[194]][_0xe4aa[175]]())},null,null,_0xe4aa[196]);_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[194]][_0xe4aa[175]]()});_0x55b6x15= this[_0xe4aa[10]](_0xe4aa[197],function(){_0x55b6x5[_0xe4aa[194]][_0xe4aa[199]](!_0x55b6x5[_0xe4aa[194]][_0xe4aa[198]]())});_0x55b6x15[_0xe4aa[169]](true);_0x55b6x15[_0xe4aa[170]](function(){return _0x55b6x5[_0xe4aa[194]][_0xe4aa[198]]()});this[_0xe4aa[10]](_0xe4aa[200],function(){var _0x55b6x19=_0xe4aa[95];if(mxResources[_0xe4aa[202]](mxClient[_0xe4aa[201]])){_0x55b6x19= _0xe4aa[203]+ mxClient[_0xe4aa[201]]};window[_0xe4aa[11]](_0xe4aa[204])});this[_0xe4aa[28]](_0xe4aa[205], new Action(mxResources[_0xe4aa[26]](_0xe4aa[205])+ _0xe4aa[206],function(){_0x55b6x3[_0xe4aa[9]]( new AboutDialog(_0x55b6x3)[_0xe4aa[8]],320,280,true,true)},null,null,_0xe4aa[207]));var _0x55b6x1a=mxUtils[_0xe4aa[27]](this,function(_0x55b6x1b,_0x55b6x1c){this[_0xe4aa[10]](_0x55b6x1b,function(){_0x55b6x5[_0xe4aa[208]](mxConstants.STYLE_FONTSTYLE,_0x55b6x1c)})});_0x55b6x1a(_0xe4aa[209],mxConstants.FONT_BOLD);_0x55b6x1a(_0xe4aa[210],mxConstants.FONT_ITALIC);_0x55b6x1a(_0xe4aa[211],mxConstants.FONT_UNDERLINE);this[_0xe4aa[10]](_0xe4aa[212],function(){_0x55b6x5[_0xe4aa[213]](mxConstants.STYLE_SHADOW)});this[_0xe4aa[10]](_0xe4aa[214],function(){_0x55b6x5[_0xe4aa[213]](mxConstants.STYLE_DASHED)});this[_0xe4aa[10]](_0xe4aa[215],function(){_0x55b6x5[_0xe4aa[213]](mxConstants.STYLE_ROUNDED)});this[_0xe4aa[10]](_0xe4aa[216],function(){_0x55b6x5[_0xe4aa[213]](mxConstants.STYLE_CURVED)});this[_0xe4aa[10]](_0xe4aa[113],function(){var _0x55b6x9=_0x55b6x5[_0xe4aa[57]]();if(_0x55b6x9!= null&& _0x55b6x9[_0xe4aa[103]]> 0){var _0x55b6x1d=_0x55b6x5[_0xe4aa[102]]();var _0x55b6x1c=mxUtils[_0xe4aa[97]](mxResources[_0xe4aa[26]](_0xe4aa[96])+ _0xe4aa[118]+ mxResources[_0xe4aa[26]](_0xe4aa[113])+ _0xe4aa[217],_0x55b6x1d[_0xe4aa[218]](_0x55b6x9[0])|| _0xe4aa[95]);if(_0x55b6x1c!= null){_0x55b6x5[_0xe4aa[219]](_0x55b6x1c,_0x55b6x9)}}});this[_0xe4aa[10]](_0xe4aa[220],function(){_0x55b6x5[_0xe4aa[221]](_0x55b6x5[_0xe4aa[93]]())});this[_0xe4aa[10]](_0xe4aa[222],function(){var _0x55b6x7=_0x55b6x5[_0xe4aa[93]]();if(_0x55b6x7!= null&& _0x55b6x5[_0xe4aa[102]]()[_0xe4aa[223]](_0x55b6x7)){var _0x55b6x1e=_0x55b6x4[_0xe4aa[6]][_0xe4aa[225]][_0xe4aa[224]](_0x55b6x7);if(_0x55b6x1e instanceof mxEdgeHandler){var _0x55b6x16=_0x55b6x5[_0xe4aa[129]][_0xe4aa[155]];var _0x55b6x6=_0x55b6x5[_0xe4aa[129]][_0xe4aa[182]];var _0x55b6x17=_0x55b6x16[_0xe4aa[124]];var _0x55b6x18=_0x55b6x16[_0xe4aa[127]];var _0x55b6x1f=_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[226]](_0x55b6x7);var _0x55b6x20=_0x55b6x5[_0xe4aa[122]](_0x55b6x1f);if(_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[121]](_0x55b6x1f)&& _0x55b6x20!= null){_0x55b6x17+= _0x55b6x20[_0xe4aa[124]];_0x55b6x18+= _0x55b6x20[_0xe4aa[127]]};_0x55b6x1e[_0xe4aa[231]](_0x55b6x1e[_0xe4aa[227]],_0x55b6x5[_0xe4aa[229]][_0xe4aa[228]]/ _0x55b6x6- _0x55b6x17,_0x55b6x5[_0xe4aa[229]][_0xe4aa[230]]/ _0x55b6x6- _0x55b6x18)}}});this[_0xe4aa[10]](_0xe4aa[232],function(){var _0x55b6x21=_0x55b6x3[_0xe4aa[2]][_0xe4aa[26]](_0xe4aa[232]);if(_0x55b6x21[_0xe4aa[233]]!= null){_0x55b6x21[_0xe4aa[233]][_0xe4aa[235]](_0x55b6x21[_0xe4aa[233]][_0xe4aa[227]],_0x55b6x21[_0xe4aa[234]])}});this[_0xe4aa[10]](_0xe4aa[236],function(){function _0x55b6x22(_0x55b6xc,_0x55b6x23,_0x55b6x24){var _0x55b6x25=null;var _0x55b6x9=_0x55b6x5[_0xe4aa[57]]();_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[101]]();try{if(_0x55b6x9[_0xe4aa[103]]== 0){var _0x55b6x26=_0x55b6x5[_0xe4aa[237]]();_0x55b6x9= [_0x55b6x5[_0xe4aa[239]](_0x55b6x5[_0xe4aa[238]](),null,_0xe4aa[95],_0x55b6x26,_0x55b6x26,_0x55b6x23,_0x55b6x24)];_0x55b6x25= _0x55b6x9};_0x55b6x5[_0xe4aa[114]](mxConstants.STYLE_IMAGE,_0x55b6xc,_0x55b6x9);_0x55b6x5[_0xe4aa[114]](mxConstants.STYLE_SHAPE,_0xe4aa[236],_0x55b6x9);if(_0x55b6x5[_0xe4aa[240]]()== 1){if(_0x55b6x23!= null&& _0x55b6x24!= null){var _0x55b6x7=_0x55b6x9[0];var _0x55b6xd=_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[241]](_0x55b6x7);if(_0x55b6xd!= null){_0x55b6xd= _0x55b6xd[_0xe4aa[123]]();_0x55b6xd[_0xe4aa[125]]= _0x55b6x23;_0x55b6xd[_0xe4aa[126]]= _0x55b6x24;_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[128]](_0x55b6x7,_0x55b6xd)}}}}finally{_0x55b6x5[_0xe4aa[102]]()[_0xe4aa[107]]()};if(_0x55b6x25!= null){_0x55b6x5[_0xe4aa[59]](_0x55b6x25);_0x55b6x5[_0xe4aa[242]](_0x55b6x25[0])}}var _0x55b6xc=_0xe4aa[95];var _0x55b6xb=_0x55b6x5[_0xe4aa[110]]()[_0xe4aa[109]](_0x55b6x5[_0xe4aa[93]]());if(_0x55b6xb!= null){_0x55b6xc= _0x55b6xb[_0xe4aa[113]][mxConstants[_0xe4aa[243]]]|| _0x55b6xc};_0x55b6xc= mxUtils[_0xe4aa[97]](mxResources[_0xe4aa[26]](_0xe4aa[96])+ _0xe4aa[118]+ mxResources[_0xe4aa[26]](_0xe4aa[244])+ _0xe4aa[217],_0x55b6xc);if(_0x55b6xc!= null){if(_0x55b6xc[_0xe4aa[103]]> 0){var _0x55b6x27= new Image();_0x55b6x27[_0xe4aa[245]]= function(){_0x55b6x22(_0x55b6xc,_0x55b6x27[_0xe4aa[125]],_0x55b6x27[_0xe4aa[126]])};_0x55b6x27[_0xe4aa[246]]= function(){mxUtils[_0xe4aa[248]](mxResources[_0xe4aa[26]](_0xe4aa[247]))};_0x55b6x27[_0xe4aa[249]]= _0x55b6xc}}})};Actions[_0xe4aa[4]][_0xe4aa[10]]= function(_0x55b6x1b,_0x55b6x28,_0x55b6x29,_0x55b6x2a,_0x55b6x2b){return this[_0xe4aa[28]](_0x55b6x1b, new Action(mxResources[_0xe4aa[26]](_0x55b6x1b),_0x55b6x28,_0x55b6x29,_0x55b6x2a,_0x55b6x2b))};Actions[_0xe4aa[4]][_0xe4aa[28]]= function(_0x55b6x2c,_0x55b6x15){this[_0xe4aa[2]][_0x55b6x2c]= _0x55b6x15;return _0x55b6x15};Actions[_0xe4aa[4]][_0xe4aa[26]]= function(_0x55b6x2c){return this[_0xe4aa[2]][_0x55b6x2c]};function Action(_0x55b6x2e,_0x55b6x28,_0x55b6x29,_0x55b6x2a,_0x55b6x2b){mxEventSource[_0xe4aa[250]](this);this[_0xe4aa[251]]= _0x55b6x2e;this[_0xe4aa[146]]= _0x55b6x28;this[_0xe4aa[252]]= (_0x55b6x29!= null)?_0x55b6x29:true;this[_0xe4aa[253]]= _0x55b6x2a;this[_0xe4aa[254]]= _0x55b6x2b}mxUtils[_0xe4aa[255]](Action,mxEventSource);Action[_0xe4aa[4]][_0xe4aa[177]]= function(_0x55b6xc){if(this[_0xe4aa[252]]!= _0x55b6xc){this[_0xe4aa[252]]= _0x55b6xc;this[_0xe4aa[257]]( new mxEventObject(_0xe4aa[256]))}};Action[_0xe4aa[4]][_0xe4aa[169]]= function(_0x55b6xc){this[_0xe4aa[258]]= _0x55b6xc};Action[_0xe4aa[4]][_0xe4aa[170]]= function(_0x55b6x28){this[_0xe4aa[259]]= _0x55b6x28};Action[_0xe4aa[4]][_0xe4aa[260]]= function(){return this[_0xe4aa[259]]()} \ No newline at end of file +var _0xc553=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x61\x63\x74\x69\x6F\x6E\x73","\x69\x6E\x69\x74","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x65\x64\x69\x74\x6F\x72","\x67\x72\x61\x70\x68","\x6E\x65\x77","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x61\x64\x64\x41\x63\x74\x69\x6F\x6E","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53","\x73\x61\x76\x65\x41\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2D\x53","\x70\x75\x62\x6C\x69\x73\x68","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x50","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x43\x74\x72\x6C\x2B\x45","\x65\x64\x69\x74\x46\x69\x6C\x65","\x65\x64\x69\x74","\x67\x65\x74","\x62\x69\x6E\x64","\x70\x75\x74","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x70\x72\x69\x6E\x74\x53\x63\x72\x65\x65\x6E","\x73\x70\x72\x69\x74\x65\x2D\x70\x72\x69\x6E\x74","\x43\x74\x72\x6C\x2B\x50","\x70\x72\x65\x76\x69\x65\x77","\x73\x68\x6F\x77","\x75\x6E\x64\x6F","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x70\x72\x69\x74\x65\x2D\x75\x6E\x64\x6F","\x43\x74\x72\x6C\x2B\x5A","\x72\x65\x64\x6F","\x73\x70\x72\x69\x74\x65\x2D\x72\x65\x64\x6F","\x43\x74\x72\x6C\x2B\x59","\x63\x75\x74","\x73\x70\x72\x69\x74\x65\x2D\x63\x75\x74","\x43\x74\x72\x6C\x2B\x58","\x63\x6F\x70\x79","\x73\x70\x72\x69\x74\x65\x2D\x63\x6F\x70\x79","\x43\x74\x72\x6C\x2B\x43","\x70\x61\x73\x74\x65","\x73\x70\x72\x69\x74\x65\x2D\x70\x61\x73\x74\x65","\x43\x74\x72\x6C\x2B\x56","\x64\x65\x6C\x65\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x44\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x44","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x56","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x45","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x43\x74\x72\x6C\x2B\x41","\x68\x6F\x6D\x65","\x48\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x55\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x50\x61\x67\x65\x20\x44\x6F\x77\x6E","\x65\x78\x70\x61\x6E\x64","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x45\x6E\x74\x65\x72","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x42\x61\x63\x6B\x73\x70\x61\x63\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x6F\x72\x64\x65\x72\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x46","\x74\x6F\x42\x61\x63\x6B","\x43\x74\x72\x6C\x2B\x42","\x67\x72\x6F\x75\x70","\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x43\x74\x72\x6C\x2B\x47","\x75\x6E\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70\x43\x65\x6C\x6C\x73","\x43\x74\x72\x6C\x2B\x55","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x70\x72\x6F\x6D\x70\x74","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x75\x70\x64\x61\x74\x65\x47\x72\x6F\x75\x70\x42\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x43\x65\x6C\x6C\x53\x69\x7A\x65","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x77\x72\x61\x70","\x53\x54\x59\x4C\x45\x5F\x57\x48\x49\x54\x45\x5F\x53\x50\x41\x43\x45","\x73\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x30","\x53\x54\x59\x4C\x45\x5F\x52\x4F\x54\x41\x54\x49\x4F\x4E","\x20\x28","\x20\x30\x2D\x33\x36\x30\x29","\x74\x69\x6C\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x63\x6C\x6F\x6E\x65","\x78","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x79","\x73\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x76\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x44\x49\x52\x45\x43\x54\x49\x4F\x4E","\x65\x61\x73\x74","\x73\x6F\x75\x74\x68","\x77\x65\x73\x74","\x6E\x6F\x72\x74\x68","\x43\x74\x72\x6C\x2B\x52","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x41\x64\x64","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x53\x75\x62\x74\x72\x61\x63\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x66\x69\x74","\x66\x69\x74\x50\x61\x67\x65","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x66\x75\x6E\x63\x74","\x70\x61\x67\x65\x56\x69\x65\x77","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x6D\x61\x78","\x72\x6F\x75\x6E\x64","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x63\x75\x73\x74\x6F\x6D","\x20\x28\x25\x29","\x67\x65\x74\x53\x63\x61\x6C\x65","\x67\x72\x69\x64","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x43\x74\x72\x6C\x2B\x53\x68\x69\x66\x74\x2B\x47","\x73\x65\x74\x54\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x67\x75\x69\x64\x65\x73","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x72\x65\x76\x61\x6C\x69\x64\x61\x74\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x73\x63\x61\x6C\x65","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x61\x75\x74\x6F","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x76\x61\x6C\x69\x64\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x43\x74\x72\x6C\x2B\x51","\x63\x6F\x70\x79\x43\x6F\x6E\x6E\x65\x63\x74","\x69\x73\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x68\x65\x6C\x70","\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x73\x4C\x61\x6E\x67\x75\x61\x67\x65\x53\x75\x70\x70\x6F\x72\x74\x65\x64","\x5F","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x77\x69\x6B\x69\x2E\x78\x63\x61\x6C\x6C\x79\x6D\x6F\x74\x69\x6F\x6E\x2E\x63\x6F\x6D\x2F\x64\x69\x73\x70\x6C\x61\x79\x2F\x58\x4D\x44\x2F\x43\x61\x6C\x6C\x79\x2B\x53\x71\x75\x61\x72\x65","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x46\x31","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x46\x6C\x61\x67\x73","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x73\x68\x61\x64\x6F\x77","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x63\x75\x72\x76\x65\x64","\x29","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x73\x74\x61\x74\x65","\x74\x72\x69\x67\x67\x65\x72\x58","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x74\x72\x69\x67\x67\x65\x72\x59","\x61\x64\x64\x50\x6F\x69\x6E\x74\x41\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x72\x65\x6D\x6F\x76\x65\x50\x6F\x69\x6E\x74","\x69\x6D\x61\x67\x65","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x69\x6E\x73\x65\x72\x74\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x65\x74\x47\x65\x6F\x6D\x65\x74\x72\x79","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x53\x54\x59\x4C\x45\x5F\x49\x4D\x41\x47\x45","\x75\x72\x6C","\x6F\x6E\x6C\x6F\x61\x64","\x6F\x6E\x65\x72\x72\x6F\x72","\x66\x69\x6C\x65\x4E\x6F\x74\x46\x6F\x75\x6E\x64","\x61\x6C\x65\x72\x74","\x73\x72\x63","\x63\x61\x6C\x6C","\x6C\x61\x62\x65\x6C","\x65\x6E\x61\x62\x6C\x65\x64","\x69\x63\x6F\x6E\x43\x6C\x73","\x73\x68\x6F\x72\x74\x63\x75\x74","\x65\x78\x74\x65\x6E\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x65\x64\x43\x61\x6C\x6C\x62\x61\x63\x6B","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64"];_0xc553[0];function Actions(_0x162fx2){this[_0xc553[1]]= _0x162fx2;this[_0xc553[2]]= new Object();this[_0xc553[3]]()}Actions[_0xc553[4]][_0xc553[3]]= function(){var _0x162fx3=this[_0xc553[1]];var _0x162fx4=_0x162fx3[_0xc553[5]];var _0x162fx5=_0x162fx4[_0xc553[6]];this[_0xc553[10]](_0xc553[7],function(){_0x162fx3[_0xc553[9]]( new NewDialog(_0x162fx3)[_0xc553[8]],300,180,true,true)});this[_0xc553[10]](_0xc553[11],function(){_0x162fx3[_0xc553[9]]( new OpenDialog(_0x162fx3)[_0xc553[8]],300,180,true,true)});this[_0xc553[10]](_0xc553[12],function(){_0x162fx3[_0xc553[13]](false)},null,null,_0xc553[14]);this[_0xc553[10]](_0xc553[15],function(){_0x162fx3[_0xc553[13]](true)},null,null,_0xc553[16]);this[_0xc553[10]](_0xc553[17],function(){_0x162fx3[_0xc553[18]](false)},null,null,_0xc553[19]);this[_0xc553[10]](_0xc553[20],function(){_0x162fx3[_0xc553[9]]( new VariableDialog(_0x162fx3)[_0xc553[8]],300,180,true,true)});this[_0xc553[10]](_0xc553[21],function(){_0x162fx3[_0xc553[9]]( new ImportDialog(_0x162fx3)[_0xc553[8]],300,200,true,true)});this[_0xc553[10]](_0xc553[22],function(){_0x162fx3[_0xc553[9]]( new ExportDialog(_0x162fx3)[_0xc553[8]],300,200,true,true)},null,null,_0xc553[23]);this[_0xc553[28]](_0xc553[24], new Action(mxResources[_0xc553[26]](_0xc553[25]),mxUtils[_0xc553[27]](this,function(){this[_0xc553[1]][_0xc553[9]]( new EditFileDialog(_0x162fx3)[_0xc553[8]],620,420,true,true)})));this[_0xc553[10]](_0xc553[29],function(){_0x162fx3[_0xc553[9]]( new RenameDialog(_0x162fx3)[_0xc553[8]],300,180,true,true)});this[_0xc553[10]](_0xc553[30],function(){mxUtils[_0xc553[31]](_0x162fx5)},null,_0xc553[32],_0xc553[33]);this[_0xc553[10]](_0xc553[34],function(){mxUtils[_0xc553[35]](_0x162fx5,null,10,10)});this[_0xc553[10]](_0xc553[36],function(){_0x162fx4[_0xc553[37]][_0xc553[36]]()},null,_0xc553[38],_0xc553[39]);this[_0xc553[10]](_0xc553[40],function(){_0x162fx4[_0xc553[37]][_0xc553[40]]()},null,_0xc553[41],_0xc553[42]);this[_0xc553[10]](_0xc553[43],function(){mxClipboard[_0xc553[43]](_0x162fx5)},null,_0xc553[44],_0xc553[45]);this[_0xc553[10]](_0xc553[46],function(){mxClipboard[_0xc553[46]](_0x162fx5)},null,_0xc553[47],_0xc553[48]);this[_0xc553[10]](_0xc553[49],function(){mxClipboard[_0xc553[49]](_0x162fx5)},false,_0xc553[50],_0xc553[51]);this[_0xc553[10]](_0xc553[52],function(){_0x162fx5[_0xc553[53]]()},null,null,_0xc553[54]);this[_0xc553[10]](_0xc553[55],function(){var _0x162fx6=_0x162fx5[_0xc553[56]];_0x162fx5[_0xc553[59]](_0x162fx5[_0xc553[58]](_0x162fx5[_0xc553[57]](),_0x162fx6,_0x162fx6,true))},null,null,_0xc553[60]);this[_0xc553[10]](_0xc553[61],function(){_0x162fx5[_0xc553[61]]()},null,null,_0xc553[62]);this[_0xc553[10]](_0xc553[63],function(){_0x162fx5[_0xc553[63]]()},null,null,_0xc553[64]);this[_0xc553[10]](_0xc553[65],function(){_0x162fx5[_0xc553[65]]()},null,null,_0xc553[66]);this[_0xc553[10]](_0xc553[67],function(){_0x162fx5[_0xc553[67]]()},null,null,_0xc553[68]);this[_0xc553[10]](_0xc553[69],function(){_0x162fx5[_0xc553[69]]()},null,null,_0xc553[70]);this[_0xc553[10]](_0xc553[71],function(){_0x162fx5[_0xc553[71]]()},null,null,_0xc553[72]);this[_0xc553[10]](_0xc553[73],function(){_0x162fx5[_0xc553[74]](false)},null,null,_0xc553[75]);this[_0xc553[10]](_0xc553[76],function(){_0x162fx5[_0xc553[74]](true)},null,null,_0xc553[77]);this[_0xc553[10]](_0xc553[78],function(){_0x162fx5[_0xc553[79]](false)},null,null,_0xc553[80]);this[_0xc553[10]](_0xc553[81],function(){_0x162fx5[_0xc553[79]](true)},null,null,_0xc553[82]);this[_0xc553[10]](_0xc553[83],function(){_0x162fx5[_0xc553[85]](_0x162fx5[_0xc553[84]](null,0))},null,null,_0xc553[86]);this[_0xc553[10]](_0xc553[87],function(){_0x162fx5[_0xc553[59]](_0x162fx5[_0xc553[88]]())},null,null,_0xc553[89]);this[_0xc553[10]](_0xc553[90],function(){_0x162fx5[_0xc553[91]]()});this[_0xc553[10]](_0xc553[92],function(){var _0x162fx7=_0x162fx5[_0xc553[93]]();var _0x162fx8=_0x162fx5[_0xc553[94]](_0x162fx7);if(_0x162fx8== null){_0x162fx8= _0xc553[95]};_0x162fx8= mxUtils[_0xc553[97]](mxResources[_0xc553[26]](_0xc553[96]),_0x162fx8);if(_0x162fx8!= null){_0x162fx5[_0xc553[98]](_0x162fx7,_0x162fx8)}});this[_0xc553[10]](_0xc553[99],function(){var _0x162fx7=_0x162fx5[_0xc553[93]]();var _0x162fx8=_0x162fx5[_0xc553[94]](_0x162fx7);if(_0x162fx8!= null){window[_0xc553[11]](_0x162fx8)}});this[_0xc553[10]](_0xc553[100],function(){var _0x162fx9=_0x162fx5[_0xc553[57]]();if(_0x162fx9!= null){_0x162fx5[_0xc553[102]]()[_0xc553[101]]();try{for(var _0x162fxa=0;_0x162fxa< _0x162fx9[_0xc553[103]];_0x162fxa++){var _0x162fx7=_0x162fx9[_0x162fxa];if(_0x162fx5[_0xc553[102]]()[_0xc553[104]](_0x162fx7)){_0x162fx5[_0xc553[105]]([_0x162fx7],20)}else {_0x162fx5[_0xc553[106]](_0x162fx7)}}}finally{_0x162fx5[_0xc553[102]]()[_0xc553[107]]()}}});this[_0xc553[10]](_0xc553[108],function(){var _0x162fxb=_0x162fx5[_0xc553[110]]()[_0xc553[109]](_0x162fx5[_0xc553[93]]());var _0x162fxc=_0xc553[111];if(_0x162fxb!= null&& _0x162fxb[_0xc553[113]][mxConstants[_0xc553[112]]]== _0xc553[111]){_0x162fxc= null};_0x162fx5[_0xc553[114]](mxConstants.STYLE_WHITE_SPACE,_0x162fxc)});this[_0xc553[10]](_0xc553[115],function(){var _0x162fxc=_0xc553[116];var _0x162fxb=_0x162fx5[_0xc553[110]]()[_0xc553[109]](_0x162fx5[_0xc553[93]]());if(_0x162fxb!= null){_0x162fxc= _0x162fxb[_0xc553[113]][mxConstants[_0xc553[117]]]|| _0x162fxc};_0x162fxc= mxUtils[_0xc553[97]](mxResources[_0xc553[26]](_0xc553[96])+ _0xc553[118]+ mxResources[_0xc553[26]](_0xc553[115])+ _0xc553[119],_0x162fxc);if(_0x162fxc!= null){_0x162fx5[_0xc553[114]](mxConstants.STYLE_ROTATION,_0x162fxc)}});this[_0xc553[10]](_0xc553[120],function(){var _0x162fx9=_0x162fx5[_0xc553[57]]();if(_0x162fx9!= null){_0x162fx5[_0xc553[102]]()[_0xc553[101]]();try{for(var _0x162fxa=0;_0x162fxa< _0x162fx9[_0xc553[103]];_0x162fxa++){var _0x162fx7=_0x162fx9[_0x162fxa];if(_0x162fx5[_0xc553[102]]()[_0xc553[121]](_0x162fx7)&& _0x162fx5[_0xc553[102]]()[_0xc553[104]](_0x162fx7)== 0){var _0x162fxd=_0x162fx5[_0xc553[122]](_0x162fx7);if(_0x162fxd!= null){_0x162fxd= _0x162fxd[_0xc553[123]]();_0x162fxd[_0xc553[124]]+= _0x162fxd[_0xc553[125]]/ 2- _0x162fxd[_0xc553[126]]/ 2;_0x162fxd[_0xc553[127]]+= _0x162fxd[_0xc553[126]]/ 2- _0x162fxd[_0xc553[125]]/ 2;var _0x162fxe=_0x162fxd[_0xc553[125]];_0x162fxd[_0xc553[125]]= _0x162fxd[_0xc553[126]];_0x162fxd[_0xc553[126]]= _0x162fxe;_0x162fx5[_0xc553[102]]()[_0xc553[128]](_0x162fx7,_0x162fxd);var _0x162fxb=_0x162fx5[_0xc553[129]][_0xc553[109]](_0x162fx7);if(_0x162fxb!= null){var _0x162fxf=_0x162fxb[_0xc553[113]][mxConstants[_0xc553[130]]]|| _0xc553[131];if(_0x162fxf== _0xc553[131]){_0x162fxf= _0xc553[132]}else {if(_0x162fxf== _0xc553[132]){_0x162fxf= _0xc553[133]}else {if(_0x162fxf== _0xc553[133]){_0x162fxf= _0xc553[134]}else {if(_0x162fxf== _0xc553[134]){_0x162fxf= _0xc553[131]}}}};_0x162fx5[_0xc553[114]](mxConstants.STYLE_DIRECTION,_0x162fxf,[_0x162fx7])}}}}}finally{_0x162fx5[_0xc553[102]]()[_0xc553[107]]()}}},null,null,_0xc553[135]);this[_0xc553[10]](_0xc553[136],function(){_0x162fx5[_0xc553[137]](1)});this[_0xc553[10]](_0xc553[138],function(){_0x162fx5[_0xc553[138]]()},null,null,_0xc553[139]);this[_0xc553[10]](_0xc553[140],function(){_0x162fx5[_0xc553[140]]()},null,null,_0xc553[141]);this[_0xc553[10]](_0xc553[142],function(){_0x162fx5[_0xc553[143]]()});this[_0xc553[10]](_0xc553[144],mxUtils[_0xc553[27]](this,function(){if(!_0x162fx5[_0xc553[145]]){this[_0xc553[26]](_0xc553[147])[_0xc553[146]]()};var _0x162fx10=_0x162fx5[_0xc553[148]];var _0x162fx11=_0x162fx5[_0xc553[149]];var _0x162fx12=_0x162fx5[_0xc553[8]][_0xc553[150]]- 20;var _0x162fx13=_0x162fx5[_0xc553[8]][_0xc553[151]]- 20;var _0x162fx14=Math[_0xc553[153]](100* Math[_0xc553[152]](_0x162fx12/ _0x162fx10[_0xc553[125]]/ _0x162fx11,_0x162fx13/ _0x162fx10[_0xc553[126]]/ _0x162fx11))/ 100;_0x162fx5[_0xc553[137]](_0x162fx14);_0x162fx5[_0xc553[8]][_0xc553[154]]= Math[_0xc553[157]](_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[124]]* _0x162fx14- Math[_0xc553[156]](10,(_0x162fx5[_0xc553[8]][_0xc553[150]]- _0x162fx10[_0xc553[125]]* _0x162fx11* _0x162fx14)/ 2));_0x162fx5[_0xc553[8]][_0xc553[158]]= Math[_0xc553[157]](_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[127]]* _0x162fx14- Math[_0xc553[156]](10,(_0x162fx5[_0xc553[8]][_0xc553[151]]- _0x162fx10[_0xc553[126]]* _0x162fx11* _0x162fx14)/ 2))}));this[_0xc553[10]](_0xc553[159],mxUtils[_0xc553[27]](this,function(){if(!_0x162fx5[_0xc553[145]]){this[_0xc553[26]](_0xc553[147])[_0xc553[146]]()};var _0x162fx10=_0x162fx5[_0xc553[148]];var _0x162fx11=_0x162fx5[_0xc553[149]];var _0x162fx12=_0x162fx5[_0xc553[8]][_0xc553[150]]- 20;var _0x162fx14=Math[_0xc553[153]](100* _0x162fx12/ _0x162fx10[_0xc553[125]]/ _0x162fx11)/ 100;_0x162fx5[_0xc553[137]](_0x162fx14);_0x162fx5[_0xc553[8]][_0xc553[154]]= Math[_0xc553[157]](_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[124]]* _0x162fx14- Math[_0xc553[156]](10,(_0x162fx5[_0xc553[8]][_0xc553[150]]- _0x162fx10[_0xc553[125]]* _0x162fx11* _0x162fx14)/ 2));_0x162fx5[_0xc553[8]][_0xc553[158]]= Math[_0xc553[157]](_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[127]]* _0x162fx14- Math[_0xc553[156]](10,(_0x162fx5[_0xc553[8]][_0xc553[151]]- _0x162fx10[_0xc553[126]]* _0x162fx11* _0x162fx14)/ 2))}));this[_0xc553[28]](_0xc553[160], new Action(mxResources[_0xc553[26]](_0xc553[161]),function(){var _0x162fxc=mxUtils[_0xc553[97]](mxResources[_0xc553[26]](_0xc553[96])+ _0xc553[162],parseInt(_0x162fx5[_0xc553[110]]()[_0xc553[163]]()* 100));if(_0x162fxc!= null&& _0x162fxc[_0xc553[103]]> 0&& !isNaN(parseInt(_0x162fxc))){_0x162fx5[_0xc553[137]](parseInt(_0x162fxc)/ 100)}}));var _0x162fx15=null;_0x162fx15= this[_0xc553[10]](_0xc553[164],function(){_0x162fx5[_0xc553[166]](!_0x162fx5[_0xc553[165]]());_0x162fx4[_0xc553[167]]()},null,null,_0xc553[168]);_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[165]]()});_0x162fx15= this[_0xc553[10]](_0xc553[171],function(){_0x162fx5[_0xc553[173]][_0xc553[172]]= !_0x162fx5[_0xc553[173]][_0xc553[172]]});_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[173]][_0xc553[172]]});_0x162fx15= this[_0xc553[10]](_0xc553[174],function(){_0x162fx5[_0xc553[176]][_0xc553[177]](!_0x162fx5[_0xc553[176]][_0xc553[175]]())});_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[176]][_0xc553[175]]()});_0x162fx15= this[_0xc553[10]](_0xc553[178],function(){_0x162fx5[_0xc553[179]]= !_0x162fx5[_0xc553[179]];_0x162fx5[_0xc553[129]][_0xc553[180]]()});_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[179]]});_0x162fx15= this[_0xc553[10]](_0xc553[181],function(){_0x162fx5[_0xc553[181]]= !_0x162fx5[_0xc553[181]];_0x162fx4[_0xc553[167]]();if(!_0x162fx5[_0xc553[181]]){var _0x162fx16=_0x162fx5[_0xc553[129]][_0xc553[155]];_0x162fx5[_0xc553[129]][_0xc553[183]](_0x162fx16[_0xc553[124]]- _0x162fx5[_0xc553[8]][_0xc553[154]]/ _0x162fx5[_0xc553[129]][_0xc553[182]],_0x162fx16[_0xc553[127]]- _0x162fx5[_0xc553[8]][_0xc553[158]]/ _0x162fx5[_0xc553[129]][_0xc553[182]]);_0x162fx5[_0xc553[8]][_0xc553[154]]= 0;_0x162fx5[_0xc553[8]][_0xc553[158]]= 0;_0x162fx5[_0xc553[184]]()}else {var _0x162fx17=_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[124]];var _0x162fx18=_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[127]];_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[124]]= 0;_0x162fx5[_0xc553[129]][_0xc553[155]][_0xc553[127]]= 0;_0x162fx5[_0xc553[184]]();_0x162fx5[_0xc553[8]][_0xc553[154]]-= Math[_0xc553[157]](_0x162fx17* _0x162fx5[_0xc553[129]][_0xc553[182]]);_0x162fx5[_0xc553[8]][_0xc553[158]]-= Math[_0xc553[157]](_0x162fx18* _0x162fx5[_0xc553[129]][_0xc553[182]])}},!mxClient.IS_TOUCH);_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[8]][_0xc553[113]][_0xc553[185]]== _0xc553[186]});_0x162fx15= this[_0xc553[10]](_0xc553[147],mxUtils[_0xc553[27]](this,function(){_0x162fx5[_0xc553[145]]= !_0x162fx5[_0xc553[145]];_0x162fx5[_0xc553[187]]= _0x162fx5[_0xc553[145]];_0x162fx5[_0xc553[188]]= _0x162fx5[_0xc553[187]];_0x162fx5[_0xc553[129]][_0xc553[189]]();_0x162fx5[_0xc553[184]]();_0x162fx4[_0xc553[167]]();_0x162fx4[_0xc553[191]][_0xc553[190]]();if(mxUtils[_0xc553[192]](_0x162fx5[_0xc553[8]])){if(_0x162fx5[_0xc553[145]]){_0x162fx5[_0xc553[8]][_0xc553[154]]-= 20;_0x162fx5[_0xc553[8]][_0xc553[158]]-= 20}else {_0x162fx5[_0xc553[8]][_0xc553[154]]+= 20;_0x162fx5[_0xc553[8]][_0xc553[158]]+= 20}}}));_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[145]]});_0x162fx15= this[_0xc553[10]](_0xc553[193],function(){_0x162fx5[_0xc553[195]](!_0x162fx5[_0xc553[194]][_0xc553[175]]())},null,null,_0xc553[196]);_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[194]][_0xc553[175]]()});_0x162fx15= this[_0xc553[10]](_0xc553[197],function(){_0x162fx5[_0xc553[194]][_0xc553[199]](!_0x162fx5[_0xc553[194]][_0xc553[198]]())});_0x162fx15[_0xc553[169]](true);_0x162fx15[_0xc553[170]](function(){return _0x162fx5[_0xc553[194]][_0xc553[198]]()});this[_0xc553[10]](_0xc553[200],function(){var _0x162fx19=_0xc553[95];if(mxResources[_0xc553[202]](mxClient[_0xc553[201]])){_0x162fx19= _0xc553[203]+ mxClient[_0xc553[201]]};window[_0xc553[11]](_0xc553[204])});this[_0xc553[28]](_0xc553[205], new Action(mxResources[_0xc553[26]](_0xc553[205])+ _0xc553[206],function(){_0x162fx3[_0xc553[9]]( new AboutDialog(_0x162fx3)[_0xc553[8]],320,280,true,true)},null,null,_0xc553[207]));var _0x162fx1a=mxUtils[_0xc553[27]](this,function(_0x162fx1b,_0x162fx1c){this[_0xc553[10]](_0x162fx1b,function(){_0x162fx5[_0xc553[208]](mxConstants.STYLE_FONTSTYLE,_0x162fx1c)})});_0x162fx1a(_0xc553[209],mxConstants.FONT_BOLD);_0x162fx1a(_0xc553[210],mxConstants.FONT_ITALIC);_0x162fx1a(_0xc553[211],mxConstants.FONT_UNDERLINE);this[_0xc553[10]](_0xc553[212],function(){_0x162fx5[_0xc553[213]](mxConstants.STYLE_SHADOW)});this[_0xc553[10]](_0xc553[214],function(){_0x162fx5[_0xc553[213]](mxConstants.STYLE_DASHED)});this[_0xc553[10]](_0xc553[215],function(){_0x162fx5[_0xc553[213]](mxConstants.STYLE_ROUNDED)});this[_0xc553[10]](_0xc553[216],function(){_0x162fx5[_0xc553[213]](mxConstants.STYLE_CURVED)});this[_0xc553[10]](_0xc553[113],function(){var _0x162fx9=_0x162fx5[_0xc553[57]]();if(_0x162fx9!= null&& _0x162fx9[_0xc553[103]]> 0){var _0x162fx1d=_0x162fx5[_0xc553[102]]();var _0x162fx1c=mxUtils[_0xc553[97]](mxResources[_0xc553[26]](_0xc553[96])+ _0xc553[118]+ mxResources[_0xc553[26]](_0xc553[113])+ _0xc553[217],_0x162fx1d[_0xc553[218]](_0x162fx9[0])|| _0xc553[95]);if(_0x162fx1c!= null){_0x162fx5[_0xc553[219]](_0x162fx1c,_0x162fx9)}}});this[_0xc553[10]](_0xc553[220],function(){_0x162fx5[_0xc553[221]](_0x162fx5[_0xc553[93]]())});this[_0xc553[10]](_0xc553[222],function(){var _0x162fx7=_0x162fx5[_0xc553[93]]();if(_0x162fx7!= null&& _0x162fx5[_0xc553[102]]()[_0xc553[223]](_0x162fx7)){var _0x162fx1e=_0x162fx4[_0xc553[6]][_0xc553[225]][_0xc553[224]](_0x162fx7);if(_0x162fx1e instanceof mxEdgeHandler){var _0x162fx16=_0x162fx5[_0xc553[129]][_0xc553[155]];var _0x162fx6=_0x162fx5[_0xc553[129]][_0xc553[182]];var _0x162fx17=_0x162fx16[_0xc553[124]];var _0x162fx18=_0x162fx16[_0xc553[127]];var _0x162fx1f=_0x162fx5[_0xc553[102]]()[_0xc553[226]](_0x162fx7);var _0x162fx20=_0x162fx5[_0xc553[122]](_0x162fx1f);if(_0x162fx5[_0xc553[102]]()[_0xc553[121]](_0x162fx1f)&& _0x162fx20!= null){_0x162fx17+= _0x162fx20[_0xc553[124]];_0x162fx18+= _0x162fx20[_0xc553[127]]};_0x162fx1e[_0xc553[231]](_0x162fx1e[_0xc553[227]],_0x162fx5[_0xc553[229]][_0xc553[228]]/ _0x162fx6- _0x162fx17,_0x162fx5[_0xc553[229]][_0xc553[230]]/ _0x162fx6- _0x162fx18)}}});this[_0xc553[10]](_0xc553[232],function(){var _0x162fx21=_0x162fx3[_0xc553[2]][_0xc553[26]](_0xc553[232]);if(_0x162fx21[_0xc553[233]]!= null){_0x162fx21[_0xc553[233]][_0xc553[235]](_0x162fx21[_0xc553[233]][_0xc553[227]],_0x162fx21[_0xc553[234]])}});this[_0xc553[10]](_0xc553[236],function(){function _0x162fx22(_0x162fxc,_0x162fx23,_0x162fx24){var _0x162fx25=null;var _0x162fx9=_0x162fx5[_0xc553[57]]();_0x162fx5[_0xc553[102]]()[_0xc553[101]]();try{if(_0x162fx9[_0xc553[103]]== 0){var _0x162fx26=_0x162fx5[_0xc553[237]]();_0x162fx9= [_0x162fx5[_0xc553[239]](_0x162fx5[_0xc553[238]](),null,_0xc553[95],_0x162fx26,_0x162fx26,_0x162fx23,_0x162fx24)];_0x162fx25= _0x162fx9};_0x162fx5[_0xc553[114]](mxConstants.STYLE_IMAGE,_0x162fxc,_0x162fx9);_0x162fx5[_0xc553[114]](mxConstants.STYLE_SHAPE,_0xc553[236],_0x162fx9);if(_0x162fx5[_0xc553[240]]()== 1){if(_0x162fx23!= null&& _0x162fx24!= null){var _0x162fx7=_0x162fx9[0];var _0x162fxd=_0x162fx5[_0xc553[102]]()[_0xc553[241]](_0x162fx7);if(_0x162fxd!= null){_0x162fxd= _0x162fxd[_0xc553[123]]();_0x162fxd[_0xc553[125]]= _0x162fx23;_0x162fxd[_0xc553[126]]= _0x162fx24;_0x162fx5[_0xc553[102]]()[_0xc553[128]](_0x162fx7,_0x162fxd)}}}}finally{_0x162fx5[_0xc553[102]]()[_0xc553[107]]()};if(_0x162fx25!= null){_0x162fx5[_0xc553[59]](_0x162fx25);_0x162fx5[_0xc553[242]](_0x162fx25[0])}}var _0x162fxc=_0xc553[95];var _0x162fxb=_0x162fx5[_0xc553[110]]()[_0xc553[109]](_0x162fx5[_0xc553[93]]());if(_0x162fxb!= null){_0x162fxc= _0x162fxb[_0xc553[113]][mxConstants[_0xc553[243]]]|| _0x162fxc};_0x162fxc= mxUtils[_0xc553[97]](mxResources[_0xc553[26]](_0xc553[96])+ _0xc553[118]+ mxResources[_0xc553[26]](_0xc553[244])+ _0xc553[217],_0x162fxc);if(_0x162fxc!= null){if(_0x162fxc[_0xc553[103]]> 0){var _0x162fx27= new Image();_0x162fx27[_0xc553[245]]= function(){_0x162fx22(_0x162fxc,_0x162fx27[_0xc553[125]],_0x162fx27[_0xc553[126]])};_0x162fx27[_0xc553[246]]= function(){mxUtils[_0xc553[248]](mxResources[_0xc553[26]](_0xc553[247]))};_0x162fx27[_0xc553[249]]= _0x162fxc}}})};Actions[_0xc553[4]][_0xc553[10]]= function(_0x162fx1b,_0x162fx28,_0x162fx29,_0x162fx2a,_0x162fx2b){return this[_0xc553[28]](_0x162fx1b, new Action(mxResources[_0xc553[26]](_0x162fx1b),_0x162fx28,_0x162fx29,_0x162fx2a,_0x162fx2b))};Actions[_0xc553[4]][_0xc553[28]]= function(_0x162fx2c,_0x162fx15){this[_0xc553[2]][_0x162fx2c]= _0x162fx15;return _0x162fx15};Actions[_0xc553[4]][_0xc553[26]]= function(_0x162fx2c){return this[_0xc553[2]][_0x162fx2c]};function Action(_0x162fx2e,_0x162fx28,_0x162fx29,_0x162fx2a,_0x162fx2b){mxEventSource[_0xc553[250]](this);this[_0xc553[251]]= _0x162fx2e;this[_0xc553[146]]= _0x162fx28;this[_0xc553[252]]= (_0x162fx29!= null)?_0x162fx29:true;this[_0xc553[253]]= _0x162fx2a;this[_0xc553[254]]= _0x162fx2b}mxUtils[_0xc553[255]](Action,mxEventSource);Action[_0xc553[4]][_0xc553[177]]= function(_0x162fxc){if(this[_0xc553[252]]!= _0x162fxc){this[_0xc553[252]]= _0x162fxc;this[_0xc553[257]]( new mxEventObject(_0xc553[256]))}};Action[_0xc553[4]][_0xc553[169]]= function(_0x162fxc){this[_0xc553[258]]= _0x162fxc};Action[_0xc553[4]][_0xc553[170]]= function(_0x162fx28){this[_0xc553[259]]= _0x162fx28};Action[_0xc553[4]][_0xc553[260]]= function(){return this[_0xc553[259]]()} \ 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 7df221e..7269869 100644 --- a/public/assets/plugins/square/js/Dialogs.js +++ b/public/assets/plugins/square/js/Dialogs.js @@ -1 +1 @@ -var _0xab09=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x69\x6E\x70\x75\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x65\x63\x6B\x65\x64","\x47\x45\x54","\x6F\x70\x65\x6E","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x64\x61\x74\x61","\x65\x64\x69\x74\x6F\x72","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x73\x65\x6C\x65\x63\x74","\x6F\x70\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x2D\x2D\x20\x4E\x6F\x6E\x65\x20\x2D\x2D","\x76\x61\x6C\x75\x65","\x2D\x31","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x66\x6F\x72\x45\x61\x63\x68","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x6F\x77\x73","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C\x20\x73\x65\x6C\x65\x63\x74\x32","\x30","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x66\x61\x74\x68\x65\x72","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x73\x6F\x6E","\x2D","\x63\x61\x70\x69\x74\x61\x6C\x69\x7A\x65","","\x50\x4F\x53\x54","\x2F\x61\x70\x69\x2F\x72\x65\x73\x74\x2F\x6C\x69\x73\x74\x2F\x6C\x69\x73\x74","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x52\x4D\x49","\x69\x64","\x6E\x61\x6D\x65","\x6C\x6F\x67","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x62\x6F\x64\x79","\x72\x6F\x75\x6E\x64","\x6D\x61\x78","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x44\x69\x61\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x6D\x6F\x64\x61\x6C\x20\x66\x61\x64\x65\x20\x69\x6E\x20\x63\x65\x6E\x74\x65\x72","\x64\x69\x73\x70\x6C\x61\x79","\x73\x74\x79\x6C\x65","\x62\x6C\x6F\x63\x6B","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x31\x32\x70\x78","\x67\x65\x4D\x6F\x64\x61\x6C\x44\x69\x61\x6C\x6F\x67","\x6D\x6F\x64\x61\x6C\x2D\x64\x69\x61\x6C\x6F\x67","\x62\x67","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x6D\x6F\x64\x61\x6C\x2D\x62\x61\x63\x6B\x64\x72\x6F\x70\x20\x66\x61\x64\x65\x20\x69\x6E","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x6E\x44\x69\x61\x6C\x6F\x67\x43\x6C\x6F\x73\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x6C\x6F\x73\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x64\x61\x6C\x2D\x63\x6F\x6E\x74\x65\x6E\x74","\x6D\x6F\x64\x61\x6C\x2D\x68\x65\x61\x64\x65\x72","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79","\x6D\x6F\x64\x61\x6C\x2D\x66\x6F\x6F\x74\x65\x72","\x68\x34","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74","\x20\x58\x4D\x4C","\x77\x72\x69\x74\x65","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x62\x75\x74\x74\x6F\x6E","\x72\x6F\x77","\x63\x6F\x6C\x2D\x6D\x64\x2D\x31\x32","\x74\x65\x78\x74\x61\x72\x65\x61","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x33\x37\x34\x70\x78","\x66\x69\x6C\x65","\x61\x63\x63\x65\x70\x74","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x63\x68\x61\x6E\x67\x65","\x66\x69\x6C\x65\x73","\x74\x61\x72\x67\x65\x74","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x73\x75\x6C\x74","\x72\x65\x61\x64\x41\x73\x54\x65\x78\x74","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x6F\x72\x6D\x61\x74\x20\x66\x69\x6C\x65","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x69\x6C\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x62\x69\x6E\x64","\x62\x74\x6E\x20\x62\x6C\x75\x65","\x63\x61\x6E\x63\x65\x6C","\x62\x74\x6E\x20\x64\x65\x66\x61\x75\x6C\x74","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30\x70\x78","\x31\x37\x36","\x31\x35\x31","\x73\x72\x63","\x2F\x6C\x6F\x67\x6F\x2E\x70\x6E\x67","\x62\x72","\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x6C\x61\x62\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x61","\x68\x72\x65\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D\x2F","\x5F\x62\x6C\x61\x6E\x6B","\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D","\x73\x61\x76\x65\x41\x73","\x5F","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x6C\x61\x62\x65\x6C","\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C\x20\x70\x75\x6C\x6C\x2D\x72\x69\x67\x68\x74","\x5F\x63\x6F\x70\x79","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C","\x73\x61\x76\x65","\x6E\x65\x77","\x5F\x6E\x65\x77","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x2F","\x72\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x50\x55\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6E\x61\x6D\x65\x3D","\x50\x72\x6F\x6A\x65\x63\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79\x20\x72\x65\x6E\x61\x6D\x65\x64","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x6C\x65\x72\x74","\x65\x64\x69\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x64\x61\x74\x61\x54\x72\x61\x6E\x73\x66\x65\x72","\x64\x72\x61\x67\x6F\x76\x65\x72","\x64\x72\x6F\x70","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D","\x65\x78\x70\x6F\x72\x74","\x66\x6F\x72\x6D\x2D\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x20\x66\x6F\x72\x6D\x2D\x72\x6F\x77\x2D\x73\x65\x70\x65\x72\x61\x74\x65\x64","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70\x20\x6C\x61\x73\x74","\x63\x6F\x6C\x2D\x73\x6D\x2D\x34\x20\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C","\x63\x6F\x6C\x2D\x73\x6D\x2D\x38","\x67\x65\x74\x58\x6D\x6C","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x67\x72\x61\x70\x68","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D\x20\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x2D\x73\x63\x72\x6F\x6C\x6C","\x20","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70","\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74\x73","\x73\x69\x70\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x71\x75\x65\x75\x65\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B\x73","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x72\x76\x65\x72\x73\x2F\x6F\x75\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x6D\x61\x69\x6C\x62\x6F\x78","\x25\x6D\x61\x69\x6C\x62\x6F\x78\x25\x40\x25\x63\x6F\x6E\x74\x65\x78\x74\x25","\x6D\x6F\x64\x65\x6C","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x62\x65\x65\x70","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x6C\x69\x73\x74\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\x6F\x64\x62\x63\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64\x73","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x5F\x69\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x64\x69\x67\x69\x74","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x72\x65\x74\x72\x79","\x6E\x75\x6D\x62\x65\x72","\x6D\x69\x6E","\x73\x70\x65\x65\x64","\x6B\x65\x79","\x71\x75\x65\x72\x79","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x63\x6F\x6D\x6D\x61\x6E\x64","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x6D\x61\x78\x6C\x65\x6E\x67\x74\x68","\x31\x36\x30","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x68\x65\x6C\x70\x5F","\x70","\x68\x65\x6C\x70\x2D\x62\x6C\x6F\x63\x6B","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x72\x65\x66\x72\x65\x73\x68"];_0xab09[0];function createCheckbox(_0x96c7x2){var _0x96c7x3=document[_0xab09[2]](_0xab09[1]);_0x96c7x3[_0xab09[5]](_0xab09[3],_0xab09[4]);if(_0x96c7x2){_0x96c7x3[_0xab09[5]](_0xab09[6],true)};return _0x96c7x3}function createDropdownFromApi(_0x96c7x5,_0x96c7x2,_0x96c7x6,_0x96c7x7,_0x96c7x8,_0x96c7x9,_0x96c7xa){var _0x96c7xb= new XMLHttpRequest();_0x96c7xb[_0xab09[8]](_0xab09[7],_0x96c7x5,false);_0x96c7xb[_0xab09[14]](_0xab09[9],_0xab09[10]+ _0x96c7x8[_0xab09[13]][_0xab09[12]][_0xab09[11]]);_0x96c7xb[_0xab09[15]](null);var _0x96c7xc=[];if(_0x96c7xb[_0xab09[16]]=== 200){_0x96c7xc= JSON[_0xab09[18]](_0x96c7xb[_0xab09[17]])};var _0x96c7x3=document[_0xab09[2]](_0xab09[19]);var _0x96c7xd=document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[21]]= _0xab09[22];_0x96c7xd[_0xab09[23]]= _0xab09[24];_0x96c7x3[_0xab09[25]](_0x96c7xd);_0x96c7xc[_0xab09[30]][_0xab09[28]](function(_0x96c7xe){_0x96c7xd= document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[21]]= _0x96c7xe[_0x96c7x6];if(_0x96c7x9&& _0x96c7xa){_0x96c7x9[_0xab09[28]](function(_0x96c7xf){_0x96c7xa= _0x96c7xa[_0xab09[27]](_0xab09[26]+ _0x96c7xf+ _0xab09[26],_0x96c7xe[_0x96c7xf])});_0x96c7xd[_0xab09[23]]= _0x96c7xa;_0x96c7xd[_0xab09[29]]= (_0x96c7xa== _0x96c7x2)}else {_0x96c7xd[_0xab09[23]]= _0x96c7xe[_0x96c7x7];_0x96c7xd[_0xab09[29]]= (_0x96c7xe[_0x96c7x7]== _0x96c7x2)};_0x96c7x3[_0xab09[25]](_0x96c7xd)});_0x96c7x3[_0xab09[31]]= _0xab09[32];return _0x96c7x3}function createGroupedDropdownFromApi(_0x96c7x5,_0x96c7x2,_0x96c7x6,_0x96c7x7,_0x96c7x8,_0x96c7x11){var _0x96c7xb= new XMLHttpRequest();_0x96c7xb[_0xab09[8]](_0xab09[7],_0x96c7x5,false);_0x96c7xb[_0xab09[14]](_0xab09[9],_0xab09[10]+ _0x96c7x8[_0xab09[13]][_0xab09[12]][_0xab09[11]]);_0x96c7xb[_0xab09[15]](null);var _0x96c7xc=[];if(_0x96c7xb[_0xab09[16]]=== 200){_0x96c7xc= JSON[_0xab09[18]](_0x96c7xb[_0xab09[17]])};var _0x96c7x3=document[_0xab09[2]](_0xab09[19]);var _0x96c7xd=document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[21]]= _0xab09[22];_0x96c7xd[_0xab09[23]]= _0xab09[33];_0x96c7x3[_0xab09[25]](_0x96c7xd);_0x96c7xc[_0xab09[30]][_0xab09[28]](function(_0x96c7xe){_0x96c7xd= document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[31]]= _0xab09[34];_0x96c7xd[_0xab09[21]]= _0x96c7xe[_0x96c7x6][_0xab09[35]]();_0x96c7xd[_0xab09[23]]= _0x96c7xe[_0x96c7x7];_0x96c7xd[_0xab09[29]]= (_0x96c7xe[_0x96c7x7]== _0x96c7x2);_0x96c7x3[_0xab09[25]](_0x96c7xd);_0x96c7xe[_0x96c7x11][_0xab09[28]](function(_0x96c7xe){_0x96c7xd= document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[31]]= _0xab09[36];_0x96c7xd[_0xab09[21]]= _0xab09[37]+ _[_0xab09[38]](_0x96c7xe[_0x96c7x6]);_0x96c7xd[_0xab09[23]]= _0x96c7xe[_0x96c7x7];_0x96c7xd[_0xab09[29]]= (_0x96c7xe[_0x96c7x7]== _0x96c7x2);_0x96c7x3[_0xab09[25]](_0x96c7xd)})});_0x96c7x3[_0xab09[31]]= _0xab09[32];return _0x96c7x3}function createDropdownFromArray(_0x96c7x13,_0x96c7x2){var _0x96c7x3=document[_0xab09[2]](_0xab09[19]);for(var _0x96c7x14 in _0x96c7x13){var _0x96c7xd=document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[21]]= _0x96c7x13[_0x96c7x14];_0x96c7xd[_0xab09[23]]= _0x96c7x14;if(_0x96c7x2> 0|| _0x96c7x2!= _0xab09[39]){_0x96c7xd[_0xab09[29]]= (_0x96c7x2=== _0x96c7x14)?true:false};_0x96c7x3[_0xab09[25]](_0x96c7xd)};_0x96c7x3[_0xab09[31]]= _0xab09[32];return _0x96c7x3}function createDropdownFromTigerDialList(_0x96c7x2){var _0x96c7x3=document[_0xab09[2]](_0xab09[19]);var _0x96c7x13=[];var _0x96c7x16= new XMLHttpRequest();try{_0x96c7x16[_0xab09[8]](_0xab09[40],_0xab09[41],false);_0x96c7x16[_0xab09[15]](JSON[_0xab09[42]]({page:1,size:600000}));if(_0x96c7x16[_0xab09[16]]=== 200){var _0x96c7xc=JSON[_0xab09[18]](_0x96c7x16[_0xab09[17]]);if(_0x96c7xc[_0xab09[16]]> 0){var _0x96c7x17=_0x96c7xc[_0xab09[17]][_0xab09[43]][_0xab09[30]];for(var _0x96c7x18 in _0x96c7x17){_0x96c7x13[_0x96c7x17[_0x96c7x18][_0xab09[44]]]= _0x96c7x17[_0x96c7x18][_0xab09[45]]}}}}catch(e){console[_0xab09[46]](e)};for(var _0x96c7x14 in _0x96c7x13){var _0x96c7xd=document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[21]]= _0x96c7x13[_0x96c7x14];_0x96c7xd[_0xab09[23]]= _0x96c7x14;if(_0x96c7x2> 0|| _0x96c7x2!= _0xab09[39]){_0x96c7xd[_0xab09[29]]= (_0x96c7x2=== _0x96c7x14)?true:false};_0x96c7x3[_0xab09[25]](_0x96c7xd)};_0x96c7x3[_0xab09[31]]= _0xab09[32];return _0x96c7x3}function Dialog(_0x96c7x8,_0x96c7x1a,_0x96c7x1b,_0x96c7x1c,_0x96c7x1d,_0x96c7x1e,_0x96c7x1f){var _0x96c7x20=0;if(mxClient[_0xab09[47]]&& document[_0xab09[48]]!= 9){_0x96c7x20= 60};_0x96c7x1b+= _0x96c7x20;_0x96c7x1c+= _0x96c7x20;var _0x96c7x21=Math[_0xab09[52]](0,Math[_0xab09[51]]((document[_0xab09[50]][_0xab09[49]]- _0x96c7x1b)/ 2));var _0x96c7x22=Math[_0xab09[52]](0,Math[_0xab09[51]]((Math[_0xab09[52]](document[_0xab09[50]][_0xab09[53]],document[_0xab09[54]][_0xab09[53]])- _0x96c7x1c)/ 3));var _0x96c7x23=_0x96c7x8[_0xab09[56]](_0xab09[55]);_0x96c7x23[_0xab09[31]]= _0xab09[57];_0x96c7x23[_0xab09[59]][_0xab09[58]]= _0xab09[60];_0x96c7x23[_0xab09[59]][_0xab09[61]]= _0xab09[62];var _0x96c7x24=_0x96c7x8[_0xab09[56]](_0xab09[63]);_0x96c7x24[_0xab09[31]]= _0xab09[64];_0x96c7x24[_0xab09[25]](_0x96c7x1a);_0x96c7x23[_0xab09[25]](_0x96c7x24);if(this[_0xab09[65]]== null){this[_0xab09[65]]= _0x96c7x8[_0xab09[56]](_0xab09[66]);this[_0xab09[65]][_0xab09[31]]= _0xab09[67];if(mxClient[_0xab09[68]]){ new mxDivResizer(this[_0xab09[65]])}};if(_0x96c7x1d){document[_0xab09[50]][_0xab09[25]](this[_0xab09[65]])};document[_0xab09[50]][_0xab09[25]](_0x96c7x23);this[_0xab09[69]]= _0x96c7x1f;this[_0xab09[70]]= _0x96c7x23}Dialog[_0xab09[72]][_0xab09[71]]= function(){if(this[_0xab09[69]]!= null){this[_0xab09[69]]();this[_0xab09[69]]= null};this[_0xab09[70]][_0xab09[74]][_0xab09[73]](this[_0xab09[70]]);this[_0xab09[65]][_0xab09[74]][_0xab09[73]](this[_0xab09[65]])};function ImportDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[81])+ _0xab09[83]);var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[88]);var _0x96c7x2e=document[_0xab09[2]](_0xab09[89]);_0x96c7x2e[_0xab09[59]][_0xab09[90]]= _0xab09[91];_0x96c7x2e[_0xab09[59]][_0xab09[92]]= _0xab09[93];var _0x96c7x3=document[_0xab09[2]](_0xab09[1]);_0x96c7x3[_0xab09[3]]= _0xab09[94];_0x96c7x3[_0xab09[5]](_0xab09[95],_0xab09[96]);_0x96c7x3[_0xab09[105]](_0xab09[97],function _0x96c7x2f(_0x96c7x30){var _0x96c7x31=_0x96c7x30[_0xab09[99]][_0xab09[98]][0];console[_0xab09[46]](_0x96c7x31);if(_0x96c7x31){if(_0x96c7x31[_0xab09[3]]=== _0xab09[96]){var _0x96c7x32= new FileReader();_0x96c7x32[_0xab09[100]]= function(_0x96c7x33){var _0x96c7x34=_0x96c7x33[_0xab09[99]][_0xab09[101]];mxUtils[_0xab09[84]](_0x96c7x2e,_0x96c7x34)};_0x96c7x32[_0xab09[102]](_0x96c7x31)}else {alert(_0xab09[103])}}else {alert(_0xab09[104])}},false);_0x96c7x2d[_0xab09[25]](_0x96c7x3);_0x96c7x2d[_0xab09[25]](_0x96c7x2e);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[81]),mxUtils[_0xab09[108]](this,function(_0x96c7x36){var _0x96c7x37=mxUtils[_0xab09[106]](_0x96c7x2e[_0xab09[23]]);_0x96c7x8[_0xab09[13]][_0xab09[107]](_0x96c7x37[_0xab09[54]]);_0x96c7x8[_0xab09[85]]()}));_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function AboutDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[112])+ _0xab09[113]);var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x3a=document[_0xab09[2]](_0xab09[114]);_0x96c7x3a[_0xab09[59]][_0xab09[115]]= _0xab09[116];_0x96c7x3a[_0xab09[5]](_0xab09[90],_0xab09[117]);_0x96c7x3a[_0xab09[5]](_0xab09[90],_0xab09[118]);_0x96c7x3a[_0xab09[5]](_0xab09[119],IMAGE_PATH+ _0xab09[120]);_0x96c7x28[_0xab09[25]](_0x96c7x3a);mxUtils[_0xab09[121]](_0x96c7x28);mxUtils[_0xab09[84]](_0x96c7x28,_0xab09[122]+ mxClient[_0xab09[123]]);mxUtils[_0xab09[121]](_0x96c7x28);var _0x96c7x3b=document[_0xab09[2]](_0xab09[124]);_0x96c7x3b[_0xab09[5]](_0xab09[125],_0xab09[126]);_0x96c7x3b[_0xab09[5]](_0xab09[99],_0xab09[127]);mxUtils[_0xab09[84]](_0x96c7x3b,_0xab09[128]);_0x96c7x28[_0xab09[25]](_0x96c7x3b);mxUtils[_0xab09[121]](_0x96c7x28);mxUtils[_0xab09[121]](_0x96c7x28);var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[71]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function SaveDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[129]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x3d=_0xab09[45];var _0x96c7x3e=_0xab09[130]+ _0x96c7x3d;var _0x96c7x2=_0x96c7x8[_0xab09[13]][_0xab09[131]]();var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[132]);var _0x96c7x3f=_0x96c7x8[_0xab09[56]](_0xab09[133]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[135];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0x96c7x3d));_0x96c7x2d[_0xab09[25]](_0x96c7x40);var _0x96c7x41=document[_0xab09[2]](_0xab09[1]);_0x96c7x41[_0xab09[5]](_0xab09[23],_0x96c7x2+ _0xab09[136]);_0x96c7x41[_0xab09[5]](_0xab09[44],_0x96c7x3e);_0x96c7x41[_0xab09[31]]= _0xab09[137];_0x96c7x3f[_0xab09[25]](_0x96c7x41);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x2c[_0xab09[25]](_0x96c7x3f);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[138]),function(){_0x96c7x8[_0xab09[129]](_0x96c7x41[_0xab09[23]]);_0x96c7x8[_0xab09[85]]()});_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function NewDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[139]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x3d=_0xab09[45];var _0x96c7x3e=_0xab09[130]+ _0x96c7x3d;var _0x96c7x2=_0x96c7x8[_0xab09[13]][_0xab09[131]]();var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[132]);var _0x96c7x3f=_0x96c7x8[_0xab09[56]](_0xab09[133]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[135];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0x96c7x3d));_0x96c7x2d[_0xab09[25]](_0x96c7x40);var _0x96c7x41=document[_0xab09[2]](_0xab09[1]);_0x96c7x41[_0xab09[5]](_0xab09[23],_0x96c7x2+ _0xab09[140]);_0x96c7x41[_0xab09[5]](_0xab09[44],_0x96c7x3e);_0x96c7x41[_0xab09[31]]= _0xab09[137];_0x96c7x3f[_0xab09[25]](_0x96c7x41);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x2c[_0xab09[25]](_0x96c7x3f);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[139]),function(){_0x96c7x8[_0xab09[139]](_0x96c7x41[_0xab09[23]]);_0x96c7x8[_0xab09[85]]()});_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function VariableDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[141]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x3d=_0xab09[45];var _0x96c7x3e=_0xab09[130]+ _0x96c7x3d;var _0x96c7x2=_0x96c7x8[_0xab09[13]][_0xab09[131]]();var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[132]);var _0x96c7x3f=_0x96c7x8[_0xab09[56]](_0xab09[133]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[135];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0x96c7x3d));_0x96c7x2d[_0xab09[25]](_0x96c7x40);var _0x96c7x41=document[_0xab09[2]](_0xab09[1]);_0x96c7x41[_0xab09[5]](_0xab09[23],_0xab09[142]);_0x96c7x41[_0xab09[5]](_0xab09[44],_0x96c7x3e);_0x96c7x41[_0xab09[31]]= _0xab09[137];_0x96c7x3f[_0xab09[25]](_0x96c7x41);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x2c[_0xab09[25]](_0x96c7x3f);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[139]),function(){_0x96c7x8[_0xab09[141]](_0x96c7x41[_0xab09[23]]);_0x96c7x8[_0xab09[85]]()});_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function OpenDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[8]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[132]);var _0x96c7x3f=_0x96c7x8[_0xab09[56]](_0xab09[133]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[135];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0xab09[45]));_0x96c7x2d[_0xab09[25]](_0x96c7x40);var _0x96c7xb= new XMLHttpRequest();_0x96c7xb[_0xab09[8]](_0xab09[7],_0xab09[143],false);_0x96c7xb[_0xab09[14]](_0xab09[9],_0xab09[10]+ _0x96c7x8[_0xab09[13]][_0xab09[12]][_0xab09[11]]);_0x96c7xb[_0xab09[15]](null);var _0x96c7xc=[];if(_0x96c7xb[_0xab09[16]]=== 200){_0x96c7xc= JSON[_0xab09[18]](_0x96c7xb[_0xab09[17]])};var _0x96c7x41=document[_0xab09[2]](_0xab09[19]);for(var _0x96c7x45=0;_0x96c7x45< _0x96c7xc[_0xab09[144]];_0x96c7x45++){var _0x96c7xd=document[_0xab09[2]](_0xab09[20]);_0x96c7xd[_0xab09[21]]= _0x96c7xc[_0x96c7x45][_0xab09[45]];_0x96c7xd[_0xab09[23]]= _0x96c7xc[_0x96c7x45][_0xab09[44]];_0x96c7x41[_0xab09[25]](_0x96c7xd)};_0x96c7x41[_0xab09[31]]= _0xab09[137];_0x96c7x3f[_0xab09[25]](_0x96c7x41);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x2c[_0xab09[25]](_0x96c7x3f);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[8]),function(){console[_0xab09[46]](_0x96c7x41);console[_0xab09[46]](_0x96c7x41[_0xab09[23]]);window[_0xab09[8]](_0xab09[145]+ _0x96c7x41[_0xab09[23]],_0xab09[127]);_0x96c7x8[_0xab09[85]]()});_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function RenameDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[146]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[132]);var _0x96c7x3f=_0x96c7x8[_0xab09[56]](_0xab09[133]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[135];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0xab09[45]));_0x96c7x2d[_0xab09[25]](_0x96c7x40);var _0x96c7x3d=_0x96c7x8[_0xab09[13]][_0xab09[147]];var _0x96c7x3=document[_0xab09[2]](_0xab09[1]);_0x96c7x3[_0xab09[5]](_0xab09[23],_0x96c7x3d);_0x96c7x3[_0xab09[31]]= _0xab09[137];_0x96c7x3f[_0xab09[25]](_0x96c7x3);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x2c[_0xab09[25]](_0x96c7x3f);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[138]),function(){var _0x96c7xb= new XMLHttpRequest();_0x96c7xb[_0xab09[8]](_0xab09[148],SAVE_URL+ _0x96c7x8[_0xab09[13]][_0xab09[12]][_0xab09[44]],true);_0x96c7xb[_0xab09[14]](_0xab09[149],_0xab09[150]);_0x96c7xb[_0xab09[14]](_0xab09[9],_0xab09[10]+ _0x96c7x8[_0xab09[13]][_0xab09[12]][_0xab09[11]]);_0x96c7xb[_0xab09[15]](_0xab09[151]+ _0x96c7x3[_0xab09[23]]);_0x96c7xb[_0xab09[100]]= function(_0x96c7x33){if(_0x96c7xb[_0xab09[16]]=== 200){_0x96c7x8[_0xab09[13]][_0xab09[153]](_0xab09[152]);_0x96c7x8[_0xab09[13]][_0xab09[147]]= _0x96c7x3[_0xab09[23]]}else {console[_0xab09[46]](_0x96c7xb[_0xab09[17]]);_0x96c7x8[_0xab09[13]][_0xab09[153]](JSON[_0xab09[18]](_0x96c7xb[_0xab09[17]])[_0xab09[155]][0][_0xab09[154]])}};_0x96c7xb[_0xab09[156]]= function(_0x96c7x33){mxUtils[_0xab09[158]](_0x96c7xb[_0xab09[157]])};_0x96c7x8[_0xab09[85]]()});_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function EditFileDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[77]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[159]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x2c=_0x96c7x8[_0xab09[56]](_0xab09[87]);var _0x96c7x2d=_0x96c7x8[_0xab09[56]](_0xab09[88]);var _0x96c7x2e=document[_0xab09[2]](_0xab09[89]);_0x96c7x2e[_0xab09[59]][_0xab09[90]]= _0xab09[91];_0x96c7x2e[_0xab09[59]][_0xab09[92]]= _0xab09[93];_0x96c7x2e[_0xab09[23]]= mxUtils[_0xab09[161]](_0x96c7x8[_0xab09[13]][_0xab09[160]]());if(fileSupport){function _0x96c7x48(_0x96c7x30){_0x96c7x30[_0xab09[162]]();_0x96c7x30[_0xab09[163]]();if(_0x96c7x30[_0xab09[164]][_0xab09[98]][_0xab09[144]]> 0){var _0x96c7x49=_0x96c7x30[_0xab09[164]][_0xab09[98]][0];var _0x96c7x4a= new FileReader();_0x96c7x4a[_0xab09[100]]= function(_0x96c7x33){_0x96c7x2e[_0xab09[23]]= _0x96c7x33[_0xab09[99]][_0xab09[101]]};_0x96c7x4a[_0xab09[102]](_0x96c7x49)}}function _0x96c7x4b(_0x96c7x30){_0x96c7x30[_0xab09[162]]();_0x96c7x30[_0xab09[163]]()}_0x96c7x2e[_0xab09[105]](_0xab09[165],_0x96c7x4b,false);_0x96c7x2e[_0xab09[105]](_0xab09[166],_0x96c7x48,false)};_0x96c7x2d[_0xab09[25]](_0x96c7x2e);_0x96c7x2c[_0xab09[25]](_0x96c7x2d);_0x96c7x28[_0xab09[25]](_0x96c7x2c);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[138]),function(){var _0x96c7x37=mxUtils[_0xab09[106]](_0x96c7x2e[_0xab09[23]]);_0x96c7x8[_0xab09[13]][_0xab09[107]](_0x96c7x37[_0xab09[54]]);_0x96c7x8[_0xab09[85]]()});_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function ExportDialog(_0x96c7x8){var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[167]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[168])+ _0xab09[83]);var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x4d=_0x96c7x8[_0xab09[56]](_0xab09[169]);var _0x96c7x4e=_0x96c7x8[_0xab09[56]](_0xab09[170]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[171];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0xab09[147]));var _0x96c7x3=document[_0xab09[2]](_0xab09[1]);_0x96c7x3[_0xab09[5]](_0xab09[23],_0x96c7x8[_0xab09[13]][_0xab09[131]]());_0x96c7x3[_0xab09[31]]= _0xab09[137];var _0x96c7x23=_0x96c7x8[_0xab09[56]](_0xab09[172]);_0x96c7x23[_0xab09[25]](_0x96c7x3);_0x96c7x4e[_0xab09[25]](_0x96c7x40);_0x96c7x4e[_0xab09[25]](_0x96c7x23);_0x96c7x4d[_0xab09[25]](_0x96c7x4e);_0x96c7x28[_0xab09[25]](_0x96c7x4d);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[168]),mxUtils[_0xab09[108]](this,function(_0x96c7x36){_0x96c7x8[_0xab09[138]](false);var _0x96c7x4f=encodeURIComponent(mxUtils[_0xab09[173]](_0x96c7x8[_0xab09[13]][_0xab09[160]]())); new mxXmlRequest(SAVE_URL+ _0x96c7x8[_0xab09[13]][_0xab09[12]][_0xab09[44]]+ _0xab09[175],_0xab09[176]+ _0x96c7x3[_0xab09[23]],_0xab09[7])[_0xab09[174]](document,_0xab09[127]);_0x96c7x8[_0xab09[85]]()}));_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26}function GeneralDialog(_0x96c7x8,_0x96c7x51){var _0x96c7x52=_0x96c7x8[_0xab09[13]][_0xab09[177]];var _0x96c7x26=_0x96c7x8[_0xab09[56]](_0xab09[75]);var _0x96c7x27=_0x96c7x8[_0xab09[56]](_0xab09[76]);var _0x96c7x28=_0x96c7x8[_0xab09[56]](_0xab09[178]);var _0x96c7x29=_0x96c7x8[_0xab09[56]](_0xab09[78]);var _0x96c7x2a=_0x96c7x8[_0xab09[80]](_0xab09[79]);mxUtils[_0xab09[84]](_0x96c7x2a,mxResources[_0xab09[82]](_0xab09[159])+ _0xab09[179]+ mxResources[_0xab09[82]](_0x96c7x51[_0xab09[23]][_0xab09[180]]));var _0x96c7x2b=mxUtils[_0xab09[86]](_0xab09[39],function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x2b[_0xab09[31]]= _0xab09[71];_0x96c7x27[_0xab09[25]](_0x96c7x2b);_0x96c7x27[_0xab09[25]](_0x96c7x2a);var _0x96c7x53=_0x96c7x51[_0xab09[23]][_0xab09[181]][_0xab09[144]];var _0x96c7x4d=_0x96c7x8[_0xab09[56]](_0xab09[169]);for(var _0x96c7x54=0;_0x96c7x54< _0x96c7x53;_0x96c7x54++){var _0x96c7x3d=_0x96c7x51[_0xab09[23]][_0xab09[181]][_0x96c7x54][_0xab09[45]];var _0x96c7x3e=_0xab09[130]+ _0x96c7x3d;var _0x96c7x2=_0x96c7x51[_0xab09[23]][_0xab09[181]][_0x96c7x54][_0xab09[23]];var _0x96c7x4e=_0x96c7x8[_0xab09[56]]((_0x96c7x54== _0x96c7x53- 1)?_0xab09[170]:_0xab09[182]);var _0x96c7x40=document[_0xab09[2]](_0xab09[134]);_0x96c7x40[_0xab09[31]]= _0xab09[171];mxUtils[_0xab09[84]](_0x96c7x40,mxResources[_0xab09[82]](_0x96c7x3d));_0x96c7x4e[_0xab09[25]](_0x96c7x40);var _0x96c7x3;switch(_0x96c7x3d){case _0xab09[184]:_0x96c7x3= createDropdownFromApi(_0xab09[183],_0x96c7x2,_0xab09[45],_0xab09[44],_0x96c7x8);break;case _0xab09[186]:_0x96c7x3= createDropdownFromApi(_0xab09[185],_0x96c7x2,_0xab09[45],_0xab09[45],_0x96c7x8);break;case _0xab09[188]:_0x96c7x3= createDropdownFromApi(_0xab09[187],_0x96c7x2,_0xab09[45],_0xab09[45],_0x96c7x8);break;case _0xab09[190]:_0x96c7x3= createDropdownFromApi(_0xab09[189],_0x96c7x2,_0xab09[45],_0xab09[44],_0x96c7x8);break;case _0xab09[195]:if(_0x96c7x51[_0xab09[23]][_0xab09[180]]== _0xab09[191]){_0x96c7x3= createDropdownFromApi(_0xab09[192],_0x96c7x2,_0xab09[193],_0xab09[44],_0x96c7x8)}else {_0x96c7x3= createDropdownFromApi(_0xab09[194],_0x96c7x2,_0xab09[45],_0xab09[44],_0x96c7x8)};break;case _0xab09[197]:_0x96c7x3= createDropdownFromApi(_0xab09[196],_0x96c7x2,_0xab09[45],_0xab09[45],_0x96c7x8);break;case _0xab09[199]:_0x96c7x3= createDropdownFromApi(_0xab09[198],_0x96c7x2,_0xab09[199],_0xab09[44],_0x96c7x8,[_0xab09[199],_0xab09[197]],_0xab09[200]);break;case _0xab09[201]:_0x96c7x3= createDropdownFromArray(ISPEECHASRMODEL,_0x96c7x2);break;case _0xab09[202]:_0x96c7x3= createDropdownFromArray(ISPEECHASRLANG,_0x96c7x2);break;case _0xab09[203]:_0x96c7x3= createDropdownFromArray(ISPEECHBEEP,_0x96c7x2);break;case _0xab09[204]:_0x96c7x3= createDropdownFromArray(ISPEECHLANG,_0x96c7x2);break;case _0xab09[205]:_0x96c7x3= createDropdownFromArray(GOOGLETTSLANG,_0x96c7x2);break;case _0xab09[206]:_0x96c7x3= createDropdownFromTigerDialList(_0x96c7x2);break;case _0xab09[209]:_0x96c7x3= createGroupedDropdownFromApi(_0xab09[207],_0x96c7x2,_0xab09[45],_0xab09[44],_0x96c7x8,_0xab09[208]);break;case _0xab09[210]:_0x96c7x3= createDropdownFromApi(_0xab09[143],_0x96c7x2,_0xab09[45],_0xab09[44],_0x96c7x8);break;case _0xab09[212]:_0x96c7x3= createDropdownFromApi(_0xab09[211],_0x96c7x2,_0xab09[45],_0xab09[44],_0x96c7x8);break;case _0xab09[215]:_0x96c7x3= createDropdownFromApi(_0xab09[213],_0x96c7x2,_0xab09[214],_0xab09[44],_0x96c7x8);break;case _0xab09[216]:;case _0xab09[217]:;case _0xab09[218]:;case _0xab09[219]:;case _0xab09[17]:;case _0xab09[220]:;case _0xab09[223]:_0x96c7x3= document[_0xab09[2]](_0xab09[1]);_0x96c7x3[_0xab09[5]](_0xab09[3],_0xab09[221]);_0x96c7x3[_0xab09[5]](_0xab09[222],0);_0x96c7x3[_0xab09[5]](_0xab09[52],1000);_0x96c7x3[_0xab09[5]](_0xab09[23],_0x96c7x2);_0x96c7x3[_0xab09[31]]= _0xab09[137];break;case _0xab09[21]:;case _0xab09[224]:;case _0xab09[225]:;case _0xab09[226]:;case _0xab09[227]:;case _0xab09[50]:_0x96c7x3= document[_0xab09[2]](_0xab09[89]);_0x96c7x3[_0xab09[228]]= _0x96c7x2;_0x96c7x3[_0xab09[31]]= _0xab09[137];break;case _0xab09[231]:_0x96c7x3= document[_0xab09[2]](_0xab09[89]);_0x96c7x3[_0xab09[228]]= _0x96c7x2;_0x96c7x3[_0xab09[31]]= _0xab09[137];_0x96c7x3[_0xab09[5]](_0xab09[229],_0xab09[230]);break;default:_0x96c7x3= document[_0xab09[2]](_0xab09[1]);_0x96c7x3[_0xab09[5]](_0xab09[23],_0x96c7x2);_0x96c7x3[_0xab09[31]]= _0xab09[137];break};_0x96c7x3[_0xab09[5]](_0xab09[44],_0x96c7x3e);var _0x96c7x23=_0x96c7x8[_0xab09[56]](_0xab09[172]);_0x96c7x23[_0xab09[25]](_0x96c7x3);if(mxResources[_0xab09[82]](_0xab09[232]+ _0x96c7x3d)){var _0x96c7x55=_0x96c7x8[_0xab09[56]](_0xab09[233]);_0x96c7x55[_0xab09[31]]= _0xab09[234];mxUtils[_0xab09[84]](_0x96c7x55,mxResources[_0xab09[82]](_0xab09[232]+ _0x96c7x3d));_0x96c7x23[_0xab09[25]](_0x96c7x55)};_0x96c7x4e[_0xab09[25]](_0x96c7x23);_0x96c7x4d[_0xab09[25]](_0x96c7x4e)};_0x96c7x28[_0xab09[25]](_0x96c7x4d);var _0x96c7x35=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[138]),mxUtils[_0xab09[108]](this,function(_0x96c7x36){for(var _0x96c7x54=0;_0x96c7x54< _0x96c7x51[_0xab09[23]][_0xab09[181]][_0xab09[144]];_0x96c7x54++){var _0x96c7x3e=_0xab09[130]+ _0x96c7x51[_0xab09[23]][_0xab09[181]][_0x96c7x54][_0xab09[45]];var _0x96c7x3d=_0x96c7x51[_0xab09[23]][_0xab09[181]][_0x96c7x54][_0xab09[45]];_0x96c7x51[_0xab09[5]](_0x96c7x3d,document[_0xab09[235]](_0x96c7x3e)[_0xab09[23]])};_0x96c7x52[_0xab09[236]](_0x96c7x51);_0x96c7x8[_0xab09[85]]()}));_0x96c7x35[_0xab09[31]]= _0xab09[109];var _0x96c7x38=mxUtils[_0xab09[86]](mxResources[_0xab09[82]](_0xab09[110]),function(){_0x96c7x8[_0xab09[85]]()});_0x96c7x38[_0xab09[31]]= _0xab09[111];_0x96c7x29[_0xab09[25]](_0x96c7x35);_0x96c7x29[_0xab09[25]](_0x96c7x38);_0x96c7x26[_0xab09[25]](_0x96c7x27);_0x96c7x26[_0xab09[25]](_0x96c7x28);_0x96c7x26[_0xab09[25]](_0x96c7x29);this[_0xab09[70]]= _0x96c7x26} \ No newline at end of file +var _0x84cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x69\x6E\x70\x75\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x74\x79\x70\x65","\x63\x68\x65\x63\x6B\x62\x6F\x78","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x68\x65\x63\x6B\x65\x64","\x47\x45\x54","\x6F\x70\x65\x6E","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x64\x61\x74\x61","\x65\x64\x69\x74\x6F\x72","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x73\x65\x6C\x65\x63\x74","\x6F\x70\x74\x69\x6F\x6E","\x74\x65\x78\x74","\x2D\x2D\x20\x4E\x6F\x6E\x65\x20\x2D\x2D","\x76\x61\x6C\x75\x65","\x2D\x31","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x25","\x72\x65\x70\x6C\x61\x63\x65","\x66\x6F\x72\x45\x61\x63\x68","\x73\x65\x6C\x65\x63\x74\x65\x64","\x72\x6F\x77\x73","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C\x20\x73\x65\x6C\x65\x63\x74\x32","\x30","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x66\x61\x74\x68\x65\x72","\x74\x6F\x55\x70\x70\x65\x72\x43\x61\x73\x65","\x73\x65\x6C\x65\x63\x74\x2D\x67\x72\x6F\x75\x70\x2D\x73\x6F\x6E","\x2D","\x63\x61\x70\x69\x74\x61\x6C\x69\x7A\x65","","\x50\x4F\x53\x54","\x2F\x61\x70\x69\x2F\x72\x65\x73\x74\x2F\x6C\x69\x73\x74\x2F\x6C\x69\x73\x74","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x52\x4D\x49","\x69\x64","\x6E\x61\x6D\x65","\x6C\x6F\x67","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x73\x63\x72\x6F\x6C\x6C\x57\x69\x64\x74\x68","\x62\x6F\x64\x79","\x72\x6F\x75\x6E\x64","\x6D\x61\x78","\x73\x63\x72\x6F\x6C\x6C\x48\x65\x69\x67\x68\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x44\x69\x61\x6C\x6F\x67","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x6D\x6F\x64\x61\x6C\x20\x66\x61\x64\x65\x20\x69\x6E\x20\x63\x65\x6E\x74\x65\x72","\x64\x69\x73\x70\x6C\x61\x79","\x73\x74\x79\x6C\x65","\x62\x6C\x6F\x63\x6B","\x70\x61\x64\x64\x69\x6E\x67\x52\x69\x67\x68\x74","\x31\x32\x70\x78","\x67\x65\x4D\x6F\x64\x61\x6C\x44\x69\x61\x6C\x6F\x67","\x6D\x6F\x64\x61\x6C\x2D\x64\x69\x61\x6C\x6F\x67","\x62\x67","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x6D\x6F\x64\x61\x6C\x2D\x62\x61\x63\x6B\x64\x72\x6F\x70\x20\x66\x61\x64\x65\x20\x69\x6E","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x6E\x44\x69\x61\x6C\x6F\x67\x43\x6C\x6F\x73\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x6C\x6F\x73\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x64\x61\x6C\x2D\x63\x6F\x6E\x74\x65\x6E\x74","\x6D\x6F\x64\x61\x6C\x2D\x68\x65\x61\x64\x65\x72","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79","\x6D\x6F\x64\x61\x6C\x2D\x66\x6F\x6F\x74\x65\x72","\x68\x34","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x69\x6D\x70\x6F\x72\x74","\x67\x65\x74","\x20\x58\x4D\x4C","\x77\x72\x69\x74\x65","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x62\x75\x74\x74\x6F\x6E","\x72\x6F\x77","\x63\x6F\x6C\x2D\x6D\x64\x2D\x31\x32","\x74\x65\x78\x74\x61\x72\x65\x61","\x77\x69\x64\x74\x68","\x31\x30\x30\x25","\x68\x65\x69\x67\x68\x74","\x33\x37\x34\x70\x78","\x66\x69\x6C\x65","\x61\x63\x63\x65\x70\x74","\x74\x65\x78\x74\x2F\x78\x6D\x6C","\x63\x68\x61\x6E\x67\x65","\x66\x69\x6C\x65\x73","\x74\x61\x72\x67\x65\x74","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x73\x75\x6C\x74","\x72\x65\x61\x64\x41\x73\x54\x65\x78\x74","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x6F\x72\x6D\x61\x74\x20\x66\x69\x6C\x65","\x46\x61\x69\x6C\x65\x64\x20\x74\x6F\x20\x6C\x6F\x61\x64\x20\x66\x69\x6C\x65","\x61\x64\x64\x45\x76\x65\x6E\x74\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x62\x69\x6E\x64","\x62\x74\x6E\x20\x62\x6C\x75\x65","\x63\x61\x6E\x63\x65\x6C","\x62\x74\x6E\x20\x64\x65\x66\x61\x75\x6C\x74","\x61\x62\x6F\x75\x74","\x20\x43\x61\x6C\x6C\x79\x20\x53\x71\x75\x61\x72\x65","\x69\x6D\x67","\x62\x6F\x72\x64\x65\x72","\x30\x70\x78","\x31\x37\x36","\x31\x35\x31","\x73\x72\x63","\x2F\x6C\x6F\x67\x6F\x2E\x70\x6E\x67","\x62\x72","\x50\x6F\x77\x65\x72\x65\x64\x20\x62\x79\x20\x58\x65\x6E\x69\x61\x6C\x61\x62\x20","\x56\x45\x52\x53\x49\x4F\x4E","\x61","\x68\x72\x65\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D\x2F","\x5F\x62\x6C\x61\x6E\x6B","\x77\x77\x77\x2E\x63\x61\x6C\x6C\x79\x73\x71\x75\x61\x72\x65\x2E\x63\x6F\x6D","\x73\x61\x76\x65\x41\x73","\x5F","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x63\x6F\x6C\x2D\x6D\x64\x2D\x34","\x63\x6F\x6C\x2D\x6D\x64\x2D\x38","\x6C\x61\x62\x65\x6C","\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C\x20\x70\x75\x6C\x6C\x2D\x72\x69\x67\x68\x74","\x5F\x63\x6F\x70\x79","\x66\x6F\x72\x6D\x2D\x63\x6F\x6E\x74\x72\x6F\x6C","\x73\x61\x76\x65","\x6E\x65\x77","\x5F\x6E\x65\x77","\x76\x61\x72\x69\x61\x62\x6C\x65","\x76\x61\x72\x69\x61\x62\x6C\x65\x20\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73","\x6C\x65\x6E\x67\x74\x68","\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x2F","\x72\x65\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x50\x55\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x6E\x61\x6D\x65\x3D","\x50\x72\x6F\x6A\x65\x63\x74\x20\x73\x75\x63\x63\x65\x73\x73\x66\x75\x6C\x6C\x79\x20\x72\x65\x6E\x61\x6D\x65\x64","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x65\x73\x73\x61\x67\x65","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x6C\x65\x72\x74","\x65\x64\x69\x74","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x73\x74\x6F\x70\x50\x72\x6F\x70\x61\x67\x61\x74\x69\x6F\x6E","\x70\x72\x65\x76\x65\x6E\x74\x44\x65\x66\x61\x75\x6C\x74","\x64\x61\x74\x61\x54\x72\x61\x6E\x73\x66\x65\x72","\x64\x72\x61\x67\x6F\x76\x65\x72","\x64\x72\x6F\x70","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D","\x65\x78\x70\x6F\x72\x74","\x66\x6F\x72\x6D\x2D\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x20\x66\x6F\x72\x6D\x2D\x72\x6F\x77\x2D\x73\x65\x70\x65\x72\x61\x74\x65\x64","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70\x20\x6C\x61\x73\x74","\x63\x6F\x6C\x2D\x73\x6D\x2D\x34\x20\x63\x6F\x6E\x74\x72\x6F\x6C\x2D\x6C\x61\x62\x65\x6C","\x63\x6F\x6C\x2D\x73\x6D\x2D\x38","\x67\x65\x74\x58\x6D\x6C","\x73\x69\x6D\x75\x6C\x61\x74\x65","\x2F\x64\x6F\x77\x6E\x6C\x6F\x61\x64","\x66\x69\x6C\x65\x6E\x61\x6D\x65\x3D","\x67\x72\x61\x70\x68","\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x20\x66\x6F\x72\x6D\x20\x6D\x6F\x64\x61\x6C\x2D\x62\x6F\x64\x79\x2D\x73\x63\x72\x6F\x6C\x6C","\x20","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x61\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x66\x6F\x72\x6D\x2D\x67\x72\x6F\x75\x70","\x2F\x61\x70\x69\x2F\x61\x67\x65\x6E\x74\x73","\x73\x69\x70\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x71\x75\x65\x75\x65\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x74\x72\x75\x6E\x6B\x73","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x2F\x61\x70\x69\x2F\x6D\x61\x69\x6C\x2F\x73\x65\x72\x76\x65\x72\x73\x2F\x6F\x75\x74","\x75\x73\x65\x72\x6E\x61\x6D\x65","\x2F\x61\x70\x69\x2F\x73\x6D\x73\x2F\x61\x63\x63\x6F\x75\x6E\x74\x73","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x63\x6F\x6E\x74\x65\x78\x74\x73","\x63\x6F\x6E\x74\x65\x78\x74","\x2F\x61\x70\x69\x2F\x76\x6F\x69\x63\x65\x2F\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C\x73","\x6D\x61\x69\x6C\x62\x6F\x78","\x25\x6D\x61\x69\x6C\x62\x6F\x78\x25\x40\x25\x63\x6F\x6E\x74\x65\x78\x74\x25","\x6D\x6F\x64\x65\x6C","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x62\x65\x65\x70","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x6C\x69\x73\x74\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x69\x6E\x74\x65\x72\x76\x61\x6C\x73","\x53\x75\x62\x49\x6E\x74\x65\x72\x76\x61\x6C\x73","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x6F\x64\x62\x63","\x6F\x64\x62\x63\x5F\x69\x64","\x2F\x61\x70\x69\x2F\x73\x6F\x75\x6E\x64\x73","\x64\x69\x73\x70\x6C\x61\x79\x5F\x6E\x61\x6D\x65","\x66\x69\x6C\x65\x5F\x69\x64","\x74\x69\x6D\x65\x6F\x75\x74","\x64\x69\x67\x69\x74","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x72\x65\x74\x72\x79","\x6E\x75\x6D\x62\x65\x72","\x6D\x69\x6E","\x73\x70\x65\x65\x64","\x6B\x65\x79","\x71\x75\x65\x72\x79","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x63\x6F\x6D\x6D\x61\x6E\x64","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x6D\x61\x78\x6C\x65\x6E\x67\x74\x68","\x31\x36\x30","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x68\x65\x6C\x70\x5F","\x70","\x68\x65\x6C\x70\x2D\x62\x6C\x6F\x63\x6B","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x72\x65\x66\x72\x65\x73\x68"];_0x84cd[0];function createCheckbox(_0x9f68x2){var _0x9f68x3=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x3[_0x84cd[5]](_0x84cd[3],_0x84cd[4]);if(_0x9f68x2){_0x9f68x3[_0x84cd[5]](_0x84cd[6],true)};return _0x9f68x3}function createDropdownFromApi(_0x9f68x5,_0x9f68x2,_0x9f68x6,_0x9f68x7,_0x9f68x8,_0x9f68x9,_0x9f68xa){var _0x9f68xb= new XMLHttpRequest();_0x9f68xb[_0x84cd[8]](_0x84cd[7],_0x9f68x5,false);_0x9f68xb[_0x84cd[14]](_0x84cd[9],_0x84cd[10]+ _0x9f68x8[_0x84cd[13]][_0x84cd[12]][_0x84cd[11]]);_0x9f68xb[_0x84cd[15]](null);var _0x9f68xc=[];if(_0x9f68xb[_0x84cd[16]]=== 200){_0x9f68xc= JSON[_0x84cd[18]](_0x9f68xb[_0x84cd[17]])};var _0x9f68x3=document[_0x84cd[2]](_0x84cd[19]);var _0x9f68xd=document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[21]]= _0x84cd[22];_0x9f68xd[_0x84cd[23]]= _0x84cd[24];_0x9f68x3[_0x84cd[25]](_0x9f68xd);_0x9f68xc[_0x84cd[30]][_0x84cd[28]](function(_0x9f68xe){_0x9f68xd= document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[21]]= _0x9f68xe[_0x9f68x6];if(_0x9f68x9&& _0x9f68xa){_0x9f68x9[_0x84cd[28]](function(_0x9f68xf){_0x9f68xa= _0x9f68xa[_0x84cd[27]](_0x84cd[26]+ _0x9f68xf+ _0x84cd[26],_0x9f68xe[_0x9f68xf])});_0x9f68xd[_0x84cd[23]]= _0x9f68xa;_0x9f68xd[_0x84cd[29]]= (_0x9f68xa== _0x9f68x2)}else {_0x9f68xd[_0x84cd[23]]= _0x9f68xe[_0x9f68x7];_0x9f68xd[_0x84cd[29]]= (_0x9f68xe[_0x9f68x7]== _0x9f68x2)};_0x9f68x3[_0x84cd[25]](_0x9f68xd)});_0x9f68x3[_0x84cd[31]]= _0x84cd[32];return _0x9f68x3}function createGroupedDropdownFromApi(_0x9f68x5,_0x9f68x2,_0x9f68x6,_0x9f68x7,_0x9f68x8,_0x9f68x11){var _0x9f68xb= new XMLHttpRequest();_0x9f68xb[_0x84cd[8]](_0x84cd[7],_0x9f68x5,false);_0x9f68xb[_0x84cd[14]](_0x84cd[9],_0x84cd[10]+ _0x9f68x8[_0x84cd[13]][_0x84cd[12]][_0x84cd[11]]);_0x9f68xb[_0x84cd[15]](null);var _0x9f68xc=[];if(_0x9f68xb[_0x84cd[16]]=== 200){_0x9f68xc= JSON[_0x84cd[18]](_0x9f68xb[_0x84cd[17]])};var _0x9f68x3=document[_0x84cd[2]](_0x84cd[19]);var _0x9f68xd=document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[21]]= _0x84cd[22];_0x9f68xd[_0x84cd[23]]= _0x84cd[33];_0x9f68x3[_0x84cd[25]](_0x9f68xd);_0x9f68xc[_0x84cd[30]][_0x84cd[28]](function(_0x9f68xe){_0x9f68xd= document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[31]]= _0x84cd[34];_0x9f68xd[_0x84cd[21]]= _0x9f68xe[_0x9f68x6][_0x84cd[35]]();_0x9f68xd[_0x84cd[23]]= _0x9f68xe[_0x9f68x7];_0x9f68xd[_0x84cd[29]]= (_0x9f68xe[_0x9f68x7]== _0x9f68x2);_0x9f68x3[_0x84cd[25]](_0x9f68xd);_0x9f68xe[_0x9f68x11][_0x84cd[28]](function(_0x9f68xe){_0x9f68xd= document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[31]]= _0x84cd[36];_0x9f68xd[_0x84cd[21]]= _0x84cd[37]+ _[_0x84cd[38]](_0x9f68xe[_0x9f68x6]);_0x9f68xd[_0x84cd[23]]= _0x9f68xe[_0x9f68x7];_0x9f68xd[_0x84cd[29]]= (_0x9f68xe[_0x9f68x7]== _0x9f68x2);_0x9f68x3[_0x84cd[25]](_0x9f68xd)})});_0x9f68x3[_0x84cd[31]]= _0x84cd[32];return _0x9f68x3}function createDropdownFromArray(_0x9f68x13,_0x9f68x2){var _0x9f68x3=document[_0x84cd[2]](_0x84cd[19]);for(var _0x9f68x14 in _0x9f68x13){var _0x9f68xd=document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[21]]= _0x9f68x13[_0x9f68x14];_0x9f68xd[_0x84cd[23]]= _0x9f68x14;if(_0x9f68x2> 0|| _0x9f68x2!= _0x84cd[39]){_0x9f68xd[_0x84cd[29]]= (_0x9f68x2=== _0x9f68x14)?true:false};_0x9f68x3[_0x84cd[25]](_0x9f68xd)};_0x9f68x3[_0x84cd[31]]= _0x84cd[32];return _0x9f68x3}function createDropdownFromTigerDialList(_0x9f68x2){var _0x9f68x3=document[_0x84cd[2]](_0x84cd[19]);var _0x9f68x13=[];var _0x9f68x16= new XMLHttpRequest();try{_0x9f68x16[_0x84cd[8]](_0x84cd[40],_0x84cd[41],false);_0x9f68x16[_0x84cd[15]](JSON[_0x84cd[42]]({page:1,size:600000}));if(_0x9f68x16[_0x84cd[16]]=== 200){var _0x9f68xc=JSON[_0x84cd[18]](_0x9f68x16[_0x84cd[17]]);if(_0x9f68xc[_0x84cd[16]]> 0){var _0x9f68x17=_0x9f68xc[_0x84cd[17]][_0x84cd[43]][_0x84cd[30]];for(var _0x9f68x18 in _0x9f68x17){_0x9f68x13[_0x9f68x17[_0x9f68x18][_0x84cd[44]]]= _0x9f68x17[_0x9f68x18][_0x84cd[45]]}}}}catch(e){console[_0x84cd[46]](e)};for(var _0x9f68x14 in _0x9f68x13){var _0x9f68xd=document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[21]]= _0x9f68x13[_0x9f68x14];_0x9f68xd[_0x84cd[23]]= _0x9f68x14;if(_0x9f68x2> 0|| _0x9f68x2!= _0x84cd[39]){_0x9f68xd[_0x84cd[29]]= (_0x9f68x2=== _0x9f68x14)?true:false};_0x9f68x3[_0x84cd[25]](_0x9f68xd)};_0x9f68x3[_0x84cd[31]]= _0x84cd[32];return _0x9f68x3}function Dialog(_0x9f68x8,_0x9f68x1a,_0x9f68x1b,_0x9f68x1c,_0x9f68x1d,_0x9f68x1e,_0x9f68x1f){var _0x9f68x20=0;if(mxClient[_0x84cd[47]]&& document[_0x84cd[48]]!= 9){_0x9f68x20= 60};_0x9f68x1b+= _0x9f68x20;_0x9f68x1c+= _0x9f68x20;var _0x9f68x21=Math[_0x84cd[52]](0,Math[_0x84cd[51]]((document[_0x84cd[50]][_0x84cd[49]]- _0x9f68x1b)/ 2));var _0x9f68x22=Math[_0x84cd[52]](0,Math[_0x84cd[51]]((Math[_0x84cd[52]](document[_0x84cd[50]][_0x84cd[53]],document[_0x84cd[54]][_0x84cd[53]])- _0x9f68x1c)/ 3));var _0x9f68x23=_0x9f68x8[_0x84cd[56]](_0x84cd[55]);_0x9f68x23[_0x84cd[31]]= _0x84cd[57];_0x9f68x23[_0x84cd[59]][_0x84cd[58]]= _0x84cd[60];_0x9f68x23[_0x84cd[59]][_0x84cd[61]]= _0x84cd[62];var _0x9f68x24=_0x9f68x8[_0x84cd[56]](_0x84cd[63]);_0x9f68x24[_0x84cd[31]]= _0x84cd[64];_0x9f68x24[_0x84cd[25]](_0x9f68x1a);_0x9f68x23[_0x84cd[25]](_0x9f68x24);if(this[_0x84cd[65]]== null){this[_0x84cd[65]]= _0x9f68x8[_0x84cd[56]](_0x84cd[66]);this[_0x84cd[65]][_0x84cd[31]]= _0x84cd[67];if(mxClient[_0x84cd[68]]){ new mxDivResizer(this[_0x84cd[65]])}};if(_0x9f68x1d){document[_0x84cd[50]][_0x84cd[25]](this[_0x84cd[65]])};document[_0x84cd[50]][_0x84cd[25]](_0x9f68x23);this[_0x84cd[69]]= _0x9f68x1f;this[_0x84cd[70]]= _0x9f68x23}Dialog[_0x84cd[72]][_0x84cd[71]]= function(){if(this[_0x84cd[69]]!= null){this[_0x84cd[69]]();this[_0x84cd[69]]= null};this[_0x84cd[70]][_0x84cd[74]][_0x84cd[73]](this[_0x84cd[70]]);this[_0x84cd[65]][_0x84cd[74]][_0x84cd[73]](this[_0x84cd[65]])};function ImportDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[81])+ _0x84cd[83]);var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[88]);var _0x9f68x2e=document[_0x84cd[2]](_0x84cd[89]);_0x9f68x2e[_0x84cd[59]][_0x84cd[90]]= _0x84cd[91];_0x9f68x2e[_0x84cd[59]][_0x84cd[92]]= _0x84cd[93];var _0x9f68x3=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x3[_0x84cd[3]]= _0x84cd[94];_0x9f68x3[_0x84cd[5]](_0x84cd[95],_0x84cd[96]);_0x9f68x3[_0x84cd[105]](_0x84cd[97],function _0x9f68x2f(_0x9f68x30){var _0x9f68x31=_0x9f68x30[_0x84cd[99]][_0x84cd[98]][0];console[_0x84cd[46]](_0x9f68x31);if(_0x9f68x31){if(_0x9f68x31[_0x84cd[3]]=== _0x84cd[96]){var _0x9f68x32= new FileReader();_0x9f68x32[_0x84cd[100]]= function(_0x9f68x33){var _0x9f68x34=_0x9f68x33[_0x84cd[99]][_0x84cd[101]];mxUtils[_0x84cd[84]](_0x9f68x2e,_0x9f68x34)};_0x9f68x32[_0x84cd[102]](_0x9f68x31)}else {alert(_0x84cd[103])}}else {alert(_0x84cd[104])}},false);_0x9f68x2d[_0x84cd[25]](_0x9f68x3);_0x9f68x2d[_0x84cd[25]](_0x9f68x2e);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[81]),mxUtils[_0x84cd[108]](this,function(_0x9f68x36){var _0x9f68x37=mxUtils[_0x84cd[106]](_0x9f68x2e[_0x84cd[23]]);_0x9f68x8[_0x84cd[13]][_0x84cd[107]](_0x9f68x37[_0x84cd[54]]);_0x9f68x8[_0x84cd[85]]()}));_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function AboutDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[112])+ _0x84cd[113]);var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x3a=document[_0x84cd[2]](_0x84cd[114]);_0x9f68x3a[_0x84cd[59]][_0x84cd[115]]= _0x84cd[116];_0x9f68x3a[_0x84cd[5]](_0x84cd[90],_0x84cd[117]);_0x9f68x3a[_0x84cd[5]](_0x84cd[90],_0x84cd[118]);_0x9f68x3a[_0x84cd[5]](_0x84cd[119],IMAGE_PATH+ _0x84cd[120]);_0x9f68x28[_0x84cd[25]](_0x9f68x3a);mxUtils[_0x84cd[121]](_0x9f68x28);mxUtils[_0x84cd[84]](_0x9f68x28,_0x84cd[122]+ mxClient[_0x84cd[123]]);mxUtils[_0x84cd[121]](_0x9f68x28);var _0x9f68x3b=document[_0x84cd[2]](_0x84cd[124]);_0x9f68x3b[_0x84cd[5]](_0x84cd[125],_0x84cd[126]);_0x9f68x3b[_0x84cd[5]](_0x84cd[99],_0x84cd[127]);mxUtils[_0x84cd[84]](_0x9f68x3b,_0x84cd[128]);_0x9f68x28[_0x84cd[25]](_0x9f68x3b);mxUtils[_0x84cd[121]](_0x9f68x28);mxUtils[_0x84cd[121]](_0x9f68x28);var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[71]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function SaveDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[129]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x3d=_0x84cd[45];var _0x9f68x3e=_0x84cd[130]+ _0x9f68x3d;var _0x9f68x2=_0x9f68x8[_0x84cd[13]][_0x84cd[131]]();var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[132]);var _0x9f68x3f=_0x9f68x8[_0x84cd[56]](_0x84cd[133]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[135];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x9f68x3d));_0x9f68x2d[_0x84cd[25]](_0x9f68x40);var _0x9f68x41=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x41[_0x84cd[5]](_0x84cd[23],_0x9f68x2+ _0x84cd[136]);_0x9f68x41[_0x84cd[5]](_0x84cd[44],_0x9f68x3e);_0x9f68x41[_0x84cd[31]]= _0x84cd[137];_0x9f68x3f[_0x84cd[25]](_0x9f68x41);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x2c[_0x84cd[25]](_0x9f68x3f);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[138]),function(){_0x9f68x8[_0x84cd[129]](_0x9f68x41[_0x84cd[23]]);_0x9f68x8[_0x84cd[85]]()});_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function NewDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[139]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x3d=_0x84cd[45];var _0x9f68x3e=_0x84cd[130]+ _0x9f68x3d;var _0x9f68x2=_0x9f68x8[_0x84cd[13]][_0x84cd[131]]();var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[132]);var _0x9f68x3f=_0x9f68x8[_0x84cd[56]](_0x84cd[133]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[135];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x9f68x3d));_0x9f68x2d[_0x84cd[25]](_0x9f68x40);var _0x9f68x41=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x41[_0x84cd[5]](_0x84cd[23],_0x9f68x2+ _0x84cd[140]);_0x9f68x41[_0x84cd[5]](_0x84cd[44],_0x9f68x3e);_0x9f68x41[_0x84cd[31]]= _0x84cd[137];_0x9f68x3f[_0x84cd[25]](_0x9f68x41);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x2c[_0x84cd[25]](_0x9f68x3f);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[139]),function(){_0x9f68x8[_0x84cd[139]](_0x9f68x41[_0x84cd[23]]);_0x9f68x8[_0x84cd[85]]()});_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function VariableDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[141]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x3d=_0x84cd[45];var _0x9f68x3e=_0x84cd[130]+ _0x9f68x3d;var _0x9f68x2=_0x9f68x8[_0x84cd[13]][_0x84cd[131]]();var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[132]);var _0x9f68x3f=_0x9f68x8[_0x84cd[56]](_0x84cd[133]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[135];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x9f68x3d));_0x9f68x2d[_0x84cd[25]](_0x9f68x40);var _0x9f68x41=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x41[_0x84cd[5]](_0x84cd[23],_0x84cd[142]);_0x9f68x41[_0x84cd[5]](_0x84cd[44],_0x9f68x3e);_0x9f68x41[_0x84cd[31]]= _0x84cd[137];_0x9f68x3f[_0x84cd[25]](_0x9f68x41);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x2c[_0x84cd[25]](_0x9f68x3f);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[139]),function(){_0x9f68x8[_0x84cd[141]](_0x9f68x41[_0x84cd[23]]);_0x9f68x8[_0x84cd[85]]()});_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function OpenDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[8]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[132]);var _0x9f68x3f=_0x9f68x8[_0x84cd[56]](_0x84cd[133]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[135];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x84cd[45]));_0x9f68x2d[_0x84cd[25]](_0x9f68x40);var _0x9f68xb= new XMLHttpRequest();_0x9f68xb[_0x84cd[8]](_0x84cd[7],_0x84cd[143],false);_0x9f68xb[_0x84cd[14]](_0x84cd[9],_0x84cd[10]+ _0x9f68x8[_0x84cd[13]][_0x84cd[12]][_0x84cd[11]]);_0x9f68xb[_0x84cd[15]](null);var _0x9f68xc=[];if(_0x9f68xb[_0x84cd[16]]=== 200){_0x9f68xc= JSON[_0x84cd[18]](_0x9f68xb[_0x84cd[17]])};var _0x9f68x41=document[_0x84cd[2]](_0x84cd[19]);for(var _0x9f68x45=0;_0x9f68x45< _0x9f68xc[_0x84cd[144]];_0x9f68x45++){var _0x9f68xd=document[_0x84cd[2]](_0x84cd[20]);_0x9f68xd[_0x84cd[21]]= _0x9f68xc[_0x9f68x45][_0x84cd[45]];_0x9f68xd[_0x84cd[23]]= _0x9f68xc[_0x9f68x45][_0x84cd[44]];_0x9f68x41[_0x84cd[25]](_0x9f68xd)};_0x9f68x41[_0x84cd[31]]= _0x84cd[137];_0x9f68x3f[_0x84cd[25]](_0x9f68x41);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x2c[_0x84cd[25]](_0x9f68x3f);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[8]),function(){console[_0x84cd[46]](_0x9f68x41);console[_0x84cd[46]](_0x9f68x41[_0x84cd[23]]);window[_0x84cd[8]](_0x84cd[145]+ _0x9f68x41[_0x84cd[23]],_0x84cd[127]);_0x9f68x8[_0x84cd[85]]()});_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function RenameDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[146]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[132]);var _0x9f68x3f=_0x9f68x8[_0x84cd[56]](_0x84cd[133]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[135];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x84cd[45]));_0x9f68x2d[_0x84cd[25]](_0x9f68x40);var _0x9f68x3d=_0x9f68x8[_0x84cd[13]][_0x84cd[147]];var _0x9f68x3=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x3[_0x84cd[5]](_0x84cd[23],_0x9f68x3d);_0x9f68x3[_0x84cd[31]]= _0x84cd[137];_0x9f68x3f[_0x84cd[25]](_0x9f68x3);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x2c[_0x84cd[25]](_0x9f68x3f);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[138]),function(){var _0x9f68xb= new XMLHttpRequest();_0x9f68xb[_0x84cd[8]](_0x84cd[148],SAVE_URL+ _0x9f68x8[_0x84cd[13]][_0x84cd[12]][_0x84cd[44]],true);_0x9f68xb[_0x84cd[14]](_0x84cd[149],_0x84cd[150]);_0x9f68xb[_0x84cd[14]](_0x84cd[9],_0x84cd[10]+ _0x9f68x8[_0x84cd[13]][_0x84cd[12]][_0x84cd[11]]);_0x9f68xb[_0x84cd[15]](_0x84cd[151]+ _0x9f68x3[_0x84cd[23]]);_0x9f68xb[_0x84cd[100]]= function(_0x9f68x33){if(_0x9f68xb[_0x84cd[16]]=== 200){_0x9f68x8[_0x84cd[13]][_0x84cd[153]](_0x84cd[152]);_0x9f68x8[_0x84cd[13]][_0x84cd[147]]= _0x9f68x3[_0x84cd[23]]}else {console[_0x84cd[46]](_0x9f68xb[_0x84cd[17]]);_0x9f68x8[_0x84cd[13]][_0x84cd[153]](JSON[_0x84cd[18]](_0x9f68xb[_0x84cd[17]])[_0x84cd[155]][0][_0x84cd[154]])}};_0x9f68xb[_0x84cd[156]]= function(_0x9f68x33){mxUtils[_0x84cd[158]](_0x9f68xb[_0x84cd[157]])};_0x9f68x8[_0x84cd[85]]()});_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function EditFileDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[77]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[159]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x2c=_0x9f68x8[_0x84cd[56]](_0x84cd[87]);var _0x9f68x2d=_0x9f68x8[_0x84cd[56]](_0x84cd[88]);var _0x9f68x2e=document[_0x84cd[2]](_0x84cd[89]);_0x9f68x2e[_0x84cd[59]][_0x84cd[90]]= _0x84cd[91];_0x9f68x2e[_0x84cd[59]][_0x84cd[92]]= _0x84cd[93];_0x9f68x2e[_0x84cd[23]]= mxUtils[_0x84cd[161]](_0x9f68x8[_0x84cd[13]][_0x84cd[160]]());if(fileSupport){function _0x9f68x48(_0x9f68x30){_0x9f68x30[_0x84cd[162]]();_0x9f68x30[_0x84cd[163]]();if(_0x9f68x30[_0x84cd[164]][_0x84cd[98]][_0x84cd[144]]> 0){var _0x9f68x49=_0x9f68x30[_0x84cd[164]][_0x84cd[98]][0];var _0x9f68x4a= new FileReader();_0x9f68x4a[_0x84cd[100]]= function(_0x9f68x33){_0x9f68x2e[_0x84cd[23]]= _0x9f68x33[_0x84cd[99]][_0x84cd[101]]};_0x9f68x4a[_0x84cd[102]](_0x9f68x49)}}function _0x9f68x4b(_0x9f68x30){_0x9f68x30[_0x84cd[162]]();_0x9f68x30[_0x84cd[163]]()}_0x9f68x2e[_0x84cd[105]](_0x84cd[165],_0x9f68x4b,false);_0x9f68x2e[_0x84cd[105]](_0x84cd[166],_0x9f68x48,false)};_0x9f68x2d[_0x84cd[25]](_0x9f68x2e);_0x9f68x2c[_0x84cd[25]](_0x9f68x2d);_0x9f68x28[_0x84cd[25]](_0x9f68x2c);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[138]),function(){var _0x9f68x37=mxUtils[_0x84cd[106]](_0x9f68x2e[_0x84cd[23]]);_0x9f68x8[_0x84cd[13]][_0x84cd[107]](_0x9f68x37[_0x84cd[54]]);_0x9f68x8[_0x84cd[85]]()});_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function ExportDialog(_0x9f68x8){var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[167]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[168])+ _0x84cd[83]);var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x4d=_0x9f68x8[_0x84cd[56]](_0x84cd[169]);var _0x9f68x4e=_0x9f68x8[_0x84cd[56]](_0x84cd[170]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[171];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x84cd[147]));var _0x9f68x3=document[_0x84cd[2]](_0x84cd[1]);_0x9f68x3[_0x84cd[5]](_0x84cd[23],_0x9f68x8[_0x84cd[13]][_0x84cd[131]]());_0x9f68x3[_0x84cd[31]]= _0x84cd[137];var _0x9f68x23=_0x9f68x8[_0x84cd[56]](_0x84cd[172]);_0x9f68x23[_0x84cd[25]](_0x9f68x3);_0x9f68x4e[_0x84cd[25]](_0x9f68x40);_0x9f68x4e[_0x84cd[25]](_0x9f68x23);_0x9f68x4d[_0x84cd[25]](_0x9f68x4e);_0x9f68x28[_0x84cd[25]](_0x9f68x4d);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[168]),mxUtils[_0x84cd[108]](this,function(_0x9f68x36){_0x9f68x8[_0x84cd[138]](false);var _0x9f68x4f=encodeURIComponent(mxUtils[_0x84cd[173]](_0x9f68x8[_0x84cd[13]][_0x84cd[160]]())); new mxXmlRequest(SAVE_URL+ _0x9f68x8[_0x84cd[13]][_0x84cd[12]][_0x84cd[44]]+ _0x84cd[175],_0x84cd[176]+ _0x9f68x3[_0x84cd[23]],_0x84cd[7])[_0x84cd[174]](document,_0x84cd[127]);_0x9f68x8[_0x84cd[85]]()}));_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26}function GeneralDialog(_0x9f68x8,_0x9f68x51){var _0x9f68x52=_0x9f68x8[_0x84cd[13]][_0x84cd[177]];var _0x9f68x26=_0x9f68x8[_0x84cd[56]](_0x84cd[75]);var _0x9f68x27=_0x9f68x8[_0x84cd[56]](_0x84cd[76]);var _0x9f68x28=_0x9f68x8[_0x84cd[56]](_0x84cd[178]);var _0x9f68x29=_0x9f68x8[_0x84cd[56]](_0x84cd[78]);var _0x9f68x2a=_0x9f68x8[_0x84cd[80]](_0x84cd[79]);mxUtils[_0x84cd[84]](_0x9f68x2a,mxResources[_0x84cd[82]](_0x84cd[159])+ _0x84cd[179]+ mxResources[_0x84cd[82]](_0x9f68x51[_0x84cd[23]][_0x84cd[180]]));var _0x9f68x2b=mxUtils[_0x84cd[86]](_0x84cd[39],function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x2b[_0x84cd[31]]= _0x84cd[71];_0x9f68x27[_0x84cd[25]](_0x9f68x2b);_0x9f68x27[_0x84cd[25]](_0x9f68x2a);var _0x9f68x53=_0x9f68x51[_0x84cd[23]][_0x84cd[181]][_0x84cd[144]];var _0x9f68x4d=_0x9f68x8[_0x84cd[56]](_0x84cd[169]);for(var _0x9f68x54=0;_0x9f68x54< _0x9f68x53;_0x9f68x54++){var _0x9f68x3d=_0x9f68x51[_0x84cd[23]][_0x84cd[181]][_0x9f68x54][_0x84cd[45]];var _0x9f68x3e=_0x84cd[130]+ _0x9f68x3d;var _0x9f68x2=_0x9f68x51[_0x84cd[23]][_0x84cd[181]][_0x9f68x54][_0x84cd[23]];var _0x9f68x4e=_0x9f68x8[_0x84cd[56]]((_0x9f68x54== _0x9f68x53- 1)?_0x84cd[170]:_0x84cd[182]);var _0x9f68x40=document[_0x84cd[2]](_0x84cd[134]);_0x9f68x40[_0x84cd[31]]= _0x84cd[171];mxUtils[_0x84cd[84]](_0x9f68x40,mxResources[_0x84cd[82]](_0x9f68x3d));_0x9f68x4e[_0x84cd[25]](_0x9f68x40);var _0x9f68x3;switch(_0x9f68x3d){case _0x84cd[184]:_0x9f68x3= createDropdownFromApi(_0x84cd[183],_0x9f68x2,_0x84cd[45],_0x84cd[44],_0x9f68x8);break;case _0x84cd[186]:_0x9f68x3= createDropdownFromApi(_0x84cd[185],_0x9f68x2,_0x84cd[45],_0x84cd[45],_0x9f68x8);break;case _0x84cd[188]:_0x9f68x3= createDropdownFromApi(_0x84cd[187],_0x9f68x2,_0x84cd[45],_0x84cd[45],_0x9f68x8);break;case _0x84cd[190]:_0x9f68x3= createDropdownFromApi(_0x84cd[189],_0x9f68x2,_0x84cd[45],_0x84cd[44],_0x9f68x8);break;case _0x84cd[195]:if(_0x9f68x51[_0x84cd[23]][_0x84cd[180]]== _0x84cd[191]){_0x9f68x3= createDropdownFromApi(_0x84cd[192],_0x9f68x2,_0x84cd[193],_0x84cd[44],_0x9f68x8)}else {_0x9f68x3= createDropdownFromApi(_0x84cd[194],_0x9f68x2,_0x84cd[45],_0x84cd[44],_0x9f68x8)};break;case _0x84cd[197]:_0x9f68x3= createDropdownFromApi(_0x84cd[196],_0x9f68x2,_0x84cd[45],_0x84cd[45],_0x9f68x8);break;case _0x84cd[199]:_0x9f68x3= createDropdownFromApi(_0x84cd[198],_0x9f68x2,_0x84cd[199],_0x84cd[44],_0x9f68x8,[_0x84cd[199],_0x84cd[197]],_0x84cd[200]);break;case _0x84cd[201]:_0x9f68x3= createDropdownFromArray(ISPEECHASRMODEL,_0x9f68x2);break;case _0x84cd[202]:_0x9f68x3= createDropdownFromArray(ISPEECHASRLANG,_0x9f68x2);break;case _0x84cd[203]:_0x9f68x3= createDropdownFromArray(ISPEECHBEEP,_0x9f68x2);break;case _0x84cd[204]:_0x9f68x3= createDropdownFromArray(ISPEECHLANG,_0x9f68x2);break;case _0x84cd[205]:_0x9f68x3= createDropdownFromArray(GOOGLETTSLANG,_0x9f68x2);break;case _0x84cd[206]:_0x9f68x3= createDropdownFromTigerDialList(_0x9f68x2);break;case _0x84cd[209]:_0x9f68x3= createGroupedDropdownFromApi(_0x84cd[207],_0x9f68x2,_0x84cd[45],_0x84cd[44],_0x9f68x8,_0x84cd[208]);break;case _0x84cd[210]:_0x9f68x3= createDropdownFromApi(_0x84cd[143],_0x9f68x2,_0x84cd[45],_0x84cd[44],_0x9f68x8);break;case _0x84cd[212]:_0x9f68x3= createDropdownFromApi(_0x84cd[211],_0x9f68x2,_0x84cd[45],_0x84cd[44],_0x9f68x8);break;case _0x84cd[215]:_0x9f68x3= createDropdownFromApi(_0x84cd[213],_0x9f68x2,_0x84cd[214],_0x84cd[44],_0x9f68x8);break;case _0x84cd[216]:;case _0x84cd[217]:;case _0x84cd[218]:;case _0x84cd[219]:;case _0x84cd[17]:;case _0x84cd[220]:;case _0x84cd[223]:_0x9f68x3= document[_0x84cd[2]](_0x84cd[1]);_0x9f68x3[_0x84cd[5]](_0x84cd[3],_0x84cd[221]);_0x9f68x3[_0x84cd[5]](_0x84cd[222],0);_0x9f68x3[_0x84cd[5]](_0x84cd[52],1000);_0x9f68x3[_0x84cd[5]](_0x84cd[23],_0x9f68x2);_0x9f68x3[_0x84cd[31]]= _0x84cd[137];break;case _0x84cd[21]:;case _0x84cd[224]:;case _0x84cd[225]:;case _0x84cd[226]:;case _0x84cd[227]:;case _0x84cd[50]:_0x9f68x3= document[_0x84cd[2]](_0x84cd[89]);_0x9f68x3[_0x84cd[228]]= _0x9f68x2;_0x9f68x3[_0x84cd[31]]= _0x84cd[137];break;case _0x84cd[231]:_0x9f68x3= document[_0x84cd[2]](_0x84cd[89]);_0x9f68x3[_0x84cd[228]]= _0x9f68x2;_0x9f68x3[_0x84cd[31]]= _0x84cd[137];_0x9f68x3[_0x84cd[5]](_0x84cd[229],_0x84cd[230]);break;default:_0x9f68x3= document[_0x84cd[2]](_0x84cd[1]);_0x9f68x3[_0x84cd[5]](_0x84cd[23],_0x9f68x2);_0x9f68x3[_0x84cd[31]]= _0x84cd[137];break};_0x9f68x3[_0x84cd[5]](_0x84cd[44],_0x9f68x3e);var _0x9f68x23=_0x9f68x8[_0x84cd[56]](_0x84cd[172]);_0x9f68x23[_0x84cd[25]](_0x9f68x3);if(mxResources[_0x84cd[82]](_0x84cd[232]+ _0x9f68x3d)){var _0x9f68x55=_0x9f68x8[_0x84cd[56]](_0x84cd[233]);_0x9f68x55[_0x84cd[31]]= _0x84cd[234];mxUtils[_0x84cd[84]](_0x9f68x55,mxResources[_0x84cd[82]](_0x84cd[232]+ _0x9f68x3d));_0x9f68x23[_0x84cd[25]](_0x9f68x55)};_0x9f68x4e[_0x84cd[25]](_0x9f68x23);_0x9f68x4d[_0x84cd[25]](_0x9f68x4e)};_0x9f68x28[_0x84cd[25]](_0x9f68x4d);var _0x9f68x35=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[138]),mxUtils[_0x84cd[108]](this,function(_0x9f68x36){for(var _0x9f68x54=0;_0x9f68x54< _0x9f68x51[_0x84cd[23]][_0x84cd[181]][_0x84cd[144]];_0x9f68x54++){var _0x9f68x3e=_0x84cd[130]+ _0x9f68x51[_0x84cd[23]][_0x84cd[181]][_0x9f68x54][_0x84cd[45]];var _0x9f68x3d=_0x9f68x51[_0x84cd[23]][_0x84cd[181]][_0x9f68x54][_0x84cd[45]];_0x9f68x51[_0x84cd[5]](_0x9f68x3d,document[_0x84cd[235]](_0x9f68x3e)[_0x84cd[23]])};_0x9f68x52[_0x84cd[236]](_0x9f68x51);_0x9f68x8[_0x84cd[85]]()}));_0x9f68x35[_0x84cd[31]]= _0x84cd[109];var _0x9f68x38=mxUtils[_0x84cd[86]](mxResources[_0x84cd[82]](_0x84cd[110]),function(){_0x9f68x8[_0x84cd[85]]()});_0x9f68x38[_0x84cd[31]]= _0x84cd[111];_0x9f68x29[_0x84cd[25]](_0x9f68x35);_0x9f68x29[_0x84cd[25]](_0x9f68x38);_0x9f68x26[_0x84cd[25]](_0x9f68x27);_0x9f68x26[_0x84cd[25]](_0x9f68x28);_0x9f68x26[_0x84cd[25]](_0x9f68x29);this[_0x84cd[70]]= _0x9f68x26} \ 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 10f1b98..a5a5016 100644 --- a/public/assets/plugins/square/js/Editor.js +++ b/public/assets/plugins/square/js/Editor.js @@ -1 +1 @@ -var _0x2b25=["\x49\x53\x5F\x54\x4F\x55\x43\x48","\x73\x74\x6F\x72\x61\x67\x65","\x6C\x6F\x63\x61\x6C","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x46\x69\x6C\x65","\x46\x69\x6C\x65\x52\x65\x61\x64\x65\x72","\x46\x69\x6C\x65\x4C\x69\x73\x74","\x74\x6F\x75\x63\x68","\x31","\x6F\x70\x65\x6E\x65\x72","\x63\x6F\x75\x6E\x74\x65\x72","\x63\x61\x6C\x6C","\x69\x6E\x69\x74","\x69\x6E\x69\x74\x53\x74\x65\x6E\x63\x69\x6C\x52\x65\x67\x69\x73\x74\x72\x79","\x67\x72\x61\x70\x68","\x6F\x75\x74\x6C\x69\x6E\x65","\x75\x70\x64\x61\x74\x65\x4F\x6E\x50\x61\x6E","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x55\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x74\x61\x74\x75\x73","","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x64\x72\x61\x77\x69\x6E\x67","\x67\x65\x74","\x2E\x78\x6D\x6C","\x67\x65\x74\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x67\x72\x61\x70\x68\x43\x68\x61\x6E\x67\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x70\x70\x6C\x79","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6F\x6E\x62\x65\x66\x6F\x72\x65\x75\x6E\x6C\x6F\x61\x64","\x61\x6C\x6C\x43\x68\x61\x6E\x67\x65\x73\x4C\x6F\x73\x74","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x65\x78\x74\x65\x6E\x64","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x2F\x67\x72\x69\x64\x2E\x67\x69\x66","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x73\x63\x61\x6C\x65","\x76\x69\x65\x77","\x67\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x69\x64","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x30","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x67\x75\x69\x64\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x66\x6F\x6C\x64","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x78","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x64\x78","\x79","\x64\x79","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x70\x61\x67\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x70\x61\x67\x65\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x63\x6F\x64\x65","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x65\x6E\x63\x6F\x64\x65","\x72\x6F\x75\x6E\x64","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x6E\x6F\x6E\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x66\x69\x6C\x6C","\x72\x65\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x23\x65\x62\x65\x62\x65\x62","\x62\x6F\x72\x64\x65\x72\x53\x74\x79\x6C\x65","\x73\x6F\x6C\x69\x64","\x62\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x23\x65\x35\x65\x35\x65\x35","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70\x57\x69\x64\x74\x68","\x31\x70\x78","\x62\x6F\x72\x64\x65\x72\x4C\x65\x66\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x52\x69\x67\x68\x74\x57\x69\x64\x74\x68","\x30\x70\x78","\x62\x6F\x72\x64\x65\x72\x42\x6F\x74\x74\x6F\x6D\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72","\x76\x61\x6C\x69\x64\x61\x74\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x61\x75\x74\x6F","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x6E\x6F\x64\x65","\x49\x53\x5F\x49\x45\x36","\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x2F\x67\x72\x61\x70\x68\x65\x64\x69\x74\x6F\x72\x2D\x69\x65\x36\x2E\x63\x73\x73","\x6C\x69\x6E\x6B","\x6C\x6F\x61\x64\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x61\x64\x64","\x44\x45\x46\x41\x55\x4C\x54\x5F\x48\x4F\x54\x53\x50\x4F\x54","\x63\x72\x65\x61\x74\x65\x4D\x61\x72\x6B\x65\x72","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6E\x67","\x53\x48\x41\x44\x4F\x57\x43\x4F\x4C\x4F\x52","\x23\x64\x30\x64\x30\x64\x30","\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x39\x39\x63\x63\x66\x66","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x38\x38\x63\x66","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x61\x38\x66\x66","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x63\x65\x65\x37\x66\x66","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x44\x45\x46\x41\x55\x4C\x54\x5F\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x47\x55\x49\x44\x45\x5F\x43\x4F\x4C\x4F\x52","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x43\x6F\x6C\x6F\x72","\x23\x63\x30\x63\x30\x63\x30","\x64\x65\x66\x61\x75\x6C\x74\x4F\x70\x61\x63\x69\x74\x79","\x63\x72\x65\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x77\x68\x69\x74\x65","\x23\x63\x61\x63\x61\x63\x61","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x6D\x61\x78","\x63\x65\x69\x6C","\x70\x61\x6E\x47\x72\x61\x70\x68","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x61\x72\x67\x69\x6E\x4C\x65\x66\x74","\x70\x78","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x6D\x61\x67\x65","\x73\x72\x63","\x64\x65\x73\x74\x72\x6F\x79","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x72\x65\x64\x72\x61\x77","\x72\x65\x64\x72\x61\x77\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x73\x53\x68\x61\x64\x6F\x77","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x54\x52\x49\x43\x54\x48\x54\x4D\x4C","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x64\x62\x6C\x63\x6C\x69\x63\x6B","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x69\x73\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x68\x69\x64\x65","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x62\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x6D\x69\x6E\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x69\x73\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x70\x6F\x69\x6E\x74\x73","\x69\x73\x44\x61\x73\x68\x65\x64","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x61\x73\x68\x65\x64","\x61\x64\x64\x50\x69\x70\x65","\x73\x70\x6C\x69\x63\x65","\x76\x65\x72\x74\x69\x63\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x73\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x73\x68\x6F\x75\x6C\x64\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x72\x65\x6C\x61\x74\x69\x76\x65","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x41\x6C\x74\x44\x6F\x77\x6E","\x61\x64\x64\x49\x74\x65\x6D","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6F\x6E\x73\x75\x6D\x65","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x69\x73\x44\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x44\x65\x6C\x61\x79\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x63\x65\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x46\x6F\x72\x50\x6F\x70\x75\x70\x45\x76\x65\x6E\x74","\x65\x64\x69\x74","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x79","\x75\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74\x48\x61\x70\x70\x65\x6E\x65\x64","\x67\x65\x74\x56\x69\x65\x77","\x63\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x74\x61\x74\x65","\x70\x75\x73\x68","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x6C\x69\x62\x72\x61\x72\x69\x65\x73","\x70\x61\x63\x6B\x61\x67\x65\x73","\x67\x65\x74\x53\x74\x65\x6E\x63\x69\x6C","\x73\x74\x65\x6E\x63\x69\x6C\x73","\x67\x65\x74\x42\x61\x73\x65\x6E\x61\x6D\x65\x46\x6F\x72\x53\x74\x65\x6E\x63\x69\x6C","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x2E\x6A\x73","\x6C\x6F\x61\x64","\x67\x65\x74\x54\x65\x78\x74","\x2F","\x2E","\x73\x70\x6C\x69\x74","\x6D\x78\x67\x72\x61\x70\x68","\x67\x65\x74\x58\x6D\x6C","\x70\x61\x72\x73\x65\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x6E\x6F\x64\x65\x54\x79\x70\x65","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x45\x4C\x45\x4D\x45\x4E\x54","\x5F","\x72\x65\x70\x6C\x61\x63\x65","\x61\x64\x64\x53\x74\x65\x6E\x63\x69\x6C","\x77","\x68","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x70\x72\x6F\x64\x75\x63\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x72","\x64\x6F\x6E\x65","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x65\x78\x65\x63\x75\x74\x65","\x73\x65\x74\x44\x61\x74\x61","\x64\x61\x74\x61","\x65\x72\x72\x6F\x72","\x63\x61\x6E\x63\x65\x6C","\x61\x6C\x65\x72\x74"];var useLocalStorage=(mxClient[_0x2b25[0]]|| urlParams[_0x2b25[1]]== _0x2b25[2])&& typeof (localStorage)!= _0x2b25[3];var fileSupport=window[_0x2b25[4]]!= null&& window[_0x2b25[5]]!= null&& window[_0x2b25[6]]!= null;var touchStyle=mxClient[_0x2b25[0]]|| urlParams[_0x2b25[7]]== _0x2b25[8];var counter=0;try{var op=window;while(op[_0x2b25[9]]!= null&& !isNaN(op[_0x2b25[9]][_0x2b25[10]])){op= op[_0x2b25[9]]};if(op!= null){op[_0x2b25[10]]++;counter= op[_0x2b25[10]]}}catch(e){};Editor= function(){mxEventSource[_0x2b25[11]](this);this[_0x2b25[12]]();this[_0x2b25[13]]();this[_0x2b25[14]]= new Graph();this[_0x2b25[15]]= new mxOutline(this[_0x2b25[14]]);this[_0x2b25[15]][_0x2b25[16]]= true;this[_0x2b25[17]]= this[_0x2b25[18]]();this[_0x2b25[19]]= _0x2b25[20];this[_0x2b25[21]]= null;this[_0x2b25[22]]= function(){return this[_0x2b25[21]]|| mxResources[_0x2b25[24]](_0x2b25[23],[counter])+ _0x2b25[25]};this[_0x2b25[26]]= function(){return this[_0x2b25[21]]};this[_0x2b25[27]]= function(_0x5537x6){this[_0x2b25[19]]= _0x5537x6;this[_0x2b25[29]]( new mxEventObject(_0x2b25[28]))};this[_0x2b25[30]]= function(){return this[_0x2b25[19]]};this[_0x2b25[31]]= false;this[_0x2b25[32]]= function(){this[_0x2b25[31]]= true};this[_0x2b25[14]][_0x2b25[36]]()[_0x2b25[35]](mxEvent.CHANGE,mxUtils[_0x2b25[34]](this,function(){this[_0x2b25[32]][_0x2b25[33]](this,arguments)}));window[_0x2b25[37]]= mxUtils[_0x2b25[34]](this,function(){if(this[_0x2b25[31]]){return mxResources[_0x2b25[24]](_0x2b25[38])}});this[_0x2b25[14]][_0x2b25[39]]= false;this[_0x2b25[14]][_0x2b25[40]]= true;this[_0x2b25[14]][_0x2b25[41]]= null};mxUtils[_0x2b25[42]](Editor,mxEventSource);Editor[_0x2b25[44]][_0x2b25[43]]= IMAGE_PATH+ _0x2b25[45];Editor[_0x2b25[44]][_0x2b25[46]]= IMAGE_PATH+ _0x2b25[47];Editor[_0x2b25[44]][_0x2b25[48]]= function(_0x5537x7){var _0x5537x8= new mxCodec(_0x5537x7[_0x2b25[49]]);if(_0x5537x7[_0x2b25[50]]== _0x2b25[51]){this[_0x2b25[14]][_0x2b25[53]][_0x2b25[52]]= 1;this[_0x2b25[14]][_0x2b25[54]]= _0x5537x7[_0x2b25[56]](_0x2b25[55])!= _0x2b25[57];this[_0x2b25[14]][_0x2b25[59]][_0x2b25[58]]= _0x5537x7[_0x2b25[56]](_0x2b25[60])!= _0x2b25[57];this[_0x2b25[14]][_0x2b25[62]](_0x5537x7[_0x2b25[56]](_0x2b25[61])!= _0x2b25[57]);this[_0x2b25[14]][_0x2b25[64]](_0x5537x7[_0x2b25[56]](_0x2b25[63])!= _0x2b25[57]);this[_0x2b25[14]][_0x2b25[65]]= _0x5537x7[_0x2b25[56]](_0x2b25[66])!= _0x2b25[57];this[_0x2b25[14]][_0x2b25[40]]= _0x5537x7[_0x2b25[56]](_0x2b25[40])!= _0x2b25[57];if(!this[_0x2b25[14]][_0x2b25[40]]){this[_0x2b25[14]][_0x2b25[68]][_0x2b25[67]]= 0;this[_0x2b25[14]][_0x2b25[68]][_0x2b25[69]]= 0;this[_0x2b25[14]][_0x2b25[53]][_0x2b25[71]][_0x2b25[70]]= Number(_0x5537x7[_0x2b25[56]](_0x2b25[72])|| 0);this[_0x2b25[14]][_0x2b25[53]][_0x2b25[71]][_0x2b25[73]]= Number(_0x5537x7[_0x2b25[56]](_0x2b25[74])|| 0)};this[_0x2b25[14]][_0x2b25[75]]= _0x5537x7[_0x2b25[56]](_0x2b25[76])== _0x2b25[8];this[_0x2b25[14]][_0x2b25[77]]= this[_0x2b25[14]][_0x2b25[75]];this[_0x2b25[14]][_0x2b25[78]]= this[_0x2b25[14]][_0x2b25[77]];var _0x5537x9=_0x5537x7[_0x2b25[56]](_0x2b25[79]);if(_0x5537x9!= null){this[_0x2b25[14]][_0x2b25[79]]= _0x5537x9}else {this[_0x2b25[14]][_0x2b25[79]]= 1.5};var _0x5537xa=_0x5537x7[_0x2b25[56]](_0x2b25[80]);var _0x5537xb=_0x5537x7[_0x2b25[56]](_0x2b25[81]);if(_0x5537xa!= null&& _0x5537xb!= null){this[_0x2b25[14]][_0x2b25[82]]= new mxRectangle(0,0,parseFloat(_0x5537xa),parseFloat(_0x5537xb));this[_0x2b25[15]][_0x2b25[15]][_0x2b25[82]]= this[_0x2b25[14]][_0x2b25[82]]};var _0x5537xc=_0x5537x7[_0x2b25[56]](_0x2b25[41]);if(_0x5537xc!= null&& _0x5537xc[_0x2b25[83]]> 0){this[_0x2b25[14]][_0x2b25[41]]= _0x5537xc};_0x5537x8[_0x2b25[84]](_0x5537x7,this[_0x2b25[14]][_0x2b25[36]]());this[_0x2b25[85]]()}};Editor[_0x2b25[44]][_0x2b25[86]]= function(){var _0x5537xd= new mxCodec(mxUtils[_0x2b25[87]]());var _0x5537x7=_0x5537xd[_0x2b25[88]](this[_0x2b25[14]][_0x2b25[36]]());if(this[_0x2b25[14]][_0x2b25[53]][_0x2b25[71]][_0x2b25[70]]!= 0|| this[_0x2b25[14]][_0x2b25[53]][_0x2b25[71]][_0x2b25[73]]!= 0){_0x5537x7[_0x2b25[90]](_0x2b25[72],Math[_0x2b25[89]](this[_0x2b25[14]][_0x2b25[53]][_0x2b25[71]][_0x2b25[70]]* 100)/ 100);_0x5537x7[_0x2b25[90]](_0x2b25[74],Math[_0x2b25[89]](this[_0x2b25[14]][_0x2b25[53]][_0x2b25[71]][_0x2b25[73]]* 100)/ 100)};_0x5537x7[_0x2b25[90]](_0x2b25[55],(this[_0x2b25[14]][_0x2b25[91]]())?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[60],(this[_0x2b25[14]][_0x2b25[59]][_0x2b25[58]])?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[60],(this[_0x2b25[14]][_0x2b25[59]][_0x2b25[58]])?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[61],(this[_0x2b25[14]][_0x2b25[93]][_0x2b25[92]]())?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[63],(this[_0x2b25[14]][_0x2b25[94]][_0x2b25[92]]())?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[66],(this[_0x2b25[14]][_0x2b25[65]])?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[76],(this[_0x2b25[14]][_0x2b25[75]])?_0x2b25[8]:_0x2b25[57]);_0x5537x7[_0x2b25[90]](_0x2b25[79],this[_0x2b25[14]][_0x2b25[79]]);_0x5537x7[_0x2b25[90]](_0x2b25[80],this[_0x2b25[14]][_0x2b25[82]][_0x2b25[95]]);_0x5537x7[_0x2b25[90]](_0x2b25[81],this[_0x2b25[14]][_0x2b25[82]][_0x2b25[96]]);if(!this[_0x2b25[14]][_0x2b25[40]]){_0x5537x7[_0x2b25[90]](_0x2b25[40],_0x2b25[57])};if(this[_0x2b25[14]][_0x2b25[41]]!= null){_0x5537x7[_0x2b25[90]](_0x2b25[41],this[_0x2b25[14]][_0x2b25[41]])};return _0x5537x7};Editor[_0x2b25[44]][_0x2b25[85]]= function(){var _0x5537xe=this[_0x2b25[14]];var _0x5537xf=this[_0x2b25[15]];if(_0x5537xe[_0x2b25[68]]!= null&& _0x5537xf[_0x2b25[15]][_0x2b25[68]]!= null){if(_0x5537xe[_0x2b25[41]]!= null){if(_0x5537xe[_0x2b25[41]]== _0x2b25[97]){_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[98]]= _0x2b25[100]}else {if(_0x5537xe[_0x2b25[53]][_0x2b25[101]]!= null){_0x5537xe[_0x2b25[53]][_0x2b25[101]][_0x2b25[102]]= _0x5537xe[_0x2b25[41]];_0x5537xe[_0x2b25[53]][_0x2b25[101]][_0x2b25[103]]()};_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[98]]= _0x5537xe[_0x2b25[41]]}}else {_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[98]]= _0x2b25[20]};if(_0x5537xe[_0x2b25[75]]){_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[98]]= _0x2b25[104];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[105]]= _0x2b25[106];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[107]]= _0x2b25[108];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[109]]= _0x2b25[110];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[111]]= _0x2b25[110];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[112]]= _0x2b25[113];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[114]]= _0x2b25[113]}else {_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[115]]= _0x2b25[20]};_0x5537xf[_0x2b25[15]][_0x2b25[68]][_0x2b25[99]][_0x2b25[98]]= _0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[98]];if(_0x5537xf[_0x2b25[15]][_0x2b25[75]]!= _0x5537xe[_0x2b25[75]]|| _0x5537xf[_0x2b25[15]][_0x2b25[79]]!= _0x5537xe[_0x2b25[79]]){_0x5537xf[_0x2b25[15]][_0x2b25[79]]= _0x5537xe[_0x2b25[79]];_0x5537xf[_0x2b25[15]][_0x2b25[75]]= _0x5537xe[_0x2b25[75]];_0x5537xf[_0x2b25[15]][_0x2b25[53]][_0x2b25[116]]()};if(_0x5537xe[_0x2b25[40]]&& _0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[117]]== _0x2b25[118]&& !touchStyle){_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[117]]= _0x2b25[119]}else {if(!_0x5537xe[_0x2b25[40]]|| touchStyle){_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[117]]= _0x2b25[118]}};var _0x5537x10=(mxClient[_0x2b25[120]]&& document[_0x2b25[121]]>= 9)?_0x2b25[122]+ this[_0x2b25[46]]+ _0x2b25[123]:_0x2b25[97];_0x5537xe[_0x2b25[68]][_0x2b25[99]][_0x2b25[124]]= (!_0x5537xe[_0x2b25[75]]&& _0x5537xe[_0x2b25[91]]())?_0x2b25[122]+ this[_0x2b25[43]]+ _0x2b25[123]:_0x5537x10;if(_0x5537xe[_0x2b25[53]][_0x2b25[101]]!= null){_0x5537xe[_0x2b25[53]][_0x2b25[101]][_0x2b25[125]][_0x2b25[99]][_0x2b25[124]]= (this[_0x2b25[14]][_0x2b25[91]]())?_0x2b25[122]+ this[_0x2b25[43]]+ _0x2b25[123]:_0x2b25[97]}}};Editor[_0x2b25[44]][_0x2b25[12]]= function(){if(mxClient[_0x2b25[126]]){mxClient[_0x2b25[129]](_0x2b25[127],CSS_PATH+ _0x2b25[128])};mxResources[_0x2b25[130]]= false;mxResources[_0x2b25[131]](RESOURCE_BASE);mxConstants[_0x2b25[132]]= 0.3;var _0x5537x11=mxConnectionHandler[_0x2b25[44]][_0x2b25[133]];mxConnectionHandler[_0x2b25[44]][_0x2b25[133]]= function(){var _0x5537x12=_0x5537x11[_0x2b25[33]](this,arguments);_0x5537x12[_0x2b25[134]]= mxUtils[_0x2b25[34]](this,function(_0x5537x13,_0x5537x14){if(this[_0x2b25[135]]()){return true};return mxCellMarker[_0x2b25[44]][_0x2b25[134]][_0x2b25[33]](_0x5537x12,arguments)});return _0x5537x12};mxConstants[_0x2b25[136]]= _0x2b25[137];mxConstants[_0x2b25[138]]= _0x2b25[139];mxConstants[_0x2b25[140]]= _0x2b25[141];mxConstants[_0x2b25[142]]= _0x2b25[143];mxConstants[_0x2b25[144]]= _0x2b25[143];mxConstants[_0x2b25[145]]= _0x2b25[139];mxConstants[_0x2b25[146]]= _0x2b25[143];mxConstants[_0x2b25[147]]= _0x2b25[148];mxConstants[_0x2b25[149]]= _0x2b25[143];mxConstants[_0x2b25[150]]= _0x2b25[143];mxConstants[_0x2b25[151]]= _0x2b25[148];mxConstants[_0x2b25[152]]= _0x2b25[141];mxGraph[_0x2b25[44]][_0x2b25[153]]= _0x2b25[154];mxGraph[_0x2b25[44]][_0x2b25[79]]= 1;mxRubberband[_0x2b25[44]][_0x2b25[155]]= 30;mxGraphView[_0x2b25[44]][_0x2b25[156]]= function(_0x5537x15){return new mxRectangleShape(_0x5537x15,this[_0x2b25[14]][_0x2b25[41]]|| _0x2b25[157],_0x2b25[158])};mxGraphView[_0x2b25[44]][_0x2b25[159]]= function(){var _0x5537x16=this[_0x2b25[160]]();var _0x5537x17=(_0x5537x16[_0x2b25[95]]> 0)?_0x5537x16[_0x2b25[70]]/ this[_0x2b25[52]]- this[_0x2b25[71]][_0x2b25[70]]:0;var _0x5537x18=(_0x5537x16[_0x2b25[96]]> 0)?_0x5537x16[_0x2b25[73]]/ this[_0x2b25[52]]- this[_0x2b25[71]][_0x2b25[73]]:0;var _0x5537x19=_0x5537x16[_0x2b25[95]]/ this[_0x2b25[52]];var _0x5537x1a=_0x5537x16[_0x2b25[96]]/ this[_0x2b25[52]];var _0x5537x1b=this[_0x2b25[14]][_0x2b25[82]];var _0x5537x9=this[_0x2b25[14]][_0x2b25[79]];var _0x5537xa=_0x5537x1b[_0x2b25[95]]* _0x5537x9;var _0x5537xb=_0x5537x1b[_0x2b25[96]]* _0x5537x9;var _0x5537x1c=Math[_0x2b25[162]](Math[_0x2b25[161]](0,_0x5537x17)/ _0x5537xa);var _0x5537x1d=Math[_0x2b25[162]](Math[_0x2b25[161]](0,_0x5537x18)/ _0x5537xb);var _0x5537x1e=Math[_0x2b25[164]](Math[_0x2b25[163]](1,_0x5537x17+ _0x5537x19)/ _0x5537xa);var _0x5537x1f=Math[_0x2b25[164]](Math[_0x2b25[163]](1,_0x5537x18+ _0x5537x1a)/ _0x5537xb);var _0x5537x20=_0x5537x1e- _0x5537x1c;var _0x5537x21=_0x5537x1f- _0x5537x1d;var _0x5537x15= new mxRectangle(this[_0x2b25[52]]* (this[_0x2b25[71]][_0x2b25[70]]+ _0x5537x1c* _0x5537xa),this[_0x2b25[52]]* (this[_0x2b25[71]][_0x2b25[73]]+ _0x5537x1d* _0x5537xb),this[_0x2b25[52]]* _0x5537x20* _0x5537xa,this[_0x2b25[52]]* _0x5537x21* _0x5537xb);return _0x5537x15};var _0x5537x22=mxGraph[_0x2b25[44]][_0x2b25[165]];mxGraph[_0x2b25[44]][_0x2b25[165]]= function(_0x5537x23,_0x5537x24){_0x5537x22[_0x2b25[33]](this,arguments);if((this[_0x2b25[166]]!= mxConstants[_0x2b25[167]]&& this[_0x2b25[53]][_0x2b25[101]]!= null)&& (!this[_0x2b25[168]]|| !mxUtils[_0x2b25[169]](this[_0x2b25[68]]))){this[_0x2b25[53]][_0x2b25[101]][_0x2b25[125]][_0x2b25[99]][_0x2b25[170]]= _0x5537x23+ _0x2b25[171];this[_0x2b25[53]][_0x2b25[101]][_0x2b25[125]][_0x2b25[99]][_0x2b25[172]]= _0x5537x24+ _0x2b25[171]}};var _0x5537x25=this;mxGraphView[_0x2b25[44]][_0x2b25[173]]= function(){var _0x5537xc=this[_0x2b25[14]][_0x2b25[174]]();if(_0x5537xc!= null){if(this[_0x2b25[124]]== null|| this[_0x2b25[124]][_0x2b25[175]]!= _0x5537xc[_0x2b25[176]]){if(this[_0x2b25[124]]!= null){this[_0x2b25[124]][_0x2b25[177]]()};var _0x5537x15= new mxRectangle(0,0,1,1);this[_0x2b25[124]]= new mxImageShape(_0x5537x15,_0x5537xc[_0x2b25[176]]);this[_0x2b25[124]][_0x2b25[166]]= this[_0x2b25[14]][_0x2b25[166]];this[_0x2b25[124]][_0x2b25[12]](this[_0x2b25[178]]);this[_0x2b25[124]][_0x2b25[179]]()};this[_0x2b25[180]](this[_0x2b25[124]],_0x5537xc)}else {if(this[_0x2b25[124]]!= null){this[_0x2b25[124]][_0x2b25[177]]();this[_0x2b25[124]]= null}};if(this[_0x2b25[14]][_0x2b25[75]]){var _0x5537x15=this[_0x2b25[159]]();if(this[_0x2b25[101]]== null){this[_0x2b25[101]]= this[_0x2b25[156]](_0x5537x15);this[_0x2b25[101]][_0x2b25[52]]= 1;this[_0x2b25[101]][_0x2b25[181]]= true;this[_0x2b25[101]][_0x2b25[166]]= mxConstants[_0x2b25[182]];this[_0x2b25[101]][_0x2b25[12]](this[_0x2b25[14]][_0x2b25[68]]);this[_0x2b25[14]][_0x2b25[68]][_0x2b25[184]][_0x2b25[99]][_0x2b25[183]]= _0x2b25[185];this[_0x2b25[14]][_0x2b25[68]][_0x2b25[186]](this[_0x2b25[101]][_0x2b25[125]],this[_0x2b25[14]][_0x2b25[68]][_0x2b25[184]]);this[_0x2b25[101]][_0x2b25[179]]();this[_0x2b25[101]][_0x2b25[125]][_0x2b25[187]]= _0x2b25[188];this[_0x2b25[101]][_0x2b25[125]][_0x2b25[99]][_0x2b25[189]]= _0x2b25[190];mxEvent[_0x2b25[35]](this[_0x2b25[101]][_0x2b25[125]],_0x2b25[191],mxUtils[_0x2b25[34]](this,function(_0x5537x14){this[_0x2b25[14]][_0x2b25[192]](_0x5537x14)}));mxEvent[_0x2b25[198]](this[_0x2b25[101]][_0x2b25[125]],mxUtils[_0x2b25[34]](this,function(_0x5537x14){this[_0x2b25[14]][_0x2b25[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0x5537x14))}),mxUtils[_0x2b25[34]](this,function(_0x5537x14){if(this[_0x2b25[14]][_0x2b25[93]]!= null&& this[_0x2b25[14]][_0x2b25[93]][_0x2b25[194]]()){this[_0x2b25[14]][_0x2b25[93]][_0x2b25[195]]()};if(this[_0x2b25[14]][_0x2b25[196]]&& !mxEvent[_0x2b25[197]](_0x5537x14)){this[_0x2b25[14]][_0x2b25[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0x5537x14))}}),mxUtils[_0x2b25[34]](this,function(_0x5537x14){this[_0x2b25[14]][_0x2b25[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0x5537x14))}))}else {this[_0x2b25[101]][_0x2b25[52]]= 1;this[_0x2b25[101]][_0x2b25[199]]= _0x5537x15;this[_0x2b25[101]][_0x2b25[179]]()};this[_0x2b25[101]][_0x2b25[125]][_0x2b25[99]][_0x2b25[124]]= (this[_0x2b25[14]][_0x2b25[91]]())?_0x2b25[122]+ _0x5537x25[_0x2b25[43]]+ _0x2b25[123]:_0x2b25[97]}else {if(this[_0x2b25[101]]!= null){this[_0x2b25[101]][_0x2b25[177]]();this[_0x2b25[101]]= null}}};mxGraph[_0x2b25[44]][_0x2b25[200]]= function(_0x5537x26,_0x5537x27,_0x5537x28){var _0x5537x29=this[_0x2b25[53]][_0x2b25[52]];var _0x5537x2a=this[_0x2b25[53]][_0x2b25[71]];var _0x5537x1b=this[_0x2b25[82]];var _0x5537x9=_0x5537x29* this[_0x2b25[79]];var _0x5537x2b=this[_0x2b25[53]][_0x2b25[159]]();_0x5537x27= _0x5537x2b[_0x2b25[95]];_0x5537x28= _0x5537x2b[_0x2b25[96]];var _0x5537x15= new mxRectangle(_0x5537x29* _0x5537x2a[_0x2b25[70]],_0x5537x29* _0x5537x2a[_0x2b25[73]],_0x5537x1b[_0x2b25[95]]* _0x5537x9,_0x5537x1b[_0x2b25[96]]* _0x5537x9);_0x5537x26= _0x5537x26&& Math[_0x2b25[161]](_0x5537x15[_0x2b25[95]],_0x5537x15[_0x2b25[96]])> this[_0x2b25[201]];var _0x5537x2c=(_0x5537x26)?Math[_0x2b25[164]](_0x5537x27/ _0x5537x15[_0x2b25[95]])- 1:0;var _0x5537x2d=(_0x5537x26)?Math[_0x2b25[164]](_0x5537x28/ _0x5537x15[_0x2b25[96]])- 1:0;var _0x5537x2e=_0x5537x2b[_0x2b25[70]]+ _0x5537x27;var _0x5537x2f=_0x5537x2b[_0x2b25[73]]+ _0x5537x28;if(this[_0x2b25[202]]== null&& _0x5537x2c> 0){this[_0x2b25[202]]= []};if(this[_0x2b25[202]]!= null){for(var _0x5537x30=0;_0x5537x30<= _0x5537x2c;_0x5537x30++){var _0x5537x31=[ new mxPoint(_0x5537x2b[_0x2b25[70]]+ (_0x5537x30+ 1)* _0x5537x15[_0x2b25[95]],_0x5537x2b[_0x2b25[73]]), new mxPoint(_0x5537x2b[_0x2b25[70]]+ (_0x5537x30+ 1)* _0x5537x15[_0x2b25[95]],_0x5537x2f)];if(this[_0x2b25[202]][_0x5537x30]!= null){this[_0x2b25[202]][_0x5537x30][_0x2b25[52]]= 1;this[_0x2b25[202]][_0x5537x30][_0x2b25[203]]= _0x5537x31;this[_0x2b25[202]][_0x5537x30][_0x2b25[179]]()}else {var _0x5537x32= new mxPolyline(_0x5537x31,this[_0x2b25[153]],this[_0x2b25[52]]);_0x5537x32[_0x2b25[166]]= this[_0x2b25[166]];_0x5537x32[_0x2b25[204]]= this[_0x2b25[205]];_0x5537x32[_0x2b25[206]]= false;_0x5537x32[_0x2b25[52]]= _0x5537x29;_0x5537x32[_0x2b25[12]](this[_0x2b25[53]][_0x2b25[178]]);_0x5537x32[_0x2b25[179]]();this[_0x2b25[202]][_0x5537x30]= _0x5537x32}};for(var _0x5537x30=_0x5537x2c;_0x5537x30< this[_0x2b25[202]][_0x2b25[83]];_0x5537x30++){this[_0x2b25[202]][_0x5537x30][_0x2b25[177]]()};this[_0x2b25[202]][_0x2b25[207]](_0x5537x2c,this[_0x2b25[202]][_0x2b25[83]]- _0x5537x2c)};if(this[_0x2b25[208]]== null&& _0x5537x2d> 0){this[_0x2b25[208]]= []};if(this[_0x2b25[208]]!= null){for(var _0x5537x30=0;_0x5537x30<= _0x5537x2d;_0x5537x30++){var _0x5537x31=[ new mxPoint(_0x5537x2b[_0x2b25[70]],_0x5537x2b[_0x2b25[73]]+ (_0x5537x30+ 1)* _0x5537x15[_0x2b25[96]]), new mxPoint(_0x5537x2e,_0x5537x2b[_0x2b25[73]]+ (_0x5537x30+ 1)* _0x5537x15[_0x2b25[96]])];if(this[_0x2b25[208]][_0x5537x30]!= null){this[_0x2b25[208]][_0x5537x30][_0x2b25[52]]= 1;this[_0x2b25[208]][_0x5537x30][_0x2b25[203]]= _0x5537x31;this[_0x2b25[208]][_0x5537x30][_0x2b25[179]]()}else {var _0x5537x32= new mxPolyline(_0x5537x31,this[_0x2b25[153]],_0x5537x29);_0x5537x32[_0x2b25[166]]= this[_0x2b25[166]];_0x5537x32[_0x2b25[204]]= this[_0x2b25[205]];_0x5537x32[_0x2b25[206]]= false;_0x5537x32[_0x2b25[52]]= _0x5537x29;_0x5537x32[_0x2b25[12]](this[_0x2b25[53]][_0x2b25[178]]);_0x5537x32[_0x2b25[179]]();this[_0x2b25[208]][_0x5537x30]= _0x5537x32}};for(var _0x5537x30=_0x5537x2d;_0x5537x30< this[_0x2b25[208]][_0x2b25[83]];_0x5537x30++){this[_0x2b25[208]][_0x5537x30][_0x2b25[177]]()};this[_0x2b25[208]][_0x2b25[207]](_0x5537x2d,this[_0x2b25[208]][_0x2b25[83]]- _0x5537x2d)}};mxEdgeHandler[_0x2b25[44]][_0x2b25[209]]= true;mxGraphHandler[_0x2b25[44]][_0x2b25[58]]= true;var _0x5537x33=mxGraphHandler[_0x2b25[44]][_0x2b25[210]];mxGraphHandler[_0x2b25[44]][_0x2b25[210]]= function(_0x5537x34,_0x5537x35,_0x5537x14){for(var _0x5537x30=0;_0x5537x30< _0x5537x35[_0x2b25[83]];_0x5537x30++){if(this[_0x2b25[14]][_0x2b25[36]]()[_0x2b25[211]](_0x5537x35[_0x5537x30])){var _0x5537x36=this[_0x2b25[14]][_0x2b25[212]](_0x5537x35[_0x5537x30]);if(_0x5537x36!= null&& _0x5537x36[_0x2b25[213]]){return false}}};return _0x5537x33[_0x2b25[33]](this,arguments)};mxGuide[_0x2b25[44]][_0x2b25[214]]= function(_0x5537x14){return !mxEvent[_0x2b25[215]](_0x5537x14)};mxPopupMenuAddItem= mxPopupMenu[_0x2b25[44]][_0x2b25[216]];mxPopupMenu[_0x2b25[44]][_0x2b25[216]]= function(_0x5537x37,_0x5537x38,_0x5537x39,_0x5537x34,_0x5537x3a,_0x5537x3b){var _0x5537x3c=mxPopupMenuAddItem[_0x2b25[33]](this,arguments);if(_0x5537x3b!= null&& !_0x5537x3b){mxEvent[_0x2b25[35]](_0x5537x3c,_0x2b25[217],function(_0x5537x14){mxEvent[_0x2b25[218]](_0x5537x14)})};return _0x5537x3c};var _0x5537x3d=mxGraphHandler[_0x2b25[44]][_0x2b25[219]];mxGraphHandler[_0x2b25[44]][_0x2b25[219]]= function(_0x5537x3e){var _0x5537x3f=this[_0x2b25[14]][_0x2b25[36]]();var _0x5537x40=_0x5537x3f[_0x2b25[221]](this[_0x2b25[14]][_0x2b25[220]]());var _0x5537x41=_0x5537x3d[_0x2b25[33]](this,arguments);var _0x5537x34=_0x5537x3f[_0x2b25[221]](_0x5537x41);if(_0x5537x40== null|| (_0x5537x40!= _0x5537x41&& _0x5537x40!= _0x5537x34)){while(!this[_0x2b25[14]][_0x2b25[222]](_0x5537x41)&& !this[_0x2b25[14]][_0x2b25[222]](_0x5537x34)&& _0x5537x3f[_0x2b25[211]](_0x5537x34)&& !this[_0x2b25[14]][_0x2b25[223]](_0x5537x34)){_0x5537x41= _0x5537x34;_0x5537x34= this[_0x2b25[14]][_0x2b25[36]]()[_0x2b25[221]](_0x5537x41)}};return _0x5537x41};var _0x5537x42=mxGraphHandler[_0x2b25[44]][_0x2b25[224]];mxGraphHandler[_0x2b25[44]][_0x2b25[224]]= function(_0x5537x41){var _0x5537x3c=_0x5537x42[_0x2b25[33]](this,arguments);var _0x5537x3f=this[_0x2b25[14]][_0x2b25[36]]();var _0x5537x40=_0x5537x3f[_0x2b25[221]](this[_0x2b25[14]][_0x2b25[220]]());var _0x5537x34=_0x5537x3f[_0x2b25[221]](_0x5537x41);if(_0x5537x40== null|| (_0x5537x40!= _0x5537x41&& _0x5537x40!= _0x5537x34)){if(!this[_0x2b25[14]][_0x2b25[222]](_0x5537x41)&& _0x5537x3f[_0x2b25[211]](_0x5537x34)&& !this[_0x2b25[14]][_0x2b25[223]](_0x5537x34)){_0x5537x3c= true}};return _0x5537x3c};mxGraphHandler[_0x2b25[44]][_0x2b25[225]]= function(_0x5537x3e){var _0x5537x41=_0x5537x3e[_0x2b25[226]]();if(_0x5537x41== null){_0x5537x41= this[_0x2b25[227]]};var _0x5537x3f=this[_0x2b25[14]][_0x2b25[36]]();var _0x5537x34=_0x5537x3f[_0x2b25[221]](_0x5537x41);while(this[_0x2b25[14]][_0x2b25[222]](_0x5537x41)&& _0x5537x3f[_0x2b25[211]](_0x5537x34)&& !this[_0x2b25[14]][_0x2b25[223]](_0x5537x34)){_0x5537x41= _0x5537x34;_0x5537x34= _0x5537x3f[_0x2b25[221]](_0x5537x41)};this[_0x2b25[14]][_0x2b25[229]](_0x5537x41,_0x5537x3e[_0x2b25[228]]())};mxPanningHandler[_0x2b25[44]][_0x2b25[230]]= function(_0x5537x3e){var _0x5537x41=_0x5537x3e[_0x2b25[226]]();var _0x5537x3f=this[_0x2b25[14]][_0x2b25[36]]();var _0x5537x34=_0x5537x3f[_0x2b25[221]](_0x5537x41);while(_0x5537x3f[_0x2b25[211]](_0x5537x34)&& !this[_0x2b25[14]][_0x2b25[223]](_0x5537x34)){if(this[_0x2b25[14]][_0x2b25[222]](_0x5537x34)){_0x5537x41= _0x5537x34};_0x5537x34= _0x5537x3f[_0x2b25[221]](_0x5537x34)};return _0x5537x41}};Editor[_0x2b25[44]][_0x2b25[18]]= function(){var _0x5537xe=this[_0x2b25[14]];var _0x5537x43= new mxUndoManager();var _0x5537x44=function(_0x5537x45,_0x5537x14){_0x5537x43[_0x2b25[233]](_0x5537x14[_0x2b25[232]](_0x2b25[231]))};_0x5537xe[_0x2b25[36]]()[_0x2b25[35]](mxEvent.UNDO,_0x5537x44);_0x5537xe[_0x2b25[234]]()[_0x2b25[35]](mxEvent.UNDO,_0x5537x44);var _0x5537x46=function(_0x5537x45,_0x5537x14){var _0x5537x47=_0x5537xe[_0x2b25[236]](_0x5537x14[_0x2b25[232]](_0x2b25[231])[_0x2b25[235]]);var _0x5537x35=[];for(var _0x5537x30=1;_0x5537x30< _0x5537x47[_0x2b25[83]];_0x5537x30++){if(_0x5537xe[_0x2b25[53]][_0x2b25[237]](_0x5537x47[_0x5537x30])!= null){_0x5537x35[_0x2b25[238]](_0x5537x47[_0x5537x30])}};_0x5537xe[_0x2b25[239]](_0x5537x35)};_0x5537x43[_0x2b25[35]](mxEvent.UNDO,_0x5537x46);_0x5537x43[_0x2b25[35]](mxEvent.REDO,_0x5537x46);return _0x5537x43};Editor[_0x2b25[44]][_0x2b25[13]]= function(){mxStencilRegistry[_0x2b25[241]](STENCIL_PATH+ _0x2b25[240])};(function(){mxStencilRegistry[_0x2b25[242]]= {};mxStencilRegistry[_0x2b25[243]]= [];mxStencilRegistry[_0x2b25[244]]= function(_0x5537x48){var _0x5537x3c=mxStencilRegistry[_0x2b25[245]][_0x5537x48];if(_0x5537x3c== null){var _0x5537x49=mxStencilRegistry[_0x2b25[246]](_0x5537x48);if(_0x5537x49!= null){var _0x5537x4a=mxStencilRegistry[_0x2b25[242]][_0x5537x49];if(_0x5537x4a!= null){if(mxStencilRegistry[_0x2b25[243]][_0x5537x49]== null){mxStencilRegistry[_0x2b25[243]][_0x5537x49]= 1;for(var _0x5537x30=0;_0x5537x30< _0x5537x4a[_0x2b25[83]];_0x5537x30++){var _0x5537x4b=_0x5537x4a[_0x5537x30];if(_0x5537x4b[_0x2b25[248]]()[_0x2b25[247]](_0x5537x4b[_0x2b25[83]]- 4,_0x5537x4b[_0x2b25[83]])== _0x2b25[25]){mxStencilRegistry[_0x2b25[241]](_0x5537x4b,null)}else {if(_0x5537x4b[_0x2b25[248]]()[_0x2b25[247]](_0x5537x4b[_0x2b25[83]]- 3,_0x5537x4b[_0x2b25[83]])== _0x2b25[249]){var _0x5537x4c=mxUtils[_0x2b25[250]](_0x5537x4b);if(_0x5537x4c!= null){eval[_0x2b25[11]](window,_0x5537x4c[_0x2b25[251]]())}}else {}}}}}else {mxStencilRegistry[_0x2b25[241]](STENCIL_PATH+ _0x2b25[252]+ _0x5537x49+ _0x2b25[25],null)};_0x5537x3c= mxStencilRegistry[_0x2b25[245]][_0x5537x48]}};return _0x5537x3c};mxStencilRegistry[_0x2b25[246]]= function(_0x5537x48){var _0x5537x4d=_0x5537x48[_0x2b25[254]](_0x2b25[253]);var _0x5537x4e=null;if(_0x5537x4d[_0x2b25[83]]> 0&& _0x5537x4d[0]== _0x2b25[255]){_0x5537x4e= _0x5537x4d[1];for(var _0x5537x30=2;_0x5537x30< _0x5537x4d[_0x2b25[83]]- 1;_0x5537x30++){_0x5537x4e+= _0x2b25[252]+ _0x5537x4d[_0x5537x30]}};return _0x5537x4e};mxStencilRegistry[_0x2b25[241]]= function(_0x5537x4f,_0x5537x50,_0x5537x51){_0x5537x51= (_0x5537x51!= null)?_0x5537x51:false;var _0x5537x52=mxStencilRegistry[_0x2b25[243]][_0x5537x4f];if(_0x5537x51|| _0x5537x52== null){var _0x5537x53=false;if(_0x5537x52== null){var _0x5537x4c=mxUtils[_0x2b25[250]](_0x5537x4f);_0x5537x52= _0x5537x4c[_0x2b25[256]]();mxStencilRegistry[_0x2b25[243]][_0x5537x4f]= _0x5537x52;_0x5537x53= true};mxStencilRegistry[_0x2b25[257]](_0x5537x52,_0x5537x50,_0x5537x53)}};mxStencilRegistry[_0x2b25[257]]= function(_0x5537x54,_0x5537x50,_0x5537x53){_0x5537x53= (_0x5537x53!= null)?_0x5537x53:true;var _0x5537x55=_0x5537x54[_0x2b25[258]];var _0x5537x56=_0x5537x55[_0x2b25[184]];var _0x5537x57=_0x2b25[20];var _0x5537x48=_0x5537x55[_0x2b25[56]](_0x2b25[259]);if(_0x5537x48!= null){_0x5537x57= _0x5537x48+ _0x2b25[253]};while(_0x5537x56!= null){if(_0x5537x56[_0x2b25[260]]== mxConstants[_0x2b25[261]]){_0x5537x48= _0x5537x56[_0x2b25[56]](_0x2b25[259]);if(_0x5537x48!= null){_0x5537x57= _0x5537x57[_0x2b25[248]]();var _0x5537x58=_0x5537x48[_0x2b25[263]](/ /g,_0x2b25[262]);if(_0x5537x53){mxStencilRegistry[_0x2b25[264]](_0x5537x57+ _0x5537x58[_0x2b25[248]](), new mxStencil(_0x5537x56))};if(_0x5537x50!= null){var _0x5537x19=_0x5537x56[_0x2b25[56]](_0x2b25[265]);var _0x5537x1a=_0x5537x56[_0x2b25[56]](_0x2b25[266]);_0x5537x19= (_0x5537x19== null)?80:parseInt(_0x5537x19,10);_0x5537x1a= (_0x5537x1a== null)?80:parseInt(_0x5537x1a,10);_0x5537x50(_0x5537x57,_0x5537x58,_0x5537x48,_0x5537x19,_0x5537x1a)}}};_0x5537x56= _0x5537x56[_0x2b25[267]]}}})();OpenFile= function(_0x5537x59){this[_0x2b25[268]]= null;this[_0x2b25[269]]= null;this[_0x2b25[270]]= _0x5537x59};OpenFile[_0x2b25[44]][_0x2b25[271]]= function(_0x5537x6){this[_0x2b25[269]]= _0x5537x6;this[_0x2b25[272]]()};OpenFile[_0x2b25[44]][_0x2b25[273]]= function(_0x5537x6,_0x5537x5a){this[_0x2b25[274]]= _0x5537x6;this[_0x2b25[21]]= _0x5537x5a;this[_0x2b25[272]]()};OpenFile[_0x2b25[44]][_0x2b25[275]]= function(_0x5537x5b){this[_0x2b25[276]]();mxUtils[_0x2b25[277]](_0x5537x5b)};OpenFile[_0x2b25[44]][_0x2b25[272]]= function(){if(this[_0x2b25[269]]!= null&& this[_0x2b25[274]]!= null){this[_0x2b25[269]](this[_0x2b25[274]],this[_0x2b25[21]]);this[_0x2b25[276]]()}};OpenFile[_0x2b25[44]][_0x2b25[276]]= function(){if(this[_0x2b25[270]]!= null){this[_0x2b25[270]]()}} \ No newline at end of file +var _0xdd79=["\x49\x53\x5F\x54\x4F\x55\x43\x48","\x73\x74\x6F\x72\x61\x67\x65","\x6C\x6F\x63\x61\x6C","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x46\x69\x6C\x65","\x46\x69\x6C\x65\x52\x65\x61\x64\x65\x72","\x46\x69\x6C\x65\x4C\x69\x73\x74","\x74\x6F\x75\x63\x68","\x31","\x6F\x70\x65\x6E\x65\x72","\x63\x6F\x75\x6E\x74\x65\x72","\x63\x61\x6C\x6C","\x69\x6E\x69\x74","\x69\x6E\x69\x74\x53\x74\x65\x6E\x63\x69\x6C\x52\x65\x67\x69\x73\x74\x72\x79","\x67\x72\x61\x70\x68","\x6F\x75\x74\x6C\x69\x6E\x65","\x75\x70\x64\x61\x74\x65\x4F\x6E\x50\x61\x6E","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x63\x72\x65\x61\x74\x65\x55\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x73\x74\x61\x74\x75\x73","","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x64\x72\x61\x77\x69\x6E\x67","\x67\x65\x74","\x2E\x78\x6D\x6C","\x67\x65\x74\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x67\x72\x61\x70\x68\x43\x68\x61\x6E\x67\x65\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x70\x70\x6C\x79","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x6F\x6E\x62\x65\x66\x6F\x72\x65\x75\x6E\x6C\x6F\x61\x64","\x61\x6C\x6C\x43\x68\x61\x6E\x67\x65\x73\x4C\x6F\x73\x74","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x73\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x65\x78\x74\x65\x6E\x64","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x2F\x67\x72\x69\x64\x2E\x67\x69\x66","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x2F\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x2E\x67\x69\x66","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x6D\x78\x47\x72\x61\x70\x68\x4D\x6F\x64\x65\x6C","\x73\x63\x61\x6C\x65","\x76\x69\x65\x77","\x67\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x69\x64","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x30","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x67\x75\x69\x64\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x63\x6F\x6E\x6E\x65\x63\x74","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x66\x6F\x6C\x64","\x73\x63\x72\x6F\x6C\x6C\x4C\x65\x66\x74","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x78","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65","\x64\x78","\x79","\x64\x79","\x70\x61\x67\x65\x56\x69\x73\x69\x62\x6C\x65","\x70\x61\x67\x65","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x73\x56\x69\x73\x69\x62\x6C\x65","\x70\x72\x65\x66\x65\x72\x50\x61\x67\x65\x53\x69\x7A\x65","\x70\x61\x67\x65\x53\x63\x61\x6C\x65","\x70\x61\x67\x65\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x48\x65\x69\x67\x68\x74","\x70\x61\x67\x65\x46\x6F\x72\x6D\x61\x74","\x6C\x65\x6E\x67\x74\x68","\x64\x65\x63\x6F\x64\x65","\x75\x70\x64\x61\x74\x65\x47\x72\x61\x70\x68\x43\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x65\x6E\x63\x6F\x64\x65","\x72\x6F\x75\x6E\x64","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x6E\x6F\x6E\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x73\x74\x79\x6C\x65","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x66\x69\x6C\x6C","\x72\x65\x63\x6F\x6E\x66\x69\x67\x75\x72\x65","\x23\x65\x62\x65\x62\x65\x62","\x62\x6F\x72\x64\x65\x72\x53\x74\x79\x6C\x65","\x73\x6F\x6C\x69\x64","\x62\x6F\x72\x64\x65\x72\x43\x6F\x6C\x6F\x72","\x23\x65\x35\x65\x35\x65\x35","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70\x57\x69\x64\x74\x68","\x31\x70\x78","\x62\x6F\x72\x64\x65\x72\x4C\x65\x66\x74\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72\x52\x69\x67\x68\x74\x57\x69\x64\x74\x68","\x30\x70\x78","\x62\x6F\x72\x64\x65\x72\x42\x6F\x74\x74\x6F\x6D\x57\x69\x64\x74\x68","\x62\x6F\x72\x64\x65\x72","\x76\x61\x6C\x69\x64\x61\x74\x65","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x61\x75\x74\x6F","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x6E\x6F\x64\x65","\x49\x53\x5F\x49\x45\x36","\x73\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x2F\x67\x72\x61\x70\x68\x65\x64\x69\x74\x6F\x72\x2D\x69\x65\x36\x2E\x63\x73\x73","\x6C\x69\x6E\x6B","\x6C\x6F\x61\x64\x44\x65\x66\x61\x75\x6C\x74\x42\x75\x6E\x64\x6C\x65","\x61\x64\x64","\x44\x45\x46\x41\x55\x4C\x54\x5F\x48\x4F\x54\x53\x50\x4F\x54","\x63\x72\x65\x61\x74\x65\x4D\x61\x72\x6B\x65\x72","\x69\x6E\x74\x65\x72\x73\x65\x63\x74\x73","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6E\x67","\x53\x48\x41\x44\x4F\x57\x43\x4F\x4C\x4F\x52","\x23\x64\x30\x64\x30\x64\x30","\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x39\x39\x63\x63\x66\x66","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x38\x38\x63\x66","\x56\x45\x52\x54\x45\x58\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x23\x30\x30\x61\x38\x66\x66","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x4F\x55\x54\x4C\x49\x4E\x45\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x43\x4F\x4C\x4F\x52","\x43\x4F\x4E\x4E\x45\x43\x54\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x23\x63\x65\x65\x37\x66\x66","\x45\x44\x47\x45\x5F\x53\x45\x4C\x45\x43\x54\x49\x4F\x4E\x5F\x43\x4F\x4C\x4F\x52","\x44\x45\x46\x41\x55\x4C\x54\x5F\x56\x41\x4C\x49\x44\x5F\x43\x4F\x4C\x4F\x52","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x46\x49\x4C\x4C\x43\x4F\x4C\x4F\x52","\x47\x55\x49\x44\x45\x5F\x43\x4F\x4C\x4F\x52","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x43\x6F\x6C\x6F\x72","\x23\x63\x30\x63\x30\x63\x30","\x64\x65\x66\x61\x75\x6C\x74\x4F\x70\x61\x63\x69\x74\x79","\x63\x72\x65\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x53\x68\x61\x70\x65","\x77\x68\x69\x74\x65","\x23\x63\x61\x63\x61\x63\x61","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65\x42\x6F\x75\x6E\x64\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x6D\x69\x6E","\x66\x6C\x6F\x6F\x72","\x6D\x61\x78","\x63\x65\x69\x6C","\x70\x61\x6E\x47\x72\x61\x70\x68","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x75\x73\x65\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x68\x61\x73\x53\x63\x72\x6F\x6C\x6C\x62\x61\x72\x73","\x6D\x61\x72\x67\x69\x6E\x4C\x65\x66\x74","\x70\x78","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x67\x65\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x6D\x61\x67\x65","\x73\x72\x63","\x64\x65\x73\x74\x72\x6F\x79","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x6E\x65","\x72\x65\x64\x72\x61\x77","\x72\x65\x64\x72\x61\x77\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x69\x73\x53\x68\x61\x64\x6F\x77","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x54\x52\x49\x43\x54\x48\x54\x4D\x4C","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x69\x6E\x73\x65\x72\x74\x42\x65\x66\x6F\x72\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x61\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x64\x62\x6C\x63\x6C\x69\x63\x6B","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x69\x73\x48\x69\x64\x65\x4F\x6E\x48\x6F\x76\x65\x72","\x68\x69\x64\x65","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x62\x6F\x75\x6E\x64\x73","\x75\x70\x64\x61\x74\x65\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x6D\x69\x6E\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x69\x73\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x70\x6F\x69\x6E\x74\x73","\x69\x73\x44\x61\x73\x68\x65\x64","\x70\x61\x67\x65\x42\x72\x65\x61\x6B\x44\x61\x73\x68\x65\x64","\x61\x64\x64\x50\x69\x70\x65","\x73\x70\x6C\x69\x63\x65","\x76\x65\x72\x74\x69\x63\x61\x6C\x50\x61\x67\x65\x42\x72\x65\x61\x6B\x73","\x73\x6E\x61\x70\x54\x6F\x54\x65\x72\x6D\x69\x6E\x61\x6C\x73","\x73\x68\x6F\x75\x6C\x64\x52\x65\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73\x46\x72\x6F\x6D\x50\x61\x72\x65\x6E\x74","\x69\x73\x56\x65\x72\x74\x65\x78","\x67\x65\x74\x43\x65\x6C\x6C\x47\x65\x6F\x6D\x65\x74\x72\x79","\x72\x65\x6C\x61\x74\x69\x76\x65","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x41\x6C\x74\x44\x6F\x77\x6E","\x61\x64\x64\x49\x74\x65\x6D","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6F\x6E\x73\x75\x6D\x65","\x67\x65\x74\x49\x6E\x69\x74\x69\x61\x6C\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x69\x73\x44\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x73\x65\x6C\x65\x63\x74\x44\x65\x6C\x61\x79\x65\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x63\x65\x6C\x6C","\x67\x65\x74\x45\x76\x65\x6E\x74","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x46\x6F\x72\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x65\x6C\x6C\x46\x6F\x72\x50\x6F\x70\x75\x70\x45\x76\x65\x6E\x74","\x65\x64\x69\x74","\x67\x65\x74\x50\x72\x6F\x70\x65\x72\x74\x79","\x75\x6E\x64\x6F\x61\x62\x6C\x65\x45\x64\x69\x74\x48\x61\x70\x70\x65\x6E\x65\x64","\x67\x65\x74\x56\x69\x65\x77","\x63\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x46\x6F\x72\x43\x68\x61\x6E\x67\x65\x73","\x67\x65\x74\x53\x74\x61\x74\x65","\x70\x75\x73\x68","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x6C\x69\x62\x72\x61\x72\x69\x65\x73","\x70\x61\x63\x6B\x61\x67\x65\x73","\x67\x65\x74\x53\x74\x65\x6E\x63\x69\x6C","\x73\x74\x65\x6E\x63\x69\x6C\x73","\x67\x65\x74\x42\x61\x73\x65\x6E\x61\x6D\x65\x46\x6F\x72\x53\x74\x65\x6E\x63\x69\x6C","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x2E\x6A\x73","\x6C\x6F\x61\x64","\x67\x65\x74\x54\x65\x78\x74","\x2F","\x2E","\x73\x70\x6C\x69\x74","\x6D\x78\x67\x72\x61\x70\x68","\x67\x65\x74\x58\x6D\x6C","\x70\x61\x72\x73\x65\x53\x74\x65\x6E\x63\x69\x6C\x53\x65\x74","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x6E\x61\x6D\x65","\x6E\x6F\x64\x65\x54\x79\x70\x65","\x4E\x4F\x44\x45\x54\x59\x50\x45\x5F\x45\x4C\x45\x4D\x45\x4E\x54","\x5F","\x72\x65\x70\x6C\x61\x63\x65","\x61\x64\x64\x53\x74\x65\x6E\x63\x69\x6C","\x77","\x68","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x70\x72\x6F\x64\x75\x63\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65\x72","\x64\x6F\x6E\x65","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x65\x78\x65\x63\x75\x74\x65","\x73\x65\x74\x44\x61\x74\x61","\x64\x61\x74\x61","\x65\x72\x72\x6F\x72","\x63\x61\x6E\x63\x65\x6C","\x61\x6C\x65\x72\x74"];var useLocalStorage=(mxClient[_0xdd79[0]]|| urlParams[_0xdd79[1]]== _0xdd79[2])&& typeof (localStorage)!= _0xdd79[3];var fileSupport=window[_0xdd79[4]]!= null&& window[_0xdd79[5]]!= null&& window[_0xdd79[6]]!= null;var touchStyle=mxClient[_0xdd79[0]]|| urlParams[_0xdd79[7]]== _0xdd79[8];var counter=0;try{var op=window;while(op[_0xdd79[9]]!= null&& !isNaN(op[_0xdd79[9]][_0xdd79[10]])){op= op[_0xdd79[9]]};if(op!= null){op[_0xdd79[10]]++;counter= op[_0xdd79[10]]}}catch(e){};Editor= function(){mxEventSource[_0xdd79[11]](this);this[_0xdd79[12]]();this[_0xdd79[13]]();this[_0xdd79[14]]= new Graph();this[_0xdd79[15]]= new mxOutline(this[_0xdd79[14]]);this[_0xdd79[15]][_0xdd79[16]]= true;this[_0xdd79[17]]= this[_0xdd79[18]]();this[_0xdd79[19]]= _0xdd79[20];this[_0xdd79[21]]= null;this[_0xdd79[22]]= function(){return this[_0xdd79[21]]|| mxResources[_0xdd79[24]](_0xdd79[23],[counter])+ _0xdd79[25]};this[_0xdd79[26]]= function(){return this[_0xdd79[21]]};this[_0xdd79[27]]= function(_0xf92ax6){this[_0xdd79[19]]= _0xf92ax6;this[_0xdd79[29]]( new mxEventObject(_0xdd79[28]))};this[_0xdd79[30]]= function(){return this[_0xdd79[19]]};this[_0xdd79[31]]= false;this[_0xdd79[32]]= function(){this[_0xdd79[31]]= true};this[_0xdd79[14]][_0xdd79[36]]()[_0xdd79[35]](mxEvent.CHANGE,mxUtils[_0xdd79[34]](this,function(){this[_0xdd79[32]][_0xdd79[33]](this,arguments)}));window[_0xdd79[37]]= mxUtils[_0xdd79[34]](this,function(){if(this[_0xdd79[31]]){return mxResources[_0xdd79[24]](_0xdd79[38])}});this[_0xdd79[14]][_0xdd79[39]]= false;this[_0xdd79[14]][_0xdd79[40]]= true;this[_0xdd79[14]][_0xdd79[41]]= null};mxUtils[_0xdd79[42]](Editor,mxEventSource);Editor[_0xdd79[44]][_0xdd79[43]]= IMAGE_PATH+ _0xdd79[45];Editor[_0xdd79[44]][_0xdd79[46]]= IMAGE_PATH+ _0xdd79[47];Editor[_0xdd79[44]][_0xdd79[48]]= function(_0xf92ax7){var _0xf92ax8= new mxCodec(_0xf92ax7[_0xdd79[49]]);if(_0xf92ax7[_0xdd79[50]]== _0xdd79[51]){this[_0xdd79[14]][_0xdd79[53]][_0xdd79[52]]= 1;this[_0xdd79[14]][_0xdd79[54]]= _0xf92ax7[_0xdd79[56]](_0xdd79[55])!= _0xdd79[57];this[_0xdd79[14]][_0xdd79[59]][_0xdd79[58]]= _0xf92ax7[_0xdd79[56]](_0xdd79[60])!= _0xdd79[57];this[_0xdd79[14]][_0xdd79[62]](_0xf92ax7[_0xdd79[56]](_0xdd79[61])!= _0xdd79[57]);this[_0xdd79[14]][_0xdd79[64]](_0xf92ax7[_0xdd79[56]](_0xdd79[63])!= _0xdd79[57]);this[_0xdd79[14]][_0xdd79[65]]= _0xf92ax7[_0xdd79[56]](_0xdd79[66])!= _0xdd79[57];this[_0xdd79[14]][_0xdd79[40]]= _0xf92ax7[_0xdd79[56]](_0xdd79[40])!= _0xdd79[57];if(!this[_0xdd79[14]][_0xdd79[40]]){this[_0xdd79[14]][_0xdd79[68]][_0xdd79[67]]= 0;this[_0xdd79[14]][_0xdd79[68]][_0xdd79[69]]= 0;this[_0xdd79[14]][_0xdd79[53]][_0xdd79[71]][_0xdd79[70]]= Number(_0xf92ax7[_0xdd79[56]](_0xdd79[72])|| 0);this[_0xdd79[14]][_0xdd79[53]][_0xdd79[71]][_0xdd79[73]]= Number(_0xf92ax7[_0xdd79[56]](_0xdd79[74])|| 0)};this[_0xdd79[14]][_0xdd79[75]]= _0xf92ax7[_0xdd79[56]](_0xdd79[76])== _0xdd79[8];this[_0xdd79[14]][_0xdd79[77]]= this[_0xdd79[14]][_0xdd79[75]];this[_0xdd79[14]][_0xdd79[78]]= this[_0xdd79[14]][_0xdd79[77]];var _0xf92ax9=_0xf92ax7[_0xdd79[56]](_0xdd79[79]);if(_0xf92ax9!= null){this[_0xdd79[14]][_0xdd79[79]]= _0xf92ax9}else {this[_0xdd79[14]][_0xdd79[79]]= 1.5};var _0xf92axa=_0xf92ax7[_0xdd79[56]](_0xdd79[80]);var _0xf92axb=_0xf92ax7[_0xdd79[56]](_0xdd79[81]);if(_0xf92axa!= null&& _0xf92axb!= null){this[_0xdd79[14]][_0xdd79[82]]= new mxRectangle(0,0,parseFloat(_0xf92axa),parseFloat(_0xf92axb));this[_0xdd79[15]][_0xdd79[15]][_0xdd79[82]]= this[_0xdd79[14]][_0xdd79[82]]};var _0xf92axc=_0xf92ax7[_0xdd79[56]](_0xdd79[41]);if(_0xf92axc!= null&& _0xf92axc[_0xdd79[83]]> 0){this[_0xdd79[14]][_0xdd79[41]]= _0xf92axc};_0xf92ax8[_0xdd79[84]](_0xf92ax7,this[_0xdd79[14]][_0xdd79[36]]());this[_0xdd79[85]]()}};Editor[_0xdd79[44]][_0xdd79[86]]= function(){var _0xf92axd= new mxCodec(mxUtils[_0xdd79[87]]());var _0xf92ax7=_0xf92axd[_0xdd79[88]](this[_0xdd79[14]][_0xdd79[36]]());if(this[_0xdd79[14]][_0xdd79[53]][_0xdd79[71]][_0xdd79[70]]!= 0|| this[_0xdd79[14]][_0xdd79[53]][_0xdd79[71]][_0xdd79[73]]!= 0){_0xf92ax7[_0xdd79[90]](_0xdd79[72],Math[_0xdd79[89]](this[_0xdd79[14]][_0xdd79[53]][_0xdd79[71]][_0xdd79[70]]* 100)/ 100);_0xf92ax7[_0xdd79[90]](_0xdd79[74],Math[_0xdd79[89]](this[_0xdd79[14]][_0xdd79[53]][_0xdd79[71]][_0xdd79[73]]* 100)/ 100)};_0xf92ax7[_0xdd79[90]](_0xdd79[55],(this[_0xdd79[14]][_0xdd79[91]]())?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[60],(this[_0xdd79[14]][_0xdd79[59]][_0xdd79[58]])?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[60],(this[_0xdd79[14]][_0xdd79[59]][_0xdd79[58]])?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[61],(this[_0xdd79[14]][_0xdd79[93]][_0xdd79[92]]())?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[63],(this[_0xdd79[14]][_0xdd79[94]][_0xdd79[92]]())?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[66],(this[_0xdd79[14]][_0xdd79[65]])?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[76],(this[_0xdd79[14]][_0xdd79[75]])?_0xdd79[8]:_0xdd79[57]);_0xf92ax7[_0xdd79[90]](_0xdd79[79],this[_0xdd79[14]][_0xdd79[79]]);_0xf92ax7[_0xdd79[90]](_0xdd79[80],this[_0xdd79[14]][_0xdd79[82]][_0xdd79[95]]);_0xf92ax7[_0xdd79[90]](_0xdd79[81],this[_0xdd79[14]][_0xdd79[82]][_0xdd79[96]]);if(!this[_0xdd79[14]][_0xdd79[40]]){_0xf92ax7[_0xdd79[90]](_0xdd79[40],_0xdd79[57])};if(this[_0xdd79[14]][_0xdd79[41]]!= null){_0xf92ax7[_0xdd79[90]](_0xdd79[41],this[_0xdd79[14]][_0xdd79[41]])};return _0xf92ax7};Editor[_0xdd79[44]][_0xdd79[85]]= function(){var _0xf92axe=this[_0xdd79[14]];var _0xf92axf=this[_0xdd79[15]];if(_0xf92axe[_0xdd79[68]]!= null&& _0xf92axf[_0xdd79[15]][_0xdd79[68]]!= null){if(_0xf92axe[_0xdd79[41]]!= null){if(_0xf92axe[_0xdd79[41]]== _0xdd79[97]){_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[98]]= _0xdd79[100]}else {if(_0xf92axe[_0xdd79[53]][_0xdd79[101]]!= null){_0xf92axe[_0xdd79[53]][_0xdd79[101]][_0xdd79[102]]= _0xf92axe[_0xdd79[41]];_0xf92axe[_0xdd79[53]][_0xdd79[101]][_0xdd79[103]]()};_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[98]]= _0xf92axe[_0xdd79[41]]}}else {_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[98]]= _0xdd79[20]};if(_0xf92axe[_0xdd79[75]]){_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[98]]= _0xdd79[104];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[105]]= _0xdd79[106];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[107]]= _0xdd79[108];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[109]]= _0xdd79[110];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[111]]= _0xdd79[110];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[112]]= _0xdd79[113];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[114]]= _0xdd79[113]}else {_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[115]]= _0xdd79[20]};_0xf92axf[_0xdd79[15]][_0xdd79[68]][_0xdd79[99]][_0xdd79[98]]= _0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[98]];if(_0xf92axf[_0xdd79[15]][_0xdd79[75]]!= _0xf92axe[_0xdd79[75]]|| _0xf92axf[_0xdd79[15]][_0xdd79[79]]!= _0xf92axe[_0xdd79[79]]){_0xf92axf[_0xdd79[15]][_0xdd79[79]]= _0xf92axe[_0xdd79[79]];_0xf92axf[_0xdd79[15]][_0xdd79[75]]= _0xf92axe[_0xdd79[75]];_0xf92axf[_0xdd79[15]][_0xdd79[53]][_0xdd79[116]]()};if(_0xf92axe[_0xdd79[40]]&& _0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[117]]== _0xdd79[118]&& !touchStyle){_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[117]]= _0xdd79[119]}else {if(!_0xf92axe[_0xdd79[40]]|| touchStyle){_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[117]]= _0xdd79[118]}};var _0xf92ax10=(mxClient[_0xdd79[120]]&& document[_0xdd79[121]]>= 9)?_0xdd79[122]+ this[_0xdd79[46]]+ _0xdd79[123]:_0xdd79[97];_0xf92axe[_0xdd79[68]][_0xdd79[99]][_0xdd79[124]]= (!_0xf92axe[_0xdd79[75]]&& _0xf92axe[_0xdd79[91]]())?_0xdd79[122]+ this[_0xdd79[43]]+ _0xdd79[123]:_0xf92ax10;if(_0xf92axe[_0xdd79[53]][_0xdd79[101]]!= null){_0xf92axe[_0xdd79[53]][_0xdd79[101]][_0xdd79[125]][_0xdd79[99]][_0xdd79[124]]= (this[_0xdd79[14]][_0xdd79[91]]())?_0xdd79[122]+ this[_0xdd79[43]]+ _0xdd79[123]:_0xdd79[97]}}};Editor[_0xdd79[44]][_0xdd79[12]]= function(){if(mxClient[_0xdd79[126]]){mxClient[_0xdd79[129]](_0xdd79[127],CSS_PATH+ _0xdd79[128])};mxResources[_0xdd79[130]]= false;mxResources[_0xdd79[131]](RESOURCE_BASE);mxConstants[_0xdd79[132]]= 0.3;var _0xf92ax11=mxConnectionHandler[_0xdd79[44]][_0xdd79[133]];mxConnectionHandler[_0xdd79[44]][_0xdd79[133]]= function(){var _0xf92ax12=_0xf92ax11[_0xdd79[33]](this,arguments);_0xf92ax12[_0xdd79[134]]= mxUtils[_0xdd79[34]](this,function(_0xf92ax13,_0xf92ax14){if(this[_0xdd79[135]]()){return true};return mxCellMarker[_0xdd79[44]][_0xdd79[134]][_0xdd79[33]](_0xf92ax12,arguments)});return _0xf92ax12};mxConstants[_0xdd79[136]]= _0xdd79[137];mxConstants[_0xdd79[138]]= _0xdd79[139];mxConstants[_0xdd79[140]]= _0xdd79[141];mxConstants[_0xdd79[142]]= _0xdd79[143];mxConstants[_0xdd79[144]]= _0xdd79[143];mxConstants[_0xdd79[145]]= _0xdd79[139];mxConstants[_0xdd79[146]]= _0xdd79[143];mxConstants[_0xdd79[147]]= _0xdd79[148];mxConstants[_0xdd79[149]]= _0xdd79[143];mxConstants[_0xdd79[150]]= _0xdd79[143];mxConstants[_0xdd79[151]]= _0xdd79[148];mxConstants[_0xdd79[152]]= _0xdd79[141];mxGraph[_0xdd79[44]][_0xdd79[153]]= _0xdd79[154];mxGraph[_0xdd79[44]][_0xdd79[79]]= 1;mxRubberband[_0xdd79[44]][_0xdd79[155]]= 30;mxGraphView[_0xdd79[44]][_0xdd79[156]]= function(_0xf92ax15){return new mxRectangleShape(_0xf92ax15,this[_0xdd79[14]][_0xdd79[41]]|| _0xdd79[157],_0xdd79[158])};mxGraphView[_0xdd79[44]][_0xdd79[159]]= function(){var _0xf92ax16=this[_0xdd79[160]]();var _0xf92ax17=(_0xf92ax16[_0xdd79[95]]> 0)?_0xf92ax16[_0xdd79[70]]/ this[_0xdd79[52]]- this[_0xdd79[71]][_0xdd79[70]]:0;var _0xf92ax18=(_0xf92ax16[_0xdd79[96]]> 0)?_0xf92ax16[_0xdd79[73]]/ this[_0xdd79[52]]- this[_0xdd79[71]][_0xdd79[73]]:0;var _0xf92ax19=_0xf92ax16[_0xdd79[95]]/ this[_0xdd79[52]];var _0xf92ax1a=_0xf92ax16[_0xdd79[96]]/ this[_0xdd79[52]];var _0xf92ax1b=this[_0xdd79[14]][_0xdd79[82]];var _0xf92ax9=this[_0xdd79[14]][_0xdd79[79]];var _0xf92axa=_0xf92ax1b[_0xdd79[95]]* _0xf92ax9;var _0xf92axb=_0xf92ax1b[_0xdd79[96]]* _0xf92ax9;var _0xf92ax1c=Math[_0xdd79[162]](Math[_0xdd79[161]](0,_0xf92ax17)/ _0xf92axa);var _0xf92ax1d=Math[_0xdd79[162]](Math[_0xdd79[161]](0,_0xf92ax18)/ _0xf92axb);var _0xf92ax1e=Math[_0xdd79[164]](Math[_0xdd79[163]](1,_0xf92ax17+ _0xf92ax19)/ _0xf92axa);var _0xf92ax1f=Math[_0xdd79[164]](Math[_0xdd79[163]](1,_0xf92ax18+ _0xf92ax1a)/ _0xf92axb);var _0xf92ax20=_0xf92ax1e- _0xf92ax1c;var _0xf92ax21=_0xf92ax1f- _0xf92ax1d;var _0xf92ax15= new mxRectangle(this[_0xdd79[52]]* (this[_0xdd79[71]][_0xdd79[70]]+ _0xf92ax1c* _0xf92axa),this[_0xdd79[52]]* (this[_0xdd79[71]][_0xdd79[73]]+ _0xf92ax1d* _0xf92axb),this[_0xdd79[52]]* _0xf92ax20* _0xf92axa,this[_0xdd79[52]]* _0xf92ax21* _0xf92axb);return _0xf92ax15};var _0xf92ax22=mxGraph[_0xdd79[44]][_0xdd79[165]];mxGraph[_0xdd79[44]][_0xdd79[165]]= function(_0xf92ax23,_0xf92ax24){_0xf92ax22[_0xdd79[33]](this,arguments);if((this[_0xdd79[166]]!= mxConstants[_0xdd79[167]]&& this[_0xdd79[53]][_0xdd79[101]]!= null)&& (!this[_0xdd79[168]]|| !mxUtils[_0xdd79[169]](this[_0xdd79[68]]))){this[_0xdd79[53]][_0xdd79[101]][_0xdd79[125]][_0xdd79[99]][_0xdd79[170]]= _0xf92ax23+ _0xdd79[171];this[_0xdd79[53]][_0xdd79[101]][_0xdd79[125]][_0xdd79[99]][_0xdd79[172]]= _0xf92ax24+ _0xdd79[171]}};var _0xf92ax25=this;mxGraphView[_0xdd79[44]][_0xdd79[173]]= function(){var _0xf92axc=this[_0xdd79[14]][_0xdd79[174]]();if(_0xf92axc!= null){if(this[_0xdd79[124]]== null|| this[_0xdd79[124]][_0xdd79[175]]!= _0xf92axc[_0xdd79[176]]){if(this[_0xdd79[124]]!= null){this[_0xdd79[124]][_0xdd79[177]]()};var _0xf92ax15= new mxRectangle(0,0,1,1);this[_0xdd79[124]]= new mxImageShape(_0xf92ax15,_0xf92axc[_0xdd79[176]]);this[_0xdd79[124]][_0xdd79[166]]= this[_0xdd79[14]][_0xdd79[166]];this[_0xdd79[124]][_0xdd79[12]](this[_0xdd79[178]]);this[_0xdd79[124]][_0xdd79[179]]()};this[_0xdd79[180]](this[_0xdd79[124]],_0xf92axc)}else {if(this[_0xdd79[124]]!= null){this[_0xdd79[124]][_0xdd79[177]]();this[_0xdd79[124]]= null}};if(this[_0xdd79[14]][_0xdd79[75]]){var _0xf92ax15=this[_0xdd79[159]]();if(this[_0xdd79[101]]== null){this[_0xdd79[101]]= this[_0xdd79[156]](_0xf92ax15);this[_0xdd79[101]][_0xdd79[52]]= 1;this[_0xdd79[101]][_0xdd79[181]]= true;this[_0xdd79[101]][_0xdd79[166]]= mxConstants[_0xdd79[182]];this[_0xdd79[101]][_0xdd79[12]](this[_0xdd79[14]][_0xdd79[68]]);this[_0xdd79[14]][_0xdd79[68]][_0xdd79[184]][_0xdd79[99]][_0xdd79[183]]= _0xdd79[185];this[_0xdd79[14]][_0xdd79[68]][_0xdd79[186]](this[_0xdd79[101]][_0xdd79[125]],this[_0xdd79[14]][_0xdd79[68]][_0xdd79[184]]);this[_0xdd79[101]][_0xdd79[179]]();this[_0xdd79[101]][_0xdd79[125]][_0xdd79[187]]= _0xdd79[188];this[_0xdd79[101]][_0xdd79[125]][_0xdd79[99]][_0xdd79[189]]= _0xdd79[190];mxEvent[_0xdd79[35]](this[_0xdd79[101]][_0xdd79[125]],_0xdd79[191],mxUtils[_0xdd79[34]](this,function(_0xf92ax14){this[_0xdd79[14]][_0xdd79[192]](_0xf92ax14)}));mxEvent[_0xdd79[198]](this[_0xdd79[101]][_0xdd79[125]],mxUtils[_0xdd79[34]](this,function(_0xf92ax14){this[_0xdd79[14]][_0xdd79[193]](mxEvent.MOUSE_DOWN, new mxMouseEvent(_0xf92ax14))}),mxUtils[_0xdd79[34]](this,function(_0xf92ax14){if(this[_0xdd79[14]][_0xdd79[93]]!= null&& this[_0xdd79[14]][_0xdd79[93]][_0xdd79[194]]()){this[_0xdd79[14]][_0xdd79[93]][_0xdd79[195]]()};if(this[_0xdd79[14]][_0xdd79[196]]&& !mxEvent[_0xdd79[197]](_0xf92ax14)){this[_0xdd79[14]][_0xdd79[193]](mxEvent.MOUSE_MOVE, new mxMouseEvent(_0xf92ax14))}}),mxUtils[_0xdd79[34]](this,function(_0xf92ax14){this[_0xdd79[14]][_0xdd79[193]](mxEvent.MOUSE_UP, new mxMouseEvent(_0xf92ax14))}))}else {this[_0xdd79[101]][_0xdd79[52]]= 1;this[_0xdd79[101]][_0xdd79[199]]= _0xf92ax15;this[_0xdd79[101]][_0xdd79[179]]()};this[_0xdd79[101]][_0xdd79[125]][_0xdd79[99]][_0xdd79[124]]= (this[_0xdd79[14]][_0xdd79[91]]())?_0xdd79[122]+ _0xf92ax25[_0xdd79[43]]+ _0xdd79[123]:_0xdd79[97]}else {if(this[_0xdd79[101]]!= null){this[_0xdd79[101]][_0xdd79[177]]();this[_0xdd79[101]]= null}}};mxGraph[_0xdd79[44]][_0xdd79[200]]= function(_0xf92ax26,_0xf92ax27,_0xf92ax28){var _0xf92ax29=this[_0xdd79[53]][_0xdd79[52]];var _0xf92ax2a=this[_0xdd79[53]][_0xdd79[71]];var _0xf92ax1b=this[_0xdd79[82]];var _0xf92ax9=_0xf92ax29* this[_0xdd79[79]];var _0xf92ax2b=this[_0xdd79[53]][_0xdd79[159]]();_0xf92ax27= _0xf92ax2b[_0xdd79[95]];_0xf92ax28= _0xf92ax2b[_0xdd79[96]];var _0xf92ax15= new mxRectangle(_0xf92ax29* _0xf92ax2a[_0xdd79[70]],_0xf92ax29* _0xf92ax2a[_0xdd79[73]],_0xf92ax1b[_0xdd79[95]]* _0xf92ax9,_0xf92ax1b[_0xdd79[96]]* _0xf92ax9);_0xf92ax26= _0xf92ax26&& Math[_0xdd79[161]](_0xf92ax15[_0xdd79[95]],_0xf92ax15[_0xdd79[96]])> this[_0xdd79[201]];var _0xf92ax2c=(_0xf92ax26)?Math[_0xdd79[164]](_0xf92ax27/ _0xf92ax15[_0xdd79[95]])- 1:0;var _0xf92ax2d=(_0xf92ax26)?Math[_0xdd79[164]](_0xf92ax28/ _0xf92ax15[_0xdd79[96]])- 1:0;var _0xf92ax2e=_0xf92ax2b[_0xdd79[70]]+ _0xf92ax27;var _0xf92ax2f=_0xf92ax2b[_0xdd79[73]]+ _0xf92ax28;if(this[_0xdd79[202]]== null&& _0xf92ax2c> 0){this[_0xdd79[202]]= []};if(this[_0xdd79[202]]!= null){for(var _0xf92ax30=0;_0xf92ax30<= _0xf92ax2c;_0xf92ax30++){var _0xf92ax31=[ new mxPoint(_0xf92ax2b[_0xdd79[70]]+ (_0xf92ax30+ 1)* _0xf92ax15[_0xdd79[95]],_0xf92ax2b[_0xdd79[73]]), new mxPoint(_0xf92ax2b[_0xdd79[70]]+ (_0xf92ax30+ 1)* _0xf92ax15[_0xdd79[95]],_0xf92ax2f)];if(this[_0xdd79[202]][_0xf92ax30]!= null){this[_0xdd79[202]][_0xf92ax30][_0xdd79[52]]= 1;this[_0xdd79[202]][_0xf92ax30][_0xdd79[203]]= _0xf92ax31;this[_0xdd79[202]][_0xf92ax30][_0xdd79[179]]()}else {var _0xf92ax32= new mxPolyline(_0xf92ax31,this[_0xdd79[153]],this[_0xdd79[52]]);_0xf92ax32[_0xdd79[166]]= this[_0xdd79[166]];_0xf92ax32[_0xdd79[204]]= this[_0xdd79[205]];_0xf92ax32[_0xdd79[206]]= false;_0xf92ax32[_0xdd79[52]]= _0xf92ax29;_0xf92ax32[_0xdd79[12]](this[_0xdd79[53]][_0xdd79[178]]);_0xf92ax32[_0xdd79[179]]();this[_0xdd79[202]][_0xf92ax30]= _0xf92ax32}};for(var _0xf92ax30=_0xf92ax2c;_0xf92ax30< this[_0xdd79[202]][_0xdd79[83]];_0xf92ax30++){this[_0xdd79[202]][_0xf92ax30][_0xdd79[177]]()};this[_0xdd79[202]][_0xdd79[207]](_0xf92ax2c,this[_0xdd79[202]][_0xdd79[83]]- _0xf92ax2c)};if(this[_0xdd79[208]]== null&& _0xf92ax2d> 0){this[_0xdd79[208]]= []};if(this[_0xdd79[208]]!= null){for(var _0xf92ax30=0;_0xf92ax30<= _0xf92ax2d;_0xf92ax30++){var _0xf92ax31=[ new mxPoint(_0xf92ax2b[_0xdd79[70]],_0xf92ax2b[_0xdd79[73]]+ (_0xf92ax30+ 1)* _0xf92ax15[_0xdd79[96]]), new mxPoint(_0xf92ax2e,_0xf92ax2b[_0xdd79[73]]+ (_0xf92ax30+ 1)* _0xf92ax15[_0xdd79[96]])];if(this[_0xdd79[208]][_0xf92ax30]!= null){this[_0xdd79[208]][_0xf92ax30][_0xdd79[52]]= 1;this[_0xdd79[208]][_0xf92ax30][_0xdd79[203]]= _0xf92ax31;this[_0xdd79[208]][_0xf92ax30][_0xdd79[179]]()}else {var _0xf92ax32= new mxPolyline(_0xf92ax31,this[_0xdd79[153]],_0xf92ax29);_0xf92ax32[_0xdd79[166]]= this[_0xdd79[166]];_0xf92ax32[_0xdd79[204]]= this[_0xdd79[205]];_0xf92ax32[_0xdd79[206]]= false;_0xf92ax32[_0xdd79[52]]= _0xf92ax29;_0xf92ax32[_0xdd79[12]](this[_0xdd79[53]][_0xdd79[178]]);_0xf92ax32[_0xdd79[179]]();this[_0xdd79[208]][_0xf92ax30]= _0xf92ax32}};for(var _0xf92ax30=_0xf92ax2d;_0xf92ax30< this[_0xdd79[208]][_0xdd79[83]];_0xf92ax30++){this[_0xdd79[208]][_0xf92ax30][_0xdd79[177]]()};this[_0xdd79[208]][_0xdd79[207]](_0xf92ax2d,this[_0xdd79[208]][_0xdd79[83]]- _0xf92ax2d)}};mxEdgeHandler[_0xdd79[44]][_0xdd79[209]]= true;mxGraphHandler[_0xdd79[44]][_0xdd79[58]]= true;var _0xf92ax33=mxGraphHandler[_0xdd79[44]][_0xdd79[210]];mxGraphHandler[_0xdd79[44]][_0xdd79[210]]= function(_0xf92ax34,_0xf92ax35,_0xf92ax14){for(var _0xf92ax30=0;_0xf92ax30< _0xf92ax35[_0xdd79[83]];_0xf92ax30++){if(this[_0xdd79[14]][_0xdd79[36]]()[_0xdd79[211]](_0xf92ax35[_0xf92ax30])){var _0xf92ax36=this[_0xdd79[14]][_0xdd79[212]](_0xf92ax35[_0xf92ax30]);if(_0xf92ax36!= null&& _0xf92ax36[_0xdd79[213]]){return false}}};return _0xf92ax33[_0xdd79[33]](this,arguments)};mxGuide[_0xdd79[44]][_0xdd79[214]]= function(_0xf92ax14){return !mxEvent[_0xdd79[215]](_0xf92ax14)};mxPopupMenuAddItem= mxPopupMenu[_0xdd79[44]][_0xdd79[216]];mxPopupMenu[_0xdd79[44]][_0xdd79[216]]= function(_0xf92ax37,_0xf92ax38,_0xf92ax39,_0xf92ax34,_0xf92ax3a,_0xf92ax3b){var _0xf92ax3c=mxPopupMenuAddItem[_0xdd79[33]](this,arguments);if(_0xf92ax3b!= null&& !_0xf92ax3b){mxEvent[_0xdd79[35]](_0xf92ax3c,_0xdd79[217],function(_0xf92ax14){mxEvent[_0xdd79[218]](_0xf92ax14)})};return _0xf92ax3c};var _0xf92ax3d=mxGraphHandler[_0xdd79[44]][_0xdd79[219]];mxGraphHandler[_0xdd79[44]][_0xdd79[219]]= function(_0xf92ax3e){var _0xf92ax3f=this[_0xdd79[14]][_0xdd79[36]]();var _0xf92ax40=_0xf92ax3f[_0xdd79[221]](this[_0xdd79[14]][_0xdd79[220]]());var _0xf92ax41=_0xf92ax3d[_0xdd79[33]](this,arguments);var _0xf92ax34=_0xf92ax3f[_0xdd79[221]](_0xf92ax41);if(_0xf92ax40== null|| (_0xf92ax40!= _0xf92ax41&& _0xf92ax40!= _0xf92ax34)){while(!this[_0xdd79[14]][_0xdd79[222]](_0xf92ax41)&& !this[_0xdd79[14]][_0xdd79[222]](_0xf92ax34)&& _0xf92ax3f[_0xdd79[211]](_0xf92ax34)&& !this[_0xdd79[14]][_0xdd79[223]](_0xf92ax34)){_0xf92ax41= _0xf92ax34;_0xf92ax34= this[_0xdd79[14]][_0xdd79[36]]()[_0xdd79[221]](_0xf92ax41)}};return _0xf92ax41};var _0xf92ax42=mxGraphHandler[_0xdd79[44]][_0xdd79[224]];mxGraphHandler[_0xdd79[44]][_0xdd79[224]]= function(_0xf92ax41){var _0xf92ax3c=_0xf92ax42[_0xdd79[33]](this,arguments);var _0xf92ax3f=this[_0xdd79[14]][_0xdd79[36]]();var _0xf92ax40=_0xf92ax3f[_0xdd79[221]](this[_0xdd79[14]][_0xdd79[220]]());var _0xf92ax34=_0xf92ax3f[_0xdd79[221]](_0xf92ax41);if(_0xf92ax40== null|| (_0xf92ax40!= _0xf92ax41&& _0xf92ax40!= _0xf92ax34)){if(!this[_0xdd79[14]][_0xdd79[222]](_0xf92ax41)&& _0xf92ax3f[_0xdd79[211]](_0xf92ax34)&& !this[_0xdd79[14]][_0xdd79[223]](_0xf92ax34)){_0xf92ax3c= true}};return _0xf92ax3c};mxGraphHandler[_0xdd79[44]][_0xdd79[225]]= function(_0xf92ax3e){var _0xf92ax41=_0xf92ax3e[_0xdd79[226]]();if(_0xf92ax41== null){_0xf92ax41= this[_0xdd79[227]]};var _0xf92ax3f=this[_0xdd79[14]][_0xdd79[36]]();var _0xf92ax34=_0xf92ax3f[_0xdd79[221]](_0xf92ax41);while(this[_0xdd79[14]][_0xdd79[222]](_0xf92ax41)&& _0xf92ax3f[_0xdd79[211]](_0xf92ax34)&& !this[_0xdd79[14]][_0xdd79[223]](_0xf92ax34)){_0xf92ax41= _0xf92ax34;_0xf92ax34= _0xf92ax3f[_0xdd79[221]](_0xf92ax41)};this[_0xdd79[14]][_0xdd79[229]](_0xf92ax41,_0xf92ax3e[_0xdd79[228]]())};mxPanningHandler[_0xdd79[44]][_0xdd79[230]]= function(_0xf92ax3e){var _0xf92ax41=_0xf92ax3e[_0xdd79[226]]();var _0xf92ax3f=this[_0xdd79[14]][_0xdd79[36]]();var _0xf92ax34=_0xf92ax3f[_0xdd79[221]](_0xf92ax41);while(_0xf92ax3f[_0xdd79[211]](_0xf92ax34)&& !this[_0xdd79[14]][_0xdd79[223]](_0xf92ax34)){if(this[_0xdd79[14]][_0xdd79[222]](_0xf92ax34)){_0xf92ax41= _0xf92ax34};_0xf92ax34= _0xf92ax3f[_0xdd79[221]](_0xf92ax34)};return _0xf92ax41}};Editor[_0xdd79[44]][_0xdd79[18]]= function(){var _0xf92axe=this[_0xdd79[14]];var _0xf92ax43= new mxUndoManager();var _0xf92ax44=function(_0xf92ax45,_0xf92ax14){_0xf92ax43[_0xdd79[233]](_0xf92ax14[_0xdd79[232]](_0xdd79[231]))};_0xf92axe[_0xdd79[36]]()[_0xdd79[35]](mxEvent.UNDO,_0xf92ax44);_0xf92axe[_0xdd79[234]]()[_0xdd79[35]](mxEvent.UNDO,_0xf92ax44);var _0xf92ax46=function(_0xf92ax45,_0xf92ax14){var _0xf92ax47=_0xf92axe[_0xdd79[236]](_0xf92ax14[_0xdd79[232]](_0xdd79[231])[_0xdd79[235]]);var _0xf92ax35=[];for(var _0xf92ax30=1;_0xf92ax30< _0xf92ax47[_0xdd79[83]];_0xf92ax30++){if(_0xf92axe[_0xdd79[53]][_0xdd79[237]](_0xf92ax47[_0xf92ax30])!= null){_0xf92ax35[_0xdd79[238]](_0xf92ax47[_0xf92ax30])}};_0xf92axe[_0xdd79[239]](_0xf92ax35)};_0xf92ax43[_0xdd79[35]](mxEvent.UNDO,_0xf92ax46);_0xf92ax43[_0xdd79[35]](mxEvent.REDO,_0xf92ax46);return _0xf92ax43};Editor[_0xdd79[44]][_0xdd79[13]]= function(){mxStencilRegistry[_0xdd79[241]](STENCIL_PATH+ _0xdd79[240])};(function(){mxStencilRegistry[_0xdd79[242]]= {};mxStencilRegistry[_0xdd79[243]]= [];mxStencilRegistry[_0xdd79[244]]= function(_0xf92ax48){var _0xf92ax3c=mxStencilRegistry[_0xdd79[245]][_0xf92ax48];if(_0xf92ax3c== null){var _0xf92ax49=mxStencilRegistry[_0xdd79[246]](_0xf92ax48);if(_0xf92ax49!= null){var _0xf92ax4a=mxStencilRegistry[_0xdd79[242]][_0xf92ax49];if(_0xf92ax4a!= null){if(mxStencilRegistry[_0xdd79[243]][_0xf92ax49]== null){mxStencilRegistry[_0xdd79[243]][_0xf92ax49]= 1;for(var _0xf92ax30=0;_0xf92ax30< _0xf92ax4a[_0xdd79[83]];_0xf92ax30++){var _0xf92ax4b=_0xf92ax4a[_0xf92ax30];if(_0xf92ax4b[_0xdd79[248]]()[_0xdd79[247]](_0xf92ax4b[_0xdd79[83]]- 4,_0xf92ax4b[_0xdd79[83]])== _0xdd79[25]){mxStencilRegistry[_0xdd79[241]](_0xf92ax4b,null)}else {if(_0xf92ax4b[_0xdd79[248]]()[_0xdd79[247]](_0xf92ax4b[_0xdd79[83]]- 3,_0xf92ax4b[_0xdd79[83]])== _0xdd79[249]){var _0xf92ax4c=mxUtils[_0xdd79[250]](_0xf92ax4b);if(_0xf92ax4c!= null){eval[_0xdd79[11]](window,_0xf92ax4c[_0xdd79[251]]())}}else {}}}}}else {mxStencilRegistry[_0xdd79[241]](STENCIL_PATH+ _0xdd79[252]+ _0xf92ax49+ _0xdd79[25],null)};_0xf92ax3c= mxStencilRegistry[_0xdd79[245]][_0xf92ax48]}};return _0xf92ax3c};mxStencilRegistry[_0xdd79[246]]= function(_0xf92ax48){var _0xf92ax4d=_0xf92ax48[_0xdd79[254]](_0xdd79[253]);var _0xf92ax4e=null;if(_0xf92ax4d[_0xdd79[83]]> 0&& _0xf92ax4d[0]== _0xdd79[255]){_0xf92ax4e= _0xf92ax4d[1];for(var _0xf92ax30=2;_0xf92ax30< _0xf92ax4d[_0xdd79[83]]- 1;_0xf92ax30++){_0xf92ax4e+= _0xdd79[252]+ _0xf92ax4d[_0xf92ax30]}};return _0xf92ax4e};mxStencilRegistry[_0xdd79[241]]= function(_0xf92ax4f,_0xf92ax50,_0xf92ax51){_0xf92ax51= (_0xf92ax51!= null)?_0xf92ax51:false;var _0xf92ax52=mxStencilRegistry[_0xdd79[243]][_0xf92ax4f];if(_0xf92ax51|| _0xf92ax52== null){var _0xf92ax53=false;if(_0xf92ax52== null){var _0xf92ax4c=mxUtils[_0xdd79[250]](_0xf92ax4f);_0xf92ax52= _0xf92ax4c[_0xdd79[256]]();mxStencilRegistry[_0xdd79[243]][_0xf92ax4f]= _0xf92ax52;_0xf92ax53= true};mxStencilRegistry[_0xdd79[257]](_0xf92ax52,_0xf92ax50,_0xf92ax53)}};mxStencilRegistry[_0xdd79[257]]= function(_0xf92ax54,_0xf92ax50,_0xf92ax53){_0xf92ax53= (_0xf92ax53!= null)?_0xf92ax53:true;var _0xf92ax55=_0xf92ax54[_0xdd79[258]];var _0xf92ax56=_0xf92ax55[_0xdd79[184]];var _0xf92ax57=_0xdd79[20];var _0xf92ax48=_0xf92ax55[_0xdd79[56]](_0xdd79[259]);if(_0xf92ax48!= null){_0xf92ax57= _0xf92ax48+ _0xdd79[253]};while(_0xf92ax56!= null){if(_0xf92ax56[_0xdd79[260]]== mxConstants[_0xdd79[261]]){_0xf92ax48= _0xf92ax56[_0xdd79[56]](_0xdd79[259]);if(_0xf92ax48!= null){_0xf92ax57= _0xf92ax57[_0xdd79[248]]();var _0xf92ax58=_0xf92ax48[_0xdd79[263]](/ /g,_0xdd79[262]);if(_0xf92ax53){mxStencilRegistry[_0xdd79[264]](_0xf92ax57+ _0xf92ax58[_0xdd79[248]](), new mxStencil(_0xf92ax56))};if(_0xf92ax50!= null){var _0xf92ax19=_0xf92ax56[_0xdd79[56]](_0xdd79[265]);var _0xf92ax1a=_0xf92ax56[_0xdd79[56]](_0xdd79[266]);_0xf92ax19= (_0xf92ax19== null)?80:parseInt(_0xf92ax19,10);_0xf92ax1a= (_0xf92ax1a== null)?80:parseInt(_0xf92ax1a,10);_0xf92ax50(_0xf92ax57,_0xf92ax58,_0xf92ax48,_0xf92ax19,_0xf92ax1a)}}};_0xf92ax56= _0xf92ax56[_0xdd79[267]]}}})();OpenFile= function(_0xf92ax59){this[_0xdd79[268]]= null;this[_0xdd79[269]]= null;this[_0xdd79[270]]= _0xf92ax59};OpenFile[_0xdd79[44]][_0xdd79[271]]= function(_0xf92ax6){this[_0xdd79[269]]= _0xf92ax6;this[_0xdd79[272]]()};OpenFile[_0xdd79[44]][_0xdd79[273]]= function(_0xf92ax6,_0xf92ax5a){this[_0xdd79[274]]= _0xf92ax6;this[_0xdd79[21]]= _0xf92ax5a;this[_0xdd79[272]]()};OpenFile[_0xdd79[44]][_0xdd79[275]]= function(_0xf92ax5b){this[_0xdd79[276]]();mxUtils[_0xdd79[277]](_0xf92ax5b)};OpenFile[_0xdd79[44]][_0xdd79[272]]= function(){if(this[_0xdd79[269]]!= null&& this[_0xdd79[274]]!= null){this[_0xdd79[269]](this[_0xdd79[274]],this[_0xdd79[21]]);this[_0xdd79[276]]()}};OpenFile[_0xdd79[44]][_0xdd79[276]]= function(){if(this[_0xdd79[270]]!= null){this[_0xdd79[270]]()}} \ 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 7a44fca..3e93f94 100644 --- a/public/assets/plugins/square/js/EditorUi.js +++ b/public/assets/plugins/square/js/EditorUi.js @@ -1 +1 @@ -var _0xece5=["\x65\x64\x69\x74\x6F\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x45\x64\x69\x74\x6F\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x72\x61\x70\x68","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x73\x72\x63","\x73\x75\x62\x6D\x65\x6E\x75\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x6D\x65\x6E\x75\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x76\x73","\x72\x65\x66\x72\x65\x73\x68","\x63\x72\x65\x61\x74\x65\x55\x69","\x65\x76\x65\x6E\x74","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x41\x6C\x6C\x6F\x77\x65\x64","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x62\x69\x6E\x64","\x62\x6F\x64\x79","\x6F\x6E\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x6D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x6E\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x74\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x64\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x66\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x69\x6E\x69\x74","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x75\x72\x73\x6F\x72","\x64\x65\x66\x61\x75\x6C\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x66\x6F\x63\x75\x73","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x61\x70\x70\x6C\x79","\x6D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x73\x74\x61\x72\x74","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x6E\x64","\x6E","\x63\x72\x65\x61\x74\x65\x4D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x61\x6E\x73\x77\x65\x72","\x68\x61\x6E\x67\x75\x70","\x64\x69\x61\x6C","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x71\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x73\x65\x74","\x6D\x61\x74\x68","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x6D\x65\x6E\x75","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x74\x74\x73","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x72\x65\x63\x6F\x72\x64","\x64\x61\x74\x61\x62\x61\x73\x65","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x73\x65\x6E\x64\x53\x4D\x53","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x67\x6F\x74\x6F\x63","\x67\x6F\x74\x6F\x69\x66","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x67\x6F\x74\x6F\x69\x66\x6D\x75\x6C\x74\x69\x74\x69\x6D\x65","\x76\x73\x77\x69\x74\x63\x68","\x71\x75\x65\x75\x65\x6C\x6F\x67","\x67\x6F\x61\x6C","\x6E\x6F\x6F\x70","\x73\x79\x73\x74\x65\x6D","\x61\x67\x69","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x65\x6C\x6C","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x74\x61\x67\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x73\x6F\x75\x72\x63\x65","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67\x41\x74\x43\x65\x6C\x6C","\x69\x73\x56\x65\x72\x74\x65\x78","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x63\x6F\x6E\x73\x75\x6D\x65","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x6F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x67\x65\x73\x74\x75\x72\x65\x63\x68\x61\x6E\x67\x65","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x73\x63\x61\x6C\x65\x28","\x73\x63\x61\x6C\x65","\x67\x65\x74\x44\x72\x61\x77\x50\x61\x6E\x65","\x76\x69\x65\x77","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x73\x74\x75\x72\x65\x65\x6E\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x7A\x6F\x6F\x6D\x54\x6F\x43\x65\x6E\x74\x65\x72","\x7A\x6F\x6F\x6D","\x76\x69\x73\x69\x62\x6C\x65","\x63\x72\x65\x61\x74\x65\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x73\x69\x7A\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x75\x70\x64\x61\x74\x65","\x6F\x70\x65\x6E","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6D\x65\x6E\x75\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x74\x6F\x6F\x6C\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x66\x6F\x6F\x74\x65\x72\x48\x65\x69\x67\x68\x74","\x68\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x76\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x55\x6E\x64\x6F\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x73\x74\x65","\x67\x65\x74","\x69\x73\x45\x6D\x70\x74\x79","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x74","\x63\x6F\x70\x79","\x6F\x70\x65\x6E\x65\x72","\x6F\x70\x65\x6E\x46\x69\x6C\x65","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x63\x6C\x65\x61\x72","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x69\x6E\x76\x61\x6C\x69\x64\x4F\x72\x4D\x69\x73\x73\x69\x6E\x67\x46\x69\x6C\x65","\x3A\x20","\x6D\x65\x73\x73\x61\x67\x65","\x61\x6C\x65\x72\x74","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x6F\x70\x65\x6E\x53\x74\x72\x69\x6E\x67","\x64\x61\x74\x61","\x6E\x65\x77","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x67\x65\x74\x49\x74\x65\x6D","\x72\x65\x70\x6C\x61\x63\x65","\x63\x6F\x6E\x66\x69\x72\x6D","\x73\x65\x74\x49\x74\x65\x6D","\x73\x61\x76\x65\x64","\x20","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x6C\x6F\x67","\x50\x4F\x53\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x50\x72\x6F\x6A\x65\x63\x74\x20","\x6E\x61\x6D\x65","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x20\x69\x73\x20\x6F\x70\x65\x6E\x69\x6E\x67\x20\x69\x6E\x20\x6E\x65\x77\x20\x77\x69\x6E\x64\x6F\x77\x21","\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x2F","\x69\x64","\x5F\x62\x6C\x61\x6E\x6B","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x65\x77\x26\x6E\x61\x6D\x65\x3D","\x73\x65\x6E\x64","\x64\x72\x61\x77\x69\x6E\x67\x54\x6F\x6F\x4C\x61\x72\x67\x65","\x70\x6F\x70\x75\x70","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74","\x73\x61\x76\x65","\x50\x55\x54","\x55\x70\x64\x61\x74\x65\x64\x20\x61\x74\x20","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x20\x28","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x70\x72\x65\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x66\x69\x6C\x65","\x73\x61\x76\x65\x41\x73","\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x45\x72\x72\x6F\x72\x20\x63\x6C\x6F\x6E\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x63\x6C\x6F\x6E\x65\x64\x26\x6E\x61\x6D\x65\x3D","\x26\x70\x72\x65\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x26\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x76\x61\x6C\x69\x64\x61\x74\x65","\x67\x65\x74\x52\x6F\x6F\x74","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x41\x74","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x3C\x62\x72\x3E","\x73\x65\x74\x43\x65\x6C\x6C\x57\x61\x72\x6E\x69\x6E\x67","","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x6C\x6F\x63\x6B","\x4F\x6E\x6C\x79\x20\x6F\x6E\x65\x20\x53\x74\x61\x72\x74\x20\x62\x6C\x6F\x63\x6B\x20\x69\x73\x20\x61\x6C\x6C\x6F\x77\x65\x64","\x0A","\x4F\x6E\x6C\x79\x20\x6F\x6E\x65\x20\x46\x69\x6E\x61\x6C\x6C\x79\x20\x62\x6C\x6F\x63\x6B\x20\x69\x73\x20\x61\x6C\x6C\x6F\x77\x65\x64","\x66\x69\x6C\x65\x5F\x69\x64","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6E\x6F\x41\x75\x64\x69\x6F\x53\x65\x6C\x65\x63\x74\x65\x64","\x64\x69\x67\x69\x74","\x77\x72\x6F\x6E\x67\x4D\x61\x78\x44\x69\x67\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x6E\x6F\x56\x61\x72\x69\x61\x62\x6C\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x77\x72\x6F\x6E\x67\x4D\x69\x6E\x44\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6F\x64\x62\x63\x5F\x69\x64","\x6E\x6F\x44\x61\x74\x61\x62\x61\x73\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x2D\x31","\x6E\x6F\x54\x72\x75\x6E\x6B\x53\x65\x6C\x65\x63\x74\x65\x64","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x6E\x6F\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x53\x65\x6C\x65\x63\x74\x65\x64","\x63\x6F\x6D\x6D\x61\x6E\x64","\x6E\x6F\x43\x6F\x6D\x6D\x61\x6E\x64\x53\x65\x6C\x65\x63\x74\x65\x64","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x6E\x6F\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x53\x65\x6C\x65\x63\x74\x65\x64","\x64\x69\x67\x69\x74\x73","\x6E\x6F\x44\x69\x67\x69\x74\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x6E\x75\x6D\x62\x65\x72","\x6E\x6F\x4E\x75\x6D\x62\x65\x72\x53\x65\x6C\x65\x63\x74\x65\x64","\x74\x65\x78\x74","\x6E\x6F\x54\x65\x78\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x66\x69\x6C\x65","\x6E\x6F\x46\x69\x6C\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x6E\x6F\x47\x6F\x61\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x70\x68\x6F\x6E\x65","\x6E\x6F\x49\x64\x65\x6E\x74\x69\x66\x69\x65\x72\x53\x65\x6C\x65\x63\x74\x65\x64","\x73\x69\x70\x5F\x69\x64","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6E\x6F\x51\x75\x65\x75\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x6C\x69\x73\x74\x5F\x69\x64","\x6E\x6F\x4C\x69\x73\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x6E\x6F\x49\x6E\x74\x65\x72\x76\x61\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x6D\x61\x69\x6C\x62\x6F\x78","\x6E\x6F\x42\x6F\x78\x4E\x75\x6D\x62\x65\x72\x53\x65\x6C\x65\x63\x74\x65\x64","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x6E\x6F\x50\x72\x6F\x6A\x65\x63\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x6E\x6F\x41\x63\x63\x6F\x75\x6E\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x74\x6F","\x6E\x6F\x52\x65\x63\x69\x70\x69\x65\x6E\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x6B\x65\x79","\x6E\x6F\x4B\x65\x79\x53\x65\x6C\x65\x63\x74\x65\x64","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x67\x65\x74\x49\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x67\x65\x74\x56\x61\x6C\x75\x65","\x74\x65\x73\x74","\x6E\x75\x6D\x62\x65\x72\x4F\x72\x49\x6E\x76\x61\x6C\x69\x64\x4F\x72\x54\x69\x6D\x65\x6F\x75\x74","\x2C","\x73\x70\x6C\x69\x74","\x6E\x75\x6D\x62\x65\x72\x4F\x72\x41\x6C\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x6E\x75\x6D\x62\x65\x72\x4F\x72\x49\x6E\x76\x61\x6C\x69\x64\x4F\x72\x44\x65\x66\x61\x75\x6C\x74","\x74\x72\x75\x65\x4F\x72\x46\x61\x6C\x73\x65","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x67\x65\x74\x45\x64\x67\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x67\x65\x74\x43\x65\x6C\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x70\x75\x62\x6C\x69\x73\x68","\x50\x75\x62\x6C\x69\x73\x68\x65\x64\x20\x61\x74\x20","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x66\x69\x6C\x65","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x56\x61\x72\x69\x61\x62\x6C\x65\x20\x63\x72\x65\x61\x74\x65\x64\x20\x61\x74\x20","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x20","\x6E\x61\x6D\x65\x3D","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65","\x67\x65\x74\x55\x72\x6C","\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x26","\x3D","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x61\x6E\x55\x6E\x64\x6F","\x63\x61\x6E\x52\x65\x64\x6F","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x73\x68\x61\x64\x6F\x77","\x74\x69\x6C\x74","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x63\x75\x72\x76\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x72\x6F\x75\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74","\x61\x72\x72\x61\x6E\x67\x65","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x73\x70\x61\x63\x69\x6E\x67","\x6C\x69\x6E\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x6C\x69\x67\x6E","\x67\x65\x74\x53\x74\x61\x74\x65","\x69\x73\x4C\x6F\x6F\x70","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x6D\x61\x78","\x68\x65\x69\x67\x68\x74","\x70\x78","\x74\x6F\x70","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x77\x69\x64\x74\x68","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x68\x73\x70\x6C\x69\x74","\x76\x73\x70\x6C\x69\x74","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x4F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x44\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x46\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x48\x73\x70\x6C\x69\x74","\x67\x65\x56\x73\x70\x6C\x69\x74","\x30\x70\x78","\x72\x69\x67\x68\x74","\x6D\x65\x6E\x75\x62\x61\x72","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x74\x6F\x6F\x6C\x62\x61\x72","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x73\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x53\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x6F\x74\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x74\x53\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x64\x64\x53\x70\x6C\x69\x74\x48\x61\x6E\x64\x6C\x65\x72","\x61","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D\x20\x67\x65\x53\x74\x61\x74\x75\x73","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x67\x65\x46\x6F\x6F\x74\x65\x72","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x72\x6D","\x66\x6F\x72\x6D","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x78","\x79","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x74\x6F\x75\x63\x68\x6D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x74\x6F\x75\x63\x68\x65\x6E\x64","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x64\x69\x61\x6C\x6F\x67","\x49\x53\x5F\x56\x4D\x4C","\x63\x6C\x6F\x73\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x61\x6E\x69\x6D\x61\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x65\x78\x65\x63\x75\x74\x65","\x43\x61\x6D\x69\x6E\x6F","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x49\x53\x5F\x4D\x41\x43","\x6D\x65\x74\x61\x4B\x65\x79","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x65\x6E\x61\x62\x6C\x65\x64","\x66\x75\x6E\x63\x74","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79","\x62\x69\x6E\x64\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x4B\x65\x79","\x65\x73\x63\x61\x70\x65","\x65\x6E\x74\x65\x72","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x6E\x65\x63\x74","\x67\x72\x69\x64","\x61\x62\x6F\x75\x74","\x6D\x75\x73\x74\x68\x61\x76\x65","\x6F\x75\x74\x67\x6F\x69\x6E\x67\x65\x64\x67\x65","\x70\x75\x73\x68","\x69\x6E\x63\x6F\x6D\x69\x6E\x67\x65\x64\x67\x65"];EditorUi= function(_0x1ac8x1,_0x1ac8x2){this[_0xece5[0]]= _0x1ac8x1|| new Editor();this[_0xece5[1]]= _0x1ac8x2|| document[_0xece5[3]](_0xece5[2]);var _0x1ac8x3=_0x1ac8x1[_0xece5[4]];var _0x1ac8x4=this;this[_0xece5[1]][_0xece5[6]][_0xece5[5]]= _0xece5[7]; new Image()[_0xece5[8]]= mxPopupMenu[_0xece5[10]][_0xece5[9]];if(mxConnectionHandler[_0xece5[10]][_0xece5[11]]!= null){ new Image()[_0xece5[8]]= mxConnectionHandler[_0xece5[10]][_0xece5[11]][_0xece5[8]]};this[_0xece5[12]]= new Actions(this);this[_0xece5[13]]= new Menus(this);this[_0xece5[14]]();this[_0xece5[15]]();this[_0xece5[16]]();var _0x1ac8x5=mxUtils[_0xece5[20]](this,function(_0x1ac8x6){if(_0x1ac8x6== null){_0x1ac8x6= window[_0xece5[17]]};if(this[_0xece5[18]](_0x1ac8x6)){return true};return _0x1ac8x3[_0xece5[19]]()});if(this[_0xece5[1]]== document[_0xece5[21]]){this[_0xece5[23]][_0xece5[22]]= _0x1ac8x5;this[_0xece5[23]][_0xece5[24]]= _0x1ac8x5;this[_0xece5[25]][_0xece5[22]]= _0x1ac8x5;this[_0xece5[25]][_0xece5[24]]= _0x1ac8x5;this[_0xece5[26]][_0xece5[22]]= _0x1ac8x5;this[_0xece5[26]][_0xece5[24]]= _0x1ac8x5;this[_0xece5[27]][_0xece5[22]]= _0x1ac8x5;this[_0xece5[27]][_0xece5[24]]= _0x1ac8x5;this[_0xece5[28]][_0xece5[22]]= _0x1ac8x5;this[_0xece5[28]][_0xece5[24]]= _0x1ac8x5};if(mxClient[_0xece5[29]]&& ( typeof (document[_0xece5[30]])=== _0xece5[31]|| document[_0xece5[30]]< 9)){mxEvent[_0xece5[33]](this[_0xece5[26]],_0xece5[32],_0x1ac8x5);mxEvent[_0xece5[33]](this[_0xece5[27]],_0xece5[32],_0x1ac8x5)}else {this[_0xece5[26]][_0xece5[34]]= _0x1ac8x5;this[_0xece5[27]][_0xece5[34]]= _0x1ac8x5};_0x1ac8x3[_0xece5[35]](this[_0xece5[26]]);_0x1ac8x3[_0xece5[15]]();_0x1ac8x3[_0xece5[1]][_0xece5[38]](_0xece5[36],_0xece5[37]);_0x1ac8x3[_0xece5[1]][_0xece5[6]][_0xece5[39]]= _0xece5[40];_0x1ac8x3[_0xece5[1]][_0xece5[6]][_0xece5[41]]= _0xece5[42]+ _0x1ac8x1[_0xece5[43]]+ _0xece5[44];_0x1ac8x3[_0xece5[1]][_0xece5[6]][_0xece5[45]]= _0xece5[46];_0x1ac8x3[_0xece5[1]][_0xece5[47]]();var _0x1ac8x7=_0x1ac8x3[_0xece5[48]];_0x1ac8x3[_0xece5[48]]= function(_0x1ac8x8,_0x1ac8x9,_0x1ac8xa){if(_0x1ac8x8== mxEvent[_0xece5[49]]){this[_0xece5[1]][_0xece5[47]]()};_0x1ac8x7[_0xece5[50]](this,arguments)};this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[52],_0xece5[53],_0xece5[54]],[[1,1],[1,1],[0,0]],[[0,0],[0,0],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[57],_0xece5[58],_0xece5[59],_0xece5[60],_0xece5[61],_0xece5[62],_0xece5[63]],[[1,1],[0,0],[0,1],[0,1],[0,1],[1,1],[0,1]],[[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[64],_0xece5[65]],[[1,1],[1,1]],[[1,_0xece5[55]],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[66],_0xece5[67],_0xece5[68],_0xece5[69],_0xece5[70],_0xece5[71],_0xece5[72],_0xece5[73],_0xece5[74]],[[1,_0xece5[55]],[1,1],[1,_0xece5[55]],[1,1],[1,1],[1,1],[1,1],[1,1],[1,_0xece5[55]]],[[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[75]],[[1,1]],[[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[76],_0xece5[77],_0xece5[78],_0xece5[79]],[[1,1],[1,1],[1,1],[1,1]],[[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[80],_0xece5[81],_0xece5[82],_0xece5[83],_0xece5[84]],[[0,0],[1,2],[1,2],[1,2],[1,_0xece5[55]]],[[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[85],_0xece5[86]],[[1,1],[1,1]],[[1,_0xece5[55]],[1,_0xece5[55]]]);this[_0xece5[56]](_0x1ac8x3[_0xece5[51]],[_0xece5[87],_0xece5[88],_0xece5[89],_0xece5[90],_0xece5[91]],[[1,1],[1,1],[0,1],[0,1],[0,1]],[[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]],[1,_0xece5[55]]]);_0x1ac8x3[_0xece5[92]]= function(_0x1ac8x6,_0x1ac8xb){var _0x1ac8xc=[_0xece5[66],_0xece5[81],_0xece5[82],_0xece5[68],_0xece5[74],_0xece5[84]];var _0x1ac8xd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0xece5[17],_0x1ac8x6,_0xece5[93],_0x1ac8xb);this[_0xece5[94]](_0x1ac8xd);if(this[_0xece5[95]]()&& !mxEvent[_0xece5[96]](_0x1ac8x6)&& !_0x1ac8xd[_0xece5[96]]()){if(this[_0xece5[98]]()[_0xece5[97]](_0x1ac8xb)){if(_0x1ac8xc[_0xece5[102]](_0x1ac8xb[_0xece5[101]][_0xece5[100]][_0xece5[99]])>= 0){this[_0xece5[103]](_0x1ac8xb)}}else {if(this[_0xece5[98]]()[_0xece5[104]](_0x1ac8xb)){_0x1ac8x4[_0xece5[105]]( new GeneralDialog(_0x1ac8x4,_0x1ac8xb)[_0xece5[1]],320,280,true,true)}};_0x1ac8xd[_0xece5[106]]()}};_0x1ac8x3[_0xece5[108]][_0xece5[107]]= true;_0x1ac8x3[_0xece5[108]][_0xece5[109]]= mxUtils[_0xece5[20]](this,function(_0x1ac8xe,_0x1ac8xb,_0x1ac8x6){this[_0xece5[13]][_0xece5[110]](_0x1ac8xe,_0x1ac8xb,_0x1ac8x6)});_0x1ac8x1[_0xece5[112]][_0xece5[35]](this[_0xece5[111]]);mxEvent[_0xece5[114]](document,mxUtils[_0xece5[20]](this,function(_0x1ac8x6){_0x1ac8x3[_0xece5[108]][_0xece5[113]]()}));if(mxClient[_0xece5[115]]){mxEvent[_0xece5[33]](_0x1ac8x3[_0xece5[1]],_0xece5[116],mxUtils[_0xece5[20]](this,function(_0x1ac8x6){_0x1ac8x3[_0xece5[121]][_0xece5[120]]()[_0xece5[38]](_0xece5[117],_0xece5[118]+ _0x1ac8x6[_0xece5[119]]+ _0xece5[44]);_0x1ac8x3[_0xece5[121]][_0xece5[123]]()[_0xece5[6]][_0xece5[122]]= _0xece5[7]}));mxEvent[_0xece5[33]](_0x1ac8x3[_0xece5[1]],_0xece5[124],mxUtils[_0xece5[20]](this,function(_0x1ac8x6){_0x1ac8x3[_0xece5[121]][_0xece5[120]]()[_0xece5[125]](_0xece5[117]);_0x1ac8x3[_0xece5[126]]= true;_0x1ac8x3[_0xece5[127]](_0x1ac8x6[_0xece5[119]]);_0x1ac8x3[_0xece5[121]][_0xece5[123]]()[_0xece5[6]][_0xece5[122]]= _0xece5[128]}))};var _0x1ac8xf=this[_0xece5[129]](_0x1ac8x1);this[_0xece5[130]]= function(){return _0x1ac8xf};mxEvent[_0xece5[33]](window,_0xece5[131],mxUtils[_0xece5[20]](this,function(){this[_0xece5[15]]();_0x1ac8x3[_0xece5[132]]();this[_0xece5[0]][_0xece5[112]][_0xece5[133]](false);this[_0xece5[0]][_0xece5[112]][_0xece5[112]][_0xece5[132]]()}));this[_0xece5[35]]();this[_0xece5[134]]()};EditorUi[_0xece5[10]][_0xece5[135]]= (mxClient[_0xece5[115]])?16:8;EditorUi[_0xece5[10]][_0xece5[136]]= 33;EditorUi[_0xece5[10]][_0xece5[137]]= 36;EditorUi[_0xece5[10]][_0xece5[138]]= 28;EditorUi[_0xece5[10]][_0xece5[139]]= 204;EditorUi[_0xece5[10]][_0xece5[140]]= 190;EditorUi[_0xece5[10]][_0xece5[35]]= function(){this[_0xece5[141]]();this[_0xece5[142]]();var _0x1ac8x10=this[_0xece5[12]][_0xece5[144]](_0xece5[143]);var _0x1ac8x11=function(){_0x1ac8x10[_0xece5[146]](!mxClipboard[_0xece5[145]]())};var _0x1ac8x12=mxClipboard[_0xece5[147]];mxClipboard[_0xece5[147]]= function(){_0x1ac8x12[_0xece5[50]](this,arguments);_0x1ac8x11()};var _0x1ac8x13=mxClipboard[_0xece5[148]];mxClipboard[_0xece5[148]]= function(){_0x1ac8x13[_0xece5[50]](this,arguments);_0x1ac8x11()}};EditorUi[_0xece5[10]][_0xece5[18]]= function(_0x1ac8x6){return false};EditorUi[_0xece5[10]][_0xece5[134]]= function(){try{if(window[_0xece5[149]]!= null&& window[_0xece5[149]][_0xece5[150]]!= null){window[_0xece5[149]][_0xece5[150]][_0xece5[162]](mxUtils[_0xece5[20]](this,function(_0x1ac8x14,_0x1ac8x15){try{var _0x1ac8x16=mxUtils[_0xece5[151]](_0x1ac8x14);this[_0xece5[0]][_0xece5[153]](_0x1ac8x16[_0xece5[152]]);this[_0xece5[0]][_0xece5[154]]= false;this[_0xece5[0]][_0xece5[156]][_0xece5[155]]();if(_0x1ac8x15!= null){this[_0xece5[0]][_0xece5[157]]= _0x1ac8x15}}catch(e){mxUtils[_0xece5[161]](mxResources[_0xece5[144]](_0xece5[158])+ _0xece5[159]+ e[_0xece5[160]])}}))}}catch(e){}};EditorUi[_0xece5[10]][_0xece5[163]]= function(_0x1ac8x14,_0x1ac8x15,_0x1ac8x17){try{var _0x1ac8x16=mxUtils[_0xece5[151]](_0x1ac8x14);this[_0xece5[0]][_0xece5[153]](_0x1ac8x16[_0xece5[152]]);this[_0xece5[0]][_0xece5[154]]= false;this[_0xece5[0]][_0xece5[156]][_0xece5[155]]();if(_0x1ac8x15!= null){this[_0xece5[0]][_0xece5[157]]= _0x1ac8x15};if(_0x1ac8x17!= null){this[_0xece5[0]][_0xece5[164]]= _0x1ac8x17}}catch(e){mxUtils[_0xece5[161]](mxResources[_0xece5[144]](_0xece5[158])+ _0xece5[159]+ e[_0xece5[160]])}};EditorUi[_0xece5[10]][_0xece5[165]]= function(_0x1ac8x18){var _0x1ac8x1=this[_0xece5[0]];if(_0x1ac8x18!= null){var _0x1ac8x14=mxUtils[_0xece5[167]](this[_0xece5[0]][_0xece5[166]]());try{if(useLocalStorage){if(localStorage[_0xece5[168]](_0x1ac8x18)!= null&& !mxUtils[_0xece5[170]](mxResources[_0xece5[144]](_0xece5[169],[_0x1ac8x18]))){return};localStorage[_0xece5[171]](_0x1ac8x18,_0x1ac8x14);this[_0xece5[0]][_0xece5[174]](mxResources[_0xece5[144]](_0xece5[172])+ _0xece5[173]+ new Date())}else {console[_0xece5[176]](_0x1ac8x14[_0xece5[175]]);console[_0xece5[176]](MAX_REQUEST_SIZE);if(_0x1ac8x14[_0xece5[175]]< MAX_REQUEST_SIZE){_0x1ac8x14= encodeURIComponent(_0x1ac8x14);_0x1ac8x18= encodeURIComponent(_0x1ac8x18);var _0x1ac8x19= new XMLHttpRequest();_0x1ac8x19[_0xece5[134]](_0xece5[177],SAVE_URL,true);_0x1ac8x19[_0xece5[180]](_0xece5[178],_0xece5[179]);_0x1ac8x19[_0xece5[180]](_0xece5[181],_0xece5[182]+ _0x1ac8x1[_0xece5[164]][_0xece5[183]]);_0x1ac8x19[_0xece5[184]]= function(_0x1ac8x1a){if(_0x1ac8x19[_0xece5[185]]=== 4){if(_0x1ac8x19[_0xece5[186]]=== 201){_0x1ac8x1[_0xece5[174]](_0xece5[187]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[188]]+ _0xece5[191]);setTimeout(function(){window[_0xece5[134]](_0xece5[192]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[193]],_0xece5[194])},1500)}else {_0x1ac8x1[_0xece5[174]](_0xece5[195]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[196]][0][_0xece5[160]])}}};_0x1ac8x19[_0xece5[197]]= function(_0x1ac8x1a){mxUtils[_0xece5[161]](_0x1ac8x19[_0xece5[198]])};_0x1ac8x19[_0xece5[200]](_0xece5[199]+ _0x1ac8x18)}else {mxUtils[_0xece5[161]](mxResources[_0xece5[144]](_0xece5[201]));mxUtils[_0xece5[202]](_0x1ac8x14);return}};this[_0xece5[0]][_0xece5[157]]= _0x1ac8x18;this[_0xece5[0]][_0xece5[154]]= false}catch(e){this[_0xece5[0]][_0xece5[174]](_0xece5[203])}}else {this[_0xece5[0]][_0xece5[174]](_0xece5[203])}};EditorUi[_0xece5[10]][_0xece5[204]]= function(_0x1ac8x18){var _0x1ac8x1=this[_0xece5[0]];if(_0x1ac8x18!= null){var _0x1ac8x14=mxUtils[_0xece5[167]](this[_0xece5[0]][_0xece5[166]]());try{if(useLocalStorage){if(localStorage[_0xece5[168]](_0x1ac8x18)!= null&& !mxUtils[_0xece5[170]](mxResources[_0xece5[144]](_0xece5[169],[_0x1ac8x18]))){return};localStorage[_0xece5[171]](_0x1ac8x18,_0x1ac8x14);this[_0xece5[0]][_0xece5[174]](mxResources[_0xece5[144]](_0xece5[172])+ _0xece5[173]+ new Date())}else {console[_0xece5[176]](_0x1ac8x14[_0xece5[175]]);console[_0xece5[176]](MAX_REQUEST_SIZE);if(_0x1ac8x14[_0xece5[175]]< MAX_REQUEST_SIZE){_0x1ac8x14= encodeURIComponent(_0x1ac8x14);var _0x1ac8x19= new XMLHttpRequest();_0x1ac8x19[_0xece5[134]](_0xece5[205],SAVE_URL+ this[_0xece5[0]][_0xece5[164]][_0xece5[193]],true);_0x1ac8x19[_0xece5[180]](_0xece5[178],_0xece5[179]);_0x1ac8x19[_0xece5[180]](_0xece5[181],_0xece5[182]+ _0x1ac8x1[_0xece5[164]][_0xece5[183]]);_0x1ac8x19[_0xece5[184]]= function(_0x1ac8x1a){if(_0x1ac8x19[_0xece5[185]]=== 4){if(_0x1ac8x19[_0xece5[186]]=== 200){_0x1ac8x1[_0xece5[174]](_0xece5[206]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[207]]+ _0xece5[208]+ _0x1ac8x19[_0xece5[186]]+ _0xece5[173]+ _0x1ac8x19[_0xece5[198]]+ _0xece5[44])}else {_0x1ac8x1[_0xece5[174]](_0xece5[209]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[196]][0][_0xece5[160]])}}};_0x1ac8x19[_0xece5[197]]= function(_0x1ac8x1a){mxUtils[_0xece5[161]](_0x1ac8x19[_0xece5[198]])};_0x1ac8x19[_0xece5[200]](_0xece5[210]+ _0x1ac8x14)}else {mxUtils[_0xece5[161]](mxResources[_0xece5[144]](_0xece5[201]));mxUtils[_0xece5[202]](_0x1ac8x14);return}};this[_0xece5[0]][_0xece5[157]]= _0x1ac8x18;this[_0xece5[0]][_0xece5[154]]= false}catch(e){this[_0xece5[0]][_0xece5[174]](_0xece5[211])}}else {this[_0xece5[0]][_0xece5[174]](_0xece5[211])}};EditorUi[_0xece5[10]][_0xece5[212]]= function(_0x1ac8x18){var _0x1ac8x1=this[_0xece5[0]];if(_0x1ac8x18!= null){var _0x1ac8x14=mxUtils[_0xece5[167]](this[_0xece5[0]][_0xece5[166]]());try{if(useLocalStorage){if(localStorage[_0xece5[168]](_0x1ac8x18)!= null&& !mxUtils[_0xece5[170]](mxResources[_0xece5[144]](_0xece5[169],[_0x1ac8x18]))){return};localStorage[_0xece5[171]](_0x1ac8x18,_0x1ac8x14);this[_0xece5[0]][_0xece5[174]](mxResources[_0xece5[144]](_0xece5[172])+ _0xece5[173]+ new Date())}else {console[_0xece5[176]](_0x1ac8x14[_0xece5[175]]);console[_0xece5[176]](MAX_REQUEST_SIZE);if(_0x1ac8x14[_0xece5[175]]< MAX_REQUEST_SIZE){_0x1ac8x14= encodeURIComponent(_0x1ac8x14);_0x1ac8x18= encodeURIComponent(_0x1ac8x18);var _0x1ac8x19= new XMLHttpRequest();_0x1ac8x19[_0xece5[134]](_0xece5[177],SAVE_URL,true);_0x1ac8x19[_0xece5[180]](_0xece5[178],_0xece5[179]);_0x1ac8x19[_0xece5[180]](_0xece5[181],_0xece5[182]+ _0x1ac8x1[_0xece5[164]][_0xece5[183]]);_0x1ac8x19[_0xece5[184]]= function(_0x1ac8x1a){if(_0x1ac8x19[_0xece5[185]]=== 4){if(_0x1ac8x19[_0xece5[186]]=== 201){_0x1ac8x1[_0xece5[174]](_0xece5[187]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[188]]+ _0xece5[191]);setTimeout(function(){window[_0xece5[134]](_0xece5[213]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[193]],_0xece5[194])},1500)}else {_0x1ac8x1[_0xece5[174]](_0xece5[214]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[196]][0][_0xece5[160]])}}};_0x1ac8x19[_0xece5[197]]= function(_0x1ac8x1a){mxUtils[_0xece5[161]](_0x1ac8x19[_0xece5[198]])};_0x1ac8x19[_0xece5[200]](_0xece5[215]+ _0x1ac8x18+ _0xece5[216]+ _0x1ac8x14+ _0xece5[217]+ _0x1ac8x14)}else {mxUtils[_0xece5[161]](mxResources[_0xece5[144]](_0xece5[201]));mxUtils[_0xece5[202]](_0x1ac8x14);return}};this[_0xece5[0]][_0xece5[157]]= _0x1ac8x18;this[_0xece5[0]][_0xece5[154]]= false}catch(e){this[_0xece5[0]][_0xece5[174]](_0xece5[211])}}else {this[_0xece5[0]][_0xece5[174]](_0xece5[211])}};EditorUi[_0xece5[10]][_0xece5[218]]= function(_0x1ac8x1b,_0x1ac8x1c){var _0x1ac8x3=this[_0xece5[0]][_0xece5[4]];for(var _0x1ac8x1b=_0x1ac8x1b!= null?_0x1ac8x1b:_0x1ac8x3[_0xece5[220]][_0xece5[219]](),_0x1ac8x1c=_0x1ac8x1c!= null?_0x1ac8x1c:{},_0x1ac8x1d=true,_0x1ac8x1e=_0x1ac8x3[_0xece5[220]][_0xece5[221]](_0x1ac8x1b),_0x1ac8x1a=0;_0x1ac8x1a< _0x1ac8x1e;_0x1ac8x1a++){var _0x1ac8x1f=_0x1ac8x3[_0xece5[220]][_0xece5[222]](_0x1ac8x1b,_0x1ac8x1a),_0x1ac8x20=_0x1ac8x1c;_0x1ac8x3[_0xece5[223]](_0x1ac8x1f)&& (_0x1ac8x20= {});_0x1ac8x20= this[_0xece5[218]](_0x1ac8x1f,_0x1ac8x20);_0x1ac8x20!= null?_0x1ac8x3[_0xece5[225]](_0x1ac8x1f,_0x1ac8x20[_0xece5[169]](/\n/g,_0xece5[224])):_0x1ac8x3[_0xece5[225]](_0x1ac8x1f,null);_0x1ac8x1d= _0x1ac8x1d&& _0x1ac8x20== null};_0x1ac8x1e= _0xece5[226];if(_0x1ac8x3[_0xece5[220]][_0xece5[104]](_0x1ac8x1b)){switch(_0x1ac8x1b[_0xece5[100]][_0xece5[283]]){case _0xece5[52]:_0x1ac8x1e= this[_0xece5[227]](_0xece5[52])?_0xece5[226]:_0xece5[228]+ _0xece5[229];break;case _0xece5[53]:_0x1ac8x1e= this[_0xece5[227]](_0xece5[53])?_0xece5[226]:_0xece5[230]+ _0xece5[229];break;case _0xece5[67]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[231])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[233])+ _0xece5[229];break;case _0xece5[66]:;case _0xece5[68]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[231])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[233])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[234])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[235])+ _0xece5[229];break;case _0xece5[74]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[231])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[233])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[236])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[237])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[238])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[239])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[240])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[235])+ _0xece5[229];break;case _0xece5[84]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[241])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[237])+ _0xece5[229];break;case _0xece5[76]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[242])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[243])+ _0xece5[229];break;case _0xece5[60]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[244])!== _0xece5[245])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[246])+ _0xece5[229];break;case _0xece5[64]:;case _0xece5[65]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[236])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[237])+ _0xece5[229];break;case _0xece5[80]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[247])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[248])+ _0xece5[229];break;case _0xece5[88]:;case _0xece5[89]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[249])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[250])+ _0xece5[229];break;case _0xece5[81]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[251])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[252])+ _0xece5[229];break;case _0xece5[69]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[253])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[254])+ _0xece5[229];break;case _0xece5[70]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[255])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[256])+ _0xece5[229];break;case _0xece5[71]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[257])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[258])+ _0xece5[229];break;case _0xece5[75]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[259])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[260])+ _0xece5[229];break;case _0xece5[86]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[261])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[262])+ _0xece5[229];break;case _0xece5[60]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[263])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[264])+ _0xece5[229];break;case _0xece5[59]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[265])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[264])+ _0xece5[229];break;case _0xece5[61]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[266])!== _0xece5[245])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[267])+ _0xece5[229];break;case _0xece5[63]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[268])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[269])+ _0xece5[229];break;case _0xece5[82]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[270])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[271])+ _0xece5[229];break;case _0xece5[83]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[270])!= _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[271])+ _0xece5[229];break;case _0xece5[62]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[272])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[273])+ _0xece5[229];break;case _0xece5[90]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[274])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[275])+ _0xece5[229];break;case _0xece5[78]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[276])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[277])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[278])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[279])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[280])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[258])+ _0xece5[229];break;case _0xece5[79]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[276])> 0)?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[277])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[278])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[279])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[257])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[258])+ _0xece5[229];break;case _0xece5[72]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[257])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[258])+ _0xece5[229];break;case _0xece5[73]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[257])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[258])+ _0xece5[229];_0x1ac8x1e+= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[281])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[282])+ _0xece5[229];break;case _0xece5[77]:_0x1ac8x1e= (_0x1ac8x1b[_0xece5[100]][_0xece5[232]](_0xece5[281])!== _0xece5[226])?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[282])+ _0xece5[229];break}};if(_0x1ac8x3[_0xece5[220]][_0xece5[97]](_0x1ac8x1b)){var _0x1ac8x21=_0x1ac8x3[_0xece5[220]][_0xece5[285]](_0x1ac8x1b[_0xece5[101]][_0xece5[284]]());switch(_0x1ac8x21[_0xece5[100]][_0xece5[283]]){case _0xece5[66]:var _0x1ac8x22=/^[0-9]{1,45}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;_0x1ac8x1e= _0x1ac8x1e+ ((_0x1ac8x22[_0xece5[287]](String(_0x1ac8x1b[_0xece5[286]]())))?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[288])+ _0xece5[229]);break;case _0xece5[68]:var _0x1ac8x22=/^[0-9]{1,45}$|^[-]{1}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;var _0x1ac8x23=String(_0x1ac8x1b[_0xece5[286]]());var _0x1ac8x24=_0x1ac8x23[_0xece5[290]](_0xece5[289]);_0x1ac8x24[_0xece5[292]](function(_0x1ac8x25){_0x1ac8x1e= _0x1ac8x1e+ ((_0x1ac8x22[_0xece5[287]](_0x1ac8x25))?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[291])+ _0xece5[229])});break;case _0xece5[74]:var _0x1ac8x22=/^(x|i|-)$/;var _0x1ac8x23=String(_0x1ac8x1b[_0xece5[286]]());_0x1ac8x1e= _0x1ac8x1e+ ((_0x1ac8x22[_0xece5[287]](_0x1ac8x23))?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[293])+ _0xece5[229]);break;case _0xece5[81]:;case _0xece5[82]:;case _0xece5[83]:var _0x1ac8x22=/^(true){1}$|^(false){1}$/;_0x1ac8x1e= _0x1ac8x1e+ ((_0x1ac8x22[_0xece5[287]](String(_0x1ac8x1b[_0xece5[286]]())))?_0xece5[226]:mxResources[_0xece5[144]](_0xece5[294])+ _0xece5[229]);break}};_0x1ac8x3[_0xece5[295]](_0x1ac8x1b)&& !_0x1ac8x1d&& (_0x1ac8x1e= _0x1ac8x1e+ ((mxResources[_0xece5[144]](_0x1ac8x3[_0xece5[296]])|| _0x1ac8x3[_0xece5[296]])+ _0xece5[229]));_0x1ac8x1e= _0x1ac8x3[_0xece5[220]][_0xece5[97]](_0x1ac8x1b)?_0x1ac8x1e+ (_0x1ac8x3[_0xece5[298]](_0x1ac8x1b,_0x1ac8x3[_0xece5[220]][_0xece5[297]](_0x1ac8x1b,true),_0x1ac8x3[_0xece5[220]][_0xece5[297]](_0x1ac8x1b,false))|| _0xece5[226]):_0x1ac8x1e+ (_0x1ac8x3[_0xece5[299]](_0x1ac8x1b)|| _0xece5[226]);_0x1ac8x1a= _0x1ac8x3[_0xece5[300]](_0x1ac8x1b,_0x1ac8x1c);_0x1ac8x1a!= null&& (_0x1ac8x1e= _0x1ac8x1e+ _0x1ac8x1a);_0x1ac8x3[_0xece5[220]][_0xece5[301]](_0x1ac8x1b)== null&& _0x1ac8x3[_0xece5[121]][_0xece5[218]]();return _0x1ac8x1e[_0xece5[175]]> 0|| !_0x1ac8x1d?_0x1ac8x1e:null};EditorUi[_0xece5[10]][_0xece5[227]]= function(_0x1ac8x26){var _0x1ac8x3=this[_0xece5[0]][_0xece5[4]];var _0x1ac8x27=_0x1ac8x3[_0xece5[302]]();var _0x1ac8x28=0;_0x1ac8x27[_0xece5[303]][_0xece5[292]](function(_0x1ac8x29){if(_0x1ac8x3[_0xece5[220]][_0xece5[104]](_0x1ac8x29)&& _0x1ac8x29[_0xece5[100]][_0xece5[283]]== _0x1ac8x26){_0x1ac8x28++}});return _0x1ac8x28> 1?false:true};EditorUi[_0xece5[10]][_0xece5[304]]= function(_0x1ac8x18){var _0x1ac8x1=this[_0xece5[0]];if(_0x1ac8x18!= null){var _0x1ac8x2a=this[_0xece5[218]]();if(_0x1ac8x2a=== null){var _0x1ac8x14=mxUtils[_0xece5[167]](this[_0xece5[0]][_0xece5[166]]());try{if(useLocalStorage){if(localStorage[_0xece5[168]](_0x1ac8x18)!= null&& !mxUtils[_0xece5[170]](mxResources[_0xece5[144]](_0xece5[169],[_0x1ac8x18]))){return};localStorage[_0xece5[171]](_0x1ac8x18,_0x1ac8x14);this[_0xece5[0]][_0xece5[174]](mxResources[_0xece5[144]](_0xece5[172])+ _0xece5[173]+ new Date())}else {console[_0xece5[176]](_0x1ac8x14[_0xece5[175]]);console[_0xece5[176]](MAX_REQUEST_SIZE);if(_0x1ac8x14[_0xece5[175]]< MAX_REQUEST_SIZE){_0x1ac8x14= encodeURIComponent(_0x1ac8x14);var _0x1ac8x19= new XMLHttpRequest();_0x1ac8x19[_0xece5[134]](_0xece5[205],SAVE_URL+ this[_0xece5[0]][_0xece5[164]][_0xece5[193]],true);_0x1ac8x19[_0xece5[180]](_0xece5[178],_0xece5[179]);_0x1ac8x19[_0xece5[180]](_0xece5[181],_0xece5[182]+ _0x1ac8x1[_0xece5[164]][_0xece5[183]]);_0x1ac8x19[_0xece5[184]]= function(_0x1ac8x1a){if(_0x1ac8x19[_0xece5[185]]=== 4){if(_0x1ac8x19[_0xece5[186]]=== 200){_0x1ac8x1[_0xece5[174]](_0xece5[305]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[207]]+ _0xece5[208]+ _0x1ac8x19[_0xece5[186]]+ _0xece5[173]+ _0x1ac8x19[_0xece5[198]]+ _0xece5[44])}else {_0x1ac8x1[_0xece5[174]](_0xece5[209]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[196]][0][_0xece5[160]])}}};_0x1ac8x19[_0xece5[197]]= function(_0x1ac8x1a){mxUtils[_0xece5[161]](_0x1ac8x19[_0xece5[198]])};_0x1ac8x19[_0xece5[200]](_0xece5[210]+ _0x1ac8x14+ _0xece5[217]+ _0x1ac8x14)}else {mxUtils[_0xece5[161]](mxResources[_0xece5[144]](_0xece5[201]));mxUtils[_0xece5[202]](_0x1ac8x14);return}};this[_0xece5[0]][_0xece5[157]]= _0x1ac8x18;this[_0xece5[0]][_0xece5[154]]= false}catch(e){this[_0xece5[0]][_0xece5[174]](_0xece5[306])}}else {_0x1ac8x1[_0xece5[174]](_0xece5[307])}}else {this[_0xece5[0]][_0xece5[174]](_0xece5[306])}};EditorUi[_0xece5[10]][_0xece5[241]]= function(_0x1ac8x18){var _0x1ac8x1=this[_0xece5[0]];if(_0x1ac8x18!= null){try{var _0x1ac8x19= new XMLHttpRequest();_0x1ac8x19[_0xece5[134]](_0xece5[177],VARIABLE_URL,true);_0x1ac8x19[_0xece5[180]](_0xece5[178],_0xece5[179]);_0x1ac8x19[_0xece5[180]](_0xece5[181],_0xece5[182]+ _0x1ac8x1[_0xece5[164]][_0xece5[183]]);_0x1ac8x19[_0xece5[184]]= function(_0x1ac8x1a){if(_0x1ac8x19[_0xece5[185]]=== 4){if(_0x1ac8x19[_0xece5[186]]=== 201){_0x1ac8x1[_0xece5[174]](_0xece5[308]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[309]]+ _0xece5[208]+ _0x1ac8x19[_0xece5[186]]+ _0xece5[173]+ _0x1ac8x19[_0xece5[198]]+ _0xece5[44])}else {_0x1ac8x1[_0xece5[174]](_0xece5[310]+ JSON[_0xece5[190]](_0x1ac8x19[_0xece5[189]])[_0xece5[196]][0][_0xece5[160]])}}};_0x1ac8x19[_0xece5[197]]= function(_0x1ac8x1a){mxUtils[_0xece5[161]](_0x1ac8x19[_0xece5[198]])};_0x1ac8x19[_0xece5[200]](_0xece5[311]+ _0x1ac8x18)}catch(e){this[_0xece5[0]][_0xece5[174]](_0xece5[312])}}else {this[_0xece5[0]][_0xece5[174]](_0xece5[312])}};EditorUi[_0xece5[10]][_0xece5[313]]= function(_0x1ac8x2b){var _0x1ac8x2c=(_0x1ac8x2b!= null)?_0x1ac8x2b:window[_0xece5[315]][_0xece5[314]];var _0x1ac8x2d=(_0x1ac8x2c[_0xece5[102]](_0xece5[316])> 0)?1:0;for(var _0x1ac8x2e in urlParams){if(_0x1ac8x2d== 0){_0x1ac8x2c+= _0xece5[316]}else {_0x1ac8x2c+= _0xece5[317]};_0x1ac8x2c+= _0x1ac8x2e+ _0xece5[318]+ urlParams[_0x1ac8x2e];_0x1ac8x2d++};return _0x1ac8x2c};EditorUi[_0xece5[10]][_0xece5[141]]= function(){var _0x1ac8x2f=this[_0xece5[12]][_0xece5[144]](_0xece5[319]);var _0x1ac8x30=this[_0xece5[12]][_0xece5[144]](_0xece5[320]);var _0x1ac8x31=this[_0xece5[0]][_0xece5[156]];var _0x1ac8x32=function(){_0x1ac8x2f[_0xece5[146]](_0x1ac8x31[_0xece5[321]]());_0x1ac8x30[_0xece5[146]](_0x1ac8x31[_0xece5[322]]())};_0x1ac8x31[_0xece5[33]](mxEvent.ADD,_0x1ac8x32);_0x1ac8x31[_0xece5[33]](mxEvent.UNDO,_0x1ac8x32);_0x1ac8x31[_0xece5[33]](mxEvent.REDO,_0x1ac8x32);_0x1ac8x31[_0xece5[33]](mxEvent.CLEAR,_0x1ac8x32);_0x1ac8x32()};EditorUi[_0xece5[10]][_0xece5[142]]= function(){var _0x1ac8x33=mxUtils[_0xece5[20]](this,function(){var _0x1ac8x3=this[_0xece5[0]][_0xece5[4]];var _0x1ac8x34=!_0x1ac8x3[_0xece5[323]]();var _0x1ac8x35=false;var _0x1ac8x36=false;var _0x1ac8x37=_0x1ac8x3[_0xece5[324]]();if(_0x1ac8x37!= null){for(var _0x1ac8x38=0;_0x1ac8x38< _0x1ac8x37[_0xece5[175]];_0x1ac8x38++){var _0x1ac8xb=_0x1ac8x37[_0x1ac8x38];if(_0x1ac8x3[_0xece5[98]]()[_0xece5[97]](_0x1ac8xb)){_0x1ac8x36= true};if(_0x1ac8x3[_0xece5[98]]()[_0xece5[104]](_0x1ac8xb)){_0x1ac8x35= true};if(_0x1ac8x36&& _0x1ac8x35){break}}};var _0x1ac8x39=[_0xece5[147],_0xece5[148],_0xece5[325],_0xece5[326],_0xece5[327],_0xece5[328],_0xece5[6],_0xece5[329],_0xece5[330],_0xece5[331],_0xece5[332],_0xece5[333],_0xece5[334],_0xece5[335],_0xece5[336]];for(var _0x1ac8x38=0;_0x1ac8x38< _0x1ac8x39[_0xece5[175]];_0x1ac8x38++){this[_0xece5[12]][_0xece5[144]](_0x1ac8x39[_0x1ac8x38])[_0xece5[146]](_0x1ac8x34)};this[_0xece5[12]][_0xece5[144]](_0xece5[337])[_0xece5[146]](_0x1ac8x36);this[_0xece5[12]][_0xece5[144]](_0xece5[338])[_0xece5[146]](_0x1ac8x35);this[_0xece5[12]][_0xece5[144]](_0xece5[339])[_0xece5[146]](_0x1ac8x35);this[_0xece5[12]][_0xece5[144]](_0xece5[341])[_0xece5[146]](_0x1ac8x3[_0xece5[340]]()> 1);this[_0xece5[12]][_0xece5[144]](_0xece5[343])[_0xece5[146]](_0x1ac8x3[_0xece5[340]]()== 1&& _0x1ac8x3[_0xece5[98]]()[_0xece5[221]](_0x1ac8x3[_0xece5[342]]())> 0);var _0x1ac8x3a=_0x1ac8x35&& _0x1ac8x3[_0xece5[340]]()== 1;this[_0xece5[12]][_0xece5[144]](_0xece5[344])[_0xece5[146]](_0x1ac8x3a&& _0x1ac8x3[_0xece5[98]]()[_0xece5[104]](_0x1ac8x3[_0xece5[98]]()[_0xece5[301]](_0x1ac8x3[_0xece5[342]]())));var _0x1ac8x3b=[_0xece5[345],_0xece5[346],_0xece5[347],_0xece5[348],_0xece5[257],_0xece5[349],_0xece5[350],_0xece5[351],_0xece5[352]];for(var _0x1ac8x38=0;_0x1ac8x38< _0x1ac8x3b[_0xece5[175]];_0x1ac8x38++){this[_0xece5[13]][_0xece5[144]](_0x1ac8x3b[_0x1ac8x38])[_0xece5[146]](_0x1ac8x34)};_0x1ac8x3b= [_0xece5[353],_0xece5[354],_0xece5[355]];for(var _0x1ac8x38=0;_0x1ac8x38< _0x1ac8x3b[_0xece5[175]];_0x1ac8x38++){this[_0xece5[13]][_0xece5[144]](_0x1ac8x3b[_0x1ac8x38])[_0xece5[146]](_0x1ac8x36)};this[_0xece5[12]][_0xece5[144]](_0xece5[356])[_0xece5[146]](_0x1ac8x36);this[_0xece5[13]][_0xece5[144]](_0xece5[357])[_0xece5[146]](_0x1ac8x3[_0xece5[340]]()> 1);this[_0xece5[13]][_0xece5[144]](_0xece5[360])[_0xece5[146]](_0x1ac8x35|| (_0x1ac8x36&& _0x1ac8x3[_0xece5[359]](_0x1ac8x3[_0xece5[121]][_0xece5[358]](_0x1ac8x3[_0xece5[342]]()))));this[_0xece5[13]][_0xece5[144]](_0xece5[363])[_0xece5[146]](_0x1ac8x3[_0xece5[361]]&& ((_0x1ac8x3[_0xece5[121]][_0xece5[362]]!= null)|| (_0x1ac8x3[_0xece5[340]]()== 1&& _0x1ac8x3[_0xece5[223]](_0x1ac8x3[_0xece5[342]]()))));this[_0xece5[12]][_0xece5[144]](_0xece5[364])[_0xece5[146]](_0x1ac8x3[_0xece5[121]][_0xece5[362]]!= null);this[_0xece5[12]][_0xece5[144]](_0xece5[365])[_0xece5[146]](_0x1ac8x3[_0xece5[121]][_0xece5[362]]!= null);var _0x1ac8x3c=_0x1ac8x3[_0xece5[340]]()== 1&& _0x1ac8x3[_0xece5[223]](_0x1ac8x3[_0xece5[342]]());this[_0xece5[12]][_0xece5[144]](_0xece5[366])[_0xece5[146]](_0x1ac8x3c);this[_0xece5[12]][_0xece5[144]](_0xece5[367])[_0xece5[146]](_0x1ac8x3c);this[_0xece5[12]][_0xece5[144]](_0xece5[368])[_0xece5[146]](_0x1ac8x3c);this[_0xece5[12]][_0xece5[144]](_0xece5[369])[_0xece5[146]](_0x1ac8x3[_0xece5[340]]()== 1);this[_0xece5[12]][_0xece5[144]](_0xece5[371])[_0xece5[146]](_0x1ac8x3[_0xece5[340]]()== 1&& _0x1ac8x3[_0xece5[370]](_0x1ac8x3[_0xece5[342]]())!= null)});this[_0xece5[0]][_0xece5[4]][_0xece5[372]]()[_0xece5[33]](mxEvent.CHANGE,_0x1ac8x33);_0x1ac8x33()};EditorUi[_0xece5[10]][_0xece5[15]]= function(){var _0x1ac8x3d=mxClient[_0xece5[29]]&& (document[_0xece5[30]]== null|| document[_0xece5[30]]== 5);var _0x1ac8x3e=this[_0xece5[1]][_0xece5[373]];var _0x1ac8x3f=this[_0xece5[1]][_0xece5[374]];if(this[_0xece5[1]]== document[_0xece5[21]]){_0x1ac8x3e= document[_0xece5[21]][_0xece5[373]]|| document[_0xece5[152]][_0xece5[373]];_0x1ac8x3f= (_0x1ac8x3d)?document[_0xece5[21]][_0xece5[374]]|| document[_0xece5[152]][_0xece5[374]]:document[_0xece5[152]][_0xece5[374]]};var _0x1ac8x40=Math[_0xece5[376]](0,Math[_0xece5[375]](this[_0xece5[139]],_0x1ac8x3e- this[_0xece5[135]]- 20));var _0x1ac8x41=Math[_0xece5[376]](0,Math[_0xece5[375]](this[_0xece5[140]],_0x1ac8x3f- this[_0xece5[136]]- this[_0xece5[137]]- this[_0xece5[138]]- this[_0xece5[135]]- 1));this[_0xece5[23]][_0xece5[6]][_0xece5[377]]= this[_0xece5[136]]+ _0xece5[378];this[_0xece5[25]][_0xece5[6]][_0xece5[379]]= this[_0xece5[136]]+ _0xece5[378];this[_0xece5[25]][_0xece5[6]][_0xece5[377]]= this[_0xece5[137]]+ _0xece5[378];var _0x1ac8x42=this[_0xece5[136]]+ this[_0xece5[137]];if(!mxClient[_0xece5[380]]){_0x1ac8x42+= 1};this[_0xece5[27]][_0xece5[6]][_0xece5[379]]= _0x1ac8x42+ _0xece5[378];this[_0xece5[27]][_0xece5[6]][_0xece5[381]]= _0x1ac8x40+ _0xece5[378];this[_0xece5[111]][_0xece5[6]][_0xece5[381]]= _0x1ac8x40+ _0xece5[378];this[_0xece5[111]][_0xece5[6]][_0xece5[377]]= _0x1ac8x41+ _0xece5[378];this[_0xece5[111]][_0xece5[6]][_0xece5[382]]= this[_0xece5[138]]+ _0xece5[378];this[_0xece5[26]][_0xece5[6]][_0xece5[383]]= (_0x1ac8x40+ this[_0xece5[135]])+ _0xece5[378];this[_0xece5[26]][_0xece5[6]][_0xece5[379]]= this[_0xece5[27]][_0xece5[6]][_0xece5[379]];this[_0xece5[28]][_0xece5[6]][_0xece5[377]]= this[_0xece5[138]]+ _0xece5[378];this[_0xece5[28]][_0xece5[6]][_0xece5[384]]= _0xece5[385];this[_0xece5[386]][_0xece5[6]][_0xece5[379]]= this[_0xece5[27]][_0xece5[6]][_0xece5[379]];this[_0xece5[386]][_0xece5[6]][_0xece5[382]]= this[_0xece5[111]][_0xece5[6]][_0xece5[382]];this[_0xece5[386]][_0xece5[6]][_0xece5[383]]= _0x1ac8x40+ _0xece5[378];this[_0xece5[387]][_0xece5[6]][_0xece5[381]]= this[_0xece5[27]][_0xece5[6]][_0xece5[381]];this[_0xece5[387]][_0xece5[6]][_0xece5[382]]= (_0x1ac8x41+ this[_0xece5[138]])+ _0xece5[378];if(_0x1ac8x3d){this[_0xece5[23]][_0xece5[6]][_0xece5[381]]= _0x1ac8x3e+ _0xece5[378];this[_0xece5[25]][_0xece5[6]][_0xece5[381]]= this[_0xece5[23]][_0xece5[6]][_0xece5[381]];var _0x1ac8x43=(_0x1ac8x3f- _0x1ac8x41- this[_0xece5[135]]- this[_0xece5[138]]- this[_0xece5[136]]- this[_0xece5[137]]);this[_0xece5[27]][_0xece5[6]][_0xece5[377]]= _0x1ac8x43+ _0xece5[378];this[_0xece5[26]][_0xece5[6]][_0xece5[381]]= (_0x1ac8x3e- _0x1ac8x40- this[_0xece5[135]])+ _0xece5[378];var _0x1ac8x44=(_0x1ac8x3f- this[_0xece5[138]]- this[_0xece5[136]]- this[_0xece5[137]]);this[_0xece5[26]][_0xece5[6]][_0xece5[377]]= _0x1ac8x44+ _0xece5[378];this[_0xece5[28]][_0xece5[6]][_0xece5[381]]= this[_0xece5[23]][_0xece5[6]][_0xece5[381]];this[_0xece5[386]][_0xece5[6]][_0xece5[377]]= _0x1ac8x44+ _0xece5[378]}else {this[_0xece5[27]][_0xece5[6]][_0xece5[382]]= (_0x1ac8x41+ this[_0xece5[135]]+ this[_0xece5[138]])+ _0xece5[378];this[_0xece5[26]][_0xece5[6]][_0xece5[382]]= this[_0xece5[111]][_0xece5[6]][_0xece5[382]]}};EditorUi[_0xece5[10]][_0xece5[14]]= function(){this[_0xece5[23]]= this[_0xece5[389]](_0xece5[388]);this[_0xece5[25]]= this[_0xece5[389]](_0xece5[390]);this[_0xece5[27]]= this[_0xece5[389]](_0xece5[391]);this[_0xece5[111]]= this[_0xece5[389]](_0xece5[392]);this[_0xece5[26]]= this[_0xece5[389]](_0xece5[393]);this[_0xece5[28]]= this[_0xece5[389]](_0xece5[394]);this[_0xece5[386]]= this[_0xece5[389]](_0xece5[395]);this[_0xece5[387]]= this[_0xece5[389]](_0xece5[396]);this[_0xece5[23]][_0xece5[6]][_0xece5[379]]= _0xece5[397];this[_0xece5[23]][_0xece5[6]][_0xece5[383]]= _0xece5[397];this[_0xece5[23]][_0xece5[6]][_0xece5[398]]= _0xece5[397];this[_0xece5[25]][_0xece5[6]][_0xece5[383]]= _0xece5[397];this[_0xece5[25]][_0xece5[6]][_0xece5[398]]= _0xece5[397];this[_0xece5[27]][_0xece5[6]][_0xece5[383]]= _0xece5[397];this[_0xece5[111]][_0xece5[6]][_0xece5[383]]= _0xece5[397];this[_0xece5[26]][_0xece5[6]][_0xece5[398]]= _0xece5[397];this[_0xece5[28]][_0xece5[6]][_0xece5[383]]= _0xece5[397];this[_0xece5[28]][_0xece5[6]][_0xece5[398]]= _0xece5[397];this[_0xece5[28]][_0xece5[6]][_0xece5[382]]= _0xece5[397];this[_0xece5[387]][_0xece5[6]][_0xece5[383]]= _0xece5[397];this[_0xece5[387]][_0xece5[6]][_0xece5[377]]= this[_0xece5[135]]+ _0xece5[378];this[_0xece5[386]][_0xece5[6]][_0xece5[381]]= this[_0xece5[135]]+ _0xece5[378]};EditorUi[_0xece5[10]][_0xece5[16]]= function(){this[_0xece5[399]]= this[_0xece5[13]][_0xece5[401]](this[_0xece5[389]](_0xece5[400]));this[_0xece5[23]][_0xece5[402]](this[_0xece5[399]][_0xece5[1]]);this[_0xece5[403]]= this[_0xece5[405]](this[_0xece5[389]](_0xece5[404]));this[_0xece5[25]][_0xece5[402]](this[_0xece5[403]][_0xece5[1]]);this[_0xece5[406]]= this[_0xece5[407]](this[_0xece5[27]]);this[_0xece5[28]][_0xece5[402]](this[_0xece5[408]]());this[_0xece5[409]]= this[_0xece5[410]]();this[_0xece5[0]][_0xece5[33]](_0xece5[411],mxUtils[_0xece5[20]](this,function(){this[_0xece5[413]](this[_0xece5[0]][_0xece5[412]]())}));this[_0xece5[413]](this[_0xece5[0]][_0xece5[412]]());this[_0xece5[399]][_0xece5[1]][_0xece5[402]](this[_0xece5[409]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[23]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[25]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[27]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[111]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[26]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[28]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[386]]);this[_0xece5[1]][_0xece5[402]](this[_0xece5[387]]);this[_0xece5[414]](this[_0xece5[386]],true,0,mxUtils[_0xece5[20]](this,function(_0x1ac8x45){this[_0xece5[139]]= _0x1ac8x45;this[_0xece5[15]]();this[_0xece5[0]][_0xece5[4]][_0xece5[132]]();this[_0xece5[0]][_0xece5[112]][_0xece5[133]](false);this[_0xece5[0]][_0xece5[112]][_0xece5[112]][_0xece5[132]]()}));this[_0xece5[414]](this[_0xece5[387]],false,this[_0xece5[138]],mxUtils[_0xece5[20]](this,function(_0x1ac8x45){this[_0xece5[140]]= _0x1ac8x45;this[_0xece5[15]]();this[_0xece5[0]][_0xece5[112]][_0xece5[133]](false);this[_0xece5[0]][_0xece5[112]][_0xece5[112]][_0xece5[132]]()}))};EditorUi[_0xece5[10]][_0xece5[410]]= function(){var _0x1ac8x2=document[_0xece5[416]](_0xece5[415]);_0x1ac8x2[_0xece5[417]]= _0xece5[418];return _0x1ac8x2};EditorUi[_0xece5[10]][_0xece5[410]]= function(){var _0x1ac8x2=document[_0xece5[416]](_0xece5[415]);_0x1ac8x2[_0xece5[417]]= _0xece5[418];return _0x1ac8x2};EditorUi[_0xece5[10]][_0xece5[413]]= function(_0x1ac8x45){this[_0xece5[409]][_0xece5[419]]= _0x1ac8x45};EditorUi[_0xece5[10]][_0xece5[405]]= function(_0x1ac8x2){return new Toolbar(this,_0x1ac8x2)};EditorUi[_0xece5[10]][_0xece5[407]]= function(_0x1ac8x2){return new Sidebar(this,_0x1ac8x2)};EditorUi[_0xece5[10]][_0xece5[408]]= function(){return this[_0xece5[389]](_0xece5[420])};EditorUi[_0xece5[10]][_0xece5[389]]= function(_0x1ac8x46){var _0x1ac8x47=document[_0xece5[416]](_0xece5[421]);_0x1ac8x47[_0xece5[417]]= _0x1ac8x46;return _0x1ac8x47};EditorUi[_0xece5[10]][_0xece5[422]]= function(_0x1ac8x46){var _0x1ac8x47=document[_0xece5[416]](_0x1ac8x46);return _0x1ac8x47};EditorUi[_0xece5[10]][_0xece5[423]]= function(_0x1ac8x46){var _0x1ac8x47=document[_0xece5[416]](_0xece5[424]);_0x1ac8x47[_0xece5[417]]= _0x1ac8x46;return _0x1ac8x47};EditorUi[_0xece5[10]][_0xece5[414]]= function(_0x1ac8x47,_0x1ac8x48,_0x1ac8x49,_0x1ac8x4a){var _0x1ac8x4b=null;var _0x1ac8x4c=null;function _0x1ac8x4d(){return parseInt(((_0x1ac8x48)?_0x1ac8x47[_0xece5[6]][_0xece5[383]]:_0x1ac8x47[_0xece5[6]][_0xece5[382]]))}function _0x1ac8x4e(_0x1ac8x6){if(_0x1ac8x4b!= null){var _0x1ac8x4f= new mxPoint(mxEvent[_0xece5[425]](_0x1ac8x6),mxEvent[_0xece5[426]](_0x1ac8x6));_0x1ac8x4a(Math[_0xece5[376]](0,_0x1ac8x4c+ ((_0x1ac8x48)?(_0x1ac8x4f[_0xece5[427]]- _0x1ac8x4b[_0xece5[427]]):(_0x1ac8x4b[_0xece5[428]]- _0x1ac8x4f[_0xece5[428]]))- _0x1ac8x49));mxEvent[_0xece5[106]](_0x1ac8x6)}}function _0x1ac8x50(_0x1ac8x6){_0x1ac8x4e(_0x1ac8x6);_0x1ac8x4b= null;_0x1ac8x4c= null}mxEvent[_0xece5[114]](_0x1ac8x47,function(_0x1ac8x6){_0x1ac8x4b= new mxPoint(mxEvent[_0xece5[425]](_0x1ac8x6),mxEvent[_0xece5[426]](_0x1ac8x6));_0x1ac8x4c= _0x1ac8x4d();mxEvent[_0xece5[106]](_0x1ac8x6)});mxEvent[_0xece5[33]](document,_0xece5[429],_0x1ac8x4e);mxEvent[_0xece5[33]](document,_0xece5[430],_0x1ac8x4e);mxEvent[_0xece5[33]](document,_0xece5[431],_0x1ac8x50);mxEvent[_0xece5[33]](document,_0xece5[432],_0x1ac8x50)};EditorUi[_0xece5[10]][_0xece5[105]]= function(_0x1ac8x47,_0x1ac8x3e,_0x1ac8x3f,_0x1ac8x51,_0x1ac8x52,_0x1ac8x53){this[_0xece5[433]]();this[_0xece5[434]]= new Dialog(this,_0x1ac8x47,_0x1ac8x3e,(mxClient[_0xece5[435]])?_0x1ac8x3f- 12:_0x1ac8x3f,_0x1ac8x51,_0x1ac8x52,_0x1ac8x53)};EditorUi[_0xece5[10]][_0xece5[433]]= function(){if(this[_0xece5[434]]!= null){this[_0xece5[434]][_0xece5[436]]();this[_0xece5[434]]= null;this[_0xece5[0]][_0xece5[4]][_0xece5[1]][_0xece5[47]]()}};EditorUi[_0xece5[10]][_0xece5[437]]= function(_0x1ac8x54){if(!_0x1ac8x54&& this[_0xece5[0]][_0xece5[157]]!= null){this[_0xece5[204]](this[_0xece5[0]][_0xece5[438]]())}else {this[_0xece5[105]]( new SaveDialog(this)[_0xece5[1]],300,100,true,true)}};EditorUi[_0xece5[10]][_0xece5[439]]= function(_0x1ac8x54){if(!_0x1ac8x54&& this[_0xece5[0]][_0xece5[157]]!= null){this[_0xece5[304]](this[_0xece5[0]][_0xece5[438]]())}else {}};EditorUi[_0xece5[10]][_0xece5[440]]= function(_0x1ac8x55,_0x1ac8x56,_0x1ac8x57){var _0x1ac8x3=this[_0xece5[0]][_0xece5[4]];var _0x1ac8xb=_0x1ac8x3[_0xece5[342]]();_0x1ac8x56= this[_0xece5[441]]!= null?this[_0xece5[441]]:_0x1ac8x56;_0x1ac8x3[_0xece5[98]]()[_0xece5[442]]();try{_0x1ac8x55[_0xece5[443]](_0x1ac8x3[_0xece5[302]](),_0x1ac8xb)}catch(e){throw e}finally{if(_0x1ac8x56&& navigator[_0xece5[445]][_0xece5[102]](_0xece5[444])< 0){var _0x1ac8x58= new mxMorphing(_0x1ac8x3);_0x1ac8x58[_0xece5[33]](mxEvent.DONE,mxUtils[_0xece5[20]](this,function(){_0x1ac8x3[_0xece5[98]]()[_0xece5[446]]()}));_0x1ac8x58[_0xece5[447]]()}else {_0x1ac8x3[_0xece5[98]]()[_0xece5[446]]()}}};EditorUi[_0xece5[10]][_0xece5[129]]= function(_0x1ac8x1){var _0x1ac8x3=this[_0xece5[0]][_0xece5[4]];var _0x1ac8xf= new mxKeyHandler(_0x1ac8x3);_0x1ac8xf[_0xece5[448]]= function(_0x1ac8x6){return mxEvent[_0xece5[448]](_0x1ac8x6)|| (mxClient[_0xece5[449]]&& _0x1ac8x6[_0xece5[450]])};function _0x1ac8x59(_0x1ac8x5a){if(!_0x1ac8x3[_0xece5[323]]()){var _0x1ac8x49=0;var _0x1ac8x5b=0;if(_0x1ac8x5a== 37){_0x1ac8x49= -1}else {if(_0x1ac8x5a== 38){_0x1ac8x5b= -1}else {if(_0x1ac8x5a== 39){_0x1ac8x49= 1}else {if(_0x1ac8x5a== 40){_0x1ac8x5b= 1}}}};_0x1ac8x3[_0xece5[451]](_0x1ac8x3[_0xece5[324]](),_0x1ac8x49,_0x1ac8x5b);_0x1ac8x3[_0xece5[452]](_0x1ac8x3[_0xece5[342]]())}}var _0x1ac8x5c=mxUtils[_0xece5[20]](this,function(_0x1ac8x5d,_0x1ac8x5e,_0x1ac8x2e,_0x1ac8x5f){var _0x1ac8x60=this[_0xece5[12]][_0xece5[144]](_0x1ac8x2e);if(_0x1ac8x60!= null){var _0x1ac8x1f=function(){if(_0x1ac8x60[_0xece5[453]]){_0x1ac8x60[_0xece5[454]]()}};if(_0x1ac8x5e){if(_0x1ac8x5f){_0x1ac8xf[_0xece5[455]](_0x1ac8x5d,_0x1ac8x1f)}else {_0x1ac8xf[_0xece5[456]](_0x1ac8x5d,_0x1ac8x1f)}}else {if(_0x1ac8x5f){_0x1ac8xf[_0xece5[457]](_0x1ac8x5d,_0x1ac8x1f)}else {_0x1ac8xf[_0xece5[458]](_0x1ac8x5d,_0x1ac8x1f)}}}});var _0x1ac8x61=this;var _0x1ac8x62=_0x1ac8xf[_0xece5[459]];_0x1ac8xf[_0xece5[459]]= function(_0x1ac8x6){_0x1ac8x61[_0xece5[433]]();_0x1ac8x62[_0xece5[50]](this,arguments)};_0x1ac8xf[_0xece5[460]]= function(){};_0x1ac8xf[_0xece5[458]](8,function(){_0x1ac8x3[_0xece5[461]](true)});_0x1ac8xf[_0xece5[458]](13,function(){_0x1ac8x3[_0xece5[461]](false)});_0x1ac8xf[_0xece5[458]](33,function(){_0x1ac8x3[_0xece5[365]]()});_0x1ac8xf[_0xece5[458]](34,function(){_0x1ac8x3[_0xece5[366]]()});_0x1ac8xf[_0xece5[458]](36,function(){_0x1ac8x3[_0xece5[364]]()});_0x1ac8xf[_0xece5[458]](35,function(){_0x1ac8x3[_0xece5[15]]()});_0x1ac8xf[_0xece5[458]](37,function(){_0x1ac8x59(37)});_0x1ac8xf[_0xece5[458]](38,function(){_0x1ac8x59(38)});_0x1ac8xf[_0xece5[458]](39,function(){_0x1ac8x59(39)});_0x1ac8xf[_0xece5[458]](40,function(){_0x1ac8x59(40)});_0x1ac8xf[_0xece5[458]](113,function(){_0x1ac8x3[_0xece5[103]]()});_0x1ac8x5c(46,false,_0xece5[325]);_0x1ac8x5c(82,true,_0xece5[335]);_0x1ac8x5c(83,true,_0xece5[204]);_0x1ac8x5c(83,true,_0xece5[212],true);_0x1ac8x5c(107,false,_0xece5[462]);_0x1ac8x5c(109,false,_0xece5[463]);_0x1ac8x5c(65,true,_0xece5[464]);_0x1ac8x5c(86,true,_0xece5[465],true);_0x1ac8x5c(69,true,_0xece5[466],true);_0x1ac8x5c(69,true,_0xece5[467]);_0x1ac8x5c(66,true,_0xece5[331]);_0x1ac8x5c(70,true,_0xece5[330]);_0x1ac8x5c(68,true,_0xece5[326]);_0x1ac8x5c(90,true,_0xece5[319]);_0x1ac8x5c(89,true,_0xece5[320]);_0x1ac8x5c(88,true,_0xece5[147]);_0x1ac8x5c(67,true,_0xece5[148]);_0x1ac8x5c(81,true,_0xece5[468]);_0x1ac8x5c(86,true,_0xece5[143]);_0x1ac8x5c(71,true,_0xece5[341]);_0x1ac8x5c(71,true,_0xece5[469],true);_0x1ac8x5c(85,true,_0xece5[343]);_0x1ac8x5c(112,false,_0xece5[470]);_0x1ac8x5c(80,true,_0xece5[304],true);return _0x1ac8xf};EditorUi[_0xece5[10]][_0xece5[56]]= function(_0x1ac8x3,_0x1ac8x37,_0x1ac8x63,_0x1ac8x64){for(var _0x1ac8x38=0;_0x1ac8x38< _0x1ac8x37[_0xece5[175]];_0x1ac8x38++){_0x1ac8x3[_0xece5[473]]( new mxMultiplicity(true,_0x1ac8x37[_0x1ac8x38],null,null,_0x1ac8x63[_0x1ac8x38][0],_0x1ac8x63[_0x1ac8x38][1],null,mxResources[_0xece5[144]](_0x1ac8x37[_0x1ac8x38])+ mxResources[_0xece5[144]](_0xece5[471])+ _0x1ac8x63[_0x1ac8x38][0]+ mxResources[_0xece5[144]](_0xece5[472]),null));_0x1ac8x3[_0xece5[473]]( new mxMultiplicity(false,_0x1ac8x37[_0x1ac8x38],null,null,_0x1ac8x64[_0x1ac8x38][0],_0x1ac8x64[_0x1ac8x38][1],null,mxResources[_0xece5[144]](_0x1ac8x37[_0x1ac8x38])+ mxResources[_0xece5[144]](_0xece5[471])+ _0x1ac8x64[_0x1ac8x38][0]+ mxResources[_0xece5[144]](_0xece5[474]),null))}} \ No newline at end of file +var _0x8fa9=["\x65\x64\x69\x74\x6F\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x45\x64\x69\x74\x6F\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x67\x72\x61\x70\x68","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x73\x72\x63","\x73\x75\x62\x6D\x65\x6E\x75\x49\x6D\x61\x67\x65","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x61\x63\x74\x69\x6F\x6E\x73","\x6D\x65\x6E\x75\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x76\x73","\x72\x65\x66\x72\x65\x73\x68","\x63\x72\x65\x61\x74\x65\x55\x69","\x65\x76\x65\x6E\x74","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x41\x6C\x6C\x6F\x77\x65\x64","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x62\x69\x6E\x64","\x62\x6F\x64\x79","\x6F\x6E\x73\x65\x6C\x65\x63\x74\x73\x74\x61\x72\x74","\x6D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x6E\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x74\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x64\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x66\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x49\x53\x5F\x49\x45","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x4D\x6F\x64\x65","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6F\x6E\x63\x6F\x6E\x74\x65\x78\x74\x6D\x65\x6E\x75","\x69\x6E\x69\x74","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x75\x72\x73\x6F\x72","\x64\x65\x66\x61\x75\x6C\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x67\x72\x69\x64\x49\x6D\x61\x67\x65","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x2D\x31\x70\x78\x20\x2D\x31\x70\x78","\x66\x6F\x63\x75\x73","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x61\x70\x70\x6C\x79","\x6D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x73\x74\x61\x72\x74","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x6E\x64","\x6E","\x63\x72\x65\x61\x74\x65\x4D\x75\x6C\x74\x69\x70\x6C\x69\x63\x69\x74\x69\x65\x73","\x61\x6E\x73\x77\x65\x72","\x68\x61\x6E\x67\x75\x70","\x64\x69\x61\x6C","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x71\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x73\x65\x74","\x6D\x61\x74\x68","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x6D\x65\x6E\x75","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x74\x74\x73","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x72\x65\x63\x6F\x72\x64","\x64\x61\x74\x61\x62\x61\x73\x65","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x73\x65\x6E\x64\x53\x4D\x53","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x67\x6F\x74\x6F\x63","\x67\x6F\x74\x6F\x69\x66","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x67\x6F\x74\x6F\x69\x66\x6D\x75\x6C\x74\x69\x74\x69\x6D\x65","\x76\x73\x77\x69\x74\x63\x68","\x71\x75\x65\x75\x65\x6C\x6F\x67","\x67\x6F\x61\x6C","\x6E\x6F\x6F\x70","\x73\x79\x73\x74\x65\x6D","\x61\x67\x69","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x65\x6C\x6C","\x66\x69\x72\x65\x45\x76\x65\x6E\x74","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x74\x61\x67\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x73\x6F\x75\x72\x63\x65","\x69\x6E\x64\x65\x78\x4F\x66","\x73\x74\x61\x72\x74\x45\x64\x69\x74\x69\x6E\x67\x41\x74\x43\x65\x6C\x6C","\x69\x73\x56\x65\x72\x74\x65\x78","\x73\x68\x6F\x77\x44\x69\x61\x6C\x6F\x67","\x63\x6F\x6E\x73\x75\x6D\x65","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x6F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x6F\x75\x74\x6C\x69\x6E\x65","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x67\x65\x73\x74\x75\x72\x65\x63\x68\x61\x6E\x67\x65","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x73\x63\x61\x6C\x65\x28","\x73\x63\x61\x6C\x65","\x67\x65\x74\x44\x72\x61\x77\x50\x61\x6E\x65","\x76\x69\x65\x77","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x73\x74\x75\x72\x65\x65\x6E\x64","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x7A\x6F\x6F\x6D\x54\x6F\x43\x65\x6E\x74\x65\x72","\x7A\x6F\x6F\x6D","\x76\x69\x73\x69\x62\x6C\x65","\x63\x72\x65\x61\x74\x65\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x4B\x65\x79\x48\x61\x6E\x64\x6C\x65\x72","\x72\x65\x73\x69\x7A\x65","\x73\x69\x7A\x65\x44\x69\x64\x43\x68\x61\x6E\x67\x65","\x75\x70\x64\x61\x74\x65","\x6F\x70\x65\x6E","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6D\x65\x6E\x75\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x74\x6F\x6F\x6C\x62\x61\x72\x48\x65\x69\x67\x68\x74","\x66\x6F\x6F\x74\x65\x72\x48\x65\x69\x67\x68\x74","\x68\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x76\x73\x70\x6C\x69\x74\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x64\x64\x55\x6E\x64\x6F\x4C\x69\x73\x74\x65\x6E\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x73\x74\x65","\x67\x65\x74","\x69\x73\x45\x6D\x70\x74\x79","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x74","\x63\x6F\x70\x79","\x6F\x70\x65\x6E\x65\x72","\x6F\x70\x65\x6E\x46\x69\x6C\x65","\x70\x61\x72\x73\x65\x58\x6D\x6C","\x64\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x73\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x6D\x6F\x64\x69\x66\x69\x65\x64","\x63\x6C\x65\x61\x72","\x75\x6E\x64\x6F\x4D\x61\x6E\x61\x67\x65\x72","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x69\x6E\x76\x61\x6C\x69\x64\x4F\x72\x4D\x69\x73\x73\x69\x6E\x67\x46\x69\x6C\x65","\x3A\x20","\x6D\x65\x73\x73\x61\x67\x65","\x61\x6C\x65\x72\x74","\x73\x65\x74\x43\x6F\x6E\x73\x75\x6D\x65\x72","\x6F\x70\x65\x6E\x53\x74\x72\x69\x6E\x67","\x64\x61\x74\x61","\x6E\x65\x77","\x67\x65\x74\x47\x72\x61\x70\x68\x58\x6D\x6C","\x67\x65\x74\x50\x72\x65\x74\x74\x79\x58\x6D\x6C","\x67\x65\x74\x49\x74\x65\x6D","\x72\x65\x70\x6C\x61\x63\x65","\x63\x6F\x6E\x66\x69\x72\x6D","\x73\x65\x74\x49\x74\x65\x6D","\x73\x61\x76\x65\x64","\x20","\x73\x65\x74\x53\x74\x61\x74\x75\x73","\x6C\x65\x6E\x67\x74\x68","\x6C\x6F\x67","\x50\x4F\x53\x54","\x43\x6F\x6E\x74\x65\x6E\x74\x2D\x54\x79\x70\x65","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2F\x78\x2D\x77\x77\x77\x2D\x66\x6F\x72\x6D\x2D\x75\x72\x6C\x65\x6E\x63\x6F\x64\x65\x64","\x73\x65\x74\x52\x65\x71\x75\x65\x73\x74\x48\x65\x61\x64\x65\x72","\x41\x75\x74\x68\x6F\x72\x69\x7A\x61\x74\x69\x6F\x6E","\x42\x65\x61\x72\x65\x72\x20","\x74\x6F\x6B\x65\x6E","\x6F\x6E\x6C\x6F\x61\x64","\x72\x65\x61\x64\x79\x53\x74\x61\x74\x65","\x73\x74\x61\x74\x75\x73","\x50\x72\x6F\x6A\x65\x63\x74\x20","\x6E\x61\x6D\x65","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x70\x61\x72\x73\x65","\x20\x69\x73\x20\x6F\x70\x65\x6E\x69\x6E\x67\x20\x69\x6E\x20\x6E\x65\x77\x20\x77\x69\x6E\x64\x6F\x77\x21","\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x2F","\x69\x64","\x5F\x62\x6C\x61\x6E\x6B","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x65\x72\x72\x6F\x72\x73","\x6F\x6E\x65\x72\x72\x6F\x72","\x73\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x6E\x65\x77\x26\x6E\x61\x6D\x65\x3D","\x73\x65\x6E\x64","\x64\x72\x61\x77\x69\x6E\x67\x54\x6F\x6F\x4C\x61\x72\x67\x65","\x70\x6F\x70\x75\x70","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74","\x73\x61\x76\x65","\x50\x55\x54","\x55\x70\x64\x61\x74\x65\x64\x20\x61\x74\x20","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x20\x28","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x70\x72\x65\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x45\x72\x72\x6F\x72\x20\x73\x61\x76\x69\x6E\x67\x20\x66\x69\x6C\x65","\x73\x61\x76\x65\x41\x73","\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x76\x69\x65\x77\x2F","\x45\x72\x72\x6F\x72\x20\x63\x6C\x6F\x6E\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x3D\x70\x72\x6F\x6A\x65\x63\x74\x5F\x63\x6C\x6F\x6E\x65\x64\x26\x6E\x61\x6D\x65\x3D","\x26\x70\x72\x65\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x26\x70\x72\x6F\x64\x75\x63\x74\x69\x6F\x6E\x3D","\x76\x61\x6C\x69\x64\x61\x74\x65","\x67\x65\x74\x52\x6F\x6F\x74","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x43\x68\x69\x6C\x64\x43\x6F\x75\x6E\x74","\x67\x65\x74\x43\x68\x69\x6C\x64\x41\x74","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x3C\x62\x72\x3E","\x73\x65\x74\x43\x65\x6C\x6C\x57\x61\x72\x6E\x69\x6E\x67","","\x76\x61\x6C\x69\x64\x61\x74\x65\x42\x6C\x6F\x63\x6B","\x4F\x6E\x6C\x79\x20\x6F\x6E\x65\x20\x53\x74\x61\x72\x74\x20\x62\x6C\x6F\x63\x6B\x20\x69\x73\x20\x61\x6C\x6C\x6F\x77\x65\x64","\x0A","\x4F\x6E\x6C\x79\x20\x6F\x6E\x65\x20\x46\x69\x6E\x61\x6C\x6C\x79\x20\x62\x6C\x6F\x63\x6B\x20\x69\x73\x20\x61\x6C\x6C\x6F\x77\x65\x64","\x66\x69\x6C\x65\x5F\x69\x64","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6E\x6F\x41\x75\x64\x69\x6F\x53\x65\x6C\x65\x63\x74\x65\x64","\x64\x69\x67\x69\x74","\x77\x72\x6F\x6E\x67\x4D\x61\x78\x44\x69\x67\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x6E\x6F\x56\x61\x72\x69\x61\x62\x6C\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x77\x72\x6F\x6E\x67\x4D\x69\x6E\x44\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x76\x61\x72\x69\x61\x62\x6C\x65","\x6F\x64\x62\x63\x5F\x69\x64","\x6E\x6F\x44\x61\x74\x61\x62\x61\x73\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x2D\x31","\x6E\x6F\x54\x72\x75\x6E\x6B\x53\x65\x6C\x65\x63\x74\x65\x64","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x6E\x6F\x45\x78\x74\x65\x6E\x73\x69\x6F\x6E\x53\x65\x6C\x65\x63\x74\x65\x64","\x63\x6F\x6D\x6D\x61\x6E\x64","\x6E\x6F\x43\x6F\x6D\x6D\x61\x6E\x64\x53\x65\x6C\x65\x63\x74\x65\x64","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x6E\x6F\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E\x53\x65\x6C\x65\x63\x74\x65\x64","\x64\x69\x67\x69\x74\x73","\x6E\x6F\x44\x69\x67\x69\x74\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x6E\x75\x6D\x62\x65\x72","\x6E\x6F\x4E\x75\x6D\x62\x65\x72\x53\x65\x6C\x65\x63\x74\x65\x64","\x74\x65\x78\x74","\x6E\x6F\x54\x65\x78\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x66\x69\x6C\x65","\x6E\x6F\x46\x69\x6C\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x6E\x6F\x47\x6F\x61\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x70\x68\x6F\x6E\x65","\x6E\x6F\x49\x64\x65\x6E\x74\x69\x66\x69\x65\x72\x53\x65\x6C\x65\x63\x74\x65\x64","\x73\x69\x70\x5F\x69\x64","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6E\x6F\x51\x75\x65\x75\x65\x53\x65\x6C\x65\x63\x74\x65\x64","\x6C\x69\x73\x74\x5F\x69\x64","\x6E\x6F\x4C\x69\x73\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x6E\x6F\x49\x6E\x74\x65\x72\x76\x61\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x6D\x61\x69\x6C\x62\x6F\x78","\x6E\x6F\x42\x6F\x78\x4E\x75\x6D\x62\x65\x72\x53\x65\x6C\x65\x63\x74\x65\x64","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x6E\x6F\x50\x72\x6F\x6A\x65\x63\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x6E\x6F\x41\x63\x63\x6F\x75\x6E\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x74\x6F","\x6E\x6F\x52\x65\x63\x69\x70\x69\x65\x6E\x74\x53\x65\x6C\x65\x63\x74\x65\x64","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x6B\x65\x79","\x6E\x6F\x4B\x65\x79\x53\x65\x6C\x65\x63\x74\x65\x64","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x67\x65\x74\x49\x64","\x67\x65\x74\x43\x65\x6C\x6C","\x67\x65\x74\x56\x61\x6C\x75\x65","\x74\x65\x73\x74","\x6E\x75\x6D\x62\x65\x72\x4F\x72\x49\x6E\x76\x61\x6C\x69\x64\x4F\x72\x54\x69\x6D\x65\x6F\x75\x74","\x2C","\x73\x70\x6C\x69\x74","\x6E\x75\x6D\x62\x65\x72\x4F\x72\x41\x6C\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x6E\x75\x6D\x62\x65\x72\x4F\x72\x49\x6E\x76\x61\x6C\x69\x64\x4F\x72\x44\x65\x66\x61\x75\x6C\x74","\x74\x72\x75\x65\x4F\x72\x46\x61\x6C\x73\x65","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6C\x6C\x61\x70\x73\x65\x64","\x63\x6F\x6E\x74\x61\x69\x6E\x73\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72\x73\x52\x65\x73\x6F\x75\x72\x63\x65","\x67\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C","\x67\x65\x74\x45\x64\x67\x65\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x67\x65\x74\x43\x65\x6C\x6C\x56\x61\x6C\x69\x64\x61\x74\x69\x6F\x6E\x45\x72\x72\x6F\x72","\x76\x61\x6C\x69\x64\x61\x74\x65\x43\x65\x6C\x6C","\x67\x65\x74\x50\x61\x72\x65\x6E\x74","\x67\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x50\x61\x72\x65\x6E\x74","\x63\x68\x69\x6C\x64\x72\x65\x6E","\x70\x75\x62\x6C\x69\x73\x68","\x50\x75\x62\x6C\x69\x73\x68\x65\x64\x20\x61\x74\x20","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x66\x69\x6C\x65","\x45\x72\x72\x6F\x72\x20\x70\x75\x62\x6C\x69\x73\x68\x69\x6E\x67\x20\x70\x72\x6F\x6A\x65\x63\x74\x3A\x20","\x56\x61\x72\x69\x61\x62\x6C\x65\x20\x63\x72\x65\x61\x74\x65\x64\x20\x61\x74\x20","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65\x3A\x20","\x6E\x61\x6D\x65\x3D","\x45\x72\x72\x6F\x72\x20\x63\x72\x65\x61\x74\x69\x6E\x67\x20\x76\x61\x72\x69\x61\x62\x6C\x65","\x67\x65\x74\x55\x72\x6C","\x70\x61\x74\x68\x6E\x61\x6D\x65","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x26","\x3D","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x61\x6E\x55\x6E\x64\x6F","\x63\x61\x6E\x52\x65\x64\x6F","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x64\x61\x73\x68\x65\x64","\x72\x6F\x75\x6E\x64\x65\x64","\x73\x68\x61\x64\x6F\x77","\x74\x69\x6C\x74","\x61\x75\x74\x6F\x73\x69\x7A\x65","\x63\x75\x72\x76\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x77\x6F\x72\x64\x57\x72\x61\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x67\x72\x6F\x75\x70","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x66\x6F\x72\x6D\x61\x74","\x61\x72\x72\x61\x6E\x67\x65","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x73\x70\x61\x63\x69\x6E\x67","\x6C\x69\x6E\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x61\x6C\x69\x67\x6E","\x67\x65\x74\x53\x74\x61\x74\x65","\x69\x73\x4C\x6F\x6F\x70","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x63\x75\x72\x72\x65\x6E\x74\x52\x6F\x6F\x74","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x65\x64\x69\x74\x4C\x69\x6E\x6B","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x63\x6C\x69\x65\x6E\x74\x48\x65\x69\x67\x68\x74","\x6D\x69\x6E","\x6D\x61\x78","\x68\x65\x69\x67\x68\x74","\x70\x78","\x74\x6F\x70","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x77\x69\x64\x74\x68","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x64\x69\x73\x70\x6C\x61\x79","\x6E\x6F\x6E\x65","\x68\x73\x70\x6C\x69\x74","\x76\x73\x70\x6C\x69\x74","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x44\x69\x76","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x4F\x75\x74\x6C\x69\x6E\x65\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x44\x69\x61\x67\x72\x61\x6D\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x46\x6F\x6F\x74\x65\x72\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x67\x65\x48\x73\x70\x6C\x69\x74","\x67\x65\x56\x73\x70\x6C\x69\x74","\x30\x70\x78","\x72\x69\x67\x68\x74","\x6D\x65\x6E\x75\x62\x61\x72","\x67\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x74\x6F\x6F\x6C\x62\x61\x72","\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x54\x6F\x6F\x6C\x62\x61\x72","\x73\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x53\x69\x64\x65\x62\x61\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x6F\x74\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x75\x73\x43\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x73\x74\x61\x74\x75\x73\x43\x68\x61\x6E\x67\x65\x64","\x67\x65\x74\x53\x74\x61\x74\x75\x73","\x73\x65\x74\x53\x74\x61\x74\x75\x73\x54\x65\x78\x74","\x61\x64\x64\x53\x70\x6C\x69\x74\x48\x61\x6E\x64\x6C\x65\x72","\x61","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D\x20\x67\x65\x53\x74\x61\x74\x75\x73","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x67\x65\x46\x6F\x6F\x74\x65\x72","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x48\x65\x61\x64\x65\x72","\x63\x72\x65\x61\x74\x65\x46\x6F\x72\x6D","\x66\x6F\x72\x6D","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x78","\x79","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x74\x6F\x75\x63\x68\x6D\x6F\x76\x65","\x6D\x6F\x75\x73\x65\x75\x70","\x74\x6F\x75\x63\x68\x65\x6E\x64","\x68\x69\x64\x65\x44\x69\x61\x6C\x6F\x67","\x64\x69\x61\x6C\x6F\x67","\x49\x53\x5F\x56\x4D\x4C","\x63\x6C\x6F\x73\x65","\x73\x61\x76\x65\x46\x69\x6C\x65","\x67\x65\x74\x4F\x72\x43\x72\x65\x61\x74\x65\x46\x69\x6C\x65\x6E\x61\x6D\x65","\x70\x75\x62\x6C\x69\x73\x68\x46\x69\x6C\x65","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x61\x6E\x69\x6D\x61\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x65\x78\x65\x63\x75\x74\x65","\x43\x61\x6D\x69\x6E\x6F","\x75\x73\x65\x72\x41\x67\x65\x6E\x74","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x41\x6E\x69\x6D\x61\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x49\x53\x5F\x4D\x41\x43","\x6D\x65\x74\x61\x4B\x65\x79","\x6D\x6F\x76\x65\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x65\x6E\x61\x62\x6C\x65\x64","\x66\x75\x6E\x63\x74","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x43\x6F\x6E\x74\x72\x6F\x6C\x4B\x65\x79","\x62\x69\x6E\x64\x53\x68\x69\x66\x74\x4B\x65\x79","\x62\x69\x6E\x64\x4B\x65\x79","\x65\x73\x63\x61\x70\x65","\x65\x6E\x74\x65\x72","\x66\x6F\x6C\x64\x43\x65\x6C\x6C\x73","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x65\x78\x70\x6F\x72\x74","\x63\x6F\x6E\x6E\x65\x63\x74","\x67\x72\x69\x64","\x61\x62\x6F\x75\x74","\x6D\x75\x73\x74\x68\x61\x76\x65","\x6F\x75\x74\x67\x6F\x69\x6E\x67\x65\x64\x67\x65","\x70\x75\x73\x68","\x69\x6E\x63\x6F\x6D\x69\x6E\x67\x65\x64\x67\x65"];EditorUi= function(_0x8f15x1,_0x8f15x2){this[_0x8fa9[0]]= _0x8f15x1|| new Editor();this[_0x8fa9[1]]= _0x8f15x2|| document[_0x8fa9[3]](_0x8fa9[2]);var _0x8f15x3=_0x8f15x1[_0x8fa9[4]];var _0x8f15x4=this;this[_0x8fa9[1]][_0x8fa9[6]][_0x8fa9[5]]= _0x8fa9[7]; new Image()[_0x8fa9[8]]= mxPopupMenu[_0x8fa9[10]][_0x8fa9[9]];if(mxConnectionHandler[_0x8fa9[10]][_0x8fa9[11]]!= null){ new Image()[_0x8fa9[8]]= mxConnectionHandler[_0x8fa9[10]][_0x8fa9[11]][_0x8fa9[8]]};this[_0x8fa9[12]]= new Actions(this);this[_0x8fa9[13]]= new Menus(this);this[_0x8fa9[14]]();this[_0x8fa9[15]]();this[_0x8fa9[16]]();var _0x8f15x5=mxUtils[_0x8fa9[20]](this,function(_0x8f15x6){if(_0x8f15x6== null){_0x8f15x6= window[_0x8fa9[17]]};if(this[_0x8fa9[18]](_0x8f15x6)){return true};return _0x8f15x3[_0x8fa9[19]]()});if(this[_0x8fa9[1]]== document[_0x8fa9[21]]){this[_0x8fa9[23]][_0x8fa9[22]]= _0x8f15x5;this[_0x8fa9[23]][_0x8fa9[24]]= _0x8f15x5;this[_0x8fa9[25]][_0x8fa9[22]]= _0x8f15x5;this[_0x8fa9[25]][_0x8fa9[24]]= _0x8f15x5;this[_0x8fa9[26]][_0x8fa9[22]]= _0x8f15x5;this[_0x8fa9[26]][_0x8fa9[24]]= _0x8f15x5;this[_0x8fa9[27]][_0x8fa9[22]]= _0x8f15x5;this[_0x8fa9[27]][_0x8fa9[24]]= _0x8f15x5;this[_0x8fa9[28]][_0x8fa9[22]]= _0x8f15x5;this[_0x8fa9[28]][_0x8fa9[24]]= _0x8f15x5};if(mxClient[_0x8fa9[29]]&& ( typeof (document[_0x8fa9[30]])=== _0x8fa9[31]|| document[_0x8fa9[30]]< 9)){mxEvent[_0x8fa9[33]](this[_0x8fa9[26]],_0x8fa9[32],_0x8f15x5);mxEvent[_0x8fa9[33]](this[_0x8fa9[27]],_0x8fa9[32],_0x8f15x5)}else {this[_0x8fa9[26]][_0x8fa9[34]]= _0x8f15x5;this[_0x8fa9[27]][_0x8fa9[34]]= _0x8f15x5};_0x8f15x3[_0x8fa9[35]](this[_0x8fa9[26]]);_0x8f15x3[_0x8fa9[15]]();_0x8f15x3[_0x8fa9[1]][_0x8fa9[38]](_0x8fa9[36],_0x8fa9[37]);_0x8f15x3[_0x8fa9[1]][_0x8fa9[6]][_0x8fa9[39]]= _0x8fa9[40];_0x8f15x3[_0x8fa9[1]][_0x8fa9[6]][_0x8fa9[41]]= _0x8fa9[42]+ _0x8f15x1[_0x8fa9[43]]+ _0x8fa9[44];_0x8f15x3[_0x8fa9[1]][_0x8fa9[6]][_0x8fa9[45]]= _0x8fa9[46];_0x8f15x3[_0x8fa9[1]][_0x8fa9[47]]();var _0x8f15x7=_0x8f15x3[_0x8fa9[48]];_0x8f15x3[_0x8fa9[48]]= function(_0x8f15x8,_0x8f15x9,_0x8f15xa){if(_0x8f15x8== mxEvent[_0x8fa9[49]]){this[_0x8fa9[1]][_0x8fa9[47]]()};_0x8f15x7[_0x8fa9[50]](this,arguments)};this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[52],_0x8fa9[53],_0x8fa9[54]],[[1,1],[1,1],[0,0]],[[0,0],[0,0],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[57],_0x8fa9[58],_0x8fa9[59],_0x8fa9[60],_0x8fa9[61],_0x8fa9[62],_0x8fa9[63]],[[1,1],[0,0],[0,1],[0,1],[0,1],[1,1],[0,1]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[64],_0x8fa9[65]],[[1,1],[1,1]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[66],_0x8fa9[67],_0x8fa9[68],_0x8fa9[69],_0x8fa9[70],_0x8fa9[71],_0x8fa9[72],_0x8fa9[73],_0x8fa9[74]],[[1,_0x8fa9[55]],[1,1],[1,_0x8fa9[55]],[1,1],[1,1],[1,1],[1,1],[1,1],[1,_0x8fa9[55]]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[75]],[[1,1]],[[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[76],_0x8fa9[77],_0x8fa9[78],_0x8fa9[79]],[[1,1],[1,1],[1,1],[1,1]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[80],_0x8fa9[81],_0x8fa9[82],_0x8fa9[83],_0x8fa9[84]],[[0,0],[1,2],[1,2],[1,2],[1,_0x8fa9[55]]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[85],_0x8fa9[86]],[[1,1],[1,1]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);this[_0x8fa9[56]](_0x8f15x3[_0x8fa9[51]],[_0x8fa9[87],_0x8fa9[88],_0x8fa9[89],_0x8fa9[90],_0x8fa9[91]],[[1,1],[1,1],[0,1],[0,1],[0,1]],[[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]],[1,_0x8fa9[55]]]);_0x8f15x3[_0x8fa9[92]]= function(_0x8f15x6,_0x8f15xb){var _0x8f15xc=[_0x8fa9[66],_0x8fa9[81],_0x8fa9[82],_0x8fa9[68],_0x8fa9[74],_0x8fa9[84]];var _0x8f15xd= new mxEventObject(mxEvent.DOUBLE_CLICK,_0x8fa9[17],_0x8f15x6,_0x8fa9[93],_0x8f15xb);this[_0x8fa9[94]](_0x8f15xd);if(this[_0x8fa9[95]]()&& !mxEvent[_0x8fa9[96]](_0x8f15x6)&& !_0x8f15xd[_0x8fa9[96]]()){if(this[_0x8fa9[98]]()[_0x8fa9[97]](_0x8f15xb)){if(_0x8f15xc[_0x8fa9[102]](_0x8f15xb[_0x8fa9[101]][_0x8fa9[100]][_0x8fa9[99]])>= 0){this[_0x8fa9[103]](_0x8f15xb)}}else {if(this[_0x8fa9[98]]()[_0x8fa9[104]](_0x8f15xb)){_0x8f15x4[_0x8fa9[105]]( new GeneralDialog(_0x8f15x4,_0x8f15xb)[_0x8fa9[1]],320,280,true,true)}};_0x8f15xd[_0x8fa9[106]]()}};_0x8f15x3[_0x8fa9[108]][_0x8fa9[107]]= true;_0x8f15x3[_0x8fa9[108]][_0x8fa9[109]]= mxUtils[_0x8fa9[20]](this,function(_0x8f15xe,_0x8f15xb,_0x8f15x6){this[_0x8fa9[13]][_0x8fa9[110]](_0x8f15xe,_0x8f15xb,_0x8f15x6)});_0x8f15x1[_0x8fa9[112]][_0x8fa9[35]](this[_0x8fa9[111]]);mxEvent[_0x8fa9[114]](document,mxUtils[_0x8fa9[20]](this,function(_0x8f15x6){_0x8f15x3[_0x8fa9[108]][_0x8fa9[113]]()}));if(mxClient[_0x8fa9[115]]){mxEvent[_0x8fa9[33]](_0x8f15x3[_0x8fa9[1]],_0x8fa9[116],mxUtils[_0x8fa9[20]](this,function(_0x8f15x6){_0x8f15x3[_0x8fa9[121]][_0x8fa9[120]]()[_0x8fa9[38]](_0x8fa9[117],_0x8fa9[118]+ _0x8f15x6[_0x8fa9[119]]+ _0x8fa9[44]);_0x8f15x3[_0x8fa9[121]][_0x8fa9[123]]()[_0x8fa9[6]][_0x8fa9[122]]= _0x8fa9[7]}));mxEvent[_0x8fa9[33]](_0x8f15x3[_0x8fa9[1]],_0x8fa9[124],mxUtils[_0x8fa9[20]](this,function(_0x8f15x6){_0x8f15x3[_0x8fa9[121]][_0x8fa9[120]]()[_0x8fa9[125]](_0x8fa9[117]);_0x8f15x3[_0x8fa9[126]]= true;_0x8f15x3[_0x8fa9[127]](_0x8f15x6[_0x8fa9[119]]);_0x8f15x3[_0x8fa9[121]][_0x8fa9[123]]()[_0x8fa9[6]][_0x8fa9[122]]= _0x8fa9[128]}))};var _0x8f15xf=this[_0x8fa9[129]](_0x8f15x1);this[_0x8fa9[130]]= function(){return _0x8f15xf};mxEvent[_0x8fa9[33]](window,_0x8fa9[131],mxUtils[_0x8fa9[20]](this,function(){this[_0x8fa9[15]]();_0x8f15x3[_0x8fa9[132]]();this[_0x8fa9[0]][_0x8fa9[112]][_0x8fa9[133]](false);this[_0x8fa9[0]][_0x8fa9[112]][_0x8fa9[112]][_0x8fa9[132]]()}));this[_0x8fa9[35]]();this[_0x8fa9[134]]()};EditorUi[_0x8fa9[10]][_0x8fa9[135]]= (mxClient[_0x8fa9[115]])?16:8;EditorUi[_0x8fa9[10]][_0x8fa9[136]]= 33;EditorUi[_0x8fa9[10]][_0x8fa9[137]]= 36;EditorUi[_0x8fa9[10]][_0x8fa9[138]]= 28;EditorUi[_0x8fa9[10]][_0x8fa9[139]]= 204;EditorUi[_0x8fa9[10]][_0x8fa9[140]]= 190;EditorUi[_0x8fa9[10]][_0x8fa9[35]]= function(){this[_0x8fa9[141]]();this[_0x8fa9[142]]();var _0x8f15x10=this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[143]);var _0x8f15x11=function(){_0x8f15x10[_0x8fa9[146]](!mxClipboard[_0x8fa9[145]]())};var _0x8f15x12=mxClipboard[_0x8fa9[147]];mxClipboard[_0x8fa9[147]]= function(){_0x8f15x12[_0x8fa9[50]](this,arguments);_0x8f15x11()};var _0x8f15x13=mxClipboard[_0x8fa9[148]];mxClipboard[_0x8fa9[148]]= function(){_0x8f15x13[_0x8fa9[50]](this,arguments);_0x8f15x11()}};EditorUi[_0x8fa9[10]][_0x8fa9[18]]= function(_0x8f15x6){return false};EditorUi[_0x8fa9[10]][_0x8fa9[134]]= function(){try{if(window[_0x8fa9[149]]!= null&& window[_0x8fa9[149]][_0x8fa9[150]]!= null){window[_0x8fa9[149]][_0x8fa9[150]][_0x8fa9[162]](mxUtils[_0x8fa9[20]](this,function(_0x8f15x14,_0x8f15x15){try{var _0x8f15x16=mxUtils[_0x8fa9[151]](_0x8f15x14);this[_0x8fa9[0]][_0x8fa9[153]](_0x8f15x16[_0x8fa9[152]]);this[_0x8fa9[0]][_0x8fa9[154]]= false;this[_0x8fa9[0]][_0x8fa9[156]][_0x8fa9[155]]();if(_0x8f15x15!= null){this[_0x8fa9[0]][_0x8fa9[157]]= _0x8f15x15}}catch(e){mxUtils[_0x8fa9[161]](mxResources[_0x8fa9[144]](_0x8fa9[158])+ _0x8fa9[159]+ e[_0x8fa9[160]])}}))}}catch(e){}};EditorUi[_0x8fa9[10]][_0x8fa9[163]]= function(_0x8f15x14,_0x8f15x15,_0x8f15x17){try{var _0x8f15x16=mxUtils[_0x8fa9[151]](_0x8f15x14);this[_0x8fa9[0]][_0x8fa9[153]](_0x8f15x16[_0x8fa9[152]]);this[_0x8fa9[0]][_0x8fa9[154]]= false;this[_0x8fa9[0]][_0x8fa9[156]][_0x8fa9[155]]();if(_0x8f15x15!= null){this[_0x8fa9[0]][_0x8fa9[157]]= _0x8f15x15};if(_0x8f15x17!= null){this[_0x8fa9[0]][_0x8fa9[164]]= _0x8f15x17}}catch(e){mxUtils[_0x8fa9[161]](mxResources[_0x8fa9[144]](_0x8fa9[158])+ _0x8fa9[159]+ e[_0x8fa9[160]])}};EditorUi[_0x8fa9[10]][_0x8fa9[165]]= function(_0x8f15x18){var _0x8f15x1=this[_0x8fa9[0]];if(_0x8f15x18!= null){var _0x8f15x14=mxUtils[_0x8fa9[167]](this[_0x8fa9[0]][_0x8fa9[166]]());try{if(useLocalStorage){if(localStorage[_0x8fa9[168]](_0x8f15x18)!= null&& !mxUtils[_0x8fa9[170]](mxResources[_0x8fa9[144]](_0x8fa9[169],[_0x8f15x18]))){return};localStorage[_0x8fa9[171]](_0x8f15x18,_0x8f15x14);this[_0x8fa9[0]][_0x8fa9[174]](mxResources[_0x8fa9[144]](_0x8fa9[172])+ _0x8fa9[173]+ new Date())}else {console[_0x8fa9[176]](_0x8f15x14[_0x8fa9[175]]);console[_0x8fa9[176]](MAX_REQUEST_SIZE);if(_0x8f15x14[_0x8fa9[175]]< MAX_REQUEST_SIZE){_0x8f15x14= encodeURIComponent(_0x8f15x14);_0x8f15x18= encodeURIComponent(_0x8f15x18);var _0x8f15x19= new XMLHttpRequest();_0x8f15x19[_0x8fa9[134]](_0x8fa9[177],SAVE_URL,true);_0x8f15x19[_0x8fa9[180]](_0x8fa9[178],_0x8fa9[179]);_0x8f15x19[_0x8fa9[180]](_0x8fa9[181],_0x8fa9[182]+ _0x8f15x1[_0x8fa9[164]][_0x8fa9[183]]);_0x8f15x19[_0x8fa9[184]]= function(_0x8f15x1a){if(_0x8f15x19[_0x8fa9[185]]=== 4){if(_0x8f15x19[_0x8fa9[186]]=== 201){_0x8f15x1[_0x8fa9[174]](_0x8fa9[187]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[188]]+ _0x8fa9[191]);setTimeout(function(){window[_0x8fa9[134]](_0x8fa9[192]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[193]],_0x8fa9[194])},1500)}else {_0x8f15x1[_0x8fa9[174]](_0x8fa9[195]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[196]][0][_0x8fa9[160]])}}};_0x8f15x19[_0x8fa9[197]]= function(_0x8f15x1a){mxUtils[_0x8fa9[161]](_0x8f15x19[_0x8fa9[198]])};_0x8f15x19[_0x8fa9[200]](_0x8fa9[199]+ _0x8f15x18)}else {mxUtils[_0x8fa9[161]](mxResources[_0x8fa9[144]](_0x8fa9[201]));mxUtils[_0x8fa9[202]](_0x8f15x14);return}};this[_0x8fa9[0]][_0x8fa9[157]]= _0x8f15x18;this[_0x8fa9[0]][_0x8fa9[154]]= false}catch(e){this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[203])}}else {this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[203])}};EditorUi[_0x8fa9[10]][_0x8fa9[204]]= function(_0x8f15x18){var _0x8f15x1=this[_0x8fa9[0]];if(_0x8f15x18!= null){var _0x8f15x14=mxUtils[_0x8fa9[167]](this[_0x8fa9[0]][_0x8fa9[166]]());try{if(useLocalStorage){if(localStorage[_0x8fa9[168]](_0x8f15x18)!= null&& !mxUtils[_0x8fa9[170]](mxResources[_0x8fa9[144]](_0x8fa9[169],[_0x8f15x18]))){return};localStorage[_0x8fa9[171]](_0x8f15x18,_0x8f15x14);this[_0x8fa9[0]][_0x8fa9[174]](mxResources[_0x8fa9[144]](_0x8fa9[172])+ _0x8fa9[173]+ new Date())}else {console[_0x8fa9[176]](_0x8f15x14[_0x8fa9[175]]);console[_0x8fa9[176]](MAX_REQUEST_SIZE);if(_0x8f15x14[_0x8fa9[175]]< MAX_REQUEST_SIZE){_0x8f15x14= encodeURIComponent(_0x8f15x14);var _0x8f15x19= new XMLHttpRequest();_0x8f15x19[_0x8fa9[134]](_0x8fa9[205],SAVE_URL+ this[_0x8fa9[0]][_0x8fa9[164]][_0x8fa9[193]],true);_0x8f15x19[_0x8fa9[180]](_0x8fa9[178],_0x8fa9[179]);_0x8f15x19[_0x8fa9[180]](_0x8fa9[181],_0x8fa9[182]+ _0x8f15x1[_0x8fa9[164]][_0x8fa9[183]]);_0x8f15x19[_0x8fa9[184]]= function(_0x8f15x1a){if(_0x8f15x19[_0x8fa9[185]]=== 4){if(_0x8f15x19[_0x8fa9[186]]=== 200){_0x8f15x1[_0x8fa9[174]](_0x8fa9[206]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[207]]+ _0x8fa9[208]+ _0x8f15x19[_0x8fa9[186]]+ _0x8fa9[173]+ _0x8f15x19[_0x8fa9[198]]+ _0x8fa9[44])}else {_0x8f15x1[_0x8fa9[174]](_0x8fa9[209]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[196]][0][_0x8fa9[160]])}}};_0x8f15x19[_0x8fa9[197]]= function(_0x8f15x1a){mxUtils[_0x8fa9[161]](_0x8f15x19[_0x8fa9[198]])};_0x8f15x19[_0x8fa9[200]](_0x8fa9[210]+ _0x8f15x14)}else {mxUtils[_0x8fa9[161]](mxResources[_0x8fa9[144]](_0x8fa9[201]));mxUtils[_0x8fa9[202]](_0x8f15x14);return}};this[_0x8fa9[0]][_0x8fa9[157]]= _0x8f15x18;this[_0x8fa9[0]][_0x8fa9[154]]= false}catch(e){this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[211])}}else {this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[211])}};EditorUi[_0x8fa9[10]][_0x8fa9[212]]= function(_0x8f15x18){var _0x8f15x1=this[_0x8fa9[0]];if(_0x8f15x18!= null){var _0x8f15x14=mxUtils[_0x8fa9[167]](this[_0x8fa9[0]][_0x8fa9[166]]());try{if(useLocalStorage){if(localStorage[_0x8fa9[168]](_0x8f15x18)!= null&& !mxUtils[_0x8fa9[170]](mxResources[_0x8fa9[144]](_0x8fa9[169],[_0x8f15x18]))){return};localStorage[_0x8fa9[171]](_0x8f15x18,_0x8f15x14);this[_0x8fa9[0]][_0x8fa9[174]](mxResources[_0x8fa9[144]](_0x8fa9[172])+ _0x8fa9[173]+ new Date())}else {console[_0x8fa9[176]](_0x8f15x14[_0x8fa9[175]]);console[_0x8fa9[176]](MAX_REQUEST_SIZE);if(_0x8f15x14[_0x8fa9[175]]< MAX_REQUEST_SIZE){_0x8f15x14= encodeURIComponent(_0x8f15x14);_0x8f15x18= encodeURIComponent(_0x8f15x18);var _0x8f15x19= new XMLHttpRequest();_0x8f15x19[_0x8fa9[134]](_0x8fa9[177],SAVE_URL,true);_0x8f15x19[_0x8fa9[180]](_0x8fa9[178],_0x8fa9[179]);_0x8f15x19[_0x8fa9[180]](_0x8fa9[181],_0x8fa9[182]+ _0x8f15x1[_0x8fa9[164]][_0x8fa9[183]]);_0x8f15x19[_0x8fa9[184]]= function(_0x8f15x1a){if(_0x8f15x19[_0x8fa9[185]]=== 4){if(_0x8f15x19[_0x8fa9[186]]=== 201){_0x8f15x1[_0x8fa9[174]](_0x8fa9[187]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[188]]+ _0x8fa9[191]);setTimeout(function(){window[_0x8fa9[134]](_0x8fa9[213]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[193]],_0x8fa9[194])},1500)}else {_0x8f15x1[_0x8fa9[174]](_0x8fa9[214]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[196]][0][_0x8fa9[160]])}}};_0x8f15x19[_0x8fa9[197]]= function(_0x8f15x1a){mxUtils[_0x8fa9[161]](_0x8f15x19[_0x8fa9[198]])};_0x8f15x19[_0x8fa9[200]](_0x8fa9[215]+ _0x8f15x18+ _0x8fa9[216]+ _0x8f15x14+ _0x8fa9[217]+ _0x8f15x14)}else {mxUtils[_0x8fa9[161]](mxResources[_0x8fa9[144]](_0x8fa9[201]));mxUtils[_0x8fa9[202]](_0x8f15x14);return}};this[_0x8fa9[0]][_0x8fa9[157]]= _0x8f15x18;this[_0x8fa9[0]][_0x8fa9[154]]= false}catch(e){this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[211])}}else {this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[211])}};EditorUi[_0x8fa9[10]][_0x8fa9[218]]= function(_0x8f15x1b,_0x8f15x1c){var _0x8f15x3=this[_0x8fa9[0]][_0x8fa9[4]];for(var _0x8f15x1b=_0x8f15x1b!= null?_0x8f15x1b:_0x8f15x3[_0x8fa9[220]][_0x8fa9[219]](),_0x8f15x1c=_0x8f15x1c!= null?_0x8f15x1c:{},_0x8f15x1d=true,_0x8f15x1e=_0x8f15x3[_0x8fa9[220]][_0x8fa9[221]](_0x8f15x1b),_0x8f15x1a=0;_0x8f15x1a< _0x8f15x1e;_0x8f15x1a++){var _0x8f15x1f=_0x8f15x3[_0x8fa9[220]][_0x8fa9[222]](_0x8f15x1b,_0x8f15x1a),_0x8f15x20=_0x8f15x1c;_0x8f15x3[_0x8fa9[223]](_0x8f15x1f)&& (_0x8f15x20= {});_0x8f15x20= this[_0x8fa9[218]](_0x8f15x1f,_0x8f15x20);_0x8f15x20!= null?_0x8f15x3[_0x8fa9[225]](_0x8f15x1f,_0x8f15x20[_0x8fa9[169]](/\n/g,_0x8fa9[224])):_0x8f15x3[_0x8fa9[225]](_0x8f15x1f,null);_0x8f15x1d= _0x8f15x1d&& _0x8f15x20== null};_0x8f15x1e= _0x8fa9[226];if(_0x8f15x3[_0x8fa9[220]][_0x8fa9[104]](_0x8f15x1b)){switch(_0x8f15x1b[_0x8fa9[100]][_0x8fa9[283]]){case _0x8fa9[52]:_0x8f15x1e= this[_0x8fa9[227]](_0x8fa9[52])?_0x8fa9[226]:_0x8fa9[228]+ _0x8fa9[229];break;case _0x8fa9[53]:_0x8f15x1e= this[_0x8fa9[227]](_0x8fa9[53])?_0x8fa9[226]:_0x8fa9[230]+ _0x8fa9[229];break;case _0x8fa9[67]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[231])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[233])+ _0x8fa9[229];break;case _0x8fa9[66]:;case _0x8fa9[68]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[231])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[233])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[234])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[235])+ _0x8fa9[229];break;case _0x8fa9[74]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[231])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[233])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[236])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[237])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[238])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[239])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[240])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[235])+ _0x8fa9[229];break;case _0x8fa9[84]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[241])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[237])+ _0x8fa9[229];break;case _0x8fa9[76]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[242])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[243])+ _0x8fa9[229];break;case _0x8fa9[60]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[244])!== _0x8fa9[245])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[246])+ _0x8fa9[229];break;case _0x8fa9[64]:;case _0x8fa9[65]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[236])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[237])+ _0x8fa9[229];break;case _0x8fa9[80]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[247])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[248])+ _0x8fa9[229];break;case _0x8fa9[88]:;case _0x8fa9[89]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[249])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[250])+ _0x8fa9[229];break;case _0x8fa9[81]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[251])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[252])+ _0x8fa9[229];break;case _0x8fa9[69]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[253])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[254])+ _0x8fa9[229];break;case _0x8fa9[70]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[255])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[256])+ _0x8fa9[229];break;case _0x8fa9[71]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[257])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[258])+ _0x8fa9[229];break;case _0x8fa9[75]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[259])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[260])+ _0x8fa9[229];break;case _0x8fa9[86]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[261])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[262])+ _0x8fa9[229];break;case _0x8fa9[60]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[263])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[264])+ _0x8fa9[229];break;case _0x8fa9[59]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[265])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[264])+ _0x8fa9[229];break;case _0x8fa9[61]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[266])!== _0x8fa9[245])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[267])+ _0x8fa9[229];break;case _0x8fa9[63]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[268])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[269])+ _0x8fa9[229];break;case _0x8fa9[82]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[270])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[271])+ _0x8fa9[229];break;case _0x8fa9[83]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[270])!= _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[271])+ _0x8fa9[229];break;case _0x8fa9[62]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[272])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[273])+ _0x8fa9[229];break;case _0x8fa9[90]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[274])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[275])+ _0x8fa9[229];break;case _0x8fa9[78]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[276])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[277])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[278])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[279])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[280])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[258])+ _0x8fa9[229];break;case _0x8fa9[79]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[276])> 0)?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[277])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[278])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[279])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[257])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[258])+ _0x8fa9[229];break;case _0x8fa9[72]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[257])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[258])+ _0x8fa9[229];break;case _0x8fa9[73]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[257])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[258])+ _0x8fa9[229];_0x8f15x1e+= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[281])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[282])+ _0x8fa9[229];break;case _0x8fa9[77]:_0x8f15x1e= (_0x8f15x1b[_0x8fa9[100]][_0x8fa9[232]](_0x8fa9[281])!== _0x8fa9[226])?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[282])+ _0x8fa9[229];break}};if(_0x8f15x3[_0x8fa9[220]][_0x8fa9[97]](_0x8f15x1b)){var _0x8f15x21=_0x8f15x3[_0x8fa9[220]][_0x8fa9[285]](_0x8f15x1b[_0x8fa9[101]][_0x8fa9[284]]());switch(_0x8f15x21[_0x8fa9[100]][_0x8fa9[283]]){case _0x8fa9[66]:var _0x8f15x22=/^[0-9]{1,45}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;_0x8f15x1e= _0x8f15x1e+ ((_0x8f15x22[_0x8fa9[287]](String(_0x8f15x1b[_0x8fa9[286]]())))?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[288])+ _0x8fa9[229]);break;case _0x8fa9[68]:var _0x8f15x22=/^[0-9]{1,45}$|^[-]{1}$|^[i]{1}$|^[t]{1}|^[#]{1}|^[*]{1}$/;var _0x8f15x23=String(_0x8f15x1b[_0x8fa9[286]]());var _0x8f15x24=_0x8f15x23[_0x8fa9[290]](_0x8fa9[289]);_0x8f15x24[_0x8fa9[292]](function(_0x8f15x25){_0x8f15x1e= _0x8f15x1e+ ((_0x8f15x22[_0x8fa9[287]](_0x8f15x25))?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[291])+ _0x8fa9[229])});break;case _0x8fa9[74]:var _0x8f15x22=/^(x|i|-)$/;var _0x8f15x23=String(_0x8f15x1b[_0x8fa9[286]]());_0x8f15x1e= _0x8f15x1e+ ((_0x8f15x22[_0x8fa9[287]](_0x8f15x23))?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[293])+ _0x8fa9[229]);break;case _0x8fa9[81]:;case _0x8fa9[82]:;case _0x8fa9[83]:var _0x8f15x22=/^(true){1}$|^(false){1}$/;_0x8f15x1e= _0x8f15x1e+ ((_0x8f15x22[_0x8fa9[287]](String(_0x8f15x1b[_0x8fa9[286]]())))?_0x8fa9[226]:mxResources[_0x8fa9[144]](_0x8fa9[294])+ _0x8fa9[229]);break}};_0x8f15x3[_0x8fa9[295]](_0x8f15x1b)&& !_0x8f15x1d&& (_0x8f15x1e= _0x8f15x1e+ ((mxResources[_0x8fa9[144]](_0x8f15x3[_0x8fa9[296]])|| _0x8f15x3[_0x8fa9[296]])+ _0x8fa9[229]));_0x8f15x1e= _0x8f15x3[_0x8fa9[220]][_0x8fa9[97]](_0x8f15x1b)?_0x8f15x1e+ (_0x8f15x3[_0x8fa9[298]](_0x8f15x1b,_0x8f15x3[_0x8fa9[220]][_0x8fa9[297]](_0x8f15x1b,true),_0x8f15x3[_0x8fa9[220]][_0x8fa9[297]](_0x8f15x1b,false))|| _0x8fa9[226]):_0x8f15x1e+ (_0x8f15x3[_0x8fa9[299]](_0x8f15x1b)|| _0x8fa9[226]);_0x8f15x1a= _0x8f15x3[_0x8fa9[300]](_0x8f15x1b,_0x8f15x1c);_0x8f15x1a!= null&& (_0x8f15x1e= _0x8f15x1e+ _0x8f15x1a);_0x8f15x3[_0x8fa9[220]][_0x8fa9[301]](_0x8f15x1b)== null&& _0x8f15x3[_0x8fa9[121]][_0x8fa9[218]]();return _0x8f15x1e[_0x8fa9[175]]> 0|| !_0x8f15x1d?_0x8f15x1e:null};EditorUi[_0x8fa9[10]][_0x8fa9[227]]= function(_0x8f15x26){var _0x8f15x3=this[_0x8fa9[0]][_0x8fa9[4]];var _0x8f15x27=_0x8f15x3[_0x8fa9[302]]();var _0x8f15x28=0;_0x8f15x27[_0x8fa9[303]][_0x8fa9[292]](function(_0x8f15x29){if(_0x8f15x3[_0x8fa9[220]][_0x8fa9[104]](_0x8f15x29)&& _0x8f15x29[_0x8fa9[100]][_0x8fa9[283]]== _0x8f15x26){_0x8f15x28++}});return _0x8f15x28> 1?false:true};EditorUi[_0x8fa9[10]][_0x8fa9[304]]= function(_0x8f15x18){var _0x8f15x1=this[_0x8fa9[0]];if(_0x8f15x18!= null){var _0x8f15x2a=this[_0x8fa9[218]]();if(_0x8f15x2a=== null){var _0x8f15x14=mxUtils[_0x8fa9[167]](this[_0x8fa9[0]][_0x8fa9[166]]());try{if(useLocalStorage){if(localStorage[_0x8fa9[168]](_0x8f15x18)!= null&& !mxUtils[_0x8fa9[170]](mxResources[_0x8fa9[144]](_0x8fa9[169],[_0x8f15x18]))){return};localStorage[_0x8fa9[171]](_0x8f15x18,_0x8f15x14);this[_0x8fa9[0]][_0x8fa9[174]](mxResources[_0x8fa9[144]](_0x8fa9[172])+ _0x8fa9[173]+ new Date())}else {console[_0x8fa9[176]](_0x8f15x14[_0x8fa9[175]]);console[_0x8fa9[176]](MAX_REQUEST_SIZE);if(_0x8f15x14[_0x8fa9[175]]< MAX_REQUEST_SIZE){_0x8f15x14= encodeURIComponent(_0x8f15x14);var _0x8f15x19= new XMLHttpRequest();_0x8f15x19[_0x8fa9[134]](_0x8fa9[205],SAVE_URL+ this[_0x8fa9[0]][_0x8fa9[164]][_0x8fa9[193]],true);_0x8f15x19[_0x8fa9[180]](_0x8fa9[178],_0x8fa9[179]);_0x8f15x19[_0x8fa9[180]](_0x8fa9[181],_0x8fa9[182]+ _0x8f15x1[_0x8fa9[164]][_0x8fa9[183]]);_0x8f15x19[_0x8fa9[184]]= function(_0x8f15x1a){if(_0x8f15x19[_0x8fa9[185]]=== 4){if(_0x8f15x19[_0x8fa9[186]]=== 200){_0x8f15x1[_0x8fa9[174]](_0x8fa9[305]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[207]]+ _0x8fa9[208]+ _0x8f15x19[_0x8fa9[186]]+ _0x8fa9[173]+ _0x8f15x19[_0x8fa9[198]]+ _0x8fa9[44])}else {_0x8f15x1[_0x8fa9[174]](_0x8fa9[209]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[196]][0][_0x8fa9[160]])}}};_0x8f15x19[_0x8fa9[197]]= function(_0x8f15x1a){mxUtils[_0x8fa9[161]](_0x8f15x19[_0x8fa9[198]])};_0x8f15x19[_0x8fa9[200]](_0x8fa9[210]+ _0x8f15x14+ _0x8fa9[217]+ _0x8f15x14)}else {mxUtils[_0x8fa9[161]](mxResources[_0x8fa9[144]](_0x8fa9[201]));mxUtils[_0x8fa9[202]](_0x8f15x14);return}};this[_0x8fa9[0]][_0x8fa9[157]]= _0x8f15x18;this[_0x8fa9[0]][_0x8fa9[154]]= false}catch(e){this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[306])}}else {_0x8f15x1[_0x8fa9[174]](_0x8fa9[307])}}else {this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[306])}};EditorUi[_0x8fa9[10]][_0x8fa9[241]]= function(_0x8f15x18){var _0x8f15x1=this[_0x8fa9[0]];if(_0x8f15x18!= null){try{var _0x8f15x19= new XMLHttpRequest();_0x8f15x19[_0x8fa9[134]](_0x8fa9[177],VARIABLE_URL,true);_0x8f15x19[_0x8fa9[180]](_0x8fa9[178],_0x8fa9[179]);_0x8f15x19[_0x8fa9[180]](_0x8fa9[181],_0x8fa9[182]+ _0x8f15x1[_0x8fa9[164]][_0x8fa9[183]]);_0x8f15x19[_0x8fa9[184]]= function(_0x8f15x1a){if(_0x8f15x19[_0x8fa9[185]]=== 4){if(_0x8f15x19[_0x8fa9[186]]=== 201){_0x8f15x1[_0x8fa9[174]](_0x8fa9[308]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[309]]+ _0x8fa9[208]+ _0x8f15x19[_0x8fa9[186]]+ _0x8fa9[173]+ _0x8f15x19[_0x8fa9[198]]+ _0x8fa9[44])}else {_0x8f15x1[_0x8fa9[174]](_0x8fa9[310]+ JSON[_0x8fa9[190]](_0x8f15x19[_0x8fa9[189]])[_0x8fa9[196]][0][_0x8fa9[160]])}}};_0x8f15x19[_0x8fa9[197]]= function(_0x8f15x1a){mxUtils[_0x8fa9[161]](_0x8f15x19[_0x8fa9[198]])};_0x8f15x19[_0x8fa9[200]](_0x8fa9[311]+ _0x8f15x18)}catch(e){this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[312])}}else {this[_0x8fa9[0]][_0x8fa9[174]](_0x8fa9[312])}};EditorUi[_0x8fa9[10]][_0x8fa9[313]]= function(_0x8f15x2b){var _0x8f15x2c=(_0x8f15x2b!= null)?_0x8f15x2b:window[_0x8fa9[315]][_0x8fa9[314]];var _0x8f15x2d=(_0x8f15x2c[_0x8fa9[102]](_0x8fa9[316])> 0)?1:0;for(var _0x8f15x2e in urlParams){if(_0x8f15x2d== 0){_0x8f15x2c+= _0x8fa9[316]}else {_0x8f15x2c+= _0x8fa9[317]};_0x8f15x2c+= _0x8f15x2e+ _0x8fa9[318]+ urlParams[_0x8f15x2e];_0x8f15x2d++};return _0x8f15x2c};EditorUi[_0x8fa9[10]][_0x8fa9[141]]= function(){var _0x8f15x2f=this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[319]);var _0x8f15x30=this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[320]);var _0x8f15x31=this[_0x8fa9[0]][_0x8fa9[156]];var _0x8f15x32=function(){_0x8f15x2f[_0x8fa9[146]](_0x8f15x31[_0x8fa9[321]]());_0x8f15x30[_0x8fa9[146]](_0x8f15x31[_0x8fa9[322]]())};_0x8f15x31[_0x8fa9[33]](mxEvent.ADD,_0x8f15x32);_0x8f15x31[_0x8fa9[33]](mxEvent.UNDO,_0x8f15x32);_0x8f15x31[_0x8fa9[33]](mxEvent.REDO,_0x8f15x32);_0x8f15x31[_0x8fa9[33]](mxEvent.CLEAR,_0x8f15x32);_0x8f15x32()};EditorUi[_0x8fa9[10]][_0x8fa9[142]]= function(){var _0x8f15x33=mxUtils[_0x8fa9[20]](this,function(){var _0x8f15x3=this[_0x8fa9[0]][_0x8fa9[4]];var _0x8f15x34=!_0x8f15x3[_0x8fa9[323]]();var _0x8f15x35=false;var _0x8f15x36=false;var _0x8f15x37=_0x8f15x3[_0x8fa9[324]]();if(_0x8f15x37!= null){for(var _0x8f15x38=0;_0x8f15x38< _0x8f15x37[_0x8fa9[175]];_0x8f15x38++){var _0x8f15xb=_0x8f15x37[_0x8f15x38];if(_0x8f15x3[_0x8fa9[98]]()[_0x8fa9[97]](_0x8f15xb)){_0x8f15x36= true};if(_0x8f15x3[_0x8fa9[98]]()[_0x8fa9[104]](_0x8f15xb)){_0x8f15x35= true};if(_0x8f15x36&& _0x8f15x35){break}}};var _0x8f15x39=[_0x8fa9[147],_0x8fa9[148],_0x8fa9[325],_0x8fa9[326],_0x8fa9[327],_0x8fa9[328],_0x8fa9[6],_0x8fa9[329],_0x8fa9[330],_0x8fa9[331],_0x8fa9[332],_0x8fa9[333],_0x8fa9[334],_0x8fa9[335],_0x8fa9[336]];for(var _0x8f15x38=0;_0x8f15x38< _0x8f15x39[_0x8fa9[175]];_0x8f15x38++){this[_0x8fa9[12]][_0x8fa9[144]](_0x8f15x39[_0x8f15x38])[_0x8fa9[146]](_0x8f15x34)};this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[337])[_0x8fa9[146]](_0x8f15x36);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[338])[_0x8fa9[146]](_0x8f15x35);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[339])[_0x8fa9[146]](_0x8f15x35);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[341])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[340]]()> 1);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[343])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[340]]()== 1&& _0x8f15x3[_0x8fa9[98]]()[_0x8fa9[221]](_0x8f15x3[_0x8fa9[342]]())> 0);var _0x8f15x3a=_0x8f15x35&& _0x8f15x3[_0x8fa9[340]]()== 1;this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[344])[_0x8fa9[146]](_0x8f15x3a&& _0x8f15x3[_0x8fa9[98]]()[_0x8fa9[104]](_0x8f15x3[_0x8fa9[98]]()[_0x8fa9[301]](_0x8f15x3[_0x8fa9[342]]())));var _0x8f15x3b=[_0x8fa9[345],_0x8fa9[346],_0x8fa9[347],_0x8fa9[348],_0x8fa9[257],_0x8fa9[349],_0x8fa9[350],_0x8fa9[351],_0x8fa9[352]];for(var _0x8f15x38=0;_0x8f15x38< _0x8f15x3b[_0x8fa9[175]];_0x8f15x38++){this[_0x8fa9[13]][_0x8fa9[144]](_0x8f15x3b[_0x8f15x38])[_0x8fa9[146]](_0x8f15x34)};_0x8f15x3b= [_0x8fa9[353],_0x8fa9[354],_0x8fa9[355]];for(var _0x8f15x38=0;_0x8f15x38< _0x8f15x3b[_0x8fa9[175]];_0x8f15x38++){this[_0x8fa9[13]][_0x8fa9[144]](_0x8f15x3b[_0x8f15x38])[_0x8fa9[146]](_0x8f15x36)};this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[356])[_0x8fa9[146]](_0x8f15x36);this[_0x8fa9[13]][_0x8fa9[144]](_0x8fa9[357])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[340]]()> 1);this[_0x8fa9[13]][_0x8fa9[144]](_0x8fa9[360])[_0x8fa9[146]](_0x8f15x35|| (_0x8f15x36&& _0x8f15x3[_0x8fa9[359]](_0x8f15x3[_0x8fa9[121]][_0x8fa9[358]](_0x8f15x3[_0x8fa9[342]]()))));this[_0x8fa9[13]][_0x8fa9[144]](_0x8fa9[363])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[361]]&& ((_0x8f15x3[_0x8fa9[121]][_0x8fa9[362]]!= null)|| (_0x8f15x3[_0x8fa9[340]]()== 1&& _0x8f15x3[_0x8fa9[223]](_0x8f15x3[_0x8fa9[342]]()))));this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[364])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[121]][_0x8fa9[362]]!= null);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[365])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[121]][_0x8fa9[362]]!= null);var _0x8f15x3c=_0x8f15x3[_0x8fa9[340]]()== 1&& _0x8f15x3[_0x8fa9[223]](_0x8f15x3[_0x8fa9[342]]());this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[366])[_0x8fa9[146]](_0x8f15x3c);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[367])[_0x8fa9[146]](_0x8f15x3c);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[368])[_0x8fa9[146]](_0x8f15x3c);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[369])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[340]]()== 1);this[_0x8fa9[12]][_0x8fa9[144]](_0x8fa9[371])[_0x8fa9[146]](_0x8f15x3[_0x8fa9[340]]()== 1&& _0x8f15x3[_0x8fa9[370]](_0x8f15x3[_0x8fa9[342]]())!= null)});this[_0x8fa9[0]][_0x8fa9[4]][_0x8fa9[372]]()[_0x8fa9[33]](mxEvent.CHANGE,_0x8f15x33);_0x8f15x33()};EditorUi[_0x8fa9[10]][_0x8fa9[15]]= function(){var _0x8f15x3d=mxClient[_0x8fa9[29]]&& (document[_0x8fa9[30]]== null|| document[_0x8fa9[30]]== 5);var _0x8f15x3e=this[_0x8fa9[1]][_0x8fa9[373]];var _0x8f15x3f=this[_0x8fa9[1]][_0x8fa9[374]];if(this[_0x8fa9[1]]== document[_0x8fa9[21]]){_0x8f15x3e= document[_0x8fa9[21]][_0x8fa9[373]]|| document[_0x8fa9[152]][_0x8fa9[373]];_0x8f15x3f= (_0x8f15x3d)?document[_0x8fa9[21]][_0x8fa9[374]]|| document[_0x8fa9[152]][_0x8fa9[374]]:document[_0x8fa9[152]][_0x8fa9[374]]};var _0x8f15x40=Math[_0x8fa9[376]](0,Math[_0x8fa9[375]](this[_0x8fa9[139]],_0x8f15x3e- this[_0x8fa9[135]]- 20));var _0x8f15x41=Math[_0x8fa9[376]](0,Math[_0x8fa9[375]](this[_0x8fa9[140]],_0x8f15x3f- this[_0x8fa9[136]]- this[_0x8fa9[137]]- this[_0x8fa9[138]]- this[_0x8fa9[135]]- 1));this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[377]]= this[_0x8fa9[136]]+ _0x8fa9[378];this[_0x8fa9[25]][_0x8fa9[6]][_0x8fa9[379]]= this[_0x8fa9[136]]+ _0x8fa9[378];this[_0x8fa9[25]][_0x8fa9[6]][_0x8fa9[377]]= this[_0x8fa9[137]]+ _0x8fa9[378];var _0x8f15x42=this[_0x8fa9[136]]+ this[_0x8fa9[137]];if(!mxClient[_0x8fa9[380]]){_0x8f15x42+= 1};this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[379]]= _0x8f15x42+ _0x8fa9[378];this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[381]]= _0x8f15x40+ _0x8fa9[378];this[_0x8fa9[111]][_0x8fa9[6]][_0x8fa9[381]]= _0x8f15x40+ _0x8fa9[378];this[_0x8fa9[111]][_0x8fa9[6]][_0x8fa9[377]]= _0x8f15x41+ _0x8fa9[378];this[_0x8fa9[111]][_0x8fa9[6]][_0x8fa9[382]]= this[_0x8fa9[138]]+ _0x8fa9[378];this[_0x8fa9[26]][_0x8fa9[6]][_0x8fa9[383]]= (_0x8f15x40+ this[_0x8fa9[135]])+ _0x8fa9[378];this[_0x8fa9[26]][_0x8fa9[6]][_0x8fa9[379]]= this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[379]];this[_0x8fa9[28]][_0x8fa9[6]][_0x8fa9[377]]= this[_0x8fa9[138]]+ _0x8fa9[378];this[_0x8fa9[28]][_0x8fa9[6]][_0x8fa9[384]]= _0x8fa9[385];this[_0x8fa9[386]][_0x8fa9[6]][_0x8fa9[379]]= this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[379]];this[_0x8fa9[386]][_0x8fa9[6]][_0x8fa9[382]]= this[_0x8fa9[111]][_0x8fa9[6]][_0x8fa9[382]];this[_0x8fa9[386]][_0x8fa9[6]][_0x8fa9[383]]= _0x8f15x40+ _0x8fa9[378];this[_0x8fa9[387]][_0x8fa9[6]][_0x8fa9[381]]= this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[381]];this[_0x8fa9[387]][_0x8fa9[6]][_0x8fa9[382]]= (_0x8f15x41+ this[_0x8fa9[138]])+ _0x8fa9[378];if(_0x8f15x3d){this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[381]]= _0x8f15x3e+ _0x8fa9[378];this[_0x8fa9[25]][_0x8fa9[6]][_0x8fa9[381]]= this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[381]];var _0x8f15x43=(_0x8f15x3f- _0x8f15x41- this[_0x8fa9[135]]- this[_0x8fa9[138]]- this[_0x8fa9[136]]- this[_0x8fa9[137]]);this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[377]]= _0x8f15x43+ _0x8fa9[378];this[_0x8fa9[26]][_0x8fa9[6]][_0x8fa9[381]]= (_0x8f15x3e- _0x8f15x40- this[_0x8fa9[135]])+ _0x8fa9[378];var _0x8f15x44=(_0x8f15x3f- this[_0x8fa9[138]]- this[_0x8fa9[136]]- this[_0x8fa9[137]]);this[_0x8fa9[26]][_0x8fa9[6]][_0x8fa9[377]]= _0x8f15x44+ _0x8fa9[378];this[_0x8fa9[28]][_0x8fa9[6]][_0x8fa9[381]]= this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[381]];this[_0x8fa9[386]][_0x8fa9[6]][_0x8fa9[377]]= _0x8f15x44+ _0x8fa9[378]}else {this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[382]]= (_0x8f15x41+ this[_0x8fa9[135]]+ this[_0x8fa9[138]])+ _0x8fa9[378];this[_0x8fa9[26]][_0x8fa9[6]][_0x8fa9[382]]= this[_0x8fa9[111]][_0x8fa9[6]][_0x8fa9[382]]}};EditorUi[_0x8fa9[10]][_0x8fa9[14]]= function(){this[_0x8fa9[23]]= this[_0x8fa9[389]](_0x8fa9[388]);this[_0x8fa9[25]]= this[_0x8fa9[389]](_0x8fa9[390]);this[_0x8fa9[27]]= this[_0x8fa9[389]](_0x8fa9[391]);this[_0x8fa9[111]]= this[_0x8fa9[389]](_0x8fa9[392]);this[_0x8fa9[26]]= this[_0x8fa9[389]](_0x8fa9[393]);this[_0x8fa9[28]]= this[_0x8fa9[389]](_0x8fa9[394]);this[_0x8fa9[386]]= this[_0x8fa9[389]](_0x8fa9[395]);this[_0x8fa9[387]]= this[_0x8fa9[389]](_0x8fa9[396]);this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[379]]= _0x8fa9[397];this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[383]]= _0x8fa9[397];this[_0x8fa9[23]][_0x8fa9[6]][_0x8fa9[398]]= _0x8fa9[397];this[_0x8fa9[25]][_0x8fa9[6]][_0x8fa9[383]]= _0x8fa9[397];this[_0x8fa9[25]][_0x8fa9[6]][_0x8fa9[398]]= _0x8fa9[397];this[_0x8fa9[27]][_0x8fa9[6]][_0x8fa9[383]]= _0x8fa9[397];this[_0x8fa9[111]][_0x8fa9[6]][_0x8fa9[383]]= _0x8fa9[397];this[_0x8fa9[26]][_0x8fa9[6]][_0x8fa9[398]]= _0x8fa9[397];this[_0x8fa9[28]][_0x8fa9[6]][_0x8fa9[383]]= _0x8fa9[397];this[_0x8fa9[28]][_0x8fa9[6]][_0x8fa9[398]]= _0x8fa9[397];this[_0x8fa9[28]][_0x8fa9[6]][_0x8fa9[382]]= _0x8fa9[397];this[_0x8fa9[387]][_0x8fa9[6]][_0x8fa9[383]]= _0x8fa9[397];this[_0x8fa9[387]][_0x8fa9[6]][_0x8fa9[377]]= this[_0x8fa9[135]]+ _0x8fa9[378];this[_0x8fa9[386]][_0x8fa9[6]][_0x8fa9[381]]= this[_0x8fa9[135]]+ _0x8fa9[378]};EditorUi[_0x8fa9[10]][_0x8fa9[16]]= function(){this[_0x8fa9[399]]= this[_0x8fa9[13]][_0x8fa9[401]](this[_0x8fa9[389]](_0x8fa9[400]));this[_0x8fa9[23]][_0x8fa9[402]](this[_0x8fa9[399]][_0x8fa9[1]]);this[_0x8fa9[403]]= this[_0x8fa9[405]](this[_0x8fa9[389]](_0x8fa9[404]));this[_0x8fa9[25]][_0x8fa9[402]](this[_0x8fa9[403]][_0x8fa9[1]]);this[_0x8fa9[406]]= this[_0x8fa9[407]](this[_0x8fa9[27]]);this[_0x8fa9[28]][_0x8fa9[402]](this[_0x8fa9[408]]());this[_0x8fa9[409]]= this[_0x8fa9[410]]();this[_0x8fa9[0]][_0x8fa9[33]](_0x8fa9[411],mxUtils[_0x8fa9[20]](this,function(){this[_0x8fa9[413]](this[_0x8fa9[0]][_0x8fa9[412]]())}));this[_0x8fa9[413]](this[_0x8fa9[0]][_0x8fa9[412]]());this[_0x8fa9[399]][_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[409]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[23]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[25]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[27]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[111]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[26]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[28]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[386]]);this[_0x8fa9[1]][_0x8fa9[402]](this[_0x8fa9[387]]);this[_0x8fa9[414]](this[_0x8fa9[386]],true,0,mxUtils[_0x8fa9[20]](this,function(_0x8f15x45){this[_0x8fa9[139]]= _0x8f15x45;this[_0x8fa9[15]]();this[_0x8fa9[0]][_0x8fa9[4]][_0x8fa9[132]]();this[_0x8fa9[0]][_0x8fa9[112]][_0x8fa9[133]](false);this[_0x8fa9[0]][_0x8fa9[112]][_0x8fa9[112]][_0x8fa9[132]]()}));this[_0x8fa9[414]](this[_0x8fa9[387]],false,this[_0x8fa9[138]],mxUtils[_0x8fa9[20]](this,function(_0x8f15x45){this[_0x8fa9[140]]= _0x8f15x45;this[_0x8fa9[15]]();this[_0x8fa9[0]][_0x8fa9[112]][_0x8fa9[133]](false);this[_0x8fa9[0]][_0x8fa9[112]][_0x8fa9[112]][_0x8fa9[132]]()}))};EditorUi[_0x8fa9[10]][_0x8fa9[410]]= function(){var _0x8f15x2=document[_0x8fa9[416]](_0x8fa9[415]);_0x8f15x2[_0x8fa9[417]]= _0x8fa9[418];return _0x8f15x2};EditorUi[_0x8fa9[10]][_0x8fa9[410]]= function(){var _0x8f15x2=document[_0x8fa9[416]](_0x8fa9[415]);_0x8f15x2[_0x8fa9[417]]= _0x8fa9[418];return _0x8f15x2};EditorUi[_0x8fa9[10]][_0x8fa9[413]]= function(_0x8f15x45){this[_0x8fa9[409]][_0x8fa9[419]]= _0x8f15x45};EditorUi[_0x8fa9[10]][_0x8fa9[405]]= function(_0x8f15x2){return new Toolbar(this,_0x8f15x2)};EditorUi[_0x8fa9[10]][_0x8fa9[407]]= function(_0x8f15x2){return new Sidebar(this,_0x8f15x2)};EditorUi[_0x8fa9[10]][_0x8fa9[408]]= function(){return this[_0x8fa9[389]](_0x8fa9[420])};EditorUi[_0x8fa9[10]][_0x8fa9[389]]= function(_0x8f15x46){var _0x8f15x47=document[_0x8fa9[416]](_0x8fa9[421]);_0x8f15x47[_0x8fa9[417]]= _0x8f15x46;return _0x8f15x47};EditorUi[_0x8fa9[10]][_0x8fa9[422]]= function(_0x8f15x46){var _0x8f15x47=document[_0x8fa9[416]](_0x8f15x46);return _0x8f15x47};EditorUi[_0x8fa9[10]][_0x8fa9[423]]= function(_0x8f15x46){var _0x8f15x47=document[_0x8fa9[416]](_0x8fa9[424]);_0x8f15x47[_0x8fa9[417]]= _0x8f15x46;return _0x8f15x47};EditorUi[_0x8fa9[10]][_0x8fa9[414]]= function(_0x8f15x47,_0x8f15x48,_0x8f15x49,_0x8f15x4a){var _0x8f15x4b=null;var _0x8f15x4c=null;function _0x8f15x4d(){return parseInt(((_0x8f15x48)?_0x8f15x47[_0x8fa9[6]][_0x8fa9[383]]:_0x8f15x47[_0x8fa9[6]][_0x8fa9[382]]))}function _0x8f15x4e(_0x8f15x6){if(_0x8f15x4b!= null){var _0x8f15x4f= new mxPoint(mxEvent[_0x8fa9[425]](_0x8f15x6),mxEvent[_0x8fa9[426]](_0x8f15x6));_0x8f15x4a(Math[_0x8fa9[376]](0,_0x8f15x4c+ ((_0x8f15x48)?(_0x8f15x4f[_0x8fa9[427]]- _0x8f15x4b[_0x8fa9[427]]):(_0x8f15x4b[_0x8fa9[428]]- _0x8f15x4f[_0x8fa9[428]]))- _0x8f15x49));mxEvent[_0x8fa9[106]](_0x8f15x6)}}function _0x8f15x50(_0x8f15x6){_0x8f15x4e(_0x8f15x6);_0x8f15x4b= null;_0x8f15x4c= null}mxEvent[_0x8fa9[114]](_0x8f15x47,function(_0x8f15x6){_0x8f15x4b= new mxPoint(mxEvent[_0x8fa9[425]](_0x8f15x6),mxEvent[_0x8fa9[426]](_0x8f15x6));_0x8f15x4c= _0x8f15x4d();mxEvent[_0x8fa9[106]](_0x8f15x6)});mxEvent[_0x8fa9[33]](document,_0x8fa9[429],_0x8f15x4e);mxEvent[_0x8fa9[33]](document,_0x8fa9[430],_0x8f15x4e);mxEvent[_0x8fa9[33]](document,_0x8fa9[431],_0x8f15x50);mxEvent[_0x8fa9[33]](document,_0x8fa9[432],_0x8f15x50)};EditorUi[_0x8fa9[10]][_0x8fa9[105]]= function(_0x8f15x47,_0x8f15x3e,_0x8f15x3f,_0x8f15x51,_0x8f15x52,_0x8f15x53){this[_0x8fa9[433]]();this[_0x8fa9[434]]= new Dialog(this,_0x8f15x47,_0x8f15x3e,(mxClient[_0x8fa9[435]])?_0x8f15x3f- 12:_0x8f15x3f,_0x8f15x51,_0x8f15x52,_0x8f15x53)};EditorUi[_0x8fa9[10]][_0x8fa9[433]]= function(){if(this[_0x8fa9[434]]!= null){this[_0x8fa9[434]][_0x8fa9[436]]();this[_0x8fa9[434]]= null;this[_0x8fa9[0]][_0x8fa9[4]][_0x8fa9[1]][_0x8fa9[47]]()}};EditorUi[_0x8fa9[10]][_0x8fa9[437]]= function(_0x8f15x54){if(!_0x8f15x54&& this[_0x8fa9[0]][_0x8fa9[157]]!= null){this[_0x8fa9[204]](this[_0x8fa9[0]][_0x8fa9[438]]())}else {this[_0x8fa9[105]]( new SaveDialog(this)[_0x8fa9[1]],300,100,true,true)}};EditorUi[_0x8fa9[10]][_0x8fa9[439]]= function(_0x8f15x54){if(!_0x8f15x54&& this[_0x8fa9[0]][_0x8fa9[157]]!= null){this[_0x8fa9[304]](this[_0x8fa9[0]][_0x8fa9[438]]())}else {}};EditorUi[_0x8fa9[10]][_0x8fa9[440]]= function(_0x8f15x55,_0x8f15x56,_0x8f15x57){var _0x8f15x3=this[_0x8fa9[0]][_0x8fa9[4]];var _0x8f15xb=_0x8f15x3[_0x8fa9[342]]();_0x8f15x56= this[_0x8fa9[441]]!= null?this[_0x8fa9[441]]:_0x8f15x56;_0x8f15x3[_0x8fa9[98]]()[_0x8fa9[442]]();try{_0x8f15x55[_0x8fa9[443]](_0x8f15x3[_0x8fa9[302]](),_0x8f15xb)}catch(e){throw e}finally{if(_0x8f15x56&& navigator[_0x8fa9[445]][_0x8fa9[102]](_0x8fa9[444])< 0){var _0x8f15x58= new mxMorphing(_0x8f15x3);_0x8f15x58[_0x8fa9[33]](mxEvent.DONE,mxUtils[_0x8fa9[20]](this,function(){_0x8f15x3[_0x8fa9[98]]()[_0x8fa9[446]]()}));_0x8f15x58[_0x8fa9[447]]()}else {_0x8f15x3[_0x8fa9[98]]()[_0x8fa9[446]]()}}};EditorUi[_0x8fa9[10]][_0x8fa9[129]]= function(_0x8f15x1){var _0x8f15x3=this[_0x8fa9[0]][_0x8fa9[4]];var _0x8f15xf= new mxKeyHandler(_0x8f15x3);_0x8f15xf[_0x8fa9[448]]= function(_0x8f15x6){return mxEvent[_0x8fa9[448]](_0x8f15x6)|| (mxClient[_0x8fa9[449]]&& _0x8f15x6[_0x8fa9[450]])};function _0x8f15x59(_0x8f15x5a){if(!_0x8f15x3[_0x8fa9[323]]()){var _0x8f15x49=0;var _0x8f15x5b=0;if(_0x8f15x5a== 37){_0x8f15x49= -1}else {if(_0x8f15x5a== 38){_0x8f15x5b= -1}else {if(_0x8f15x5a== 39){_0x8f15x49= 1}else {if(_0x8f15x5a== 40){_0x8f15x5b= 1}}}};_0x8f15x3[_0x8fa9[451]](_0x8f15x3[_0x8fa9[324]](),_0x8f15x49,_0x8f15x5b);_0x8f15x3[_0x8fa9[452]](_0x8f15x3[_0x8fa9[342]]())}}var _0x8f15x5c=mxUtils[_0x8fa9[20]](this,function(_0x8f15x5d,_0x8f15x5e,_0x8f15x2e,_0x8f15x5f){var _0x8f15x60=this[_0x8fa9[12]][_0x8fa9[144]](_0x8f15x2e);if(_0x8f15x60!= null){var _0x8f15x1f=function(){if(_0x8f15x60[_0x8fa9[453]]){_0x8f15x60[_0x8fa9[454]]()}};if(_0x8f15x5e){if(_0x8f15x5f){_0x8f15xf[_0x8fa9[455]](_0x8f15x5d,_0x8f15x1f)}else {_0x8f15xf[_0x8fa9[456]](_0x8f15x5d,_0x8f15x1f)}}else {if(_0x8f15x5f){_0x8f15xf[_0x8fa9[457]](_0x8f15x5d,_0x8f15x1f)}else {_0x8f15xf[_0x8fa9[458]](_0x8f15x5d,_0x8f15x1f)}}}});var _0x8f15x61=this;var _0x8f15x62=_0x8f15xf[_0x8fa9[459]];_0x8f15xf[_0x8fa9[459]]= function(_0x8f15x6){_0x8f15x61[_0x8fa9[433]]();_0x8f15x62[_0x8fa9[50]](this,arguments)};_0x8f15xf[_0x8fa9[460]]= function(){};_0x8f15xf[_0x8fa9[458]](8,function(){_0x8f15x3[_0x8fa9[461]](true)});_0x8f15xf[_0x8fa9[458]](13,function(){_0x8f15x3[_0x8fa9[461]](false)});_0x8f15xf[_0x8fa9[458]](33,function(){_0x8f15x3[_0x8fa9[365]]()});_0x8f15xf[_0x8fa9[458]](34,function(){_0x8f15x3[_0x8fa9[366]]()});_0x8f15xf[_0x8fa9[458]](36,function(){_0x8f15x3[_0x8fa9[364]]()});_0x8f15xf[_0x8fa9[458]](35,function(){_0x8f15x3[_0x8fa9[15]]()});_0x8f15xf[_0x8fa9[458]](37,function(){_0x8f15x59(37)});_0x8f15xf[_0x8fa9[458]](38,function(){_0x8f15x59(38)});_0x8f15xf[_0x8fa9[458]](39,function(){_0x8f15x59(39)});_0x8f15xf[_0x8fa9[458]](40,function(){_0x8f15x59(40)});_0x8f15xf[_0x8fa9[458]](113,function(){_0x8f15x3[_0x8fa9[103]]()});_0x8f15x5c(46,false,_0x8fa9[325]);_0x8f15x5c(82,true,_0x8fa9[335]);_0x8f15x5c(83,true,_0x8fa9[204]);_0x8f15x5c(83,true,_0x8fa9[212],true);_0x8f15x5c(107,false,_0x8fa9[462]);_0x8f15x5c(109,false,_0x8fa9[463]);_0x8f15x5c(65,true,_0x8fa9[464]);_0x8f15x5c(86,true,_0x8fa9[465],true);_0x8f15x5c(69,true,_0x8fa9[466],true);_0x8f15x5c(69,true,_0x8fa9[467]);_0x8f15x5c(66,true,_0x8fa9[331]);_0x8f15x5c(70,true,_0x8fa9[330]);_0x8f15x5c(68,true,_0x8fa9[326]);_0x8f15x5c(90,true,_0x8fa9[319]);_0x8f15x5c(89,true,_0x8fa9[320]);_0x8f15x5c(88,true,_0x8fa9[147]);_0x8f15x5c(67,true,_0x8fa9[148]);_0x8f15x5c(81,true,_0x8fa9[468]);_0x8f15x5c(86,true,_0x8fa9[143]);_0x8f15x5c(71,true,_0x8fa9[341]);_0x8f15x5c(71,true,_0x8fa9[469],true);_0x8f15x5c(85,true,_0x8fa9[343]);_0x8f15x5c(112,false,_0x8fa9[470]);_0x8f15x5c(80,true,_0x8fa9[304],true);return _0x8f15xf};EditorUi[_0x8fa9[10]][_0x8fa9[56]]= function(_0x8f15x3,_0x8f15x37,_0x8f15x63,_0x8f15x64){for(var _0x8f15x38=0;_0x8f15x38< _0x8f15x37[_0x8fa9[175]];_0x8f15x38++){_0x8f15x3[_0x8fa9[473]]( new mxMultiplicity(true,_0x8f15x37[_0x8f15x38],null,null,_0x8f15x63[_0x8f15x38][0],_0x8f15x63[_0x8f15x38][1],null,mxResources[_0x8fa9[144]](_0x8f15x37[_0x8f15x38])+ mxResources[_0x8fa9[144]](_0x8fa9[471])+ _0x8f15x63[_0x8f15x38][0]+ mxResources[_0x8fa9[144]](_0x8fa9[472]),null));_0x8f15x3[_0x8fa9[473]]( new mxMultiplicity(false,_0x8f15x37[_0x8f15x38],null,null,_0x8f15x64[_0x8f15x38][0],_0x8f15x64[_0x8f15x38][1],null,mxResources[_0x8fa9[144]](_0x8f15x37[_0x8f15x38])+ mxResources[_0x8fa9[144]](_0x8fa9[471])+ _0x8f15x64[_0x8f15x38][0]+ mxResources[_0x8fa9[144]](_0x8fa9[474]),null))}} \ 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 801b4f1..9d0ab0a 100644 --- a/public/assets/plugins/square/js/Graph.js +++ b/public/assets/plugins/square/js/Graph.js @@ -1 +1 @@ -var _0xdeaf=["\x63\x61\x6C\x6C","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x61\x6C\x6C\x6F\x77\x41\x75\x74\x6F\x50\x61\x6E\x6E\x69\x6E\x67","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x43\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x74\x61\x72\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x69\x73\x56\x61\x6C\x69\x64\x53\x6F\x75\x72\x63\x65","\x61\x70\x70\x6C\x79","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74","\x32","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6C\x6F\x61\x64\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x67\x65\x74\x52\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x63\x75\x72\x73\x6F\x72","\x73\x74\x79\x6C\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x65\x66\x61\x75\x6C\x74","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x76\x69\x65\x77","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x68\x74\x6D\x6C","\x31","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x77\x72\x61\x70","\x67\x65\x74\x4C\x61\x62\x65\x6C\x56\x61\x6C\x75\x65","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x68\x74\x6D\x6C\x45\x6E\x74\x69\x74\x69\x65\x73","\x69\x73\x43\x65\x6C\x6C\x4C\x6F\x63\x6B\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64","\x61\x63\x74\x69\x76\x65","\x67\x72\x61\x70\x68","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x73\x74\x61\x72\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x63\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x69\x6E\x69\x74\x54\x6F\x75\x63\x68","\x65\x78\x74\x65\x6E\x64","\x6D\x69\x6E\x46\x69\x74\x53\x63\x61\x6C\x65","\x6D\x61\x78\x46\x69\x74\x53\x63\x61\x6C\x65","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x2F\x64\x65\x66\x61\x75\x6C\x74\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x64\x65\x63\x6F\x64\x65","\x66\x6C\x69\x70\x45\x64\x67\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x45\x4C\x42\x4F\x57\x5F\x48\x4F\x52\x49\x5A\x4F\x4E\x54\x41\x4C","\x45\x4C\x42\x4F\x57\x5F\x56\x45\x52\x54\x49\x43\x41\x4C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x73","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x70\x6F\x69\x6E\x74\x73","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x65","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x69\x73\x43\x65\x6C\x6C\x46\x6F\x6C\x64\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70\x43\x65\x6C\x6C","\x67\x72\x6F\x75\x70","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x43\x65\x6C\x6C","","\x69\x73\x56\x65\x72\x74\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x5F","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x67\x65\x74","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x6F\x62\x6A\x65\x63\x74","\x6C\x61\x62\x65\x6C","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x65\x6C\x6C\x4C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x55\x73\x65\x72\x4F\x62\x6A\x65\x63\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6E\x6B","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x56\x61\x6C\x75\x65","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x6D\x61\x72\x6B\x65\x72","\x66\x69\x72\x73\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x75\x70\x64\x61\x74\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x67\x72\x61\x70\x68\x58","\x67\x72\x61\x70\x68\x59","\x67\x65\x74\x43\x65\x6C\x6C\x41\x74","\x73\x74\x61\x74\x65","\x73\x68\x61\x70\x65","\x6E\x6F\x64\x65","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x69\x73\x4D\x65\x6E\x75\x53\x68\x6F\x77\x69\x6E\x67","\x67\x65\x74\x43\x65\x6C\x6C","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x4D\x4F\x55\x53\x45\x5F\x55\x50","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x67\x65\x74\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x4D\x4F\x55\x53\x45\x5F\x4D\x4F\x56\x45","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x73\x65\x6C\x65\x63\x74\x4F\x6E\x50\x6F\x70\x75\x70","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x69\x67\x6E\x6F\x72\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E","\x75\x73\x65\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x64\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x6F\x6E\x76\x65\x72\x74\x50\x6F\x69\x6E\x74","\x78","\x79","\x2F\x74\x6F\x75\x63\x68\x2D\x68\x61\x6E\x64\x6C\x65\x2E\x70\x6E\x67","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x69\x7A\x65\x72\x49\x6D\x61\x67\x65","\x73\x72\x63","\x2F\x74\x6F\x75\x63\x68\x2D\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x69\x6E\x69\x74","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x49\x6D\x67","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x32\x39\x70\x78","\x68\x65\x69\x67\x68\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x74\x69\x74\x6C\x65","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x70\x61\x64\x64\x69\x6E\x67","\x32\x70\x78","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x72\x65\x64\x72\x61\x77\x54\x6F\x6F\x6C\x73","\x72\x65\x64\x72\x61\x77","\x73\x69\x6E\x67\x6C\x65\x53\x69\x7A\x65\x72","\x6C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x78","\x74\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x2F\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x49\x53\x5F\x49\x45","\x49\x53\x5F\x53\x56\x47","\x64\x69\x76","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x65\x6E\x74\x65\x72","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x64\x69\x73\x70\x6C\x61\x79","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x69\x6E\x6C\x69\x6E\x65","\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E"];Graph= function(_0x91fcx1,_0x91fcx2,_0x91fcx3,_0x91fcx4){mxGraph[_0xdeaf[0]](this,_0x91fcx1,_0x91fcx2,_0x91fcx3,_0x91fcx4);this[_0xdeaf[1]](true);this[_0xdeaf[2]](false);this[_0xdeaf[3]](true);this[_0xdeaf[4]](!mxClient.IS_TOUCH);this[_0xdeaf[5]](false);this[_0xdeaf[6]](false);this[_0xdeaf[7]]= true;this[_0xdeaf[8]]= false;this[_0xdeaf[9]]= false;this[_0xdeaf[11]][_0xdeaf[10]]= true;this[_0xdeaf[12]](false);this[_0xdeaf[11]][_0xdeaf[13]](false);this[_0xdeaf[11]][_0xdeaf[14]]= function(){return mxConnectionHandler[_0xdeaf[16]][_0xdeaf[14]][_0xdeaf[15]](this,arguments)&& urlParams[_0xdeaf[17]]!= _0xdeaf[18]};this[_0xdeaf[19]]= _0xdeaf[20];if(_0x91fcx4== null){this[_0xdeaf[21]]()};var _0x91fcx5= new mxRubberband(this);this[_0xdeaf[22]]= function(){return _0x91fcx5};this[_0xdeaf[29]][_0xdeaf[28]](mxEvent.PAN_START,mxUtils[_0xdeaf[27]](this,function(){this[_0xdeaf[25]][_0xdeaf[24]][_0xdeaf[23]]= _0xdeaf[26]}));this[_0xdeaf[29]][_0xdeaf[28]](mxEvent.PAN_END,mxUtils[_0xdeaf[27]](this,function(){this[_0xdeaf[25]][_0xdeaf[24]][_0xdeaf[23]]= _0xdeaf[30]}));this[_0xdeaf[31]]= function(_0x91fcx6){var _0x91fcx7=this[_0xdeaf[33]][_0xdeaf[32]](_0x91fcx6);var _0x91fcx8=(_0x91fcx7!= null)?_0x91fcx7[_0xdeaf[24]]:this[_0xdeaf[34]](_0x91fcx6);return _0x91fcx8[_0xdeaf[35]]== _0xdeaf[36]|| _0x91fcx8[_0xdeaf[37]]== _0xdeaf[38]};this[_0xdeaf[40]][_0xdeaf[39]]= function(_0x91fcx7){var _0x91fcx9=mxCellRenderer[_0xdeaf[16]][_0xdeaf[39]][_0xdeaf[15]](this,arguments);if(_0x91fcx7[_0xdeaf[24]][_0xdeaf[37]]== _0xdeaf[38]&& _0x91fcx7[_0xdeaf[24]][_0xdeaf[35]]!= 1){_0x91fcx9= mxUtils[_0xdeaf[41]](_0x91fcx9,false)};return _0x91fcx9};this[_0xdeaf[42]]= function(_0x91fcx6){return false};this[_0xdeaf[11]][_0xdeaf[43]]= 16;var _0x91fcxa=this[_0xdeaf[11]][_0xdeaf[44]];this[_0xdeaf[11]][_0xdeaf[44]]= function(_0x91fcxb,_0x91fcx7){if(_0x91fcx7== null){if(!this[_0xdeaf[46]][_0xdeaf[29]][_0xdeaf[45]]){_0x91fcx5[_0xdeaf[49]](_0x91fcxb[_0xdeaf[47]](),_0x91fcxb[_0xdeaf[48]]());this[_0xdeaf[46]][_0xdeaf[29]][_0xdeaf[50]]= false}}else {if(tapAndHoldStartsConnection){_0x91fcxa[_0xdeaf[15]](this,arguments)}else {if(this[_0xdeaf[46]][_0xdeaf[52]](_0x91fcx7[_0xdeaf[51]])&& this[_0xdeaf[46]][_0xdeaf[53]]()> 1){this[_0xdeaf[46]][_0xdeaf[54]](_0x91fcx7[_0xdeaf[51]])}}}};if(touchStyle){this[_0xdeaf[55]]()}};mxUtils[_0xdeaf[56]](Graph,mxGraph);Graph[_0xdeaf[16]][_0xdeaf[57]]= null;Graph[_0xdeaf[16]][_0xdeaf[58]]= null;Graph[_0xdeaf[16]][_0xdeaf[21]]= function(){var _0x91fcxc=mxUtils[_0xdeaf[61]](STYLE_PATH+ _0xdeaf[60])[_0xdeaf[59]]();var _0x91fcxd= new mxCodec(_0x91fcxc[_0xdeaf[62]]);_0x91fcxd[_0xdeaf[64]](_0x91fcxc,this[_0xdeaf[63]]())};Graph[_0xdeaf[16]][_0xdeaf[65]]= function(_0x91fcxe){if(_0x91fcxe!= null){var _0x91fcx7=this[_0xdeaf[33]][_0xdeaf[32]](_0x91fcxe);var _0x91fcx8=(_0x91fcx7!= null)?_0x91fcx7[_0xdeaf[24]]:this[_0xdeaf[34]](_0x91fcxe);if(_0x91fcx8!= null){var _0x91fcxf=mxUtils[_0xdeaf[66]](_0x91fcx8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x91fcx10=(_0x91fcxf== mxConstants[_0xdeaf[67]])?mxConstants[_0xdeaf[68]]:mxConstants[_0xdeaf[67]];this[_0xdeaf[69]](mxConstants.STYLE_ELBOW,_0x91fcx10,[_0x91fcxe])}}};Graph[_0xdeaf[16]][_0xdeaf[70]]= function(_0x91fcx6){if(_0x91fcx6!= null&& this[_0xdeaf[72]]()[_0xdeaf[71]](_0x91fcx6)){var _0x91fcx11=this[_0xdeaf[72]]()[_0xdeaf[73]]([_0x91fcx6])[0];if(_0x91fcx11[_0xdeaf[74]]!= null){_0x91fcx11[_0xdeaf[74]][_0xdeaf[75]]= null};var _0x91fcx8=_0x91fcx11[_0xdeaf[76]]();_0x91fcx8= mxUtils[_0xdeaf[77]](_0x91fcx8,mxConstants.STYLE_ENTRY_X,null);_0x91fcx8= mxUtils[_0xdeaf[77]](_0x91fcx8,mxConstants.STYLE_ENTRY_Y,null);_0x91fcx8= mxUtils[_0xdeaf[77]](_0x91fcx8,mxConstants.STYLE_EXIT_X,null);_0x91fcx8= mxUtils[_0xdeaf[77]](_0x91fcx8,mxConstants.STYLE_EXIT_Y,null);_0x91fcx11[_0xdeaf[77]](_0x91fcx8);this[_0xdeaf[11]][_0xdeaf[78]]= function(_0x91fcxb){return this[_0xdeaf[46]][_0xdeaf[33]][_0xdeaf[79]](_0x91fcx11)};this[_0xdeaf[11]][_0xdeaf[80]]= function(){return this[_0xdeaf[46]][_0xdeaf[73]]([_0x91fcx11])[0]}}};Graph[_0xdeaf[16]][_0xdeaf[81]]= function(_0x91fcx6){return this[_0xdeaf[82]]&& this[_0xdeaf[83]](_0x91fcx6)};Graph[_0xdeaf[16]][_0xdeaf[84]]= function(_0x91fcx6){return this[_0xdeaf[83]](_0x91fcx6)};Graph[_0xdeaf[16]][_0xdeaf[85]]= function(){var _0x91fcx12=mxGraph[_0xdeaf[16]][_0xdeaf[85]][_0xdeaf[15]](this,arguments);_0x91fcx12[_0xdeaf[77]](_0xdeaf[86]);return _0x91fcx12};Graph[_0xdeaf[16]][_0xdeaf[87]]= function(_0x91fcx6){var _0x91fcx13=_0xdeaf[88];if(this[_0xdeaf[72]]()[_0xdeaf[89]](_0x91fcx6)){_0x91fcx13+= mxResources[_0xdeaf[93]](_0xdeaf[90]+ _0x91fcx6[_0xdeaf[92]][_0xdeaf[91]])|| _0xdeaf[88]}else {if(this[_0xdeaf[72]]()[_0xdeaf[71]](_0x91fcx6)){_0x91fcx13= mxGraph[_0xdeaf[16]][_0xdeaf[87]][_0xdeaf[15]](this,arguments)}};return _0x91fcx13};Graph[_0xdeaf[16]][_0xdeaf[94]]= function(_0x91fcx6){if(_0x91fcx6[_0xdeaf[92]]!= null&& typeof (_0x91fcx6[_0xdeaf[92]])== _0xdeaf[95]){return _0x91fcx6[_0xdeaf[92]][_0xdeaf[97]](_0xdeaf[96])};return mxGraph[_0xdeaf[16]][_0xdeaf[94]][_0xdeaf[15]](this,arguments)};Graph[_0xdeaf[16]][_0xdeaf[98]]= function(_0x91fcx6,_0x91fcx10,_0x91fcx14){if(_0x91fcx6[_0xdeaf[92]]!= null&& typeof (_0x91fcx6[_0xdeaf[92]])== _0xdeaf[95]){var _0x91fcx15=_0x91fcx6[_0xdeaf[92]][_0xdeaf[99]](true);_0x91fcx15[_0xdeaf[100]](_0xdeaf[96],_0x91fcx10);_0x91fcx10= _0x91fcx15};mxGraph[_0xdeaf[16]][_0xdeaf[98]][_0xdeaf[15]](this,arguments)};Graph[_0xdeaf[16]][_0xdeaf[101]]= function(_0x91fcx6,_0x91fcx16){var _0x91fcx10=null;if(_0x91fcx6[_0xdeaf[92]]!= null&& typeof (_0x91fcx6[_0xdeaf[92]])== _0xdeaf[95]){_0x91fcx10= _0x91fcx6[_0xdeaf[92]][_0xdeaf[99]](true)}else {var _0x91fcx17=mxUtils[_0xdeaf[102]]();_0x91fcx10= _0x91fcx17[_0xdeaf[104]](_0xdeaf[103]);_0x91fcx10[_0xdeaf[100]](_0xdeaf[96],_0x91fcx6[_0xdeaf[92]])};if(_0x91fcx16!= null&& _0x91fcx16[_0xdeaf[105]]> 0){_0x91fcx10[_0xdeaf[100]](_0xdeaf[106],_0x91fcx16)}else {_0x91fcx10[_0xdeaf[107]](_0xdeaf[106])};this[_0xdeaf[109]][_0xdeaf[108]](_0x91fcx6,_0x91fcx10)};Graph[_0xdeaf[16]][_0xdeaf[110]]= function(_0x91fcx6){if(_0x91fcx6[_0xdeaf[92]]!= null&& typeof (_0x91fcx6[_0xdeaf[92]])== _0xdeaf[95]){return _0x91fcx6[_0xdeaf[92]][_0xdeaf[97]](_0xdeaf[106])};return null};Graph[_0xdeaf[16]][_0xdeaf[55]]= function(){this[_0xdeaf[11]][_0xdeaf[112]][_0xdeaf[111]]= function(){return this[_0xdeaf[46]][_0xdeaf[11]][_0xdeaf[113]]!= null};this[_0xdeaf[28]](mxEvent.START_EDITING,function(_0x91fcx18,_0x91fcx19){this[_0xdeaf[29]][_0xdeaf[114]]()});var _0x91fcx1a=false;var _0x91fcx1b=null;this[_0xdeaf[115]]= function(_0x91fcxb){mxGraph[_0xdeaf[16]][_0xdeaf[115]][_0xdeaf[15]](this,arguments);if(_0x91fcxb[_0xdeaf[32]]()== null){var _0x91fcx6=this[_0xdeaf[118]](_0x91fcxb[_0xdeaf[116]],_0x91fcxb[_0xdeaf[117]]);if(this[_0xdeaf[72]]()[_0xdeaf[71]](_0x91fcx6)){_0x91fcxb[_0xdeaf[119]]= this[_0xdeaf[33]][_0xdeaf[32]](_0x91fcx6);if(_0x91fcxb[_0xdeaf[119]]!= null&& _0x91fcxb[_0xdeaf[119]][_0xdeaf[120]]!= null){this[_0xdeaf[25]][_0xdeaf[24]][_0xdeaf[23]]= _0x91fcxb[_0xdeaf[119]][_0xdeaf[120]][_0xdeaf[121]][_0xdeaf[24]][_0xdeaf[23]]}}};if(_0x91fcxb[_0xdeaf[32]]()== null){this[_0xdeaf[25]][_0xdeaf[24]][_0xdeaf[23]]= _0xdeaf[30]}};this[_0xdeaf[122]]= function(_0x91fcx1c,_0x91fcxb,_0x91fcx18){if(_0x91fcx1c== mxEvent[_0xdeaf[123]]){if(!this[_0xdeaf[29]][_0xdeaf[124]]()){_0x91fcx1b= _0x91fcxb[_0xdeaf[125]]();_0x91fcx1a= (_0x91fcx1b!= null)?this[_0xdeaf[52]](_0x91fcx1b):this[_0xdeaf[126]]()}else {_0x91fcx1a= false;_0x91fcx1b= null}}else {if(_0x91fcx1c== mxEvent[_0xdeaf[127]]){if(_0x91fcx1a&& !this[_0xdeaf[128]]()){if(!this[_0xdeaf[29]][_0xdeaf[124]]()){var _0x91fcx1d=mxEvent[_0xdeaf[130]](_0x91fcxb[_0xdeaf[129]]());var _0x91fcx1e=mxEvent[_0xdeaf[131]](_0x91fcxb[_0xdeaf[129]]());this[_0xdeaf[29]][_0xdeaf[132]](_0x91fcx1d+ 16,_0x91fcx1e,_0x91fcx1b,_0x91fcxb[_0xdeaf[129]]())};_0x91fcx1a= false;_0x91fcx1b= null;_0x91fcxb[_0xdeaf[133]]();return};_0x91fcx1a= false;_0x91fcx1b= null}};mxGraph[_0xdeaf[16]][_0xdeaf[122]][_0xdeaf[15]](this,arguments);if(_0x91fcx1c== mxEvent[_0xdeaf[134]]&& _0x91fcxb[_0xdeaf[135]]()){_0x91fcx1a= false;_0x91fcx1b= null}}};(function(){mxVertexHandler[_0xdeaf[16]][_0xdeaf[136]]= true;mxText[_0xdeaf[16]][_0xdeaf[137]]= 5;mxText[_0xdeaf[16]][_0xdeaf[138]]= 1;if(touchStyle){mxConstants[_0xdeaf[139]]= 16;mxConstants[_0xdeaf[140]]= 7;if(mxClient[_0xdeaf[141]]){mxVertexHandler[_0xdeaf[16]][_0xdeaf[142]]= 4;mxEdgeHandler[_0xdeaf[16]][_0xdeaf[142]]= 6;Graph[_0xdeaf[16]][_0xdeaf[142]]= 14;Graph[_0xdeaf[16]][_0xdeaf[143]]= 20;mxPanningHandler[_0xdeaf[16]][_0xdeaf[144]]= false;mxPanningHandler[_0xdeaf[16]][_0xdeaf[145]]= true;mxPanningHandler[_0xdeaf[16]][_0xdeaf[146]]= function(_0x91fcxb){var _0x91fcx19=_0x91fcxb[_0xdeaf[129]]();return (this[_0xdeaf[145]]&& (this[_0xdeaf[147]]|| _0x91fcxb[_0xdeaf[32]]()== null))|| (mxEvent[_0xdeaf[148]](_0x91fcx19)&& mxEvent[_0xdeaf[149]](_0x91fcx19))|| (this[_0xdeaf[150]]&& mxEvent[_0xdeaf[151]](_0x91fcx19))}};var _0x91fcx1f=mxGraphHandler[_0xdeaf[16]][_0xdeaf[152]];mxGraphHandler[_0xdeaf[16]][_0xdeaf[152]]= function(_0x91fcx18,_0x91fcxb){_0x91fcx1f[_0xdeaf[15]](this,arguments);if(this[_0xdeaf[46]][_0xdeaf[52]](_0x91fcxb[_0xdeaf[125]]())&& this[_0xdeaf[46]][_0xdeaf[53]]()> 1){this[_0xdeaf[153]]= false}};Graph[_0xdeaf[16]][_0xdeaf[154]]= function(_0x91fcx1){this[_0xdeaf[155]]= new mxTooltipHandler(this);this[_0xdeaf[155]][_0xdeaf[156]](false);this[_0xdeaf[157]]= new mxSelectionCellsHandler(this);this[_0xdeaf[29]]= new mxPanningHandler(this);this[_0xdeaf[29]][_0xdeaf[158]]= false;this[_0xdeaf[11]]= new mxConnectionHandler(this);this[_0xdeaf[11]][_0xdeaf[156]](false);this[_0xdeaf[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0xdeaf[16]][_0xdeaf[160]]= function(_0x91fcxe,_0x91fcx20){if(touchStyle&& _0x91fcx20!= null){this[_0xdeaf[46]][_0xdeaf[161]](_0x91fcx20)}else {this[_0xdeaf[46]][_0xdeaf[161]](_0x91fcxe)}};var _0x91fcx21=mxGraph[_0xdeaf[16]][_0xdeaf[162]];Graph[_0xdeaf[16]][_0xdeaf[162]]= function(_0x91fcx19,_0x91fcx6){if(_0x91fcx6== null){var _0x91fcx22=mxUtils[_0xdeaf[163]](this[_0xdeaf[25]],mxEvent[_0xdeaf[130]](_0x91fcx19),mxEvent[_0xdeaf[131]](_0x91fcx19));_0x91fcx6= this[_0xdeaf[118]](_0x91fcx22[_0xdeaf[164]],_0x91fcx22[_0xdeaf[165]])};_0x91fcx21[_0xdeaf[0]](this,_0x91fcx19,_0x91fcx6)};var _0x91fcx23= new mxImage(IMAGE_PATH+ _0xdeaf[166],16,16);mxVertexHandler[_0xdeaf[16]][_0xdeaf[167]]= _0x91fcx23;mxEdgeHandler[_0xdeaf[16]][_0xdeaf[167]]= _0x91fcx23;mxOutline[_0xdeaf[16]][_0xdeaf[168]]= _0x91fcx23; new Image()[_0xdeaf[169]]= _0x91fcx23[_0xdeaf[169]];var _0x91fcx24=IMAGE_PATH+ _0xdeaf[170];var _0x91fcx25=mxVertexHandler[_0xdeaf[16]][_0xdeaf[171]];mxVertexHandler[_0xdeaf[16]][_0xdeaf[171]]= function(){_0x91fcx25[_0xdeaf[15]](this,arguments);if(showConnectorImg&& this[_0xdeaf[46]][_0xdeaf[11]][_0xdeaf[111]]()&& this[_0xdeaf[46]][_0xdeaf[172]](this[_0xdeaf[119]][_0xdeaf[51]])&& !this[_0xdeaf[46]][_0xdeaf[84]](this[_0xdeaf[119]][_0xdeaf[51]])&& this[_0xdeaf[46]][_0xdeaf[53]]()== 1){this[_0xdeaf[173]]= mxUtils[_0xdeaf[174]](_0x91fcx24);this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[23]]= _0xdeaf[26];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[175]]= _0xdeaf[176];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[177]]= _0xdeaf[176];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[178]]= _0xdeaf[179];if(!mxClient[_0xdeaf[141]]){this[_0xdeaf[173]][_0xdeaf[100]](_0xdeaf[180],mxResources[_0xdeaf[93]](_0xdeaf[17]));mxEvent[_0xdeaf[181]](this[_0xdeaf[173]],this[_0xdeaf[46]],this[_0xdeaf[119]])};this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[182]]= _0xdeaf[183];mxEvent[_0xdeaf[185]](this[_0xdeaf[173]],mxUtils[_0xdeaf[27]](this,function(_0x91fcx19){this[_0xdeaf[46]][_0xdeaf[29]][_0xdeaf[114]]();var _0x91fcx22=mxUtils[_0xdeaf[163]](this[_0xdeaf[46]][_0xdeaf[25]],mxEvent[_0xdeaf[130]](_0x91fcx19),mxEvent[_0xdeaf[131]](_0x91fcx19));this[_0xdeaf[46]][_0xdeaf[11]][_0xdeaf[49]](this[_0xdeaf[119]],_0x91fcx22[_0xdeaf[164]],_0x91fcx22[_0xdeaf[165]]);this[_0xdeaf[46]][_0xdeaf[184]]= true;mxEvent[_0xdeaf[133]](_0x91fcx19)}));this[_0xdeaf[46]][_0xdeaf[25]][_0xdeaf[186]](this[_0xdeaf[173]])};this[_0xdeaf[187]]()};var _0x91fcx26=mxVertexHandler[_0xdeaf[16]][_0xdeaf[188]];mxVertexHandler[_0xdeaf[16]][_0xdeaf[188]]= function(){_0x91fcx26[_0xdeaf[15]](this);this[_0xdeaf[187]]()};mxVertexHandler[_0xdeaf[16]][_0xdeaf[187]]= function(){if(this[_0xdeaf[119]]!= null&& this[_0xdeaf[173]]!= null){if(mxVertexHandler[_0xdeaf[16]][_0xdeaf[189]]){this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[190]]= (this[_0xdeaf[119]][_0xdeaf[164]]+ this[_0xdeaf[119]][_0xdeaf[175]]- this[_0xdeaf[173]][_0xdeaf[191]]/ 2)+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[193]]= (this[_0xdeaf[119]][_0xdeaf[165]]- this[_0xdeaf[173]][_0xdeaf[194]]/ 2)+ _0xdeaf[192]}else {this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[190]]= (this[_0xdeaf[119]][_0xdeaf[164]]+ this[_0xdeaf[119]][_0xdeaf[175]]+ mxConstants[_0xdeaf[139]]/ 2+ 4)+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[193]]= (this[_0xdeaf[119]][_0xdeaf[165]]+ (this[_0xdeaf[119]][_0xdeaf[177]]- this[_0xdeaf[173]][_0xdeaf[194]])/ 2)+ _0xdeaf[192]}}};var _0x91fcx27=mxVertexHandler[_0xdeaf[16]][_0xdeaf[195]];mxVertexHandler[_0xdeaf[16]][_0xdeaf[195]]= function(_0x91fcx18,_0x91fcxb){_0x91fcx27[_0xdeaf[15]](this,arguments);if(this[_0xdeaf[173]]!= null){this[_0xdeaf[173]][_0xdeaf[197]][_0xdeaf[196]](this[_0xdeaf[173]]);this[_0xdeaf[173]]= null}}; new Image()[_0xdeaf[169]]= _0x91fcx24}else {var _0x91fcx28= new mxImage(IMAGE_PATH+ _0xdeaf[198],15,15);mxConnectionHandler[_0xdeaf[16]][_0xdeaf[199]]= _0x91fcx28; new Image()[_0xdeaf[169]]= _0x91fcx28[_0xdeaf[169]];if(urlParams[_0xdeaf[17]]== _0xdeaf[18]){var _0x91fcx28= new mxImage(IMAGE_PATH+ _0xdeaf[198],15,15);var _0x91fcx25=mxVertexHandler[_0xdeaf[16]][_0xdeaf[171]];mxVertexHandler[_0xdeaf[16]][_0xdeaf[171]]= function(){_0x91fcx25[_0xdeaf[15]](this,arguments);if(showConnectorImg&& this[_0xdeaf[46]][_0xdeaf[11]][_0xdeaf[111]]()&& this[_0xdeaf[46]][_0xdeaf[172]](this[_0xdeaf[119]][_0xdeaf[51]])&& !this[_0xdeaf[46]][_0xdeaf[84]](this[_0xdeaf[119]][_0xdeaf[51]])&& this[_0xdeaf[46]][_0xdeaf[53]]()== 1){if(mxClient[_0xdeaf[200]]&& !mxClient[_0xdeaf[201]]){this[_0xdeaf[173]]= document[_0xdeaf[104]](_0xdeaf[202]);this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[203]]= _0xdeaf[204]+ _0x91fcx28[_0xdeaf[169]]+ _0xdeaf[205];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[206]]= _0xdeaf[207];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[208]]= _0xdeaf[209];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[175]]= (_0x91fcx28[_0xdeaf[175]]+ 4)+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[177]]= (_0x91fcx28[_0xdeaf[177]]+ 4)+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[210]]= (mxClient[_0xdeaf[211]])?_0xdeaf[212]:_0xdeaf[213]}else {this[_0xdeaf[173]]= mxUtils[_0xdeaf[174]](_0x91fcx28[_0xdeaf[169]]);this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[175]]= _0x91fcx28[_0xdeaf[175]]+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[177]]= _0x91fcx28[_0xdeaf[177]]+ _0xdeaf[192]};this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[23]]= _0xdeaf[26];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[178]]= _0xdeaf[179];this[_0xdeaf[173]][_0xdeaf[100]](_0xdeaf[180],mxResources[_0xdeaf[93]](_0xdeaf[17]));mxEvent[_0xdeaf[181]](this[_0xdeaf[173]],this[_0xdeaf[46]],this[_0xdeaf[119]]);this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[182]]= _0xdeaf[183];mxEvent[_0xdeaf[28]](this[_0xdeaf[173]],_0xdeaf[214],mxUtils[_0xdeaf[27]](this,function(_0x91fcx19){this[_0xdeaf[46]][_0xdeaf[29]][_0xdeaf[114]]();var _0x91fcx22=mxUtils[_0xdeaf[163]](this[_0xdeaf[46]][_0xdeaf[25]],mxEvent[_0xdeaf[130]](_0x91fcx19),mxEvent[_0xdeaf[131]](_0x91fcx19));this[_0xdeaf[46]][_0xdeaf[11]][_0xdeaf[49]](this[_0xdeaf[119]],_0x91fcx22[_0xdeaf[164]],_0x91fcx22[_0xdeaf[165]]);this[_0xdeaf[46]][_0xdeaf[184]]= true;mxEvent[_0xdeaf[133]](_0x91fcx19)}));this[_0xdeaf[46]][_0xdeaf[25]][_0xdeaf[186]](this[_0xdeaf[173]])};this[_0xdeaf[187]]()};var _0x91fcx26=mxVertexHandler[_0xdeaf[16]][_0xdeaf[188]];mxVertexHandler[_0xdeaf[16]][_0xdeaf[188]]= function(){_0x91fcx26[_0xdeaf[15]](this);this[_0xdeaf[187]]()};mxVertexHandler[_0xdeaf[16]][_0xdeaf[187]]= function(){if(this[_0xdeaf[119]]!= null&& this[_0xdeaf[173]]!= null){if(mxVertexHandler[_0xdeaf[16]][_0xdeaf[189]]){this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[190]]= (this[_0xdeaf[119]][_0xdeaf[164]]+ this[_0xdeaf[119]][_0xdeaf[175]]- this[_0xdeaf[173]][_0xdeaf[191]]/ 2)+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[193]]= (this[_0xdeaf[119]][_0xdeaf[165]]- this[_0xdeaf[173]][_0xdeaf[194]]/ 2)+ _0xdeaf[192]}else {this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[190]]= (this[_0xdeaf[119]][_0xdeaf[164]]+ this[_0xdeaf[119]][_0xdeaf[175]]+ mxConstants[_0xdeaf[139]]/ 2+ 2)+ _0xdeaf[192];this[_0xdeaf[173]][_0xdeaf[24]][_0xdeaf[193]]= (this[_0xdeaf[119]][_0xdeaf[165]]+ (this[_0xdeaf[119]][_0xdeaf[177]]- this[_0xdeaf[173]][_0xdeaf[194]])/ 2)+ _0xdeaf[192]}}};var _0x91fcx27=mxVertexHandler[_0xdeaf[16]][_0xdeaf[195]];mxVertexHandler[_0xdeaf[16]][_0xdeaf[195]]= function(_0x91fcx18,_0x91fcxb){_0x91fcx27[_0xdeaf[15]](this,arguments);if(this[_0xdeaf[173]]!= null){this[_0xdeaf[173]][_0xdeaf[197]][_0xdeaf[196]](this[_0xdeaf[173]]);this[_0xdeaf[173]]= null}}}}})() \ No newline at end of file +var _0xdfde=["\x63\x61\x6C\x6C","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x73\x65\x74\x44\x72\x6F\x70\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x50\x61\x6E\x6E\x69\x6E\x67","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x4C\x6F\x6F\x70\x73","\x73\x65\x74\x4D\x75\x6C\x74\x69\x67\x72\x61\x70\x68","\x61\x6C\x6C\x6F\x77\x41\x75\x74\x6F\x50\x61\x6E\x6E\x69\x6E\x67","\x72\x65\x73\x65\x74\x45\x64\x67\x65\x73\x4F\x6E\x43\x6F\x6E\x6E\x65\x63\x74","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x43\x68\x69\x6C\x64\x72\x65\x6E","\x74\x61\x72\x67\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x41\x6C\x6C\x6F\x77\x44\x61\x6E\x67\x6C\x69\x6E\x67\x45\x64\x67\x65\x73","\x73\x65\x74\x43\x72\x65\x61\x74\x65\x54\x61\x72\x67\x65\x74","\x69\x73\x56\x61\x6C\x69\x64\x53\x6F\x75\x72\x63\x65","\x61\x70\x70\x6C\x79","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x6E\x65\x63\x74","\x32","\x61\x6C\x74\x65\x72\x6E\x61\x74\x65\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6C\x6F\x61\x64\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x67\x65\x74\x52\x75\x62\x62\x65\x72\x62\x61\x6E\x64","\x63\x75\x72\x73\x6F\x72","\x73\x74\x79\x6C\x65","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x65\x66\x61\x75\x6C\x74","\x69\x73\x48\x74\x6D\x6C\x4C\x61\x62\x65\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x76\x69\x65\x77","\x67\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65","\x68\x74\x6D\x6C","\x31","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x77\x72\x61\x70","\x67\x65\x74\x4C\x61\x62\x65\x6C\x56\x61\x6C\x75\x65","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x68\x74\x6D\x6C\x45\x6E\x74\x69\x74\x69\x65\x73","\x69\x73\x43\x65\x6C\x6C\x4C\x6F\x63\x6B\x65\x64","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64\x54\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x74\x61\x70\x41\x6E\x64\x48\x6F\x6C\x64","\x61\x63\x74\x69\x76\x65","\x67\x72\x61\x70\x68","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x73\x74\x61\x72\x74","\x70\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x63\x65\x6C\x6C","\x69\x73\x43\x65\x6C\x6C\x53\x65\x6C\x65\x63\x74\x65\x64","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x69\x6E\x69\x74\x54\x6F\x75\x63\x68","\x65\x78\x74\x65\x6E\x64","\x6D\x69\x6E\x46\x69\x74\x53\x63\x61\x6C\x65","\x6D\x61\x78\x46\x69\x74\x53\x63\x61\x6C\x65","\x67\x65\x74\x44\x6F\x63\x75\x6D\x65\x6E\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x2F\x64\x65\x66\x61\x75\x6C\x74\x2E\x78\x6D\x6C","\x6C\x6F\x61\x64","\x6F\x77\x6E\x65\x72\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x64\x65\x63\x6F\x64\x65","\x66\x6C\x69\x70\x45\x64\x67\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x45\x4C\x42\x4F\x57\x5F\x48\x4F\x52\x49\x5A\x4F\x4E\x54\x41\x4C","\x45\x4C\x42\x4F\x57\x5F\x56\x45\x52\x54\x49\x43\x41\x4C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x69\x73\x45\x64\x67\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x6C\x6F\x6E\x65\x43\x65\x6C\x6C\x73","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x70\x6F\x69\x6E\x74\x73","\x67\x65\x74\x53\x74\x79\x6C\x65","\x73\x65\x74\x53\x74\x79\x6C\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x53\x74\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x53\x74\x61\x74\x65","\x66\x61\x63\x74\x6F\x72\x79\x4D\x65\x74\x68\x6F\x64","\x69\x73\x43\x65\x6C\x6C\x46\x6F\x6C\x64\x61\x62\x6C\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x77\x69\x6D\x6C\x61\x6E\x65","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x63\x72\x65\x61\x74\x65\x47\x72\x6F\x75\x70\x43\x65\x6C\x6C","\x67\x72\x6F\x75\x70","\x67\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x46\x6F\x72\x43\x65\x6C\x6C","","\x69\x73\x56\x65\x72\x74\x65\x78","\x64\x65\x73\x63\x72\x69\x70\x74\x69\x6F\x6E\x5F","\x6E\x6F\x64\x65\x4E\x61\x6D\x65","\x76\x61\x6C\x75\x65","\x67\x65\x74","\x63\x6F\x6E\x76\x65\x72\x74\x56\x61\x6C\x75\x65\x54\x6F\x53\x74\x72\x69\x6E\x67","\x6F\x62\x6A\x65\x63\x74","\x6C\x61\x62\x65\x6C","\x67\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x65\x6C\x6C\x4C\x61\x62\x65\x6C\x43\x68\x61\x6E\x67\x65\x64","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x55\x73\x65\x72\x4F\x62\x6A\x65\x63\x74","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x6C\x65\x6E\x67\x74\x68","\x6C\x69\x6E\x6B","\x72\x65\x6D\x6F\x76\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x73\x65\x74\x56\x61\x6C\x75\x65","\x6D\x6F\x64\x65\x6C","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x6D\x61\x72\x6B\x65\x72","\x66\x69\x72\x73\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x75\x70\x64\x61\x74\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x67\x72\x61\x70\x68\x58","\x67\x72\x61\x70\x68\x59","\x67\x65\x74\x43\x65\x6C\x6C\x41\x74","\x73\x74\x61\x74\x65","\x73\x68\x61\x70\x65","\x6E\x6F\x64\x65","\x66\x69\x72\x65\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74","\x4D\x4F\x55\x53\x45\x5F\x44\x4F\x57\x4E","\x69\x73\x4D\x65\x6E\x75\x53\x68\x6F\x77\x69\x6E\x67","\x67\x65\x74\x43\x65\x6C\x6C","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x4D\x4F\x55\x53\x45\x5F\x55\x50","\x69\x73\x45\x64\x69\x74\x69\x6E\x67","\x67\x65\x74\x45\x76\x65\x6E\x74","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x4D\x4F\x55\x53\x45\x5F\x4D\x4F\x56\x45","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x72\x6F\x74\x61\x74\x69\x6F\x6E\x45\x6E\x61\x62\x6C\x65\x64","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x54\x6F\x70","\x62\x61\x73\x65\x53\x70\x61\x63\x69\x6E\x67\x42\x6F\x74\x74\x6F\x6D","\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x4C\x41\x42\x45\x4C\x5F\x48\x41\x4E\x44\x4C\x45\x5F\x53\x49\x5A\x45","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x67\x72\x69\x64\x53\x69\x7A\x65","\x73\x65\x6C\x65\x63\x74\x4F\x6E\x50\x6F\x70\x75\x70","\x75\x73\x65\x4C\x65\x66\x74\x42\x75\x74\x74\x6F\x6E\x46\x6F\x72\x50\x61\x6E\x6E\x69\x6E\x67","\x69\x73\x50\x61\x6E\x6E\x69\x6E\x67\x54\x72\x69\x67\x67\x65\x72","\x69\x67\x6E\x6F\x72\x65\x43\x65\x6C\x6C","\x69\x73\x43\x6F\x6E\x74\x72\x6F\x6C\x44\x6F\x77\x6E","\x69\x73\x53\x68\x69\x66\x74\x44\x6F\x77\x6E","\x75\x73\x65\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x6D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x64\x65\x6C\x61\x79\x65\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x43\x65\x6C\x6C\x73","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x64\x62\x6C\x43\x6C\x69\x63\x6B","\x63\x6F\x6E\x76\x65\x72\x74\x50\x6F\x69\x6E\x74","\x78","\x79","\x2F\x74\x6F\x75\x63\x68\x2D\x68\x61\x6E\x64\x6C\x65\x2E\x70\x6E\x67","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x69\x7A\x65\x72\x49\x6D\x61\x67\x65","\x73\x72\x63","\x2F\x74\x6F\x75\x63\x68\x2D\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x69\x6E\x69\x74","\x69\x73\x43\x65\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x49\x6D\x67","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x32\x39\x70\x78","\x68\x65\x69\x67\x68\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x74\x69\x74\x6C\x65","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x70\x61\x64\x64\x69\x6E\x67","\x32\x70\x78","\x69\x73\x4D\x6F\x75\x73\x65\x44\x6F\x77\x6E","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x72\x65\x64\x72\x61\x77\x54\x6F\x6F\x6C\x73","\x72\x65\x64\x72\x61\x77","\x73\x69\x6E\x67\x6C\x65\x53\x69\x7A\x65\x72","\x6C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x78","\x74\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x64\x65\x73\x74\x72\x6F\x79","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x2F\x63\x6F\x6E\x6E\x65\x63\x74\x6F\x72\x2E\x70\x6E\x67","\x63\x6F\x6E\x6E\x65\x63\x74\x49\x6D\x61\x67\x65","\x49\x53\x5F\x49\x45","\x49\x53\x5F\x53\x56\x47","\x64\x69\x76","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x63\x65\x6E\x74\x65\x72","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x64\x69\x73\x70\x6C\x61\x79","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x69\x6E\x6C\x69\x6E\x65","\x69\x6E\x6C\x69\x6E\x65\x2D\x62\x6C\x6F\x63\x6B","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E"];Graph= function(_0x43d4x1,_0x43d4x2,_0x43d4x3,_0x43d4x4){mxGraph[_0xdfde[0]](this,_0x43d4x1,_0x43d4x2,_0x43d4x3,_0x43d4x4);this[_0xdfde[1]](true);this[_0xdfde[2]](false);this[_0xdfde[3]](true);this[_0xdfde[4]](!mxClient.IS_TOUCH);this[_0xdfde[5]](false);this[_0xdfde[6]](false);this[_0xdfde[7]]= true;this[_0xdfde[8]]= false;this[_0xdfde[9]]= false;this[_0xdfde[11]][_0xdfde[10]]= true;this[_0xdfde[12]](false);this[_0xdfde[11]][_0xdfde[13]](false);this[_0xdfde[11]][_0xdfde[14]]= function(){return mxConnectionHandler[_0xdfde[16]][_0xdfde[14]][_0xdfde[15]](this,arguments)&& urlParams[_0xdfde[17]]!= _0xdfde[18]};this[_0xdfde[19]]= _0xdfde[20];if(_0x43d4x4== null){this[_0xdfde[21]]()};var _0x43d4x5= new mxRubberband(this);this[_0xdfde[22]]= function(){return _0x43d4x5};this[_0xdfde[29]][_0xdfde[28]](mxEvent.PAN_START,mxUtils[_0xdfde[27]](this,function(){this[_0xdfde[25]][_0xdfde[24]][_0xdfde[23]]= _0xdfde[26]}));this[_0xdfde[29]][_0xdfde[28]](mxEvent.PAN_END,mxUtils[_0xdfde[27]](this,function(){this[_0xdfde[25]][_0xdfde[24]][_0xdfde[23]]= _0xdfde[30]}));this[_0xdfde[31]]= function(_0x43d4x6){var _0x43d4x7=this[_0xdfde[33]][_0xdfde[32]](_0x43d4x6);var _0x43d4x8=(_0x43d4x7!= null)?_0x43d4x7[_0xdfde[24]]:this[_0xdfde[34]](_0x43d4x6);return _0x43d4x8[_0xdfde[35]]== _0xdfde[36]|| _0x43d4x8[_0xdfde[37]]== _0xdfde[38]};this[_0xdfde[40]][_0xdfde[39]]= function(_0x43d4x7){var _0x43d4x9=mxCellRenderer[_0xdfde[16]][_0xdfde[39]][_0xdfde[15]](this,arguments);if(_0x43d4x7[_0xdfde[24]][_0xdfde[37]]== _0xdfde[38]&& _0x43d4x7[_0xdfde[24]][_0xdfde[35]]!= 1){_0x43d4x9= mxUtils[_0xdfde[41]](_0x43d4x9,false)};return _0x43d4x9};this[_0xdfde[42]]= function(_0x43d4x6){return false};this[_0xdfde[11]][_0xdfde[43]]= 16;var _0x43d4xa=this[_0xdfde[11]][_0xdfde[44]];this[_0xdfde[11]][_0xdfde[44]]= function(_0x43d4xb,_0x43d4x7){if(_0x43d4x7== null){if(!this[_0xdfde[46]][_0xdfde[29]][_0xdfde[45]]){_0x43d4x5[_0xdfde[49]](_0x43d4xb[_0xdfde[47]](),_0x43d4xb[_0xdfde[48]]());this[_0xdfde[46]][_0xdfde[29]][_0xdfde[50]]= false}}else {if(tapAndHoldStartsConnection){_0x43d4xa[_0xdfde[15]](this,arguments)}else {if(this[_0xdfde[46]][_0xdfde[52]](_0x43d4x7[_0xdfde[51]])&& this[_0xdfde[46]][_0xdfde[53]]()> 1){this[_0xdfde[46]][_0xdfde[54]](_0x43d4x7[_0xdfde[51]])}}}};if(touchStyle){this[_0xdfde[55]]()}};mxUtils[_0xdfde[56]](Graph,mxGraph);Graph[_0xdfde[16]][_0xdfde[57]]= null;Graph[_0xdfde[16]][_0xdfde[58]]= null;Graph[_0xdfde[16]][_0xdfde[21]]= function(){var _0x43d4xc=mxUtils[_0xdfde[61]](STYLE_PATH+ _0xdfde[60])[_0xdfde[59]]();var _0x43d4xd= new mxCodec(_0x43d4xc[_0xdfde[62]]);_0x43d4xd[_0xdfde[64]](_0x43d4xc,this[_0xdfde[63]]())};Graph[_0xdfde[16]][_0xdfde[65]]= function(_0x43d4xe){if(_0x43d4xe!= null){var _0x43d4x7=this[_0xdfde[33]][_0xdfde[32]](_0x43d4xe);var _0x43d4x8=(_0x43d4x7!= null)?_0x43d4x7[_0xdfde[24]]:this[_0xdfde[34]](_0x43d4xe);if(_0x43d4x8!= null){var _0x43d4xf=mxUtils[_0xdfde[66]](_0x43d4x8,mxConstants.STYLE_ELBOW,mxConstants.ELBOW_HORIZONTAL);var _0x43d4x10=(_0x43d4xf== mxConstants[_0xdfde[67]])?mxConstants[_0xdfde[68]]:mxConstants[_0xdfde[67]];this[_0xdfde[69]](mxConstants.STYLE_ELBOW,_0x43d4x10,[_0x43d4xe])}}};Graph[_0xdfde[16]][_0xdfde[70]]= function(_0x43d4x6){if(_0x43d4x6!= null&& this[_0xdfde[72]]()[_0xdfde[71]](_0x43d4x6)){var _0x43d4x11=this[_0xdfde[72]]()[_0xdfde[73]]([_0x43d4x6])[0];if(_0x43d4x11[_0xdfde[74]]!= null){_0x43d4x11[_0xdfde[74]][_0xdfde[75]]= null};var _0x43d4x8=_0x43d4x11[_0xdfde[76]]();_0x43d4x8= mxUtils[_0xdfde[77]](_0x43d4x8,mxConstants.STYLE_ENTRY_X,null);_0x43d4x8= mxUtils[_0xdfde[77]](_0x43d4x8,mxConstants.STYLE_ENTRY_Y,null);_0x43d4x8= mxUtils[_0xdfde[77]](_0x43d4x8,mxConstants.STYLE_EXIT_X,null);_0x43d4x8= mxUtils[_0xdfde[77]](_0x43d4x8,mxConstants.STYLE_EXIT_Y,null);_0x43d4x11[_0xdfde[77]](_0x43d4x8);this[_0xdfde[11]][_0xdfde[78]]= function(_0x43d4xb){return this[_0xdfde[46]][_0xdfde[33]][_0xdfde[79]](_0x43d4x11)};this[_0xdfde[11]][_0xdfde[80]]= function(){return this[_0xdfde[46]][_0xdfde[73]]([_0x43d4x11])[0]}}};Graph[_0xdfde[16]][_0xdfde[81]]= function(_0x43d4x6){return this[_0xdfde[82]]&& this[_0xdfde[83]](_0x43d4x6)};Graph[_0xdfde[16]][_0xdfde[84]]= function(_0x43d4x6){return this[_0xdfde[83]](_0x43d4x6)};Graph[_0xdfde[16]][_0xdfde[85]]= function(){var _0x43d4x12=mxGraph[_0xdfde[16]][_0xdfde[85]][_0xdfde[15]](this,arguments);_0x43d4x12[_0xdfde[77]](_0xdfde[86]);return _0x43d4x12};Graph[_0xdfde[16]][_0xdfde[87]]= function(_0x43d4x6){var _0x43d4x13=_0xdfde[88];if(this[_0xdfde[72]]()[_0xdfde[89]](_0x43d4x6)){_0x43d4x13+= mxResources[_0xdfde[93]](_0xdfde[90]+ _0x43d4x6[_0xdfde[92]][_0xdfde[91]])|| _0xdfde[88]}else {if(this[_0xdfde[72]]()[_0xdfde[71]](_0x43d4x6)){_0x43d4x13= mxGraph[_0xdfde[16]][_0xdfde[87]][_0xdfde[15]](this,arguments)}};return _0x43d4x13};Graph[_0xdfde[16]][_0xdfde[94]]= function(_0x43d4x6){if(_0x43d4x6[_0xdfde[92]]!= null&& typeof (_0x43d4x6[_0xdfde[92]])== _0xdfde[95]){return _0x43d4x6[_0xdfde[92]][_0xdfde[97]](_0xdfde[96])};return mxGraph[_0xdfde[16]][_0xdfde[94]][_0xdfde[15]](this,arguments)};Graph[_0xdfde[16]][_0xdfde[98]]= function(_0x43d4x6,_0x43d4x10,_0x43d4x14){if(_0x43d4x6[_0xdfde[92]]!= null&& typeof (_0x43d4x6[_0xdfde[92]])== _0xdfde[95]){var _0x43d4x15=_0x43d4x6[_0xdfde[92]][_0xdfde[99]](true);_0x43d4x15[_0xdfde[100]](_0xdfde[96],_0x43d4x10);_0x43d4x10= _0x43d4x15};mxGraph[_0xdfde[16]][_0xdfde[98]][_0xdfde[15]](this,arguments)};Graph[_0xdfde[16]][_0xdfde[101]]= function(_0x43d4x6,_0x43d4x16){var _0x43d4x10=null;if(_0x43d4x6[_0xdfde[92]]!= null&& typeof (_0x43d4x6[_0xdfde[92]])== _0xdfde[95]){_0x43d4x10= _0x43d4x6[_0xdfde[92]][_0xdfde[99]](true)}else {var _0x43d4x17=mxUtils[_0xdfde[102]]();_0x43d4x10= _0x43d4x17[_0xdfde[104]](_0xdfde[103]);_0x43d4x10[_0xdfde[100]](_0xdfde[96],_0x43d4x6[_0xdfde[92]])};if(_0x43d4x16!= null&& _0x43d4x16[_0xdfde[105]]> 0){_0x43d4x10[_0xdfde[100]](_0xdfde[106],_0x43d4x16)}else {_0x43d4x10[_0xdfde[107]](_0xdfde[106])};this[_0xdfde[109]][_0xdfde[108]](_0x43d4x6,_0x43d4x10)};Graph[_0xdfde[16]][_0xdfde[110]]= function(_0x43d4x6){if(_0x43d4x6[_0xdfde[92]]!= null&& typeof (_0x43d4x6[_0xdfde[92]])== _0xdfde[95]){return _0x43d4x6[_0xdfde[92]][_0xdfde[97]](_0xdfde[106])};return null};Graph[_0xdfde[16]][_0xdfde[55]]= function(){this[_0xdfde[11]][_0xdfde[112]][_0xdfde[111]]= function(){return this[_0xdfde[46]][_0xdfde[11]][_0xdfde[113]]!= null};this[_0xdfde[28]](mxEvent.START_EDITING,function(_0x43d4x18,_0x43d4x19){this[_0xdfde[29]][_0xdfde[114]]()});var _0x43d4x1a=false;var _0x43d4x1b=null;this[_0xdfde[115]]= function(_0x43d4xb){mxGraph[_0xdfde[16]][_0xdfde[115]][_0xdfde[15]](this,arguments);if(_0x43d4xb[_0xdfde[32]]()== null){var _0x43d4x6=this[_0xdfde[118]](_0x43d4xb[_0xdfde[116]],_0x43d4xb[_0xdfde[117]]);if(this[_0xdfde[72]]()[_0xdfde[71]](_0x43d4x6)){_0x43d4xb[_0xdfde[119]]= this[_0xdfde[33]][_0xdfde[32]](_0x43d4x6);if(_0x43d4xb[_0xdfde[119]]!= null&& _0x43d4xb[_0xdfde[119]][_0xdfde[120]]!= null){this[_0xdfde[25]][_0xdfde[24]][_0xdfde[23]]= _0x43d4xb[_0xdfde[119]][_0xdfde[120]][_0xdfde[121]][_0xdfde[24]][_0xdfde[23]]}}};if(_0x43d4xb[_0xdfde[32]]()== null){this[_0xdfde[25]][_0xdfde[24]][_0xdfde[23]]= _0xdfde[30]}};this[_0xdfde[122]]= function(_0x43d4x1c,_0x43d4xb,_0x43d4x18){if(_0x43d4x1c== mxEvent[_0xdfde[123]]){if(!this[_0xdfde[29]][_0xdfde[124]]()){_0x43d4x1b= _0x43d4xb[_0xdfde[125]]();_0x43d4x1a= (_0x43d4x1b!= null)?this[_0xdfde[52]](_0x43d4x1b):this[_0xdfde[126]]()}else {_0x43d4x1a= false;_0x43d4x1b= null}}else {if(_0x43d4x1c== mxEvent[_0xdfde[127]]){if(_0x43d4x1a&& !this[_0xdfde[128]]()){if(!this[_0xdfde[29]][_0xdfde[124]]()){var _0x43d4x1d=mxEvent[_0xdfde[130]](_0x43d4xb[_0xdfde[129]]());var _0x43d4x1e=mxEvent[_0xdfde[131]](_0x43d4xb[_0xdfde[129]]());this[_0xdfde[29]][_0xdfde[132]](_0x43d4x1d+ 16,_0x43d4x1e,_0x43d4x1b,_0x43d4xb[_0xdfde[129]]())};_0x43d4x1a= false;_0x43d4x1b= null;_0x43d4xb[_0xdfde[133]]();return};_0x43d4x1a= false;_0x43d4x1b= null}};mxGraph[_0xdfde[16]][_0xdfde[122]][_0xdfde[15]](this,arguments);if(_0x43d4x1c== mxEvent[_0xdfde[134]]&& _0x43d4xb[_0xdfde[135]]()){_0x43d4x1a= false;_0x43d4x1b= null}}};(function(){mxVertexHandler[_0xdfde[16]][_0xdfde[136]]= true;mxText[_0xdfde[16]][_0xdfde[137]]= 5;mxText[_0xdfde[16]][_0xdfde[138]]= 1;if(touchStyle){mxConstants[_0xdfde[139]]= 16;mxConstants[_0xdfde[140]]= 7;if(mxClient[_0xdfde[141]]){mxVertexHandler[_0xdfde[16]][_0xdfde[142]]= 4;mxEdgeHandler[_0xdfde[16]][_0xdfde[142]]= 6;Graph[_0xdfde[16]][_0xdfde[142]]= 14;Graph[_0xdfde[16]][_0xdfde[143]]= 20;mxPanningHandler[_0xdfde[16]][_0xdfde[144]]= false;mxPanningHandler[_0xdfde[16]][_0xdfde[145]]= true;mxPanningHandler[_0xdfde[16]][_0xdfde[146]]= function(_0x43d4xb){var _0x43d4x19=_0x43d4xb[_0xdfde[129]]();return (this[_0xdfde[145]]&& (this[_0xdfde[147]]|| _0x43d4xb[_0xdfde[32]]()== null))|| (mxEvent[_0xdfde[148]](_0x43d4x19)&& mxEvent[_0xdfde[149]](_0x43d4x19))|| (this[_0xdfde[150]]&& mxEvent[_0xdfde[151]](_0x43d4x19))}};var _0x43d4x1f=mxGraphHandler[_0xdfde[16]][_0xdfde[152]];mxGraphHandler[_0xdfde[16]][_0xdfde[152]]= function(_0x43d4x18,_0x43d4xb){_0x43d4x1f[_0xdfde[15]](this,arguments);if(this[_0xdfde[46]][_0xdfde[52]](_0x43d4xb[_0xdfde[125]]())&& this[_0xdfde[46]][_0xdfde[53]]()> 1){this[_0xdfde[153]]= false}};Graph[_0xdfde[16]][_0xdfde[154]]= function(_0x43d4x1){this[_0xdfde[155]]= new mxTooltipHandler(this);this[_0xdfde[155]][_0xdfde[156]](false);this[_0xdfde[157]]= new mxSelectionCellsHandler(this);this[_0xdfde[29]]= new mxPanningHandler(this);this[_0xdfde[29]][_0xdfde[158]]= false;this[_0xdfde[11]]= new mxConnectionHandler(this);this[_0xdfde[11]][_0xdfde[156]](false);this[_0xdfde[159]]= new mxGraphHandler(this)};mxConnectionHandler[_0xdfde[16]][_0xdfde[160]]= function(_0x43d4xe,_0x43d4x20){if(touchStyle&& _0x43d4x20!= null){this[_0xdfde[46]][_0xdfde[161]](_0x43d4x20)}else {this[_0xdfde[46]][_0xdfde[161]](_0x43d4xe)}};var _0x43d4x21=mxGraph[_0xdfde[16]][_0xdfde[162]];Graph[_0xdfde[16]][_0xdfde[162]]= function(_0x43d4x19,_0x43d4x6){if(_0x43d4x6== null){var _0x43d4x22=mxUtils[_0xdfde[163]](this[_0xdfde[25]],mxEvent[_0xdfde[130]](_0x43d4x19),mxEvent[_0xdfde[131]](_0x43d4x19));_0x43d4x6= this[_0xdfde[118]](_0x43d4x22[_0xdfde[164]],_0x43d4x22[_0xdfde[165]])};_0x43d4x21[_0xdfde[0]](this,_0x43d4x19,_0x43d4x6)};var _0x43d4x23= new mxImage(IMAGE_PATH+ _0xdfde[166],16,16);mxVertexHandler[_0xdfde[16]][_0xdfde[167]]= _0x43d4x23;mxEdgeHandler[_0xdfde[16]][_0xdfde[167]]= _0x43d4x23;mxOutline[_0xdfde[16]][_0xdfde[168]]= _0x43d4x23; new Image()[_0xdfde[169]]= _0x43d4x23[_0xdfde[169]];var _0x43d4x24=IMAGE_PATH+ _0xdfde[170];var _0x43d4x25=mxVertexHandler[_0xdfde[16]][_0xdfde[171]];mxVertexHandler[_0xdfde[16]][_0xdfde[171]]= function(){_0x43d4x25[_0xdfde[15]](this,arguments);if(showConnectorImg&& this[_0xdfde[46]][_0xdfde[11]][_0xdfde[111]]()&& this[_0xdfde[46]][_0xdfde[172]](this[_0xdfde[119]][_0xdfde[51]])&& !this[_0xdfde[46]][_0xdfde[84]](this[_0xdfde[119]][_0xdfde[51]])&& this[_0xdfde[46]][_0xdfde[53]]()== 1){this[_0xdfde[173]]= mxUtils[_0xdfde[174]](_0x43d4x24);this[_0xdfde[173]][_0xdfde[24]][_0xdfde[23]]= _0xdfde[26];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[175]]= _0xdfde[176];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[177]]= _0xdfde[176];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[178]]= _0xdfde[179];if(!mxClient[_0xdfde[141]]){this[_0xdfde[173]][_0xdfde[100]](_0xdfde[180],mxResources[_0xdfde[93]](_0xdfde[17]));mxEvent[_0xdfde[181]](this[_0xdfde[173]],this[_0xdfde[46]],this[_0xdfde[119]])};this[_0xdfde[173]][_0xdfde[24]][_0xdfde[182]]= _0xdfde[183];mxEvent[_0xdfde[185]](this[_0xdfde[173]],mxUtils[_0xdfde[27]](this,function(_0x43d4x19){this[_0xdfde[46]][_0xdfde[29]][_0xdfde[114]]();var _0x43d4x22=mxUtils[_0xdfde[163]](this[_0xdfde[46]][_0xdfde[25]],mxEvent[_0xdfde[130]](_0x43d4x19),mxEvent[_0xdfde[131]](_0x43d4x19));this[_0xdfde[46]][_0xdfde[11]][_0xdfde[49]](this[_0xdfde[119]],_0x43d4x22[_0xdfde[164]],_0x43d4x22[_0xdfde[165]]);this[_0xdfde[46]][_0xdfde[184]]= true;mxEvent[_0xdfde[133]](_0x43d4x19)}));this[_0xdfde[46]][_0xdfde[25]][_0xdfde[186]](this[_0xdfde[173]])};this[_0xdfde[187]]()};var _0x43d4x26=mxVertexHandler[_0xdfde[16]][_0xdfde[188]];mxVertexHandler[_0xdfde[16]][_0xdfde[188]]= function(){_0x43d4x26[_0xdfde[15]](this);this[_0xdfde[187]]()};mxVertexHandler[_0xdfde[16]][_0xdfde[187]]= function(){if(this[_0xdfde[119]]!= null&& this[_0xdfde[173]]!= null){if(mxVertexHandler[_0xdfde[16]][_0xdfde[189]]){this[_0xdfde[173]][_0xdfde[24]][_0xdfde[190]]= (this[_0xdfde[119]][_0xdfde[164]]+ this[_0xdfde[119]][_0xdfde[175]]- this[_0xdfde[173]][_0xdfde[191]]/ 2)+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[193]]= (this[_0xdfde[119]][_0xdfde[165]]- this[_0xdfde[173]][_0xdfde[194]]/ 2)+ _0xdfde[192]}else {this[_0xdfde[173]][_0xdfde[24]][_0xdfde[190]]= (this[_0xdfde[119]][_0xdfde[164]]+ this[_0xdfde[119]][_0xdfde[175]]+ mxConstants[_0xdfde[139]]/ 2+ 4)+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[193]]= (this[_0xdfde[119]][_0xdfde[165]]+ (this[_0xdfde[119]][_0xdfde[177]]- this[_0xdfde[173]][_0xdfde[194]])/ 2)+ _0xdfde[192]}}};var _0x43d4x27=mxVertexHandler[_0xdfde[16]][_0xdfde[195]];mxVertexHandler[_0xdfde[16]][_0xdfde[195]]= function(_0x43d4x18,_0x43d4xb){_0x43d4x27[_0xdfde[15]](this,arguments);if(this[_0xdfde[173]]!= null){this[_0xdfde[173]][_0xdfde[197]][_0xdfde[196]](this[_0xdfde[173]]);this[_0xdfde[173]]= null}}; new Image()[_0xdfde[169]]= _0x43d4x24}else {var _0x43d4x28= new mxImage(IMAGE_PATH+ _0xdfde[198],15,15);mxConnectionHandler[_0xdfde[16]][_0xdfde[199]]= _0x43d4x28; new Image()[_0xdfde[169]]= _0x43d4x28[_0xdfde[169]];if(urlParams[_0xdfde[17]]== _0xdfde[18]){var _0x43d4x28= new mxImage(IMAGE_PATH+ _0xdfde[198],15,15);var _0x43d4x25=mxVertexHandler[_0xdfde[16]][_0xdfde[171]];mxVertexHandler[_0xdfde[16]][_0xdfde[171]]= function(){_0x43d4x25[_0xdfde[15]](this,arguments);if(showConnectorImg&& this[_0xdfde[46]][_0xdfde[11]][_0xdfde[111]]()&& this[_0xdfde[46]][_0xdfde[172]](this[_0xdfde[119]][_0xdfde[51]])&& !this[_0xdfde[46]][_0xdfde[84]](this[_0xdfde[119]][_0xdfde[51]])&& this[_0xdfde[46]][_0xdfde[53]]()== 1){if(mxClient[_0xdfde[200]]&& !mxClient[_0xdfde[201]]){this[_0xdfde[173]]= document[_0xdfde[104]](_0xdfde[202]);this[_0xdfde[173]][_0xdfde[24]][_0xdfde[203]]= _0xdfde[204]+ _0x43d4x28[_0xdfde[169]]+ _0xdfde[205];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[206]]= _0xdfde[207];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[208]]= _0xdfde[209];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[175]]= (_0x43d4x28[_0xdfde[175]]+ 4)+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[177]]= (_0x43d4x28[_0xdfde[177]]+ 4)+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[210]]= (mxClient[_0xdfde[211]])?_0xdfde[212]:_0xdfde[213]}else {this[_0xdfde[173]]= mxUtils[_0xdfde[174]](_0x43d4x28[_0xdfde[169]]);this[_0xdfde[173]][_0xdfde[24]][_0xdfde[175]]= _0x43d4x28[_0xdfde[175]]+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[177]]= _0x43d4x28[_0xdfde[177]]+ _0xdfde[192]};this[_0xdfde[173]][_0xdfde[24]][_0xdfde[23]]= _0xdfde[26];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[178]]= _0xdfde[179];this[_0xdfde[173]][_0xdfde[100]](_0xdfde[180],mxResources[_0xdfde[93]](_0xdfde[17]));mxEvent[_0xdfde[181]](this[_0xdfde[173]],this[_0xdfde[46]],this[_0xdfde[119]]);this[_0xdfde[173]][_0xdfde[24]][_0xdfde[182]]= _0xdfde[183];mxEvent[_0xdfde[28]](this[_0xdfde[173]],_0xdfde[214],mxUtils[_0xdfde[27]](this,function(_0x43d4x19){this[_0xdfde[46]][_0xdfde[29]][_0xdfde[114]]();var _0x43d4x22=mxUtils[_0xdfde[163]](this[_0xdfde[46]][_0xdfde[25]],mxEvent[_0xdfde[130]](_0x43d4x19),mxEvent[_0xdfde[131]](_0x43d4x19));this[_0xdfde[46]][_0xdfde[11]][_0xdfde[49]](this[_0xdfde[119]],_0x43d4x22[_0xdfde[164]],_0x43d4x22[_0xdfde[165]]);this[_0xdfde[46]][_0xdfde[184]]= true;mxEvent[_0xdfde[133]](_0x43d4x19)}));this[_0xdfde[46]][_0xdfde[25]][_0xdfde[186]](this[_0xdfde[173]])};this[_0xdfde[187]]()};var _0x43d4x26=mxVertexHandler[_0xdfde[16]][_0xdfde[188]];mxVertexHandler[_0xdfde[16]][_0xdfde[188]]= function(){_0x43d4x26[_0xdfde[15]](this);this[_0xdfde[187]]()};mxVertexHandler[_0xdfde[16]][_0xdfde[187]]= function(){if(this[_0xdfde[119]]!= null&& this[_0xdfde[173]]!= null){if(mxVertexHandler[_0xdfde[16]][_0xdfde[189]]){this[_0xdfde[173]][_0xdfde[24]][_0xdfde[190]]= (this[_0xdfde[119]][_0xdfde[164]]+ this[_0xdfde[119]][_0xdfde[175]]- this[_0xdfde[173]][_0xdfde[191]]/ 2)+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[193]]= (this[_0xdfde[119]][_0xdfde[165]]- this[_0xdfde[173]][_0xdfde[194]]/ 2)+ _0xdfde[192]}else {this[_0xdfde[173]][_0xdfde[24]][_0xdfde[190]]= (this[_0xdfde[119]][_0xdfde[164]]+ this[_0xdfde[119]][_0xdfde[175]]+ mxConstants[_0xdfde[139]]/ 2+ 2)+ _0xdfde[192];this[_0xdfde[173]][_0xdfde[24]][_0xdfde[193]]= (this[_0xdfde[119]][_0xdfde[165]]+ (this[_0xdfde[119]][_0xdfde[177]]- this[_0xdfde[173]][_0xdfde[194]])/ 2)+ _0xdfde[192]}}};var _0x43d4x27=mxVertexHandler[_0xdfde[16]][_0xdfde[195]];mxVertexHandler[_0xdfde[16]][_0xdfde[195]]= function(_0x43d4x18,_0x43d4xb){_0x43d4x27[_0xdfde[15]](this,arguments);if(this[_0xdfde[173]]!= null){this[_0xdfde[173]][_0xdfde[197]][_0xdfde[196]](this[_0xdfde[173]]);this[_0xdfde[173]]= null}}}}})() \ 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 ebc4e5e..50db34d 100644 --- a/public/assets/plugins/square/js/Menus.js +++ b/public/assets/plugins/square/js/Menus.js @@ -1 +1 @@ -var _0xa455=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x6D\x65\x6E\x75\x73","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x56\x65\x72\x64\x61\x6E\x61","\x54\x69\x6D\x65\x73\x20\x4E\x65\x77\x20\x52\x6F\x6D\x61\x6E","\x47\x61\x72\x61\x6D\x6F\x6E\x64","\x43\x6F\x6D\x69\x63\x20\x53\x61\x6E\x73\x20\x4D\x53","\x43\x6F\x75\x72\x69\x65\x72\x20\x4E\x65\x77","\x47\x65\x6F\x72\x67\x69\x61","\x4C\x75\x63\x69\x64\x61\x20\x43\x6F\x6E\x73\x6F\x6C\x65","\x54\x61\x68\x6F\x6D\x61","\x6C\x65\x6E\x67\x74\x68","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x73\x74\x79\x6C\x65\x43\x68\x61\x6E\x67\x65","\x73\x74\x79\x6C\x65","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x63\x75\x73\x74\x6F\x6D","\x67\x65\x74","","\x70\x72\x6F\x6D\x70\x74\x43\x68\x61\x6E\x67\x65","\x62\x69\x6E\x64","\x70\x75\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x28\x70\x74\x29","\x31\x32","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x70\x78","\x53\x54\x59\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x28\x70\x78\x29","\x31","\x6C\x69\x6E\x65","\x73\x74\x72\x61\x69\x67\x68\x74","\x53\x54\x59\x4C\x45\x5F\x45\x44\x47\x45","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x65\x6C\x62\x6F\x77\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6D\x61\x6E\x75\x61\x6C","\x73\x65\x67\x6D\x65\x6E\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x61\x75\x74\x6F\x6D\x61\x74\x69\x63","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x63\x6C\x61\x73\x73\x69\x63","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x41\x52\x52\x4F\x57","\x41\x52\x52\x4F\x57\x5F\x43\x4C\x41\x53\x53\x49\x43","\x6F\x70\x65\x6E\x41\x72\x72\x6F\x77","\x41\x52\x52\x4F\x57\x5F\x4F\x50\x45\x4E","\x62\x6C\x6F\x63\x6B","\x41\x52\x52\x4F\x57\x5F\x42\x4C\x4F\x43\x4B","\x6F\x76\x61\x6C","\x41\x52\x52\x4F\x57\x5F\x4F\x56\x41\x4C","\x64\x69\x61\x6D\x6F\x6E\x64","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44","\x64\x69\x61\x6D\x6F\x6E\x64\x54\x68\x69\x6E","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44\x5F\x54\x48\x49\x4E","\x6E\x6F\x6E\x65","\x4E\x4F\x4E\x45","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x65\x6E\x64\x46\x69\x6C\x6C","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x61\x64\x64\x49\x74\x65\x6D","\x73\x69\x7A\x65","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x41\x52\x52\x4F\x57","\x73\x74\x61\x72\x74\x46\x69\x6C\x6C","\x73\x70\x61\x63\x69\x6E\x67","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x68\x61\x64\x6F\x77","\x61\x63\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x74\x6F\x70","\x30","\x72\x69\x67\x68\x74","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x67\x6C\x6F\x62\x61\x6C","\x70\x65\x72\x69\x6D\x65\x74\x65\x72","\x73\x6F\x75\x72\x63\x65\x53\x70\x61\x63\x69\x6E\x67","\x74\x61\x72\x67\x65\x74\x53\x70\x61\x63\x69\x6E\x67","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D","\x74\x65\x78\x74","\x61\x64\x64\x53\x75\x62\x6D\x65\x6E\x75","\x2D","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D\x73","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x77\x6F\x72\x64\x57\x72\x61\x70","\x74\x65\x78\x74\x4F\x70\x61\x63\x69\x74\x79","\x28\x25\x29","\x31\x30\x30","\x68\x69\x64\x65","\x6C\x65\x66\x74\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x4C\x45\x46\x54","\x63\x65\x6E\x74\x65\x72","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x72\x69\x67\x68\x74\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x74\x6F\x70\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x54\x4F\x50","\x6D\x69\x64\x64\x6C\x65","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x62\x6F\x74\x74\x6F\x6D\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x74\x69\x6C\x74","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x61\x6C\x69\x67\x6E","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73","\x6C\x61\x79\x6F\x75\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x46\x6C\x6F\x77","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x76\x65\x72\x74\x69\x63\x61\x6C\x46\x6C\x6F\x77","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x61\x72\x72\x61\x6E\x67\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x76\x69\x65\x77","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x25","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x66\x69\x74\x50\x61\x67\x65","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x66\x69\x6C\x65","\x6E\x65\x77","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x41\x73","\x70\x75\x62\x6C\x69\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x65\x64\x69\x74\x46\x69\x6C\x65","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x65\x64\x69\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x75\x74","\x63\x6F\x70\x79","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x68\x65\x6C\x70","\x61\x62\x6F\x75\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x65\x78\x65\x63\x75\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x20","\x70\x72\x6F\x6D\x70\x74","\x6C\x61\x62\x65\x6C","\x66\x75\x6E\x63\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x61\x64\x64\x43\x68\x65\x63\x6B\x6D\x61\x72\x6B","\x61\x64\x64\x53\x68\x6F\x72\x74\x63\x75\x74","\x73\x68\x6F\x72\x74\x63\x75\x74","\x73\x70\x61\x6E","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6F\x6C\x6F\x72","\x67\x72\x61\x79","\x77\x72\x69\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x32\x70\x78\x20\x35\x30\x25","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x73\x6D\x61\x72\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72\x73","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x69\x73\x45\x64\x67\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x62\x65\x6E\x64\x73","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x69\x76","\x20\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x4D\x65\x6E\x75","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x61\x70\x70\x6C\x79","\x64\x65\x73\x74\x72\x6F\x79","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6C\x69\x63\x6B","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74"];Menus= function(_0xaf86x1){this[_0xa455[0]]= _0xaf86x1;this[_0xa455[1]]= new Object();this[_0xa455[2]](); new Image()[_0xa455[3]]= IMAGE_PATH+ _0xa455[4]};Menus[_0xa455[5]][_0xa455[2]]= function(){var _0xaf86x2=this[_0xa455[0]][_0xa455[7]][_0xa455[6]];this[_0xa455[30]](_0xa455[8], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){var _0xaf86x5=[_0xa455[9],_0xa455[10],_0xa455[11],_0xa455[12],_0xa455[13],_0xa455[14],_0xa455[15],_0xa455[16],_0xa455[17]];for(var _0xaf86x6=0;_0xaf86x6< _0xaf86x5[_0xa455[18]];_0xaf86x6++){var _0xaf86x7=this[_0xa455[20]](_0xaf86x3,_0xaf86x5[_0xaf86x6],[mxConstants[_0xa455[19]]],[_0xaf86x5[_0xaf86x6]],null,_0xaf86x4);_0xaf86x7[_0xa455[23]][_0xa455[22]][_0xa455[21]][_0xa455[8]]= _0xaf86x5[_0xaf86x6]};_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[25]),_0xa455[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0xaf86x4)})));this[_0xa455[30]](_0xa455[31], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){var _0xaf86x8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0xaf86x6=0;_0xaf86x6< _0xaf86x8[_0xa455[18]];_0xaf86x6++){this[_0xa455[20]](_0xaf86x3,_0xaf86x8[_0xaf86x6],[mxConstants[_0xa455[32]]],[_0xaf86x8[_0xaf86x6]],null,_0xaf86x4)};_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[25]),_0xa455[33],_0xa455[34],mxConstants.STYLE_FONTSIZE,_0xaf86x4)})));this[_0xa455[30]](_0xa455[35], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){var _0xaf86x8=[1,2,3,4,8,12,16,24];for(var _0xaf86x6=0;_0xaf86x6< _0xaf86x8[_0xa455[18]];_0xaf86x6++){this[_0xa455[20]](_0xaf86x3,_0xaf86x8[_0xaf86x6]+ _0xa455[36],[mxConstants[_0xa455[37]]],[_0xaf86x8[_0xaf86x6]],null,_0xaf86x4)};_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[25]),_0xa455[38],_0xa455[39],mxConstants.STYLE_STROKEWIDTH,_0xaf86x4)})));this[_0xa455[30]](_0xa455[40], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[41]),[mxConstants[_0xa455[42]]],[null],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[43]),[mxConstants[_0xa455[42]]],[_0xa455[44]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[45]),[mxConstants[_0xa455[42]],mxConstants[_0xa455[46]]],[_0xa455[47],_0xa455[45]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[48]),[mxConstants[_0xa455[42]],mxConstants[_0xa455[46]]],[_0xa455[47],_0xa455[48]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[49]),[mxConstants[_0xa455[42]]],[_0xa455[50]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[51]),[mxConstants[_0xa455[42]]],[_0xa455[52]],null,_0xaf86x4)})));this[_0xa455[30]](_0xa455[53], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[54]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[56]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[57]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[58]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[59]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[60]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[61]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[62]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[63]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[64]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[65]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[66]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[67]),[mxConstants[_0xa455[55]]],[mxConstants[_0xa455[68]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[69]),null,function(){_0xaf86x2[_0xa455[71]](_0xa455[70],true)},_0xaf86x4,null,true);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[73]),_0xa455[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0xaf86x4)})));this[_0xa455[30]](_0xa455[74], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[54]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[56]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[57]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[58]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[59]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[60]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[61]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[62]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[63]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[64]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[65]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[66]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[67]),[mxConstants[_0xa455[75]]],[mxConstants[_0xa455[68]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[69]),null,function(){_0xaf86x2[_0xa455[71]](_0xa455[76],true)},_0xaf86x4,null,true);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[73]),_0xa455[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0xaf86x4)})));this[_0xa455[30]](_0xa455[77], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){var _0xaf86x9=this[_0xa455[0]][_0xa455[80]][_0xa455[26]](_0xa455[79])[_0xa455[78]];var _0xaf86xa=this[_0xa455[26]](_0xa455[40])[_0xa455[78]];if(_0xaf86x9|| _0xaf86x3[_0xa455[81]]){this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[82]),_0xa455[38],_0xa455[83],mxConstants.STYLE_SPACING_TOP,_0xaf86x4,_0xaf86x9);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[84]),_0xa455[38],_0xa455[83],mxConstants.STYLE_SPACING_RIGHT,_0xaf86x4,_0xaf86x9);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[85]),_0xa455[38],_0xa455[83],mxConstants.STYLE_SPACING_BOTTOM,_0xaf86x4,_0xaf86x9);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[86]),_0xa455[38],_0xa455[83],mxConstants.STYLE_SPACING_LEFT,_0xaf86x4,_0xaf86x9);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[87]),_0xa455[38],_0xa455[83],mxConstants.STYLE_SPACING,_0xaf86x4,_0xaf86x9);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[88]),_0xa455[38],_0xa455[83],mxConstants.STYLE_PERIMETER_SPACING,_0xaf86x4,_0xaf86x9)};if(_0xaf86xa|| _0xaf86x3[_0xa455[81]]){_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[89]),_0xa455[38],_0xa455[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0xaf86x4,_0xaf86xa);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[90]),_0xa455[38],_0xa455[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0xaf86x4,_0xaf86xa)}})));this[_0xa455[30]](_0xa455[91], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[92]](_0xaf86x3,_0xa455[21],_0xaf86x4)})));this[_0xa455[30]](_0xa455[93], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){var _0xaf86xb=this[_0xa455[26]](_0xa455[93])[_0xa455[78]];_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[94]](_0xa455[8],_0xaf86x3,_0xaf86x4);this[_0xa455[94]](_0xa455[31],_0xaf86x3,_0xaf86x4);this[_0xa455[99]](_0xaf86x3,[_0xa455[95],_0xa455[96],_0xa455[97],_0xa455[98],_0xa455[95]],_0xaf86x4);this[_0xa455[94]](_0xa455[100],_0xaf86x3,_0xaf86x4);this[_0xa455[92]](_0xaf86x3,_0xa455[101],_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[28]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[102]),_0xa455[103],_0xa455[104],mxConstants.STYLE_TEXT_OPACITY,_0xaf86x4,_0xaf86xb);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[105]),null,function(){_0xaf86x2[_0xa455[71]](mxConstants.STYLE_NOLABEL,false)},_0xaf86x4,null,_0xaf86xb)})));this[_0xa455[30]](_0xa455[100], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[106]),[mxConstants[_0xa455[107]]],[mxConstants[_0xa455[108]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[109]),[mxConstants[_0xa455[107]]],[mxConstants[_0xa455[110]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[111]),[mxConstants[_0xa455[107]]],[mxConstants[_0xa455[112]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[113]),[mxConstants[_0xa455[114]]],[mxConstants[_0xa455[115]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[116]),[mxConstants[_0xa455[114]]],[mxConstants[_0xa455[117]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[118]),[mxConstants[_0xa455[114]]],[mxConstants[_0xa455[119]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[94]](_0xa455[120],_0xaf86x3,_0xaf86x4);this[_0xa455[94]](_0xa455[77],_0xaf86x3,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);var _0xaf86xb=this[_0xa455[26]](_0xa455[93])[_0xa455[78]];_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[48]),null,function(){_0xaf86x2[_0xa455[71]](mxConstants.STYLE_HORIZONTAL,true)},_0xaf86x4,null,_0xaf86xb)})));this[_0xa455[30]](_0xa455[120], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[86]),[mxConstants[_0xa455[121]],mxConstants[_0xa455[107]]],[mxConstants[_0xa455[108]],mxConstants[_0xa455[112]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[109]),[mxConstants[_0xa455[121]],mxConstants[_0xa455[107]]],[mxConstants[_0xa455[110]],mxConstants[_0xa455[110]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[84]),[mxConstants[_0xa455[121]],mxConstants[_0xa455[107]]],[mxConstants[_0xa455[112]],mxConstants[_0xa455[108]]],null,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[82]),[mxConstants[_0xa455[122]],mxConstants[_0xa455[114]]],[mxConstants[_0xa455[115]],mxConstants[_0xa455[119]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[116]),[mxConstants[_0xa455[122]],mxConstants[_0xa455[114]]],[mxConstants[_0xa455[117]],mxConstants[_0xa455[117]]],null,_0xaf86x4);this[_0xa455[20]](_0xaf86x3,mxResources[_0xa455[26]](_0xa455[85]),[mxConstants[_0xa455[122]],mxConstants[_0xa455[114]]],[mxConstants[_0xa455[119]],mxConstants[_0xa455[115]]],null,_0xaf86x4)})));this[_0xa455[30]](_0xa455[123], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[124]),null,function(){_0xaf86x2[_0xa455[71]](mxConstants.STYLE_FLIPH,false)},_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[125]),null,function(){_0xaf86x2[_0xa455[71]](mxConstants.STYLE_FLIPV,false)},_0xaf86x4);this[_0xa455[99]](_0xaf86x3,[_0xa455[95],_0xa455[126],_0xa455[127]],_0xaf86x4)})));this[_0xa455[30]](_0xa455[128], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[106]),null,function(){_0xaf86x2[_0xa455[129]](mxConstants.ALIGN_LEFT)},_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[109]),null,function(){_0xaf86x2[_0xa455[129]](mxConstants.ALIGN_CENTER)},_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[111]),null,function(){_0xaf86x2[_0xa455[129]](mxConstants.ALIGN_RIGHT)},_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[113]),null,function(){_0xaf86x2[_0xa455[129]](mxConstants.ALIGN_TOP)},_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[116]),null,function(){_0xaf86x2[_0xa455[129]](mxConstants.ALIGN_MIDDLE)},_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[118]),null,function(){_0xaf86x2[_0xa455[129]](mxConstants.ALIGN_BOTTOM)},_0xaf86x4)})));this[_0xa455[30]](_0xa455[130], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[131]),null,mxUtils[_0xa455[29]](this,function(){var _0xaf86xc= new mxHierarchicalLayout(_0xaf86x2,mxConstants.DIRECTION_WEST);this[_0xa455[0]][_0xa455[132]](_0xaf86xc,true,true)}),_0xaf86x4);_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xa455[133]),null,mxUtils[_0xa455[29]](this,function(){var _0xaf86xc= new mxHierarchicalLayout(_0xaf86x2,mxConstants.DIRECTION_NORTH);this[_0xa455[0]][_0xa455[132]](_0xaf86xc,true,true)}),_0xaf86x4)})));this[_0xa455[30]](_0xa455[134], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[99]](_0xaf86x3,[_0xa455[135],_0xa455[95],_0xa455[136],_0xa455[137],_0xa455[95],_0xa455[138],_0xa455[139]],_0xaf86x4)})));this[_0xa455[30]](_0xa455[140], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[99]](_0xaf86x3,[_0xa455[141],_0xa455[142],_0xa455[95]],_0xaf86x4);this[_0xa455[94]](_0xa455[130],_0xaf86x3,_0xaf86x4);_0xaf86x3[_0xa455[24]](_0xaf86x4);this[_0xa455[99]](_0xaf86x3,[_0xa455[95],_0xa455[143],_0xa455[144],_0xa455[145]],_0xaf86x4)})));this[_0xa455[30]](_0xa455[146], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[99]](_0xaf86x3,[_0xa455[147]],_0xaf86x4);_0xaf86x3[_0xa455[24]]();var _0xaf86xd=[0.25,0.5,0.75,1,2,4];for(var _0xaf86x6=0;_0xaf86x6< _0xaf86xd[_0xa455[18]];_0xaf86x6++){(function(_0xaf86xe){_0xaf86x3[_0xa455[72]]((_0xaf86xe* 100)+ _0xa455[148],null,function(){_0xaf86x2[_0xa455[149]](_0xaf86xe)},_0xaf86x4)})(_0xaf86xd[_0xaf86x6])};this[_0xa455[99]](_0xaf86x3,[_0xa455[95],_0xa455[150],_0xa455[151],_0xa455[95],_0xa455[152],_0xa455[153],_0xa455[95],_0xa455[154],_0xa455[155]],_0xaf86x4)})));this[_0xa455[30]](_0xa455[156], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[99]](_0xaf86x3,[_0xa455[157],_0xa455[158],_0xa455[95],_0xa455[159],_0xa455[160],_0xa455[161],_0xa455[95],_0xa455[162],_0xa455[95],_0xa455[163],_0xa455[164],_0xa455[95],_0xa455[165],_0xa455[166],_0xa455[95],_0xa455[167]],_0xaf86x4)})));this[_0xa455[30]](_0xa455[168], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[99]](_0xaf86x3,[_0xa455[169],_0xa455[170],_0xa455[95],_0xa455[171],_0xa455[172],_0xa455[173],_0xa455[174],_0xa455[95],_0xa455[175],_0xa455[95],_0xa455[176],_0xa455[177],_0xa455[178]])})));this[_0xa455[30]](_0xa455[179], new Menu(mxUtils[_0xa455[29]](this,function(_0xaf86x3,_0xaf86x4){this[_0xa455[99]](_0xaf86x3,[_0xa455[179],_0xa455[95],_0xa455[180]])})))};Menus[_0xa455[5]][_0xa455[30]]= function(_0xaf86xf,_0xaf86x3){this[_0xa455[1]][_0xaf86xf]= _0xaf86x3};Menus[_0xa455[5]][_0xa455[26]]= function(_0xaf86xf){return this[_0xa455[1]][_0xaf86xf]};Menus[_0xa455[5]][_0xa455[94]]= function(_0xaf86xf,_0xaf86x3,_0xaf86x4){var _0xaf86xb=this[_0xa455[26]](_0xaf86xf)[_0xa455[78]];if(_0xaf86x3[_0xa455[81]]|| _0xaf86xb){var _0xaf86x10=_0xaf86x3[_0xa455[72]](mxResources[_0xa455[26]](_0xaf86xf),null,null,_0xaf86x4,null,_0xaf86xb);this[_0xa455[181]](_0xaf86xf,_0xaf86x3,_0xaf86x10)}};Menus[_0xa455[5]][_0xa455[181]]= function(_0xaf86xf,_0xaf86x11,_0xaf86x4){var _0xaf86x3=this[_0xa455[26]](_0xaf86xf);if(_0xaf86x3!= null&& (_0xaf86x11[_0xa455[81]]|| _0xaf86x3[_0xa455[78]])){this[_0xa455[26]](_0xaf86xf)[_0xa455[182]](_0xaf86x11,_0xaf86x4)}};Menus[_0xa455[5]][_0xa455[20]]= function(_0xaf86x3,_0xaf86x12,_0xaf86x13,_0xaf86x14,_0xaf86x15,_0xaf86x4){return _0xaf86x3[_0xa455[72]](_0xaf86x12,null,mxUtils[_0xa455[29]](this,function(){var _0xaf86x2=this[_0xa455[0]][_0xa455[7]][_0xa455[6]];_0xaf86x2[_0xa455[184]]()[_0xa455[183]]();try{for(var _0xaf86x6=0;_0xaf86x6< _0xaf86x13[_0xa455[18]];_0xaf86x6++){_0xaf86x2[_0xa455[185]](_0xaf86x13[_0xaf86x6],_0xaf86x14[_0xaf86x6])}}finally{_0xaf86x2[_0xa455[184]]()[_0xa455[186]]()}}),_0xaf86x4,_0xaf86x15)};Menus[_0xa455[5]][_0xa455[28]]= function(_0xaf86x3,_0xaf86x12,_0xaf86x16,_0xaf86x17,_0xaf86x18,_0xaf86x4,_0xaf86xb){return _0xaf86x3[_0xa455[72]](_0xaf86x12,null,mxUtils[_0xa455[29]](this,function(){var _0xaf86x2=this[_0xa455[0]][_0xa455[7]][_0xa455[6]];var _0xaf86x19=_0xaf86x17;var _0xaf86x1a=_0xaf86x2[_0xa455[189]]()[_0xa455[188]](_0xaf86x2[_0xa455[187]]());if(_0xaf86x1a!= null){_0xaf86x19= _0xaf86x1a[_0xa455[21]][_0xaf86x18]|| _0xaf86x19};_0xaf86x19= mxUtils[_0xa455[192]](mxResources[_0xa455[26]](_0xa455[190])+ ((_0xaf86x16[_0xa455[18]]> 0)?(_0xa455[191]+ _0xaf86x16):_0xa455[27]),_0xaf86x19);if(_0xaf86x19!= null&& _0xaf86x19[_0xa455[18]]> 0){_0xaf86x2[_0xa455[185]](_0xaf86x18,_0xaf86x19)}}),_0xaf86x4,null,_0xaf86xb)};Menus[_0xa455[5]][_0xa455[92]]= function(_0xaf86x3,_0xaf86x18,_0xaf86x4){var _0xaf86x1b=this[_0xa455[0]][_0xa455[80]][_0xa455[26]](_0xaf86x18);if(_0xaf86x1b!= null&& (_0xaf86x3[_0xa455[81]]|| _0xaf86x1b[_0xa455[78]])){var _0xaf86x1c=_0xaf86x3[_0xa455[72]](_0xaf86x1b[_0xa455[193]],null,_0xaf86x1b[_0xa455[194]],_0xaf86x4,null,_0xaf86x1b[_0xa455[78]]);if(_0xaf86x1b[_0xa455[195]]&& _0xaf86x1b[_0xa455[196]]()){this[_0xa455[197]](_0xaf86x1c)};this[_0xa455[198]](_0xaf86x1c,_0xaf86x1b);return _0xaf86x1c};return null};Menus[_0xa455[5]][_0xa455[198]]= function(_0xaf86x1c,_0xaf86x1b){if(_0xaf86x1b[_0xa455[199]]!= null){var _0xaf86x1d=_0xaf86x1c[_0xa455[23]][_0xa455[22]][_0xa455[22]];var _0xaf86x1e=document[_0xa455[201]](_0xa455[200]);_0xaf86x1e[_0xa455[21]][_0xa455[202]]= _0xa455[203];mxUtils[_0xa455[204]](_0xaf86x1e,_0xaf86x1b[_0xa455[199]]);_0xaf86x1d[_0xa455[205]](_0xaf86x1e)}};Menus[_0xa455[5]][_0xa455[197]]= function(_0xaf86x1c){var _0xaf86x1d=_0xaf86x1c[_0xa455[23]][_0xa455[22]];_0xaf86x1d[_0xa455[21]][_0xa455[206]]= _0xa455[207]+ IMAGE_PATH+ _0xa455[208];_0xaf86x1d[_0xa455[21]][_0xa455[209]]= _0xa455[210];_0xaf86x1d[_0xa455[21]][_0xa455[211]]= _0xa455[212]};Menus[_0xa455[5]][_0xa455[99]]= function(_0xaf86x3,_0xaf86x13,_0xaf86x4){for(var _0xaf86x6=0;_0xaf86x6< _0xaf86x13[_0xa455[18]];_0xaf86x6++){if(_0xaf86x13[_0xaf86x6]== _0xa455[95]){_0xaf86x3[_0xa455[24]](_0xaf86x4)}else {this[_0xa455[92]](_0xaf86x3,_0xaf86x13[_0xaf86x6],_0xaf86x4)}}};Menus[_0xa455[5]][_0xa455[213]]= function(_0xaf86x3,_0xaf86x1f,_0xaf86x20){var _0xaf86x2=this[_0xa455[0]][_0xa455[7]][_0xa455[6]];_0xaf86x3[_0xa455[214]]= true;if(_0xaf86x2[_0xa455[215]]()){this[_0xa455[99]](_0xaf86x3,[_0xa455[169],_0xa455[170],_0xa455[95],_0xa455[173],_0xa455[95]])}else {this[_0xa455[99]](_0xaf86x3,[_0xa455[174],_0xa455[95],_0xa455[171],_0xa455[172],_0xa455[95],_0xa455[175]]);if(_0xaf86x2[_0xa455[216]]()== 1&& _0xaf86x2[_0xa455[184]]()[_0xa455[217]](_0xaf86x2[_0xa455[187]]())){this[_0xa455[99]](_0xaf86x3,[_0xa455[218]])};_0xaf86x3[_0xa455[24]]()};if(_0xaf86x2[_0xa455[216]]()> 0){this[_0xa455[99]](_0xaf86x3,[_0xa455[141],_0xa455[142],_0xa455[95]]);if(_0xaf86x2[_0xa455[184]]()[_0xa455[217]](_0xaf86x2[_0xa455[187]]())){var _0xaf86x21=false;var _0xaf86x1f=_0xaf86x2[_0xa455[187]]();if(_0xaf86x1f!= null&& _0xaf86x2[_0xa455[184]]()[_0xa455[217]](_0xaf86x1f)){var _0xaf86x22=_0xaf86x2[_0xa455[220]][_0xa455[219]](_0xaf86x1f);if(_0xaf86x22 instanceof mxEdgeHandler&& _0xaf86x22[_0xa455[221]]!= null&& _0xaf86x22[_0xa455[221]][_0xa455[18]]> 2){var _0xaf86x23=_0xaf86x22[_0xa455[222]]( new mxMouseEvent(_0xaf86x20));var _0xaf86x24=this[_0xa455[0]][_0xa455[80]][_0xa455[26]](_0xa455[223]);_0xaf86x24[_0xa455[224]]= _0xaf86x22;_0xaf86x24[_0xa455[225]]= _0xaf86x23;_0xaf86x21= _0xaf86x23> 0&& _0xaf86x23< _0xaf86x22[_0xa455[221]][_0xa455[18]]}};this[_0xa455[99]](_0xaf86x3,[_0xa455[95],(_0xaf86x21)?_0xa455[223]:_0xa455[226]])}else {if(_0xaf86x2[_0xa455[216]]()> 1){_0xaf86x3[_0xa455[24]]();this[_0xa455[99]](_0xaf86x3,[_0xa455[143]])}};_0xaf86x3[_0xa455[24]]();if(_0xaf86x2[_0xa455[216]]()== 1){var _0xaf86x25=_0xaf86x2[_0xa455[227]](_0xaf86x2[_0xa455[187]]());if(_0xaf86x25!= null){this[_0xa455[99]](_0xaf86x3,[_0xa455[228]])}}}else {this[_0xa455[99]](_0xaf86x3,[_0xa455[95],_0xa455[176],_0xa455[177],_0xa455[95],_0xa455[178]])}};Menus[_0xa455[5]][_0xa455[229]]= function(_0xaf86x26){var _0xaf86x27= new Menubar(this[_0xa455[0]],_0xaf86x26);var _0xaf86x28=[_0xa455[156],_0xa455[168],_0xa455[146],_0xa455[91],_0xa455[93],_0xa455[140],_0xa455[179]];for(var _0xaf86x6=0;_0xaf86x6< _0xaf86x28[_0xa455[18]];_0xaf86x6++){_0xaf86x27[_0xa455[181]](mxResources[_0xa455[26]](_0xaf86x28[_0xaf86x6]),this[_0xa455[26]](_0xaf86x28[_0xaf86x6])[_0xa455[194]])};return _0xaf86x27};function Menubar(_0xaf86x1,_0xaf86x26){this[_0xa455[0]]= _0xaf86x1;this[_0xa455[230]]= _0xaf86x26;mxEvent[_0xa455[232]](document,mxUtils[_0xa455[29]](this,function(_0xaf86x20){this[_0xa455[231]]()}))}Menubar[_0xa455[5]][_0xa455[231]]= function(){if(this[_0xa455[233]]!= null){this[_0xa455[233]][_0xa455[231]]()}};Menubar[_0xa455[5]][_0xa455[181]]= function(_0xaf86x12,_0xaf86x2a){var _0xaf86x2b=document[_0xa455[201]](_0xa455[234]);_0xaf86x2b[_0xa455[237]](_0xa455[235],_0xa455[236]);_0xaf86x2b[_0xa455[238]]= _0xa455[239];mxUtils[_0xa455[204]](_0xaf86x2b,_0xaf86x12);this[_0xa455[240]](_0xaf86x2b,_0xaf86x2a);this[_0xa455[230]][_0xa455[205]](_0xaf86x2b);return _0xaf86x2b};Menubar[_0xa455[5]][_0xa455[240]]= function(_0xaf86x2b,_0xaf86x2a){if(_0xaf86x2a!= null){var _0xaf86x2c=true;var _0xaf86x2d=mxUtils[_0xa455[29]](this,function(_0xaf86x20){if(_0xaf86x2c&& _0xaf86x2b[_0xa455[78]]== null|| _0xaf86x2b[_0xa455[78]]){this[_0xa455[0]][_0xa455[7]][_0xa455[6]][_0xa455[241]][_0xa455[231]]();var _0xaf86x3= new mxPopupMenu(_0xaf86x2a);_0xaf86x3[_0xa455[242]][_0xa455[238]]+= _0xa455[243];_0xaf86x3[_0xa455[214]]= true;_0xaf86x3[_0xa455[81]]= true;_0xaf86x3[_0xa455[244]]= true;_0xaf86x3[_0xa455[231]]= mxUtils[_0xa455[29]](this,function(){mxPopupMenu[_0xa455[5]][_0xa455[231]][_0xa455[245]](_0xaf86x3,arguments);_0xaf86x3[_0xa455[246]]();this[_0xa455[233]]= null;this[_0xa455[247]]= null});var _0xaf86x2e=_0xaf86x2b[_0xa455[248]]+ document[_0xa455[251]](_0xa455[250])[_0xa455[249]]+ 22;var _0xaf86x2f=_0xaf86x2b[_0xa455[252]]+ _0xaf86x2b[_0xa455[253]]+ 140;_0xaf86x3[_0xa455[254]](_0xaf86x2e,_0xaf86x2f,null,_0xaf86x20);this[_0xa455[233]]= _0xaf86x3;this[_0xa455[247]]= _0xaf86x2b};_0xaf86x2c= true;mxEvent[_0xa455[255]](_0xaf86x20)});mxEvent[_0xa455[257]](_0xaf86x2b,_0xa455[256],mxUtils[_0xa455[29]](this,function(_0xaf86x20){if(this[_0xa455[233]]!= null&& this[_0xa455[247]]!= _0xaf86x2b){this[_0xa455[231]]();_0xaf86x2d(_0xaf86x20)}}));mxEvent[_0xa455[257]](_0xaf86x2b,_0xa455[258],mxUtils[_0xa455[29]](this,function(){_0xaf86x2c= this[_0xa455[247]]!= _0xaf86x2b}));mxEvent[_0xa455[257]](_0xaf86x2b,_0xa455[259],_0xaf86x2d)}};function Menu(_0xaf86x2a,_0xaf86xb){mxEventSource[_0xa455[260]](this);this[_0xa455[194]]= _0xaf86x2a;this[_0xa455[78]]= (_0xaf86xb!= null)?_0xaf86xb:true}mxUtils[_0xa455[261]](Menu,mxEventSource);Menu[_0xa455[5]][_0xa455[262]]= function(_0xaf86x19){if(this[_0xa455[78]]!= _0xaf86x19){this[_0xa455[78]]= _0xaf86x19;this[_0xa455[264]]( new mxEventObject(_0xa455[263]))}};Menu[_0xa455[5]][_0xa455[182]]= function(_0xaf86x3,_0xaf86x4){this[_0xa455[194]](_0xaf86x3,_0xaf86x4)} \ No newline at end of file +var _0x34fe=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x6D\x65\x6E\x75\x73","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x56\x65\x72\x64\x61\x6E\x61","\x54\x69\x6D\x65\x73\x20\x4E\x65\x77\x20\x52\x6F\x6D\x61\x6E","\x47\x61\x72\x61\x6D\x6F\x6E\x64","\x43\x6F\x6D\x69\x63\x20\x53\x61\x6E\x73\x20\x4D\x53","\x43\x6F\x75\x72\x69\x65\x72\x20\x4E\x65\x77","\x47\x65\x6F\x72\x67\x69\x61","\x4C\x75\x63\x69\x64\x61\x20\x43\x6F\x6E\x73\x6F\x6C\x65","\x54\x61\x68\x6F\x6D\x61","\x6C\x65\x6E\x67\x74\x68","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x73\x74\x79\x6C\x65\x43\x68\x61\x6E\x67\x65","\x73\x74\x79\x6C\x65","\x6E\x65\x78\x74\x53\x69\x62\x6C\x69\x6E\x67","\x66\x69\x72\x73\x74\x43\x68\x69\x6C\x64","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x63\x75\x73\x74\x6F\x6D","\x67\x65\x74","","\x70\x72\x6F\x6D\x70\x74\x43\x68\x61\x6E\x67\x65","\x62\x69\x6E\x64","\x70\x75\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x28\x70\x74\x29","\x31\x32","\x6C\x69\x6E\x65\x77\x69\x64\x74\x68","\x70\x78","\x53\x54\x59\x4C\x45\x5F\x53\x54\x52\x4F\x4B\x45\x57\x49\x44\x54\x48","\x28\x70\x78\x29","\x31","\x6C\x69\x6E\x65","\x73\x74\x72\x61\x69\x67\x68\x74","\x53\x54\x59\x4C\x45\x5F\x45\x44\x47\x45","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E","\x65\x6E\x74\x69\x74\x79\x52\x65\x6C\x61\x74\x69\x6F\x6E\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x53\x54\x59\x4C\x45\x5F\x45\x4C\x42\x4F\x57","\x65\x6C\x62\x6F\x77\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x76\x65\x72\x74\x69\x63\x61\x6C","\x6D\x61\x6E\x75\x61\x6C","\x73\x65\x67\x6D\x65\x6E\x74\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x61\x75\x74\x6F\x6D\x61\x74\x69\x63","\x6F\x72\x74\x68\x6F\x67\x6F\x6E\x61\x6C\x45\x64\x67\x65\x53\x74\x79\x6C\x65","\x6C\x69\x6E\x65\x65\x6E\x64","\x63\x6C\x61\x73\x73\x69\x63","\x53\x54\x59\x4C\x45\x5F\x45\x4E\x44\x41\x52\x52\x4F\x57","\x41\x52\x52\x4F\x57\x5F\x43\x4C\x41\x53\x53\x49\x43","\x6F\x70\x65\x6E\x41\x72\x72\x6F\x77","\x41\x52\x52\x4F\x57\x5F\x4F\x50\x45\x4E","\x62\x6C\x6F\x63\x6B","\x41\x52\x52\x4F\x57\x5F\x42\x4C\x4F\x43\x4B","\x6F\x76\x61\x6C","\x41\x52\x52\x4F\x57\x5F\x4F\x56\x41\x4C","\x64\x69\x61\x6D\x6F\x6E\x64","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44","\x64\x69\x61\x6D\x6F\x6E\x64\x54\x68\x69\x6E","\x41\x52\x52\x4F\x57\x5F\x44\x49\x41\x4D\x4F\x4E\x44\x5F\x54\x48\x49\x4E","\x6E\x6F\x6E\x65","\x4E\x4F\x4E\x45","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74","\x65\x6E\x64\x46\x69\x6C\x6C","\x74\x6F\x67\x67\x6C\x65\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x61\x64\x64\x49\x74\x65\x6D","\x73\x69\x7A\x65","\x6C\x69\x6E\x65\x73\x74\x61\x72\x74","\x53\x54\x59\x4C\x45\x5F\x53\x54\x41\x52\x54\x41\x52\x52\x4F\x57","\x73\x74\x61\x72\x74\x46\x69\x6C\x6C","\x73\x70\x61\x63\x69\x6E\x67","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x68\x61\x64\x6F\x77","\x61\x63\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x74\x6F\x70","\x30","\x72\x69\x67\x68\x74","\x62\x6F\x74\x74\x6F\x6D","\x6C\x65\x66\x74","\x67\x6C\x6F\x62\x61\x6C","\x70\x65\x72\x69\x6D\x65\x74\x65\x72","\x73\x6F\x75\x72\x63\x65\x53\x70\x61\x63\x69\x6E\x67","\x74\x61\x72\x67\x65\x74\x53\x70\x61\x63\x69\x6E\x67","\x66\x6F\x72\x6D\x61\x74","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D","\x74\x65\x78\x74","\x61\x64\x64\x53\x75\x62\x6D\x65\x6E\x75","\x2D","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x61\x64\x64\x4D\x65\x6E\x75\x49\x74\x65\x6D\x73","\x61\x6C\x69\x67\x6E\x6D\x65\x6E\x74","\x77\x6F\x72\x64\x57\x72\x61\x70","\x74\x65\x78\x74\x4F\x70\x61\x63\x69\x74\x79","\x28\x25\x29","\x31\x30\x30","\x68\x69\x64\x65","\x6C\x65\x66\x74\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x4C\x45\x46\x54","\x63\x65\x6E\x74\x65\x72","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x72\x69\x67\x68\x74\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x74\x6F\x70\x41\x6C\x69\x67\x6E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x41\x4C\x49\x47\x4E","\x41\x4C\x49\x47\x4E\x5F\x54\x4F\x50","\x6D\x69\x64\x64\x6C\x65","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x62\x6F\x74\x74\x6F\x6D\x41\x6C\x69\x67\x6E","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x53\x54\x59\x4C\x45\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x53\x54\x59\x4C\x45\x5F\x56\x45\x52\x54\x49\x43\x41\x4C\x5F\x4C\x41\x42\x45\x4C\x5F\x50\x4F\x53\x49\x54\x49\x4F\x4E","\x64\x69\x72\x65\x63\x74\x69\x6F\x6E","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x74\x69\x6C\x74","\x72\x6F\x74\x61\x74\x69\x6F\x6E","\x61\x6C\x69\x67\x6E","\x61\x6C\x69\x67\x6E\x43\x65\x6C\x6C\x73","\x6C\x61\x79\x6F\x75\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C\x46\x6C\x6F\x77","\x65\x78\x65\x63\x75\x74\x65\x4C\x61\x79\x6F\x75\x74","\x76\x65\x72\x74\x69\x63\x61\x6C\x46\x6C\x6F\x77","\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E","\x68\x6F\x6D\x65","\x65\x78\x69\x74\x47\x72\x6F\x75\x70","\x65\x6E\x74\x65\x72\x47\x72\x6F\x75\x70","\x65\x78\x70\x61\x6E\x64","\x63\x6F\x6C\x6C\x61\x70\x73\x65","\x61\x72\x72\x61\x6E\x67\x65","\x74\x6F\x46\x72\x6F\x6E\x74","\x74\x6F\x42\x61\x63\x6B","\x67\x72\x6F\x75\x70","\x75\x6E\x67\x72\x6F\x75\x70","\x72\x65\x6D\x6F\x76\x65\x46\x72\x6F\x6D\x47\x72\x6F\x75\x70","\x76\x69\x65\x77","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x25","\x7A\x6F\x6F\x6D\x54\x6F","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x66\x69\x74\x57\x69\x6E\x64\x6F\x77","\x63\x75\x73\x74\x6F\x6D\x5A\x6F\x6F\x6D","\x66\x69\x74\x50\x61\x67\x65","\x66\x69\x74\x50\x61\x67\x65\x57\x69\x64\x74\x68","\x66\x69\x6C\x65","\x6E\x65\x77","\x6F\x70\x65\x6E","\x73\x61\x76\x65","\x73\x61\x76\x65\x41\x73","\x70\x75\x62\x6C\x69\x73\x68","\x76\x61\x72\x69\x61\x62\x6C\x65","\x69\x6D\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x65\x64\x69\x74\x46\x69\x6C\x65","\x72\x65\x6E\x61\x6D\x65","\x70\x72\x69\x6E\x74","\x65\x64\x69\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x75\x74","\x63\x6F\x70\x79","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x73\x65\x6C\x65\x63\x74\x56\x65\x72\x74\x69\x63\x65\x73","\x73\x65\x6C\x65\x63\x74\x45\x64\x67\x65\x73","\x73\x65\x6C\x65\x63\x74\x41\x6C\x6C","\x68\x65\x6C\x70","\x61\x62\x6F\x75\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x65\x78\x65\x63\x75\x74\x65","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x65\x6E\x74\x65\x72\x56\x61\x6C\x75\x65","\x20","\x70\x72\x6F\x6D\x70\x74","\x6C\x61\x62\x65\x6C","\x66\x75\x6E\x63\x74","\x74\x6F\x67\x67\x6C\x65\x41\x63\x74\x69\x6F\x6E","\x69\x73\x53\x65\x6C\x65\x63\x74\x65\x64","\x61\x64\x64\x43\x68\x65\x63\x6B\x6D\x61\x72\x6B","\x61\x64\x64\x53\x68\x6F\x72\x74\x63\x75\x74","\x73\x68\x6F\x72\x74\x63\x75\x74","\x73\x70\x61\x6E","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6F\x6C\x6F\x72","\x67\x72\x61\x79","\x77\x72\x69\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x2F\x63\x68\x65\x63\x6B\x6D\x61\x72\x6B\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x32\x70\x78\x20\x35\x30\x25","\x63\x72\x65\x61\x74\x65\x50\x6F\x70\x75\x70\x4D\x65\x6E\x75","\x73\x6D\x61\x72\x74\x53\x65\x70\x61\x72\x61\x74\x6F\x72\x73","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x6F\x75\x6E\x74","\x69\x73\x45\x64\x67\x65","\x73\x65\x74\x41\x73\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x72","\x73\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73\x48\x61\x6E\x64\x6C\x65\x72","\x62\x65\x6E\x64\x73","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x72\x65\x6D\x6F\x76\x65\x57\x61\x79\x70\x6F\x69\x6E\x74","\x68\x61\x6E\x64\x6C\x65\x72","\x69\x6E\x64\x65\x78","\x61\x64\x64\x57\x61\x79\x70\x6F\x69\x6E\x74","\x67\x65\x74\x4C\x69\x6E\x6B\x46\x6F\x72\x43\x65\x6C\x6C","\x6F\x70\x65\x6E\x4C\x69\x6E\x6B","\x63\x72\x65\x61\x74\x65\x4D\x65\x6E\x75\x62\x61\x72","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x49\x74\x65\x6D","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x64\x69\x76","\x20\x67\x65\x4D\x65\x6E\x75\x62\x61\x72\x4D\x65\x6E\x75","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x61\x70\x70\x6C\x79","\x64\x65\x73\x74\x72\x6F\x79","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x63\x6C\x69\x63\x6B","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x66\x69\x72\x65\x45\x76\x65\x6E\x74"];Menus= function(_0x2f66x1){this[_0x34fe[0]]= _0x2f66x1;this[_0x34fe[1]]= new Object();this[_0x34fe[2]](); new Image()[_0x34fe[3]]= IMAGE_PATH+ _0x34fe[4]};Menus[_0x34fe[5]][_0x34fe[2]]= function(){var _0x2f66x2=this[_0x34fe[0]][_0x34fe[7]][_0x34fe[6]];this[_0x34fe[30]](_0x34fe[8], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){var _0x2f66x5=[_0x34fe[9],_0x34fe[10],_0x34fe[11],_0x34fe[12],_0x34fe[13],_0x34fe[14],_0x34fe[15],_0x34fe[16],_0x34fe[17]];for(var _0x2f66x6=0;_0x2f66x6< _0x2f66x5[_0x34fe[18]];_0x2f66x6++){var _0x2f66x7=this[_0x34fe[20]](_0x2f66x3,_0x2f66x5[_0x2f66x6],[mxConstants[_0x34fe[19]]],[_0x2f66x5[_0x2f66x6]],null,_0x2f66x4);_0x2f66x7[_0x34fe[23]][_0x34fe[22]][_0x34fe[21]][_0x34fe[8]]= _0x2f66x5[_0x2f66x6]};_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[25]),_0x34fe[27],mxConstants.DEFAULT_FONTFAMILY,mxConstants.STYLE_FONTFAMILY,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[31], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){var _0x2f66x8=[6,8,9,10,11,12,14,18,24,36,48,72];for(var _0x2f66x6=0;_0x2f66x6< _0x2f66x8[_0x34fe[18]];_0x2f66x6++){this[_0x34fe[20]](_0x2f66x3,_0x2f66x8[_0x2f66x6],[mxConstants[_0x34fe[32]]],[_0x2f66x8[_0x2f66x6]],null,_0x2f66x4)};_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[25]),_0x34fe[33],_0x34fe[34],mxConstants.STYLE_FONTSIZE,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[35], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){var _0x2f66x8=[1,2,3,4,8,12,16,24];for(var _0x2f66x6=0;_0x2f66x6< _0x2f66x8[_0x34fe[18]];_0x2f66x6++){this[_0x34fe[20]](_0x2f66x3,_0x2f66x8[_0x2f66x6]+ _0x34fe[36],[mxConstants[_0x34fe[37]]],[_0x2f66x8[_0x2f66x6]],null,_0x2f66x4)};_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[25]),_0x34fe[38],_0x34fe[39],mxConstants.STYLE_STROKEWIDTH,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[40], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[41]),[mxConstants[_0x34fe[42]]],[null],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[43]),[mxConstants[_0x34fe[42]]],[_0x34fe[44]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[45]),[mxConstants[_0x34fe[42]],mxConstants[_0x34fe[46]]],[_0x34fe[47],_0x34fe[45]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[48]),[mxConstants[_0x34fe[42]],mxConstants[_0x34fe[46]]],[_0x34fe[47],_0x34fe[48]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[49]),[mxConstants[_0x34fe[42]]],[_0x34fe[50]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[51]),[mxConstants[_0x34fe[42]]],[_0x34fe[52]],null,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[53], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[54]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[56]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[57]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[58]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[59]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[60]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[61]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[62]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[63]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[64]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[65]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[66]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[67]),[mxConstants[_0x34fe[55]]],[mxConstants[_0x34fe[68]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[69]),null,function(){_0x2f66x2[_0x34fe[71]](_0x34fe[70],true)},_0x2f66x4,null,true);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[73]),_0x34fe[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_ENDSIZE,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[74], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[54]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[56]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[57]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[58]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[59]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[60]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[61]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[62]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[63]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[64]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[65]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[66]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[67]),[mxConstants[_0x34fe[75]]],[mxConstants[_0x34fe[68]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[69]),null,function(){_0x2f66x2[_0x34fe[71]](_0x34fe[76],true)},_0x2f66x4,null,true);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[73]),_0x34fe[38],mxConstants.DEFAULT_MARKERSIZE,mxConstants.STYLE_STARTSIZE,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[77], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){var _0x2f66x9=this[_0x34fe[0]][_0x34fe[80]][_0x34fe[26]](_0x34fe[79])[_0x34fe[78]];var _0x2f66xa=this[_0x34fe[26]](_0x34fe[40])[_0x34fe[78]];if(_0x2f66x9|| _0x2f66x3[_0x34fe[81]]){this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[82]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_SPACING_TOP,_0x2f66x4,_0x2f66x9);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[84]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_SPACING_RIGHT,_0x2f66x4,_0x2f66x9);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[85]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_SPACING_BOTTOM,_0x2f66x4,_0x2f66x9);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[86]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_SPACING_LEFT,_0x2f66x4,_0x2f66x9);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[87]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_SPACING,_0x2f66x4,_0x2f66x9);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[88]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_PERIMETER_SPACING,_0x2f66x4,_0x2f66x9)};if(_0x2f66xa|| _0x2f66x3[_0x34fe[81]]){_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[89]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_SOURCE_PERIMETER_SPACING,_0x2f66x4,_0x2f66xa);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[90]),_0x34fe[38],_0x34fe[83],mxConstants.STYLE_TARGET_PERIMETER_SPACING,_0x2f66x4,_0x2f66xa)}})));this[_0x34fe[30]](_0x34fe[91], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[92]](_0x2f66x3,_0x34fe[21],_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[93], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){var _0x2f66xb=this[_0x34fe[26]](_0x34fe[93])[_0x34fe[78]];_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[94]](_0x34fe[8],_0x2f66x3,_0x2f66x4);this[_0x34fe[94]](_0x34fe[31],_0x2f66x3,_0x2f66x4);this[_0x34fe[99]](_0x2f66x3,[_0x34fe[95],_0x34fe[96],_0x34fe[97],_0x34fe[98],_0x34fe[95]],_0x2f66x4);this[_0x34fe[94]](_0x34fe[100],_0x2f66x3,_0x2f66x4);this[_0x34fe[92]](_0x2f66x3,_0x34fe[101],_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[28]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[102]),_0x34fe[103],_0x34fe[104],mxConstants.STYLE_TEXT_OPACITY,_0x2f66x4,_0x2f66xb);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[105]),null,function(){_0x2f66x2[_0x34fe[71]](mxConstants.STYLE_NOLABEL,false)},_0x2f66x4,null,_0x2f66xb)})));this[_0x34fe[30]](_0x34fe[100], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[106]),[mxConstants[_0x34fe[107]]],[mxConstants[_0x34fe[108]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[109]),[mxConstants[_0x34fe[107]]],[mxConstants[_0x34fe[110]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[111]),[mxConstants[_0x34fe[107]]],[mxConstants[_0x34fe[112]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[113]),[mxConstants[_0x34fe[114]]],[mxConstants[_0x34fe[115]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[116]),[mxConstants[_0x34fe[114]]],[mxConstants[_0x34fe[117]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[118]),[mxConstants[_0x34fe[114]]],[mxConstants[_0x34fe[119]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[94]](_0x34fe[120],_0x2f66x3,_0x2f66x4);this[_0x34fe[94]](_0x34fe[77],_0x2f66x3,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);var _0x2f66xb=this[_0x34fe[26]](_0x34fe[93])[_0x34fe[78]];_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[48]),null,function(){_0x2f66x2[_0x34fe[71]](mxConstants.STYLE_HORIZONTAL,true)},_0x2f66x4,null,_0x2f66xb)})));this[_0x34fe[30]](_0x34fe[120], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[86]),[mxConstants[_0x34fe[121]],mxConstants[_0x34fe[107]]],[mxConstants[_0x34fe[108]],mxConstants[_0x34fe[112]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[109]),[mxConstants[_0x34fe[121]],mxConstants[_0x34fe[107]]],[mxConstants[_0x34fe[110]],mxConstants[_0x34fe[110]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[84]),[mxConstants[_0x34fe[121]],mxConstants[_0x34fe[107]]],[mxConstants[_0x34fe[112]],mxConstants[_0x34fe[108]]],null,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[82]),[mxConstants[_0x34fe[122]],mxConstants[_0x34fe[114]]],[mxConstants[_0x34fe[115]],mxConstants[_0x34fe[119]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[116]),[mxConstants[_0x34fe[122]],mxConstants[_0x34fe[114]]],[mxConstants[_0x34fe[117]],mxConstants[_0x34fe[117]]],null,_0x2f66x4);this[_0x34fe[20]](_0x2f66x3,mxResources[_0x34fe[26]](_0x34fe[85]),[mxConstants[_0x34fe[122]],mxConstants[_0x34fe[114]]],[mxConstants[_0x34fe[119]],mxConstants[_0x34fe[115]]],null,_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[123], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[124]),null,function(){_0x2f66x2[_0x34fe[71]](mxConstants.STYLE_FLIPH,false)},_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[125]),null,function(){_0x2f66x2[_0x34fe[71]](mxConstants.STYLE_FLIPV,false)},_0x2f66x4);this[_0x34fe[99]](_0x2f66x3,[_0x34fe[95],_0x34fe[126],_0x34fe[127]],_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[128], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[106]),null,function(){_0x2f66x2[_0x34fe[129]](mxConstants.ALIGN_LEFT)},_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[109]),null,function(){_0x2f66x2[_0x34fe[129]](mxConstants.ALIGN_CENTER)},_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[111]),null,function(){_0x2f66x2[_0x34fe[129]](mxConstants.ALIGN_RIGHT)},_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[113]),null,function(){_0x2f66x2[_0x34fe[129]](mxConstants.ALIGN_TOP)},_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[116]),null,function(){_0x2f66x2[_0x34fe[129]](mxConstants.ALIGN_MIDDLE)},_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[118]),null,function(){_0x2f66x2[_0x34fe[129]](mxConstants.ALIGN_BOTTOM)},_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[130], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[131]),null,mxUtils[_0x34fe[29]](this,function(){var _0x2f66xc= new mxHierarchicalLayout(_0x2f66x2,mxConstants.DIRECTION_WEST);this[_0x34fe[0]][_0x34fe[132]](_0x2f66xc,true,true)}),_0x2f66x4);_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x34fe[133]),null,mxUtils[_0x34fe[29]](this,function(){var _0x2f66xc= new mxHierarchicalLayout(_0x2f66x2,mxConstants.DIRECTION_NORTH);this[_0x34fe[0]][_0x34fe[132]](_0x2f66xc,true,true)}),_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[134], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[135],_0x34fe[95],_0x34fe[136],_0x34fe[137],_0x34fe[95],_0x34fe[138],_0x34fe[139]],_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[140], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[141],_0x34fe[142],_0x34fe[95]],_0x2f66x4);this[_0x34fe[94]](_0x34fe[130],_0x2f66x3,_0x2f66x4);_0x2f66x3[_0x34fe[24]](_0x2f66x4);this[_0x34fe[99]](_0x2f66x3,[_0x34fe[95],_0x34fe[143],_0x34fe[144],_0x34fe[145]],_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[146], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[147]],_0x2f66x4);_0x2f66x3[_0x34fe[24]]();var _0x2f66xd=[0.25,0.5,0.75,1,2,4];for(var _0x2f66x6=0;_0x2f66x6< _0x2f66xd[_0x34fe[18]];_0x2f66x6++){(function(_0x2f66xe){_0x2f66x3[_0x34fe[72]]((_0x2f66xe* 100)+ _0x34fe[148],null,function(){_0x2f66x2[_0x34fe[149]](_0x2f66xe)},_0x2f66x4)})(_0x2f66xd[_0x2f66x6])};this[_0x34fe[99]](_0x2f66x3,[_0x34fe[95],_0x34fe[150],_0x34fe[151],_0x34fe[95],_0x34fe[152],_0x34fe[153],_0x34fe[95],_0x34fe[154],_0x34fe[155]],_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[156], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[157],_0x34fe[158],_0x34fe[95],_0x34fe[159],_0x34fe[160],_0x34fe[161],_0x34fe[95],_0x34fe[162],_0x34fe[95],_0x34fe[163],_0x34fe[164],_0x34fe[95],_0x34fe[165],_0x34fe[166],_0x34fe[95],_0x34fe[167]],_0x2f66x4)})));this[_0x34fe[30]](_0x34fe[168], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[169],_0x34fe[170],_0x34fe[95],_0x34fe[171],_0x34fe[172],_0x34fe[173],_0x34fe[174],_0x34fe[95],_0x34fe[175],_0x34fe[95],_0x34fe[176],_0x34fe[177],_0x34fe[178]])})));this[_0x34fe[30]](_0x34fe[179], new Menu(mxUtils[_0x34fe[29]](this,function(_0x2f66x3,_0x2f66x4){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[179],_0x34fe[95],_0x34fe[180]])})))};Menus[_0x34fe[5]][_0x34fe[30]]= function(_0x2f66xf,_0x2f66x3){this[_0x34fe[1]][_0x2f66xf]= _0x2f66x3};Menus[_0x34fe[5]][_0x34fe[26]]= function(_0x2f66xf){return this[_0x34fe[1]][_0x2f66xf]};Menus[_0x34fe[5]][_0x34fe[94]]= function(_0x2f66xf,_0x2f66x3,_0x2f66x4){var _0x2f66xb=this[_0x34fe[26]](_0x2f66xf)[_0x34fe[78]];if(_0x2f66x3[_0x34fe[81]]|| _0x2f66xb){var _0x2f66x10=_0x2f66x3[_0x34fe[72]](mxResources[_0x34fe[26]](_0x2f66xf),null,null,_0x2f66x4,null,_0x2f66xb);this[_0x34fe[181]](_0x2f66xf,_0x2f66x3,_0x2f66x10)}};Menus[_0x34fe[5]][_0x34fe[181]]= function(_0x2f66xf,_0x2f66x11,_0x2f66x4){var _0x2f66x3=this[_0x34fe[26]](_0x2f66xf);if(_0x2f66x3!= null&& (_0x2f66x11[_0x34fe[81]]|| _0x2f66x3[_0x34fe[78]])){this[_0x34fe[26]](_0x2f66xf)[_0x34fe[182]](_0x2f66x11,_0x2f66x4)}};Menus[_0x34fe[5]][_0x34fe[20]]= function(_0x2f66x3,_0x2f66x12,_0x2f66x13,_0x2f66x14,_0x2f66x15,_0x2f66x4){return _0x2f66x3[_0x34fe[72]](_0x2f66x12,null,mxUtils[_0x34fe[29]](this,function(){var _0x2f66x2=this[_0x34fe[0]][_0x34fe[7]][_0x34fe[6]];_0x2f66x2[_0x34fe[184]]()[_0x34fe[183]]();try{for(var _0x2f66x6=0;_0x2f66x6< _0x2f66x13[_0x34fe[18]];_0x2f66x6++){_0x2f66x2[_0x34fe[185]](_0x2f66x13[_0x2f66x6],_0x2f66x14[_0x2f66x6])}}finally{_0x2f66x2[_0x34fe[184]]()[_0x34fe[186]]()}}),_0x2f66x4,_0x2f66x15)};Menus[_0x34fe[5]][_0x34fe[28]]= function(_0x2f66x3,_0x2f66x12,_0x2f66x16,_0x2f66x17,_0x2f66x18,_0x2f66x4,_0x2f66xb){return _0x2f66x3[_0x34fe[72]](_0x2f66x12,null,mxUtils[_0x34fe[29]](this,function(){var _0x2f66x2=this[_0x34fe[0]][_0x34fe[7]][_0x34fe[6]];var _0x2f66x19=_0x2f66x17;var _0x2f66x1a=_0x2f66x2[_0x34fe[189]]()[_0x34fe[188]](_0x2f66x2[_0x34fe[187]]());if(_0x2f66x1a!= null){_0x2f66x19= _0x2f66x1a[_0x34fe[21]][_0x2f66x18]|| _0x2f66x19};_0x2f66x19= mxUtils[_0x34fe[192]](mxResources[_0x34fe[26]](_0x34fe[190])+ ((_0x2f66x16[_0x34fe[18]]> 0)?(_0x34fe[191]+ _0x2f66x16):_0x34fe[27]),_0x2f66x19);if(_0x2f66x19!= null&& _0x2f66x19[_0x34fe[18]]> 0){_0x2f66x2[_0x34fe[185]](_0x2f66x18,_0x2f66x19)}}),_0x2f66x4,null,_0x2f66xb)};Menus[_0x34fe[5]][_0x34fe[92]]= function(_0x2f66x3,_0x2f66x18,_0x2f66x4){var _0x2f66x1b=this[_0x34fe[0]][_0x34fe[80]][_0x34fe[26]](_0x2f66x18);if(_0x2f66x1b!= null&& (_0x2f66x3[_0x34fe[81]]|| _0x2f66x1b[_0x34fe[78]])){var _0x2f66x1c=_0x2f66x3[_0x34fe[72]](_0x2f66x1b[_0x34fe[193]],null,_0x2f66x1b[_0x34fe[194]],_0x2f66x4,null,_0x2f66x1b[_0x34fe[78]]);if(_0x2f66x1b[_0x34fe[195]]&& _0x2f66x1b[_0x34fe[196]]()){this[_0x34fe[197]](_0x2f66x1c)};this[_0x34fe[198]](_0x2f66x1c,_0x2f66x1b);return _0x2f66x1c};return null};Menus[_0x34fe[5]][_0x34fe[198]]= function(_0x2f66x1c,_0x2f66x1b){if(_0x2f66x1b[_0x34fe[199]]!= null){var _0x2f66x1d=_0x2f66x1c[_0x34fe[23]][_0x34fe[22]][_0x34fe[22]];var _0x2f66x1e=document[_0x34fe[201]](_0x34fe[200]);_0x2f66x1e[_0x34fe[21]][_0x34fe[202]]= _0x34fe[203];mxUtils[_0x34fe[204]](_0x2f66x1e,_0x2f66x1b[_0x34fe[199]]);_0x2f66x1d[_0x34fe[205]](_0x2f66x1e)}};Menus[_0x34fe[5]][_0x34fe[197]]= function(_0x2f66x1c){var _0x2f66x1d=_0x2f66x1c[_0x34fe[23]][_0x34fe[22]];_0x2f66x1d[_0x34fe[21]][_0x34fe[206]]= _0x34fe[207]+ IMAGE_PATH+ _0x34fe[208];_0x2f66x1d[_0x34fe[21]][_0x34fe[209]]= _0x34fe[210];_0x2f66x1d[_0x34fe[21]][_0x34fe[211]]= _0x34fe[212]};Menus[_0x34fe[5]][_0x34fe[99]]= function(_0x2f66x3,_0x2f66x13,_0x2f66x4){for(var _0x2f66x6=0;_0x2f66x6< _0x2f66x13[_0x34fe[18]];_0x2f66x6++){if(_0x2f66x13[_0x2f66x6]== _0x34fe[95]){_0x2f66x3[_0x34fe[24]](_0x2f66x4)}else {this[_0x34fe[92]](_0x2f66x3,_0x2f66x13[_0x2f66x6],_0x2f66x4)}}};Menus[_0x34fe[5]][_0x34fe[213]]= function(_0x2f66x3,_0x2f66x1f,_0x2f66x20){var _0x2f66x2=this[_0x34fe[0]][_0x34fe[7]][_0x34fe[6]];_0x2f66x3[_0x34fe[214]]= true;if(_0x2f66x2[_0x34fe[215]]()){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[169],_0x34fe[170],_0x34fe[95],_0x34fe[173],_0x34fe[95]])}else {this[_0x34fe[99]](_0x2f66x3,[_0x34fe[174],_0x34fe[95],_0x34fe[171],_0x34fe[172],_0x34fe[95],_0x34fe[175]]);if(_0x2f66x2[_0x34fe[216]]()== 1&& _0x2f66x2[_0x34fe[184]]()[_0x34fe[217]](_0x2f66x2[_0x34fe[187]]())){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[218]])};_0x2f66x3[_0x34fe[24]]()};if(_0x2f66x2[_0x34fe[216]]()> 0){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[141],_0x34fe[142],_0x34fe[95]]);if(_0x2f66x2[_0x34fe[184]]()[_0x34fe[217]](_0x2f66x2[_0x34fe[187]]())){var _0x2f66x21=false;var _0x2f66x1f=_0x2f66x2[_0x34fe[187]]();if(_0x2f66x1f!= null&& _0x2f66x2[_0x34fe[184]]()[_0x34fe[217]](_0x2f66x1f)){var _0x2f66x22=_0x2f66x2[_0x34fe[220]][_0x34fe[219]](_0x2f66x1f);if(_0x2f66x22 instanceof mxEdgeHandler&& _0x2f66x22[_0x34fe[221]]!= null&& _0x2f66x22[_0x34fe[221]][_0x34fe[18]]> 2){var _0x2f66x23=_0x2f66x22[_0x34fe[222]]( new mxMouseEvent(_0x2f66x20));var _0x2f66x24=this[_0x34fe[0]][_0x34fe[80]][_0x34fe[26]](_0x34fe[223]);_0x2f66x24[_0x34fe[224]]= _0x2f66x22;_0x2f66x24[_0x34fe[225]]= _0x2f66x23;_0x2f66x21= _0x2f66x23> 0&& _0x2f66x23< _0x2f66x22[_0x34fe[221]][_0x34fe[18]]}};this[_0x34fe[99]](_0x2f66x3,[_0x34fe[95],(_0x2f66x21)?_0x34fe[223]:_0x34fe[226]])}else {if(_0x2f66x2[_0x34fe[216]]()> 1){_0x2f66x3[_0x34fe[24]]();this[_0x34fe[99]](_0x2f66x3,[_0x34fe[143]])}};_0x2f66x3[_0x34fe[24]]();if(_0x2f66x2[_0x34fe[216]]()== 1){var _0x2f66x25=_0x2f66x2[_0x34fe[227]](_0x2f66x2[_0x34fe[187]]());if(_0x2f66x25!= null){this[_0x34fe[99]](_0x2f66x3,[_0x34fe[228]])}}}else {this[_0x34fe[99]](_0x2f66x3,[_0x34fe[95],_0x34fe[176],_0x34fe[177],_0x34fe[95],_0x34fe[178]])}};Menus[_0x34fe[5]][_0x34fe[229]]= function(_0x2f66x26){var _0x2f66x27= new Menubar(this[_0x34fe[0]],_0x2f66x26);var _0x2f66x28=[_0x34fe[156],_0x34fe[168],_0x34fe[146],_0x34fe[91],_0x34fe[93],_0x34fe[140],_0x34fe[179]];for(var _0x2f66x6=0;_0x2f66x6< _0x2f66x28[_0x34fe[18]];_0x2f66x6++){_0x2f66x27[_0x34fe[181]](mxResources[_0x34fe[26]](_0x2f66x28[_0x2f66x6]),this[_0x34fe[26]](_0x2f66x28[_0x2f66x6])[_0x34fe[194]])};return _0x2f66x27};function Menubar(_0x2f66x1,_0x2f66x26){this[_0x34fe[0]]= _0x2f66x1;this[_0x34fe[230]]= _0x2f66x26;mxEvent[_0x34fe[232]](document,mxUtils[_0x34fe[29]](this,function(_0x2f66x20){this[_0x34fe[231]]()}))}Menubar[_0x34fe[5]][_0x34fe[231]]= function(){if(this[_0x34fe[233]]!= null){this[_0x34fe[233]][_0x34fe[231]]()}};Menubar[_0x34fe[5]][_0x34fe[181]]= function(_0x2f66x12,_0x2f66x2a){var _0x2f66x2b=document[_0x34fe[201]](_0x34fe[234]);_0x2f66x2b[_0x34fe[237]](_0x34fe[235],_0x34fe[236]);_0x2f66x2b[_0x34fe[238]]= _0x34fe[239];mxUtils[_0x34fe[204]](_0x2f66x2b,_0x2f66x12);this[_0x34fe[240]](_0x2f66x2b,_0x2f66x2a);this[_0x34fe[230]][_0x34fe[205]](_0x2f66x2b);return _0x2f66x2b};Menubar[_0x34fe[5]][_0x34fe[240]]= function(_0x2f66x2b,_0x2f66x2a){if(_0x2f66x2a!= null){var _0x2f66x2c=true;var _0x2f66x2d=mxUtils[_0x34fe[29]](this,function(_0x2f66x20){if(_0x2f66x2c&& _0x2f66x2b[_0x34fe[78]]== null|| _0x2f66x2b[_0x34fe[78]]){this[_0x34fe[0]][_0x34fe[7]][_0x34fe[6]][_0x34fe[241]][_0x34fe[231]]();var _0x2f66x3= new mxPopupMenu(_0x2f66x2a);_0x2f66x3[_0x34fe[242]][_0x34fe[238]]+= _0x34fe[243];_0x2f66x3[_0x34fe[214]]= true;_0x2f66x3[_0x34fe[81]]= true;_0x2f66x3[_0x34fe[244]]= true;_0x2f66x3[_0x34fe[231]]= mxUtils[_0x34fe[29]](this,function(){mxPopupMenu[_0x34fe[5]][_0x34fe[231]][_0x34fe[245]](_0x2f66x3,arguments);_0x2f66x3[_0x34fe[246]]();this[_0x34fe[233]]= null;this[_0x34fe[247]]= null});var _0x2f66x2e=_0x2f66x2b[_0x34fe[248]]+ document[_0x34fe[251]](_0x34fe[250])[_0x34fe[249]]+ 22;var _0x2f66x2f=_0x2f66x2b[_0x34fe[252]]+ _0x2f66x2b[_0x34fe[253]]+ 140;_0x2f66x3[_0x34fe[254]](_0x2f66x2e,_0x2f66x2f,null,_0x2f66x20);this[_0x34fe[233]]= _0x2f66x3;this[_0x34fe[247]]= _0x2f66x2b};_0x2f66x2c= true;mxEvent[_0x34fe[255]](_0x2f66x20)});mxEvent[_0x34fe[257]](_0x2f66x2b,_0x34fe[256],mxUtils[_0x34fe[29]](this,function(_0x2f66x20){if(this[_0x34fe[233]]!= null&& this[_0x34fe[247]]!= _0x2f66x2b){this[_0x34fe[231]]();_0x2f66x2d(_0x2f66x20)}}));mxEvent[_0x34fe[257]](_0x2f66x2b,_0x34fe[258],mxUtils[_0x34fe[29]](this,function(){_0x2f66x2c= this[_0x34fe[247]]!= _0x2f66x2b}));mxEvent[_0x34fe[257]](_0x2f66x2b,_0x34fe[259],_0x2f66x2d)}};function Menu(_0x2f66x2a,_0x2f66xb){mxEventSource[_0x34fe[260]](this);this[_0x34fe[194]]= _0x2f66x2a;this[_0x34fe[78]]= (_0x2f66xb!= null)?_0x2f66xb:true}mxUtils[_0x34fe[261]](Menu,mxEventSource);Menu[_0x34fe[5]][_0x34fe[262]]= function(_0x2f66x19){if(this[_0x34fe[78]]!= _0x2f66x19){this[_0x34fe[78]]= _0x2f66x19;this[_0x34fe[264]]( new mxEventObject(_0x34fe[263]))}};Menu[_0x34fe[5]][_0x34fe[182]]= function(_0x2f66x3,_0x2f66x4){this[_0x34fe[194]](_0x2f66x3,_0x2f66x4)} \ 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 c88123b..9ade855 100644 --- a/public/assets/plugins/square/js/Shapes.js +++ b/public/assets/plugins/square/js/Shapes.js @@ -1 +1 @@ -var _0x2847=["\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x73\x69\x7A\x65","\x72\x65\x64\x72\x61\x77\x50\x61\x74\x68","\x73\x74\x79\x6C\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x6D\x69\x6E","\x6D\x6F\x76\x65\x54\x6F","\x6C\x69\x6E\x65\x54\x6F","\x65\x6E\x64","\x63\x6C\x6F\x73\x65","\x63\x75\x62\x65","\x64\x65\x66\x61\x75\x6C\x74\x53\x68\x61\x70\x65\x73","\x6E\x6F\x74\x65","\x74\x61\x62\x57\x69\x64\x74\x68","\x74\x61\x62\x48\x65\x69\x67\x68\x74","\x74\x61\x62\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x72\x69\x67\x68\x74","\x6C\x65\x66\x74","\x66\x6F\x6C\x64\x65\x72","\x63\x61\x72\x64","\x71\x75\x61\x64\x54\x6F","\x74\x61\x70\x65","\x73\x74\x65\x70","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x69\x73\x48\x74\x6D\x6C\x41\x6C\x6C\x6F\x77\x65\x64","\x70\x61\x69\x6E\x74\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x62\x65\x67\x69\x6E","\x73\x74\x72\x6F\x6B\x65","\x61\x70\x70\x6C\x79","\x70\x6C\x75\x73","\x64\x6F\x75\x62\x6C\x65","\x73\x74\x72\x6F\x6B\x65\x77\x69\x64\x74\x68","\x6D\x61\x78","\x70\x61\x69\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x73\x65\x74\x44\x61\x73\x68\x65\x64","\x73\x79\x6D\x62\x6F\x6C","\x41\x6C\x69\x67\x6E","\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x57\x69\x64\x74\x68","\x48\x65\x69\x67\x68\x74","\x53\x70\x61\x63\x69\x6E\x67","\x41\x72\x63\x53\x70\x61\x63\x69\x6E\x67","\x67\x65\x74\x41\x72\x63\x53\x69\x7A\x65","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x73\x61\x76\x65","\x70\x61\x69\x6E\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x72\x65\x73\x74\x6F\x72\x65","\x65\x78\x74","\x6D\x65\x73\x73\x61\x67\x65","\x61\x64\x64\x50\x69\x70\x65","\x63\x75\x72\x76\x65\x54\x6F","\x75\x6D\x6C\x41\x63\x74\x6F\x72","\x6C\x6F\x6C\x6C\x69\x70\x6F\x70","\x6A\x65\x74\x74\x79\x57\x69\x64\x74\x68","\x6A\x65\x74\x74\x79\x48\x65\x69\x67\x68\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x6F\x75\x74\x65\x72\x53\x74\x72\x6F\x6B\x65","\x65\x6C\x6C\x69\x70\x73\x65","\x66\x69\x6C\x6C\x41\x6E\x64\x53\x74\x72\x6F\x6B\x65","\x73\x65\x74\x53\x68\x61\x64\x6F\x77","\x65\x6E\x64\x53\x74\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x74\x61\x74\x65","\x69\x6E\x69\x74\x53\x68\x61\x70\x65\x73","\x78","\x79","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x73\x68\x61\x70\x65\x73","\x70\x61\x69\x6E\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x6C\x65\x6E\x67\x74\x68","\x73\x71\x72\x74","\x6C\x69\x6E\x6B","\x64\x61\x73\x68","\x61\x64\x64\x4D\x61\x72\x6B\x65\x72","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x75\x73\x65\x47\x72\x69\x64\x46\x6F\x72\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x69\x6E\x69\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x74\x61\x74\x65","\x67\x72\x61\x70\x68","\x76\x69\x65\x77","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x73\x72\x63","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x44\x49\x41\x4C\x45\x43\x54\x5F\x56\x4D\x4C","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x74\x56\x69\x65\x77","\x63\x75\x72\x73\x6F\x72","\x6E\x6F\x64\x65","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x43\x75\x72\x73\x6F\x72","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x64\x65\x66\x61\x75\x6C\x74","\x72\x65\x64\x72\x61\x77","\x62\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x42\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x6F\x75\x72\x63\x65","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x50\x6F\x69\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64\x45\x76\x65\x6E\x74","\x73\x63\x61\x6C\x65","\x73\x6E\x61\x70","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65","\x6D\x6F\x76\x65\x53\x69\x7A\x65\x72\x54\x6F","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x55\x70","\x61\x70\x70\x6C\x79\x53\x74\x79\x6C\x65","\x72\x65\x73\x65\x74","\x67\x65\x74\x53\x68\x61\x70\x65\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x73\x68\x61\x70\x65","\x74\x6F\x52\x61\x64\x69\x61\x6E\x73","\x63\x6F\x73","\x73\x69\x6E","\x69\x73\x50\x61\x69\x6E\x74\x42\x6F\x75\x6E\x64\x73\x49\x6E\x76\x65\x72\x74\x65\x64","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x50\x6F\x69\x6E\x74","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x58","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x59","\x67\x65\x74\x52\x6F\x74\x61\x74\x65\x64\x50\x6F\x69\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65\x55\x6E\x72\x6F\x74\x61\x74\x65\x64","\x72\x6F\x75\x6E\x64","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x63\x65\x6C\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x69\x7A\x65","\x64\x65\x66\x61\x75\x6C\x74\x56\x61\x6C\x75\x65","\x73\x63\x61\x6C\x65\x46\x61\x63\x74\x6F\x72","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x41\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x73\x74\x65\x6E\x63\x69\x6C","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73"];(function(){function _0x5623x1(){}_0x5623x1[_0x2847[0]]= new mxCylinder();_0x5623x1[_0x2847[0]][_0x2847[1]]= _0x5623x1;_0x5623x1[_0x2847[0]][_0x2847[2]]= 20;_0x5623x1[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x8=Math[_0x2847[6]](_0x5623x5,Math[_0x2847[6]](_0x5623x6,mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[2],this[_0x2847[2]])));if(_0x5623x7){_0x5623x2[_0x2847[7]](_0x5623x8,_0x5623x6);_0x5623x2[_0x2847[8]](_0x5623x8,_0x5623x8);_0x5623x2[_0x2847[8]](0,0);_0x5623x2[_0x2847[7]](_0x5623x8,_0x5623x8);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x8);_0x5623x2[_0x2847[9]]()}else {_0x5623x2[_0x2847[7]](0,0);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623x8,0);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x8);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[8]](_0x5623x8,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x6- _0x5623x8);_0x5623x2[_0x2847[8]](0,0);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[11]]= _0x5623x1;function _0x5623x9(){}_0x5623x9[_0x2847[0]]= new mxCylinder();_0x5623x9[_0x2847[0]][_0x2847[1]]= _0x5623x9;_0x5623x9[_0x2847[0]][_0x2847[2]]= 30;_0x5623x9[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x8=Math[_0x2847[6]](_0x5623x5,Math[_0x2847[6]](_0x5623x6,mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[2],this[_0x2847[2]])));if(_0x5623x7){_0x5623x2[_0x2847[7]](_0x5623x5- _0x5623x8,0);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623x8,_0x5623x8);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x8);_0x5623x2[_0x2847[9]]()}else {_0x5623x2[_0x2847[7]](0,0);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623x8,0);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x8);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x6);_0x5623x2[_0x2847[8]](0,0);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[13]]= _0x5623x9;function _0x5623xa(){}_0x5623xa[_0x2847[0]]= new mxCylinder();_0x5623xa[_0x2847[0]][_0x2847[1]]= _0x5623xa;_0x5623xa[_0x2847[0]][_0x2847[14]]= 60;_0x5623xa[_0x2847[0]][_0x2847[15]]= 20;_0x5623xa[_0x2847[0]][_0x2847[16]]= _0x2847[17];_0x5623xa[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623xb=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[14],this[_0x2847[14]]);var _0x5623xc=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[15],this[_0x2847[15]]);var _0x5623xd=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[16],this[_0x2847[16]]);var _0x5623xe=Math[_0x2847[6]](_0x5623x5,_0x5623xb);var _0x5623xf=Math[_0x2847[6]](_0x5623x6,_0x5623xc);if(_0x5623x7){if(_0x5623xd== _0x2847[18]){_0x5623x2[_0x2847[7]](0,_0x5623xf);_0x5623x2[_0x2847[8]](_0x5623xe,_0x5623xf)}else {_0x5623x2[_0x2847[7]](_0x5623x5- _0x5623xe,_0x5623xf);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623xf)};_0x5623x2[_0x2847[9]]()}else {if(_0x5623xd== _0x2847[18]){_0x5623x2[_0x2847[7]](0,0);_0x5623x2[_0x2847[8]](_0x5623xe,0);_0x5623x2[_0x2847[8]](_0x5623xe,_0x5623xf);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623xf)}else {_0x5623x2[_0x2847[7]](0,_0x5623xf);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623xe,_0x5623xf);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623xe,0);_0x5623x2[_0x2847[8]](_0x5623x5,0)};_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623xf);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[19]]= _0x5623xa;function _0x5623x10(){}_0x5623x10[_0x2847[0]]= new mxCylinder();_0x5623x10[_0x2847[0]][_0x2847[1]]= _0x5623x10;_0x5623x10[_0x2847[0]][_0x2847[2]]= 30;_0x5623x10[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x8=Math[_0x2847[6]](_0x5623x5,Math[_0x2847[6]](_0x5623x6,mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[2],this[_0x2847[2]])));if(!_0x5623x7){_0x5623x2[_0x2847[7]](_0x5623x8,0);_0x5623x2[_0x2847[8]](_0x5623x5,0);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x8);_0x5623x2[_0x2847[8]](_0x5623x8,0);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[20]]= _0x5623x10;function _0x5623x11(){}_0x5623x11[_0x2847[0]]= new mxCylinder();_0x5623x11[_0x2847[0]][_0x2847[1]]= _0x5623x11;_0x5623x11[_0x2847[0]][_0x2847[2]]= 0.4;_0x5623x11[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x8=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[2],this[_0x2847[2]]);var _0x5623xf=_0x5623x6* _0x5623x8;var _0x5623x12=1.4;if(!_0x5623x7){_0x5623x2[_0x2847[7]](0,_0x5623xf/ 2);_0x5623x2[_0x2847[21]](_0x5623x5/ 4,_0x5623xf* _0x5623x12,_0x5623x5/ 2,_0x5623xf/ 2);_0x5623x2[_0x2847[21]](_0x5623x5* 3/ 4,_0x5623xf* (1- _0x5623x12),_0x5623x5,_0x5623xf/ 2);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6- _0x5623xf/ 2);_0x5623x2[_0x2847[21]](_0x5623x5* 3/ 4,_0x5623x6- _0x5623xf* _0x5623x12,_0x5623x5/ 2,_0x5623x6- _0x5623xf/ 2);_0x5623x2[_0x2847[21]](_0x5623x5/ 4,_0x5623x6- _0x5623xf* (1- _0x5623x12),0,_0x5623x6- _0x5623xf/ 2);_0x5623x2[_0x2847[8]](0,_0x5623xf/ 2);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[22]]= _0x5623x11;function _0x5623x13(){}_0x5623x13[_0x2847[0]]= new mxCylinder();_0x5623x13[_0x2847[0]][_0x2847[1]]= _0x5623x13;_0x5623x13[_0x2847[0]][_0x2847[2]]= 0.2;_0x5623x13[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x8=_0x5623x5* mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[2],this[_0x2847[2]]);if(!_0x5623x7){_0x5623x2[_0x2847[7]](0,0);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623x8,0);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6/ 2);_0x5623x2[_0x2847[8]](_0x5623x5- _0x5623x8,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x6);_0x5623x2[_0x2847[8]](_0x5623x8,_0x5623x6/ 2);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[23]]= _0x5623x13;function _0x5623x14(){mxRectangleShape[_0x2847[24]](this)}mxUtils[_0x2847[25]](_0x5623x14,mxRectangleShape);_0x5623x14[_0x2847[0]][_0x2847[26]]= function(){return false};_0x5623x14[_0x2847[0]][_0x2847[27]]= function(_0x5623x15,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6){var _0x5623x16=Math[_0x2847[6]](_0x5623x5/ 5,_0x5623x6/ 5)+ 1;_0x5623x15[_0x2847[28]]();_0x5623x15[_0x2847[7]](_0x5623x3+ _0x5623x5/ 2,_0x5623x4+ _0x5623x16);_0x5623x15[_0x2847[8]](_0x5623x3+ _0x5623x5/ 2,_0x5623x4+ _0x5623x6- _0x5623x16);_0x5623x15[_0x2847[7]](_0x5623x3+ _0x5623x16,_0x5623x4+ _0x5623x6/ 2);_0x5623x15[_0x2847[8]](_0x5623x3+ _0x5623x5- _0x5623x16,_0x5623x4+ _0x5623x6/ 2);_0x5623x15[_0x2847[9]]();_0x5623x15[_0x2847[29]]();mxRectangleShape[_0x2847[0]][_0x2847[27]][_0x2847[30]](this,arguments)};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[31]]= _0x5623x14;function _0x5623x17(){mxRectangleShape[_0x2847[24]](this)}mxUtils[_0x2847[25]](_0x5623x17,mxRectangleShape);_0x5623x17[_0x2847[0]][_0x2847[26]]= function(){return false};_0x5623x17[_0x2847[0]][_0x2847[27]]= function(_0x5623x15,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6){if(this[_0x2847[4]]!= null){if(this[_0x2847[4]][_0x2847[32]]== 1){var _0x5623x18=Math[_0x2847[34]](2,this[_0x2847[33]]+ 1);mxRectangleShape[_0x2847[0]][_0x2847[35]][_0x2847[24]](this,_0x5623x15,_0x5623x3+ _0x5623x18,_0x5623x4+ _0x5623x18,_0x5623x5- 2* _0x5623x18,_0x5623x6- 2* _0x5623x18);mxRectangleShape[_0x2847[0]][_0x2847[27]][_0x2847[30]](this,arguments);_0x5623x3+= _0x5623x18;_0x5623x4+= _0x5623x18;_0x5623x5-= 2* _0x5623x18;_0x5623x6-= 2* _0x5623x18};_0x5623x15[_0x2847[36]](false);var _0x5623x19=0;var _0x5623x1a=null;do{_0x5623x1a= mxCellRenderer[_0x2847[0]][_0x2847[12]][this[_0x2847[4]][_0x2847[37]+ _0x5623x19]];if(_0x5623x1a!= null){var _0x5623x1b=this[_0x2847[4]][_0x2847[37]+ _0x5623x19+ _0x2847[38]];var _0x5623x1c=this[_0x2847[4]][_0x2847[37]+ _0x5623x19+ _0x2847[39]];var _0x5623x1d=this[_0x2847[4]][_0x2847[37]+ _0x5623x19+ _0x2847[40]];var _0x5623x1e=this[_0x2847[4]][_0x2847[37]+ _0x5623x19+ _0x2847[41]];var _0x5623x1f=this[_0x2847[4]][_0x2847[37]+ _0x5623x19+ _0x2847[42]]|| 0;var _0x5623x20=this[_0x2847[4]][_0x2847[37]+ _0x5623x19+ _0x2847[43]];if(_0x5623x20!= null){_0x5623x1f+= this[_0x2847[44]](_0x5623x5+ this[_0x2847[33]],_0x5623x6+ this[_0x2847[33]])* _0x5623x20};var _0x5623x21=_0x5623x3;var _0x5623x22=_0x5623x4;if(_0x5623x1b== mxConstants[_0x2847[45]]){_0x5623x21+= (_0x5623x5- _0x5623x1d)/ 2}else {if(_0x5623x1b== mxConstants[_0x2847[46]]){_0x5623x21+= _0x5623x5- _0x5623x1d- _0x5623x1f}else {_0x5623x21+= _0x5623x1f}};if(_0x5623x1c== mxConstants[_0x2847[47]]){_0x5623x22+= (_0x5623x6- _0x5623x1e)/ 2}else {if(_0x5623x1c== mxConstants[_0x2847[48]]){_0x5623x22+= _0x5623x6- _0x5623x1e- _0x5623x1f}else {_0x5623x22+= _0x5623x1f}};_0x5623x15[_0x2847[49]]();var _0x5623x23= new _0x5623x1a();_0x5623x23[_0x2847[4]]= this[_0x2847[4]];_0x5623x1a[_0x2847[0]][_0x2847[50]][_0x2847[24]](_0x5623x23,_0x5623x15,_0x5623x21,_0x5623x22,_0x5623x1d,_0x5623x1e);_0x5623x15[_0x2847[51]]()};_0x5623x19++}while(_0x5623x1a!= null);}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[52]]= _0x5623x17;function _0x5623x24(){}_0x5623x24[_0x2847[0]]= new mxCylinder();_0x5623x24[_0x2847[0]][_0x2847[1]]= _0x5623x24;_0x5623x24[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){if(_0x5623x7){_0x5623x2[_0x2847[7]](0,0);_0x5623x2[_0x2847[8]](_0x5623x5/ 2,_0x5623x6/ 2);_0x5623x2[_0x2847[8]](_0x5623x5,0);_0x5623x2[_0x2847[9]]()}else {_0x5623x2[_0x2847[7]](0,0);_0x5623x2[_0x2847[8]](_0x5623x5,0);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[8]](0,_0x5623x6);_0x5623x2[_0x2847[10]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[53]]= _0x5623x24;function _0x5623x25(){}_0x5623x25[_0x2847[0]]= new mxCylinder();_0x5623x25[_0x2847[0]][_0x2847[1]]= _0x5623x25;_0x5623x25[_0x2847[0]][_0x2847[54]]= true;_0x5623x25[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x1d=_0x5623x5/ 3;var _0x5623x1e=_0x5623x6/ 4;if(!_0x5623x7){_0x5623x2[_0x2847[7]](_0x5623x5/ 2,_0x5623x1e);_0x5623x2[_0x2847[55]](_0x5623x5/ 2- _0x5623x1d,_0x5623x1e,_0x5623x5/ 2- _0x5623x1d,0,_0x5623x5/ 2,0);_0x5623x2[_0x2847[55]](_0x5623x5/ 2+ _0x5623x1d,0,_0x5623x5/ 2+ _0x5623x1d,_0x5623x1e,_0x5623x5/ 2,_0x5623x1e);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[7]](_0x5623x5/ 2,_0x5623x1e);_0x5623x2[_0x2847[8]](_0x5623x5/ 2,2* _0x5623x6/ 3);_0x5623x2[_0x2847[7]](_0x5623x5/ 2,_0x5623x6/ 3);_0x5623x2[_0x2847[8]](0,_0x5623x6/ 3);_0x5623x2[_0x2847[7]](_0x5623x5/ 2,_0x5623x6/ 3);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6/ 3);_0x5623x2[_0x2847[7]](_0x5623x5/ 2,2* _0x5623x6/ 3);_0x5623x2[_0x2847[8]](0,_0x5623x6);_0x5623x2[_0x2847[7]](_0x5623x5/ 2,2* _0x5623x6/ 3);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[56]]= _0x5623x25;function _0x5623x26(){}_0x5623x26[_0x2847[0]]= new mxCylinder();_0x5623x26[_0x2847[0]][_0x2847[1]]= _0x5623x26;_0x5623x26[_0x2847[0]][_0x2847[2]]= 10;_0x5623x26[_0x2847[0]][_0x2847[54]]= true;_0x5623x26[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623x27=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[2],this[_0x2847[2]]);var _0x5623x1d=_0x5623x27* 2/ 3;var _0x5623x1e=_0x5623x27;if(!_0x5623x7){_0x5623x2[_0x2847[7]](_0x5623x5/ 2,_0x5623x1e);_0x5623x2[_0x2847[55]](_0x5623x5/ 2- _0x5623x1d,_0x5623x1e,_0x5623x5/ 2- _0x5623x1d,0,_0x5623x5/ 2,0);_0x5623x2[_0x2847[55]](_0x5623x5/ 2+ _0x5623x1d,0,_0x5623x5/ 2+ _0x5623x1d,_0x5623x1e,_0x5623x5/ 2,_0x5623x1e);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[7]](_0x5623x5/ 2,_0x5623x1e);_0x5623x2[_0x2847[8]](_0x5623x5/ 2,_0x5623x6);_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[57]]= _0x5623x26;function _0x5623x28(){}_0x5623x28[_0x2847[0]]= new mxCylinder();_0x5623x28[_0x2847[0]][_0x2847[1]]= _0x5623x28;_0x5623x28[_0x2847[0]][_0x2847[58]]= 32;_0x5623x28[_0x2847[0]][_0x2847[59]]= 12;_0x5623x28[_0x2847[0]][_0x2847[3]]= function(_0x5623x2,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6,_0x5623x7){var _0x5623xe=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[58],this[_0x2847[58]]);var _0x5623xf=mxUtils[_0x2847[5]](this[_0x2847[4]],_0x2847[59],this[_0x2847[59]]);var _0x5623x29=_0x5623xe/ 2;var _0x5623x2a=_0x5623x29+ _0x5623xe/ 2;var _0x5623x2b=0.3* _0x5623x6- _0x5623xf/ 2;var _0x5623x2c=0.7* _0x5623x6- _0x5623xf/ 2;if(_0x5623x7){_0x5623x2[_0x2847[7]](_0x5623x29,_0x5623x2b);_0x5623x2[_0x2847[8]](_0x5623x2a,_0x5623x2b);_0x5623x2[_0x2847[8]](_0x5623x2a,_0x5623x2b+ _0x5623xf);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x2b+ _0x5623xf);_0x5623x2[_0x2847[7]](_0x5623x29,_0x5623x2c);_0x5623x2[_0x2847[8]](_0x5623x2a,_0x5623x2c);_0x5623x2[_0x2847[8]](_0x5623x2a,_0x5623x2c+ _0x5623xf);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x2c+ _0x5623xf);_0x5623x2[_0x2847[9]]()}else {_0x5623x2[_0x2847[7]](_0x5623x29,0);_0x5623x2[_0x2847[8]](_0x5623x5,0);_0x5623x2[_0x2847[8]](_0x5623x5,_0x5623x6);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x6);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x2c+ _0x5623xf);_0x5623x2[_0x2847[8]](0,_0x5623x2c+ _0x5623xf);_0x5623x2[_0x2847[8]](0,_0x5623x2c);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x2c);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x2b+ _0x5623xf);_0x5623x2[_0x2847[8]](0,_0x5623x2b+ _0x5623xf);_0x5623x2[_0x2847[8]](0,_0x5623x2b);_0x5623x2[_0x2847[8]](_0x5623x29,_0x5623x2b);_0x5623x2[_0x2847[10]]();_0x5623x2[_0x2847[9]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[60]]= _0x5623x28;function _0x5623x2d(){}_0x5623x2d[_0x2847[0]]= new mxDoubleEllipse();_0x5623x2d[_0x2847[0]][_0x2847[1]]= _0x5623x2d;_0x5623x2d[_0x2847[0]][_0x2847[61]]= true;_0x5623x2d[_0x2847[0]][_0x2847[50]]= function(_0x5623x15,_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6){var _0x5623x18=Math[_0x2847[6]](4,Math[_0x2847[6]](_0x5623x5/ 5,_0x5623x6/ 5));if(_0x5623x5> 0&& _0x5623x6> 0){_0x5623x15[_0x2847[62]](_0x5623x3+ _0x5623x18,_0x5623x4+ _0x5623x18,_0x5623x5- 2* _0x5623x18,_0x5623x6- 2* _0x5623x18);_0x5623x15[_0x2847[63]]()};_0x5623x15[_0x2847[64]](false);if(this[_0x2847[61]]){_0x5623x15[_0x2847[62]](_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6);_0x5623x15[_0x2847[29]]()}};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[65]]= _0x5623x2d;function _0x5623x2e(){}_0x5623x2e[_0x2847[0]]= new _0x5623x2d();_0x5623x2e[_0x2847[0]][_0x2847[1]]= _0x5623x2e;_0x5623x2e[_0x2847[0]][_0x2847[61]]= false;mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[66]]= _0x5623x2e;var _0x5623x2f=mxImageExport[_0x2847[0]][_0x2847[67]];mxImageExport[_0x2847[0]][_0x2847[67]]= function(){_0x5623x2f[_0x2847[30]](this,arguments);function _0x5623x30(_0x5623x31){return {drawShape:function(_0x5623x32,_0x5623x33,_0x5623x34,_0x5623x35){var _0x5623x3=_0x5623x34[_0x2847[68]];var _0x5623x4=_0x5623x34[_0x2847[69]];var _0x5623x5=_0x5623x34[_0x2847[70]];var _0x5623x6=_0x5623x34[_0x2847[71]];if(_0x5623x35){var _0x5623x18=Math[_0x2847[6]](4,Math[_0x2847[6]](_0x5623x5/ 5,_0x5623x6/ 5));_0x5623x3+= _0x5623x18;_0x5623x4+= _0x5623x18;_0x5623x5-= 2* _0x5623x18;_0x5623x6-= 2* _0x5623x18;if(_0x5623x5> 0&& _0x5623x6> 0){_0x5623x32[_0x2847[62]](_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6)};return true}else {_0x5623x32[_0x2847[63]]();if(_0x5623x31){_0x5623x32[_0x2847[62]](_0x5623x3,_0x5623x4,_0x5623x5,_0x5623x6);_0x5623x32[_0x2847[29]]()}}}}}this[_0x2847[72]][_0x2847[65]]= _0x5623x30(true);this[_0x2847[72]][_0x2847[66]]= _0x5623x30(false)};function _0x5623x36(){mxArrow[_0x2847[24]](this)}mxUtils[_0x2847[25]](_0x5623x36,mxArrow);_0x5623x36[_0x2847[0]][_0x2847[73]]= function(_0x5623x15,_0x5623x37){var _0x5623x1d=10;var _0x5623x38=_0x5623x37[0];var _0x5623x39=_0x5623x37[_0x5623x37[_0x2847[74]]- 1];var _0x5623xe=_0x5623x39[_0x2847[68]]- _0x5623x38[_0x2847[68]];var _0x5623xf=_0x5623x39[_0x2847[69]]- _0x5623x38[_0x2847[69]];var _0x5623x3a=Math[_0x2847[75]](_0x5623xe* _0x5623xe+ _0x5623xf* _0x5623xf);var _0x5623x3b=_0x5623x3a;var _0x5623x3c=_0x5623xe/ _0x5623x3a;var _0x5623x3d=_0x5623xf/ _0x5623x3a;var _0x5623x3e=_0x5623x3b* _0x5623x3c;var _0x5623x3f=_0x5623x3b* _0x5623x3d;var _0x5623x40=_0x5623x1d* _0x5623x3d/ 3;var _0x5623x41=-_0x5623x1d* _0x5623x3c/ 3;var _0x5623x42=_0x5623x38[_0x2847[68]]- _0x5623x40/ 2;var _0x5623x43=_0x5623x38[_0x2847[69]]- _0x5623x41/ 2;var _0x5623x44=_0x5623x42+ _0x5623x40;var _0x5623x45=_0x5623x43+ _0x5623x41;var _0x5623x46=_0x5623x44+ _0x5623x3e;var _0x5623x47=_0x5623x45+ _0x5623x3f;var _0x5623x48=_0x5623x46+ _0x5623x40;var _0x5623x49=_0x5623x47+ _0x5623x41;var _0x5623x4a=_0x5623x48- 3* _0x5623x40;var _0x5623x4b=_0x5623x49- 3* _0x5623x41;_0x5623x15[_0x2847[28]]();_0x5623x15[_0x2847[7]](_0x5623x44,_0x5623x45);_0x5623x15[_0x2847[8]](_0x5623x46,_0x5623x47);_0x5623x15[_0x2847[7]](_0x5623x4a+ _0x5623x40,_0x5623x4b+ _0x5623x41);_0x5623x15[_0x2847[8]](_0x5623x42,_0x5623x43);_0x5623x15[_0x2847[29]]()};mxCellRenderer[_0x2847[0]][_0x2847[12]][_0x2847[76]]= _0x5623x36;mxMarker[_0x2847[78]](_0x2847[77],function(_0x5623x32,_0x5623x1a,_0x5623x4c,_0x5623x39,_0x5623x4d,_0x5623x4e,_0x5623x4f,_0x5623x50,_0x5623x51,_0x5623x52){var _0x5623x3c=_0x5623x4d* (_0x5623x4f+ _0x5623x51+ 1);var _0x5623x3d=_0x5623x4e* (_0x5623x4f+ _0x5623x51+ 1);return function(){_0x5623x32[_0x2847[28]]();_0x5623x32[_0x2847[7]](_0x5623x39[_0x2847[68]]- _0x5623x3c/ 2- _0x5623x3d/ 2,_0x5623x39[_0x2847[69]]- _0x5623x3d/ 2+ _0x5623x3c/ 2);_0x5623x32[_0x2847[8]](_0x5623x39[_0x2847[68]]+ _0x5623x3d/ 2- 3* _0x5623x3c/ 2,_0x5623x39[_0x2847[69]]- 3* _0x5623x3d/ 2- _0x5623x3c/ 2);_0x5623x32[_0x2847[29]]()}});var _0x5623x53=-99;if( typeof (mxVertexHandler)!= _0x2847[79]){function _0x5623x54(_0x5623x33){mxVertexHandler[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x54,mxVertexHandler);_0x5623x54[_0x2847[0]][_0x2847[80]]= false;_0x5623x54[_0x2847[0]][_0x2847[81]]= function(){this[_0x2847[82]]= mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],mxConstants.STYLE_HORIZONTAL,true);var _0x5623x55=this[_0x2847[83]][_0x2847[85]][_0x2847[84]];if(this[_0x2847[86]]!= null){var _0x5623x34= new mxRectangle(0,0,this[_0x2847[86]][_0x2847[70]],this[_0x2847[86]][_0x2847[71]]);this[_0x2847[87]]= new mxImageShape(_0x5623x34,this[_0x2847[86]][_0x2847[88]])}else {var _0x5623x4f=10;var _0x5623x34= new mxRectangle(0,0,_0x5623x4f,_0x5623x4f);this[_0x2847[87]]= new mxRhombus(_0x5623x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0x2847[87]][_0x2847[89]]= (_0x5623x55[_0x2847[89]]!= mxConstants[_0x2847[90]])?mxConstants[_0x2847[91]]:mxConstants[_0x2847[90]];this[_0x2847[87]][_0x2847[81]](_0x5623x55[_0x2847[93]]()[_0x2847[92]]());this[_0x2847[87]][_0x2847[95]][_0x2847[4]][_0x2847[94]]= this[_0x2847[96]]();mxEvent[_0x2847[97]](this[_0x2847[87]][_0x2847[95]],_0x5623x55,this[_0x2847[83]]);mxVertexHandler[_0x2847[0]][_0x2847[81]][_0x2847[30]](this,arguments)};_0x5623x54[_0x2847[0]][_0x2847[96]]= function(){return _0x2847[98]};_0x5623x54[_0x2847[0]][_0x2847[99]]= function(){mxVertexHandler[_0x2847[0]][_0x2847[99]][_0x2847[30]](this,arguments);var _0x5623x4f=this[_0x2847[87]][_0x2847[100]][_0x2847[70]];this[_0x2847[87]][_0x2847[100]]= this[_0x2847[101]](_0x5623x4f);this[_0x2847[87]][_0x2847[99]]()};_0x5623x54[_0x2847[0]][_0x2847[102]]= function(){mxVertexHandler[_0x2847[0]][_0x2847[102]][_0x2847[30]](this,arguments);if(this[_0x2847[87]]!= null){this[_0x2847[87]][_0x2847[102]]();this[_0x2847[87]]= null}};_0x5623x54[_0x2847[0]][_0x2847[103]]= function(_0x5623x56){if(_0x5623x56[_0x2847[104]](this[_0x2847[87]])){return _0x5623x53};return mxVertexHandler[_0x2847[0]][_0x2847[103]][_0x2847[30]](this,arguments)};_0x5623x54[_0x2847[0]][_0x2847[105]]= function(_0x5623x57,_0x5623x56){if(!_0x5623x56[_0x2847[106]]()&& this[_0x2847[107]]== _0x5623x53){var _0x5623x58= new mxPoint(_0x5623x56[_0x2847[108]](),_0x5623x56[_0x2847[109]]());this[_0x2847[110]](_0x5623x58);var _0x5623x59=this[_0x2847[84]][_0x2847[112]](_0x5623x56[_0x2847[111]]());var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];if(_0x5623x59&& this[_0x2847[80]]){_0x5623x58[_0x2847[68]]= this[_0x2847[84]][_0x2847[114]](_0x5623x58[_0x2847[68]]/ _0x5623x5a)* _0x5623x5a;_0x5623x58[_0x2847[69]]= this[_0x2847[84]][_0x2847[114]](_0x5623x58[_0x2847[69]]/ _0x5623x5a)* _0x5623x5a};this[_0x2847[115]](_0x5623x58);this[_0x2847[116]](this[_0x2847[87]],_0x5623x58[_0x2847[68]],_0x5623x58[_0x2847[69]]);this[_0x2847[83]][_0x2847[85]][_0x2847[84]][_0x2847[117]][_0x2847[99]](this[_0x2847[83]],true);_0x5623x56[_0x2847[118]]()}else {mxVertexHandler[_0x2847[0]][_0x2847[105]][_0x2847[30]](this,arguments)}};_0x5623x54[_0x2847[0]][_0x2847[119]]= function(_0x5623x57,_0x5623x56){if(!_0x5623x56[_0x2847[106]]()&& this[_0x2847[107]]== _0x5623x53){this[_0x2847[120]]();this[_0x2847[121]]();_0x5623x56[_0x2847[118]]()}else {mxVertexHandler[_0x2847[0]][_0x2847[119]][_0x2847[30]](this,arguments)}};_0x5623x54[_0x2847[0]][_0x2847[101]]= function(_0x5623x4f){var _0x5623x5b=this[_0x2847[83]][_0x2847[123]][_0x2847[122]]();var _0x5623x5c=mxUtils[_0x2847[124]](_0x5623x5b);var _0x5623x5d=Math[_0x2847[125]](_0x5623x5c);var _0x5623x5e=Math[_0x2847[126]](_0x5623x5c);var _0x5623x34= new mxRectangle(this[_0x2847[83]][_0x2847[68]],this[_0x2847[83]][_0x2847[69]],this[_0x2847[83]][_0x2847[70]],this[_0x2847[83]][_0x2847[71]]);if(this[_0x2847[83]][_0x2847[123]][_0x2847[127]]()){var _0x5623x5f=(_0x5623x34[_0x2847[70]]- _0x5623x34[_0x2847[71]])/ 2;_0x5623x34[_0x2847[68]]+= _0x5623x5f;_0x5623x34[_0x2847[69]]-= _0x5623x5f;var _0x5623x23=_0x5623x34[_0x2847[70]];_0x5623x34[_0x2847[70]]= _0x5623x34[_0x2847[71]];_0x5623x34[_0x2847[71]]= _0x5623x23};var _0x5623x60=this[_0x2847[128]](_0x5623x34);if(this[_0x2847[83]][_0x2847[123]][_0x2847[129]]){_0x5623x60[_0x2847[68]]= 2* _0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623x60[_0x2847[68]]};if(this[_0x2847[83]][_0x2847[123]][_0x2847[130]]){_0x5623x60[_0x2847[69]]= 2* _0x5623x34[_0x2847[69]]+ _0x5623x34[_0x2847[71]]- _0x5623x60[_0x2847[69]]};_0x5623x60= mxUtils[_0x2847[133]](_0x5623x60,_0x5623x5d,_0x5623x5e, new mxPoint(this[_0x2847[83]][_0x2847[131]](),this[_0x2847[83]][_0x2847[132]]()));return new mxRectangle(_0x5623x60[_0x2847[68]]- _0x5623x4f/ 2,_0x5623x60[_0x2847[69]]- _0x5623x4f/ 2,_0x5623x4f,_0x5623x4f)};_0x5623x54[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){return null};_0x5623x54[_0x2847[0]][_0x2847[115]]= function(_0x5623x58){};_0x5623x54[_0x2847[0]][_0x2847[110]]= function(_0x5623x58){_0x5623x58[_0x2847[68]]= Math[_0x2847[34]](this[_0x2847[83]][_0x2847[68]],Math[_0x2847[6]](this[_0x2847[83]][_0x2847[68]]+ this[_0x2847[83]][_0x2847[70]],_0x5623x58[_0x2847[68]]));_0x5623x58[_0x2847[69]]= Math[_0x2847[34]](this[_0x2847[83]][_0x2847[69]],Math[_0x2847[6]](this[_0x2847[83]][_0x2847[69]]+ this[_0x2847[83]][_0x2847[71]],_0x5623x58[_0x2847[69]]))};_0x5623x54[_0x2847[0]][_0x2847[120]]= function(){};function _0x5623x61(_0x5623x33){_0x5623x54[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x61,_0x5623x54);_0x5623x61[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];var _0x5623xb=Math[_0x2847[6]](_0x5623x34[_0x2847[70]],mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[14],60)* _0x5623x5a);var _0x5623xc=Math[_0x2847[6]](_0x5623x34[_0x2847[71]],mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[15],20)* _0x5623x5a);var _0x5623xd=mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[16],_0x2847[17]);var _0x5623x3=(_0x5623xd== _0x2847[18])?_0x5623x34[_0x2847[68]]+ _0x5623xb:_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623xb;return new mxPoint(_0x5623x3,_0x5623x34[_0x2847[69]]+ _0x5623xc)};_0x5623x61[_0x2847[0]][_0x2847[115]]= function(_0x5623x58){var _0x5623x5b=this[_0x2847[83]][_0x2847[123]][_0x2847[122]]();var _0x5623x5c=mxUtils[_0x2847[124]](_0x5623x5b);var _0x5623x5d=Math[_0x2847[125]](-_0x5623x5c);var _0x5623x5e=Math[_0x2847[126]](-_0x5623x5c);var _0x5623x34= new mxRectangle(this[_0x2847[83]][_0x2847[68]],this[_0x2847[83]][_0x2847[69]],this[_0x2847[83]][_0x2847[70]],this[_0x2847[83]][_0x2847[71]]);if(this[_0x2847[83]][_0x2847[123]][_0x2847[127]]()){var _0x5623x5f=(_0x5623x34[_0x2847[70]]- _0x5623x34[_0x2847[71]])/ 2;_0x5623x34[_0x2847[68]]+= _0x5623x5f;_0x5623x34[_0x2847[69]]-= _0x5623x5f;var _0x5623x23=_0x5623x34[_0x2847[70]];_0x5623x34[_0x2847[70]]= _0x5623x34[_0x2847[71]];_0x5623x34[_0x2847[71]]= _0x5623x23};var _0x5623x60= new mxPoint(_0x5623x58[_0x2847[68]],_0x5623x58[_0x2847[69]]);_0x5623x60= mxUtils[_0x2847[133]](_0x5623x60,_0x5623x5d,_0x5623x5e, new mxPoint(this[_0x2847[83]][_0x2847[131]](),this[_0x2847[83]][_0x2847[132]]()));if(this[_0x2847[83]][_0x2847[123]][_0x2847[129]]){_0x5623x60[_0x2847[68]]= 2* _0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623x60[_0x2847[68]]};if(this[_0x2847[83]][_0x2847[123]][_0x2847[130]]){_0x5623x60[_0x2847[69]]= 2* _0x5623x34[_0x2847[69]]+ _0x5623x34[_0x2847[71]]- _0x5623x60[_0x2847[69]]};var _0x5623x62=this[_0x2847[134]](_0x5623x60,_0x5623x34);if(_0x5623x62!= null){if(this[_0x2847[83]][_0x2847[123]][_0x2847[129]]){_0x5623x62[_0x2847[68]]= 2* _0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623x62[_0x2847[68]]};if(this[_0x2847[83]][_0x2847[123]][_0x2847[130]]){_0x5623x62[_0x2847[69]]= 2* _0x5623x34[_0x2847[69]]+ _0x5623x34[_0x2847[71]]- _0x5623x62[_0x2847[69]]};_0x5623x5d= Math[_0x2847[125]](_0x5623x5c);_0x5623x5e= Math[_0x2847[126]](_0x5623x5c);_0x5623x62= mxUtils[_0x2847[133]](_0x5623x62,_0x5623x5d,_0x5623x5e, new mxPoint(this[_0x2847[83]][_0x2847[131]](),this[_0x2847[83]][_0x2847[132]]()));_0x5623x58[_0x2847[68]]= _0x5623x62[_0x2847[68]];_0x5623x58[_0x2847[69]]= _0x5623x62[_0x2847[69]]}};_0x5623x61[_0x2847[0]][_0x2847[134]]= function(_0x5623x60,_0x5623x34){var _0x5623xd=mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[16],_0x2847[17]);var _0x5623xb=(_0x5623xd== _0x2847[18])?_0x5623x60[_0x2847[68]]- _0x5623x34[_0x2847[68]]:_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623x60[_0x2847[68]];var _0x5623xc=_0x5623x60[_0x2847[69]]- _0x5623x34[_0x2847[69]];var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];this[_0x2847[83]][_0x2847[4]][_0x2847[14]]= Math[_0x2847[135]](Math[_0x2847[34]](1,_0x5623xb)/ _0x5623x5a);this[_0x2847[83]][_0x2847[4]][_0x2847[15]]= Math[_0x2847[135]](Math[_0x2847[34]](1,_0x5623xc)/ _0x5623x5a)};_0x5623x61[_0x2847[0]][_0x2847[120]]= function(){var _0x5623x63=this[_0x2847[84]][_0x2847[136]]();_0x5623x63[_0x2847[137]]();try{this[_0x2847[83]][_0x2847[85]][_0x2847[84]][_0x2847[139]](_0x2847[14],this[_0x2847[83]][_0x2847[4]][_0x2847[14]],[this[_0x2847[83]][_0x2847[138]]]);this[_0x2847[83]][_0x2847[85]][_0x2847[84]][_0x2847[139]](_0x2847[15],this[_0x2847[83]][_0x2847[4]][_0x2847[15]],[this[_0x2847[83]][_0x2847[138]]])}finally{_0x5623x63[_0x2847[140]]()}};function _0x5623x64(_0x5623x33){_0x5623x61[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x64,_0x5623x61);_0x5623x64[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];var _0x5623x65=mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]/ 2,_0x5623x34[_0x2847[69]]+ Math[_0x2847[6]](_0x5623x34[_0x2847[71]],_0x5623x65* _0x5623x5a))};_0x5623x64[_0x2847[0]][_0x2847[134]]= function(_0x5623x58,_0x5623x34){_0x5623x58[_0x2847[68]]= _0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]/ 2;startSize= _0x5623x58[_0x2847[69]]- _0x5623x34[_0x2847[69]];var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];this[_0x2847[83]][_0x2847[4]][_0x2847[141]]= Math[_0x2847[135]](Math[_0x2847[34]](1,startSize)/ _0x5623x5a);return _0x5623x58};_0x5623x64[_0x2847[0]][_0x2847[120]]= function(){this[_0x2847[83]][_0x2847[85]][_0x2847[84]][_0x2847[139]](_0x2847[141],this[_0x2847[83]][_0x2847[4]][_0x2847[141]],[this[_0x2847[83]][_0x2847[138]]])};function _0x5623x66(_0x5623x33){_0x5623x61[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x66,_0x5623x61);_0x5623x66[_0x2847[0]][_0x2847[142]]= 20;_0x5623x66[_0x2847[0]][_0x2847[143]]= 1;_0x5623x66[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];var _0x5623x67=Math[_0x2847[6]](_0x5623x34[_0x2847[70]],Math[_0x2847[6]](_0x5623x34[_0x2847[71]],mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[2],this[_0x2847[142]])* _0x5623x5a/ this[_0x2847[143]]));return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x67,_0x5623x34[_0x2847[69]]+ _0x5623x67)};_0x5623x66[_0x2847[0]][_0x2847[134]]= function(_0x5623x60,_0x5623x34){var _0x5623x4f=Math[_0x2847[34]](0,Math[_0x2847[6]](Math[_0x2847[6]](_0x5623x34[_0x2847[70]]/ this[_0x2847[143]],_0x5623x60[_0x2847[68]]- _0x5623x34[_0x2847[68]]),Math[_0x2847[6]](_0x5623x34[_0x2847[71]]/ this[_0x2847[143]],_0x5623x60[_0x2847[69]]- _0x5623x34[_0x2847[69]])));var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];this[_0x2847[83]][_0x2847[4]][_0x2847[2]]= Math[_0x2847[135]](Math[_0x2847[34]](1,_0x5623x4f)/ _0x5623x5a)* this[_0x2847[143]];return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x4f,_0x5623x34[_0x2847[69]]+ _0x5623x4f)};_0x5623x66[_0x2847[0]][_0x2847[120]]= function(){this[_0x2847[83]][_0x2847[85]][_0x2847[84]][_0x2847[139]](_0x2847[2],this[_0x2847[83]][_0x2847[4]][_0x2847[2]],[this[_0x2847[83]][_0x2847[138]]])};function _0x5623x68(_0x5623x33){_0x5623x66[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x68,_0x5623x66);_0x5623x68[_0x2847[0]][_0x2847[142]]= 30;_0x5623x68[_0x2847[0]][_0x2847[143]]= 2;function _0x5623x69(_0x5623x33){_0x5623x66[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x69,_0x5623x66);_0x5623x69[_0x2847[0]][_0x2847[142]]= 30;_0x5623x69[_0x2847[0]][_0x2847[143]]= 1;_0x5623x69[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];var _0x5623x67=Math[_0x2847[6]](_0x5623x34[_0x2847[70]],Math[_0x2847[6]](_0x5623x34[_0x2847[71]],mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[2],this[_0x2847[142]])* _0x5623x5a/ this[_0x2847[143]]));return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623x67,_0x5623x34[_0x2847[69]]+ _0x5623x67)};_0x5623x69[_0x2847[0]][_0x2847[134]]= function(_0x5623x60,_0x5623x34){var _0x5623x4f=Math[_0x2847[34]](0,Math[_0x2847[6]](Math[_0x2847[6]](_0x5623x34[_0x2847[70]]/ this[_0x2847[143]],_0x5623x60[_0x2847[68]]- _0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]),Math[_0x2847[6]](_0x5623x34[_0x2847[71]]/ this[_0x2847[143]],_0x5623x60[_0x2847[69]]- _0x5623x34[_0x2847[69]])));var _0x5623x5a=this[_0x2847[84]][_0x2847[93]]()[_0x2847[113]];this[_0x2847[83]][_0x2847[4]][_0x2847[2]]= Math[_0x2847[135]](Math[_0x2847[34]](1,_0x5623x4f)/ _0x5623x5a)* this[_0x2847[143]];return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]- _0x5623x4f,_0x5623x34[_0x2847[69]]+ _0x5623x4f)};function _0x5623x6a(_0x5623x33){_0x5623x66[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x6a,_0x5623x66);_0x5623x6a[_0x2847[0]][_0x2847[142]]= 0.2;_0x5623x6a[_0x2847[0]][_0x2847[143]]= 1;_0x5623x6a[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){var _0x5623x67=mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[2],this[_0x2847[142]]);return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]* _0x5623x67,_0x5623x34[_0x2847[69]]+ _0x5623x34[_0x2847[71]]/ 2)};_0x5623x6a[_0x2847[0]][_0x2847[134]]= function(_0x5623x60,_0x5623x34){var _0x5623x4f=Math[_0x2847[6]](1,(_0x5623x60[_0x2847[68]]- _0x5623x34[_0x2847[68]])/ _0x5623x34[_0x2847[70]]);this[_0x2847[83]][_0x2847[4]][_0x2847[2]]= _0x5623x4f;return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x4f* _0x5623x34[_0x2847[70]],_0x5623x34[_0x2847[69]]+ _0x5623x34[_0x2847[71]]/ 2)};function _0x5623x6b(_0x5623x33){_0x5623x66[_0x2847[24]](this,_0x5623x33)}mxUtils[_0x2847[25]](_0x5623x6b,_0x5623x66);_0x5623x6b[_0x2847[0]][_0x2847[142]]= 0.4;_0x5623x6b[_0x2847[0]][_0x2847[143]]= 1;_0x5623x6b[_0x2847[0]][_0x2847[128]]= function(_0x5623x34){var _0x5623x67=mxUtils[_0x2847[5]](this[_0x2847[83]][_0x2847[4]],_0x2847[2],this[_0x2847[142]]);return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]/ 2,_0x5623x34[_0x2847[69]]+ _0x5623x67* _0x5623x34[_0x2847[71]]/ 2)};_0x5623x6b[_0x2847[0]][_0x2847[134]]= function(_0x5623x60,_0x5623x34){var _0x5623x4f=Math[_0x2847[34]](0,Math[_0x2847[6]](1,((_0x5623x60[_0x2847[69]]- _0x5623x34[_0x2847[69]])/ _0x5623x34[_0x2847[71]])* 2));this[_0x2847[83]][_0x2847[4]][_0x2847[2]]= _0x5623x4f;return new mxPoint(_0x5623x34[_0x2847[68]]+ _0x5623x34[_0x2847[70]]/ 2,_0x5623x34[_0x2847[69]]+ _0x5623x4f* _0x5623x34[_0x2847[71]]/ 2)};var _0x5623x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0x5623x64,"\x66\x6F\x6C\x64\x65\x72":_0x5623x61,"\x63\x75\x62\x65":_0x5623x66,"\x63\x61\x72\x64":_0x5623x68,"\x6E\x6F\x74\x65":_0x5623x69,"\x73\x74\x65\x70":_0x5623x6a,"\x74\x61\x70\x65":_0x5623x6b};var _0x5623x6d=mxGraph[_0x2847[0]][_0x2847[144]];mxGraph[_0x2847[0]][_0x2847[144]]= function(_0x5623x33){if(_0x5623x33!= null){var _0x5623x6e=_0x5623x6c[_0x5623x33[_0x2847[4]][_0x2847[123]]];if(_0x5623x6e!= null){return new _0x5623x6e(_0x5623x33)}};return _0x5623x6d[_0x2847[30]](this,arguments)}};mxGraph[_0x2847[0]][_0x2847[145]]= function(_0x5623x6f,_0x5623x50){if(_0x5623x6f!= null&& _0x5623x6f[_0x2847[123]]!= null){if(_0x5623x6f[_0x2847[123]][_0x2847[146]]!= null){if(_0x5623x6f[_0x2847[123]][_0x2847[146]]!= null){return _0x5623x6f[_0x2847[123]][_0x2847[146]][_0x2847[147]]}}else {if(_0x5623x6f[_0x2847[123]][_0x2847[147]]!= null){return _0x5623x6f[_0x2847[123]][_0x2847[147]]}}};return null};mxRectangleShape[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxLabel[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];mxImageShape[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];mxSwimlane[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];_0x5623x14[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];_0x5623x9[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];_0x5623x10[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];_0x5623x1[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];_0x5623xa[_0x2847[0]][_0x2847[147]]= mxRectangleShape[_0x2847[0]][_0x2847[147]];mxCylinder[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.15,0.05),false), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.85,0.05),false), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.3),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.7),true), new mxConnectionConstraint( new mxPoint(0.15,0.95),false), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.85,0.95),false)];_0x5623x25[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.1),false), new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.75,0.1),false), new mxConnectionConstraint( new mxPoint(0,1/ 3),false), new mxConnectionConstraint( new mxPoint(0,1),false), new mxConnectionConstraint( new mxPoint(1,1/ 3),false), new mxConnectionConstraint( new mxPoint(1,1),false), new mxConnectionConstraint( new mxPoint(0.5,0.5),false)];_0x5623x28[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxActor[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.25,0.2),false), new mxConnectionConstraint( new mxPoint(0.1,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.75,0.25),false), new mxConnectionConstraint( new mxPoint(0.9,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];_0x5623x11[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.35),false), new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.65),false), new mxConnectionConstraint( new mxPoint(1,0.35),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.65),false), new mxConnectionConstraint( new mxPoint(0.25,1),false), new mxConnectionConstraint( new mxPoint(0.75,0),false)];_0x5623x13[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true), new mxConnectionConstraint( new mxPoint(0.1,0.25),false), new mxConnectionConstraint( new mxPoint(0.2,0.5),false), new mxConnectionConstraint( new mxPoint(0.1,0.75),false), new mxConnectionConstraint( new mxPoint(0.9,0.25),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(0.9,0.75),false)];mxLine[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0.25,0.5),false), new mxConnectionConstraint( new mxPoint(0.75,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.5),false)];_0x5623x26[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0,0),true), new mxConnectionConstraint( new mxPoint(1,0),true), new mxConnectionConstraint( new mxPoint(0,1),true), new mxConnectionConstraint( new mxPoint(1,1),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5))];mxDoubleEllipse[_0x2847[0]][_0x2847[147]]= mxEllipse[_0x2847[0]][_0x2847[147]];mxRhombus[_0x2847[0]][_0x2847[147]]= mxEllipse[_0x2847[0]][_0x2847[147]];mxTriangle[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(1,0.5),true)];mxHexagon[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.375,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.625,0),true), new mxConnectionConstraint( new mxPoint(0.125,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0.125,0.75),false), new mxConnectionConstraint( new mxPoint(0.875,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(0.875,0.75),false), new mxConnectionConstraint( new mxPoint(0.375,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.625,1),true)];mxCloud[_0x2847[0]][_0x2847[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.25),false), new mxConnectionConstraint( new mxPoint(0.4,0.1),false), new mxConnectionConstraint( new mxPoint(0.16,0.55),false), new mxConnectionConstraint( new mxPoint(0.07,0.4),false), new mxConnectionConstraint( new mxPoint(0.31,0.8),false), new mxConnectionConstraint( new mxPoint(0.13,0.77),false), new mxConnectionConstraint( new mxPoint(0.8,0.8),false), new mxConnectionConstraint( new mxPoint(0.55,0.95),false), new mxConnectionConstraint( new mxPoint(0.875,0.5),false), new mxConnectionConstraint( new mxPoint(0.96,0.7),false), new mxConnectionConstraint( new mxPoint(0.625,0.2),false), new mxConnectionConstraint( new mxPoint(0.88,0.25),false)];mxArrow[_0x2847[0]][_0x2847[147]]= null})() \ No newline at end of file +var _0xced2=["\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x63\x6F\x6E\x73\x74\x72\x75\x63\x74\x6F\x72","\x73\x69\x7A\x65","\x72\x65\x64\x72\x61\x77\x50\x61\x74\x68","\x73\x74\x79\x6C\x65","\x67\x65\x74\x56\x61\x6C\x75\x65","\x6D\x69\x6E","\x6D\x6F\x76\x65\x54\x6F","\x6C\x69\x6E\x65\x54\x6F","\x65\x6E\x64","\x63\x6C\x6F\x73\x65","\x63\x75\x62\x65","\x64\x65\x66\x61\x75\x6C\x74\x53\x68\x61\x70\x65\x73","\x6E\x6F\x74\x65","\x74\x61\x62\x57\x69\x64\x74\x68","\x74\x61\x62\x48\x65\x69\x67\x68\x74","\x74\x61\x62\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x72\x69\x67\x68\x74","\x6C\x65\x66\x74","\x66\x6F\x6C\x64\x65\x72","\x63\x61\x72\x64","\x71\x75\x61\x64\x54\x6F","\x74\x61\x70\x65","\x73\x74\x65\x70","\x63\x61\x6C\x6C","\x65\x78\x74\x65\x6E\x64","\x69\x73\x48\x74\x6D\x6C\x41\x6C\x6C\x6F\x77\x65\x64","\x70\x61\x69\x6E\x74\x46\x6F\x72\x65\x67\x72\x6F\x75\x6E\x64","\x62\x65\x67\x69\x6E","\x73\x74\x72\x6F\x6B\x65","\x61\x70\x70\x6C\x79","\x70\x6C\x75\x73","\x64\x6F\x75\x62\x6C\x65","\x73\x74\x72\x6F\x6B\x65\x77\x69\x64\x74\x68","\x6D\x61\x78","\x70\x61\x69\x6E\x74\x42\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x73\x65\x74\x44\x61\x73\x68\x65\x64","\x73\x79\x6D\x62\x6F\x6C","\x41\x6C\x69\x67\x6E","\x56\x65\x72\x74\x69\x63\x61\x6C\x41\x6C\x69\x67\x6E","\x57\x69\x64\x74\x68","\x48\x65\x69\x67\x68\x74","\x53\x70\x61\x63\x69\x6E\x67","\x41\x72\x63\x53\x70\x61\x63\x69\x6E\x67","\x67\x65\x74\x41\x72\x63\x53\x69\x7A\x65","\x41\x4C\x49\x47\x4E\x5F\x43\x45\x4E\x54\x45\x52","\x41\x4C\x49\x47\x4E\x5F\x52\x49\x47\x48\x54","\x41\x4C\x49\x47\x4E\x5F\x4D\x49\x44\x44\x4C\x45","\x41\x4C\x49\x47\x4E\x5F\x42\x4F\x54\x54\x4F\x4D","\x73\x61\x76\x65","\x70\x61\x69\x6E\x74\x56\x65\x72\x74\x65\x78\x53\x68\x61\x70\x65","\x72\x65\x73\x74\x6F\x72\x65","\x65\x78\x74","\x6D\x65\x73\x73\x61\x67\x65","\x61\x64\x64\x50\x69\x70\x65","\x63\x75\x72\x76\x65\x54\x6F","\x75\x6D\x6C\x41\x63\x74\x6F\x72","\x6C\x6F\x6C\x6C\x69\x70\x6F\x70","\x6A\x65\x74\x74\x79\x57\x69\x64\x74\x68","\x6A\x65\x74\x74\x79\x48\x65\x69\x67\x68\x74","\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74","\x6F\x75\x74\x65\x72\x53\x74\x72\x6F\x6B\x65","\x65\x6C\x6C\x69\x70\x73\x65","\x66\x69\x6C\x6C\x41\x6E\x64\x53\x74\x72\x6F\x6B\x65","\x73\x65\x74\x53\x68\x61\x64\x6F\x77","\x65\x6E\x64\x53\x74\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x74\x61\x74\x65","\x69\x6E\x69\x74\x53\x68\x61\x70\x65\x73","\x78","\x79","\x77\x69\x64\x74\x68","\x68\x65\x69\x67\x68\x74","\x73\x68\x61\x70\x65\x73","\x70\x61\x69\x6E\x74\x45\x64\x67\x65\x53\x68\x61\x70\x65","\x6C\x65\x6E\x67\x74\x68","\x73\x71\x72\x74","\x6C\x69\x6E\x6B","\x64\x61\x73\x68","\x61\x64\x64\x4D\x61\x72\x6B\x65\x72","\x75\x6E\x64\x65\x66\x69\x6E\x65\x64","\x75\x73\x65\x47\x72\x69\x64\x46\x6F\x72\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x69\x6E\x69\x74","\x68\x6F\x72\x69\x7A\x6F\x6E\x74\x61\x6C","\x73\x74\x61\x74\x65","\x67\x72\x61\x70\x68","\x76\x69\x65\x77","\x68\x61\x6E\x64\x6C\x65\x49\x6D\x61\x67\x65","\x73\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65","\x73\x72\x63","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x44\x49\x41\x4C\x45\x43\x54\x5F\x56\x4D\x4C","\x67\x65\x74\x4F\x76\x65\x72\x6C\x61\x79\x50\x61\x6E\x65","\x67\x65\x74\x56\x69\x65\x77","\x63\x75\x72\x73\x6F\x72","\x6E\x6F\x64\x65","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x43\x75\x72\x73\x6F\x72","\x72\x65\x64\x69\x72\x65\x63\x74\x4D\x6F\x75\x73\x65\x45\x76\x65\x6E\x74\x73","\x64\x65\x66\x61\x75\x6C\x74","\x72\x65\x64\x72\x61\x77","\x62\x6F\x75\x6E\x64\x73","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x42\x6F\x75\x6E\x64\x73","\x64\x65\x73\x74\x72\x6F\x79","\x67\x65\x74\x48\x61\x6E\x64\x6C\x65\x46\x6F\x72\x45\x76\x65\x6E\x74","\x69\x73\x53\x6F\x75\x72\x63\x65","\x6D\x6F\x75\x73\x65\x4D\x6F\x76\x65","\x69\x73\x43\x6F\x6E\x73\x75\x6D\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74\x47\x72\x61\x70\x68\x58","\x67\x65\x74\x47\x72\x61\x70\x68\x59","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x50\x6F\x69\x6E\x74","\x67\x65\x74\x45\x76\x65\x6E\x74","\x69\x73\x47\x72\x69\x64\x45\x6E\x61\x62\x6C\x65\x64\x45\x76\x65\x6E\x74","\x73\x63\x61\x6C\x65","\x73\x6E\x61\x70","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65","\x6D\x6F\x76\x65\x53\x69\x7A\x65\x72\x54\x6F","\x63\x65\x6C\x6C\x52\x65\x6E\x64\x65\x72\x65\x72","\x63\x6F\x6E\x73\x75\x6D\x65","\x6D\x6F\x75\x73\x65\x55\x70","\x61\x70\x70\x6C\x79\x53\x74\x79\x6C\x65","\x72\x65\x73\x65\x74","\x67\x65\x74\x53\x68\x61\x70\x65\x52\x6F\x74\x61\x74\x69\x6F\x6E","\x73\x68\x61\x70\x65","\x74\x6F\x52\x61\x64\x69\x61\x6E\x73","\x63\x6F\x73","\x73\x69\x6E","\x69\x73\x50\x61\x69\x6E\x74\x42\x6F\x75\x6E\x64\x73\x49\x6E\x76\x65\x72\x74\x65\x64","\x67\x65\x74\x53\x70\x65\x63\x69\x61\x6C\x48\x61\x6E\x64\x6C\x65\x50\x6F\x69\x6E\x74","\x66\x6C\x69\x70\x48","\x66\x6C\x69\x70\x56","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x58","\x67\x65\x74\x43\x65\x6E\x74\x65\x72\x59","\x67\x65\x74\x52\x6F\x74\x61\x74\x65\x64\x50\x6F\x69\x6E\x74","\x75\x70\x64\x61\x74\x65\x53\x74\x79\x6C\x65\x55\x6E\x72\x6F\x74\x61\x74\x65\x64","\x72\x6F\x75\x6E\x64","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x62\x65\x67\x69\x6E\x55\x70\x64\x61\x74\x65","\x63\x65\x6C\x6C","\x73\x65\x74\x43\x65\x6C\x6C\x53\x74\x79\x6C\x65\x73","\x65\x6E\x64\x55\x70\x64\x61\x74\x65","\x73\x74\x61\x72\x74\x53\x69\x7A\x65","\x64\x65\x66\x61\x75\x6C\x74\x56\x61\x6C\x75\x65","\x73\x63\x61\x6C\x65\x46\x61\x63\x74\x6F\x72","\x63\x72\x65\x61\x74\x65\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x41\x6C\x6C\x43\x6F\x6E\x6E\x65\x63\x74\x69\x6F\x6E\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73","\x73\x74\x65\x6E\x63\x69\x6C","\x63\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x73"];(function(){function _0x9aa9x1(){}_0x9aa9x1[_0xced2[0]]= new mxCylinder();_0x9aa9x1[_0xced2[0]][_0xced2[1]]= _0x9aa9x1;_0x9aa9x1[_0xced2[0]][_0xced2[2]]= 20;_0x9aa9x1[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x8=Math[_0xced2[6]](_0x9aa9x5,Math[_0xced2[6]](_0x9aa9x6,mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[2],this[_0xced2[2]])));if(_0x9aa9x7){_0x9aa9x2[_0xced2[7]](_0x9aa9x8,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](_0x9aa9x8,_0x9aa9x8);_0x9aa9x2[_0xced2[8]](0,0);_0x9aa9x2[_0xced2[7]](_0x9aa9x8,_0x9aa9x8);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x8);_0x9aa9x2[_0xced2[9]]()}else {_0x9aa9x2[_0xced2[7]](0,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9x8,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x8);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](_0x9aa9x8,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6- _0x9aa9x8);_0x9aa9x2[_0xced2[8]](0,0);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[11]]= _0x9aa9x1;function _0x9aa9x9(){}_0x9aa9x9[_0xced2[0]]= new mxCylinder();_0x9aa9x9[_0xced2[0]][_0xced2[1]]= _0x9aa9x9;_0x9aa9x9[_0xced2[0]][_0xced2[2]]= 30;_0x9aa9x9[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x8=Math[_0xced2[6]](_0x9aa9x5,Math[_0xced2[6]](_0x9aa9x6,mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[2],this[_0xced2[2]])));if(_0x9aa9x7){_0x9aa9x2[_0xced2[7]](_0x9aa9x5- _0x9aa9x8,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9x8,_0x9aa9x8);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x8);_0x9aa9x2[_0xced2[9]]()}else {_0x9aa9x2[_0xced2[7]](0,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9x8,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x8);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,0);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[13]]= _0x9aa9x9;function _0x9aa9xa(){}_0x9aa9xa[_0xced2[0]]= new mxCylinder();_0x9aa9xa[_0xced2[0]][_0xced2[1]]= _0x9aa9xa;_0x9aa9xa[_0xced2[0]][_0xced2[14]]= 60;_0x9aa9xa[_0xced2[0]][_0xced2[15]]= 20;_0x9aa9xa[_0xced2[0]][_0xced2[16]]= _0xced2[17];_0x9aa9xa[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9xb=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[14],this[_0xced2[14]]);var _0x9aa9xc=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[15],this[_0xced2[15]]);var _0x9aa9xd=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[16],this[_0xced2[16]]);var _0x9aa9xe=Math[_0xced2[6]](_0x9aa9x5,_0x9aa9xb);var _0x9aa9xf=Math[_0xced2[6]](_0x9aa9x6,_0x9aa9xc);if(_0x9aa9x7){if(_0x9aa9xd== _0xced2[18]){_0x9aa9x2[_0xced2[7]](0,_0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9xe,_0x9aa9xf)}else {_0x9aa9x2[_0xced2[7]](_0x9aa9x5- _0x9aa9xe,_0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9xf)};_0x9aa9x2[_0xced2[9]]()}else {if(_0x9aa9xd== _0xced2[18]){_0x9aa9x2[_0xced2[7]](0,0);_0x9aa9x2[_0xced2[8]](_0x9aa9xe,0);_0x9aa9x2[_0xced2[8]](_0x9aa9xe,_0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9xf)}else {_0x9aa9x2[_0xced2[7]](0,_0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9xe,_0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9xe,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,0)};_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9xf);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[19]]= _0x9aa9xa;function _0x9aa9x10(){}_0x9aa9x10[_0xced2[0]]= new mxCylinder();_0x9aa9x10[_0xced2[0]][_0xced2[1]]= _0x9aa9x10;_0x9aa9x10[_0xced2[0]][_0xced2[2]]= 30;_0x9aa9x10[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x8=Math[_0xced2[6]](_0x9aa9x5,Math[_0xced2[6]](_0x9aa9x6,mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[2],this[_0xced2[2]])));if(!_0x9aa9x7){_0x9aa9x2[_0xced2[7]](_0x9aa9x8,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x8);_0x9aa9x2[_0xced2[8]](_0x9aa9x8,0);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[20]]= _0x9aa9x10;function _0x9aa9x11(){}_0x9aa9x11[_0xced2[0]]= new mxCylinder();_0x9aa9x11[_0xced2[0]][_0xced2[1]]= _0x9aa9x11;_0x9aa9x11[_0xced2[0]][_0xced2[2]]= 0.4;_0x9aa9x11[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x8=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[2],this[_0xced2[2]]);var _0x9aa9xf=_0x9aa9x6* _0x9aa9x8;var _0x9aa9x12=1.4;if(!_0x9aa9x7){_0x9aa9x2[_0xced2[7]](0,_0x9aa9xf/ 2);_0x9aa9x2[_0xced2[21]](_0x9aa9x5/ 4,_0x9aa9xf* _0x9aa9x12,_0x9aa9x5/ 2,_0x9aa9xf/ 2);_0x9aa9x2[_0xced2[21]](_0x9aa9x5* 3/ 4,_0x9aa9xf* (1- _0x9aa9x12),_0x9aa9x5,_0x9aa9xf/ 2);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6- _0x9aa9xf/ 2);_0x9aa9x2[_0xced2[21]](_0x9aa9x5* 3/ 4,_0x9aa9x6- _0x9aa9xf* _0x9aa9x12,_0x9aa9x5/ 2,_0x9aa9x6- _0x9aa9xf/ 2);_0x9aa9x2[_0xced2[21]](_0x9aa9x5/ 4,_0x9aa9x6- _0x9aa9xf* (1- _0x9aa9x12),0,_0x9aa9x6- _0x9aa9xf/ 2);_0x9aa9x2[_0xced2[8]](0,_0x9aa9xf/ 2);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[22]]= _0x9aa9x11;function _0x9aa9x13(){}_0x9aa9x13[_0xced2[0]]= new mxCylinder();_0x9aa9x13[_0xced2[0]][_0xced2[1]]= _0x9aa9x13;_0x9aa9x13[_0xced2[0]][_0xced2[2]]= 0.2;_0x9aa9x13[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x8=_0x9aa9x5* mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[2],this[_0xced2[2]]);if(!_0x9aa9x7){_0x9aa9x2[_0xced2[7]](0,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9x8,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6/ 2);_0x9aa9x2[_0xced2[8]](_0x9aa9x5- _0x9aa9x8,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](_0x9aa9x8,_0x9aa9x6/ 2);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[23]]= _0x9aa9x13;function _0x9aa9x14(){mxRectangleShape[_0xced2[24]](this)}mxUtils[_0xced2[25]](_0x9aa9x14,mxRectangleShape);_0x9aa9x14[_0xced2[0]][_0xced2[26]]= function(){return false};_0x9aa9x14[_0xced2[0]][_0xced2[27]]= function(_0x9aa9x15,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6){var _0x9aa9x16=Math[_0xced2[6]](_0x9aa9x5/ 5,_0x9aa9x6/ 5)+ 1;_0x9aa9x15[_0xced2[28]]();_0x9aa9x15[_0xced2[7]](_0x9aa9x3+ _0x9aa9x5/ 2,_0x9aa9x4+ _0x9aa9x16);_0x9aa9x15[_0xced2[8]](_0x9aa9x3+ _0x9aa9x5/ 2,_0x9aa9x4+ _0x9aa9x6- _0x9aa9x16);_0x9aa9x15[_0xced2[7]](_0x9aa9x3+ _0x9aa9x16,_0x9aa9x4+ _0x9aa9x6/ 2);_0x9aa9x15[_0xced2[8]](_0x9aa9x3+ _0x9aa9x5- _0x9aa9x16,_0x9aa9x4+ _0x9aa9x6/ 2);_0x9aa9x15[_0xced2[9]]();_0x9aa9x15[_0xced2[29]]();mxRectangleShape[_0xced2[0]][_0xced2[27]][_0xced2[30]](this,arguments)};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[31]]= _0x9aa9x14;function _0x9aa9x17(){mxRectangleShape[_0xced2[24]](this)}mxUtils[_0xced2[25]](_0x9aa9x17,mxRectangleShape);_0x9aa9x17[_0xced2[0]][_0xced2[26]]= function(){return false};_0x9aa9x17[_0xced2[0]][_0xced2[27]]= function(_0x9aa9x15,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6){if(this[_0xced2[4]]!= null){if(this[_0xced2[4]][_0xced2[32]]== 1){var _0x9aa9x18=Math[_0xced2[34]](2,this[_0xced2[33]]+ 1);mxRectangleShape[_0xced2[0]][_0xced2[35]][_0xced2[24]](this,_0x9aa9x15,_0x9aa9x3+ _0x9aa9x18,_0x9aa9x4+ _0x9aa9x18,_0x9aa9x5- 2* _0x9aa9x18,_0x9aa9x6- 2* _0x9aa9x18);mxRectangleShape[_0xced2[0]][_0xced2[27]][_0xced2[30]](this,arguments);_0x9aa9x3+= _0x9aa9x18;_0x9aa9x4+= _0x9aa9x18;_0x9aa9x5-= 2* _0x9aa9x18;_0x9aa9x6-= 2* _0x9aa9x18};_0x9aa9x15[_0xced2[36]](false);var _0x9aa9x19=0;var _0x9aa9x1a=null;do{_0x9aa9x1a= mxCellRenderer[_0xced2[0]][_0xced2[12]][this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19]];if(_0x9aa9x1a!= null){var _0x9aa9x1b=this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19+ _0xced2[38]];var _0x9aa9x1c=this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19+ _0xced2[39]];var _0x9aa9x1d=this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19+ _0xced2[40]];var _0x9aa9x1e=this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19+ _0xced2[41]];var _0x9aa9x1f=this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19+ _0xced2[42]]|| 0;var _0x9aa9x20=this[_0xced2[4]][_0xced2[37]+ _0x9aa9x19+ _0xced2[43]];if(_0x9aa9x20!= null){_0x9aa9x1f+= this[_0xced2[44]](_0x9aa9x5+ this[_0xced2[33]],_0x9aa9x6+ this[_0xced2[33]])* _0x9aa9x20};var _0x9aa9x21=_0x9aa9x3;var _0x9aa9x22=_0x9aa9x4;if(_0x9aa9x1b== mxConstants[_0xced2[45]]){_0x9aa9x21+= (_0x9aa9x5- _0x9aa9x1d)/ 2}else {if(_0x9aa9x1b== mxConstants[_0xced2[46]]){_0x9aa9x21+= _0x9aa9x5- _0x9aa9x1d- _0x9aa9x1f}else {_0x9aa9x21+= _0x9aa9x1f}};if(_0x9aa9x1c== mxConstants[_0xced2[47]]){_0x9aa9x22+= (_0x9aa9x6- _0x9aa9x1e)/ 2}else {if(_0x9aa9x1c== mxConstants[_0xced2[48]]){_0x9aa9x22+= _0x9aa9x6- _0x9aa9x1e- _0x9aa9x1f}else {_0x9aa9x22+= _0x9aa9x1f}};_0x9aa9x15[_0xced2[49]]();var _0x9aa9x23= new _0x9aa9x1a();_0x9aa9x23[_0xced2[4]]= this[_0xced2[4]];_0x9aa9x1a[_0xced2[0]][_0xced2[50]][_0xced2[24]](_0x9aa9x23,_0x9aa9x15,_0x9aa9x21,_0x9aa9x22,_0x9aa9x1d,_0x9aa9x1e);_0x9aa9x15[_0xced2[51]]()};_0x9aa9x19++}while(_0x9aa9x1a!= null);}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[52]]= _0x9aa9x17;function _0x9aa9x24(){}_0x9aa9x24[_0xced2[0]]= new mxCylinder();_0x9aa9x24[_0xced2[0]][_0xced2[1]]= _0x9aa9x24;_0x9aa9x24[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){if(_0x9aa9x7){_0x9aa9x2[_0xced2[7]](0,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5/ 2,_0x9aa9x6/ 2);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,0);_0x9aa9x2[_0xced2[9]]()}else {_0x9aa9x2[_0xced2[7]](0,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6);_0x9aa9x2[_0xced2[10]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[53]]= _0x9aa9x24;function _0x9aa9x25(){}_0x9aa9x25[_0xced2[0]]= new mxCylinder();_0x9aa9x25[_0xced2[0]][_0xced2[1]]= _0x9aa9x25;_0x9aa9x25[_0xced2[0]][_0xced2[54]]= true;_0x9aa9x25[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x1d=_0x9aa9x5/ 3;var _0x9aa9x1e=_0x9aa9x6/ 4;if(!_0x9aa9x7){_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,_0x9aa9x1e);_0x9aa9x2[_0xced2[55]](_0x9aa9x5/ 2- _0x9aa9x1d,_0x9aa9x1e,_0x9aa9x5/ 2- _0x9aa9x1d,0,_0x9aa9x5/ 2,0);_0x9aa9x2[_0xced2[55]](_0x9aa9x5/ 2+ _0x9aa9x1d,0,_0x9aa9x5/ 2+ _0x9aa9x1d,_0x9aa9x1e,_0x9aa9x5/ 2,_0x9aa9x1e);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,_0x9aa9x1e);_0x9aa9x2[_0xced2[8]](_0x9aa9x5/ 2,2* _0x9aa9x6/ 3);_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,_0x9aa9x6/ 3);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6/ 3);_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,_0x9aa9x6/ 3);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6/ 3);_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,2* _0x9aa9x6/ 3);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x6);_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,2* _0x9aa9x6/ 3);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[56]]= _0x9aa9x25;function _0x9aa9x26(){}_0x9aa9x26[_0xced2[0]]= new mxCylinder();_0x9aa9x26[_0xced2[0]][_0xced2[1]]= _0x9aa9x26;_0x9aa9x26[_0xced2[0]][_0xced2[2]]= 10;_0x9aa9x26[_0xced2[0]][_0xced2[54]]= true;_0x9aa9x26[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9x27=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[2],this[_0xced2[2]]);var _0x9aa9x1d=_0x9aa9x27* 2/ 3;var _0x9aa9x1e=_0x9aa9x27;if(!_0x9aa9x7){_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,_0x9aa9x1e);_0x9aa9x2[_0xced2[55]](_0x9aa9x5/ 2- _0x9aa9x1d,_0x9aa9x1e,_0x9aa9x5/ 2- _0x9aa9x1d,0,_0x9aa9x5/ 2,0);_0x9aa9x2[_0xced2[55]](_0x9aa9x5/ 2+ _0x9aa9x1d,0,_0x9aa9x5/ 2+ _0x9aa9x1d,_0x9aa9x1e,_0x9aa9x5/ 2,_0x9aa9x1e);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[7]](_0x9aa9x5/ 2,_0x9aa9x1e);_0x9aa9x2[_0xced2[8]](_0x9aa9x5/ 2,_0x9aa9x6);_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[57]]= _0x9aa9x26;function _0x9aa9x28(){}_0x9aa9x28[_0xced2[0]]= new mxCylinder();_0x9aa9x28[_0xced2[0]][_0xced2[1]]= _0x9aa9x28;_0x9aa9x28[_0xced2[0]][_0xced2[58]]= 32;_0x9aa9x28[_0xced2[0]][_0xced2[59]]= 12;_0x9aa9x28[_0xced2[0]][_0xced2[3]]= function(_0x9aa9x2,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6,_0x9aa9x7){var _0x9aa9xe=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[58],this[_0xced2[58]]);var _0x9aa9xf=mxUtils[_0xced2[5]](this[_0xced2[4]],_0xced2[59],this[_0xced2[59]]);var _0x9aa9x29=_0x9aa9xe/ 2;var _0x9aa9x2a=_0x9aa9x29+ _0x9aa9xe/ 2;var _0x9aa9x2b=0.3* _0x9aa9x6- _0x9aa9xf/ 2;var _0x9aa9x2c=0.7* _0x9aa9x6- _0x9aa9xf/ 2;if(_0x9aa9x7){_0x9aa9x2[_0xced2[7]](_0x9aa9x29,_0x9aa9x2b);_0x9aa9x2[_0xced2[8]](_0x9aa9x2a,_0x9aa9x2b);_0x9aa9x2[_0xced2[8]](_0x9aa9x2a,_0x9aa9x2b+ _0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x2b+ _0x9aa9xf);_0x9aa9x2[_0xced2[7]](_0x9aa9x29,_0x9aa9x2c);_0x9aa9x2[_0xced2[8]](_0x9aa9x2a,_0x9aa9x2c);_0x9aa9x2[_0xced2[8]](_0x9aa9x2a,_0x9aa9x2c+ _0x9aa9xf);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x2c+ _0x9aa9xf);_0x9aa9x2[_0xced2[9]]()}else {_0x9aa9x2[_0xced2[7]](_0x9aa9x29,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,0);_0x9aa9x2[_0xced2[8]](_0x9aa9x5,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x6);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x2c+ _0x9aa9xf);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x2c+ _0x9aa9xf);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x2c);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x2c);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x2b+ _0x9aa9xf);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x2b+ _0x9aa9xf);_0x9aa9x2[_0xced2[8]](0,_0x9aa9x2b);_0x9aa9x2[_0xced2[8]](_0x9aa9x29,_0x9aa9x2b);_0x9aa9x2[_0xced2[10]]();_0x9aa9x2[_0xced2[9]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[60]]= _0x9aa9x28;function _0x9aa9x2d(){}_0x9aa9x2d[_0xced2[0]]= new mxDoubleEllipse();_0x9aa9x2d[_0xced2[0]][_0xced2[1]]= _0x9aa9x2d;_0x9aa9x2d[_0xced2[0]][_0xced2[61]]= true;_0x9aa9x2d[_0xced2[0]][_0xced2[50]]= function(_0x9aa9x15,_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6){var _0x9aa9x18=Math[_0xced2[6]](4,Math[_0xced2[6]](_0x9aa9x5/ 5,_0x9aa9x6/ 5));if(_0x9aa9x5> 0&& _0x9aa9x6> 0){_0x9aa9x15[_0xced2[62]](_0x9aa9x3+ _0x9aa9x18,_0x9aa9x4+ _0x9aa9x18,_0x9aa9x5- 2* _0x9aa9x18,_0x9aa9x6- 2* _0x9aa9x18);_0x9aa9x15[_0xced2[63]]()};_0x9aa9x15[_0xced2[64]](false);if(this[_0xced2[61]]){_0x9aa9x15[_0xced2[62]](_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6);_0x9aa9x15[_0xced2[29]]()}};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[65]]= _0x9aa9x2d;function _0x9aa9x2e(){}_0x9aa9x2e[_0xced2[0]]= new _0x9aa9x2d();_0x9aa9x2e[_0xced2[0]][_0xced2[1]]= _0x9aa9x2e;_0x9aa9x2e[_0xced2[0]][_0xced2[61]]= false;mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[66]]= _0x9aa9x2e;var _0x9aa9x2f=mxImageExport[_0xced2[0]][_0xced2[67]];mxImageExport[_0xced2[0]][_0xced2[67]]= function(){_0x9aa9x2f[_0xced2[30]](this,arguments);function _0x9aa9x30(_0x9aa9x31){return {drawShape:function(_0x9aa9x32,_0x9aa9x33,_0x9aa9x34,_0x9aa9x35){var _0x9aa9x3=_0x9aa9x34[_0xced2[68]];var _0x9aa9x4=_0x9aa9x34[_0xced2[69]];var _0x9aa9x5=_0x9aa9x34[_0xced2[70]];var _0x9aa9x6=_0x9aa9x34[_0xced2[71]];if(_0x9aa9x35){var _0x9aa9x18=Math[_0xced2[6]](4,Math[_0xced2[6]](_0x9aa9x5/ 5,_0x9aa9x6/ 5));_0x9aa9x3+= _0x9aa9x18;_0x9aa9x4+= _0x9aa9x18;_0x9aa9x5-= 2* _0x9aa9x18;_0x9aa9x6-= 2* _0x9aa9x18;if(_0x9aa9x5> 0&& _0x9aa9x6> 0){_0x9aa9x32[_0xced2[62]](_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6)};return true}else {_0x9aa9x32[_0xced2[63]]();if(_0x9aa9x31){_0x9aa9x32[_0xced2[62]](_0x9aa9x3,_0x9aa9x4,_0x9aa9x5,_0x9aa9x6);_0x9aa9x32[_0xced2[29]]()}}}}}this[_0xced2[72]][_0xced2[65]]= _0x9aa9x30(true);this[_0xced2[72]][_0xced2[66]]= _0x9aa9x30(false)};function _0x9aa9x36(){mxArrow[_0xced2[24]](this)}mxUtils[_0xced2[25]](_0x9aa9x36,mxArrow);_0x9aa9x36[_0xced2[0]][_0xced2[73]]= function(_0x9aa9x15,_0x9aa9x37){var _0x9aa9x1d=10;var _0x9aa9x38=_0x9aa9x37[0];var _0x9aa9x39=_0x9aa9x37[_0x9aa9x37[_0xced2[74]]- 1];var _0x9aa9xe=_0x9aa9x39[_0xced2[68]]- _0x9aa9x38[_0xced2[68]];var _0x9aa9xf=_0x9aa9x39[_0xced2[69]]- _0x9aa9x38[_0xced2[69]];var _0x9aa9x3a=Math[_0xced2[75]](_0x9aa9xe* _0x9aa9xe+ _0x9aa9xf* _0x9aa9xf);var _0x9aa9x3b=_0x9aa9x3a;var _0x9aa9x3c=_0x9aa9xe/ _0x9aa9x3a;var _0x9aa9x3d=_0x9aa9xf/ _0x9aa9x3a;var _0x9aa9x3e=_0x9aa9x3b* _0x9aa9x3c;var _0x9aa9x3f=_0x9aa9x3b* _0x9aa9x3d;var _0x9aa9x40=_0x9aa9x1d* _0x9aa9x3d/ 3;var _0x9aa9x41=-_0x9aa9x1d* _0x9aa9x3c/ 3;var _0x9aa9x42=_0x9aa9x38[_0xced2[68]]- _0x9aa9x40/ 2;var _0x9aa9x43=_0x9aa9x38[_0xced2[69]]- _0x9aa9x41/ 2;var _0x9aa9x44=_0x9aa9x42+ _0x9aa9x40;var _0x9aa9x45=_0x9aa9x43+ _0x9aa9x41;var _0x9aa9x46=_0x9aa9x44+ _0x9aa9x3e;var _0x9aa9x47=_0x9aa9x45+ _0x9aa9x3f;var _0x9aa9x48=_0x9aa9x46+ _0x9aa9x40;var _0x9aa9x49=_0x9aa9x47+ _0x9aa9x41;var _0x9aa9x4a=_0x9aa9x48- 3* _0x9aa9x40;var _0x9aa9x4b=_0x9aa9x49- 3* _0x9aa9x41;_0x9aa9x15[_0xced2[28]]();_0x9aa9x15[_0xced2[7]](_0x9aa9x44,_0x9aa9x45);_0x9aa9x15[_0xced2[8]](_0x9aa9x46,_0x9aa9x47);_0x9aa9x15[_0xced2[7]](_0x9aa9x4a+ _0x9aa9x40,_0x9aa9x4b+ _0x9aa9x41);_0x9aa9x15[_0xced2[8]](_0x9aa9x42,_0x9aa9x43);_0x9aa9x15[_0xced2[29]]()};mxCellRenderer[_0xced2[0]][_0xced2[12]][_0xced2[76]]= _0x9aa9x36;mxMarker[_0xced2[78]](_0xced2[77],function(_0x9aa9x32,_0x9aa9x1a,_0x9aa9x4c,_0x9aa9x39,_0x9aa9x4d,_0x9aa9x4e,_0x9aa9x4f,_0x9aa9x50,_0x9aa9x51,_0x9aa9x52){var _0x9aa9x3c=_0x9aa9x4d* (_0x9aa9x4f+ _0x9aa9x51+ 1);var _0x9aa9x3d=_0x9aa9x4e* (_0x9aa9x4f+ _0x9aa9x51+ 1);return function(){_0x9aa9x32[_0xced2[28]]();_0x9aa9x32[_0xced2[7]](_0x9aa9x39[_0xced2[68]]- _0x9aa9x3c/ 2- _0x9aa9x3d/ 2,_0x9aa9x39[_0xced2[69]]- _0x9aa9x3d/ 2+ _0x9aa9x3c/ 2);_0x9aa9x32[_0xced2[8]](_0x9aa9x39[_0xced2[68]]+ _0x9aa9x3d/ 2- 3* _0x9aa9x3c/ 2,_0x9aa9x39[_0xced2[69]]- 3* _0x9aa9x3d/ 2- _0x9aa9x3c/ 2);_0x9aa9x32[_0xced2[29]]()}});var _0x9aa9x53=-99;if( typeof (mxVertexHandler)!= _0xced2[79]){function _0x9aa9x54(_0x9aa9x33){mxVertexHandler[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x54,mxVertexHandler);_0x9aa9x54[_0xced2[0]][_0xced2[80]]= false;_0x9aa9x54[_0xced2[0]][_0xced2[81]]= function(){this[_0xced2[82]]= mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],mxConstants.STYLE_HORIZONTAL,true);var _0x9aa9x55=this[_0xced2[83]][_0xced2[85]][_0xced2[84]];if(this[_0xced2[86]]!= null){var _0x9aa9x34= new mxRectangle(0,0,this[_0xced2[86]][_0xced2[70]],this[_0xced2[86]][_0xced2[71]]);this[_0xced2[87]]= new mxImageShape(_0x9aa9x34,this[_0xced2[86]][_0xced2[88]])}else {var _0x9aa9x4f=10;var _0x9aa9x34= new mxRectangle(0,0,_0x9aa9x4f,_0x9aa9x4f);this[_0xced2[87]]= new mxRhombus(_0x9aa9x34,mxConstants.HANDLE_FILLCOLOR,mxConstants.HANDLE_STROKECOLOR)};this[_0xced2[87]][_0xced2[89]]= (_0x9aa9x55[_0xced2[89]]!= mxConstants[_0xced2[90]])?mxConstants[_0xced2[91]]:mxConstants[_0xced2[90]];this[_0xced2[87]][_0xced2[81]](_0x9aa9x55[_0xced2[93]]()[_0xced2[92]]());this[_0xced2[87]][_0xced2[95]][_0xced2[4]][_0xced2[94]]= this[_0xced2[96]]();mxEvent[_0xced2[97]](this[_0xced2[87]][_0xced2[95]],_0x9aa9x55,this[_0xced2[83]]);mxVertexHandler[_0xced2[0]][_0xced2[81]][_0xced2[30]](this,arguments)};_0x9aa9x54[_0xced2[0]][_0xced2[96]]= function(){return _0xced2[98]};_0x9aa9x54[_0xced2[0]][_0xced2[99]]= function(){mxVertexHandler[_0xced2[0]][_0xced2[99]][_0xced2[30]](this,arguments);var _0x9aa9x4f=this[_0xced2[87]][_0xced2[100]][_0xced2[70]];this[_0xced2[87]][_0xced2[100]]= this[_0xced2[101]](_0x9aa9x4f);this[_0xced2[87]][_0xced2[99]]()};_0x9aa9x54[_0xced2[0]][_0xced2[102]]= function(){mxVertexHandler[_0xced2[0]][_0xced2[102]][_0xced2[30]](this,arguments);if(this[_0xced2[87]]!= null){this[_0xced2[87]][_0xced2[102]]();this[_0xced2[87]]= null}};_0x9aa9x54[_0xced2[0]][_0xced2[103]]= function(_0x9aa9x56){if(_0x9aa9x56[_0xced2[104]](this[_0xced2[87]])){return _0x9aa9x53};return mxVertexHandler[_0xced2[0]][_0xced2[103]][_0xced2[30]](this,arguments)};_0x9aa9x54[_0xced2[0]][_0xced2[105]]= function(_0x9aa9x57,_0x9aa9x56){if(!_0x9aa9x56[_0xced2[106]]()&& this[_0xced2[107]]== _0x9aa9x53){var _0x9aa9x58= new mxPoint(_0x9aa9x56[_0xced2[108]](),_0x9aa9x56[_0xced2[109]]());this[_0xced2[110]](_0x9aa9x58);var _0x9aa9x59=this[_0xced2[84]][_0xced2[112]](_0x9aa9x56[_0xced2[111]]());var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];if(_0x9aa9x59&& this[_0xced2[80]]){_0x9aa9x58[_0xced2[68]]= this[_0xced2[84]][_0xced2[114]](_0x9aa9x58[_0xced2[68]]/ _0x9aa9x5a)* _0x9aa9x5a;_0x9aa9x58[_0xced2[69]]= this[_0xced2[84]][_0xced2[114]](_0x9aa9x58[_0xced2[69]]/ _0x9aa9x5a)* _0x9aa9x5a};this[_0xced2[115]](_0x9aa9x58);this[_0xced2[116]](this[_0xced2[87]],_0x9aa9x58[_0xced2[68]],_0x9aa9x58[_0xced2[69]]);this[_0xced2[83]][_0xced2[85]][_0xced2[84]][_0xced2[117]][_0xced2[99]](this[_0xced2[83]],true);_0x9aa9x56[_0xced2[118]]()}else {mxVertexHandler[_0xced2[0]][_0xced2[105]][_0xced2[30]](this,arguments)}};_0x9aa9x54[_0xced2[0]][_0xced2[119]]= function(_0x9aa9x57,_0x9aa9x56){if(!_0x9aa9x56[_0xced2[106]]()&& this[_0xced2[107]]== _0x9aa9x53){this[_0xced2[120]]();this[_0xced2[121]]();_0x9aa9x56[_0xced2[118]]()}else {mxVertexHandler[_0xced2[0]][_0xced2[119]][_0xced2[30]](this,arguments)}};_0x9aa9x54[_0xced2[0]][_0xced2[101]]= function(_0x9aa9x4f){var _0x9aa9x5b=this[_0xced2[83]][_0xced2[123]][_0xced2[122]]();var _0x9aa9x5c=mxUtils[_0xced2[124]](_0x9aa9x5b);var _0x9aa9x5d=Math[_0xced2[125]](_0x9aa9x5c);var _0x9aa9x5e=Math[_0xced2[126]](_0x9aa9x5c);var _0x9aa9x34= new mxRectangle(this[_0xced2[83]][_0xced2[68]],this[_0xced2[83]][_0xced2[69]],this[_0xced2[83]][_0xced2[70]],this[_0xced2[83]][_0xced2[71]]);if(this[_0xced2[83]][_0xced2[123]][_0xced2[127]]()){var _0x9aa9x5f=(_0x9aa9x34[_0xced2[70]]- _0x9aa9x34[_0xced2[71]])/ 2;_0x9aa9x34[_0xced2[68]]+= _0x9aa9x5f;_0x9aa9x34[_0xced2[69]]-= _0x9aa9x5f;var _0x9aa9x23=_0x9aa9x34[_0xced2[70]];_0x9aa9x34[_0xced2[70]]= _0x9aa9x34[_0xced2[71]];_0x9aa9x34[_0xced2[71]]= _0x9aa9x23};var _0x9aa9x60=this[_0xced2[128]](_0x9aa9x34);if(this[_0xced2[83]][_0xced2[123]][_0xced2[129]]){_0x9aa9x60[_0xced2[68]]= 2* _0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9x60[_0xced2[68]]};if(this[_0xced2[83]][_0xced2[123]][_0xced2[130]]){_0x9aa9x60[_0xced2[69]]= 2* _0x9aa9x34[_0xced2[69]]+ _0x9aa9x34[_0xced2[71]]- _0x9aa9x60[_0xced2[69]]};_0x9aa9x60= mxUtils[_0xced2[133]](_0x9aa9x60,_0x9aa9x5d,_0x9aa9x5e, new mxPoint(this[_0xced2[83]][_0xced2[131]](),this[_0xced2[83]][_0xced2[132]]()));return new mxRectangle(_0x9aa9x60[_0xced2[68]]- _0x9aa9x4f/ 2,_0x9aa9x60[_0xced2[69]]- _0x9aa9x4f/ 2,_0x9aa9x4f,_0x9aa9x4f)};_0x9aa9x54[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){return null};_0x9aa9x54[_0xced2[0]][_0xced2[115]]= function(_0x9aa9x58){};_0x9aa9x54[_0xced2[0]][_0xced2[110]]= function(_0x9aa9x58){_0x9aa9x58[_0xced2[68]]= Math[_0xced2[34]](this[_0xced2[83]][_0xced2[68]],Math[_0xced2[6]](this[_0xced2[83]][_0xced2[68]]+ this[_0xced2[83]][_0xced2[70]],_0x9aa9x58[_0xced2[68]]));_0x9aa9x58[_0xced2[69]]= Math[_0xced2[34]](this[_0xced2[83]][_0xced2[69]],Math[_0xced2[6]](this[_0xced2[83]][_0xced2[69]]+ this[_0xced2[83]][_0xced2[71]],_0x9aa9x58[_0xced2[69]]))};_0x9aa9x54[_0xced2[0]][_0xced2[120]]= function(){};function _0x9aa9x61(_0x9aa9x33){_0x9aa9x54[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x61,_0x9aa9x54);_0x9aa9x61[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];var _0x9aa9xb=Math[_0xced2[6]](_0x9aa9x34[_0xced2[70]],mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[14],60)* _0x9aa9x5a);var _0x9aa9xc=Math[_0xced2[6]](_0x9aa9x34[_0xced2[71]],mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[15],20)* _0x9aa9x5a);var _0x9aa9xd=mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[16],_0xced2[17]);var _0x9aa9x3=(_0x9aa9xd== _0xced2[18])?_0x9aa9x34[_0xced2[68]]+ _0x9aa9xb:_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9xb;return new mxPoint(_0x9aa9x3,_0x9aa9x34[_0xced2[69]]+ _0x9aa9xc)};_0x9aa9x61[_0xced2[0]][_0xced2[115]]= function(_0x9aa9x58){var _0x9aa9x5b=this[_0xced2[83]][_0xced2[123]][_0xced2[122]]();var _0x9aa9x5c=mxUtils[_0xced2[124]](_0x9aa9x5b);var _0x9aa9x5d=Math[_0xced2[125]](-_0x9aa9x5c);var _0x9aa9x5e=Math[_0xced2[126]](-_0x9aa9x5c);var _0x9aa9x34= new mxRectangle(this[_0xced2[83]][_0xced2[68]],this[_0xced2[83]][_0xced2[69]],this[_0xced2[83]][_0xced2[70]],this[_0xced2[83]][_0xced2[71]]);if(this[_0xced2[83]][_0xced2[123]][_0xced2[127]]()){var _0x9aa9x5f=(_0x9aa9x34[_0xced2[70]]- _0x9aa9x34[_0xced2[71]])/ 2;_0x9aa9x34[_0xced2[68]]+= _0x9aa9x5f;_0x9aa9x34[_0xced2[69]]-= _0x9aa9x5f;var _0x9aa9x23=_0x9aa9x34[_0xced2[70]];_0x9aa9x34[_0xced2[70]]= _0x9aa9x34[_0xced2[71]];_0x9aa9x34[_0xced2[71]]= _0x9aa9x23};var _0x9aa9x60= new mxPoint(_0x9aa9x58[_0xced2[68]],_0x9aa9x58[_0xced2[69]]);_0x9aa9x60= mxUtils[_0xced2[133]](_0x9aa9x60,_0x9aa9x5d,_0x9aa9x5e, new mxPoint(this[_0xced2[83]][_0xced2[131]](),this[_0xced2[83]][_0xced2[132]]()));if(this[_0xced2[83]][_0xced2[123]][_0xced2[129]]){_0x9aa9x60[_0xced2[68]]= 2* _0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9x60[_0xced2[68]]};if(this[_0xced2[83]][_0xced2[123]][_0xced2[130]]){_0x9aa9x60[_0xced2[69]]= 2* _0x9aa9x34[_0xced2[69]]+ _0x9aa9x34[_0xced2[71]]- _0x9aa9x60[_0xced2[69]]};var _0x9aa9x62=this[_0xced2[134]](_0x9aa9x60,_0x9aa9x34);if(_0x9aa9x62!= null){if(this[_0xced2[83]][_0xced2[123]][_0xced2[129]]){_0x9aa9x62[_0xced2[68]]= 2* _0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9x62[_0xced2[68]]};if(this[_0xced2[83]][_0xced2[123]][_0xced2[130]]){_0x9aa9x62[_0xced2[69]]= 2* _0x9aa9x34[_0xced2[69]]+ _0x9aa9x34[_0xced2[71]]- _0x9aa9x62[_0xced2[69]]};_0x9aa9x5d= Math[_0xced2[125]](_0x9aa9x5c);_0x9aa9x5e= Math[_0xced2[126]](_0x9aa9x5c);_0x9aa9x62= mxUtils[_0xced2[133]](_0x9aa9x62,_0x9aa9x5d,_0x9aa9x5e, new mxPoint(this[_0xced2[83]][_0xced2[131]](),this[_0xced2[83]][_0xced2[132]]()));_0x9aa9x58[_0xced2[68]]= _0x9aa9x62[_0xced2[68]];_0x9aa9x58[_0xced2[69]]= _0x9aa9x62[_0xced2[69]]}};_0x9aa9x61[_0xced2[0]][_0xced2[134]]= function(_0x9aa9x60,_0x9aa9x34){var _0x9aa9xd=mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[16],_0xced2[17]);var _0x9aa9xb=(_0x9aa9xd== _0xced2[18])?_0x9aa9x60[_0xced2[68]]- _0x9aa9x34[_0xced2[68]]:_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9x60[_0xced2[68]];var _0x9aa9xc=_0x9aa9x60[_0xced2[69]]- _0x9aa9x34[_0xced2[69]];var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];this[_0xced2[83]][_0xced2[4]][_0xced2[14]]= Math[_0xced2[135]](Math[_0xced2[34]](1,_0x9aa9xb)/ _0x9aa9x5a);this[_0xced2[83]][_0xced2[4]][_0xced2[15]]= Math[_0xced2[135]](Math[_0xced2[34]](1,_0x9aa9xc)/ _0x9aa9x5a)};_0x9aa9x61[_0xced2[0]][_0xced2[120]]= function(){var _0x9aa9x63=this[_0xced2[84]][_0xced2[136]]();_0x9aa9x63[_0xced2[137]]();try{this[_0xced2[83]][_0xced2[85]][_0xced2[84]][_0xced2[139]](_0xced2[14],this[_0xced2[83]][_0xced2[4]][_0xced2[14]],[this[_0xced2[83]][_0xced2[138]]]);this[_0xced2[83]][_0xced2[85]][_0xced2[84]][_0xced2[139]](_0xced2[15],this[_0xced2[83]][_0xced2[4]][_0xced2[15]],[this[_0xced2[83]][_0xced2[138]]])}finally{_0x9aa9x63[_0xced2[140]]()}};function _0x9aa9x64(_0x9aa9x33){_0x9aa9x61[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x64,_0x9aa9x61);_0x9aa9x64[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];var _0x9aa9x65=mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],mxConstants.STYLE_STARTSIZE,mxConstants.DEFAULT_STARTSIZE);return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]/ 2,_0x9aa9x34[_0xced2[69]]+ Math[_0xced2[6]](_0x9aa9x34[_0xced2[71]],_0x9aa9x65* _0x9aa9x5a))};_0x9aa9x64[_0xced2[0]][_0xced2[134]]= function(_0x9aa9x58,_0x9aa9x34){_0x9aa9x58[_0xced2[68]]= _0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]/ 2;startSize= _0x9aa9x58[_0xced2[69]]- _0x9aa9x34[_0xced2[69]];var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];this[_0xced2[83]][_0xced2[4]][_0xced2[141]]= Math[_0xced2[135]](Math[_0xced2[34]](1,startSize)/ _0x9aa9x5a);return _0x9aa9x58};_0x9aa9x64[_0xced2[0]][_0xced2[120]]= function(){this[_0xced2[83]][_0xced2[85]][_0xced2[84]][_0xced2[139]](_0xced2[141],this[_0xced2[83]][_0xced2[4]][_0xced2[141]],[this[_0xced2[83]][_0xced2[138]]])};function _0x9aa9x66(_0x9aa9x33){_0x9aa9x61[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x66,_0x9aa9x61);_0x9aa9x66[_0xced2[0]][_0xced2[142]]= 20;_0x9aa9x66[_0xced2[0]][_0xced2[143]]= 1;_0x9aa9x66[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];var _0x9aa9x67=Math[_0xced2[6]](_0x9aa9x34[_0xced2[70]],Math[_0xced2[6]](_0x9aa9x34[_0xced2[71]],mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[2],this[_0xced2[142]])* _0x9aa9x5a/ this[_0xced2[143]]));return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x67,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x67)};_0x9aa9x66[_0xced2[0]][_0xced2[134]]= function(_0x9aa9x60,_0x9aa9x34){var _0x9aa9x4f=Math[_0xced2[34]](0,Math[_0xced2[6]](Math[_0xced2[6]](_0x9aa9x34[_0xced2[70]]/ this[_0xced2[143]],_0x9aa9x60[_0xced2[68]]- _0x9aa9x34[_0xced2[68]]),Math[_0xced2[6]](_0x9aa9x34[_0xced2[71]]/ this[_0xced2[143]],_0x9aa9x60[_0xced2[69]]- _0x9aa9x34[_0xced2[69]])));var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];this[_0xced2[83]][_0xced2[4]][_0xced2[2]]= Math[_0xced2[135]](Math[_0xced2[34]](1,_0x9aa9x4f)/ _0x9aa9x5a)* this[_0xced2[143]];return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x4f,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x4f)};_0x9aa9x66[_0xced2[0]][_0xced2[120]]= function(){this[_0xced2[83]][_0xced2[85]][_0xced2[84]][_0xced2[139]](_0xced2[2],this[_0xced2[83]][_0xced2[4]][_0xced2[2]],[this[_0xced2[83]][_0xced2[138]]])};function _0x9aa9x68(_0x9aa9x33){_0x9aa9x66[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x68,_0x9aa9x66);_0x9aa9x68[_0xced2[0]][_0xced2[142]]= 30;_0x9aa9x68[_0xced2[0]][_0xced2[143]]= 2;function _0x9aa9x69(_0x9aa9x33){_0x9aa9x66[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x69,_0x9aa9x66);_0x9aa9x69[_0xced2[0]][_0xced2[142]]= 30;_0x9aa9x69[_0xced2[0]][_0xced2[143]]= 1;_0x9aa9x69[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];var _0x9aa9x67=Math[_0xced2[6]](_0x9aa9x34[_0xced2[70]],Math[_0xced2[6]](_0x9aa9x34[_0xced2[71]],mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[2],this[_0xced2[142]])* _0x9aa9x5a/ this[_0xced2[143]]));return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9x67,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x67)};_0x9aa9x69[_0xced2[0]][_0xced2[134]]= function(_0x9aa9x60,_0x9aa9x34){var _0x9aa9x4f=Math[_0xced2[34]](0,Math[_0xced2[6]](Math[_0xced2[6]](_0x9aa9x34[_0xced2[70]]/ this[_0xced2[143]],_0x9aa9x60[_0xced2[68]]- _0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]),Math[_0xced2[6]](_0x9aa9x34[_0xced2[71]]/ this[_0xced2[143]],_0x9aa9x60[_0xced2[69]]- _0x9aa9x34[_0xced2[69]])));var _0x9aa9x5a=this[_0xced2[84]][_0xced2[93]]()[_0xced2[113]];this[_0xced2[83]][_0xced2[4]][_0xced2[2]]= Math[_0xced2[135]](Math[_0xced2[34]](1,_0x9aa9x4f)/ _0x9aa9x5a)* this[_0xced2[143]];return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]- _0x9aa9x4f,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x4f)};function _0x9aa9x6a(_0x9aa9x33){_0x9aa9x66[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x6a,_0x9aa9x66);_0x9aa9x6a[_0xced2[0]][_0xced2[142]]= 0.2;_0x9aa9x6a[_0xced2[0]][_0xced2[143]]= 1;_0x9aa9x6a[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){var _0x9aa9x67=mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[2],this[_0xced2[142]]);return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]* _0x9aa9x67,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x34[_0xced2[71]]/ 2)};_0x9aa9x6a[_0xced2[0]][_0xced2[134]]= function(_0x9aa9x60,_0x9aa9x34){var _0x9aa9x4f=Math[_0xced2[6]](1,(_0x9aa9x60[_0xced2[68]]- _0x9aa9x34[_0xced2[68]])/ _0x9aa9x34[_0xced2[70]]);this[_0xced2[83]][_0xced2[4]][_0xced2[2]]= _0x9aa9x4f;return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x4f* _0x9aa9x34[_0xced2[70]],_0x9aa9x34[_0xced2[69]]+ _0x9aa9x34[_0xced2[71]]/ 2)};function _0x9aa9x6b(_0x9aa9x33){_0x9aa9x66[_0xced2[24]](this,_0x9aa9x33)}mxUtils[_0xced2[25]](_0x9aa9x6b,_0x9aa9x66);_0x9aa9x6b[_0xced2[0]][_0xced2[142]]= 0.4;_0x9aa9x6b[_0xced2[0]][_0xced2[143]]= 1;_0x9aa9x6b[_0xced2[0]][_0xced2[128]]= function(_0x9aa9x34){var _0x9aa9x67=mxUtils[_0xced2[5]](this[_0xced2[83]][_0xced2[4]],_0xced2[2],this[_0xced2[142]]);return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]/ 2,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x67* _0x9aa9x34[_0xced2[71]]/ 2)};_0x9aa9x6b[_0xced2[0]][_0xced2[134]]= function(_0x9aa9x60,_0x9aa9x34){var _0x9aa9x4f=Math[_0xced2[34]](0,Math[_0xced2[6]](1,((_0x9aa9x60[_0xced2[69]]- _0x9aa9x34[_0xced2[69]])/ _0x9aa9x34[_0xced2[71]])* 2));this[_0xced2[83]][_0xced2[4]][_0xced2[2]]= _0x9aa9x4f;return new mxPoint(_0x9aa9x34[_0xced2[68]]+ _0x9aa9x34[_0xced2[70]]/ 2,_0x9aa9x34[_0xced2[69]]+ _0x9aa9x4f* _0x9aa9x34[_0xced2[71]]/ 2)};var _0x9aa9x6c={"\x73\x77\x69\x6D\x6C\x61\x6E\x65":_0x9aa9x64,"\x66\x6F\x6C\x64\x65\x72":_0x9aa9x61,"\x63\x75\x62\x65":_0x9aa9x66,"\x63\x61\x72\x64":_0x9aa9x68,"\x6E\x6F\x74\x65":_0x9aa9x69,"\x73\x74\x65\x70":_0x9aa9x6a,"\x74\x61\x70\x65":_0x9aa9x6b};var _0x9aa9x6d=mxGraph[_0xced2[0]][_0xced2[144]];mxGraph[_0xced2[0]][_0xced2[144]]= function(_0x9aa9x33){if(_0x9aa9x33!= null){var _0x9aa9x6e=_0x9aa9x6c[_0x9aa9x33[_0xced2[4]][_0xced2[123]]];if(_0x9aa9x6e!= null){return new _0x9aa9x6e(_0x9aa9x33)}};return _0x9aa9x6d[_0xced2[30]](this,arguments)}};mxGraph[_0xced2[0]][_0xced2[145]]= function(_0x9aa9x6f,_0x9aa9x50){if(_0x9aa9x6f!= null&& _0x9aa9x6f[_0xced2[123]]!= null){if(_0x9aa9x6f[_0xced2[123]][_0xced2[146]]!= null){if(_0x9aa9x6f[_0xced2[123]][_0xced2[146]]!= null){return _0x9aa9x6f[_0xced2[123]][_0xced2[146]][_0xced2[147]]}}else {if(_0x9aa9x6f[_0xced2[123]][_0xced2[147]]!= null){return _0x9aa9x6f[_0xced2[123]][_0xced2[147]]}}};return null};mxRectangleShape[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxLabel[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];mxImageShape[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];mxSwimlane[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];_0x9aa9x14[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];_0x9aa9x9[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];_0x9aa9x10[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];_0x9aa9x1[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];_0x9aa9xa[_0xced2[0]][_0xced2[147]]= mxRectangleShape[_0xced2[0]][_0xced2[147]];mxCylinder[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.15,0.05),false), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.85,0.05),false), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.3),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.7),true), new mxConnectionConstraint( new mxPoint(0.15,0.95),false), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.85,0.95),false)];_0x9aa9x25[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.1),false), new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.75,0.1),false), new mxConnectionConstraint( new mxPoint(0,1/ 3),false), new mxConnectionConstraint( new mxPoint(0,1),false), new mxConnectionConstraint( new mxPoint(1,1/ 3),false), new mxConnectionConstraint( new mxPoint(1,1),false), new mxConnectionConstraint( new mxPoint(0.5,0.5),false)];_0x9aa9x28[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0,0.3),true), new mxConnectionConstraint( new mxPoint(0,0.7),true), new mxConnectionConstraint( new mxPoint(1,0.25),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];mxActor[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.25,0.2),false), new mxConnectionConstraint( new mxPoint(0.1,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.75,0.25),false), new mxConnectionConstraint( new mxPoint(0.9,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.75),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true)];_0x9aa9x11[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.35),false), new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0,0.65),false), new mxConnectionConstraint( new mxPoint(1,0.35),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.65),false), new mxConnectionConstraint( new mxPoint(0.25,1),false), new mxConnectionConstraint( new mxPoint(0.75,0),false)];_0x9aa9x13[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.75,0),true), new mxConnectionConstraint( new mxPoint(0.25,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.75,1),true), new mxConnectionConstraint( new mxPoint(0.1,0.25),false), new mxConnectionConstraint( new mxPoint(0.2,0.5),false), new mxConnectionConstraint( new mxPoint(0.1,0.75),false), new mxConnectionConstraint( new mxPoint(0.9,0.25),false), new mxConnectionConstraint( new mxPoint(1,0.5),false), new mxConnectionConstraint( new mxPoint(0.9,0.75),false)];mxLine[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.5),false), new mxConnectionConstraint( new mxPoint(0.25,0.5),false), new mxConnectionConstraint( new mxPoint(0.75,0.5),false), new mxConnectionConstraint( new mxPoint(1,0.5),false)];_0x9aa9x26[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.5,0),false), new mxConnectionConstraint( new mxPoint(0.5,1),false)];mxEllipse[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0,0),true), new mxConnectionConstraint( new mxPoint(1,0),true), new mxConnectionConstraint( new mxPoint(0,1),true), new mxConnectionConstraint( new mxPoint(1,1),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5))];mxDoubleEllipse[_0xced2[0]][_0xced2[147]]= mxEllipse[_0xced2[0]][_0xced2[147]];mxRhombus[_0xced2[0]][_0xced2[147]]= mxEllipse[_0xced2[0]][_0xced2[147]];mxTriangle[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0,0.25),true), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0,0.75),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(1,0.5),true)];mxHexagon[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.375,0),true), new mxConnectionConstraint( new mxPoint(0.5,0),true), new mxConnectionConstraint( new mxPoint(0.625,0),true), new mxConnectionConstraint( new mxPoint(0.125,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(0.125,0.75),false), new mxConnectionConstraint( new mxPoint(0.875,0.25),false), new mxConnectionConstraint( new mxPoint(0,0.5),true), new mxConnectionConstraint( new mxPoint(1,0.5),true), new mxConnectionConstraint( new mxPoint(0.875,0.75),false), new mxConnectionConstraint( new mxPoint(0.375,1),true), new mxConnectionConstraint( new mxPoint(0.5,1),true), new mxConnectionConstraint( new mxPoint(0.625,1),true)];mxCloud[_0xced2[0]][_0xced2[147]]= [ new mxConnectionConstraint( new mxPoint(0.25,0.25),false), new mxConnectionConstraint( new mxPoint(0.4,0.1),false), new mxConnectionConstraint( new mxPoint(0.16,0.55),false), new mxConnectionConstraint( new mxPoint(0.07,0.4),false), new mxConnectionConstraint( new mxPoint(0.31,0.8),false), new mxConnectionConstraint( new mxPoint(0.13,0.77),false), new mxConnectionConstraint( new mxPoint(0.8,0.8),false), new mxConnectionConstraint( new mxPoint(0.55,0.95),false), new mxConnectionConstraint( new mxPoint(0.875,0.5),false), new mxConnectionConstraint( new mxPoint(0.96,0.7),false), new mxConnectionConstraint( new mxPoint(0.625,0.2),false), new mxConnectionConstraint( new mxPoint(0.88,0.25),false)];mxArrow[_0xced2[0]][_0xced2[147]]= null})() \ 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 1446dd8..5f9aa03 100644 --- a/public/assets/plugins/square/js/Sidebar.js +++ b/public/assets/plugins/square/js/Sidebar.js @@ -1 +1 @@ -var _0x623a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x61\x6C\x65\x74\x74\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x67\x72\x61\x70\x68","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x65\x64\x69\x74\x6F\x72","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x6D\x6F\x75\x73\x65\x75\x70","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x74\x6F\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C\x61\x74\x65\x64\x54\x61\x72\x67\x65\x74","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x74\x6F\x6F\x6C\x74\x69\x70\x2E\x70\x6E\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67","\x65\x6E\x74\x72\x79","\x67\x65\x74","\x2F\x65\x6E\x74\x72\x79\x2F","\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x73\x74\x61\x72\x74","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x6E\x64","\x61\x64\x64\x49\x6D\x61\x67\x65\x50\x61\x6C\x65\x74\x74\x65","\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74","\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F","\x61\x6E\x73\x77\x65\x72","\x68\x61\x6E\x67\x75\x70","\x64\x69\x61\x6C","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x71\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x76\x61\x72\x69\x61\x62\x6C\x65","\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2F","\x73\x65\x74","\x6D\x61\x74\x68","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F","\x6D\x65\x6E\x75","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x74\x74\x73","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F","\x72\x65\x63\x6F\x72\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x53\x65\x72\x76\x65\x72","\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F","\x64\x61\x74\x61\x62\x61\x73\x65","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x73\x65\x6E\x64\x53\x4D\x53","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x63\x61\x6C\x6C\x66\x6C\x6F\x77","\x2F\x63\x61\x6C\x6C\x66\x6C\x6F\x77\x2F","\x67\x6F\x74\x6F\x63","\x67\x6F\x74\x6F\x69\x66","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x76\x73\x77\x69\x74\x63\x68","\x73\x74\x61\x74\x73","\x2F\x73\x74\x61\x74\x73\x2F","\x67\x6F\x61\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F","\x6E\x6F\x6F\x70","\x73\x79\x73\x74\x65\x6D","\x61\x67\x69","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x65\x6E\x61\x62\x6C\x65\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x42\x6F\x72\x64\x65\x72","\x74\x68\x75\x6D\x62\x42\x6F\x72\x64\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x44\x65\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x61\x72\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x69\x70\x61\x72\x74\x2F\x47\x65\x61\x72\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x74\x68\x75\x6D\x62\x57\x69\x64\x74\x68","\x74\x68\x75\x6D\x62\x48\x65\x69\x67\x68\x74","\x74\x68\x75\x6D\x62\x50\x61\x64\x64\x69\x6E\x67","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x53\x69\x7A\x65","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70","\x74\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x72\x61\x70\x68\x32","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x76\x69\x65\x77","\x49\x53\x5F\x53\x56\x47","\x63\x61\x6E\x76\x61\x73","\x72\x65\x6C\x61\x74\x69\x76\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x31\x34\x70\x78","\x68\x65\x69\x67\x68\x74","\x32\x37\x70\x78","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x63\x6C\x65\x61\x72","\x6D\x6F\x64\x65\x6C","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x76\x69\x73\x69\x62\x6C\x65","\x70\x78","\x6C\x65\x6E\x67\x74\x68","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x61\x79","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x65\x6E\x74\x65\x72","\x31\x30\x30\x25","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x32\x70\x78","\x36\x70\x78","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x77\x72\x69\x74\x65","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x74\x6F\x70","\x6E\x6F\x6E\x65","\x78","\x6D\x69\x6E","\x79","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x6D\x61\x78","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x29","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x65\x66\x74","\x64\x72\x61\x77\x50\x61\x6E\x65","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x54\x69\x74\x6C\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x68\x75\x6D\x62","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x66\x6C\x6F\x6F\x72","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x4E\x4F\x5F\x46\x4F","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x49\x53\x5F\x49\x45\x36","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x63\x75\x72\x73\x6F\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x49\x53\x5F\x49\x45","\x34\x70\x78","\x63\x72\x65\x61\x74\x65\x49\x74\x65\x6D","\x67\x65\x49\x74\x65\x6D","\x70\x61\x64\x64\x69\x6E\x67","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x63\x72\x65\x61\x74\x65\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x50\x72\x65\x76\x69\x65\x77","\x62\x6F\x72\x64\x65\x72","\x31\x70\x78\x20\x64\x61\x73\x68\x65\x64\x20\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x53\x6F\x75\x72\x63\x65","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x61\x70\x70\x6C\x79","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x6D\x6F\x75\x73\x65\x55\x70","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x61\x62\x73","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x64\x72\x6F\x70","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6C\x61\x62\x65\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65","\x6B\x65\x79","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x4B\x65\x79","\x62\x65\x65\x70","\x69\x74\x2D\x49\x54","\x23","\x66\x69\x6C\x65\x5F\x69\x64","\x6F\x70\x74\x73","\x30","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x64\x69\x67\x69\x74","\x35","\x31","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x72\x65\x74\x72\x79","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x31\x30","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6F\x70\x74\x69\x6F\x6E\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x76\x61\x6C\x75\x65","\x6F\x64\x62\x63\x5F\x69\x64","\x71\x75\x65\x72\x79","\x6F\x75\x74\x70\x75\x74","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x6F\x6D\x6D\x61\x6E\x64","\x61\x72\x67\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x67\x6F\x74\x6F\x69\x66\x6D\x75\x6C\x74\x69\x74\x69\x6D\x65","\x64\x69\x67\x69\x74\x73","\x65\x73\x63\x61\x70\x65\x5F\x64\x69\x67\x69\x74\x73","\x6E\x75\x6D\x62\x65\x72","\x74\x65\x78\x74","\x66\x69\x6C\x65","\x2D\x31","\x73\x69\x70\x5F\x69\x64","\x75\x72\x6C","\x36\x30","\x70\x68\x6F\x6E\x65","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x74","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x73\x70\x65\x65\x64","\x65\x75\x72\x69\x74\x61\x6C\x69\x61\x6E\x66\x65\x6D\x61\x6C\x65","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6D\x61\x63\x72\x6F","\x67\x6F\x73\x75\x62","\x33\x30\x30","\x6D\x61\x69\x6C\x62\x6F\x78","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x5F\x65\x76\x65\x6E\x74","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x64\x61\x74\x61\x35","\x71\x75\x65\x75\x65\x6C\x6F\x67","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x6C\x69\x73\x74\x5F\x69\x64","\x64\x65\x6C\x61\x79","\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x74\x6F","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x76\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x65\x64\x67\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x23\x66\x66\x66\x66\x66\x66","\x61\x64\x64\x50\x61\x6C\x65\x74\x74\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72","\x61\x64\x64\x46\x6F\x6C\x64\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66\x29","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x31\x30\x30\x25\x20\x35\x30\x25","\x77\x61\x69\x74","\x72\x65\x6D\x6F\x76\x65\x50\x61\x6C\x65\x74\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D"];_0x623a[0];function Sidebar(_0xe721x2,_0xe721x3){this[_0x623a[1]]= _0xe721x2;this[_0x623a[2]]= _0xe721x3;this[_0x623a[3]]= new Object();this[_0x623a[4]]= true;this[_0x623a[5]]= new Graph(document[_0x623a[7]](_0x623a[6]),null,null,this[_0x623a[1]][_0x623a[9]][_0x623a[5]][_0x623a[8]]());this[_0x623a[5]][_0x623a[10]]= false;this[_0x623a[5]][_0x623a[11]]= false;this[_0x623a[5]][_0x623a[12]](false);this[_0x623a[5]][_0x623a[13]]= false;this[_0x623a[5]][_0x623a[14]](false);this[_0x623a[5]][_0x623a[15]](false);this[_0x623a[5]][_0x623a[2]][_0x623a[17]][_0x623a[16]]= _0x623a[18];this[_0x623a[5]][_0x623a[2]][_0x623a[17]][_0x623a[19]]= _0x623a[20];document[_0x623a[22]][_0x623a[21]](this[_0x623a[5]][_0x623a[2]]);if(!mxClient[_0x623a[23]]){mxEvent[_0x623a[26]](document,_0x623a[24],mxUtils[_0x623a[25]](this,function(){this[_0x623a[4]]= true}));mxEvent[_0x623a[26]](_0xe721x3,_0x623a[27],mxUtils[_0x623a[25]](this,function(){this[_0x623a[4]]= true}));mxEvent[_0x623a[26]](document,_0x623a[28],mxUtils[_0x623a[25]](this,function(){this[_0x623a[4]]= false;this[_0x623a[29]]()}));mxEvent[_0x623a[26]](document,_0x623a[30],mxUtils[_0x623a[25]](this,function(_0xe721x4){var _0xe721x5=mxEvent[_0x623a[31]](_0xe721x4);while(_0xe721x5!= null){if(_0xe721x5== this[_0x623a[32]]){return};_0xe721x5= _0xe721x5[_0x623a[33]]};this[_0x623a[29]]()}));mxEvent[_0x623a[26]](document,_0x623a[34],mxUtils[_0x623a[25]](this,function(_0xe721x4){if(_0xe721x4[_0x623a[35]]== null&& _0xe721x4[_0x623a[36]]== null){this[_0x623a[29]]()}}))};this[_0x623a[37]](); new Image()[_0x623a[38]]= IMAGE_PATH+ _0x623a[39]}Sidebar[_0x623a[40]][_0x623a[37]]= function(){var _0xe721x6=STENCIL_PATH;console[_0x623a[41]](_0xe721x6);this[_0x623a[49]](_0x623a[42],mxResources[_0x623a[43]](_0x623a[42]),_0xe721x6+ _0x623a[44],_0x623a[45],[_0x623a[46],_0x623a[47],_0x623a[48]],[mxResources[_0x623a[43]](_0x623a[46]),mxResources[_0x623a[43]](_0x623a[47]),mxResources[_0x623a[43]](_0x623a[48])]);this[_0x623a[49]](_0x623a[50],mxResources[_0x623a[43]](_0x623a[50]),_0xe721x6+ _0x623a[51],_0x623a[45],[_0x623a[52],_0x623a[53],_0x623a[54],_0x623a[55],_0x623a[56],_0x623a[57],_0x623a[58]],[mxResources[_0x623a[43]](_0x623a[52]),mxResources[_0x623a[43]](_0x623a[53]),mxResources[_0x623a[43]](_0x623a[54]),mxResources[_0x623a[43]](_0x623a[55]),mxResources[_0x623a[43]](_0x623a[56]),mxResources[_0x623a[43]](_0x623a[57]),mxResources[_0x623a[43]](_0x623a[58])]);this[_0x623a[49]](_0x623a[59],mxResources[_0x623a[43]](_0x623a[59]),_0xe721x6+ _0x623a[60],_0x623a[45],[_0x623a[61],_0x623a[62]],[mxResources[_0x623a[43]](_0x623a[61]),mxResources[_0x623a[43]](_0x623a[62])]);this[_0x623a[49]](_0x623a[63],mxResources[_0x623a[43]](_0x623a[63]),_0xe721x6+ _0x623a[64],_0x623a[45],[_0x623a[63],_0x623a[65],_0x623a[66],_0x623a[67],_0x623a[68],_0x623a[69],_0x623a[70],_0x623a[71]],[mxResources[_0x623a[43]](_0x623a[63]),mxResources[_0x623a[43]](_0x623a[65]),mxResources[_0x623a[43]](_0x623a[66]),mxResources[_0x623a[43]](_0x623a[67]),mxResources[_0x623a[43]](_0x623a[68]),mxResources[_0x623a[43]](_0x623a[69]),mxResources[_0x623a[43]](_0x623a[70]),mxResources[_0x623a[43]](_0x623a[71])]);this[_0x623a[49]](_0x623a[72],mxResources[_0x623a[43]](_0x623a[72]),_0xe721x6+ _0x623a[73],_0x623a[45],[_0x623a[74]],[mxResources[_0x623a[43]](_0x623a[74])]);this[_0x623a[49]](_0x623a[75],mxResources[_0x623a[43]](_0x623a[75]),_0xe721x6+ _0x623a[76],_0x623a[45],[_0x623a[77],_0x623a[78],_0x623a[79],_0x623a[80]],[mxResources[_0x623a[43]](_0x623a[77]),mxResources[_0x623a[43]](_0x623a[78]),mxResources[_0x623a[43]](_0x623a[79]),mxResources[_0x623a[43]](_0x623a[80])]);this[_0x623a[49]](_0x623a[81],mxResources[_0x623a[43]](_0x623a[81]),_0xe721x6+ _0x623a[82],_0x623a[45],[_0x623a[83],_0x623a[84],_0x623a[85],_0x623a[86]],[mxResources[_0x623a[43]](_0x623a[83]),mxResources[_0x623a[43]](_0x623a[84]),mxResources[_0x623a[43]](_0x623a[85]),mxResources[_0x623a[43]](_0x623a[86])]);this[_0x623a[49]](_0x623a[87],mxResources[_0x623a[43]](_0x623a[87]),_0xe721x6+ _0x623a[88],_0x623a[45],[_0x623a[89]],[mxResources[_0x623a[43]](_0x623a[89])]);this[_0x623a[49]](_0x623a[90],mxResources[_0x623a[43]](_0x623a[90]),_0xe721x6+ _0x623a[91],_0x623a[45],[_0x623a[92],_0x623a[93],_0x623a[94],_0x623a[95],_0x623a[96]],[mxResources[_0x623a[43]](_0x623a[92]),mxResources[_0x623a[43]](_0x623a[93]),mxResources[_0x623a[43]](_0x623a[94]),mxResources[_0x623a[43]](_0x623a[95]),mxResources[_0x623a[43]](_0x623a[96])])};Sidebar[_0x623a[40]][_0x623a[97]]= !mxClient[_0x623a[23]];Sidebar[_0x623a[40]][_0x623a[98]]= 16;Sidebar[_0x623a[40]][_0x623a[99]]= 3;Sidebar[_0x623a[40]][_0x623a[100]]= 300;Sidebar[_0x623a[40]][_0x623a[101]]= true;Sidebar[_0x623a[40]][_0x623a[102]]= STENCIL_PATH+ _0x623a[103];Sidebar[_0x623a[40]][_0x623a[104]]= 34;Sidebar[_0x623a[40]][_0x623a[105]]= 34;Sidebar[_0x623a[40]][_0x623a[106]]= 2;Sidebar[_0x623a[40]][_0x623a[107]]= 9;Sidebar[_0x623a[40]][_0x623a[108]]= false;Sidebar[_0x623a[40]][_0x623a[109]]= false;Sidebar[_0x623a[40]][_0x623a[110]]= function(_0xe721x7,_0xe721x8,_0xe721x9,_0xe721xa){if(this[_0x623a[97]]&& this[_0x623a[4]]){if(this[_0x623a[32]]!= _0xe721x7){if(this[_0x623a[111]]!= null){window[_0x623a[112]](this[_0x623a[111]]);this[_0x623a[111]]= null};var _0xe721xb=mxUtils[_0x623a[25]](this,function(){if(this[_0x623a[113]]== null){this[_0x623a[113]]= document[_0x623a[7]](_0x623a[6]);this[_0x623a[113]][_0x623a[114]]= _0x623a[115];document[_0x623a[22]][_0x623a[21]](this[_0x623a[113]]);this[_0x623a[116]]= new Graph(this[_0x623a[113]],null,null,this[_0x623a[1]][_0x623a[9]][_0x623a[5]][_0x623a[8]]());this[_0x623a[116]][_0x623a[118]][_0x623a[117]](this[_0x623a[98]],this[_0x623a[98]]);this[_0x623a[116]][_0x623a[10]]= false;this[_0x623a[116]][_0x623a[11]]= false;this[_0x623a[116]][_0x623a[13]]= false;this[_0x623a[116]][_0x623a[14]](false);this[_0x623a[116]][_0x623a[12]](false);this[_0x623a[116]][_0x623a[15]](false);if(!mxClient[_0x623a[119]]){this[_0x623a[116]][_0x623a[118]][_0x623a[120]][_0x623a[17]][_0x623a[19]]= _0x623a[121]};this[_0x623a[122]]= mxUtils[_0x623a[123]](IMAGE_PATH+ _0x623a[39]);this[_0x623a[122]][_0x623a[17]][_0x623a[19]]= _0x623a[20];this[_0x623a[122]][_0x623a[17]][_0x623a[124]]= _0x623a[125];this[_0x623a[122]][_0x623a[17]][_0x623a[126]]= _0x623a[127];document[_0x623a[22]][_0x623a[21]](this[_0x623a[122]])};this[_0x623a[113]][_0x623a[17]][_0x623a[128]]= _0x623a[129];this[_0x623a[116]][_0x623a[130]]= (_0xe721xa== null|| _0xe721xa);this[_0x623a[116]][_0x623a[132]][_0x623a[131]]();this[_0x623a[116]][_0x623a[133]](_0xe721x8);var _0xe721xc=this[_0x623a[116]][_0x623a[134]]();var _0xe721xd=_0xe721xc[_0x623a[124]]+ 2* this[_0x623a[98]];var _0xe721xe=_0xe721xc[_0x623a[126]]+ 2* this[_0x623a[98]];if(mxClient[_0x623a[135]]){_0xe721xd+= 4;_0xe721xe+= 4;this[_0x623a[113]][_0x623a[17]][_0x623a[136]]= _0x623a[18]}else {this[_0x623a[113]][_0x623a[17]][_0x623a[136]]= _0x623a[137]};this[_0x623a[122]][_0x623a[17]][_0x623a[16]]= _0x623a[137];this[_0x623a[113]][_0x623a[17]][_0x623a[124]]= _0xe721xd+ _0x623a[138];if(this[_0x623a[109]]&& _0xe721x9!= null&& _0xe721x9[_0x623a[139]]> 0){if(this[_0x623a[140]]== null){this[_0x623a[140]]= document[_0x623a[7]](_0x623a[6]);this[_0x623a[140]][_0x623a[17]][_0x623a[141]]= _0x623a[142];this[_0x623a[140]][_0x623a[17]][_0x623a[143]]= _0x623a[144];this[_0x623a[140]][_0x623a[17]][_0x623a[124]]= _0x623a[145];this[_0x623a[140]][_0x623a[17]][_0x623a[136]]= _0x623a[18];if(mxClient[_0x623a[119]]){this[_0x623a[140]][_0x623a[17]][_0x623a[146]]= _0x623a[147]}else {this[_0x623a[140]][_0x623a[17]][_0x623a[19]]= _0x623a[20];this[_0x623a[140]][_0x623a[17]][_0x623a[146]]= _0x623a[148]};this[_0x623a[113]][_0x623a[21]](this[_0x623a[140]])}else {this[_0x623a[140]][_0x623a[149]]= _0x623a[150]};this[_0x623a[140]][_0x623a[17]][_0x623a[128]]= _0x623a[150];mxUtils[_0x623a[151]](this[_0x623a[140]],_0xe721x9);var _0xe721xf=this[_0x623a[140]][_0x623a[152]]+ 10;_0xe721xe+= _0xe721xf;if(mxClient[_0x623a[119]]){this[_0x623a[140]][_0x623a[17]][_0x623a[153]]= (-_0xe721xf) + _0x623a[138]}else {_0xe721xe-= 6;this[_0x623a[140]][_0x623a[17]][_0x623a[154]]= (_0xe721xe- _0xe721xf)+ _0x623a[138]}}else {if(this[_0x623a[140]]!= null&& this[_0x623a[140]][_0x623a[33]]!= null){this[_0x623a[140]][_0x623a[17]][_0x623a[128]]= _0x623a[155]}};this[_0x623a[113]][_0x623a[17]][_0x623a[126]]= _0xe721xe+ _0x623a[138];var _0xe721x10=-Math[_0x623a[157]](0,_0xe721xc[_0x623a[156]]- this[_0x623a[98]]);var _0xe721x11=-Math[_0x623a[157]](0,_0xe721xc[_0x623a[158]]- this[_0x623a[98]]);var _0xe721x12=this[_0x623a[2]][_0x623a[159]]+ this[_0x623a[1]][_0x623a[160]]+ 3;var _0xe721x13=Math[_0x623a[163]](0,(this[_0x623a[2]][_0x623a[161]]+ _0xe721x7[_0x623a[161]]- this[_0x623a[2]][_0x623a[162]]- _0xe721xe/ 2+ 16));if(mxClient[_0x623a[119]]){this[_0x623a[116]][_0x623a[118]][_0x623a[120]][_0x623a[168]](_0x623a[164],_0x623a[165]+ _0xe721x10+ _0x623a[166]+ _0xe721x11+ _0x623a[167])}else {this[_0x623a[116]][_0x623a[118]][_0x623a[170]][_0x623a[17]][_0x623a[169]]= _0xe721x10+ _0x623a[138];this[_0x623a[116]][_0x623a[118]][_0x623a[170]][_0x623a[17]][_0x623a[154]]= _0xe721x11+ _0x623a[138]};_0xe721x12+= document[_0x623a[173]](_0x623a[172])[_0x623a[171]];_0xe721x13+= 90;this[_0x623a[113]][_0x623a[17]][_0x623a[19]]= _0x623a[20];this[_0x623a[113]][_0x623a[17]][_0x623a[169]]= _0xe721x12+ _0x623a[138];this[_0x623a[113]][_0x623a[17]][_0x623a[154]]= _0xe721x13+ _0x623a[138];this[_0x623a[122]][_0x623a[17]][_0x623a[169]]= (_0xe721x12- 13)+ _0x623a[138];this[_0x623a[122]][_0x623a[17]][_0x623a[154]]= (_0xe721x13+ _0xe721xe/ 2- 13)+ _0x623a[138]});if(this[_0x623a[113]]!= null&& this[_0x623a[113]][_0x623a[17]][_0x623a[128]]!= _0x623a[155]){_0xe721xb()}else {this[_0x623a[111]]= window[_0x623a[174]](_0xe721xb,this[_0x623a[100]])};this[_0x623a[32]]= _0xe721x7}}};Sidebar[_0x623a[40]][_0x623a[29]]= function(){if(this[_0x623a[111]]!= null){window[_0x623a[112]](this[_0x623a[111]]);this[_0x623a[111]]= null};if(this[_0x623a[113]]!= null){this[_0x623a[113]][_0x623a[17]][_0x623a[128]]= _0x623a[155];this[_0x623a[122]][_0x623a[17]][_0x623a[16]]= _0x623a[18];this[_0x623a[32]]= null}};Sidebar[_0x623a[40]][_0x623a[175]]= function(_0xe721x14){var _0xe721x7=document[_0x623a[7]](_0x623a[176]);_0xe721x7[_0x623a[168]](_0x623a[177],_0x623a[178]);_0xe721x7[_0x623a[114]]= _0x623a[179];mxUtils[_0x623a[151]](_0xe721x7,_0xe721x14);return _0xe721x7};Sidebar[_0x623a[40]][_0x623a[180]]= function(_0xe721x8,_0xe721xd,_0xe721xe,_0xe721x15,_0xe721x9,_0xe721xa){this[_0x623a[5]][_0x623a[130]]= (_0xe721xa== null|| _0xe721xa);this[_0x623a[5]][_0x623a[118]][_0x623a[181]](1,0,0);this[_0x623a[5]][_0x623a[133]](_0xe721x8);var _0xe721xc=this[_0x623a[5]][_0x623a[134]]();var _0xe721x16=this[_0x623a[99]];var _0xe721x17=Math[_0x623a[157]]((_0xe721xd- 2)/ (_0xe721xc[_0x623a[124]]- _0xe721xc[_0x623a[156]]+ _0xe721x16),(_0xe721xe- 2)/ (_0xe721xc[_0x623a[126]]- _0xe721xc[_0x623a[158]]+ _0xe721x16));var _0xe721x10=-Math[_0x623a[157]](_0xe721xc[_0x623a[156]],0);var _0xe721x11=-Math[_0x623a[157]](_0xe721xc[_0x623a[158]],0);this[_0x623a[5]][_0x623a[118]][_0x623a[181]](_0xe721x17,_0xe721x10,_0xe721x11);_0xe721xc= this[_0x623a[5]][_0x623a[134]]();var _0xe721x18=Math[_0x623a[163]](0,Math[_0x623a[182]]((_0xe721xd- _0xe721xc[_0x623a[124]]- _0xe721xc[_0x623a[156]])/ 2));var _0xe721xf=Math[_0x623a[163]](0,Math[_0x623a[182]]((_0xe721xe- _0xe721xc[_0x623a[126]]- _0xe721xc[_0x623a[158]])/ 2));var _0xe721x19=null;if(this[_0x623a[5]][_0x623a[183]]== mxConstants[_0x623a[184]]&& !mxClient[_0x623a[185]]){_0xe721x19= this[_0x623a[5]][_0x623a[118]][_0x623a[188]]()[_0x623a[187]][_0x623a[186]](true)}else {_0xe721x19= this[_0x623a[5]][_0x623a[2]][_0x623a[186]](false);_0xe721x19[_0x623a[149]]= this[_0x623a[5]][_0x623a[2]][_0x623a[149]]};this[_0x623a[5]][_0x623a[189]]()[_0x623a[131]]();if(mxClient[_0x623a[190]]){_0xe721x15[_0x623a[17]][_0x623a[191]]= _0x623a[192]+ this[_0x623a[1]][_0x623a[9]][_0x623a[193]]+ _0x623a[167]};var _0xe721x1a=3;_0xe721x19[_0x623a[17]][_0x623a[19]]= _0x623a[121];_0xe721x19[_0x623a[17]][_0x623a[136]]= _0x623a[18];_0xe721x19[_0x623a[17]][_0x623a[194]]= _0x623a[195];_0xe721x19[_0x623a[17]][_0x623a[169]]= (_0xe721x18+ _0xe721x1a)+ _0x623a[138];_0xe721x19[_0x623a[17]][_0x623a[154]]= (_0xe721xf+ _0xe721x1a)+ _0x623a[138];_0xe721x19[_0x623a[17]][_0x623a[124]]= _0xe721xd+ _0x623a[138];_0xe721x19[_0x623a[17]][_0x623a[126]]= _0xe721xe+ _0x623a[138];_0xe721x19[_0x623a[17]][_0x623a[16]]= _0x623a[150];_0xe721x19[_0x623a[17]][_0x623a[196]]= _0x623a[150];_0xe721x19[_0x623a[17]][_0x623a[197]]= _0x623a[150];_0xe721x15[_0x623a[21]](_0xe721x19);if(this[_0x623a[108]]&& _0xe721x9!= null){var _0xe721x1b=(mxClient[_0x623a[135]])?2* this[_0x623a[106]]+ 2:0;_0xe721x15[_0x623a[17]][_0x623a[126]]= (this[_0x623a[105]]+ _0xe721x1b+ this[_0x623a[107]]+ 8)+ _0x623a[138];var _0xe721x1c=document[_0x623a[7]](_0x623a[6]);_0xe721x1c[_0x623a[17]][_0x623a[198]]= this[_0x623a[107]]+ _0x623a[138];_0xe721x1c[_0x623a[17]][_0x623a[143]]= _0x623a[144];_0xe721x1c[_0x623a[17]][_0x623a[199]]= _0x623a[200];if(mxClient[_0x623a[201]]){_0xe721x1c[_0x623a[17]][_0x623a[126]]= (this[_0x623a[107]]+ 12)+ _0x623a[138]};_0xe721x1c[_0x623a[17]][_0x623a[146]]= _0x623a[202];mxUtils[_0x623a[151]](_0xe721x1c,_0xe721x9);_0xe721x15[_0x623a[21]](_0xe721x1c)}};Sidebar[_0x623a[40]][_0x623a[203]]= function(_0xe721x8,_0xe721x9,_0xe721xa){var _0xe721x7=document[_0x623a[7]](_0x623a[176]);_0xe721x7[_0x623a[168]](_0x623a[177],_0x623a[178]);_0xe721x7[_0x623a[114]]= _0x623a[204];_0xe721x7[_0x623a[17]][_0x623a[136]]= _0x623a[18];var _0xe721x1b=(mxClient[_0x623a[135]])?8+ 2* this[_0x623a[106]]:6;_0xe721x7[_0x623a[17]][_0x623a[124]]= (this[_0x623a[104]]+ _0xe721x1b)+ _0x623a[138];_0xe721x7[_0x623a[17]][_0x623a[126]]= (this[_0x623a[105]]+ _0xe721x1b)+ _0x623a[138];_0xe721x7[_0x623a[17]][_0x623a[205]]= this[_0x623a[106]]+ _0x623a[138];mxEvent[_0x623a[26]](_0xe721x7,_0x623a[206],function(_0xe721x4){mxEvent[_0x623a[207]](_0xe721x4)});this[_0x623a[180]](_0xe721x8,this[_0x623a[104]],this[_0x623a[105]],_0xe721x7,_0xe721x9,_0xe721xa);return _0xe721x7};Sidebar[_0x623a[40]][_0x623a[208]]= function(_0xe721x8,_0xe721x1d){return function(_0xe721x1e,_0xe721x4,_0xe721x1f,_0xe721x20,_0xe721x21){if(_0xe721x1e[_0x623a[209]]()){_0xe721x8= _0xe721x1e[_0x623a[210]](_0xe721x8);if(_0xe721x8[_0x623a[139]]> 0){var _0xe721x22=(_0xe721x1f!= null)?_0xe721x1e[_0x623a[211]](_0xe721x1f,_0xe721x8,_0xe721x4):false;var _0xe721x23=null;if(_0xe721x1f!= null&& !_0xe721x22){_0xe721x1f= null};if(_0xe721x1d&& _0xe721x1e[_0x623a[212]]()&& _0xe721x1e[_0x623a[213]](_0xe721x1f,_0xe721x8,_0xe721x4)){_0xe721x1e[_0x623a[214]](_0xe721x1f,_0xe721x8,null,_0xe721x20,_0xe721x21);_0xe721x23= _0xe721x8}else {if(_0xe721x8[_0x623a[139]]> 0){_0xe721x23= _0xe721x1e[_0x623a[215]](_0xe721x8,_0xe721x20,_0xe721x21,_0xe721x1f)}};if(_0xe721x23!= null&& _0xe721x23[_0x623a[139]]> 0){_0xe721x1e[_0x623a[216]](_0xe721x23[0]);_0xe721x1e[_0x623a[217]](_0xe721x23)}}}}};Sidebar[_0x623a[40]][_0x623a[218]]= function(_0xe721xd,_0xe721xe){var _0xe721x7=document[_0x623a[7]](_0x623a[6]);_0xe721x7[_0x623a[17]][_0x623a[219]]= _0x623a[220];_0xe721x7[_0x623a[17]][_0x623a[124]]= _0xe721xd+ _0x623a[138];_0xe721x7[_0x623a[17]][_0x623a[126]]= _0xe721xe+ _0x623a[138];return _0xe721x7};Sidebar[_0x623a[40]][_0x623a[221]]= function(_0xe721x7,_0xe721x24,_0xe721x25){var _0xe721x26=mxUtils[_0x623a[223]](_0xe721x7,this[_0x623a[1]][_0x623a[9]][_0x623a[5]],_0xe721x24,_0xe721x25,0,0,this[_0x623a[1]][_0x623a[9]][_0x623a[5]][_0x623a[222]],true,true);_0xe721x26[_0x623a[224]]= function(_0xe721x1e,_0xe721x20,_0xe721x21){var _0xe721x1f=mxDragSource[_0x623a[40]][_0x623a[224]][_0x623a[225]](this,arguments);if(!_0xe721x1e[_0x623a[226]](_0xe721x1f)){_0xe721x1f= null};return _0xe721x1f};return _0xe721x26};Sidebar[_0x623a[40]][_0x623a[227]]= function(_0xe721x7,_0xe721x27){var _0xe721x1e=this[_0x623a[1]][_0x623a[9]][_0x623a[5]];var _0xe721x28=null;mxEvent[_0x623a[230]](_0xe721x7,function(_0xe721x4){_0xe721x28= new mxPoint(mxEvent[_0x623a[228]](_0xe721x4),mxEvent[_0x623a[229]](_0xe721x4))});var _0xe721x29=_0xe721x27[_0x623a[231]];_0xe721x27[_0x623a[231]]= function(_0xe721x4){if(!mxEvent[_0x623a[232]](_0xe721x4)&& this[_0x623a[233]]== null&& _0xe721x28!= null){var _0xe721x2a=_0xe721x1e[_0x623a[234]];if(Math[_0x623a[235]](_0xe721x28[_0x623a[156]]- mxEvent[_0x623a[228]](_0xe721x4))<= _0xe721x2a&& Math[_0x623a[235]](_0xe721x28[_0x623a[158]]- mxEvent[_0x623a[229]](_0xe721x4))<= _0xe721x2a){var _0xe721x2b=_0xe721x1e[_0x623a[236]]();_0xe721x27[_0x623a[237]](_0xe721x1e,_0xe721x4,null,_0xe721x2b,_0xe721x2b)}};_0xe721x29[_0x623a[225]](this,arguments);_0xe721x28= null}};Sidebar[_0x623a[40]][_0x623a[238]]= function(_0xe721x2c,_0xe721x14,_0xe721x2d,_0xe721x2e){var _0xe721x2f=mxUtils[_0x623a[238]]();var _0xe721x19=_0xe721x2f[_0x623a[7]](_0xe721x2c);_0xe721x19[_0x623a[168]](_0x623a[239],_0xe721x14);_0xe721x2d[_0x623a[240]](function(_0xe721x30,_0xe721x31){_0xe721x19[_0x623a[168]](_0xe721x30,_0xe721x2e[_0xe721x31]?_0xe721x2e[_0xe721x31]:_0x623a[150])});return _0xe721x19};Sidebar[_0x623a[40]][_0x623a[241]]= function(_0xe721x32,_0xe721xd,_0xe721xe,_0xe721x33,_0xe721x9,_0xe721xa){var _0xe721x2d=[];var _0xe721x2e=[];switch(_0xe721x33){case _0x623a[52]:break;case _0x623a[78]:_0xe721x2d= [_0x623a[242],_0x623a[132],_0x623a[243],_0x623a[244],_0x623a[245],_0x623a[246]];_0xe721x2e= [_0x623a[150],0,_0x623a[247],1,_0x623a[248],true];break;case _0x623a[63]:_0xe721x2d= [_0x623a[249],_0x623a[250]];_0xe721x2e= [_0x623a[251]];break;case _0x623a[256]:_0xe721x2d= [_0x623a[249],_0x623a[252],_0x623a[253]];_0xe721x2e= [_0x623a[251],_0x623a[254],_0x623a[255]];break;case _0x623a[65]:_0xe721x2d= [_0x623a[249],_0x623a[252],_0x623a[253],_0x623a[257],_0x623a[258]];_0xe721x2e= [_0x623a[251],_0x623a[254],_0x623a[255],_0x623a[255],_0x623a[251]];break;case _0x623a[71]:_0xe721x2d= [_0x623a[249],_0x623a[252],_0x623a[259],_0x623a[260],_0x623a[257],_0x623a[258]];_0xe721x2e= [_0x623a[251],_0x623a[254],_0x623a[255],_0x623a[261],_0x623a[255],_0x623a[251]];break;case _0x623a[96]:_0xe721x2d= [_0x623a[262],_0x623a[263]];_0xe721x2e= [_0x623a[150],_0x623a[150]];break;case _0x623a[61]:_0xe721x2d= [_0x623a[258],_0x623a[264]];_0xe721x2e= [_0x623a[251],_0x623a[150]];break;case _0x623a[77]:_0xe721x2d= [_0x623a[265],_0x623a[266],_0x623a[258]];_0xe721x2e= [_0x623a[251],_0x623a[150],_0x623a[251]];break;case _0x623a[92]:_0xe721x2d= [_0x623a[267]];_0xe721x2e= [];break;case _0x623a[83]:_0xe721x2d= [_0x623a[268],_0x623a[269]];_0xe721x2e= [];break;case _0x623a[93]:_0xe721x2d= [_0x623a[258],_0x623a[270]];_0xe721x2e= [];break;case _0x623a[94]:_0xe721x2d= [_0x623a[271],_0x623a[270]];_0xe721x2e= [];break;case _0x623a[84]:_0xe721x2d= [_0x623a[272]];_0xe721x2e= [];break;case _0x623a[85]:_0xe721x2d= [_0x623a[273]];_0xe721x2e= [_0x623a[251]];break;case _0x623a[274]:_0xe721x2d= [_0x623a[273]];_0xe721x2e= [_0x623a[251]];break;case _0x623a[86]:_0xe721x2d= [_0x623a[258]];_0xe721x2e= [_0x623a[251]];break;case _0x623a[66]:_0xe721x2d= [_0x623a[275],_0x623a[276]];_0xe721x2e= [_0x623a[150],_0x623a[248]];break;case _0x623a[67]:_0xe721x2d= [_0x623a[277],_0x623a[276]];_0xe721x2e= [_0x623a[150],_0x623a[248]];break;case _0x623a[68]:_0xe721x2d= [_0x623a[278],_0x623a[276]];_0xe721x2e= [_0x623a[150],_0x623a[248]];break;case _0x623a[74]:_0xe721x2d= [_0x623a[279],_0x623a[244],_0x623a[276]];_0xe721x2e= [_0x623a[150],_0x623a[280],_0x623a[248]];break;case _0x623a[54]:_0xe721x2d= [_0x623a[281],_0x623a[244],_0x623a[96],_0x623a[282]];_0xe721x2e= [_0x623a[251],_0x623a[283]];break;case _0x623a[55]:_0xe721x2d= [_0x623a[284],_0x623a[285],_0x623a[244],_0x623a[250],_0x623a[282]];_0xe721x2e= [_0x623a[150],_0x623a[280],_0x623a[283]];break;case _0x623a[69]:_0xe721x2d= [_0x623a[278],_0x623a[286]];_0xe721x2e= [_0x623a[150],_0x623a[287]];break;case _0x623a[70]:_0xe721x2d= [_0x623a[278],_0x623a[242],_0x623a[288],_0x623a[289],_0x623a[245]];_0xe721x2e= [_0x623a[150],_0x623a[150],_0x623a[290],_0x623a[251],_0x623a[248]];break;case _0x623a[56]:_0xe721x2d= [_0x623a[291],_0x623a[250],_0x623a[282],_0x623a[249],_0x623a[244],_0x623a[94],_0x623a[292],_0x623a[293],_0x623a[19]];_0xe721x2e= [_0x623a[280],_0x623a[150],_0x623a[150],_0x623a[251],_0x623a[294]];break;case _0x623a[57]:_0xe721x2d= [_0x623a[295],_0x623a[263]];_0xe721x2e= [_0x623a[150],_0x623a[150]];break;case _0x623a[95]:_0xe721x2d= [_0x623a[296]];_0xe721x2e= [_0x623a[251]];break;case _0x623a[62]:_0xe721x2d= [_0x623a[297],_0x623a[258]];_0xe721x2e= [_0x623a[150],_0x623a[251]];break;case _0x623a[306]:_0xe721x2d= [_0x623a[298],_0x623a[299],_0x623a[300],_0x623a[301],_0x623a[302],_0x623a[303],_0x623a[304],_0x623a[305]];_0xe721x2e= [];break;case _0x623a[89]:_0xe721x2d= [_0x623a[307]];_0xe721x2e= [];break;case _0x623a[58]:_0xe721x2d= [_0x623a[308],_0x623a[284],_0x623a[309],_0x623a[310]];_0xe721x2e= [_0x623a[150],_0x623a[311],_0x623a[251],_0x623a[254]];break;case _0x623a[79]:_0xe721x2d= [_0x623a[312],_0x623a[313],_0x623a[314]];_0xe721x2e= [_0x623a[251]];break;case _0x623a[80]:_0xe721x2d= [_0x623a[312],_0x623a[313],_0x623a[315],_0x623a[316],_0x623a[278]];_0xe721x2e= [_0x623a[251]];break;default:_0xe721x2d= [];_0xe721x2e= [];break};var _0xe721x19=this[_0x623a[238]](_0xe721x33,_0xe721x9,_0xe721x2d,_0xe721x2e);var _0xe721x8=[ new mxCell(_0xe721x19, new mxGeometry(0,0,_0xe721xd,_0xe721xe),_0xe721x32)];_0xe721x8[0][_0x623a[317]]= true;return this[_0x623a[318]](_0xe721x8,_0xe721xd,_0xe721xe,_0xe721x9,_0xe721xa)};Sidebar[_0x623a[40]][_0x623a[318]]= function(_0xe721x8,_0xe721xd,_0xe721xe,_0xe721x9,_0xe721xa){var _0xe721x7=this[_0x623a[203]](_0xe721x8,_0xe721x9,_0xe721xa);var _0xe721x27=this[_0x623a[221]](_0xe721x7,this[_0x623a[208]](_0xe721x8,true),this[_0x623a[218]](_0xe721xd,_0xe721xe));this[_0x623a[227]](_0xe721x7,_0xe721x27);_0xe721x27[_0x623a[319]]= mxUtils[_0x623a[25]](this,function(){return this[_0x623a[1]][_0x623a[9]][_0x623a[5]][_0x623a[321]][_0x623a[320]]});if(!touchStyle){mxEvent[_0x623a[26]](_0xe721x7,_0x623a[30],mxUtils[_0x623a[25]](this,function(_0xe721x4){this[_0x623a[110]](_0xe721x7,_0xe721x8,_0xe721x9,_0xe721xa)}))};return _0xe721x7};Sidebar[_0x623a[40]][_0x623a[322]]= function(_0xe721x32,_0xe721xd,_0xe721xe,_0xe721x33,_0xe721x9,_0xe721xa){var _0xe721x8=[ new mxCell((_0xe721x33!= null)?_0xe721x33:_0x623a[150], new mxGeometry(0,0,_0xe721xd,_0xe721xe),_0xe721x32)];_0xe721x8[0][_0x623a[324]][_0x623a[323]]( new mxPoint(0,_0xe721xe),true);_0xe721x8[0][_0x623a[324]][_0x623a[323]]( new mxPoint(_0xe721xd,0),false);_0xe721x8[0][_0x623a[324]][_0x623a[121]]= true;_0xe721x8[0][_0x623a[325]]= true;return this[_0x623a[326]](_0xe721x8,_0xe721xd,_0xe721xe,_0xe721x9,_0xe721xa)};Sidebar[_0x623a[40]][_0x623a[326]]= function(_0xe721x8,_0xe721xd,_0xe721xe,_0xe721x9,_0xe721xa){var _0xe721x7=this[_0x623a[203]](_0xe721x8,_0xe721x9,_0xe721xa);this[_0x623a[221]](_0xe721x7,this[_0x623a[208]](_0xe721x8,false),this[_0x623a[218]](_0xe721xd,_0xe721xe));var _0xe721x1e=this[_0x623a[1]][_0x623a[9]][_0x623a[5]];mxEvent[_0x623a[26]](_0xe721x7,_0x623a[206],mxUtils[_0x623a[25]](this,function(_0xe721x4){if(this[_0x623a[101]]){_0xe721x1e[_0x623a[327]](_0xe721x8[0])};_0xe721x7[_0x623a[17]][_0x623a[328]]= _0x623a[329];window[_0x623a[174]](function(){_0xe721x7[_0x623a[17]][_0x623a[328]]= _0x623a[150]},300);mxEvent[_0x623a[207]](_0xe721x4)}));if(!touchStyle){mxEvent[_0x623a[26]](_0xe721x7,_0x623a[30],mxUtils[_0x623a[25]](this,function(_0xe721x4){this[_0x623a[110]](_0xe721x7,_0xe721x8,_0xe721x9,_0xe721xa)}))};return _0xe721x7};Sidebar[_0x623a[40]][_0x623a[330]]= function(_0xe721x34,_0xe721x9,_0xe721x35,_0xe721x36){var _0xe721x7=this[_0x623a[175]](_0xe721x9);this[_0x623a[2]][_0x623a[21]](_0xe721x7);var _0xe721x1c=document[_0x623a[7]](_0x623a[6]);_0xe721x1c[_0x623a[114]]= _0x623a[331];if(_0xe721x35){_0xe721x36(_0xe721x1c);_0xe721x36= null}else {_0xe721x1c[_0x623a[17]][_0x623a[128]]= _0x623a[155]};this[_0x623a[332]](_0xe721x7,_0xe721x1c,_0xe721x36);var _0xe721x37=document[_0x623a[7]](_0x623a[6]);_0xe721x37[_0x623a[21]](_0xe721x1c);this[_0x623a[2]][_0x623a[21]](_0xe721x37);if(_0xe721x34!= null){this[_0x623a[3]][_0xe721x34]= [_0xe721x7,_0xe721x37]}};Sidebar[_0x623a[40]][_0x623a[332]]= function(_0xe721x9,_0xe721x38,_0xe721x39){var _0xe721x3a=false;_0xe721x9[_0x623a[17]][_0x623a[191]]= (_0xe721x38[_0x623a[17]][_0x623a[128]]== _0x623a[155])?_0x623a[192]+ IMAGE_PATH+ _0x623a[333]:_0x623a[192]+ IMAGE_PATH+ _0x623a[334];_0xe721x9[_0x623a[17]][_0x623a[335]]= _0x623a[336];_0xe721x9[_0x623a[17]][_0x623a[337]]= _0x623a[338];mxEvent[_0x623a[26]](_0xe721x9,_0x623a[206],function(_0xe721x4){if(_0xe721x38[_0x623a[17]][_0x623a[128]]== _0x623a[155]){if(!_0xe721x3a){_0xe721x3a= true;if(_0xe721x39!= null){_0xe721x9[_0x623a[17]][_0x623a[194]]= _0x623a[339];window[_0x623a[174]](function(){_0xe721x39(_0xe721x38);_0xe721x9[_0x623a[17]][_0x623a[194]]= _0x623a[150]},0)}};_0xe721x9[_0x623a[17]][_0x623a[191]]= _0x623a[192]+ IMAGE_PATH+ _0x623a[334];_0xe721x38[_0x623a[17]][_0x623a[128]]= _0x623a[129]}else {_0xe721x9[_0x623a[17]][_0x623a[191]]= _0x623a[192]+ IMAGE_PATH+ _0x623a[333];_0xe721x38[_0x623a[17]][_0x623a[128]]= _0x623a[155]};mxEvent[_0x623a[207]](_0xe721x4)})};Sidebar[_0x623a[40]][_0x623a[340]]= function(_0xe721x34){var _0xe721x3b=this[_0x623a[3]][_0xe721x34];if(_0xe721x3b!= null){this[_0x623a[3]][_0xe721x34]= null;for(var _0xe721x3c=0;_0xe721x3c< _0xe721x3b[_0x623a[139]];_0xe721x3c++){this[_0x623a[2]][_0x623a[341]](_0xe721x3b[_0xe721x3c])};return true};return false};Sidebar[_0x623a[40]][_0x623a[49]]= function(_0xe721x34,_0xe721x9,_0xe721x3d,_0xe721x3e,_0xe721x3f,_0xe721x40){this[_0x623a[330]](_0xe721x34,_0xe721x9,(_0xe721x34=== _0x623a[42]),mxUtils[_0x623a[25]](this,function(_0xe721x38){var _0xe721x41=_0xe721x40!= null;for(var _0xe721x3c=0;_0xe721x3c< _0xe721x3f[_0x623a[139]];_0xe721x3c++){var _0xe721x42=_0xe721x3d+ _0xe721x3f[_0xe721x3c]+ _0xe721x3e;_0xe721x38[_0x623a[21]](this[_0x623a[241]](_0x623a[342]+ _0xe721x42,80,80,_0xe721x3f[_0xe721x3c],(_0xe721x41)?_0xe721x40[_0xe721x3c]:null,_0xe721x41))}}))} \ No newline at end of file +var _0xadd2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x70\x61\x6C\x65\x74\x74\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x67\x72\x61\x70\x68","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x53\x74\x79\x6C\x65\x73\x68\x65\x65\x74","\x65\x64\x69\x74\x6F\x72","\x72\x65\x73\x65\x74\x56\x69\x65\x77\x4F\x6E\x52\x6F\x6F\x74\x43\x68\x61\x6E\x67\x65","\x66\x6F\x6C\x64\x69\x6E\x67\x45\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x43\x6F\x6E\x6E\x65\x63\x74\x61\x62\x6C\x65","\x61\x75\x74\x6F\x53\x63\x72\x6F\x6C\x6C","\x73\x65\x74\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x76\x69\x73\x69\x62\x69\x6C\x69\x74\x79","\x73\x74\x79\x6C\x65","\x68\x69\x64\x64\x65\x6E","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x62\x6F\x64\x79","\x49\x53\x5F\x54\x4F\x55\x43\x48","\x6D\x6F\x75\x73\x65\x75\x70","\x62\x69\x6E\x64","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x73\x63\x72\x6F\x6C\x6C","\x6D\x6F\x75\x73\x65\x64\x6F\x77\x6E","\x68\x69\x64\x65\x54\x6F\x6F\x6C\x74\x69\x70","\x6D\x6F\x75\x73\x65\x6D\x6F\x76\x65","\x67\x65\x74\x53\x6F\x75\x72\x63\x65","\x63\x75\x72\x72\x65\x6E\x74\x45\x6C\x74","\x70\x61\x72\x65\x6E\x74\x4E\x6F\x64\x65","\x6D\x6F\x75\x73\x65\x6F\x75\x74","\x74\x6F\x45\x6C\x65\x6D\x65\x6E\x74","\x72\x65\x6C\x61\x74\x65\x64\x54\x61\x72\x67\x65\x74","\x69\x6E\x69\x74","\x73\x72\x63","\x2F\x74\x6F\x6F\x6C\x74\x69\x70\x2E\x70\x6E\x67","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x6C\x6F\x67","\x65\x6E\x74\x72\x79","\x67\x65\x74","\x2F\x65\x6E\x74\x72\x79\x2F","\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x73\x74\x61\x72\x74","\x66\x69\x6E\x61\x6C\x6C\x79","\x65\x6E\x64","\x61\x64\x64\x49\x6D\x61\x67\x65\x50\x61\x6C\x65\x74\x74\x65","\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74","\x2F\x63\x61\x6C\x6C\x5F\x6D\x61\x6E\x61\x67\x65\x6D\x65\x6E\x74\x2F","\x61\x6E\x73\x77\x65\x72","\x68\x61\x6E\x67\x75\x70","\x64\x69\x61\x6C","\x65\x78\x74\x5F\x64\x69\x61\x6C","\x71\x75\x65\x75\x65","\x76\x6F\x69\x63\x65\x6D\x61\x69\x6C","\x63\x61\x6C\x6C\x62\x61\x63\x6B","\x76\x61\x72\x69\x61\x62\x6C\x65","\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x2F","\x73\x65\x74","\x6D\x61\x74\x68","\x70\x6C\x61\x79\x62\x61\x63\x6B","\x2F\x70\x6C\x61\x79\x62\x61\x63\x6B\x2F","\x6D\x65\x6E\x75","\x73\x61\x79\x64\x69\x67\x69\x74\x73","\x73\x61\x79\x6E\x75\x6D\x62\x65\x72","\x73\x61\x79\x70\x68\x6F\x6E\x65\x74\x69\x63","\x74\x74\x73","\x69\x73\x70\x65\x65\x63\x68\x74\x74\x73","\x67\x65\x74\x64\x69\x67\x69\x74\x73","\x72\x65\x63\x6F\x72\x64\x69\x6E\x67","\x2F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x2F","\x72\x65\x63\x6F\x72\x64","\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x53\x65\x72\x76\x65\x72","\x2F\x69\x6E\x74\x65\x67\x72\x61\x74\x69\x6F\x6E\x5F\x73\x65\x72\x76\x65\x72\x2F","\x64\x61\x74\x61\x62\x61\x73\x65","\x69\x73\x70\x65\x65\x63\x68\x61\x73\x72","\x73\x65\x6E\x64\x53\x4D\x53","\x73\x65\x6E\x64\x4D\x61\x69\x6C","\x63\x61\x6C\x6C\x66\x6C\x6F\x77","\x2F\x63\x61\x6C\x6C\x66\x6C\x6F\x77\x2F","\x67\x6F\x74\x6F\x63","\x67\x6F\x74\x6F\x69\x66","\x67\x6F\x74\x6F\x69\x66\x74\x69\x6D\x65","\x76\x73\x77\x69\x74\x63\x68","\x73\x74\x61\x74\x73","\x2F\x73\x74\x61\x74\x73\x2F","\x67\x6F\x61\x6C","\x67\x65\x6E\x65\x72\x61\x6C","\x2F\x67\x65\x6E\x65\x72\x61\x6C\x2F","\x6E\x6F\x6F\x70","\x73\x79\x73\x74\x65\x6D","\x61\x67\x69","\x73\x75\x62\x70\x72\x6F\x6A\x65\x63\x74","\x63\x75\x73\x74\x6F\x6D\x5F\x61\x70\x70","\x65\x6E\x61\x62\x6C\x65\x54\x6F\x6F\x6C\x74\x69\x70\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x42\x6F\x72\x64\x65\x72","\x74\x68\x75\x6D\x62\x42\x6F\x72\x64\x65\x72","\x74\x6F\x6F\x6C\x74\x69\x70\x44\x65\x6C\x61\x79","\x69\x6E\x73\x74\x61\x6C\x6C\x45\x64\x67\x65\x73","\x67\x65\x61\x72\x49\x6D\x61\x67\x65","\x2F\x63\x6C\x69\x70\x61\x72\x74\x2F\x47\x65\x61\x72\x5F\x31\x32\x38\x78\x31\x32\x38\x2E\x70\x6E\x67","\x74\x68\x75\x6D\x62\x57\x69\x64\x74\x68","\x74\x68\x75\x6D\x62\x48\x65\x69\x67\x68\x74","\x74\x68\x75\x6D\x62\x50\x61\x64\x64\x69\x6E\x67","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x53\x69\x7A\x65","\x73\x69\x64\x65\x62\x61\x72\x54\x69\x74\x6C\x65\x73","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65\x73","\x73\x68\x6F\x77\x54\x6F\x6F\x6C\x74\x69\x70","\x74\x68\x72\x65\x61\x64","\x63\x6C\x65\x61\x72\x54\x69\x6D\x65\x6F\x75\x74","\x74\x6F\x6F\x6C\x74\x69\x70","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72\x54\x6F\x6F\x6C\x74\x69\x70","\x67\x72\x61\x70\x68\x32","\x73\x65\x74\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x76\x69\x65\x77","\x49\x53\x5F\x53\x56\x47","\x63\x61\x6E\x76\x61\x73","\x72\x65\x6C\x61\x74\x69\x76\x65","\x74\x6F\x6F\x6C\x74\x69\x70\x49\x6D\x61\x67\x65","\x63\x72\x65\x61\x74\x65\x49\x6D\x61\x67\x65","\x77\x69\x64\x74\x68","\x31\x34\x70\x78","\x68\x65\x69\x67\x68\x74","\x32\x37\x70\x78","\x64\x69\x73\x70\x6C\x61\x79","\x62\x6C\x6F\x63\x6B","\x6C\x61\x62\x65\x6C\x73\x56\x69\x73\x69\x62\x6C\x65","\x63\x6C\x65\x61\x72","\x6D\x6F\x64\x65\x6C","\x61\x64\x64\x43\x65\x6C\x6C\x73","\x67\x65\x74\x47\x72\x61\x70\x68\x42\x6F\x75\x6E\x64\x73","\x49\x53\x5F\x51\x55\x49\x52\x4B\x53","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x76\x69\x73\x69\x62\x6C\x65","\x70\x78","\x6C\x65\x6E\x67\x74\x68","\x74\x6F\x6F\x6C\x74\x69\x70\x54\x69\x74\x6C\x65","\x62\x6F\x72\x64\x65\x72\x54\x6F\x70","\x31\x70\x78\x20\x73\x6F\x6C\x69\x64\x20\x67\x72\x61\x79","\x74\x65\x78\x74\x41\x6C\x69\x67\x6E","\x63\x65\x6E\x74\x65\x72","\x31\x30\x30\x25","\x70\x61\x64\x64\x69\x6E\x67\x54\x6F\x70","\x32\x70\x78","\x36\x70\x78","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","","\x77\x72\x69\x74\x65","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x6D\x61\x72\x67\x69\x6E\x54\x6F\x70","\x74\x6F\x70","\x6E\x6F\x6E\x65","\x78","\x6D\x69\x6E","\x79","\x63\x6C\x69\x65\x6E\x74\x57\x69\x64\x74\x68","\x73\x70\x6C\x69\x74\x53\x69\x7A\x65","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x73\x63\x72\x6F\x6C\x6C\x54\x6F\x70","\x6D\x61\x78","\x74\x72\x61\x6E\x73\x66\x6F\x72\x6D","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x28","\x2C","\x29","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x6C\x65\x66\x74","\x64\x72\x61\x77\x50\x61\x6E\x65","\x6F\x66\x66\x73\x65\x74\x57\x69\x64\x74\x68","\x70\x61\x67\x65\x2D\x73\x69\x64\x65\x62\x61\x72","\x67\x65\x74\x45\x6C\x65\x6D\x65\x6E\x74\x42\x79\x49\x64","\x73\x65\x74\x54\x69\x6D\x65\x6F\x75\x74","\x63\x72\x65\x61\x74\x65\x54\x69\x74\x6C\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x54\x69\x74\x6C\x65","\x63\x72\x65\x61\x74\x65\x54\x68\x75\x6D\x62","\x73\x63\x61\x6C\x65\x41\x6E\x64\x54\x72\x61\x6E\x73\x6C\x61\x74\x65","\x66\x6C\x6F\x6F\x72","\x64\x69\x61\x6C\x65\x63\x74","\x44\x49\x41\x4C\x45\x43\x54\x5F\x53\x56\x47","\x4E\x4F\x5F\x46\x4F","\x63\x6C\x6F\x6E\x65\x4E\x6F\x64\x65","\x6F\x77\x6E\x65\x72\x53\x56\x47\x45\x6C\x65\x6D\x65\x6E\x74","\x67\x65\x74\x43\x61\x6E\x76\x61\x73","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x49\x53\x5F\x49\x45\x36","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x49\x6D\x61\x67\x65","\x75\x72\x6C\x28","\x74\x72\x61\x6E\x73\x70\x61\x72\x65\x6E\x74\x49\x6D\x61\x67\x65","\x63\x75\x72\x73\x6F\x72","\x70\x6F\x69\x6E\x74\x65\x72","\x6D\x69\x6E\x57\x69\x64\x74\x68","\x6D\x69\x6E\x48\x65\x69\x67\x68\x74","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x6E\x6F\x77\x72\x61\x70","\x49\x53\x5F\x49\x45","\x34\x70\x78","\x63\x72\x65\x61\x74\x65\x49\x74\x65\x6D","\x67\x65\x49\x74\x65\x6D","\x70\x61\x64\x64\x69\x6E\x67","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x63\x72\x65\x61\x74\x65\x44\x72\x6F\x70\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x65\x74\x49\x6D\x70\x6F\x72\x74\x61\x62\x6C\x65\x43\x65\x6C\x6C\x73","\x69\x73\x56\x61\x6C\x69\x64\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x69\x73\x53\x70\x6C\x69\x74\x45\x6E\x61\x62\x6C\x65\x64","\x69\x73\x53\x70\x6C\x69\x74\x54\x61\x72\x67\x65\x74","\x73\x70\x6C\x69\x74\x45\x64\x67\x65","\x69\x6D\x70\x6F\x72\x74\x43\x65\x6C\x6C\x73","\x73\x63\x72\x6F\x6C\x6C\x43\x65\x6C\x6C\x54\x6F\x56\x69\x73\x69\x62\x6C\x65","\x73\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x50\x72\x65\x76\x69\x65\x77","\x62\x6F\x72\x64\x65\x72","\x31\x70\x78\x20\x64\x61\x73\x68\x65\x64\x20\x62\x6C\x61\x63\x6B","\x63\x72\x65\x61\x74\x65\x44\x72\x61\x67\x53\x6F\x75\x72\x63\x65","\x61\x75\x74\x6F\x73\x63\x72\x6F\x6C\x6C","\x6D\x61\x6B\x65\x44\x72\x61\x67\x67\x61\x62\x6C\x65","\x67\x65\x74\x44\x72\x6F\x70\x54\x61\x72\x67\x65\x74","\x61\x70\x70\x6C\x79","\x69\x73\x56\x61\x6C\x69\x64\x52\x6F\x6F\x74","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x58","\x67\x65\x74\x43\x6C\x69\x65\x6E\x74\x59","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x6D\x6F\x75\x73\x65\x55\x70","\x69\x73\x50\x6F\x70\x75\x70\x54\x72\x69\x67\x67\x65\x72","\x63\x75\x72\x72\x65\x6E\x74\x47\x72\x61\x70\x68","\x74\x6F\x6C\x65\x72\x61\x6E\x63\x65","\x61\x62\x73","\x67\x65\x74\x47\x72\x69\x64\x53\x69\x7A\x65","\x64\x72\x6F\x70","\x63\x72\x65\x61\x74\x65\x58\x6D\x6C\x44\x6F\x63\x75\x6D\x65\x6E\x74","\x6C\x61\x62\x65\x6C","\x66\x6F\x72\x45\x61\x63\x68","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65","\x6B\x65\x79","\x69\x73\x70\x65\x65\x63\x68\x5F\x61\x73\x72\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x74\x69\x6D\x65\x6F\x75\x74","\x69\x6E\x74\x4B\x65\x79","\x62\x65\x65\x70","\x69\x74\x2D\x49\x54","\x23","\x66\x69\x6C\x65\x5F\x69\x64","\x6F\x70\x74\x73","\x30","\x72\x65\x73\x70\x6F\x6E\x73\x65","\x64\x69\x67\x69\x74","\x35","\x31","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64","\x72\x65\x74\x72\x79","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x69\x64","\x6D\x69\x6E\x64\x69\x67\x69\x74","\x6D\x61\x78\x64\x69\x67\x69\x74","\x31\x30","\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6F\x70\x74\x69\x6F\x6E\x73","\x76\x61\x72\x69\x61\x62\x6C\x65\x5F\x76\x61\x6C\x75\x65","\x6F\x64\x62\x63\x5F\x69\x64","\x71\x75\x65\x72\x79","\x6F\x75\x74\x70\x75\x74","\x63\x6F\x6E\x74\x65\x78\x74","\x65\x78\x74\x65\x6E\x73\x69\x6F\x6E","\x63\x6F\x6D\x6D\x61\x6E\x64","\x61\x72\x67\x73","\x63\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x69\x6E\x74\x65\x72\x76\x61\x6C\x5F\x69\x64","\x67\x6F\x74\x6F\x69\x66\x6D\x75\x6C\x74\x69\x74\x69\x6D\x65","\x64\x69\x67\x69\x74\x73","\x65\x73\x63\x61\x70\x65\x5F\x64\x69\x67\x69\x74\x73","\x6E\x75\x6D\x62\x65\x72","\x74\x65\x78\x74","\x66\x69\x6C\x65","\x2D\x31","\x73\x69\x70\x5F\x69\x64","\x75\x72\x6C","\x36\x30","\x70\x68\x6F\x6E\x65","\x74\x72\x75\x6E\x6B\x5F\x6E\x61\x6D\x65","\x67\x6F\x6F\x67\x6C\x65\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x69\x74","\x69\x73\x70\x65\x65\x63\x68\x5F\x74\x74\x73\x5F\x6C\x61\x6E\x67\x75\x61\x67\x65","\x73\x70\x65\x65\x64","\x65\x75\x72\x69\x74\x61\x6C\x69\x61\x6E\x66\x65\x6D\x61\x6C\x65","\x71\x75\x65\x75\x65\x5F\x69\x64","\x6D\x61\x63\x72\x6F","\x67\x6F\x73\x75\x62","\x33\x30\x30","\x6D\x61\x69\x6C\x62\x6F\x78","\x70\x72\x6F\x6A\x65\x63\x74\x5F\x69\x64","\x6F\x70\x65\x72\x61\x74\x69\x6F\x6E","\x71\x75\x65\x75\x65\x6E\x61\x6D\x65","\x61\x67\x65\x6E\x74","\x71\x75\x65\x75\x65\x5F\x65\x76\x65\x6E\x74","\x64\x61\x74\x61\x31","\x64\x61\x74\x61\x32","\x64\x61\x74\x61\x33","\x64\x61\x74\x61\x34","\x64\x61\x74\x61\x35","\x71\x75\x65\x75\x65\x6C\x6F\x67","\x67\x6F\x61\x6C\x6E\x61\x6D\x65","\x6E\x61\x6D\x65","\x6C\x69\x73\x74\x5F\x69\x64","\x64\x65\x6C\x61\x79","\x7B\x43\x41\x4C\x4C\x45\x52\x49\x44\x28\x6E\x75\x6D\x29\x7D","\x61\x63\x63\x6F\x75\x6E\x74\x5F\x69\x64","\x74\x6F","\x73\x6D\x73\x5F\x74\x65\x78\x74","\x63\x63","\x73\x75\x62\x6A\x65\x63\x74","\x76\x65\x72\x74\x65\x78","\x63\x72\x65\x61\x74\x65\x56\x65\x72\x74\x65\x78\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x69\x73\x47\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x75\x69\x64\x65\x73\x45\x6E\x61\x62\x6C\x65\x64","\x67\x72\x61\x70\x68\x48\x61\x6E\x64\x6C\x65\x72","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65","\x73\x65\x74\x54\x65\x72\x6D\x69\x6E\x61\x6C\x50\x6F\x69\x6E\x74","\x67\x65\x6F\x6D\x65\x74\x72\x79","\x65\x64\x67\x65","\x63\x72\x65\x61\x74\x65\x45\x64\x67\x65\x54\x65\x6D\x70\x6C\x61\x74\x65\x46\x72\x6F\x6D\x43\x65\x6C\x6C\x73","\x73\x65\x74\x44\x65\x66\x61\x75\x6C\x74\x45\x64\x67\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x43\x6F\x6C\x6F\x72","\x23\x66\x66\x66\x66\x66\x66","\x61\x64\x64\x50\x61\x6C\x65\x74\x74\x65","\x67\x65\x53\x69\x64\x65\x62\x61\x72","\x61\x64\x64\x46\x6F\x6C\x64\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x2F\x63\x6F\x6C\x6C\x61\x70\x73\x65\x64\x2E\x67\x69\x66\x29","\x2F\x65\x78\x70\x61\x6E\x64\x65\x64\x2E\x67\x69\x66\x29","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x52\x65\x70\x65\x61\x74","\x6E\x6F\x2D\x72\x65\x70\x65\x61\x74","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x50\x6F\x73\x69\x74\x69\x6F\x6E","\x31\x30\x30\x25\x20\x35\x30\x25","\x77\x61\x69\x74","\x72\x65\x6D\x6F\x76\x65\x50\x61\x6C\x65\x74\x74\x65","\x72\x65\x6D\x6F\x76\x65\x43\x68\x69\x6C\x64","\x69\x6D\x61\x67\x65\x3B\x69\x6D\x61\x67\x65\x3D"];_0xadd2[0];function Sidebar(_0x5849x2,_0x5849x3){this[_0xadd2[1]]= _0x5849x2;this[_0xadd2[2]]= _0x5849x3;this[_0xadd2[3]]= new Object();this[_0xadd2[4]]= true;this[_0xadd2[5]]= new Graph(document[_0xadd2[7]](_0xadd2[6]),null,null,this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]][_0xadd2[8]]());this[_0xadd2[5]][_0xadd2[10]]= false;this[_0xadd2[5]][_0xadd2[11]]= false;this[_0xadd2[5]][_0xadd2[12]](false);this[_0xadd2[5]][_0xadd2[13]]= false;this[_0xadd2[5]][_0xadd2[14]](false);this[_0xadd2[5]][_0xadd2[15]](false);this[_0xadd2[5]][_0xadd2[2]][_0xadd2[17]][_0xadd2[16]]= _0xadd2[18];this[_0xadd2[5]][_0xadd2[2]][_0xadd2[17]][_0xadd2[19]]= _0xadd2[20];document[_0xadd2[22]][_0xadd2[21]](this[_0xadd2[5]][_0xadd2[2]]);if(!mxClient[_0xadd2[23]]){mxEvent[_0xadd2[26]](document,_0xadd2[24],mxUtils[_0xadd2[25]](this,function(){this[_0xadd2[4]]= true}));mxEvent[_0xadd2[26]](_0x5849x3,_0xadd2[27],mxUtils[_0xadd2[25]](this,function(){this[_0xadd2[4]]= true}));mxEvent[_0xadd2[26]](document,_0xadd2[28],mxUtils[_0xadd2[25]](this,function(){this[_0xadd2[4]]= false;this[_0xadd2[29]]()}));mxEvent[_0xadd2[26]](document,_0xadd2[30],mxUtils[_0xadd2[25]](this,function(_0x5849x4){var _0x5849x5=mxEvent[_0xadd2[31]](_0x5849x4);while(_0x5849x5!= null){if(_0x5849x5== this[_0xadd2[32]]){return};_0x5849x5= _0x5849x5[_0xadd2[33]]};this[_0xadd2[29]]()}));mxEvent[_0xadd2[26]](document,_0xadd2[34],mxUtils[_0xadd2[25]](this,function(_0x5849x4){if(_0x5849x4[_0xadd2[35]]== null&& _0x5849x4[_0xadd2[36]]== null){this[_0xadd2[29]]()}}))};this[_0xadd2[37]](); new Image()[_0xadd2[38]]= IMAGE_PATH+ _0xadd2[39]}Sidebar[_0xadd2[40]][_0xadd2[37]]= function(){var _0x5849x6=STENCIL_PATH;console[_0xadd2[41]](_0x5849x6);this[_0xadd2[49]](_0xadd2[42],mxResources[_0xadd2[43]](_0xadd2[42]),_0x5849x6+ _0xadd2[44],_0xadd2[45],[_0xadd2[46],_0xadd2[47],_0xadd2[48]],[mxResources[_0xadd2[43]](_0xadd2[46]),mxResources[_0xadd2[43]](_0xadd2[47]),mxResources[_0xadd2[43]](_0xadd2[48])]);this[_0xadd2[49]](_0xadd2[50],mxResources[_0xadd2[43]](_0xadd2[50]),_0x5849x6+ _0xadd2[51],_0xadd2[45],[_0xadd2[52],_0xadd2[53],_0xadd2[54],_0xadd2[55],_0xadd2[56],_0xadd2[57],_0xadd2[58]],[mxResources[_0xadd2[43]](_0xadd2[52]),mxResources[_0xadd2[43]](_0xadd2[53]),mxResources[_0xadd2[43]](_0xadd2[54]),mxResources[_0xadd2[43]](_0xadd2[55]),mxResources[_0xadd2[43]](_0xadd2[56]),mxResources[_0xadd2[43]](_0xadd2[57]),mxResources[_0xadd2[43]](_0xadd2[58])]);this[_0xadd2[49]](_0xadd2[59],mxResources[_0xadd2[43]](_0xadd2[59]),_0x5849x6+ _0xadd2[60],_0xadd2[45],[_0xadd2[61],_0xadd2[62]],[mxResources[_0xadd2[43]](_0xadd2[61]),mxResources[_0xadd2[43]](_0xadd2[62])]);this[_0xadd2[49]](_0xadd2[63],mxResources[_0xadd2[43]](_0xadd2[63]),_0x5849x6+ _0xadd2[64],_0xadd2[45],[_0xadd2[63],_0xadd2[65],_0xadd2[66],_0xadd2[67],_0xadd2[68],_0xadd2[69],_0xadd2[70],_0xadd2[71]],[mxResources[_0xadd2[43]](_0xadd2[63]),mxResources[_0xadd2[43]](_0xadd2[65]),mxResources[_0xadd2[43]](_0xadd2[66]),mxResources[_0xadd2[43]](_0xadd2[67]),mxResources[_0xadd2[43]](_0xadd2[68]),mxResources[_0xadd2[43]](_0xadd2[69]),mxResources[_0xadd2[43]](_0xadd2[70]),mxResources[_0xadd2[43]](_0xadd2[71])]);this[_0xadd2[49]](_0xadd2[72],mxResources[_0xadd2[43]](_0xadd2[72]),_0x5849x6+ _0xadd2[73],_0xadd2[45],[_0xadd2[74]],[mxResources[_0xadd2[43]](_0xadd2[74])]);this[_0xadd2[49]](_0xadd2[75],mxResources[_0xadd2[43]](_0xadd2[75]),_0x5849x6+ _0xadd2[76],_0xadd2[45],[_0xadd2[77],_0xadd2[78],_0xadd2[79],_0xadd2[80]],[mxResources[_0xadd2[43]](_0xadd2[77]),mxResources[_0xadd2[43]](_0xadd2[78]),mxResources[_0xadd2[43]](_0xadd2[79]),mxResources[_0xadd2[43]](_0xadd2[80])]);this[_0xadd2[49]](_0xadd2[81],mxResources[_0xadd2[43]](_0xadd2[81]),_0x5849x6+ _0xadd2[82],_0xadd2[45],[_0xadd2[83],_0xadd2[84],_0xadd2[85],_0xadd2[86]],[mxResources[_0xadd2[43]](_0xadd2[83]),mxResources[_0xadd2[43]](_0xadd2[84]),mxResources[_0xadd2[43]](_0xadd2[85]),mxResources[_0xadd2[43]](_0xadd2[86])]);this[_0xadd2[49]](_0xadd2[87],mxResources[_0xadd2[43]](_0xadd2[87]),_0x5849x6+ _0xadd2[88],_0xadd2[45],[_0xadd2[89]],[mxResources[_0xadd2[43]](_0xadd2[89])]);this[_0xadd2[49]](_0xadd2[90],mxResources[_0xadd2[43]](_0xadd2[90]),_0x5849x6+ _0xadd2[91],_0xadd2[45],[_0xadd2[92],_0xadd2[93],_0xadd2[94],_0xadd2[95],_0xadd2[96]],[mxResources[_0xadd2[43]](_0xadd2[92]),mxResources[_0xadd2[43]](_0xadd2[93]),mxResources[_0xadd2[43]](_0xadd2[94]),mxResources[_0xadd2[43]](_0xadd2[95]),mxResources[_0xadd2[43]](_0xadd2[96])])};Sidebar[_0xadd2[40]][_0xadd2[97]]= !mxClient[_0xadd2[23]];Sidebar[_0xadd2[40]][_0xadd2[98]]= 16;Sidebar[_0xadd2[40]][_0xadd2[99]]= 3;Sidebar[_0xadd2[40]][_0xadd2[100]]= 300;Sidebar[_0xadd2[40]][_0xadd2[101]]= true;Sidebar[_0xadd2[40]][_0xadd2[102]]= STENCIL_PATH+ _0xadd2[103];Sidebar[_0xadd2[40]][_0xadd2[104]]= 34;Sidebar[_0xadd2[40]][_0xadd2[105]]= 34;Sidebar[_0xadd2[40]][_0xadd2[106]]= 2;Sidebar[_0xadd2[40]][_0xadd2[107]]= 9;Sidebar[_0xadd2[40]][_0xadd2[108]]= false;Sidebar[_0xadd2[40]][_0xadd2[109]]= false;Sidebar[_0xadd2[40]][_0xadd2[110]]= function(_0x5849x7,_0x5849x8,_0x5849x9,_0x5849xa){if(this[_0xadd2[97]]&& this[_0xadd2[4]]){if(this[_0xadd2[32]]!= _0x5849x7){if(this[_0xadd2[111]]!= null){window[_0xadd2[112]](this[_0xadd2[111]]);this[_0xadd2[111]]= null};var _0x5849xb=mxUtils[_0xadd2[25]](this,function(){if(this[_0xadd2[113]]== null){this[_0xadd2[113]]= document[_0xadd2[7]](_0xadd2[6]);this[_0xadd2[113]][_0xadd2[114]]= _0xadd2[115];document[_0xadd2[22]][_0xadd2[21]](this[_0xadd2[113]]);this[_0xadd2[116]]= new Graph(this[_0xadd2[113]],null,null,this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]][_0xadd2[8]]());this[_0xadd2[116]][_0xadd2[118]][_0xadd2[117]](this[_0xadd2[98]],this[_0xadd2[98]]);this[_0xadd2[116]][_0xadd2[10]]= false;this[_0xadd2[116]][_0xadd2[11]]= false;this[_0xadd2[116]][_0xadd2[13]]= false;this[_0xadd2[116]][_0xadd2[14]](false);this[_0xadd2[116]][_0xadd2[12]](false);this[_0xadd2[116]][_0xadd2[15]](false);if(!mxClient[_0xadd2[119]]){this[_0xadd2[116]][_0xadd2[118]][_0xadd2[120]][_0xadd2[17]][_0xadd2[19]]= _0xadd2[121]};this[_0xadd2[122]]= mxUtils[_0xadd2[123]](IMAGE_PATH+ _0xadd2[39]);this[_0xadd2[122]][_0xadd2[17]][_0xadd2[19]]= _0xadd2[20];this[_0xadd2[122]][_0xadd2[17]][_0xadd2[124]]= _0xadd2[125];this[_0xadd2[122]][_0xadd2[17]][_0xadd2[126]]= _0xadd2[127];document[_0xadd2[22]][_0xadd2[21]](this[_0xadd2[122]])};this[_0xadd2[113]][_0xadd2[17]][_0xadd2[128]]= _0xadd2[129];this[_0xadd2[116]][_0xadd2[130]]= (_0x5849xa== null|| _0x5849xa);this[_0xadd2[116]][_0xadd2[132]][_0xadd2[131]]();this[_0xadd2[116]][_0xadd2[133]](_0x5849x8);var _0x5849xc=this[_0xadd2[116]][_0xadd2[134]]();var _0x5849xd=_0x5849xc[_0xadd2[124]]+ 2* this[_0xadd2[98]];var _0x5849xe=_0x5849xc[_0xadd2[126]]+ 2* this[_0xadd2[98]];if(mxClient[_0xadd2[135]]){_0x5849xd+= 4;_0x5849xe+= 4;this[_0xadd2[113]][_0xadd2[17]][_0xadd2[136]]= _0xadd2[18]}else {this[_0xadd2[113]][_0xadd2[17]][_0xadd2[136]]= _0xadd2[137]};this[_0xadd2[122]][_0xadd2[17]][_0xadd2[16]]= _0xadd2[137];this[_0xadd2[113]][_0xadd2[17]][_0xadd2[124]]= _0x5849xd+ _0xadd2[138];if(this[_0xadd2[109]]&& _0x5849x9!= null&& _0x5849x9[_0xadd2[139]]> 0){if(this[_0xadd2[140]]== null){this[_0xadd2[140]]= document[_0xadd2[7]](_0xadd2[6]);this[_0xadd2[140]][_0xadd2[17]][_0xadd2[141]]= _0xadd2[142];this[_0xadd2[140]][_0xadd2[17]][_0xadd2[143]]= _0xadd2[144];this[_0xadd2[140]][_0xadd2[17]][_0xadd2[124]]= _0xadd2[145];this[_0xadd2[140]][_0xadd2[17]][_0xadd2[136]]= _0xadd2[18];if(mxClient[_0xadd2[119]]){this[_0xadd2[140]][_0xadd2[17]][_0xadd2[146]]= _0xadd2[147]}else {this[_0xadd2[140]][_0xadd2[17]][_0xadd2[19]]= _0xadd2[20];this[_0xadd2[140]][_0xadd2[17]][_0xadd2[146]]= _0xadd2[148]};this[_0xadd2[113]][_0xadd2[21]](this[_0xadd2[140]])}else {this[_0xadd2[140]][_0xadd2[149]]= _0xadd2[150]};this[_0xadd2[140]][_0xadd2[17]][_0xadd2[128]]= _0xadd2[150];mxUtils[_0xadd2[151]](this[_0xadd2[140]],_0x5849x9);var _0x5849xf=this[_0xadd2[140]][_0xadd2[152]]+ 10;_0x5849xe+= _0x5849xf;if(mxClient[_0xadd2[119]]){this[_0xadd2[140]][_0xadd2[17]][_0xadd2[153]]= (-_0x5849xf) + _0xadd2[138]}else {_0x5849xe-= 6;this[_0xadd2[140]][_0xadd2[17]][_0xadd2[154]]= (_0x5849xe- _0x5849xf)+ _0xadd2[138]}}else {if(this[_0xadd2[140]]!= null&& this[_0xadd2[140]][_0xadd2[33]]!= null){this[_0xadd2[140]][_0xadd2[17]][_0xadd2[128]]= _0xadd2[155]}};this[_0xadd2[113]][_0xadd2[17]][_0xadd2[126]]= _0x5849xe+ _0xadd2[138];var _0x5849x10=-Math[_0xadd2[157]](0,_0x5849xc[_0xadd2[156]]- this[_0xadd2[98]]);var _0x5849x11=-Math[_0xadd2[157]](0,_0x5849xc[_0xadd2[158]]- this[_0xadd2[98]]);var _0x5849x12=this[_0xadd2[2]][_0xadd2[159]]+ this[_0xadd2[1]][_0xadd2[160]]+ 3;var _0x5849x13=Math[_0xadd2[163]](0,(this[_0xadd2[2]][_0xadd2[161]]+ _0x5849x7[_0xadd2[161]]- this[_0xadd2[2]][_0xadd2[162]]- _0x5849xe/ 2+ 16));if(mxClient[_0xadd2[119]]){this[_0xadd2[116]][_0xadd2[118]][_0xadd2[120]][_0xadd2[168]](_0xadd2[164],_0xadd2[165]+ _0x5849x10+ _0xadd2[166]+ _0x5849x11+ _0xadd2[167])}else {this[_0xadd2[116]][_0xadd2[118]][_0xadd2[170]][_0xadd2[17]][_0xadd2[169]]= _0x5849x10+ _0xadd2[138];this[_0xadd2[116]][_0xadd2[118]][_0xadd2[170]][_0xadd2[17]][_0xadd2[154]]= _0x5849x11+ _0xadd2[138]};_0x5849x12+= document[_0xadd2[173]](_0xadd2[172])[_0xadd2[171]];_0x5849x13+= 90;this[_0xadd2[113]][_0xadd2[17]][_0xadd2[19]]= _0xadd2[20];this[_0xadd2[113]][_0xadd2[17]][_0xadd2[169]]= _0x5849x12+ _0xadd2[138];this[_0xadd2[113]][_0xadd2[17]][_0xadd2[154]]= _0x5849x13+ _0xadd2[138];this[_0xadd2[122]][_0xadd2[17]][_0xadd2[169]]= (_0x5849x12- 13)+ _0xadd2[138];this[_0xadd2[122]][_0xadd2[17]][_0xadd2[154]]= (_0x5849x13+ _0x5849xe/ 2- 13)+ _0xadd2[138]});if(this[_0xadd2[113]]!= null&& this[_0xadd2[113]][_0xadd2[17]][_0xadd2[128]]!= _0xadd2[155]){_0x5849xb()}else {this[_0xadd2[111]]= window[_0xadd2[174]](_0x5849xb,this[_0xadd2[100]])};this[_0xadd2[32]]= _0x5849x7}}};Sidebar[_0xadd2[40]][_0xadd2[29]]= function(){if(this[_0xadd2[111]]!= null){window[_0xadd2[112]](this[_0xadd2[111]]);this[_0xadd2[111]]= null};if(this[_0xadd2[113]]!= null){this[_0xadd2[113]][_0xadd2[17]][_0xadd2[128]]= _0xadd2[155];this[_0xadd2[122]][_0xadd2[17]][_0xadd2[16]]= _0xadd2[18];this[_0xadd2[32]]= null}};Sidebar[_0xadd2[40]][_0xadd2[175]]= function(_0x5849x14){var _0x5849x7=document[_0xadd2[7]](_0xadd2[176]);_0x5849x7[_0xadd2[168]](_0xadd2[177],_0xadd2[178]);_0x5849x7[_0xadd2[114]]= _0xadd2[179];mxUtils[_0xadd2[151]](_0x5849x7,_0x5849x14);return _0x5849x7};Sidebar[_0xadd2[40]][_0xadd2[180]]= function(_0x5849x8,_0x5849xd,_0x5849xe,_0x5849x15,_0x5849x9,_0x5849xa){this[_0xadd2[5]][_0xadd2[130]]= (_0x5849xa== null|| _0x5849xa);this[_0xadd2[5]][_0xadd2[118]][_0xadd2[181]](1,0,0);this[_0xadd2[5]][_0xadd2[133]](_0x5849x8);var _0x5849xc=this[_0xadd2[5]][_0xadd2[134]]();var _0x5849x16=this[_0xadd2[99]];var _0x5849x17=Math[_0xadd2[157]]((_0x5849xd- 2)/ (_0x5849xc[_0xadd2[124]]- _0x5849xc[_0xadd2[156]]+ _0x5849x16),(_0x5849xe- 2)/ (_0x5849xc[_0xadd2[126]]- _0x5849xc[_0xadd2[158]]+ _0x5849x16));var _0x5849x10=-Math[_0xadd2[157]](_0x5849xc[_0xadd2[156]],0);var _0x5849x11=-Math[_0xadd2[157]](_0x5849xc[_0xadd2[158]],0);this[_0xadd2[5]][_0xadd2[118]][_0xadd2[181]](_0x5849x17,_0x5849x10,_0x5849x11);_0x5849xc= this[_0xadd2[5]][_0xadd2[134]]();var _0x5849x18=Math[_0xadd2[163]](0,Math[_0xadd2[182]]((_0x5849xd- _0x5849xc[_0xadd2[124]]- _0x5849xc[_0xadd2[156]])/ 2));var _0x5849xf=Math[_0xadd2[163]](0,Math[_0xadd2[182]]((_0x5849xe- _0x5849xc[_0xadd2[126]]- _0x5849xc[_0xadd2[158]])/ 2));var _0x5849x19=null;if(this[_0xadd2[5]][_0xadd2[183]]== mxConstants[_0xadd2[184]]&& !mxClient[_0xadd2[185]]){_0x5849x19= this[_0xadd2[5]][_0xadd2[118]][_0xadd2[188]]()[_0xadd2[187]][_0xadd2[186]](true)}else {_0x5849x19= this[_0xadd2[5]][_0xadd2[2]][_0xadd2[186]](false);_0x5849x19[_0xadd2[149]]= this[_0xadd2[5]][_0xadd2[2]][_0xadd2[149]]};this[_0xadd2[5]][_0xadd2[189]]()[_0xadd2[131]]();if(mxClient[_0xadd2[190]]){_0x5849x15[_0xadd2[17]][_0xadd2[191]]= _0xadd2[192]+ this[_0xadd2[1]][_0xadd2[9]][_0xadd2[193]]+ _0xadd2[167]};var _0x5849x1a=3;_0x5849x19[_0xadd2[17]][_0xadd2[19]]= _0xadd2[121];_0x5849x19[_0xadd2[17]][_0xadd2[136]]= _0xadd2[18];_0x5849x19[_0xadd2[17]][_0xadd2[194]]= _0xadd2[195];_0x5849x19[_0xadd2[17]][_0xadd2[169]]= (_0x5849x18+ _0x5849x1a)+ _0xadd2[138];_0x5849x19[_0xadd2[17]][_0xadd2[154]]= (_0x5849xf+ _0x5849x1a)+ _0xadd2[138];_0x5849x19[_0xadd2[17]][_0xadd2[124]]= _0x5849xd+ _0xadd2[138];_0x5849x19[_0xadd2[17]][_0xadd2[126]]= _0x5849xe+ _0xadd2[138];_0x5849x19[_0xadd2[17]][_0xadd2[16]]= _0xadd2[150];_0x5849x19[_0xadd2[17]][_0xadd2[196]]= _0xadd2[150];_0x5849x19[_0xadd2[17]][_0xadd2[197]]= _0xadd2[150];_0x5849x15[_0xadd2[21]](_0x5849x19);if(this[_0xadd2[108]]&& _0x5849x9!= null){var _0x5849x1b=(mxClient[_0xadd2[135]])?2* this[_0xadd2[106]]+ 2:0;_0x5849x15[_0xadd2[17]][_0xadd2[126]]= (this[_0xadd2[105]]+ _0x5849x1b+ this[_0xadd2[107]]+ 8)+ _0xadd2[138];var _0x5849x1c=document[_0xadd2[7]](_0xadd2[6]);_0x5849x1c[_0xadd2[17]][_0xadd2[198]]= this[_0xadd2[107]]+ _0xadd2[138];_0x5849x1c[_0xadd2[17]][_0xadd2[143]]= _0xadd2[144];_0x5849x1c[_0xadd2[17]][_0xadd2[199]]= _0xadd2[200];if(mxClient[_0xadd2[201]]){_0x5849x1c[_0xadd2[17]][_0xadd2[126]]= (this[_0xadd2[107]]+ 12)+ _0xadd2[138]};_0x5849x1c[_0xadd2[17]][_0xadd2[146]]= _0xadd2[202];mxUtils[_0xadd2[151]](_0x5849x1c,_0x5849x9);_0x5849x15[_0xadd2[21]](_0x5849x1c)}};Sidebar[_0xadd2[40]][_0xadd2[203]]= function(_0x5849x8,_0x5849x9,_0x5849xa){var _0x5849x7=document[_0xadd2[7]](_0xadd2[176]);_0x5849x7[_0xadd2[168]](_0xadd2[177],_0xadd2[178]);_0x5849x7[_0xadd2[114]]= _0xadd2[204];_0x5849x7[_0xadd2[17]][_0xadd2[136]]= _0xadd2[18];var _0x5849x1b=(mxClient[_0xadd2[135]])?8+ 2* this[_0xadd2[106]]:6;_0x5849x7[_0xadd2[17]][_0xadd2[124]]= (this[_0xadd2[104]]+ _0x5849x1b)+ _0xadd2[138];_0x5849x7[_0xadd2[17]][_0xadd2[126]]= (this[_0xadd2[105]]+ _0x5849x1b)+ _0xadd2[138];_0x5849x7[_0xadd2[17]][_0xadd2[205]]= this[_0xadd2[106]]+ _0xadd2[138];mxEvent[_0xadd2[26]](_0x5849x7,_0xadd2[206],function(_0x5849x4){mxEvent[_0xadd2[207]](_0x5849x4)});this[_0xadd2[180]](_0x5849x8,this[_0xadd2[104]],this[_0xadd2[105]],_0x5849x7,_0x5849x9,_0x5849xa);return _0x5849x7};Sidebar[_0xadd2[40]][_0xadd2[208]]= function(_0x5849x8,_0x5849x1d){return function(_0x5849x1e,_0x5849x4,_0x5849x1f,_0x5849x20,_0x5849x21){if(_0x5849x1e[_0xadd2[209]]()){_0x5849x8= _0x5849x1e[_0xadd2[210]](_0x5849x8);if(_0x5849x8[_0xadd2[139]]> 0){var _0x5849x22=(_0x5849x1f!= null)?_0x5849x1e[_0xadd2[211]](_0x5849x1f,_0x5849x8,_0x5849x4):false;var _0x5849x23=null;if(_0x5849x1f!= null&& !_0x5849x22){_0x5849x1f= null};if(_0x5849x1d&& _0x5849x1e[_0xadd2[212]]()&& _0x5849x1e[_0xadd2[213]](_0x5849x1f,_0x5849x8,_0x5849x4)){_0x5849x1e[_0xadd2[214]](_0x5849x1f,_0x5849x8,null,_0x5849x20,_0x5849x21);_0x5849x23= _0x5849x8}else {if(_0x5849x8[_0xadd2[139]]> 0){_0x5849x23= _0x5849x1e[_0xadd2[215]](_0x5849x8,_0x5849x20,_0x5849x21,_0x5849x1f)}};if(_0x5849x23!= null&& _0x5849x23[_0xadd2[139]]> 0){_0x5849x1e[_0xadd2[216]](_0x5849x23[0]);_0x5849x1e[_0xadd2[217]](_0x5849x23)}}}}};Sidebar[_0xadd2[40]][_0xadd2[218]]= function(_0x5849xd,_0x5849xe){var _0x5849x7=document[_0xadd2[7]](_0xadd2[6]);_0x5849x7[_0xadd2[17]][_0xadd2[219]]= _0xadd2[220];_0x5849x7[_0xadd2[17]][_0xadd2[124]]= _0x5849xd+ _0xadd2[138];_0x5849x7[_0xadd2[17]][_0xadd2[126]]= _0x5849xe+ _0xadd2[138];return _0x5849x7};Sidebar[_0xadd2[40]][_0xadd2[221]]= function(_0x5849x7,_0x5849x24,_0x5849x25){var _0x5849x26=mxUtils[_0xadd2[223]](_0x5849x7,this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]],_0x5849x24,_0x5849x25,0,0,this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]][_0xadd2[222]],true,true);_0x5849x26[_0xadd2[224]]= function(_0x5849x1e,_0x5849x20,_0x5849x21){var _0x5849x1f=mxDragSource[_0xadd2[40]][_0xadd2[224]][_0xadd2[225]](this,arguments);if(!_0x5849x1e[_0xadd2[226]](_0x5849x1f)){_0x5849x1f= null};return _0x5849x1f};return _0x5849x26};Sidebar[_0xadd2[40]][_0xadd2[227]]= function(_0x5849x7,_0x5849x27){var _0x5849x1e=this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]];var _0x5849x28=null;mxEvent[_0xadd2[230]](_0x5849x7,function(_0x5849x4){_0x5849x28= new mxPoint(mxEvent[_0xadd2[228]](_0x5849x4),mxEvent[_0xadd2[229]](_0x5849x4))});var _0x5849x29=_0x5849x27[_0xadd2[231]];_0x5849x27[_0xadd2[231]]= function(_0x5849x4){if(!mxEvent[_0xadd2[232]](_0x5849x4)&& this[_0xadd2[233]]== null&& _0x5849x28!= null){var _0x5849x2a=_0x5849x1e[_0xadd2[234]];if(Math[_0xadd2[235]](_0x5849x28[_0xadd2[156]]- mxEvent[_0xadd2[228]](_0x5849x4))<= _0x5849x2a&& Math[_0xadd2[235]](_0x5849x28[_0xadd2[158]]- mxEvent[_0xadd2[229]](_0x5849x4))<= _0x5849x2a){var _0x5849x2b=_0x5849x1e[_0xadd2[236]]();_0x5849x27[_0xadd2[237]](_0x5849x1e,_0x5849x4,null,_0x5849x2b,_0x5849x2b)}};_0x5849x29[_0xadd2[225]](this,arguments);_0x5849x28= null}};Sidebar[_0xadd2[40]][_0xadd2[238]]= function(_0x5849x2c,_0x5849x14,_0x5849x2d,_0x5849x2e){var _0x5849x2f=mxUtils[_0xadd2[238]]();var _0x5849x19=_0x5849x2f[_0xadd2[7]](_0x5849x2c);_0x5849x19[_0xadd2[168]](_0xadd2[239],_0x5849x14);_0x5849x2d[_0xadd2[240]](function(_0x5849x30,_0x5849x31){_0x5849x19[_0xadd2[168]](_0x5849x30,_0x5849x2e[_0x5849x31]?_0x5849x2e[_0x5849x31]:_0xadd2[150])});return _0x5849x19};Sidebar[_0xadd2[40]][_0xadd2[241]]= function(_0x5849x32,_0x5849xd,_0x5849xe,_0x5849x33,_0x5849x9,_0x5849xa){var _0x5849x2d=[];var _0x5849x2e=[];switch(_0x5849x33){case _0xadd2[52]:break;case _0xadd2[78]:_0x5849x2d= [_0xadd2[242],_0xadd2[132],_0xadd2[243],_0xadd2[244],_0xadd2[245],_0xadd2[246]];_0x5849x2e= [_0xadd2[150],0,_0xadd2[247],1,_0xadd2[248],true];break;case _0xadd2[63]:_0x5849x2d= [_0xadd2[249],_0xadd2[250]];_0x5849x2e= [_0xadd2[251]];break;case _0xadd2[256]:_0x5849x2d= [_0xadd2[249],_0xadd2[252],_0xadd2[253]];_0x5849x2e= [_0xadd2[251],_0xadd2[254],_0xadd2[255]];break;case _0xadd2[65]:_0x5849x2d= [_0xadd2[249],_0xadd2[252],_0xadd2[253],_0xadd2[257],_0xadd2[258]];_0x5849x2e= [_0xadd2[251],_0xadd2[254],_0xadd2[255],_0xadd2[255],_0xadd2[251]];break;case _0xadd2[71]:_0x5849x2d= [_0xadd2[249],_0xadd2[252],_0xadd2[259],_0xadd2[260],_0xadd2[257],_0xadd2[258]];_0x5849x2e= [_0xadd2[251],_0xadd2[254],_0xadd2[255],_0xadd2[261],_0xadd2[255],_0xadd2[251]];break;case _0xadd2[96]:_0x5849x2d= [_0xadd2[262],_0xadd2[263]];_0x5849x2e= [_0xadd2[150],_0xadd2[150]];break;case _0xadd2[61]:_0x5849x2d= [_0xadd2[258],_0xadd2[264]];_0x5849x2e= [_0xadd2[251],_0xadd2[150]];break;case _0xadd2[77]:_0x5849x2d= [_0xadd2[265],_0xadd2[266],_0xadd2[258]];_0x5849x2e= [_0xadd2[251],_0xadd2[150],_0xadd2[251]];break;case _0xadd2[92]:_0x5849x2d= [_0xadd2[267]];_0x5849x2e= [];break;case _0xadd2[83]:_0x5849x2d= [_0xadd2[268],_0xadd2[269]];_0x5849x2e= [];break;case _0xadd2[93]:_0x5849x2d= [_0xadd2[258],_0xadd2[270]];_0x5849x2e= [];break;case _0xadd2[94]:_0x5849x2d= [_0xadd2[271],_0xadd2[270]];_0x5849x2e= [];break;case _0xadd2[84]:_0x5849x2d= [_0xadd2[272]];_0x5849x2e= [];break;case _0xadd2[85]:_0x5849x2d= [_0xadd2[273]];_0x5849x2e= [_0xadd2[251]];break;case _0xadd2[274]:_0x5849x2d= [_0xadd2[273]];_0x5849x2e= [_0xadd2[251]];break;case _0xadd2[86]:_0x5849x2d= [_0xadd2[258]];_0x5849x2e= [_0xadd2[251]];break;case _0xadd2[66]:_0x5849x2d= [_0xadd2[275],_0xadd2[276]];_0x5849x2e= [_0xadd2[150],_0xadd2[248]];break;case _0xadd2[67]:_0x5849x2d= [_0xadd2[277],_0xadd2[276]];_0x5849x2e= [_0xadd2[150],_0xadd2[248]];break;case _0xadd2[68]:_0x5849x2d= [_0xadd2[278],_0xadd2[276]];_0x5849x2e= [_0xadd2[150],_0xadd2[248]];break;case _0xadd2[74]:_0x5849x2d= [_0xadd2[279],_0xadd2[244],_0xadd2[276]];_0x5849x2e= [_0xadd2[150],_0xadd2[280],_0xadd2[248]];break;case _0xadd2[54]:_0x5849x2d= [_0xadd2[281],_0xadd2[244],_0xadd2[96],_0xadd2[282]];_0x5849x2e= [_0xadd2[251],_0xadd2[283]];break;case _0xadd2[55]:_0x5849x2d= [_0xadd2[284],_0xadd2[285],_0xadd2[244],_0xadd2[250],_0xadd2[282]];_0x5849x2e= [_0xadd2[150],_0xadd2[280],_0xadd2[283]];break;case _0xadd2[69]:_0x5849x2d= [_0xadd2[278],_0xadd2[286]];_0x5849x2e= [_0xadd2[150],_0xadd2[287]];break;case _0xadd2[70]:_0x5849x2d= [_0xadd2[278],_0xadd2[242],_0xadd2[288],_0xadd2[289],_0xadd2[245]];_0x5849x2e= [_0xadd2[150],_0xadd2[150],_0xadd2[290],_0xadd2[251],_0xadd2[248]];break;case _0xadd2[56]:_0x5849x2d= [_0xadd2[291],_0xadd2[250],_0xadd2[282],_0xadd2[249],_0xadd2[244],_0xadd2[94],_0xadd2[292],_0xadd2[293],_0xadd2[19]];_0x5849x2e= [_0xadd2[280],_0xadd2[150],_0xadd2[150],_0xadd2[251],_0xadd2[294]];break;case _0xadd2[57]:_0x5849x2d= [_0xadd2[295],_0xadd2[263]];_0x5849x2e= [_0xadd2[150],_0xadd2[150]];break;case _0xadd2[95]:_0x5849x2d= [_0xadd2[296]];_0x5849x2e= [_0xadd2[251]];break;case _0xadd2[62]:_0x5849x2d= [_0xadd2[297],_0xadd2[258]];_0x5849x2e= [_0xadd2[150],_0xadd2[251]];break;case _0xadd2[306]:_0x5849x2d= [_0xadd2[298],_0xadd2[299],_0xadd2[300],_0xadd2[301],_0xadd2[302],_0xadd2[303],_0xadd2[304],_0xadd2[305]];_0x5849x2e= [];break;case _0xadd2[89]:_0x5849x2d= [_0xadd2[307]];_0x5849x2e= [];break;case _0xadd2[58]:_0x5849x2d= [_0xadd2[308],_0xadd2[284],_0xadd2[309],_0xadd2[310]];_0x5849x2e= [_0xadd2[150],_0xadd2[311],_0xadd2[251],_0xadd2[254]];break;case _0xadd2[79]:_0x5849x2d= [_0xadd2[312],_0xadd2[313],_0xadd2[314]];_0x5849x2e= [_0xadd2[251]];break;case _0xadd2[80]:_0x5849x2d= [_0xadd2[312],_0xadd2[313],_0xadd2[315],_0xadd2[316],_0xadd2[278]];_0x5849x2e= [_0xadd2[251]];break;default:_0x5849x2d= [];_0x5849x2e= [];break};var _0x5849x19=this[_0xadd2[238]](_0x5849x33,_0x5849x9,_0x5849x2d,_0x5849x2e);var _0x5849x8=[ new mxCell(_0x5849x19, new mxGeometry(0,0,_0x5849xd,_0x5849xe),_0x5849x32)];_0x5849x8[0][_0xadd2[317]]= true;return this[_0xadd2[318]](_0x5849x8,_0x5849xd,_0x5849xe,_0x5849x9,_0x5849xa)};Sidebar[_0xadd2[40]][_0xadd2[318]]= function(_0x5849x8,_0x5849xd,_0x5849xe,_0x5849x9,_0x5849xa){var _0x5849x7=this[_0xadd2[203]](_0x5849x8,_0x5849x9,_0x5849xa);var _0x5849x27=this[_0xadd2[221]](_0x5849x7,this[_0xadd2[208]](_0x5849x8,true),this[_0xadd2[218]](_0x5849xd,_0x5849xe));this[_0xadd2[227]](_0x5849x7,_0x5849x27);_0x5849x27[_0xadd2[319]]= mxUtils[_0xadd2[25]](this,function(){return this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]][_0xadd2[321]][_0xadd2[320]]});if(!touchStyle){mxEvent[_0xadd2[26]](_0x5849x7,_0xadd2[30],mxUtils[_0xadd2[25]](this,function(_0x5849x4){this[_0xadd2[110]](_0x5849x7,_0x5849x8,_0x5849x9,_0x5849xa)}))};return _0x5849x7};Sidebar[_0xadd2[40]][_0xadd2[322]]= function(_0x5849x32,_0x5849xd,_0x5849xe,_0x5849x33,_0x5849x9,_0x5849xa){var _0x5849x8=[ new mxCell((_0x5849x33!= null)?_0x5849x33:_0xadd2[150], new mxGeometry(0,0,_0x5849xd,_0x5849xe),_0x5849x32)];_0x5849x8[0][_0xadd2[324]][_0xadd2[323]]( new mxPoint(0,_0x5849xe),true);_0x5849x8[0][_0xadd2[324]][_0xadd2[323]]( new mxPoint(_0x5849xd,0),false);_0x5849x8[0][_0xadd2[324]][_0xadd2[121]]= true;_0x5849x8[0][_0xadd2[325]]= true;return this[_0xadd2[326]](_0x5849x8,_0x5849xd,_0x5849xe,_0x5849x9,_0x5849xa)};Sidebar[_0xadd2[40]][_0xadd2[326]]= function(_0x5849x8,_0x5849xd,_0x5849xe,_0x5849x9,_0x5849xa){var _0x5849x7=this[_0xadd2[203]](_0x5849x8,_0x5849x9,_0x5849xa);this[_0xadd2[221]](_0x5849x7,this[_0xadd2[208]](_0x5849x8,false),this[_0xadd2[218]](_0x5849xd,_0x5849xe));var _0x5849x1e=this[_0xadd2[1]][_0xadd2[9]][_0xadd2[5]];mxEvent[_0xadd2[26]](_0x5849x7,_0xadd2[206],mxUtils[_0xadd2[25]](this,function(_0x5849x4){if(this[_0xadd2[101]]){_0x5849x1e[_0xadd2[327]](_0x5849x8[0])};_0x5849x7[_0xadd2[17]][_0xadd2[328]]= _0xadd2[329];window[_0xadd2[174]](function(){_0x5849x7[_0xadd2[17]][_0xadd2[328]]= _0xadd2[150]},300);mxEvent[_0xadd2[207]](_0x5849x4)}));if(!touchStyle){mxEvent[_0xadd2[26]](_0x5849x7,_0xadd2[30],mxUtils[_0xadd2[25]](this,function(_0x5849x4){this[_0xadd2[110]](_0x5849x7,_0x5849x8,_0x5849x9,_0x5849xa)}))};return _0x5849x7};Sidebar[_0xadd2[40]][_0xadd2[330]]= function(_0x5849x34,_0x5849x9,_0x5849x35,_0x5849x36){var _0x5849x7=this[_0xadd2[175]](_0x5849x9);this[_0xadd2[2]][_0xadd2[21]](_0x5849x7);var _0x5849x1c=document[_0xadd2[7]](_0xadd2[6]);_0x5849x1c[_0xadd2[114]]= _0xadd2[331];if(_0x5849x35){_0x5849x36(_0x5849x1c);_0x5849x36= null}else {_0x5849x1c[_0xadd2[17]][_0xadd2[128]]= _0xadd2[155]};this[_0xadd2[332]](_0x5849x7,_0x5849x1c,_0x5849x36);var _0x5849x37=document[_0xadd2[7]](_0xadd2[6]);_0x5849x37[_0xadd2[21]](_0x5849x1c);this[_0xadd2[2]][_0xadd2[21]](_0x5849x37);if(_0x5849x34!= null){this[_0xadd2[3]][_0x5849x34]= [_0x5849x7,_0x5849x37]}};Sidebar[_0xadd2[40]][_0xadd2[332]]= function(_0x5849x9,_0x5849x38,_0x5849x39){var _0x5849x3a=false;_0x5849x9[_0xadd2[17]][_0xadd2[191]]= (_0x5849x38[_0xadd2[17]][_0xadd2[128]]== _0xadd2[155])?_0xadd2[192]+ IMAGE_PATH+ _0xadd2[333]:_0xadd2[192]+ IMAGE_PATH+ _0xadd2[334];_0x5849x9[_0xadd2[17]][_0xadd2[335]]= _0xadd2[336];_0x5849x9[_0xadd2[17]][_0xadd2[337]]= _0xadd2[338];mxEvent[_0xadd2[26]](_0x5849x9,_0xadd2[206],function(_0x5849x4){if(_0x5849x38[_0xadd2[17]][_0xadd2[128]]== _0xadd2[155]){if(!_0x5849x3a){_0x5849x3a= true;if(_0x5849x39!= null){_0x5849x9[_0xadd2[17]][_0xadd2[194]]= _0xadd2[339];window[_0xadd2[174]](function(){_0x5849x39(_0x5849x38);_0x5849x9[_0xadd2[17]][_0xadd2[194]]= _0xadd2[150]},0)}};_0x5849x9[_0xadd2[17]][_0xadd2[191]]= _0xadd2[192]+ IMAGE_PATH+ _0xadd2[334];_0x5849x38[_0xadd2[17]][_0xadd2[128]]= _0xadd2[129]}else {_0x5849x9[_0xadd2[17]][_0xadd2[191]]= _0xadd2[192]+ IMAGE_PATH+ _0xadd2[333];_0x5849x38[_0xadd2[17]][_0xadd2[128]]= _0xadd2[155]};mxEvent[_0xadd2[207]](_0x5849x4)})};Sidebar[_0xadd2[40]][_0xadd2[340]]= function(_0x5849x34){var _0x5849x3b=this[_0xadd2[3]][_0x5849x34];if(_0x5849x3b!= null){this[_0xadd2[3]][_0x5849x34]= null;for(var _0x5849x3c=0;_0x5849x3c< _0x5849x3b[_0xadd2[139]];_0x5849x3c++){this[_0xadd2[2]][_0xadd2[341]](_0x5849x3b[_0x5849x3c])};return true};return false};Sidebar[_0xadd2[40]][_0xadd2[49]]= function(_0x5849x34,_0x5849x9,_0x5849x3d,_0x5849x3e,_0x5849x3f,_0x5849x40){this[_0xadd2[330]](_0x5849x34,_0x5849x9,(_0x5849x34=== _0xadd2[42]),mxUtils[_0xadd2[25]](this,function(_0x5849x38){var _0x5849x41=_0x5849x40!= null;for(var _0x5849x3c=0;_0x5849x3c< _0x5849x3f[_0xadd2[139]];_0x5849x3c++){var _0x5849x42=_0x5849x3d+ _0x5849x3f[_0x5849x3c]+ _0x5849x3e;_0x5849x38[_0xadd2[21]](this[_0xadd2[241]](_0xadd2[342]+ _0x5849x42,80,80,_0x5849x3f[_0x5849x3c],(_0x5849x41)?_0x5849x40[_0x5849x3c]:null,_0x5849x41))}}))} \ 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 7ca03ac..49ccf15 100644 --- a/public/assets/plugins/square/js/Toolbar.js +++ b/public/assets/plugins/square/js/Toolbar.js @@ -1 +1 @@ -var _0x948d=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x69\x6E\x69\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x62\x69\x6E\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x61\x76\x65","\x70\x75\x62\x6C\x69\x73\x68","\x2D","\x70\x72\x69\x6E\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x6F\x70\x79","\x63\x75\x74","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x61\x64\x64\x49\x74\x65\x6D\x73","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x67\x65\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x73\x74\x79\x6C\x65","\x6E\x6F\x77\x72\x61\x70","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x77\x69\x64\x74\x68","\x37\x30\x70\x78","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x31\x32","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x33\x30\x70\x78","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x6C\x65\x6E\x67\x74\x68","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x2E\x2E\x2E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x6E\x75\x73","\x66\x75\x6E\x63\x74","\x61\x64\x64\x4D\x65\x6E\x75\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x63\x72\x65\x61\x74\x65\x42\x75\x74\x74\x6F\x6E","\x69\x6E\x69\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x67\x65\x53\x70\x72\x69\x74\x65\x2D","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x64\x64\x49\x74\x65\x6D","\x61\x63\x74\x69\x6F\x6E\x73","\x6C\x61\x62\x65\x6C","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x61\x64\x64\x45\x64\x67\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x69\x73\x45\x64\x67\x65","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x74\x69\x74\x6C\x65","\x61\x64\x64\x45\x6E\x61\x62\x6C\x65\x64\x53\x74\x61\x74\x65","\x20\x67\x65\x44\x69\x73\x61\x62\x6C\x65\x64","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x42\x75\x74\x74\x6F\x6E","\x67\x65\x53\x70\x72\x69\x74\x65\x20","\x67\x65\x4C\x61\x62\x65\x6C","\x77\x72\x69\x74\x65","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x20\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x4D\x65\x6E\x75","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x6C\x61\x62\x65\x6C\x73","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70"];function Toolbar(_0xe1d2x2,_0xe1d2x3){this[_0x948d[0]]= _0xe1d2x2;this[_0x948d[1]]= _0xe1d2x3;this[_0x948d[2]]();mxEvent[_0x948d[5]](document,mxUtils[_0x948d[4]](this,function(_0xe1d2x4){this[_0x948d[3]]()}))}Toolbar[_0x948d[6]][_0x948d[2]]= function(){this[_0x948d[21]]([_0x948d[7],_0x948d[8],_0x948d[9],_0x948d[10],_0x948d[11],_0x948d[12],_0x948d[9],_0x948d[13],_0x948d[14],_0x948d[15],_0x948d[16],_0x948d[9],_0x948d[17],_0x948d[9],_0x948d[18],_0x948d[19],_0x948d[20],_0x948d[9]]);var _0xe1d2x5=this[_0x948d[25]](_0x948d[22],mxResources[_0x948d[24]](_0x948d[23]),true,_0x948d[23]);_0xe1d2x5[_0x948d[27]][_0x948d[26]]= _0x948d[28];_0xe1d2x5[_0x948d[27]][_0x948d[29]]= _0x948d[30];_0xe1d2x5[_0x948d[27]][_0x948d[31]]= _0x948d[32];this[_0x948d[33]]();var _0xe1d2x6=this[_0x948d[25]](_0x948d[34],mxResources[_0x948d[24]](_0x948d[35]),true,_0x948d[35]);_0xe1d2x6[_0x948d[27]][_0x948d[26]]= _0x948d[28];_0xe1d2x6[_0x948d[27]][_0x948d[29]]= _0x948d[30];_0xe1d2x6[_0x948d[27]][_0x948d[31]]= _0x948d[36];this[_0x948d[21]]([_0x948d[9],_0x948d[37],_0x948d[38],_0x948d[39]]);var _0xe1d2x7=this[_0x948d[0]][_0x948d[41]][_0x948d[40]];var _0xe1d2x8=mxUtils[_0x948d[4]](this,function(){var _0xe1d2x9=_0x948d[22];var _0xe1d2xa=_0x948d[34];var _0xe1d2xb=_0xe1d2x7[_0x948d[44]]()[_0x948d[43]](_0xe1d2x7[_0x948d[42]]());if(_0xe1d2xb!= null){_0xe1d2x9= _0xe1d2xb[_0x948d[27]][mxConstants[_0x948d[45]]]|| _0xe1d2x9;_0xe1d2xa= _0xe1d2xb[_0x948d[27]][mxConstants[_0x948d[46]]]|| _0xe1d2xa;if(_0xe1d2x9[_0x948d[47]]> 10){_0xe1d2x9= _0xe1d2x9[_0x948d[48]](0,8)+ _0x948d[49]};_0xe1d2x5[_0x948d[50]]= _0xe1d2x9;_0xe1d2x6[_0x948d[50]]= _0xe1d2xa}});_0xe1d2x7[_0x948d[52]]()[_0x948d[51]](mxEvent.CHANGE,_0xe1d2x8);_0xe1d2x7[_0x948d[53]]()[_0x948d[51]](mxEvent.CHANGE,_0xe1d2x8)};Toolbar[_0x948d[6]][_0x948d[3]]= function(){if(this[_0x948d[54]]!= null){this[_0x948d[54]][_0x948d[3]]();this[_0x948d[54]][_0x948d[55]]();this[_0x948d[54]]= null}};Toolbar[_0x948d[6]][_0x948d[25]]= function(_0xe1d2xc,_0xe1d2xd,_0xe1d2xe,_0xe1d2xf){var _0xe1d2x10=this[_0x948d[0]][_0x948d[56]][_0x948d[24]](_0xe1d2xf);var _0xe1d2x11=this[_0x948d[58]](_0xe1d2xc,_0xe1d2xd,_0xe1d2xe,_0xe1d2x10[_0x948d[57]]);_0xe1d2x10[_0x948d[51]](_0x948d[59],function(){_0xe1d2x11[_0x948d[61]](_0xe1d2x10[_0x948d[60]])});return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[58]]= function(_0xe1d2xc,_0xe1d2xd,_0xe1d2xe,_0xe1d2x12){var _0xe1d2x11=(_0xe1d2xe)?this[_0x948d[62]](_0xe1d2xc):this[_0x948d[63]](_0xe1d2xc);this[_0x948d[64]](_0xe1d2x11,_0xe1d2xd);this[_0x948d[65]](_0xe1d2x11,_0xe1d2xe,_0xe1d2x12);this[_0x948d[1]][_0x948d[66]](_0xe1d2x11);return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[33]]= function(){var _0xe1d2x11=document[_0x948d[68]](_0x948d[67]);_0xe1d2x11[_0x948d[69]]= _0x948d[70];this[_0x948d[1]][_0x948d[66]](_0xe1d2x11);return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[21]]= function(_0xe1d2x13){for(var _0xe1d2x14=0;_0xe1d2x14< _0xe1d2x13[_0x948d[47]];_0xe1d2x14++){var _0xe1d2x15=_0xe1d2x13[_0xe1d2x14];if(_0xe1d2x15== _0x948d[9]){this[_0x948d[33]]()}else {this[_0x948d[73]](_0x948d[71]+ _0xe1d2x15[_0x948d[72]](),_0xe1d2x15)}}};Toolbar[_0x948d[6]][_0x948d[73]]= function(_0xe1d2x16,_0xe1d2x15){var _0xe1d2x17=this[_0x948d[0]][_0x948d[74]][_0x948d[24]](_0xe1d2x15);var _0xe1d2x11=null;if(_0xe1d2x17!= null){_0xe1d2x11= this[_0x948d[76]](_0xe1d2x16,_0xe1d2x17[_0x948d[75]],_0xe1d2x17[_0x948d[57]]);_0xe1d2x11[_0x948d[61]](_0xe1d2x17[_0x948d[60]]);_0xe1d2x17[_0x948d[51]](_0x948d[59],function(){_0xe1d2x11[_0x948d[61]](_0xe1d2x17[_0x948d[60]])})};return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[76]]= function(_0xe1d2x18,_0xe1d2xd,_0xe1d2x12){var _0xe1d2x11=this[_0x948d[63]](_0xe1d2x18);this[_0x948d[64]](_0xe1d2x11,_0xe1d2xd);this[_0x948d[77]](_0xe1d2x11,_0xe1d2x12);this[_0x948d[1]][_0x948d[66]](_0xe1d2x11);return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[78]]= function(_0xe1d2x19){var _0xe1d2x7=this[_0x948d[0]][_0x948d[41]][_0x948d[40]];var _0xe1d2x1a=function(){var _0xe1d2x1b=!_0xe1d2x7[_0x948d[79]]();for(var _0xe1d2x14=0;_0xe1d2x14< _0xe1d2x19[_0x948d[47]];_0xe1d2x14++){_0xe1d2x19[_0xe1d2x14][_0x948d[61]](_0xe1d2x1b)}};_0xe1d2x7[_0x948d[52]]()[_0x948d[51]](mxEvent.CHANGE,_0xe1d2x1a);_0xe1d2x1a()};Toolbar[_0x948d[6]][_0x948d[80]]= function(_0xe1d2x19){var _0xe1d2x7=this[_0x948d[0]][_0x948d[41]][_0x948d[40]];var _0xe1d2x1a=function(){var _0xe1d2x1c=false;if(!_0xe1d2x7[_0x948d[79]]()){var _0xe1d2x1d=_0xe1d2x7[_0x948d[81]]();for(var _0xe1d2x14=0;_0xe1d2x14< _0xe1d2x1d[_0x948d[47]];_0xe1d2x14++){if(_0xe1d2x7[_0x948d[53]]()[_0x948d[82]](_0xe1d2x1d[_0xe1d2x14])){_0xe1d2x1c= true;break}}};for(var _0xe1d2x14=0;_0xe1d2x14< _0xe1d2x19[_0x948d[47]];_0xe1d2x14++){_0xe1d2x19[_0xe1d2x14][_0x948d[61]](_0xe1d2x1c)}};_0xe1d2x7[_0x948d[52]]()[_0x948d[51]](mxEvent.CHANGE,_0xe1d2x1a);_0xe1d2x1a()};Toolbar[_0x948d[6]][_0x948d[64]]= function(_0xe1d2x11,_0xe1d2xd){_0xe1d2x11[_0x948d[85]](_0x948d[83],_0x948d[84]);if(_0xe1d2xd!= null){_0xe1d2x11[_0x948d[85]](_0x948d[86],_0xe1d2xd)};this[_0x948d[87]](_0xe1d2x11)};Toolbar[_0x948d[6]][_0x948d[87]]= function(_0xe1d2x11){var _0xe1d2x18=_0xe1d2x11[_0x948d[69]];_0xe1d2x11[_0x948d[61]]= function(_0xe1d2x1e){_0xe1d2x11[_0x948d[60]]= _0xe1d2x1e;if(_0xe1d2x1e){_0xe1d2x11[_0x948d[69]]= _0xe1d2x18}else {_0xe1d2x11[_0x948d[69]]= _0xe1d2x18+ _0x948d[88]}};_0xe1d2x11[_0x948d[61]](true)};Toolbar[_0x948d[6]][_0x948d[77]]= function(_0xe1d2x11,_0xe1d2x12){if(_0xe1d2x12!= null){mxEvent[_0x948d[51]](_0xe1d2x11,_0x948d[89],function(_0xe1d2x4){if(_0xe1d2x11[_0x948d[60]]){_0xe1d2x12(_0xe1d2x4)};mxEvent[_0x948d[90]](_0xe1d2x4)})}};Toolbar[_0x948d[6]][_0x948d[63]]= function(_0xe1d2x18){var _0xe1d2x11=document[_0x948d[68]](_0x948d[91]);_0xe1d2x11[_0x948d[85]](_0x948d[92],_0x948d[93]);_0xe1d2x11[_0x948d[69]]= _0x948d[94];var _0xe1d2x1f=document[_0x948d[68]](_0x948d[67]);_0xe1d2x1f[_0x948d[69]]= _0x948d[95]+ _0xe1d2x18;_0xe1d2x11[_0x948d[66]](_0xe1d2x1f);return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[62]]= function(_0xe1d2xc,_0xe1d2xd){var _0xe1d2x11=document[_0x948d[68]](_0x948d[91]);_0xe1d2x11[_0x948d[85]](_0x948d[92],_0x948d[93]);_0xe1d2x11[_0x948d[69]]= _0x948d[96];mxUtils[_0x948d[97]](_0xe1d2x11,_0xe1d2xc);return _0xe1d2x11};Toolbar[_0x948d[6]][_0x948d[65]]= function(_0xe1d2x11,_0xe1d2xe,_0xe1d2x12,_0xe1d2x20){if(_0xe1d2x12!= null){var _0xe1d2x7=this[_0x948d[0]][_0x948d[41]][_0x948d[40]];var _0xe1d2x10=null;mxEvent[_0x948d[51]](_0xe1d2x11,_0x948d[89],mxUtils[_0x948d[4]](this,function(_0xe1d2x4){if(_0xe1d2x11[_0x948d[60]]== null|| _0xe1d2x11[_0x948d[60]]){_0xe1d2x7[_0x948d[98]][_0x948d[3]]();_0xe1d2x10= new mxPopupMenu(_0xe1d2x12);_0xe1d2x10[_0x948d[67]][_0x948d[69]]+= _0x948d[99];_0xe1d2x10[_0x948d[100]]= _0xe1d2x20;_0xe1d2x10[_0x948d[101]]= _0xe1d2xe;_0xe1d2x10[_0x948d[102]]= true;_0xe1d2x10[_0x948d[106]](_0xe1d2x11[_0x948d[103]],_0xe1d2x11[_0x948d[104]]+ _0xe1d2x11[_0x948d[105]]+ 34,null,_0xe1d2x4);this[_0x948d[54]]= _0xe1d2x10};mxEvent[_0x948d[90]](_0xe1d2x4)}))}} \ No newline at end of file +var _0xf408=["\x65\x64\x69\x74\x6F\x72\x55\x69","\x63\x6F\x6E\x74\x61\x69\x6E\x65\x72","\x69\x6E\x69\x74","\x68\x69\x64\x65\x4D\x65\x6E\x75","\x62\x69\x6E\x64","\x61\x64\x64\x47\x65\x73\x74\x75\x72\x65\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x70\x72\x6F\x74\x6F\x74\x79\x70\x65","\x73\x61\x76\x65","\x70\x75\x62\x6C\x69\x73\x68","\x2D","\x70\x72\x69\x6E\x74","\x75\x6E\x64\x6F","\x72\x65\x64\x6F","\x63\x6F\x70\x79","\x63\x75\x74","\x70\x61\x73\x74\x65","\x64\x65\x6C\x65\x74\x65","\x64\x75\x70\x6C\x69\x63\x61\x74\x65","\x61\x63\x74\x75\x61\x6C\x53\x69\x7A\x65","\x7A\x6F\x6F\x6D\x49\x6E","\x7A\x6F\x6F\x6D\x4F\x75\x74","\x61\x64\x64\x49\x74\x65\x6D\x73","\x48\x65\x6C\x76\x65\x74\x69\x63\x61","\x66\x6F\x6E\x74\x46\x61\x6D\x69\x6C\x79","\x67\x65\x74","\x61\x64\x64\x4D\x65\x6E\x75","\x77\x68\x69\x74\x65\x53\x70\x61\x63\x65","\x73\x74\x79\x6C\x65","\x6E\x6F\x77\x72\x61\x70","\x6F\x76\x65\x72\x66\x6C\x6F\x77","\x68\x69\x64\x64\x65\x6E","\x77\x69\x64\x74\x68","\x37\x30\x70\x78","\x61\x64\x64\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x31\x32","\x66\x6F\x6E\x74\x53\x69\x7A\x65","\x33\x30\x70\x78","\x62\x6F\x6C\x64","\x69\x74\x61\x6C\x69\x63","\x75\x6E\x64\x65\x72\x6C\x69\x6E\x65","\x67\x72\x61\x70\x68","\x65\x64\x69\x74\x6F\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C","\x67\x65\x74\x53\x74\x61\x74\x65","\x67\x65\x74\x56\x69\x65\x77","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x46\x41\x4D\x49\x4C\x59","\x53\x54\x59\x4C\x45\x5F\x46\x4F\x4E\x54\x53\x49\x5A\x45","\x6C\x65\x6E\x67\x74\x68","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x2E\x2E\x2E","\x69\x6E\x6E\x65\x72\x48\x54\x4D\x4C","\x61\x64\x64\x4C\x69\x73\x74\x65\x6E\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x4D\x6F\x64\x65\x6C","\x67\x65\x74\x4D\x6F\x64\x65\x6C","\x63\x75\x72\x72\x65\x6E\x74\x4D\x65\x6E\x75","\x64\x65\x73\x74\x72\x6F\x79","\x6D\x65\x6E\x75\x73","\x66\x75\x6E\x63\x74","\x61\x64\x64\x4D\x65\x6E\x75\x46\x75\x6E\x63\x74\x69\x6F\x6E","\x73\x74\x61\x74\x65\x43\x68\x61\x6E\x67\x65\x64","\x65\x6E\x61\x62\x6C\x65\x64","\x73\x65\x74\x45\x6E\x61\x62\x6C\x65\x64","\x63\x72\x65\x61\x74\x65\x4C\x61\x62\x65\x6C","\x63\x72\x65\x61\x74\x65\x42\x75\x74\x74\x6F\x6E","\x69\x6E\x69\x74\x45\x6C\x65\x6D\x65\x6E\x74","\x61\x64\x64\x4D\x65\x6E\x75\x48\x61\x6E\x64\x6C\x65\x72","\x61\x70\x70\x65\x6E\x64\x43\x68\x69\x6C\x64","\x64\x69\x76","\x63\x72\x65\x61\x74\x65\x45\x6C\x65\x6D\x65\x6E\x74","\x63\x6C\x61\x73\x73\x4E\x61\x6D\x65","\x67\x65\x53\x65\x70\x61\x72\x61\x74\x6F\x72","\x67\x65\x53\x70\x72\x69\x74\x65\x2D","\x74\x6F\x4C\x6F\x77\x65\x72\x43\x61\x73\x65","\x61\x64\x64\x49\x74\x65\x6D","\x61\x63\x74\x69\x6F\x6E\x73","\x6C\x61\x62\x65\x6C","\x61\x64\x64\x42\x75\x74\x74\x6F\x6E","\x61\x64\x64\x43\x6C\x69\x63\x6B\x48\x61\x6E\x64\x6C\x65\x72","\x61\x64\x64\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x69\x73\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x45\x6D\x70\x74\x79","\x61\x64\x64\x45\x64\x67\x65\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x48\x61\x6E\x64\x6C\x65\x72","\x67\x65\x74\x53\x65\x6C\x65\x63\x74\x69\x6F\x6E\x43\x65\x6C\x6C\x73","\x69\x73\x45\x64\x67\x65","\x74\x61\x62\x69\x6E\x64\x65\x78","\x30","\x73\x65\x74\x41\x74\x74\x72\x69\x62\x75\x74\x65","\x74\x69\x74\x6C\x65","\x61\x64\x64\x45\x6E\x61\x62\x6C\x65\x64\x53\x74\x61\x74\x65","\x20\x67\x65\x44\x69\x73\x61\x62\x6C\x65\x64","\x63\x6C\x69\x63\x6B","\x63\x6F\x6E\x73\x75\x6D\x65","\x61","\x68\x72\x65\x66","\x6A\x61\x76\x61\x73\x63\x72\x69\x70\x74\x3A\x76\x6F\x69\x64\x28\x30\x29\x3B","\x67\x65\x42\x75\x74\x74\x6F\x6E","\x67\x65\x53\x70\x72\x69\x74\x65\x20","\x67\x65\x4C\x61\x62\x65\x6C","\x77\x72\x69\x74\x65","\x70\x61\x6E\x6E\x69\x6E\x67\x48\x61\x6E\x64\x6C\x65\x72","\x20\x67\x65\x54\x6F\x6F\x6C\x62\x61\x72\x4D\x65\x6E\x75","\x73\x68\x6F\x77\x44\x69\x73\x61\x62\x6C\x65\x64","\x6C\x61\x62\x65\x6C\x73","\x61\x75\x74\x6F\x45\x78\x70\x61\x6E\x64","\x6F\x66\x66\x73\x65\x74\x4C\x65\x66\x74","\x6F\x66\x66\x73\x65\x74\x54\x6F\x70","\x6F\x66\x66\x73\x65\x74\x48\x65\x69\x67\x68\x74","\x70\x6F\x70\x75\x70"];function Toolbar(_0xe2aex2,_0xe2aex3){this[_0xf408[0]]= _0xe2aex2;this[_0xf408[1]]= _0xe2aex3;this[_0xf408[2]]();mxEvent[_0xf408[5]](document,mxUtils[_0xf408[4]](this,function(_0xe2aex4){this[_0xf408[3]]()}))}Toolbar[_0xf408[6]][_0xf408[2]]= function(){this[_0xf408[21]]([_0xf408[7],_0xf408[8],_0xf408[9],_0xf408[10],_0xf408[11],_0xf408[12],_0xf408[9],_0xf408[13],_0xf408[14],_0xf408[15],_0xf408[16],_0xf408[9],_0xf408[17],_0xf408[9],_0xf408[18],_0xf408[19],_0xf408[20],_0xf408[9]]);var _0xe2aex5=this[_0xf408[25]](_0xf408[22],mxResources[_0xf408[24]](_0xf408[23]),true,_0xf408[23]);_0xe2aex5[_0xf408[27]][_0xf408[26]]= _0xf408[28];_0xe2aex5[_0xf408[27]][_0xf408[29]]= _0xf408[30];_0xe2aex5[_0xf408[27]][_0xf408[31]]= _0xf408[32];this[_0xf408[33]]();var _0xe2aex6=this[_0xf408[25]](_0xf408[34],mxResources[_0xf408[24]](_0xf408[35]),true,_0xf408[35]);_0xe2aex6[_0xf408[27]][_0xf408[26]]= _0xf408[28];_0xe2aex6[_0xf408[27]][_0xf408[29]]= _0xf408[30];_0xe2aex6[_0xf408[27]][_0xf408[31]]= _0xf408[36];this[_0xf408[21]]([_0xf408[9],_0xf408[37],_0xf408[38],_0xf408[39]]);var _0xe2aex7=this[_0xf408[0]][_0xf408[41]][_0xf408[40]];var _0xe2aex8=mxUtils[_0xf408[4]](this,function(){var _0xe2aex9=_0xf408[22];var _0xe2aexa=_0xf408[34];var _0xe2aexb=_0xe2aex7[_0xf408[44]]()[_0xf408[43]](_0xe2aex7[_0xf408[42]]());if(_0xe2aexb!= null){_0xe2aex9= _0xe2aexb[_0xf408[27]][mxConstants[_0xf408[45]]]|| _0xe2aex9;_0xe2aexa= _0xe2aexb[_0xf408[27]][mxConstants[_0xf408[46]]]|| _0xe2aexa;if(_0xe2aex9[_0xf408[47]]> 10){_0xe2aex9= _0xe2aex9[_0xf408[48]](0,8)+ _0xf408[49]};_0xe2aex5[_0xf408[50]]= _0xe2aex9;_0xe2aex6[_0xf408[50]]= _0xe2aexa}});_0xe2aex7[_0xf408[52]]()[_0xf408[51]](mxEvent.CHANGE,_0xe2aex8);_0xe2aex7[_0xf408[53]]()[_0xf408[51]](mxEvent.CHANGE,_0xe2aex8)};Toolbar[_0xf408[6]][_0xf408[3]]= function(){if(this[_0xf408[54]]!= null){this[_0xf408[54]][_0xf408[3]]();this[_0xf408[54]][_0xf408[55]]();this[_0xf408[54]]= null}};Toolbar[_0xf408[6]][_0xf408[25]]= function(_0xe2aexc,_0xe2aexd,_0xe2aexe,_0xe2aexf){var _0xe2aex10=this[_0xf408[0]][_0xf408[56]][_0xf408[24]](_0xe2aexf);var _0xe2aex11=this[_0xf408[58]](_0xe2aexc,_0xe2aexd,_0xe2aexe,_0xe2aex10[_0xf408[57]]);_0xe2aex10[_0xf408[51]](_0xf408[59],function(){_0xe2aex11[_0xf408[61]](_0xe2aex10[_0xf408[60]])});return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[58]]= function(_0xe2aexc,_0xe2aexd,_0xe2aexe,_0xe2aex12){var _0xe2aex11=(_0xe2aexe)?this[_0xf408[62]](_0xe2aexc):this[_0xf408[63]](_0xe2aexc);this[_0xf408[64]](_0xe2aex11,_0xe2aexd);this[_0xf408[65]](_0xe2aex11,_0xe2aexe,_0xe2aex12);this[_0xf408[1]][_0xf408[66]](_0xe2aex11);return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[33]]= function(){var _0xe2aex11=document[_0xf408[68]](_0xf408[67]);_0xe2aex11[_0xf408[69]]= _0xf408[70];this[_0xf408[1]][_0xf408[66]](_0xe2aex11);return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[21]]= function(_0xe2aex13){for(var _0xe2aex14=0;_0xe2aex14< _0xe2aex13[_0xf408[47]];_0xe2aex14++){var _0xe2aex15=_0xe2aex13[_0xe2aex14];if(_0xe2aex15== _0xf408[9]){this[_0xf408[33]]()}else {this[_0xf408[73]](_0xf408[71]+ _0xe2aex15[_0xf408[72]](),_0xe2aex15)}}};Toolbar[_0xf408[6]][_0xf408[73]]= function(_0xe2aex16,_0xe2aex15){var _0xe2aex17=this[_0xf408[0]][_0xf408[74]][_0xf408[24]](_0xe2aex15);var _0xe2aex11=null;if(_0xe2aex17!= null){_0xe2aex11= this[_0xf408[76]](_0xe2aex16,_0xe2aex17[_0xf408[75]],_0xe2aex17[_0xf408[57]]);_0xe2aex11[_0xf408[61]](_0xe2aex17[_0xf408[60]]);_0xe2aex17[_0xf408[51]](_0xf408[59],function(){_0xe2aex11[_0xf408[61]](_0xe2aex17[_0xf408[60]])})};return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[76]]= function(_0xe2aex18,_0xe2aexd,_0xe2aex12){var _0xe2aex11=this[_0xf408[63]](_0xe2aex18);this[_0xf408[64]](_0xe2aex11,_0xe2aexd);this[_0xf408[77]](_0xe2aex11,_0xe2aex12);this[_0xf408[1]][_0xf408[66]](_0xe2aex11);return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[78]]= function(_0xe2aex19){var _0xe2aex7=this[_0xf408[0]][_0xf408[41]][_0xf408[40]];var _0xe2aex1a=function(){var _0xe2aex1b=!_0xe2aex7[_0xf408[79]]();for(var _0xe2aex14=0;_0xe2aex14< _0xe2aex19[_0xf408[47]];_0xe2aex14++){_0xe2aex19[_0xe2aex14][_0xf408[61]](_0xe2aex1b)}};_0xe2aex7[_0xf408[52]]()[_0xf408[51]](mxEvent.CHANGE,_0xe2aex1a);_0xe2aex1a()};Toolbar[_0xf408[6]][_0xf408[80]]= function(_0xe2aex19){var _0xe2aex7=this[_0xf408[0]][_0xf408[41]][_0xf408[40]];var _0xe2aex1a=function(){var _0xe2aex1c=false;if(!_0xe2aex7[_0xf408[79]]()){var _0xe2aex1d=_0xe2aex7[_0xf408[81]]();for(var _0xe2aex14=0;_0xe2aex14< _0xe2aex1d[_0xf408[47]];_0xe2aex14++){if(_0xe2aex7[_0xf408[53]]()[_0xf408[82]](_0xe2aex1d[_0xe2aex14])){_0xe2aex1c= true;break}}};for(var _0xe2aex14=0;_0xe2aex14< _0xe2aex19[_0xf408[47]];_0xe2aex14++){_0xe2aex19[_0xe2aex14][_0xf408[61]](_0xe2aex1c)}};_0xe2aex7[_0xf408[52]]()[_0xf408[51]](mxEvent.CHANGE,_0xe2aex1a);_0xe2aex1a()};Toolbar[_0xf408[6]][_0xf408[64]]= function(_0xe2aex11,_0xe2aexd){_0xe2aex11[_0xf408[85]](_0xf408[83],_0xf408[84]);if(_0xe2aexd!= null){_0xe2aex11[_0xf408[85]](_0xf408[86],_0xe2aexd)};this[_0xf408[87]](_0xe2aex11)};Toolbar[_0xf408[6]][_0xf408[87]]= function(_0xe2aex11){var _0xe2aex18=_0xe2aex11[_0xf408[69]];_0xe2aex11[_0xf408[61]]= function(_0xe2aex1e){_0xe2aex11[_0xf408[60]]= _0xe2aex1e;if(_0xe2aex1e){_0xe2aex11[_0xf408[69]]= _0xe2aex18}else {_0xe2aex11[_0xf408[69]]= _0xe2aex18+ _0xf408[88]}};_0xe2aex11[_0xf408[61]](true)};Toolbar[_0xf408[6]][_0xf408[77]]= function(_0xe2aex11,_0xe2aex12){if(_0xe2aex12!= null){mxEvent[_0xf408[51]](_0xe2aex11,_0xf408[89],function(_0xe2aex4){if(_0xe2aex11[_0xf408[60]]){_0xe2aex12(_0xe2aex4)};mxEvent[_0xf408[90]](_0xe2aex4)})}};Toolbar[_0xf408[6]][_0xf408[63]]= function(_0xe2aex18){var _0xe2aex11=document[_0xf408[68]](_0xf408[91]);_0xe2aex11[_0xf408[85]](_0xf408[92],_0xf408[93]);_0xe2aex11[_0xf408[69]]= _0xf408[94];var _0xe2aex1f=document[_0xf408[68]](_0xf408[67]);_0xe2aex1f[_0xf408[69]]= _0xf408[95]+ _0xe2aex18;_0xe2aex11[_0xf408[66]](_0xe2aex1f);return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[62]]= function(_0xe2aexc,_0xe2aexd){var _0xe2aex11=document[_0xf408[68]](_0xf408[91]);_0xe2aex11[_0xf408[85]](_0xf408[92],_0xf408[93]);_0xe2aex11[_0xf408[69]]= _0xf408[96];mxUtils[_0xf408[97]](_0xe2aex11,_0xe2aexc);return _0xe2aex11};Toolbar[_0xf408[6]][_0xf408[65]]= function(_0xe2aex11,_0xe2aexe,_0xe2aex12,_0xe2aex20){if(_0xe2aex12!= null){var _0xe2aex7=this[_0xf408[0]][_0xf408[41]][_0xf408[40]];var _0xe2aex10=null;mxEvent[_0xf408[51]](_0xe2aex11,_0xf408[89],mxUtils[_0xf408[4]](this,function(_0xe2aex4){if(_0xe2aex11[_0xf408[60]]== null|| _0xe2aex11[_0xf408[60]]){_0xe2aex7[_0xf408[98]][_0xf408[3]]();_0xe2aex10= new mxPopupMenu(_0xe2aex12);_0xe2aex10[_0xf408[67]][_0xf408[69]]+= _0xf408[99];_0xe2aex10[_0xf408[100]]= _0xe2aex20;_0xe2aex10[_0xf408[101]]= _0xe2aexe;_0xe2aex10[_0xf408[102]]= true;_0xe2aex10[_0xf408[106]](_0xe2aex11[_0xf408[103]],_0xe2aex11[_0xf408[104]]+ _0xe2aex11[_0xf408[105]]+ 34,null,_0xe2aex4);this[_0xf408[54]]= _0xe2aex10};mxEvent[_0xf408[90]](_0xe2aex4)}))}} \ 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 5f2951f..0ef46b6 100644 --- a/public/assets/plugins/square/js/custom.js +++ b/public/assets/plugins/square/js/custom.js @@ -1 +1 @@ -var _0x7682=["\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x26","\x73\x70\x6C\x69\x74","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x6C\x65\x6E\x67\x74\x68","\x3D","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x65\x78\x70\x2E\x64\x72\x61\x77\x2E\x69\x6F\x2F\x49\x6D\x61\x67\x65\x45\x78\x70\x6F\x72\x74\x32\x2F\x65\x78\x70\x6F\x72\x74","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x33\x30\x30\x30","\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F","\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x68\x61\x70\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x69\x6D\x61\x67\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x73\x74\x79\x6C\x65\x73","\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6F\x70\x65\x6E","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73","\x2F\x64\x69\x61","\x65\x6E","\x63\x75\x73\x74\x6F\x6D","\x4E\x47\x5F\x54\x52\x41\x4E\x53\x4C\x41\x54\x45\x5F\x4C\x41\x4E\x47\x5F\x4B\x45\x59","\x67\x65\x74\x49\x74\x65\x6D","\x6C\x6F\x67","\x65\x6E\x5F\x45\x4E","\x69\x74","\x6D\x78\x4C\x61\x6E\x67\x75\x61\x67\x65","\x61\x72","\x62\x73","\x63\x73","\x64\x61","\x64\x65","\x65\x6C","\x65\x73","\x65\x73\x2D\x61\x72","\x66\x72","\x68\x75","\x69\x64","\x6A\x61","\x6B\x6F","\x6E\x6C","\x6E\x6F","\x70\x6C","\x70\x74\x2D\x62\x72","\x70\x74","\x72\x6F","\x72\x75","\x73\x72","\x73\x76","\x74\x68","\x74\x72","\x75\x6B","\x7A\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x6A\x73","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x20\x43\x61\x6E\x74\x6F\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x54\x61\x69\x77\x61\x6E\x20\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x4D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x42\x72\x61\x7A\x69\x6C\x69\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x61\x74\x61\x6C\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x7A\x65\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x75\x74\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x49\x74\x61\x6C\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65\x09","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x4D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x4D\x61\x6C\x65","\x53\x77\x65\x64\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x53\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x4B\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x53\x70\x61\x69\x6E\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x4D\x65\x78\x69\x63\x6F\x29","\x49\x74\x61\x6C\x69\x61\x6E\x20\x28\x49\x74\x61\x6C\x79\x29\x20\x2F\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x28\x46\x69\x6E\x6C\x61\x6E\x64\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x46\x72\x61\x6E\x63\x65\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x50\x6F\x6C\x69\x73\x68\x20\x28\x50\x6F\x6C\x61\x6E\x64\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x50\x6F\x72\x74\x75\x67\x61\x6C\x29","\x43\x61\x74\x61\x6C\x61\x6E\x20\x28\x43\x61\x74\x61\x6C\x61\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x61\x69\x77\x61\x6E\x29","\x44\x61\x6E\x69\x73\x68\x20\x28\x44\x65\x6E\x6D\x61\x72\x6B\x29","\x47\x65\x72\x6D\x61\x6E\x20\x28\x47\x65\x72\x6D\x61\x6E\x79\x29","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x28\x4A\x61\x70\x61\x6E\x29","\x4B\x6F\x72\x65\x61\x6E\x20\x28\x4B\x6F\x72\x65\x61\x29","\x44\x75\x74\x63\x68\x20\x28\x4E\x65\x74\x68\x65\x72\x6C\x61\x6E\x64\x73\x29","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x6F\x72\x77\x61\x79\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x42\x72\x61\x7A\x69\x6C\x29","\x52\x75\x73\x73\x69\x61\x6E\x20\x28\x52\x75\x73\x73\x69\x61\x29","\x53\x77\x65\x64\x69\x73\x68\x20\x28\x53\x77\x65\x64\x65\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x43\x68\x69\x6E\x61\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x29","\x44\x65\x66\x61\x75\x6C\x74","\x44\x61\x74\x65","\x55\x53\x20\x4D\x6F\x6E\x65\x79","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39\x39","\x54\x69\x6D\x65","\x50\x68\x6F\x6E\x65\x20\x6E\x75\x6D\x62\x65\x72","\x53\x74\x72\x65\x65\x74\x73","\x55\x53\x20\x43\x69\x74\x79\x2F\x53\x74\x61\x74\x65\x73","\x59\x65\x73","\x4E\x6F","\x41\x66\x72\x69\x6B\x61\x61\x6E\x73","\x41\x6C\x62\x61\x6E\x69\x61\x6E","\x41\x6D\x68\x61\x72\x69\x63","\x41\x72\x61\x62\x69\x63","\x41\x72\x6D\x65\x6E\x69\x61\x6E","\x41\x7A\x65\x72\x62\x61\x69\x6A\x61\x6E\x69","\x42\x61\x73\x71\x75\x65","\x42\x65\x6C\x61\x72\x75\x73\x69\x61\x6E","\x42\x65\x6E\x67\x61\x6C\x69","\x42\x69\x68\x61\x72\x69","\x42\x6F\x73\x6E\x69\x61\x6E","\x42\x72\x65\x74\x6F\x6E","\x42\x75\x6C\x67\x61\x72\x69\x61\x6E","\x43\x61\x6D\x62\x6F\x64\x69\x61\x6E","\x43\x61\x74\x61\x6C\x61\x6E","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x53\x69\x6D\x70\x6C\x69\x66\x69\x65\x64\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x72\x61\x64\x69\x74\x69\x6F\x6E\x61\x6C\x29","\x43\x6F\x72\x73\x69\x63\x61\x6E","\x43\x72\x6F\x61\x74\x69\x61\x6E","\x43\x7A\x65\x63\x68","\x44\x61\x6E\x69\x73\x68","\x44\x75\x74\x63\x68","\x45\x6E\x67\x6C\x69\x73\x68","\x45\x73\x70\x65\x72\x61\x6E\x74\x6F","\x45\x73\x74\x6F\x6E\x69\x61\x6E","\x46\x61\x72\x6F\x65\x73\x65","\x46\x69\x6C\x69\x70\x69\x6E\x6F","\x46\x69\x6E\x6E\x69\x73\x68","\x46\x72\x65\x6E\x63\x68","\x46\x72\x69\x73\x69\x61\x6E","\x47\x61\x6C\x69\x63\x69\x61\x6E","\x47\x65\x6F\x72\x67\x69\x61\x6E","\x47\x65\x72\x6D\x61\x6E","\x47\x72\x65\x65\x6B","\x47\x75\x61\x72\x61\x6E\x69","\x47\x75\x6A\x61\x72\x61\x74\x69","\x48\x61\x63\x6B\x65\x72","\x48\x61\x75\x73\x61","\x48\x65\x62\x72\x65\x77","\x48\x69\x6E\x64\x69","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E","\x49\x63\x65\x6C\x61\x6E\x64\x69\x63","\x49\x6E\x64\x6F\x6E\x65\x73\x69\x61\x6E","\x49\x6E\x74\x65\x72\x6C\x69\x6E\x67\x75\x61","\x49\x72\x69\x73\x68","\x49\x74\x61\x6C\x69\x61\x6E","\x4A\x61\x76\x61\x6E\x65\x73\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65","\x4B\x61\x6E\x6E\x61\x64\x61","\x4B\x61\x7A\x61\x6B\x68","\x4B\x69\x6E\x79\x61\x72\x77\x61\x6E\x64\x61","\x4B\x69\x72\x75\x6E\x64\x69","\x4B\x6C\x69\x6E\x67\x6F\x6E","\x4B\x75\x72\x64\x69\x73\x68","\x4B\x6F\x72\x65\x61\x6E","\x4B\x79\x72\x67\x79\x7A","\x4C\x61\x6F\x74\x68\x69\x61\x6E","\x4C\x61\x74\x69\x6E","\x4C\x61\x74\x76\x69\x61\x6E","\x4C\x69\x6E\x67\x61\x6C\x61","\x4C\x69\x74\x68\x75\x61\x6E\x69\x61\x6E","\x4D\x61\x63\x65\x64\x6F\x6E\x69\x61\x6E","\x4D\x61\x6C\x61\x67\x61\x73\x79","\x4D\x61\x6C\x61\x79","\x4D\x61\x6C\x61\x79\x61\x6C\x61\x6D","\x4D\x61\x6C\x74\x65\x73\x65","\x4D\x61\x6F\x72\x69","\x4D\x61\x72\x61\x74\x68\x69","\x4D\x6F\x6C\x64\x61\x76\x69\x61\x6E","\x4D\x6F\x6E\x67\x6F\x6C\x69\x61\x6E","\x4D\x6F\x6E\x74\x65\x6E\x65\x67\x72\x69\x6E","\x4E\x65\x70\x61\x6C\x69","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x79\x6E\x6F\x72\x73\x6B\x29","\x4F\x63\x63\x69\x74\x61\x6E","\x4F\x72\x69\x79\x61","\x4F\x72\x6F\x6D\x6F","\x50\x61\x73\x68\x74\x6F","\x50\x65\x72\x73\x69\x61\x6E","\x50\x69\x72\x61\x74\x65","\x50\x6F\x6C\x69\x73\x68","\x50\x75\x6E\x6A\x61\x62\x69","\x51\x75\x65\x63\x68\x75\x61","\x52\x6F\x6D\x61\x6E\x69\x61\x6E","\x52\x6F\x6D\x61\x6E\x73\x68","\x52\x75\x73\x73\x69\x61\x6E","\x53\x63\x6F\x74\x73\x20\x47\x61\x65\x6C\x69\x63","\x53\x65\x72\x62\x69\x61\x6E","\x53\x65\x72\x62\x6F\x2D\x43\x72\x6F\x61\x74\x69\x61\x6E","\x53\x65\x73\x6F\x74\x68\x6F","\x53\x68\x6F\x6E\x61","\x53\x69\x6E\x64\x68\x69","\x53\x69\x6E\x68\x61\x6C\x65\x73\x65","\x53\x6C\x6F\x76\x61\x6B","\x53\x6C\x6F\x76\x65\x6E\x69\x61\x6E","\x53\x6F\x6D\x61\x6C\x69","\x53\x70\x61\x6E\x69\x73\x68","\x53\x75\x6E\x64\x61\x6E\x65\x73\x65","\x53\x77\x61\x68\x69\x6C\x69","\x53\x77\x65\x64\x69\x73\x68","\x54\x61\x6A\x69\x6B","\x54\x61\x6D\x69\x6C","\x54\x61\x74\x61\x72","\x54\x65\x6C\x75\x67\x75","\x54\x68\x61\x69","\x54\x69\x67\x72\x69\x6E\x79\x61","\x54\x6F\x6E\x67\x61","\x54\x75\x72\x6B\x69\x73\x68","\x54\x75\x72\x6B\x6D\x65\x6E","\x54\x77\x69","\x55\x69\x67\x68\x75\x72","\x55\x6B\x72\x61\x69\x6E\x69\x61\x6E","\x55\x72\x64\x75","\x55\x7A\x62\x65\x6B","\x56\x69\x65\x74\x6E\x61\x6D\x65\x73\x65","\x57\x65\x6C\x73\x68","\x58\x68\x6F\x73\x61","\x59\x69\x64\x64\x69\x73\x68","\x59\x6F\x72\x75\x62\x61","\x5A\x75\x6C\x75"];var urlParams=(function(_0x8ae1x2){var _0x8ae1x3= new Object();var _0x8ae1x4=_0x8ae1x2[_0x7682[3]](_0x7682[2]);if(_0x8ae1x4> 0){var _0x8ae1x5=_0x8ae1x2[_0x7682[6]](_0x8ae1x4+ 1)[_0x7682[5]](_0x7682[4]);for(var _0x8ae1x6=0;_0x8ae1x6< _0x8ae1x5[_0x7682[7]];_0x8ae1x6++){_0x8ae1x4= _0x8ae1x5[_0x8ae1x6][_0x7682[9]](_0x7682[8]);if(_0x8ae1x4> 0){_0x8ae1x3[_0x8ae1x5[_0x8ae1x6][_0x7682[6]](0,_0x8ae1x4)]= _0x8ae1x5[_0x8ae1x6][_0x7682[6]](_0x8ae1x4+ 1)}}};return _0x8ae1x3})(window[_0x7682[1]][_0x7682[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0x7682[10];var SHARE_HOST=_0x7682[11];var SAVE_URL=_0x7682[12];var VARIABLE_URL=_0x7682[13];var STENCIL_PATH=_0x7682[14];var SHAPES_PATH=_0x7682[15];var IMAGE_PATH=_0x7682[16];var STYLE_PATH=_0x7682[17];var CSS_PATH=_0x7682[17];var OPEN_FORM=_0x7682[18];var TEMPLATE_PATH=_0x7682[19];var RESOURCES_PATH=_0x7682[20];var RESOURCE_BASE=RESOURCES_PATH+ _0x7682[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;var mxLanguage=_0x7682[22];console[_0x7682[26]](_0x7682[23],localStorage[_0x7682[25]](_0x7682[24]));switch(localStorage[_0x7682[25]](_0x7682[24])){case _0x7682[27]:mxLanguage= _0x7682[22];break;case _0x7682[28]:mxLanguage= _0x7682[28];break;default:mxLanguage= _0x7682[22]};console[_0x7682[26]](_0x7682[29],mxLanguage);var mxLanguages=[_0x7682[30],_0x7682[31],_0x7682[32],_0x7682[33],_0x7682[34],_0x7682[35],_0x7682[36],_0x7682[37],_0x7682[38],_0x7682[39],_0x7682[40],_0x7682[28],_0x7682[41],_0x7682[42],_0x7682[43],_0x7682[44],_0x7682[45],_0x7682[46],_0x7682[47],_0x7682[48],_0x7682[49],_0x7682[50],_0x7682[51],_0x7682[52],_0x7682[53],_0x7682[54],_0x7682[55]];var mxBasePath=_0x7682[56];var geBasePath=_0x7682[57];var ISPEECHLANG={usenglishfemale:_0x7682[58],usenglishmale:_0x7682[59],ukenglishfemale:_0x7682[60],ukenglishmale:_0x7682[61],auenglishfemale:_0x7682[62],usspanishfemale:_0x7682[63],usspanishmale:_0x7682[64],chchinesefemale:_0x7682[65],chchinesemale:_0x7682[66],hkchinesefemale:_0x7682[67],twchinesefemale:_0x7682[68],jpjapanesefemale:_0x7682[69],jpjapanesemale:_0x7682[70],krkoreanfemale:_0x7682[71],krkoreanmale:_0x7682[72],caenglishfemale:_0x7682[73],huhungarianfemale:_0x7682[74],brportuguesefemale:_0x7682[75],eurportuguesefemale:_0x7682[76],eurportuguesemale:_0x7682[77],eurspanishfemale:_0x7682[78],eurspanishmale:_0x7682[79],eurcatalanfemale:_0x7682[80],eurczechfemale:_0x7682[81],eurdanishfemale:_0x7682[82],eurfinnishfemale:_0x7682[83],eurfrenchfemale:_0x7682[84],eurfrenchmale:_0x7682[85],eurnorwegianfemale:_0x7682[86],eurdutchfemale:_0x7682[87],eurpolishfemale:_0x7682[88],euritalianfemale:_0x7682[89],eurturkishfemale:_0x7682[90],eurturkishmale:_0x7682[91],eurgermanfemale:_0x7682[92],eurgermanmale:_0x7682[93],rurussianfemale:_0x7682[94],rurussianmale:_0x7682[95],swswedishfemale:_0x7682[96],cafrenchfemale:_0x7682[97],cafrenchmale:_0x7682[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0x7682[99],"\x65\x6E\x2D\x43\x41":_0x7682[100],"\x65\x6E\x2D\x47\x42":_0x7682[101],"\x65\x6E\x2D\x41\x55":_0x7682[102],"\x65\x73\x2D\x45\x53":_0x7682[103],"\x65\x73\x2D\x4D\x58":_0x7682[104],"\x69\x74\x2D\x49\x54":_0x7682[105],"\x66\x72\x2D\x46\x52":_0x7682[106],"\x66\x72\x2D\x43\x41":_0x7682[107],"\x70\x6C\x2D\x50\x4C":_0x7682[108],"\x70\x74\x2D\x50\x54":_0x7682[109],"\x63\x61\x2D\x45\x53":_0x7682[110],"\x7A\x68\x2D\x54\x57":_0x7682[111],"\x64\x61\x2D\x44\x4B":_0x7682[112],"\x66\x72\x2D\x46\x52":_0x7682[113],"\x6A\x61\x2D\x4A\x50":_0x7682[114],"\x6B\x6F\x2D\x4B\x52":_0x7682[115],"\x6E\x6C\x2D\x4E\x4C":_0x7682[116],"\x6E\x62\x2D\x4E\x4F":_0x7682[117],"\x70\x74\x2D\x42\x52":_0x7682[118],"\x72\x75\x2D\x52\x55":_0x7682[119],"\x73\x76\x2D\x53\x45":_0x7682[120],"\x7A\x68\x2D\x43\x4E":_0x7682[121],"\x7A\x68\x2D\x48\x4B":_0x7682[122]};var ISPEECHASRMODEL={0:_0x7682[123],date:_0x7682[124],usmoney:_0x7682[125],numbersto9:_0x7682[126],numbersto99:_0x7682[127],numbersto999:_0x7682[128],time:_0x7682[129],phonenumber:_0x7682[130],streets:_0x7682[131],citystate:_0x7682[132]};var ISPEECHBEEP={"\x42\x45\x45\x50":_0x7682[133],"\x4E\x4F\x42\x45\x45\x50":_0x7682[134]};var GOOGLETTSLANG={"\x61\x66":_0x7682[135],"\x73\x71":_0x7682[136],"\x61\x6D":_0x7682[137],"\x61\x72":_0x7682[138],"\x68\x79":_0x7682[139],"\x61\x7A":_0x7682[140],"\x65\x75":_0x7682[141],"\x62\x65":_0x7682[142],"\x62\x6E":_0x7682[143],"\x62\x68":_0x7682[144],"\x62\x73":_0x7682[145],"\x62\x72":_0x7682[146],"\x62\x67":_0x7682[147],"\x6B\x6D":_0x7682[148],"\x63\x61":_0x7682[149],"\x7A\x68\x2D\x43\x4E":_0x7682[150],"\x7A\x68\x2D\x54\x57":_0x7682[151],"\x63\x6F":_0x7682[152],"\x68\x72":_0x7682[153],"\x63\x73":_0x7682[154],"\x64\x61":_0x7682[155],"\x6E\x6C":_0x7682[156],"\x65\x6E":_0x7682[157],"\x65\x6F":_0x7682[158],"\x65\x74":_0x7682[159],"\x66\x6F":_0x7682[160],"\x74\x6C":_0x7682[161],"\x66\x69":_0x7682[162],"\x66\x72":_0x7682[163],"\x66\x79":_0x7682[164],"\x67\x6C":_0x7682[165],"\x6B\x61":_0x7682[166],"\x64\x65":_0x7682[167],"\x65\x6C":_0x7682[168],"\x67\x6E":_0x7682[169],"\x67\x75":_0x7682[170],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0x7682[171],"\x68\x61":_0x7682[172],"\x69\x77":_0x7682[173],"\x68\x69":_0x7682[174],"\x68\x75":_0x7682[175],"\x69\x73":_0x7682[176],"\x69\x64":_0x7682[177],"\x69\x61":_0x7682[178],"\x67\x61":_0x7682[179],"\x69\x74":_0x7682[180],"\x6A\x77":_0x7682[181],"\x6A\x61":_0x7682[182],"\x6B\x6E":_0x7682[183],"\x6B\x6B":_0x7682[184],"\x72\x77":_0x7682[185],"\x72\x6E":_0x7682[186],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0x7682[187],"\x6B\x75":_0x7682[188],"\x6B\x6F":_0x7682[189],"\x6B\x79":_0x7682[190],"\x6C\x6F":_0x7682[191],"\x6C\x61":_0x7682[192],"\x6C\x76":_0x7682[193],"\x6C\x6E":_0x7682[194],"\x6C\x74":_0x7682[195],"\x6D\x6B":_0x7682[196],"\x6D\x67":_0x7682[197],"\x6D\x73":_0x7682[198],"\x6D\x6C":_0x7682[199],"\x6D\x74":_0x7682[200],"\x6D\x69":_0x7682[201],"\x6D\x72":_0x7682[202],"\x6D\x6F":_0x7682[203],"\x6D\x6E":_0x7682[204],"\x73\x72\x2D\x4D\x45":_0x7682[205],"\x6E\x65":_0x7682[206],"\x6E\x6F":_0x7682[207],"\x6E\x6E":_0x7682[208],"\x6F\x63":_0x7682[209],"\x6F\x72":_0x7682[210],"\x6F\x6D":_0x7682[211],"\x70\x73":_0x7682[212],"\x66\x61":_0x7682[213],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0x7682[214],"\x70\x6C":_0x7682[215],"\x70\x74\x2D\x42\x52":_0x7682[118],"\x70\x74\x2D\x50\x54":_0x7682[109],"\x70\x61":_0x7682[216],"\x71\x75":_0x7682[217],"\x72\x6F":_0x7682[218],"\x72\x6D":_0x7682[219],"\x72\x75":_0x7682[220],"\x67\x64":_0x7682[221],"\x73\x72":_0x7682[222],"\x73\x68":_0x7682[223],"\x73\x74":_0x7682[224],"\x73\x6E":_0x7682[225],"\x73\x64":_0x7682[226],"\x73\x69":_0x7682[227],"\x73\x6B":_0x7682[228],"\x73\x6C":_0x7682[229],"\x73\x6F":_0x7682[230],"\x65\x73":_0x7682[231],"\x73\x75":_0x7682[232],"\x73\x77":_0x7682[233],"\x73\x76":_0x7682[234],"\x74\x67":_0x7682[235],"\x74\x61":_0x7682[236],"\x74\x74":_0x7682[237],"\x74\x65":_0x7682[238],"\x74\x68":_0x7682[239],"\x74\x69":_0x7682[240],"\x74\x6F":_0x7682[241],"\x74\x72":_0x7682[242],"\x74\x6B":_0x7682[243],"\x74\x77":_0x7682[244],"\x75\x67":_0x7682[245],"\x75\x6B":_0x7682[246],"\x75\x72":_0x7682[247],"\x75\x7A":_0x7682[248],"\x76\x69":_0x7682[249],"\x63\x79":_0x7682[250],"\x78\x68":_0x7682[251],"\x79\x69":_0x7682[252],"\x79\x6F":_0x7682[253],"\x7A\x75":_0x7682[254]} \ No newline at end of file +var _0x8f6a=["\x68\x72\x65\x66","\x6C\x6F\x63\x61\x74\x69\x6F\x6E","\x3F","\x6C\x61\x73\x74\x49\x6E\x64\x65\x78\x4F\x66","\x26","\x73\x70\x6C\x69\x74","\x73\x75\x62\x73\x74\x72\x69\x6E\x67","\x6C\x65\x6E\x67\x74\x68","\x3D","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x74\x74\x70\x3A\x2F\x2F\x65\x78\x70\x2E\x64\x72\x61\x77\x2E\x69\x6F\x2F\x49\x6D\x61\x67\x65\x45\x78\x70\x6F\x72\x74\x32\x2F\x65\x78\x70\x6F\x72\x74","\x68\x74\x74\x70\x3A\x2F\x2F\x6C\x6F\x63\x61\x6C\x68\x6F\x73\x74\x3A\x33\x30\x30\x30","\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F","\x2F\x61\x70\x69\x2F\x76\x61\x72\x69\x61\x62\x6C\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x74\x65\x6E\x63\x69\x6C\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x73\x68\x61\x70\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x69\x6D\x61\x67\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x73\x74\x79\x6C\x65\x73","\x61\x70\x69\x2F\x73\x71\x75\x61\x72\x65\x2F\x70\x72\x6F\x6A\x65\x63\x74\x73\x2F\x6F\x70\x65\x6E","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x74\x65\x6D\x70\x6C\x61\x74\x65\x73","\x2F\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x73\x71\x75\x61\x72\x65\x2F\x72\x65\x73\x6F\x75\x72\x63\x65\x73","\x2F\x64\x69\x61","\x65\x6E","\x63\x75\x73\x74\x6F\x6D","\x4E\x47\x5F\x54\x52\x41\x4E\x53\x4C\x41\x54\x45\x5F\x4C\x41\x4E\x47\x5F\x4B\x45\x59","\x67\x65\x74\x49\x74\x65\x6D","\x6C\x6F\x67","\x65\x6E\x5F\x45\x4E","\x69\x74","\x6D\x78\x4C\x61\x6E\x67\x75\x61\x67\x65","\x61\x72","\x62\x73","\x63\x73","\x64\x61","\x64\x65","\x65\x6C","\x65\x73","\x65\x73\x2D\x61\x72","\x66\x72","\x68\x75","\x69\x64","\x6A\x61","\x6B\x6F","\x6E\x6C","\x6E\x6F","\x70\x6C","\x70\x74\x2D\x62\x72","\x70\x74","\x72\x6F","\x72\x75","\x73\x72","\x73\x76","\x74\x68","\x74\x72","\x75\x6B","\x7A\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68","\x61\x73\x73\x65\x74\x73\x2F\x70\x6C\x75\x67\x69\x6E\x73\x2F\x6D\x78\x67\x72\x61\x70\x68\x2F\x6A\x73","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x4B\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x4D\x61\x6C\x65","\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x55\x53\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x43\x68\x69\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x20\x43\x61\x6E\x74\x6F\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x54\x61\x69\x77\x61\x6E\x20\x43\x68\x69\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x4D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x4B\x6F\x72\x65\x61\x6E\x20\x4D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x45\x6E\x67\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x42\x72\x61\x7A\x69\x6C\x69\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x53\x70\x61\x6E\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x61\x74\x61\x6C\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x43\x7A\x65\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x61\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x44\x75\x74\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x50\x6F\x6C\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x49\x74\x61\x6C\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65\x09","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x54\x75\x72\x6B\x69\x73\x68\x20\x4D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x45\x75\x72\x6F\x70\x65\x61\x6E\x20\x47\x65\x72\x6D\x61\x6E\x20\x4D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x46\x65\x6D\x61\x6C\x65","\x52\x75\x73\x73\x69\x61\x6E\x20\x4D\x61\x6C\x65","\x53\x77\x65\x64\x69\x73\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x46\x65\x6D\x61\x6C\x65","\x43\x61\x6E\x61\x64\x69\x61\x6E\x20\x46\x72\x65\x6E\x63\x68\x20\x4D\x61\x6C\x65","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x53\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x55\x4B\x29","\x45\x6E\x67\x6C\x69\x73\x68\x20\x28\x41\x75\x73\x74\x72\x61\x6C\x69\x61\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x53\x70\x61\x69\x6E\x29","\x53\x70\x61\x6E\x69\x73\x68\x20\x28\x4D\x65\x78\x69\x63\x6F\x29","\x49\x74\x61\x6C\x69\x61\x6E\x20\x28\x49\x74\x61\x6C\x79\x29\x20\x2F\x20\x46\x69\x6E\x6E\x69\x73\x68\x20\x28\x46\x69\x6E\x6C\x61\x6E\x64\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x46\x72\x61\x6E\x63\x65\x29","\x46\x72\x65\x6E\x63\x68\x20\x28\x43\x61\x6E\x61\x64\x61\x29","\x50\x6F\x6C\x69\x73\x68\x20\x28\x50\x6F\x6C\x61\x6E\x64\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x50\x6F\x72\x74\x75\x67\x61\x6C\x29","\x43\x61\x74\x61\x6C\x61\x6E\x20\x28\x43\x61\x74\x61\x6C\x61\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x61\x69\x77\x61\x6E\x29","\x44\x61\x6E\x69\x73\x68\x20\x28\x44\x65\x6E\x6D\x61\x72\x6B\x29","\x47\x65\x72\x6D\x61\x6E\x20\x28\x47\x65\x72\x6D\x61\x6E\x79\x29","\x4A\x61\x70\x61\x6E\x65\x73\x65\x20\x28\x4A\x61\x70\x61\x6E\x29","\x4B\x6F\x72\x65\x61\x6E\x20\x28\x4B\x6F\x72\x65\x61\x29","\x44\x75\x74\x63\x68\x20\x28\x4E\x65\x74\x68\x65\x72\x6C\x61\x6E\x64\x73\x29","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x6F\x72\x77\x61\x79\x29","\x50\x6F\x72\x74\x75\x67\x75\x65\x73\x65\x20\x28\x42\x72\x61\x7A\x69\x6C\x29","\x52\x75\x73\x73\x69\x61\x6E\x20\x28\x52\x75\x73\x73\x69\x61\x29","\x53\x77\x65\x64\x69\x73\x68\x20\x28\x53\x77\x65\x64\x65\x6E\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x43\x68\x69\x6E\x61\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x48\x6F\x6E\x67\x20\x4B\x6F\x6E\x67\x29","\x44\x65\x66\x61\x75\x6C\x74","\x44\x61\x74\x65","\x55\x53\x20\x4D\x6F\x6E\x65\x79","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39","\x4E\x75\x6D\x62\x65\x72\x73\x20\x74\x6F\x20\x39\x39\x39","\x54\x69\x6D\x65","\x50\x68\x6F\x6E\x65\x20\x6E\x75\x6D\x62\x65\x72","\x53\x74\x72\x65\x65\x74\x73","\x55\x53\x20\x43\x69\x74\x79\x2F\x53\x74\x61\x74\x65\x73","\x59\x65\x73","\x4E\x6F","\x41\x66\x72\x69\x6B\x61\x61\x6E\x73","\x41\x6C\x62\x61\x6E\x69\x61\x6E","\x41\x6D\x68\x61\x72\x69\x63","\x41\x72\x61\x62\x69\x63","\x41\x72\x6D\x65\x6E\x69\x61\x6E","\x41\x7A\x65\x72\x62\x61\x69\x6A\x61\x6E\x69","\x42\x61\x73\x71\x75\x65","\x42\x65\x6C\x61\x72\x75\x73\x69\x61\x6E","\x42\x65\x6E\x67\x61\x6C\x69","\x42\x69\x68\x61\x72\x69","\x42\x6F\x73\x6E\x69\x61\x6E","\x42\x72\x65\x74\x6F\x6E","\x42\x75\x6C\x67\x61\x72\x69\x61\x6E","\x43\x61\x6D\x62\x6F\x64\x69\x61\x6E","\x43\x61\x74\x61\x6C\x61\x6E","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x53\x69\x6D\x70\x6C\x69\x66\x69\x65\x64\x29","\x43\x68\x69\x6E\x65\x73\x65\x20\x28\x54\x72\x61\x64\x69\x74\x69\x6F\x6E\x61\x6C\x29","\x43\x6F\x72\x73\x69\x63\x61\x6E","\x43\x72\x6F\x61\x74\x69\x61\x6E","\x43\x7A\x65\x63\x68","\x44\x61\x6E\x69\x73\x68","\x44\x75\x74\x63\x68","\x45\x6E\x67\x6C\x69\x73\x68","\x45\x73\x70\x65\x72\x61\x6E\x74\x6F","\x45\x73\x74\x6F\x6E\x69\x61\x6E","\x46\x61\x72\x6F\x65\x73\x65","\x46\x69\x6C\x69\x70\x69\x6E\x6F","\x46\x69\x6E\x6E\x69\x73\x68","\x46\x72\x65\x6E\x63\x68","\x46\x72\x69\x73\x69\x61\x6E","\x47\x61\x6C\x69\x63\x69\x61\x6E","\x47\x65\x6F\x72\x67\x69\x61\x6E","\x47\x65\x72\x6D\x61\x6E","\x47\x72\x65\x65\x6B","\x47\x75\x61\x72\x61\x6E\x69","\x47\x75\x6A\x61\x72\x61\x74\x69","\x48\x61\x63\x6B\x65\x72","\x48\x61\x75\x73\x61","\x48\x65\x62\x72\x65\x77","\x48\x69\x6E\x64\x69","\x48\x75\x6E\x67\x61\x72\x69\x61\x6E","\x49\x63\x65\x6C\x61\x6E\x64\x69\x63","\x49\x6E\x64\x6F\x6E\x65\x73\x69\x61\x6E","\x49\x6E\x74\x65\x72\x6C\x69\x6E\x67\x75\x61","\x49\x72\x69\x73\x68","\x49\x74\x61\x6C\x69\x61\x6E","\x4A\x61\x76\x61\x6E\x65\x73\x65","\x4A\x61\x70\x61\x6E\x65\x73\x65","\x4B\x61\x6E\x6E\x61\x64\x61","\x4B\x61\x7A\x61\x6B\x68","\x4B\x69\x6E\x79\x61\x72\x77\x61\x6E\x64\x61","\x4B\x69\x72\x75\x6E\x64\x69","\x4B\x6C\x69\x6E\x67\x6F\x6E","\x4B\x75\x72\x64\x69\x73\x68","\x4B\x6F\x72\x65\x61\x6E","\x4B\x79\x72\x67\x79\x7A","\x4C\x61\x6F\x74\x68\x69\x61\x6E","\x4C\x61\x74\x69\x6E","\x4C\x61\x74\x76\x69\x61\x6E","\x4C\x69\x6E\x67\x61\x6C\x61","\x4C\x69\x74\x68\x75\x61\x6E\x69\x61\x6E","\x4D\x61\x63\x65\x64\x6F\x6E\x69\x61\x6E","\x4D\x61\x6C\x61\x67\x61\x73\x79","\x4D\x61\x6C\x61\x79","\x4D\x61\x6C\x61\x79\x61\x6C\x61\x6D","\x4D\x61\x6C\x74\x65\x73\x65","\x4D\x61\x6F\x72\x69","\x4D\x61\x72\x61\x74\x68\x69","\x4D\x6F\x6C\x64\x61\x76\x69\x61\x6E","\x4D\x6F\x6E\x67\x6F\x6C\x69\x61\x6E","\x4D\x6F\x6E\x74\x65\x6E\x65\x67\x72\x69\x6E","\x4E\x65\x70\x61\x6C\x69","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E","\x4E\x6F\x72\x77\x65\x67\x69\x61\x6E\x20\x28\x4E\x79\x6E\x6F\x72\x73\x6B\x29","\x4F\x63\x63\x69\x74\x61\x6E","\x4F\x72\x69\x79\x61","\x4F\x72\x6F\x6D\x6F","\x50\x61\x73\x68\x74\x6F","\x50\x65\x72\x73\x69\x61\x6E","\x50\x69\x72\x61\x74\x65","\x50\x6F\x6C\x69\x73\x68","\x50\x75\x6E\x6A\x61\x62\x69","\x51\x75\x65\x63\x68\x75\x61","\x52\x6F\x6D\x61\x6E\x69\x61\x6E","\x52\x6F\x6D\x61\x6E\x73\x68","\x52\x75\x73\x73\x69\x61\x6E","\x53\x63\x6F\x74\x73\x20\x47\x61\x65\x6C\x69\x63","\x53\x65\x72\x62\x69\x61\x6E","\x53\x65\x72\x62\x6F\x2D\x43\x72\x6F\x61\x74\x69\x61\x6E","\x53\x65\x73\x6F\x74\x68\x6F","\x53\x68\x6F\x6E\x61","\x53\x69\x6E\x64\x68\x69","\x53\x69\x6E\x68\x61\x6C\x65\x73\x65","\x53\x6C\x6F\x76\x61\x6B","\x53\x6C\x6F\x76\x65\x6E\x69\x61\x6E","\x53\x6F\x6D\x61\x6C\x69","\x53\x70\x61\x6E\x69\x73\x68","\x53\x75\x6E\x64\x61\x6E\x65\x73\x65","\x53\x77\x61\x68\x69\x6C\x69","\x53\x77\x65\x64\x69\x73\x68","\x54\x61\x6A\x69\x6B","\x54\x61\x6D\x69\x6C","\x54\x61\x74\x61\x72","\x54\x65\x6C\x75\x67\x75","\x54\x68\x61\x69","\x54\x69\x67\x72\x69\x6E\x79\x61","\x54\x6F\x6E\x67\x61","\x54\x75\x72\x6B\x69\x73\x68","\x54\x75\x72\x6B\x6D\x65\x6E","\x54\x77\x69","\x55\x69\x67\x68\x75\x72","\x55\x6B\x72\x61\x69\x6E\x69\x61\x6E","\x55\x72\x64\x75","\x55\x7A\x62\x65\x6B","\x56\x69\x65\x74\x6E\x61\x6D\x65\x73\x65","\x57\x65\x6C\x73\x68","\x58\x68\x6F\x73\x61","\x59\x69\x64\x64\x69\x73\x68","\x59\x6F\x72\x75\x62\x61","\x5A\x75\x6C\x75"];var urlParams=(function(_0x60fbx2){var _0x60fbx3= new Object();var _0x60fbx4=_0x60fbx2[_0x8f6a[3]](_0x8f6a[2]);if(_0x60fbx4> 0){var _0x60fbx5=_0x60fbx2[_0x8f6a[6]](_0x60fbx4+ 1)[_0x8f6a[5]](_0x8f6a[4]);for(var _0x60fbx6=0;_0x60fbx6< _0x60fbx5[_0x8f6a[7]];_0x60fbx6++){_0x60fbx4= _0x60fbx5[_0x60fbx6][_0x8f6a[9]](_0x8f6a[8]);if(_0x60fbx4> 0){_0x60fbx3[_0x60fbx5[_0x60fbx6][_0x8f6a[6]](0,_0x60fbx4)]= _0x60fbx5[_0x60fbx6][_0x8f6a[6]](_0x60fbx4+ 1)}}};return _0x60fbx3})(window[_0x8f6a[1]][_0x8f6a[0]]);var t0= new Date();var MAX_REQUEST_SIZE=10485760;var MAX_WIDTH=12000;var MAX_HEIGHT=12000;var EXPORT_URL=_0x8f6a[10];var SHARE_HOST=_0x8f6a[11];var SAVE_URL=_0x8f6a[12];var VARIABLE_URL=_0x8f6a[13];var STENCIL_PATH=_0x8f6a[14];var SHAPES_PATH=_0x8f6a[15];var IMAGE_PATH=_0x8f6a[16];var STYLE_PATH=_0x8f6a[17];var CSS_PATH=_0x8f6a[17];var OPEN_FORM=_0x8f6a[18];var TEMPLATE_PATH=_0x8f6a[19];var RESOURCES_PATH=_0x8f6a[20];var RESOURCE_BASE=RESOURCES_PATH+ _0x8f6a[21];var tapAndHoldStartsConnection=true;var showConnectorImg=true;var mxLoadResources=false;var mxLanguage=_0x8f6a[22];console[_0x8f6a[26]](_0x8f6a[23],localStorage[_0x8f6a[25]](_0x8f6a[24]));switch(localStorage[_0x8f6a[25]](_0x8f6a[24])){case _0x8f6a[27]:mxLanguage= _0x8f6a[22];break;case _0x8f6a[28]:mxLanguage= _0x8f6a[28];break;default:mxLanguage= _0x8f6a[22]};console[_0x8f6a[26]](_0x8f6a[29],mxLanguage);var mxLanguages=[_0x8f6a[30],_0x8f6a[31],_0x8f6a[32],_0x8f6a[33],_0x8f6a[34],_0x8f6a[35],_0x8f6a[36],_0x8f6a[37],_0x8f6a[38],_0x8f6a[39],_0x8f6a[40],_0x8f6a[28],_0x8f6a[41],_0x8f6a[42],_0x8f6a[43],_0x8f6a[44],_0x8f6a[45],_0x8f6a[46],_0x8f6a[47],_0x8f6a[48],_0x8f6a[49],_0x8f6a[50],_0x8f6a[51],_0x8f6a[52],_0x8f6a[53],_0x8f6a[54],_0x8f6a[55]];var mxBasePath=_0x8f6a[56];var geBasePath=_0x8f6a[57];var ISPEECHLANG={usenglishfemale:_0x8f6a[58],usenglishmale:_0x8f6a[59],ukenglishfemale:_0x8f6a[60],ukenglishmale:_0x8f6a[61],auenglishfemale:_0x8f6a[62],usspanishfemale:_0x8f6a[63],usspanishmale:_0x8f6a[64],chchinesefemale:_0x8f6a[65],chchinesemale:_0x8f6a[66],hkchinesefemale:_0x8f6a[67],twchinesefemale:_0x8f6a[68],jpjapanesefemale:_0x8f6a[69],jpjapanesemale:_0x8f6a[70],krkoreanfemale:_0x8f6a[71],krkoreanmale:_0x8f6a[72],caenglishfemale:_0x8f6a[73],huhungarianfemale:_0x8f6a[74],brportuguesefemale:_0x8f6a[75],eurportuguesefemale:_0x8f6a[76],eurportuguesemale:_0x8f6a[77],eurspanishfemale:_0x8f6a[78],eurspanishmale:_0x8f6a[79],eurcatalanfemale:_0x8f6a[80],eurczechfemale:_0x8f6a[81],eurdanishfemale:_0x8f6a[82],eurfinnishfemale:_0x8f6a[83],eurfrenchfemale:_0x8f6a[84],eurfrenchmale:_0x8f6a[85],eurnorwegianfemale:_0x8f6a[86],eurdutchfemale:_0x8f6a[87],eurpolishfemale:_0x8f6a[88],euritalianfemale:_0x8f6a[89],eurturkishfemale:_0x8f6a[90],eurturkishmale:_0x8f6a[91],eurgermanfemale:_0x8f6a[92],eurgermanmale:_0x8f6a[93],rurussianfemale:_0x8f6a[94],rurussianmale:_0x8f6a[95],swswedishfemale:_0x8f6a[96],cafrenchfemale:_0x8f6a[97],cafrenchmale:_0x8f6a[98]};var ISPEECHASRLANG={"\x65\x6E\x2D\x55\x53":_0x8f6a[99],"\x65\x6E\x2D\x43\x41":_0x8f6a[100],"\x65\x6E\x2D\x47\x42":_0x8f6a[101],"\x65\x6E\x2D\x41\x55":_0x8f6a[102],"\x65\x73\x2D\x45\x53":_0x8f6a[103],"\x65\x73\x2D\x4D\x58":_0x8f6a[104],"\x69\x74\x2D\x49\x54":_0x8f6a[105],"\x66\x72\x2D\x46\x52":_0x8f6a[106],"\x66\x72\x2D\x43\x41":_0x8f6a[107],"\x70\x6C\x2D\x50\x4C":_0x8f6a[108],"\x70\x74\x2D\x50\x54":_0x8f6a[109],"\x63\x61\x2D\x45\x53":_0x8f6a[110],"\x7A\x68\x2D\x54\x57":_0x8f6a[111],"\x64\x61\x2D\x44\x4B":_0x8f6a[112],"\x66\x72\x2D\x46\x52":_0x8f6a[113],"\x6A\x61\x2D\x4A\x50":_0x8f6a[114],"\x6B\x6F\x2D\x4B\x52":_0x8f6a[115],"\x6E\x6C\x2D\x4E\x4C":_0x8f6a[116],"\x6E\x62\x2D\x4E\x4F":_0x8f6a[117],"\x70\x74\x2D\x42\x52":_0x8f6a[118],"\x72\x75\x2D\x52\x55":_0x8f6a[119],"\x73\x76\x2D\x53\x45":_0x8f6a[120],"\x7A\x68\x2D\x43\x4E":_0x8f6a[121],"\x7A\x68\x2D\x48\x4B":_0x8f6a[122]};var ISPEECHASRMODEL={0:_0x8f6a[123],date:_0x8f6a[124],usmoney:_0x8f6a[125],numbersto9:_0x8f6a[126],numbersto99:_0x8f6a[127],numbersto999:_0x8f6a[128],time:_0x8f6a[129],phonenumber:_0x8f6a[130],streets:_0x8f6a[131],citystate:_0x8f6a[132]};var ISPEECHBEEP={"\x42\x45\x45\x50":_0x8f6a[133],"\x4E\x4F\x42\x45\x45\x50":_0x8f6a[134]};var GOOGLETTSLANG={"\x61\x66":_0x8f6a[135],"\x73\x71":_0x8f6a[136],"\x61\x6D":_0x8f6a[137],"\x61\x72":_0x8f6a[138],"\x68\x79":_0x8f6a[139],"\x61\x7A":_0x8f6a[140],"\x65\x75":_0x8f6a[141],"\x62\x65":_0x8f6a[142],"\x62\x6E":_0x8f6a[143],"\x62\x68":_0x8f6a[144],"\x62\x73":_0x8f6a[145],"\x62\x72":_0x8f6a[146],"\x62\x67":_0x8f6a[147],"\x6B\x6D":_0x8f6a[148],"\x63\x61":_0x8f6a[149],"\x7A\x68\x2D\x43\x4E":_0x8f6a[150],"\x7A\x68\x2D\x54\x57":_0x8f6a[151],"\x63\x6F":_0x8f6a[152],"\x68\x72":_0x8f6a[153],"\x63\x73":_0x8f6a[154],"\x64\x61":_0x8f6a[155],"\x6E\x6C":_0x8f6a[156],"\x65\x6E":_0x8f6a[157],"\x65\x6F":_0x8f6a[158],"\x65\x74":_0x8f6a[159],"\x66\x6F":_0x8f6a[160],"\x74\x6C":_0x8f6a[161],"\x66\x69":_0x8f6a[162],"\x66\x72":_0x8f6a[163],"\x66\x79":_0x8f6a[164],"\x67\x6C":_0x8f6a[165],"\x6B\x61":_0x8f6a[166],"\x64\x65":_0x8f6a[167],"\x65\x6C":_0x8f6a[168],"\x67\x6E":_0x8f6a[169],"\x67\x75":_0x8f6a[170],"\x78\x78\x2D\x68\x61\x63\x6B\x65\x72":_0x8f6a[171],"\x68\x61":_0x8f6a[172],"\x69\x77":_0x8f6a[173],"\x68\x69":_0x8f6a[174],"\x68\x75":_0x8f6a[175],"\x69\x73":_0x8f6a[176],"\x69\x64":_0x8f6a[177],"\x69\x61":_0x8f6a[178],"\x67\x61":_0x8f6a[179],"\x69\x74":_0x8f6a[180],"\x6A\x77":_0x8f6a[181],"\x6A\x61":_0x8f6a[182],"\x6B\x6E":_0x8f6a[183],"\x6B\x6B":_0x8f6a[184],"\x72\x77":_0x8f6a[185],"\x72\x6E":_0x8f6a[186],"\x78\x78\x2D\x6B\x6C\x69\x6E\x67\x6F\x6E":_0x8f6a[187],"\x6B\x75":_0x8f6a[188],"\x6B\x6F":_0x8f6a[189],"\x6B\x79":_0x8f6a[190],"\x6C\x6F":_0x8f6a[191],"\x6C\x61":_0x8f6a[192],"\x6C\x76":_0x8f6a[193],"\x6C\x6E":_0x8f6a[194],"\x6C\x74":_0x8f6a[195],"\x6D\x6B":_0x8f6a[196],"\x6D\x67":_0x8f6a[197],"\x6D\x73":_0x8f6a[198],"\x6D\x6C":_0x8f6a[199],"\x6D\x74":_0x8f6a[200],"\x6D\x69":_0x8f6a[201],"\x6D\x72":_0x8f6a[202],"\x6D\x6F":_0x8f6a[203],"\x6D\x6E":_0x8f6a[204],"\x73\x72\x2D\x4D\x45":_0x8f6a[205],"\x6E\x65":_0x8f6a[206],"\x6E\x6F":_0x8f6a[207],"\x6E\x6E":_0x8f6a[208],"\x6F\x63":_0x8f6a[209],"\x6F\x72":_0x8f6a[210],"\x6F\x6D":_0x8f6a[211],"\x70\x73":_0x8f6a[212],"\x66\x61":_0x8f6a[213],"\x78\x78\x2D\x70\x69\x72\x61\x74\x65":_0x8f6a[214],"\x70\x6C":_0x8f6a[215],"\x70\x74\x2D\x42\x52":_0x8f6a[118],"\x70\x74\x2D\x50\x54":_0x8f6a[109],"\x70\x61":_0x8f6a[216],"\x71\x75":_0x8f6a[217],"\x72\x6F":_0x8f6a[218],"\x72\x6D":_0x8f6a[219],"\x72\x75":_0x8f6a[220],"\x67\x64":_0x8f6a[221],"\x73\x72":_0x8f6a[222],"\x73\x68":_0x8f6a[223],"\x73\x74":_0x8f6a[224],"\x73\x6E":_0x8f6a[225],"\x73\x64":_0x8f6a[226],"\x73\x69":_0x8f6a[227],"\x73\x6B":_0x8f6a[228],"\x73\x6C":_0x8f6a[229],"\x73\x6F":_0x8f6a[230],"\x65\x73":_0x8f6a[231],"\x73\x75":_0x8f6a[232],"\x73\x77":_0x8f6a[233],"\x73\x76":_0x8f6a[234],"\x74\x67":_0x8f6a[235],"\x74\x61":_0x8f6a[236],"\x74\x74":_0x8f6a[237],"\x74\x65":_0x8f6a[238],"\x74\x68":_0x8f6a[239],"\x74\x69":_0x8f6a[240],"\x74\x6F":_0x8f6a[241],"\x74\x72":_0x8f6a[242],"\x74\x6B":_0x8f6a[243],"\x74\x77":_0x8f6a[244],"\x75\x67":_0x8f6a[245],"\x75\x6B":_0x8f6a[246],"\x75\x72":_0x8f6a[247],"\x75\x7A":_0x8f6a[248],"\x76\x69":_0x8f6a[249],"\x63\x79":_0x8f6a[250],"\x78\x68":_0x8f6a[251],"\x79\x69":_0x8f6a[252],"\x79\x6F":_0x8f6a[253],"\x7A\x75":_0x8f6a[254]} \ No newline at end of file diff --git a/public/index.html b/public/index.html index 022f38c..00252fb 100644 --- a/public/index.html +++ b/public/index.html @@ -50,7 +50,7 @@ <![endif]--> <script src="app/2d0c311a.vendor.js"></script> - <script src="app/0c5ac224.app.js"></script> + <script src="app/8d8964d3.app.js"></script> <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) --> <!-- BEGIN CORE PLUGINS --> diff --git a/release-notes/changelog_0.0.114.txt b/release-notes/changelog_0.0.114.txt index de276ab..bdacec3 100644 --- a/release-notes/changelog_0.0.114.txt +++ b/release-notes/changelog_0.0.114.txt @@ -1,5 +1,7 @@ # xCALLY MOTION Changelog +- * 01a500d - 2016-06-29: server side api mail_accont get mail rooms account +- * 813cc35 - 2016-06-29: fixed iframe - * 1424e9c - 2016-06-29: client side assets css - * e7726e6 - 2016-06-29: client side app channel mail inbox - * 97c94c9 - 2016-06-29: I added sendsms app @@ -111,8 +113,4 @@ - * bb871cd - 2016-06-22: client side app channel chat room - * fa23040 - 2016-06-22: update report_chat_session and report_chat_session_history - * d1f620f - 2016-06-22: rename column in report_chat and report_chat_history -- * 6e480e1 - 2016-06-22: add initial sort for offline messages (chat client side) -- * 1ee791e - 2016-06-22: add initial sort in grid options factory -- * 94168ae - 2016-06-22: server side app.js removed old sms routing -- * 7d38811 - 2016-06-22: new release diff --git a/server/api/action/action.controller.js b/server/api/action/action.controller.js index cac77e5..a343981 100644 --- a/server/api/action/action.controller.js +++ b/server/api/action/action.controller.js @@ -1 +1 @@ -var _0xb674=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x69\x64","\x75\x73\x65\x72","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x4E\x6F\x20\x71\x75\x65\x75\x65\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x75\x73\x65\x72","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x55\x53\x45\x52\x5F\x51\x55\x45\x55\x45\x53","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0xb674[0];var _=require(_0xb674[1]);var Action=require(_0xb674[3])[_0xb674[2]];var sequelize=require(_0xb674[3])[_0xb674[4]];function handleError(_0xa596x5,_0xa596x6){return _0xa596x5[_0xb674[6]](500)[_0xb674[5]](_0xa596x6)}function responseWithResult(_0xa596x5,_0xa596x8){_0xa596x8= _0xa596x8|| 200;return function(_0xa596x9){if(_0xa596x9){_0xa596x5[_0xb674[6]](_0xa596x8)[_0xb674[7]](_0xa596x9)}}}function handleEntityNotFound(_0xa596x5){return function(_0xa596x9){if(!_0xa596x9){_0xa596x5[_0xb674[6]](404)[_0xb674[8]]();return null};return _0xa596x9}}function saveUpdates(_0xa596xc){return function(_0xa596x9){return _0xa596x9[_0xb674[10]](_0xa596xc)[_0xb674[9]](function(_0xa596xd){return _0xa596xd})}}function removeEntity(_0xa596x5){return function(_0xa596x9){if(_0xa596x9){return _0xa596x9[_0xb674[11]]()[_0xb674[9]](function(){_0xa596x5[_0xb674[6]](204)[_0xb674[8]]()})}}}exports[_0xb674[12]]= function(_0xa596xf,_0xa596x5){return Action[_0xb674[14]]()[_0xb674[9]](responseWithResult(_0xa596x5))[_0xb674[13]](handleError(_0xa596x5))};exports[_0xb674[15]]= function(_0xa596xf,_0xa596x5,_0xa596x10){_0xa596xf[_0xb674[17]][_0xb674[16]]= _0xa596xf[_0xb674[19]][_0xb674[18]];return sequelize[_0xb674[28]](function(_0xa596x12){return Action[_0xb674[15]](_[_0xb674[27]](_0xa596xf[_0xb674[17]],_0xa596xf[_0xb674[26]]),{transaction:_0xa596x12,body:_0xa596xf[_0xb674[17]]})})[_0xb674[9]](function(_0xa596x11){return _0xa596x5[_0xb674[6]](201)[_0xb674[5]](_0xa596x11)})[_0xb674[13]](function(_0xa596x6){console[_0xb674[20]](_0xa596x6);if(_0xa596x6[_0xb674[21]]=== _0xb674[22]){_0xa596x6[_0xb674[21]]= _0xb674[23];_0xa596x6[_0xb674[24]]= _0xb674[25]};return handleError(_0xa596x5,_0xa596x6)})} \ No newline at end of file +var _0xcfb9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x55\x73\x65\x72\x49\x64","\x62\x6F\x64\x79","\x69\x64","\x75\x73\x65\x72","\x6C\x6F\x67","\x6D\x65\x73\x73\x61\x67\x65","\x49\x6E\x74\x65\x72\x66\x61\x63\x65\x20\x6E\x6F\x74\x20\x66\x6F\x75\x6E\x64","\x4E\x6F\x20\x71\x75\x65\x75\x65\x73\x20\x61\x73\x73\x6F\x63\x69\x61\x74\x65\x64\x20\x66\x6F\x72\x20\x74\x68\x65\x20\x75\x73\x65\x72","\x74\x72\x61\x6E\x73\x6C\x61\x74\x65\x64\x4D\x65\x73\x73\x61\x67\x65","\x4D\x45\x53\x53\x41\x47\x45\x5F\x4E\x4F\x5F\x55\x53\x45\x52\x5F\x51\x55\x45\x55\x45\x53","\x70\x61\x72\x61\x6D\x73","\x6D\x65\x72\x67\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E"];_0xcfb9[0];var _=require(_0xcfb9[1]);var Action=require(_0xcfb9[3])[_0xcfb9[2]];var sequelize=require(_0xcfb9[3])[_0xcfb9[4]];function handleError(_0xb62dx5,_0xb62dx6){return _0xb62dx5[_0xcfb9[6]](500)[_0xcfb9[5]](_0xb62dx6)}function responseWithResult(_0xb62dx5,_0xb62dx8){_0xb62dx8= _0xb62dx8|| 200;return function(_0xb62dx9){if(_0xb62dx9){_0xb62dx5[_0xcfb9[6]](_0xb62dx8)[_0xcfb9[7]](_0xb62dx9)}}}function handleEntityNotFound(_0xb62dx5){return function(_0xb62dx9){if(!_0xb62dx9){_0xb62dx5[_0xcfb9[6]](404)[_0xcfb9[8]]();return null};return _0xb62dx9}}function saveUpdates(_0xb62dxc){return function(_0xb62dx9){return _0xb62dx9[_0xcfb9[10]](_0xb62dxc)[_0xcfb9[9]](function(_0xb62dxd){return _0xb62dxd})}}function removeEntity(_0xb62dx5){return function(_0xb62dx9){if(_0xb62dx9){return _0xb62dx9[_0xcfb9[11]]()[_0xcfb9[9]](function(){_0xb62dx5[_0xcfb9[6]](204)[_0xcfb9[8]]()})}}}exports[_0xcfb9[12]]= function(_0xb62dxf,_0xb62dx5){return Action[_0xcfb9[14]]()[_0xcfb9[9]](responseWithResult(_0xb62dx5))[_0xcfb9[13]](handleError(_0xb62dx5))};exports[_0xcfb9[15]]= function(_0xb62dxf,_0xb62dx5,_0xb62dx10){_0xb62dxf[_0xcfb9[17]][_0xcfb9[16]]= _0xb62dxf[_0xcfb9[19]][_0xcfb9[18]];return sequelize[_0xcfb9[28]](function(_0xb62dx12){return Action[_0xcfb9[15]](_[_0xcfb9[27]](_0xb62dxf[_0xcfb9[17]],_0xb62dxf[_0xcfb9[26]]),{transaction:_0xb62dx12,body:_0xb62dxf[_0xcfb9[17]]})})[_0xcfb9[9]](function(_0xb62dx11){return _0xb62dx5[_0xcfb9[6]](201)[_0xcfb9[5]](_0xb62dx11)})[_0xcfb9[13]](function(_0xb62dx6){console[_0xcfb9[20]](_0xb62dx6);if(_0xb62dx6[_0xcfb9[21]]=== _0xcfb9[22]){_0xb62dx6[_0xcfb9[21]]= _0xcfb9[23];_0xb62dx6[_0xcfb9[24]]= _0xcfb9[25]};return handleError(_0xb62dx5,_0xb62dx6)})} \ No newline at end of file diff --git a/server/api/action/action.events.js b/server/api/action/action.events.js index 2fb2871..669d12b 100644 --- a/server/api/action/action.events.js +++ b/server/api/action/action.events.js @@ -1 +1 @@ -var _0x8da4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x8da4[0];const EventEmitter=require(_0x8da4[1]);const Action=require(_0x8da4[3])[_0x8da4[2]];var ActionEvents= new EventEmitter();ActionEvents[_0x8da4[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x8da4[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x8da4[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x8da4[6]};for(var e in events){var event=events[e];Action[_0x8da4[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x3431x8,_0x3431x9,_0x3431xa){ActionEvents[_0x8da4[10]](event+ _0x8da4[8]+ _0x3431x8[_0x8da4[9]],_0x3431x8);ActionEvents[_0x8da4[10]](event,_0x3431x8);_0x3431xa(null)}}module[_0x8da4[11]]= ActionEvents \ No newline at end of file +var _0xc2cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xc2cd[0];const EventEmitter=require(_0xc2cd[1]);const Action=require(_0xc2cd[3])[_0xc2cd[2]];var ActionEvents= new EventEmitter();ActionEvents[_0xc2cd[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xc2cd[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xc2cd[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xc2cd[6]};for(var e in events){var event=events[e];Action[_0xc2cd[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xc455x8,_0xc455x9,_0xc455xa){ActionEvents[_0xc2cd[10]](event+ _0xc2cd[8]+ _0xc455x8[_0xc2cd[9]],_0xc455x8);ActionEvents[_0xc2cd[10]](event,_0xc455x8);_0xc455xa(null)}}module[_0xc2cd[11]]= ActionEvents \ No newline at end of file diff --git a/server/api/action/action.socket.js b/server/api/action/action.socket.js index c92798b..7afd6cf 100644 --- a/server/api/action/action.socket.js +++ b/server/api/action/action.socket.js @@ -1 +1 @@ -var _0x20cb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x63\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x63\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x20cb[0];const ActionEvents=require(_0x20cb[1]);var events=[_0x20cb[2],_0x20cb[3]];exports[_0x20cb[4]]= function(_0x6b90x3){for(var _0x6b90x4=0,_0x6b90x5=events[_0x20cb[5]];_0x6b90x4< _0x6b90x5;_0x6b90x4++){var _0x6b90x6=events[_0x6b90x4];var _0x6b90x7=createListener(_0x20cb[6]+ _0x6b90x6,_0x6b90x3);ActionEvents[_0x20cb[7]](_0x6b90x6,_0x6b90x7);_0x6b90x3[_0x20cb[7]](_0x20cb[8],removeListener(_0x6b90x6,_0x6b90x7))}};function createListener(_0x6b90x6,_0x6b90x3){return function(_0x6b90x9){_0x6b90x3[_0x20cb[9]](_0x6b90x6,_0x6b90x9)}}function removeListener(_0x6b90x6,_0x6b90x7){return function(){ActionEvents[_0x20cb[10]](_0x6b90x6,_0x6b90x7)}} \ No newline at end of file +var _0x438a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x63\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x63\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x438a[0];const ActionEvents=require(_0x438a[1]);var events=[_0x438a[2],_0x438a[3]];exports[_0x438a[4]]= function(_0x2fe7x3){for(var _0x2fe7x4=0,_0x2fe7x5=events[_0x438a[5]];_0x2fe7x4< _0x2fe7x5;_0x2fe7x4++){var _0x2fe7x6=events[_0x2fe7x4];var _0x2fe7x7=createListener(_0x438a[6]+ _0x2fe7x6,_0x2fe7x3);ActionEvents[_0x438a[7]](_0x2fe7x6,_0x2fe7x7);_0x2fe7x3[_0x438a[7]](_0x438a[8],removeListener(_0x2fe7x6,_0x2fe7x7))}};function createListener(_0x2fe7x6,_0x2fe7x3){return function(_0x2fe7x9){_0x2fe7x3[_0x438a[9]](_0x2fe7x6,_0x2fe7x9)}}function removeListener(_0x2fe7x6,_0x2fe7x7){return function(){ActionEvents[_0x438a[10]](_0x2fe7x6,_0x2fe7x7)}} \ No newline at end of file diff --git a/server/api/action/index.js b/server/api/action/index.js index d9eb0d6..f8d4caf 100644 --- a/server/api/action/index.js +++ b/server/api/action/index.js @@ -1 +1 @@ -var _0x3c1f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x3c1f[0];var express=require(_0x3c1f[1]);var auth=require(_0x3c1f[2]);var controller=require(_0x3c1f[3]);var router=express.Router();router[_0x3c1f[7]](_0x3c1f[4],auth[_0x3c1f[5]](),controller[_0x3c1f[6]]);router[_0x3c1f[10]](_0x3c1f[8],auth[_0x3c1f[5]](),controller[_0x3c1f[9]]);module[_0x3c1f[11]]= router \ No newline at end of file +var _0x8be4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x6E\x61\x6D\x65","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x8be4[0];var express=require(_0x8be4[1]);var auth=require(_0x8be4[2]);var controller=require(_0x8be4[3]);var router=express.Router();router[_0x8be4[7]](_0x8be4[4],auth[_0x8be4[5]](),controller[_0x8be4[6]]);router[_0x8be4[10]](_0x8be4[8],auth[_0x8be4[5]](),controller[_0x8be4[9]]);module[_0x8be4[11]]= router \ No newline at end of file diff --git a/server/api/agent/agent.controller.js b/server/api/agent/agent.controller.js index ed5690d..b95445a 100644 --- a/server/api/agent/agent.controller.js +++ b/server/api/agent/agent.controller.js @@ -1 +1 @@ -var _0xe7a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x54\x65\x61\x6D","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4C\x69\x73\x74","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x68\x65\x63\x6B\x50\x61\x75\x73\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x4F\x6E\x6C\x69\x6E\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x53\x69\x70\x53\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x4F\x6E\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x6F\x6C\x64\x50\x61\x73\x73\x77\x6F\x72\x64","\x6E\x65\x77\x50\x61\x73\x73\x77\x6F\x72\x64","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64"];_0xe7a1[0];var _=require(_0xe7a1[1]);var sequelize=require(_0xe7a1[3])[_0xe7a1[2]];var Util=require(_0xe7a1[4]);var Agent=require(_0xe7a1[3])[_0xe7a1[5]];var VoiceQueue=require(_0xe7a1[3])[_0xe7a1[6]];var ChatQueue=require(_0xe7a1[3])[_0xe7a1[7]];var MailQueue=require(_0xe7a1[3])[_0xe7a1[8]];var FaxQueue=require(_0xe7a1[3])[_0xe7a1[9]];var SmsQueue=require(_0xe7a1[3])[_0xe7a1[10]];var User=require(_0xe7a1[3])[_0xe7a1[5]];var Team=require(_0xe7a1[3])[_0xe7a1[11]];var MailRoom=require(_0xe7a1[3])[_0xe7a1[12]];var List=require(_0xe7a1[3])[_0xe7a1[13]];exports[_0xe7a1[14]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[21]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[15]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[30]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[21]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]},_0xe7a1[36])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[37]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:var _0x7da4x13=[];return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[44]]({},{attributes:[_0xe7a1[39]],include:[{raw:true,model:User,attributes:[_0xe7a1[22]]}]}))[_0xe7a1[19]](function(_0x7da4x14){var _0x7da4x15=_[_0xe7a1[40]](_0x7da4x14[_0xe7a1[38]],_0xe7a1[39]);_0x7da4x14[_0xe7a1[38]][_0xe7a1[42]](function(_0x7da4x16){_0x7da4x13= _[_0xe7a1[41]](_0x7da4x13,_[_0xe7a1[40]](_0x7da4x16.Users,_0xe7a1[22]))});return User[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]})[_0xe7a1[26]](_[_0xe7a1[43]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]],{id:{$in:_0x7da4x13}}),{include:[{model:VoiceQueue,where:{name:{$in:_0x7da4x15}},required:false}]}))})[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]},_0xe7a1[36])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[45]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:var _0x7da4x13=[];return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[46]]({},{attributes:[_0xe7a1[22]],include:[{raw:true,model:User,attributes:[_0xe7a1[22]]}]}))[_0xe7a1[19]](function(_0x7da4x14){var _0x7da4x17=_[_0xe7a1[40]](_0x7da4x14[_0xe7a1[38]],_0xe7a1[22]);_0x7da4x14[_0xe7a1[38]][_0xe7a1[42]](function(_0x7da4x16){_0x7da4x13= _[_0xe7a1[41]](_0x7da4x13,_[_0xe7a1[40]](_0x7da4x16.Users,_0xe7a1[22]))});return User[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]})[_0xe7a1[26]](_[_0xe7a1[43]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]],{id:{$in:_0x7da4x13}}),{include:[{model:ChatQueue,where:{id:{$in:_0x7da4x17}},required:false}]}))})[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]},_0xe7a1[36])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[47]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:var _0x7da4x13=[];return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[48]]({},{attributes:[_0xe7a1[22]],include:[{raw:true,model:User,attributes:[_0xe7a1[22]]}]}))[_0xe7a1[19]](function(_0x7da4x14){var _0x7da4x18=_[_0xe7a1[40]](_0x7da4x14[_0xe7a1[38]],_0xe7a1[22]);_0x7da4x14[_0xe7a1[38]][_0xe7a1[42]](function(_0x7da4x16){_0x7da4x13= _[_0xe7a1[41]](_0x7da4x13,_[_0xe7a1[40]](_0x7da4x16.Users,_0xe7a1[22]))});return User[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]})[_0xe7a1[26]](_[_0xe7a1[43]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]],{id:{$in:_0x7da4x13}}),{include:[{model:MailQueue,where:{id:{$in:_0x7da4x18}},required:false}]}))})[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]},_0xe7a1[36])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[49]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:var _0x7da4x13=[];return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[50]]({},{attributes:[_0xe7a1[22]],include:[{raw:true,model:User,attributes:[_0xe7a1[22]]}]}))[_0xe7a1[19]](function(_0x7da4x14){var _0x7da4x19=_[_0xe7a1[40]](_0x7da4x14[_0xe7a1[38]],_0xe7a1[22]);_0x7da4x14[_0xe7a1[38]][_0xe7a1[42]](function(_0x7da4x16){_0x7da4x13= _[_0xe7a1[41]](_0x7da4x13,_[_0xe7a1[40]](_0x7da4x16.Users,_0xe7a1[22]))});return User[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]})[_0xe7a1[26]](_[_0xe7a1[43]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]],{id:{$in:_0x7da4x13}}),{include:[{model:FaxQueue,where:{id:{$in:_0x7da4x19}},required:false}]}))})[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]},_0xe7a1[36])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[51]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){switch(_0x7da4xe[_0xe7a1[23]][_0xe7a1[29]]){case _0xe7a1[23]:var _0x7da4x13=[];return User[_0xe7a1[24]](_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]],{attributes:[_0xe7a1[22]]})[_0xe7a1[19]](Util[_0xe7a1[52]]({},{attributes:[_0xe7a1[22]],include:[{raw:true,model:User,attributes:[_0xe7a1[22]]}]}))[_0xe7a1[19]](function(_0x7da4x14){var _0x7da4x1a=_[_0xe7a1[40]](_0x7da4x14[_0xe7a1[38]],_0xe7a1[22]);_0x7da4x14[_0xe7a1[38]][_0xe7a1[42]](function(_0x7da4x16){_0x7da4x13= _[_0xe7a1[41]](_0x7da4x13,_[_0xe7a1[40]](_0x7da4x16.Users,_0xe7a1[22]))});return User[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]})[_0xe7a1[26]](_[_0xe7a1[43]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]],{id:{$in:_0x7da4x13}}),{include:[{model:SmsQueue,where:{id:{$in:_0x7da4x1a}},required:false}]}))})[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)});default:return Agent[_0xe7a1[28]](_0xe7a1[27],{method:[_0xe7a1[32],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[33],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[34],_0x7da4xe[_0xe7a1[20]]]},{method:[_0xe7a1[35],_0x7da4xe[_0xe7a1[20]]]},_0xe7a1[36])[_0xe7a1[26]](Util[_0xe7a1[25]](_0x7da4xe[_0xe7a1[20]]))[_0xe7a1[19]](function(_0x7da4x12){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x12)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})}};exports[_0xe7a1[53]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4xf[_0xe7a1[17]](_0x7da4x1b)})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[56]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4x1b[_0xe7a1[58]]({attributes:[_0xe7a1[39]]})})[_0xe7a1[19]](function(_0x7da4x15){return _0x7da4xf[_0xe7a1[17]]({count:_0x7da4x15[_0xe7a1[57]],rows:_0x7da4x15})})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[59]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4x1b[_0xe7a1[60]]({attributes:[_0xe7a1[22]]})})[_0xe7a1[19]](function(_0x7da4x17){return _0x7da4xf[_0xe7a1[17]]({count:_0x7da4x17[_0xe7a1[57]],rows:_0x7da4x17})})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[61]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4x1b[_0xe7a1[62]]({attributes:[_0xe7a1[22]]})})[_0xe7a1[19]](function(_0x7da4x18){return _0x7da4xf[_0xe7a1[17]]({count:_0x7da4x18[_0xe7a1[57]],rows:_0x7da4x18})})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[63]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4x1b[_0xe7a1[64]]({attributes:[_0xe7a1[22]]})})[_0xe7a1[19]](function(_0x7da4x19){return _0x7da4xf[_0xe7a1[17]]({count:_0x7da4x19[_0xe7a1[57]],rows:_0x7da4x19})})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[65]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4x1b[_0xe7a1[66]]({attributes:[_0xe7a1[22]]})})[_0xe7a1[19]](function(_0x7da4x1a){return _0x7da4xf[_0xe7a1[17]]({count:_0x7da4x1a[_0xe7a1[57]],rows:_0x7da4x1a})})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[67]]= function(_0x7da4xe,_0x7da4xf){var _0x7da4x1c;_0x7da4xe[_0xe7a1[68]][_0xe7a1[29]]= _0xe7a1[27];return sequelize[_0xe7a1[73]](function(_0x7da4x1d){return Agent[_0xe7a1[28]](_0xe7a1[27])[_0xe7a1[67]](_0x7da4xe[_0xe7a1[68]],{transaction:_0x7da4x1d})[_0xe7a1[19]](function(_0x7da4x1b){_0x7da4x1c= _0x7da4x1b;return Team[_0xe7a1[72]]({where:{defaultEntry:true}})})[_0xe7a1[19]](function(_0x7da4x1f){return _0x7da4x1f[_0xe7a1[71]](_0x7da4x1c[_0xe7a1[22]],{transaction:_0x7da4x1d})})[_0xe7a1[19]](function(){return List[_0xe7a1[72]]({where:{defaultEntry:true}})})[_0xe7a1[19]](function(_0x7da4x1e){return _0x7da4x1e[_0xe7a1[71]](_0x7da4x1c[_0xe7a1[22]],{transaction:_0x7da4x1d})})})[_0xe7a1[19]](function(){return _0x7da4xf[_0xe7a1[18]](201)[_0xe7a1[17]](_0x7da4x1c)})[_0xe7a1[16]](sequelize.UniqueConstraintError,function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return Util[_0xe7a1[70]][_0xe7a1[69]](_0x7da4xf,_0x7da4x11)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[74]]= function(_0x7da4xe,_0x7da4xf){var _0x7da4x20;if(_0x7da4xe[_0xe7a1[68]]&& _0x7da4xe[_0xe7a1[68]][_0xe7a1[57]]){_0x7da4xe[_0xe7a1[68]][_0xe7a1[42]](function(_0x7da4x1b){_0x7da4x1b[_0xe7a1[29]]= _0xe7a1[27]})};return sequelize[_0xe7a1[73]](function(_0x7da4x1d){return Agent[_0xe7a1[74]](_0x7da4xe[_0xe7a1[68]],{transaction:_0x7da4x1d,individualHooks:true})[_0xe7a1[19]](function(_0x7da4x21){_0x7da4x20= _0x7da4x21;return Team[_0xe7a1[72]]({where:{defaultEntry:true}})})[_0xe7a1[19]](function(_0x7da4x1f){return _0x7da4x1f[_0xe7a1[75]](_[_0xe7a1[40]](_0x7da4x20,_0xe7a1[22]),{transaction:_0x7da4x1d})})})[_0xe7a1[19]](function(){return _0x7da4xf[_0xe7a1[54]](201)})[_0xe7a1[16]](sequelize.UniqueConstraintError,function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return Util[_0xe7a1[70]][_0xe7a1[69]](_0x7da4xf,_0x7da4x11)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[76]]= function(_0x7da4xe,_0x7da4xf){if(_0x7da4xe[_0xe7a1[68]][_0xe7a1[22]]){delete _0x7da4xe[_0xe7a1[68]][_0xe7a1[22]];delete _0x7da4xe[_0xe7a1[68]][_0xe7a1[29]]};return sequelize[_0xe7a1[73]](function(_0x7da4x1d){return Agent[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};var _0x7da4x22=_[_0xe7a1[43]](_0x7da4x1b,_0x7da4xe[_0xe7a1[68]]);return _0x7da4x22[_0xe7a1[77]]({transaction:_0x7da4x1d})})[_0xe7a1[19]](function(_0x7da4x1b){return _0x7da4xf[_0xe7a1[18]](200)[_0xe7a1[17]](_0x7da4x1b)})})[_0xe7a1[16]](sequelize.UniqueConstraintError,function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return Util[_0xe7a1[70]][_0xe7a1[69]](_0x7da4xf,_0x7da4x11)})[_0xe7a1[16]](function(_0x7da4x11){console[_0xe7a1[31]](_0x7da4x11);return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[78]]= function(_0x7da4xe,_0x7da4xf){var _0x7da4x1c;return Agent[_0xe7a1[24]](_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]])[_0xe7a1[19]](function(_0x7da4x1b){_0x7da4x1c= _0x7da4x1b;if(!_0x7da4x1b){return _0x7da4xf[_0xe7a1[54]](404)};return _0x7da4x1b[_0xe7a1[78]]()})[_0xe7a1[19]](function(){return _0x7da4xf[_0xe7a1[54]](204)})[_0xe7a1[16]](sequelize.ForeignKeyConstraintError,function(_0x7da4x11){return Util[_0xe7a1[70]][_0xe7a1[79]](_0x7da4xf,_0xe7a1[27],_0x7da4x1c[_0xe7a1[39]],_0x7da4x11)})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[80]]= function(_0x7da4xe,_0x7da4xf){return Agent[_0xe7a1[78]]({where:{id:_0x7da4xe[_0xe7a1[20]][_0xe7a1[81]]},individualHooks:true})[_0xe7a1[19]](function(){return _0x7da4xf[_0xe7a1[54]](204)})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};exports[_0xe7a1[82]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){var _0x7da4x23=_0x7da4xe[_0xe7a1[23]][_0xe7a1[22]];var _0x7da4x24=String(_0x7da4xe[_0xe7a1[68]][_0xe7a1[83]]);var _0x7da4x25=String(_0x7da4xe[_0xe7a1[68]][_0xe7a1[84]]);return Agent[_0xe7a1[24]](_0x7da4x23)[_0xe7a1[19]](function(_0x7da4x26){if(_0x7da4x26[_0xe7a1[85]](_0x7da4x24)){_0x7da4x26[_0xe7a1[86]]= _0x7da4x25;_0x7da4x26[_0xe7a1[77]]()[_0xe7a1[19]](function(){return _0x7da4xf[_0xe7a1[54]](200)})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})}else {return _0x7da4xf[_0xe7a1[54]](403)}})};exports[_0xe7a1[87]]= function(_0x7da4xe,_0x7da4xf,_0x7da4x10){var _0x7da4x23=_0x7da4xe[_0xe7a1[55]][_0xe7a1[22]];var _0x7da4x25=String(_0x7da4xe[_0xe7a1[68]][_0xe7a1[84]]);return Agent[_0xe7a1[24]](_0x7da4x23)[_0xe7a1[19]](function(_0x7da4x26){_0x7da4x26[_0xe7a1[86]]= _0x7da4x25;return _0x7da4x26[_0xe7a1[77]]()})[_0xe7a1[19]](function(){return _0x7da4xf[_0xe7a1[54]](200)})[_0xe7a1[16]](function(_0x7da4x11){return handleError(_0x7da4xf,_0x7da4x11)})};function handleError(_0x7da4xf,_0x7da4x11){return _0x7da4xf[_0xe7a1[18]](500)[_0xe7a1[17]](_0x7da4x11)} \ No newline at end of file +var _0x3f23=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x4D\x61\x69\x6C\x51\x75\x65\x75\x65","\x46\x61\x78\x51\x75\x65\x75\x65","\x53\x6D\x73\x51\x75\x65\x75\x65","\x54\x65\x61\x6D","\x4D\x61\x69\x6C\x52\x6F\x6F\x6D","\x4C\x69\x73\x74","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x67\x65\x6E\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x68\x65\x63\x6B\x50\x61\x75\x73\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x51\x75\x65\x75\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x4F\x6E\x6C\x69\x6E\x65\x53\x74\x61\x74\x75\x73","\x63\x68\x65\x63\x6B\x53\x69\x70\x53\x74\x61\x74\x75\x73","\x71\x75\x65\x75\x65\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x72\x6F\x77\x73","\x6E\x61\x6D\x65","\x6D\x61\x70","\x75\x6E\x69\x6F\x6E","\x66\x6F\x72\x45\x61\x63\x68","\x6D\x65\x72\x67\x65","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x67\x65\x74\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x68\x61\x6E\x64\x6C\x65\x55\x6E\x69\x71\x75\x65\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x65\x72\x72\x6F\x72\x4D\x61\x6E\x61\x67\x65\x72","\x61\x64\x64\x55\x73\x65\x72","\x66\x69\x6E\x64\x4F\x6E\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x61\x64\x64\x55\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x68\x61\x6E\x64\x6C\x65\x46\x6F\x72\x65\x69\x67\x6E\x4B\x65\x79\x43\x6F\x6E\x73\x74\x72\x61\x69\x6E\x74\x45\x72\x72\x6F\x72","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x6F\x6C\x64\x50\x61\x73\x73\x77\x6F\x72\x64","\x6E\x65\x77\x50\x61\x73\x73\x77\x6F\x72\x64","\x61\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65","\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64"];_0x3f23[0];var _=require(_0x3f23[1]);var sequelize=require(_0x3f23[3])[_0x3f23[2]];var Util=require(_0x3f23[4]);var Agent=require(_0x3f23[3])[_0x3f23[5]];var VoiceQueue=require(_0x3f23[3])[_0x3f23[6]];var ChatQueue=require(_0x3f23[3])[_0x3f23[7]];var MailQueue=require(_0x3f23[3])[_0x3f23[8]];var FaxQueue=require(_0x3f23[3])[_0x3f23[9]];var SmsQueue=require(_0x3f23[3])[_0x3f23[10]];var User=require(_0x3f23[3])[_0x3f23[5]];var Team=require(_0x3f23[3])[_0x3f23[11]];var MailRoom=require(_0x3f23[3])[_0x3f23[12]];var List=require(_0x3f23[3])[_0x3f23[13]];exports[_0x3f23[14]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[21]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[15]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[30]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[21]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]},_0x3f23[36])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[37]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:var _0x37b2x13=[];return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[44]]({},{attributes:[_0x3f23[39]],include:[{raw:true,model:User,attributes:[_0x3f23[22]]}]}))[_0x3f23[19]](function(_0x37b2x14){var _0x37b2x15=_[_0x3f23[40]](_0x37b2x14[_0x3f23[38]],_0x3f23[39]);_0x37b2x14[_0x3f23[38]][_0x3f23[42]](function(_0x37b2x16){_0x37b2x13= _[_0x3f23[41]](_0x37b2x13,_[_0x3f23[40]](_0x37b2x16.Users,_0x3f23[22]))});return User[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]})[_0x3f23[26]](_[_0x3f23[43]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]],{id:{$in:_0x37b2x13}}),{include:[{model:VoiceQueue,where:{name:{$in:_0x37b2x15}},required:false}]}))})[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]},_0x3f23[36])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[45]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:var _0x37b2x13=[];return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[46]]({},{attributes:[_0x3f23[22]],include:[{raw:true,model:User,attributes:[_0x3f23[22]]}]}))[_0x3f23[19]](function(_0x37b2x14){var _0x37b2x17=_[_0x3f23[40]](_0x37b2x14[_0x3f23[38]],_0x3f23[22]);_0x37b2x14[_0x3f23[38]][_0x3f23[42]](function(_0x37b2x16){_0x37b2x13= _[_0x3f23[41]](_0x37b2x13,_[_0x3f23[40]](_0x37b2x16.Users,_0x3f23[22]))});return User[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]})[_0x3f23[26]](_[_0x3f23[43]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]],{id:{$in:_0x37b2x13}}),{include:[{model:ChatQueue,where:{id:{$in:_0x37b2x17}},required:false}]}))})[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]},_0x3f23[36])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[47]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:var _0x37b2x13=[];return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[48]]({},{attributes:[_0x3f23[22]],include:[{raw:true,model:User,attributes:[_0x3f23[22]]}]}))[_0x3f23[19]](function(_0x37b2x14){var _0x37b2x18=_[_0x3f23[40]](_0x37b2x14[_0x3f23[38]],_0x3f23[22]);_0x37b2x14[_0x3f23[38]][_0x3f23[42]](function(_0x37b2x16){_0x37b2x13= _[_0x3f23[41]](_0x37b2x13,_[_0x3f23[40]](_0x37b2x16.Users,_0x3f23[22]))});return User[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]})[_0x3f23[26]](_[_0x3f23[43]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]],{id:{$in:_0x37b2x13}}),{include:[{model:MailQueue,where:{id:{$in:_0x37b2x18}},required:false}]}))})[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]},_0x3f23[36])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[49]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:var _0x37b2x13=[];return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[50]]({},{attributes:[_0x3f23[22]],include:[{raw:true,model:User,attributes:[_0x3f23[22]]}]}))[_0x3f23[19]](function(_0x37b2x14){var _0x37b2x19=_[_0x3f23[40]](_0x37b2x14[_0x3f23[38]],_0x3f23[22]);_0x37b2x14[_0x3f23[38]][_0x3f23[42]](function(_0x37b2x16){_0x37b2x13= _[_0x3f23[41]](_0x37b2x13,_[_0x3f23[40]](_0x37b2x16.Users,_0x3f23[22]))});return User[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]})[_0x3f23[26]](_[_0x3f23[43]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]],{id:{$in:_0x37b2x13}}),{include:[{model:FaxQueue,where:{id:{$in:_0x37b2x19}},required:false}]}))})[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]},_0x3f23[36])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[51]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){switch(_0x37b2xe[_0x3f23[23]][_0x3f23[29]]){case _0x3f23[23]:var _0x37b2x13=[];return User[_0x3f23[24]](_0x37b2xe[_0x3f23[23]][_0x3f23[22]],{attributes:[_0x3f23[22]]})[_0x3f23[19]](Util[_0x3f23[52]]({},{attributes:[_0x3f23[22]],include:[{raw:true,model:User,attributes:[_0x3f23[22]]}]}))[_0x3f23[19]](function(_0x37b2x14){var _0x37b2x1a=_[_0x3f23[40]](_0x37b2x14[_0x3f23[38]],_0x3f23[22]);_0x37b2x14[_0x3f23[38]][_0x3f23[42]](function(_0x37b2x16){_0x37b2x13= _[_0x3f23[41]](_0x37b2x13,_[_0x3f23[40]](_0x37b2x16.Users,_0x3f23[22]))});return User[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]})[_0x3f23[26]](_[_0x3f23[43]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]],{id:{$in:_0x37b2x13}}),{include:[{model:SmsQueue,where:{id:{$in:_0x37b2x1a}},required:false}]}))})[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)});default:return Agent[_0x3f23[28]](_0x3f23[27],{method:[_0x3f23[32],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[33],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[34],_0x37b2xe[_0x3f23[20]]]},{method:[_0x3f23[35],_0x37b2xe[_0x3f23[20]]]},_0x3f23[36])[_0x3f23[26]](Util[_0x3f23[25]](_0x37b2xe[_0x3f23[20]]))[_0x3f23[19]](function(_0x37b2x12){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x12)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})}};exports[_0x3f23[53]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2xf[_0x3f23[17]](_0x37b2x1b)})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[56]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2x1b[_0x3f23[58]]({attributes:[_0x3f23[39]]})})[_0x3f23[19]](function(_0x37b2x15){return _0x37b2xf[_0x3f23[17]]({count:_0x37b2x15[_0x3f23[57]],rows:_0x37b2x15})})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[59]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2x1b[_0x3f23[60]]({attributes:[_0x3f23[22]]})})[_0x3f23[19]](function(_0x37b2x17){return _0x37b2xf[_0x3f23[17]]({count:_0x37b2x17[_0x3f23[57]],rows:_0x37b2x17})})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[61]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2x1b[_0x3f23[62]]({attributes:[_0x3f23[22]]})})[_0x3f23[19]](function(_0x37b2x18){return _0x37b2xf[_0x3f23[17]]({count:_0x37b2x18[_0x3f23[57]],rows:_0x37b2x18})})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[63]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2x1b[_0x3f23[64]]({attributes:[_0x3f23[22]]})})[_0x3f23[19]](function(_0x37b2x19){return _0x37b2xf[_0x3f23[17]]({count:_0x37b2x19[_0x3f23[57]],rows:_0x37b2x19})})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[65]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2x1b[_0x3f23[66]]({attributes:[_0x3f23[22]]})})[_0x3f23[19]](function(_0x37b2x1a){return _0x37b2xf[_0x3f23[17]]({count:_0x37b2x1a[_0x3f23[57]],rows:_0x37b2x1a})})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[67]]= function(_0x37b2xe,_0x37b2xf){var _0x37b2x1c;_0x37b2xe[_0x3f23[68]][_0x3f23[29]]= _0x3f23[27];return sequelize[_0x3f23[73]](function(_0x37b2x1d){return Agent[_0x3f23[28]](_0x3f23[27])[_0x3f23[67]](_0x37b2xe[_0x3f23[68]],{transaction:_0x37b2x1d})[_0x3f23[19]](function(_0x37b2x1b){_0x37b2x1c= _0x37b2x1b;return Team[_0x3f23[72]]({where:{defaultEntry:true}})})[_0x3f23[19]](function(_0x37b2x1f){return _0x37b2x1f[_0x3f23[71]](_0x37b2x1c[_0x3f23[22]],{transaction:_0x37b2x1d})})[_0x3f23[19]](function(){return List[_0x3f23[72]]({where:{defaultEntry:true}})})[_0x3f23[19]](function(_0x37b2x1e){return _0x37b2x1e[_0x3f23[71]](_0x37b2x1c[_0x3f23[22]],{transaction:_0x37b2x1d})})})[_0x3f23[19]](function(){return _0x37b2xf[_0x3f23[18]](201)[_0x3f23[17]](_0x37b2x1c)})[_0x3f23[16]](sequelize.UniqueConstraintError,function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return Util[_0x3f23[70]][_0x3f23[69]](_0x37b2xf,_0x37b2x11)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[74]]= function(_0x37b2xe,_0x37b2xf){var _0x37b2x20;if(_0x37b2xe[_0x3f23[68]]&& _0x37b2xe[_0x3f23[68]][_0x3f23[57]]){_0x37b2xe[_0x3f23[68]][_0x3f23[42]](function(_0x37b2x1b){_0x37b2x1b[_0x3f23[29]]= _0x3f23[27]})};return sequelize[_0x3f23[73]](function(_0x37b2x1d){return Agent[_0x3f23[74]](_0x37b2xe[_0x3f23[68]],{transaction:_0x37b2x1d,individualHooks:true})[_0x3f23[19]](function(_0x37b2x21){_0x37b2x20= _0x37b2x21;return Team[_0x3f23[72]]({where:{defaultEntry:true}})})[_0x3f23[19]](function(_0x37b2x1f){return _0x37b2x1f[_0x3f23[75]](_[_0x3f23[40]](_0x37b2x20,_0x3f23[22]),{transaction:_0x37b2x1d})})})[_0x3f23[19]](function(){return _0x37b2xf[_0x3f23[54]](201)})[_0x3f23[16]](sequelize.UniqueConstraintError,function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return Util[_0x3f23[70]][_0x3f23[69]](_0x37b2xf,_0x37b2x11)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[76]]= function(_0x37b2xe,_0x37b2xf){if(_0x37b2xe[_0x3f23[68]][_0x3f23[22]]){delete _0x37b2xe[_0x3f23[68]][_0x3f23[22]];delete _0x37b2xe[_0x3f23[68]][_0x3f23[29]]};return sequelize[_0x3f23[73]](function(_0x37b2x1d){return Agent[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};var _0x37b2x22=_[_0x3f23[43]](_0x37b2x1b,_0x37b2xe[_0x3f23[68]]);return _0x37b2x22[_0x3f23[77]]({transaction:_0x37b2x1d})})[_0x3f23[19]](function(_0x37b2x1b){return _0x37b2xf[_0x3f23[18]](200)[_0x3f23[17]](_0x37b2x1b)})})[_0x3f23[16]](sequelize.UniqueConstraintError,function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return Util[_0x3f23[70]][_0x3f23[69]](_0x37b2xf,_0x37b2x11)})[_0x3f23[16]](function(_0x37b2x11){console[_0x3f23[31]](_0x37b2x11);return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[78]]= function(_0x37b2xe,_0x37b2xf){var _0x37b2x1c;return Agent[_0x3f23[24]](_0x37b2xe[_0x3f23[55]][_0x3f23[22]])[_0x3f23[19]](function(_0x37b2x1b){_0x37b2x1c= _0x37b2x1b;if(!_0x37b2x1b){return _0x37b2xf[_0x3f23[54]](404)};return _0x37b2x1b[_0x3f23[78]]()})[_0x3f23[19]](function(){return _0x37b2xf[_0x3f23[54]](204)})[_0x3f23[16]](sequelize.ForeignKeyConstraintError,function(_0x37b2x11){return Util[_0x3f23[70]][_0x3f23[79]](_0x37b2xf,_0x3f23[27],_0x37b2x1c[_0x3f23[39]],_0x37b2x11)})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[80]]= function(_0x37b2xe,_0x37b2xf){return Agent[_0x3f23[78]]({where:{id:_0x37b2xe[_0x3f23[20]][_0x3f23[81]]},individualHooks:true})[_0x3f23[19]](function(){return _0x37b2xf[_0x3f23[54]](204)})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};exports[_0x3f23[82]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){var _0x37b2x23=_0x37b2xe[_0x3f23[23]][_0x3f23[22]];var _0x37b2x24=String(_0x37b2xe[_0x3f23[68]][_0x3f23[83]]);var _0x37b2x25=String(_0x37b2xe[_0x3f23[68]][_0x3f23[84]]);return Agent[_0x3f23[24]](_0x37b2x23)[_0x3f23[19]](function(_0x37b2x26){if(_0x37b2x26[_0x3f23[85]](_0x37b2x24)){_0x37b2x26[_0x3f23[86]]= _0x37b2x25;_0x37b2x26[_0x3f23[77]]()[_0x3f23[19]](function(){return _0x37b2xf[_0x3f23[54]](200)})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})}else {return _0x37b2xf[_0x3f23[54]](403)}})};exports[_0x3f23[87]]= function(_0x37b2xe,_0x37b2xf,_0x37b2x10){var _0x37b2x23=_0x37b2xe[_0x3f23[55]][_0x3f23[22]];var _0x37b2x25=String(_0x37b2xe[_0x3f23[68]][_0x3f23[84]]);return Agent[_0x3f23[24]](_0x37b2x23)[_0x3f23[19]](function(_0x37b2x26){_0x37b2x26[_0x3f23[86]]= _0x37b2x25;return _0x37b2x26[_0x3f23[77]]()})[_0x3f23[19]](function(){return _0x37b2xf[_0x3f23[54]](200)})[_0x3f23[16]](function(_0x37b2x11){return handleError(_0x37b2xf,_0x37b2x11)})};function handleError(_0x37b2xf,_0x37b2x11){return _0x37b2xf[_0x3f23[18]](500)[_0x3f23[17]](_0x37b2x11)} \ No newline at end of file diff --git a/server/api/agent/agent.events.js b/server/api/agent/agent.events.js index 82749ba..152e8b9 100644 --- a/server/api/agent/agent.events.js +++ b/server/api/agent/agent.events.js @@ -1 +1 @@ -var _0x6aeb=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x6aeb[0];const EventEmitter=require(_0x6aeb[1]);const Agent=require(_0x6aeb[3])[_0x6aeb[2]];var AgentEvents= new EventEmitter();AgentEvents[_0x6aeb[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x6aeb[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x6aeb[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x6aeb[6]};for(var e in events){var event=events[e];Agent[_0x6aeb[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x815dx8,_0x815dx9,_0x815dxa){AgentEvents[_0x6aeb[10]](event+ _0x6aeb[8]+ _0x815dx8[_0x6aeb[9]],_0x815dx8);AgentEvents[_0x6aeb[10]](event,_0x815dx8);_0x815dxa(null)}}module[_0x6aeb[11]]= AgentEvents \ No newline at end of file +var _0xe064=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xe064[0];const EventEmitter=require(_0xe064[1]);const Agent=require(_0xe064[3])[_0xe064[2]];var AgentEvents= new EventEmitter();AgentEvents[_0xe064[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xe064[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xe064[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xe064[6]};for(var e in events){var event=events[e];Agent[_0xe064[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x2129x8,_0x2129x9,_0x2129xa){AgentEvents[_0xe064[10]](event+ _0xe064[8]+ _0x2129x8[_0xe064[9]],_0x2129x8);AgentEvents[_0xe064[10]](event,_0x2129x8);_0x2129xa(null)}}module[_0xe064[11]]= AgentEvents \ No newline at end of file diff --git a/server/api/agent/agent.socket.js b/server/api/agent/agent.socket.js index 159f16f..6b81b9f 100644 --- a/server/api/agent/agent.socket.js +++ b/server/api/agent/agent.socket.js @@ -1 +1 @@ -var _0xc1c5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x49\x64","\x69\x64","\x6F\x6E\x6C\x69\x6E\x65","\x63\x68\x61\x6E\x67\x65\x64","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xc1c5[0];const AgentEvents=require(_0xc1c5[1]);var events=[_0xc1c5[2],_0xc1c5[3]];exports[_0xc1c5[4]]= function(_0x4084x3){for(var _0x4084x4=0,_0x4084x5=events[_0xc1c5[5]];_0x4084x4< _0x4084x5;_0x4084x4++){var _0x4084x6=events[_0x4084x4];var _0x4084x7=createListener(_0xc1c5[6]+ _0x4084x6,_0x4084x3);AgentEvents[_0xc1c5[7]](_0x4084x6,_0x4084x7);_0x4084x3[_0xc1c5[7]](_0xc1c5[8],removeListener(_0x4084x6,_0x4084x7))}};function createListener(_0x4084x6,_0x4084x3){return function(_0x4084x9){switch(_0x4084x6){case _0xc1c5[16]:if(_0x4084x9[_0xc1c5[9]]=== _0xc1c5[10]&& (_0x4084x3[_0xc1c5[9]]!== _0xc1c5[10]|| _0x4084x3[_0xc1c5[11]]== _0x4084x9[_0xc1c5[12]]|| _0x4084x9[_0xc1c5[14]](_0xc1c5[13]))){_0x4084x3[_0xc1c5[15]](_0x4084x6,_0x4084x9)};break;case _0xc1c5[17]:_0x4084x3[_0xc1c5[15]](_0x4084x6,_0x4084x9);break;default:}}}function removeListener(_0x4084x6,_0x4084x7){return function(){AgentEvents[_0xc1c5[18]](_0x4084x6,_0x4084x7)}} \ No newline at end of file +var _0xad05=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x67\x65\x6E\x74\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x67\x65\x6E\x74\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x72\x6F\x6C\x65","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x49\x64","\x69\x64","\x6F\x6E\x6C\x69\x6E\x65","\x63\x68\x61\x6E\x67\x65\x64","\x65\x6D\x69\x74","\x61\x67\x65\x6E\x74\x3A\x73\x61\x76\x65","\x61\x67\x65\x6E\x74\x3A\x72\x65\x6D\x6F\x76\x65","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xad05[0];const AgentEvents=require(_0xad05[1]);var events=[_0xad05[2],_0xad05[3]];exports[_0xad05[4]]= function(_0xf77dx3){for(var _0xf77dx4=0,_0xf77dx5=events[_0xad05[5]];_0xf77dx4< _0xf77dx5;_0xf77dx4++){var _0xf77dx6=events[_0xf77dx4];var _0xf77dx7=createListener(_0xad05[6]+ _0xf77dx6,_0xf77dx3);AgentEvents[_0xad05[7]](_0xf77dx6,_0xf77dx7);_0xf77dx3[_0xad05[7]](_0xad05[8],removeListener(_0xf77dx6,_0xf77dx7))}};function createListener(_0xf77dx6,_0xf77dx3){return function(_0xf77dx9){switch(_0xf77dx6){case _0xad05[16]:if(_0xf77dx9[_0xad05[9]]=== _0xad05[10]&& (_0xf77dx3[_0xad05[9]]!== _0xad05[10]|| _0xf77dx3[_0xad05[11]]== _0xf77dx9[_0xad05[12]]|| _0xf77dx9[_0xad05[14]](_0xad05[13]))){_0xf77dx3[_0xad05[15]](_0xf77dx6,_0xf77dx9)};break;case _0xad05[17]:_0xf77dx3[_0xad05[15]](_0xf77dx6,_0xf77dx9);break;default:}}}function removeListener(_0xf77dx6,_0xf77dx7){return function(){AgentEvents[_0xad05[18]](_0xf77dx6,_0xf77dx7)}} \ No newline at end of file diff --git a/server/api/agent/index.js b/server/api/agent/index.js index db936e1..699025a 100644 --- a/server/api/agent/index.js +++ b/server/api/agent/index.js @@ -1 +1 @@ -var _0xedda=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x67\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x6F\x69\x63\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x6D\x61\x69\x6C","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x63\x68\x61\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x66\x61\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x73\x6D\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x73\x6D\x73\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0xedda[0];var express=require(_0xedda[1]);var controller=require(_0xedda[2]);var auth=require(_0xedda[3]);var license=require(_0xedda[4]);var router=express.Router();router[_0xedda[11]](_0xedda[5],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[8]]),controller[_0xedda[10]]);router[_0xedda[11]](_0xedda[12],auth[_0xedda[6]](),auth[_0xedda[9]]([12],[_0xedda[7]]),controller[_0xedda[13]]);router[_0xedda[11]](_0xedda[14],auth[_0xedda[6]](),auth[_0xedda[9]]([7],[_0xedda[7]]),controller[_0xedda[15]]);router[_0xedda[11]](_0xedda[16],auth[_0xedda[6]](),auth[_0xedda[9]]([9],[_0xedda[7]]),controller[_0xedda[17]]);router[_0xedda[11]](_0xedda[18],auth[_0xedda[6]](),auth[_0xedda[9]]([8],[_0xedda[7]]),controller[_0xedda[19]]);router[_0xedda[11]](_0xedda[20],auth[_0xedda[6]](),auth[_0xedda[9]]([10],[_0xedda[7]]),controller[_0xedda[21]]);router[_0xedda[11]](_0xedda[22],auth[_0xedda[6]](),auth[_0xedda[9]]([10],[_0xedda[7]]),controller[_0xedda[23]]);router[_0xedda[11]](_0xedda[24],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[25],_0xedda[8]]),controller[_0xedda[26]]);router[_0xedda[28]](_0xedda[5],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[27]]);router[_0xedda[28]](_0xedda[29],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[30]]);router[_0xedda[32]](_0xedda[24],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[31]]);router[_0xedda[34]](_0xedda[5],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[33]]);router[_0xedda[34]](_0xedda[24],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[35]]);router[_0xedda[32]](_0xedda[36],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[37]]);router[_0xedda[32]](_0xedda[38],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7]]),controller[_0xedda[39]]);router[_0xedda[11]](_0xedda[40],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[8]]),controller[_0xedda[41]]);router[_0xedda[11]](_0xedda[42],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[8]]),controller[_0xedda[43]]);router[_0xedda[11]](_0xedda[44],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[8]]),controller[_0xedda[45]]);router[_0xedda[11]](_0xedda[46],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[8]]),controller[_0xedda[47]]);router[_0xedda[11]](_0xedda[48],auth[_0xedda[6]](),auth[_0xedda[9]]([4],[_0xedda[7],_0xedda[8]]),controller[_0xedda[49]]);module[_0xedda[50]]= router \ No newline at end of file +var _0x124d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x67\x65\x6E\x74\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x76\x6F\x69\x63\x65","\x72\x65\x61\x6C\x74\x69\x6D\x65\x56\x6F\x69\x63\x65\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x6D\x61\x69\x6C","\x72\x65\x61\x6C\x74\x69\x6D\x65\x4D\x61\x69\x6C\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x63\x68\x61\x74","\x72\x65\x61\x6C\x74\x69\x6D\x65\x43\x68\x61\x74\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x66\x61\x78","\x72\x65\x61\x6C\x74\x69\x6D\x65\x46\x61\x78\x49\x6E\x64\x65\x78","\x2F\x72\x65\x61\x6C\x74\x69\x6D\x65\x2F\x73\x6D\x73","\x72\x65\x61\x6C\x74\x69\x6D\x65\x53\x6D\x73\x49\x6E\x64\x65\x78","\x2F\x3A\x69\x64","\x75\x73\x65\x72","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x62\x75\x6C\x6B","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x63\x68\x61\x6E\x67\x65\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x70\x61\x73\x73\x77\x6F\x72\x64","\x72\x65\x73\x65\x74\x50\x61\x73\x73\x77\x6F\x72\x64","\x2F\x3A\x69\x64\x2F\x76\x6F\x69\x63\x65\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x56\x6F\x69\x63\x65\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x63\x68\x61\x74\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x6D\x61\x69\x6C\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x66\x61\x78\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x46\x61\x78\x51\x75\x65\x75\x65\x73","\x2F\x3A\x69\x64\x2F\x73\x6D\x73\x2F\x71\x75\x65\x75\x65\x73","\x73\x68\x6F\x77\x53\x6D\x73\x51\x75\x65\x75\x65\x73","\x65\x78\x70\x6F\x72\x74\x73"];_0x124d[0];var express=require(_0x124d[1]);var controller=require(_0x124d[2]);var auth=require(_0x124d[3]);var license=require(_0x124d[4]);var router=express.Router();router[_0x124d[11]](_0x124d[5],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[8]]),controller[_0x124d[10]]);router[_0x124d[11]](_0x124d[12],auth[_0x124d[6]](),auth[_0x124d[9]]([12],[_0x124d[7]]),controller[_0x124d[13]]);router[_0x124d[11]](_0x124d[14],auth[_0x124d[6]](),auth[_0x124d[9]]([7],[_0x124d[7]]),controller[_0x124d[15]]);router[_0x124d[11]](_0x124d[16],auth[_0x124d[6]](),auth[_0x124d[9]]([9],[_0x124d[7]]),controller[_0x124d[17]]);router[_0x124d[11]](_0x124d[18],auth[_0x124d[6]](),auth[_0x124d[9]]([8],[_0x124d[7]]),controller[_0x124d[19]]);router[_0x124d[11]](_0x124d[20],auth[_0x124d[6]](),auth[_0x124d[9]]([10],[_0x124d[7]]),controller[_0x124d[21]]);router[_0x124d[11]](_0x124d[22],auth[_0x124d[6]](),auth[_0x124d[9]]([10],[_0x124d[7]]),controller[_0x124d[23]]);router[_0x124d[11]](_0x124d[24],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[25],_0x124d[8]]),controller[_0x124d[26]]);router[_0x124d[28]](_0x124d[5],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[27]]);router[_0x124d[28]](_0x124d[29],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[30]]);router[_0x124d[32]](_0x124d[24],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[31]]);router[_0x124d[34]](_0x124d[5],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[33]]);router[_0x124d[34]](_0x124d[24],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[35]]);router[_0x124d[32]](_0x124d[36],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[37]]);router[_0x124d[32]](_0x124d[38],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7]]),controller[_0x124d[39]]);router[_0x124d[11]](_0x124d[40],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[8]]),controller[_0x124d[41]]);router[_0x124d[11]](_0x124d[42],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[8]]),controller[_0x124d[43]]);router[_0x124d[11]](_0x124d[44],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[8]]),controller[_0x124d[45]]);router[_0x124d[11]](_0x124d[46],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[8]]),controller[_0x124d[47]]);router[_0x124d[11]](_0x124d[48],auth[_0x124d[6]](),auth[_0x124d[9]]([4],[_0x124d[7],_0x124d[8]]),controller[_0x124d[49]]);module[_0x124d[50]]= router \ No newline at end of file diff --git a/server/api/ami/ami.ami.js b/server/api/ami/ami.ami.js index fbdcf85..b4c462c 100644 --- a/server/api/ami/ami.ami.js +++ b/server/api/ami/ami.ami.js @@ -1 +1 @@ -var _0x4ce6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x73\x79\x6E\x63","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x6D\x69","\x61\x63\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x41\x73\x74\x65\x72\x69\x73\x6B\x20\x4D\x61\x6E\x61\x67\x65\x72\x20\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x2E\x2E"];_0x4ce6[0];var Ami=require(_0x4ce6[2])[_0x4ce6[1]];var async=require(_0x4ce6[3]);var _=require(_0x4ce6[4]);var ami=null;exports[_0x4ce6[5]]= function(ami){this[_0x4ce6[6]]= ami};exports[_0x4ce6[7]]= function(_0x7e97x5,_0x7e97x6){if(this[_0x4ce6[6]]&& this[_0x4ce6[6]][_0x4ce6[8]]()){this[_0x4ce6[6]][_0x4ce6[7]](_0x7e97x5,function(_0x7e97x7,_0x7e97x8){if(_0x7e97x7){_0x7e97x6(_0x7e97x7)};var _0x7e97x9=_[_0x4ce6[9]](_0x7e97x8,_0x7e97x5);Ami[_0x4ce6[12]](_0x7e97x9)[_0x4ce6[11]](function(ami){_0x7e97x6(null,ami)})[_0x4ce6[10]](function(_0x7e97x7){return _0x7e97x6(_0x7e97x7)})})}else {_0x7e97x6( new Error(_0x4ce6[13]))}} \ No newline at end of file +var _0xf9b2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x61\x73\x79\x6E\x63","\x6C\x6F\x64\x61\x73\x68","\x72\x65\x67\x69\x73\x74\x65\x72","\x61\x6D\x69","\x61\x63\x74\x69\x6F\x6E","\x69\x73\x43\x6F\x6E\x6E\x65\x63\x74\x65\x64","\x6D\x65\x72\x67\x65","\x63\x61\x74\x63\x68","\x74\x68\x65\x6E","\x63\x72\x65\x61\x74\x65","\x41\x73\x74\x65\x72\x69\x73\x6B\x20\x4D\x61\x6E\x61\x67\x65\x72\x20\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74\x65\x64\x2E\x2E"];_0xf9b2[0];var Ami=require(_0xf9b2[2])[_0xf9b2[1]];var async=require(_0xf9b2[3]);var _=require(_0xf9b2[4]);var ami=null;exports[_0xf9b2[5]]= function(ami){this[_0xf9b2[6]]= ami};exports[_0xf9b2[7]]= function(_0x3697x5,_0x3697x6){if(this[_0xf9b2[6]]&& this[_0xf9b2[6]][_0xf9b2[8]]()){this[_0xf9b2[6]][_0xf9b2[7]](_0x3697x5,function(_0x3697x7,_0x3697x8){if(_0x3697x7){_0x3697x6(_0x3697x7)};var _0x3697x9=_[_0xf9b2[9]](_0x3697x8,_0x3697x5);Ami[_0xf9b2[12]](_0x3697x9)[_0xf9b2[11]](function(ami){_0x3697x6(null,ami)})[_0xf9b2[10]](function(_0x3697x7){return _0x3697x6(_0x3697x7)})})}else {_0x3697x6( new Error(_0xf9b2[13]))}} \ No newline at end of file diff --git a/server/api/ami/ami.controller.js b/server/api/ami/ami.controller.js index 4b813da..73162fd 100644 --- a/server/api/ami/ami.controller.js +++ b/server/api/ami/ami.controller.js @@ -1 +1 @@ -var _0x4e11=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x64\x61\x74\x61","\x62\x6F\x64\x79","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x69\x64","\x75\x73\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x4e11[0];var _=require(_0x4e11[1]);var Ami=require(_0x4e11[3])[_0x4e11[2]];var Util=require(_0x4e11[4]);exports[_0x4e11[5]]= function(_0x605dx4,_0x605dx5,_0x605dx6){return Ami[_0x4e11[12]](Util[_0x4e11[11]](_0x605dx4[_0x4e11[10]]))[_0x4e11[9]](function(_0x605dx8){return _0x605dx5[_0x4e11[8]](200)[_0x4e11[7]](_0x605dx8)})[_0x4e11[6]](function(_0x605dx7){return handleError(_0x605dx5,_0x605dx7)})};exports[_0x4e11[13]]= function(_0x605dx4,_0x605dx5){_0x605dx4[_0x4e11[15]][_0x4e11[14]]= JSON[_0x4e11[16]](_0x605dx4[_0x4e11[15]]);_0x605dx4[_0x4e11[15]][_0x4e11[17]]= _0x605dx4[_0x4e11[19]][_0x4e11[18]];require(_0x4e11[21])[_0x4e11[20]](_0x605dx4[_0x4e11[15]],function(_0x605dx7,_0x605dx8){if(_0x605dx7){handleError(_0x605dx5,_0x605dx7)}else {return _0x605dx5[_0x4e11[8]](201)[_0x4e11[7]](_0x605dx8)}})};function handleError(_0x605dx5,_0x605dx7){return _0x605dx5[_0x4e11[8]](500)[_0x4e11[7]](_0x605dx7)} \ No newline at end of file +var _0x7cf7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x63\x72\x65\x61\x74\x65","\x64\x61\x74\x61","\x62\x6F\x64\x79","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x55\x73\x65\x72\x49\x64","\x69\x64","\x75\x73\x65\x72","\x61\x63\x74\x69\x6F\x6E","\x2E\x2F\x61\x6D\x69\x2E\x61\x6D\x69"];_0x7cf7[0];var _=require(_0x7cf7[1]);var Ami=require(_0x7cf7[3])[_0x7cf7[2]];var Util=require(_0x7cf7[4]);exports[_0x7cf7[5]]= function(_0xbc05x4,_0xbc05x5,_0xbc05x6){return Ami[_0x7cf7[12]](Util[_0x7cf7[11]](_0xbc05x4[_0x7cf7[10]]))[_0x7cf7[9]](function(_0xbc05x8){return _0xbc05x5[_0x7cf7[8]](200)[_0x7cf7[7]](_0xbc05x8)})[_0x7cf7[6]](function(_0xbc05x7){return handleError(_0xbc05x5,_0xbc05x7)})};exports[_0x7cf7[13]]= function(_0xbc05x4,_0xbc05x5){_0xbc05x4[_0x7cf7[15]][_0x7cf7[14]]= JSON[_0x7cf7[16]](_0xbc05x4[_0x7cf7[15]]);_0xbc05x4[_0x7cf7[15]][_0x7cf7[17]]= _0xbc05x4[_0x7cf7[19]][_0x7cf7[18]];require(_0x7cf7[21])[_0x7cf7[20]](_0xbc05x4[_0x7cf7[15]],function(_0xbc05x7,_0xbc05x8){if(_0xbc05x7){handleError(_0xbc05x5,_0xbc05x7)}else {return _0xbc05x5[_0x7cf7[8]](201)[_0x7cf7[7]](_0xbc05x8)}})};function handleError(_0xbc05x5,_0xbc05x7){return _0xbc05x5[_0x7cf7[8]](500)[_0x7cf7[7]](_0xbc05x7)} \ No newline at end of file diff --git a/server/api/ami/ami.events.js b/server/api/ami/ami.events.js index 3789c96..bc5acbd 100644 --- a/server/api/ami/ami.events.js +++ b/server/api/ami/ami.events.js @@ -1 +1 @@ -var _0x2bb5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x2bb5[0];const EventEmitter=require(_0x2bb5[1]);const Ami=require(_0x2bb5[3])[_0x2bb5[2]];var AmiEvents= new EventEmitter();AmiEvents[_0x2bb5[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x2bb5[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x2bb5[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x2bb5[6]};for(var e in events){var event=events[e];Ami[_0x2bb5[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x18d7x8,_0x18d7x9,_0x18d7xa){AmiEvents[_0x2bb5[10]](event+ _0x2bb5[8]+ _0x18d7x8[_0x2bb5[9]],_0x18d7x8);AmiEvents[_0x2bb5[10]](event,_0x18d7x8);_0x18d7xa(null)}}module[_0x2bb5[11]]= AmiEvents \ No newline at end of file +var _0x7066=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x6D\x69","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x7066[0];const EventEmitter=require(_0x7066[1]);const Ami=require(_0x7066[3])[_0x7066[2]];var AmiEvents= new EventEmitter();AmiEvents[_0x7066[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x7066[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x7066[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x7066[6]};for(var e in events){var event=events[e];Ami[_0x7066[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x59b6x8,_0x59b6x9,_0x59b6xa){AmiEvents[_0x7066[10]](event+ _0x7066[8]+ _0x59b6x8[_0x7066[9]],_0x59b6x8);AmiEvents[_0x7066[10]](event,_0x59b6x8);_0x59b6xa(null)}}module[_0x7066[11]]= AmiEvents \ No newline at end of file diff --git a/server/api/ami/ami.socket.js b/server/api/ami/ami.socket.js index e23db90..0a2ce86 100644 --- a/server/api/ami/ami.socket.js +++ b/server/api/ami/ami.socket.js @@ -1 +1 @@ -var _0xc03e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x6D\x69\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x6D\x69\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xc03e[0];const AmiEvents=require(_0xc03e[1]);var events=[_0xc03e[2],_0xc03e[3]];exports[_0xc03e[4]]= function(_0x476dx3){for(var _0x476dx4=0,_0x476dx5=events[_0xc03e[5]];_0x476dx4< _0x476dx5;_0x476dx4++){var _0x476dx6=events[_0x476dx4];var _0x476dx7=createListener(_0xc03e[6]+ _0x476dx6,_0x476dx3);AmiEvents[_0xc03e[7]](_0x476dx6,_0x476dx7);_0x476dx3[_0xc03e[7]](_0xc03e[8],removeListener(_0x476dx6,_0x476dx7))}};function createListener(_0x476dx6,_0x476dx3){return function(_0x476dx9){_0x476dx3[_0xc03e[9]](_0x476dx6,_0x476dx9)}}function removeListener(_0x476dx6,_0x476dx7){return function(){AmiEvents[_0xc03e[10]](_0x476dx6,_0x476dx7)}} \ No newline at end of file +var _0xf647=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x6D\x69\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x6D\x69\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xf647[0];const AmiEvents=require(_0xf647[1]);var events=[_0xf647[2],_0xf647[3]];exports[_0xf647[4]]= function(_0xff9dx3){for(var _0xff9dx4=0,_0xff9dx5=events[_0xf647[5]];_0xff9dx4< _0xff9dx5;_0xff9dx4++){var _0xff9dx6=events[_0xff9dx4];var _0xff9dx7=createListener(_0xf647[6]+ _0xff9dx6,_0xff9dx3);AmiEvents[_0xf647[7]](_0xff9dx6,_0xff9dx7);_0xff9dx3[_0xf647[7]](_0xf647[8],removeListener(_0xff9dx6,_0xff9dx7))}};function createListener(_0xff9dx6,_0xff9dx3){return function(_0xff9dx9){_0xff9dx3[_0xf647[9]](_0xff9dx6,_0xff9dx9)}}function removeListener(_0xff9dx6,_0xff9dx7){return function(){AmiEvents[_0xf647[10]](_0xff9dx6,_0xff9dx7)}} \ No newline at end of file diff --git a/server/api/ami/index.js b/server/api/ami/index.js index c9e71d3..c56da52 100644 --- a/server/api/ami/index.js +++ b/server/api/ami/index.js @@ -1 +1 @@ -var _0x96e5=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x6D\x69\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x96e5[0];var express=require(_0x96e5[1]);var controller=require(_0x96e5[2]);var auth=require(_0x96e5[3]);var router=express.Router();router[_0x96e5[7]](_0x96e5[4],auth[_0x96e5[5]](),controller[_0x96e5[6]]);router[_0x96e5[9]](_0x96e5[4],auth[_0x96e5[5]](),controller[_0x96e5[8]]);module[_0x96e5[10]]= router \ No newline at end of file +var _0x5cb8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x6D\x69\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5cb8[0];var express=require(_0x5cb8[1]);var controller=require(_0x5cb8[2]);var auth=require(_0x5cb8[3]);var router=express.Router();router[_0x5cb8[7]](_0x5cb8[4],auth[_0x5cb8[5]](),controller[_0x5cb8[6]]);router[_0x5cb8[9]](_0x5cb8[4],auth[_0x5cb8[5]](),controller[_0x5cb8[8]]);module[_0x5cb8[10]]= router \ No newline at end of file diff --git a/server/api/automation/automation.controller.js b/server/api/automation/automation.controller.js index f33d090..8e5536a 100644 --- a/server/api/automation/automation.controller.js +++ b/server/api/automation/automation.controller.js @@ -1 +1 @@ -var _0xe0a8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x41\x6C\x6C","\x41\x6E\x79","\x41\x63\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6C\x6C\x49\x64","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6E\x79\x49\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xe0a8[0];var _=require(_0xe0a8[1]);var util=require(_0xe0a8[2]);var Util=require(_0xe0a8[3]);var sequelize=require(_0xe0a8[5])[_0xe0a8[4]];var Automation=require(_0xe0a8[5])[_0xe0a8[6]];var ToolsCondition=require(_0xe0a8[5])[_0xe0a8[7]];var ToolsAction=require(_0xe0a8[5])[_0xe0a8[8]];exports[_0xe0a8[9]]= function(_0xa71dx8,_0xa71dx9,_0xa71dxa){return Automation[_0xe0a8[18]](_0xe0a8[17])[_0xe0a8[16]](Util[_0xe0a8[15]](_0xa71dx8[_0xe0a8[14]]))[_0xe0a8[13]](function(_0xa71dxc){_0xa71dx9[_0xe0a8[12]](200)[_0xe0a8[11]](_0xa71dxc)})[_0xe0a8[10]](function(_0xa71dxb){return handleError(_0xa71dx9,_0xa71dxb)})};exports[_0xe0a8[19]]= function(_0xa71dx8,_0xa71dx9){return Automation[_0xe0a8[18]](_0xe0a8[17])[_0xe0a8[23]](_0xa71dx8[_0xe0a8[22]][_0xe0a8[21]])[_0xe0a8[13]](function(Automation){if(!Automation){return _0xa71dx9[_0xe0a8[20]](404)};return _0xa71dx9[_0xe0a8[11]](Automation)})[_0xe0a8[10]](function(_0xa71dxb){return handleError(_0xa71dx9,_0xa71dxb)})};exports[_0xe0a8[24]]= function(_0xa71dx8,_0xa71dx9,_0xa71dxa){return Automation[_0xe0a8[24]](_0xa71dx8[_0xe0a8[25]],{include:[{model:ToolsCondition,as:_0xe0a8[26]},{model:ToolsCondition,as:_0xe0a8[27]},{model:ToolsAction,as:_0xe0a8[28]}]})[_0xe0a8[13]](function(){return _0xa71dx9[_0xe0a8[20]](201)})[_0xe0a8[10]](function(_0xa71dxb){return handleError(_0xa71dx9,_0xa71dxb)})};exports[_0xe0a8[29]]= function(_0xa71dx8,_0xa71dx9,_0xa71dxa){var _0xa71dxd;if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[21]]){delete _0xa71dx8[_0xe0a8[25]][_0xe0a8[21]]};return sequelize[_0xe0a8[41]](function(_0xa71dxe){return Automation[_0xe0a8[23]](_0xa71dx8[_0xe0a8[22]][_0xe0a8[21]])[_0xe0a8[13]](function(_0xa71dx11){if(!_0xa71dx11){return _0xa71dx9[_0xe0a8[20]](404)};_0xa71dxd= _0xa71dx11;if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[27]]){return ToolsCondition[_0xe0a8[38]]({where:{AutomationAnyId:_0xa71dx8[_0xe0a8[22]][_0xe0a8[21]]},transaction:_0xa71dxe})}})[_0xe0a8[13]](function(){if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[27]]&& Array[_0xe0a8[33]](_0xa71dx8[_0xe0a8[25]].Any)&& _0xa71dx8[_0xe0a8[25]][_0xe0a8[27]][_0xe0a8[34]]){_[_0xe0a8[36]](_0xa71dx8[_0xe0a8[25]].Any,function(_0xa71dx10){_0xa71dx10[_0xe0a8[40]]= _0xa71dx8[_0xe0a8[22]][_0xe0a8[21]]});return ToolsCondition[_0xe0a8[37]](_0xa71dx8[_0xe0a8[25]].Any,{transaction:_0xa71dxe})};return})[_0xe0a8[13]](function(){if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[26]]){return ToolsCondition[_0xe0a8[38]]({where:{AutomationAllId:_0xa71dx8[_0xe0a8[22]][_0xe0a8[21]]},transaction:_0xa71dxe})}})[_0xe0a8[13]](function(){if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[26]]&& Array[_0xe0a8[33]](_0xa71dx8[_0xe0a8[25]].All)&& _0xa71dx8[_0xe0a8[25]][_0xe0a8[26]][_0xe0a8[34]]){_[_0xe0a8[36]](_0xa71dx8[_0xe0a8[25]].All,function(_0xa71dx10){_0xa71dx10[_0xe0a8[39]]= _0xa71dx8[_0xe0a8[22]][_0xe0a8[21]]});return ToolsCondition[_0xe0a8[37]](_0xa71dx8[_0xe0a8[25]].All,{transaction:_0xa71dxe})};return})[_0xe0a8[13]](function(){if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[28]]){return ToolsAction[_0xe0a8[38]]({where:{AutomationId:_0xa71dx8[_0xe0a8[22]][_0xe0a8[21]]},transaction:_0xa71dxe})}})[_0xe0a8[13]](function(){if(_0xa71dx8[_0xe0a8[25]][_0xe0a8[28]]&& Array[_0xe0a8[33]](_0xa71dx8[_0xe0a8[25]].Actions)&& _0xa71dx8[_0xe0a8[25]][_0xe0a8[28]][_0xe0a8[34]]){_[_0xe0a8[36]](_0xa71dx8[_0xe0a8[25]].Actions,function(_0xa71dx10){_0xa71dx10[_0xe0a8[35]]= _0xa71dx8[_0xe0a8[22]][_0xe0a8[21]]});return ToolsAction[_0xe0a8[37]](_0xa71dx8[_0xe0a8[25]].Actions,{transaction:_0xa71dxe})};return})[_0xe0a8[13]](function(){var _0xa71dxf=_[_0xe0a8[31]](_0xa71dxd,_0xa71dx8[_0xe0a8[25]]);return _0xa71dxf[_0xe0a8[32]]({transaction:_0xa71dxe})})})[_0xe0a8[13]](function(){return _0xa71dx9[_0xe0a8[20]](200)})[_0xe0a8[10]](function(_0xa71dxb){console[_0xe0a8[30]](_0xa71dxb);return handleError(_0xa71dx9,_0xa71dxb)})};exports[_0xe0a8[38]]= function(_0xa71dx8,_0xa71dx9){return Automation[_0xe0a8[23]](_0xa71dx8[_0xe0a8[22]][_0xe0a8[21]])[_0xe0a8[13]](function(Automation){if(!Automation){return _0xa71dx9[_0xe0a8[20]](404)};Automation[_0xe0a8[38]]()[_0xe0a8[13]](function(){return _0xa71dx9[_0xe0a8[20]](204)})[_0xe0a8[10]](function(_0xa71dxb){return handleError(_0xa71dx9,_0xa71dxb)})})[_0xe0a8[10]](function(_0xa71dxb){return handleError(_0xa71dx9,_0xa71dxb)})};exports[_0xe0a8[42]]= function(_0xa71dx8,_0xa71dx9){return Automation[_0xe0a8[38]]({where:{id:_0xa71dx8[_0xe0a8[14]][_0xe0a8[43]]},individualHooks:true})[_0xe0a8[13]](function(){return _0xa71dx9[_0xe0a8[20]](204)})[_0xe0a8[10]](function(_0xa71dxb){return handleError(_0xa71dx9,_0xa71dxb)})};function handleError(_0xa71dx9,_0xa71dxb){return _0xa71dx9[_0xe0a8[12]](500)[_0xe0a8[11]](_0xa71dxb)} \ No newline at end of file +var _0xd64a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x43\x6F\x6E\x64\x69\x74\x69\x6F\x6E","\x54\x6F\x6F\x6C\x73\x41\x63\x74\x69\x6F\x6E","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x61\x6C\x6C","\x73\x63\x6F\x70\x65","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x41\x6C\x6C","\x41\x6E\x79","\x41\x63\x74\x69\x6F\x6E\x73","\x75\x70\x64\x61\x74\x65","\x6C\x6F\x67","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x49\x64","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6C\x6C\x49\x64","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x41\x6E\x79\x49\x64","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xd64a[0];var _=require(_0xd64a[1]);var util=require(_0xd64a[2]);var Util=require(_0xd64a[3]);var sequelize=require(_0xd64a[5])[_0xd64a[4]];var Automation=require(_0xd64a[5])[_0xd64a[6]];var ToolsCondition=require(_0xd64a[5])[_0xd64a[7]];var ToolsAction=require(_0xd64a[5])[_0xd64a[8]];exports[_0xd64a[9]]= function(_0x7f49x8,_0x7f49x9,_0x7f49xa){return Automation[_0xd64a[18]](_0xd64a[17])[_0xd64a[16]](Util[_0xd64a[15]](_0x7f49x8[_0xd64a[14]]))[_0xd64a[13]](function(_0x7f49xc){_0x7f49x9[_0xd64a[12]](200)[_0xd64a[11]](_0x7f49xc)})[_0xd64a[10]](function(_0x7f49xb){return handleError(_0x7f49x9,_0x7f49xb)})};exports[_0xd64a[19]]= function(_0x7f49x8,_0x7f49x9){return Automation[_0xd64a[18]](_0xd64a[17])[_0xd64a[23]](_0x7f49x8[_0xd64a[22]][_0xd64a[21]])[_0xd64a[13]](function(Automation){if(!Automation){return _0x7f49x9[_0xd64a[20]](404)};return _0x7f49x9[_0xd64a[11]](Automation)})[_0xd64a[10]](function(_0x7f49xb){return handleError(_0x7f49x9,_0x7f49xb)})};exports[_0xd64a[24]]= function(_0x7f49x8,_0x7f49x9,_0x7f49xa){return Automation[_0xd64a[24]](_0x7f49x8[_0xd64a[25]],{include:[{model:ToolsCondition,as:_0xd64a[26]},{model:ToolsCondition,as:_0xd64a[27]},{model:ToolsAction,as:_0xd64a[28]}]})[_0xd64a[13]](function(){return _0x7f49x9[_0xd64a[20]](201)})[_0xd64a[10]](function(_0x7f49xb){return handleError(_0x7f49x9,_0x7f49xb)})};exports[_0xd64a[29]]= function(_0x7f49x8,_0x7f49x9,_0x7f49xa){var _0x7f49xd;if(_0x7f49x8[_0xd64a[25]][_0xd64a[21]]){delete _0x7f49x8[_0xd64a[25]][_0xd64a[21]]};return sequelize[_0xd64a[41]](function(_0x7f49xe){return Automation[_0xd64a[23]](_0x7f49x8[_0xd64a[22]][_0xd64a[21]])[_0xd64a[13]](function(_0x7f49x11){if(!_0x7f49x11){return _0x7f49x9[_0xd64a[20]](404)};_0x7f49xd= _0x7f49x11;if(_0x7f49x8[_0xd64a[25]][_0xd64a[27]]){return ToolsCondition[_0xd64a[38]]({where:{AutomationAnyId:_0x7f49x8[_0xd64a[22]][_0xd64a[21]]},transaction:_0x7f49xe})}})[_0xd64a[13]](function(){if(_0x7f49x8[_0xd64a[25]][_0xd64a[27]]&& Array[_0xd64a[33]](_0x7f49x8[_0xd64a[25]].Any)&& _0x7f49x8[_0xd64a[25]][_0xd64a[27]][_0xd64a[34]]){_[_0xd64a[36]](_0x7f49x8[_0xd64a[25]].Any,function(_0x7f49x10){_0x7f49x10[_0xd64a[40]]= _0x7f49x8[_0xd64a[22]][_0xd64a[21]]});return ToolsCondition[_0xd64a[37]](_0x7f49x8[_0xd64a[25]].Any,{transaction:_0x7f49xe})};return})[_0xd64a[13]](function(){if(_0x7f49x8[_0xd64a[25]][_0xd64a[26]]){return ToolsCondition[_0xd64a[38]]({where:{AutomationAllId:_0x7f49x8[_0xd64a[22]][_0xd64a[21]]},transaction:_0x7f49xe})}})[_0xd64a[13]](function(){if(_0x7f49x8[_0xd64a[25]][_0xd64a[26]]&& Array[_0xd64a[33]](_0x7f49x8[_0xd64a[25]].All)&& _0x7f49x8[_0xd64a[25]][_0xd64a[26]][_0xd64a[34]]){_[_0xd64a[36]](_0x7f49x8[_0xd64a[25]].All,function(_0x7f49x10){_0x7f49x10[_0xd64a[39]]= _0x7f49x8[_0xd64a[22]][_0xd64a[21]]});return ToolsCondition[_0xd64a[37]](_0x7f49x8[_0xd64a[25]].All,{transaction:_0x7f49xe})};return})[_0xd64a[13]](function(){if(_0x7f49x8[_0xd64a[25]][_0xd64a[28]]){return ToolsAction[_0xd64a[38]]({where:{AutomationId:_0x7f49x8[_0xd64a[22]][_0xd64a[21]]},transaction:_0x7f49xe})}})[_0xd64a[13]](function(){if(_0x7f49x8[_0xd64a[25]][_0xd64a[28]]&& Array[_0xd64a[33]](_0x7f49x8[_0xd64a[25]].Actions)&& _0x7f49x8[_0xd64a[25]][_0xd64a[28]][_0xd64a[34]]){_[_0xd64a[36]](_0x7f49x8[_0xd64a[25]].Actions,function(_0x7f49x10){_0x7f49x10[_0xd64a[35]]= _0x7f49x8[_0xd64a[22]][_0xd64a[21]]});return ToolsAction[_0xd64a[37]](_0x7f49x8[_0xd64a[25]].Actions,{transaction:_0x7f49xe})};return})[_0xd64a[13]](function(){var _0x7f49xf=_[_0xd64a[31]](_0x7f49xd,_0x7f49x8[_0xd64a[25]]);return _0x7f49xf[_0xd64a[32]]({transaction:_0x7f49xe})})})[_0xd64a[13]](function(){return _0x7f49x9[_0xd64a[20]](200)})[_0xd64a[10]](function(_0x7f49xb){console[_0xd64a[30]](_0x7f49xb);return handleError(_0x7f49x9,_0x7f49xb)})};exports[_0xd64a[38]]= function(_0x7f49x8,_0x7f49x9){return Automation[_0xd64a[23]](_0x7f49x8[_0xd64a[22]][_0xd64a[21]])[_0xd64a[13]](function(Automation){if(!Automation){return _0x7f49x9[_0xd64a[20]](404)};Automation[_0xd64a[38]]()[_0xd64a[13]](function(){return _0x7f49x9[_0xd64a[20]](204)})[_0xd64a[10]](function(_0x7f49xb){return handleError(_0x7f49x9,_0x7f49xb)})})[_0xd64a[10]](function(_0x7f49xb){return handleError(_0x7f49x9,_0x7f49xb)})};exports[_0xd64a[42]]= function(_0x7f49x8,_0x7f49x9){return Automation[_0xd64a[38]]({where:{id:_0x7f49x8[_0xd64a[14]][_0xd64a[43]]},individualHooks:true})[_0xd64a[13]](function(){return _0x7f49x9[_0xd64a[20]](204)})[_0xd64a[10]](function(_0x7f49xb){return handleError(_0x7f49x9,_0x7f49xb)})};function handleError(_0x7f49x9,_0x7f49xb){return _0x7f49x9[_0xd64a[12]](500)[_0xd64a[11]](_0x7f49xb)} \ No newline at end of file diff --git a/server/api/automation/automation.events.js b/server/api/automation/automation.events.js index 6d768fe..dae543d 100644 --- a/server/api/automation/automation.events.js +++ b/server/api/automation/automation.events.js @@ -1 +1 @@ -var _0xcc49=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xcc49[0];const EventEmitter=require(_0xcc49[1]);const Automation=require(_0xcc49[3])[_0xcc49[2]];var AutomationEvents= new EventEmitter();AutomationEvents[_0xcc49[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xcc49[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xcc49[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xcc49[6]};for(var e in events){var event=events[e];Automation[_0xcc49[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x7061x8,_0x7061x9,_0x7061xa){AutomationEvents[_0xcc49[10]](event+ _0xcc49[8]+ _0x7061x8[_0xcc49[9]],_0x7061x8);AutomationEvents[_0xcc49[10]](event,_0x7061x8);_0x7061xa(null)}}module[_0xcc49[11]]= AutomationEvents \ No newline at end of file +var _0x179e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x41\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x179e[0];const EventEmitter=require(_0x179e[1]);const Automation=require(_0x179e[3])[_0x179e[2]];var AutomationEvents= new EventEmitter();AutomationEvents[_0x179e[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x179e[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x179e[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x179e[6]};for(var e in events){var event=events[e];Automation[_0x179e[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x1fbdx8,_0x1fbdx9,_0x1fbdxa){AutomationEvents[_0x179e[10]](event+ _0x179e[8]+ _0x1fbdx8[_0x179e[9]],_0x1fbdx8);AutomationEvents[_0x179e[10]](event,_0x1fbdx8);_0x1fbdxa(null)}}module[_0x179e[11]]= AutomationEvents \ No newline at end of file diff --git a/server/api/automation/automation.socket.js b/server/api/automation/automation.socket.js index 32f03c2..280dbb1 100644 --- a/server/api/automation/automation.socket.js +++ b/server/api/automation/automation.socket.js @@ -1 +1 @@ -var _0xb747=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xb747[0];const AutomationEvents=require(_0xb747[1]);var events=[_0xb747[2],_0xb747[3]];exports[_0xb747[4]]= function(_0xf4d7x3){for(var _0xf4d7x4=0,_0xf4d7x5=events[_0xb747[5]];_0xf4d7x4< _0xf4d7x5;_0xf4d7x4++){var _0xf4d7x6=events[_0xf4d7x4];var _0xf4d7x7=createListener(_0xb747[6]+ _0xf4d7x6,_0xf4d7x3);AutomationEvents[_0xb747[7]](_0xf4d7x6,_0xf4d7x7);_0xf4d7x3[_0xb747[7]](_0xb747[8],removeListener(_0xf4d7x6,_0xf4d7x7))}};function createListener(_0xf4d7x6,_0xf4d7x3){return function(_0xf4d7x9){_0xf4d7x3[_0xb747[9]](_0xf4d7x6,_0xf4d7x9)}}function removeListener(_0xf4d7x6,_0xf4d7x7){return function(){AutomationEvents[_0xb747[10]](_0xf4d7x6,_0xf4d7x7)}} \ No newline at end of file +var _0x6c54=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x6c54[0];const AutomationEvents=require(_0x6c54[1]);var events=[_0x6c54[2],_0x6c54[3]];exports[_0x6c54[4]]= function(_0xd9c3x3){for(var _0xd9c3x4=0,_0xd9c3x5=events[_0x6c54[5]];_0xd9c3x4< _0xd9c3x5;_0xd9c3x4++){var _0xd9c3x6=events[_0xd9c3x4];var _0xd9c3x7=createListener(_0x6c54[6]+ _0xd9c3x6,_0xd9c3x3);AutomationEvents[_0x6c54[7]](_0xd9c3x6,_0xd9c3x7);_0xd9c3x3[_0x6c54[7]](_0x6c54[8],removeListener(_0xd9c3x6,_0xd9c3x7))}};function createListener(_0xd9c3x6,_0xd9c3x3){return function(_0xd9c3x9){_0xd9c3x3[_0x6c54[9]](_0xd9c3x6,_0xd9c3x9)}}function removeListener(_0xd9c3x6,_0xd9c3x7){return function(){AutomationEvents[_0x6c54[10]](_0xd9c3x6,_0xd9c3x7)}} \ No newline at end of file diff --git a/server/api/automation/index.js b/server/api/automation/index.js index 9487bae..8e6750f 100644 --- a/server/api/automation/index.js +++ b/server/api/automation/index.js @@ -1 +1 @@ -var _0xc7c7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xc7c7[0];var express=require(_0xc7c7[1]);var controller=require(_0xc7c7[2]);var auth=require(_0xc7c7[3]);var router=express.Router();router[_0xc7c7[9]](_0xc7c7[4],auth[_0xc7c7[5]](),auth[_0xc7c7[7]]([13],[_0xc7c7[6]]),controller[_0xc7c7[8]]);router[_0xc7c7[9]](_0xc7c7[10],auth[_0xc7c7[5]](),auth[_0xc7c7[7]]([13],[_0xc7c7[6]]),controller[_0xc7c7[11]]);router[_0xc7c7[13]](_0xc7c7[4],auth[_0xc7c7[5]](),auth[_0xc7c7[7]]([13],[_0xc7c7[6]]),controller[_0xc7c7[12]]);router[_0xc7c7[15]](_0xc7c7[10],auth[_0xc7c7[5]](),auth[_0xc7c7[7]]([13],[_0xc7c7[6]]),controller[_0xc7c7[14]]);router[_0xc7c7[17]](_0xc7c7[10],auth[_0xc7c7[5]](),auth[_0xc7c7[7]]([13],[_0xc7c7[6]]),controller[_0xc7c7[16]]);router[_0xc7c7[17]](_0xc7c7[4],auth[_0xc7c7[5]](),auth[_0xc7c7[7]]([13],[_0xc7c7[6]]),controller[_0xc7c7[18]]);module[_0xc7c7[19]]= router \ No newline at end of file +var _0x70c4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x61\x75\x74\x6F\x6D\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x70c4[0];var express=require(_0x70c4[1]);var controller=require(_0x70c4[2]);var auth=require(_0x70c4[3]);var router=express.Router();router[_0x70c4[9]](_0x70c4[4],auth[_0x70c4[5]](),auth[_0x70c4[7]]([13],[_0x70c4[6]]),controller[_0x70c4[8]]);router[_0x70c4[9]](_0x70c4[10],auth[_0x70c4[5]](),auth[_0x70c4[7]]([13],[_0x70c4[6]]),controller[_0x70c4[11]]);router[_0x70c4[13]](_0x70c4[4],auth[_0x70c4[5]](),auth[_0x70c4[7]]([13],[_0x70c4[6]]),controller[_0x70c4[12]]);router[_0x70c4[15]](_0x70c4[10],auth[_0x70c4[5]](),auth[_0x70c4[7]]([13],[_0x70c4[6]]),controller[_0x70c4[14]]);router[_0x70c4[17]](_0x70c4[10],auth[_0x70c4[5]](),auth[_0x70c4[7]]([13],[_0x70c4[6]]),controller[_0x70c4[16]]);router[_0x70c4[17]](_0x70c4[4],auth[_0x70c4[5]](),auth[_0x70c4[7]]([13],[_0x70c4[6]]),controller[_0x70c4[18]]);module[_0x70c4[19]]= router \ 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 3ead30b..9b4da25 100644 --- a/server/api/canned_answer/canned_answer.controller.js +++ b/server/api/canned_answer/canned_answer.controller.js @@ -1 +1 @@ -var _0x2f29=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x2f29[0];var _=require(_0x2f29[1]);var Util=require(_0x2f29[2]);var CannedAnswer=require(_0x2f29[4])[_0x2f29[3]];function handleError(_0xbba8x5,_0xbba8x6){_0xbba8x6= _0xbba8x6|| 500;return function(_0xbba8x7){_0xbba8x5[_0x2f29[6]](_0xbba8x6)[_0x2f29[5]](_0xbba8x7)}}function responseWithResult(_0xbba8x5,_0xbba8x6){_0xbba8x6= _0xbba8x6|| 200;return function(_0xbba8x9){if(_0xbba8x9){_0xbba8x5[_0x2f29[6]](_0xbba8x6)[_0x2f29[7]](_0xbba8x9)}}}function handleEntityNotFound(_0xbba8x5){return function(_0xbba8x9){if(!_0xbba8x9){_0xbba8x5[_0x2f29[6]](404)[_0x2f29[8]]();return null};return _0xbba8x9}}function saveUpdates(_0xbba8xc){return function(_0xbba8x9){return _0xbba8x9[_0x2f29[10]](_0xbba8xc)[_0x2f29[9]](function(_0xbba8xd){return _0xbba8xd})}}function removeEntity(_0xbba8x5){return function(_0xbba8x9){if(_0xbba8x9){return _0xbba8x9[_0x2f29[11]]()[_0x2f29[9]](function(){_0xbba8x5[_0x2f29[6]](204)[_0x2f29[8]]()})}}}exports[_0x2f29[12]]= function(_0xbba8xf,_0xbba8x5,_0xbba8x10){return CannedAnswer[_0x2f29[17]](Util[_0x2f29[16]](_0xbba8xf[_0x2f29[15]]))[_0x2f29[9]](function(_0xbba8x11){_0xbba8x5[_0x2f29[6]](200)[_0x2f29[5]](_0xbba8x11)})[_0x2f29[14]](function(_0xbba8x7){console[_0x2f29[13]](_0xbba8x7);return handleError(_0xbba8x5,_0xbba8x7)})};exports[_0x2f29[18]]= function(_0xbba8xf,_0xbba8x5){return CannedAnswer[_0x2f29[21]](_0xbba8xf[_0x2f29[20]][_0x2f29[19]])[_0x2f29[9]](handleEntityNotFound(_0xbba8x5))[_0x2f29[9]](responseWithResult(_0xbba8x5))[_0x2f29[14]](handleError(_0xbba8x5))};exports[_0x2f29[22]]= function(_0xbba8xf,_0xbba8x5){CannedAnswer[_0x2f29[22]](_0xbba8xf[_0x2f29[23]])[_0x2f29[9]](responseWithResult(_0xbba8x5,201))[_0x2f29[14]](handleError(_0xbba8x5))};exports[_0x2f29[24]]= function(_0xbba8xf,_0xbba8x5){if(_0xbba8xf[_0x2f29[23]][_0x2f29[19]]){delete _0xbba8xf[_0x2f29[23]][_0x2f29[19]]};return CannedAnswer[_0x2f29[21]](_0xbba8xf[_0x2f29[20]][_0x2f29[19]])[_0x2f29[9]](handleEntityNotFound(_0xbba8x5))[_0x2f29[9]](saveUpdates(_0xbba8xf[_0x2f29[23]]))[_0x2f29[9]](responseWithResult(_0xbba8x5))[_0x2f29[14]](handleError(_0xbba8x5))};exports[_0x2f29[11]]= function(_0xbba8xf,_0xbba8x5){return CannedAnswer[_0x2f29[21]](_0xbba8xf[_0x2f29[20]][_0x2f29[19]])[_0x2f29[9]](handleEntityNotFound(_0xbba8x5))[_0x2f29[9]](removeEntity(_0xbba8x5))[_0x2f29[14]](handleError(_0xbba8x5))};exports[_0x2f29[25]]= function(_0xbba8xf,_0xbba8x5){return CannedAnswer[_0x2f29[11]]({where:{id:_0xbba8xf[_0x2f29[15]][_0x2f29[27]]},individualHooks:true})[_0x2f29[9]](function(){return _0xbba8x5[_0x2f29[26]](204)})[_0x2f29[14]](function(_0xbba8x7){return handleError(_0xbba8x5,_0xbba8x7)})} \ No newline at end of file +var _0x7638=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64\x73"];_0x7638[0];var _=require(_0x7638[1]);var Util=require(_0x7638[2]);var CannedAnswer=require(_0x7638[4])[_0x7638[3]];function handleError(_0x6f68x5,_0x6f68x6){_0x6f68x6= _0x6f68x6|| 500;return function(_0x6f68x7){_0x6f68x5[_0x7638[6]](_0x6f68x6)[_0x7638[5]](_0x6f68x7)}}function responseWithResult(_0x6f68x5,_0x6f68x6){_0x6f68x6= _0x6f68x6|| 200;return function(_0x6f68x9){if(_0x6f68x9){_0x6f68x5[_0x7638[6]](_0x6f68x6)[_0x7638[7]](_0x6f68x9)}}}function handleEntityNotFound(_0x6f68x5){return function(_0x6f68x9){if(!_0x6f68x9){_0x6f68x5[_0x7638[6]](404)[_0x7638[8]]();return null};return _0x6f68x9}}function saveUpdates(_0x6f68xc){return function(_0x6f68x9){return _0x6f68x9[_0x7638[10]](_0x6f68xc)[_0x7638[9]](function(_0x6f68xd){return _0x6f68xd})}}function removeEntity(_0x6f68x5){return function(_0x6f68x9){if(_0x6f68x9){return _0x6f68x9[_0x7638[11]]()[_0x7638[9]](function(){_0x6f68x5[_0x7638[6]](204)[_0x7638[8]]()})}}}exports[_0x7638[12]]= function(_0x6f68xf,_0x6f68x5,_0x6f68x10){return CannedAnswer[_0x7638[17]](Util[_0x7638[16]](_0x6f68xf[_0x7638[15]]))[_0x7638[9]](function(_0x6f68x11){_0x6f68x5[_0x7638[6]](200)[_0x7638[5]](_0x6f68x11)})[_0x7638[14]](function(_0x6f68x7){console[_0x7638[13]](_0x6f68x7);return handleError(_0x6f68x5,_0x6f68x7)})};exports[_0x7638[18]]= function(_0x6f68xf,_0x6f68x5){return CannedAnswer[_0x7638[21]](_0x6f68xf[_0x7638[20]][_0x7638[19]])[_0x7638[9]](handleEntityNotFound(_0x6f68x5))[_0x7638[9]](responseWithResult(_0x6f68x5))[_0x7638[14]](handleError(_0x6f68x5))};exports[_0x7638[22]]= function(_0x6f68xf,_0x6f68x5){CannedAnswer[_0x7638[22]](_0x6f68xf[_0x7638[23]])[_0x7638[9]](responseWithResult(_0x6f68x5,201))[_0x7638[14]](handleError(_0x6f68x5))};exports[_0x7638[24]]= function(_0x6f68xf,_0x6f68x5){if(_0x6f68xf[_0x7638[23]][_0x7638[19]]){delete _0x6f68xf[_0x7638[23]][_0x7638[19]]};return CannedAnswer[_0x7638[21]](_0x6f68xf[_0x7638[20]][_0x7638[19]])[_0x7638[9]](handleEntityNotFound(_0x6f68x5))[_0x7638[9]](saveUpdates(_0x6f68xf[_0x7638[23]]))[_0x7638[9]](responseWithResult(_0x6f68x5))[_0x7638[14]](handleError(_0x6f68x5))};exports[_0x7638[11]]= function(_0x6f68xf,_0x6f68x5){return CannedAnswer[_0x7638[21]](_0x6f68xf[_0x7638[20]][_0x7638[19]])[_0x7638[9]](handleEntityNotFound(_0x6f68x5))[_0x7638[9]](removeEntity(_0x6f68x5))[_0x7638[14]](handleError(_0x6f68x5))};exports[_0x7638[25]]= function(_0x6f68xf,_0x6f68x5){return CannedAnswer[_0x7638[11]]({where:{id:_0x6f68xf[_0x7638[15]][_0x7638[27]]},individualHooks:true})[_0x7638[9]](function(){return _0x6f68x5[_0x7638[26]](204)})[_0x7638[14]](function(_0x6f68x7){return handleError(_0x6f68x5,_0x6f68x7)})} \ 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 95485d3..4bf6b72 100644 --- a/server/api/canned_answer/canned_answer.events.js +++ b/server/api/canned_answer/canned_answer.events.js @@ -1 +1 @@ -var _0xc825=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xc825[0];const EventEmitter=require(_0xc825[1]);const CannedAnswer=require(_0xc825[3])[_0xc825[2]];var CannedAnswerEvents= new EventEmitter();CannedAnswerEvents[_0xc825[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xc825[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xc825[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xc825[6]};for(var e in events){var event=events[e];CannedAnswer[_0xc825[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xf463x8,_0xf463x9,_0xf463xa){CannedAnswerEvents[_0xc825[10]](event+ _0xc825[8]+ _0xf463x8[_0xc825[9]],_0xf463x8);CannedAnswerEvents[_0xc825[10]](event,_0xf463x8);_0xf463xa(null)}}module[_0xc825[11]]= CannedAnswerEvents \ No newline at end of file +var _0xae12=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x61\x6E\x6E\x65\x64\x41\x6E\x73\x77\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xae12[0];const EventEmitter=require(_0xae12[1]);const CannedAnswer=require(_0xae12[3])[_0xae12[2]];var CannedAnswerEvents= new EventEmitter();CannedAnswerEvents[_0xae12[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xae12[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xae12[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xae12[6]};for(var e in events){var event=events[e];CannedAnswer[_0xae12[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x276bx8,_0x276bx9,_0x276bxa){CannedAnswerEvents[_0xae12[10]](event+ _0xae12[8]+ _0x276bx8[_0xae12[9]],_0x276bx8);CannedAnswerEvents[_0xae12[10]](event,_0x276bx8);_0x276bxa(null)}}module[_0xae12[11]]= CannedAnswerEvents \ 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 8c0ab13..8a4aec9 100644 --- a/server/api/canned_answer/canned_answer.socket.js +++ b/server/api/canned_answer/canned_answer.socket.js @@ -1 +1 @@ -var _0xc2dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xc2dc[0];const CannedAnswerEvents=require(_0xc2dc[1]);var events=[_0xc2dc[2],_0xc2dc[3]];exports[_0xc2dc[4]]= function(_0xfe10x3){for(var _0xfe10x4=0,_0xfe10x5=events[_0xc2dc[5]];_0xfe10x4< _0xfe10x5;_0xfe10x4++){var _0xfe10x6=events[_0xfe10x4];var _0xfe10x7=createListener(_0xc2dc[6]+ _0xfe10x6,_0xfe10x3);CannedAnswerEvents[_0xc2dc[7]](_0xfe10x6,_0xfe10x7);_0xfe10x3[_0xc2dc[7]](_0xc2dc[8],removeListener(_0xfe10x6,_0xfe10x7))}};function createListener(_0xfe10x6,_0xfe10x3){return function(_0xfe10x9){_0xfe10x3[_0xc2dc[9]](_0xfe10x6,_0xfe10x9)}}function removeListener(_0xfe10x6,_0xfe10x7){return function(){CannedAnswerEvents[_0xc2dc[10]](_0xfe10x6,_0xfe10x7)}} \ No newline at end of file +var _0x2554=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x2554[0];const CannedAnswerEvents=require(_0x2554[1]);var events=[_0x2554[2],_0x2554[3]];exports[_0x2554[4]]= function(_0xfdd0x3){for(var _0xfdd0x4=0,_0xfdd0x5=events[_0x2554[5]];_0xfdd0x4< _0xfdd0x5;_0xfdd0x4++){var _0xfdd0x6=events[_0xfdd0x4];var _0xfdd0x7=createListener(_0x2554[6]+ _0xfdd0x6,_0xfdd0x3);CannedAnswerEvents[_0x2554[7]](_0xfdd0x6,_0xfdd0x7);_0xfdd0x3[_0x2554[7]](_0x2554[8],removeListener(_0xfdd0x6,_0xfdd0x7))}};function createListener(_0xfdd0x6,_0xfdd0x3){return function(_0xfdd0x9){_0xfdd0x3[_0x2554[9]](_0xfdd0x6,_0xfdd0x9)}}function removeListener(_0xfdd0x6,_0xfdd0x7){return function(){CannedAnswerEvents[_0x2554[10]](_0xfdd0x6,_0xfdd0x7)}} \ No newline at end of file diff --git a/server/api/canned_answer/index.js b/server/api/canned_answer/index.js index 713f7ff..66fef8f 100644 --- a/server/api/canned_answer/index.js +++ b/server/api/canned_answer/index.js @@ -1 +1 @@ -var _0xd907=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xd907[0];var express=require(_0xd907[1]);var auth=require(_0xd907[2]);var controller=require(_0xd907[3]);var router=express.Router();router[_0xd907[10]](_0xd907[4],auth[_0xd907[5]](),auth[_0xd907[8]]([13],[_0xd907[6],_0xd907[7]]),controller[_0xd907[9]]);router[_0xd907[10]](_0xd907[11],auth[_0xd907[5]](),auth[_0xd907[8]]([13],[_0xd907[6]]),controller[_0xd907[12]]);router[_0xd907[14]](_0xd907[4],auth[_0xd907[5]](),auth[_0xd907[8]]([13],[_0xd907[6]]),controller[_0xd907[13]]);router[_0xd907[16]](_0xd907[11],auth[_0xd907[5]](),auth[_0xd907[8]]([13],[_0xd907[6]]),controller[_0xd907[15]]);router[_0xd907[18]](_0xd907[4],auth[_0xd907[5]](),auth[_0xd907[8]]([13],[_0xd907[6]]),controller[_0xd907[17]]);router[_0xd907[18]](_0xd907[11],auth[_0xd907[5]](),auth[_0xd907[8]]([13],[_0xd907[6]]),controller[_0xd907[19]]);module[_0xd907[20]]= router \ No newline at end of file +var _0xfd1f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x61\x6E\x6E\x65\x64\x5F\x61\x6E\x73\x77\x65\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xfd1f[0];var express=require(_0xfd1f[1]);var auth=require(_0xfd1f[2]);var controller=require(_0xfd1f[3]);var router=express.Router();router[_0xfd1f[10]](_0xfd1f[4],auth[_0xfd1f[5]](),auth[_0xfd1f[8]]([13],[_0xfd1f[6],_0xfd1f[7]]),controller[_0xfd1f[9]]);router[_0xfd1f[10]](_0xfd1f[11],auth[_0xfd1f[5]](),auth[_0xfd1f[8]]([13],[_0xfd1f[6]]),controller[_0xfd1f[12]]);router[_0xfd1f[14]](_0xfd1f[4],auth[_0xfd1f[5]](),auth[_0xfd1f[8]]([13],[_0xfd1f[6]]),controller[_0xfd1f[13]]);router[_0xfd1f[16]](_0xfd1f[11],auth[_0xfd1f[5]](),auth[_0xfd1f[8]]([13],[_0xfd1f[6]]),controller[_0xfd1f[15]]);router[_0xfd1f[18]](_0xfd1f[4],auth[_0xfd1f[5]](),auth[_0xfd1f[8]]([13],[_0xfd1f[6]]),controller[_0xfd1f[17]]);router[_0xfd1f[18]](_0xfd1f[11],auth[_0xfd1f[5]](),auth[_0xfd1f[8]]([13],[_0xfd1f[6]]),controller[_0xfd1f[19]]);module[_0xfd1f[20]]= router \ No newline at end of file diff --git a/server/api/chanspy/chanspy.controller.js b/server/api/chanspy/chanspy.controller.js index 2fc514f..c162e13 100644 --- a/server/api/chanspy/chanspy.controller.js +++ b/server/api/chanspy/chanspy.controller.js @@ -1 +1 @@ -var _0xf5d6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xf5d6[0];var _=require(_0xf5d6[1]);var ChanSpy=require(_0xf5d6[3])[_0xf5d6[2]];var Util=require(_0xf5d6[4]);exports[_0xf5d6[5]]= function(_0x2549x4,_0x2549x5,_0x2549x6){return ChanSpy[_0xf5d6[13]](Util[_0xf5d6[12]](_0x2549x4[_0xf5d6[11]]))[_0xf5d6[10]](function(_0x2549x8){_0x2549x5[_0xf5d6[9]](200)[_0xf5d6[8]](_0x2549x8)})[_0xf5d6[7]](function(_0x2549x7){console[_0xf5d6[6]](_0x2549x7);return handleError(_0x2549x5,_0x2549x7)})};exports[_0xf5d6[14]]= function(_0x2549x4,_0x2549x5){return ChanSpy[_0xf5d6[18]](_0x2549x4[_0xf5d6[17]][_0xf5d6[16]])[_0xf5d6[10]](function(_0x2549x9){if(!_0x2549x9){return _0x2549x5[_0xf5d6[15]](404)};return _0x2549x5[_0xf5d6[8]](_0x2549x9)})[_0xf5d6[7]](function(_0x2549x7){return handleError(_0x2549x5,_0x2549x7)})};exports[_0xf5d6[19]]= function(_0x2549x4,_0x2549x5){return ChanSpy[_0xf5d6[19]](_0x2549x4[_0xf5d6[20]])[_0xf5d6[10]](function(_0x2549x9){return _0x2549x5[_0xf5d6[9]](201)[_0xf5d6[8]](_0x2549x9)})[_0xf5d6[7]](function(_0x2549x7){return handleError(_0x2549x5,_0x2549x7)})};exports[_0xf5d6[21]]= function(_0x2549x4,_0x2549x5){if(_0x2549x4[_0xf5d6[20]][_0xf5d6[16]]){delete _0x2549x4[_0xf5d6[20]][_0xf5d6[16]]};return ChanSpy[_0xf5d6[18]](_0x2549x4[_0xf5d6[17]][_0xf5d6[16]])[_0xf5d6[10]](function(_0x2549x9){if(!_0x2549x9){return _0x2549x5[_0xf5d6[15]](404)};var _0x2549xa=_[_0xf5d6[22]](_0x2549x9,_0x2549x4[_0xf5d6[20]]);return _0x2549xa[_0xf5d6[23]]()})[_0xf5d6[10]](function(_0x2549x9){return _0x2549x5[_0xf5d6[9]](200)[_0xf5d6[8]](_0x2549x9)})[_0xf5d6[7]](function(_0x2549x7){return handleError(_0x2549x5,_0x2549x7)})};exports[_0xf5d6[24]]= function(_0x2549x4,_0x2549x5){return ChanSpy[_0xf5d6[18]](_0x2549x4[_0xf5d6[17]][_0xf5d6[16]])[_0xf5d6[10]](function(_0x2549x9){if(!_0x2549x9){return _0x2549x5[_0xf5d6[15]](404)};return _0x2549x9[_0xf5d6[24]]()})[_0xf5d6[10]](function(){return _0x2549x5[_0xf5d6[15]](204)})[_0xf5d6[7]](function(_0x2549x7){return handleError(_0x2549x5,_0x2549x7)})};exports[_0xf5d6[25]]= function(_0x2549x4,_0x2549x5){return ChanSpy[_0xf5d6[24]]({where:{id:_0x2549x4[_0xf5d6[11]][_0xf5d6[26]]},individualHooks:true})[_0xf5d6[10]](function(){return _0x2549x5[_0xf5d6[15]](204)})[_0xf5d6[7]](function(_0x2549x7){return handleError(_0x2549x5,_0x2549x7)})};function handleError(_0x2549x5,_0x2549x7){return _0x2549x5[_0xf5d6[9]](500)[_0xf5d6[8]](_0x2549x7)} \ No newline at end of file +var _0x7ec4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x7ec4[0];var _=require(_0x7ec4[1]);var ChanSpy=require(_0x7ec4[3])[_0x7ec4[2]];var Util=require(_0x7ec4[4]);exports[_0x7ec4[5]]= function(_0x8162x4,_0x8162x5,_0x8162x6){return ChanSpy[_0x7ec4[13]](Util[_0x7ec4[12]](_0x8162x4[_0x7ec4[11]]))[_0x7ec4[10]](function(_0x8162x8){_0x8162x5[_0x7ec4[9]](200)[_0x7ec4[8]](_0x8162x8)})[_0x7ec4[7]](function(_0x8162x7){console[_0x7ec4[6]](_0x8162x7);return handleError(_0x8162x5,_0x8162x7)})};exports[_0x7ec4[14]]= function(_0x8162x4,_0x8162x5){return ChanSpy[_0x7ec4[18]](_0x8162x4[_0x7ec4[17]][_0x7ec4[16]])[_0x7ec4[10]](function(_0x8162x9){if(!_0x8162x9){return _0x8162x5[_0x7ec4[15]](404)};return _0x8162x5[_0x7ec4[8]](_0x8162x9)})[_0x7ec4[7]](function(_0x8162x7){return handleError(_0x8162x5,_0x8162x7)})};exports[_0x7ec4[19]]= function(_0x8162x4,_0x8162x5){return ChanSpy[_0x7ec4[19]](_0x8162x4[_0x7ec4[20]])[_0x7ec4[10]](function(_0x8162x9){return _0x8162x5[_0x7ec4[9]](201)[_0x7ec4[8]](_0x8162x9)})[_0x7ec4[7]](function(_0x8162x7){return handleError(_0x8162x5,_0x8162x7)})};exports[_0x7ec4[21]]= function(_0x8162x4,_0x8162x5){if(_0x8162x4[_0x7ec4[20]][_0x7ec4[16]]){delete _0x8162x4[_0x7ec4[20]][_0x7ec4[16]]};return ChanSpy[_0x7ec4[18]](_0x8162x4[_0x7ec4[17]][_0x7ec4[16]])[_0x7ec4[10]](function(_0x8162x9){if(!_0x8162x9){return _0x8162x5[_0x7ec4[15]](404)};var _0x8162xa=_[_0x7ec4[22]](_0x8162x9,_0x8162x4[_0x7ec4[20]]);return _0x8162xa[_0x7ec4[23]]()})[_0x7ec4[10]](function(_0x8162x9){return _0x8162x5[_0x7ec4[9]](200)[_0x7ec4[8]](_0x8162x9)})[_0x7ec4[7]](function(_0x8162x7){return handleError(_0x8162x5,_0x8162x7)})};exports[_0x7ec4[24]]= function(_0x8162x4,_0x8162x5){return ChanSpy[_0x7ec4[18]](_0x8162x4[_0x7ec4[17]][_0x7ec4[16]])[_0x7ec4[10]](function(_0x8162x9){if(!_0x8162x9){return _0x8162x5[_0x7ec4[15]](404)};return _0x8162x9[_0x7ec4[24]]()})[_0x7ec4[10]](function(){return _0x8162x5[_0x7ec4[15]](204)})[_0x7ec4[7]](function(_0x8162x7){return handleError(_0x8162x5,_0x8162x7)})};exports[_0x7ec4[25]]= function(_0x8162x4,_0x8162x5){return ChanSpy[_0x7ec4[24]]({where:{id:_0x8162x4[_0x7ec4[11]][_0x7ec4[26]]},individualHooks:true})[_0x7ec4[10]](function(){return _0x8162x5[_0x7ec4[15]](204)})[_0x7ec4[7]](function(_0x8162x7){return handleError(_0x8162x5,_0x8162x7)})};function handleError(_0x8162x5,_0x8162x7){return _0x8162x5[_0x7ec4[9]](500)[_0x7ec4[8]](_0x8162x7)} \ No newline at end of file diff --git a/server/api/chanspy/chanspy.events.js b/server/api/chanspy/chanspy.events.js index 86b7721..76524aa 100644 --- a/server/api/chanspy/chanspy.events.js +++ b/server/api/chanspy/chanspy.events.js @@ -1 +1 @@ -var _0x184d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x184d[0];const EventEmitter=require(_0x184d[1]);const ChanSpy=require(_0x184d[3])[_0x184d[2]];var ChanSpyEvents= new EventEmitter();ChanSpyEvents[_0x184d[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x184d[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x184d[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x184d[6]};for(var e in events){var event=events[e];ChanSpy[_0x184d[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x81b2x8,_0x81b2x9,_0x81b2xa){ChanSpyEvents[_0x184d[10]](event+ _0x184d[8]+ _0x81b2x8[_0x184d[9]],_0x81b2x8);ChanSpyEvents[_0x184d[10]](event,_0x81b2x8);_0x81b2xa(null)}}module[_0x184d[11]]= ChanSpyEvents \ No newline at end of file +var _0xfea2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x6E\x53\x70\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xfea2[0];const EventEmitter=require(_0xfea2[1]);const ChanSpy=require(_0xfea2[3])[_0xfea2[2]];var ChanSpyEvents= new EventEmitter();ChanSpyEvents[_0xfea2[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xfea2[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xfea2[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xfea2[6]};for(var e in events){var event=events[e];ChanSpy[_0xfea2[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x76d0x8,_0x76d0x9,_0x76d0xa){ChanSpyEvents[_0xfea2[10]](event+ _0xfea2[8]+ _0x76d0x8[_0xfea2[9]],_0x76d0x8);ChanSpyEvents[_0xfea2[10]](event,_0x76d0x8);_0x76d0xa(null)}}module[_0xfea2[11]]= ChanSpyEvents \ No newline at end of file diff --git a/server/api/chanspy/chanspy.socket.js b/server/api/chanspy/chanspy.socket.js index 026df29..1270102 100644 --- a/server/api/chanspy/chanspy.socket.js +++ b/server/api/chanspy/chanspy.socket.js @@ -1 +1 @@ -var _0x655a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x6E\x73\x70\x79\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x655a[0];const ChanSpyEvents=require(_0x655a[1]);var events=[_0x655a[2],_0x655a[3]];exports[_0x655a[4]]= function(_0x371cx3){for(var _0x371cx4=0,_0x371cx5=events[_0x655a[5]];_0x371cx4< _0x371cx5;_0x371cx4++){var _0x371cx6=events[_0x371cx4];var _0x371cx7=createListener(_0x655a[6]+ _0x371cx6,_0x371cx3);ChanSpyEvents[_0x655a[7]](_0x371cx6,_0x371cx7);_0x371cx3[_0x655a[7]](_0x655a[8],removeListener(_0x371cx6,_0x371cx7))}};function createListener(_0x371cx6,_0x371cx3){return function(_0x371cx9){_0x371cx3[_0x655a[9]](_0x371cx6,_0x371cx9)}}function removeListener(_0x371cx6,_0x371cx7){return function(){ChanSpyEvents[_0x655a[10]](_0x371cx6,_0x371cx7)}} \ No newline at end of file +var _0x1c69=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x6E\x73\x70\x79\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x1c69[0];const ChanSpyEvents=require(_0x1c69[1]);var events=[_0x1c69[2],_0x1c69[3]];exports[_0x1c69[4]]= function(_0x760fx3){for(var _0x760fx4=0,_0x760fx5=events[_0x1c69[5]];_0x760fx4< _0x760fx5;_0x760fx4++){var _0x760fx6=events[_0x760fx4];var _0x760fx7=createListener(_0x1c69[6]+ _0x760fx6,_0x760fx3);ChanSpyEvents[_0x1c69[7]](_0x760fx6,_0x760fx7);_0x760fx3[_0x1c69[7]](_0x1c69[8],removeListener(_0x760fx6,_0x760fx7))}};function createListener(_0x760fx6,_0x760fx3){return function(_0x760fx9){_0x760fx3[_0x1c69[9]](_0x760fx6,_0x760fx9)}}function removeListener(_0x760fx6,_0x760fx7){return function(){ChanSpyEvents[_0x1c69[10]](_0x760fx6,_0x760fx7)}} \ No newline at end of file diff --git a/server/api/chanspy/index.js b/server/api/chanspy/index.js index d46c7f7..5e82a98 100644 --- a/server/api/chanspy/index.js +++ b/server/api/chanspy/index.js @@ -1 +1 @@ -var _0x33c9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x33c9[0];var express=require(_0x33c9[1]);var controller=require(_0x33c9[2]);var auth=require(_0x33c9[3]);var router=express.Router();router[_0x33c9[9]](_0x33c9[4],auth[_0x33c9[5]](),auth[_0x33c9[7]]([7],[_0x33c9[6]]),controller[_0x33c9[8]]);router[_0x33c9[9]](_0x33c9[10],auth[_0x33c9[5]](),auth[_0x33c9[7]]([7],[_0x33c9[6]]),controller[_0x33c9[11]]);router[_0x33c9[13]](_0x33c9[4],auth[_0x33c9[5]](),auth[_0x33c9[7]]([7],[_0x33c9[6]]),controller[_0x33c9[12]]);router[_0x33c9[15]](_0x33c9[10],auth[_0x33c9[5]](),auth[_0x33c9[7]]([7],[_0x33c9[6]]),controller[_0x33c9[14]]);router[_0x33c9[17]](_0x33c9[4],auth[_0x33c9[5]](),auth[_0x33c9[7]]([7],[_0x33c9[6]]),controller[_0x33c9[16]]);router[_0x33c9[17]](_0x33c9[10],auth[_0x33c9[5]](),auth[_0x33c9[7]]([7],[_0x33c9[6]]),controller[_0x33c9[18]]);module[_0x33c9[19]]= router \ No newline at end of file +var _0x7bed=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x6E\x73\x70\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x7bed[0];var express=require(_0x7bed[1]);var controller=require(_0x7bed[2]);var auth=require(_0x7bed[3]);var router=express.Router();router[_0x7bed[9]](_0x7bed[4],auth[_0x7bed[5]](),auth[_0x7bed[7]]([7],[_0x7bed[6]]),controller[_0x7bed[8]]);router[_0x7bed[9]](_0x7bed[10],auth[_0x7bed[5]](),auth[_0x7bed[7]]([7],[_0x7bed[6]]),controller[_0x7bed[11]]);router[_0x7bed[13]](_0x7bed[4],auth[_0x7bed[5]](),auth[_0x7bed[7]]([7],[_0x7bed[6]]),controller[_0x7bed[12]]);router[_0x7bed[15]](_0x7bed[10],auth[_0x7bed[5]](),auth[_0x7bed[7]]([7],[_0x7bed[6]]),controller[_0x7bed[14]]);router[_0x7bed[17]](_0x7bed[4],auth[_0x7bed[5]](),auth[_0x7bed[7]]([7],[_0x7bed[6]]),controller[_0x7bed[16]]);router[_0x7bed[17]](_0x7bed[10],auth[_0x7bed[5]](),auth[_0x7bed[7]]([7],[_0x7bed[6]]),controller[_0x7bed[18]]);module[_0x7bed[19]]= router \ 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 e815556..6374ced 100644 --- a/server/api/chat_application/chat_application.controller.js +++ b/server/api/chat_application/chat_application.controller.js @@ -1 +1 @@ -var _0x956e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x956e[0];var _=require(_0x956e[1]);var ChatApplication=require(_0x956e[3])[_0x956e[2]];exports[_0x956e[4]]= function(_0x11b7x3,_0x11b7x4){return ChatApplication[_0x956e[11]]({where:_0x11b7x3[_0x956e[9]],order:_0x956e[10],include:[{all:true}]})[_0x956e[8]](function(_0x11b7x6){return _0x11b7x4[_0x956e[7]](200)[_0x956e[6]](_0x11b7x6)})[_0x956e[5]](function(_0x11b7x5){return handleError(_0x11b7x4,_0x11b7x5)})};exports[_0x956e[12]]= function(_0x11b7x3,_0x11b7x4){return ChatApplication[_0x956e[16]](_0x11b7x3[_0x956e[15]][_0x956e[14]])[_0x956e[8]](function(_0x11b7x7){if(!_0x11b7x7){return _0x11b7x4[_0x956e[13]](404)};return _0x11b7x4[_0x956e[6]](_0x11b7x7)})[_0x956e[5]](function(_0x11b7x5){return handleError(_0x11b7x4,_0x11b7x5)})};exports[_0x956e[17]]= function(_0x11b7x3,_0x11b7x4,_0x11b7x8){return ChatApplication[_0x956e[20]](_0x956e[10],{where:{ChatWebsiteId:_0x11b7x3[_0x956e[18]][_0x956e[19]]}})[_0x956e[8]](function(_0x11b7xa){_0x11b7x3[_0x956e[18]][_0x956e[10]]= _0x11b7xa?++_0x11b7xa:1;return ChatApplication[_0x956e[17]](_0x11b7x3[_0x956e[18]])})[_0x956e[8]](function(_0x11b7x9){return _0x11b7x4[_0x956e[7]](201)[_0x956e[6]](_0x11b7x9)})[_0x956e[5]](function(_0x11b7x5){_0x11b7x8(_0x11b7x5)})};exports[_0x956e[21]]= function(_0x11b7x3,_0x11b7x4){if(_0x11b7x3[_0x956e[18]][_0x956e[14]]){delete _0x11b7x3[_0x956e[18]][_0x956e[14]]};return ChatApplication[_0x956e[16]](_0x11b7x3[_0x956e[15]][_0x956e[14]])[_0x956e[8]](function(_0x11b7x7){if(!_0x11b7x7){return _0x11b7x4[_0x956e[13]](404)};var _0x11b7xb=_[_0x956e[22]](_0x11b7x7,_0x11b7x3[_0x956e[18]]);return _0x11b7xb[_0x956e[23]]()})[_0x956e[8]](function(_0x11b7x7){return _0x11b7x4[_0x956e[7]](200)[_0x956e[6]](_0x11b7x7)})[_0x956e[5]](function(_0x11b7x5){return handleError(_0x11b7x4,_0x11b7x5)})};exports[_0x956e[24]]= function(_0x11b7x3,_0x11b7x4){return ChatApplication[_0x956e[16]](_0x11b7x3[_0x956e[15]][_0x956e[14]])[_0x956e[8]](function(_0x11b7x7){if(!_0x11b7x7){return _0x11b7x4[_0x956e[13]](404)};return _0x11b7x7[_0x956e[24]]()})[_0x956e[8]](function(){return _0x11b7x4[_0x956e[13]](204)})[_0x956e[5]](function(_0x11b7x5){return handleError(_0x11b7x4,_0x11b7x5)})};function handleError(_0x11b7x4,_0x11b7x5){return _0x11b7x4[_0x956e[7]](500)[_0x956e[6]](_0x11b7x5)} \ No newline at end of file +var _0xa260=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xa260[0];var _=require(_0xa260[1]);var ChatApplication=require(_0xa260[3])[_0xa260[2]];exports[_0xa260[4]]= function(_0x8a07x3,_0x8a07x4){return ChatApplication[_0xa260[11]]({where:_0x8a07x3[_0xa260[9]],order:_0xa260[10],include:[{all:true}]})[_0xa260[8]](function(_0x8a07x6){return _0x8a07x4[_0xa260[7]](200)[_0xa260[6]](_0x8a07x6)})[_0xa260[5]](function(_0x8a07x5){return handleError(_0x8a07x4,_0x8a07x5)})};exports[_0xa260[12]]= function(_0x8a07x3,_0x8a07x4){return ChatApplication[_0xa260[16]](_0x8a07x3[_0xa260[15]][_0xa260[14]])[_0xa260[8]](function(_0x8a07x7){if(!_0x8a07x7){return _0x8a07x4[_0xa260[13]](404)};return _0x8a07x4[_0xa260[6]](_0x8a07x7)})[_0xa260[5]](function(_0x8a07x5){return handleError(_0x8a07x4,_0x8a07x5)})};exports[_0xa260[17]]= function(_0x8a07x3,_0x8a07x4,_0x8a07x8){return ChatApplication[_0xa260[20]](_0xa260[10],{where:{ChatWebsiteId:_0x8a07x3[_0xa260[18]][_0xa260[19]]}})[_0xa260[8]](function(_0x8a07xa){_0x8a07x3[_0xa260[18]][_0xa260[10]]= _0x8a07xa?++_0x8a07xa:1;return ChatApplication[_0xa260[17]](_0x8a07x3[_0xa260[18]])})[_0xa260[8]](function(_0x8a07x9){return _0x8a07x4[_0xa260[7]](201)[_0xa260[6]](_0x8a07x9)})[_0xa260[5]](function(_0x8a07x5){_0x8a07x8(_0x8a07x5)})};exports[_0xa260[21]]= function(_0x8a07x3,_0x8a07x4){if(_0x8a07x3[_0xa260[18]][_0xa260[14]]){delete _0x8a07x3[_0xa260[18]][_0xa260[14]]};return ChatApplication[_0xa260[16]](_0x8a07x3[_0xa260[15]][_0xa260[14]])[_0xa260[8]](function(_0x8a07x7){if(!_0x8a07x7){return _0x8a07x4[_0xa260[13]](404)};var _0x8a07xb=_[_0xa260[22]](_0x8a07x7,_0x8a07x3[_0xa260[18]]);return _0x8a07xb[_0xa260[23]]()})[_0xa260[8]](function(_0x8a07x7){return _0x8a07x4[_0xa260[7]](200)[_0xa260[6]](_0x8a07x7)})[_0xa260[5]](function(_0x8a07x5){return handleError(_0x8a07x4,_0x8a07x5)})};exports[_0xa260[24]]= function(_0x8a07x3,_0x8a07x4){return ChatApplication[_0xa260[16]](_0x8a07x3[_0xa260[15]][_0xa260[14]])[_0xa260[8]](function(_0x8a07x7){if(!_0x8a07x7){return _0x8a07x4[_0xa260[13]](404)};return _0x8a07x7[_0xa260[24]]()})[_0xa260[8]](function(){return _0x8a07x4[_0xa260[13]](204)})[_0xa260[5]](function(_0x8a07x5){return handleError(_0x8a07x4,_0x8a07x5)})};function handleError(_0x8a07x4,_0x8a07x5){return _0x8a07x4[_0xa260[7]](500)[_0xa260[6]](_0x8a07x5)} \ 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 aab8f2b..da50fcd 100644 --- a/server/api/chat_application/chat_application.events.js +++ b/server/api/chat_application/chat_application.events.js @@ -1 +1 @@ -var _0x2bf6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x2bf6[0];const EventEmitter=require(_0x2bf6[1]);const ChatApplication=require(_0x2bf6[3])[_0x2bf6[2]];var ChatApplicationEvents= new EventEmitter();ChatApplicationEvents[_0x2bf6[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x2bf6[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x2bf6[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x2bf6[6]};for(var e in events){var event=events[e];ChatApplication[_0x2bf6[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x836fx8,_0x836fx9,_0x836fxa){ChatApplicationEvents[_0x2bf6[10]](event+ _0x2bf6[8]+ _0x836fx8[_0x2bf6[9]],_0x836fx8);ChatApplicationEvents[_0x2bf6[10]](event,_0x836fx8);_0x836fxa(null)}}module[_0x2bf6[11]]= ChatApplicationEvents \ No newline at end of file +var _0x5051=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5051[0];const EventEmitter=require(_0x5051[1]);const ChatApplication=require(_0x5051[3])[_0x5051[2]];var ChatApplicationEvents= new EventEmitter();ChatApplicationEvents[_0x5051[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x5051[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x5051[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x5051[6]};for(var e in events){var event=events[e];ChatApplication[_0x5051[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x4353x8,_0x4353x9,_0x4353xa){ChatApplicationEvents[_0x5051[10]](event+ _0x5051[8]+ _0x4353x8[_0x5051[9]],_0x4353x8);ChatApplicationEvents[_0x5051[10]](event,_0x4353x8);_0x4353xa(null)}}module[_0x5051[11]]= ChatApplicationEvents \ 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 f9f0bbe..e8c9164 100644 --- a/server/api/chat_application/chat_application.socket.js +++ b/server/api/chat_application/chat_application.socket.js @@ -1 +1 @@ -var _0x8cd1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x8cd1[0];const ChatApplicationEvents=require(_0x8cd1[1]);var events=[_0x8cd1[2],_0x8cd1[3]];exports[_0x8cd1[4]]= function(_0x1335x3){for(var _0x1335x4=0,_0x1335x5=events[_0x8cd1[5]];_0x1335x4< _0x1335x5;_0x1335x4++){var _0x1335x6=events[_0x1335x4];var _0x1335x7=createListener(_0x8cd1[6]+ _0x1335x6,_0x1335x3);ChatApplicationEvents[_0x8cd1[7]](_0x1335x6,_0x1335x7);_0x1335x3[_0x8cd1[7]](_0x8cd1[8],removeListener(_0x1335x6,_0x1335x7))}};function createListener(_0x1335x6,_0x1335x3){return function(_0x1335x9){_0x1335x3[_0x8cd1[9]](_0x1335x6,_0x1335x9)}}function removeListener(_0x1335x6,_0x1335x7){return function(){ChatApplicationEvents[_0x8cd1[10]](_0x1335x6,_0x1335x7)}} \ No newline at end of file +var _0xfbf7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xfbf7[0];const ChatApplicationEvents=require(_0xfbf7[1]);var events=[_0xfbf7[2],_0xfbf7[3]];exports[_0xfbf7[4]]= function(_0x50b5x3){for(var _0x50b5x4=0,_0x50b5x5=events[_0xfbf7[5]];_0x50b5x4< _0x50b5x5;_0x50b5x4++){var _0x50b5x6=events[_0x50b5x4];var _0x50b5x7=createListener(_0xfbf7[6]+ _0x50b5x6,_0x50b5x3);ChatApplicationEvents[_0xfbf7[7]](_0x50b5x6,_0x50b5x7);_0x50b5x3[_0xfbf7[7]](_0xfbf7[8],removeListener(_0x50b5x6,_0x50b5x7))}};function createListener(_0x50b5x6,_0x50b5x3){return function(_0x50b5x9){_0x50b5x3[_0xfbf7[9]](_0x50b5x6,_0x50b5x9)}}function removeListener(_0x50b5x6,_0x50b5x7){return function(){ChatApplicationEvents[_0xfbf7[10]](_0x50b5x6,_0x50b5x7)}} \ No newline at end of file diff --git a/server/api/chat_application/index.js b/server/api/chat_application/index.js index 70b959c..c28411c 100644 --- a/server/api/chat_application/index.js +++ b/server/api/chat_application/index.js @@ -1 +1 @@ -var _0xebcf=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xebcf[0];var express=require(_0xebcf[1]);var controller=require(_0xebcf[2]);var license=require(_0xebcf[3]);var auth=require(_0xebcf[4]);var router=express.Router();router[_0xebcf[12]](_0xebcf[5],license[_0xebcf[6]](),license[_0xebcf[7]](),auth[_0xebcf[8]](),auth[_0xebcf[10]]([8],[_0xebcf[9]]),controller[_0xebcf[11]]);router[_0xebcf[12]](_0xebcf[13],license[_0xebcf[6]](),license[_0xebcf[7]](),auth[_0xebcf[8]](),auth[_0xebcf[10]]([8],[_0xebcf[9]]),controller[_0xebcf[14]]);router[_0xebcf[16]](_0xebcf[5],license[_0xebcf[6]](),license[_0xebcf[7]](),auth[_0xebcf[8]](),auth[_0xebcf[10]]([8],[_0xebcf[9]]),controller[_0xebcf[15]]);router[_0xebcf[18]](_0xebcf[13],license[_0xebcf[6]](),license[_0xebcf[7]](),auth[_0xebcf[8]](),auth[_0xebcf[10]]([8],[_0xebcf[9]]),controller[_0xebcf[17]]);router[_0xebcf[19]](_0xebcf[13],license[_0xebcf[6]](),license[_0xebcf[7]](),auth[_0xebcf[8]](),auth[_0xebcf[10]]([8],[_0xebcf[9]]),controller[_0xebcf[17]]);router[_0xebcf[21]](_0xebcf[13],license[_0xebcf[6]](),license[_0xebcf[7]](),auth[_0xebcf[8]](),auth[_0xebcf[10]]([8],[_0xebcf[9]]),controller[_0xebcf[20]]);module[_0xebcf[22]]= router \ No newline at end of file +var _0x122c=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x61\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x122c[0];var express=require(_0x122c[1]);var controller=require(_0x122c[2]);var license=require(_0x122c[3]);var auth=require(_0x122c[4]);var router=express.Router();router[_0x122c[12]](_0x122c[5],license[_0x122c[6]](),license[_0x122c[7]](),auth[_0x122c[8]](),auth[_0x122c[10]]([8],[_0x122c[9]]),controller[_0x122c[11]]);router[_0x122c[12]](_0x122c[13],license[_0x122c[6]](),license[_0x122c[7]](),auth[_0x122c[8]](),auth[_0x122c[10]]([8],[_0x122c[9]]),controller[_0x122c[14]]);router[_0x122c[16]](_0x122c[5],license[_0x122c[6]](),license[_0x122c[7]](),auth[_0x122c[8]](),auth[_0x122c[10]]([8],[_0x122c[9]]),controller[_0x122c[15]]);router[_0x122c[18]](_0x122c[13],license[_0x122c[6]](),license[_0x122c[7]](),auth[_0x122c[8]](),auth[_0x122c[10]]([8],[_0x122c[9]]),controller[_0x122c[17]]);router[_0x122c[19]](_0x122c[13],license[_0x122c[6]](),license[_0x122c[7]](),auth[_0x122c[8]](),auth[_0x122c[10]]([8],[_0x122c[9]]),controller[_0x122c[17]]);router[_0x122c[21]](_0x122c[13],license[_0x122c[6]](),license[_0x122c[7]](),auth[_0x122c[8]](),auth[_0x122c[10]]([8],[_0x122c[9]]),controller[_0x122c[20]]);module[_0x122c[22]]= router \ 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 274e314..1a387a1 100644 --- a/server/api/chat_disposition/chat_disposition.controller.js +++ b/server/api/chat_disposition/chat_disposition.controller.js @@ -1 +1 @@ -var _0x8657=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x8657[0];var _=require(_0x8657[1]);var ChatDisposition=require(_0x8657[3])[_0x8657[2]];function handleError(_0xfb75x4,_0xfb75x5){_0xfb75x5= _0xfb75x5|| 500;return function(_0xfb75x6){_0xfb75x4[_0x8657[5]](_0xfb75x5)[_0x8657[4]](_0xfb75x6)}}function responseWithResult(_0xfb75x4,_0xfb75x5){_0xfb75x5= _0xfb75x5|| 200;return function(_0xfb75x8){if(_0xfb75x8){_0xfb75x4[_0x8657[5]](_0xfb75x5)[_0x8657[6]](_0xfb75x8)}}}function responseWithoutResult(_0xfb75x4,_0xfb75x5){_0xfb75x5= _0xfb75x5|| 200;return function(){_0xfb75x4[_0x8657[7]](_0xfb75x5)}}function handleEntityNotFound(_0xfb75x4){return function(_0xfb75x8){if(!_0xfb75x8){_0xfb75x4[_0x8657[5]](404)[_0x8657[8]]();return null};return _0xfb75x8}}function saveUpdates(_0xfb75xc){return function(_0xfb75x8){return _0xfb75x8[_0x8657[10]](_0xfb75xc)[_0x8657[9]](function(_0xfb75xd){return _0xfb75xd})}}function removeEntity(_0xfb75x4){return function(_0xfb75x8){if(_0xfb75x8){return _0xfb75x8[_0x8657[11]]()[_0x8657[9]](function(){_0xfb75x4[_0x8657[5]](204)[_0x8657[8]]()})}}}exports[_0x8657[12]]= function(_0xfb75xf,_0xfb75x4){ChatDisposition[_0x8657[14]]()[_0x8657[9]](responseWithResult(_0xfb75x4))[_0x8657[13]](handleError(_0xfb75x4))};exports[_0x8657[15]]= function(_0xfb75xf,_0xfb75x4){ChatDisposition[_0x8657[18]](_0xfb75xf[_0x8657[17]][_0x8657[16]])[_0x8657[9]](handleEntityNotFound(_0xfb75x4))[_0x8657[9]](responseWithResult(_0xfb75x4))[_0x8657[13]](handleError(_0xfb75x4))};exports[_0x8657[19]]= function(_0xfb75xf,_0xfb75x4){ChatDisposition[_0x8657[19]](_0xfb75xf[_0x8657[20]])[_0x8657[9]](responseWithResult(_0xfb75x4,201))[_0x8657[13]](handleError(_0xfb75x4))};exports[_0x8657[21]]= function(_0xfb75xf,_0xfb75x4){if(_0xfb75xf[_0x8657[20]][_0x8657[16]]){delete _0xfb75xf[_0x8657[20]][_0x8657[16]]};ChatDisposition[_0x8657[18]](_0xfb75xf[_0x8657[17]][_0x8657[16]])[_0x8657[9]](handleEntityNotFound(_0xfb75x4))[_0x8657[9]](saveUpdates(_0xfb75xf[_0x8657[20]]))[_0x8657[9]](responseWithResult(_0xfb75x4))[_0x8657[13]](handleError(_0xfb75x4))};exports[_0x8657[11]]= function(_0xfb75xf,_0xfb75x4){ChatDisposition[_0x8657[18]](_0xfb75xf[_0x8657[17]][_0x8657[16]])[_0x8657[9]](handleEntityNotFound(_0xfb75x4))[_0x8657[9]](removeEntity(_0xfb75x4))[_0x8657[13]](handleError(_0xfb75x4))} \ No newline at end of file +var _0x25c6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x25c6[0];var _=require(_0x25c6[1]);var ChatDisposition=require(_0x25c6[3])[_0x25c6[2]];function handleError(_0x3715x4,_0x3715x5){_0x3715x5= _0x3715x5|| 500;return function(_0x3715x6){_0x3715x4[_0x25c6[5]](_0x3715x5)[_0x25c6[4]](_0x3715x6)}}function responseWithResult(_0x3715x4,_0x3715x5){_0x3715x5= _0x3715x5|| 200;return function(_0x3715x8){if(_0x3715x8){_0x3715x4[_0x25c6[5]](_0x3715x5)[_0x25c6[6]](_0x3715x8)}}}function responseWithoutResult(_0x3715x4,_0x3715x5){_0x3715x5= _0x3715x5|| 200;return function(){_0x3715x4[_0x25c6[7]](_0x3715x5)}}function handleEntityNotFound(_0x3715x4){return function(_0x3715x8){if(!_0x3715x8){_0x3715x4[_0x25c6[5]](404)[_0x25c6[8]]();return null};return _0x3715x8}}function saveUpdates(_0x3715xc){return function(_0x3715x8){return _0x3715x8[_0x25c6[10]](_0x3715xc)[_0x25c6[9]](function(_0x3715xd){return _0x3715xd})}}function removeEntity(_0x3715x4){return function(_0x3715x8){if(_0x3715x8){return _0x3715x8[_0x25c6[11]]()[_0x25c6[9]](function(){_0x3715x4[_0x25c6[5]](204)[_0x25c6[8]]()})}}}exports[_0x25c6[12]]= function(_0x3715xf,_0x3715x4){ChatDisposition[_0x25c6[14]]()[_0x25c6[9]](responseWithResult(_0x3715x4))[_0x25c6[13]](handleError(_0x3715x4))};exports[_0x25c6[15]]= function(_0x3715xf,_0x3715x4){ChatDisposition[_0x25c6[18]](_0x3715xf[_0x25c6[17]][_0x25c6[16]])[_0x25c6[9]](handleEntityNotFound(_0x3715x4))[_0x25c6[9]](responseWithResult(_0x3715x4))[_0x25c6[13]](handleError(_0x3715x4))};exports[_0x25c6[19]]= function(_0x3715xf,_0x3715x4){ChatDisposition[_0x25c6[19]](_0x3715xf[_0x25c6[20]])[_0x25c6[9]](responseWithResult(_0x3715x4,201))[_0x25c6[13]](handleError(_0x3715x4))};exports[_0x25c6[21]]= function(_0x3715xf,_0x3715x4){if(_0x3715xf[_0x25c6[20]][_0x25c6[16]]){delete _0x3715xf[_0x25c6[20]][_0x25c6[16]]};ChatDisposition[_0x25c6[18]](_0x3715xf[_0x25c6[17]][_0x25c6[16]])[_0x25c6[9]](handleEntityNotFound(_0x3715x4))[_0x25c6[9]](saveUpdates(_0x3715xf[_0x25c6[20]]))[_0x25c6[9]](responseWithResult(_0x3715x4))[_0x25c6[13]](handleError(_0x3715x4))};exports[_0x25c6[11]]= function(_0x3715xf,_0x3715x4){ChatDisposition[_0x25c6[18]](_0x3715xf[_0x25c6[17]][_0x25c6[16]])[_0x25c6[9]](handleEntityNotFound(_0x3715x4))[_0x25c6[9]](removeEntity(_0x3715x4))[_0x25c6[13]](handleError(_0x3715x4))} \ 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 3725c25..e538256 100644 --- a/server/api/chat_disposition/chat_disposition.events.js +++ b/server/api/chat_disposition/chat_disposition.events.js @@ -1 +1 @@ -var _0xd7a1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xd7a1[0];const EventEmitter=require(_0xd7a1[1]);const ChatDisposition=require(_0xd7a1[3])[_0xd7a1[2]];var ChatDispositionEvents= new EventEmitter();ChatDispositionEvents[_0xd7a1[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xd7a1[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xd7a1[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xd7a1[6]};for(var e in events){var event=events[e];ChatDisposition[_0xd7a1[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x3ad2x8,_0x3ad2x9,_0x3ad2xa){ChatDispositionEvents[_0xd7a1[10]](event+ _0xd7a1[8]+ _0x3ad2x8[_0xd7a1[9]],_0x3ad2x8);ChatDispositionEvents[_0xd7a1[10]](event,_0x3ad2x8);_0x3ad2xa(null)}}module[_0xd7a1[11]]= ChatDispositionEvents \ No newline at end of file +var _0x5579=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x5579[0];const EventEmitter=require(_0x5579[1]);const ChatDisposition=require(_0x5579[3])[_0x5579[2]];var ChatDispositionEvents= new EventEmitter();ChatDispositionEvents[_0x5579[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x5579[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x5579[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x5579[6]};for(var e in events){var event=events[e];ChatDisposition[_0x5579[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xdf34x8,_0xdf34x9,_0xdf34xa){ChatDispositionEvents[_0x5579[10]](event+ _0x5579[8]+ _0xdf34x8[_0x5579[9]],_0xdf34x8);ChatDispositionEvents[_0x5579[10]](event,_0xdf34x8);_0xdf34xa(null)}}module[_0x5579[11]]= ChatDispositionEvents \ 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 e0af24c..7ddf6f7 100644 --- a/server/api/chat_disposition/chat_disposition.socket.js +++ b/server/api/chat_disposition/chat_disposition.socket.js @@ -1 +1 @@ -var _0x9756=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x9756[0];const ChatDispositionEvents=require(_0x9756[1]);var events=[_0x9756[2],_0x9756[3]];exports[_0x9756[4]]= function(_0x2565x3){for(var _0x2565x4=0,_0x2565x5=events[_0x9756[5]];_0x2565x4< _0x2565x5;_0x2565x4++){var _0x2565x6=events[_0x2565x4];var _0x2565x7=createListener(_0x9756[6]+ _0x2565x6,_0x2565x3);ChatDispositionEvents[_0x9756[7]](_0x2565x6,_0x2565x7);_0x2565x3[_0x9756[7]](_0x9756[8],removeListener(_0x2565x6,_0x2565x7))}};function createListener(_0x2565x6,_0x2565x3){return function(_0x2565x9){_0x2565x3[_0x9756[9]](_0x2565x6,_0x2565x9)}}function removeListener(_0x2565x6,_0x2565x7){return function(){ChatDispositionEvents[_0x9756[10]](_0x2565x6,_0x2565x7)}} \ No newline at end of file +var _0xa2cd=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xa2cd[0];const ChatDispositionEvents=require(_0xa2cd[1]);var events=[_0xa2cd[2],_0xa2cd[3]];exports[_0xa2cd[4]]= function(_0x9575x3){for(var _0x9575x4=0,_0x9575x5=events[_0xa2cd[5]];_0x9575x4< _0x9575x5;_0x9575x4++){var _0x9575x6=events[_0x9575x4];var _0x9575x7=createListener(_0xa2cd[6]+ _0x9575x6,_0x9575x3);ChatDispositionEvents[_0xa2cd[7]](_0x9575x6,_0x9575x7);_0x9575x3[_0xa2cd[7]](_0xa2cd[8],removeListener(_0x9575x6,_0x9575x7))}};function createListener(_0x9575x6,_0x9575x3){return function(_0x9575x9){_0x9575x3[_0xa2cd[9]](_0x9575x6,_0x9575x9)}}function removeListener(_0x9575x6,_0x9575x7){return function(){ChatDispositionEvents[_0xa2cd[10]](_0x9575x6,_0x9575x7)}} \ No newline at end of file diff --git a/server/api/chat_disposition/index.js b/server/api/chat_disposition/index.js index 453dccc..b1f95a9 100644 --- a/server/api/chat_disposition/index.js +++ b/server/api/chat_disposition/index.js @@ -1 +1 @@ -var _0xfeb7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xfeb7[0];var express=require(_0xfeb7[1]);var auth=require(_0xfeb7[2]);var controller=require(_0xfeb7[3]);var license=require(_0xfeb7[4]);var router=express.Router();router[_0xfeb7[10]](_0xfeb7[5],license[_0xfeb7[6]](),license[_0xfeb7[7]](),auth[_0xfeb7[8]](),controller[_0xfeb7[9]]);router[_0xfeb7[10]](_0xfeb7[11],license[_0xfeb7[6]](),license[_0xfeb7[7]](),auth[_0xfeb7[8]](),controller[_0xfeb7[12]]);router[_0xfeb7[14]](_0xfeb7[5],license[_0xfeb7[6]](),license[_0xfeb7[7]](),auth[_0xfeb7[8]](),controller[_0xfeb7[13]]);router[_0xfeb7[16]](_0xfeb7[11],license[_0xfeb7[6]](),license[_0xfeb7[7]](),auth[_0xfeb7[8]](),controller[_0xfeb7[15]]);router[_0xfeb7[17]](_0xfeb7[11],license[_0xfeb7[6]](),license[_0xfeb7[7]](),auth[_0xfeb7[8]](),controller[_0xfeb7[15]]);router[_0xfeb7[19]](_0xfeb7[11],license[_0xfeb7[6]](),license[_0xfeb7[7]](),auth[_0xfeb7[8]](),controller[_0xfeb7[18]]);module[_0xfeb7[20]]= router \ No newline at end of file +var _0x7f2f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x64\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7f2f[0];var express=require(_0x7f2f[1]);var auth=require(_0x7f2f[2]);var controller=require(_0x7f2f[3]);var license=require(_0x7f2f[4]);var router=express.Router();router[_0x7f2f[10]](_0x7f2f[5],license[_0x7f2f[6]](),license[_0x7f2f[7]](),auth[_0x7f2f[8]](),controller[_0x7f2f[9]]);router[_0x7f2f[10]](_0x7f2f[11],license[_0x7f2f[6]](),license[_0x7f2f[7]](),auth[_0x7f2f[8]](),controller[_0x7f2f[12]]);router[_0x7f2f[14]](_0x7f2f[5],license[_0x7f2f[6]](),license[_0x7f2f[7]](),auth[_0x7f2f[8]](),controller[_0x7f2f[13]]);router[_0x7f2f[16]](_0x7f2f[11],license[_0x7f2f[6]](),license[_0x7f2f[7]](),auth[_0x7f2f[8]](),controller[_0x7f2f[15]]);router[_0x7f2f[17]](_0x7f2f[11],license[_0x7f2f[6]](),license[_0x7f2f[7]](),auth[_0x7f2f[8]](),controller[_0x7f2f[15]]);router[_0x7f2f[19]](_0x7f2f[11],license[_0x7f2f[6]](),license[_0x7f2f[7]](),auth[_0x7f2f[8]](),controller[_0x7f2f[18]]);module[_0x7f2f[20]]= router \ 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 50acfbe..1545e64 100644 --- a/server/api/chat_enquiry/enquiry.controller.js +++ b/server/api/chat_enquiry/enquiry.controller.js @@ -1 +1 @@ -var _0xd168=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x4C\x69\x73\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xd168[0];var _=require(_0xd168[1]);var Util=require(_0xd168[2]);var ChatEnquiry=require(_0xd168[4])[_0xd168[3]];var ChatVisitor=require(_0xd168[4])[_0xd168[5]];var ChatWebsite=require(_0xd168[4])[_0xd168[6]];var List=require(_0xd168[4])[_0xd168[7]];exports[_0xd168[8]]= function(_0x2b3ax7,_0x2b3ax8,_0x2b3ax9){return ChatEnquiry[_0xd168[18]](_[_0xd168[17]](Util[_0xd168[14]](_0x2b3ax7[_0xd168[13]]),{include:[{model:ChatWebsite,attributes:[_0xd168[15],_0xd168[16]]}]}))[_0xd168[12]](function(_0x2b3axb){return _0x2b3ax8[_0xd168[11]](200)[_0xd168[10]](_0x2b3axb)})[_0xd168[9]](function(_0x2b3axa){return handleError(_0x2b3ax8,_0x2b3axa)})};exports[_0xd168[19]]= function(_0x2b3ax7,_0x2b3ax8){return ChatEnquiry[_0xd168[24]](_0x2b3ax7[_0xd168[22]][_0xd168[15]],{include:[{model:ChatWebsite,attributes:[_0xd168[15],_0xd168[16],_0xd168[23]]},{model:ChatVisitor}]})[_0xd168[12]](function(_0x2b3axc){if(!_0x2b3axc){return _0x2b3ax8[_0xd168[21]](404)};return _0x2b3ax8[_0xd168[10]](_0x2b3axc)})[_0xd168[9]](function(_0x2b3axa){console[_0xd168[20]](_0x2b3axa);return handleError(_0x2b3ax8,_0x2b3axa)})};exports[_0xd168[25]]= function(_0x2b3ax7,_0x2b3ax8){return ChatEnquiry[_0xd168[25]](_0x2b3ax7[_0xd168[26]])[_0xd168[12]](function(_0x2b3axc){return _0x2b3ax8[_0xd168[11]](201)[_0xd168[10]](_0x2b3axc)})[_0xd168[9]](function(_0x2b3axa){return handleError(_0x2b3ax8,_0x2b3axa)})};exports[_0xd168[27]]= function(_0x2b3ax7,_0x2b3ax8){if(_0x2b3ax7[_0xd168[26]][_0xd168[15]]){delete _0x2b3ax7[_0xd168[26]][_0xd168[15]]};return ChatEnquiry[_0xd168[24]](_0x2b3ax7[_0xd168[22]][_0xd168[15]])[_0xd168[12]](function(_0x2b3axc){if(!_0x2b3axc){return _0x2b3ax8[_0xd168[21]](404)};var _0x2b3axd=_[_0xd168[17]](_0x2b3axc,_0x2b3ax7[_0xd168[26]]);return _0x2b3axd[_0xd168[28]]()})[_0xd168[12]](function(_0x2b3axc){return _0x2b3ax8[_0xd168[11]](200)[_0xd168[10]](_0x2b3axc)})[_0xd168[9]](function(_0x2b3axa){return handleError(_0x2b3ax8,_0x2b3axa)})};exports[_0xd168[29]]= function(_0x2b3ax7,_0x2b3ax8){return ChatEnquiry[_0xd168[24]](_0x2b3ax7[_0xd168[22]][_0xd168[15]])[_0xd168[12]](function(_0x2b3axc){if(!_0x2b3axc){return _0x2b3ax8[_0xd168[21]](404)};return _0x2b3axc[_0xd168[29]]()})[_0xd168[12]](function(){return _0x2b3ax8[_0xd168[21]](204)})[_0xd168[9]](function(_0x2b3axa){return handleError(_0x2b3ax8,_0x2b3axa)})};exports[_0xd168[30]]= function(_0x2b3ax7,_0x2b3ax8){return ChatEnquiry[_0xd168[29]]({where:{id:_0x2b3ax7[_0xd168[13]][_0xd168[31]]},individualHooks:true})[_0xd168[12]](function(){return _0x2b3ax8[_0xd168[21]](204)})[_0xd168[9]](function(_0x2b3axa){return handleError(_0x2b3ax8,_0x2b3axa)})};function handleError(_0x2b3ax8,_0x2b3axa){return _0x2b3ax8[_0xd168[11]](500)[_0xd168[10]](_0x2b3axa)} \ No newline at end of file +var _0x4491=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x4C\x69\x73\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x65\x72\x72\x6F\x72","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x4C\x69\x73\x74\x49\x64","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x4491[0];var _=require(_0x4491[1]);var Util=require(_0x4491[2]);var ChatEnquiry=require(_0x4491[4])[_0x4491[3]];var ChatVisitor=require(_0x4491[4])[_0x4491[5]];var ChatWebsite=require(_0x4491[4])[_0x4491[6]];var List=require(_0x4491[4])[_0x4491[7]];exports[_0x4491[8]]= function(_0x74cex7,_0x74cex8,_0x74cex9){return ChatEnquiry[_0x4491[18]](_[_0x4491[17]](Util[_0x4491[14]](_0x74cex7[_0x4491[13]]),{include:[{model:ChatWebsite,attributes:[_0x4491[15],_0x4491[16]]}]}))[_0x4491[12]](function(_0x74cexb){return _0x74cex8[_0x4491[11]](200)[_0x4491[10]](_0x74cexb)})[_0x4491[9]](function(_0x74cexa){return handleError(_0x74cex8,_0x74cexa)})};exports[_0x4491[19]]= function(_0x74cex7,_0x74cex8){return ChatEnquiry[_0x4491[24]](_0x74cex7[_0x4491[22]][_0x4491[15]],{include:[{model:ChatWebsite,attributes:[_0x4491[15],_0x4491[16],_0x4491[23]]},{model:ChatVisitor}]})[_0x4491[12]](function(_0x74cexc){if(!_0x74cexc){return _0x74cex8[_0x4491[21]](404)};return _0x74cex8[_0x4491[10]](_0x74cexc)})[_0x4491[9]](function(_0x74cexa){console[_0x4491[20]](_0x74cexa);return handleError(_0x74cex8,_0x74cexa)})};exports[_0x4491[25]]= function(_0x74cex7,_0x74cex8){return ChatEnquiry[_0x4491[25]](_0x74cex7[_0x4491[26]])[_0x4491[12]](function(_0x74cexc){return _0x74cex8[_0x4491[11]](201)[_0x4491[10]](_0x74cexc)})[_0x4491[9]](function(_0x74cexa){return handleError(_0x74cex8,_0x74cexa)})};exports[_0x4491[27]]= function(_0x74cex7,_0x74cex8){if(_0x74cex7[_0x4491[26]][_0x4491[15]]){delete _0x74cex7[_0x4491[26]][_0x4491[15]]};return ChatEnquiry[_0x4491[24]](_0x74cex7[_0x4491[22]][_0x4491[15]])[_0x4491[12]](function(_0x74cexc){if(!_0x74cexc){return _0x74cex8[_0x4491[21]](404)};var _0x74cexd=_[_0x4491[17]](_0x74cexc,_0x74cex7[_0x4491[26]]);return _0x74cexd[_0x4491[28]]()})[_0x4491[12]](function(_0x74cexc){return _0x74cex8[_0x4491[11]](200)[_0x4491[10]](_0x74cexc)})[_0x4491[9]](function(_0x74cexa){return handleError(_0x74cex8,_0x74cexa)})};exports[_0x4491[29]]= function(_0x74cex7,_0x74cex8){return ChatEnquiry[_0x4491[24]](_0x74cex7[_0x4491[22]][_0x4491[15]])[_0x4491[12]](function(_0x74cexc){if(!_0x74cexc){return _0x74cex8[_0x4491[21]](404)};return _0x74cexc[_0x4491[29]]()})[_0x4491[12]](function(){return _0x74cex8[_0x4491[21]](204)})[_0x4491[9]](function(_0x74cexa){return handleError(_0x74cex8,_0x74cexa)})};exports[_0x4491[30]]= function(_0x74cex7,_0x74cex8){return ChatEnquiry[_0x4491[29]]({where:{id:_0x74cex7[_0x4491[13]][_0x4491[31]]},individualHooks:true})[_0x4491[12]](function(){return _0x74cex8[_0x4491[21]](204)})[_0x4491[9]](function(_0x74cexa){return handleError(_0x74cex8,_0x74cexa)})};function handleError(_0x74cex8,_0x74cexa){return _0x74cex8[_0x4491[11]](500)[_0x4491[10]](_0x74cexa)} \ 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 73c892f..b4eae31 100644 --- a/server/api/chat_enquiry/enquiry.events.js +++ b/server/api/chat_enquiry/enquiry.events.js @@ -1 +1 @@ -var _0x54dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x54dc[0];const EventEmitter=require(_0x54dc[1]);const Enquiry=require(_0x54dc[3])[_0x54dc[2]];var EnquiryEvents= new EventEmitter();EnquiryEvents[_0x54dc[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x54dc[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x54dc[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x54dc[6]};for(var e in events){var event=events[e];Enquiry[_0x54dc[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x79e3x8,_0x79e3x9,_0x79e3xa){EnquiryEvents[_0x54dc[10]](event+ _0x54dc[8]+ _0x79e3x8[_0x54dc[9]],_0x79e3x8);EnquiryEvents[_0x54dc[10]](event,_0x79e3x8);_0x79e3xa(null)}}module[_0x54dc[11]]= EnquiryEvents \ No newline at end of file +var _0x375a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x375a[0];const EventEmitter=require(_0x375a[1]);const Enquiry=require(_0x375a[3])[_0x375a[2]];var EnquiryEvents= new EventEmitter();EnquiryEvents[_0x375a[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x375a[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x375a[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x375a[6]};for(var e in events){var event=events[e];Enquiry[_0x375a[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xe67dx8,_0xe67dx9,_0xe67dxa){EnquiryEvents[_0x375a[10]](event+ _0x375a[8]+ _0xe67dx8[_0x375a[9]],_0xe67dx8);EnquiryEvents[_0x375a[10]](event,_0xe67dx8);_0xe67dxa(null)}}module[_0x375a[11]]= EnquiryEvents \ 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 4ce95c0..1c176e6 100644 --- a/server/api/chat_enquiry/enquiry.socket.js +++ b/server/api/chat_enquiry/enquiry.socket.js @@ -1 +1 @@ -var _0xbc5f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x65\x6E\x71\x75\x69\x72\x79\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xbc5f[0];const ChatEnquiryEvents=require(_0xbc5f[1]);var events=[_0xbc5f[2],_0xbc5f[3]];exports[_0xbc5f[4]]= function(_0x7b3ax3){for(var _0x7b3ax4=0,_0x7b3ax5=events[_0xbc5f[5]];_0x7b3ax4< _0x7b3ax5;_0x7b3ax4++){var _0x7b3ax6=events[_0x7b3ax4];var _0x7b3ax7=createListener(_0xbc5f[6]+ _0x7b3ax6,_0x7b3ax3);ChatEnquiryEvents[_0xbc5f[7]](_0x7b3ax6,_0x7b3ax7);_0x7b3ax3[_0xbc5f[7]](_0xbc5f[8],removeListener(_0x7b3ax6,_0x7b3ax7))}};function createListener(_0x7b3ax6,_0x7b3ax3){return function(_0x7b3ax9){_0x7b3ax3[_0xbc5f[9]](_0x7b3ax6,_0x7b3ax9)}}function removeListener(_0x7b3ax6,_0x7b3ax7){return function(){ChatEnquiryEvents[_0xbc5f[10]](_0x7b3ax6,_0x7b3ax7)}} \ No newline at end of file +var _0x39e9=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x65\x6E\x71\x75\x69\x72\x79\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x39e9[0];const ChatEnquiryEvents=require(_0x39e9[1]);var events=[_0x39e9[2],_0x39e9[3]];exports[_0x39e9[4]]= function(_0x1eb2x3){for(var _0x1eb2x4=0,_0x1eb2x5=events[_0x39e9[5]];_0x1eb2x4< _0x1eb2x5;_0x1eb2x4++){var _0x1eb2x6=events[_0x1eb2x4];var _0x1eb2x7=createListener(_0x39e9[6]+ _0x1eb2x6,_0x1eb2x3);ChatEnquiryEvents[_0x39e9[7]](_0x1eb2x6,_0x1eb2x7);_0x1eb2x3[_0x39e9[7]](_0x39e9[8],removeListener(_0x1eb2x6,_0x1eb2x7))}};function createListener(_0x1eb2x6,_0x1eb2x3){return function(_0x1eb2x9){_0x1eb2x3[_0x39e9[9]](_0x1eb2x6,_0x1eb2x9)}}function removeListener(_0x1eb2x6,_0x1eb2x7){return function(){ChatEnquiryEvents[_0x39e9[10]](_0x1eb2x6,_0x1eb2x7)}} \ No newline at end of file diff --git a/server/api/chat_enquiry/index.js b/server/api/chat_enquiry/index.js index de02364..3aad7b4 100644 --- a/server/api/chat_enquiry/index.js +++ b/server/api/chat_enquiry/index.js @@ -1 +1 @@ -var _0x1947=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x1947[0];var express=require(_0x1947[1]);var controller=require(_0x1947[2]);var license=require(_0x1947[3]);var auth=require(_0x1947[4]);var router=express.Router();router[_0x1947[12]](_0x1947[5],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[11]]);router[_0x1947[12]](_0x1947[13],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[14]]);router[_0x1947[16]](_0x1947[5],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[15]]);router[_0x1947[18]](_0x1947[13],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[17]]);router[_0x1947[19]](_0x1947[13],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[17]]);router[_0x1947[21]](_0x1947[5],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[20]]);router[_0x1947[21]](_0x1947[13],license[_0x1947[6]](),license[_0x1947[7]](),auth[_0x1947[8]](),auth[_0x1947[10]]([8],[_0x1947[9]]),controller[_0x1947[22]]);module[_0x1947[23]]= router \ No newline at end of file +var _0x79de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x65\x6E\x71\x75\x69\x72\x79\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x79de[0];var express=require(_0x79de[1]);var controller=require(_0x79de[2]);var license=require(_0x79de[3]);var auth=require(_0x79de[4]);var router=express.Router();router[_0x79de[12]](_0x79de[5],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[11]]);router[_0x79de[12]](_0x79de[13],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[14]]);router[_0x79de[16]](_0x79de[5],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[15]]);router[_0x79de[18]](_0x79de[13],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[17]]);router[_0x79de[19]](_0x79de[13],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[17]]);router[_0x79de[21]](_0x79de[5],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[20]]);router[_0x79de[21]](_0x79de[13],license[_0x79de[6]](),license[_0x79de[7]](),auth[_0x79de[8]](),auth[_0x79de[10]]([8],[_0x79de[9]]),controller[_0x79de[22]]);module[_0x79de[23]]= router \ 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 585c343..71692ca 100644 --- a/server/api/chat_message/chat_message.controller.js +++ b/server/api/chat_message/chat_message.controller.js @@ -1 +1 @@ -var _0x4777=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x73\x65\x72","\x6D\x65\x72\x67\x65","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0x4777[0];var _=require(_0x4777[1]);var md5=require(_0x4777[2]);var User=require(_0x4777[4])[_0x4777[3]];var ChatRoom=require(_0x4777[4])[_0x4777[5]];var ChatMessage=require(_0x4777[4])[_0x4777[6]];var ChatVisitor=require(_0x4777[4])[_0x4777[7]];exports[_0x4777[8]]= function(_0x225fx7,_0x225fx8){return ChatMessage[_0x4777[13]]()[_0x4777[12]](function(_0x225fxa){return _0x225fx8[_0x4777[11]](200)[_0x4777[10]](_0x225fxa)})[_0x4777[9]](function(_0x225fx9){return handleError(_0x225fx8,_0x225fx9)})};exports[_0x4777[14]]= function(_0x225fx7,_0x225fx8){return ChatMessage[_0x4777[18]](_0x225fx7[_0x4777[17]][_0x4777[16]])[_0x4777[12]](function(_0x225fxb){if(!_0x225fxb){return _0x225fx8[_0x4777[15]](404)};return _0x225fx8[_0x4777[10]](_0x225fxb)})[_0x4777[9]](function(_0x225fx9){return handleError(_0x225fx8,_0x225fx9)})};exports[_0x4777[19]]= function(_0x225fx7,_0x225fx8,_0x225fxc){return ChatMessage[_0x4777[19]](_[_0x4777[22]](_0x225fx7[_0x4777[20]],{UserId:_0x225fx7[_0x4777[21]][_0x4777[16]]}))[_0x4777[12]](function(_0x225fxb){return _0x225fx8[_0x4777[11]](201)[_0x4777[10]](_0x225fxb)})[_0x4777[9]](function(_0x225fx9){return handleError(_0x225fx8,_0x225fx9)})};exports[_0x4777[23]]= function(_0x225fx7,_0x225fx8){if(_0x225fx7[_0x4777[20]][_0x4777[16]]){delete _0x225fx7[_0x4777[20]][_0x4777[16]]};return ChatMessage[_0x4777[18]](_0x225fx7[_0x4777[17]][_0x4777[16]])[_0x4777[12]](function(_0x225fxb){if(!_0x225fxb){return _0x225fx8[_0x4777[15]](404)};var _0x225fxd=_[_0x4777[22]](_0x225fxb,_0x225fx7[_0x4777[20]]);return _0x225fxd[_0x4777[24]]()})[_0x4777[12]](function(_0x225fxb){return _0x225fx8[_0x4777[11]](200)[_0x4777[10]](_0x225fxb)})[_0x4777[9]](function(_0x225fx9){return handleError(_0x225fx8,_0x225fx9)})};exports[_0x4777[25]]= function(_0x225fx7,_0x225fx8){return ChatMessage[_0x4777[18]](_0x225fx7[_0x4777[17]][_0x4777[16]])[_0x4777[12]](function(_0x225fxb){if(!_0x225fxb){return _0x225fx8[_0x4777[15]](404)};return _0x225fxb[_0x4777[25]]()})[_0x4777[12]](function(){return _0x225fx8[_0x4777[15]](204)})[_0x4777[9]](function(_0x225fx9){return handleError(_0x225fx8,_0x225fx9)})};function handleError(_0x225fx8,_0x225fx9){return _0x225fx8[_0x4777[11]](500)[_0x4777[10]](_0x225fx9)} \ No newline at end of file +var _0xf0d8=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x73\x65\x72","\x6D\x65\x72\x67\x65","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xf0d8[0];var _=require(_0xf0d8[1]);var md5=require(_0xf0d8[2]);var User=require(_0xf0d8[4])[_0xf0d8[3]];var ChatRoom=require(_0xf0d8[4])[_0xf0d8[5]];var ChatMessage=require(_0xf0d8[4])[_0xf0d8[6]];var ChatVisitor=require(_0xf0d8[4])[_0xf0d8[7]];exports[_0xf0d8[8]]= function(_0xd667x7,_0xd667x8){return ChatMessage[_0xf0d8[13]]()[_0xf0d8[12]](function(_0xd667xa){return _0xd667x8[_0xf0d8[11]](200)[_0xf0d8[10]](_0xd667xa)})[_0xf0d8[9]](function(_0xd667x9){return handleError(_0xd667x8,_0xd667x9)})};exports[_0xf0d8[14]]= function(_0xd667x7,_0xd667x8){return ChatMessage[_0xf0d8[18]](_0xd667x7[_0xf0d8[17]][_0xf0d8[16]])[_0xf0d8[12]](function(_0xd667xb){if(!_0xd667xb){return _0xd667x8[_0xf0d8[15]](404)};return _0xd667x8[_0xf0d8[10]](_0xd667xb)})[_0xf0d8[9]](function(_0xd667x9){return handleError(_0xd667x8,_0xd667x9)})};exports[_0xf0d8[19]]= function(_0xd667x7,_0xd667x8,_0xd667xc){return ChatMessage[_0xf0d8[19]](_[_0xf0d8[22]](_0xd667x7[_0xf0d8[20]],{UserId:_0xd667x7[_0xf0d8[21]][_0xf0d8[16]]}))[_0xf0d8[12]](function(_0xd667xb){return _0xd667x8[_0xf0d8[11]](201)[_0xf0d8[10]](_0xd667xb)})[_0xf0d8[9]](function(_0xd667x9){return handleError(_0xd667x8,_0xd667x9)})};exports[_0xf0d8[23]]= function(_0xd667x7,_0xd667x8){if(_0xd667x7[_0xf0d8[20]][_0xf0d8[16]]){delete _0xd667x7[_0xf0d8[20]][_0xf0d8[16]]};return ChatMessage[_0xf0d8[18]](_0xd667x7[_0xf0d8[17]][_0xf0d8[16]])[_0xf0d8[12]](function(_0xd667xb){if(!_0xd667xb){return _0xd667x8[_0xf0d8[15]](404)};var _0xd667xd=_[_0xf0d8[22]](_0xd667xb,_0xd667x7[_0xf0d8[20]]);return _0xd667xd[_0xf0d8[24]]()})[_0xf0d8[12]](function(_0xd667xb){return _0xd667x8[_0xf0d8[11]](200)[_0xf0d8[10]](_0xd667xb)})[_0xf0d8[9]](function(_0xd667x9){return handleError(_0xd667x8,_0xd667x9)})};exports[_0xf0d8[25]]= function(_0xd667x7,_0xd667x8){return ChatMessage[_0xf0d8[18]](_0xd667x7[_0xf0d8[17]][_0xf0d8[16]])[_0xf0d8[12]](function(_0xd667xb){if(!_0xd667xb){return _0xd667x8[_0xf0d8[15]](404)};return _0xd667xb[_0xf0d8[25]]()})[_0xf0d8[12]](function(){return _0xd667x8[_0xf0d8[15]](204)})[_0xf0d8[9]](function(_0xd667x9){return handleError(_0xd667x8,_0xd667x9)})};function handleError(_0xd667x8,_0xd667x9){return _0xd667x8[_0xf0d8[11]](500)[_0xf0d8[10]](_0xd667x9)} \ 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 bab8aa3..68171dc 100644 --- a/server/api/chat_message/chat_message.events.js +++ b/server/api/chat_message/chat_message.events.js @@ -1 +1 @@ -var _0xdf71=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xdf71[0];const EventEmitter=require(_0xdf71[1]);const ChatMessage=require(_0xdf71[3])[_0xdf71[2]];var ChatMessageEvents= new EventEmitter();ChatMessageEvents[_0xdf71[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xdf71[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xdf71[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xdf71[6]};for(var e in events){var event=events[e];ChatMessage[_0xdf71[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x2c59x8,_0x2c59x9,_0x2c59xa){ChatMessageEvents[_0xdf71[10]](event+ _0xdf71[8]+ _0x2c59x8[_0xdf71[9]],_0x2c59x8);ChatMessageEvents[_0xdf71[10]](event,_0x2c59x8);_0x2c59xa(null)}}module[_0xdf71[11]]= ChatMessageEvents \ No newline at end of file +var _0x558f=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x558f[0];const EventEmitter=require(_0x558f[1]);const ChatMessage=require(_0x558f[3])[_0x558f[2]];var ChatMessageEvents= new EventEmitter();ChatMessageEvents[_0x558f[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x558f[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x558f[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x558f[6]};for(var e in events){var event=events[e];ChatMessage[_0x558f[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x454ax8,_0x454ax9,_0x454axa){ChatMessageEvents[_0x558f[10]](event+ _0x558f[8]+ _0x454ax8[_0x558f[9]],_0x454ax8);ChatMessageEvents[_0x558f[10]](event,_0x454ax8);_0x454axa(null)}}module[_0x558f[11]]= ChatMessageEvents \ 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 3179543..44d83aa 100644 --- a/server/api/chat_message/chat_message.socket.js +++ b/server/api/chat_message/chat_message.socket.js @@ -1 +1 @@ -var _0x6424=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x75\x73\x65\x72\x70\x69\x63","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x6424[0];const _=require(_0x6424[1]);const ChatMessage=require(_0x6424[3])[_0x6424[2]];const ChatMessageEvents=require(_0x6424[4]);var events=[_0x6424[5],_0x6424[6]];exports[_0x6424[7]]= function(_0x2472x5){for(var _0x2472x6=0,_0x2472x7=events[_0x6424[8]];_0x2472x6< _0x2472x7;_0x2472x6++){var _0x2472x8=events[_0x2472x6];var _0x2472x9=createListener(_0x6424[9]+ _0x2472x8,_0x2472x5);ChatMessageEvents[_0x6424[10]](_0x2472x8,_0x2472x9);_0x2472x5[_0x6424[10]](_0x6424[11],removeListener(_0x2472x8,_0x2472x9))}};function createListener(_0x2472x8,_0x2472x5){return function(_0x2472xb){return _0x2472xb[_0x6424[32]]()[_0x6424[31]](function(_0x2472x11){return [_0x2472x11[_0x6424[29]]({attributes:[_0x6424[17],_0x6424[23],_0x6424[24],_0x6424[25],_0x6424[26],_0x6424[27],_0x6424[28]],raw:true}),_0x2472x11[_0x6424[30]]({attributes:[_0x6424[17],_0x6424[24],_0x6424[25]],raw:true})]})[_0x6424[22]](function(_0x2472xd,_0x2472xe){var _0x2472xf=_[_0x6424[15]](_0x2472xd,{id:_0x2472xb[_0x6424[14]]});_0x2472xd[_0x6424[21]](function(_0x2472x10){if(_0x2472x5[_0x6424[16]]== _0x2472x10[_0x6424[17]]&& (_0x2472xf|| _0x2472xe)){_0x2472x5[_0x6424[20]](_0x2472x8,_[_0x6424[19]](_0x2472xb[_0x6424[18]],{User:_0x2472xf,ChatVisitor:_0x2472xf?null:_0x2472xe}))}})})[_0x6424[13]](function(_0x2472xc){console[_0x6424[12]](_0x2472xc)})}}function removeListener(_0x2472x8,_0x2472x9){return function(){ChatMessageEvents[_0x6424[33]](_0x2472x8,_0x2472x9)}} \ No newline at end of file +var _0x68b1=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x55\x73\x65\x72\x49\x64","\x66\x69\x6E\x64","\x75\x73\x65\x72\x49\x64","\x69\x64","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x6D\x65\x72\x67\x65","\x65\x6D\x69\x74","\x66\x6F\x72\x45\x61\x63\x68","\x73\x70\x72\x65\x61\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x75\x73\x65\x72\x70\x69\x63","\x67\x65\x74\x55\x73\x65\x72\x73","\x67\x65\x74\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x74\x68\x65\x6E","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x68b1[0];const _=require(_0x68b1[1]);const ChatMessage=require(_0x68b1[3])[_0x68b1[2]];const ChatMessageEvents=require(_0x68b1[4]);var events=[_0x68b1[5],_0x68b1[6]];exports[_0x68b1[7]]= function(_0x290bx5){for(var _0x290bx6=0,_0x290bx7=events[_0x68b1[8]];_0x290bx6< _0x290bx7;_0x290bx6++){var _0x290bx8=events[_0x290bx6];var _0x290bx9=createListener(_0x68b1[9]+ _0x290bx8,_0x290bx5);ChatMessageEvents[_0x68b1[10]](_0x290bx8,_0x290bx9);_0x290bx5[_0x68b1[10]](_0x68b1[11],removeListener(_0x290bx8,_0x290bx9))}};function createListener(_0x290bx8,_0x290bx5){return function(_0x290bxb){return _0x290bxb[_0x68b1[32]]()[_0x68b1[31]](function(_0x290bx11){return [_0x290bx11[_0x68b1[29]]({attributes:[_0x68b1[17],_0x68b1[23],_0x68b1[24],_0x68b1[25],_0x68b1[26],_0x68b1[27],_0x68b1[28]],raw:true}),_0x290bx11[_0x68b1[30]]({attributes:[_0x68b1[17],_0x68b1[24],_0x68b1[25]],raw:true})]})[_0x68b1[22]](function(_0x290bxd,_0x290bxe){var _0x290bxf=_[_0x68b1[15]](_0x290bxd,{id:_0x290bxb[_0x68b1[14]]});_0x290bxd[_0x68b1[21]](function(_0x290bx10){if(_0x290bx5[_0x68b1[16]]== _0x290bx10[_0x68b1[17]]&& (_0x290bxf|| _0x290bxe)){_0x290bx5[_0x68b1[20]](_0x290bx8,_[_0x68b1[19]](_0x290bxb[_0x68b1[18]],{User:_0x290bxf,ChatVisitor:_0x290bxf?null:_0x290bxe}))}})})[_0x68b1[13]](function(_0x290bxc){console[_0x68b1[12]](_0x290bxc)})}}function removeListener(_0x290bx8,_0x290bx9){return function(){ChatMessageEvents[_0x68b1[33]](_0x290bx8,_0x290bx9)}} \ No newline at end of file diff --git a/server/api/chat_message/index.js b/server/api/chat_message/index.js index 1b0ba9f..7fbc2ca 100644 --- a/server/api/chat_message/index.js +++ b/server/api/chat_message/index.js @@ -1 +1 @@ -var _0xd6ff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xd6ff[0];var express=require(_0xd6ff[1]);var controller=require(_0xd6ff[2]);var license=require(_0xd6ff[3]);var auth=require(_0xd6ff[4]);var router=express.Router();router[_0xd6ff[13]](_0xd6ff[5],license[_0xd6ff[6]](),license[_0xd6ff[7]](),auth[_0xd6ff[8]](),auth[_0xd6ff[11]]([8],[_0xd6ff[9],_0xd6ff[10]]),controller[_0xd6ff[12]]);router[_0xd6ff[13]](_0xd6ff[14],license[_0xd6ff[6]](),license[_0xd6ff[7]](),auth[_0xd6ff[8]](),auth[_0xd6ff[11]]([8],[_0xd6ff[9],_0xd6ff[10]]),controller[_0xd6ff[15]]);router[_0xd6ff[17]](_0xd6ff[5],license[_0xd6ff[6]](),license[_0xd6ff[7]](),auth[_0xd6ff[8]](),auth[_0xd6ff[11]]([8],[_0xd6ff[9],_0xd6ff[10]]),controller[_0xd6ff[16]]);router[_0xd6ff[19]](_0xd6ff[14],license[_0xd6ff[6]](),license[_0xd6ff[7]](),auth[_0xd6ff[8]](),auth[_0xd6ff[11]]([8],[_0xd6ff[9]]),controller[_0xd6ff[18]]);router[_0xd6ff[21]](_0xd6ff[14],license[_0xd6ff[6]](),license[_0xd6ff[7]](),auth[_0xd6ff[8]](),auth[_0xd6ff[11]]([8],[_0xd6ff[9]]),controller[_0xd6ff[20]]);module[_0xd6ff[22]]= router \ No newline at end of file +var _0x13f6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x6D\x65\x73\x73\x61\x67\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x13f6[0];var express=require(_0x13f6[1]);var controller=require(_0x13f6[2]);var license=require(_0x13f6[3]);var auth=require(_0x13f6[4]);var router=express.Router();router[_0x13f6[13]](_0x13f6[5],license[_0x13f6[6]](),license[_0x13f6[7]](),auth[_0x13f6[8]](),auth[_0x13f6[11]]([8],[_0x13f6[9],_0x13f6[10]]),controller[_0x13f6[12]]);router[_0x13f6[13]](_0x13f6[14],license[_0x13f6[6]](),license[_0x13f6[7]](),auth[_0x13f6[8]](),auth[_0x13f6[11]]([8],[_0x13f6[9],_0x13f6[10]]),controller[_0x13f6[15]]);router[_0x13f6[17]](_0x13f6[5],license[_0x13f6[6]](),license[_0x13f6[7]](),auth[_0x13f6[8]](),auth[_0x13f6[11]]([8],[_0x13f6[9],_0x13f6[10]]),controller[_0x13f6[16]]);router[_0x13f6[19]](_0x13f6[14],license[_0x13f6[6]](),license[_0x13f6[7]](),auth[_0x13f6[8]](),auth[_0x13f6[11]]([8],[_0x13f6[9]]),controller[_0x13f6[18]]);router[_0x13f6[21]](_0x13f6[14],license[_0x13f6[6]](),license[_0x13f6[7]](),auth[_0x13f6[8]](),auth[_0x13f6[11]]([8],[_0x13f6[9]]),controller[_0x13f6[20]]);module[_0x13f6[22]]= router \ 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 6f74d5b..a9a02a5 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 @@ -var _0x8386=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0x8386[0];var _=require(_0x8386[1]);var Util=require(_0x8386[2]);var ChatProactiveAction=require(_0x8386[4])[_0x8386[3]];function handleError(_0x68e7x5,_0x68e7x6){_0x68e7x6= _0x68e7x6|| 500;return function(_0x68e7x7){_0x68e7x5[_0x8386[6]](_0x68e7x6)[_0x8386[5]](_0x68e7x7)}}function responseWithResult(_0x68e7x5,_0x68e7x6){_0x68e7x6= _0x68e7x6|| 200;return function(_0x68e7x9){if(_0x68e7x9){_0x68e7x5[_0x8386[6]](_0x68e7x6)[_0x8386[7]](_0x68e7x9)}}}function responseWithoutResult(_0x68e7x5,_0x68e7x6){_0x68e7x6= _0x68e7x6|| 204;return function(){_0x68e7x5[_0x8386[8]](_0x68e7x6)}}function handleEntityNotFound(_0x68e7x5){return function(_0x68e7x9){if(!_0x68e7x9){_0x68e7x5[_0x8386[6]](404)[_0x8386[9]]();return null};return _0x68e7x9}}function saveUpdates(_0x68e7xd){return function(_0x68e7x9){return _0x68e7x9[_0x8386[11]](_0x68e7xd)[_0x8386[10]](function(_0x68e7xe){return _0x68e7xe})}}function removeEntity(_0x68e7x5){return function(_0x68e7x9){if(_0x68e7x9){return _0x68e7x9[_0x8386[12]]()[_0x8386[10]](function(){_0x68e7x5[_0x8386[6]](204)[_0x8386[9]]()})}}}exports[_0x8386[13]]= function(_0x68e7x10,_0x68e7x5){return ChatProactiveAction[_0x8386[17]](Util[_0x8386[16]](_0x68e7x10[_0x8386[15]]))[_0x8386[10]](responseWithResult(_0x68e7x5))[_0x8386[14]](handleError(_0x68e7x5))};exports[_0x8386[18]]= function(_0x68e7x10,_0x68e7x5){return ChatProactiveAction[_0x8386[21]](_0x68e7x10[_0x8386[20]][_0x8386[19]])[_0x8386[10]](handleEntityNotFound(_0x68e7x5))[_0x8386[10]](responseWithResult(_0x68e7x5))[_0x8386[14]](handleError(_0x68e7x5))};exports[_0x8386[22]]= function(_0x68e7x10,_0x68e7x5){return ChatProactiveAction[_0x8386[22]](_0x68e7x10[_0x8386[23]])[_0x8386[10]](responseWithResult(_0x68e7x5,201))[_0x8386[14]](handleError(_0x68e7x5))};exports[_0x8386[24]]= function(_0x68e7x10,_0x68e7x5){if(_0x68e7x10[_0x8386[23]][_0x8386[19]]){delete _0x68e7x10[_0x8386[23]][_0x8386[19]]};return ChatProactiveAction[_0x8386[21]](_0x68e7x10[_0x8386[20]][_0x8386[19]])[_0x8386[10]](handleEntityNotFound(_0x68e7x5))[_0x8386[10]](saveUpdates(_0x68e7x10[_0x8386[23]]))[_0x8386[10]](responseWithResult(_0x68e7x5))[_0x8386[14]](handleError(_0x68e7x5))};exports[_0x8386[12]]= function(_0x68e7x10,_0x68e7x5){return ChatProactiveAction[_0x8386[21]](_0x68e7x10[_0x8386[20]][_0x8386[19]])[_0x8386[10]](handleEntityNotFound(_0x68e7x5))[_0x8386[10]](removeEntity(_0x68e7x5))[_0x8386[14]](handleError(_0x68e7x5))} \ No newline at end of file +var _0xd9a2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x6A\x73\x6F\x6E","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x65\x6E\x64","\x74\x68\x65\x6E","\x75\x70\x64\x61\x74\x65\x41\x74\x74\x72\x69\x62\x75\x74\x65\x73","\x64\x65\x73\x74\x72\x6F\x79","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65"];_0xd9a2[0];var _=require(_0xd9a2[1]);var Util=require(_0xd9a2[2]);var ChatProactiveAction=require(_0xd9a2[4])[_0xd9a2[3]];function handleError(_0xc89ax5,_0xc89ax6){_0xc89ax6= _0xc89ax6|| 500;return function(_0xc89ax7){_0xc89ax5[_0xd9a2[6]](_0xc89ax6)[_0xd9a2[5]](_0xc89ax7)}}function responseWithResult(_0xc89ax5,_0xc89ax6){_0xc89ax6= _0xc89ax6|| 200;return function(_0xc89ax9){if(_0xc89ax9){_0xc89ax5[_0xd9a2[6]](_0xc89ax6)[_0xd9a2[7]](_0xc89ax9)}}}function responseWithoutResult(_0xc89ax5,_0xc89ax6){_0xc89ax6= _0xc89ax6|| 204;return function(){_0xc89ax5[_0xd9a2[8]](_0xc89ax6)}}function handleEntityNotFound(_0xc89ax5){return function(_0xc89ax9){if(!_0xc89ax9){_0xc89ax5[_0xd9a2[6]](404)[_0xd9a2[9]]();return null};return _0xc89ax9}}function saveUpdates(_0xc89axd){return function(_0xc89ax9){return _0xc89ax9[_0xd9a2[11]](_0xc89axd)[_0xd9a2[10]](function(_0xc89axe){return _0xc89axe})}}function removeEntity(_0xc89ax5){return function(_0xc89ax9){if(_0xc89ax9){return _0xc89ax9[_0xd9a2[12]]()[_0xd9a2[10]](function(){_0xc89ax5[_0xd9a2[6]](204)[_0xd9a2[9]]()})}}}exports[_0xd9a2[13]]= function(_0xc89ax10,_0xc89ax5){return ChatProactiveAction[_0xd9a2[17]](Util[_0xd9a2[16]](_0xc89ax10[_0xd9a2[15]]))[_0xd9a2[10]](responseWithResult(_0xc89ax5))[_0xd9a2[14]](handleError(_0xc89ax5))};exports[_0xd9a2[18]]= function(_0xc89ax10,_0xc89ax5){return ChatProactiveAction[_0xd9a2[21]](_0xc89ax10[_0xd9a2[20]][_0xd9a2[19]])[_0xd9a2[10]](handleEntityNotFound(_0xc89ax5))[_0xd9a2[10]](responseWithResult(_0xc89ax5))[_0xd9a2[14]](handleError(_0xc89ax5))};exports[_0xd9a2[22]]= function(_0xc89ax10,_0xc89ax5){return ChatProactiveAction[_0xd9a2[22]](_0xc89ax10[_0xd9a2[23]])[_0xd9a2[10]](responseWithResult(_0xc89ax5,201))[_0xd9a2[14]](handleError(_0xc89ax5))};exports[_0xd9a2[24]]= function(_0xc89ax10,_0xc89ax5){if(_0xc89ax10[_0xd9a2[23]][_0xd9a2[19]]){delete _0xc89ax10[_0xd9a2[23]][_0xd9a2[19]]};return ChatProactiveAction[_0xd9a2[21]](_0xc89ax10[_0xd9a2[20]][_0xd9a2[19]])[_0xd9a2[10]](handleEntityNotFound(_0xc89ax5))[_0xd9a2[10]](saveUpdates(_0xc89ax10[_0xd9a2[23]]))[_0xd9a2[10]](responseWithResult(_0xc89ax5))[_0xd9a2[14]](handleError(_0xc89ax5))};exports[_0xd9a2[12]]= function(_0xc89ax10,_0xc89ax5){return ChatProactiveAction[_0xd9a2[21]](_0xc89ax10[_0xd9a2[20]][_0xd9a2[19]])[_0xd9a2[10]](handleEntityNotFound(_0xc89ax5))[_0xd9a2[10]](removeEntity(_0xc89ax5))[_0xd9a2[14]](handleError(_0xc89ax5))} \ 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 1ed7240..0ed594a 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 @@ -var _0x69d4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x69d4[0];const EventEmitter=require(_0x69d4[1]);const ChatProactiveAction=require(_0x69d4[3])[_0x69d4[2]];var ChatProactiveActionEvents= new EventEmitter();ChatProactiveActionEvents[_0x69d4[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x69d4[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x69d4[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x69d4[6]};for(var e in events){var event=events[e];ChatProactiveAction[_0x69d4[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x4531x8,_0x4531x9,_0x4531xa){ChatProactiveActionEvents[_0x69d4[10]](event+ _0x69d4[8]+ _0x4531x8[_0x69d4[9]],_0x4531x8);ChatProactiveActionEvents[_0x69d4[10]](event,_0x4531x8);_0x4531xa(null)}}module[_0x69d4[11]]= ChatProactiveActionEvents \ No newline at end of file +var _0x21e4=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x21e4[0];const EventEmitter=require(_0x21e4[1]);const ChatProactiveAction=require(_0x21e4[3])[_0x21e4[2]];var ChatProactiveActionEvents= new EventEmitter();ChatProactiveActionEvents[_0x21e4[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x21e4[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x21e4[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x21e4[6]};for(var e in events){var event=events[e];ChatProactiveAction[_0x21e4[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x8c59x8,_0x8c59x9,_0x8c59xa){ChatProactiveActionEvents[_0x21e4[10]](event+ _0x21e4[8]+ _0x8c59x8[_0x21e4[9]],_0x8c59x8);ChatProactiveActionEvents[_0x21e4[10]](event,_0x8c59x8);_0x8c59xa(null)}}module[_0x21e4[11]]= ChatProactiveActionEvents \ 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 1d71011..2d03435 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 @@ -var _0x2915=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x2915[0];const ChatProactiveActionEvents=require(_0x2915[1]);var events=[_0x2915[2],_0x2915[3]];exports[_0x2915[4]]= function(_0xdaa6x3){for(var _0xdaa6x4=0,_0xdaa6x5=events[_0x2915[5]];_0xdaa6x4< _0xdaa6x5;_0xdaa6x4++){var _0xdaa6x6=events[_0xdaa6x4];var _0xdaa6x7=createListener(_0x2915[6]+ _0xdaa6x6,_0xdaa6x3);ChatProactiveActionEvents[_0x2915[7]](_0xdaa6x6,_0xdaa6x7);_0xdaa6x3[_0x2915[7]](_0x2915[8],removeListener(_0xdaa6x6,_0xdaa6x7))}};function createListener(_0xdaa6x6,_0xdaa6x3){return function(_0xdaa6x9){_0xdaa6x3[_0x2915[9]](_0xdaa6x6,_0xdaa6x9)}}function removeListener(_0xdaa6x6,_0xdaa6x7){return function(){ChatProactiveActionEvents[_0x2915[10]](_0xdaa6x6,_0xdaa6x7)}} \ No newline at end of file +var _0x940b=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x940b[0];const ChatProactiveActionEvents=require(_0x940b[1]);var events=[_0x940b[2],_0x940b[3]];exports[_0x940b[4]]= function(_0xfe9fx3){for(var _0xfe9fx4=0,_0xfe9fx5=events[_0x940b[5]];_0xfe9fx4< _0xfe9fx5;_0xfe9fx4++){var _0xfe9fx6=events[_0xfe9fx4];var _0xfe9fx7=createListener(_0x940b[6]+ _0xfe9fx6,_0xfe9fx3);ChatProactiveActionEvents[_0x940b[7]](_0xfe9fx6,_0xfe9fx7);_0xfe9fx3[_0x940b[7]](_0x940b[8],removeListener(_0xfe9fx6,_0xfe9fx7))}};function createListener(_0xfe9fx6,_0xfe9fx3){return function(_0xfe9fx9){_0xfe9fx3[_0x940b[9]](_0xfe9fx6,_0xfe9fx9)}}function removeListener(_0xfe9fx6,_0xfe9fx7){return function(){ChatProactiveActionEvents[_0x940b[10]](_0xfe9fx6,_0xfe9fx7)}} \ 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 5f4bd4c..336835d 100644 --- a/server/api/chat_proactive_action/index.js +++ b/server/api/chat_proactive_action/index.js @@ -1 +1 @@ -var _0xec96=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xec96[0];var express=require(_0xec96[1]);var auth=require(_0xec96[2]);var controller=require(_0xec96[3]);var license=require(_0xec96[4]);var router=express.Router();router[_0xec96[12]](_0xec96[5],license[_0xec96[6]](),license[_0xec96[7]](),auth[_0xec96[8]](),auth[_0xec96[10]]([8],[_0xec96[9]]),controller[_0xec96[11]]);router[_0xec96[12]](_0xec96[13],license[_0xec96[6]](),license[_0xec96[7]](),auth[_0xec96[8]](),auth[_0xec96[10]]([8],[_0xec96[9]]),controller[_0xec96[14]]);router[_0xec96[16]](_0xec96[5],license[_0xec96[6]](),license[_0xec96[7]](),auth[_0xec96[8]](),auth[_0xec96[10]]([8],[_0xec96[9]]),controller[_0xec96[15]]);router[_0xec96[18]](_0xec96[13],license[_0xec96[6]](),license[_0xec96[7]](),auth[_0xec96[8]](),auth[_0xec96[10]]([8],[_0xec96[9]]),controller[_0xec96[17]]);router[_0xec96[19]](_0xec96[13],license[_0xec96[6]](),license[_0xec96[7]](),auth[_0xec96[8]](),auth[_0xec96[10]]([8],[_0xec96[9]]),controller[_0xec96[17]]);router[_0xec96[21]](_0xec96[13],license[_0xec96[6]](),license[_0xec96[7]](),auth[_0xec96[8]](),auth[_0xec96[10]]([8],[_0xec96[9]]),controller[_0xec96[20]]);module[_0xec96[22]]= router \ No newline at end of file +var _0x21a6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2F\x63\x68\x61\x74\x5F\x70\x72\x6F\x61\x63\x74\x69\x76\x65\x5F\x61\x63\x74\x69\x6F\x6E\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x70\x61\x74\x63\x68","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x21a6[0];var express=require(_0x21a6[1]);var auth=require(_0x21a6[2]);var controller=require(_0x21a6[3]);var license=require(_0x21a6[4]);var router=express.Router();router[_0x21a6[12]](_0x21a6[5],license[_0x21a6[6]](),license[_0x21a6[7]](),auth[_0x21a6[8]](),auth[_0x21a6[10]]([8],[_0x21a6[9]]),controller[_0x21a6[11]]);router[_0x21a6[12]](_0x21a6[13],license[_0x21a6[6]](),license[_0x21a6[7]](),auth[_0x21a6[8]](),auth[_0x21a6[10]]([8],[_0x21a6[9]]),controller[_0x21a6[14]]);router[_0x21a6[16]](_0x21a6[5],license[_0x21a6[6]](),license[_0x21a6[7]](),auth[_0x21a6[8]](),auth[_0x21a6[10]]([8],[_0x21a6[9]]),controller[_0x21a6[15]]);router[_0x21a6[18]](_0x21a6[13],license[_0x21a6[6]](),license[_0x21a6[7]](),auth[_0x21a6[8]](),auth[_0x21a6[10]]([8],[_0x21a6[9]]),controller[_0x21a6[17]]);router[_0x21a6[19]](_0x21a6[13],license[_0x21a6[6]](),license[_0x21a6[7]](),auth[_0x21a6[8]](),auth[_0x21a6[10]]([8],[_0x21a6[9]]),controller[_0x21a6[17]]);router[_0x21a6[21]](_0x21a6[13],license[_0x21a6[6]](),license[_0x21a6[7]](),auth[_0x21a6[8]](),auth[_0x21a6[10]]([8],[_0x21a6[9]]),controller[_0x21a6[20]]);module[_0x21a6[22]]= router \ 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 456c0bc..622d360 100644 --- a/server/api/chat_queue/chat_queue.controller.js +++ b/server/api/chat_queue/chat_queue.controller.js @@ -1 +1 @@ -var _0xa60d=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x77\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0xa60d[0];var _=require(_0xa60d[1]);var Util=require(_0xa60d[2]);var ChatQueue=require(_0xa60d[4])[_0xa60d[3]];var User=require(_0xa60d[4])[_0xa60d[5]];var UserHasChatQueue=require(_0xa60d[4])[_0xa60d[6]];exports[_0xa60d[7]]= function(_0x9f5cx6,_0x9f5cx7){switch(_0x9f5cx6[_0xa60d[15]][_0xa60d[23]]){case _0xa60d[15]:return User[_0xa60d[16]](_0x9f5cx6[_0xa60d[15]][_0xa60d[14]],{attributes:[_0xa60d[14]]})[_0xa60d[11]](Util[_0xa60d[13]](_0x9f5cx6[_0xa60d[12]]))[_0xa60d[11]](function(_0x9f5cx9){_0x9f5cx7[_0xa60d[10]](200)[_0xa60d[9]](_0x9f5cx9)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)});default:return ChatQueue[_0xa60d[22]](_0xa60d[21])[_0xa60d[20]](Util[_0xa60d[19]](_0x9f5cx6[_0xa60d[12]]))[_0xa60d[11]](function(_0x9f5cx9){return _0x9f5cx7[_0xa60d[10]](200)[_0xa60d[9]]({rows:_0x9f5cx9[_0xa60d[17]],count:_0x9f5cx9[_0xa60d[17]][_0xa60d[18]]})})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})}};exports[_0xa60d[24]]= function(_0x9f5cx6,_0x9f5cx7,_0x9f5cxa){return UserHasChatQueue[_0xa60d[25]]({where:{UserId:_0x9f5cx6[_0xa60d[15]][_0xa60d[14]]}})[_0xa60d[11]](function(_0x9f5cxb){return _0x9f5cx7[_0xa60d[10]](200)[_0xa60d[9]](_0x9f5cxb)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[26]]= function(_0x9f5cx6,_0x9f5cx7){return ChatQueue[_0xa60d[16]](_0x9f5cx6[_0xa60d[28]][_0xa60d[14]])[_0xa60d[11]](function(_0x9f5cxc){if(!_0x9f5cxc){return _0x9f5cx7[_0xa60d[27]](404)};return _0x9f5cx7[_0xa60d[9]](_0x9f5cxc)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[29]]= function(_0x9f5cx6,_0x9f5cx7){return ChatQueue[_0xa60d[16]](_0x9f5cx6[_0xa60d[28]][_0xa60d[14]])[_0xa60d[11]](function(_0x9f5cxe){if(!_0x9f5cxe){return _0x9f5cx7[_0xa60d[27]](404)};return _0x9f5cxe[_0xa60d[34]]({where:{role:_0xa60d[30]},attributes:[_0xa60d[14],_0xa60d[31],_0xa60d[32],_0xa60d[33]]})})[_0xa60d[11]](function(_0x9f5cxd){return _0x9f5cx7[_0xa60d[10]](200)[_0xa60d[9]]({rows:_0x9f5cxd,count:_0x9f5cxd[_0xa60d[18]]})})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[35]]= function(_0x9f5cx6,_0x9f5cx7){return ChatQueue[_0xa60d[35]](_0x9f5cx6[_0xa60d[36]])[_0xa60d[11]](function(_0x9f5cxc){return _0x9f5cx7[_0xa60d[10]](201)[_0xa60d[9]](_0x9f5cxc)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[37]]= function(_0x9f5cx6,_0x9f5cx7){if(_0x9f5cx6[_0xa60d[36]][_0xa60d[14]]){delete _0x9f5cx6[_0xa60d[36]][_0xa60d[14]]};return ChatQueue[_0xa60d[16]](_0x9f5cx6[_0xa60d[28]][_0xa60d[14]])[_0xa60d[11]](function(_0x9f5cxc){if(!_0x9f5cxc){return _0x9f5cx7[_0xa60d[27]](404)};var _0x9f5cxf=_[_0xa60d[38]](_0x9f5cxc,_0x9f5cx6[_0xa60d[36]]);return _0x9f5cxf[_0xa60d[39]]()})[_0xa60d[11]](function(_0x9f5cxc){return _0x9f5cx7[_0xa60d[10]](200)[_0xa60d[9]](_0x9f5cxc)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[40]]= function(_0x9f5cx6,_0x9f5cx7,_0x9f5cxa){return ChatQueue[_0xa60d[16]](_0x9f5cx6[_0xa60d[28]][_0xa60d[14]])[_0xa60d[11]](function(_0x9f5cx10){if(!_0x9f5cx10){return _0x9f5cx7[_0xa60d[27]](404)};var _0x9f5cxb=_[_0xa60d[43]](_0x9f5cx6[_0xa60d[36]][_0xa60d[41]],function(_0x9f5cx11){return {UserId:_0x9f5cx11,penalty:_0x9f5cx6[_0xa60d[36]][_0xa60d[42]],ChatQueueId:_0x9f5cx10[_0xa60d[14]],queue:_0x9f5cx10[_0xa60d[31]]}});return UserHasChatQueue[_0xa60d[44]](_0x9f5cxb,{individualHooks:true})})[_0xa60d[11]](function(){return _0x9f5cx7[_0xa60d[27]](200)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[45]]= function(_0x9f5cx6,_0x9f5cx7,_0x9f5cxa){return ChatQueue[_0xa60d[16]](_0x9f5cx6[_0xa60d[28]][_0xa60d[14]])[_0xa60d[11]](function(_0x9f5cx10){if(!_0x9f5cx10){return _0x9f5cx7[_0xa60d[27]](404)};return _0x9f5cx10[_0xa60d[46]](_0x9f5cx6[_0xa60d[12]][_0xa60d[41]],{individualHooks:true})})[_0xa60d[11]](function(){return _0x9f5cx7[_0xa60d[27]](200)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[47]]= function(_0x9f5cx6,_0x9f5cx7){return ChatQueue[_0xa60d[16]](_0x9f5cx6[_0xa60d[28]][_0xa60d[14]])[_0xa60d[11]](function(_0x9f5cxc){if(!_0x9f5cxc){return _0x9f5cx7[_0xa60d[27]](404)};return _0x9f5cxc[_0xa60d[47]]()})[_0xa60d[11]](function(){return _0x9f5cx7[_0xa60d[27]](204)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};exports[_0xa60d[48]]= function(_0x9f5cx6,_0x9f5cx7){return ChatQueue[_0xa60d[47]]({where:{id:_0x9f5cx6[_0xa60d[12]][_0xa60d[49]]},individualHooks:true})[_0xa60d[11]](function(){return _0x9f5cx7[_0xa60d[27]](204)})[_0xa60d[8]](function(_0x9f5cx8){return handleError(_0x9f5cx7,_0x9f5cx8)})};function handleError(_0x9f5cx7,_0x9f5cx8){return _0x9f5cx7[_0xa60d[10]](500)[_0xa60d[9]](_0x9f5cx8)} \ No newline at end of file +var _0x3318=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x55\x73\x65\x72","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x43\x68\x61\x74\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x69\x64","\x75\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x72\x6F\x77\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x64\x65\x66\x61\x75\x6C\x74","\x73\x63\x6F\x70\x65","\x72\x6F\x6C\x65","\x6D\x65","\x66\x69\x6E\x64\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x70\x61\x72\x61\x6D\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x67\x65\x74\x55\x73\x65\x72\x73","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x61\x67\x65\x6E\x74\x73","\x70\x65\x6E\x61\x6C\x74\x79","\x6D\x61\x70","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x72\x65\x6D\x6F\x76\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x69\x64\x73"];_0x3318[0];var _=require(_0x3318[1]);var Util=require(_0x3318[2]);var ChatQueue=require(_0x3318[4])[_0x3318[3]];var User=require(_0x3318[4])[_0x3318[5]];var UserHasChatQueue=require(_0x3318[4])[_0x3318[6]];exports[_0x3318[7]]= function(_0x77d5x6,_0x77d5x7){switch(_0x77d5x6[_0x3318[15]][_0x3318[23]]){case _0x3318[15]:return User[_0x3318[16]](_0x77d5x6[_0x3318[15]][_0x3318[14]],{attributes:[_0x3318[14]]})[_0x3318[11]](Util[_0x3318[13]](_0x77d5x6[_0x3318[12]]))[_0x3318[11]](function(_0x77d5x9){_0x77d5x7[_0x3318[10]](200)[_0x3318[9]](_0x77d5x9)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)});default:return ChatQueue[_0x3318[22]](_0x3318[21])[_0x3318[20]](Util[_0x3318[19]](_0x77d5x6[_0x3318[12]]))[_0x3318[11]](function(_0x77d5x9){return _0x77d5x7[_0x3318[10]](200)[_0x3318[9]]({rows:_0x77d5x9[_0x3318[17]],count:_0x77d5x9[_0x3318[17]][_0x3318[18]]})})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})}};exports[_0x3318[24]]= function(_0x77d5x6,_0x77d5x7,_0x77d5xa){return UserHasChatQueue[_0x3318[25]]({where:{UserId:_0x77d5x6[_0x3318[15]][_0x3318[14]]}})[_0x3318[11]](function(_0x77d5xb){return _0x77d5x7[_0x3318[10]](200)[_0x3318[9]](_0x77d5xb)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[26]]= function(_0x77d5x6,_0x77d5x7){return ChatQueue[_0x3318[16]](_0x77d5x6[_0x3318[28]][_0x3318[14]])[_0x3318[11]](function(_0x77d5xc){if(!_0x77d5xc){return _0x77d5x7[_0x3318[27]](404)};return _0x77d5x7[_0x3318[9]](_0x77d5xc)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[29]]= function(_0x77d5x6,_0x77d5x7){return ChatQueue[_0x3318[16]](_0x77d5x6[_0x3318[28]][_0x3318[14]])[_0x3318[11]](function(_0x77d5xe){if(!_0x77d5xe){return _0x77d5x7[_0x3318[27]](404)};return _0x77d5xe[_0x3318[34]]({where:{role:_0x3318[30]},attributes:[_0x3318[14],_0x3318[31],_0x3318[32],_0x3318[33]]})})[_0x3318[11]](function(_0x77d5xd){return _0x77d5x7[_0x3318[10]](200)[_0x3318[9]]({rows:_0x77d5xd,count:_0x77d5xd[_0x3318[18]]})})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[35]]= function(_0x77d5x6,_0x77d5x7){return ChatQueue[_0x3318[35]](_0x77d5x6[_0x3318[36]])[_0x3318[11]](function(_0x77d5xc){return _0x77d5x7[_0x3318[10]](201)[_0x3318[9]](_0x77d5xc)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[37]]= function(_0x77d5x6,_0x77d5x7){if(_0x77d5x6[_0x3318[36]][_0x3318[14]]){delete _0x77d5x6[_0x3318[36]][_0x3318[14]]};return ChatQueue[_0x3318[16]](_0x77d5x6[_0x3318[28]][_0x3318[14]])[_0x3318[11]](function(_0x77d5xc){if(!_0x77d5xc){return _0x77d5x7[_0x3318[27]](404)};var _0x77d5xf=_[_0x3318[38]](_0x77d5xc,_0x77d5x6[_0x3318[36]]);return _0x77d5xf[_0x3318[39]]()})[_0x3318[11]](function(_0x77d5xc){return _0x77d5x7[_0x3318[10]](200)[_0x3318[9]](_0x77d5xc)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[40]]= function(_0x77d5x6,_0x77d5x7,_0x77d5xa){return ChatQueue[_0x3318[16]](_0x77d5x6[_0x3318[28]][_0x3318[14]])[_0x3318[11]](function(_0x77d5x10){if(!_0x77d5x10){return _0x77d5x7[_0x3318[27]](404)};var _0x77d5xb=_[_0x3318[43]](_0x77d5x6[_0x3318[36]][_0x3318[41]],function(_0x77d5x11){return {UserId:_0x77d5x11,penalty:_0x77d5x6[_0x3318[36]][_0x3318[42]],ChatQueueId:_0x77d5x10[_0x3318[14]],queue:_0x77d5x10[_0x3318[31]]}});return UserHasChatQueue[_0x3318[44]](_0x77d5xb,{individualHooks:true})})[_0x3318[11]](function(){return _0x77d5x7[_0x3318[27]](200)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[45]]= function(_0x77d5x6,_0x77d5x7,_0x77d5xa){return ChatQueue[_0x3318[16]](_0x77d5x6[_0x3318[28]][_0x3318[14]])[_0x3318[11]](function(_0x77d5x10){if(!_0x77d5x10){return _0x77d5x7[_0x3318[27]](404)};return _0x77d5x10[_0x3318[46]](_0x77d5x6[_0x3318[12]][_0x3318[41]],{individualHooks:true})})[_0x3318[11]](function(){return _0x77d5x7[_0x3318[27]](200)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[47]]= function(_0x77d5x6,_0x77d5x7){return ChatQueue[_0x3318[16]](_0x77d5x6[_0x3318[28]][_0x3318[14]])[_0x3318[11]](function(_0x77d5xc){if(!_0x77d5xc){return _0x77d5x7[_0x3318[27]](404)};return _0x77d5xc[_0x3318[47]]()})[_0x3318[11]](function(){return _0x77d5x7[_0x3318[27]](204)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};exports[_0x3318[48]]= function(_0x77d5x6,_0x77d5x7){return ChatQueue[_0x3318[47]]({where:{id:_0x77d5x6[_0x3318[12]][_0x3318[49]]},individualHooks:true})[_0x3318[11]](function(){return _0x77d5x7[_0x3318[27]](204)})[_0x3318[8]](function(_0x77d5x8){return handleError(_0x77d5x7,_0x77d5x8)})};function handleError(_0x77d5x7,_0x77d5x8){return _0x77d5x7[_0x3318[10]](500)[_0x3318[9]](_0x77d5x8)} \ 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 f50d500..84c46a7 100644 --- a/server/api/chat_queue/chat_queue.events.js +++ b/server/api/chat_queue/chat_queue.events.js @@ -1 +1 @@ -var _0xdda2=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xdda2[0];const EventEmitter=require(_0xdda2[1]);const ChatQueue=require(_0xdda2[3])[_0xdda2[2]];var ChatQueueEvents= new EventEmitter();ChatQueueEvents[_0xdda2[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xdda2[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xdda2[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xdda2[6]};for(var e in events){var event=events[e];ChatQueue[_0xdda2[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xb403x8,_0xb403x9,_0xb403xa){ChatQueueEvents[_0xdda2[10]](event+ _0xdda2[8]+ _0xb403x8[_0xdda2[9]],_0xb403x8);ChatQueueEvents[_0xdda2[10]](event,_0xb403x8);_0xb403xa(null)}}module[_0xdda2[11]]= ChatQueueEvents \ No newline at end of file +var _0x4bde=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x4bde[0];const EventEmitter=require(_0x4bde[1]);const ChatQueue=require(_0x4bde[3])[_0x4bde[2]];var ChatQueueEvents= new EventEmitter();ChatQueueEvents[_0x4bde[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x4bde[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x4bde[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x4bde[6]};for(var e in events){var event=events[e];ChatQueue[_0x4bde[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x23dax8,_0x23dax9,_0x23daxa){ChatQueueEvents[_0x4bde[10]](event+ _0x4bde[8]+ _0x23dax8[_0x4bde[9]],_0x23dax8);ChatQueueEvents[_0x4bde[10]](event,_0x23dax8);_0x23daxa(null)}}module[_0x4bde[11]]= ChatQueueEvents \ 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 1317a10..9b5646c 100644 --- a/server/api/chat_queue/chat_queue.socket.js +++ b/server/api/chat_queue/chat_queue.socket.js @@ -1 +1 @@ -var _0x59ff=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x59ff[0];const ChatQueueEvents=require(_0x59ff[1]);var events=[_0x59ff[2],_0x59ff[3]];exports[_0x59ff[4]]= function(_0x9a62x3){for(var _0x9a62x4=0,_0x9a62x5=events[_0x59ff[5]];_0x9a62x4< _0x9a62x5;_0x9a62x4++){var _0x9a62x6=events[_0x9a62x4];var _0x9a62x7=createListener(_0x59ff[6]+ _0x9a62x6,_0x9a62x3);ChatQueueEvents[_0x59ff[7]](_0x9a62x6,_0x9a62x7);_0x9a62x3[_0x59ff[7]](_0x59ff[8],removeListener(_0x9a62x6,_0x9a62x7))}};function createListener(_0x9a62x6,_0x9a62x3){return function(_0x9a62x9){_0x9a62x3[_0x59ff[9]](_0x9a62x6,_0x9a62x9)}}function removeListener(_0x9a62x6,_0x9a62x7){return function(){ChatQueueEvents[_0x59ff[10]](_0x9a62x6,_0x9a62x7)}} \ No newline at end of file +var _0x64dc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x64dc[0];const ChatQueueEvents=require(_0x64dc[1]);var events=[_0x64dc[2],_0x64dc[3]];exports[_0x64dc[4]]= function(_0xdb57x3){for(var _0xdb57x4=0,_0xdb57x5=events[_0x64dc[5]];_0xdb57x4< _0xdb57x5;_0xdb57x4++){var _0xdb57x6=events[_0xdb57x4];var _0xdb57x7=createListener(_0x64dc[6]+ _0xdb57x6,_0xdb57x3);ChatQueueEvents[_0x64dc[7]](_0xdb57x6,_0xdb57x7);_0xdb57x3[_0x64dc[7]](_0x64dc[8],removeListener(_0xdb57x6,_0xdb57x7))}};function createListener(_0xdb57x6,_0xdb57x3){return function(_0xdb57x9){_0xdb57x3[_0x64dc[9]](_0xdb57x6,_0xdb57x9)}}function removeListener(_0xdb57x6,_0xdb57x7){return function(){ChatQueueEvents[_0x64dc[10]](_0xdb57x6,_0xdb57x7)}} \ No newline at end of file diff --git a/server/api/chat_queue/index.js b/server/api/chat_queue/index.js index 0b0c2aa..ecbda25 100644 --- a/server/api/chat_queue/index.js +++ b/server/api/chat_queue/index.js @@ -1 +1 @@ -var _0x5c07=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x6D\x65","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0x5c07[0];var express=require(_0x5c07[1]);var controller=require(_0x5c07[2]);var auth=require(_0x5c07[3]);var license=require(_0x5c07[4]);var router=express.Router();router[_0x5c07[12]](_0x5c07[5],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[11]]);router[_0x5c07[12]](_0x5c07[13],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[14]]);router[_0x5c07[12]](_0x5c07[15],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[16]]);router[_0x5c07[12]](_0x5c07[17],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[18]]);router[_0x5c07[20]](_0x5c07[5],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[19]]);router[_0x5c07[20]](_0x5c07[15],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[21]]);router[_0x5c07[23]](_0x5c07[17],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[22]]);router[_0x5c07[25]](_0x5c07[15],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[24]]);router[_0x5c07[26]](_0x5c07[17],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[22]]);router[_0x5c07[25]](_0x5c07[5],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[27]]);router[_0x5c07[25]](_0x5c07[17],license[_0x5c07[6]](),license[_0x5c07[7]](),auth[_0x5c07[8]](),auth[_0x5c07[10]]([8],[_0x5c07[9]]),controller[_0x5c07[28]]);module[_0x5c07[29]]= router \ No newline at end of file +var _0xa8df=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x71\x75\x65\x75\x65\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6D\x65","\x6D\x65","\x2F\x3A\x69\x64\x2F\x61\x67\x65\x6E\x74\x73","\x73\x68\x6F\x77\x41\x67\x65\x6E\x74\x73","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x61\x64\x64\x41\x67\x65\x6E\x74\x73","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x72\x65\x6D\x6F\x76\x65\x41\x67\x65\x6E\x74\x73","\x64\x65\x6C\x65\x74\x65","\x70\x61\x74\x63\x68","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x64\x65\x73\x74\x72\x6F\x79","\x65\x78\x70\x6F\x72\x74\x73"];_0xa8df[0];var express=require(_0xa8df[1]);var controller=require(_0xa8df[2]);var auth=require(_0xa8df[3]);var license=require(_0xa8df[4]);var router=express.Router();router[_0xa8df[12]](_0xa8df[5],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[11]]);router[_0xa8df[12]](_0xa8df[13],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[14]]);router[_0xa8df[12]](_0xa8df[15],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[16]]);router[_0xa8df[12]](_0xa8df[17],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[18]]);router[_0xa8df[20]](_0xa8df[5],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[19]]);router[_0xa8df[20]](_0xa8df[15],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[21]]);router[_0xa8df[23]](_0xa8df[17],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[22]]);router[_0xa8df[25]](_0xa8df[15],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[24]]);router[_0xa8df[26]](_0xa8df[17],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[22]]);router[_0xa8df[25]](_0xa8df[5],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[27]]);router[_0xa8df[25]](_0xa8df[17],license[_0xa8df[6]](),license[_0xa8df[7]](),auth[_0xa8df[8]](),auth[_0xa8df[10]]([8],[_0xa8df[9]]),controller[_0xa8df[28]]);module[_0xa8df[29]]= router \ 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 7da80d2..f99bf50 100644 --- a/server/api/chat_room/chat_room.controller.js +++ b/server/api/chat_room/chat_room.controller.js @@ -1 +1 @@ -var _0x70b7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x6D\x6F\x6D\x65\x6E\x74","\x74\x6F\x2D\x63\x73\x76","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x6F\x70\x65\x6E","\x4F\x50\x45\x4E","\x64\x61\x79","\x73\x74\x61\x72\x74\x4F\x66","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x42\x41\x4E\x44\x4F\x4E","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x62\x6F\x64\x79","\x2C","\x73\x70\x6C\x69\x74","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x24\x61\x6E\x64","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x67\x72\x6F\x75\x70","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x70\x69\x63","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x63\x6C\x75\x64\x65","\x67\x65\x74\x41\x67\x65\x6E\x74","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65","\x65\x72\x72\x6F\x72","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x73","\x73\x68\x6F\x77","\x61\x64\x64\x72\x65\x73\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x67\x65\x74\x55\x73\x65\x72\x73","\x75\x73\x65\x72\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x73\x70\x72\x65\x61\x64","\x62\x61\x73\x65\x36\x34","\x73\x6F\x72\x74","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74","\x20","\x72\x65\x70\x6C\x61\x63\x65","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x66\x6F\x72\x45\x61\x63\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x65\x78\x74\x2F\x63\x73\x76","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0x70b7[0];var _=require(_0x70b7[1]);var md5=require(_0x70b7[2]);var moment=require(_0x70b7[3]);var csv=require(_0x70b7[4]);var Util=require(_0x70b7[5]);var User=require(_0x70b7[7])[_0x70b7[6]];var Agent=require(_0x70b7[7])[_0x70b7[6]];var ChatRoom=require(_0x70b7[7])[_0x70b7[8]];var ChatMessage=require(_0x70b7[7])[_0x70b7[9]];var ChatWebsite=require(_0x70b7[7])[_0x70b7[10]];var ChatApplication=require(_0x70b7[7])[_0x70b7[11]];var ChatQueue=require(_0x70b7[7])[_0x70b7[12]];var ChatVisitor=require(_0x70b7[7])[_0x70b7[13]];var List=require(_0x70b7[7])[_0x70b7[14]];var UserHasChatRoom=require(_0x70b7[7])[_0x70b7[15]];exports[_0x70b7[16]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){return ChatRoom[_0x70b7[31]](_[_0x70b7[30]](Util[_0x70b7[23]](_0x97e7x10[_0x70b7[22]]),{include:[{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[27],_0x70b7[28],_0x70b7[29]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x70b7[21]](function(_0x97e7x14){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x14)})[_0x70b7[18]](function(_0x97e7x13){console[_0x70b7[17]](_0x97e7x13);return handleError(_0x97e7x11,_0x97e7x13)})};function getChatQueues(_0x97e7x16){return function(){switch(_0x97e7x16[_0x70b7[28]]){case _0x70b7[35]:return User[_0x70b7[34]](_0x97e7x16[_0x70b7[24]],{attributes:[_0x70b7[24]]})[_0x70b7[21]](Util[_0x70b7[33]]({},{attributes:[_0x70b7[24]]}))[_0x70b7[21]](function(_0x97e7x17){return {include:{model:ChatWebsite,include:{model:ChatApplication,include:{model:ChatQueue,where:{id:_[_0x70b7[32]](_0x97e7x17,_0x70b7[24])}}}}}});default:return {}}}}exports[_0x70b7[36]]= function(_0x97e7x10,_0x97e7x11){return Promise[_0x70b7[41]]([])[_0x70b7[21]](getChatQueues(_0x97e7x10[_0x70b7[35]]))[_0x70b7[21]](function(_0x97e7x19){return ChatRoom[_0x70b7[40]](_[_0x70b7[30]]({where:{status:_0x70b7[37],createdAt:{$gte:moment()[_0x70b7[39]](_0x70b7[38])}}},_0x97e7x19))})[_0x70b7[21]](function(_0x97e7x18){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({value:_0x97e7x18})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[42]]= function(_0x97e7x10,_0x97e7x11){return Promise[_0x70b7[41]]([])[_0x70b7[21]](getChatQueues(_0x97e7x10[_0x70b7[35]]))[_0x70b7[21]](function(_0x97e7x19){return ChatRoom[_0x70b7[40]](_[_0x70b7[30]]({where:{status:_0x70b7[43],createdAt:{$gte:moment()[_0x70b7[39]](_0x70b7[38])}}},_0x97e7x19))})[_0x70b7[21]](function(_0x97e7x18){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({value:_0x97e7x18})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[44]]= function(_0x97e7x10,_0x97e7x11){return Promise[_0x70b7[41]]([])[_0x70b7[21]](getChatQueues(_0x97e7x10[_0x70b7[35]]))[_0x70b7[21]](function(_0x97e7x19){return ChatRoom[_0x70b7[40]](_[_0x70b7[30]]({where:{status:_0x70b7[45],createdAt:{$gte:moment()[_0x70b7[39]](_0x70b7[38])}}},_0x97e7x19))})[_0x70b7[21]](function(_0x97e7x18){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({value:_0x97e7x18})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[46]]= function(_0x97e7x10,_0x97e7x11){return Promise[_0x70b7[41]]([])[_0x70b7[21]](getChatQueues(_0x97e7x10[_0x70b7[35]]))[_0x70b7[21]](function(_0x97e7x19){return ChatRoom[_0x70b7[40]](_[_0x70b7[30]]({where:{status:_0x70b7[47],createdAt:{$gte:moment()[_0x70b7[39]](_0x70b7[38])}}},_0x97e7x19))})[_0x70b7[21]](function(_0x97e7x18){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({value:_0x97e7x18})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[48]]= function(_0x97e7x10,_0x97e7x11){return Promise[_0x70b7[41]]([])[_0x70b7[21]](getChatQueues(_0x97e7x10[_0x70b7[35]]))[_0x70b7[21]](function(_0x97e7x19){return ChatRoom[_0x70b7[40]](_[_0x70b7[30]]({where:{status:_0x70b7[49]}},_0x97e7x19))})[_0x70b7[21]](function(_0x97e7x18){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({value:_0x97e7x18})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[50]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){var _0x97e7x1a={tags:_0x97e7x10[_0x70b7[52]][_0x70b7[51]]};var _0x97e7x1b={where:{id:_0x97e7x10[_0x70b7[55]][_0x70b7[24]][_0x70b7[54]](_0x70b7[53])}};return ChatRoom[_0x70b7[57]](_0x97e7x1a,_0x97e7x1b)[_0x70b7[21]](function(_0x97e7x1c){if(!_0x97e7x1c){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x1c})[_0x70b7[21]](function(_0x97e7x1c){return _0x97e7x11[_0x70b7[56]](200)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};function checkTags(_0x97e7x1e){if(_0x97e7x1e){if(_0x97e7x1e[_0x70b7[51]]){_0x97e7x1e[_0x70b7[58]]= [];if(_[_0x70b7[59]](_0x97e7x1e[_0x70b7[51]])){for(var _0x97e7x1f=0;_0x97e7x1f< _0x97e7x1e[_0x70b7[51]][_0x70b7[60]];_0x97e7x1f++){_0x97e7x1e[_0x70b7[58]][_0x70b7[63]]({tags:{$like:_0x70b7[61]+ _0x97e7x1e[_0x70b7[51]][_0x97e7x1f]+ _0x70b7[62]}})}}else {_0x97e7x1e[_0x70b7[58]][_0x70b7[63]]({tags:{$like:_0x70b7[61]+ _0x97e7x1e[_0x70b7[51]]+ _0x70b7[62]}})};delete _0x97e7x1e[_0x70b7[51]]}}}exports[_0x70b7[64]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){switch(_0x97e7x10[_0x70b7[35]][_0x70b7[28]]){case _0x70b7[35]:return User[_0x70b7[34]](_0x97e7x10[_0x70b7[35]][_0x70b7[24]],{attributes:[_0x70b7[24]],where:{id:{$ne:_0x97e7x10[_0x70b7[35]][_0x70b7[24]]},online:true}})[_0x70b7[21]](Util[_0x70b7[65]](_[_0x70b7[30]](_0x97e7x10[_0x70b7[22]],{id:{$ne:_0x97e7x10[_0x70b7[35]][_0x70b7[24]]}})))[_0x70b7[21]](function(_0x97e7x14){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x14)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)});default:return User[_0x70b7[66]](_0x70b7[41])[_0x70b7[31]](_[_0x70b7[30]](Util[_0x70b7[23]](_0x97e7x10[_0x70b7[22]]),{where:{id:{$ne:_0x97e7x10[_0x70b7[35]][_0x70b7[24]]},online:true}}))[_0x70b7[21]](function(_0x97e7x14){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x14)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})}};exports[_0x70b7[67]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){checkTags(_0x97e7x10[_0x70b7[22]]);var _0x97e7x20={where:_[_0x70b7[30]]({type:_0x70b7[68]},_0x97e7x10[_0x70b7[22]])};switch(_0x97e7x10[_0x70b7[35]][_0x70b7[28]]){case _0x70b7[69]:_[_0x70b7[30]](_0x97e7x20,{include:[{model:User,attributes:[_0x70b7[24]],where:{id:_0x97e7x10[_0x70b7[35]][_0x70b7[24]]}}]});break;default:};return ChatRoom[_0x70b7[71]](_0x97e7x20)[_0x70b7[21]](function(_0x97e7x1c){return ChatRoom[_0x70b7[71]]({where:{id:{$in:_[_0x70b7[32]](_0x97e7x1c,_0x70b7[24])}},include:[{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[28],_0x70b7[70]]},{model:ChatVisitor}]})})[_0x70b7[21]](function(_0x97e7x1c){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({rows:_0x97e7x1c,count:_0x97e7x1c[_0x70b7[60]]})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[72]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){checkTags(_0x97e7x10[_0x70b7[22]]);var _0x97e7x20={where:_[_0x70b7[30]]({type:_0x70b7[73]},_0x97e7x10[_0x70b7[22]]),include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[26]]}]};switch(_0x97e7x10[_0x70b7[35]][_0x70b7[28]]){case _0x70b7[69]:_0x97e7x20[_0x70b7[74]][_0x70b7[63]]({model:User,attributes:[_0x70b7[24]],where:{id:_0x97e7x10[_0x70b7[35]][_0x70b7[24]]}});break;default:};return ChatRoom[_0x70b7[71]](_0x97e7x20)[_0x70b7[21]](function(_0x97e7x1c){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]]({rows:_0x97e7x1c,count:_0x97e7x1c[_0x70b7[60]]})})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[75]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){return User[_0x70b7[66]](_0x70b7[41])[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x14){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x14)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[76]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){return ChatRoom[_0x70b7[66]](_0x70b7[77])[_0x70b7[31]](_[_0x70b7[30]](Util[_0x70b7[23]](_0x97e7x10[_0x70b7[22]]),{include:[{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[27],_0x70b7[28],_0x70b7[29]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x70b7[21]](function(_0x97e7x14){_0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x14)})[_0x70b7[18]](function(_0x97e7x13){console[_0x70b7[17]](_0x97e7x13);return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[78]]= function(_0x97e7x10,_0x97e7x11){return User[_0x70b7[34]](_0x97e7x10[_0x70b7[35]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x16){return _0x97e7x16[_0x70b7[80]]({include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[26],_0x70b7[27]]},{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[27],_0x70b7[28],_0x70b7[29]]}]})})[_0x70b7[21]](function(_0x97e7x1c){if(!_0x97e7x1c){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x11[_0x70b7[19]](_0x97e7x1c)})[_0x70b7[18]](function(_0x97e7x13){console[_0x70b7[79]](_0x97e7x13);return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[81]]= function(_0x97e7x10,_0x97e7x11){return ChatRoom[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[27],_0x70b7[26]]},{model:User,attributes:[_0x70b7[24],_0x70b7[27],_0x70b7[25],_0x70b7[26],_0x70b7[70],_0x70b7[28],_0x70b7[29]]}]},{model:User,attributes:[_0x70b7[24],_0x70b7[27],_0x70b7[25],_0x70b7[26],_0x70b7[70],_0x70b7[28],_0x70b7[29]]},{model:ChatVisitor},{model:ChatWebsite,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[82]],include:[List]}]})[_0x70b7[21]](function(_0x97e7x21){if(!_0x97e7x21){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x11[_0x70b7[19]](_0x97e7x21)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[83]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){var _0x97e7x22;return ChatRoom[_0x70b7[92]]({where:{token:md5(JSON[_0x70b7[91]](_0x97e7x10[_0x70b7[22]][_0x70b7[86]][_0x70b7[90]]())).toString(_0x70b7[89])},defaults:{type:_0x70b7[29],token:md5(JSON[_0x70b7[91]](_0x97e7x10[_0x70b7[22]][_0x70b7[86]][_0x70b7[90]]())).toString(_0x70b7[89]),status:_0x70b7[37]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[27],_0x70b7[26]]},{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[27],_0x70b7[28],_0x70b7[29]]}]},{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[27],_0x70b7[28],_0x70b7[29]]}]})[_0x70b7[88]](function(_0x97e7x21,_0x97e7x24){_0x97e7x22= _0x97e7x21;if(_0x97e7x24){return _0x97e7x22[_0x70b7[87]](_0x97e7x10[_0x70b7[22]][_0x70b7[86]])}})[_0x70b7[21]](function(){return _0x97e7x22[_0x70b7[85]]()})[_0x70b7[21]](function(_0x97e7x23){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_[_0x70b7[30]](_0x97e7x22[_0x70b7[84]],{Users:_0x97e7x23}))})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[93]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){var _0x97e7x22;return ChatRoom[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x21){_0x97e7x22= _0x97e7x21;if(!_0x97e7x22){return _0x97e7x11[_0x70b7[56]](404)}})[_0x70b7[21]](function(){return ChatMessage[_0x70b7[95]](_[_0x70b7[30]](_0x97e7x10[_0x70b7[52]],{type:_0x97e7x22[_0x70b7[94]],ChatRoomId:_0x97e7x10[_0x70b7[55]][_0x70b7[24]],UserId:_0x97e7x10[_0x70b7[35]][_0x70b7[24]]}))})[_0x70b7[21]](function(_0x97e7x25){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x25)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[96]]= function(_0x97e7x10,_0x97e7x11,_0x97e7x12){return ChatRoom[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[26]]},{model:User,attributes:[_0x70b7[24],_0x70b7[26]]}]}]})[_0x70b7[21]](function(_0x97e7x21){var _0x97e7x26=[];_0x97e7x21[_0x70b7[101]][_0x70b7[100]](function(_0x97e7x25){_0x97e7x26[_0x70b7[63]]({name:_0x97e7x25[_0x70b7[6]]?_0x97e7x25[_0x70b7[6]][_0x70b7[26]]:_0x97e7x25[_0x70b7[13]][_0x70b7[26]],text:_0x97e7x25[_0x70b7[52]][_0x70b7[98]](/(\r\n|\n|\r)/gm,_0x70b7[97]),date:_0x97e7x25[_0x70b7[99]]})});return _0x97e7x11[_0x70b7[94]](_0x70b7[102])[_0x70b7[20]](200)[_0x70b7[19]](csv(_0x97e7x26))})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[103]]= function(_0x97e7x10,_0x97e7x11){return User[_0x70b7[34]](_0x97e7x10[_0x70b7[35]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x16){return _0x97e7x16[_0x70b7[80]]({where:{type:_0x97e7x10[_0x70b7[55]][_0x70b7[94]]},include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[26],_0x70b7[27]]}]})})[_0x70b7[21]](function(_0x97e7x1c){if(!_0x97e7x1c){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x11[_0x70b7[19]](_0x97e7x1c)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[104]]= function(_0x97e7x10,_0x97e7x11){return User[_0x70b7[34]](_0x97e7x10[_0x70b7[35]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x16){return _0x97e7x16[_0x70b7[80]]({include:[{model:ChatVisitor,attributes:[_0x70b7[24],_0x70b7[26],_0x70b7[27]]},{model:User,attributes:[_0x70b7[24],_0x70b7[25],_0x70b7[26],_0x70b7[27],_0x70b7[28],_0x70b7[29]]}]})})[_0x70b7[21]](function(_0x97e7x1c){if(!_0x97e7x1c){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x11[_0x70b7[19]](_0x97e7x1c)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[95]]= function(_0x97e7x10,_0x97e7x11){};exports[_0x70b7[57]]= function(_0x97e7x10,_0x97e7x11){if(_0x97e7x10[_0x70b7[52]][_0x70b7[24]]){delete _0x97e7x10[_0x70b7[52]][_0x70b7[24]]};return ChatRoom[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x21){if(!_0x97e7x21){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x21[_0x70b7[57]](_0x97e7x10[_0x70b7[52]])})[_0x70b7[21]](function(_0x97e7x21){return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x21)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[105]]= function(_0x97e7x10,_0x97e7x11){var _0x97e7x22;if(_0x97e7x10[_0x70b7[52]][_0x70b7[24]]){delete _0x97e7x10[_0x70b7[52]][_0x70b7[24]]};return ChatRoom[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x21){if(!_0x97e7x21|| !_0x97e7x10[_0x70b7[52]][_0x70b7[86]]){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x21})[_0x70b7[21]](function(_0x97e7x21){return _0x97e7x21[_0x70b7[57]]({type:_0x70b7[68],token:md5(JSON[_0x70b7[91]](_0x97e7x10[_0x70b7[52]][_0x70b7[86]][_0x70b7[90]]())).toString(_0x70b7[89])})})[_0x70b7[21]](function(_0x97e7x21){_0x97e7x22= _0x97e7x21;return _0x97e7x21[_0x70b7[87]](_0x97e7x10[_0x70b7[52]][_0x70b7[86]][_0x70b7[90]](),{individualHooks:true})})[_0x70b7[21]](function(){return _0x97e7x22[_0x70b7[85]]()})[_0x70b7[21]](function(_0x97e7x23){_[_0x70b7[30]](_0x97e7x22[_0x70b7[84]],{Users:_0x97e7x23});return _0x97e7x11[_0x70b7[20]](200)[_0x70b7[19]](_0x97e7x22)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};exports[_0x70b7[106]]= function(_0x97e7x10,_0x97e7x11){return ChatRoom[_0x70b7[34]](_0x97e7x10[_0x70b7[55]][_0x70b7[24]])[_0x70b7[21]](function(_0x97e7x21){if(!_0x97e7x21){return _0x97e7x11[_0x70b7[56]](404)};return _0x97e7x21[_0x70b7[106]]()})[_0x70b7[21]](function(){return _0x97e7x11[_0x70b7[56]](204)})[_0x70b7[18]](function(_0x97e7x13){return handleError(_0x97e7x11,_0x97e7x13)})};function handleError(_0x97e7x11,_0x97e7x13){console[_0x70b7[17]](_0x97e7x13);return _0x97e7x11[_0x70b7[20]](500)[_0x70b7[19]](_0x97e7x13)} \ No newline at end of file +var _0x17e7=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x6D\x64\x35","\x6D\x6F\x6D\x65\x6E\x74","\x74\x6F\x2D\x63\x73\x76","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x55\x73\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x4C\x69\x73\x74","\x55\x73\x65\x72\x48\x61\x73\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x69\x6E\x64\x65\x78","\x6C\x6F\x67","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x69\x64","\x6E\x61\x6D\x65","\x66\x75\x6C\x6C\x6E\x61\x6D\x65","\x65\x6D\x61\x69\x6C","\x72\x6F\x6C\x65","\x69\x6E\x74\x65\x72\x6E\x61\x6C","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x6D\x61\x70","\x67\x65\x74\x4D\x61\x69\x6C\x51\x75\x65\x75\x65\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x66\x69\x6E\x64\x42\x79\x49\x64","\x75\x73\x65\x72","\x6F\x70\x65\x6E","\x4F\x50\x45\x4E","\x64\x61\x79","\x73\x74\x61\x72\x74\x4F\x66","\x63\x6F\x75\x6E\x74","\x61\x6C\x6C","\x63\x6C\x6F\x73\x65\x64","\x43\x4C\x4F\x53\x45\x44","\x6E\x65\x77","\x4E\x45\x57","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x55\x4E\x4D\x41\x4E\x41\x47\x45\x44","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x41\x42\x41\x4E\x44\x4F\x4E","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x74\x61\x67\x73","\x62\x6F\x64\x79","\x2C","\x73\x70\x6C\x69\x74","\x70\x61\x72\x61\x6D\x73","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x75\x70\x64\x61\x74\x65","\x24\x61\x6E\x64","\x69\x73\x41\x72\x72\x61\x79","\x6C\x65\x6E\x67\x74\x68","\x25","\x3B\x25","\x70\x75\x73\x68","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x67\x65\x74\x41\x67\x65\x6E\x74\x73\x49\x64\x42\x79\x55\x73\x65\x72","\x73\x63\x6F\x70\x65","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x67\x72\x6F\x75\x70","\x61\x67\x65\x6E\x74","\x75\x73\x65\x72\x70\x69\x63","\x66\x69\x6E\x64\x41\x6C\x6C","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x65\x78\x74\x65\x72\x6E\x61\x6C","\x69\x6E\x63\x6C\x75\x64\x65","\x67\x65\x74\x41\x67\x65\x6E\x74","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x6F\x6E\x6C\x69\x6E\x65","\x6D\x65","\x65\x72\x72\x6F\x72","\x67\x65\x74\x43\x68\x61\x74\x52\x6F\x6F\x6D\x73","\x73\x68\x6F\x77","\x61\x64\x64\x72\x65\x73\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x64\x61\x74\x61\x56\x61\x6C\x75\x65\x73","\x67\x65\x74\x55\x73\x65\x72\x73","\x75\x73\x65\x72\x73","\x73\x65\x74\x55\x73\x65\x72\x73","\x73\x70\x72\x65\x61\x64","\x62\x61\x73\x65\x36\x34","\x73\x6F\x72\x74","\x73\x74\x72\x69\x6E\x67\x69\x66\x79","\x66\x69\x6E\x64\x4F\x72\x43\x72\x65\x61\x74\x65","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x74\x79\x70\x65","\x63\x72\x65\x61\x74\x65","\x65\x78\x70\x6F\x72\x74","\x20","\x72\x65\x70\x6C\x61\x63\x65","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x66\x6F\x72\x45\x61\x63\x68","\x43\x68\x61\x74\x4D\x65\x73\x73\x61\x67\x65\x73","\x74\x65\x78\x74\x2F\x63\x73\x76","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x47\x72\x6F\x75\x70\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79"];_0x17e7[0];var _=require(_0x17e7[1]);var md5=require(_0x17e7[2]);var moment=require(_0x17e7[3]);var csv=require(_0x17e7[4]);var Util=require(_0x17e7[5]);var User=require(_0x17e7[7])[_0x17e7[6]];var Agent=require(_0x17e7[7])[_0x17e7[6]];var ChatRoom=require(_0x17e7[7])[_0x17e7[8]];var ChatMessage=require(_0x17e7[7])[_0x17e7[9]];var ChatWebsite=require(_0x17e7[7])[_0x17e7[10]];var ChatApplication=require(_0x17e7[7])[_0x17e7[11]];var ChatQueue=require(_0x17e7[7])[_0x17e7[12]];var ChatVisitor=require(_0x17e7[7])[_0x17e7[13]];var List=require(_0x17e7[7])[_0x17e7[14]];var UserHasChatRoom=require(_0x17e7[7])[_0x17e7[15]];exports[_0x17e7[16]]= function(_0xe472x10,_0xe472x11,_0xe472x12){return ChatRoom[_0x17e7[31]](_[_0x17e7[30]](Util[_0x17e7[23]](_0xe472x10[_0x17e7[22]]),{include:[{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[27],_0x17e7[28],_0x17e7[29]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x17e7[21]](function(_0xe472x14){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x14)})[_0x17e7[18]](function(_0xe472x13){console[_0x17e7[17]](_0xe472x13);return handleError(_0xe472x11,_0xe472x13)})};function getChatQueues(_0xe472x16){return function(){switch(_0xe472x16[_0x17e7[28]]){case _0x17e7[35]:return User[_0x17e7[34]](_0xe472x16[_0x17e7[24]],{attributes:[_0x17e7[24]]})[_0x17e7[21]](Util[_0x17e7[33]]({},{attributes:[_0x17e7[24]]}))[_0x17e7[21]](function(_0xe472x17){return {include:{model:ChatWebsite,include:{model:ChatApplication,include:{model:ChatQueue,where:{id:_[_0x17e7[32]](_0xe472x17,_0x17e7[24])}}}}}});default:return {}}}}exports[_0x17e7[36]]= function(_0xe472x10,_0xe472x11){return Promise[_0x17e7[41]]([])[_0x17e7[21]](getChatQueues(_0xe472x10[_0x17e7[35]]))[_0x17e7[21]](function(_0xe472x19){return ChatRoom[_0x17e7[40]](_[_0x17e7[30]]({where:{status:_0x17e7[37],createdAt:{$gte:moment()[_0x17e7[39]](_0x17e7[38])}}},_0xe472x19))})[_0x17e7[21]](function(_0xe472x18){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({value:_0xe472x18})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[42]]= function(_0xe472x10,_0xe472x11){return Promise[_0x17e7[41]]([])[_0x17e7[21]](getChatQueues(_0xe472x10[_0x17e7[35]]))[_0x17e7[21]](function(_0xe472x19){return ChatRoom[_0x17e7[40]](_[_0x17e7[30]]({where:{status:_0x17e7[43],createdAt:{$gte:moment()[_0x17e7[39]](_0x17e7[38])}}},_0xe472x19))})[_0x17e7[21]](function(_0xe472x18){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({value:_0xe472x18})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[44]]= function(_0xe472x10,_0xe472x11){return Promise[_0x17e7[41]]([])[_0x17e7[21]](getChatQueues(_0xe472x10[_0x17e7[35]]))[_0x17e7[21]](function(_0xe472x19){return ChatRoom[_0x17e7[40]](_[_0x17e7[30]]({where:{status:_0x17e7[45],createdAt:{$gte:moment()[_0x17e7[39]](_0x17e7[38])}}},_0xe472x19))})[_0x17e7[21]](function(_0xe472x18){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({value:_0xe472x18})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[46]]= function(_0xe472x10,_0xe472x11){return Promise[_0x17e7[41]]([])[_0x17e7[21]](getChatQueues(_0xe472x10[_0x17e7[35]]))[_0x17e7[21]](function(_0xe472x19){return ChatRoom[_0x17e7[40]](_[_0x17e7[30]]({where:{status:_0x17e7[47],createdAt:{$gte:moment()[_0x17e7[39]](_0x17e7[38])}}},_0xe472x19))})[_0x17e7[21]](function(_0xe472x18){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({value:_0xe472x18})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[48]]= function(_0xe472x10,_0xe472x11){return Promise[_0x17e7[41]]([])[_0x17e7[21]](getChatQueues(_0xe472x10[_0x17e7[35]]))[_0x17e7[21]](function(_0xe472x19){return ChatRoom[_0x17e7[40]](_[_0x17e7[30]]({where:{status:_0x17e7[49]}},_0xe472x19))})[_0x17e7[21]](function(_0xe472x18){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({value:_0xe472x18})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[50]]= function(_0xe472x10,_0xe472x11,_0xe472x12){var _0xe472x1a={tags:_0xe472x10[_0x17e7[52]][_0x17e7[51]]};var _0xe472x1b={where:{id:_0xe472x10[_0x17e7[55]][_0x17e7[24]][_0x17e7[54]](_0x17e7[53])}};return ChatRoom[_0x17e7[57]](_0xe472x1a,_0xe472x1b)[_0x17e7[21]](function(_0xe472x1c){if(!_0xe472x1c){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x1c})[_0x17e7[21]](function(_0xe472x1c){return _0xe472x11[_0x17e7[56]](200)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};function checkTags(_0xe472x1e){if(_0xe472x1e){if(_0xe472x1e[_0x17e7[51]]){_0xe472x1e[_0x17e7[58]]= [];if(_[_0x17e7[59]](_0xe472x1e[_0x17e7[51]])){for(var _0xe472x1f=0;_0xe472x1f< _0xe472x1e[_0x17e7[51]][_0x17e7[60]];_0xe472x1f++){_0xe472x1e[_0x17e7[58]][_0x17e7[63]]({tags:{$like:_0x17e7[61]+ _0xe472x1e[_0x17e7[51]][_0xe472x1f]+ _0x17e7[62]}})}}else {_0xe472x1e[_0x17e7[58]][_0x17e7[63]]({tags:{$like:_0x17e7[61]+ _0xe472x1e[_0x17e7[51]]+ _0x17e7[62]}})};delete _0xe472x1e[_0x17e7[51]]}}}exports[_0x17e7[64]]= function(_0xe472x10,_0xe472x11,_0xe472x12){switch(_0xe472x10[_0x17e7[35]][_0x17e7[28]]){case _0x17e7[35]:return User[_0x17e7[34]](_0xe472x10[_0x17e7[35]][_0x17e7[24]],{attributes:[_0x17e7[24]],where:{id:{$ne:_0xe472x10[_0x17e7[35]][_0x17e7[24]]},online:true}})[_0x17e7[21]](Util[_0x17e7[65]](_[_0x17e7[30]](_0xe472x10[_0x17e7[22]],{id:{$ne:_0xe472x10[_0x17e7[35]][_0x17e7[24]]}})))[_0x17e7[21]](function(_0xe472x14){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x14)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)});default:return User[_0x17e7[66]](_0x17e7[41])[_0x17e7[31]](_[_0x17e7[30]](Util[_0x17e7[23]](_0xe472x10[_0x17e7[22]]),{where:{id:{$ne:_0xe472x10[_0x17e7[35]][_0x17e7[24]]},online:true}}))[_0x17e7[21]](function(_0xe472x14){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x14)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})}};exports[_0x17e7[67]]= function(_0xe472x10,_0xe472x11,_0xe472x12){checkTags(_0xe472x10[_0x17e7[22]]);var _0xe472x20={where:_[_0x17e7[30]]({type:_0x17e7[68]},_0xe472x10[_0x17e7[22]])};switch(_0xe472x10[_0x17e7[35]][_0x17e7[28]]){case _0x17e7[69]:_[_0x17e7[30]](_0xe472x20,{include:[{model:User,attributes:[_0x17e7[24]],where:{id:_0xe472x10[_0x17e7[35]][_0x17e7[24]]}}]});break;default:};return ChatRoom[_0x17e7[71]](_0xe472x20)[_0x17e7[21]](function(_0xe472x1c){return ChatRoom[_0x17e7[71]]({where:{id:{$in:_[_0x17e7[32]](_0xe472x1c,_0x17e7[24])}},include:[{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[28],_0x17e7[70]]},{model:ChatVisitor}]})})[_0x17e7[21]](function(_0xe472x1c){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({rows:_0xe472x1c,count:_0xe472x1c[_0x17e7[60]]})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[72]]= function(_0xe472x10,_0xe472x11,_0xe472x12){checkTags(_0xe472x10[_0x17e7[22]]);var _0xe472x20={where:_[_0x17e7[30]]({type:_0x17e7[73]},_0xe472x10[_0x17e7[22]]),include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[26]]}]};switch(_0xe472x10[_0x17e7[35]][_0x17e7[28]]){case _0x17e7[69]:_0xe472x20[_0x17e7[74]][_0x17e7[63]]({model:User,attributes:[_0x17e7[24]],where:{id:_0xe472x10[_0x17e7[35]][_0x17e7[24]]}});break;default:};return ChatRoom[_0x17e7[71]](_0xe472x20)[_0x17e7[21]](function(_0xe472x1c){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]]({rows:_0xe472x1c,count:_0xe472x1c[_0x17e7[60]]})})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[75]]= function(_0xe472x10,_0xe472x11,_0xe472x12){return User[_0x17e7[66]](_0x17e7[41])[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x14){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x14)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[76]]= function(_0xe472x10,_0xe472x11,_0xe472x12){return ChatRoom[_0x17e7[66]](_0x17e7[77])[_0x17e7[31]](_[_0x17e7[30]](Util[_0x17e7[23]](_0xe472x10[_0x17e7[22]]),{include:[{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[27],_0x17e7[28],_0x17e7[29]]},{model:ChatMessage},{model:ChatVisitor}]}))[_0x17e7[21]](function(_0xe472x14){_0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x14)})[_0x17e7[18]](function(_0xe472x13){console[_0x17e7[17]](_0xe472x13);return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[78]]= function(_0xe472x10,_0xe472x11){return User[_0x17e7[34]](_0xe472x10[_0x17e7[35]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x16){return _0xe472x16[_0x17e7[80]]({include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[26],_0x17e7[27]]},{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[27],_0x17e7[28],_0x17e7[29]]}]})})[_0x17e7[21]](function(_0xe472x1c){if(!_0xe472x1c){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x11[_0x17e7[19]](_0xe472x1c)})[_0x17e7[18]](function(_0xe472x13){console[_0x17e7[79]](_0xe472x13);return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[81]]= function(_0xe472x10,_0xe472x11){return ChatRoom[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[27],_0x17e7[26]]},{model:User,attributes:[_0x17e7[24],_0x17e7[27],_0x17e7[25],_0x17e7[26],_0x17e7[70],_0x17e7[28],_0x17e7[29]]}]},{model:User,attributes:[_0x17e7[24],_0x17e7[27],_0x17e7[25],_0x17e7[26],_0x17e7[70],_0x17e7[28],_0x17e7[29]]},{model:ChatVisitor},{model:ChatWebsite,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[82]],include:[List]}]})[_0x17e7[21]](function(_0xe472x21){if(!_0xe472x21){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x11[_0x17e7[19]](_0xe472x21)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[83]]= function(_0xe472x10,_0xe472x11,_0xe472x12){var _0xe472x22;return ChatRoom[_0x17e7[92]]({where:{token:md5(JSON[_0x17e7[91]](_0xe472x10[_0x17e7[22]][_0x17e7[86]][_0x17e7[90]]())).toString(_0x17e7[89])},defaults:{type:_0x17e7[29],token:md5(JSON[_0x17e7[91]](_0xe472x10[_0x17e7[22]][_0x17e7[86]][_0x17e7[90]]())).toString(_0x17e7[89]),status:_0x17e7[37]},include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[27],_0x17e7[26]]},{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[27],_0x17e7[28],_0x17e7[29]]}]},{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[27],_0x17e7[28],_0x17e7[29]]}]})[_0x17e7[88]](function(_0xe472x21,_0xe472x24){_0xe472x22= _0xe472x21;if(_0xe472x24){return _0xe472x22[_0x17e7[87]](_0xe472x10[_0x17e7[22]][_0x17e7[86]])}})[_0x17e7[21]](function(){return _0xe472x22[_0x17e7[85]]()})[_0x17e7[21]](function(_0xe472x23){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_[_0x17e7[30]](_0xe472x22[_0x17e7[84]],{Users:_0xe472x23}))})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[93]]= function(_0xe472x10,_0xe472x11,_0xe472x12){var _0xe472x22;return ChatRoom[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x21){_0xe472x22= _0xe472x21;if(!_0xe472x22){return _0xe472x11[_0x17e7[56]](404)}})[_0x17e7[21]](function(){return ChatMessage[_0x17e7[95]](_[_0x17e7[30]](_0xe472x10[_0x17e7[52]],{type:_0xe472x22[_0x17e7[94]],ChatRoomId:_0xe472x10[_0x17e7[55]][_0x17e7[24]],UserId:_0xe472x10[_0x17e7[35]][_0x17e7[24]]}))})[_0x17e7[21]](function(_0xe472x25){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x25)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[96]]= function(_0xe472x10,_0xe472x11,_0xe472x12){return ChatRoom[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]],{include:[{model:ChatMessage,include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[26]]},{model:User,attributes:[_0x17e7[24],_0x17e7[26]]}]}]})[_0x17e7[21]](function(_0xe472x21){var _0xe472x26=[];_0xe472x21[_0x17e7[101]][_0x17e7[100]](function(_0xe472x25){_0xe472x26[_0x17e7[63]]({name:_0xe472x25[_0x17e7[6]]?_0xe472x25[_0x17e7[6]][_0x17e7[26]]:_0xe472x25[_0x17e7[13]][_0x17e7[26]],text:_0xe472x25[_0x17e7[52]][_0x17e7[98]](/(\r\n|\n|\r)/gm,_0x17e7[97]),date:_0xe472x25[_0x17e7[99]]})});return _0xe472x11[_0x17e7[94]](_0x17e7[102])[_0x17e7[20]](200)[_0x17e7[19]](csv(_0xe472x26))})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[103]]= function(_0xe472x10,_0xe472x11){return User[_0x17e7[34]](_0xe472x10[_0x17e7[35]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x16){return _0xe472x16[_0x17e7[80]]({where:{type:_0xe472x10[_0x17e7[55]][_0x17e7[94]]},include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[26],_0x17e7[27]]}]})})[_0x17e7[21]](function(_0xe472x1c){if(!_0xe472x1c){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x11[_0x17e7[19]](_0xe472x1c)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[104]]= function(_0xe472x10,_0xe472x11){return User[_0x17e7[34]](_0xe472x10[_0x17e7[35]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x16){return _0xe472x16[_0x17e7[80]]({include:[{model:ChatVisitor,attributes:[_0x17e7[24],_0x17e7[26],_0x17e7[27]]},{model:User,attributes:[_0x17e7[24],_0x17e7[25],_0x17e7[26],_0x17e7[27],_0x17e7[28],_0x17e7[29]]}]})})[_0x17e7[21]](function(_0xe472x1c){if(!_0xe472x1c){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x11[_0x17e7[19]](_0xe472x1c)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[95]]= function(_0xe472x10,_0xe472x11){};exports[_0x17e7[57]]= function(_0xe472x10,_0xe472x11){if(_0xe472x10[_0x17e7[52]][_0x17e7[24]]){delete _0xe472x10[_0x17e7[52]][_0x17e7[24]]};return ChatRoom[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x21){if(!_0xe472x21){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x21[_0x17e7[57]](_0xe472x10[_0x17e7[52]])})[_0x17e7[21]](function(_0xe472x21){return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x21)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[105]]= function(_0xe472x10,_0xe472x11){var _0xe472x22;if(_0xe472x10[_0x17e7[52]][_0x17e7[24]]){delete _0xe472x10[_0x17e7[52]][_0x17e7[24]]};return ChatRoom[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x21){if(!_0xe472x21|| !_0xe472x10[_0x17e7[52]][_0x17e7[86]]){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x21})[_0x17e7[21]](function(_0xe472x21){return _0xe472x21[_0x17e7[57]]({type:_0x17e7[68],token:md5(JSON[_0x17e7[91]](_0xe472x10[_0x17e7[52]][_0x17e7[86]][_0x17e7[90]]())).toString(_0x17e7[89])})})[_0x17e7[21]](function(_0xe472x21){_0xe472x22= _0xe472x21;return _0xe472x21[_0x17e7[87]](_0xe472x10[_0x17e7[52]][_0x17e7[86]][_0x17e7[90]](),{individualHooks:true})})[_0x17e7[21]](function(){return _0xe472x22[_0x17e7[85]]()})[_0x17e7[21]](function(_0xe472x23){_[_0x17e7[30]](_0xe472x22[_0x17e7[84]],{Users:_0xe472x23});return _0xe472x11[_0x17e7[20]](200)[_0x17e7[19]](_0xe472x22)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};exports[_0x17e7[106]]= function(_0xe472x10,_0xe472x11){return ChatRoom[_0x17e7[34]](_0xe472x10[_0x17e7[55]][_0x17e7[24]])[_0x17e7[21]](function(_0xe472x21){if(!_0xe472x21){return _0xe472x11[_0x17e7[56]](404)};return _0xe472x21[_0x17e7[106]]()})[_0x17e7[21]](function(){return _0xe472x11[_0x17e7[56]](204)})[_0x17e7[18]](function(_0xe472x13){return handleError(_0xe472x11,_0xe472x13)})};function handleError(_0xe472x11,_0xe472x13){console[_0x17e7[17]](_0xe472x13);return _0xe472x11[_0x17e7[20]](500)[_0x17e7[19]](_0xe472x13)} \ 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 0d970ee..a770de1 100644 --- a/server/api/chat_room/chat_room.events.js +++ b/server/api/chat_room/chat_room.events.js @@ -1 +1 @@ -var _0x33b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x33b6[0];const EventEmitter=require(_0x33b6[1]);const ChatRoom=require(_0x33b6[3])[_0x33b6[2]];var ChatRoomEvents= new EventEmitter();ChatRoomEvents[_0x33b6[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x33b6[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x33b6[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x33b6[6]};for(var e in events){var event=events[e];ChatRoom[_0x33b6[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xfe23x8,_0xfe23x9,_0xfe23xa){ChatRoomEvents[_0x33b6[10]](event+ _0x33b6[8]+ _0xfe23x8[_0x33b6[9]],_0xfe23x8);ChatRoomEvents[_0x33b6[10]](event,_0xfe23x8);_0xfe23xa(null)}}module[_0x33b6[11]]= ChatRoomEvents \ No newline at end of file +var _0xfe39=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x52\x6F\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xfe39[0];const EventEmitter=require(_0xfe39[1]);const ChatRoom=require(_0xfe39[3])[_0xfe39[2]];var ChatRoomEvents= new EventEmitter();ChatRoomEvents[_0xfe39[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xfe39[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xfe39[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xfe39[6]};for(var e in events){var event=events[e];ChatRoom[_0xfe39[7]](e,emitEvent(event))};function emitEvent(event){return function(_0xbc77x8,_0xbc77x9,_0xbc77xa){ChatRoomEvents[_0xfe39[10]](event+ _0xfe39[8]+ _0xbc77x8[_0xfe39[9]],_0xbc77x8);ChatRoomEvents[_0xfe39[10]](event,_0xbc77x8);_0xbc77xa(null)}}module[_0xfe39[11]]= ChatRoomEvents \ 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 4f6855e..69c0d62 100644 --- a/server/api/chat_room/chat_room.socket.js +++ b/server/api/chat_room/chat_room.socket.js @@ -1 +1 @@ -var _0x3e41=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x3e41[0];const ChatRoomEvents=require(_0x3e41[1]);var events=[_0x3e41[2],_0x3e41[3]];exports[_0x3e41[4]]= function(_0x254dx3){for(var _0x254dx4=0,_0x254dx5=events[_0x3e41[5]];_0x254dx4< _0x254dx5;_0x254dx4++){var _0x254dx6=events[_0x254dx4];var _0x254dx7=createListener(_0x3e41[6]+ _0x254dx6,_0x254dx3);ChatRoomEvents[_0x3e41[7]](_0x254dx6,_0x254dx7);_0x254dx3[_0x3e41[7]](_0x3e41[8],removeListener(_0x254dx6,_0x254dx7))}};function createListener(_0x254dx6,_0x254dx3){return function(_0x254dx9){_0x254dx3[_0x3e41[9]](_0x254dx6,_0x254dx9)}}function removeListener(_0x254dx6,_0x254dx7){return function(){ChatRoomEvents[_0x3e41[10]](_0x254dx6,_0x254dx7)}} \ No newline at end of file +var _0x9ddc=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x9ddc[0];const ChatRoomEvents=require(_0x9ddc[1]);var events=[_0x9ddc[2],_0x9ddc[3]];exports[_0x9ddc[4]]= function(_0x9cc9x3){for(var _0x9cc9x4=0,_0x9cc9x5=events[_0x9ddc[5]];_0x9cc9x4< _0x9cc9x5;_0x9cc9x4++){var _0x9cc9x6=events[_0x9cc9x4];var _0x9cc9x7=createListener(_0x9ddc[6]+ _0x9cc9x6,_0x9cc9x3);ChatRoomEvents[_0x9ddc[7]](_0x9cc9x6,_0x9cc9x7);_0x9cc9x3[_0x9ddc[7]](_0x9ddc[8],removeListener(_0x9cc9x6,_0x9cc9x7))}};function createListener(_0x9cc9x6,_0x9cc9x3){return function(_0x9cc9x9){_0x9cc9x3[_0x9ddc[9]](_0x9cc9x6,_0x9cc9x9)}}function removeListener(_0x9cc9x6,_0x9cc9x7){return function(){ChatRoomEvents[_0x9ddc[10]](_0x9cc9x6,_0x9cc9x7)}} \ No newline at end of file diff --git a/server/api/chat_room/index.js b/server/api/chat_room/index.js index b172d2b..08d5518 100644 --- a/server/api/chat_room/index.js +++ b/server/api/chat_room/index.js @@ -1 +1 @@ -var _0x3ff6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x2F\x6D\x65","\x75\x73\x65\x72","\x6D\x65","\x2F\x67\x72\x6F\x75\x70\x73","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x2F\x65\x78\x74\x65\x72\x6E\x61\x6C\x73","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x2F\x61\x67\x65\x6E\x74\x73","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x2F\x61\x67\x65\x6E\x74\x73\x2F\x3A\x69\x64","\x67\x65\x74\x41\x67\x65\x6E\x74","\x2F\x75\x73\x65\x72\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x2F\x74\x79\x70\x65\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x75\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x3ff6[0];var express=require(_0x3ff6[1]);var controller=require(_0x3ff6[2]);var auth=require(_0x3ff6[3]);var license=require(_0x3ff6[4]);var router=express.Router();router[_0x3ff6[13]](_0x3ff6[5],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[12]]);router[_0x3ff6[13]](_0x3ff6[14],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[15]]);router[_0x3ff6[13]](_0x3ff6[16],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[17],_0x3ff6[10]]),controller[_0x3ff6[18]]);router[_0x3ff6[13]](_0x3ff6[19],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[20]]);router[_0x3ff6[13]](_0x3ff6[21],auth[_0x3ff6[8]](),license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[11]]([1,8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[22]]);router[_0x3ff6[13]](_0x3ff6[23],auth[_0x3ff6[8]](),license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[11]]([1,8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[24]]);router[_0x3ff6[13]](_0x3ff6[25],auth[_0x3ff6[8]](),license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[11]]([1,8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[26]]);router[_0x3ff6[13]](_0x3ff6[27],auth[_0x3ff6[8]](),license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[11]]([1,8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[28]]);router[_0x3ff6[13]](_0x3ff6[29],auth[_0x3ff6[8]](),license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[11]]([1,8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[30]]);router[_0x3ff6[13]](_0x3ff6[31],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[32]]);router[_0x3ff6[13]](_0x3ff6[33],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[34]]);router[_0x3ff6[13]](_0x3ff6[35],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[36]]);router[_0x3ff6[13]](_0x3ff6[37],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[38]]);router[_0x3ff6[13]](_0x3ff6[39],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[40]]);router[_0x3ff6[13]](_0x3ff6[41],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[42]]);router[_0x3ff6[13]](_0x3ff6[43],controller[_0x3ff6[44]]);router[_0x3ff6[46]](_0x3ff6[5],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[45]]);router[_0x3ff6[46]](_0x3ff6[47],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[48]]);router[_0x3ff6[50]](_0x3ff6[41],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[49]]);router[_0x3ff6[52]](_0x3ff6[41],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[51]]);router[_0x3ff6[52]](_0x3ff6[53],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[54]]);router[_0x3ff6[56]](_0x3ff6[41],license[_0x3ff6[6]](),license[_0x3ff6[7]](),auth[_0x3ff6[8]](),auth[_0x3ff6[11]]([8],[_0x3ff6[9],_0x3ff6[10]]),controller[_0x3ff6[55]]);module[_0x3ff6[57]]= router \ No newline at end of file +var _0x7059=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x72\x6F\x6F\x6D\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x61\x67\x65\x6E\x74","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x6F\x6E\x6C\x69\x6E\x65","\x67\x65\x74\x4F\x6E\x6C\x69\x6E\x65\x52\x6F\x6F\x6D","\x2F\x6D\x65","\x75\x73\x65\x72","\x6D\x65","\x2F\x67\x72\x6F\x75\x70\x73","\x67\x65\x74\x47\x72\x6F\x75\x70\x73","\x2F\x6F\x70\x65\x6E","\x6F\x70\x65\x6E","\x2F\x63\x6C\x6F\x73\x65\x64","\x63\x6C\x6F\x73\x65\x64","\x2F\x6E\x65\x77","\x6E\x65\x77","\x2F\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x75\x6E\x6D\x61\x6E\x61\x67\x65\x64","\x2F\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x61\x62\x61\x6E\x64\x6F\x6E\x65\x64","\x2F\x65\x78\x74\x65\x72\x6E\x61\x6C\x73","\x67\x65\x74\x45\x78\x74\x65\x72\x6E\x61\x6C\x73","\x2F\x61\x67\x65\x6E\x74\x73","\x67\x65\x74\x41\x67\x65\x6E\x74\x73","\x2F\x61\x67\x65\x6E\x74\x73\x2F\x3A\x69\x64","\x67\x65\x74\x41\x67\x65\x6E\x74","\x2F\x75\x73\x65\x72\x73","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x55\x73\x65\x72\x73","\x2F\x74\x79\x70\x65\x2F\x3A\x74\x79\x70\x65","\x67\x65\x74\x52\x6F\x6F\x6D\x42\x79\x54\x79\x70\x65","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x2F\x3A\x69\x64\x2F\x65\x78\x70\x6F\x72\x74","\x65\x78\x70\x6F\x72\x74","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x2F\x3A\x69\x64\x2F\x6D\x65\x73\x73\x61\x67\x65\x73","\x63\x72\x65\x61\x74\x65\x4D\x65\x73\x73\x61\x67\x65","\x75\x70\x64\x61\x74\x65\x50\x61\x74\x63\x68","\x70\x61\x74\x63\x68","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x2F\x3A\x69\x64\x2F\x75\x73\x65\x72\x73","\x75\x70\x64\x61\x74\x65\x55\x73\x65\x72\x73","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x7059[0];var express=require(_0x7059[1]);var controller=require(_0x7059[2]);var auth=require(_0x7059[3]);var license=require(_0x7059[4]);var router=express.Router();router[_0x7059[13]](_0x7059[5],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[12]]);router[_0x7059[13]](_0x7059[14],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[15]]);router[_0x7059[13]](_0x7059[16],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[17],_0x7059[10]]),controller[_0x7059[18]]);router[_0x7059[13]](_0x7059[19],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[20]]);router[_0x7059[13]](_0x7059[21],auth[_0x7059[8]](),license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[11]]([1,8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[22]]);router[_0x7059[13]](_0x7059[23],auth[_0x7059[8]](),license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[11]]([1,8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[24]]);router[_0x7059[13]](_0x7059[25],auth[_0x7059[8]](),license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[11]]([1,8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[26]]);router[_0x7059[13]](_0x7059[27],auth[_0x7059[8]](),license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[11]]([1,8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[28]]);router[_0x7059[13]](_0x7059[29],auth[_0x7059[8]](),license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[11]]([1,8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[30]]);router[_0x7059[13]](_0x7059[31],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[32]]);router[_0x7059[13]](_0x7059[33],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[34]]);router[_0x7059[13]](_0x7059[35],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[36]]);router[_0x7059[13]](_0x7059[37],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[38]]);router[_0x7059[13]](_0x7059[39],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[40]]);router[_0x7059[13]](_0x7059[41],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[42]]);router[_0x7059[13]](_0x7059[43],controller[_0x7059[44]]);router[_0x7059[46]](_0x7059[5],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[45]]);router[_0x7059[46]](_0x7059[47],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[48]]);router[_0x7059[50]](_0x7059[41],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[49]]);router[_0x7059[52]](_0x7059[41],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[51]]);router[_0x7059[52]](_0x7059[53],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[54]]);router[_0x7059[56]](_0x7059[41],license[_0x7059[6]](),license[_0x7059[7]](),auth[_0x7059[8]](),auth[_0x7059[11]]([8],[_0x7059[9],_0x7059[10]]),controller[_0x7059[55]]);module[_0x7059[57]]= router \ 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 839fc92..f667452 100644 --- a/server/api/chat_visitor/chat_visitor.controller.js +++ b/server/api/chat_visitor/chat_visitor.controller.js @@ -1 +1 @@ -var _0xd469=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xd469[0];var _=require(_0xd469[1]);var Util=require(_0xd469[2]);var ChatVisitor=require(_0xd469[4])[_0xd469[3]];var ChatEnquiry=require(_0xd469[4])[_0xd469[5]];var ChatWebsite=require(_0xd469[4])[_0xd469[6]];exports[_0xd469[7]]= function(_0xf314x6,_0xf314x7,_0xf314x8){return ChatVisitor[_0xd469[16]](_[_0xd469[15]](Util[_0xd469[14]](_0xf314x6[_0xd469[13]]),{include:[{model:ChatWebsite}]}))[_0xd469[12]](function(_0xf314xa){_0xf314x7[_0xd469[11]](200)[_0xd469[10]](_0xf314xa)})[_0xd469[9]](function(_0xf314x9){console[_0xd469[8]](_0xf314x9);return handleError(_0xf314x7,_0xf314x9)})};exports[_0xd469[17]]= function(_0xf314x6,_0xf314x7){return ChatVisitor[_0xd469[21]](_0xf314x6[_0xd469[20]][_0xd469[19]],{include:[{model:ChatEnquiry},{model:ChatWebsite}]})[_0xd469[12]](function(_0xf314xb){if(!_0xf314xb){return _0xf314x7[_0xd469[18]](404)};return _0xf314x7[_0xd469[10]](_0xf314xb)})[_0xd469[9]](function(_0xf314x9){return handleError(_0xf314x7,_0xf314x9)})};exports[_0xd469[22]]= function(_0xf314x6,_0xf314x7){return ChatVisitor[_0xd469[22]](_0xf314x6[_0xd469[23]])[_0xd469[12]](function(_0xf314xb){return _0xf314x7[_0xd469[11]](201)[_0xd469[10]](_0xf314xb)})[_0xd469[9]](function(_0xf314x9){return handleError(_0xf314x7,_0xf314x9)})};exports[_0xd469[24]]= function(_0xf314x6,_0xf314x7){if(_0xf314x6[_0xd469[23]][_0xd469[19]]){delete _0xf314x6[_0xd469[23]][_0xd469[19]]};return ChatVisitor[_0xd469[21]](_0xf314x6[_0xd469[20]][_0xd469[19]])[_0xd469[12]](function(_0xf314xb){if(!_0xf314xb){return _0xf314x7[_0xd469[18]](404)};var _0xf314xc=_[_0xd469[15]](_0xf314xb,_0xf314x6[_0xd469[23]]);return _0xf314xc[_0xd469[25]]()})[_0xd469[12]](function(_0xf314xb){return _0xf314x7[_0xd469[11]](200)[_0xd469[10]](_0xf314xb)})[_0xd469[9]](function(_0xf314x9){return handleError(_0xf314x7,_0xf314x9)})};exports[_0xd469[26]]= function(_0xf314x6,_0xf314x7){return ChatVisitor[_0xd469[21]](_0xf314x6[_0xd469[20]][_0xd469[19]])[_0xd469[12]](function(_0xf314xb){if(!_0xf314xb){return _0xf314x7[_0xd469[18]](404)};return _0xf314xb[_0xd469[26]]()})[_0xd469[12]](function(){return _0xf314x7[_0xd469[18]](204)})[_0xd469[9]](function(_0xf314x9){return handleError(_0xf314x7,_0xf314x9)})};function handleError(_0xf314x7,_0xf314x9){return _0xf314x7[_0xd469[11]](500)[_0xd469[10]](_0xf314x9)} \ No newline at end of file +var _0xd75a=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x45\x6E\x71\x75\x69\x72\x79","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x69\x6E\x64\x65\x78","\x65\x72\x72\x6F\x72","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x6D\x65\x72\x67\x65","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x72\x65\x61\x74\x65","\x62\x6F\x64\x79","\x75\x70\x64\x61\x74\x65","\x73\x61\x76\x65","\x64\x65\x73\x74\x72\x6F\x79"];_0xd75a[0];var _=require(_0xd75a[1]);var Util=require(_0xd75a[2]);var ChatVisitor=require(_0xd75a[4])[_0xd75a[3]];var ChatEnquiry=require(_0xd75a[4])[_0xd75a[5]];var ChatWebsite=require(_0xd75a[4])[_0xd75a[6]];exports[_0xd75a[7]]= function(_0x2ce2x6,_0x2ce2x7,_0x2ce2x8){return ChatVisitor[_0xd75a[16]](_[_0xd75a[15]](Util[_0xd75a[14]](_0x2ce2x6[_0xd75a[13]]),{include:[{model:ChatWebsite}]}))[_0xd75a[12]](function(_0x2ce2xa){_0x2ce2x7[_0xd75a[11]](200)[_0xd75a[10]](_0x2ce2xa)})[_0xd75a[9]](function(_0x2ce2x9){console[_0xd75a[8]](_0x2ce2x9);return handleError(_0x2ce2x7,_0x2ce2x9)})};exports[_0xd75a[17]]= function(_0x2ce2x6,_0x2ce2x7){return ChatVisitor[_0xd75a[21]](_0x2ce2x6[_0xd75a[20]][_0xd75a[19]],{include:[{model:ChatEnquiry},{model:ChatWebsite}]})[_0xd75a[12]](function(_0x2ce2xb){if(!_0x2ce2xb){return _0x2ce2x7[_0xd75a[18]](404)};return _0x2ce2x7[_0xd75a[10]](_0x2ce2xb)})[_0xd75a[9]](function(_0x2ce2x9){return handleError(_0x2ce2x7,_0x2ce2x9)})};exports[_0xd75a[22]]= function(_0x2ce2x6,_0x2ce2x7){return ChatVisitor[_0xd75a[22]](_0x2ce2x6[_0xd75a[23]])[_0xd75a[12]](function(_0x2ce2xb){return _0x2ce2x7[_0xd75a[11]](201)[_0xd75a[10]](_0x2ce2xb)})[_0xd75a[9]](function(_0x2ce2x9){return handleError(_0x2ce2x7,_0x2ce2x9)})};exports[_0xd75a[24]]= function(_0x2ce2x6,_0x2ce2x7){if(_0x2ce2x6[_0xd75a[23]][_0xd75a[19]]){delete _0x2ce2x6[_0xd75a[23]][_0xd75a[19]]};return ChatVisitor[_0xd75a[21]](_0x2ce2x6[_0xd75a[20]][_0xd75a[19]])[_0xd75a[12]](function(_0x2ce2xb){if(!_0x2ce2xb){return _0x2ce2x7[_0xd75a[18]](404)};var _0x2ce2xc=_[_0xd75a[15]](_0x2ce2xb,_0x2ce2x6[_0xd75a[23]]);return _0x2ce2xc[_0xd75a[25]]()})[_0xd75a[12]](function(_0x2ce2xb){return _0x2ce2x7[_0xd75a[11]](200)[_0xd75a[10]](_0x2ce2xb)})[_0xd75a[9]](function(_0x2ce2x9){return handleError(_0x2ce2x7,_0x2ce2x9)})};exports[_0xd75a[26]]= function(_0x2ce2x6,_0x2ce2x7){return ChatVisitor[_0xd75a[21]](_0x2ce2x6[_0xd75a[20]][_0xd75a[19]])[_0xd75a[12]](function(_0x2ce2xb){if(!_0x2ce2xb){return _0x2ce2x7[_0xd75a[18]](404)};return _0x2ce2xb[_0xd75a[26]]()})[_0xd75a[12]](function(){return _0x2ce2x7[_0xd75a[18]](204)})[_0xd75a[9]](function(_0x2ce2x9){return handleError(_0x2ce2x7,_0x2ce2x9)})};function handleError(_0x2ce2x7,_0x2ce2x9){return _0x2ce2x7[_0xd75a[11]](500)[_0xd75a[10]](_0x2ce2x9)} \ 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 ed9bbd0..ccd7ae9 100644 --- a/server/api/chat_visitor/chat_visitor.events.js +++ b/server/api/chat_visitor/chat_visitor.events.js @@ -1 +1 @@ -var _0x69de=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0x69de[0];const EventEmitter=require(_0x69de[1]);const ChatVisitor=require(_0x69de[3])[_0x69de[2]];var ChatVisitorEvents= new EventEmitter();ChatVisitorEvents[_0x69de[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0x69de[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0x69de[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0x69de[6]};for(var e in events){var event=events[e];ChatVisitor[_0x69de[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x981bx8,_0x981bx9,_0x981bxa){ChatVisitorEvents[_0x69de[10]](event+ _0x69de[8]+ _0x981bx8[_0x69de[9]],_0x981bx8);ChatVisitorEvents[_0x69de[10]](event,_0x981bx8);_0x981bxa(null)}}module[_0x69de[11]]= ChatVisitorEvents \ No newline at end of file +var _0xea77=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x76\x65\x6E\x74\x73","\x43\x68\x61\x74\x56\x69\x73\x69\x74\x6F\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x73\x65\x74\x4D\x61\x78\x4C\x69\x73\x74\x65\x6E\x65\x72\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x68\x6F\x6F\x6B","\x3A","\x5F\x69\x64","\x65\x6D\x69\x74","\x65\x78\x70\x6F\x72\x74\x73"];_0xea77[0];const EventEmitter=require(_0xea77[1]);const ChatVisitor=require(_0xea77[3])[_0xea77[2]];var ChatVisitorEvents= new EventEmitter();ChatVisitorEvents[_0xea77[4]](0);var events={"\x61\x66\x74\x65\x72\x43\x72\x65\x61\x74\x65":_0xea77[5],"\x61\x66\x74\x65\x72\x55\x70\x64\x61\x74\x65":_0xea77[5],"\x61\x66\x74\x65\x72\x44\x65\x73\x74\x72\x6F\x79":_0xea77[6]};for(var e in events){var event=events[e];ChatVisitor[_0xea77[7]](e,emitEvent(event))};function emitEvent(event){return function(_0x8670x8,_0x8670x9,_0x8670xa){ChatVisitorEvents[_0xea77[10]](event+ _0xea77[8]+ _0x8670x8[_0xea77[9]],_0x8670x8);ChatVisitorEvents[_0xea77[10]](event,_0x8670x8);_0x8670xa(null)}}module[_0xea77[11]]= ChatVisitorEvents \ 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 e1725c0..2647339 100644 --- a/server/api/chat_visitor/chat_visitor.socket.js +++ b/server/api/chat_visitor/chat_visitor.socket.js @@ -1 +1 @@ -var _0xd65e=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0xd65e[0];const ChatVisitorEvents=require(_0xd65e[1]);var events=[_0xd65e[2],_0xd65e[3]];exports[_0xd65e[4]]= function(_0x121bx3){for(var _0x121bx4=0,_0x121bx5=events[_0xd65e[5]];_0x121bx4< _0x121bx5;_0x121bx4++){var _0x121bx6=events[_0x121bx4];var _0x121bx7=createListener(_0xd65e[6]+ _0x121bx6,_0x121bx3);ChatVisitorEvents[_0xd65e[7]](_0x121bx6,_0x121bx7);_0x121bx3[_0xd65e[7]](_0xd65e[8],removeListener(_0x121bx6,_0x121bx7))}};function createListener(_0x121bx6,_0x121bx3){return function(_0x121bx9){_0x121bx3[_0xd65e[9]](_0x121bx6,_0x121bx9)}}function removeListener(_0x121bx6,_0x121bx7){return function(){ChatVisitorEvents[_0xd65e[10]](_0x121bx6,_0x121bx7)}} \ No newline at end of file +var _0x4466=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x2E\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x65\x76\x65\x6E\x74\x73","\x73\x61\x76\x65","\x72\x65\x6D\x6F\x76\x65","\x72\x65\x67\x69\x73\x74\x65\x72","\x6C\x65\x6E\x67\x74\x68","\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x3A","\x6F\x6E","\x64\x69\x73\x63\x6F\x6E\x6E\x65\x63\x74","\x65\x6D\x69\x74","\x72\x65\x6D\x6F\x76\x65\x4C\x69\x73\x74\x65\x6E\x65\x72"];_0x4466[0];const ChatVisitorEvents=require(_0x4466[1]);var events=[_0x4466[2],_0x4466[3]];exports[_0x4466[4]]= function(_0x4df9x3){for(var _0x4df9x4=0,_0x4df9x5=events[_0x4466[5]];_0x4df9x4< _0x4df9x5;_0x4df9x4++){var _0x4df9x6=events[_0x4df9x4];var _0x4df9x7=createListener(_0x4466[6]+ _0x4df9x6,_0x4df9x3);ChatVisitorEvents[_0x4466[7]](_0x4df9x6,_0x4df9x7);_0x4df9x3[_0x4466[7]](_0x4466[8],removeListener(_0x4df9x6,_0x4df9x7))}};function createListener(_0x4df9x6,_0x4df9x3){return function(_0x4df9x9){_0x4df9x3[_0x4466[9]](_0x4df9x6,_0x4df9x9)}}function removeListener(_0x4df9x6,_0x4df9x7){return function(){ChatVisitorEvents[_0x4466[10]](_0x4df9x6,_0x4df9x7)}} \ No newline at end of file diff --git a/server/api/chat_visitor/index.js b/server/api/chat_visitor/index.js index ad50c48..bd555ce 100644 --- a/server/api/chat_visitor/index.js +++ b/server/api/chat_visitor/index.js @@ -1 +1 @@ -var _0x96b6=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0x96b6[0];var express=require(_0x96b6[1]);var controller=require(_0x96b6[2]);var auth=require(_0x96b6[3]);var license=require(_0x96b6[4]);var router=express.Router();router[_0x96b6[12]](_0x96b6[5],license[_0x96b6[6]](),license[_0x96b6[7]](),auth[_0x96b6[8]](),auth[_0x96b6[10]]([8],[_0x96b6[9]]),controller[_0x96b6[11]]);router[_0x96b6[12]](_0x96b6[13],license[_0x96b6[6]](),license[_0x96b6[7]](),auth[_0x96b6[8]](),auth[_0x96b6[10]]([8],[_0x96b6[9]]),controller[_0x96b6[14]]);router[_0x96b6[16]](_0x96b6[5],license[_0x96b6[6]](),license[_0x96b6[7]](),auth[_0x96b6[8]](),auth[_0x96b6[10]]([8],[_0x96b6[9]]),controller[_0x96b6[15]]);router[_0x96b6[18]](_0x96b6[13],license[_0x96b6[6]](),license[_0x96b6[7]](),auth[_0x96b6[8]](),auth[_0x96b6[10]]([8],[_0x96b6[9]]),controller[_0x96b6[17]]);router[_0x96b6[20]](_0x96b6[13],license[_0x96b6[6]](),license[_0x96b6[7]](),auth[_0x96b6[8]](),auth[_0x96b6[10]]([8],[_0x96b6[9]]),controller[_0x96b6[19]]);module[_0x96b6[21]]= router \ No newline at end of file +var _0xe036=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x65\x78\x70\x72\x65\x73\x73","\x2E\x2F\x63\x68\x61\x74\x5F\x76\x69\x73\x69\x74\x6F\x72\x2E\x63\x6F\x6E\x74\x72\x6F\x6C\x6C\x65\x72","\x2E\x2E\x2F\x2E\x2E\x2F\x61\x75\x74\x68\x2F\x61\x75\x74\x68\x2E\x73\x65\x72\x76\x69\x63\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2F\x6C\x69\x63\x65\x6E\x73\x65\x2E\x73\x65\x72\x76\x69\x63\x65","\x2F","\x69\x73\x56\x61\x6C\x69\x64\x44\x61\x74\x65","\x68\x61\x73\x43\x68\x61\x74","\x69\x73\x41\x75\x74\x68\x65\x6E\x74\x69\x63\x61\x74\x65\x64","\x61\x64\x6D\x69\x6E","\x68\x61\x73\x4D\x6F\x64\x75\x6C\x65","\x69\x6E\x64\x65\x78","\x67\x65\x74","\x2F\x3A\x69\x64","\x73\x68\x6F\x77","\x63\x72\x65\x61\x74\x65","\x70\x6F\x73\x74","\x75\x70\x64\x61\x74\x65","\x70\x75\x74","\x64\x65\x73\x74\x72\x6F\x79","\x64\x65\x6C\x65\x74\x65","\x65\x78\x70\x6F\x72\x74\x73"];_0xe036[0];var express=require(_0xe036[1]);var controller=require(_0xe036[2]);var auth=require(_0xe036[3]);var license=require(_0xe036[4]);var router=express.Router();router[_0xe036[12]](_0xe036[5],license[_0xe036[6]](),license[_0xe036[7]](),auth[_0xe036[8]](),auth[_0xe036[10]]([8],[_0xe036[9]]),controller[_0xe036[11]]);router[_0xe036[12]](_0xe036[13],license[_0xe036[6]](),license[_0xe036[7]](),auth[_0xe036[8]](),auth[_0xe036[10]]([8],[_0xe036[9]]),controller[_0xe036[14]]);router[_0xe036[16]](_0xe036[5],license[_0xe036[6]](),license[_0xe036[7]](),auth[_0xe036[8]](),auth[_0xe036[10]]([8],[_0xe036[9]]),controller[_0xe036[15]]);router[_0xe036[18]](_0xe036[13],license[_0xe036[6]](),license[_0xe036[7]](),auth[_0xe036[8]](),auth[_0xe036[10]]([8],[_0xe036[9]]),controller[_0xe036[17]]);router[_0xe036[20]](_0xe036[13],license[_0xe036[6]](),license[_0xe036[7]](),auth[_0xe036[8]](),auth[_0xe036[10]]([8],[_0xe036[9]]),controller[_0xe036[19]]);module[_0xe036[21]]= router \ 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 acf1e90..97ac672 100644 --- a/server/api/chat_website/chat_website.controller.js +++ b/server/api/chat_website/chat_website.controller.js @@ -1 +1 @@ -var _0x5063=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x73\x6E\x69\x70\x70\x65\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x53\x65\x74\x74\x69\x6E\x67\x73","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x70\x61\x74\x68","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x68\x61\x6E\x67\x65\x4C\x6F\x67\x6F","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x69\x6D\x61\x67\x65\x73","\x6A\x6F\x69\x6E","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x74\x6E\x61\x6D\x65","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x6A\x70\x65\x67\x20\x61\x6E\x64\x20\x70\x6E\x67\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x6C\x6F\x67\x6F","\x75\x70\x64\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x6F\x6E","\x65\x72\x72\x6F\x72","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x55\x70\x6C\x6F\x61\x64\x20\x65\x72\x72\x6F\x72\x20\x3A","\x6C\x6F\x67","\x70\x61\x72\x73\x65","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x69\x73\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x72\x65\x6D\x6F\x74\x65","\x72\x65\x6E\x64\x65\x72","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x77\x65\x62\x73\x69\x74\x65\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x64\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x6A\x73\x6F\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x79\x70\x65","\x73\x63\x6F\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\x6F\x6E\x6C\x69\x6E\x65","\x4F\x6E\x6C\x69\x6E\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65","\x4F\x66\x66\x6C\x69\x6E\x65\x49\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E"];_0x5063[0];var _=require(_0x5063[1]);var util=require(_0x5063[2]);var async=require(_0x5063[3]);var Mustache=require(_0x5063[4]);var Util=require(_0x5063[5]);var sequelize=require(_0x5063[7])[_0x5063[6]];var ChatWebsite=require(_0x5063[7])[_0x5063[8]];var ChatQueue=require(_0x5063[7])[_0x5063[9]];var User=require(_0x5063[7])[_0x5063[10]];var ChatApplication=require(_0x5063[7])[_0x5063[11]];var ChatWebsitesField=require(_0x5063[7])[_0x5063[12]];var ChatProactiveAction=require(_0x5063[7])[_0x5063[13]];var ChatDisposition=require(_0x5063[7])[_0x5063[14]];var snippet=require(_0x5063[16])[_0x5063[15]];var Settings=require(_0x5063[7])[_0x5063[17]];var UploadFile=require(_0x5063[18]);var path=require(_0x5063[19]);var sr=require(_0x5063[20]);var config=require(_0x5063[21]);exports[_0x5063[22]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatWebsite[_0x5063[29]](Util[_0x5063[28]](_0x8b79x14[_0x5063[27]]))[_0x5063[26]](function(_0x8b79x18){_0x8b79x15[_0x5063[25]](200)[_0x5063[24]](_0x8b79x18)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[30]]= function(_0x8b79x14,_0x8b79x15){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x19){if(!_0x8b79x19){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x15[_0x5063[24]](_0x8b79x19)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[35]]= function(_0x8b79x14,_0x8b79x15){var _0x8b79x1a= new UploadFile({dest:path[_0x5063[40]](config[_0x5063[36]],_0x5063[37],_0x5063[38],_0x5063[39]),maxNumberOfFiles:1,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(jpeg|png)$/i,rename:function(_0x8b79x1b,_0x8b79x1c){return sr()+ path[_0x5063[42]](_0x8b79x1c[_0x5063[41]])},messages:{maxNumberOfFiles:_0x5063[43],acceptFileTypes:_0x5063[44],invalidRequest:_0x5063[45]}});_0x8b79x1a[_0x5063[51]](_0x5063[46],function(_0x8b79x1d,_0x8b79x1e){if(!_0x8b79x1e[_0x5063[47]][_0x5063[41]]){return _0x8b79x15[_0x5063[25]](500)[_0x5063[24]](_0x8b79x1a)};return sequelize[_0x5063[50]](function(_0x8b79x1f){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x21){if(!_0x8b79x21){return _0x8b79x15[_0x5063[31]](404)};var _0x8b79x22={};_0x8b79x22[_0x5063[48]]= _0x8b79x1e[_0x5063[47]][_0x5063[41]];return _0x8b79x21[_0x5063[49]](_0x8b79x22,{transaction:_0x8b79x1f})})[_0x5063[26]](function(_0x8b79x20){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]](_0x8b79x20)})})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})});_0x8b79x1a[_0x5063[51]](_0x5063[52],function(_0x8b79x17){console[_0x5063[54]](_0x5063[53],_0x8b79x17);return handleError(_0x8b79x15,_0x8b79x17)});_0x8b79x1a[_0x5063[55]](_0x8b79x14)};exports[_0x5063[56]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x19){if(!_0x8b79x19){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x19[_0x5063[58]]()})[_0x5063[26]](function(_0x8b79x23){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]]({rows:_0x8b79x23,count:_0x8b79x23[_0x5063[57]]})})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[59]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){_0x8b79x14[_0x5063[61]][_0x5063[60]]= _0x8b79x14[_0x5063[33]][_0x5063[32]];return ChatDisposition[_0x5063[62]](_0x8b79x14[_0x5063[61]])[_0x5063[26]](function(_0x8b79x24){return _0x8b79x15[_0x5063[25]](201)[_0x5063[24]](_0x8b79x24)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[63]]= function(_0x8b79x14,_0x8b79x15){if(_0x8b79x14[_0x5063[61]][_0x5063[32]]){delete _0x8b79x14[_0x5063[61]][_0x5063[32]]};return ChatDisposition[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[66]])[_0x5063[26]](function(_0x8b79x24){if(!_0x8b79x24){return _0x8b79x15[_0x5063[31]](404)};var _0x8b79x25=_[_0x5063[64]](_0x8b79x24,_0x8b79x14[_0x5063[61]]);return _0x8b79x25[_0x5063[65]]()})[_0x5063[26]](function(_0x8b79x19){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]](_0x8b79x19)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[67]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatDisposition[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[66]])[_0x5063[26]](function(_0x8b79x26){if(!_0x8b79x26){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x26[_0x5063[68]]()})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[69]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x28){if(!_0x8b79x28){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x28[_0x5063[71]](_[_0x5063[64]](Util[_0x5063[28]](_0x8b79x14[_0x5063[27]]),{include:[{model:ChatQueue,attributes:[_0x5063[32],_0x5063[70]]},{model:User,attributes:[_0x5063[32],_0x5063[70]]}]}))})[_0x5063[26]](function(_0x8b79x27){return _0x8b79x15[_0x5063[24]]({count:_0x8b79x27[_0x5063[57]],rows:_0x8b79x27})})[_0x5063[23]](function(_0x8b79x17){console[_0x5063[54]](_0x8b79x17);return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[72]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x28){if(!_0x8b79x28){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x28[_0x5063[73]](Util[_0x5063[28]](_0x8b79x14[_0x5063[27]]))})[_0x5063[26]](function(_0x8b79x29){return _0x8b79x15[_0x5063[24]]({count:_0x8b79x29[_0x5063[57]],rows:_0x8b79x29})})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[74]]= function(_0x8b79x14,_0x8b79x15){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x19){var _0x8b79x2a={remote:_0x8b79x19[_0x5063[75]],websiteId:_0x8b79x14[_0x5063[33]][_0x5063[32]]};var _0x8b79x2b=Mustache[_0x5063[76]](snippet,_0x8b79x2a);return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]]({html:_0x8b79x2b})})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[62]]= function(_0x8b79x14,_0x8b79x15){return ChatWebsite[_0x5063[62]](_0x8b79x14[_0x5063[61]])[_0x5063[26]](function(_0x8b79x19){return _0x8b79x15[_0x5063[25]](201)[_0x5063[24]](_0x8b79x19)})[_0x5063[23]](function(_0x8b79x17){console[_0x5063[54]](_0x8b79x17);return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[49]]= function(_0x8b79x14,_0x8b79x15){if(_0x8b79x14[_0x5063[61]][_0x5063[32]]){delete _0x8b79x14[_0x5063[61]][_0x5063[32]]};return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x19){if(!_0x8b79x19){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x19[_0x5063[49]](_0x8b79x14[_0x5063[61]])})[_0x5063[26]](function(_0x8b79x19){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]](_0x8b79x19)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[77]]= function(_0x8b79x14,_0x8b79x15){var _0x8b79x2c=0;var _0x8b79x2d=_0x8b79x14[_0x5063[61]];_0x8b79x2d[_0x5063[81]](function(_0x8b79x2e){delete _0x8b79x2e[_0x5063[32]];delete _0x8b79x2e[_0x5063[78]];delete _0x8b79x2e[_0x5063[79]];_0x8b79x2e[_0x5063[80]]= ++_0x8b79x2c});return sequelize[_0x5063[50]](function(_0x8b79x1f){return ChatApplication[_0x5063[68]]({where:{ChatWebsiteId:_0x8b79x14[_0x5063[33]][_0x5063[32]]},individualHooks:true,transaction:_0x8b79x1f})[_0x5063[26]](function(){return ChatApplication[_0x5063[82]](_0x8b79x2d,{individualHooks:true,transaction:_0x8b79x1f})})})[_0x5063[26]](function(_0x8b79x27){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]]({count:_0x8b79x27[_0x5063[57]],rows:_0x8b79x27})})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[68]]= function(_0x8b79x14,_0x8b79x15){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x19){if(!_0x8b79x19){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x19[_0x5063[68]]()})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[83]]= function(_0x8b79x14,_0x8b79x15){return ChatWebsite[_0x5063[68]]({where:{id:_0x8b79x14[_0x5063[27]][_0x5063[84]]},individualHooks:true})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[85]]= function(_0x8b79x14,_0x8b79x15){return ChatApplication[_0x5063[68]]({where:{id:_0x8b79x14[_0x5063[27]][_0x5063[86]]},individualHooks:true})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[87]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatApplication[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[88]])[_0x5063[26]](function(_0x8b79x2f){if(!_0x8b79x2f){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x2f[_0x5063[68]]()})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[89]]= function(_0x8b79x14,_0x8b79x15){return ChatWebsitesField[_0x5063[93]]({method:[_0x8b79x14[_0x5063[33]][_0x5063[92]],_0x8b79x14[_0x5063[33]][_0x5063[32]]]})[_0x5063[91]]()[_0x5063[26]](function(_0x8b79x30){return _0x8b79x15[_0x5063[25]](200)[_0x5063[90]](_0x8b79x30)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[94]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatWebsitesField[_0x5063[68]]({where:_0x8b79x14[_0x5063[33]][_0x5063[92]]=== _0x5063[95]?{OnlineId:_0x8b79x14[_0x5063[33]][_0x5063[32]]}:{OfflineId:_0x8b79x14[_0x5063[33]][_0x5063[32]]}})[_0x5063[26]](function(){_[_0x5063[81]](_0x8b79x14[_0x5063[61]],function(_0x8b79x31){if(_0x8b79x14[_0x5063[33]][_0x5063[92]]=== _0x5063[95]){_0x8b79x31[_0x5063[96]]= _0x8b79x14[_0x5063[33]][_0x5063[32]]}else {if(_0x8b79x14[_0x5063[33]][_0x5063[92]]=== _0x5063[97]){_0x8b79x31[_0x5063[98]]= _0x8b79x14[_0x5063[33]][_0x5063[32]]}}});return ChatWebsitesField[_0x5063[82]](_0x8b79x14[_0x5063[61]])})[_0x5063[26]](function(_0x8b79x1d){_0x8b79x15[_0x5063[25]](201)[_0x5063[90]](_0x8b79x1d)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[99]]= function(_0x8b79x14,_0x8b79x15){return ChatProactiveAction[_0x5063[68]]({where:{id:_0x8b79x14[_0x5063[27]][_0x5063[86]]},individualHooks:true})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[100]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatProactiveAction[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[101]])[_0x5063[26]](function(_0x8b79x32){if(!_0x8b79x32){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x32[_0x5063[68]]()})[_0x5063[26]](function(){return _0x8b79x15[_0x5063[31]](204)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[102]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatWebsite[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[32]])[_0x5063[26]](function(_0x8b79x28){if(!_0x8b79x28){return _0x8b79x15[_0x5063[31]](404)};_0x8b79x14[_0x5063[61]][_0x5063[60]]= _0x8b79x28[_0x5063[32]];return ChatProactiveAction[_0x5063[62]](_0x8b79x14[_0x5063[61]])})[_0x5063[26]](function(_0x8b79x32){return _0x8b79x15[_0x5063[25]](201)[_0x5063[24]](_0x8b79x32)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[103]]= function(_0x8b79x14,_0x8b79x15){if(_0x8b79x14[_0x5063[61]][_0x5063[32]]){delete _0x8b79x14[_0x5063[61]][_0x5063[32]]};return ChatProactiveAction[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[101]])[_0x5063[26]](function(_0x8b79x32){if(!_0x8b79x32){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x32[_0x5063[49]](_0x8b79x14[_0x5063[61]])})[_0x5063[26]](function(_0x8b79x32){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]](_0x8b79x32)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};function handleError(_0x8b79x15,_0x8b79x17){return _0x8b79x15[_0x5063[25]](500)[_0x5063[24]](_0x8b79x17)}exports[_0x5063[104]]= function(_0x8b79x14,_0x8b79x15,_0x8b79x16){return ChatApplication[_0x5063[105]](_0x5063[80],{where:{ChatWebsiteId:_0x8b79x14[_0x5063[33]][_0x5063[32]]}})[_0x5063[26]](function(_0x8b79x34){_0x8b79x14[_0x5063[61]][_0x5063[80]]= _0x8b79x34?++_0x8b79x34:1;_0x8b79x14[_0x5063[61]][_0x5063[60]]= _0x8b79x14[_0x5063[33]][_0x5063[32]];return ChatApplication[_0x5063[62]](_0x8b79x14[_0x5063[61]])})[_0x5063[26]](function(_0x8b79x2f){return _0x8b79x15[_0x5063[25]](201)[_0x5063[24]](_0x8b79x2f)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[106]]= function(_0x8b79x14,_0x8b79x15){if(_0x8b79x14[_0x5063[61]][_0x5063[32]]){delete _0x8b79x14[_0x5063[61]][_0x5063[32]]};return ChatApplication[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[88]])[_0x5063[26]](function(_0x8b79x2f){if(!_0x8b79x2f){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x2f[_0x5063[49]](_0x8b79x14[_0x5063[61]])})[_0x5063[26]](function(_0x8b79x2f){return _0x8b79x15[_0x5063[25]](200)[_0x5063[24]](_0x8b79x2f)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})};exports[_0x5063[107]]= function(_0x8b79x14,_0x8b79x15){return ChatApplication[_0x5063[34]](_0x8b79x14[_0x5063[33]][_0x5063[88]],{include:[{all:true}]})[_0x5063[26]](function(_0x8b79x2f){if(!_0x8b79x2f){return _0x8b79x15[_0x5063[31]](404)};return _0x8b79x15[_0x5063[24]](_0x8b79x2f)})[_0x5063[23]](function(_0x8b79x17){return handleError(_0x8b79x15,_0x8b79x17)})} \ No newline at end of file +var _0x2fd0=["\x75\x73\x65\x20\x73\x74\x72\x69\x63\x74","\x6C\x6F\x64\x61\x73\x68","\x75\x74\x69\x6C","\x61\x73\x79\x6E\x63","\x6D\x75\x73\x74\x61\x63\x68\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x75\x74\x69\x6C","\x73\x65\x71\x75\x65\x6C\x69\x7A\x65","\x2E\x2E\x2F\x2E\x2E\x2F\x6D\x6F\x64\x65\x6C\x73","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65","\x43\x68\x61\x74\x51\x75\x65\x75\x65","\x55\x73\x65\x72","\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x73\x46\x69\x65\x6C\x64","\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x73\x6E\x69\x70\x70\x65\x74","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6D\x70\x6F\x6E\x65\x6E\x74\x73\x2F\x78\x63\x68\x61\x74\x74\x79","\x53\x65\x74\x74\x69\x6E\x67\x73","\x75\x70\x6C\x6F\x61\x64\x2D\x66\x69\x6C\x65","\x70\x61\x74\x68","\x73\x69\x6D\x70\x6C\x65\x2D\x72\x61\x6E\x64\x6F\x6D","\x2E\x2E\x2F\x2E\x2E\x2F\x63\x6F\x6E\x66\x69\x67\x2F\x65\x6E\x76\x69\x72\x6F\x6E\x6D\x65\x6E\x74","\x69\x6E\x64\x65\x78","\x63\x61\x74\x63\x68","\x73\x65\x6E\x64","\x73\x74\x61\x74\x75\x73","\x74\x68\x65\x6E","\x71\x75\x65\x72\x79","\x67\x65\x74\x51\x75\x65\x72\x79","\x66\x69\x6E\x64\x41\x6E\x64\x43\x6F\x75\x6E\x74\x41\x6C\x6C","\x73\x68\x6F\x77","\x73\x65\x6E\x64\x53\x74\x61\x74\x75\x73","\x69\x64","\x70\x61\x72\x61\x6D\x73","\x66\x69\x6E\x64\x42\x79\x49\x64","\x63\x68\x61\x6E\x67\x65\x4C\x6F\x67\x6F","\x72\x6F\x6F\x74","\x73\x65\x72\x76\x65\x72","\x66\x69\x6C\x65\x73","\x69\x6D\x61\x67\x65\x73","\x6A\x6F\x69\x6E","\x66\x69\x6C\x65\x6E\x61\x6D\x65","\x65\x78\x74\x6E\x61\x6D\x65","\x4D\x61\x78\x20\x6E\x75\x6D\x62\x65\x72\x20\x6F\x66\x20\x66\x69\x6C\x65\x73\x20\x75\x70\x6C\x6F\x61\x64\x20\x65\x78\x63\x65\x65\x64\x65\x64","\x4F\x6E\x6C\x79\x20\x6A\x70\x65\x67\x20\x61\x6E\x64\x20\x70\x6E\x67\x20\x66\x6F\x72\x6D\x61\x74\x20\x61\x63\x63\x65\x70\x74\x65\x64","\x49\x6E\x76\x61\x6C\x69\x64\x20\x72\x65\x71\x75\x65\x73\x74","\x65\x6E\x64","\x66\x69\x6C\x65","\x6C\x6F\x67\x6F","\x75\x70\x64\x61\x74\x65","\x74\x72\x61\x6E\x73\x61\x63\x74\x69\x6F\x6E","\x6F\x6E","\x65\x72\x72\x6F\x72","\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x2A\x20\x55\x70\x6C\x6F\x61\x64\x20\x65\x72\x72\x6F\x72\x20\x3A","\x6C\x6F\x67","\x70\x61\x72\x73\x65","\x67\x65\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x6C\x65\x6E\x67\x74\x68","\x67\x65\x74\x43\x68\x61\x74\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x43\x68\x61\x74\x57\x65\x62\x73\x69\x74\x65\x49\x64","\x62\x6F\x64\x79","\x63\x72\x65\x61\x74\x65","\x75\x70\x64\x61\x74\x65\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x6D\x65\x72\x67\x65","\x73\x61\x76\x65","\x64\x69\x73\x70\x49\x64","\x64\x65\x73\x74\x72\x6F\x79\x44\x69\x73\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x64\x65\x73\x74\x72\x6F\x79","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x6E\x61\x6D\x65","\x67\x65\x74\x43\x68\x61\x74\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x73\x68\x6F\x77\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x43\x68\x61\x74\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x67\x65\x74\x53\x6E\x69\x70\x70\x65\x74\x43\x6F\x64\x65","\x72\x65\x6D\x6F\x74\x65","\x72\x65\x6E\x64\x65\x72","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x63\x72\x65\x61\x74\x65\x64\x41\x74","\x75\x70\x64\x61\x74\x65\x64\x41\x74","\x70\x72\x69\x6F\x72\x69\x74\x79","\x66\x6F\x72\x45\x61\x63\x68","\x62\x75\x6C\x6B\x43\x72\x65\x61\x74\x65","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79","\x77\x65\x62\x73\x69\x74\x65\x73","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E\x73","\x69\x64\x73","\x64\x65\x73\x74\x72\x6F\x79\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x61\x70\x70\x49\x64","\x67\x65\x74\x46\x6F\x72\x6D\x73","\x6A\x73\x6F\x6E","\x66\x69\x6E\x64\x41\x6C\x6C","\x74\x79\x70\x65","\x73\x63\x6F\x70\x65","\x75\x70\x64\x61\x74\x65\x46\x6F\x72\x6D\x73","\x6F\x6E\x6C\x69\x6E\x65","\x4F\x6E\x6C\x69\x6E\x65\x49\x64","\x6F\x66\x66\x6C\x69\x6E\x65","\x4F\x66\x66\x6C\x69\x6E\x65\x49\x64","\x62\x75\x6C\x6B\x44\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E\x73","\x64\x65\x73\x74\x72\x6F\x79\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x70\x61\x63\x74\x69\x6F\x6E\x49\x64","\x63\x72\x65\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x75\x70\x64\x61\x74\x65\x50\x72\x6F\x61\x63\x74\x69\x76\x65\x41\x63\x74\x69\x6F\x6E","\x63\x72\x65\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x6D\x61\x78","\x75\x70\x64\x61\x74\x65\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E","\x73\x68\x6F\x77\x41\x70\x70\x6C\x69\x63\x61\x74\x69\x6F\x6E"];_0x2fd0[0];var _=require(_0x2fd0[1]);var util=require(_0x2fd0[2]);var async=require(_0x2fd0[3]);var Mustache=require(_0x2fd0[4]);var Util=require(_0x2fd0[5]);var sequelize=require(_0x2fd0[7])[_0x2fd0[6]];var ChatWebsite=require(_0x2fd0[7])[_0x2fd0[8]];var ChatQueue=require(_0x2fd0[7])[_0x2fd0[9]];var User=require(_0x2fd0[7])[_0x2fd0[10]];var ChatApplication=require(_0x2fd0[7])[_0x2fd0[11]];var ChatWebsitesField=require(_0x2fd0[7])[_0x2fd0[12]];var ChatProactiveAction=require(_0x2fd0[7])[_0x2fd0[13]];var ChatDisposition=require(_0x2fd0[7])[_0x2fd0[14]];var snippet=require(_0x2fd0[16])[_0x2fd0[15]];var Settings=require(_0x2fd0[7])[_0x2fd0[17]];var UploadFile=require(_0x2fd0[18]);var path=require(_0x2fd0[19]);var sr=require(_0x2fd0[20]);var config=require(_0x2fd0[21]);exports[_0x2fd0[22]]= function(_0xa8b6x14,_0xa8b6x15,_0xa8b6x16){return ChatWebsite[_0x2fd0[29]](Util[_0x2fd0[28]](_0xa8b6x14[_0x2fd0[27]]))[_0x2fd0[26]](function(_0xa8b6x18){_0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]](_0xa8b6x18)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[30]]= function(_0xa8b6x14,_0xa8b6x15){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x19){if(!_0xa8b6x19){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x15[_0x2fd0[24]](_0xa8b6x19)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[35]]= function(_0xa8b6x14,_0xa8b6x15){var _0xa8b6x1a= new UploadFile({dest:path[_0x2fd0[40]](config[_0x2fd0[36]],_0x2fd0[37],_0x2fd0[38],_0x2fd0[39]),maxNumberOfFiles:1,minNumberOfFiles:0,acceptFileTypes:/(\.|\/)(jpeg|png)$/i,rename:function(_0xa8b6x1b,_0xa8b6x1c){return sr()+ path[_0x2fd0[42]](_0xa8b6x1c[_0x2fd0[41]])},messages:{maxNumberOfFiles:_0x2fd0[43],acceptFileTypes:_0x2fd0[44],invalidRequest:_0x2fd0[45]}});_0xa8b6x1a[_0x2fd0[51]](_0x2fd0[46],function(_0xa8b6x1d,_0xa8b6x1e){if(!_0xa8b6x1e[_0x2fd0[47]][_0x2fd0[41]]){return _0xa8b6x15[_0x2fd0[25]](500)[_0x2fd0[24]](_0xa8b6x1a)};return sequelize[_0x2fd0[50]](function(_0xa8b6x1f){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x21){if(!_0xa8b6x21){return _0xa8b6x15[_0x2fd0[31]](404)};var _0xa8b6x22={};_0xa8b6x22[_0x2fd0[48]]= _0xa8b6x1e[_0x2fd0[47]][_0x2fd0[41]];return _0xa8b6x21[_0x2fd0[49]](_0xa8b6x22,{transaction:_0xa8b6x1f})})[_0x2fd0[26]](function(_0xa8b6x20){return _0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]](_0xa8b6x20)})})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})});_0xa8b6x1a[_0x2fd0[51]](_0x2fd0[52],function(_0xa8b6x17){console[_0x2fd0[54]](_0x2fd0[53],_0xa8b6x17);return handleError(_0xa8b6x15,_0xa8b6x17)});_0xa8b6x1a[_0x2fd0[55]](_0xa8b6x14)};exports[_0x2fd0[56]]= function(_0xa8b6x14,_0xa8b6x15,_0xa8b6x16){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x19){if(!_0xa8b6x19){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x19[_0x2fd0[58]]()})[_0x2fd0[26]](function(_0xa8b6x23){return _0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]]({rows:_0xa8b6x23,count:_0xa8b6x23[_0x2fd0[57]]})})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[59]]= function(_0xa8b6x14,_0xa8b6x15,_0xa8b6x16){_0xa8b6x14[_0x2fd0[61]][_0x2fd0[60]]= _0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]];return ChatDisposition[_0x2fd0[62]](_0xa8b6x14[_0x2fd0[61]])[_0x2fd0[26]](function(_0xa8b6x24){return _0xa8b6x15[_0x2fd0[25]](201)[_0x2fd0[24]](_0xa8b6x24)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[63]]= function(_0xa8b6x14,_0xa8b6x15){if(_0xa8b6x14[_0x2fd0[61]][_0x2fd0[32]]){delete _0xa8b6x14[_0x2fd0[61]][_0x2fd0[32]]};return ChatDisposition[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[66]])[_0x2fd0[26]](function(_0xa8b6x24){if(!_0xa8b6x24){return _0xa8b6x15[_0x2fd0[31]](404)};var _0xa8b6x25=_[_0x2fd0[64]](_0xa8b6x24,_0xa8b6x14[_0x2fd0[61]]);return _0xa8b6x25[_0x2fd0[65]]()})[_0x2fd0[26]](function(_0xa8b6x19){return _0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]](_0xa8b6x19)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[67]]= function(_0xa8b6x14,_0xa8b6x15,_0xa8b6x16){return ChatDisposition[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[66]])[_0x2fd0[26]](function(_0xa8b6x26){if(!_0xa8b6x26){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x26[_0x2fd0[68]]()})[_0x2fd0[26]](function(){return _0xa8b6x15[_0x2fd0[31]](204)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[69]]= function(_0xa8b6x14,_0xa8b6x15,_0xa8b6x16){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x28){if(!_0xa8b6x28){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x28[_0x2fd0[71]](_[_0x2fd0[64]](Util[_0x2fd0[28]](_0xa8b6x14[_0x2fd0[27]]),{include:[{model:ChatQueue,attributes:[_0x2fd0[32],_0x2fd0[70]]},{model:User,attributes:[_0x2fd0[32],_0x2fd0[70]]}]}))})[_0x2fd0[26]](function(_0xa8b6x27){return _0xa8b6x15[_0x2fd0[24]]({count:_0xa8b6x27[_0x2fd0[57]],rows:_0xa8b6x27})})[_0x2fd0[23]](function(_0xa8b6x17){console[_0x2fd0[54]](_0xa8b6x17);return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[72]]= function(_0xa8b6x14,_0xa8b6x15,_0xa8b6x16){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x28){if(!_0xa8b6x28){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x28[_0x2fd0[73]](Util[_0x2fd0[28]](_0xa8b6x14[_0x2fd0[27]]))})[_0x2fd0[26]](function(_0xa8b6x29){return _0xa8b6x15[_0x2fd0[24]]({count:_0xa8b6x29[_0x2fd0[57]],rows:_0xa8b6x29})})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[74]]= function(_0xa8b6x14,_0xa8b6x15){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x19){var _0xa8b6x2a={remote:_0xa8b6x19[_0x2fd0[75]],websiteId:_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]]};var _0xa8b6x2b=Mustache[_0x2fd0[76]](snippet,_0xa8b6x2a);return _0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]]({html:_0xa8b6x2b})})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[62]]= function(_0xa8b6x14,_0xa8b6x15){return ChatWebsite[_0x2fd0[62]](_0xa8b6x14[_0x2fd0[61]])[_0x2fd0[26]](function(_0xa8b6x19){return _0xa8b6x15[_0x2fd0[25]](201)[_0x2fd0[24]](_0xa8b6x19)})[_0x2fd0[23]](function(_0xa8b6x17){console[_0x2fd0[54]](_0xa8b6x17);return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[49]]= function(_0xa8b6x14,_0xa8b6x15){if(_0xa8b6x14[_0x2fd0[61]][_0x2fd0[32]]){delete _0xa8b6x14[_0x2fd0[61]][_0x2fd0[32]]};return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x19){if(!_0xa8b6x19){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x19[_0x2fd0[49]](_0xa8b6x14[_0x2fd0[61]])})[_0x2fd0[26]](function(_0xa8b6x19){return _0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]](_0xa8b6x19)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[77]]= function(_0xa8b6x14,_0xa8b6x15){var _0xa8b6x2c=0;var _0xa8b6x2d=_0xa8b6x14[_0x2fd0[61]];_0xa8b6x2d[_0x2fd0[81]](function(_0xa8b6x2e){delete _0xa8b6x2e[_0x2fd0[32]];delete _0xa8b6x2e[_0x2fd0[78]];delete _0xa8b6x2e[_0x2fd0[79]];_0xa8b6x2e[_0x2fd0[80]]= ++_0xa8b6x2c});return sequelize[_0x2fd0[50]](function(_0xa8b6x1f){return ChatApplication[_0x2fd0[68]]({where:{ChatWebsiteId:_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]]},individualHooks:true,transaction:_0xa8b6x1f})[_0x2fd0[26]](function(){return ChatApplication[_0x2fd0[82]](_0xa8b6x2d,{individualHooks:true,transaction:_0xa8b6x1f})})})[_0x2fd0[26]](function(_0xa8b6x27){return _0xa8b6x15[_0x2fd0[25]](200)[_0x2fd0[24]]({count:_0xa8b6x27[_0x2fd0[57]],rows:_0xa8b6x27})})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[68]]= function(_0xa8b6x14,_0xa8b6x15){return ChatWebsite[_0x2fd0[34]](_0xa8b6x14[_0x2fd0[33]][_0x2fd0[32]])[_0x2fd0[26]](function(_0xa8b6x19){if(!_0xa8b6x19){return _0xa8b6x15[_0x2fd0[31]](404)};return _0xa8b6x19[_0x2fd0[68]]()})[_0x2fd0[26]](function(){return _0xa8b6x15[_0x2fd0[31]](204)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[83]]= function(_0xa8b6x14,_0xa8b6x15){return ChatWebsite[_0x2fd0[68]]({where:{id:_0xa8b6x14[_0x2fd0[27]][_0x2fd0[84]]},individualHooks:true})[_0x2fd0[26]](function(){return _0xa8b6x15[_0x2fd0[31]](204)})[_0x2fd0[23]](function(_0xa8b6x17){return handleError(_0xa8b6x15,_0xa8b6x17)})};exports[_0x2fd0[85]]= function(_0xa8b6x14,_0xa8b6x15){return ChatApplication[_0x2fd0[68]]({where:{id:_0xa8b6x14[_0x2fd0[27